From 317fbb93b116f5141fa0d9ff428799a405704de0 Mon Sep 17 00:00:00 2001 From: DaxPay Date: Thu, 5 Dec 2024 20:55:12 +0800 Subject: [PATCH] =?UTF-8?q?refactor(daxpay):=20=E9=87=8D=E6=9E=84=E5=88=86?= =?UTF-8?q?=E8=B4=A6=E9=85=8D=E7=BD=AE=E7=95=8C=E9=9D=A2,=20=E5=A4=9A?= =?UTF-8?q?=E9=A1=B9=E9=85=8D=E7=BD=AE=E5=90=88=E5=B9=B6=E4=B8=BA=E6=89=80?= =?UTF-8?q?tabs=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../allocation/AllocationConfigModel.vue | 49 ++++++ .../allocation/group/AllocationGroupList.vue | 150 ++++++++---------- .../receiver/AllocationReceiverList.vue | 114 ++++++------- .../daxpay/common/merchant/app/MchAppList.vue | 31 +--- 4 files changed, 174 insertions(+), 170 deletions(-) create mode 100644 src/views/daxpay/common/allocation/AllocationConfigModel.vue diff --git a/src/views/daxpay/common/allocation/AllocationConfigModel.vue b/src/views/daxpay/common/allocation/AllocationConfigModel.vue new file mode 100644 index 000000000..192f4ada1 --- /dev/null +++ b/src/views/daxpay/common/allocation/AllocationConfigModel.vue @@ -0,0 +1,49 @@ + + + + + diff --git a/src/views/daxpay/common/allocation/group/AllocationGroupList.vue b/src/views/daxpay/common/allocation/group/AllocationGroupList.vue index 19aad6aa5..371618e9b 100644 --- a/src/views/daxpay/common/allocation/group/AllocationGroupList.vue +++ b/src/views/daxpay/common/allocation/group/AllocationGroupList.vue @@ -1,14 +1,6 @@ - - - - - - - - - - - - - - - - - - - - +
+ + + + + + + + + + + + + + + + + + + + +
- + diff --git a/src/views/daxpay/common/allocation/receiver/AllocationReceiverList.vue b/src/views/daxpay/common/allocation/receiver/AllocationReceiverList.vue index 4f053c445..071596fc6 100644 --- a/src/views/daxpay/common/allocation/receiver/AllocationReceiverList.vue +++ b/src/views/daxpay/common/allocation/receiver/AllocationReceiverList.vue @@ -1,14 +1,6 @@ - - - - - - - - - - - - - - - - - - - - +
+ + + + + + + + + + + + + + + + + + + + +
- + diff --git a/src/views/daxpay/common/merchant/app/MchAppList.vue b/src/views/daxpay/common/merchant/app/MchAppList.vue index d2600bb23..f40be7a76 100644 --- a/src/views/daxpay/common/merchant/app/MchAppList.vue +++ b/src/views/daxpay/common/merchant/app/MchAppList.vue @@ -67,14 +67,8 @@ 码牌配置 - - - - 分账接收方 - - - 分账组 + 分账配置 删除应用 @@ -99,8 +93,7 @@ - - + @@ -120,10 +113,9 @@ import ChannelConfigList from '@/views/daxpay/common/merchant/channel/ChannelConfigList.vue' import MerchantNotifyConfigList from '@/views/daxpay/common/merchant/notify/MerchantNotifyConfigList.vue' import Icon from '@/components/Icon/Icon.vue' - import AllocationReceiverList from '@/views/daxpay/common/allocation/receiver/AllocationReceiverList.vue' - import AllocationGroupList from '@/views/daxpay/common/allocation/group/AllocationGroupList.vue' import CashierCodeConfigList from '@/views/daxpay/common/config/cashier/code/CashierCodeConfigList.vue' import CheckoutConfigModel from '@/views/daxpay/common/config/checkout/CheckoutConfigModel.vue' + import AllocationConfigModel from '@/views/daxpay/common/allocation/AllocationConfigModel.vue' // 使用hooks const { @@ -152,8 +144,7 @@ const merchantNotifyConfigList = ref() const cashierCodeConfigList = ref() const checkoutConfigModel = ref() - const allocationReceiverList = ref() - const allocationGroupList = ref() + const allocationConfigModel = ref() onMounted(() => { vxeBind() @@ -222,19 +213,7 @@ * 分账配置 */ function showAllocConfig(record) { - createMessage.warn('暂未开放') - } - /** - * 分账接收方 - */ - function showAllocReceiver(record) { - allocationReceiverList.value.init(record.appId) - } - /** - * 分账组 - */ - function showAllocGroup(record) { - allocationGroupList.value.init(record.appId) + allocationConfigModel.value.init(record.appId) } /** * 删除