linwe
2024-08-08 3c738f4fe2762bba8087e5a22fc0dc06560eab0e
subPackage/school/clockIn.vue
@@ -109,8 +109,8 @@
               phone: "",
               location: "",
               gradeAndClass: "",
               lat: "",
               lng: "",
               latitude: "",
               longitude: "",
               houseCode: ""
            },
            rules: {
@@ -192,8 +192,8 @@
            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)
               }
            })
         },
@@ -238,6 +238,7 @@
         onScan() {
            uni.scanCode({
               onlyFromCamera: true,
               success: (res) => {
                  let obj = this.getUrlParams(res.result);
                  this.getHouseType(obj.stdId);