From 2b1203c1381bafa100cc0bd4d7e698fed53b83a3 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Tue, 7 Sep 2021 09:16:34 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=20=E6=9C=BA=E6=9E=84=E7=AE=A1=E7=90=86--?= =?UTF-8?q?=E5=8A=A0=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6=EF=BC=9A=E5=A7=93?= =?UTF-8?q?=E5=90=8D=E5=92=8C=E9=82=AE=E7=AE=B1=EF=BC=8C=E5=8A=A0=E4=BA=86?= =?UTF-8?q?=E5=88=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/config/pages/mechanismManage/index.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/pages/config/pages/mechanismManage/index.vue b/src/pages/config/pages/mechanismManage/index.vue index bd978749c..8d72796c6 100644 --- a/src/pages/config/pages/mechanismManage/index.vue +++ b/src/pages/config/pages/mechanismManage/index.vue @@ -122,7 +122,7 @@ 加载中... - + 导入中... { + console.log(res); this.treeData = res.data this.id = res.data[0].id this.getData() + }, e => { + console.log(e); }) }, getData () { this.$http.post('SarInstitution/institution/user', { + current:this.page, + size: this.pageSize, institutionId: this.id, uname: this.searchForm.uname, email: this.searchForm.email @@ -293,7 +298,7 @@ export default { loading: 'Loading' }, res => { console.log(res.data) - res.data.forEach((item) => { + res.data.records.forEach((item) => { var NameList = '' item.positions.forEach((items) => { if (NameList.length > 0) { @@ -303,8 +308,8 @@ export default { }) item.NameList = NameList }) - this.data = res.data - this.total = res.data.length + this.data = res.data.records + this.total = res.data.total }) }, pageChange (page) { @@ -312,7 +317,7 @@ export default { this.getData() }, pageSizeChange (pageSize) { - this.$store.getters.userInfo.configContent = pageSize + this.pageSize = pageSize this.getData() }, }, From 904514ddb5391583d3b504379def593024884ca3 Mon Sep 17 00:00:00 2001 From: "Mr.Z" <709235321@qq.com> Date: Tue, 7 Sep 2021 09:24:40 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=B2=97=E4=BD=8D=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9F=A5=E8=AF=A2=E5=8A=9F=E8=83=BD=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E5=88=86=E9=A1=B5=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/config/pages/postManage/index.vue | 68 +++++++++++++++++++-- 1 file changed, 63 insertions(+), 5 deletions(-) diff --git a/src/pages/config/pages/postManage/index.vue b/src/pages/config/pages/postManage/index.vue index d30c6b433..2d5af9288 100644 --- a/src/pages/config/pages/postManage/index.vue +++ b/src/pages/config/pages/postManage/index.vue @@ -1,6 +1,30 @@