| | |
| | | phone: "", |
| | | location: "", |
| | | gradeAndClass: "", |
| | | lat: "", |
| | | lng: "", |
| | | latitude: "", |
| | | longitude: "", |
| | | houseCode: "" |
| | | }, |
| | | rules: { |
| | |
| | | uni.chooseLocation({ |
| | | success: (res) => { |
| | | this.$set(this.info, "location", res.address); |
| | | this.$set(this.info, "lat", res.latitude); |
| | | this.$set(this.info, "lng", res.longitude) |
| | | this.$set(this.info, "latitude", res.latitude); |
| | | this.$set(this.info, "longitude", res.longitude) |
| | | } |
| | | }) |
| | | }, |
| | |
| | | |
| | | onScan() { |
| | | uni.scanCode({ |
| | | onlyFromCamera: true, |
| | | success: (res) => { |
| | | let obj = this.getUrlParams(res.result); |
| | | this.getHouseType(obj.stdId); |