feat(违规记录): 新增整改和复查功能
- 在API层添加addSafetyInspectionReview和addSafetyInspectionRectification方法 - 在违规记录页面增加整改和复查操作按钮 - 新增处理对话框用于提交整改措施和复查情况
This commit is contained in:
@ -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
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user