{"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\\MajorProjectsView.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\BigScreen\\MajorProjectsView.vue","mtime":1685953070058},{"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 _slicedToArray from \"D:/jenkins/workspace/reform-fvue/node_modules/@babel/runtime/helpers/esm/slicedToArray\";\nimport \"core-js/modules/es7.object.entries\";\nimport \"core-js/modules/es6.string.iterator\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.array.sort\";\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 * as echarts from 'echarts';\nimport 'echarts-liquidfill';\nimport { mapState } from 'vuex';\nimport VueSeamlessScroll from 'vue-seamless-scroll';\nimport EasyDialog from '@/views/BigScreen/components/easy-dialog/index.vue';\nimport dialogComponents from '@/views/BigScreen/js/major_dialog_components.js';\nimport dialogConfig from '@/views/BigScreen/js/MajorProjectsDialogConfig.js';\nimport bigScreenMixin from '@/mixins/bigScreenMixin.js';\nimport apiList from '@/api/bigScreen/majorView.js';\nimport screenHeader from '@/views/BigScreen/components/screenHeader.vue';\nimport utils from '@/utils.js';\nexport default {\n name: 'MajorProjectsView',\n mixins: [bigScreenMixin],\n components: _objectSpread({\n screenHeader: screenHeader,\n EasyDialog: EasyDialog,\n VueSeamlessScroll: VueSeamlessScroll\n }, dialogComponents),\n data: function data() {\n var _ref;\n\n return _ref = {\n // 成果榜加载遮罩\n numLoading: false,\n listLoading: false,\n // 需求热力榜 ------5.4\n scrollheaderBottom: [{\n name: '部门',\n width: '16%'\n }, {\n name: '提出需求',\n width: '18%'\n }, {\n name: '转化重大项目',\n width: '26%'\n }, {\n name: '转化为清单',\n width: '23%'\n }, {\n name: '质效指数',\n width: '18%'\n } // {\n // name: '排名',\n // width: '20%'\n // }\n ],\n scrollListDataBottom: [],\n heatBarChart: null,\n heatBarOption: null,\n heatBarData: [],\n legendTop: [{\n name: '党中央国务院有要求'\n }, {\n name: '群众企业基层有期盼'\n }, {\n name: '重庆发展有堵点'\n }, {\n name: '先进省市有经验'\n }],\n legendBottom: [{\n name: '群众企业基层有期盼'\n }, {\n name: '先进省市有经验'\n }],\n // 需求热力榜 ------5.4\n showWorkPlat: false,\n workPlatMenu: [],\n currentMenu: {\n name: ''\n },\n pieLoading: false,\n showEasy: false,\n // 弹层显隐控制\n dialogOption: {\n dialogTitle: '',\n width: '50%',\n top: ''\n },\n tableOptions: {},\n currentTabComponent: null,\n currentKey: 'MajorProjectsView',\n menuData: [],\n activeBtn: 1,\n // 单项指数\n singleRankData: [],\n // 成果趋势\n resultTrend: {// platformNum: 0,\n // platormTrendNum: 0,\n // appNum: 0,\n // appTrendNum: 0,\n // regimeNum: 0,\n // regimeTrendNum: 0,\n },\n // 成果排行榜\n resultsRanking1: [],\n resultsRanking2: [],\n resultsRanking3: []\n }, _defineProperty(_ref, \"resultsRanking1\", [// {\n // id: 1,\n // projectName: '推动数字重庆建设',\n // score: 31,\n // sn: 1,\n // trend: 0,\n // },\n // {\n // id: 2,\n // projectName: '全市开发区(园区)数',\n // score: 26,\n // sn: 2,\n // trend: 1,\n // },\n // {\n // id: 3,\n // projectName: '探索制造业“亩均论英雄”改革',\n // score: 23,\n // sn: 3,\n // trend: 1,\n // },\n // {\n // id: 4,\n // projectName: '实施国企战略性重组和专业化整合',\n // score: 22,\n // sn: 4,\n // trend: 1,\n // },\n // {\n // id: 5,\n // projectName: '建立企业上市助推机制',\n // score: 21,\n // sn: 5,\n // trend: 2,\n // },\n // {\n // id: 6,\n // projectName: '探索强村富民综合改革',\n // score: 15,\n // sn: 6,\n // trend: 1,\n // },\n // {\n // id: 7,\n // projectName: '探索经济区与行政区适度分离改革',\n // score: 13,\n // sn: 7,\n // trend: 1,\n // },\n // {\n // id: 8,\n // projectName: '推进涉企涉民服务全生命周期“一件事一次办”',\n // score: 12,\n // sn: 8,\n // trend: 1,\n // },\n // {\n // id: 9,\n // projectName: '打造“信用重庆”升级版',\n // score: 11,\n // sn: 9,\n // trend: 2,\n // },\n // {\n // id: 10,\n // projectName: '建设政企学研深度融合的现代职教体系',\n // score: 9,\n // sn: 10,\n // trend: 1,\n // },\n // {\n // id: 11,\n // projectName: '健全平安重庆风险闭环管控机制',\n // score: 7,\n // sn: 11,\n // trend: 2,\n // },\n // {\n // id: 12,\n // projectName: '推进渝警数智“情指行”一体化现代警务改革',\n // score: 5,\n // sn: 12,\n // trend: 1,\n // },\n // {\n // id: 13,\n // projectName: '建立领导班子运行评估和群众口碑评价机制',\n // score: 4,\n // sn: 13,\n // trend: 2,\n // },\n // {\n // id: 14,\n // projectName: '推进“党建扎桩·治理结网”基层治理现代化改革',\n // score: 3,\n // sn: 14,\n // trend: 1,\n // },\n // {\n // id: 15,\n // projectName: '实施投融资多元化改革',\n // score: 2,\n // sn: 15,\n // trend: 1,\n // },\n ]), _defineProperty(_ref, \"resultsRanking2\", [// {\n // id: 1,\n // projectName: '推动数字重庆建设',\n // score: 31,\n // sn: 1,\n // trend: 0,\n // },\n // {\n // id: 2,\n // projectName: '实施国企战略性重组和专业化整合',\n // score: 26,\n // sn: 2,\n // trend: 1,\n // },\n // {\n // id: 3,\n // projectName: '建立企业上市助推机制',\n // score: 23,\n // sn: 3,\n // trend: 1,\n // },\n // {\n // id: 4,\n // projectName: '全市开发区(园区)数',\n // score: 22,\n // sn: 4,\n // trend: 1,\n // },\n // {\n // id: 5,\n // projectName: '探索制造业“亩均论英雄”改革',\n // score: 21,\n // sn: 5,\n // trend: 2,\n // },\n // {\n // id: 6,\n // projectName: '打造“信用重庆”升级版',\n // score: 15,\n // sn: 6,\n // trend: 1,\n // },\n // {\n // id: 7,\n // projectName: '探索经济区与行政区适度分离改革',\n // score: 13,\n // sn: 7,\n // trend: 1,\n // },\n // {\n // id: 8,\n // projectName: '推进涉企涉民服务全生命周期“一件事一次办”',\n // score: 12,\n // sn: 8,\n // trend: 1,\n // },\n // {\n // id: 9,\n // projectName: '探索强村富民综合改革',\n // score: 11,\n // sn: 9,\n // trend: 2,\n // },\n // {\n // id: 10,\n // projectName: '实施投融资多元化改革',\n // score: 9,\n // sn: 10,\n // trend: 1,\n // },\n // {\n // id: 11,\n // projectName: '健全平安重庆风险闭环管控机制',\n // score: 7,\n // sn: 11,\n // trend: 2,\n // },\n // {\n // id: 12,\n // projectName: '建设政企学研深度融合的现代职教体系',\n // score: 5,\n // sn: 12,\n // trend: 1,\n // },\n // {\n // id: 13,\n // projectName: '建立领导班子运行评估和群众口碑评价机制',\n // score: 4,\n // sn: 13,\n // trend: 2,\n // },\n // {\n // id: 14,\n // projectName: '推进“党建扎桩·治理结网”基层治理现代化改革',\n // score: 3,\n // sn: 14,\n // trend: 1,\n // },\n // {\n // id: 15,\n // projectName: '推进渝警数智“情指行”一体化现代警务改革',\n // score: 2,\n // sn: 15,\n // trend: 1,\n // },\n ]), _defineProperty(_ref, \"resultsRanking3\", [// {\n // id: 1,\n // projectName: '推动数字重庆建设',\n // score: 31,\n // sn: 1,\n // trend: 0,\n // },\n // {\n // id: 2,\n // projectName: '探索经济区与行政区适度分离改革',\n // score: 26,\n // sn: 2,\n // trend: 1,\n // },\n // {\n // id: 3,\n // projectName: '探索制造业“亩均论英雄”改革',\n // score: 23,\n // sn: 3,\n // trend: 1,\n // },\n // {\n // id: 4,\n // projectName: '实施国企战略性重组和专业化整合',\n // score: 22,\n // sn: 4,\n // trend: 1,\n // },\n // {\n // id: 5,\n // projectName: '建立企业上市助推机制',\n // score: 21,\n // sn: 5,\n // trend: 2,\n // },\n // {\n // id: 6,\n // projectName: '探索强村富民综合改革',\n // score: 15,\n // sn: 6,\n // trend: 1,\n // },\n // {\n // id: 7,\n // projectName: '全市开发区(园区)数',\n // score: 13,\n // sn: 7,\n // trend: 1,\n // },\n // {\n // id: 8,\n // projectName: '推进涉企涉民服务全生命周期“一件事一次办”',\n // score: 12,\n // sn: 8,\n // trend: 1,\n // },\n // {\n // id: 9,\n // projectName: '打造“信用重庆”升级版',\n // score: 11,\n // sn: 9,\n // trend: 2,\n // },\n // {\n // id: 10,\n // projectName: '探索制造业“亩均论英雄”改革',\n // score: 9,\n // sn: 10,\n // trend: 1,\n // },\n // {\n // id: 11,\n // projectName: '健全平安重庆风险闭环管控机制',\n // score: 7,\n // sn: 11,\n // trend: 2,\n // },\n // {\n // id: 12,\n // projectName: '推进渝警数智“情指行”一体化现代警务改革',\n // score: 5,\n // sn: 12,\n // trend: 1,\n // },\n // {\n // id: 13,\n // projectName: '建立领导班子运行评估和群众口碑评价机制',\n // score: 4,\n // sn: 13,\n // trend: 2,\n // },\n // {\n // id: 14,\n // projectName: '推进“党建扎桩·治理结网”基层治理现代化改革',\n // score: 3,\n // sn: 14,\n // trend: 1,\n // },\n // {\n // id: 15,\n // projectName: '实施投融资多元化改革',\n // score: 2,\n // sn: 15,\n // trend: 1,\n // },\n ]), _defineProperty(_ref, \"iterationList\", [// {\n // id: 1,\n // name: '推动数字重庆建设',\n // score: 31,\n // sn: 1,\n // trend: 0,\n // },\n // {\n // id: 2,\n // name: '探索经济区与行政区适度分离改革',\n // score: 26,\n // sn: 2,\n // trend: 1,\n // },\n // {\n // id: 3,\n // name: '探索制造业“亩均论英雄”改革',\n // score: 23,\n // sn: 3,\n // trend: 1,\n // },\n // {\n // id: 4,\n // name: '实施国企战略性重组和专业化整合',\n // score: 22,\n // sn: 4,\n // trend: 1,\n // },\n // {\n // id: 5,\n // name: '建立企业上市助推机制',\n // score: 21,\n // sn: 5,\n // trend: 2,\n // },\n // {\n // id: 6,\n // name: '探索强村富民综合改革',\n // score: 15,\n // sn: 6,\n // trend: 1,\n // },\n // {\n // id: 7,\n // name: '全市开发区(园区)数',\n // score: 13,\n // sn: 7,\n // trend: 1,\n // },\n // {\n // id: 8,\n // name: '推进涉企涉民服务全生命周期“一件事一次办”',\n // score: 12,\n // sn: 8,\n // trend: 1,\n // },\n // {\n // id: 9,\n // name: '打造“信用重庆”升级版',\n // score: 11,\n // sn: 9,\n // trend: 2,\n // },\n // {\n // id: 10,\n // name: '探索制造业“亩均论英雄”改革',\n // score: 9,\n // sn: 10,\n // trend: 1,\n // },\n // {\n // id: 11,\n // name: '健全平安重庆风险闭环管控机制',\n // score: 7,\n // sn: 11,\n // trend: 2,\n // },\n // {\n // id: 12,\n // name: '推进渝警数智“情指行”一体化现代警务改革',\n // score: 5,\n // sn: 12,\n // trend: 1,\n // },\n // {\n // id: 13,\n // name: '建立领导班子运行评估和群众口碑评价机制',\n // score: 4,\n // sn: 13,\n // trend: 2,\n // },\n // {\n // id: 14,\n // name: '推进“党建扎桩·治理结网”基层治理现代化改革',\n // score: 3,\n // sn: 14,\n // trend: 1,\n // },\n // {\n // id: 15,\n // name: '实施投融资多元化改革',\n // score: 2,\n // sn: 15,\n // trend: 1,\n // },\n ]), _defineProperty(_ref, \"scrollheader1\", [{\n name: '项目',\n width: '55%'\n }, {\n name: '得分',\n width: '15%'\n }, {\n name: '排位',\n width: '15%'\n }, {\n name: '变化',\n width: '15%'\n }]), _defineProperty(_ref, \"scrollListData1\", []), _defineProperty(_ref, \"scrollheader2\", [{\n name: '项目',\n width: '50%'\n }, {\n name: '迭代举措数',\n width: '17.5%'\n }, {\n name: '新增举措数',\n width: '17.5%'\n }, {\n name: '排位',\n width: '15%'\n }]), _defineProperty(_ref, \"scrollListData2\", []), _defineProperty(_ref, \"scrollListData2\", [// {\n // id: 1,\n // projectName: '推动数字重庆建设',\n // addNum: 31,\n // iterationSn: 1,\n // updateNum: 23,\n // },\n // {\n // id: 2,\n // projectName: '探索经济区与行政区适度分离改革',\n // addNum: 26,\n // iterationSn: 2,\n // updateNum: 27,\n // },\n // {\n // id: 3,\n // projectName: '探索制造业“亩均论英雄”改革',\n // addNum: 23,\n // iterationSn: 3,\n // updateNum: 29,\n // },\n // {\n // id: 4,\n // projectName: '实施国企战略性重组和专业化整合',\n // addNum: 22,\n // iterationSn: 4,\n // updateNum: 26,\n // },\n // {\n // id: 5,\n // projectName: '建立企业上市助推机制',\n // addNum: 21,\n // iterationSn: 5,\n // updateNum: 15,\n // },\n // {\n // id: 6,\n // projectName: '探索强村富民综合改革',\n // addNum: 15,\n // iterationSn: 6,\n // updateNum: 19,\n // },\n // {\n // id: 7,\n // projectName: '全市开发区(园区)数',\n // addNum: 13,\n // iterationSn: 7,\n // updateNum: 20,\n // },\n // {\n // id: 8,\n // projectName: '推进涉企涉民服务全生命周期“一件事一次办”',\n // addNum: 12,\n // iterationSn: 8,\n // updateNum: 16,\n // },\n // {\n // id: 9,\n // projectName: '打造“信用重庆”升级版',\n // addNum: 11,\n // iterationSn: 9,\n // updateNum: 12,\n // },\n // {\n // id: 10,\n // projectName: '探索制造业“亩均论英雄”改革',\n // addNum: 9,\n // iterationSn: 10,\n // updateNum: 8,\n // },\n // {\n // id: 11,\n // projectName: '健全平安重庆风险闭环管控机制',\n // addNum: 7,\n // iterationSn: 11,\n // updateNum: 7,\n // },\n // {\n // id: 12,\n // projectName: '推进渝警数智“情指行”一体化现代警务改革',\n // addNum: 5,\n // iterationSn: 12,\n // updateNum: 4,\n // },\n // {\n // id: 13,\n // projectName: '建立领导班子运行评估和群众口碑评价机制',\n // addNum: 4,\n // iterationSn: 13,\n // updateNum: 4,\n // },\n // {\n // id: 14,\n // projectName: '推进“党建扎桩·治理结网”基层治理现代化改革',\n // addNum: 3,\n // iterationSn: 14,\n // updateNum: 3,\n // },\n // {\n // id: 15,\n // projectName: '实施投融资多元化改革',\n // addNum: 2,\n // iterationSn: 15,\n // updateNum: 2,\n // },\n ]), _defineProperty(_ref, \"scrollheader3\", [{\n name: '项目',\n width: '45%'\n }, {\n name: '获全国肯定性
评价(次)',\n width: '20%',\n type: 'l'\n }, {\n name: '获中央媒体深度
专题报道(次)',\n width: '20%',\n type: 'l'\n }, {\n name: '排位',\n width: '15%'\n }]), _defineProperty(_ref, \"singleheader\", [{\n name: '指数',\n width: '28%'\n }, {\n name: '项目',\n width: '42%'\n }, {\n name: '入榜形式',\n width: '30%'\n }]), _defineProperty(_ref, \"scrollListData3\", []), _defineProperty(_ref, \"pieChart1\", null), _defineProperty(_ref, \"pieChartDataOriginRight\", []), _defineProperty(_ref, \"pieChartData2\", [{\n value: 0,\n name: '优秀'\n }, {\n value: 0,\n name: '良好'\n }, {\n value: 0,\n name: '一般'\n }]), _defineProperty(_ref, \"pieChart2\", null), _defineProperty(_ref, \"pieChartDataOrigin\", []), _defineProperty(_ref, \"pieChartData1\", [{\n value: 0,\n name: '优秀'\n }, {\n value: 0,\n name: '良好'\n }, {\n value: 0,\n name: '一般'\n }]), _defineProperty(_ref, \"speedListDataTemp\", [{\n projectName: '推动数字重庆建设',\n reachRate: 0,\n bgColor1: 'rgba(137, 248, 158, 1)',\n bgColor2: 'rgba(137, 248, 158, 0.3)',\n Gradient: ['#59C06C', '#35D0E9'],\n instance: null\n }, {\n projectName: '全市开发区(园区)数',\n reachRate: 0.45,\n bgColor1: 'rgba(23, 144, 255, 1)',\n bgColor2: 'rgba(23, 144, 255, 0.3)',\n Gradient: ['#0A7BE9', '#35D0E9'],\n instance: null\n }, {\n projectName: '探索制造业“亩均论英雄”改革',\n reachRate: 0.39,\n bgColor1: 'rgba(255,152,0,1)',\n bgColor2: 'rgba(255,152,0,0.3)',\n Gradient: ['#FF9800', '#8F3E1D'],\n instance: null\n }]), _defineProperty(_ref, \"speedListData\", [{\n projectName: '推动数字重庆建设',\n reachRate: 0.54,\n bgColor1: 'rgba(137, 248, 158, 1)',\n bgColor2: 'rgba(137, 248, 158, 0.3)',\n Gradient: ['#59C06C', '#35D0E9'],\n instance: null\n }, {\n projectName: '全市开发区(园区)数',\n reachRate: 0.45,\n bgColor1: 'rgba(23, 144, 255, 1)',\n bgColor2: 'rgba(23, 144, 255, 0.3)',\n Gradient: ['#0A7BE9', '#35D0E9'],\n instance: null\n }, {\n projectName: '探索制造业“亩均论英雄”改革',\n reachRate: 0.39,\n bgColor1: 'rgba(255,152,0,1)',\n bgColor2: 'rgba(255,152,0,0.3)',\n Gradient: ['#FF9800', '#8F3E1D'],\n instance: null\n }]), _defineProperty(_ref, \"reformBrandChart\", null), _defineProperty(_ref, \"porjectList\", {\n 良好: [{\n id: 1,\n name: '良好',\n projectName: '项目名称',\n finish: '50%'\n }, {\n id: 1,\n name: '良好',\n projectName: '项目名称',\n finish: '50%'\n }, {\n id: 1,\n name: '良好',\n projectName: '项目名称',\n finish: '50%'\n }, {\n id: 1,\n name: '良好',\n projectName: '项目名称',\n finish: '50%'\n }],\n 一般: [{\n id: 1,\n name: '一般',\n projectName: '项目名称',\n finish: '50%'\n }, {\n id: 1,\n name: '一般',\n projectName: '项目名称',\n finish: '50%'\n }, {\n id: 1,\n name: '一般',\n projectName: '项目名称',\n finish: '50%'\n }, {\n id: 1,\n name: '一般',\n projectName: '项目名称',\n finish: '50%'\n }],\n 优秀: [{\n id: 1,\n name: '优秀',\n projectName: '项目名称',\n finish: '50%'\n }, {\n id: 2,\n name: '优秀',\n projectName: '项目名称',\n finish: '50%'\n }, {\n id: 3,\n name: '优秀',\n projectName: '项目名称',\n finish: '50%'\n }, {\n id: 4,\n name: '优秀',\n projectName: '项目名称',\n finish: '50%'\n }, {\n id: 5,\n name: '优秀',\n projectName: '项目名称',\n finish: '50%'\n }, {\n id: 6,\n name: '优秀',\n projectName: '项目名称',\n finish: '50%'\n }, {\n id: 7,\n name: '优秀',\n projectName: '项目名称',\n finish: '50%'\n }]\n }), _defineProperty(_ref, \"reformBrandData\", []), _defineProperty(_ref, \"reformBrandData1\", [12, 24, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0]), _defineProperty(_ref, \"reformBrandData2\", [9, 41, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0]), _defineProperty(_ref, \"loadingColor\", 'rgba(6, 46, 106, 0.01)'), _defineProperty(_ref, \"loadObj\", {\n scrollListData1: false,\n scrollListData2: false,\n brandList: false,\n speedListData: false\n }), _defineProperty(_ref, \"numIndex\", {\n totalNum: 0,\n finishNum: 0,\n finishRate: 0\n }), _defineProperty(_ref, \"targetIndex\", {// monthNum: 0,\n // allNum: 0,\n // rate: 0\n }), _defineProperty(_ref, \"month\", ''), _defineProperty(_ref, \"year\", ''), _ref;\n },\n computed: _objectSpread(_objectSpread({}, mapState({\n frontMenus: function frontMenus(state) {\n return state.menu.frontMenus;\n }\n })), {}, {\n optionSingleHeightTime: function optionSingleHeightTime() {\n return {\n step: 0.25\n };\n }\n }),\n mounted: function mounted() {\n var _this = this;\n\n this.initPieChart2();\n this.initBarChart(); // 初始化时间 初始请求\n\n var searchDate = sessionStorage.getItem('searchDate');\n\n if (searchDate) {\n searchDate = JSON.parse(searchDate);\n this.month = searchDate.month;\n this.year = searchDate.year;\n } else {\n this.checkMonth();\n }\n\n this.loadData('init');\n this.$bus.$on('changeDate', function (searchDate) {\n _this.month = searchDate.month;\n _this.year = searchDate.year;\n\n _this.loadData();\n });\n },\n methods: {\n handleDetail: function handleDetail(comp, type, title) {\n this.$router.push({\n path: '/DetailComponent',\n name: 'DetailComponent',\n query: {\n comp: comp,\n type: type,\n title: title\n }\n });\n },\n checkMonth: function checkMonth() {\n this.year = new Date().getFullYear();\n this.month = new Date().getMonth() + 1;\n },\n getDemandHeatList: function getDemandHeatList(type) {\n var _this2 = this;\n\n this.loadObj.scrollListDataBottom = true;\n var data = JSON.parse(sessionStorage.getItem('searchDate')); // 综合\n\n apiList.getDemandHeatList(data, function (res) {\n console.log(res);\n\n if (res.chart) {\n res.chart.sort(function (a, b) {\n return a.x - b.x;\n });\n var arr = res.chart.map(function (item) {\n var type = item.x == 1 ? '党中央国务院有要求' : item.x == 2 ? '重庆发展有堵点' : item.x == 3 ? '群众企业基层有期盼' : '先进省市有经验';\n return {\n type: type,\n value: item.y\n };\n });\n console.log(arr);\n _this2.heatBarData = arr;\n\n if (type) {\n _this2.initBarChart();\n } else {\n _this2.heatBarOption.dataset.source = _this2.heatBarData;\n _this2.heatBarOption.legend[0].data = _this2.legendTop;\n\n _this2.heatBarChart.setOption(_this2.heatBarOption);\n }\n }\n\n _this2.scrollListDataBottom = res.demandRank || [];\n _this2.loadObj.scrollListDataBottom = false;\n });\n },\n initBarChart: function initBarChart() {\n var _this3 = this;\n\n var chartDom = document.getElementById('heat-bar-chart');\n this.heatBarChart = echarts.init(chartDom);\n var colorList = [new echarts.graphic.LinearGradient(0, 0, 0, 1, [{\n offset: 0,\n color: '#59C06C'\n }, {\n offset: 1,\n color: 'rgba(89,192,108,0.3)'\n }]), new echarts.graphic.LinearGradient(0, 0, 0, 1, [{\n offset: 0,\n color: '#386A97'\n }, {\n offset: 1,\n color: 'rgba(56,106,151,0.3)'\n }]), new echarts.graphic.LinearGradient(0, 0, 0, 1, [{\n offset: 0,\n color: '#F8B551'\n }, {\n offset: 1,\n color: 'rgba(248,181,81,0.3)'\n }]), new echarts.graphic.LinearGradient(0, 0, 0, 1, [{\n offset: 0,\n color: '#FFBBC9'\n }, {\n offset: 1,\n color: 'rgba(255,187,201,0.3)'\n }]), new echarts.graphic.LinearGradient(0, 0, 0, 1, [{\n offset: 0,\n color: '#386A97'\n }, {\n offset: 1,\n color: 'rgba(56,106,151,0.3)'\n }])];\n var colorArr = ['#3e8c5b', '#22466f', '#b28849', '#b78c9f'];\n var seriesArr = []; //series\n\n var XLabel = []; //x轴数据\n\n this.heatBarData.forEach(function (item, index) {\n XLabel.push(item.type);\n var obj = {};\n obj.name = item.type;\n obj.type = 'bar';\n obj.stack = '需求来源';\n obj.data = [];\n obj.seriesLayoutBy = 'row';\n obj.barWidth = 8;\n obj.barGap = '80%';\n obj.itemStyle = {\n normal: {\n borderRadius: 5,\n color: function color(params) {\n return colorList[params.dataIndex];\n }\n }\n };\n\n for (var i = 0; i <= index; i++) {\n if (i != index) {\n obj.data.push(0);\n } else {\n obj.data.push(item.value);\n } // obj.encode= {\n // tooltip: ['name','value']}\n\n }\n\n seriesArr.push(obj);\n });\n this.heatBarOption = {\n dataset: {\n source: this.heatBarData\n },\n grid: {\n //图表离外层盒子的距离\n top: '5%',\n // top: '10%',\n bottom: '2%',\n left: '1%',\n right: '50%',\n containLabel: true\n },\n xAxis: {\n type: 'category',\n show: false,\n data: XLabel,\n boundaryGap: true,\n axisTick: false,\n axisLine: {\n lineStyle: {\n color: 'rgba(154,199,220, 0.2)'\n }\n },\n axisLabel: {\n color: '#D7F1FF'\n }\n },\n yAxis: {\n type: 'value',\n // min: 0,\n // splitNumber: 5,\n // interval: 1,\n axisLabel: {\n color: '#D7F1FF',\n formatter: function formatter(val) {\n if (val >= 1 && parseInt(val, 10) === val || val == 0) {\n return val;\n } else {\n return;\n }\n }\n },\n axisLine: {\n lineStyle: {\n color: 'rgba(154,199,220, 0.2)'\n }\n },\n splitLine: {\n lineStyle: {\n color: 'rgba(154,199,220, 0.2)'\n }\n }\n },\n tooltip: {\n trigger: 'axis',\n backgroundColor: 'rgba(6, 47, 107, 1)',\n borderColor: 'rgba(2, 115, 233, 1)',\n textStyle: {\n color: '#fff'\n },\n formatter: function formatter(params) {\n var html = '
';\n var colorSpan = '';\n html += colorSpan + ' ' + params[0].seriesName + '  ' + params[0].value + '
';\n html += '
';\n return html;\n }\n },\n legend: [{\n right: 10,\n orient: 'vertical',\n data: this.legendTop,\n inactiveColor: '#333333',\n borderRadius: 6,\n itemWidth: 14,\n itemHeight: 6,\n textStyle: {\n color: '#B1E3FF'\n }\n } // {\n // left: 'center',\n // top: '14%',\n // data: this.legendBottom,\n // inactiveColor: '#333333',\n // borderRadius: 6,\n // itemWidth: 14,\n // itemHeight: 6,\n // itemGap: 40,\n // textStyle: {\n // color: '#B1E3FF',\n // },\n // },\n ],\n color: ['#3e8c5b', '#22466f', '#b28849', '#b78c9f'],\n series: seriesArr\n };\n this.heatBarOption && this.heatBarChart.setOption(this.heatBarOption);\n window.addEventListener('resize', function () {\n return _this3.heatBarChart.resize();\n });\n },\n //--------数据-----------\n loadData: function loadData(type) {\n this.getProjectBrand();\n this.getRankData();\n this.getDemandHeatList(type);\n this.getBattleChart();\n this.getIteration(); // //-----\n // this.getBattleChart()\n // this.getDemandHeatList(type)\n // //---------\n // this.getProjectBrand()\n\n this.getProjectSpeed(); // this.getRankData()\n\n this.getResultTrend();\n this.getResultList(); // this.getNumIndex()\n\n this.getTargetIndex(); // this.getProjectFinish()\n },\n // 品牌榜\n getProjectBrand: function getProjectBrand() {\n var _this4 = this;\n\n this.loadObj.brandList = true;\n var data = {\n month: this.month,\n year: this.year\n };\n apiList.getBrandMonthDate(data, function (res) {\n _this4.loadObj.brandList = false;\n\n if (res) {\n _this4.reformBrandData = res;\n\n if (_this4.reformBrandData.length) {\n _this4.reformBrandData.forEach(function (item, i) {\n _this4.reformBrandData1[i] = item.nationwideNum;\n _this4.reformBrandData2[i] = item.mediaNum;\n });\n }\n\n _this4.initReformBrand();\n } else {\n _this4.initReformBrand();\n }\n });\n },\n // 迭代榜\n getIteration: function getIteration() {\n var _this5 = this;\n\n this.loadObj.scrollListData2 = true;\n var data = {\n month: this.month,\n year: this.year\n };\n apiList.getIteration(data, function (res) {\n if (res) {\n _this5.scrollListData2 = res;\n }\n\n _this5.loadObj.scrollListData2 = false;\n });\n },\n // 竞速榜 指标库\n getProjectSpeed: function getProjectSpeed() {\n var _this6 = this;\n\n this.loadObj.speedListData = true;\n var data = JSON.parse(sessionStorage.getItem('searchDate'));\n apiList.getIndexPieChartData(data, function (res) {\n if (res) {\n var arr = [];\n\n for (var obj in res.overViewComplianceStatusCountVo) {\n if (obj == 'excessCount') {\n arr.push({\n value: res.overViewComplianceStatusCountVo.excessCount,\n name: '优秀'\n });\n } else if (obj == 'reachedCount') {\n arr.push({\n value: res.overViewComplianceStatusCountVo.reachedCount,\n name: '良好'\n });\n } else if (obj == 'notReachedCount') {\n arr.push({\n value: res.overViewComplianceStatusCountVo.notReachedCount,\n name: '一般'\n });\n }\n }\n\n _this6.pieChartData2 = arr;\n\n _this6.initPieChart2();\n }\n\n _this6.loadObj.speedListData = false;\n }); // let data = {\n // pageBean: {\n // page: 1,\n // pageSize: -1,\n // showTotal: true\n // },\n // sorter: [\n // {\n // direction: 'ASC',\n // property: 'targetSn'\n // }\n // ]\n // }\n // apiList.getProjectSpeed(data, res => {\n // console.log(res,\"========\");\n // if (res && res.rows) {\n // let dataTemp = res.rows\n // this.pieChartDataOriginRight = dataTemp\n // this.mathTargetIndexFinish()\n // let data = dataTemp.splice(0, 3)\n // data.forEach((item, i) => {\n // this.speedListDataTemp[i].projectName = item.projectName\n // this.speedListDataTemp[i].reachRate = parseInt(item.reachRate) / 100\n // })\n // this.speedListDataTemp.length = data.length\n // this.speedListData = this.speedListDataTemp\n // this.$nextTick(() => {\n // this.initLiquidfill()\n // })\n // }\n // this.loadObj.speedListData = false\n // })\n },\n // 计算优良一般比例 排名的\n // 排名的20% 优\n // 排名的30% 良\n // 排名的50% 一般\n // mathTargetIndexFinish() {\n // let targetSn = 0\n // this.pieChartDataOriginRight.forEach(item => {\n // if (targetSn < item.targetSn) {\n // targetSn = item.targetSn\n // }\n // })\n // let level1 = targetSn * 0.2\n // let level2 = targetSn * 0.5\n // let level1Num = 0\n // let level2Num = 0\n // let level3Num = 0\n // this.pieChartDataOriginRight.forEach(item => {\n // if (item.targetSn <= level1) {\n // level1Num++\n // } else if (item.targetSn <= level2) {\n // level2Num++\n // } else {\n // level3Num++\n // }\n // })\n // this.pieChartData2[0].value = level1Num\n // this.pieChartData2[1].value = level2Num\n // this.pieChartData2[2].value = level3Num\n // this.initPieChart2()\n // },\n // 指数榜 综合 + 单项\n getRankData: function getRankData() {\n var _this7 = this;\n\n this.loadObj.scrollListData1 = true;\n this.singleRankData = [];\n this.scrollListData1 = []; // 指数榜 单项\n\n apiList.getRank(this.qs.stringify({\n type: 'single',\n year: this.year,\n month: this.month\n }), function (res) {\n if (res && res.value) {\n var dataTemp = res.value;\n dataTemp.forEach(function (item) {\n _this7.singleRankData.push({\n key: item.index,\n county: item.county ? item.county : '暂无数据',\n holdNum: item.holdNum\n });\n });\n }\n }); // 指数榜 综合\n\n apiList.getRank(this.qs.stringify({\n type: 'composite',\n year: this.year,\n month: this.month\n }), function (res) {\n if (res && res.value) {\n _this7.scrollListData1 = res.value;\n }\n\n _this7.loadObj.scrollListData1 = false;\n });\n },\n // 成果榜 趋势对比\n getResultTrend: function getResultTrend() {\n var _this8 = this;\n\n this.numLoading = true;\n var data = {\n month: this.month,\n year: this.year\n };\n apiList.getResultTrend(data, function (res) {\n if (res) {\n _this8.resultTrend = res;\n }\n\n _this8.numLoading = false;\n });\n },\n // 成果 详情\n getResultList: function getResultList() {\n var _this9 = this;\n\n // let reqDate = JSON.parse(sessionStorage.getItem('searchDate'))\n var data = {\n pageBean: {\n page: 1,\n pageSize: -1,\n showTotal: true\n },\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 's.PLAN_YEAR_',\n // 字段名\n relation: 'AND',\n value: this.year\n }, {\n group: 'main',\n operation: 'LESS_EQUAL',\n parentGroup: '',\n property: 's.PLAN_MONTH_',\n // 字段名\n relation: 'AND',\n value: this.month\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 's.PLAN_type_',\n relation: 'AND',\n value: ''\n }]\n }; // 1.制度成果\n // 2.工作平台\n // 3.应用场景\n\n var data1 = JSON.parse(JSON.stringify(data));\n data1.querys[2].value = 6;\n var data2 = JSON.parse(JSON.stringify(data));\n data2.querys[2].value = 5;\n var data3 = JSON.parse(JSON.stringify(data));\n data3.querys[2].value = 7;\n var arr = [this.reqResultList(data1, 1), this.reqResultList(data2, 2), this.reqResultList(data3, 3)];\n Promise.all(arr).then(function () {\n _this9.listLoading = false;\n }); // apiList.getResultList(data1, res => {\n // if (res) {\n // this.resultsRanking1 = res.rows\n // }\n // })\n // apiList.getResultList(data2, res => {\n // if (res) {\n // this.resultsRanking2 = res.rows\n // }\n // })\n // apiList.getResultList(data3, res => {\n // if (res) {\n // this.resultsRanking3 = res.rows\n // }\n // })\n },\n //\n reqResultList: function reqResultList(data, num) {\n var _this10 = this;\n\n this.listLoading = true;\n return new Promise(function (reslove) {\n apiList.getResultList(data, function (res) {\n if (res) {\n num === 1 ? _this10.resultsRanking1 = res.rows : num === 2 ? _this10.resultsRanking2 = res.rows : _this10.resultsRanking3 = res.rows;\n }\n\n reslove();\n });\n });\n },\n // 举措指标\n getNumIndex: function getNumIndex() {\n var _this11 = this;\n\n apiList.getNumIndex(function (res) {\n if (res) {\n _this11.numIndex = res;\n }\n });\n },\n // 获取作战图统计数据\n getBattleChart: function getBattleChart() {\n var _this12 = this;\n\n this.pieLoading = true;\n var data = JSON.parse(sessionStorage.getItem('searchDate'));\n apiList.getBattleChart(data, function (res) {\n if (res.state) {\n _this12.$nextTick(function () {\n _this12.numIndex = res.value.total;\n var data = res.value.degree; // 将对象转化为数组并排序\n\n var dataArray = Object.entries(data); // 根据排序后的数组重新构造为新的数组\n\n var chartData = dataArray.map(function (_ref2) {\n var _ref3 = _slicedToArray(_ref2, 2),\n name = _ref3[0],\n value = _ref3[1];\n\n name = name == '1' ? '优秀' : name == '2' ? '良好' : '一般';\n return {\n name: name,\n value: value\n };\n });\n\n if (chartData.length) {\n _this12.pieChartData1 = chartData;\n }\n\n _this12.initPieChart1();\n });\n }\n\n _this12.pieLoading = false;\n });\n },\n // 举措环形图\n getProjectFinish: function getProjectFinish() {\n var _this13 = this;\n\n apiList.getProjectFinish(function (res) {\n if (res) {\n _this13.pieChartDataOrigin = res;\n\n _this13.mathProjectFinish();\n }\n });\n },\n // 计算优良一般比例\n // 100% 优\n // 70%-100% 良\n // 70%以下 一般\n mathProjectFinish: function mathProjectFinish() {\n var level1 = 0;\n var level2 = 0;\n var level3 = 0;\n this.pieChartDataOrigin.forEach(function (item) {\n if (item.rate == 100) {\n item.type = 1;\n level1++;\n } else if (item.rate >= 70) {\n item.type = 2;\n level2++;\n } else {\n item.type = 3;\n level3++;\n }\n });\n this.pieChartData1[0].value = level1;\n this.pieChartData1[1].value = level2;\n this.pieChartData1[2].value = level3;\n this.initPieChart1();\n },\n // 量化目标\n getTargetIndex: function getTargetIndex() {\n var _this14 = this;\n\n var data = {\n year: this.year,\n month: this.month\n };\n apiList.getIndexLibrary(data, function (res) {\n // console.log(res);\n if (res) {\n _this14.targetIndex = res;\n }\n });\n },\n //--------数据-----------\n openSubView: function openSubView() {\n this.$router.push('/MajorProjectsSubView');\n },\n // // 菜单切换\n // changeTab(item) {\n // this.$router.push({\n // path: `/${item.alias}`,\n // })\n // },\n // 按钮切换内容\n changeBtnTab: function changeBtnTab(item) {\n this.activeBtn = item;\n },\n // Pie Chart 1\n initPieChart1: function initPieChart1() {\n var _this15 = this;\n\n var colorList = [{\n colorStart: '#53CD67',\n colorEnd: '#2F733A'\n }, {\n colorStart: '#1790FF',\n colorEnd: '#1161AA'\n }, {\n colorStart: '#FF9800',\n colorEnd: '#8F3E1D'\n }, {\n colorStart: '#FFC000',\n colorEnd: '#975A01'\n }];\n var option = {\n // 调整图例位置\n legend: {\n top: 0,\n orient: 'vertical',\n x: 'right',\n // y: 'bottom',\n // width: '100',\n // padding: [0, 0, 5, 0], //上右下左\n itemWidth: 12,\n // 设置图例图形的宽\n itemHeight: 8,\n // 设置图例图形的高\n icon: 'roundRect',\n itemGap: 10,\n textStyle: {\n //图例字体样式\n fontSize: 13,\n fontFamily: 'SimHei',\n color: '#B1E3FF'\n }\n },\n // tooltip: {\n // show: true,\n // backgroundColor: 'rgba(6, 47, 107, 1)',\n // borderColor: 'rgba(2, 115, 233, 1)',\n // textStyle: {\n // color: '#fff',\n // },\n // confine: true,\n // position: 'bottom',\n // formatter: (data) => {\n // let repeat = ''\n // this.porjectList[data.name].forEach((item) => {\n // repeat += `\n //
项目:${item.projectName}完成率:${item.finish}
\n // `\n // })\n // let str = `
\n //
${data.name}
\n // ${repeat}\n //
`\n // return str\n // },\n // },\n series: [{\n name: '改革举措表现情况',\n type: 'pie',\n radius: ['35%', '60%'],\n center: ['40%', '56%'],\n labelLine: {\n //指示线样式设置\n length: 15,\n //设置指示线的长度\n length2: 50,\n //横线宽度\n lineStyle: {\n color: '#B1E3FF' // 设置标示线的颜色\n\n }\n },\n label: {\n textStyle: {\n color: '#B1E3FF',\n // 改变标示文字的颜色\n fontSize: 10 //文字大小\n\n },\n formatter: '{c}项 {d}% \\n\\n',\n padding: [0, -60],\n alignTo: 'labelLine'\n },\n itemStyle: {\n color: function color(list) {\n // 注意 !!!!! 这里的数组一定要和实际的类目长度相等或大于,不然会缺少颜色报错\n return new echarts.graphic.LinearGradient(1, 0, 0, 0, [{\n //左、下、右、上\n offset: 0,\n color: colorList[list.dataIndex]['colorStart']\n }, {\n offset: 1,\n color: colorList[list.dataIndex]['colorEnd']\n }]);\n }\n },\n data: this.pieChartData1\n }]\n };\n this.pieChart1 = echarts.init(document.getElementById('pieChart1'));\n option && this.pieChart1.setOption(option);\n window.addEventListener('resize', function () {\n return _this15.pieChart1.resize();\n });\n this.pieChart1.on('click', function (params) {\n // this.openSubDialog('monthPlan')\n _this15.handleDetail('projectTable2');\n });\n },\n initPieChart2: function initPieChart2() {\n var _this16 = this;\n\n var colorList = [{\n colorStart: '#53CD67',\n colorEnd: '#2F733A'\n }, {\n colorStart: '#1790FF',\n colorEnd: '#1161AA'\n }, {\n colorStart: '#FF9800',\n colorEnd: '#8F3E1D'\n }, {\n colorStart: '#FFC000',\n colorEnd: '#975A01'\n }];\n var option = {\n // 调整图例位置\n legend: {\n top: 0,\n orient: 'vertical',\n x: 'right',\n // y: 'bottom',\n // width: '100',\n // padding: [0, 0, 5, 0], //上右下左\n itemWidth: 12,\n // 设置图例图形的宽\n itemHeight: 8,\n // 设置图例图形的高\n icon: 'roundRect',\n itemGap: 10,\n textStyle: {\n //图例字体样式\n fontSize: 13,\n fontFamily: 'SimHei',\n color: '#B1E3FF'\n }\n },\n // tooltip: {\n // show: true,\n // backgroundColor: 'rgba(6, 47, 107, 1)',\n // borderColor: 'rgba(2, 115, 233, 1)',\n // textStyle: {\n // color: '#fff',\n // },\n // confine: true,\n // position: 'bottom',\n // formatter: (data) => {\n // let repeat = ''\n // this.porjectList[data.name].forEach((item) => {\n // repeat += `\n //
项目:${item.projectName}完成率:${item.finish}
\n // `\n // })\n // let str = `
\n //
${data.name}
\n // ${repeat}\n //
`\n // return str\n // },\n // },\n series: [{\n name: '改革举措表现情况',\n type: 'pie',\n radius: ['35%', '60%'],\n center: ['40%', '56%'],\n left: 0,\n top: 0,\n labelLine: {\n //指示线样式设置\n length: 15,\n //设置指示线的长度\n length2: 50,\n //横线宽度\n lineStyle: {\n color: '#B1E3FF' // 设置标示线的颜色\n\n }\n },\n label: {\n textStyle: {\n color: '#B1E3FF',\n // 改变标示文字的颜色\n fontSize: 10 //文字大小\n\n },\n formatter: '{c}项\\n\\n',\n // formatter: '{c}项 {d}% \\n\\n',\n padding: [0, 0],\n alignTo: 'labelLine'\n },\n itemStyle: {\n color: function color(list) {\n // 注意 !!!!! 这里的数组一定要和实际的类目长度相等或大于,不然会缺少颜色报错\n return new echarts.graphic.LinearGradient(1, 0, 0, 0, [{\n //左、下、右、上\n offset: 0,\n color: colorList[list.dataIndex]['colorStart']\n }, {\n offset: 1,\n color: colorList[list.dataIndex]['colorEnd']\n }]);\n }\n },\n data: this.pieChartData2\n }]\n };\n this.pieChart2 = echarts.init(document.getElementById('pieChart2'));\n option && this.pieChart2.setOption(option);\n window.addEventListener('resize', function () {\n return _this16.pieChart2.resize();\n });\n this.pieChart2.on('click', function (params) {\n // this.openSubDialog('targetDetail')\n _this16.handleDetail('projectTable3');\n });\n },\n initLiquidfill: function initLiquidfill() {\n var option = {};\n this.speedListData.forEach(function (item, index) {\n option = {\n series: [{\n type: 'liquidFill',\n //水位图\n radius: '98%',\n //显示比例\n center: ['50%', '50%'],\n //中心点\n amplitude: 3,\n //水波振幅\n animationDuration: 1000,\n data: [item.reachRate],\n // data个数代表波浪数\n color: [{\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: item.Gradient.map(function (color, offset) {\n return {\n offset: offset,\n color: color\n };\n }),\n globalCoord: false\n }],\n //波浪颜色\n backgroundStyle: {\n color: item.bgColor2 //边框内部填充部分颜色\n\n },\n label: {\n //标签设置\n position: ['50%', '45%'],\n formatter: \"\".concat(Math.ceil(item.reachRate * 100), \"%\"),\n //显示文本,\n textStyle: {\n fontSize: '16',\n //文本字号,\n color: '#fff'\n }\n },\n outline: {\n borderDistance: 0,\n itemStyle: {\n borderWidth: 0,\n opacity: 0.95,\n shadowColor: 'rgba(0, 0, 0, 0)'\n }\n }\n }]\n };\n item.instance = echarts.init(document.getElementById(\"liquidFill\".concat(index)));\n option && item.instance.setOption(option);\n window.addEventListener('resize', function () {\n return item.instance.resize();\n });\n });\n },\n initReformBrand: function initReformBrand() {\n var _this17 = this;\n\n var chartDom = document.getElementById('reform-brand');\n this.reformBrandChart = echarts.init(chartDom);\n this.reformBrandOption = {\n grid: {\n //图表离外层盒子的距离\n top: '25%',\n bottom: 0,\n left: '1%',\n right: '2%',\n containLabel: true\n },\n tooltip: {\n trigger: 'axis',\n backgroundColor: 'rgba(6, 47, 107, 1)',\n borderColor: 'rgba(2, 115, 233, 1)',\n textStyle: {\n color: '#fff'\n }\n },\n legend: {\n position: 'top',\n data: ['获全国肯定性评价', '获中央媒体深度专题报道'],\n inactiveColor: '#333333',\n borderRadius: 6,\n itemWidth: 20,\n itemHeight: 6,\n textStyle: {\n color: '#B1E3FF'\n }\n },\n xAxis: {\n type: 'category',\n boundaryGap: true,\n axisTick: false,\n axisLine: {\n lineStyle: {\n color: 'rgba(154,199,220, 0.2)'\n }\n },\n axisLabel: {\n color: '#D7F1FF'\n },\n data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']\n },\n yAxis: {\n type: 'value',\n min: 0,\n splitNumber: 5,\n axisLabel: {\n color: '#D7F1FF'\n },\n axisLine: {\n lineStyle: {\n color: 'rgba(154,199,220, 0.2)'\n }\n },\n splitLine: {\n lineStyle: {\n color: 'rgba(154,199,220, 0.2)'\n }\n }\n },\n color: ['#59C06C', 'rgba(255,152,0,1)'],\n series: [{\n name: '获全国肯定性评价',\n data: this.reformBrandData1,\n type: 'bar',\n barWidth: 6,\n itemStyle: {\n borderRadius: 5\n }\n }, {\n name: '获中央媒体深度专题报道',\n data: this.reformBrandData2,\n type: 'line',\n symbol: 'emptyCircle',\n symbolSize: 4,\n areaStyle: {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: 'rgba(255,152,0,1)' // 0% 处的颜色\n\n }, {\n offset: 0.4,\n color: 'rgba(255,152,0,0.3)' // 0% 处的颜色\n\n }, {\n offset: 1,\n color: 'rgba(255, 181, 31, 0)' // 100% 处的颜色\n\n }],\n global: false // 缺省为 false\n\n }\n }\n }]\n };\n this.reformBrandOption && this.reformBrandChart.setOption(this.reformBrandOption);\n window.addEventListener('resize', function () {\n return _this17.reformBrandChart.resize();\n });\n },\n // 打开弹层\n openSubDialog: function openSubDialog(componentName, type) {\n this.currentTabComponent = dialogConfig.dialogOption[componentName].componentName ? dialogConfig.dialogOption[componentName].componentName : componentName; // 动态组件名称\n\n this.tableOptions = _objectSpread(_objectSpread({}, dialogConfig.dialogOption[componentName].dataOptions), {}, {\n type: type\n }); //table的查询参数\n\n this.dialogOption = dialogConfig.dialogOption[componentName].option; //弹窗配置参数\n\n this.showEasy = true;\n }\n }\n};",null]}