lhl 3 gadi atpakaļ
vecāks
revīzija
84a8a3bf08

+ 7 - 7
pages/cart/cart.vue

@@ -153,13 +153,13 @@ export default {
 		},
 		},
 		//跳转到详情
 		//跳转到详情
 		ToDetail(index) {
 		ToDetail(index) {
-			if(this.userInfo.level_name) {
-				uni.showModal({
-					title: '提示',
-					content:'您已是' + this.userInfo.level_name + ',无需再次报名!'
-				})
-				return
-			}
+			// if(this.userInfo.level_name) {
+			// 	uni.showModal({
+			// 		title: '提示',
+			// 		content:'您已是' + this.userInfo.level_name + ',无需再次报名!'
+			// 	})
+			// 	return
+			// }
 			if(index == 1) {
 			if(index == 1) {
 				uni.navigateTo({
 				uni.navigateTo({
 					url: '/pages/cart/personal'
 					url: '/pages/cart/personal'

+ 7 - 7
pages/cart/group.vue

@@ -29,14 +29,14 @@
 				<input type="text" value="" class="list-input" v-model="unit_peo" placeholder="请输入法人代表"
 				<input type="text" value="" class="list-input" v-model="unit_peo" placeholder="请输入法人代表"
 					placeholder-class="placeholder" />
 					placeholder-class="placeholder" />
 			</view>
 			</view>
-			<!-- <view class="box-1">
+			<view class="box-1">
 				<view class="box-left">
 				<view class="box-left">
 					单位人数
 					单位人数
 					<text class="imp"></text>
 					<text class="imp"></text>
 				</view>
 				</view>
 				<input type="number" value="" class="list-input" v-model="unit_num" placeholder="请输入单位人数" placeholder-class="placeholder" />
 				<input type="number" value="" class="list-input" v-model="unit_num" placeholder="请输入单位人数" placeholder-class="placeholder" />
-			</view> -->
+			</view>
 			<view class="box-1">
 			<view class="box-1">
 				<view class="box-left">
 				<view class="box-left">
 					联系人
 					联系人
@@ -193,10 +193,10 @@
 					obj.$api.msg('请填写法人代表');
 					obj.$api.msg('请填写法人代表');
 					return;
 					return;
 				}
 				}
-				// if (obj.unit_num == '') {
-				// 	obj.$api.msg('请填写单位人数');
-				// 	return;
-				// }
+				if (obj.unit_num == '') {
+					obj.$api.msg('请填写单位人数');
+					return;
+				}
 				if (obj.unit_concat == '') {
 				if (obj.unit_concat == '') {
 					obj.$api.msg('请填写联系人');
 					obj.$api.msg('请填写联系人');
 					return;
 					return;
@@ -235,7 +235,7 @@
 						company_name: obj.unit_name, //单位名称
 						company_name: obj.unit_name, //单位名称
 						nature: obj.unit_type, //性质
 						nature: obj.unit_type, //性质
 						legal_person: obj.unit_peo, //法人
 						legal_person: obj.unit_peo, //法人
-						// company_member: obj.unit_num * 1, //公司人数
+						company_member: obj.unit_num * 1, //公司人数
 						company_address: obj.concat_address, //联系地址
 						company_address: obj.concat_address, //联系地址
 						zip_code: obj.postal_code, //邮编
 						zip_code: obj.postal_code, //邮编
 						mobile: obj.concat_phone, //联系电话
 						mobile: obj.concat_phone, //联系电话

+ 3 - 3
pages/cart/personal.vue

@@ -105,7 +105,7 @@ export default {
 		return {
 		return {
 			loding: false, //是否提交中
 			loding: false, //是否提交中
 			array: ['男', '女'],
 			array: ['男', '女'],
-			chooseEdu: ['小学以下', '小学', '初中', '高中/中专', '大专/本科', '硕士', '博士', '博士后'],
+			chooseEdu: ['小学以下', '小学', '初中', '高中/中专', '大专/高职','本科','研究生', '硕士', '博士', '博士后'],
 			chooseVol: ['是', '否'],
 			chooseVol: ['是', '否'],
 			chooseExp: ['是', '否'],
 			chooseExp: ['是', '否'],
 			index: 0,
 			index: 0,
@@ -221,9 +221,9 @@ export default {
 			// obj.loding = true;
 			// obj.loding = true;
 			vip({
 			vip({
 				full_name: obj.name, //姓名
 				full_name: obj.name, //姓名
-				sex: obj.sex, //性别
+				gender: obj.sex, //性别
 				education: obj.educationid, //学历
 				education: obj.educationid, //学历
-				birth: obj.birth, //生日
+				birthday: obj.birth, //生日
 				nation: obj.mz, //民族
 				nation: obj.mz, //民族
 				mobile: obj.phone,
 				mobile: obj.phone,
 				address: obj.address, //居住地址
 				address: obj.address, //居住地址

+ 2 - 2
pages/form/applicationForm.vue

@@ -145,7 +145,7 @@
 				type: '',
 				type: '',
 				loding: false, //是否提交中
 				loding: false, //是否提交中
 				array: ['男', '女'],
 				array: ['男', '女'],
-				chooseEdu: ['小学以下', '小学', '初中', '高中/中专', '大专/本科', '硕士', '博士', '博士后'],
+				chooseEdu: ['小学以下', '小学', '初中', '高中/中专', '大专/高职','本科','研究生', '硕士', '博士', '博士后'],
 				chooseVol: ['是', '否'],
 				chooseVol: ['是', '否'],
 				chooseExp: ['是', '否'],
 				chooseExp: ['是', '否'],
 				realyItems: [], //捐赠对照表
 				realyItems: [], //捐赠对照表
@@ -251,7 +251,7 @@
 						return (item.name != '人体器官') && (item.name != '眼角膜') && (item.name != '遗体') && (
 						return (item.name != '人体器官') && (item.name != '眼角膜') && (item.name != '遗体') && (
 							item.name != '全部器官')
 							item.name != '全部器官')
 					})
 					})
-					this.apparatus = arr;
+					this.apparatus = arr.reverse();
 					console.log(this.realyItems, '获取捐赠对照列表')
 					console.log(this.realyItems, '获取捐赠对照列表')
 
 
 				});
 				});

+ 4 - 5
pages/form/tovolApply.vue

@@ -64,7 +64,7 @@
 				<input type="text" placeholder="请填写电子邮件" value="" class="list-input" v-model="email" />
 				<input type="text" placeholder="请填写电子邮件" value="" class="list-input" v-model="email" />
 			</view>
 			</view>
 			<view class="box-1">
 			<view class="box-1">
-				<view class="box-left">联系地址(选填)</view>
+				<view class="box-left">联系地址<text class="imp">*</text></view>
 				<input type="text" value="" placeholder="请填写联系地址" class="list-input" v-model="address" />
 				<input type="text" value="" placeholder="请填写联系地址" class="list-input" v-model="address" />
 			</view>
 			</view>
 			<view class="box-1">
 			<view class="box-1">
@@ -77,7 +77,7 @@
 			</view>
 			</view>
 
 
 			<view class="box-1">
 			<view class="box-1">
-				<view class="box-left">教育程度(选填)</view>
+				<view class="box-left">教育程度<text class="imp">*</text></view>
 				<picker @change="bindPickerEdu" :value="index" :range="chooseEdu">
 				<picker @change="bindPickerEdu" :value="index" :range="chooseEdu">
 					<view class="box-right">{{ education }}</view>
 					<view class="box-right">{{ education }}</view>
 				</picker>
 				</picker>
@@ -103,7 +103,6 @@
 				<view class="box-left">
 				<view class="box-left">
 					有无服务经验
 					有无服务经验
 					<text class="imp">*</text>
 					<text class="imp">*</text>
-					
 				</view>
 				</view>
 			</view>
 			</view>
 			<view class="uni-list">
 			<view class="uni-list">
@@ -228,7 +227,7 @@ export default {
 			otherspe: '',
 			otherspe: '',
 			loding: false, //是否提交中
 			loding: false, //是否提交中
 			array: ['男', '女'],
 			array: ['男', '女'],
-			chooseEdu: ['小学以下', '小学', '初中', '高中/中专', '大专/本科', '硕士','博士','博士后'],
+			chooseEdu: ['小学以下', '小学', '初中', '高中/中专', '大专/高职','本科','研究生', '硕士', '博士', '博士后'],
 			chooseVol: ['有', '无'],
 			chooseVol: ['有', '无'],
 			is_experience: [
 			is_experience: [
 				{
 				{
@@ -532,7 +531,7 @@ export default {
 				specialty: obj.specialty, //职业/职务/专业
 				specialty: obj.specialty, //职业/职务/专业
 				education: obj.educationid, //教育程度
 				education: obj.educationid, //教育程度
 				is_vol: obj.checked,//是否受过志愿者服务
 				is_vol: obj.checked,//是否受过志愿者服务
-				is_experience: obj.checked1,//有无工作经验
+				is_experience: obj.checked1 == 1 ? 0: 1,//有无工作经验
 				start_hour: obj.start_hour,
 				start_hour: obj.start_hour,
 				end_hour: obj.end_hour,
 				end_hour: obj.end_hour,
 				work_week: obj.dates,//星期几
 				work_week: obj.dates,//星期几