From c2463c02a17f92df55ec77ed2da3fb724290c072 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 17:34:30 +0800
Subject: [PATCH] fix: bug
---
apps/cMiniApp/src/subpackages/wallet/incomeDetail/InnerPage.vue | 34 +++++++++++++++++++---------------
1 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/apps/cMiniApp/src/subpackages/wallet/incomeDetail/InnerPage.vue b/apps/cMiniApp/src/subpackages/wallet/incomeDetail/InnerPage.vue
index 68bd0c0..e6666dc 100644
--- a/apps/cMiniApp/src/subpackages/wallet/incomeDetail/InnerPage.vue
+++ b/apps/cMiniApp/src/subpackages/wallet/incomeDetail/InnerPage.vue
@@ -1,5 +1,5 @@
<template>
- <ProTabs
+ <!-- <ProTabs
v-model="queryState.type"
name="home-tab"
:showPaneContent="false"
@@ -11,7 +11,7 @@
<ProTabPane :title="`鍏ㄩ儴`" :pane-key="0"></ProTabPane>
<ProTabPane :title="`鏀跺叆`" :pane-key="EnumUserWalletTransactionType.Income"></ProTabPane>
<ProTabPane :title="`鎻愮幇`" :pane-key="EnumUserWalletTransactionType.Withdraw"></ProTabPane>
- </ProTabs>
+ </ProTabs> -->
<List>
<IncomeDetailListItem :item="`鏀跺叆锛氾骏${toThousand(sumIncome)} `">
<template #title>
@@ -87,10 +87,11 @@
page: pageParam,
orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }],
},
+ type: EnumUserWalletTransactionType.Income,
};
- if (Number(queryState.type)) {
- params.type = queryState.type;
- }
+ // if (Number(queryState.type)) {
+ // params.type = queryState.type;
+ // }
if (queryState.month) {
params.createdTimeStart = dayjs(queryState.month).startOf('month').format('YYYY-MM-DD');
params.createdTimeEnd = dayjs(queryState.month).endOf('month').format('YYYY-MM-DD');
@@ -105,16 +106,19 @@
);
function goIncomeDetailInfo(row: API.GetPersonalUserTransactionsQueryResultItem) {
- if (row.type === EnumUserWalletTransactionType.Income) {
- Taro.navigateTo({
- url: `${RouterPath.incomeDetailInfo}?id=${row.id}`,
- });
- }
- if (row.type === EnumUserWalletTransactionType.Withdraw) {
- Taro.navigateTo({
- url: `${RouterPath.withdrawDetailInfo}?id=${row.id}`,
- });
- }
+ Taro.navigateTo({
+ url: `${RouterPath.incomeDetailInfo}?id=${row.id}`,
+ });
+ // if (row.type === EnumUserWalletTransactionType.Income) {
+ // Taro.navigateTo({
+ // url: `${RouterPath.incomeDetailInfo}?id=${row.id}`,
+ // });
+ // }
+ // if (row.type === EnumUserWalletTransactionType.Withdraw) {
+ // Taro.navigateTo({
+ // url: `${RouterPath.withdrawDetailInfo}?id=${row.id}`,
+ // });
+ // }
}
</script>
--
Gitblit v1.9.1