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