{"remainingRequest":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\cqlt-fvue\\src\\views\\BigScrenn\\operationTheme\\components\\runningPlate.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\src\\views\\BigScrenn\\operationTheme\\components\\runningPlate.vue","mtime":1693992862285},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.array.sort\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.regexp.split\";\n//\n//\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 { mapState } from 'vuex';\nimport * as echarts from 'echarts';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport operationTheme from '@/api/bigScrenn/operationTheme.js';\nimport echartsTitle from '@/views/BigScrenn/operationTheme/components/title.vue';\nimport echartsDialog from '@/views/BigScrenn/operationTheme/components/echartsDialog.vue';\nexport default {\n components: {\n echartsTitle: echartsTitle,\n echartsDialog: echartsDialog\n },\n data: function data() {\n return {\n currentKey: 'operationTheme',\n tabActive: 0,\n echartsList: [],\n //所有echarts数据\n tabList: [{\n name: \"宏观数据\",\n value: 0\n }, {\n name: \"运行板块\",\n value: 1\n }, {\n name: \"销售板块\",\n value: 2\n }],\n dataList: [],\n leftList: [],\n //左边echarts\n rightList: [],\n //右边echarts\n centerList: [],\n leftData: [],\n //左边\n rightData: [],\n //右边\n rateData: {},\n options: [{\n value: '选项1',\n label: '1'\n }],\n value: '',\n options1: [{\n value: '选项1',\n label: '2'\n }],\n value1: ''\n };\n },\n created: function created() {\n this.tjwdList = this.$i18n.locale === 'zh-CN' ? dictUtils.getDictItemsFromCache('tjwd') : dictUtils.getDictItemsFromCache('tjwd_en');\n this.getData(2);\n },\n mounted: function mounted() {\n var _this = this;\n\n this.$root.$on('resize', function () {\n _this.resize(500);\n });\n },\n methods: {\n clickTab: function clickTab(val) {\n this.tabActive = val;\n },\n arraySort: function arraySort(property) {\n return function (a, b) {\n var value1 = a[property];\n var value2 = b[property];\n return value1 - value2;\n };\n },\n getData: function getData(val) {\n var _this2 = this;\n\n this.dataList = [];\n this.echartsList = [];\n this.leftList = [];\n this.rightList = [];\n operationTheme.oneLevelDataKpi({\n year: window.localStorage.getItem('yearValue'),\n enterpriseCode: window.localStorage.getItem('enterpriseCode').split(',')[1]\n }, function (res) {\n if (res.value.length > 0) {\n res.value.forEach(function (e) {\n _this2.echartsList.push(e);\n });\n }\n\n _this2.echartsList.sort(_this2.arraySort('sn'));\n\n _this2.leftList = _this2.echartsList.slice(0, 3);\n _this2.centerList = _this2.echartsList.slice(3, 5);\n _this2.rightList = _this2.echartsList.slice(5, 7);\n\n _this2.$nextTick(function () {\n _this2.echartsList.forEach(function (c, cx) {\n _this2.dateEcharts(c, cx);\n });\n });\n });\n },\n //更多企业\n handleMore: function handleMore(val) {\n this.$refs.echartsDialog.add(val, 1);\n },\n dateEcharts: function dateEcharts(c, cx) {\n var _this3 = this;\n\n var chartDom = echarts.init(document.getElementById(\"pieChart\".concat(cx)));\n var arr = [];\n var xLabel = [];\n c.resultData.forEach(function (r) {\n xLabel.push(r.month + (_this3.$i18n.locale === 'zh-CN' ? '月' : 'Month'));\n });\n\n if (c.staLat.split(',').length > 1) {\n this.tjwdList.forEach(function (s) {\n c.staLat.split(',').forEach(function (t) {\n if (s.value == t) {\n var datalist = [];\n\n if (t == 1) {\n c.resultData.forEach(function (r) {\n datalist.push(r.actual);\n });\n } else if (t == 2) {\n c.resultData.forEach(function (r) {\n datalist.push(r.budget);\n });\n }\n\n arr.push({\n name: s.name,\n type: 'line',\n symbol: 'circle',\n // 默认是空心圆(中间是白色的),改成实心圆\n smooth: true,\n lineStyle: {\n normal: {\n width: 3 // color: '#518EF5', // 线条颜色\n\n }\n },\n itemStyle: {\n normal: {\n // color: '#518EF5', //拐点颜色\n // borderColor: '#fff600',//拐点边框颜色\n // borderWidth: 13//拐点边框大小\n label: {\n show: false,\n //开启显示\n color: '#fff',\n position: 'top',\n //在上方显示\n formatter: function formatter(res) {\n if (res.value) {\n return res.value;\n } else {\n return 0;\n }\n }\n }\n }\n },\n symbolSize: 8,\n //设定实心点的大小\n data: datalist // c.resultData.forEach(r => {\n // \tif (t == 1) {\n // \t\tconsole.log(r);\n // \t\treturn [...r.actual]\n // \t} else {\n // \t\t// arrData.push()\n // \t\treturn [...r.budget]\n // \t}\n // }),\n\n });\n }\n });\n });\n } else {\n this.tjwdList.forEach(function (s) {\n var data1list = [];\n\n if (c.staLat == 1) {\n c.resultData.forEach(function (r) {\n data1list.push(r.actual);\n });\n } else if (c.staLat == 2) {\n c.resultData.forEach(function (r) {\n data1list.push(r.budget);\n });\n }\n\n if (s.value == c.staLat) {\n arr.push({\n name: s.name,\n type: 'line',\n symbol: 'circle',\n // 默认是空心圆(中间是白色的),改成实心圆\n smooth: true,\n lineStyle: {\n normal: {\n width: 3 // color: '#518EF5', // 线条颜色\n\n }\n },\n itemStyle: {\n normal: {\n // color: '#518EF5', //拐点颜色\n // borderColor: '#fff600',//拐点边框颜色\n // borderWidth: 13//拐点边框大小\n label: {\n show: false,\n //开启显示\n color: '#fff',\n position: 'top',\n //在上方显示\n formatter: function formatter(res) {\n if (res.value) {\n return res.value;\n } else {\n return 0;\n }\n }\n }\n }\n },\n symbolSize: 8,\n //设定实心点的大小\n data: data1list\n });\n }\n });\n }\n\n var option = {\n backgroundColor: '',\n tooltip: {\n trigger: 'axis',\n // 自定义tooltip内容\n formatter: function formatter(item) {\n var str = \"