未来规划中建制的支付捐款

This commit is contained in:
WindowBird 2025-09-18 15:17:30 +08:00
parent 365284dd5f
commit 7f3ef19e57

View File

@ -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; //