From 899de68b5072c2eb3d46aa99c1c65fa30a1211bb Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期一, 28 十月 2024 08:30:38 +0800
Subject: [PATCH] feat: 新增角色

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

diff --git a/src/components/page/IndexXTYH.vue b/src/components/page/IndexXTYH.vue
index 6a5cb17..2e02aac 100644
--- a/src/components/page/IndexXTYH.vue
+++ b/src/components/page/IndexXTYH.vue
@@ -221,7 +221,7 @@
     var count = url.split('?').length-1;
     if(count >1){  //鑾峰彇鐢ㄦ埛淇℃伅鍚庤烦鍥炴潵鏈〉闈�
       let data = this.getCodeFromUrl(url)
-      // window.location.href = "http://192.168.0.8:8082/#/IndexXTYH39?code="+data.code+"&state=STATE&code2="+data.code2
+       //window.location.href = "http://localhost:8082/#/IndexXTYH39?code="+data.code+"&state=STATE&code2="+data.code2
       window.location.href = `http://hesuancj.cn/#/index2?code=${encodeURIComponent(data.code)}&state=STATE&code2=${encodeURIComponent(data.code2)}`
       return;
     }
@@ -241,7 +241,7 @@
       //   duration:1000,
       // });
       window.location.href = "http://hesuancj.cn/#/index2?code2="+cs.code  //姝e紡
-      // window.location.href = "http://192.168.0.8:8082/#/IndexXTYH39?code2="+cs.code   //娴嬭瘯鐢ㄧ殑
+      // window.location.href = "http://localhost:8082/#/IndexXTYH39?code2="+cs.code   //娴嬭瘯鐢ㄧ殑
       //window.location.href = "http://60.0.121.40:8889/#/IndexXTYH39?code2="+cs.code   //娴嬭瘯鐢ㄧ殑
       return;
     }
@@ -284,7 +284,7 @@
 
           }else if(this.statisticData.enterTime && (!this.statisticData.price || this.statisticData.price == 0)) { //閲戦涓�0
             this.isShowjiaofei = false
-            if(!this.statisticData.carNo.includes('鏃�')) {
+            if(this.statisticData.carNo !='_鏃燺' && this.statisticData.carNo!='鏃犺溅鐗�') {
               this.tishiDialogVisiable2 = true
             }
           }else {
@@ -389,12 +389,21 @@
       }
     },
     noCarOut(){
-      if(this.oldCarNo == '鏃犺溅鐗�'){
+      if(this.oldCarNo == '鏃犺溅鐗�' || 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;
+              this.$message({
+                message: '鏌ヨ鎴愬姛',
+                type: 'success',
+              });
+            }else {
+              this.$message({
+                message: res.message,
+                type: 'error',
+              });
             }
           })
         }else{

--
Gitblit v1.9.1