{"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\\innerTables\\pilotAccount.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\components\\innerTables\\pilotAccount.vue","mtime":1686194718318},{"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 \"core-js/modules/web.dom.iterable\";\nimport _defineProperty from \"D:/jenkins/workspace/reform-fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\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//\nimport utils from '@/utils.js';\nimport apiList from '@/api/bigScreen/districView.js';\nimport EasyDialog from '@/views/BigScreen/components/easy-dialog/index.vue';\nimport pagenation from \"./pagenation.vue\";\nimport dialogComponents from '@/views/BigScreen/js/dialog_components.js';\nimport dialogConfig from '@/views/BigScreen/js/DistrictReformDialogConfig.js';\nexport default {\n components: _objectSpread(_objectSpread({\n pagenation: pagenation\n }, dialogComponents), {}, {\n EasyDialog: EasyDialog\n }),\n props: {\n tableOptions: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n downloading: false,\n textempty: ' ',\n demandRunwayOptions: [],\n loading: false,\n loadingColor: 'rgba(6, 46, 106, 0.4)',\n tableData: [],\n showEasy: false,\n currentTabComponent: '',\n dialogOption: {\n dialogTitle: ''\n },\n searchData: {\n PILOT_PROJECT_NAME_: '',\n 'i.UNIT_NAME_': '',\n PILOT_FIELD_: '',\n PILOT_RUNWAY_: '',\n START_TIME_: ''\n },\n tempTableOptions: null,\n params: {\n pageBean: {\n page: 1,\n pageSize: 10,\n showTotal: true,\n total: 0\n },\n params: {},\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'PILOT_LEVEL_',\n relation: 'AND',\n value: 1\n }]\n }\n };\n },\n mounted: function mounted() {\n // this.params.querys[0].value = this.tableOptions.type\n // this.params.pageBean.page = 1\n // this.params.pageBean.total = 0\n // this.params.pageBean.pageSize = 10\n // this.loadData()\n this.demandRunwayOptions = this.getDemandData('1');\n },\n watch: {\n 'tableOptions.type': {\n handler: function handler(newValue) {\n this.params.querys[0].value = newValue;\n this.params.pageBean.page = 1;\n this.params.pageBean.total = 0;\n this.params.pageBean.pageSize = 10;\n this.loadData();\n },\n immediate: true\n }\n },\n methods: {\n download: function download() {\n var _this = this;\n\n this.downloading = true;\n this.$message.warning('试点台账数据量较大,导出所需时间较长,请耐性等待......');\n var searchDate = sessionStorage.getItem('searchDate');\n searchDate = JSON.parse(searchDate);\n this.params.params.year = searchDate.year;\n this.params.params.quarter = searchDate.quarter;\n apiList.exportLedgerDetail(this.params).then(function (res) {\n _this.downloading = false;\n\n _this.$message.success('试点台账数据导出成功');\n });\n },\n search: function search(data, type) {\n this.params.pageBean.page = 1;\n\n if (type == 'PILOT_FIELD_') {\n this.demandRunwayOptions = this.getDemandData(data);\n this.searchData.PILOT_RUNWAY_ = '';\n }\n\n var level = this.params.querys[0];\n this.params.querys = [level];\n var operation = '';\n\n for (var key in this.searchData) {\n if (key == 'PILOT_PROJECT_NAME_' || key == 'i.UNIT_NAME_') {\n operation = 'LIKE';\n } else if (key == 'PILOT_FIELD_' || key == 'PILOT_RUNWAY_') {\n operation = 'EQUAL';\n } else if (key == 'START_TIME_') {\n operation = 'BETWEEN';\n }\n\n this.params.querys.push({\n group: 'main',\n operation: operation,\n parentGroup: '',\n property: key,\n relation: 'AND',\n value: this.searchData[key]\n });\n }\n\n this.loadData();\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n loadData: function loadData() {\n var _this2 = this;\n\n this.loading = true;\n var searchDate = sessionStorage.getItem('searchDate');\n searchDate = JSON.parse(searchDate);\n this.params.params.year = searchDate.year;\n this.params.params.quarter = searchDate.quarter;\n apiList.getPilotLedgerDetail(this.params, function (res) {\n if (res && res.rows) {\n _this2.tableData = res.rows;\n _this2.params.pageBean.page = res.page;\n _this2.params.pageBean.total = res.total;\n _this2.params.pageBean.pageSize = res.pageSize;\n }\n\n _this2.loading = false;\n });\n },\n pageChange: function pageChange(key) {\n this.params.pageBean.page = key;\n this.loadData();\n },\n handleOpen: function handleOpen(type, item, row) {\n console.log(type, item, row);\n this.currentTabComponent = dialogConfig.dialogOption[type].componentName ? dialogConfig.dialogOption[type].componentName : type; // 动态组件名称\n\n this.tempTableOptions = {\n name: item.unitName,\n code: item.unitCode,\n id: row.id\n }; //table的查询参数\n\n var data = _objectSpread({\n dialogTitle: item.unitName + '改革试点详情'\n }, dialogConfig.dialogOption[type].option);\n\n this.dialogOption = data; //弹窗配置参数\n\n this.showEasy = true;\n },\n getDemandData: function getDemandData(val) {\n var data = null;\n var arr = utils.getDictItemsFromCache('ggbb_ssly');\n arr.forEach(function (item) {\n if (item.value == val) {\n data = item.lowerDic['ggbb_sspd'];\n }\n });\n return data;\n }\n }\n};",null]}