From f4443a7b7e289ab685c7330bff29d16e0079bbd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=AC=A3=E6=82=A6?= <2289014031@qq.com> Date: Fri, 6 Sep 2024 17:19:25 +0800 Subject: [PATCH] ok --- src/views/market/apitest/index.vue | 5 +++-- src/views/market/orders/index.vue | 2 +- src/views/market/workbench/index.vue | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/market/apitest/index.vue b/src/views/market/apitest/index.vue index c545c5b..4381342 100644 --- a/src/views/market/apitest/index.vue +++ b/src/views/market/apitest/index.vue @@ -342,14 +342,15 @@ export default { }, handleEdit(row) { this.selectedRow = row; + console.log(row) }, confirmSelection(row) { this.dialogVisible1=false if (this.selectedRow) { // 这里假设你有一个发起支付的方法,传入所选行的数据 - startPayment(this.selectedRow); + startPayment(this.selectedOption); console.log(row) - window.open("http://localhost:9701/alipay/pay?middlePrice="+row.middlePrice) + window.open("http://21.12.0.10:80/alipay/pay?middlePrice="+row.middlePrice) this.$message.success('付款成功') this.dialogVisible1 = false; diff --git a/src/views/market/orders/index.vue b/src/views/market/orders/index.vue index 1d0cce4..e2c1e0e 100644 --- a/src/views/market/orders/index.vue +++ b/src/views/market/orders/index.vue @@ -308,7 +308,7 @@ export default { pay(row){ console.log(row) - window.open("http://localhost:9701/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice) + window.open("http://21.12.0.10:80/alipay/pay?productName="+row.productName +"&ordersNum="+row.ordersNum+"&ordersPrice="+row.ordersPrice) this.$message.success('付款成功') }, diff --git a/src/views/market/workbench/index.vue b/src/views/market/workbench/index.vue index 4abb4fa..f8d7820 100644 --- a/src/views/market/workbench/index.vue +++ b/src/views/market/workbench/index.vue @@ -194,10 +194,10 @@ export default { insertmoney(moneyForm){ if (moneyForm.pay==1){ if (moneyForm.resource!=''){ - window.open("http://localhost:9701/alipay/pay?ordersPrice="+moneyForm.resource) + window.open("http://21.12.0.10:80/alipay/pay?ordersPrice="+moneyForm.resource) this.$message.success('付款成功') }else { - window.open("http://localhost:9701/alipay/pay?ordersPrice="+moneyForm.resource1) + window.open("http://21.12.0.10:80/alipay/pay?ordersPrice="+moneyForm.resource1) this.$message.success('付款成功') }