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,16 +297,23 @@ ...@@ -298,16 +297,23 @@
</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">
<template slot="title"> <el-submenu v-if="childItem.ThirdList.length>0" :index="childItem.MenuId+''" :key="childIndex">
<span>{{childItem.MenuName}}</span> <template slot="title">
</template> <span>{{childItem.MenuName}}</span>
<el-menu-item-group> </template>
<el-menu-item :index="thirdChild.MenuId+''" @click.native="clickMenu(thirdChild)" v-for="(thirdChild,thirdIndex) in childItem.ThirdList" :key="thirdIndex"> <el-menu-item-group>
<div class="checkBlock" :class="defaultActive==thirdChild.MenuId?'isActive':''">{{thirdChild.MenuName}}</div> <el-menu-item :index="thirdChild.MenuId+''" @click.native="clickMenu(thirdChild)" v-for="(thirdChild,thirdIndex) in childItem.ThirdList" :key="thirdIndex">
<div class="checkBlock" :class="defaultActive==thirdChild.MenuId?'isActive':''">{{thirdChild.MenuName}}</div>
</el-menu-item>
</el-menu-item-group>
</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> </el-menu-item>
</el-menu-item-group> </template>
</el-submenu> </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