From 3c0c95ffca0c424836683ebeb2d84c77e72c7be9 Mon Sep 17 00:00:00 2001
From: zhangxiaoxu123456 <zxx19900626>
Date: 星期五, 29 四月 2022 18:13:38 +0800
Subject: [PATCH] 社会收支表接口
---
src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue | 44 +-------------------------------------------
1 files changed, 1 insertions(+), 43 deletions(-)
diff --git a/src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue b/src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue
index 52860e4..ad90328 100644
--- a/src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue
+++ b/src/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue
@@ -192,50 +192,8 @@
getStatisticsTable() {
getStatisticsTable().then(res => {
if(res.code == 1000) {
- let result = res.list
- // this.tableData = result
- this.headerArry = result
- console.log('this.headerArry====',this.headerArry)
- // this.getData(result)
- let data = []
- result.forEach((item,index) => {
- let row = item.dataList
- row.forEach((e,i) => {
- let a = Object.assign({},e,{name: item.item})
- data.push(a)
- })
- })
- this.tableData = result
- console.log( this.tableData,' this.tableData===========')
- console.log( this.headerArry,'this.headerArry===========')
-
+ this.tableData = res.list
}
- })
- },
- getData(result) {
- let row = []
- this.tableData.forEach((e,index) => {
- // row.push({
- // name: e.item
- // })
- if(index == 0) {
- this.headerArry = e
- }
-
- e.dataList.forEach((c,i) => {
- row.push({
- name: e.item,
- "month": c.month ,
- "totalIncome": c.totalIncome,
- "taxesIncome": c.taxesIncome,
- "pay": c.pay,
- "balance": c.balance,
- "surplus": c.surplus || null
- })
- })
- // this.headerArry = row
- // this.tableData = row
- console.log(this.headerArry)
})
},
shebaoShouzhiZongbiaoEcharts() {
--
Gitblit v1.9.1