{"remainingRequest":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\sfz-lh-fvue\\src\\views\\Normal\\BasicDataManagement\\workBench.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\src\\views\\Normal\\BasicDataManagement\\workBench.vue","mtime":1703736819855},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport workBenchTab from './components/workBenchTab.vue'\r\nimport workGroupContent from './components/workGroupContent.vue'\r\nimport workUserContent from './components/workUserContent.vue'\r\nexport default {\r\n components: {workBenchTab, workGroupContent, workUserContent},\r\n data() {\r\n return {\r\n workBenchMenu: [],\r\n tabAlias: '',\r\n }\r\n },\r\n mounted() {\r\n this.getWorkTabMenu()\r\n console.log(this.workBenchMenu)\r\n },\r\n methods: {\r\n getWorkTabMenu() {\r\n this.$store.dispatch('menu/actionFrontMenus').then((data) => {\r\n let bigScreen =\r\n data && data.filter((item) => item.alias === 'bigScreen')\r\n\r\n let workPlat = bigScreen[0].children.filter(\r\n (item) => item.alias === 'workPlat'\r\n )\r\n let normal = workPlat[0].children.filter(\r\n (item) => item.alias === 'normal'\r\n )\r\n let basicDataManagement = normal[0].children.filter(\r\n (item) => item.alias === 'basicDataManagement'\r\n )\r\n let workBench = basicDataManagement[0].children.filter(\r\n (item) => item.alias === 'workBench'\r\n )\r\n\r\n if (workBench[0].children.length !== 0) {\r\n for (let i = 0; i < workBench[0].children.length; i++) {\r\n this.tabAlias = workBench[0].children[0].alias\r\n this.workBenchMenu.push(workBench[0].children[i])\r\n }\r\n }\r\n })\r\n },\r\n TabAlias(tabAlias) {\r\n this.tabAlias = tabAlias\r\n },\r\n },\r\n}\r\n",null]}