|
|
@@ -468,6 +468,7 @@
|
|
|
httpUrl: '',
|
|
|
bId: null,
|
|
|
env: '',
|
|
|
+ albumData: null,
|
|
|
memberId: null,
|
|
|
tenancyId: null,
|
|
|
keyword: '',
|
|
|
@@ -526,7 +527,12 @@
|
|
|
created() {
|
|
|
this.bId = this.getQueryParam('bId')
|
|
|
this.env = this.getQueryParam('env')
|
|
|
-
|
|
|
+ if (this.getQueryParam('contentType')) {
|
|
|
+ this.contentType = Number(this.getQueryParam('contentType'))
|
|
|
+ this.albumData = {
|
|
|
+ id: this.getQueryParam('groupId')
|
|
|
+ }
|
|
|
+ }
|
|
|
if (!this.env || this.env === 'prod') {
|
|
|
this.httpUrl = 'https://wlapi.wefanbot.com'
|
|
|
} else {
|
|
|
@@ -656,8 +662,12 @@
|
|
|
}).then(result => {
|
|
|
let { data, code, msg } = result
|
|
|
if (code === 1) {
|
|
|
- this.treeData = data || []
|
|
|
this.allTreeData = this.flattenTreeData(data, true)
|
|
|
+ if (this.getQueryParam('contentType')) {
|
|
|
+ this.getMaterData(this.albumData)
|
|
|
+ } else {
|
|
|
+ this.treeData = data || []
|
|
|
+ }
|
|
|
} else {
|
|
|
vant.Toast.fail(msg)
|
|
|
}
|