From 94c725345d4f49400949de86cf781436990993b7 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Fri, 27 May 2022 09:04:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/saas/AppCountryAlbum/AlbumDetail.vue | 34 ++++++++++++++++++++---- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/src/saas/AppCountryAlbum/AlbumDetail.vue b/src/saas/AppCountryAlbum/AlbumDetail.vue index 014290cd..7f35596b 100644 --- a/src/saas/AppCountryAlbum/AlbumDetail.vue +++ b/src/saas/AppCountryAlbum/AlbumDetail.vue @@ -30,15 +30,16 @@

照片列表

-
+
{{ date || '所有日期' }}
- +
@@ -80,7 +81,8 @@ id: '', current: 1, totalInfo: {}, - isMore: false + isMore: false, + userId: '' } }, @@ -124,6 +126,28 @@ }) }, + toChoose () { + this.$loading() + this.selectPrivilegedContact({ + fromDepartmentId: 0, + mode: 'single', + selectedOpenUserIds: this.userId ? [this.userId] : '' + }).then(res => { + console.log(res) + uni.hideLoading() + this.userId = res.userList.map(e => e.openUserId) || [] + + this.isMore = false + this.current = 1 + + this.$nextTick(() => { + this.getList() + }) + }).catch(() => { + uni.hideLoading() + }) + }, + toEdit () { if (!this.list.length) { return this.$u.toast('相册无照片,请上传照片')