|
@@ -7,9 +7,10 @@
|
7
|
7
|
<el-table-column label="短剧组名称" prop="name" min-width="200" align="left" fixed="left" />
|
8
|
8
|
<el-table-column label="短剧" min-width="500" align="left">
|
9
|
9
|
<template slot-scope="{ row }">
|
10
|
|
- <div class="playlet-wrap">
|
11
|
|
- <span class="playlet-item" v-for="item in 3" :key="item">短剧1111111</span>
|
|
10
|
+ <div v-if="row.playlet_list && row.playlet_list.length" class="playlet-wrap">
|
|
11
|
+ <span v-for="(item, idx) in row.playlet_list" :key="item.playlet_id + idx" class="playlet-item">{{ item.name }}</span>
|
12
|
12
|
</div>
|
|
13
|
+ <div v-else> - </div>
|
13
|
14
|
</template>
|
14
|
15
|
</el-table-column>
|
15
|
16
|
<el-table-column label="操作" min-width="210" align="center" fixed="right">
|
|
@@ -51,30 +52,25 @@ export default {
|
51
|
52
|
total: 0,
|
52
|
53
|
},
|
53
|
54
|
filter: {
|
54
|
|
- platform_id: '',
|
55
|
|
- account_id: '',
|
56
|
55
|
keyword: '',
|
57
|
56
|
},
|
58
|
57
|
groupList: [],
|
59
|
58
|
|
60
|
59
|
groupDialogVisible: false,
|
61
|
|
-
|
62
|
60
|
}
|
63
|
61
|
},
|
64
|
62
|
created () {
|
65
|
63
|
this.height = document.documentElement.clientHeight - 200 > 400 ? document.documentElement.clientHeight - 200 : 400
|
66
|
|
- this.handleGetPlaylet()
|
|
64
|
+ this.handleGetGroupList()
|
67
|
65
|
},
|
68
|
66
|
methods: {
|
69
|
67
|
// 获取列表数据
|
70
|
|
- async handleGetPlaylet() {
|
|
68
|
+ async handleGetGroupList() {
|
71
|
69
|
try {
|
72
|
70
|
this.loading = true
|
73
|
|
- const url = `${this.URL.BASEURL}${this.URL.playletManage_playletList}`
|
|
71
|
+ const url = `${this.URL.BASEURL}${this.URL.playletManage_playletGroupList}`
|
74
|
72
|
const params = {
|
75
|
|
- platform_id: this.filter.platform_id,
|
76
|
|
- keyword: this.filter.keyword,
|
77
|
|
- account_id: this.filter.account_id,
|
|
73
|
+ // keyword: this.filter.keyword,
|
78
|
74
|
page: this.pagination.page,
|
79
|
75
|
page_size: this.pagination.page_size,
|
80
|
76
|
}
|
|
@@ -102,7 +98,7 @@ export default {
|
102
|
98
|
// 监听当前页数变化
|
103
|
99
|
handleCurrentChange(currentPage) {
|
104
|
100
|
this.pagination.page = currentPage
|
105
|
|
- this.handleGetPlaylet()
|
|
101
|
+ this.handleGetGroupList()
|
106
|
102
|
},
|
107
|
103
|
// 监听点击“创建组”
|
108
|
104
|
onClickCreateGroup() {
|