From 528be26be68501c05fc0e2540d45035d4ce8df86 Mon Sep 17 00:00:00 2001 From: BabyBoy <2019108827@qq.com> Date: Thu, 21 Aug 2025 15:33:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/pms/productCategory.js | 6 +- src/layout/components/Navbar.vue | 4 +- src/views/pms/product/AddProduct.vue | 402 +++++++++++++++--------- src/views/pms/product/index.vue | 34 +- src/views/pms/productCategory/index.vue | 51 +-- src/views/system/category/index.vue | 5 +- 6 files changed, 316 insertions(+), 186 deletions(-) diff --git a/src/api/pms/productCategory.js b/src/api/pms/productCategory.js index 83f5598..d21717e 100644 --- a/src/api/pms/productCategory.js +++ b/src/api/pms/productCategory.js @@ -3,10 +3,10 @@ import request from '@/utils/request'; // 查询商品分类列表 export function listPmsProductCategory(query, pageReq) { return request({ - url: '/app/productCategory/page', + url: '/pms/product/category/tree', method: 'post', - data: query, - params: pageReq + data: query + // params: pageReq }); } diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index e27f598..9d1f086 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -6,7 +6,7 @@