Commit 47c16b7f authored by zhengke's avatar zhengke

修改页面

parent 037a785c
......@@ -201,7 +201,6 @@
padding: 0 !important;
text-align: center;
}
.mainContainer .mainRightContent {
width: 100%;
height: 100%;
......@@ -298,16 +297,23 @@
</div>
<div>
<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 slot="title">
<span>{{childItem.MenuName}}</span>
</template>
<el-menu-item-group>
<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>
<template v-for="(childItem,childIndex) in secondList.SubList">
<el-submenu v-if="childItem.ThirdList.length>0" :index="childItem.MenuId+''" :key="childIndex">
<template slot="title">
<span>{{childItem.MenuName}}</span>
</template>
<el-menu-item-group>
<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-group>
</el-submenu>
</template>
</template>
</el-menu>
</div>
</div>
......
......@@ -30,11 +30,6 @@ export default new Router({
name: 'index',
component: resolve => require(['@/components/index'], resolve),
},
{
path: '/basicSetUp',
name: 'basicSetUp',
component: resolve => require(['@/components/setUp/basicSetUp'], resolve),
},
{
path: '/menu',
name: 'menu',
......@@ -99,7 +94,12 @@ export default new Router({
name: 'materialMan',
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