|
|
@ -35,7 +35,8 @@ class ManageFunc {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static Future repairDispatch(DispatchReportModel model) async {
|
|
|
|
static Future repairDispatch(DispatchReportModel model) async {
|
|
|
|
BaseModel baseModel = await NetUtil().get(API.manage.repairDispatch, params:{
|
|
|
|
BaseModel baseModel =
|
|
|
|
|
|
|
|
await NetUtil().get(API.manage.repairDispatch, params: {
|
|
|
|
'dispatchListId': model.dispatchListId,
|
|
|
|
'dispatchListId': model.dispatchListId,
|
|
|
|
'workOrderType': model.workOrderTyoe,
|
|
|
|
'workOrderType': model.workOrderTyoe,
|
|
|
|
'workOrderTypeDetail': model.workOrderTypeDetail,
|
|
|
|
'workOrderTypeDetail': model.workOrderTypeDetail,
|
|
|
@ -46,4 +47,10 @@ class ManageFunc {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return baseModel;
|
|
|
|
return baseModel;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Future repairReassignment(int id, int operato) async {
|
|
|
|
|
|
|
|
BaseModel baseModel = await NetUtil().get(API.manage.repairReassignment,
|
|
|
|
|
|
|
|
params: {'dispatchListId': id, 'operator': operato});
|
|
|
|
|
|
|
|
return baseModel;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|