Selaa lähdekoodia

feat(KIP-18489): 福州反向寻车功能

lock.qiu 10 kuukautta sitten
vanhempi
sitoutus
69ce7582c1

+ 30 - 1
src/pages/parkingFeeV2/mixins/parkingFee.js

@@ -1239,6 +1239,31 @@ export default {
         console.log('getPortalsByLbs', e)
       }
     },
+//     小程序AppID:wxc0d8a780faa4eaa6
+
+// 小程序原始Id:gh_5e52a25d8b33
+
+// 小程序路径:pages/index/index?regionId=16631444069729358&beaconUUID=AB8190D5-D11E-4941-ACC4-42F30510B408
+    findcarFZ (){
+      //  if (this.isQHKC()) {
+          wx.miniProgram.navigateTo({
+            url: `../package-parkingFee/findCar?mallId=${encodeURIComponent(
+              this.mallId
+            )}`,
+            complete: function (res) {
+              console.log('回调::', res)
+            },
+            success: function (res) {
+              console.log('跳转成功::', res)
+            },
+            fail: function (err) {
+              console.log('跳转失败::', res)
+            }
+          });
+          // this.$router.back()
+          return
+      //   }
+    },
     async menuToPage(type) {
       let query = {}
       switch (type){
@@ -1311,8 +1336,12 @@ export default {
           this.$router.push({path: 'parkingRights', query: this.portalsByLbsInfo});
           break
           case 'FIND_CAR': // 反向寻车
-          console.log('反向寻车', this.portalsByLbsInfo)
+          if (this.mallId === '8a888bfd816101980181a969f513019c') {
+            this.findcarFZ()
+          } else {
+            console.log('反向寻车', this.portalsByLbsInfo)
           this.$router.push({path: 'parkingFindCarFirst', query: this.portalsByLbsInfo});
+          }
           break
       }
     }

+ 1 - 1
src/pages/parkingFeeV2/mixins/parkingFeeCoupon.js

@@ -253,7 +253,7 @@ export default {
       }
       // 如果杭州、福州的使用券打到上限则不自动计算其余券是否可选 +天津 20240911
       
-      if (this.checkedCouponList.length >= this.remainCoupons && ([0, 1, 3, 10, 4, 2, 5, 6, 7, 8, 9, 10].indexOf(parkMallCode) > -1)) {
+      if (this.checkedCouponList.length >= this.remainCoupons && ([0, 1, 3, 4, 2, 5, 6, 7, 8, 9, 10].indexOf(parkMallCode) > -1)) {
 
       // if (this.checkedCouponList.length >= this.remainCoupons && (this.parkMallCode === 6 || this.parkMallCode === 2 || this.parkMallCode === 8 || this.parkMallCode === 7 || this.parkMallCode === 9 || this.parkMallCode === 5)) {
         return

+ 0 - 1
src/pages/parkingFeeV2/mixins/parkingFindCar.js

@@ -129,7 +129,6 @@ export default {
         return lbsList.indexOf(this.mallid) > -1
       },
       findcarNum (){
-         // 如果是北京的ETCP 微信支付宝通用版
         //  if (this.isQHKC()) {
             wx.miniProgram.navigateTo({
               url: `../package-parkingFee/findCar?lotId=${encodeURIComponent(