diff --git a/src/api/product.js b/src/api/product.js index 50a6b6bb1..d38fedf09 100644 --- a/src/api/product.js +++ b/src/api/product.js @@ -6,3 +6,36 @@ export function fetchList(params) { params:params }) } + +export function updateDeleteStatus(params) { + return request({ + url:'/product/update/deleteStatus', + method:'post', + params:params + }) +} + +export function updateNewStatus(params) { + return request({ + url:'/product/update/newStatus', + method:'post', + params:params + }) +} + +export function updateRecommendStatus(params) { + return request({ + url:'/product/update/recommendStatus', + method:'post', + params:params + }) +} + +export function updatePublishStatus(params) { + return request({ + url:'/product/update/publishStatus', + method:'post', + params:params + }) +} + diff --git a/src/api/productCate.js b/src/api/productCate.js index 5280251d6..9643165c4 100644 --- a/src/api/productCate.js +++ b/src/api/productCate.js @@ -51,3 +51,10 @@ export function updateNavStatus(data) { data:data }) } + +export function fetchListWithChildren() { + return request({ + url:'/productCategory/list/withChildren', + method:'get' + }) +} diff --git a/src/router/index.js b/src/router/index.js index 48b85bd73..bce8c293e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -54,7 +54,8 @@ export const constantRouterMap = [ path: 'productRecycle', name: 'productRecycle', component: () => import('@/views/pms/product/index'), - meta: {title: '商品回收站', icon: 'product-recycle'} + meta: {title: '商品回收站', icon: 'product-recycle'}, + hidden:true }, { path: 'productComment', diff --git a/src/views/pms/brand/index.vue b/src/views/pms/brand/index.vue index 2028b4a42..85b1bf91a 100644 --- a/src/views/pms/brand/index.vue +++ b/src/views/pms/brand/index.vue @@ -2,8 +2,8 @@
- - 筛选搜索 + + 筛选搜索
-
- 输入搜索: - +
+ + + + +
diff --git a/src/views/pms/product/index.vue b/src/views/pms/product/index.vue index 1a042bb89..bca07198b 100644 --- a/src/views/pms/product/index.vue +++ b/src/views/pms/product/index.vue @@ -2,8 +2,8 @@
- - 筛选搜索 + + 筛选搜索 查询结果 + + 重置 +
-
- +
+ - + + + + - - - - + + -
- + {{scope.row.verifyStatus | verifyStatusFilter}}

审核详情

@@ -153,17 +158,17 @@

查看 + @click="handleShowProduct(scope.$index, scope.row)">查看 编辑 + @click="handleEdit(scope.$index, scope.row)">编辑

日志 + @click="handleShowLog(scope.$index, scope.row)">日志