|
@@ -5,6 +5,7 @@ import {apiReportPdf} from '@/api/report'
|
|
|
import { ElMessage } from 'element-plus'
|
|
|
|
|
|
const show = defineModel('show', { type: Boolean, default: false })
|
|
|
+const emits=defineEmits(['success'])
|
|
|
|
|
|
const props=defineProps({
|
|
|
defaultData:{
|
|
@@ -70,6 +71,7 @@ async function onSubmit() {
|
|
|
if(res.Ret===200){
|
|
|
ElMessage.success('保存成功')
|
|
|
show.value=false
|
|
|
+ emits('success')
|
|
|
}
|
|
|
|
|
|
}
|