diff --git a/pages/future/future.vue b/pages/future/future.vue index 22cfb97..e55ac68 100644 --- a/pages/future/future.vue +++ b/pages/future/future.vue @@ -155,8 +155,8 @@ import { getProjectSchedule, } from "../../api/institutionalStructure/institutionalStructureDetail"; import { createPagination } from "../../composables/winB_Pagination"; -import { postInstitutionalStructure } from "../../api/institutionalStructure/institutionalStructure"; import GoToCertification from "./components/goToCertification.vue"; +import { ordersFormed } from "../../api/order/order"; export default { components: { GoToCertification }, @@ -358,12 +358,13 @@ export default { }, async toDonation() { - let res = await postInstitutionalStructure({ + let res = await ordersFormed({ payAmount: this.payAmount, formedId: this.formedId, }); if (res.code === 200) { - this.openPaymentUrl(res.data.payParams.payUrl); + // this.openPaymentUrl(res.data.payParams.payUrl); + console.log("已经支付"); } else if (res.code === 10001) { this.show = false; this.visible = true; //打开实名弹窗