feat(安全巡检): 新增工单复查和整改功能

- 添加安全巡检工单复查和整改的API接口
- 在工单列表页添加复查和整改按钮
- 实现复查和整改的对话框表单及提交逻辑
This commit is contained in:
tcy
2025-09-14 16:04:09 +08:00
parent afa1a2b384
commit 660fd34238
2 changed files with 101 additions and 2 deletions

View File

@ -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
});
}