{"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\\bigScreen\\districView.js","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\api\\bigScreen\\districView.js","mtime":1686637637227},{"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;\nvar headers = {\n 'Content-type': 'application/x-www-form-urlencoded'\n};\nexport default {\n // 重点关注\n getTarget: function getTarget(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/county/largeScreen/v1/importantIndex?quarter=\".concat(data.quarter, \"&year=\").concat(data.year)).then(function (res) {\n resolve(res.data);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n getBrandDetail: function getBrandDetail(data, reqData) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/county/largeScreen/v1/brandReformDetails?quarter=\".concat(data.quarter, \"&year=\").concat(data.year, \"&unitCode=\").concat(data.unitCode), reqData).then(function (res) {\n console.log(res.data, \"res.data)\");\n resolve(res.data);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n exportLedgerDetail: function exportLedgerDetail(data) {\n return new Promise(function (resolve, reject) {\n req.request({\n method: 'post',\n data: data,\n url: portal + \"/county/largeScreen/v1/pilotLedgerDetailExport\",\n responseType: 'blob'\n }).then(function (res) {\n console.log(res.data, \"res.data)\");\n resolve(res.data);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // --------------------\n // 区县改革动态\n getNews: function getNews(data, cb) {\n req.post(portal + \"/fill/bizWorkNews/v1/queryCode\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 指数排行榜\n getIndex: function getIndex(data, cb) {\n req.request({\n method: 'post',\n url: portal + '/county/largeScreen/v1/indexRank',\n data: data,\n headers: headers\n }).then(function (res) {\n cb(res.data);\n });\n },\n // 推广经验\n getBroad: function getBroad(data, cb) {\n req.request({\n method: 'post',\n url: portal + '/county/largeScreen/v1/citywidePromotionRank',\n data: data,\n headers: headers\n }).then(function (res) {\n cb(res.data);\n });\n },\n // 一本账\n getBookAccount: function getBookAccount(data, cb) {\n req.post(portal + '/county/largeScreen/v1/cityPromotionDetail', data).then(function (res) {\n cb(res.data);\n });\n },\n // 品牌榜\n getBrand: function getBrand(data, cb) {\n req.request({\n method: 'post',\n url: portal + '/county/largeScreen/v1/brandReform',\n data: data,\n headers: headers\n }).then(function (res) {\n cb(res.data);\n });\n },\n // 改革试点\n getPilotReform: function getPilotReform(data, cb) {\n req.request({\n method: 'post',\n url: portal + '/county/largeScreen/v1/pilotReform',\n data: data,\n headers: headers\n }).then(function (res) {\n cb(res.data);\n });\n },\n // 地图\n getGisData: function getGisData(data, cb) {\n req.request({\n method: 'post',\n url: portal + '/county/largeScreen/v1/gisIndex',\n data: data,\n headers: headers\n }).then(function (res) {\n cb(res.data);\n });\n },\n // 需求热力榜\n getDemandHeatList: function getDemandHeatList(data, cb) {\n console.log(data);\n var year = data.year,\n month = data.month;\n req.post(portal + \"/project/largeScreen/v1/demandHeatList?year=\".concat(year, \"&month=\").concat(month)).then(function (res) {\n cb(res.data);\n });\n },\n // getDemandHeatList(data, cb) {\n // req.request({\n // method: 'post',\n // url: portal + '/county/largeScreen/v1/demandHeatList',\n // data,\n // headers\n // }).then(res => {\n // cb(res.data)\n // })\n // },\n // 需求清单\n getDemandList: function getDemandList(data, cb) {\n req.post(portal + '/project/largeScreen/v1/demandDetailList', data).then(function (res) {\n cb(res.data);\n });\n },\n // getDemandList(data, cb) {\n // req.post(portal + '/county/largeScreen/v1/demandDetailList', data).then(res => {\n // cb(res.data)\n // })\n // },\n // 获取文件列表\n getFiles: function getFiles(data, cb) {\n req.post(portal + '/file/v1/list', data).then(function (res) {\n cb(res.data);\n });\n },\n // 成果\n getPilotResultDetail: function getPilotResultDetail(data, cb) {\n req.post(portal + '/county/largeScreen/v1/pilotResultDetail', data).then(function (res) {\n cb(res.data);\n });\n },\n //试点台账\n getPilotLedger: function getPilotLedger(data, cb) {\n req.request({\n method: 'post',\n url: portal + '/county/largeScreen/v1/pilotLedger',\n data: data,\n headers: headers\n }).then(function (res) {\n cb(res.data);\n });\n },\n //试点台账详情\n getPilotLedgerDetail: function getPilotLedgerDetail(data, cb) {\n req.post(portal + '/county/largeScreen/v1/pilotLedgerDetail', data).then(function (res) {\n cb(res.data);\n });\n },\n //试点台账区县详情\n pilotPushDetailforUnit: function pilotPushDetailforUnit(data, cb) {\n req.request({\n method: 'post',\n url: portal + '/county/largeScreen/v1/pilotPushDetailforUnit',\n data: data,\n headers: headers\n }).then(function (res) {\n cb(res.data);\n });\n },\n // 区县报表详情\n statementDetail: function statementDetail(data, cb) {\n req.request({\n method: 'post',\n url: portal + '/county/largeScreen/v1/statementDetail',\n data: data,\n headers: headers\n }).then(function (res) {\n cb(res.data);\n });\n },\n // 区县报表导出\n exportReport: function exportReport(data, cb) {\n req.request({\n method: 'post',\n url: portal + '/county/largeScreen/v1/statementDetailExport',\n data: data,\n headers: headers,\n responseType: 'blob'\n }).then(function (res) {\n cb(res.data);\n });\n },\n // 满意度报告\n satisfactionFile: function satisfactionFile(data, cb) {\n req.request({\n method: 'post',\n url: portal + '/county/largeScreen/v1/currentStatementFile',\n data: data,\n headers: headers\n }).then(function (res) {\n cb(res.data);\n });\n },\n // 根据文件ID预览文件\n previewFile: function previewFile(data) {\n return new Promise(function (resolve, reject) {\n req.request({\n method: 'get',\n url: portal + '/file/onlinePreviewController/v1/getFileById_' + data,\n headers: {\n \"Content-Type\": 'application/json'\n },\n responseType: 'blob'\n }).then(function (res) {\n resolve(res.data);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 二级问题破解详情\n problemSolvingDetail: function problemSolvingDetail(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + '/county/largeScreen/v1/problemSolvingDetail_sec', data).then(function (res) {\n resolve(res.data);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 二级需求详情\n reformDemandDetails: function reformDemandDetails(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + '/county/largeScreen/v1/reformDemandDetails_sec', data).then(function (res) {\n resolve(res.data);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 二级需求清单\n reformDemandDetailList: function reformDemandDetailList(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + '/county/largeScreen/v1/reformDemandDetailList_sec', data).then(function (res) {\n resolve(res.data);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 二级试点台账\n pilotLedgerDetailSec: function pilotLedgerDetailSec(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + '/county/largeScreen/v1/pilotLedgerDetail_sec', data).then(function (res) {\n resolve(res.data);\n }).catch(function (err) {\n reject(err);\n });\n });\n },\n // 作战图总览\n getBattleChartOverview: function getBattleChartOverview(data, cb) {\n var year = data.year,\n month = data.month,\n projectId = data.projectId;\n req.post(portal + \"/project/largeScreen/v1/monthPlanNumDetails?year=\".concat(year, \"&month=\").concat(month, \"&projectId=\").concat(projectId)).then(function (res) {\n cb(res.data);\n });\n },\n // 下拉框查询所有项目\n getProjectAll: function getProjectAll(data, cb) {\n req.post(portal + \"/majorProjects/municipalMajorProjectManagement/v1/queryAll\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 分页查询项目月度计划及推进情况\n getPagingQuery: function getPagingQuery(data, cb) {\n req.post(portal + \"/project/largeScreen/v1/monthPlanPageList\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 导出作战图总览分页查询月度计划列表\n exportMonthList: function exportMonthList(data, cb) {\n req.downloadPostCopy(portal + \"/project/largeScreen/v1/exportMonthPlanList\", data).then(function (res) {\n console.log(res);\n cb(res.data);\n });\n },\n // 指标库弹窗\n // 进入指标库查询列表\n enterGetData: function enterGetData(data, cb) {\n req.post(portal + \"/project/largeScreen/v1/overviewComplianceInfo?year=\".concat(data.year, \"&month=\").concat(data.month, \"&projectId=\").concat(data.projectId)).then(function (res) {\n cb(res.data);\n });\n },\n // 满意度数据时间查询\n satisfactionRealityDate: function satisfactionRealityDate(data, cb) {\n req.post(portal + \"/county/largeScreen/v1/satisfactionRealityDate?year=\".concat(data.year, \"&quarter=\").concat(data.quarter)).then(function (res) {\n cb(res.data);\n });\n }\n};",null]}