{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\xq-web-bpm\\src\\api\\sysType.js","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\api\\sysType.js","mtime":1675071990897},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import sysType from \"@/api/mock/sysType-data.js\";\nimport utils from \"@/hotent-ui-util.js\";\nimport req from \"@/request.js\";\nvar portal = window.context.portal;\nvar uc = window.context.uc;\nexport default {\n  getSysTypeByCatId: function getSysTypeByCatId(catId) {\n    // return sysType.getSysTypeByCatId();\n    return new Promise(function (resolve) {\n      req.request({\n        url: \"\".concat(portal, \"/sys/sysType/v1/getByParentId?catId=\").concat(catId)\n      }).then(function (response) {\n        resolve(utils.tile2nest(response.data));\n      });\n    });\n  },\n  getTypesByKey: function getTypesByKey(typeKey) {\n    return new Promise(function (resolve) {\n      req.request({\n        url: \"\".concat(portal, \"/sys/sysType/v1/getTypesByKey?typeKey=\").concat(typeKey)\n      }).then(function (response) {\n        resolve(utils.tile2nest(response.data));\n      });\n    });\n  },\n  getUserRelByTypeId: function getUserRelByTypeId(typeId) {\n    return new Promise(function (resolve) {\n      req.request({\n        url: \"\".concat(uc, \"/api/userRel/v1/userRels/getUserRelByTypeId?typeId=\").concat(typeId)\n      }).then(function (response) {\n        resolve(utils.tile2nest(response.data));\n      });\n    });\n  }\n};",null]}