You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.2 KiB
60 lines
2.2 KiB
4 years ago
|
define(function (require, exports, module) {
|
||
|
let Service = require('apps/rht/base/rhtService');
|
||
|
let prefix = 'cn.qdhezheng.rht.app.stk.stk180302.';
|
||
|
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 == "actExecute") {
|
||
|
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 == "pubsysBaseBL") {
|
||
|
return Service.doPlugin(prefixpubsysBaseBL + ps_FunName, {
|
||
|
ps_FunName: ps_FunName,
|
||
|
ps_OpType:ps_Type,
|
||
|
ps_InPutJson:ps_Field1
|
||
|
});
|
||
|
}
|
||
|
if (ps_FunName == "DoOnMasterRule") {
|
||
|
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 == "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 == "doAccount") {
|
||
|
return Service.doPlugin(prefixpubsysBaseBL + ps_FunName, {
|
||
|
ps_FunName: ps_FunName,
|
||
|
ps_Type:ps_Type,
|
||
|
billno:ps_Field1,
|
||
|
biztype:ps_Field2
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
|
||
|
})
|