This commit is contained in:
yanran200730
2022-05-24 16:31:10 +08:00
parent e7c61c8293
commit 2b8e4dc41d
19 changed files with 255 additions and 72 deletions

View File

@@ -25,7 +25,7 @@
<label>*</label>
<span>拍摄人</span>
</div>
<div class="right" @click="linkTo('./PersonnelSetting')">
<div class="right" @click="linkTo('./PersonnelSetting?id=' + id)">
<span>{{ createUserId ? '已选择' : '不限' }}</span>
<image src="./images/right.png" />
</div>
@@ -57,7 +57,8 @@
photoSource: 0,
watermarkId: '',
isLoading: false,
id: ''
id: '',
albumUserList: []
}
},
@@ -69,6 +70,7 @@
}
uni.$on('change', e => {
console.log(e)
if (e.type === 'watermark') {
this.watermarkId = e.value
}
@@ -76,6 +78,10 @@
if (e.type === 'photoSource') {
this.photoSource = e.value
}
if (e.type === 'personnel') {
this.albumUserList = e.value
}
})
},
@@ -110,6 +116,7 @@
createUserId: this.createUserId,
photoSource: this.photoSource,
watermarkId: this.watermarkId,
albumUserList: this.albumUserList,
id: this.id || ''
}).then(res => {
if (res.code === 0) {