{"remainingRequest":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/cache-loader/dist/cjs.js??ref--0-0!/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/src/components/CommonTool/CommonTool.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/src/components/CommonTool/CommonTool.vue","mtime":1701674859499},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/cache-loader/dist/cjs.js","mtime":1701674874584},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/thread-loader/dist/cjs.js","mtime":1701674873947},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/babel-loader/lib/index.js","mtime":1701674874357},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/cache-loader/dist/cjs.js","mtime":1701674874584},{"path":"/data/jenkins/workspace/test-v5in-source-front-01/src/badp-bcxin-5.x/obpm-designer-web/node_modules/vue-loader/lib/index.js","mtime":1701674874903}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nexport default {\n name: 'commontool',\n data: function data() {\n return {\n data: [],\n isMode: false\n };\n },\n created: function created() {\n if (JSON.parse(sessionStorage.getItem('software')).type == 1) {\n this.isMode = true;\n }\n },\n mounted: function mounted() {},\n computed: {\n activeName: {\n get: function get() {\n var tabName = this.$store.state.tabName;\n\n switch (tabName) {\n case \"statuslabel\":\n tabName = \"statuslabellist\";\n break;\n\n case \"task\":\n tabName = \"tasklist\";\n break;\n\n case \"roles\":\n tabName = \"roleslist\";\n break;\n }\n\n return tabName;\n },\n set: function set(val) {\n return val;\n }\n }\n },\n methods: {\n /**\n * 当前选中的页签\n */\n handleClick: function handleClick(tab) {\n if (tab.name == \"roleslist\") {\n this.$store.dispatch(\"rightHelpPageParams\", {\n title: this.$t('widget.role_list'),\n url: \"application/application_info_generalTools_role_list_help.html\"\n });\n this.$router.push({\n path: '/home/softwaresdetails/commontool/roleslist',\n query: {\n edit: true\n }\n });\n this.$store.commit('changeIsClickPrimaryTab', 'roleslist' + new Date().getTime());\n } else if (tab.name == \"statuslabellist\") {\n this.$store.dispatch(\"rightHelpPageParams\", {\n title: this.$t('stateLabel.title_list'),\n url: \"application/application_info_generalTools_stateLabel_list_help.html\"\n });\n this.$router.push({\n path: '/home/softwaresdetails/commontool/statuslabellist',\n query: {\n edit: true\n }\n });\n this.$store.commit('changeIsClickPrimaryTab', 'statuslabellist' + new Date().getTime());\n } else if (tab.name == \"tasklist\") {\n this.$store.dispatch(\"rightHelpPageParams\", {\n title: this.$t('stateLabel.task_list'),\n url: \"application/application_module_task_list_help.html\"\n });\n this.$router.push({\n path: '/home/softwaresdetails/commontool/tasklist',\n query: {\n edit: true\n }\n });\n this.$store.commit('changeIsClickPrimaryTab', 'tasklist' + new Date().getTime());\n } else if (tab.name == \"widgetlist\") {\n this.$store.dispatch(\"rightHelpPageParams\", {\n title: this.$t('stateLabel.not'),\n url: \"application/application_module_info_help.html\"\n });\n this.$router.push({\n path: '/home/softwaresdetails/commontool/widgetlist',\n query: {\n edit: true\n }\n });\n this.$store.commit('changeIsClickPrimaryTab', 'widgetlist' + new Date().getTime());\n } else if (tab.name == \"pcMenu\") {\n this.$store.dispatch(\"rightHelpPageParams\", {\n title: this.$t('menu.menu_list'),\n url: \"application/application_info_generalTools_menu_list_help.html\"\n });\n this.$router.push({\n path: '/home/softwaresdetails/commontool/pcmenu',\n query: {\n edit: true\n }\n });\n this.$store.commit('changeIsClickPrimaryTab', 'pcMenu' + new Date().getTime());\n } else if (tab.name == \"mobileMenu\") {\n this.$store.dispatch(\"rightHelpPageParams\", {\n title: this.$t('menu.menu_list'),\n url: \"application/application_info_generalTools_menu_list_help.html\"\n });\n this.$router.push({\n path: '/home/softwaresdetails/commontool/mobilemenu',\n query: {\n edit: true\n }\n });\n this.$store.commit('changeIsClickPrimaryTab', 'mobileMenu' + new Date().getTime());\n }\n },\n // 将要离开面板的钩子函数\n beforeLeave: function beforeLeave(activeName) {\n if (activeName == 'pcMenu' || activeName == 'mobile') {\n this.$store.dispatch('selectTreeNode', []);\n }\n }\n },\n watch: {\n \"$store.state.rightHelpPageParams\": {\n handler: function handler() {\n if (this.$store.state.rightHelpFrame) {\n this.$store.state.rightHelpFrame.contentWindow.showHelpContentHtml(this.$store.state.rightHelpPageParams.title, this.$store.state.rightHelpPageParams.url);\n }\n },\n deep: true\n }\n }\n};",null]}