diff --git a/src/pages/charts/index.vue b/src/pages/charts/index.vue index efb9cd42..a88a0cc2 100644 --- a/src/pages/charts/index.vue +++ b/src/pages/charts/index.vue @@ -324,81 +324,6 @@ userId.value = userInfo.value.userId; console.log(userId.value,'userId') onMounted(() => { - - //挡板数据代码 - // let tempList = { - // annual: [{ - // userName: "江心", - // score: 94, - // dept: "吉林银行吉林分行", - // userId: "USER001", - // imgAddr: "/static/images/charts/avator.png" - // }, - // { - // userName: "李婉儿", - // score: 98, - // dept: "吉林银行吉林分行" - // }, - // { - // userName: "百里里", - // score: 88, - // dept: "吉林银行吉林分行" - // }, - // { - // userName: "黎明", - // score: 94, - // dept: "吉林银行吉林分行", - // imgAddr: "/static/images/charts/avator.png" - // }, - // { - // userName: "张伟", - // score: 91, - // dept: "吉林银行吉林分行" - // }, - // { - // userName: "俞小凡", - // score: 89, - // dept: "吉林银行吉林分行", - // imgAddr: "/static/images/charts/avator.png" - // }, - // { - // userName: "黎明", - // score: 94, - // dept: "吉林银行吉林分行" - // }, - // { - // userName: "张伟", - // score: 91, - // dept: "吉林银行吉林分行" - // }, - // { - // userName: "俞小凡", - // score: 89, - // dept: "吉林银行吉林分行" - // }, - // { - // userName: "江月心", - // score: 10, - // dept: "吉林银行吉林分行" - // } - // ] - // } - // learnTimeList.value = tempList; - // allChartsList.value = learnTimeList.value; - // chartsList.value = tempList.annual; - // console.log(chartsList.value, '1111111') - // chartsList.value.score = learnTimeList.value.annual.annlStdyTmLen; - // console.log(chartsList.value, '222222') - // myselfObj.value = chartsList.value.filter(item => item.userId == userId) - // console.log(myselfObj.value, '3333') - // if (chartsList.value.length > 3) { - // newChartsList.value = chartsList.value.slice(3).concat(); - // } else { - // newChartsList.value = chartsList.value; - // } - // console.log(learnTimeList.value, 'learnTimeList') - //挡板数据代码 - console.log(myselfObj.value,'78787878') getLeaderBoardStdyTmApi().then(res => { console.log(res, 'getLeaderBoardStdyTmApi') learnTimeList.value = res.body || [];