峰峰执法平台简易案件程序板块 pad端
yang
2022-11-02 2269640d26a7a9b21a3828c75fb5aaa56ccfd6f8
src/views/padSunmaryProcedure/padFrom.vue
@@ -173,7 +173,7 @@
    }
  },
  created() {
    // this.latlng = window.android.getAddress();
    this.latlng = window.android.getAddress();
    this.init()
  },
  methods: {
@@ -183,9 +183,6 @@
      })
    },
    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')
@@ -206,12 +203,12 @@
        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(',');
      // })
    },
    //模糊搜索查询当事人