From 89e32df6d336f91159e0b68510d2b34f8a99f765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Thu, 20 Apr 2023 11:12:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Viewprescription/Viewprescription.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/Viewprescription/Viewprescription.vue b/pages/Viewprescription/Viewprescription.vue index 4d2555d..0a6771e 100644 --- a/pages/Viewprescription/Viewprescription.vue +++ b/pages/Viewprescription/Viewprescription.vue @@ -137,7 +137,12 @@ let items = JSON.stringify(res.data); uni.setStorageSync("this.DATAList", items) getChildrenResultScore(obj).then(res => { - this.getchildlist = res.data + res.data.forEach(e => { + if (e.batchCode == options.batchCode && e.studentId == options + .studentId) { + this.getchildlist.push(e) + } + }) }) this.infolist(); } else {}