{"remainingRequest":"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\\mapTarget5.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\components\\subComponents\\mapTarget5.vue","mtime":1718334479967},{"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\r\nimport airTable from './airTable.vue'\r\nimport mapTargetMixin from '@/mixins/mapTargetMixin.js'\r\nexport default {\r\n mixins: [mapTargetMixin],\r\n components: {\r\n airTable,\r\n },\r\n props: {\r\n options: {\r\n type: Object,\r\n default: () => {\r\n return {}\r\n },\r\n },\r\n CQId: {\r\n type: String,\r\n default: 'cq-contianer_5',\r\n },\r\n main9Id: {\r\n type: String,\r\n default: 'main9-contianer_5',\r\n },\r\n isClick: {\r\n type: Boolean,\r\n default: true,\r\n },\r\n },\r\n data() {\r\n return {\r\n tableColumn: [\r\n { label: '排名', prop: 'nationwideSn' },\r\n { label: '区县', prop: 'unitName' },\r\n { label: '实际值(次)', prop: 'nationwideNum' },\r\n { label: '得分', prop: 'nationwideScore' },\r\n ],\r\n typeNum: 'nationwideNum',\r\n typeGrade: 'nationwideGrade',\r\n isFirm: false\r\n }\r\n },\r\n beforeDestroy() {\r\n this.$bus.$off('changeDate')\r\n },\r\n mounted() {\r\n this.setIsFirm()\r\n this.setIsSub()\r\n this.setTableColumn()\r\n this.initData()\r\n this.$bus.$on('changeDate', () => {\r\n this.setIsFirm()\r\n this.setIsSub()\r\n this.setTableColumn()\r\n this.initData()\r\n })\r\n this.$root.$on('resize', () => {\r\n this.resize(500)\r\n })\r\n },\r\n methods: {\r\n setIsSub() {\r\n let { year, quarter } = JSON.parse(sessionStorage.getItem('searchDate'))\r\n if (year === 2024 && quarter === 2) {\r\n this.isSub = false\r\n } else {\r\n this.isSub = true\r\n }\r\n this.setLsFd()\r\n },\r\n setTableColumn() {\r\n let { year, quarter } = JSON.parse(\r\n sessionStorage.getItem('searchDate')\r\n )\r\n if (this.isSub) {\r\n if (year === 2023 && quarter < 4 && quarter !== 0) {\r\n this.tableColumn = [\r\n { label: '排名', prop: 'nationwideSn' },\r\n { label: '区县', prop: 'unitName' },\r\n { label: '实际值(次)', prop: 'nationwideNum' },\r\n ]\r\n } else {\r\n this.tableColumn = [\r\n { label: '排名', prop: 'nationwideSn' },\r\n { label: '区县', prop: 'unitName' },\r\n { label: '实际值(次)', prop: 'nationwideNum' },\r\n { label: '得分', prop: 'nationwideScore' },\r\n ]\r\n }\r\n } else {\r\n this.tableColumn = [\r\n { label: '排名', prop: 'nationwideSn' },\r\n { label: '区县', prop: 'unitName' },\r\n { label: '实际值(次)', prop: 'nationwideNum' },\r\n ]\r\n }\r\n\r\n },\r\n setIsFirm() {\r\n let { year, quarter } = JSON.parse(sessionStorage.getItem('searchDate'))\r\n if (year === 2024 && quarter === 1) {\r\n this.isFirm = true\r\n } else {\r\n this.isFirm = false\r\n }\r\n },\r\n handleDetail(comp, code, type, title) {\r\n this.$router.push({\r\n path: '/DetailComponent',\r\n name: 'DetailComponent',\r\n query: {\r\n comp,\r\n code,\r\n type,\r\n title: '品牌创建·' + title,\r\n },\r\n })\r\n },\r\n },\r\n}\r\n",null]}