未来规划中建制的支付捐款
This commit is contained in:
parent
365284dd5f
commit
7f3ef19e57
|
|
@ -155,8 +155,8 @@ import {
|
||||||
getProjectSchedule,
|
getProjectSchedule,
|
||||||
} from "../../api/institutionalStructure/institutionalStructureDetail";
|
} from "../../api/institutionalStructure/institutionalStructureDetail";
|
||||||
import { createPagination } from "../../composables/winB_Pagination";
|
import { createPagination } from "../../composables/winB_Pagination";
|
||||||
import { postInstitutionalStructure } from "../../api/institutionalStructure/institutionalStructure";
|
|
||||||
import GoToCertification from "./components/goToCertification.vue";
|
import GoToCertification from "./components/goToCertification.vue";
|
||||||
|
import { ordersFormed } from "../../api/order/order";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { GoToCertification },
|
components: { GoToCertification },
|
||||||
|
|
@ -358,12 +358,13 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
async toDonation() {
|
async toDonation() {
|
||||||
let res = await postInstitutionalStructure({
|
let res = await ordersFormed({
|
||||||
payAmount: this.payAmount,
|
payAmount: this.payAmount,
|
||||||
formedId: this.formedId,
|
formedId: this.formedId,
|
||||||
});
|
});
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
this.openPaymentUrl(res.data.payParams.payUrl);
|
// this.openPaymentUrl(res.data.payParams.payUrl);
|
||||||
|
console.log("已经支付");
|
||||||
} else if (res.code === 10001) {
|
} else if (res.code === 10001) {
|
||||||
this.show = false;
|
this.show = false;
|
||||||
this.visible = true; //打开实名弹窗
|
this.visible = true; //打开实名弹窗
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user