lex-xin 3 роки тому
батько
коміт
1e4808e48d
2 змінених файлів з 6 додано та 6 видалено
  1. 3 3
      src/views/teacher/VIP00Apply.vue
  2. 3 3
      src/views/teacher/VIP11Apply.vue

+ 3 - 3
src/views/teacher/VIP00Apply.vue

@@ -405,15 +405,15 @@
 						}
 					})
 				} else if (sheetForm.currentType == 'vipGroupActivity') { // 活动文案
-					let students = []
+					let studentIds = []
 					if(this.checkboxSelectDataList && this.checkboxSelectDataList.length > 0) {
 						this.checkboxSelectDataList.forEach(item => {
-							students.push(item.userId)
+							studentIds.push(item.userId)
 						})
 					}
 					findByVipGroupCategory({
                         categoryId: this.form.vipGroupCategoryId,
-						students: students.join(',')
+						studentIds: studentIds.join(',')
 					}).then(res => {
 						let result = res.data
 						if (result.code == 200 && result.data.length > 0) {

+ 3 - 3
src/views/teacher/VIP11Apply.vue

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