Pārlūkot izejas kodu

优化流程审批详情页报错,修改计划内,计划外搜索接口当前定位传参错误bug

zhujindu 11 mēneši atpakaļ
vecāks
revīzija
faf8522a3c

+ 2 - 15
src/views/deviceOutside/index.vue

@@ -1138,11 +1138,7 @@ export default {
       }
       var that = this;
       this.disabled = true;
-      let loading2 = this.$toast.loading({
-        duration: 0,
-        message: '加载中...',
-        forbidClick: true,
-      });
+      this.toastLoading(0, '加载中...', true);
       getUserOrgStoreList({
         lat: that.lat,
         lon: that.lon,
@@ -1155,8 +1151,8 @@ export default {
         genDate: this.genDate,
       }).then((res) => {
         this.disabled = false;
+        this.toastLoading().clear();
         if (res.code == 200) {
-          loading2.clear();
           this.loading = false;
           if (this.pageNum == '1') {
             this.list = [];
@@ -1574,9 +1570,6 @@ export default {
         if (val.lat == '' || val.lat == null) {
           this.lat = location.lat;
           this.lon = location.lon;
-        } else {
-          this.lat = val.lat;
-          this.lon = val.lon;
         }
         // let PointSum = this.twoPointSum(this.lat, this.lon, location.lat, location.lon).toFixed(2);
         let PointSumval = this.twoPointSum(
@@ -1858,9 +1851,6 @@ export default {
                         if (val.lat == '' || val.lat == null) {
                           that.lat = location.lat;
                           that.lon = location.lon;
-                        } else {
-                          that.lat = val.lat;
-                          that.lon = val.lon;
                         }
                         let PointSum = that
                           .twoPointSum(that.lat, that.lon, location.lat, location.lon)
@@ -2108,9 +2098,6 @@ export default {
                           if (val.lat == '' || val.lat == null) {
                             that.lat = location.lat;
                             that.lon = location.lon;
-                          } else {
-                            that.lat = val.lat;
-                            that.lon = val.lon;
                           }
                           let PointSum = that
                             .twoPointSum(that.lat, that.lon, location.lat, location.lon)

+ 0 - 9
src/views/deviceWithin/index.vue

@@ -822,9 +822,6 @@ export default {
         if (val.lat == '' || val.lat == null) {
           this.lat = location.lat;
           this.lon = location.lon;
-        } else {
-          this.lat = val.lat;
-          this.lon = val.lon;
         }
         // let PointSum = this.twoPointSum(this.lat, this.lon, location.lat, location.lon).toFixed(2);
         let PointSumval = this.twoPointSum(
@@ -1106,9 +1103,6 @@ export default {
                         if (val.lat == '' || val.lat == null) {
                           that.lat = location.lat;
                           that.lon = location.lon;
-                        } else {
-                          that.lat = val.lat;
-                          that.lon = val.lon;
                         }
                         let PointSum = that
                           .twoPointSum(that.lat, that.lon, location.lat, location.lon)
@@ -1350,9 +1344,6 @@ export default {
                           if (val.lat == '' || val.lat == null) {
                             that.lat = location.lat;
                             that.lon = location.lon;
-                          } else {
-                            that.lat = val.lat;
-                            that.lon = val.lon;
                           }
                           let PointSum = that
                             .twoPointSum(that.lat, that.lon, location.lat, location.lon)

+ 9 - 0
src/views/historicalVisit/historicalDetails.vue

@@ -410,6 +410,15 @@ export default {
     }
   }
 }
+.TCFXList {
+  .van-field__control--custom {
+    flex-direction: column;
+    align-items: self-start;
+    .TCFXListTreeSelec {
+      padding: 3px;
+    }
+  }
+}
 </style>
 <style>
 .fontWeit .van-cell__title {

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 429 - 323
src/views/signApproval/signApproval.vue