初始化

master
法外狂徒张三 2024-08-30 08:59:06 +08:00
parent 47aad76274
commit 0515536d43
1 changed files with 15 additions and 5 deletions

View File

@ -93,6 +93,8 @@
:limit.sync="queryParams.pageSize" :limit.sync="queryParams.pageSize"
@pagination="getList" @pagination="getList"
/> />
<div ref="alipayWap" v-html="alipay" />
</el-tabs> </el-tabs>
@ -155,11 +157,19 @@ export default {
}, },
methods: { methods: {
gotoMaintained(customer){ gotoMaintained(customer){
this.pay.subject=customer.sysIntro //
this.pay.traceNo=Math.floor(Math.random() * 900000) + 100000 payTwoHundred({}).then((res) => {
this.pay.totalAmount=customer.sysNumber //
const url = `http://47.116.173.119:80/alipay/pay?subject=${this.pay.subject}&traceNo=${this.pay.traceNo}&totalAmount=${this.pay.totalAmount}`; this.alipay = res.data;
window.open(url, '_self'); // URL //
this.$nextTick(() => {
//
this.$refs.alipayWap.children[0].submit();
setTimeout(() => {
// this.toPayFlag = false;
}, 500);
});
})
}, },
getType(activeNameL){ getType(activeNameL){
this.activeNameL=activeNameL this.activeNameL=activeNameL