|
|
@@ -2,7 +2,7 @@
|
|
|
<div>
|
|
|
<div class="flex flex-col flex-center">
|
|
|
<span class="font-16 grey-6 bold">年度资金管理</span>
|
|
|
- <base-button class="mt-20" title="全县投资情况" icon=""/>
|
|
|
+ <base-button class="mt-20" title="全县投资情况" icon="" :type='active === -1 ? "1" :"2" ' @click='viewAll'/>
|
|
|
<div class='full-width flex flex-center mt-20'>
|
|
|
<el-tabs v-model="activeName" class="font-16" @tab-change="getOrg">
|
|
|
<el-tab-pane label="住建局" name="1"/>
|
|
|
@@ -52,6 +52,10 @@ export default {
|
|
|
change (index) {
|
|
|
this.active = index
|
|
|
this.$emit('change', this.deptList[index])
|
|
|
+ },
|
|
|
+ viewAll () {
|
|
|
+ this.active = -1
|
|
|
+ this.$emit('change', null)
|
|
|
}
|
|
|
}
|
|
|
}
|