From 485e89eed73a37c78a4823f9e77bfcdbdaa01fe2 Mon Sep 17 00:00:00 2001
From: zhaojiale <631455805@qq.com>
Date: 星期三, 10 八月 2022 10:56:08 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/accidentManagementSystem/workInjuryDeclaration/index.vue             |    4 ++--
 src/views/accidentManagementSystem/workInjuryDeclaration/component/openAdd.vue |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/accidentManagementSystem/workInjuryDeclaration/component/openAdd.vue b/src/views/accidentManagementSystem/workInjuryDeclaration/component/openAdd.vue
index 2ef5b2a..945aa2e 100644
--- a/src/views/accidentManagementSystem/workInjuryDeclaration/component/openAdd.vue
+++ b/src/views/accidentManagementSystem/workInjuryDeclaration/component/openAdd.vue
@@ -411,6 +411,7 @@
 					}
 				});
 				formEl.resetFields();
+				delete ruleForm.value.id
 				ruleForm.value = {
 					declareUserName: '',
 					declareUserGender: '',
diff --git a/src/views/accidentManagementSystem/workInjuryDeclaration/index.vue b/src/views/accidentManagementSystem/workInjuryDeclaration/index.vue
index 3974a64..2f59a97 100644
--- a/src/views/accidentManagementSystem/workInjuryDeclaration/index.vue
+++ b/src/views/accidentManagementSystem/workInjuryDeclaration/index.vue
@@ -168,7 +168,7 @@
 		onMounted(() => {
 			listApi();
 		});
-        const accidentName=ref()
+		const accidentName = ref();
 		// 重置
 		const submitReset = () => {
 			listQuery.searchParams.accidentExpressId = '';
@@ -302,7 +302,7 @@
 			listQuery.pageIndex = val;
 		};
 		return {
-            accidentName,
+			accidentName,
 			daiInpt,
 			showRef,
 			upButton,

--
Gitblit v1.9.2