feat(安全巡检): 新增工单复查和整改功能
- 添加安全巡检工单复查和整改的API接口 - 在工单列表页添加复查和整改按钮 - 实现复查和整改的对话框表单及提交逻辑
This commit is contained in:
@ -61,3 +61,26 @@ export const delSafetyInspection = (id: string | number | Array<string | number>
|
||||
method: 'delete'
|
||||
});
|
||||
};
|
||||
/**
|
||||
*
|
||||
* 新增安全巡检工单复查
|
||||
* @param data
|
||||
*/
|
||||
export const addSafetyInspectionReview = (data: any) => {
|
||||
return request({
|
||||
url: '/safety/safetyInspection/review',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 新增安全巡检工单整改
|
||||
* @param data
|
||||
*/
|
||||
export const addSafetyInspectionRectification = (data: any) => {
|
||||
return request({
|
||||
url: '/safety/safetyInspection/rectification',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user