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.
62 lines
2.3 KiB
62 lines
2.3 KiB
4 years ago
|
define(function (require, exports, module) {
|
||
|
let Service = require('apps/rht/base/rhtService');
|
||
|
let prefix = 'cn.qdhezheng.rht.app.cou.cou190201.';
|
||
|
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 == "pubsysBaseBL") {
|
||
|
return Service.doPlugin(prefixpubsysBaseBL + ps_FunName, {
|
||
|
ps_FunName: ps_FunName,
|
||
|
ps_OpType:ps_Type,
|
||
|
ps_InPutJson:ps_Field1
|
||
|
});
|
||
|
}
|
||
|
if (ps_FunName == "DoOnDetailRule") {
|
||
|
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 == "BeforeSave") {
|
||
|
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 == "actExecute") {
|
||
|
return Service.doPlugin(prefix + 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
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
|
||
|
})
|