From 8bb7963646f27027c3eac087bdd50fdcfa7426cb Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期三, 16 十月 2024 18:11:33 +0800 Subject: [PATCH] fix: 泊车修改车位缴费页面 --- src/components/page/IndexXTYH39.vue | 32 ++++++++++++++++---------------- src/components/page/IndexXTYH.vue | 10 +++++----- src/router/index.js | 10 +++++----- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/components/page/IndexXTYH.vue b/src/components/page/IndexXTYH.vue index 6a5cb17..98f676c 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; } @@ -283,8 +283,8 @@ }) }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.isShowjiaofei = false this.tishiDialogVisiable2 = true } }else { @@ -389,7 +389,7 @@ } }, 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){ diff --git a/src/components/page/IndexXTYH39.vue b/src/components/page/IndexXTYH39.vue index 1341a12..c25de2c 100644 --- a/src/components/page/IndexXTYH39.vue +++ b/src/components/page/IndexXTYH39.vue @@ -37,22 +37,22 @@ <el-button class="jiaofei-btn" type="primary" @click="pay()" :loading="payFlag">鍘荤即璐�</el-button> </el-form-item> </el-form> - <!-- <el-form--> - <!-- class="carSearch"--> - <!-- label-position="left">--> - <!-- <el-form-item--> - <!-- class='formLabel'--> - <!-- style="display: flex;--> - <!-- flex-direction: column;align-items: center;justify-content: center"--> - <!-- label="鏃� 鐗� 杞� 杈� 鏌� 璇�">--> - <!-- <el-input prefix-icon="el-icon-search" style="margin-top: 20px;border: solid 1px #ccc!important;" v-model="carNo" placeholder="璇疯緭鍏ユ墜鏈哄彿"></el-input>--> - <!-- </el-form-item>--> - <!--<!– <el-form-item class="weizhang-footer-box" style="display: flex;justify-content: center;margin-top: 5.498vh" label-width="0">–>--> - <!--<!– <el-button–>--> - <!--<!– style="borderColor:'none';background:#121215e0 "–>--> - <!--<!– class="jiaofei-btn" type="primary" @click="noCarOut()" v-show="showFlag">鏌ヨ</el-button>–>--> - <!--<!– </el-form-item>–>--> - <!-- </el-form>--> + <el-form + class="carSearch" + label-position="left"> + <el-form-item + class='formLabel' + style="display: flex; + flex-direction: column;align-items: center;justify-content: center" + label="鏃� 鐗� 杞� 杈� 鏌� 璇�"> + <el-input prefix-icon="el-icon-search" style="margin-top: 20px;border: solid 1px #ccc!important;" v-model="carNo" placeholder="璇疯緭鍏ユ墜鏈哄彿"></el-input> + </el-form-item> + <el-form-item class="weizhang-footer-box" style="display: flex;justify-content: center;margin-top: 5.498vh" label-width="0"> + <el-button + style="borderColor:'none';background:#121215e0 " + class="jiaofei-btn" type="primary" @click="noCarOut()" v-show="showFlag">鏌ヨ</el-button> + </el-form-item> + </el-form> </div> diff --git a/src/router/index.js b/src/router/index.js index 4e85f31..95d4ce7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -130,11 +130,11 @@ component: resolve => require(['../components/page/IndexFail.vue'], resolve), meta: { title: '鏅烘収娉婅溅' } }, - // { - // path: '/index3', - // component: resolve => require(['../components/page/Index3.vue'], resolve), - // meta: { title: '鏃犵墝鍋滆溅' } - // }, + { + path: '/index3', + component: resolve => require(['../components/page/Index2.vue'], resolve), + meta: { title: '鏃犵墝鍋滆溅' } + }, { path: '/index4', component: resolve => require(['../components/page/Index4.vue'], resolve), -- Gitblit v1.9.1