From 1d4515cec18e8acf33edf7f65a638e9fcd685772 Mon Sep 17 00:00:00 2001 From: Wang YiHang <3060234389@qq.com> Date: Thu, 5 Sep 2024 20:22:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/firminfo/firminfo/index.vue | 17 +++++++++++++++- src/views/market/apitype/index.vue | 28 ++++++++++++++++++++++++--- 2 files changed, 41 insertions(+), 4 deletions(-) diff --git a/src/views/firminfo/firminfo/index.vue b/src/views/firminfo/firminfo/index.vue index b354e4e..f9c924d 100644 --- a/src/views/firminfo/firminfo/index.vue +++ b/src/views/firminfo/firminfo/index.vue @@ -31,7 +31,11 @@ {{firminfoForm.businessLicense}} + + {{firminfoForm.firmScore}} + + @@ -39,6 +43,7 @@ import { listFirminfo, getFirminfo, delFirminfo, addFirminfo, updateFirminfo } from "/src/api/firminfo/firminfo"; import firminfo from "./index.vue"; import userAvatar from "../../system/user/profile/userAvatar.vue"; +import {pay} from "../../../api/market/apitype"; export default { name: "Firminfo", @@ -50,7 +55,8 @@ export default { }, data() { return { - firminfoForm:{} + firminfoForm:{}, + money:"", }; }, created() { @@ -61,6 +67,15 @@ export default { getFirminfo().then(response => { this.firminfoForm = response.data; }); + }, + async topup(){ + this.pay.subject=this.firminfoForm.firmTem + this.pay.totalAmount=this.money + const url = `http://10.0.2.1:8080/pay/alipay/pay?subject=${this.pay.subject}&totalAmount=${this.pay.totalAmount}`; + pay(this.pay).then(res => { + console.log(res); + window.open(url, '_self'); + }) } } }; diff --git a/src/views/market/apitype/index.vue b/src/views/market/apitype/index.vue index 31fc861..ddb5356 100644 --- a/src/views/market/apitype/index.vue +++ b/src/views/market/apitype/index.vue @@ -83,7 +83,7 @@ - + 接口文档 @@ -117,7 +117,23 @@ - + + + + {{apimsg.sysBeihzu}} + + + http://10.0.2.1/prod-api/market/apitype/third/{{apimsg.sysId}}/** + + + GET + + + json + + + + @@ -132,6 +148,7 @@ export default { data() { return { + dialogTableVisible:false, dialogVisible:false, all:"全部类型", activeNameL:"全部类型", @@ -175,14 +192,19 @@ export default { jsonData:{}, unkownvalue:"", sysId:"", + apimsg:{}, }; }, created() { this.getList(); }, methods: { - handleTabClick(customer) { + jkwd(customer){ this.sysId=customer.sysId + this.apimsg=customer + this.dialogTableVisible=true + }, + handleTabClick() { this.dialogVisible=true }, test(){