Procházet zdrojové kódy

报名自定义信息提交

xhj před 2 roky
rodič
revize
dee4b3cb57

+ 7 - 1
match/signConfirm/signConfirm.vue

@@ -159,8 +159,14 @@ export default {
 				money: this.money,
 				// matchPriceId: this.options.priceId,
 				scene: req.getStorage('scene'),
-				list: JSON.stringify(this.personList)
+				// list: JSON.stringify(this.personList)
 			}
+			param.list = this.personList
+			param.list.map(item=>{
+				if(item.extend){
+					item.extForm = JSON.stringify(item.extend)
+				}
+			})
 			// await requsetmessage.remindActivity().then(res => {});
 			req.getRequest('/api/myMatch/order',param,async res=>{
 				req.removeStorage('personList');

+ 1 - 1
match/signPerson/signPerson.vue

@@ -9,7 +9,7 @@
 			<view class="p-input">
 				<input v-model="phone" placeholder="请输入手机号" placeholder-class="p-placeholder"/>
 			</view>
-			<view v-for='item,index in parmas' class="p-form-item">
+			<view v-for='item,index in parmas' class="p-form-item" :key="index">
 				<view class="p-label">{{item.chineseName}}</view>
 				<!-- 输入框 -->
 				<view v-if="item.type==1" class="p-input">

+ 2 - 1
utils/request.js

@@ -4,7 +4,8 @@ let WebIM = (wx.WebIM = require("../hxChatSDK/utils/WebIM")["default"]);
 const env = {
 	NODE_ENV: 'pota',
 	dev: {
-		apiUrl: 'https://rsapi.zhiqiyun.net'
+		// apiUrl: 'https://rsapi.zhiqiyun.net'
+		apiUrl: 'https://unwx.e-chinalife.com/hktonline'
 	},
 	prd: {
 		apiUrl: 'https://apimall.zhiqiyun.com'