|
|
|
@ -249,7 +249,6 @@ export default { |
|
|
|
|
Object.assign(backUrlCRshlcICwGdGY, this.signs); |
|
|
|
|
// 报名信息转JSON字符串 |
|
|
|
|
if (this.pay_type_num === 20) { |
|
|
|
|
console.log(backUrlCRshlcICwGdGY.event); |
|
|
|
|
backUrlCRshlcICwGdGY.price_id = this.priceId; |
|
|
|
|
backUrlCRshlcICwGdGY.event && backUrlCRshlcICwGdGY.event.forEach((item) => { |
|
|
|
|
if (item.event_type === 3 && typeof item.event_value != "string") { |
|
|
|
@ -261,10 +260,8 @@ export default { |
|
|
|
|
if (this.pay_type_num === 40) { |
|
|
|
|
backUrlCRshlcICwGdGY.useGold = this.useGold; |
|
|
|
|
} |
|
|
|
|
console.log(backUrlCRshlcICwGdGY); |
|
|
|
|
try { |
|
|
|
|
const data = await createOrder(backUrlCRshlcICwGdGY); |
|
|
|
|
console.log(data.msg); |
|
|
|
|
uni.hideLoading(); |
|
|
|
|
if (data.code === 200) { |
|
|
|
|
this.$emit("change", { |
|
|
|
@ -276,7 +273,6 @@ export default { |
|
|
|
|
this.$emit("update:open", false); |
|
|
|
|
} |
|
|
|
|
} catch (err) { |
|
|
|
|
console.log(err) |
|
|
|
|
uni.hideLoading(); |
|
|
|
|
this.$util.showMsg(err.msg); |
|
|
|
|
} |
|
|
|
|