From 105128d7780861f699a3261fdad68804fe5b7c80 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期四, 20 二月 2025 11:43:35 +0800
Subject: [PATCH] feat: 出场增加缴费状态查询
---
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