From 40cef488f260b2f617096cbc6906dee2a38791a8 Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Thu, 9 May 2024 21:11:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projectFront/inspecPoint/inspection.vue | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/views/projectFront/inspecPoint/inspection.vue b/src/views/projectFront/inspecPoint/inspection.vue index d3512d71..9d96219d 100644 --- a/src/views/projectFront/inspecPoint/inspection.vue +++ b/src/views/projectFront/inspecPoint/inspection.vue @@ -845,6 +845,7 @@ export default { this.areaData = {}; this.chargerList = []; this.enterpriseList = []; + this.resetForm(); this.$nextTick(() => { this.initMap(); this.$refs.cardForm.clearValidate(); @@ -984,6 +985,24 @@ export default { // }) this.closeEvent(); }, + resetForm(){ + this.cardForm = { + checkingPointName: "", + position: "", + qualityRegionId: "", // 区域ID + enterpriseId: "", // 责任企业 + inspectUserIds: "", //检查人 + noticeUserIds: "", //通知人 + startTime: "", + endTime: "", + frequencyType: 1, + frequencyNum: 1, + standArea: 100, //范围 + latitude: "", //纬度 + longitude: "", //经度 + addr: "", //地图区域 + } + }, //检查人员下拉列表 getAccountList() { getProjectChilderSystemUserListApi({ @@ -1043,4 +1062,7 @@ export default { font-size: 16px; line-height: 56px; } +::v-deep .el-tag{ + max-width: 200px; +}