From e04c8dab8e435cabf1360bbcd6936e5ac9e77906 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: Mon, 08 Aug 2022 16:46:47 +0800
Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/gtqtOut
---
src/components/equipmentDailog/standardDailog.vue | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/components/equipmentDailog/standardDailog.vue b/src/components/equipmentDailog/standardDailog.vue
index 3228ae5..a1f901e 100644
--- a/src/components/equipmentDailog/standardDailog.vue
+++ b/src/components/equipmentDailog/standardDailog.vue
@@ -1,5 +1,5 @@
<template>
- <el-dialog v-model="dialogVisible" :fullscreen="full" :title="titles" width="50%" draggable>
+ <el-dialog v-model="dialogVisible" :fullscreen="full" :before-close="resetForm" :title="titles" width="50%" draggable>
<el-button @click="toggleFullscreen" size="small" class="pot" :icon="FullScreen"></el-button>
<el-form :model="form" label-width="120px" :disabled="disabled">
<el-row>
@@ -61,7 +61,7 @@
checkContent: '',
checkTarget: '',
unit: '',
- checkPart: false,
+ checkPart: "",
rate: '',
});
// 开启弹窗
@@ -93,9 +93,10 @@
checkContent: '',
checkTarget: '',
unit: '',
- checkPart: false,
+ checkPart: "",
rate: '',
};
+ disabled.value = false;
};
// 取消
const resetForm = () => {
@@ -105,9 +106,10 @@
checkContent: '',
checkTarget: '',
unit: '',
- checkPart: false,
+ checkPart: "",
rate: '',
};
+ disabled.value = false;
};
//全屏
const full = ref(false);
--
Gitblit v1.9.2