|
@@ -388,11 +388,16 @@
|
|
|
}
|
|
|
})
|
|
|
} else if (sheetForm.currentType == 'vipGroupActivity') { // 活动文案
|
|
|
- let firstStudentId = this.checkboxSelectDataList.length > 0 ? this.checkboxSelectDataList[0].userId : null
|
|
|
+ let students = []
|
|
|
+ if(this.checkboxSelectDataList && this.checkboxSelectDataList.length > 0) {
|
|
|
+ this.checkboxSelectDataList.forEach(item => {
|
|
|
+ students.push(item.userId)
|
|
|
+ })
|
|
|
+ }
|
|
|
findByVipGroupCategory({
|
|
|
categoryId: this.form.vipGroupCategoryId,
|
|
|
onlySpecialActivity: true,
|
|
|
- firstStudentId
|
|
|
+ students: students.join(',')
|
|
|
}).then(res => {
|
|
|
let result = res.data
|
|
|
if (result.code == 200 && result.data.length > 0) {
|