修改
This commit is contained in:
parent
30ab4fb1ca
commit
792d8c898f
@ -94,6 +94,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
|
getInfoByPhone,
|
||||||
getMotionPrescription,
|
getMotionPrescription,
|
||||||
getChildrenResultScore,
|
getChildrenResultScore,
|
||||||
prescriptionVideoLogging,
|
prescriptionVideoLogging,
|
||||||
@ -124,13 +125,23 @@
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
var arr = {
|
const phone = uni.getStorageSync('phone');
|
||||||
"studentIdList": [this.studentId]
|
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.getchildlist = res.data
|
||||||
})
|
})
|
||||||
this.infolist();
|
this.infolist();
|
||||||
|
} else {}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
infolist() {
|
infolist() {
|
||||||
|
|||||||
@ -160,6 +160,8 @@
|
|||||||
res.data.studentInfoList.forEach(e => {
|
res.data.studentInfoList.forEach(e => {
|
||||||
obj.studentIdList.push(e.studentId)
|
obj.studentIdList.push(e.studentId)
|
||||||
})
|
})
|
||||||
|
let items = JSON.stringify(res.data);
|
||||||
|
uni.setStorageSync("this.DATAList", items)
|
||||||
getChildrenResultScore(obj).then(res => {
|
getChildrenResultScore(obj).then(res => {
|
||||||
this.StudentScore = res.data
|
this.StudentScore = res.data
|
||||||
if (this.StudentScore.length == 1) {
|
if (this.StudentScore.length == 1) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user