kongdeqiang
2024-10-16 8bb7963646f27027c3eac087bdd50fdcfa7426cb
fix: 泊车修改车位缴费页面
3个文件已修改
52 ■■■■ 已修改文件
src/components/page/IndexXTYH.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/page/IndexXTYH39.vue 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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  //正式
      // 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){
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>-->
          <!--&lt;!&ndash;                    <el-form-item class="weizhang-footer-box" style="display: flex;justify-content: center;margin-top: 5.498vh" label-width="0">&ndash;&gt;-->
          <!--&lt;!&ndash;                      <el-button&ndash;&gt;-->
          <!--&lt;!&ndash;                          style="borderColor:'none';background:#121215e0 "&ndash;&gt;-->
          <!--&lt;!&ndash;                          class="jiaofei-btn" type="primary" @click="noCarOut()" v-show="showFlag">查询</el-button>&ndash;&gt;-->
          <!--&lt;!&ndash;                    </el-form-item>&ndash;&gt;-->
          <!--                  </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>
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),