搜索功能不好使

liujun-2024-06-06-相关方新需求
liujun 2024-06-13 18:36:30 +08:00
parent c22e4f1723
commit a22bcf76d8
1 changed files with 7 additions and 1 deletions

View File

@ -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)
}, },