diff --git a/src/components.d.ts b/src/components.d.ts index fde4221..185943b 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -29,7 +29,6 @@ CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] - copy: typeof import('./components/Approval/ApprovalDialogCustom copy.vue')['default'] CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] diff --git a/src/components.d.ts b/src/components.d.ts index fde4221..185943b 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -29,7 +29,6 @@ CertificationMonitor: typeof import('./components/Sample/certificationMonitor.vue')['default'] CertificationRecords: typeof import('./components/Sample/certificationRecords.vue')['default'] ConditionDrawer: typeof import('./components/drawer/conditionDrawer.vue')['default'] - copy: typeof import('./components/Approval/ApprovalDialogCustom copy.vue')['default'] CopyerDrawer: typeof import('./components/drawer/copyerDrawer.vue')['default'] Copyright: typeof import('./components/Copyright/index.vue')['default'] DeptSelect: typeof import('./components/DeptSelect/index.vue')['default'] diff --git a/src/views/business/lab/measureData/measureDataDetail.vue b/src/views/business/lab/measureData/measureDataDetail.vue index 2c1971d..87b6718 100644 --- a/src/views/business/lab/measureData/measureDataDetail.vue +++ b/src/views/business/lab/measureData/measureDataDetail.vue @@ -622,7 +622,7 @@ } // 获取详情信息 -async function getDetail(type: 'cert' | 'history', id?: string, certificateReportCode?: string) { +async function getDetail(type = 'cert', id?: string, certificateReportCode?: string) { const loading = ElLoading.service({ lock: true, background: 'rgba(255, 255, 255, 0.8)', @@ -731,6 +731,7 @@ form.value.certificateReportName = res.data.data.certificateReportName handleUpdateSample() ElMessage.success('保存成功') + getDetail() loading.close() }).catch(() => { loading.close() @@ -759,6 +760,8 @@ handleUpdateSample() submitId.value = res.data ElMessage.success('保存成功') + getDetail() + loading.close() }).catch(() => { loading.close()