{"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\\countyApi.js","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\api\\ReformSituation\\countyApi.js","mtime":1744966376758},{"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';\nimport { Promise } from 'q';\nvar portal = window.context.portal;\nexport default {\n //区县填报发布列表\n majorProjectsList: function majorProjectsList(data, isAffirm) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizCountyReformSituationFill/v1/queryPage?isAffirm=\".concat(isAffirm), data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n bizCountyReformMessageLog: function bizCountyReformMessageLog(data, isAffirm) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizCountyReformMessageLog/v1/query\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n //区县发布\n districtPutOut: function districtPutOut(data) {\n var result = data.map(function (orgIds) {\n return \"orgIds=\".concat(orgIds);\n }).join('&');\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizCountyReformMessageLog/v1/sandMessage?\".concat(result)).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n //区县更新 列表\n booksList: function booksList(data, isAffirm) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizCountyReformSituationFill/v1/queryPage\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n //区县核准 列表\n checkAndApproveData: function checkAndApproveData(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizCountyReformSituationFill/v1/managerialPage\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n //区县更新\n renewalOfDistrictsAndFirst: function renewalOfDistrictsAndFirst(data) {\n //设置是否为主组织\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizCountyReformSituationFill/v1/\", data).then(function (response) {\n resolve(response.data);\n }), function (error) {\n reject(error);\n };\n });\n },\n renewalOfDistrictsAndCounties: function renewalOfDistrictsAndCounties(data) {\n //设置是否为主组织\n return new Promise(function (resolve, reject) {\n req.put(portal + \"/bizCountyReformSituationFill/v1/\", data).then(function (response) {\n resolve(response.data);\n }), function (error) {\n reject(error);\n };\n });\n },\n //区县回显\n countiesAreDisplayed: function countiesAreDisplayed(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 updateByStatus: function updateByStatus(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizCountyReformSituationFill/v1/updateByStatus\", data).then(function (response) {\n resolve(response.data);\n }), function (error) {\n reject(error);\n };\n });\n },\n //审核修改\n updateForm: function updateForm(data) {\n return new Promise(function (resolve, reject) {\n req.put(portal + \"/bizCountyReformSituationFill/v1/updateForm\", data).then(function (response) {\n resolve(response.data);\n }), function (error) {\n reject(error);\n };\n });\n },\n //历史驳回\n turnDownChange: function turnDownChange(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizCountyReformSituationFill/v1/rejectNode\", data).then(function (response) {\n resolve(response.data);\n }), function (error) {\n reject(error);\n };\n });\n },\n //区县历史数据回显\n countyHistory: function countyHistory(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/bizCountyReformSituationFill/v1/history\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n }\n};",null]}