From 00377bdc633b515102b9199adc7617b0d838e2c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=9F=91=E8=9E=82?= Date: Thu, 30 Apr 2026 03:02:49 +0800 Subject: [PATCH] =?UTF-8?q?refactor(shop-list):=20=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E6=8C=89=E9=92=AE'=E6=9F=A5=E7=9C=8B=E8=AF=A6=E6=83=85'?= =?UTF-8?q?=E6=94=B9=E4=B8=BA'=E6=9F=A5=E7=9C=8B=E6=A6=82=E8=A7=88'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/ecommerce/shop/list/index.vue | 24 ++++--------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/shop/list/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/shop/list/index.vue index e6a825d2..0f06496a 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/shop/list/index.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/shop/list/index.vue @@ -193,20 +193,6 @@ const [Grid, gridApi] = useVbenVxeGrid({ }); gridReloadRef.value = () => gridApi.reload(); - -// 加载平台选项 -async function fetchPlatformOptions() { - try { - const data = await getActivePlatformsApi(); - platformOptions.value = data.map((p: any) => ({ - label: p.platformName, - value: p.id, - })); - } catch (error) { - console.error('获取平台列表失败:', error); - } -} - // 刷新表格数据 function refreshTable() { if (gridApi) { @@ -241,8 +227,8 @@ function handleModalSuccess() { refreshTable(); } -// 处理查看详情 -function handleViewDetails(record: ShopVO.Info) { +// 处理查看概览 +function handleViewOverview(record: ShopVO.Info) { router.push(`/ecom/shop/overview/${record.id}`); } @@ -290,7 +276,7 @@ function handleViewDetails(record: ShopVO.Info) {