{"remainingRequest":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\bbsl-fvue\\src\\api\\waterPaper.js","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\api\\waterPaper.js","mtime":1684458236402},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bbsl-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 addSave: function addSave(data, cb) {\n req.post(portal + \"/att/waterPapers/create\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 分页\n ListGet: function ListGet(data, cb) {\n req.post(portal + \"/att/waterPapers/query\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 修改\n detailId: function detailId(id, cb) {\n req.get(portal + \"/att/waterPapers/get/\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n // 确认修改\n upData: function upData(data, cb) {\n req.post(portal + \"/att/waterPapers/updateById\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n //删除\n remove: function remove(ids, cb) {\n req.get(portal + \"/att/waterPapers/deleteByIds?ids=\" + ids).then(function (rep) {\n cb(rep.data);\n });\n },\n //字典\n getSys: function getSys(data, cb) {\n req.post(portal + \"/sys/sysDictionary/v1/queryDictItemsByCode\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n //查看常用语详情\n detail: function detail(id, cb) {\n req.get(portal + \"/innermsg/messageReceiver/v1/get?id=\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n // 获取取水户下拉\n getwaterName: function getwaterName(data, cb) {\n req.post(portal + \"/att/waterCompany/findAll\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 行政区查询接口\n getbasAdName: function getbasAdName(data, cb) {\n req.post(portal + \"/sys/sysAreas/v1/tree\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 取水计划\n // 新增取水计划\n addSavePlan: function addSavePlan(data, cb) {\n req.post(portal + \"/att/waterPlan/create\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 分页取水计划\n ListGetPlan: function ListGetPlan(data, cb) {\n req.post(portal + \"/att/waterPlan/query\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 修改取水计划\n detailIdPlan: function detailIdPlan(id, cb) {\n req.get(portal + \"/att/waterPlan/get/\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n // 确认修改取水计划\n upDataPlan: function upDataPlan(data, cb) {\n req.post(portal + \"/att/waterPlan/updateById\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n //删除取水计划\n removePlan: function removePlan(ids, cb) {\n req.get(portal + \"/att/waterPlan/deleteByIds?ids=\" + ids).then(function (rep) {\n cb(rep.data);\n });\n },\n // 获取取水证\n getwaterCard: function getwaterCard(data, cb) {\n req.post(portal + \"/att/waterPapers/findAll\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n //下载取水计划模板/att/waterPlan/importExcel\n downModel: function downModel(data, cb) {\n req.getDown(portal + \"/att/waterPlan/downModel\", 'Blob', data).then(function (rep) {\n cb(rep);\n });\n },\n //上传\n upload: function upload(data, cb) {\n req.post(portal + \"/att/waterPlan/importExcel\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 取水站\n // 新增取水站\n addSaveStation: function addSaveStation(data, cb) {\n req.post(portal + \"/att/waterStation/create\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 分页取水站\n ListGetStation: function ListGetStation(data, cb) {\n req.post(portal + \"/att/waterStation/query\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 修改取水站\n detailIdStation: function detailIdStation(id, cb) {\n req.get(portal + \"/att/waterStation/get/\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n // 确认修改取水站\n upDataStation: function upDataStation(data, cb) {\n req.post(portal + \"/att/waterStation/updateById\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n //删除取水站\n removeStation: function removeStation(ids, cb) {\n req.get(portal + \"/att/waterStation/deleteByIds?ids=\" + ids).then(function (rep) {\n cb(rep.data);\n });\n },\n // 获取安装位置\n positionTree: function positionTree(data, cb) {\n req.post(portal + \"/att/waterPapers/getTree\", data).then(function (rep) {\n cb(rep.data);\n });\n }\n};",null]}