相关方人员显示不全bug修复

pet_li_6.6
liujun 2024-04-10 10:42:12 +08:00
parent 419dd41376
commit 01edc5f766
1 changed files with 7 additions and 2 deletions

View File

@ -232,7 +232,6 @@ export default {
placeList: [],
trainingTypeList: [],
classSizeList: [
{ DICTIONARIES_ID: '1' },
{ DICTIONARIES_ID: '30' },
{ DICTIONARIES_ID: '50' },
{ DICTIONARIES_ID: '60' },
@ -370,7 +369,13 @@ export default {
return row.USER_ID
},
getPeopleList() {
requestFN('/classMessage/getPeopleList', { BELONG_TO_CORP: this.util.BELONG_TO_CORP }).then((data) => {
let pageSize = 10
if (!this.form.CLASS_SIZE || this.form.CLASS_SIZE === 0) {
pageSize = 10
} else {
pageSize = this.form.CLASS_SIZE
}
requestFN('/classMessage/getPeopleList?showCount=' + pageSize + '&currentPage=1', { BELONG_TO_CORP: this.util.BELONG_TO_CORP }).then((data) => {
this.peopleList = data.varList
this.loading = false
}).catch((e) => {