From 0065d87453f07f63ec6b4f0a818b65ca07905f45 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期三, 10 八月 2022 14:17:15 +0800
Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/gtqtOut

---
 src/views/accidentManagementSystem/workInjuryDeclaration/component/accidentName.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/views/accidentManagementSystem/workInjuryDeclaration/component/accidentName.vue b/src/views/accidentManagementSystem/workInjuryDeclaration/component/accidentName.vue
index 603be72..86cd9a6 100644
--- a/src/views/accidentManagementSystem/workInjuryDeclaration/component/accidentName.vue
+++ b/src/views/accidentManagementSystem/workInjuryDeclaration/component/accidentName.vue
@@ -85,7 +85,7 @@
 			</el-row>
 			<template #footer>
 				<span class="dialog-footer">
-					<el-button @click="handleClose()" size="default">关闭</el-button>
+					<el-button @click="closeDialog()" size="default">关闭</el-button>
 					<el-button type="primary" @click="submitForm" size="default">确定</el-button>
 				</span>
 			</template>
@@ -162,6 +162,10 @@
 		};
 		// 右方点击添加后显示标签
 		const dynamicTags = ref([]);
+		const closeDialog=()=>{
+			dialogVisible.value = false
+			handleClose()
+		};
 		const handleClose = () => {
 			dynamicTags.value = [];
 			radio1.value = '';
@@ -197,6 +201,7 @@
 			checkedItem,
 			submitReset,
 			submitForm,
+			closeDialog
 		};
 	},
 });

--
Gitblit v1.9.2