{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\reform-fvue\\src\\api\\municipalReform\\index.js","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\api\\municipalReform\\index.js","mtime":1734348494684},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\reform-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 getProject: function getProject(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizMunicipalReformSituation/v1/query\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 获取自动抓取数据\n getAutoDetail: function getAutoDetail(data) {\n return new Promise(function (resolve, reject) {\n req.get(portal + \"/bizMunicipalReformSituation/v1/initForm\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 新增\n createdProject: function createdProject(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizMunicipalReformSituation/v1/\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 根据id查询详情\n getDetailById: function getDetailById(id, data) {\n return new Promise(function (resolve, reject) {\n req.get(portal + \"/bizMunicipalReformSituation/v1/\".concat(id), data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n //数据修改\n editData: function editData(data) {\n return new Promise(function (resolve, reject) {\n req.put(portal + \"/bizMunicipalReformSituation/v1/\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 列表数据删除\n deleteData: function deleteData(ids) {\n return new Promise(function (resolve, reject) {\n req.remove(portal + \"/bizMunicipalReformSituation/v1/?ids=\".concat(ids)).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 市级推进录入分页查询\n propelGetData: function propelGetData(data, isAffirm) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizMunicipalReformSituation/v1/queryByPower?isAffirm=\".concat(isAffirm), data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 推进录入\n advanceEntry: function advanceEntry(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizMunicipalReformSituationFill/v1/\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 修改\n advanceUpdate: function advanceUpdate(data) {\n return new Promise(function (resolve, reject) {\n req.put(portal + \"/bizMunicipalReformSituationFill/v1/\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 根据id查询详情\n getPropelDetail: function getPropelDetail(id) {\n return new Promise(function (resolve, reject) {\n req.get(portal + \"/bizMunicipalReformSituationFill/v1/\".concat(id)).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 撤回\n propelRevocation: function propelRevocation(_ref) {\n var id = _ref.id,\n status = _ref.status;\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizMunicipalReformSituationFill/v1/updateByStatus?id=\".concat(id, \"&status=\").concat(status)).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n }\n};",null]}