周沫沫历险记
2 years ago
5 changed files with 48 additions and 12 deletions
@ -1,13 +1,13 @@ |
|||||
'use strict'; |
'use strict'; |
||||
import { RouteTable, RouteRequest, ApiTable, basicAction } from '$utils' |
import { RouteTable, RouteRequest, ApiTable, basicAction } from '$utils'; |
||||
|
|
||||
export function getReserveItemReport(type) { |
export function getReserveItemReport(type) { |
||||
return dispatch => basicAction({ |
return dispatch => basicAction({ |
||||
type: 'get', |
type: 'get', |
||||
dispatch: dispatch, |
dispatch: dispatch, |
||||
actionType: 'GET_RESERVEITEM_REPORT', |
actionType: 'GET_RESERVEITEM_REPORT', |
||||
url: `${ApiTable.getReserveItemReport.replace('{type}', type)}`, |
url: `${ApiTable.getReserveItemReport.replace('{type}', type)}?token=9c62cd15-967f-42dc-a2fd-f79411dfad55`, |
||||
msg: { error: '获取储备项目统计信息失败' }, |
msg: { error: '获取储备项目统计信息失败' }, |
||||
reducer: { name: 'reserveItemReport' } |
reducer: { name: 'reserveItemReport' } |
||||
}); |
}); |
||||
} |
} |
Loading…
Reference in new issue