修复andon报警操作台bug

This commit is contained in:
17630416519 2025-12-24 11:36:48 +08:00
parent d1d2a245ba
commit 11d8895f2a

View File

@ -147,7 +147,7 @@
</div>
</el-dialog>
<!-- 新增 -->
<el-dialog :close-on-click-modal="false" :title="title" :lock-scroll="false" :visible.sync="open">
<el-dialog :close-on-click-modal="false" @close="cancel" :title="title" :lock-scroll="false" :visible.sync="open">
<el-form ref="form" :model="form1" :rules="rules" :label-width="formLabelWidth">
<el-row :gutter="20">
@ -396,7 +396,13 @@ export default {
this.reset();
},
reset() {
this.form1 = {};
this.form1 = {
alarmType: '',
area1: '',
area2: '',
alarmInfo: '',
remarks: ''
};
if (this.$refs.form) {
this.$refs.form.resetFields();
}