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