|
|
@@ -68,8 +68,8 @@
|
|
68
|
68
|
|
|
69
|
69
|
<el-col :xs="24" :sm="8" :md="8" :lg="8" :xl="8">
|
|
70
|
70
|
<el-form-item label="0号线团队:">
|
|
71
|
|
- <el-select v-model="userFrom.zero_line_uid" placeholder="全部" class="selWidth" clearable @change="getList(1)">
|
|
72
|
|
- <el-option v-for="option in creatorOptions" :key="option.uid" :value="option.uid" :label="option.teamName"/>
|
|
|
71
|
+ <el-select v-model="userFrom.zero_line_uid" placeholder="全部" class="selWidth" clearable>
|
|
|
72
|
+ <el-option v-for="option in creatorOptions" :key="option.team_uid" :value="option.team_uid" :label="option.team_name"/>
|
|
73
|
73
|
</el-select>
|
|
74
|
74
|
</el-form-item>
|
|
75
|
75
|
</el-col>
|
|
|
@@ -850,9 +850,9 @@ export default {
|
|
850
|
850
|
fetchCreatorOptions() {
|
|
851
|
851
|
getZeroLineUserList().then(
|
|
852
|
852
|
(res) => {
|
|
853
|
|
- if (res.data && res.data.length) {
|
|
|
853
|
+ if (res.data && res.data.count) {
|
|
854
|
854
|
// 假设后端返回的数据是一个数组,每个元素包含 { value: '1', label: '电商创客' } 格式
|
|
855
|
|
- this.creatorOptions = res.data;
|
|
|
855
|
+ this.creatorOptions = res.data.list;
|
|
856
|
856
|
}
|
|
857
|
857
|
},
|
|
858
|
858
|
() => {
|