From 2c16c13a933a275f291ac0f7e49b01fe5022398e Mon Sep 17 00:00:00 2001 From: gaoluyang <gaoluyang@rengu.cc> Date: 星期五, 12 七月 2024 21:12:00 +0800 Subject: [PATCH] 数采配置 --- src/components/do/b6-device-management/b6-data-acquisition-config.vue | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/components/do/b6-device-management/b6-data-acquisition-config.vue b/src/components/do/b6-device-management/b6-data-acquisition-config.vue index 8a353ce..2be21b1 100644 --- a/src/components/do/b6-device-management/b6-data-acquisition-config.vue +++ b/src/components/do/b6-device-management/b6-data-acquisition-config.vue @@ -28,7 +28,7 @@ :total="tableList.length"> </el-pagination> </div> - <el-dialog title="鏁伴噰閰嶇疆" :visible.sync="dialogVisible3" width="920px" :before-close="submitForm3"> + <el-dialog title="鏁伴噰閰嶇疆" :visible.sync="dialogVisible3" width="920px" :before-close="closeForm"> <el-form :model="configForm" :rules="rules" label-position="top" size="small" ref="configForm" label-width="100px" class="demo-ruleForm"> <div class="fomItem1"> @@ -80,7 +80,7 @@ </el-form> <span slot="footer" class="dialog-footer"> <el-row> - <el-button @click="dialogVisible3=false">鍙� 娑�</el-button> + <el-button @click="closeForm">鍙� 娑�</el-button> <el-button type="primary" @click="submitForm3" :loading="upLoad3">纭� 瀹�</el-button> </el-row> </span> @@ -180,6 +180,16 @@ currentChange(val) { this.page.current = val }, + closeForm () { + this.domains = [{ + refer1: '', + refer2: '', + x: '', + y: '' + }] + this.dialogVisible3 = false + this.$refs.configForm.resetFields(); + } }, } </script> -- Gitblit v1.9.3