| | |
| | | {{this.statisticData.code}} |
| | | <!--<el-input v-model="statisticData.code" readonly></el-input>--> |
| | | </el-form-item> |
| | | <el-form-item v-if="isShowjiaofei" class="weizhang-footer-box" style="display: flex;justify-content: center;margin-top: 4.498vh" label-width="0" v-show="showFlag"> |
| | | <el-button class="jiaofei-btn" type="primary" @click="pay()" :loading="payFlag">去缴费</el-button> |
| | | <el-form-item v-if="isShowjiaofei" class="weizhang-footer-box" style="margin-top: 4.498vh" label-width="0" v-show="showFlag"> |
| | | <div style="flex: 1; text-align: center;"> |
| | | <el-button class="jiaofei-btn" type="primary" @click="pay()" :loading="payFlag">去缴费</el-button> |
| | | </div> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-form |
| | |
| | | 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 class="weizhang-footer-box" style="margin-top: 5.498vh" label-width="0"> |
| | | <div style="flex: 1; text-align: center;"> |
| | | <el-button |
| | | style="borderColor:'none';background:#121215e0 " |
| | | class="jiaofei-btn" type="primary" @click="noCarOut()" v-show="showFlag">查询</el-button> |
| | | </div> |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | |
| | | |
| | | //初始化跳转 39 服务器 |
| | | if(this.code2 == null || this.code2 == ''){ |
| | | window.location.href = `http://hesuancj.cn/#/index2?code2=${params.code || ''}`; |
| | | window.location.href = `http://192.168.0.118:8082/#/index2?code2=${params.code || ''}`; |
| | | //window.location.href = "http://60.0.121.40:8889/#/IndexXTYH39?code2="+cs.code //测试用的 |
| | | return; |
| | | } |
| | |
| | | } else { |
| | | this.$message.error(res.msg || '支付验证失败,请重试', 3000); |
| | | } |
| | | this.paying = false; |
| | | }, |
| | | err => { |
| | | this.payFlag = false; |
| | | this.$message.error('网络异常,请重试', 3000); |
| | | this.paying = false; |
| | | } |
| | | ).finally(() => { |
| | | this.paying = false; |
| | | }); |
| | | ) |
| | | |
| | | }, |
| | | againPay() { |
| | | console.log('this.paying=', this.paying); |
| | | if (this.paying) return; |
| | | this.paying = true; |
| | | this.againDialogVisible = false; |
| | | this.dataLoading = true; |
| | | this.parkXT(this.outParkId).finally(() => { |
| | | this.dataLoading = false; |
| | | this.paying = false; |
| | | }); |
| | | this.parkXT(this.outParkId) |
| | | // .finally(() => { |
| | | // this.dataLoading = false; |
| | | // this.paying = false; |
| | | // }); |
| | | }, |
| | | parkXT(outParkId) { |
| | | this.payNowFlag = true //立即支付loading |
| | |
| | | }) |
| | | } catch (err) { |
| | | this.payNowFlag = false; |
| | | } finally { |
| | | this.dataLoading = false; |
| | | this.paying = false; |
| | | } |
| | | }, |
| | | noCarOut(){ |