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 }) } }; })