From 01edc5f76607ce4f35aba5e15e7d87771e0e6b77 Mon Sep 17 00:00:00 2001 From: liujun Date: Wed, 10 Apr 2024 10:42:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=96=B9=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=85=A8bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../classMessage/classMessage/components/initClass.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/classMessage/classMessage/components/initClass.vue b/src/views/classMessage/classMessage/components/initClass.vue index c678474..0174b31 100644 --- a/src/views/classMessage/classMessage/components/initClass.vue +++ b/src/views/classMessage/classMessage/components/initClass.vue @@ -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 + '¤tPage=1', { BELONG_TO_CORP: this.util.BELONG_TO_CORP }).then((data) => { this.peopleList = data.varList this.loading = false }).catch((e) => {