Compare commits
4 Commits
ccef07e8e7
...
fibo-rule-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
589fe19fd8 | ||
|
|
ace5561ca5 | ||
|
|
dd3fcae3cc | ||
|
|
4510f058c3 |
13843
h5-enginex-manager/package-lock.json
generated
13843
h5-enginex-manager/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -30,7 +30,7 @@
|
|||||||
"less": "^4.1.1",
|
"less": "^4.1.1",
|
||||||
"less-loader": "^5.0.0",
|
"less-loader": "^5.0.0",
|
||||||
"mavon-editor": "^2.6.17",
|
"mavon-editor": "^2.6.17",
|
||||||
"node-sass": "^4.14.1",
|
"sass": "^1.58.0",
|
||||||
"vue": "^2.6.10",
|
"vue": "^2.6.10",
|
||||||
"vue-codemirror": "^4.0.6",
|
"vue-codemirror": "^4.0.6",
|
||||||
"vue-cropperjs": "^3.0.0",
|
"vue-cropperjs": "^3.0.0",
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ a {
|
|||||||
width: auto;
|
width: auto;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
overflow-y: scroll;
|
||||||
/* overflow-y: scroll; */
|
/* overflow-y: scroll; */
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
@@ -178,7 +179,6 @@ a {
|
|||||||
|
|
||||||
.content-wrapper{
|
.content-wrapper{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 21px;
|
padding: 21px;
|
||||||
|
|||||||
@@ -60,26 +60,27 @@
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
async getMenus() {
|
async getMenus() {
|
||||||
const data = await getMenus({entity:{resourceSystem:localStorage.getItem('platform')}});
|
const data1 = await getMenus({entity:{resourceSystem:'Auth'}});
|
||||||
|
const data2 = await getMenus({entity:{resourceSystem:'DataX'}});
|
||||||
|
const data3 = await getMenus({entity:{resourceSystem:'Enginex'}});
|
||||||
// console.log('菜单接口返回的数据',data);
|
// console.log('菜单接口返回的数据',data);
|
||||||
if (data.status === "0") {
|
// if (data.status === "0") {
|
||||||
this.$message.error(data.msg);
|
// this.$message.error(data.msg);
|
||||||
if (data.error === "01000103") {
|
// if (data.error === "01000103") {
|
||||||
if (localStorage.getItem('platform') === 'Auth') {
|
// if (localStorage.getItem('platform') === 'Auth') {
|
||||||
this.$router.push('/loginAuth')
|
// this.$router.push('/loginAuth')
|
||||||
} else if (localStorage.getItem('platform') === 'DataX') {
|
// } else if (localStorage.getItem('platform') === 'DataX') {
|
||||||
this.$router.push('/loginDatax')
|
// this.$router.push('/loginDatax')
|
||||||
} else if (localStorage.getItem('platform') === 'Enginex') {
|
// } else if (localStorage.getItem('platform') === 'Enginex') {
|
||||||
this.$router.push('/loginEnginex')
|
// this.$router.push('/loginEnginex')
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
this.items = data.data;
|
this.items = [...data1.data, ...data2.data, ...data3.data];
|
||||||
if(this.items.length == 0){
|
if(this.items.length == 0){
|
||||||
this.$message.error('您没有导航权限,请联系管理员');
|
this.$message.error('您没有导航权限,请联系管理员');
|
||||||
}
|
}
|
||||||
// console.log("items", this.items);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -9,39 +9,20 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-wrapper">
|
<div class="tab-wrapper">
|
||||||
|
|
||||||
<!-- <el-tabs v-model="tabs" @tab-click="pager.pageNum=1;getlist()">
|
|
||||||
<el-tab-pane label="EngineX" name="EngineX"></el-tab-pane>
|
|
||||||
<el-tab-pane label="DataX" name="DataX"></el-tab-pane>
|
|
||||||
</el-tabs> -->
|
|
||||||
|
|
||||||
<div v-loading="loading">
|
<div v-loading="loading">
|
||||||
<el-table border ref="multipleTable" :data="dataList" tooltip-effect="dark" style="width: 100%"
|
<el-table border ref="multipleTable" :data="dataList" tooltip-effect="dark" style="width: 100%"
|
||||||
@selection-change="handleSelectionChange">
|
@selection-change="handleSelectionChange">
|
||||||
<el-table-column type="selection" width="55">
|
<el-table-column type="selection" width="55" />
|
||||||
</el-table-column>
|
<el-table-column prop="code" width="200" label="资源编号" />
|
||||||
|
<el-table-column prop="name" label="名称" width="" show-overflow-tooltip />
|
||||||
<el-table-column prop="code" width="200" label="资源编号">
|
<el-table-column prop="url" label="路径" width="" show-overflow-tooltip />
|
||||||
</el-table-column>
|
<el-table-column prop="icon" label="图标" width="" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="sort" label="排序" width="" show-overflow-tooltip />
|
||||||
<el-table-column prop="name" label="名称" width="" show-overflow-tooltip>
|
|
||||||
</el-table-column>
|
|
||||||
|
|
||||||
<el-table-column prop="url" label="路径" width="" show-overflow-tooltip>
|
|
||||||
</el-table-column>
|
|
||||||
|
|
||||||
<el-table-column prop="icon" label="图标" width="" show-overflow-tooltip>
|
|
||||||
</el-table-column>
|
|
||||||
|
|
||||||
<el-table-column prop="sort" label="排序" width="" show-overflow-tooltip>
|
|
||||||
</el-table-column>
|
|
||||||
|
|
||||||
<el-table-column prop="birth" label="创建时间" width="" show-overflow-tooltip>
|
<el-table-column prop="birth" label="创建时间" width="" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{scope.row.birth|formatDate}}
|
{{scope.row.birth|formatDate}}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column label="操作" align="center" size="s">
|
<el-table-column label="操作" align="center" size="s">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tooltip content="编辑" placement="left">
|
<el-tooltip content="编辑" placement="left">
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export default new Router({
|
|||||||
*/
|
*/
|
||||||
// 决策引擎系统 - 登录
|
// 决策引擎系统 - 登录
|
||||||
{
|
{
|
||||||
path: '/loginEnginex',
|
path: '/login',
|
||||||
component: () => import('../components/page/LoginEnginex.vue'),
|
component: () => import('../components/page/LoginEnginex.vue'),
|
||||||
meta: { title: '登录' }
|
meta: { title: '登录' }
|
||||||
},
|
},
|
||||||
@@ -42,15 +42,19 @@ export default new Router({
|
|||||||
component: () => import('../components/common/Home.vue'),
|
component: () => import('../components/common/Home.vue'),
|
||||||
meta: { title: '自述文件' },
|
meta: { title: '自述文件' },
|
||||||
children: [
|
children: [
|
||||||
|
{
|
||||||
|
path: '/dashboardEnginex',
|
||||||
|
component: () => {
|
||||||
|
const userRole = localStorage.getItem('platform');
|
||||||
|
return import('../components/page/DashboardEnginex.vue');
|
||||||
|
},
|
||||||
|
meta: { title: '系统首页' }
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/dashboard',
|
path: '/dashboard',
|
||||||
component: () => {
|
component: () => {
|
||||||
const userRole = localStorage.getItem('platform');
|
const userRole = localStorage.getItem('platform');
|
||||||
if (userRole === 'DataX') {
|
return import('../components/page/DashboardDatax.vue');
|
||||||
return import('../components/page/DashboardDatax.vue');
|
|
||||||
} else {
|
|
||||||
return import('../components/page/DashboardEnginex.vue');
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
meta: { title: '系统首页' }
|
meta: { title: '系统首页' }
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
@import './variables.scss';
|
|
||||||
@import './mixin.scss';
|
@use './mixin.scss';
|
||||||
@import './transition.scss';
|
@use './transition.scss';
|
||||||
@import './element-ui.scss';
|
@use './element-ui.scss';
|
||||||
@import './sidebar.scss';
|
@use './variables.scss';
|
||||||
|
@use './sidebar.scss';
|
||||||
|
|
||||||
body {
|
body {
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
@use './variables.scss';
|
||||||
|
|
||||||
#app {
|
#app {
|
||||||
|
|
||||||
// 主体区域
|
// 主体区域
|
||||||
@@ -69,9 +71,9 @@
|
|||||||
.sidebar-container .nest-menu .el-submenu>.el-submenu__title,
|
.sidebar-container .nest-menu .el-submenu>.el-submenu__title,
|
||||||
.sidebar-container .el-submenu .el-menu-item {
|
.sidebar-container .el-submenu .el-menu-item {
|
||||||
min-width: 180px !important;
|
min-width: 180px !important;
|
||||||
background-color: $subMenuBg !important;
|
background-color: variables.$subMenuBg !important;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $menuHover !important;
|
background-color: variables.$menuHover !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.el-menu--collapse .el-menu .el-submenu {
|
.el-menu--collapse .el-menu .el-submenu {
|
||||||
|
|||||||
9360
h5-enginex-manager/yarn.lock
Normal file
9360
h5-enginex-manager/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user