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.

56 lines
1.9 KiB

4 years ago
define(function (require, exports, module) {
let Service = require('apps/rht/base/rhtService');
let prefix = 'cn.qdhezheng.rht.app.etp.etp0606.';
let prefixpubsysBaseBL = 'cn.qdhezheng.rht.app.comm.plugins.etp.';
return {
GetAlterMode:function(classId){
return Service.doPlugin(prefixpubsysBaseBL + 'GetAlterMode',{
classid:classId
})
},
CheckEtpExist:function(orgCode, etpCode){
return Service.doPlugin(prefix + 'CheckEtpExist',{
orgcode:orgCode,
etpcode:etpCode
})
},
CheckEtpOrg:function(etpCode, jsEtpCode){
return Service.doPlugin(prefix + 'CheckEtpOrg',{
etpcode:etpCode,
jsetpcode:jsEtpCode
})
},
EtpAllSupToAudit:function(orgCode, etpCode, timeMark, opType, computerName, logPosition){
return Service.doPlugin(prefixpubsysBaseBL + 'EtpAllSupToAudit',{
orgcode:orgCode,
etpcode:etpCode,
timemark:timeMark,
optype:opType,
computername:computerName,
logposition:logPosition
})
},
EtpInOrg:function(etpCode){
return Service.doPlugin(prefix + 'EtpInOrg',{
etpcode:etpCode
})
},
EtpSupplierTurn:function(orgCode, etpCode, etpAttribute){
return Service.doPlugin(prefixpubsysBaseBL + 'EtpSupplierTurn',{
orgcode:orgCode,
etpcode:etpCode,
etpattribute:etpAttribute
})
},
EtpSupplierChangeState:function(orgCode, etpCode, opType){
return Service.doPlugin(prefixpubsysBaseBL + 'EtpSupplierChangeState',{
orgcode:orgCode,
etpcode:etpCode,
optype:opType
})
}
};
})