define(function (require, exports, module) { let Service = require('apps/rht/base/rhtService'); let prefix = 'cn.qdhezheng.rht.app.pri.pri100102.'; let prefixpubsysBaseBL = 'cn.qdhezheng.rht.app.comm.plugins.sys.'; return { getSlideMenuData: function (ps_FunName,ps_Type,ps_Field1,ps_Field2,ps_Field3,ps_Field4,ps_Field5) { if (ps_FunName == "doAccount") { return Service.doPlugin(prefixpubsysBaseBL + ps_FunName, { ps_FunName: ps_FunName, ps_Type:ps_Type, billno:ps_Field1, biztype:ps_Field2 }); } if (ps_FunName == "DoOnDetailCalcRule") { return Service.doPlugin(prefix + ps_FunName, { ps_FunName: ps_FunName, ps_Type:ps_Type, ps_Field1:ps_Field1, ps_Field2:ps_Field2, ps_Field3:ps_Field3, ps_Field4:ps_Field4, ps_Field5:ps_Field5 }); } if (ps_FunName == "OnBeforeSave") { return Service.doPlugin(prefix + ps_FunName, { ps_FunName: ps_FunName, ps_Type:ps_Type, ps_Field1:ps_Field1, ps_Field2:ps_Field2, ps_Field3:ps_Field3, ps_Field4:ps_Field4, ps_Field5:ps_Field5 }); } if (ps_FunName == "OnDetailBeforePost") { return Service.doPlugin(prefix + ps_FunName, { ps_FunName: ps_FunName, ps_Type:ps_Type, ps_Field1:ps_Field1, ps_Field2:ps_Field2, ps_Field3:ps_Field3, ps_Field4:ps_Field4, ps_Field5:ps_Field5 }); } } }; })