From 1e410fb30eeeae36bf77693784ccd07936ff4bf2 Mon Sep 17 00:00:00 2001 From: woody Date: Tue, 22 Jul 2025 17:03:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(goodsList):=20=E7=A7=BB=E9=99=A4=E7=BD=AE?= =?UTF-8?q?=E9=A1=B6=E7=BD=AE=E5=BA=95=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product.js | 17 +---------- src/views/goodsManage/goodsList/index.vue | 37 +---------------------- 2 files changed, 2 insertions(+), 52 deletions(-) diff --git a/src/api/product.js b/src/api/product.js index b10db8b..c4cc128 100644 --- a/src/api/product.js +++ b/src/api/product.js @@ -467,22 +467,7 @@ export function waresMove(params) { params }) } -// 商品置顶 -export function waresTop(params) { - return request({ - url: '/sale/manage/wares/floating-roof', - method: 'get', - params - }) -} -// 商品置底 -export function waresBottom(params) { - return request({ - url: '/sale/manage/wares/botton-up', - method: 'get', - params - }) -} + // 邮费模板列表 export function postageList(params) { return request({ diff --git a/src/views/goodsManage/goodsList/index.vue b/src/views/goodsManage/goodsList/index.vue index 571f083..4802309 100644 --- a/src/views/goodsManage/goodsList/index.vue +++ b/src/views/goodsManage/goodsList/index.vue @@ -660,24 +660,7 @@ > {{ '下移' }} --> -
- {{ '置顶' }} -
-
- 置底 -
+ @@ -935,24 +918,6 @@ export default { this.getDataList() }) }, - topEdit(id) { - api - .waresTop({ - waresId: id - }) - .then((res) => { - this.getDataList() - }) - }, - topEdit1(id) { - api - .waresBottom({ - waresId: id - }) - .then((res) => { - this.getDataList() - }) - }, // 获取列表 getDataList() { this.loading = true