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