|
|
|
|
@ -347,29 +347,7 @@ Page({
|
|
|
|
|
app.globalData.isCommission = 1;
|
|
|
|
|
}
|
|
|
|
|
app.getLoginUserTokenInfo();
|
|
|
|
|
|
|
|
|
|
this.getJobList();
|
|
|
|
|
if (wx.getStorageSync("FILTER_LIST")) {
|
|
|
|
|
let list = wx.getStorageSync("FILTER_LIST");
|
|
|
|
|
list.forEach((item) => {
|
|
|
|
|
item.active = 0;
|
|
|
|
|
if (item.typeClassify == "0") {
|
|
|
|
|
this.data.filterData.jobFilter["tagArray0"].push(item);
|
|
|
|
|
} else if (item.typeClassify == "1") {
|
|
|
|
|
this.data.filterData.jobFilter["tagArray1"].push(item);
|
|
|
|
|
} else if (item.typeClassify == "2") {
|
|
|
|
|
this.data.filterData.jobFilter["tagArray2"].push(item);
|
|
|
|
|
} else if (item.typeClassify == "3") {
|
|
|
|
|
this.data.filterData.jobFilter["tagArray3"].push(item);
|
|
|
|
|
} else if (item.typeClassify == "4") {
|
|
|
|
|
this.data.filterData.jobFilter["tagArray4"].push(item);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
let jobFilter = "filterData.jobFilter";
|
|
|
|
|
this.setData({
|
|
|
|
|
[jobFilter]: this.data.filterData.jobFilter,
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onReady() {
|
|
|
|
|
let that = this;
|
|
|
|
|
@ -681,7 +659,11 @@ Page({
|
|
|
|
|
success: function (res) {
|
|
|
|
|
console.log("职位列表↓↓↓↓");
|
|
|
|
|
console.log(res);
|
|
|
|
|
|
|
|
|
|
if(res.data.status == '9999'){
|
|
|
|
|
wx.navigateTo({
|
|
|
|
|
url: '../login/index',
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
that.setData({
|
|
|
|
|
totalPage: res.data.data.pageBean.pageCount,
|
|
|
|
|
currPage: res.data.data.pageBean.currentPage,
|
|
|
|
|
|