|
|
@@ -30,6 +30,12 @@ export interface S8ExceptionRow {
|
|
|
closedAt?: string | null;
|
|
|
activeFlowInstanceId?: number | null;
|
|
|
activeFlowBizType?: string | null;
|
|
|
+ verifierId?: number | null;
|
|
|
+ verifierName?: string | null;
|
|
|
+ verificationAssignedAt?: string | null;
|
|
|
+ verifiedAt?: string | null;
|
|
|
+ verificationResult?: string | null;
|
|
|
+ verificationRemark?: string | null;
|
|
|
}
|
|
|
|
|
|
export interface S8DecisionRow {
|
|
|
@@ -76,4 +82,10 @@ export const s8ExceptionApi = {
|
|
|
service.post(`/api/aidop/s8/exceptions/${id}/close`, body ?? {}).then(unwrap),
|
|
|
comment: (id: number, body?: { remark?: string }) =>
|
|
|
service.post(`/api/aidop/s8/exceptions/${id}/comment`, body ?? {}).then(unwrap),
|
|
|
+ submitVerification: (id: number, body: { verifierId: number; remark?: string }, currentUserId: number) =>
|
|
|
+ service.post(`/api/aidop/s8/exceptions/${id}/submit-verification?currentUserId=${currentUserId}`, body).then(unwrap),
|
|
|
+ approveVerification: (id: number, body: { remark?: string }, currentUserId: number) =>
|
|
|
+ service.post(`/api/aidop/s8/exceptions/${id}/approve-verification?currentUserId=${currentUserId}`, body).then(unwrap),
|
|
|
+ rejectVerification: (id: number, body: { remark: string }, currentUserId: number) =>
|
|
|
+ service.post(`/api/aidop/s8/exceptions/${id}/reject-verification?currentUserId=${currentUserId}`, body).then(unwrap),
|
|
|
};
|