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; +}