...
|
...
|
@@ -2,10 +2,10 @@ |
|
|
<LayoutApp>
|
|
|
<Tabs>
|
|
|
<template slot="panes">
|
|
|
<TabPane label="有货优惠券" disable="true">
|
|
|
<TabPane label="有货优惠券" :disable="true">
|
|
|
<YohoPage></YohoPage>
|
|
|
</TabPane>
|
|
|
<TabPane label="UFO优惠券" disable="false">
|
|
|
<TabPane label="UFO优惠券" :disable="true">
|
|
|
<UfoPage></UfoPage>
|
|
|
</TabPane>
|
|
|
</template>
|
...
|
...
|
@@ -27,19 +27,7 @@ export default { |
|
|
store.dispatch('coupon/yoho/fetchYohoList', {
|
|
|
type: TYPE.notuse,
|
|
|
refresh: true
|
|
|
}),
|
|
|
store.dispatch('coupon/yoho/fetchYohoList', {
|
|
|
type: TYPE.use,
|
|
|
refresh: true
|
|
|
}),
|
|
|
store.dispatch('coupon/yoho/fetchYohoList', {
|
|
|
type: TYPE.overtime,
|
|
|
refresh: true
|
|
|
}),
|
|
|
store.dispatch('coupon/yoho/fetchUfoList', {
|
|
|
limit: 100,
|
|
|
page: 1
|
|
|
}),
|
|
|
})
|
|
|
]);
|
|
|
},
|
|
|
components: {
|
...
|
...
|
|