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 @@