fix: BUG修改

This commit is contained in:
kun 2024-05-09 21:11:40 +08:00
parent 2a9ed59114
commit 40cef488f2

View File

@ -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;
}
</style>