From 7f5e80379742056122d65af0e537e53056637613 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Thu, 20 Feb 2025 18:09:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=99=BA=E8=81=AA=E8=AE=B0=E8=B4=A6?= =?UTF-8?q?=E7=AE=A1=E7=90=86=EF=BC=8C=E7=BB=9F=E8=AE=A1=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0tab=E6=8C=89=E9=92=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accounts/accountDealAnalysis/index.vue | 3 + .../accounts/accountsBalance/index.vue | 57 +++++++++++++++++-- .../accounts/creditCardDealAnalysis/index.vue | 3 + .../accounts/dailyExpensesAnalysis/index.vue | 43 +++++++++++++- .../accounts/debitCardAnalysis/index.vue | 39 ++++++++++++- .../accounts/debitDealAnalysis/index.vue | 3 + .../accounts/investDealAnalysis/index.vue | 3 + .../statistic/accounts/posAnalysis/index.vue | 4 ++ .../statistic/accounts/posStatics/index.vue | 38 ++++++++++++- .../bill/creditBillAnalysis/index.vue | 3 + .../bill/creditInstallmentAnalysis/index.vue | 3 + .../index.vue | 3 + .../bill/creditRecordAnalysis/index.vue | 3 + .../statistic/bill/futuresAnalysis/index.vue | 3 + .../statistic/bill/investAnalysis/index.vue | 3 + .../bill/onlineLendAnalysis/index.vue | 3 + .../bill/onlineLendSettledAnalysis/index.vue | 3 + .../statistic/bill/stocksAnalysis/index.vue | 3 + .../accounts/investAccountDeal/addEdit.vue | 4 +- src/pages/work/index.vue | 2 +- 20 files changed, 215 insertions(+), 11 deletions(-) diff --git a/src/pages/statistic/accounts/accountDealAnalysis/index.vue b/src/pages/statistic/accounts/accountDealAnalysis/index.vue index 6390cde..9629f07 100644 --- a/src/pages/statistic/accounts/accountDealAnalysis/index.vue +++ b/src/pages/statistic/accounts/accountDealAnalysis/index.vue @@ -139,6 +139,9 @@
+ +
+
diff --git a/src/pages/statistic/accounts/accountsBalance/index.vue b/src/pages/statistic/accounts/accountsBalance/index.vue index 720ad4f..301f666 100644 --- a/src/pages/statistic/accounts/accountsBalance/index.vue +++ b/src/pages/statistic/accounts/accountsBalance/index.vue @@ -50,14 +50,31 @@ -
+ - +
+ + +
+ + :text="item.account+':'+item.availableLimit+' 元'" size="30rpx" color="#333333" > + + + + + + + + + + + + @@ -84,12 +101,18 @@ import {reactive ,toRefs,ref,computed }from "vue"; const pageNum = ref(1) const listData = ref([]) + const isShow = ref(false) const accountTypeList = ref([]) const settingPickShow = ref(false) const settingColumns = ref([]) const showAccount = ref(false) + const tabShow = ref(false) + const secondListData = ref([]) + const firstType = ref("primary") + const secondType = ref("default") + const accountsBalance = ref({ debetBalance: '', creditAvailableLimit: '', @@ -128,16 +151,30 @@ getAccountsAnalysis({...queryParams.value }).then(res => { accountsBalance.value = { ...res.data } listData.value = listData.value.concat(res.data.accountsBalancesList) + secondListData.value = secondListData.value.concat(res.data.creditBalancesList) }).catch(() => { }) } - function getDict() { + function getDict() { // 记账类型类型 getDicts('account_type').then(res => { accountTypeList.value =[res.data] }) } + + function btFirstClick() { + tabShow.value=false + firstType.value="primary" + secondType.value="default" + + } + function btSecondClick() { + secondType.value="primary" + firstType.value="default" + tabShow.value=true + + } function settingConfirm(e) { queryParams.value.settingId = e.value[0].settingId queryParams.value.settingName = e.value[0].settingName @@ -177,6 +214,18 @@