From 49701fcd09fe39a9a175d3a29f4e9ee3410d6ee1 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sun, 12 Oct 2025 15:15:34 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=9A=E5=91=98=E8=B5=84=E6=96=99?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E6=B7=BB=E5=8A=A0=E5=88=9B=E5=BB=BA=E7=BE=A4?= =?UTF-8?q?=E7=BB=84=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/pages/manage/components/UserDetail.vue | 19 ++++++++++++++++++- .../sass/pages/components/user-detail.scss | 5 +++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/pages/manage/components/UserDetail.vue b/resources/assets/js/pages/manage/components/UserDetail.vue index 0c0d2bc28..21151e087 100755 --- a/resources/assets/js/pages/manage/components/UserDetail.vue +++ b/resources/assets/js/pages/manage/components/UserDetail.vue @@ -55,7 +55,10 @@ - +
+ + +
@@ -193,6 +196,20 @@ export default { }); }, + onOpenCreateGroup() { + const userids = []; + if (this.userId) { + userids.push(this.userId); + } + if (this.userData.userid && this.userData.userid !== this.userId) { + userids.push(this.userData.userid); + } + if (userids.length === 0 && this.userData.userid) { + userids.push(this.userData.userid); + } + emitter.emit('createGroup', userids); + }, + loadCommonDialogCount() { const target_userid = this.userData.userid; const previousUserId = this.commonDialog.userid; diff --git a/resources/assets/sass/pages/components/user-detail.scss b/resources/assets/sass/pages/components/user-detail.scss index 40c68680f..ff2a47489 100755 --- a/resources/assets/sass/pages/components/user-detail.scss +++ b/resources/assets/sass/pages/components/user-detail.scss @@ -19,6 +19,11 @@ } } + .user-detail-actions { + display: flex; + gap: 10px; + } + .ivu-modal-content { overflow: hidden;