|
|
@@ -96,7 +96,7 @@ |
|
|
|
<l-list> |
|
|
|
<l-list-item |
|
|
|
v-for="(item, i) of block.content" |
|
|
|
@click="noticeClick(item)" |
|
|
|
@click="noticeClick(item,block.title)" |
|
|
|
:key="i" |
|
|
|
arrow |
|
|
|
> |
|
|
@@ -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; |
|
|
|