From f93815a2cd126d1f17f28927fbc34fe4fe528eb1 Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Mon, 11 Mar 2024 17:52:04 +0800
Subject: [PATCH] 更新
---
subPackage/workbench/views/editExamine.vue | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/subPackage/workbench/views/editExamine.vue b/subPackage/workbench/views/editExamine.vue
index 35e5623..28e2047 100644
--- a/subPackage/workbench/views/editExamine.vue
+++ b/subPackage/workbench/views/editExamine.vue
@@ -194,8 +194,8 @@
mounted() {
this.$nextTick(() => {
- this.getCsDetails()
- this.getPlace();
+ this.getCsDetails();
+
})
},
methods: {
@@ -221,9 +221,9 @@
},
- getPlace() {
+ getPlace(location) {
getPlaceList({
- addressName: this.form.location
+ addressName: location
}).then(res => {
console.log(res)
this.placeList = res.data;
@@ -250,6 +250,7 @@
getPlaceDetail({
placeId: this.curSelectSite.id
}).then(detailRes => {
+
const {
code,
data
@@ -261,6 +262,7 @@
})
return
}
+ this.getPlace(data.location);
if (data.lat) {
this.jwd = `${Number(data.lng).toFixed(6)},${Number(data.lat).toFixed(6)}`
}
--
Gitblit v1.9.3