diff --git a/src/views/circle/data/components/studentList.vue b/src/views/circle/data/components/studentList.vue
index 216034d..0cae55b 100644
--- a/src/views/circle/data/components/studentList.vue
+++ b/src/views/circle/data/components/studentList.vue
@@ -55,7 +55,7 @@
-
+
- 私聊
- {{
- scope.row.isForbidden === 2 ? "禁言" : "取消禁言"
- }}
+
+ 私聊
+
+ {{ scope.row.isForbidden === 2 ? "禁言" : "取消禁言" }}
+
@@ -180,14 +182,7 @@ export default {
showClose: false,
type: "success"
});
- this.msgUserIdsObj[item.userId].forEach(item => {
- item.isForbidden = 2;
- });
- this.modifyStateCallback({
- userId: item.userId,
- isForbidden: 2,
- modifyType: 2
- });
+ item.isForbidden = 2;
}
});
})
@@ -201,10 +196,17 @@ export default {
forbidSpeakRef.formProhibition.content = "";
}
},
- forbidSpeakCallback(userId) {
- this.clickItem[userId].forEach(item => {
- item.isForbidden = 1;
- });
+ forbidSpeakCallback() {
+ this.clickItem.isForbidden = 1;
+ },
+ toPrivate(row) {
+ this.$router.push(
+ `/circle/detail?id=${
+ this.formInline.groupId
+ }&chatType=2&privateUserId=${row.userId}&privateUserName=${
+ row.nickName
+ }`
+ );
}
}
};