{"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\\reformBrand.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\components\\subComponents\\reformBrand.vue","mtime":1710321545446},{"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\r\nimport utils from '@/utils.js'\r\nimport apiList from '@/api/bigScreen/districView.js'\r\nexport default {\r\n props: {\r\n options: {\r\n type: Object,\r\n default: () => {\r\n return {}\r\n },\r\n },\r\n },\r\n data() {\r\n return {\r\n loading: false,\r\n loadingColor: 'rgba(6, 46, 106, 0.4)',\r\n showEasy: false,\r\n currentRow: {},\r\n currentTabComponent: '',\r\n dialogOption: {\r\n dialogTitle: '',\r\n width: '60%',\r\n top: '2%',\r\n },\r\n tempTableOptions: null,\r\n tableData: [],\r\n year:''\r\n }\r\n },\r\n beforeDestroy() {\r\n this.$bus.$off('changeDate')\r\n },\r\n mounted() {\r\n this.getBrand()\r\n this.$bus.$on('changeDate', () => {\r\n this.getBrand()\r\n })\r\n },\r\n methods: {\r\n handleDetail(comp, title, code) {\r\n this.$router.push({\r\n path: '/DetailComponent',\r\n name: 'DetailComponent',\r\n query: {\r\n comp,\r\n title: '品牌创建·' + title,\r\n code: code,\r\n },\r\n })\r\n },\r\n getDictName(code, value) {\r\n return utils.getDictName(code, value)\r\n },\r\n // handleDetail(row, type) {\r\n // this.currentTabComponent = dialogConfig.dialogOption[type]\r\n // .componentName\r\n // ? dialogConfig.dialogOption[type].componentName\r\n // : type // 动态组件名称\r\n // let data = {\r\n // ...dialogConfig.dialogOption[type].option,\r\n // dialogTitle: `${row.unitName}改革经验获全国肯定评价和中央媒体深度专题报道情况`,\r\n // }\r\n // let dataOptions = {\r\n // ...dialogConfig.dialogOption[type].dataOptions,\r\n // rowDate: row.effectDetail,\r\n // }\r\n\r\n // this.tempTableOptions = dataOptions //table的查询参数\r\n // this.dialogOption = data //弹窗配置参数\r\n // this.showEasy = true\r\n // },\r\n getBrand() {\r\n this.loading = true\r\n let searchDate = sessionStorage.getItem('searchDate')\r\n searchDate = JSON.parse(searchDate)\r\n this.year = searchDate.year\r\n let data = this.qs.stringify({\r\n quarter: searchDate.quarter,\r\n year: searchDate.year,\r\n })\r\n apiList.getBrand(data, (res) => {\r\n if (res && res.value && res.value.brand) {\r\n this.tableData = res.value.brand\r\n }\r\n this.loading = false\r\n })\r\n },\r\n },\r\n}\r\n",null]}