{"remainingRequest":"/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/MobileMenu.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/MobileMenu.vue","mtime":1701674859499},{"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":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport menuTree from \"@/components/CommonTool/menuTree.vue\";\nimport menuDetail from \"@/components/CommonTool/menuDetail.vue\";\nimport copyMenu from \"@/components/CommonTool/copyMenu.vue\";\n\nexport default {\n components: {\n menuTree,\n menuDetail,\n copyMenu,\n },\n name: \"mobileMenu\",\n data() {\n return {\n param: {\n applicationId: sessionStorage.getItem(\"appId\"),\n isMobile: true,\n parentId: \"\",\n },\n menuHeight: 0,\n type: \"mobile\",\n detailVisible: false,\n copyVisible: false,\n };\n },\n\n mounted() {\n this.$store.dispatch(\"resetMenuTreeMenuId\");\n let clientHeight = document.documentElement.clientHeight || document.body.clientHeight;\n //60 头部, 32 面包屑, 41 第一层页签, 40 第二层页签, 50 列表标题, 71 查询, 20 父组件外边距, 40分页\n this.menuHeight = clientHeight - 60 - 32 - 41 - 40 - 50 - 20;\n },\n beforeDestroy(){\n this.$store.dispatch(\"resetMenuTreeMenuId\");\n this.$store.commit(\"changeShowMunuDetail\", {show: false, superiorId: \"\"});\n },\n\n methods: {\n copyMenuBtnClick() {\n this.type = \"mobile\";\n this.detailVisible = false;\n this.copyVisible = true;\n },\n createMenu() {\n this.$store.dispatch(\"rightHelpPageParams\", { title: this.$t('menu.menu_info'), url: \"application/application_info_generalTools_menu_info_help.html\" });\n this.type = \"newMobile\";\n this.detailVisible = true;\n this.copyVisible = false;\n this.$forceUpdate();\n this.$store.dispatch(\"resetMenuTreeMenuId\");\n },\n changeVisible(val) {\n if(val)this.copyVisible = false;\n this.detailVisible = val;\n },\n delMenu() {\n this.$refs.tree.delMenus();\n },\n // 刷新列表树\n refreshMenu() {\n this.$refs.tree.changeExpandAll(false);\n },\n changeMobileType() {\n this.type = \"newMobile\";\n },\n },\n watch: {\n \"$store.state.rightHelpPageParams\": {\n 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};\n",null]}