{"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\\MajorReformProjects\\majorProjects.js","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\api\\MajorReformProjects\\majorProjects.js","mtime":1684839742404},{"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 addData: function addData(data, cb) {\n req.post(portal + \"/majorProjects/municipalMajorProjectManagement/v1/\", data).then(function (res) {\n cb(res.data);\n });\n },\n //修改\n editData: function editData(data, cb) {\n req.put(portal + \"/majorProjects/municipalMajorProjectManagement/v1/\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 项目状态更新\n updateStatus: function updateStatus(data, cb) {\n req.post(portal + \"/majorProjects/municipalMajorProjectManagement/v1/updateStatus\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 录入、审核、确认项目列表查询\n queryProjectStatus: function queryProjectStatus(isAffirm, data, cb) {\n req.post(portal + \"/majorProjects/municipalMajorProjectManagement/v1/queryList?isAffirm=\" + isAffirm, data).then(function (res) {\n cb(res.data);\n });\n },\n // 下发项目\n sendProject: function sendProject(data, cb) {\n req.request({\n method: 'post',\n url: portal + \"/majorProjects/municipalMajorProjectManagement/v1/sendProject\",\n data: data,\n headers: {\n 'Content-type': 'application/x-www-form-urlencoded'\n }\n }).then(function (res) {\n cb(res.data);\n });\n },\n // 撤回\n revocation: function revocation(data, cb) {\n req.request({\n method: 'post',\n url: portal + \"/majorProjects/municipalMajorProjectManagement/v1/revocation\",\n data: data,\n headers: {\n 'Content-type': 'application/x-www-form-urlencoded'\n }\n }).then(function (res) {\n cb(res.data);\n });\n },\n //删除\n delDate: function delDate(ids, cb) {\n req.remove(portal + \"/majorProjects/municipalMajorProjectManagement/v1/?ids=\" + ids).then(function (res) {\n cb(res.data);\n });\n },\n // 关闭项目\n lockProject: function lockProject(ids, cb) {\n req.post(portal + \"/majorProjects/municipalMajorProjectManagement/v1/closeProject?\" + ids).then(function (res) {\n cb(res.data);\n });\n },\n // 判断是否删除量化目标\n deleteLhmb: function deleteLhmb(id, cb) {\n req.remove(portal + \"/majorProjects/pilotQuantitativeObjectives/v1/\".concat(id)).then(function (res) {\n cb(res.data);\n });\n },\n // 判断是否删除具体举措\n deleteJtjc: function deleteJtjc(id, cb) {\n req.remove(portal + \"/majorProjects/pilotSpecificMeasures/v1/\".concat(id)).then(function (res) {\n cb(res.data);\n });\n },\n // 判断是否删除进度计划\n deleteJdjh: function deleteJdjh(id, cb) {\n req.remove(portal + \"/majorProjects/pilotSpecificSchedule/v1/\".concat(id)).then(function (res) {\n cb(res.data);\n });\n },\n // 删除月度计划\n deleteMonth: function deleteMonth(id, cb) {\n req.remove(portal + \"/majorProjects/pilotSpecificSchedule/v1/ggbDeleteById/\".concat(id)).then(function (res) {\n cb(res.data);\n });\n },\n //查询\n pageQuery: function pageQuery(data, cb) {\n req.post(portal + \"/majorProjects/municipalMajorProjectManagement/v1/query\", data).then(function (res) {\n cb(res.data);\n });\n },\n //排序\n sortData: function sortData(data, cb) {\n req.post(portal + \"/majorProjects/municipalMajorProjectManagement/v1/updateSequence\", data).then(function (res) {\n cb(res.data);\n });\n },\n // id查询\n detailId: function detailId(id, cb) {\n req.get(portal + \"/majorProjects/municipalMajorProjectManagement/v1/\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n //储备查询\n reserveProject: function reserveProject(data, cb) {\n req.post(portal + \"/majorProjects/municipalMajorProjectManagement/v1/queryReserveProject\", data).then(function (res) {\n cb(res.data);\n });\n },\n //带权限查询\n authorityQuery: function authorityQuery(data, cb) {\n req.post(portal + \"/majorProjects/municipalMajorProjectManagement/v1/queryList\", data).then(function (res) {\n cb(res.data);\n });\n },\n\n /*\r\n 重大项目推进\r\n */\n //目标查询\n targetQuery: function targetQuery(data, cb) {\n req.post(portal + \"/majorProjects/pilotQuantitativeObjectives/v1/query\", data).then(function (res) {\n cb(res.data);\n });\n },\n //保存\n targetSave: function targetSave(data, cb) {\n req.put(portal + \"/majorProjects/pilotQuantitativeObjectivesPush/v1/objectivesPushSaveSaveAndCommit\", data).then(function (res) {\n cb(res.data);\n });\n },\n //计划查询\n planQuery: function planQuery(data, cb) {\n req.post(portal + \"/majorProjects/pilotSpecificSchedule/v1/query\", data).then(function (res) {\n cb(res.data);\n });\n },\n //计划保存\n planSave: function planSave(data, cb) {\n req.put(portal + \"/majorProjects/pilotSpecificSchedulePush/v1/schedulePushSaveSaveAndCommit\", data).then(function (res) {\n cb(res.data);\n });\n },\n\n /* \r\n 重大项目推进\r\n */\n //保存\n savaBoostData: function savaBoostData(data, cb) {\n req.put(portal + \"/majorProjects/bizPilotProjectFill/v1/saveVo\", data).then(function (res) {\n cb(res.data);\n });\n },\n //审核\n aduitBoostData: function aduitBoostData(data, cb) {\n req.put(portal + \"/majorProjects/bizPilotProjectFill/v1/commitVo\", data).then(function (res) {\n cb(res.data);\n });\n },\n //根据id查询\n boostDetailId: function boostDetailId(data, cb) {\n req.post(portal + \"/majorProjects/bizPilotProjectFill/v1/examineInit\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n //根据记录id查询详情\n getDetailsId: function getDetailsId(id, cb) {\n req.get(portal + \"/majorProjects/bizPilotProjectFill/v1/getDetails?id=\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n //id查询历史数据\n historyDetails: function historyDetails(id, cb) {\n req.get(portal + \"/majorProjects/bizPilotProjectFill/v1/getHistoryDetails?projectId=\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n //判断是否审核中\n AuditOrNot: function AuditOrNot(id, cb) {\n req.get(portal + \"/majorProjects/bizPilotProjectFill/v1/haveExamine?projectId=\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n\n /*\r\n 项目推进审核\r\n */\n //列表\n listQuery: function listQuery(data, cb) {\n req.post(portal + \"/majorProjects/bizPilotProjectFill/v1/queyrList\", data).then(function (res) {\n cb(res.data);\n });\n },\n //目标查询\n auditTargetQuery: function auditTargetQuery(data, cb) {\n req.post(portal + \"/majorProjects/pilotQuantitativeObjectivesPush/v1/objectivesPushListByPage\", data).then(function (res) {\n cb(res.data);\n });\n },\n //目标审核驳回\n auditTargetSave: function auditTargetSave(data, cb) {\n req.put(portal + \"/majorProjects/bizPilotProjectFill/v1/examineVo\", data).then(function (res) {\n cb(res.data);\n });\n },\n //计划查询\n auditPlanQuery: function auditPlanQuery(data, cb) {\n req.post(portal + \"/majorProjects/pilotSpecificSchedulePush/v1/schedulePushListByPage\", data).then(function (res) {\n cb(res.data);\n });\n },\n //计划审核驳回\n auditPlanSave: function auditPlanSave(data, cb) {\n req.post(portal + \"/majorProjects/pilotSpecificSchedulePush/v1/schedulePushExamine\", data).then(function (res) {\n cb(res.data);\n });\n }\n};",null]}