From 84b7e68f71e414e575518b3c34bf722782cc507d Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期二, 07 一月 2025 17:27:20 +0800 Subject: [PATCH] feat: 修改月租车页面 --- 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