feat(违规记录): 新增整改和复查功能

- 在API层添加addSafetyInspectionReview和addSafetyInspectionRectification方法
- 在违规记录页面增加整改和复查操作按钮
- 新增处理对话框用于提交整改措施和复查情况
This commit is contained in:
tcy
2025-09-14 16:56:27 +08:00
parent 660fd34238
commit 357f34b316
2 changed files with 121 additions and 28 deletions

View File

@ -61,3 +61,23 @@ export const delViolationRecord = (id: string | number | Array<string | number>)
method: 'delete'
});
};
/**
* 新增违规记录复查
*/
export const addSafetyInspectionReview = (data: any) => {
return request({
url: '/safety/violationRecord/review',
method: 'post',
data: data
});
}
/**
* 新增违规记录整改
*/
export const addSafetyInspectionRectification = (data: any) => {
return request({
url: '/safety/violationRecord/rectification',
method: 'post',
data: data
});
}