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.

48 lines
1.4 KiB

4 years ago
define(function (require, exports, module) {
let Service = require('apps/rht/base/rhtService');
let prefix = 'cn.qdhezheng.rht.app.cls.cls130101.';
return {
GetClsTree: function () {
return Service.doPlugin(prefix + 'GetClsTree', {
})
},
GetLevelCodeTotalLen: function (clsLvl, lvlType) {
return Service.doPlugin(prefix + 'GetLevelCodeTotalLen', {
clslvl:clsLvl,
lvltype:lvlType
})
},
ClsExists: function (clsCode, clsName) {
return Service.doPlugin(prefix + 'ClsExists', {
clscode:clsCode,
clsname:clsName
})
},
ClsIsUsed: function (clsId, clsCode) {
return Service.doPlugin(prefix + 'ClsIsUsed', {
clsid:clsId,
clscode:clsCode
})
},
DeleteCls: function (clsCode) {
return Service.doPlugin(prefix + 'DeleteCls', {
clscode:clsCode
})
},
ClsToLast: function (clsId) {
return Service.doPlugin(prefix + 'ClsToLast', {
clsid:clsId
})
},
ClsDivide: function (clsId, clsData, clsInfo) {
return Service.doPlugin(prefix + 'ClsDivide', {
clsid:clsId,
clsdata:clsData,
clsinfo:clsInfo
})
}
};
})