From be39d93049f3986be4e353fab5c1e51668a6fdf2 Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期二, 07 一月 2025 10:45:35 +0800
Subject: [PATCH] 月租车办理页面

---
 src/components/page/IndexOk.vue |   42 ++----------------------------------------
 1 files changed, 2 insertions(+), 40 deletions(-)

diff --git a/src/components/page/IndexOk.vue b/src/components/page/IndexOk.vue
index ae341d8..98900da 100644
--- a/src/components/page/IndexOk.vue
+++ b/src/components/page/IndexOk.vue
@@ -75,8 +75,8 @@
                 cs[cs_arr[i].split('=')[0]] = cs_arr[i].split('=')[1]
             }
             //this.outParkId = cs.code;
-            this.code2 = cs.code;
-            this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/outpark/findByBarrierCode', {code:cs.code}, res => {
+            this.code2 = cs.code2;
+            this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/outpark/findByBarrierCode2', {code2:cs.code2}, res => {
                 this.statisticData = res.data;
                 this.outParkId = this.statisticData.id;
                 this.status3 = this.statisticData.status3;
@@ -92,44 +92,6 @@
             })
         },
         methods: {
-            pay(){
-                this.payFlag = true;
-                if(this.status3==1){
-                    this.$message({
-                        message: '鎮ㄦ湁杩濈珷鏈鐞嗭紝璇峰厛澶勭悊鎴栬仈绯诲仠杞﹀満绠$悊浜哄憳',
-                        type: 'error',
-                        duration:3000,
-                    });
-                    return;
-                }
-                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.oldCarNo == '鏃犺溅鐗�'){
-                  if(this.carNo){
-                    this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/car/outParkByPhone', {code2:this.code2,carNo:this.carNo}, res => {
-                      if(res.code===0){
-                        this.statisticData = res.data;
-                        this.outParkId = this.statisticData.id;
-                      }
-                    })
-                  }else{
-                    this.$message({
-                      message: '璇疯緭鍏ユ墜鏈哄彿',
-                      type: 'error',
-                    });
-                  }
-                }else {
-                  this.$message({
-                    message: '闈炴硶杈撳叆',
-                    type: 'error',
-                  });
-                }
-
-            },
         }
     }
 

--
Gitblit v1.9.1