diff --git a/src/api/product.js b/src/api/product.js index ce922ca..8aa084c 100644 --- a/src/api/product.js +++ b/src/api/product.js @@ -517,3 +517,22 @@ export function specsDeteleApi(id) { export function merSpecsList(data) { return request.get(`store/params/temp/merlst`, data) } + +/** 转售管理参数模板 -- 列表 */ +export function resaleList(data) { + return request.get(`product/resale/lst`, data) +} +/** 转售管理参数模板 -- 详情 */ +export function resaleDetail(id) { + return request.get(`product/resale/detail/${id}`) +} + +/** 转售管理参数模板 -- 是否显示 */ +export function resaleShow(id, status) { + return request.post(`product/resale/show/${id}`, {status}) +} + +/** 转售管理参数模板 -- 审核 */ +export function resaleStatus(id, data) { + return request.post(`product/resale/status/${id}`, data) +} diff --git a/src/router/modules/product.js b/src/router/modules/product.js index 954975a..b2a0ee3 100644 --- a/src/router/modules/product.js +++ b/src/router/modules/product.js @@ -131,7 +131,17 @@ const productRouter = noCache: true }, component: () => import('@/views/product/productGuarantee/index.vue') + }, + { + path: 'resale', + name: 'ProductResale', + meta: { + title: '转售管理', + noCache: true + }, + component: () => import('@/views/product/ProductResale/index.vue') } + ] } diff --git a/src/views/product/ProductResale/index.vue b/src/views/product/ProductResale/index.vue new file mode 100644 index 0000000..414a7e3 --- /dev/null +++ b/src/views/product/ProductResale/index.vue @@ -0,0 +1,335 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.category && scope.row.category.cate_name || '暂无' }} + + + + + + + + + + + + {{ scope.row.status | communityStatus }} + 原因 {{ scope.row.refusal }} + + + + + + 详情 + 审核 + + + + + + + + + + + + + + + + + + + + + 您的浏览器不支持 video 标签。 + + + + + + {{formData.topic.topic_name}} + + + + {{formData.author && formData.author.nickname}} + + + {{formData.author && formData.author.uid}} + + + {{formData.create_time}} + + + + + 通过 + 拒绝 + + + + + + + 提交 + + + + + + + + + + + \ No newline at end of file