...
|
...
|
@@ -95,8 +95,10 @@ export default { |
|
|
|
|
|
// 获取订单数据
|
|
|
asyncData({ store, router }) {
|
|
|
const { status } = router.params;
|
|
|
const { owner, status } = router.params;
|
|
|
|
|
|
store.commit(`${STORE_PATH}/resetData`);
|
|
|
store.commit(`${STORE_PATH}/setOrderStatus`, status);
|
|
|
store.commit(`${STORE_PATH}/setRouteParamStatus`, status);
|
|
|
return store.dispatch(`${STORE_PATH}/fetchOrderList`, router.params);
|
|
|
},
|
...
|
...
|
|