Browse Source

upload

product
HolyKnightIX 2 months ago
parent
commit
72f8c4ea8c
3 changed files with 27 additions and 4 deletions
  1. +5
    -0
      pages/getuserinfo/index.js
  2. +5
    -3
      pages/index/index.js
  3. +17
    -1
      pages3/resume/resume.js

+ 5
- 0
pages/getuserinfo/index.js View File

@@ -411,6 +411,11 @@ Page({
app.globalData.skipUrl = '/index/searchbar',
app.globalData.skip = 'switchTab'
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) {
app.globalData.skipUrl = `/pages/coupon/detail/index?couponChannelId=${that.data.couponChannelIdflag}`,
app.globalData.skip = 'redirectTo'


+ 5
- 3
pages/index/index.js View File

@@ -147,7 +147,7 @@ Page({
}
})
.then(res => {
// res = JSON.parse('{"code":11004,"message":"用户昵称未授权,请跳转到用户昵称授权页!","data":{}}')
console.log(res, 'res');
//参与拼团
if (options && options.orderGroupId) {
wx.redirectTo({
@@ -387,6 +387,7 @@ Page({
url: `/pages/index/searchbar/detail/index?id=${options.id}`
});
} else if (options && app.globalData.type == 'rm') {
console.log("111111111111111111111");
wx.navigateTo({
url: '/pages3/resume/resume',
})
@@ -563,8 +564,9 @@ Page({
url: '/index/searchbar'
})
} else if (options && app.globalData.type == 'rm') {
wx.navigateTo({
url: '/pages3/resume/resume',
console.log("22222222222222222");
wx.redirectTo({
url: `/pages/getuserinfo/index`
})
} else {
wx.switchTab({


+ 17
- 1
pages3/resume/resume.js View File

@@ -104,12 +104,13 @@ Page({
},

cancelUpload() {
const that = this
wx.showModal({
title: '提示',
content: '删除文件后需要重新上传',
success(res) {
if (res.confirm) {
this.setData({
that.setData({
fileName: "",
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) {
this.getPhoneStatus()
this.getUserPhone()
this.getResumeDetail()
},


Loading…
Cancel
Save