{"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\\ReformSituation\\index.js","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\api\\ReformSituation\\index.js","mtime":1740996014297},{"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';\nimport qs from 'qs';\nvar portal = window.context.portal;\nexport default {\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 // 项目创建录入分页查询\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 getGroupData: function getGroupData(data, isAffirm) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizMunicipalReformSituation/v1/queryByGroupPage?isAffirm=\".concat(isAffirm), 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) {\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 sendData: function sendData(id) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizMunicipalReformSituation/v1/issued/\".concat(id)).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 // 成效信息查询\n getEffectData: function getEffectData(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizMunicipalReformSituationFill/v1/query/effect\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 试点信息查询\n getPilotData: function getPilotData(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizMunicipalReformSituationFill/v1/query/cityPilot\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 区县推进录入\n // 市级推进录入分页查询\n qxPropelGetData: function qxPropelGetData(data, isAffirm) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizCountyReformSituationFill/v1/query?isAffirm=\".concat(isAffirm), data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 推进录入\n qxAdvanceEntry: function qxAdvanceEntry(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizCountyReformSituationFill/v1/\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 修改\n qxAdvanceUpdate: function qxAdvanceUpdate(data) {\n return new Promise(function (resolve, reject) {\n req.put(portal + \"/bizCountyReformSituationFill/v1/\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 根据id查询详情\n qxGetPropelDetail: function qxGetPropelDetail(id) {\n return new Promise(function (resolve, reject) {\n req.get(portal + \"/bizCountyReformSituationFill/v1/\".concat(id)).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 撤回\n qxPropelRevocation: function qxPropelRevocation(_ref2) {\n var id = _ref2.id,\n status = _ref2.status;\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizCountyReformSituationFill/v1/updateByStatus?id=\".concat(id, \"&status=\").concat(status, \"&approvalResults=2\")).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 区县全国肯定删除\n effectsDeleteById: function effectsDeleteById(data) {\n // let ids = qs.stringify({ids: data}, {arrayFormat: 'repeat'}) \n var ids = data.join(',');\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/majorProjects/bizCountyReformSituationEffect/v1/remove/\".concat(ids)).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 删除获国家支持\n nationsDeleteById: function nationsDeleteById(data) {\n var ids = data.join(',');\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/majorProjects/bizCountyReformSituationNation/v1/remove/\".concat(ids)).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n } // 区县撤回\n // qxPropelRevocation(data) {\n // let { id, status } = data\n // return new Promise((resolve, reject) => {\n // req\n // .post(portal + `/bizCountyReformSituationFill/v1/updateByStatus?id=${id}&status=${status}`)\n // .then(res => {\n // resolve((res && res.data) || [])\n // })\n // .catch(err => {\n // reject(err)\n // })\n // })\n // }\n\n};",null]}