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('相册无照片,请上传照片')