| | |
| | | mounted() {
|
| | |
|
| | | this.$nextTick(() => {
|
| | | this.getCsDetails()
|
| | | this.getPlace();
|
| | | this.getCsDetails();
|
| | |
|
| | | })
|
| | | },
|
| | | methods: {
|
| | |
| | |
|
| | | },
|
| | |
|
| | | getPlace() {
|
| | | getPlace(location) {
|
| | | getPlaceList({
|
| | | addressName: this.form.location
|
| | | addressName: location
|
| | | }).then(res => {
|
| | | console.log(res)
|
| | | this.placeList = res.data;
|
| | |
| | | getPlaceDetail({
|
| | | placeId: this.curSelectSite.id
|
| | | }).then(detailRes => {
|
| | |
|
| | | const {
|
| | | code,
|
| | | data
|
| | |
| | | })
|
| | | return
|
| | | }
|
| | | this.getPlace(data.location);
|
| | | if (data.lat) {
|
| | | this.jwd = `${Number(data.lng).toFixed(6)},${Number(data.lat).toFixed(6)}`
|
| | | }
|