Commit 47c16b7f authored by zhengke's avatar zhengke

修改页面

parent 037a785c
...@@ -201,7 +201,6 @@ ...@@ -201,7 +201,6 @@
padding: 0 !important; padding: 0 !important;
text-align: center; text-align: center;
} }
.mainContainer .mainRightContent { .mainContainer .mainRightContent {
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -298,7 +297,8 @@ ...@@ -298,7 +297,8 @@
</div> </div>
<div> <div>
<el-menu :default-active="defaultActive" :unique-opened="true" class="el-menu-vertical-demo"> <el-menu :default-active="defaultActive" :unique-opened="true" class="el-menu-vertical-demo">
<el-submenu :index="childItem.MenuId+''" v-for="(childItem,childIndex) in secondList.SubList" :key="childIndex"> <template v-for="(childItem,childIndex) in secondList.SubList">
<el-submenu v-if="childItem.ThirdList.length>0" :index="childItem.MenuId+''" :key="childIndex">
<template slot="title"> <template slot="title">
<span>{{childItem.MenuName}}</span> <span>{{childItem.MenuName}}</span>
</template> </template>
...@@ -308,6 +308,12 @@ ...@@ -308,6 +308,12 @@
</el-menu-item> </el-menu-item>
</el-menu-item-group> </el-menu-item-group>
</el-submenu> </el-submenu>
<template v-else>
<el-menu-item :index="childItem.MenuId+''" @click.native="clickMenu(childItem)" :key="childItem.MenuId">
<div class="checkBlock" :class="defaultActive==childItem.MenuId?'isActive':''">{{childItem.MenuName}}</div>
</el-menu-item>
</template>
</template>
</el-menu> </el-menu>
</div> </div>
</div> </div>
......
...@@ -30,11 +30,6 @@ export default new Router({ ...@@ -30,11 +30,6 @@ export default new Router({
name: 'index', name: 'index',
component: resolve => require(['@/components/index'], resolve), component: resolve => require(['@/components/index'], resolve),
}, },
{
path: '/basicSetUp',
name: 'basicSetUp',
component: resolve => require(['@/components/setUp/basicSetUp'], resolve),
},
{ {
path: '/menu', path: '/menu',
name: 'menu', name: 'menu',
...@@ -99,7 +94,12 @@ export default new Router({ ...@@ -99,7 +94,12 @@ export default new Router({
name: 'materialMan', name: 'materialMan',
component: resolve => require(['@/components/CommodityMan/materialMan'], resolve), component: resolve => require(['@/components/CommodityMan/materialMan'], resolve),
}, },
//设置 基础设置
{
path: '/basicSetUp',
name: 'basicSetUp',
component: resolve => require(['@/components/setUp/basicSetUp'], resolve),
},
] ]
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment