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.

71 lines
2.6 KiB

define(function (require, exports, module) {
let Service = require('apps/rht/base/rhtService');
let prefix = 'cn.qdhezheng.rht.app.dst.dst200104.';
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 == "LockLsKcByYwBill") {
return Service.doPlugin(prefixpubsysBaseBL + ps_FunName, {
ps_FunName: ps_FunName,
ps_OpType:ps_Type,
BillNo:ps_Field1,
YwType:ps_Field2,
OprType:ps_Field3
});
}
if (ps_FunName == "DoOnMasterCalcRule") {
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 == "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 == "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
});
}
}
};
})