style:申请单元列表
Showing
3 changed files
with
10 additions
and
6 deletions
... | @@ -212,7 +212,7 @@ export default { | ... | @@ -212,7 +212,7 @@ export default { |
212 | methods: { | 212 | methods: { |
213 | // 左侧菜单点击 | 213 | // 左侧菜单点击 |
214 | menuClick (item) { | 214 | menuClick (item) { |
215 | this.checkedId = item.id; | 215 | this.checkedId = item.id |
216 | }, | 216 | }, |
217 | // 添加材料目录 | 217 | // 添加材料目录 |
218 | handleAdd () { | 218 | handleAdd () { | ... | ... |
... | @@ -37,7 +37,6 @@ | ... | @@ -37,7 +37,6 @@ |
37 | li { | 37 | li { |
38 | padding: 5px; | 38 | padding: 5px; |
39 | font-size: 14px; | 39 | font-size: 14px; |
40 | color: #606266; | ||
41 | line-height: 20px; | 40 | line-height: 20px; |
42 | cursor: pointer; | 41 | cursor: pointer; |
43 | } | 42 | } |
... | @@ -49,6 +48,10 @@ | ... | @@ -49,6 +48,10 @@ |
49 | } | 48 | } |
50 | } | 49 | } |
51 | 50 | ||
51 | /deep/.el-menu-item.is-active { | ||
52 | background-color: #e7f4fe; | ||
53 | } | ||
54 | |||
52 | .leftCon { | 55 | .leftCon { |
53 | flex: 1; | 56 | flex: 1; |
54 | width: calc(100% - 260px); | 57 | width: calc(100% - 260px); | ... | ... |
... | @@ -20,9 +20,9 @@ | ... | @@ -20,9 +20,9 @@ |
20 | <!-- 内容框架 --> | 20 | <!-- 内容框架 --> |
21 | <div class="containerFrame"> | 21 | <div class="containerFrame"> |
22 | <!-- 左侧菜单栏 --> | 22 | <!-- 左侧菜单栏 --> |
23 | <div class="leftmenu"> | 23 | <div class="leftmenu" v-if="unitData.length>0"> |
24 | <div class="title">申请单元列表({{ unitData.length }})</div> | 24 | <div class="title">申请单元列表({{ unitData.length }})</div> |
25 | <el-menu default-active="0" @select="unitClick"> | 25 | <el-menu :default-active="activeIndex" @select="unitClick"> |
26 | <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index"> | 26 | <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index"> |
27 | <p>{{ item.bdcdyh }}</p> | 27 | <p>{{ item.bdcdyh }}</p> |
28 | <p>{{ item.zl }}</p> | 28 | <p>{{ item.zl }}</p> |
... | @@ -65,6 +65,8 @@ import axios from "axios"; | ... | @@ -65,6 +65,8 @@ import axios from "axios"; |
65 | export default { | 65 | export default { |
66 | data () { | 66 | data () { |
67 | return { | 67 | return { |
68 | // 默认选中 | ||
69 | activeIndex: '0', | ||
68 | //受理申请标识码 | 70 | //受理申请标识码 |
69 | bsmSlsq: this.$route.query.bsmSlsq, | 71 | bsmSlsq: this.$route.query.bsmSlsq, |
70 | //当前流程所在环节 | 72 | //当前流程所在环节 |
... | @@ -194,7 +196,7 @@ export default { | ... | @@ -194,7 +196,7 @@ export default { |
194 | this.unitData = res.result; | 196 | this.unitData = res.result; |
195 | this.currentSelectProps = res.result[0]; | 197 | this.currentSelectProps = res.result[0]; |
196 | } | 198 | } |
197 | }); | 199 | }) |
198 | }, | 200 | }, |
199 | //申请单元点击事件 | 201 | //申请单元点击事件 |
200 | unitClick (index) { | 202 | unitClick (index) { |
... | @@ -205,7 +207,6 @@ export default { | ... | @@ -205,7 +207,6 @@ export default { |
205 | }, | 207 | }, |
206 | //表单选项卡事件 | 208 | //表单选项卡事件 |
207 | tabClick (tab, event) { | 209 | tabClick (tab, event) { |
208 | //this.$alert(tab.name); | ||
209 | this.getFromRouter(tab.name); | 210 | this.getFromRouter(tab.name); |
210 | }, | 211 | }, |
211 | //切换选项卡内容组件 | 212 | //切换选项卡内容组件 | ... | ... |
-
Please register or sign in to post a comment