From e0bad566d8d50407ee21c8e89f20c5ae82038765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Mon, 20 Jun 2022 11:13:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/myWork/message/notifyMsg.vue | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/views/myWork/message/notifyMsg.vue b/src/views/myWork/message/notifyMsg.vue index 4c9709f8..5556c68a 100644 --- a/src/views/myWork/message/notifyMsg.vue +++ b/src/views/myWork/message/notifyMsg.vue @@ -1,7 +1,7 @@ @@ -74,17 +77,20 @@ export default { } params.orderBy= orderBys.join(",") } - params.toUserid=this.userInfo.userid - params.msgClass=this.msgClass||'' + params.toUserid=this.userInfo.userid getNoticeMsg(params).then(res=>{ this.notifyMsgs=res.data.data; this.pageInfo.total=res.data.total this.pageInfo.count=false; }) }, - goToImPrichatMessage(item){ + /** + * objType:对象类型:项目-1/任务-2/产品-3/需求-4/bug-5/迭代-6/团队-7 + * + */ + goToPage(item){ var curlDomain=window.location.protocol+"//"+window.location.host; // 返回https://mp.csdn.net - if(item.msgClass=='0'){ + if(item.objType=='0'){ window.open(curlDomain+"/im/"+process.env.VERSION+"/#/prichat?groupId="+item.groupId) }else if(item.msgClass=='4'){ this.$router.push('/mdp/workflow/ru/task/TaskListAssigneeToMe')