This commit is contained in:
曹辉 2023-04-20 10:55:54 +08:00
parent 30ab4fb1ca
commit 792d8c898f
2 changed files with 19 additions and 6 deletions

View File

@ -94,6 +94,7 @@
<script>
import {
getInfoByPhone,
getMotionPrescription,
getChildrenResultScore,
prescriptionVideoLogging,
@ -124,13 +125,23 @@
})
})
})
var arr = {
"studentIdList": [this.studentId]
const phone = uni.getStorageSync('phone');
getInfoByPhone(phone).then(res => {
if (res.code == 200) {
var obj = {
studentIdList: []
}
getChildrenResultScore(arr).then(res => {
res.data.studentInfoList.forEach(e => {
obj.studentIdList.push(e.studentId)
})
let items = JSON.stringify(res.data);
uni.setStorageSync("this.DATAList", items)
getChildrenResultScore(obj).then(res => {
this.getchildlist = res.data
})
this.infolist();
} else {}
})
},
methods: {
infolist() {

View File

@ -160,6 +160,8 @@
res.data.studentInfoList.forEach(e => {
obj.studentIdList.push(e.studentId)
})
let items = JSON.stringify(res.data);
uni.setStorageSync("this.DATAList", items)
getChildrenResultScore(obj).then(res => {
this.StudentScore = res.data
if (this.StudentScore.length == 1) {