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 @@
- + - + @@ -85,15 +99,26 @@
+
+ + +添加规格类型 +
-
+ + {{ s.name }} +
-
+
{{ it2.name }} @@ -103,59 +128,21 @@
- + 添加
-
-
- - {{ it2.name }} - X - -
-
- - - 添加 - -
-
-
-
- - {{ it2.name }} - X - -
-
- - - 添加 - -
-
-
+ 刷新列表 - + + + + @@ -209,106 +203,203 @@