|
|
|
|
@ -16,7 +16,20 @@ Page({
|
|
|
|
|
* 生命周期函数--监听页面加载
|
|
|
|
|
*/
|
|
|
|
|
onLoad(options) {
|
|
|
|
|
// console.log(wx.getStorageSync("jobDetailStorageChajian"))
|
|
|
|
|
console.log(app.globalData)
|
|
|
|
|
// console.log(wx.getStorageSync("jobDetailStorageChajian"))
|
|
|
|
|
if (app.isNotEmptyCheck(app.globalData.user.userName)) {
|
|
|
|
|
// this.data.inputUserName = app.globalData.user.userName;
|
|
|
|
|
this.setData({
|
|
|
|
|
inputUserName: app.globalData.user.userName,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
if (app.isNotEmptyCheck(app.globalData.loginUserInfo.tel)) {
|
|
|
|
|
// this.data.phoneNumber = app.globalData.loginUserInfo.tel;
|
|
|
|
|
this.setData({
|
|
|
|
|
phoneNumber: app.globalData.loginUserInfo.tel
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
bindinputUserName(e) {
|
|
|
|
|
console.log(e)
|
|
|
|
|
@ -71,6 +84,9 @@ Page({
|
|
|
|
|
header: app.globalData.headers,
|
|
|
|
|
data: formData,
|
|
|
|
|
success: function (res) {
|
|
|
|
|
// wx.redirectTo({
|
|
|
|
|
// url: "../success/index?applyType=" + that.data.applyType
|
|
|
|
|
// });
|
|
|
|
|
wx.showToast({
|
|
|
|
|
icon: "success",
|
|
|
|
|
title: "报名成功",
|
|
|
|
|
|