搜索功能不好使
parent
c22e4f1723
commit
a22bcf76d8
|
@ -284,7 +284,8 @@ export default {
|
||||||
CLASS_SIZE: '', // 班级容量
|
CLASS_SIZE: '', // 班级容量
|
||||||
CLASS_STATUS: '', // 班级状态(0-待开班、1-已开班、2-完成)
|
CLASS_STATUS: '', // 班级状态(0-待开班、1-已开班、2-完成)
|
||||||
VALIDITY_PERIOD: [],
|
VALIDITY_PERIOD: [],
|
||||||
CLASS_MESSAGE_ID: ''
|
CLASS_MESSAGE_ID: '',
|
||||||
|
peopleList: []
|
||||||
},
|
},
|
||||||
util: {
|
util: {
|
||||||
BELONG_TO_CORP: '',
|
BELONG_TO_CORP: '',
|
||||||
|
@ -522,6 +523,11 @@ export default {
|
||||||
this.fullscreenFlag = !this.fullscreenFlag
|
this.fullscreenFlag = !this.fullscreenFlag
|
||||||
},
|
},
|
||||||
addSelect(row) {
|
addSelect(row) {
|
||||||
|
if (this.form.CLASS_SIZE === '' || !this.form.CLASS_SIZE) {
|
||||||
|
this.$message.error('请先选择班级容量')
|
||||||
|
this.$refs.multipleTable.clearSelection()
|
||||||
|
return
|
||||||
|
}
|
||||||
this.selectPeopleList.push(row)
|
this.selectPeopleList.push(row)
|
||||||
this.$refs.multipleTable.toggleRowSelection(row)
|
this.$refs.multipleTable.toggleRowSelection(row)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue