diff --git a/src/views/modules/master/mastertopic.vue b/src/views/modules/master/mastertopic.vue
index b9a9d95a..7468fe22 100755
--- a/src/views/modules/master/mastertopic.vue
+++ b/src/views/modules/master/mastertopic.vue
@@ -77,7 +77,7 @@
置顶
取消置顶
关闭
- 查看
+ 查看
@@ -152,6 +152,7 @@ export default {
closeDialog: false,
isTop: true,
toGrey: false,
+ btnAble: false,
orderByArr: [
{
label: '总参与度',
@@ -221,9 +222,17 @@ export default {
return '进行中'
}
},
- manageHandle (topicId) {
- this.$parent.selectComponent = 'Mastertopicdetail'
- this.$router.push({ path: '/master-mastertopicroute', query: { topicId: topicId } })
+ manageHandle (topicId, browseNum) {
+ this.btnAble = true
+ // 将当前登录人改为已读
+ this.$http.post(`/cloudAnalysis/mastertopic/addBrowNum`, { id: topicId, browseNum: browseNum }).then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ }
+ this.btnAble = false
+ this.$parent.selectComponent = 'Mastertopicdetail'
+ this.$router.push({ path: '/master-mastertopicroute', query: { topicId: topicId } })
+ }).catch(() => {})
},
openToTopDialog (value, row) {
this.toTopDialog = true