...
|
...
|
@@ -131,7 +131,14 @@ Page({ |
|
|
sex: parseInt(e.detail.value) + 1
|
|
|
})
|
|
|
},
|
|
|
|
|
|
//固定电话
|
|
|
setfixed_phone(e) {
|
|
|
this.setData({
|
|
|
fixed_phone: e.detail.value
|
|
|
})
|
|
|
},
|
|
|
|
|
|
//移动电话
|
|
|
setmove_phone(e) {
|
|
|
this.setData({
|
|
|
move_phone: e.detail.value
|
...
|
...
|
@@ -527,6 +534,8 @@ Page({ |
|
|
err = '请输入您的身份证号!';
|
|
|
} else if (!AuglyTest_ID.test(that.data.card_number)) {
|
|
|
err = '请输入正确的身份证号!';
|
|
|
} else if (that.data.fixed_phone == '' || !that.data.fixed_phone) {
|
|
|
err = '请输入您的固定电话!';
|
|
|
} else if (that.data.move_phone == '') {
|
|
|
err = '请输入您的移动电话!';
|
|
|
} else if (!AuglyTest_phone.test(that.data.move_phone)) {
|
...
|
...
|
@@ -543,8 +552,6 @@ Page({ |
|
|
err = '请输入正确的QQ号!';
|
|
|
} else if (that.data.address == '') {
|
|
|
err = '请选择您的服务区域';
|
|
|
} else if (that.data.type == '') {
|
|
|
err = '请选择您的志愿类别!';
|
|
|
} else if (that.data.front_card == '') {
|
|
|
err = '请上传身份证正面!';
|
|
|
} else if (that.data.reverse_card == '') {
|
...
|
...
|
@@ -582,7 +589,7 @@ Page({ |
|
|
addr: that.data.addr,
|
|
|
school: that.data.school,
|
|
|
card_number: that.data.card_number,
|
|
|
|
|
|
fixed_phone: that.data.fixed_phone,
|
|
|
move_phone: that.data.move_phone,
|
|
|
postcode: that.data.postcode,
|
|
|
email: that.data.email,
|
...
|
...
|
@@ -592,7 +599,6 @@ Page({ |
|
|
city: that.data.city,
|
|
|
county: that.data.county,
|
|
|
address: that.data.address,
|
|
|
// type: that.data.type,
|
|
|
record_start_time: record_start_time,
|
|
|
record_end_time: record_end_time,
|
|
|
record_unit: record_unit,
|
...
|
...
|
|