From 375b6acbd3a8f9cf51f967b09ecd09eccd1a12f3 Mon Sep 17 00:00:00 2001
From: zhaojiale <631455805@qq.com>
Date: Thu, 18 Aug 2022 17:53:29 +0800
Subject: [PATCH] 统计 事故统计
---
src/components/equipmentDailog/detectDailog.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/equipmentDailog/detectDailog.vue b/src/components/equipmentDailog/detectDailog.vue
index 278f164..654f54c 100644
--- a/src/components/equipmentDailog/detectDailog.vue
+++ b/src/components/equipmentDailog/detectDailog.vue
@@ -55,7 +55,7 @@
<span class="dialog-footer">
<!-- <el-button type="primary" @click="dialogVisible = false" size="default">继续添加</el-button> -->
<el-button @click="resetForm(ruleFormRef)" size="default">关闭</el-button>
- <el-button type="primary" @click="submitForm(ruleFormRef)" size="default">确定</el-button>
+ <el-button type="primary" @click="submitForm(ruleFormRef)" :disabled="disabled" size="default">确定</el-button>
</span>
</template>
</el-dialog>
@@ -131,7 +131,7 @@
// 取消
const resetForm = (formEl: FormInstance | undefined) => {
if (!formEl) return;
- formEl.resetFields();
+ formEl.clearValidate();
dialogVisible.value = false;
disabled.value = false;
form.value={}
--
Gitblit v1.9.2