|
|
@@ -1421,13 +1421,14 @@
|
|
|
// that.getUserData();
|
|
|
// }
|
|
|
// });
|
|
|
+ this.userType = 1
|
|
|
uni.setStorageSync('userType', 1)
|
|
|
|
|
|
//修改当前用户身份
|
|
|
- var res = that.updateUserResumes(1)
|
|
|
+ //var res = that.updateUserResumes(1)
|
|
|
|
|
|
- // that.getUserInfo();
|
|
|
- // that.getUserData();
|
|
|
+ that.getUserInfo();
|
|
|
+ that.getUserData();
|
|
|
|
|
|
|
|
|
}
|
|
|
@@ -1442,9 +1443,10 @@
|
|
|
confirmColor: "#016BF6",
|
|
|
complete(ret) {
|
|
|
if (ret.confirm) {
|
|
|
+ this.userType = 2
|
|
|
uni.setStorageSync('userType', 2)
|
|
|
- var res = that.updateUserResumes(2)
|
|
|
- // that.getCompany();
|
|
|
+ //var res = that.updateUserResumes(2)
|
|
|
+ that.getCompany();
|
|
|
|
|
|
}
|
|
|
},
|