Browse Source

fix order search

organize
刘嘉炜 3 years ago
parent
commit
6f821a38a1
  1. 8
      src/pages/order_search/order_search.vue

8
src/pages/order_search/order_search.vue

@ -31,6 +31,8 @@
<competition :order-info="e" v-if="orderType == 14"></competition>
<mall v-if="orderType == 2" :order-info="e"></mall>
<rent-and-sale v-if="orderType == 8" :order-info="e"></rent-and-sale>
<retail v-if="orderType == 19" :order-info="e"></retail>
<ym-card v-if="orderType == 20" :order-info="e"></ym-card>
</view>
</view>
</view>
@ -54,6 +56,8 @@ import rent_and_sale from '../../components/order_list/rent_and_sale/rent_and_sa
import mall from '../../components/order_list/mall/mall.vue';
import device from '../../components/order_list/device/device.vue'; // //
import competition from '../../components/order_list/competition/competition.vue'; //
import retail from '../../components/order_list/retail/retail.vue'; //
import ym_card from '../../components/order_list/ym_card/ym_card.vue'; //
import { API } from '../../js/api';
import { servers } from '../../js/server';
@ -78,6 +82,8 @@ export default {
'mall': mall,
'device': device,
'competition': competition,
'retail': retail,
'ym-card': ym_card,
},
computed: {
...mapState(['brandInfo']),
@ -137,6 +143,8 @@ export default {
if(type in deviceTypeObj())return API.hardwareOrderList; //
if(type == 14)return API.appointmentOrderList; //
if(type == 2)return API.shop2OrderList; //
if(type == 19)return API.retailOrderList; //
if(type == 20)return API.userMonthlyCardLs; // -
},
//
isDevice(){

Loading…
Cancel
Save