From 8f2a1ef1fd41e89487fdac02d826fe9c0f670933 Mon Sep 17 00:00:00 2001 From: "Mr.Z" <709235321@qq.com> Date: Wed, 18 Aug 2021 12:35:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E5=88=86=E8=A7=A3=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../details/otherStandardDetails/index.vue | 42 ++++++++++++------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 6b191d902..1ae32f44e 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -621,16 +621,22 @@ 数据加载中... + - - + + + + + + + + + + @@ -1243,6 +1249,8 @@ export default { knowType: '', KnowTitle: '', knowIdList: '', + total7: 0, + page7: 1, addForm: { title: '', content: '', @@ -1759,6 +1767,15 @@ export default { this.knowId = '' this.AddKnowledgDialog = false }, + //查看分解单分页 + pageChange7(page) { + this.page7 = page + this.selectSarStandItems() + }, + pageSizeChange7(pageSize){ + this.pageSize7 = pageSize + this.selectSarStandItems() + }, // 知识点分页 pageChange1(page) { this.pageNo = page @@ -2317,12 +2334,9 @@ export default { this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', this.standItemSearch, {}, res => { this.selectedItemList = [] if (res.ok) { - this.standItemList = res.data.list; - console.log("standItemList"); - console.log(this.standItemList); - console.log("res.data"); + this.standItemList = res.data; console.log(res.data); - this.standitemTotal = res.data.count // 分页需要 + this.total7 = res.data.length // 分页需要 } }, e => { })