{"remainingRequest":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\artfess-module\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\artfess-module\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\artfess-module\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\artfess-module\\src\\demo\\tabs.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\artfess-module\\src\\demo\\tabs.vue","mtime":1675232038762},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\artfess-module\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport CodeBox from \"@/components/CodeBox.vue\";\nimport AnchorWrapper from \"@/components/AnchorWrapper.vue\";\nimport MdView from \"@/views/MdView.vue\";\nimport req from \"@/api/sysType.js\";\nimport Table from \"@/demo/Table.vue\";\nimport SidebarDialog from \"@/demo/SidebarDialog.vue\";\nimport I18n from \"@/demo/I18n.vue\";\nexport default {\n name: \"tabs\",\n components: {\n CodeBox: CodeBox,\n AnchorWrapper: AnchorWrapper,\n MdView: MdView,\n Table: Table,\n SidebarDialog: SidebarDialog,\n I18n: I18n\n },\n data: function data() {\n return {\n tabPosition: \"top\",\n tabType: \"\",\n currentTabComponent: \"SidebarDialog\",\n tabComponentOptions: [{\n \"componentName\": \"Table\",\n label: \"用户管理\"\n }, {\n \"componentName\": \"SidebarDialog\",\n label: \"侧边栏对话框\"\n }, {\n \"componentName\": \"I18n\",\n label: \"国际化\"\n }],\n demo: {\n anchors: [{\n content: \"tabs标签\",\n alias: \"tabs\"\n }],\n code: \"\\n \\n top\\n right\\n bottom\\n left\\n \\n\\n \\n \\n \\n {{tabComponent.label}}\\n \\n \\n \\n \\n \\n \\n \"\n }\n };\n },\n methods: {\n handlePaneClick: function handlePaneClick(data) {\n if (data.name) {\n this.currentTabComponent = data.name;\n }\n },\n genHref: function genHref(anchor) {\n if (this.$router.mode == \"history\") {\n return \"#\" + anchor;\n }\n\n return \"/#\" + this.$route.path + \"#\" + anchor;\n }\n },\n mounted: function mounted() {\n var _this2 = this;\n\n // 根据url#定位激活的面板\n if (window.location.href.lastIndexOf(\"#\") != -1) {\n var index = window.location.href.lastIndexOf(\"#\");\n var urlAnchor = window.location.href.substr(index + 1);\n this.tabComponentOptions.filter(function (item) {\n if (item.componentName == urlAnchor) {\n _this2.currentTabComponent = urlAnchor;\n }\n });\n }\n\n var _this = this;\n\n req.getSysTypeData({}).then(function (data) {\n _this.data = data;\n });\n }\n};",null]}