From 9b918f8c3d7a9211d45bae93d81a6ff2dd6c23f4 Mon Sep 17 00:00:00 2001 From: ronger Date: Fri, 22 Dec 2023 09:44:05 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat(components):=20=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E7=9B=98=E7=95=8C=E9=9D=A2=E4=B8=8B=E6=9E=B6=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/admin/dashboard.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/admin/dashboard.vue b/pages/admin/dashboard.vue index 71a331d..fc3dec2 100644 --- a/pages/admin/dashboard.vue +++ b/pages/admin/dashboard.vue @@ -71,9 +71,9 @@ 编辑标签 下架 + @click="toggleStatus(scope.row.idArticle, 1)" plain>下架 - 上架 + 上架 From ea3b66847514a0ca21c66242373631d7a86bc0d8 Mon Sep 17 00:00:00 2001 From: ronger Date: Fri, 16 Feb 2024 14:23:44 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat(components):=20=E4=BA=A7=E5=93=81?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E7=BC=96=E8=BE=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/admin/product/post/_product_id.vue | 439 +++++++++++++++++++++++ pages/admin/products.vue | 6 +- 2 files changed, 444 insertions(+), 1 deletion(-) create mode 100644 pages/admin/product/post/_product_id.vue diff --git a/pages/admin/product/post/_product_id.vue b/pages/admin/product/post/_product_id.vue new file mode 100644 index 0000000..2427d0b --- /dev/null +++ b/pages/admin/product/post/_product_id.vue @@ -0,0 +1,439 @@ + + + + + diff --git a/pages/admin/products.vue b/pages/admin/products.vue index 9cf9fa6..f94ae64 100644 --- a/pages/admin/products.vue +++ b/pages/admin/products.vue @@ -155,7 +155,11 @@ export default { rows: _ts.products.pageSize }) }, - handleEdit(index ,row) {} + handleEdit(index ,row) { + this.$router.push({ + path: `/admin/product/post/${row.idProduct}` + }) + } } }