刷新导检单
This commit is contained in:
@@ -367,6 +367,8 @@ export type TongyishuSignSubmitResponse = CommonActionResult<OutputTongyishuSign
|
||||
export interface InputDaojiandanInfo {
|
||||
/** 体检ID */
|
||||
exam_id: number;
|
||||
/** 是否重新生成导检单 默认0(0-不重新生成 1-重新生成) */
|
||||
is_regen?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -561,6 +561,13 @@ export const ExamSignPanel = ({ examId, onBusyChange }: ExamSignPanelProps) => {
|
||||
combination_code_ids: combinationCodeIds,
|
||||
});
|
||||
if (res.Status === 200 && res.Data?.is_success === 1) {
|
||||
|
||||
// 重新生成导检单
|
||||
await getDaojiandanPdf({
|
||||
exam_id: examId,
|
||||
is_regen: 1,
|
||||
});
|
||||
|
||||
setOptionalConfirmed(true);
|
||||
optionalConfirmedRef.current = true;
|
||||
setShowOptionalConfirmTip(false);
|
||||
|
||||
Reference in New Issue
Block a user