{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-fvue\\src\\views\\Statement.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\views\\Statement.vue","mtime":1667327529872},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\babel.config.js","mtime":1667327525434},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es6.regexp.replace\";\nimport \"core-js/modules/es6.regexp.split\";\nimport _defineProperty from \"D:/jenkins/workspace/xq-web-fvue/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\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 { mapState, mapActions } from \"vuex\";\nexport default {\n name: \"statement\",\n computed: _objectSpread({}, mapState({\n menus: function menus(state) {\n var this_ = this;\n this_.activeMenuIndex = state.menu.currentMenu.id;\n return state.menu.menuMaps[state.menu.currentMenu.id];\n }\n })),\n data: function data() {\n return {\n activeMenuIndex: \"\",\n href: \"\"\n };\n },\n watch: {\n menus: {\n handler: function handler(newVal, oldValue) {\n if (newVal && newVal != oldValue) {\n this.init();\n }\n },\n deep: true,\n immediate: true\n },\n '$route': function $route(to, from) {\n this.hasPadding();\n }\n },\n mounted: function mounted() {},\n methods: {\n hasPadding: function hasPadding() {\n return location.pathname.split('/').slice(0, 5).join('/') === '/fvue/statement/template/preview' || location.pathname.split('/').slice(0, 4).join('/') === '/fvue/statement/draftList';\n },\n init: function init() {\n if (this.menus && this.menus.length > 0) {\n var activeMenuIndex = this.menus[0].alias ? this.menus[0].alias : this.menus[0].children[0] ? this.menus[0].children[0].alias : null; //判断是否是URL地址菜单\n\n if (this.menus[0].href) {\n this.href = this.menus[0].href;\n } else {\n this.href = \"\";\n activeMenuIndex = '/statement/' + activeMenuIndex;\n }\n\n this.handleSelect(activeMenuIndex);\n }\n },\n handleSelect: function handleSelect(key) {\n var this_ = this;\n setTimeout(function () {\n var Base64 = require(\"js-base64\").Base64;\n\n if (this_.href) {\n //URL地址菜单\n var href = Base64.encode(this_.href);\n this_.href = \"\";\n this_.$router.push({\n path: key,\n query: {\n href: href\n }\n });\n } else {\n //URL地址菜单\n if (key.indexOf('?href=') > -1) {\n var paths = [];\n key = key.replace('/statement/', '');\n paths = key.split('?href=');\n\n var _href = Base64.encode(paths[1]);\n\n this_.$router.push({\n path: \"/\" + paths[0],\n query: {\n href: _href\n }\n });\n } else {\n //数据报表菜单\n this_.$router.push({\n path: key\n });\n }\n }\n }, 200);\n }\n }\n};",null]}