diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/home.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/home.vue index 35aee272c..0457ae89c 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/home.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/home.vue @@ -96,7 +96,7 @@ @@ -581,31 +581,35 @@ export default { }, // 点击通知公告的标题 - async noticeClick(item) { + async noticeClick(item,titleName) { if(item.f_category!==undefined){ this.NAV_TO("/pages/home/notice", item, true); - }else{ - // const result = await this.HTTP_GET( - // 'learun/adms/newwf/mytask', - // { - // pagination:{"rows":100,"page":1,"sidx":"F_CreateDate","sord":"DESC"}, - // queryJson: JSON.stringify({keyword:item.f_title}) - // }, - // '加载任务时出错' - // ) - // if(!result){ - // return - // } - // this.processId = this.currentTask.F_Id - // this.taskId = this.currentTask.F_TaskId - let params = { - F_Id:item.f_processid, - F_TaskId:item.f_id, - mark:"pre", - F_Title:item.f_title, - } - this.NAV_TO('/pages/nworkflow/myflow/single', params, true) + return } + if (titleName == "周工作计划") { + this.NAV_TO("/pages/EducationalAdministration/departmentWeek/single",{id:item.f_id}); + return + } + // const result = await this.HTTP_GET( + // 'learun/adms/newwf/mytask', + // { + // pagination:{"rows":100,"page":1,"sidx":"F_CreateDate","sord":"DESC"}, + // queryJson: JSON.stringify({keyword:item.f_title}) + // }, + // '加载任务时出错' + // ) + // if(!result){ + // return + // } + // this.processId = this.currentTask.F_Id + // this.taskId = this.currentTask.F_TaskId + let params = { + F_Id:item.f_processid, + F_TaskId:item.f_id, + mark:"pre", + F_Title:item.f_title, + } + this.NAV_TO('/pages/nworkflow/myflow/single', params, true) }, informClick(titleName) { let categoryId = null;