修改
This commit is contained in:
parent
30ab4fb1ca
commit
792d8c898f
@ -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() {
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user