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.
55 lines
1.9 KiB
55 lines
1.9 KiB
define(function (require, exports, module) {
|
|
let Service = require('apps/rht/base/rhtService');
|
|
let prefix = 'cn.qdhezheng.rht.app.etp.etp0607.';
|
|
let prefix0606 = '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
|
|
})
|
|
},
|
|
GetEtpLx:function(etpCode){
|
|
return Service.doPlugin(prefix + 'GetEtpLx',{
|
|
etpcode:etpCode
|
|
})
|
|
},
|
|
GetCurrCode:function(etpCode){
|
|
return Service.doPlugin(prefix + 'GetCurrCode',{
|
|
})
|
|
},
|
|
CheckEtpOrg:function(etpCode, jsEtpCode){
|
|
return Service.doPlugin(prefix0606 + 'CheckEtpOrg',{
|
|
etpcode:etpCode,
|
|
jsetpcode:jsEtpCode
|
|
})
|
|
},
|
|
EtpAllCustToAudit:function(orgCode, etpCode, timeMark, opType, computerName, logPosition){
|
|
return Service.doPlugin(prefixpubsysBaseBL + 'EtpAllCustToAudit',{
|
|
orgcode:orgCode,
|
|
etpcode:etpCode,
|
|
timemark:timeMark,
|
|
optype:opType,
|
|
computername:computerName,
|
|
logposition:logPosition
|
|
})
|
|
},
|
|
EtpCustomerTurn:function(orgCode, etpCode, etpAttribute){
|
|
return Service.doPlugin(prefixpubsysBaseBL + 'EtpCustomerTurn',{
|
|
orgcode:orgCode,
|
|
etpcode:etpCode,
|
|
etpattribute:etpAttribute
|
|
})
|
|
},
|
|
EtpCustomerChangeState:function(orgCode, etpCode, opType){
|
|
return Service.doPlugin(prefixpubsysBaseBL + 'EtpCustomerChangeState',{
|
|
orgcode:orgCode,
|
|
etpcode:etpCode,
|
|
optype:opType
|
|
})
|
|
}
|
|
};
|
|
|
|
})
|