From 07d9dac587d5265fedd94a518c711721413f13b5 Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期二, 09 四月 2024 17:41:26 +0800
Subject: [PATCH] docs:路由修改
---
src/components/page/IndexFail.vue | 42 ++----------------------------------------
1 files changed, 2 insertions(+), 40 deletions(-)
diff --git a/src/components/page/IndexFail.vue b/src/components/page/IndexFail.vue
index 3c0ee8e..dfa8237 100644
--- a/src/components/page/IndexFail.vue
+++ b/src/components/page/IndexFail.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