特价专区筛选条件

parent a8b43f6e
......@@ -186,20 +186,29 @@ const dataParams = (item, datePart) => {
};
// 景点
const placeParams = (info) => {
console.log('info', info);
// params.value.attractionIdList = [info.id];
params.value.attractionIdList = info.map((item) => {
return item.attractionName;
});
refresh().then(() => {
queryOfferProdListFn();
});
}; // 筛选
const screenParams = (item, type) => {
if (type === 'screen') {
params.value.startCityList = [item.tripCity];
params.value.startCityList = item.map((item) => {
return item.tripCity;
});
} else if (type === 'serve') {
params.value.serviceList = [item.labelName];
params.value.serviceList = item.map((item) => {
return item.labelName;
});
} else if (type === 'people') {
params.value.forPeopleList = [item.labelName];
item.map((item) => {
return item.labelName;
});
params.value.forPeopleList = item.map((item) => {
return item.labelName;
});
}
refresh().then(() => {
queryOfferProdListFn();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment