{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\DetailComponentPage.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\DetailComponentPage.vue","mtime":1687876025320},{"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":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport subPageComponents from '@/views/BigScreen/js/sub_page_components.js'\r\nimport subPage from '@/views/BigScreen/js/sub_page_config.js'\r\nimport screenHeader from '@/views/BigScreen/components/screenHeader.vue'\r\nimport previewExport from '@/views/BigScreen/components/subComponents/previewExport.vue'\r\nexport default {\r\n components: {\r\n screenHeader,\r\n previewExport,\r\n ...subPageComponents\r\n },\r\n data() {\r\n return {\r\n currentKey: 'DistrictReformView',\r\n currentTabComponent: '',\r\n options: null,\r\n compData: null,\r\n title: '',\r\n showNav: true,\r\n viewBtn: false,\r\n allTable: [],\r\n json_fields: {}\r\n }\r\n },\r\n watch: {\r\n $route: 'poliyComp'\r\n },\r\n mounted() {\r\n let {comp} = this.$route.query\r\n if (comp == 'mapTarget_1') {\r\n this.json_fields = {\r\n 区县: 'unitName',\r\n '承接国家试点项目数(个)': 'nationalProjectNum',\r\n 分档: 'nationalProjectGrade'\r\n }\r\n } else if (comp == 'mapTarget_2') {\r\n this.json_fields = {\r\n 区县: 'unitName',\r\n '承接市级试点项目数(个)': 'cityProjectNum',\r\n 分档: 'cityProjectGrade'\r\n }\r\n } else if (comp == 'mapTarget_3') {\r\n this.json_fields = {\r\n 区县: 'unitName',\r\n '承接的国家和市级试点按时通过验收率(%)': 'workablePassRate',\r\n 分档: 'workablePassGrade'\r\n }\r\n } else if (comp == 'mapTarget_4') {\r\n this.json_fields = {\r\n 区县: 'unitName',\r\n '本年度新增国家和市级试点项目数(个)': 'workableAddNum',\r\n 分档: 'workableAddGrade'\r\n }\r\n } else if (comp == 'mapTarget_5') {\r\n this.json_fields = {\r\n 区县: 'unitName',\r\n '改革经验获全国性肯定评价(次)': 'nationwideNum',\r\n 分档: 'nationwideGrade'\r\n }\r\n } else if (comp == 'mapTarget_6') {\r\n this.json_fields = {\r\n 区县: 'unitName',\r\n '改革经验获全市推广(次)': 'cityNum',\r\n 分档: 'cityGrade'\r\n }\r\n } else if (comp == 'mapTarget_7') {\r\n this.json_fields = {\r\n 区县: 'unitName',\r\n '改革经验被5家中央媒体深度专题报道(次)': 'mediaNum',\r\n 分档: 'mediaGrade'\r\n }\r\n } else if (comp == 'mapTarget_8') {\r\n this.json_fields = {\r\n 区县: 'unitName',\r\n '社情民意电话调查满意度(%)': 'satisfied',\r\n 分档: 'satisfiedGrade'\r\n }\r\n }\r\n if (\r\n comp == 'mapTarget_1' ||\r\n comp == 'mapTarget_2' ||\r\n comp == 'mapTarget_3' ||\r\n comp == 'mapTarget_4' ||\r\n comp == 'mapTarget_5' ||\r\n comp == 'mapTarget_6' ||\r\n comp == 'mapTarget_7' ||\r\n comp == 'mapTarget_8'\r\n ) {\r\n this.viewBtn = true\r\n }\r\n this.poliyComp()\r\n this.$bus.$on('exportExcel', res => {\r\n this.allTable = res\r\n })\r\n },\r\n beforeRouteUpdate (to, from, next) {\r\n let {comp} = to.query\r\n if (\r\n comp == 'mapTarget_1' ||\r\n comp == 'mapTarget_2' ||\r\n comp == 'mapTarget_3' ||\r\n comp == 'mapTarget_4' ||\r\n comp == 'mapTarget_5' ||\r\n comp == 'mapTarget_6' ||\r\n comp == 'mapTarget_7' ||\r\n comp == 'mapTarget_8'\r\n ) {\r\n this.viewBtn = true\r\n }else {\r\n this.viewBtn = false\r\n }\r\n next()\r\n },\r\n methods: {\r\n previewExport() {\r\n this.$refs.previewExport.open()\r\n },\r\n searchDateChange() {\r\n this.currentKey = 'MajorProjectsView'\r\n },\r\n handleBack() {\r\n let {comp} = this.$route.query\r\n if (comp.indexOf('mapTarget') == -1) {\r\n this.$router.back()\r\n } else {\r\n this.$router.push({\r\n path: '/DistrictReformView',\r\n name: 'DistrictReformView'\r\n })\r\n }\r\n },\r\n poliyComp() {\r\n let {comp, title} = this.$route.query\r\n this.options = subPage.configOption[comp].options\r\n if (title) {\r\n this.title = title\r\n } else {\r\n this.title = this.options.title\r\n }\r\n this.currentTabComponent = subPage.configOption[comp].options.comp\r\n },\r\n changeNav(nav) {\r\n this.$router.push({\r\n path: '/DetailComponent',\r\n name: 'DetailComponent',\r\n query: {\r\n comp: nav.comp\r\n }\r\n })\r\n },\r\n handleSideNav() {\r\n this.showNav = !this.showNav\r\n }\r\n }\r\n}\r\n",null]}