|
|
|
@ -38,20 +38,6 @@ Page({
|
|
|
|
picked: '0'
|
|
|
|
picked: '0'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
sortList: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name: '综合排序',
|
|
|
|
|
|
|
|
key: 'zuigao',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name: '综合排序',
|
|
|
|
|
|
|
|
key: 'zuigao',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name: '综合排序',
|
|
|
|
|
|
|
|
key: 'zuigao',
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
anchorList: [
|
|
|
|
anchorList: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
id: 'age',
|
|
|
|
id: 'age',
|
|
|
|
@ -137,7 +123,7 @@ Page({
|
|
|
|
lat: "",
|
|
|
|
lat: "",
|
|
|
|
lng: "",
|
|
|
|
lng: "",
|
|
|
|
jobClassify: "",
|
|
|
|
jobClassify: "",
|
|
|
|
sortTag: 0,
|
|
|
|
sortTag: 1,
|
|
|
|
jobRequestLabelIds: "",
|
|
|
|
jobRequestLabelIds: "",
|
|
|
|
cityName: "",
|
|
|
|
cityName: "",
|
|
|
|
brandIds: "",
|
|
|
|
brandIds: "",
|
|
|
|
@ -1717,7 +1703,7 @@ Page({
|
|
|
|
console.log(e);
|
|
|
|
console.log(e);
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
// let data = e.currentTarget.dataset.item;
|
|
|
|
// let data = e.currentTarget.dataset.item;
|
|
|
|
this.data.storeJobListSearchForm.sortTag = 0;
|
|
|
|
this.data.storeJobListSearchForm.sortTag = 1;
|
|
|
|
that.data.storeJobListSearchForm.pageNum = 1;
|
|
|
|
that.data.storeJobListSearchForm.pageNum = 1;
|
|
|
|
this.setData({
|
|
|
|
this.setData({
|
|
|
|
firstMenu: "工价",
|
|
|
|
firstMenu: "工价",
|
|
|
|
@ -4346,7 +4332,7 @@ Page({
|
|
|
|
let item = e.currentTarget.dataset.item
|
|
|
|
let item = e.currentTarget.dataset.item
|
|
|
|
that.data.choiceCollect = item.key;
|
|
|
|
that.data.choiceCollect = item.key;
|
|
|
|
// that.data.storeJobListSearchForm.ucj = e.currentTarget.dataset.id;
|
|
|
|
// that.data.storeJobListSearchForm.ucj = e.currentTarget.dataset.id;
|
|
|
|
that.data.storeJobListSearchForm.sortTag = item.key;
|
|
|
|
// that.data.storeJobListSearchForm.sortTag = 0;
|
|
|
|
that.data.storeJobListSearchForm.picked = item.picked;
|
|
|
|
that.data.storeJobListSearchForm.picked = item.picked;
|
|
|
|
that.data.storeJobListSearchForm.pageNum = 1;
|
|
|
|
that.data.storeJobListSearchForm.pageNum = 1;
|
|
|
|
that.setData({
|
|
|
|
that.setData({
|
|
|
|
@ -4372,7 +4358,7 @@ Page({
|
|
|
|
let str = e.currentTarget.dataset.id;
|
|
|
|
let str = e.currentTarget.dataset.id;
|
|
|
|
console.log(e);
|
|
|
|
console.log(e);
|
|
|
|
if (str == "all") {
|
|
|
|
if (str == "all") {
|
|
|
|
that.data.storeJobListSearchForm.sortTag = 0;
|
|
|
|
that.data.storeJobListSearchForm.sortTag = 1;
|
|
|
|
that.setData({
|
|
|
|
that.setData({
|
|
|
|
firstMenu: "工价",
|
|
|
|
firstMenu: "工价",
|
|
|
|
// storeJobListSearchForm: that.data.storeJobListSearchForm,
|
|
|
|
// storeJobListSearchForm: that.data.storeJobListSearchForm,
|
|
|
|
@ -4471,11 +4457,7 @@ Page({
|
|
|
|
firstMenu: "工价",
|
|
|
|
firstMenu: "工价",
|
|
|
|
recordList: [],
|
|
|
|
recordList: [],
|
|
|
|
});
|
|
|
|
});
|
|
|
|
that.getJobList().then(() => {
|
|
|
|
|
|
|
|
that.setData({
|
|
|
|
|
|
|
|
siv: "menu",
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
} else if (str == "fuwufei") {
|
|
|
|
} else if (str == "fuwufei") {
|
|
|
|
console.log(str);
|
|
|
|
console.log(str);
|
|
|
|
that.data.storeJobListSearchForm.sortTag = 3;
|
|
|
|
that.data.storeJobListSearchForm.sortTag = 3;
|
|
|
|
@ -4485,17 +4467,22 @@ Page({
|
|
|
|
// storeJobListSearchForm: tha t.data.storeJobListSearchForm,
|
|
|
|
// storeJobListSearchForm: tha t.data.storeJobListSearchForm,
|
|
|
|
recordList: [],
|
|
|
|
recordList: [],
|
|
|
|
});
|
|
|
|
});
|
|
|
|
that.getJobList().then(() => {
|
|
|
|
|
|
|
|
that.setData({
|
|
|
|
|
|
|
|
siv: "menu",
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
} else if (str == "shijian") {
|
|
|
|
} else if (str == "shijian") {
|
|
|
|
|
|
|
|
that.data.storeJobListSearchForm.sortTag = 2;
|
|
|
|
|
|
|
|
that.data.storeJobListSearchForm.pageNum = 1;
|
|
|
|
that.setData({
|
|
|
|
that.setData({
|
|
|
|
firstMenu: "时间",
|
|
|
|
firstMenu: "时间",
|
|
|
|
// storeJobListSearchForm: tha t.data.storeJobListSearchForm,
|
|
|
|
// storeJobListSearchForm: tha t.data.storeJobListSearchForm,
|
|
|
|
|
|
|
|
recordList: [],
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
that.getJobList().then(() => {
|
|
|
|
|
|
|
|
that.setData({
|
|
|
|
|
|
|
|
siv: "menu",
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
that.setData({
|
|
|
|
that.setData({
|
|
|
|
activez: str,
|
|
|
|
activez: str,
|
|
|
|
whichOneShow: "",
|
|
|
|
whichOneShow: "",
|
|
|
|
|