From 2630e10ec75b8d861fe0897c224f5b9266f550ec Mon Sep 17 00:00:00 2001
From: kongdeqiang <kongdeqiang960204@163.com>
Date: 星期四, 01 六月 2023 19:20:15 +0800
Subject: [PATCH] 提交代码

---
 src/components/page/Index2.vue |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/components/page/Index2.vue b/src/components/page/Index2.vue
index acb6fd4..d431dc7 100644
--- a/src/components/page/Index2.vue
+++ b/src/components/page/Index2.vue
@@ -81,7 +81,7 @@
             }
             //this.outParkId = cs.code;
             this.code2 = cs.code;
-            this.$byutil.postData(this, this.$systemconfig.basePath + '/outPark/findByBarrierCode', {code:cs.code}, res => {
+            this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/outpark/findByBarrierCode', {code:cs.code}, res => {
                 this.statisticData = res.data;
                 this.outParkId = this.statisticData.id;
                 this.status3 = this.statisticData.status3;
@@ -106,19 +106,14 @@
                     });
                     return;
                 }
-                this.$byutil.postData(this, this.$systemconfig.basePath + '/ffPay/park', {id:this.outParkId}, res => {
-                    this.$message({
-                        message: '2绉掑悗鑷姩璺宠浆鍒版敮浠橀〉闈紝闃叉鍐呭缃戞暟鎹悓姝ュ欢杩燂紝璇风◢绛�',
-                        type: 'success',
-                        duration:2000,
-                    });
-                  setTimeout(function(){window.location.href = res.msg;},2000);
+                this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/api/park', {id:this.outParkId}, res => {
+                    window.location.href = res.msg
                     this.showFlag = false;
                 })
             },
             noCarOut(){
                 if(this.carNo){
-                    this.$byutil.postData(this, this.$systemconfig.basePath + '/outPark/outPark2', {code2:this.code2,carNo:this.carNo}, res => {
+                    this.$byutil.postData(this, this.$systemconfig.basePath + '/outpark/outPark2', {code2:this.code2,carNo:this.carNo}, res => {
                         if(res.success){
                             this.outParkId = res.data.id;
                             this.pay();

--
Gitblit v1.9.1