diff --git a/.env.development b/.env.development index bee31c8..f492ddc 100644 --- a/.env.development +++ b/.env.development @@ -4,8 +4,8 @@ ENV = 'development' # http://mer.crmeb.net/admin # base api # www.shop.xyz -VUE_APP_BASE_API = 'http://zkx.tropjoin.com' -# VUE_APP_BASE_API = 'http://test.tropjoin.com' +# VUE_APP_BASE_API = 'http://zkx.tropjoin.com' +VUE_APP_BASE_API = 'http://test.tropjoin.com' # VUE_APP_BASE_API = 'https://api.tropjoin.com' # socket 连接地址 diff --git a/src/views/order/list/index.vue b/src/views/order/list/index.vue index 7f23a67..2f7d753 100644 --- a/src/views/order/list/index.vue +++ b/src/views/order/list/index.vue @@ -108,10 +108,10 @@ @change="getList(1), getCardList()" > @@ -386,9 +386,7 @@ @@ -584,18 +582,7 @@ export default { data: [], total: 0, }, - activity: [ - { name: "普通订单", type: 0 }, - // {name: "秒杀订单",type: 1}, - { name: "预售订单", type: 2 }, - // 51 特惠 52惠美 53双十一活动 54 全折扣 - { name: "特惠", type: 51 }, - { name: "惠美", type: 52 }, - { name: "双十一活动", type: 53 }, - { name: "全折扣", type: 54 }, - // {name: "助力订单",type: 3}, - // {name: "拼团订单",type: 4} - ], + activity: {}, listLoading: true, tableFrom: { order_sn: this.$route.query.order_sn ? this.$route.query.order_sn : "", @@ -928,6 +915,7 @@ export default { orderListApi(this.tableFrom) .then((res) => { this.tableData.data = res.data.list; + this.activity = res.data.activity_types; this.tableData.total = res.data.count; // this.cardLists = res.data.stat; this.listLoading = false;