diff --git a/src/api/modules/mer_admin.js b/src/api/modules/mer_admin.js index bbeb2d4..6fdfbce 100644 --- a/src/api/modules/mer_admin.js +++ b/src/api/modules/mer_admin.js @@ -51,6 +51,13 @@ export const mer_admin = { data ); }, + //商品分页 V2 + productV2Page: data => { + return $http.post( + `/merchant-api/product/v2/page?pageNumber=${data.p.pageNumber}&pageSize=${data.p.pageSize}`, + data + ); + }, //商品规格分页 getProductSpecificationPage: (data, params) => { return $http.request({ @@ -64,6 +71,18 @@ export const mer_admin = { getProductOverview: data => { return $http.post(`/merchant-api/product/overview`, data); }, + //商品概况 V2 + productV2Overview: data => { + return $http.post(`/merchant-api/product/v2/overview`, data); + }, + //商品详情 + productDetail: data => { + return $http.request({ + method: 'get', + url: '/merchant-api/product/detail', + params: data + }) + }, //商户商品分类 getProductCategory: data => { return $http.request({ diff --git a/src/views/modules/operation-management/commodity/index.vue b/src/views/modules/operation-management/commodity/index.vue index 854d9f6..ce6f2ba 100644 --- a/src/views/modules/operation-management/commodity/index.vue +++ b/src/views/modules/operation-management/commodity/index.vue @@ -1,155 +1,174 @@ - + + + @@ -198,46 +196,62 @@ {{ (pagination.pageNumber - 1) * pagination.pageSize + scope.$index + 1 }} - - - - - + + + + + + + + + + + + + + + - - - + + + + + + + + + @@ -251,7 +265,6 @@ :total="pagination.total" class="pagination-container" > -