屏蔽我要招工消息中心的三项

This commit is contained in:
zxy
2024-03-31 21:56:35 +08:00
parent 21c1a5a0ff
commit b370983ea5

View File

@@ -62,100 +62,102 @@ export default {
url: "/pages/news/newsDetail?type=0", url: "/pages/news/newsDetail?type=0",
}); });
}, },
}, { }
id: "1", // , {
title: "任务申请", // id: "1",
icon: "../../../static/img/renwu.png", // title: "任务申请",
page: { // icon: "../../../static/img/renwu.png",
current: 0, // page: {
size: this.size, // current: 0,
total: this.size, // size: this.size,
}, // total: this.size,
data: [], // },
prop: { // data: [],
title: "missionTitle", // prop: {
desc: (value) => { // title: "missionTitle",
if (value.data[0]) // desc: (value) => {
return `您收到${value.data[0][0]["companyName"]}的任务`; // if (value.data[0])
}, // return `您收到${value.data[0][0]["companyName"]}的任务`;
time: "createTime", // },
isRead: "status", // time: "createTime",
listDesc: "companyName", // isRead: "status",
}, // listDesc: "companyName",
navigateTo(item, dispatch) { // },
// dispatch("readNew", { // navigateTo(item, dispatch) {
// key: "1", // // dispatch("readNew", {
// id: item.id, // // key: "1",
// // id: item.id,
// // });
// uni.navigateTo({
// url: `/pages/projectInfo/projectInfo?type=1&missionNo=${encodeURIComponent(
// item.missionNo
// )}&id=${encodeURIComponent(item.id)}`,
// }); // });
uni.navigateTo({ // },
url: `/pages/projectInfo/projectInfo?type=1&missionNo=${encodeURIComponent( // }, {
item.missionNo // id: "1",
)}&id=${encodeURIComponent(item.id)}`, // title: "岗位申请",
}); // icon: "../../../static/img/job_recruit.svg",
}, // page: {
}, { // current: 0,
id: "1", // size: this.size,
title: "岗位申请", // total: this.size,
icon: "../../../static/img/job_recruit.svg", // },
page: { // data: [],
current: 0, // prop: {
size: this.size, // title: "missionTitle",
total: this.size, // desc: (value) => {
}, // if (value.data[0])
data: [], // return `您收到${value.data[0][0]["companyName"]}的任务`;
prop: { // },
title: "missionTitle", // time: "createTime",
desc: (value) => { // isRead: "status",
if (value.data[0]) // listDesc: "companyName",
return `您收到${value.data[0][0]["companyName"]}的任务`; // },
}, // navigateTo(item, dispatch) {
time: "createTime", // // dispatch("readNew", {
isRead: "status", // // key: "1",
listDesc: "companyName", // // id: item.id,
}, // // });
navigateTo(item, dispatch) { // uni.navigateTo({
// dispatch("readNew", { // url: `/pages/projectInfo/projectInfo?type=1&missionNo=${encodeURIComponent(
// key: "1", // item.missionNo
// id: item.id, // )}&id=${encodeURIComponent(item.id)}`,
// }); // });
uni.navigateTo({ // },
url: `/pages/projectInfo/projectInfo?type=1&missionNo=${encodeURIComponent( // }, {
item.missionNo // id: "1",
)}&id=${encodeURIComponent(item.id)}`, // title: "个体户申请",
}); // icon: "../../../static/img/own_recruit.svg",
}, // page: {
}, { // current: 0,
id: "1", // size: this.size,
title: "个体户申请", // total: this.size,
icon: "../../../static/img/own_recruit.svg", // },
page: { // data: [],
current: 0, // prop: {
size: this.size, // title: "missionTitle",
total: this.size, // desc: (value) => {
}, // if (value.data[0])
data: [], // return `您收到${value.data[0][0]["companyName"]}的任务`;
prop: { // },
title: "missionTitle", // time: "createTime",
desc: (value) => { // isRead: "status",
if (value.data[0]) // listDesc: "companyName",
return `您收到${value.data[0][0]["companyName"]}的任务`; // },
}, // navigateTo(item, dispatch) {
time: "createTime", // // dispatch("readNew", {
isRead: "status", // // key: "1",
listDesc: "companyName", // // id: item.id,
}, // // });
navigateTo(item, dispatch) { // uni.navigateTo({
// dispatch("readNew", { // url: `/pages/projectInfo/projectInfo?type=1&missionNo=${encodeURIComponent(
// key: "1", // item.missionNo
// id: item.id, // )}&id=${encodeURIComponent(item.id)}`,
// }); // });
uni.navigateTo({ // },
url: `/pages/projectInfo/projectInfo?type=1&missionNo=${encodeURIComponent( // },
item.missionNo ]
)}&id=${encodeURIComponent(item.id)}`,
});
},
},]
} }
}, },
onLoad() { }, onLoad() { },