{"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\\components\\appCenter\\AppContent.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-fvue\\src\\components\\appCenter\\AppContent.vue","mtime":1667327528887},{"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/es6.function.name\";\nimport \"core-js/modules/es6.string.starts-with\";\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//\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//\nvar eipChart = function eipChart() {\n return import('@/components/form/chart/EipChart.vue');\n};\n\nvar templatePreview = function templatePreview() {\n return import('@/components/dataTemplate/templatePreview.vue');\n};\n\nvar querySqlContent = function querySqlContent() {\n return import('@/components/querySql/querySqlContent.vue');\n};\n\nvar previewForm = function previewForm() {\n return import('@/components/common/previewForm.vue');\n};\n\nvar start = function start() {\n return import('@/components/flow/start.vue');\n};\n\nimport portal from '@/api/portal.js';\nimport { mapState } from 'vuex';\nexport default {\n name: 'app-content',\n components: {\n eipChart: eipChart,\n templatePreview: templatePreview,\n querySqlContent: querySqlContent,\n previewForm: previewForm,\n start: start\n },\n props: {\n id: String,\n otherId: String,\n type: String,\n appName: String\n },\n data: function data() {\n return {\n currentActiveMenuName: '',\n firstMenuId: null,\n asideShow: true,\n title: '',\n iframeSrc: '',\n menus: [],\n app: {\n id: '',\n type: 0,\n key: '',\n sqlAlias: '',\n alias: '',\n url: ''\n },\n path: '',\n fvue: window.context.front\n };\n },\n computed: mapState({\n token: function token(mapState) {\n return mapState.login.currentUser.token;\n }\n }),\n created: function created() {\n this.init();\n },\n methods: {\n //返回\n goBack: function goBack() {\n this.$router.go(-1);\n },\n //初始化标题和类型\n init: function init() {\n var _this = this;\n\n if (this.type === '4') {\n this.title = '图表';\n } else if (this.type === '2') {\n this.title = '数据报表';\n } else if (this.type === '3') {\n this.title = '自定义视图';\n } else if (this.type === '6') {\n this.title = '表单';\n } else if (this.type === '7') {\n this.title = '模块开发';\n this.path = \"\".concat(window.context.front, \"/sysModulePreview/\").concat(this.id, \"/\").concat(this.appName, \"?token=\").concat(this.token);\n } else if (this.type === '1') {\n this.title = '应用'; //获取app的菜单树\n\n portal.getSysAppTree(this.id).then(function (data) {\n _this.menus = data;\n\n if (_this.menus && _this.menus.length > 0) {\n if (_this.menus[0].children && _this.menus[0].children.length > 0) {\n _this.open(_this.menus[0].children[0]);\n\n _this.firstMenuId = _this.menus[0].children[0].id;\n } else {\n _this.open(_this.menus[0]);\n\n _this.firstMenuId = _this.menus[0].id;\n }\n }\n });\n } else if (this.type === '8') {\n this.title = '流程启动';\n }\n },\n getUrl: function getUrl(url) {\n if (url.startsWith('http') || url.startsWith('https')) {\n return url;\n } else return \"\".concat(this.fvue, \"/\").concat(url);\n },\n //点击菜单\n open: function open(menu) {\n this.currentActiveMenuName = menu ? menu.name : ''; //菜单类型为链接菜单时不用转content内容\n\n if (menu.type === 1) {\n this.app = {\n url: menu.content + '?token=' + this.token,\n type: menu.type\n };\n return;\n } //其他类型需要转换content内容\n\n\n var content = JSON.parse(menu.content);\n this.app = {\n id: content.id,\n type: menu.type,\n key: content.key,\n sqlAlias: content.sqlAlias,\n alias: content.alias\n };\n }\n }\n};",null]}