未来规划中建制的支付捐款
This commit is contained in:
parent
365284dd5f
commit
7f3ef19e57
|
|
@ -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; //打开实名弹窗
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user