john 2 rokov pred
rodič
commit
b71ecbcb64

+ 1 - 1
src/pages/parkingFee/mixins/base.js

@@ -26,7 +26,7 @@ export default {
       this.theme = 'theme-office'
     }
     // TODO: 根据lbsId动态切换
-    this.theme = 'theme-pudong'
+    // this.theme = 'theme-pudong'
     // this.theme = 'theme-jingan'
   },
 }

+ 2 - 2
src/store/order/index.js

@@ -35,8 +35,8 @@ export default {
         // console.log('无牌车扫码出场', endlessLoop);
         // 场内缴费,调 check-out 接口,
         const method = unlicensed && endlessLoop || !vehicleNo ? unlicensedCarCheckout : checkOut
-        // const res = await method(vehicleNo, unlicensed, gateId);
-        const res = checkOutQHResponse
+        const res = await method(vehicleNo, unlicensed, gateId);
+        // const res = checkOutQHResponse
         if ( res?.parkingRecord?.totalFee <= 0 ) {
           callback && callback({
             unlicensed,

+ 2 - 2
src/utils/index.js

@@ -205,9 +205,9 @@ export function initEnv() {
 
 export function requestInit() {
   let baseURL = window.profileApi + '/temporary-parking/v1';
-  if (window.location.href.indexOf('parking.') < 0) {
+  /*if (window.location.href.indexOf('parking.') < 0) {
     baseURL = '/msApi';
-  }
+  }*/
   window.requestms = createAxiosByinterceptors({
     // baseURL: `https://dev-kip-service-internal.kerryonvip.com/`,
     // baseURL: `http://tp.hht.test/`,