From f26e5679eaacdf0cb70abf5f2b940fcb686df4c1 Mon Sep 17 00:00:00 2001
From: 13937891274 <kxc0822>
Date: Thu, 11 Aug 2022 10:06:24 +0800
Subject: [PATCH] 新增目标考核弹窗
---
src/views/accidentManagementSystem/workInjuryDeclaration/component/openAdd.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/views/accidentManagementSystem/workInjuryDeclaration/component/openAdd.vue b/src/views/accidentManagementSystem/workInjuryDeclaration/component/openAdd.vue
index 524521f..9cad19d 100644
--- a/src/views/accidentManagementSystem/workInjuryDeclaration/component/openAdd.vue
+++ b/src/views/accidentManagementSystem/workInjuryDeclaration/component/openAdd.vue
@@ -133,7 +133,7 @@
import AccidentName from '/@/views/accidentManagementSystem/workInjuryDeclaration/component/accidentName.vue';
import RegionsDialog from '/@/components/regionsDialog/index.vue';
import uploaderImg from '/@/components/uploaderImg/index.vue';
-import { emergencySuppliesApi } from '/@/api/emergencyResources';
+import { emergencySuppliesApi } from '/@/api/contingencyManagement/emergencyResources';
import { accidentManagementSystemApi } from '/@/api/workInjuryDeclaration';
import { goalManagementApi } from '/@/api/goalManagement';
@@ -351,6 +351,10 @@
await formEl.validate((valid, fields) => {
if (valid) {
isShowDialog.value = false;
+ ruleForm.value.fileList=[]
+ delete ruleForm.value.accidentName
+ delete ruleForm.value.occurrenceTime
+ delete ruleForm.value.id
accidentManagementSystemApi()
.workAdd(ruleForm.value)
.then((res) => {
@@ -380,6 +384,9 @@
await formEl.validate((valid, fields) => {
if (valid) {
isShowDialog.value = false;
+ ruleForm.value.fileList=[]
+ delete ruleForm.value.accidentName
+ delete ruleForm.value.occurrenceTime
accidentManagementSystemApi()
.workView(ruleForm.value)
.then((res) => {
--
Gitblit v1.9.2