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); - }); - }, // 列表