From cfb813f540e11cbadf041b295c342b02da97da56 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期四, 28 四月 2022 15:55:00 +0800
Subject: [PATCH] 其他业务
---
src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoZhengjiShouru.vue | 40 +++++++++++++++-------------------------
1 files changed, 15 insertions(+), 25 deletions(-)
diff --git a/src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoZhengjiShouru.vue b/src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoZhengjiShouru.vue
index ee58371..6377802 100644
--- a/src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoZhengjiShouru.vue
+++ b/src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoZhengjiShouru.vue
@@ -12,14 +12,17 @@
<el-tab-pane label="鎬昏" name="1">
<shebaoZhengjiShouruTotal :totalTableData="totalTableData"></shebaoZhengjiShouruTotal>
</el-tab-pane>
- <el-tab-pane label="澶变笟鍐嶅氨涓�" name="2">
- <shebaoZhengjiShouruForm :tableData="tableData"></shebaoZhengjiShouruForm>
+ <el-tab-pane label="浼佷笟鑱屽伐鍏昏�佷繚闄�" name="2">
+ <shebaoZhengjiShouruForm :tableData="tableData" label="鍦ㄨ亴鑱屽伐锛堜汉锛�" type="1"></shebaoZhengjiShouruForm>
</el-tab-pane>
- <el-tab-pane label="灏变笟鍥伴毦浜哄憳鍐嶅氨涓�" name="3">
- <shebaoZhengjiShouruForm :tableData="tableData"></shebaoZhengjiShouruForm>
+ <el-tab-pane label="鍩庝埂灞呮皯鍏昏�佷繚闄�" name="3">
+ <shebaoZhengjiShouruForm :tableData="tableData" label="鍙備繚浜烘暟锛堜汉锛�" type="3"></shebaoZhengjiShouruForm>
</el-tab-pane>
- <el-tab-pane label="鐧昏澶变笟鐜�" name="4">
- <shebaoZhengjiShouruForm :tableData="tableData"></shebaoZhengjiShouruForm>
+ <el-tab-pane label="澶变笟淇濋櫓" name="4">
+ <shebaoZhengjiShouruForm :tableData="tableData" label="鍙備繚浜烘暟锛堜汉锛�" type="4"></shebaoZhengjiShouruForm>
+ </el-tab-pane>
+ <el-tab-pane label="宸ヤ激淇濋櫓" name="5">
+ <shebaoZhengjiShouruForm :tableData="tableData" label="鍙備繚浜烘暟锛堜汉锛�" type="5"></shebaoZhengjiShouruForm>
</el-tab-pane>
</el-tabs>
</div>
@@ -40,27 +43,12 @@
totalTableData: [],
tableData: [],
activeName: '1',
- tabMenuList: [{
- name: '鎬昏',
- id: 1
- },{
- name: '浼佷笟鑱屽伐鍏昏�佷繚闄�',
- id: 2
- },{
- name: '鍩庝埂灞呮皯鍏昏�佷繚闄�',
- id: 3
- },{
- name: '宸ヤ激淇濋櫓',
- id: 4
- },{
- name: '澶变笟淇濋櫓',
- id: 5
- }]
+ type:'1',
}
},
mounted() {
this.getFundincomeTable()
- this.getAverageTable()
+
},
methods: {
getFundincomeTable() {
@@ -71,14 +59,16 @@
})
},
getAverageTable() {
- getAverageTable().then(res => {
+ getAverageTable({type: this.type}).then(res => {
if(res.code == 1000) {
this.tableData = res.list
}
})
},
tabHandleClick(tab) {
-
+ console.log('tab------',tab)
+ this.type = tab.name
+ this.getAverageTable()
}
}
}
--
Gitblit v1.9.1