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 {}