@@ -411,6 +411,11 @@ Page({ | |||||
app.globalData.skipUrl = '/index/searchbar', | app.globalData.skipUrl = '/index/searchbar', | ||||
app.globalData.skip = 'switchTab' | app.globalData.skip = 'switchTab' | ||||
that.judgePhonelngo() | that.judgePhonelngo() | ||||
} else if (app.globalData.type == 'rm') { | |||||
// 门店 | |||||
app.globalData.skipUrl = '/pages/resume/resume', | |||||
app.globalData.skip = 'redirectTo' | |||||
that.judgePhonelngo() | |||||
} else if (that.data.fromflag == 'coupondetail' && that.data.couponChannelIdflag) { | } else if (that.data.fromflag == 'coupondetail' && that.data.couponChannelIdflag) { | ||||
app.globalData.skipUrl = `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelIdflag}`, | app.globalData.skipUrl = `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelIdflag}`, | ||||
app.globalData.skip = 'redirectTo' | app.globalData.skip = 'redirectTo' | ||||
@@ -147,7 +147,7 @@ Page({ | |||||
} | } | ||||
}) | }) | ||||
.then(res => { | .then(res => { | ||||
// res = JSON.parse('{"code":11004,"message":"用户昵称未授权,请跳转到用户昵称授权页!","data":{}}') | |||||
console.log(res, 'res'); | |||||
//参与拼团 | //参与拼团 | ||||
if (options && options.orderGroupId) { | if (options && options.orderGroupId) { | ||||
wx.redirectTo({ | wx.redirectTo({ | ||||
@@ -387,6 +387,7 @@ Page({ | |||||
url: `/pages/index/searchbar/detail/index?id=${options.id}` | url: `/pages/index/searchbar/detail/index?id=${options.id}` | ||||
}); | }); | ||||
} else if (options && app.globalData.type == 'rm') { | } else if (options && app.globalData.type == 'rm') { | ||||
console.log("111111111111111111111"); | |||||
wx.navigateTo({ | wx.navigateTo({ | ||||
url: '/pages3/resume/resume', | url: '/pages3/resume/resume', | ||||
}) | }) | ||||
@@ -563,8 +564,9 @@ Page({ | |||||
url: '/index/searchbar' | url: '/index/searchbar' | ||||
}) | }) | ||||
} else if (options && app.globalData.type == 'rm') { | } else if (options && app.globalData.type == 'rm') { | ||||
wx.navigateTo({ | |||||
url: '/pages3/resume/resume', | |||||
console.log("22222222222222222"); | |||||
wx.redirectTo({ | |||||
url: `/pages/getuserinfo/index` | |||||
}) | }) | ||||
} else { | } else { | ||||
wx.switchTab({ | wx.switchTab({ | ||||
@@ -104,12 +104,13 @@ Page({ | |||||
}, | }, | ||||
cancelUpload() { | cancelUpload() { | ||||
const that = this | |||||
wx.showModal({ | wx.showModal({ | ||||
title: '提示', | title: '提示', | ||||
content: '删除文件后需要重新上传', | content: '删除文件后需要重新上传', | ||||
success(res) { | success(res) { | ||||
if (res.confirm) { | if (res.confirm) { | ||||
this.setData({ | |||||
that.setData({ | |||||
fileName: "", | fileName: "", | ||||
filePath: "" | filePath: "" | ||||
}) | }) | ||||
@@ -249,10 +250,25 @@ Page({ | |||||
}) | }) | ||||
}, | }, | ||||
getPhoneStatus() { | |||||
Http.get({ | |||||
url: config.api.checkPhoneStatus, | |||||
}).then(res => { | |||||
}).catch(err => { | |||||
app.globalData.skip = "redirectTo" | |||||
const skipUrl = "/pages3/resume/resume" | |||||
wx.redirectTo({ | |||||
url: `/pages/getphoneInfo/index?skipUrl=${skipUrl}` | |||||
}); | |||||
}) | |||||
}, | |||||
/** | /** | ||||
* 生命周期函数--监听页面加载 | * 生命周期函数--监听页面加载 | ||||
*/ | */ | ||||
onLoad(options) { | onLoad(options) { | ||||
this.getPhoneStatus() | |||||
this.getUserPhone() | this.getUserPhone() | ||||
this.getResumeDetail() | this.getResumeDetail() | ||||
}, | }, | ||||