From acecd2af0d71d980c741936637f29f008adaf88f Mon Sep 17 00:00:00 2001 From: wangting <wangting@vci-tech.com> Date: 星期四, 19 十二月 2024 18:12:08 +0800 Subject: [PATCH] 首页配置,业务模块展示不同首页 --- Source/plt-web/plt-web-ui/src/router/views/index.js | 74 ++++++++++++++++++++++++++++++------ 1 files changed, 61 insertions(+), 13 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/router/views/index.js b/Source/plt-web/plt-web-ui/src/router/views/index.js index 2826e0e..385dd98 100644 --- a/Source/plt-web/plt-web-ui/src/router/views/index.js +++ b/Source/plt-web/plt-web-ui/src/router/views/index.js @@ -12,6 +12,14 @@ }, component: () => import( /* webpackChunkName: "views" */ '@/views/wel/index') + },{ + path: 'workIndex', + name: '宸ヤ綔鍙�', + meta: { + i18n: 'work' + }, + component: () => + import( /* webpackChunkName: "views" */ '@/views/wel/workIndex') }, { path: 'dashboard', name: '鎺у埗鍙�', @@ -104,16 +112,56 @@ import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail') }] },{ - path: '/base', - component: Layout, - redirect: '/viewTab', - children: [{ - path: 'viewTab', - name: '鏌ョ湅璇︽儏', - meta: { - i18n: 'viewTab' - }, - component: () => - import('@/views/base/ViewTab') - }] -} ] + path: '/UIContentViewer', + name: 'UI涓婁笅鏂囧睍绀�', + component: Layout, + children: [ + { + path: '', // 绌鸿矾寰勮〃绀鸿闂� '/UIContentViewer' 鏃跺姞杞� Layout 缁勪欢 + component: () => import('@/views/base/UIContentViewer'), + props: true + } + ] + }, + { + path: '/dynamic-form', + name: '鍔ㄦ�佽〃鍗曢〉闈�', + component: Layout, + children: [ + { + path: '', // 绌鸿矾寰勮〃绀鸿闂� '/dynamic-form' 鏃跺姞杞� Layout 缁勪欢 + component: () => import('@/components/dynamic-components/dynamic-form'), + props: true + } + ] + }, + { + path: '/UIDefineShow/:uiDefineOid', + name: 'UI瀹氫箟璇︽儏', + component: Layout, + children: [ + { + path: '', // 绌鸿矾寰勮〃绀鸿闂� '/referIndex' 鏃跺姞杞� Layout 缁勪欢 + component: () => import('@/views/modelingMenu/ui/uiDefine/rightRegion/plShow'), + props: true + } + ], + meta:{ + keepAlive: true, + isTab: true, + isAuth: true + } + }, { + path: '/base', + component: Layout, + redirect: '/viewTab', + children: [{ + path: 'viewTab', + name: '鏌ョ湅璇︽儏', + meta: { + i18n: 'viewTab' + }, + component: () => + import('@/views/base/ViewTab') + }] + } ] -- Gitblit v1.9.3