| | |
| | | </div> |
| | | <div>总计应缴:<span class="cardCont">{{ item.amount }}元</span></div> |
| | | <el-button style="margin-top: 5px" type="primary" size="small" v-if="item.payStatus == 0" @click="goPay(item)">去缴费</el-button> |
| | | <el-button style="margin-top: 5px" type="success" size="small" v-if="item.payStatus == 1" @click="checkTicket(item)">查看票据</el-button> |
| | | <el-button style="margin-top: 5px" type="success" size="small" v-if="item.payStatus == 1" @click="checkTicket()">查看票据</el-button> |
| | | </div> |
| | | </div> |
| | | <div v-else class="feeList"> |
| | |
| | | </div> |
| | | <div>总计应缴:<span class="cardCont" v-if="item.coalPays">{{ item.coalPays.amount }}元</span></div> |
| | | <el-button style="margin-top: 5px" type="primary" size="small" v-if="item.payStatus == 0" @click="goPay(item)">去缴费</el-button> |
| | | <el-button style="margin-top: 5px" type="success" size="small" v-if="item.payStatus == 1" @click="checkTicket(item)">查看票据</el-button> |
| | | <el-button style="margin-top: 5px" type="success" size="small" v-if="item.payStatus == 1" @click="checkTicket()">查看票据</el-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | }, |
| | | async payBill(){ |
| | | this.payLoading = true |
| | | let device = 1 |
| | | const userAgent = window.navigator.userAgent |
| | | if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(userAgent)) { |
| | | device = 2 |
| | | } else { |
| | | device = 1 |
| | | } |
| | | if(this.dataForm.type == 1){ |
| | | const query = { |
| | | id: this.detailInfo.nonCoalStudentId, |
| | |
| | | const res = await nonCoalPersonPay(query) |
| | | if(res.code == 200) { |
| | | this.payLoading = false |
| | | window.open(`http://finpt.xjcz.gov.cn/fs-public/billQuery/findByOrderId.do?orderId=${res.msg}&deviceType=${device}`) |
| | | }else{ |
| | | this.payLoading = false |
| | | this.$message({ |
| | | type:'warning', |
| | | message: res.msg |
| | |
| | | const res = await coalPersonPay(query) |
| | | if(res.code == 200) { |
| | | this.payLoading = false |
| | | window.open(`http://finpt.xjcz.gov.cn/fs-public/billQuery/findByOrderId.do?orderId=${res.msg}&deviceType=${device}`) |
| | | }else{ |
| | | this.payLoading = false |
| | | this.$message({ |
| | | type:'warning', |
| | | message: res.msg |
| | |
| | | } |
| | | } |
| | | }, |
| | | checkTicket(){ |
| | | window.open('http://finpt.xjcz.gov.cn/fs-public/index.do') |
| | | }, |
| | | resetDataForm() { |
| | | this.dataForm = { |
| | | } |