{"remainingRequest":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\yhxt-web\\src\\api\\sys.js","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\api\\sys.js","mtime":1667326392747},{"path":"D:\\jenkins\\workspace\\yhxt-web\\babel.config.js","mtime":1667326389982},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import utils from \"@/hotent-ui-util.js\";\nimport req from \"@/request.js\";\nvar portal = window.context.portal;\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(portal, \"/api/userRel/v1/userRels/getUserRelByTypeId?typeId=\").concat(typeId)\n }).then(function (response) {\n resolve(utils.tile2nest(response.data));\n });\n });\n }\n};",null]}