|
|
|
|
|
|
|
|
vocationList2:[],//职业列表2 |
|
|
vocationList2:[],//职业列表2 |
|
|
vocationIndex:'0', |
|
|
vocationIndex:'0', |
|
|
allList:[],//所有列表 |
|
|
allList:[],//所有列表 |
|
|
cityList:[['宁波','北京'],['上海','佛山']],//城市列表 |
|
|
|
|
|
|
|
|
cityList: [[''], ['']],//城市列表 |
|
|
cityIndex:['0','0'], |
|
|
cityIndex:['0','0'], |
|
|
getVcodeTime:0,//获取验证码倒计时 |
|
|
getVcodeTime:0,//获取验证码倒计时 |
|
|
getCodeTimeKey:null, |
|
|
getCodeTimeKey:null, |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 提交信息-注册 |
|
|
* 提交信息-注册 |
|
|
*/ |
|
|
*/ |
|
|
formSubmit2(e){ |
|
|
|
|
|
|
|
|
formSubmit2(e) { |
|
|
|
|
|
console.log(this.data.cityList[0][e.detail.value.city[0]]); |
|
|
|
|
|
return; |
|
|
console.log('form发生了submit事件,携带数据为:', e.detail.value) |
|
|
console.log('form发生了submit事件,携带数据为:', e.detail.value) |
|
|
if (e.detail.value.name == "" || e.detail.value.name == null) { |
|
|
if (e.detail.value.name == "" || e.detail.value.name == null) { |
|
|
wx.showToast({icon:'none',title: '请输入您的姓名'}) |
|
|
wx.showToast({icon:'none',title: '请输入您的姓名'}) |
|
|
|
|
|
|
|
|
realname:e.detail.value.name, |
|
|
realname:e.detail.value.name, |
|
|
jobId:this.data.vocationList2[parseInt(this.data.vocationIndex)]["jobId"], |
|
|
jobId:this.data.vocationList2[parseInt(this.data.vocationIndex)]["jobId"], |
|
|
jobDetail:this.data.vocationList2[parseInt(this.data.vocationIndex)]["jobDetail"], |
|
|
jobDetail:this.data.vocationList2[parseInt(this.data.vocationIndex)]["jobDetail"], |
|
|
|
|
|
province: this.data.cityList[0][e.detail.value.city[0]], |
|
|
city:this.data.cityList[1][e.detail.value.city[1]], |
|
|
city:this.data.cityList[1][e.detail.value.city[1]], |
|
|
picArr:JSON.stringify(this.data.photoList) |
|
|
picArr:JSON.stringify(this.data.photoList) |
|
|
}, res => { |
|
|
}, res => { |