From 3b19d58f2794d97ebda563ac886a6a856029ed31 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Wed, 14 Jan 2026 15:31:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E8=BF=9B=E4=BB=B6=E6=9B=B4=E6=8D=A2?= =?UTF-8?q?=E4=B8=BA=E5=9C=A8=E5=BA=97=E9=93=BA=E7=AE=A1=E7=90=86=E5=BC=80?= =?UTF-8?q?=E5=A7=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shop/list/components/detailModal.vue | 82 ++++--- .../shop/list/components/payStatusCard.vue | 208 ++++++++++++++++++ src/views/shop/list/index.vue | 19 +- src/views/shop/list/pay_setting.vue | 127 +++++++++++ 4 files changed, 389 insertions(+), 47 deletions(-) create mode 100644 src/views/shop/list/components/payStatusCard.vue create mode 100644 src/views/shop/list/pay_setting.vue diff --git a/src/views/shop/list/components/detailModal.vue b/src/views/shop/list/components/detailModal.vue index da4a678..751a277 100644 --- a/src/views/shop/list/components/detailModal.vue +++ b/src/views/shop/list/components/detailModal.vue @@ -1,56 +1,52 @@ @@ -132,7 +133,7 @@ layout="total, sizes , prev, pager ,next, jumper " @current-change="paginationChange" /> - + @@ -145,6 +146,10 @@ import ShopApi from "@/api/account/shop"; import { ElNotification, ElMessageBox } from "element-plus"; import addShop from "./components/addShop.vue"; import detailModal from "./components/detailModal.vue"; +import { useRouter } from "vue-router"; + +const router = useRouter() + const refActivateCode = ref(null); function activateCodeShow(row) { refActivateCode.value.open(row); @@ -186,12 +191,18 @@ function dropdownClick(e, row) { console.log(e); console.log(row); if (e == 0) { - refAddShop.value.show({mainId:row.id,shopType:row.shopType,isHeadShop:0},'addBranch'); + refAddShop.value.show({ mainId: row.id, shopType: row.shopType, isHeadShop: 0 }, 'addBranch'); return; } if (e.command == 1) { - refDetailModal.value.show(e.row); + // refDetailModal.value.show(e.row); + router.push({ + name: 'pay_setting', + query: { + shopId: row.id + } + }) return; } if (e == 5) { diff --git a/src/views/shop/list/pay_setting.vue b/src/views/shop/list/pay_setting.vue new file mode 100644 index 0000000..1533d0a --- /dev/null +++ b/src/views/shop/list/pay_setting.vue @@ -0,0 +1,127 @@ + + + + + + \ No newline at end of file