From bc5f5c20180bee814b539d53f78eabcf4944cc12 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Fri, 8 May 2020 16:53:31 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=B9=A6=E8=AE=B0=E5=9C=A8=E7=BA=BF?= =?UTF-8?q?=E3=80=91-=E3=80=90=E6=9F=A5=E7=9C=8B=E6=97=B6=E5=B0=86?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E4=BA=BA=E5=91=98=E6=9B=B4=E6=96=B0=E4=B8=BA?= =?UTF-8?q?=E5=B7=B2=E8=AF=BB=E7=8A=B6=E6=80=81=EF=BC=8C=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E9=87=8F=E5=8A=A0=E4=B8=80=E3=80=91-=EF=BC=88=E7=8E=8B?= =?UTF-8?q?=E5=85=AC=E5=B3=B0=EF=BC=89-2020/05/08?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/master/masternotice.vue | 6 +++--- .../modules/master/masternoticedetail.vue | 20 +++++++++++++------ 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/views/modules/master/masternotice.vue b/src/views/modules/master/masternotice.vue index 15ce6335..023ec644 100755 --- a/src/views/modules/master/masternotice.vue +++ b/src/views/modules/master/masternotice.vue @@ -62,7 +62,7 @@ 置顶 取消置顶 关闭 - 查看 + 查看 { + // 将当前登录人改为已读 + this.$http.post(`/cloudAnalysis/masternotice/addBrowNum`, this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } - this.readFormList = res.data - this.loading = false - this.readFormList.tagIds = [] - }).catch(() => { }) + // 将当前登录人改为已读后,获取已读未读信息 + this.readForm.readFlag = readFlag + this.$http.post(`/cloudAnalysis/masternotice/getReadInfo`, this.readForm).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.readFormList = res.data + this.loading = false + this.readFormList.tagIds = [] + }).catch(() => { }) + }).catch(() => {}) }, backToDeptList () { this.$emit('refreshDataList')