|
@@ -16,6 +16,7 @@ Page({
|
|
|
name: '硕士'
|
|
|
},
|
|
|
],
|
|
|
+ kaihuindex: 0,
|
|
|
nameIsTrue: false, //名字是否填写
|
|
|
cultureIsTrue: false, //文化是否填写
|
|
|
graduationIsTrue: false, //毕业学校
|
|
@@ -95,11 +96,11 @@ Page({
|
|
|
date = new Date(date);
|
|
|
return `${date.getFullYear()-1}/${date.getMonth() + 1}/${date.getDate()}`;
|
|
|
},
|
|
|
- kaihuListChange: function (e) {
|
|
|
+ kaihuListChange (e) {
|
|
|
console.log(e, "8888888888888")
|
|
|
this.setData({
|
|
|
kaihuindex: e.detail.value,
|
|
|
- kaihutext: '',
|
|
|
+ kaihutext: this.data.kaihuList[e.detail.value].name,
|
|
|
})
|
|
|
},
|
|
|
share1() {
|
|
@@ -249,6 +250,7 @@ Page({
|
|
|
peixunshijianTrue: false
|
|
|
})
|
|
|
}
|
|
|
+ console.log(this.data.kaihuList,this.data.kaihuindex,"000000")
|
|
|
e.detail.value.culture = this.data.kaihuList[this.data.kaihuindex].name;
|
|
|
e.detail.value.tenure = this.data.tenure;
|
|
|
e.detail.value.sessionKey = this.data.sessionKey;
|
|
@@ -272,7 +274,7 @@ Page({
|
|
|
console.log("提交成功");
|
|
|
wx.showModal({
|
|
|
showCancel: false,
|
|
|
- content: '提交成功',
|
|
|
+ content: '报到成功',
|
|
|
success() {
|
|
|
wx.navigateBack({
|
|
|
delta: 1
|
|
@@ -284,7 +286,7 @@ Page({
|
|
|
console.log(res)
|
|
|
wx.showModal({
|
|
|
showCancel: false,
|
|
|
- content: '提交失败',
|
|
|
+ content: '报到失败',
|
|
|
success() {
|
|
|
wx.navigateBack({
|
|
|
delta: 1
|
|
@@ -343,7 +345,7 @@ Page({
|
|
|
sessionKey: sessionKey,
|
|
|
},
|
|
|
success: (res) => {
|
|
|
- // console.log(rs)
|
|
|
+ console.log(res)
|
|
|
if (res.data.code == 0) {
|
|
|
this.data.parameter.forEach(item => {
|
|
|
if (item.value == res.data.data.studentSex) {
|