|
|
@ -63,11 +63,7 @@ |
|
|
|
:allSchemas="InspectRequestMain.allSchemas" |
|
|
|
:detailAllSchemas="InspectRequestDetail.allSchemas" |
|
|
|
:detailAllSchemasRules="InspectRequestDetailRules" |
|
|
|
:apiCreate="InspectRequestDetailApi.createInspectRequestDetail" |
|
|
|
:apiUpdate="InspectRequestDetailApi.updateInspectRequestDetail" |
|
|
|
:apiPage="InspectRequestDetailApi.getInspectRequestDetailPage" |
|
|
|
:apiDelete="InspectRequestDetailApi.deleteInspectRequestDetail" |
|
|
|
:Echo="Echo" |
|
|
|
@searchTableSuccessDetail="searchTableSuccessDetail" |
|
|
|
/> |
|
|
|
|
|
|
@ -271,7 +267,7 @@ const handleSubmit = async (id: number) => { |
|
|
|
try { |
|
|
|
await message.confirm(t('common.confirmSubmit')) |
|
|
|
await InspectRequestMainApi.submitInspectRequestMain(id) |
|
|
|
message.success(t('common.closeSuccess')) |
|
|
|
message.success(t('common.submitSuccess')) |
|
|
|
await getList() |
|
|
|
} catch {} |
|
|
|
} |
|
|
|