import $http from '../index'
// 列表 === 维修工单
export const RepairWorkOrder_List = (params: any) => $http.post('/storage/RepairWorkOrder/List', params)

// 用户列表
export const RepairWorkOrder_User_List = (params: any) => $http.post('/storage/RepairWorkOrder/User_List', params)

// 下发工单
export const RepairWorkOrder_Add = (params: any) => $http.post('/storage/RepairWorkOrder/Add', params)

// 修改工单
export const RepairWorkOrder_Edit = (params: any) => $http.post('/storage/RepairWorkOrder/Edit', params)

// 删除维修工单
export const RepairWorkOrder_Del = (params: any) => $http.post('/storage/RepairWorkOrder/Del', params)

// 归还
export const RepairWorkOrder_Return = (params: any) => $http.post('/storage/RepairWorkOrder/Return', params)

// 转派
export const RepairWorkOrder_Redeploy = (params: any) => $http.post('/storage/RepairWorkOrder/Redeploy', params)

// 开始维修
export const RepairWorkOrder_Start_Repair = (params: any) => $http.post('/storage/RepairWorkOrder/Start_Repair', params)

// 完结
export const RepairWorkOrder_Finish = (params: any) => $http.post('/storage/RepairWorkOrder/Finish', params)

