From 164991bf2ffd12511d79c72989011dffd71dff97 Mon Sep 17 00:00:00 2001 From: lewis <604446095@qq.com> Date: Mon, 14 Jul 2025 12:16:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=95=86=E5=93=81=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product_category.ts | 6 +- src/views/product_category/edit.vue | 218 +++++++++++------------ src/views/product_category/index.vue | 252 ++++++++++++--------------- 3 files changed, 215 insertions(+), 261 deletions(-) diff --git a/src/api/product_category.ts b/src/api/product_category.ts index 10dc2f3..3630c5f 100644 --- a/src/api/product_category.ts +++ b/src/api/product_category.ts @@ -23,4 +23,8 @@ export function apiProductCategoryDelete(params: any) { // 商品分类详情 export function apiProductCategoryDetail(params: any) { return request.get({ url: '/productCategory/detail', params }) -} \ No newline at end of file +} + +export function apiProductCategoryAll(params: any) { + return request.get({ url: '/productCategory/all', params }) +} diff --git a/src/views/product_category/edit.vue b/src/views/product_category/edit.vue index 2a22ac6..03e9201 100644 --- a/src/views/product_category/edit.vue +++ b/src/views/product_category/edit.vue @@ -1,116 +1,102 @@ - - - + + + \ No newline at end of file diff --git a/src/views/product_category/index.vue b/src/views/product_category/index.vue index 6235e90..5637900 100644 --- a/src/views/product_category/index.vue +++ b/src/views/product_category/index.vue @@ -1,144 +1,108 @@ - - - - + + + \ No newline at end of file