699b1521 by zhaoqian

自然幢,多幢,户表单样式添加权力性质相关内容,添加临时开发路由路径!

1 parent 0780ba0a
......@@ -31,6 +31,14 @@
<i :class="item.icon"></i>
<span>{{ item.name }}</span>
</div>
<div class="top-items">
<el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect" :router="true">
<el-submenu index="2">
<template slot="title">临时网页开发路由跳转</template>
<el-menu-item v-for="item in tempTab" :index="item.path" :key="'tempTab'+index">{{item.name}}</el-menu-item>
</el-submenu>
</el-menu>
</div>
</div>
<div class="header-bottom">
<Navigation ref="navigation"></Navigation>
......@@ -56,6 +64,7 @@ export default {
},
data() {
return {
activeIndex:'1',
navigationList: [],
isActive: false,
textLogo: false,
......@@ -79,6 +88,20 @@ export default {
select: false,
}
],
tempTab:[
{
path:'/zrz',
name:'自然幢'
},
{
path:'/dz',
name:'多幢'
},
{
path:'/h',
name:'户'
},
],
// 上导航选中id
indId: undefined,
menuList: [],
......@@ -265,6 +288,9 @@ export default {
//树控件点击事件
itemClick(data){
console.log(data);
},
handleSelect(key, keyPath) {
console.log(key, keyPath);
}
},
};
......