|
|
|
|
@ -99,6 +99,17 @@ Page({
|
|
|
|
|
data.recordList.forEach((i) => {
|
|
|
|
|
i.minMonthlyPay = i.minMonthlyPay / 100
|
|
|
|
|
i.maxMonthlyPay = i.maxMonthlyPay / 100
|
|
|
|
|
|
|
|
|
|
console.log('是否执行')
|
|
|
|
|
if (i.jobSpecialLabelNames && i.jobSpecialLabelNames.length > 0) {
|
|
|
|
|
i.labelGroup = i.jobSpecialLabelNames.split(', ').filter((itm, inx) => {
|
|
|
|
|
return inx < 6
|
|
|
|
|
}).map(itm => {
|
|
|
|
|
return itm
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
i.labelGroup = [];
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
console.log('data.recordList',data.recordList)
|
|
|
|
|
@ -272,6 +283,7 @@ Page({
|
|
|
|
|
disposeJobListData(recordList) {
|
|
|
|
|
var that = this;
|
|
|
|
|
recordList.forEach((item) => {
|
|
|
|
|
|
|
|
|
|
item["workType"] = commonUtil.getWorkTypeById(item.workTypeMulti);
|
|
|
|
|
|
|
|
|
|
if (app.isNotEmptyCheck(item.distance)) {
|
|
|
|
|
@ -316,7 +328,6 @@ Page({
|
|
|
|
|
item["jobSpecialLabelNameArray"].push(i);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
// item["jobSpecialLabelNames"] = ;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
return recordList;
|
|
|
|
|
|