fix---studyInfo

This commit is contained in:
BOE\10867418
2023-08-30 15:13:29 +08:00
parent efec2f5f2d
commit 93fefa130b

View File

@@ -138,12 +138,12 @@ export default {
url: '/report/boeu/studyInfo',
params: {},
headers:{token:getToken(),}
}).then((response) => {
console.log('111',response.data.data)
}).then((res) => {
console.log('111',res.data.result)
// this.porcessData=response.data.data
this.porcessData.course=Math.floor((response.data.data.course.completion/response.data.data.course.total)*100)
this.porcessData.project=Math.floor((response.data.data.project.completion/response.data.data.project.total)*100)
this.porcessData.router=Math.floor((response.data.data.router.completion/response.data.data.router.total)*100)
this.porcessData.course=Math.floor((res.data.result.course.completion/res.data.result.course.total)*100)
this.porcessData.project=Math.floor((res.data.result.data.project.completion/res.data.result.project.total)*100)
this.porcessData.router=Math.floor((res.data.result.router.completion/res.data.result.router.total)*100)
})
},
loadBoeData() {