{"remainingRequest":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\examine-fvue\\src\\api\\examination\\zlxxMenu.js","dependencies":[{"path":"D:\\jenkins\\workspace\\examine-fvue\\src\\api\\examination\\zlxxMenu.js","mtime":1667280203248},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import req from '@/request.js';\nvar portal = window.context.portal;\nexport default {\n // 添加资料信息\n addMaterial: function addMaterial(data, cb) {\n req.post(portal + \"/exam/materialType/info/\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 资料信息列表\n getMaterial: function getMaterial(data, cb) {\n req.post(portal + \"/exam/materialType/info/query\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 获取资料分类下拉树\n getMaterTree: function getMaterTree(data, cb) {\n req.post(portal + \"/exam/materialType/type/getTree\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 修改资料信息\n editMaterial: function editMaterial(data, cb) {\n req.put(portal + \"/exam/materialType/info/\", data).then(function (res) {\n cb(res.data);\n });\n },\n // id查询资料分类\n detailId: function detailId(id, cb) {\n req.get(portal + \"/exam/materialType/info/\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n // 删除单个\n deleteOneEqeSys: function deleteOneEqeSys(ids, cb) {\n return new Promise(function (resolve, reject) {\n req.remove(portal + '/exam/materialType/type/' + ids).then(function (res) {\n resolve(res);\n }, function (error) {\n reject(error);\n });\n });\n },\n // 删除附件\n removeFile: function removeFile(id, cb) {\n req.remove(portal + \"/exam/materialType/info/\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n //保存排序\n saveSort: function saveSort(data, cb) {\n req.post(portal + \"/exam/materialType/info/updateSequence \", data).then(function (res) {\n cb(res.data);\n });\n }\n};",null]}