{"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\\comprehensiveTheme\\index.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\cqlt-fvue\\src\\views\\BigScrenn\\comprehensiveTheme\\index.vue","mtime":1695868035193},{"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/web.dom.iterable\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 moment from \"moment\";\nimport utils from '@/utils.js';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport financialTheme from '@/api/bigScrenn/financialTheme.js';\nimport investmentTheme from '@/api/bigScrenn/investmentTheme.js';\nimport screenHeader from '@/views/BigScrenn/components/screenHeader.vue';\nimport detailsDialog from '@/views/BigScrenn/comprehensiveTheme/components/detailsDialog.vue';\nimport comprehensiveTheme from '@/api/bigScrenn/comprehensiveTheme.js';\nexport default {\n components: {\n screenHeader: screenHeader,\n detailsDialog: detailsDialog\n },\n data: function data() {\n return {\n currentKey: 'comprehensiveTheme',\n dialogVisible: false,\n allList: [],\n zbList: [],\n dpzbList: [],\n newParams: {\n pageBean: {\n page: 1,\n pageSize: -1\n },\n querys: []\n },\n dataDetails: {}\n };\n },\n created: function created() {\n this.zbList = dictUtils.getDictItemsFromCache('zb_en');\n this.dpzbList = dictUtils.getDictItemsFromCache('dpzb');\n this.getAreaTree();\n },\n mounted: function mounted() {},\n methods: {\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n openDialog: function openDialog(val, name) {\n var _this = this;\n\n // this.$refs.detailsDialog.add(val)\n comprehensiveTheme.findByCode(val, function (res) {\n if (res.value) {\n _this.dataDetails = res.value;\n\n if (name != 'first') {\n _this.dialogVisible = true;\n }\n }\n });\n },\n shutDown: function shutDown() {\n this.dialogVisible = false;\n },\n openIcon: function openIcon() {\n if (JSON.stringify(this.dataDetails) == \"{}\") {\n this.$message.warning('请选择企业');\n } else {\n this.dialogVisible = true;\n }\n },\n hanleDetails: function hanleDetails() {\n if (JSON.stringify(this.dataDetails) == \"{}\") {} else {\n var poolCode = this.searchParentCodes(this.allList, this.dataDetails.code);\n window.localStorage.setItem(\"activeIndex\", 'financialTheme');\n window.localStorage.setItem(\"enterpriseCode\", [poolCode, this.dataDetails.code]);\n this.$router.push({\n name: 'financialTheme'\n });\n }\n },\n getAreaTree: function getAreaTree() {\n var _this2 = this;\n\n this.newParams.querys[({\n group: \"main\",\n operation: \"EQUAL\",\n parentGroup: \"\",\n property: \"pool_type_\",\n relation: \"AND\",\n value: 1\n }, {\n group: \"main\",\n operation: \"EQUAL\",\n parentGroup: \"\",\n property: \"run_status_\",\n relation: \"AND\",\n value: 1\n })];\n financialTheme.getAreaTree(this.newParams, function (res) {\n if (res) {\n res.value.forEach(function (e) {\n _this2.dpzbList.forEach(function (s) {\n if (e.continent == s.name) {\n e.code = s.value;\n }\n });\n });\n _this2.allList = res.value;\n window.localStorage.setItem(\"enterpriseCode\", [_this2.allList[0].code, _this2.allList[0].list[0].code]);\n console.log(_this2.allList);\n\n _this2.openDialog('MXQT', 'first');\n }\n });\n },\n searchParentCodes: function searchParentCodes(data, code) {\n var _this3 = this;\n\n var result = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n data.forEach(function (item) {\n if (item.code === code) {\n return;\n }\n\n if (Array.isArray(item.list)) {\n item.list.forEach(function (child) {\n if (child.code === code) {\n result.push(item.code);\n\n _this3.searchParentCodes(data, item.code, result);\n } else {\n _this3.searchParentCodes([child], code, result);\n }\n });\n }\n });\n return result;\n }\n }\n};",null]}