修复andon报警操作台bug
This commit is contained in:
parent
d1d2a245ba
commit
11d8895f2a
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user