699b1521 by zhaoqian

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

1 parent 0780ba0a
...@@ -31,6 +31,14 @@ ...@@ -31,6 +31,14 @@
31 <i :class="item.icon"></i> 31 <i :class="item.icon"></i>
32 <span>{{ item.name }}</span> 32 <span>{{ item.name }}</span>
33 </div> 33 </div>
34 <div class="top-items">
35 <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect" :router="true">
36 <el-submenu index="2">
37 <template slot="title">临时网页开发路由跳转</template>
38 <el-menu-item v-for="item in tempTab" :index="item.path" :key="'tempTab'+index">{{item.name}}</el-menu-item>
39 </el-submenu>
40 </el-menu>
41 </div>
34 </div> 42 </div>
35 <div class="header-bottom"> 43 <div class="header-bottom">
36 <Navigation ref="navigation"></Navigation> 44 <Navigation ref="navigation"></Navigation>
...@@ -56,6 +64,7 @@ export default { ...@@ -56,6 +64,7 @@ export default {
56 }, 64 },
57 data() { 65 data() {
58 return { 66 return {
67 activeIndex:'1',
59 navigationList: [], 68 navigationList: [],
60 isActive: false, 69 isActive: false,
61 textLogo: false, 70 textLogo: false,
...@@ -79,6 +88,20 @@ export default { ...@@ -79,6 +88,20 @@ export default {
79 select: false, 88 select: false,
80 } 89 }
81 ], 90 ],
91 tempTab:[
92 {
93 path:'/zrz',
94 name:'自然幢'
95 },
96 {
97 path:'/dz',
98 name:'多幢'
99 },
100 {
101 path:'/h',
102 name:'户'
103 },
104 ],
82 // 上导航选中id 105 // 上导航选中id
83 indId: undefined, 106 indId: undefined,
84 menuList: [], 107 menuList: [],
...@@ -265,6 +288,9 @@ export default { ...@@ -265,6 +288,9 @@ export default {
265 //树控件点击事件 288 //树控件点击事件
266 itemClick(data){ 289 itemClick(data){
267 console.log(data); 290 console.log(data);
291 },
292 handleSelect(key, keyPath) {
293 console.log(key, keyPath);
268 } 294 }
269 }, 295 },
270 }; 296 };
......