推线上
parent
7ad5bac015
commit
2e83199138
|
@ -549,13 +549,7 @@ export default {
|
||||||
});
|
});
|
||||||
}},
|
}},
|
||||||
confirmSelection(row) {
|
confirmSelection(row) {
|
||||||
this.dialogVisible1=false
|
|
||||||
if (this.selectedRow) {
|
if (this.selectedRow) {
|
||||||
// 这里假设你有一个发起支付的方法,传入所选行的数据
|
|
||||||
// startPayment(this.selectedRow);
|
|
||||||
console.log(row)
|
|
||||||
window.open("http://21.12.0.10:80/alipay/pay?middlePrice="+row.middlePrice)
|
|
||||||
this.$message.success('付款成功')
|
|
||||||
|
|
||||||
// 创建一个容器来展示数据
|
// 创建一个容器来展示数据
|
||||||
var container = document.getElementById('news-list');
|
var container = document.getElementById('news-list');
|
||||||
|
@ -581,14 +575,22 @@ export default {
|
||||||
resultDiv.innerHTML += '<p>Result: ' + jsonData.result.res + '</p>';
|
resultDiv.innerHTML += '<p>Result: ' + jsonData.result.res + '</p>';
|
||||||
} else {
|
} else {
|
||||||
resultDiv.innerHTML += '<p>Result information is not available.</p>';
|
resultDiv.innerHTML += '<p>Result information is not available.</p>';
|
||||||
|
// 这里假设你有一个发起支付的方法,传入所选行的数据
|
||||||
|
// startPayment(this.selectedRow);
|
||||||
|
console.log(row)
|
||||||
|
window.open("http://localhost:9701/alipay/pay?middlePrice="+row.middlePrice)
|
||||||
|
this.$message.success('付款成功')
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 将结果div添加到容器中
|
// 将结果div添加到容器中
|
||||||
container.appendChild(resultDiv);
|
container.appendChild(resultDiv);
|
||||||
|
|
||||||
}
|
}
|
||||||
//测试次数-1
|
//测试次数-1
|
||||||
reducetestcount(this.myapi).then(response=>{})
|
reducetestcount(this.myapi).then(response=>{})
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
//生命周期 - 创建完成(可以访问当前this实例)",
|
//生命周期 - 创建完成(可以访问当前this实例)",
|
||||||
created() {
|
created() {
|
||||||
|
|
|
@ -308,7 +308,7 @@ export default {
|
||||||
|
|
||||||
pay(row){
|
pay(row){
|
||||||
console.log(row)
|
console.log(row)
|
||||||
window.open("http://21.12.0.10:80/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice)
|
window.open("http://localhost:9701/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice)
|
||||||
this.$message.success('付款成功')
|
this.$message.success('付款成功')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue