From a0c8a118c5cc4e4def4e42e1f1ae2567318d81bd Mon Sep 17 00:00:00 2001 From: zhh Date: Thu, 24 May 2018 11:18:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AD=9B=E9=80=89=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/productAttrCate.js | 6 ++ src/router/index.js | 3 +- .../components/ProductCateDetail.vue | 55 ++++++++++--------- 3 files changed, 38 insertions(+), 26 deletions(-) diff --git a/src/api/productAttrCate.js b/src/api/productAttrCate.js index 1d7043b..587630c 100644 --- a/src/api/productAttrCate.js +++ b/src/api/productAttrCate.js @@ -29,3 +29,9 @@ export function updateProductAttrCate(id,data) { data:data }) } +export function fetchListWithAttr() { + return request({ + url:'/productAttribute/category/list/withAttr', + method:'get' + }) +} diff --git a/src/router/index.js b/src/router/index.js index 217ebd7..48b85bd 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -60,7 +60,8 @@ export const constantRouterMap = [ path: 'productComment', name: 'productComment', component: () => import('@/views/pms/product/index'), - meta: {title: '商品评价', icon: 'product-comment'} + meta: {title: '商品评价', icon: 'product-comment'}, + hidden:true }, { path: 'productCate', diff --git a/src/views/pms/productCate/components/ProductCateDetail.vue b/src/views/pms/productCate/components/ProductCateDetail.vue index 122511c..08381b8 100644 --- a/src/views/pms/productCate/components/ProductCateDetail.vue +++ b/src/views/pms/productCate/components/ProductCateDetail.vue @@ -46,8 +46,7 @@ + :options="filterAttrs"> 删除 @@ -70,8 +69,8 @@