{"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\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\components\\subComponents\\reformSituation.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\components\\subComponents\\reformSituation.vue","mtime":1744880046973},{"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\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/es6.object.keys\";\nimport _toConsumableArray from \"D:/jenkins/workspace/reform-fvue/node_modules/@babel/runtime/helpers/esm/toConsumableArray\";\nimport _defineProperty from \"D:/jenkins/workspace/reform-fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.function.name\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport fileListDialog from '@/views/BigScreen/components/subComponents/fileListDialog.vue';\nimport FileList from '@/components/uploadFile/FileList.vue';\nimport apiList from '@/api/bigScreen/majorView.js';\nimport utils from '@/utils.js';\nexport default {\n name: 'reformSituation',\n components: {\n fileListDialog: fileListDialog,\n FileList: FileList\n },\n props: {\n tableOptions: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n exportLoading: false,\n loading: false,\n loadingColor: 'rgba(6, 46, 106, 0.4)',\n tableLoading: false,\n fileLoading: false,\n params: {\n pageBean: {\n pageSize: -1\n },\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'fillYear',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'fillMonth',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'unitName',\n relation: 'AND',\n value: ''\n }],\n sorter: []\n },\n tableData: [],\n cityTableData: [],\n currentType: 1,\n typeOptins: [{\n label: '区县',\n value: 1\n }, {\n label: '市级',\n value: 2\n }],\n municipalHeader: [],\n isShowChildren: false,\n tableDataDetails: [],\n type: '',\n specificSituationOptions: []\n };\n },\n mounted: function mounted() {\n var _this = this;\n\n this.getDemandData();\n this.getData();\n this.$bus.$on('changeDate', function (searchDate) {\n _this.getData();\n });\n },\n created: function created() {\n this.$emit('searchDateChange');\n },\n methods: {\n detailsChange: function detailsChange(type) {\n return this.specificSituationOptions.filter(function (item) {\n return item.value === type;\n })[0].name;\n },\n getDemandData: function getDemandData() {\n var _this2 = this;\n\n var arr = utils.getDictItemsFromCache('sj_ggcx_hkdfs');\n arr.forEach(function (item) {\n if (item.value === '1') {\n _this2.specificSituationOptions = item.lowerDic['sj_cxxs_jtqx'];\n }\n });\n },\n cellClick: function cellClick(row, cloumn, cell, event) {\n event.preventDefault(); // 判断大于 0 才有下砖\n\n if (!row[cloumn.property] || cloumn.property === 'resultNum' || cloumn.property === 'basicClassicsCaseNum' || cloumn.property === 'digtialAppiicationNum') return false;\n this.isShowChildren = true;\n\n if (cloumn.property === 'municipalProjectTotalNum' || cloumn.property === 'newProjectTotalNum' || cloumn.property === 'selfProjectTotalNum') {\n this.type = '1';\n } else if (cloumn.property === 'municipalProjectFinishNum' || cloumn.property === 'newProjectFinishNum' || cloumn.property === 'selfProjectFinishNum') {\n this.type = '2';\n } else if (cloumn.property === 'municipalProjectPlanNum' || cloumn.property === 'newProjectPlanNum' || cloumn.property === 'selfProjectPlanNum') {\n this.type = '3';\n } else if (cloumn.property === 'nationPointProcessNum' || cloumn.property === 'municipalPointProcessNum') {\n this.type = '4';\n } else if (cloumn.property === 'nationPointFinishNum' || cloumn.property === 'municipalPointFinishNum') {\n this.type = '5';\n } else if (cloumn.property === 'nationPointNewNum' || cloumn.property === 'municipalPointNewNum') {\n this.type = '6';\n } else {\n this.type = '7';\n }\n\n this.getDetailChange(row.fillId, cloumn.property);\n },\n //获取详情数据\n getDetailChange: function getDetailChange(fillId, indexName) {\n var _this3 = this;\n\n var param = new FormData();\n param.append('fillId', fillId);\n param.append('indexName', indexName);\n apiList.getReformSituationRunInHole(param, function (res) {\n _this3.tableDataDetails = res.value.data;\n });\n },\n returnToTheList: function returnToTheList() {\n this.isShowChildren = false;\n },\n downloadEffect: function downloadEffect(type) {\n var _this4 = this;\n\n this.exportLoading = true;\n var data = JSON.parse(JSON.stringify(this.params));\n data.pageBean.pageSize = -1;\n\n if (type === 1) {\n apiList.downloadListSituation(data, function (res) {\n _this4.exportLoading = false;\n });\n } else {\n apiList.downloadListSituationDetail(data, function (res) {\n _this4.exportLoading = false;\n });\n }\n },\n changeType: function changeType(e) {\n this.getData();\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n getData: function getData() {\n var _this5 = this;\n\n this.loading = true;\n this.tableLoading = true;\n this.tableData = [];\n\n var _JSON$parse = JSON.parse(sessionStorage.getItem('searchDate')),\n year = _JSON$parse.year,\n month = _JSON$parse.month;\n\n this.params.querys[0].value = year;\n this.params.querys[1].value = month;\n\n if (this.currentType === 1) {\n apiList.getReformSituationData(this.params, function (res) {\n if (res.rows) {\n _this5.tableData = res.rows.map(function (item) {\n var data = _objectSpread({\n unitName: item.unitName\n }, item.base);\n\n return data;\n });\n } else {\n _this5.tableData = [];\n }\n\n _this5.tableLoading = false;\n _this5.loading = false;\n });\n } else {\n this.municipalHeader = [];\n this.cityTableData = [];\n var data = {\n month: month,\n year: year,\n unitName: this.params.querys[2].value\n };\n apiList.getReformSituationCityData(data, function (res) {\n if (res.value) {\n _this5.municipalHeader = res.value.head; // let headers = res.value.head.map(item => item.indexName)\n // let computeHeaders = res.value.head.filter(item => item.indexType === 2)\n // let otherHeaders = res.value.head.filter(item => item.indexType === 1)\n // this.municipalHeader = [...computeHeaders,...otherHeaders].map(item => item.indexName)\n\n if (res.value.data) {\n var arr = res.value.data.map(function (indexItem) {\n var indexData = {\n unitName: indexItem.fullName\n };\n indexItem.situations.forEach(function (item) {\n // indexData[`${item.indexId}Unit`] = item.indexUnit\n indexData[\"\".concat(item.indexId, \"Value\")] = item.indexFinishValue;\n });\n return indexData;\n });\n _this5.cityTableData = _toConsumableArray(arr);\n\n _this5.$nextTick(function () {\n _this5.$refs.cityTable.doLayout();\n });\n }\n\n _this5.loading = false;\n }\n });\n }\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.$bus.$off('changeDate');\n }\n};",null]}