{"remainingRequest":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\damDance-fvue\\src\\components\\layout\\Layout.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\damDance-fvue\\src\\components\\layout\\Layout.vue","mtime":1696817248794},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es6.function.name\";\nimport _defineProperty from \"D:/jenkins/workspace/damDance-fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\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 Navigator from \"./Navigator.vue\";\nimport SideMenu from \"./SideMenu.vue\";\nimport menu from '@/api/menu.js';\nimport org from '@/api/org.js';\nimport utils from '@/utils.js';\nimport portal from '@/api/portal.js';\nexport default {\n components: _defineProperty({\n Navigator: Navigator,\n SideMenu: SideMenu\n }, \"Navigator\", Navigator),\n data: function data() {\n return {\n menuShow: true,\n currentMenuLabel: '',\n showHeader: true,\n menuStyle: 'topSide',\n // sideMenu topMenu topSide\n transitionName: 'fold-right',\n showPage: true,\n treeData: []\n };\n },\n mounted: function mounted() {\n var _this = this;\n\n window.onresize = function () {\n _this.$root.$emit('resize');\n };\n\n menu.getMenuByAlias(this.$route.name, function (m) {\n if (m) {\n _this.$emit('menuChange', m);\n }\n });\n org.getByParentAndDemToTree({\n orgKind: 'ogn'\n }).then(function (res) {\n var data = res || [];\n _this.treeData = utils.tile2nest(data);\n sessionStorage.setItem('responsibilityTree', JSON.stringify(_this.treeData));\n });\n org.getDistrictList().then(function (res) {\n var data = res.value;\n sessionStorage.setItem('districtList', JSON.stringify(data));\n });\n },\n watch: {\n $route: function $route(to, from) {\n if (!to.hash) {\n this.showPage = !this.showPage;\n var toDepth = to.path.split('/').length;\n var fromDepth = from.path.split('/').length;\n this.transitionName = toDepth < fromDepth ? 'fold-right' : 'fold-left';\n }\n }\n },\n methods: {\n getAllDict: function getAllDict() {\n portal.getSysDict().then(function (data) {\n if (data) {\n sessionStorage.setItem('dict_data', JSON.stringify(data));\n }\n });\n },\n handleMenuChange: function handleMenuChange(menu) {\n this.currentMenuLabel = menu.name;\n this.showHeader = !(menu.children && menu.children.length > 0);\n }\n }\n};",null]}