diff --git a/src/views/circle/data/components/studentList.vue b/src/views/circle/data/components/studentList.vue index 2aa92e9..216034d 100644 --- a/src/views/circle/data/components/studentList.vue +++ b/src/views/circle/data/components/studentList.vue @@ -34,7 +34,7 @@ @@ -72,14 +72,14 @@ @@ -101,7 +101,7 @@ @@ -125,12 +125,12 @@ export default { 3: "即将到期", 4: "新学员" }, - groupId: this.$route.query.id, formInline: { + groupId: this.$route.query.id, userId: "", nickName: "", isOnline: "", - commentBlackStatus: "", + isForbidden: "", size: 10, current: 1 }, @@ -162,7 +162,7 @@ export default { } }, prohibition(item) { - if (item.commentBlackStatus === 1) { + if (item.isForbidden === 1) { this.$confirm(`您确定取消禁言?`, { confirmButtonText: "确定", cancelButtonText: "取消", @@ -171,7 +171,7 @@ export default { .then(() => { removeCommentBlack({ userPhone: item.userId, - productId: this.groupId, + productId: this.formInline.groupId, productType: 41 }).then(res => { if (res.code === 0) { @@ -203,7 +203,7 @@ export default { }, forbidSpeakCallback(userId) { this.clickItem[userId].forEach(item => { - item.commentBlackStatus = 1; + item.isForbidden = 1; }); } }