{"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\\SixthConferenceImplementation\\index.js","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\api\\SixthConferenceImplementation\\index.js","mtime":1740106413624},{"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 getProject: function getProject(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/majorProjects/BizMeetingMunicipal/v1/query\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 删除数据\n delDataByIds: function delDataByIds(ids) {\n return new Promise(function (resolve, reject) {\n req.remove(portal + \"/majorProjects/BizMeetingMunicipal/v1/?ids=\".concat(ids)).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n addData: function addData(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/majorProjects/BizMeetingMunicipal/v1/\", data).then(function (res) {\n resolve(res && res.data || {});\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n editData: function editData(data) {\n return new Promise(function (resolve, reject) {\n req.put(portal + \"/majorProjects/BizMeetingMunicipal/v1/\", data).then(function (res) {\n resolve(res && res.data || {});\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n getDataById: function getDataById(id) {\n return new Promise(function (resolve, reject) {\n req.get(portal + \"/majorProjects/BizMeetingMunicipal/v1/\" + id).then(function (res) {\n resolve(res && res.data || {});\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n publishPorject: function publishPorject(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/majorProjects/BizMeetingMunicipal/v1/sendBatch\", data).then(function (res) {\n resolve(res && res.data || {});\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n getProjectState: function getProjectState(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/majorProjects/BizMeetingMunicipal/v1/queryPage\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n getProjectByGroup: function getProjectByGroup(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/majorProjects/BizMeetingMunicipal/v1/queryGroupPage\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 推进信息保存\n propelAdd: function propelAdd(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/majorProjects/bizMeetingMunicipalDetails/v1/\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 推进信息修改\n propelUpdate: function propelUpdate(data) {\n return new Promise(function (resolve, reject) {\n req.put(portal + \"/majorProjects/bizMeetingMunicipalDetails/v1/\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 推进详情\n getPropelDataById: function getPropelDataById(id) {\n return new Promise(function (resolve, reject) {\n req.get(portal + \"/majorProjects/bizMeetingMunicipalDetails/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 + \"/majorProjects/bizMeetingMunicipalDetails/v1/cancel?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 historyById: function historyById(id) {\n return new Promise(function (resolve, reject) {\n req.get(portal + \"/majorProjects/bizMeetingMunicipalDetails/v1/selectHistory/\".concat(id)).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n taskImplementation: function taskImplementation(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/majorProjects/BizMeetingMunicipal/v1/queryList\", data).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 项目调整 \n projectAdjustment: function projectAdjustment(ids) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/majorProjects/BizMeetingMunicipal/v1/closeProject?ids=\".concat(ids)).then(function (res) {\n resolve(res && res.data || []);\n }).catch(function (err) {\n reject(err);\n });\n });\n }\n};",null]}