From 8102361689336dbe60b23b582f521bdd122b1535 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Tue, 21 Jan 2025 19:13:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B6=88=E8=B4=B9=E3=80=81=E9=80=80?= =?UTF-8?q?=E6=AC=BE=E3=80=81=E5=85=85=E5=80=BC=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wallet/wallet-cz/index.vue | 243 +++++++++++++------------ src/views/wallet/wallet-tk/index.vue | 261 ++++++++++++++------------- src/views/wallet/wallet-xf/index.vue | 251 ++++++++++++++------------ 3 files changed, 400 insertions(+), 355 deletions(-) diff --git a/src/views/wallet/wallet-cz/index.vue b/src/views/wallet/wallet-cz/index.vue index debab62..94b29cc 100644 --- a/src/views/wallet/wallet-cz/index.vue +++ b/src/views/wallet/wallet-cz/index.vue @@ -1,95 +1,112 @@ - - - - - - - - - - - - - - - - - {{ $t('common.queryBtn') }} - - - {{ $t('common.resetBtn') }} - - - - - - - - - - - - - - - - - - - - - - - {{ row.walletTypeName }} - - - - - - - - - {{ displayPrice(row.price) }} - - - - - {{ displayPrice(row.balance) }} - - - - - - 删除 - - - - - + + + + + + + + + + + + + + + + + {{ $t("common.queryBtn") }} + + + {{ $t("common.resetBtn") }} + + + + + + + + + + + + + + + + + + + + + + + {{ row.walletTypeName }} + + + + + + + + + {{ displayPrice(row.price) }} + + + + + {{ displayPrice(row.balance) }} + + + + + + 删除 + + + + + - - - - + + + \ No newline at end of file + try { + await delObjs(ids)`` + getDataList() + useMessage().success("删除成功") + } catch (err: any) { + useMessage().error(err.msg) + } +} + diff --git a/src/views/wallet/wallet-tk/index.vue b/src/views/wallet/wallet-tk/index.vue index 36a4985..c9e4b31 100644 --- a/src/views/wallet/wallet-tk/index.vue +++ b/src/views/wallet/wallet-tk/index.vue @@ -1,96 +1,119 @@ - - - - - - - - - - - - - - - - - {{ $t('common.queryBtn') }} - - - {{ $t('common.resetBtn') }} - - - - - - - - - - - - - - - - - - - - - - - {{ row.walletTypeName }} - - - - - - - - - {{ displayPrice(row.price) }} - - - - - - - 详情 - - 编辑 - 删除 - - - - - + + + + + + + + + + + + + + + + + {{ $t("common.queryBtn") }} + + + {{ $t("common.resetBtn") }} + + + + + + + + + + + + + + + + + + + + + + + {{ row.walletTypeName }} + + + + + + + + + {{ displayPrice(row.price) }} + + + + + + 详情 + 编辑 + 删除 + + + + + - - - - + + + \ No newline at end of file + try { + await delObjs(ids) + getDataList() + useMessage().success("删除成功") + } catch (err: any) { + useMessage().error(err.msg) + } +} + diff --git a/src/views/wallet/wallet-xf/index.vue b/src/views/wallet/wallet-xf/index.vue index edca1db..c157f54 100644 --- a/src/views/wallet/wallet-xf/index.vue +++ b/src/views/wallet/wallet-xf/index.vue @@ -1,97 +1,120 @@ - - - - - - - - - - - - - - - - - {{ $t('common.queryBtn') }} - - - {{ $t('common.resetBtn') }} - - - - - - - - - - - - - - - - - - - - - - - {{ row.walletTypeName }} - - - - - - - - - {{ displayPrice(row.price) }} - - - - - - - 详情 - - 编辑 - 删除 - - - - - + + + + + + + + + + + + + + + + + {{ $t("common.queryBtn") }} + + + {{ $t("common.resetBtn") }} + + + + + + + + + + + + + + + + + + + + + + + {{ row.walletTypeName }} + + + + + + + + + {{ displayPrice(row.price) }} + + + + + + 详情 + 编辑 + 删除 + + + + + - - - - + + + \ No newline at end of file + try { + await delObjs(ids) + getDataList() + useMessage().success("删除成功") + } catch (err: any) { + useMessage().error(err.msg) + } +} +