| | |
| | | } |
| | | }, |
| | | created() { |
| | | // this.latlng = window.android.getAddress(); |
| | | this.latlng = window.android.getAddress(); |
| | | this.init() |
| | | }, |
| | | methods: { |
| | |
| | | }) |
| | | }, |
| | | init() { |
| | | // let all = window.android.getAddress(); |
| | | // let all1 = all.splice('') |
| | | // this.form.place = window.android.getAddress(); |
| | | // this.$nextTick(()=>{ |
| | | getIdByToken().then(res => { |
| | | console.log(res, 'getIdByToken') |
| | |
| | | this.areaList = res.data.data; |
| | | }) |
| | | |
| | | /*let obj = this.latlng.split(','); |
| | | let obj = this.latlng.split(','); |
| | | this.form.place = obj[2]; |
| | | let arr =[]; |
| | | arr.push(obj[0]); |
| | | arr.push(obj[1]) |
| | | this.form.latitude = arr.join(',');*/ |
| | | this.form.latitude = arr.join(','); |
| | | // }) |
| | | }, |
| | | //模糊搜索查询当事人 |