Skip to content

Commit 1ea1915

Browse files
author
张晨曦
committed
开放管理台入口
1 parent 6be3287 commit 1ea1915

File tree

5 files changed

+211
-211
lines changed

5 files changed

+211
-211
lines changed

web/src/apps/linkis/router.js

Lines changed: 103 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -28,107 +28,107 @@ export const subAppRoutes = {
2828

2929
// 控制台route已迁移到统一的后台管理页面
3030
export default [
31-
// {
32-
// path: 'console',
33-
// name: 'Console',
34-
// redirect: '/console/globalHistory',
35-
// meta: {
36-
// title: 'linkis console',
37-
// publicPage: true,
38-
// },
39-
// component: () =>
40-
// import('./view/linkis/index.vue'),
41-
// children: [{
42-
// name: 'globalHistory',
43-
// path: 'globalHistory',
44-
// component: () =>
45-
// import('./module/globalHistoryManagement/index.vue'),
46-
// meta: {
47-
// title: 'Global History',
48-
// publicPage: true,
49-
// // admin: true
50-
// },
51-
// }, {
52-
// name: 'viewHistory',
53-
// path: 'viewHistory',
54-
// component: () =>
55-
// import('./module/globalHistoryManagement/viewHistory.vue'),
56-
// meta: {
57-
// title: 'viewHistory',
58-
// publicPage: true,
59-
// // admin: true
60-
// },
61-
// }, {
62-
// name: 'resource',
63-
// path: 'resource',
64-
// component: () =>
65-
// import('./module/resourceManagement/index.vue'),
66-
// meta: {
67-
// title: 'resource',
68-
// publicPage: true,
69-
// // admin: true
70-
// },
71-
// },
72-
// {
73-
// name: 'setting',
74-
// path: 'setting',
75-
// component: () =>
76-
// import('./module/setting/setting.vue'),
77-
// meta: {
78-
// title: 'setting',
79-
// publicPage: true,
80-
// // admin: true
81-
// },
82-
// },{
83-
// name: 'ECM',
84-
// path: 'ECM',
85-
// component: () =>
86-
// import('./module/ECM/index.vue'),
87-
// meta: {
88-
// title: 'ECM',
89-
// publicPage: true,
90-
// // admin: true
91-
// },
92-
// },{
93-
// name: 'EngineConnList',
94-
// path: 'EngineConnList',
95-
// component: () =>
96-
// import('./module/ECM/engineConn.vue'),
97-
// meta: {
98-
// title: 'EngineConn',
99-
// publicPage: true,
100-
// // admin: true
101-
// },
102-
// }, {
103-
// name: 'globalValiable',
104-
// path: 'globalValiable',
105-
// component: () =>
106-
// import('./module/globalValiable/index.vue'),
107-
// meta: {
108-
// title: 'Global Valiable',
109-
// publicPage: true,
110-
// // admin: true
111-
// },
112-
// }, {
113-
// name: 'FAQ',
114-
// path: 'FAQ',
115-
// component: () =>
116-
// import('./module/FAQ/index.vue'),
117-
// meta: {
118-
// title: 'FAQ',
119-
// publicPage: true,
120-
// },
121-
// },
122-
// {
123-
// name: 'microService',
124-
// path: 'microService',
125-
// component: () =>
126-
// import('./module/microServiceManagement/index.vue'),
127-
// meta: {
128-
// title: 'microServiceManagement',
129-
// publicPage: true,
130-
// },
131-
// }
132-
// ],
133-
// },
31+
{
32+
path: 'console',
33+
name: 'Console',
34+
redirect: '/console/globalHistory',
35+
meta: {
36+
title: 'linkis console',
37+
publicPage: true,
38+
},
39+
component: () =>
40+
import('./view/linkis/index.vue'),
41+
children: [{
42+
name: 'globalHistory',
43+
path: 'globalHistory',
44+
component: () =>
45+
import('./module/globalHistoryManagement/index.vue'),
46+
meta: {
47+
title: 'Global History',
48+
publicPage: true,
49+
// admin: true
50+
},
51+
}, {
52+
name: 'viewHistory',
53+
path: 'viewHistory',
54+
component: () =>
55+
import('./module/globalHistoryManagement/viewHistory.vue'),
56+
meta: {
57+
title: 'viewHistory',
58+
publicPage: true,
59+
// admin: true
60+
},
61+
}, {
62+
name: 'resource',
63+
path: 'resource',
64+
component: () =>
65+
import('./module/resourceManagement/index.vue'),
66+
meta: {
67+
title: 'resource',
68+
publicPage: true,
69+
// admin: true
70+
},
71+
},
72+
{
73+
name: 'setting',
74+
path: 'setting',
75+
component: () =>
76+
import('./module/setting/setting.vue'),
77+
meta: {
78+
title: 'setting',
79+
publicPage: true,
80+
// admin: true
81+
},
82+
},{
83+
name: 'ECM',
84+
path: 'ECM',
85+
component: () =>
86+
import('./module/ECM/index.vue'),
87+
meta: {
88+
title: 'ECM',
89+
publicPage: true,
90+
// admin: true
91+
},
92+
},{
93+
name: 'EngineConnList',
94+
path: 'EngineConnList',
95+
component: () =>
96+
import('./module/ECM/engineConn.vue'),
97+
meta: {
98+
title: 'EngineConn',
99+
publicPage: true,
100+
// admin: true
101+
},
102+
}, {
103+
name: 'globalValiable',
104+
path: 'globalValiable',
105+
component: () =>
106+
import('./module/globalValiable/index.vue'),
107+
meta: {
108+
title: 'Global Valiable',
109+
publicPage: true,
110+
// admin: true
111+
},
112+
}, {
113+
name: 'FAQ',
114+
path: 'FAQ',
115+
component: () =>
116+
import('./module/FAQ/index.vue'),
117+
meta: {
118+
title: 'FAQ',
119+
publicPage: true,
120+
},
121+
},
122+
{
123+
name: 'microService',
124+
path: 'microService',
125+
component: () =>
126+
import('./module/microServiceManagement/index.vue'),
127+
meta: {
128+
title: 'microServiceManagement',
129+
publicPage: true,
130+
},
131+
}
132+
],
133+
},
134134
]

web/src/apps/linkis/view/linkis/index.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
<div class="console-page">
33
<!-- <div class="ad ad-top">广告位</div> -->
44
<div class="console-page-content">
5-
<div class="console-page-content-head">
5+
<!-- <div class="console-page-content-head">
66
<div>
77
<span class="console-page-content-title">{{ $t('message.linkis.title') }}</span>
8-
<!-- <span class="console-page-content-info">{{ $t('message.linkis.info', {num: '13'}) }}</span> -->
98
</div>
10-
</div>
9+
</div> -->
1110
<div class="console-page-content-body">
1211
<div class="content-body-side-nav">
1312
<Card

web/src/apps/workspace/module/managementPlatform/index.vue

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -90,29 +90,29 @@ const menu = [
9090
},
9191
],
9292
},
93-
{
94-
title: "控制台",
95-
icon: "kongzhitai",
96-
nodes: [
97-
{
98-
name: "全局历史",
99-
type: "console",
100-
id: 1022,
101-
pathName: "globalHistory",
102-
},
103-
{ name: "资源管理", type: "console", id: 1021, pathName: "resource" },
104-
{ name: "参数配置", type: "console", id: 1020, pathName: "setting" },
105-
{
106-
name: "全局变量",
107-
type: "console",
108-
id: 1019,
109-
pathName: "globalValiable",
110-
},
111-
{ name: "ECM管理", type: "console", id: 1018, pathName: "ECM" },
112-
// {name: '微服务管理', type: 'console', id: 1017, pathName: 'microService'},
113-
{ name: "常见问题", type: "console", id: 1016, pathName: "FAQ" },
114-
],
115-
},
93+
// {
94+
// title: "控制台",
95+
// icon: "kongzhitai",
96+
// nodes: [
97+
// {
98+
// name: "全局历史",
99+
// type: "console",
100+
// id: 1022,
101+
// pathName: "globalHistory",
102+
// },
103+
// { name: "资源管理", type: "console", id: 1021, pathName: "resource" },
104+
// { name: "参数配置", type: "console", id: 1020, pathName: "setting" },
105+
// {
106+
// name: "全局变量",
107+
// type: "console",
108+
// id: 1019,
109+
// pathName: "globalValiable",
110+
// },
111+
// { name: "ECM管理", type: "console", id: 1018, pathName: "ECM" },
112+
// // {name: '微服务管理', type: 'console', id: 1017, pathName: 'microService'},
113+
// { name: "常见问题", type: "console", id: 1016, pathName: "FAQ" },
114+
// ],
115+
// },
116116
{
117117
title: "组件接入",
118118
icon: "componentImport",

0 commit comments

Comments
 (0)