mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
fix---studyInfo
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user