From f9de9ac69b12963345d939a2511e10293aaa86d7 Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期三, 10 八月 2022 10:54:17 +0800 Subject: [PATCH] 对接 --- 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