From f454b8da87c84973e0dcc1a740320612fd53ba1c Mon Sep 17 00:00:00 2001 From: jia <1451658316@qq.com> Date: Thu, 10 Aug 2023 15:25:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E7=B1=BB=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/ProductResale/index.vue | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/src/views/product/ProductResale/index.vue b/src/views/product/ProductResale/index.vue index 414a7e3..cf81f46 100644 --- a/src/views/product/ProductResale/index.vue +++ b/src/views/product/ProductResale/index.vue @@ -139,10 +139,7 @@ // +---------------------------------------------------------------------- // | Author: CRMEB Team // +---------------------------------------------------------------------- -import { - communityAuditApi, communityDetailApi, - communityCateOptionApi, -} from '@/api/community' + import { resaleList, resaleShow, resaleStatus, resaleDetail } from '@/api/product' export default { name: 'communityTopic', @@ -173,7 +170,7 @@ export default { { label: "下架", value: -2 }, ], - cateSelect: [], + cateSelect:[{value:1, label: "调货"}, {value: 2, label: "打折"}], topicSelect: [], dialogVisible: false, loading: false, @@ -196,21 +193,11 @@ export default { }, mounted() { this.getList(1) - this.getCateSelect() + }, methods: { - // 分类列表; - getCateSelect() { - communityCateOptionApi() - .then((res) => { - this.cateSelect = res.data; - }) - .catch((res) => { - this.$message.error(res.message); - }); - }, // 列表