Browse Source

fix value card

tags/v1.1.30
刘嘉炜 3 years ago
parent
commit
9ec425b781
  1. 6
      src/components/order_list/value_card/value_card.vue
  2. 5
      src/pages/order_list/order_list.vue

6
src/components/order_list/value_card/value_card.vue

@ -39,10 +39,8 @@ export default {
methods: {
getStatus(status){
let _obj = {
0: '待激活',
1: '使用中',
2: '已失效',
3: '已退卡',
1: '已付款',
4: '已退卡',
}
return _obj[status] || '-'
},

5
src/pages/order_list/order_list.vue

@ -576,8 +576,9 @@
return [ {id: '', name: '全部'}, {id: 1, name: '已付款'}, {id: 2, name: '已完成'}, {id: 4, name: '已退款'}, ];
case 12: // tab ///退 [/0/1/4]
return [ {id: -1, name: '全部'}, {id: 0, name: '待付款'}, {id: 1, name: '进行中'}, {id: 2, name: '已结束'}, {id: 3, name: '已退款'}, ];
case 18: // 01使23退 ---> 20220725
return [ {id: '', name: '全部'}, {id: 0, name: '待激活'}, {id: 1, name: '使用中'}, {id: 2, name: '已失效'}, {id: 3, name: '已退卡'},];
case 18: // 01使23退 ---> 20220725 14退
// return [ {id: '', name: ''}, {id: 0, name: ''}, {id: 1, name: '使'}, {id: 2, name: ''}, {id: 3, name: '退'},];
return [ {id: '', name: '全部'}, {id: 1, name: '已付款'}, {id: 4, name: '已退款'},];
case 15: // ( 1,2,4 1 3 退 4 pay_status)
return [ {id: '1,2,4', name: '全部'}, {id: 1, name: '生效中'}, {id: 3, name: '已失效'}, {id: 4, name: '已退款'}];
case 16: // (status 1,2,4 1 2 退 4)

Loading…
Cancel
Save