@ -28,7 +28,7 @@
< b -img src = "/static/image/icon_ranking_1.png" / >
综合排行榜
< / div >
< div v-if =" ! selectStage&&selectStage.enableFinance" :class=" rankingId ==3? 'ranking-selected':''" @click="changeType(3)">
< div v-if =" selectStage&&selectStage.enableFinance" :class=" rankingId ==3? 'ranking-selected':''" @click="changeType(3)">
< b -img src = "/static/image/icon_ranking_3.png" / >
证券投资赛项排行榜
< / div >
@ -43,7 +43,7 @@
< div class = "tz-left-tab" >
< div v -if = " competition.type = = 1 " :class ="rankingSubType==1?'ranking-sub-type-selected':''" @click ="changeType2(1)" > 团队排行榜 < / div >
< div :class ="rankingSubType==2?'ranking-sub-type-selected':''" @click ="changeType2(2)" > 个人排行榜 < / div >
< div v -if = " ! isMobilePlatform " :class ="rankingSubType==3?'ranking-sub-type-selected':''" @click ="changeType2(3)" > 大屏排行榜 < / div >
< div v -if = " ! isMobilePlatform && competition.type = = 1 " :class ="rankingSubType==3?'ranking-sub-type-selected':''" @click ="changeType2(3)" > 大屏排行榜 < / div >
< / div >
< div class = "tz-table-container" v-if ="rankingSubType == 1" >
< div class = "tz-table-filter" >
@ -68,22 +68,35 @@
< b -img v -if = " ! isMobilePlatform " src = "/static/image/icon_rankList4_20x20.png" / >
指导老师
< / b - c o l >
< b -col v-if ="selectStage.enableExam " sm="">
< b -col v-if ="selectStage.enableExam &&rankingId==2 " sm="">
< b -img v -if = " ! isMobilePlatform " src = "/static/image/icon_rankList5_20x20.png" / >
投资者教育得分
< / b - c o l >
< b -col v-if ="selectStage.enableFinance " sm="">
< b -col v-if ="selectStage.enableFinance &&rankingId==3 " sm="">
< b -img v -if = " ! isMobilePlatform " src = "/static/image/icon_rankList6_20x20.png" / >
证券投资得分
< / b - c o l >
< b -col sm = "" >
< b -col v-if ="rankingId == 1" sm="" >
< b -img v -if = " ! isMobilePlatform " src = "/static/image/icon_rankList7_20x20.png" / >
综合平均分
< / b - c o l >
< b -col sm = "" >
< b -col v-if ="rankingId == 1" sm="" >
< b -img v -if = " ! isMobilePlatform " src = "/static/image/icon_rankList7_20x20.png" / >
综合总分
< / b - c o l >
< b -col v-if ="rankingId ==2 " sm="" >
< b -img v -if = " ! isMobilePlatform " src = "/static/image/icon_rankList7_20x20.png" / >
平均用时
< / b - c o l >
< b -col v-if ="rankingId == 3" sm="" >
< b -img v -if = " ! isMobilePlatform " src = "/static/image/icon_rankList7_20x20.png" / >
平均累计收益率
< / b - c o l >
< b -col v-if ="rankingId == 3" sm="" >
< b -img v -if = " ! isMobilePlatform " src = "/static/image/icon_rankList7_20x20.png" / >
平均年化收益率
< / b - c o l >
< b -col sm >
< b -img v -if = " ! isMobilePlatform " src = "/static/image/icon_rankList10_20x20.png" / >
备注
@ -108,18 +121,27 @@
< b -col sm = "" >
{ { item . teacher } }
< / b - c o l >
< b -col v-if ="selectStage.enableExam " sm="">
< b -col v-if ="selectStage.enableExam &&rankingId==2 " sm="">
{ { numberFixed ( item . examScore ) } }
< / b - c o l >
< b -col v-if ="selectStage.enableFinance " sm="">
< b -col v-if ="selectStage.enableFinance &&rankingId==3 " sm="">
{ { numberFixed ( item . financeScore ) } }
< / b - c o l >
< b -col sm = "" >
< b -col v-if ="rankingId == 1" sm="" >
{ { numberFixed ( item . combineScore ) } }
< / b - c o l >
< b -col sm>
< b -col v-if = " rankingId = = 1 " sm>
{ { numberFixed ( item . totalScore ) } }
< / b - c o l >
< / b - c o l >
< b -col v-if ="rankingId ==2" sm="" >
{ { numberFixed ( item . examCostTime ) } }
< / b - c o l >
< b -col v-if ="rankingId ==3" sm="" >
{ { numberFixed ( item . currentRatio ) } }
< / b - c o l >
< b -col v-if ="rankingId ==3" sm="" >
{ { numberFixed ( item . yearRatio ) } }
< / b - c o l >
< b -col sm @click ="showMemberScore(item)" >
< span >
查看
@ -147,18 +169,27 @@
< b -col sm = "" >
{ { item . teacher } }
< / b - c o l >
< b -col v-if ="selectStage.enableExam " sm="">
< b -col v-if ="selectStage.enableExam &&rankingId==2 " sm="">
{ { numberFixed ( item . examScore ) } }
< / b - c o l >
< b -col v-if ="selectStage.enableFinance " sm="">
< b -col v-if ="selectStage.enableFinance &&rankingId==3 " sm="">
{ { numberFixed ( item . financeScore ) } }
< / b - c o l >
< b -col sm = "" >
< b -col v-if ="rankingId == 1" sm="" >
{ { numberFixed ( item . combineScore ) } }
< / b - c o l >
< b -col sm>
< b -col v-if = " rankingId = = 1 " sm>
{ { numberFixed ( item . totalScore ) } }
< / b - c o l >
< / b - c o l >
< b -col v-if ="rankingId ==2" sm="" >
{ { numberFixed ( item . examCostTime ) } }
< / b - c o l >
< b -col v-if ="rankingId ==3" sm="" >
{ { numberFixed ( item . currentRatio ) } }
< / b - c o l >
< b -col v-if ="rankingId ==3" sm="" >
{ { numberFixed ( item . yearRatio ) } }
< / b - c o l >
< b -col sm @click ="showMemberScore(item)" >
< span >
查看
@ -192,19 +223,30 @@
< b -img src = "/static/image/icon_rankList4_20x20.png" / >
指导老师
< / b - c o l >
< b -col v-if ="selectStage.enableExam " sm="">
< b -col v-if ="selectStage.enableExam &&rankingId == 2 " sm="">
< b -img src = "/static/image/icon_rankList5_20x20.png" / >
投资者教育得分
< / b - c o l >
< b -col v-if ="selectStage.enableFinance " sm="">
< b -col v-if ="selectStage.enableFinance &&rankingId == 3 " sm="">
< b -img src = "/static/image/icon_rankList6_20x20.png" / >
证券投资得分
< / b - c o l >
< b -col sm = "" >
< b -col v-if ="rankingId == 1" sm="" >
< b -img src = "/static/image/icon_rankList7_20x20.png" / >
综合得分
< / b - c o l >
< b -col v-if ="rankingId == 2" sm="" >
< b -img src = "/static/image/icon_rankList7_20x20.png" / >
用时
< / b - c o l >
< b -col v-if ="rankingId == 3" sm="" >
< b -img v -if = " ! isMobilePlatform " src = "/static/image/icon_rankList7_20x20.png" / >
累计收益率
< / b - c o l >
< b -col v-if ="rankingId == 3" sm="" >
< b -img v -if = " ! isMobilePlatform " src = "/static/image/icon_rankList7_20x20.png" / >
年化收益率
< / b - c o l >
<!-- < b -col sm >
< b -img src = "/static/image/icon_rankList10_20x20.png" / >
备注
@ -229,18 +271,24 @@
< b -col sm >
{ { item . teacher } }
< / b - c o l >
< b -col v -if = " selectStage.enableExam " sm >
< b -col v -if = " selectStage.enableExam && rankingId = = 2 " sm >
{ { numberFixed ( item . examScore ) } }
< / b - c o l >
< b -col v -if = " selectStage.enableFinance " sm >
< b -col v -if = " selectStage.enableFinance && rankingId = = 3 " sm >
{ { numberFixed ( item . financeScore ) } }
< / b - c o l >
< b -col sm>
< b -col v-if = " rankingId = = 1 " sm>
{ { numberFixed ( item . combineScore ) } }
< / b - c o l >
<!-- < b -col sm >
< / b - c o l >
< b -col v -if = " rankingId = = 2 " sm >
{ { item . examCostTime } }
< / b - c o l > - - >
< / b - c o l >
< b -col v-if ="rankingId ==3" sm="" >
{ { numberFixed ( item . currentRatio ) } }
< / b - c o l >
< b -col v-if ="rankingId ==3" sm="" >
{ { numberFixed ( item . yearRatio ) } }
< / b - c o l >
< / b - r o w >
< div class = "s_container" >
< div class = "scroll-list" >
@ -263,18 +311,24 @@
< b -col sm >
{ { item . teacher } }
< / b - c o l >
< b -col v -if = " selectStage.enableExam " sm >
< b -col v -if = " selectStage.enableExam && rankingId = = 2 " sm >
{ { numberFixed ( item . examScore ) } }
< / b - c o l >
< b -col v -if = " selectStage.enableFinance " sm >
< b -col v -if = " selectStage.enableFinance && rankingId = = 3 " sm >
{ { numberFixed ( item . financeScore ) } }
< / b - c o l >
< b -col sm >
< b -col v -if = " rankingId = = 1 " sm >
{ { numberFixed ( item . combineScore ) } }
< / b - c o l >
<!-- < b -col sm >
< b -col v -if = " rankingId = = 2 " sm >
{ { item . examCostTime } }
< / b - c o l > - - >
< / b - c o l >
< b -col v-if ="rankingId ==3" sm="" >
{ { numberFixed ( item . currentRatio ) } }
< / b - c o l >
< b -col v-if ="rankingId ==3" sm="" >
{ { numberFixed ( item . yearRatio ) } }
< / b - c o l >
< / b - r o w >
< / div >
< / div >
@ -702,7 +756,7 @@ export default {
if ( this . queryData . type2 == 3 ) {
if ( this . levelList ) {
let ids = ''
console . log ( this . levelList )
/ / c o n s o l e . l o g ( t h i s . l e v e l L i s t )
if ( ! this . levelList || this . levelList . length == 0 ) {
this . fullInfo . name = ''
} else {
@ -788,6 +842,9 @@ export default {
let examScore = 0
let financeScore = 0
let combineScore = 0
let currentRatio = 0
let yearRatio = 0
let examCostTime = 0
memberList . forEach ( m => {
if ( m . examScore ) {
examScore += m . examScore
@ -798,6 +855,15 @@ export default {
if ( m . combineScore ) {
combineScore += m . combineScore
}
if ( m . currentRatio ) {
currentRatio += m . currentRatio
}
if ( m . yearRatio ) {
yearRatio += m . yearRatio
}
if ( m . examCostTime ) {
examCostTime += m . examCostTime
}
} )
let tr = 0
if ( ! ! this . queryData . kw && this . queryData . kw . length > 0 ) {
@ -816,6 +882,9 @@ export default {
examScore : examScore / teamCount ,
financeScore : financeScore / teamCount ,
combineScore : combineScore / teamCount ,
currentRatio : currentRatio / teamCount ,
yearRatio : yearRatio / teamCount ,
examCostTime : examCostTime / teamCount ,
totalScore : combineScore ,
memberList : memberList ,
className : memberList [ 0 ] . className
@ -832,14 +901,11 @@ export default {
this . regionId = item . id
let ids = ''
item . catList . forEach ( cat => {
ids += cat . i d+ ","
ids += cat . outerI d+ ","
} )
if ( ids . endsWith ( "," ) ) {
ids = ids . substring ( 0 , ids . length - 1 )
}
if ( ids . endsWith ( "," ) ) {
ids = ids . substring ( 0 , ids . length - 1 )
}
this . queryData . pids = ids
}
this . loadMemberRank ( )
@ -866,14 +932,14 @@ export default {
this . levelId = 0 ;
this . queryData . lids = ''
} else {
this . levelId = item . i d
let ids = ''
item . catList . forEach ( cat => {
ids += cat . id + ", "
} )
if ( ids . endsWith ( "," ) ) {
ids = ids . substring ( 0 , ids . length - 1 )
}
this . levelId = item . outerI d
let ids = item . outerId
/ / i t e m . c a t L i s t . f o r E a c h ( c a t = > {
/ / i d s + = c a t . i d + " , "
/ / } )
/ / i f ( i d s . e n d s W i t h ( " , " ) ) {
/ / i d s = i d s . s u b s t r i n g ( 0 , i d s . l e n g t h - 1 )
/ / }
this . queryData . lids = ids
}
this . loadMemberRank ( )
@ -921,6 +987,10 @@ export default {
this . wordLen = 7
}
this . userInfo = getInfo ( )
if ( this . competition . type == 2 ) {
this . queryData . type2 = 2
this . rankingSubType = 2
}
this . loadData ( )
} ,
@ -1198,7 +1268,8 @@ export default {
}
. tz - filter - container span {
display : inline - block ;
font - weight : bold ;
/* font-weight: bold; */
font - size : small ;
margin - left : 1.5 rem ;
margin - right : 1.5 rem ;
}
@ -1213,7 +1284,7 @@ export default {
content : "" ;
position : absolute ;
width : 1 rem ;
height : 1. 5 rem ;
height : 1. 2 rem ;
margin - left : - 1 rem ;
background - color : # ff8533 ;
}
@ -1223,7 +1294,7 @@ export default {
content : "" ;
position : absolute ;
width : 1 rem ;
height : 1. 5 rem ;
height : 1. 2 rem ;
margin - right : - 1 rem ;
background - color : # ff8533 ;
}
@ -1233,7 +1304,7 @@ export default {
content : "" ;
position : absolute ;
width : 1 rem ;
height : 1. 5 rem ;
height : 1. 2 rem ;
margin - left : - 1 rem ;
background - color : # ff8533 ;
}
@ -1244,7 +1315,7 @@ export default {
content : "" ;
position : absolute ;
width : 1 rem ;
height : 1. 5 rem ;
height : 1. 2 rem ;
margin - right : - 1 rem ;
background - color : # ff8533 ;
}
@ -1254,7 +1325,7 @@ export default {
content : "" ;
position : absolute ;
width : 1 rem ;
height : 1. 5 rem ;
height : 1. 2 rem ;
margin - left : - 1 rem ;
background - color : # ff8533 ;
}
@ -1265,7 +1336,7 @@ export default {
content : "" ;
position : absolute ;
width : 1 rem ;
height : 1. 5 rem ;
height : 1. 2 rem ;
margin - right : - 1 rem ;
background - color : # ff8533 ;
}
@ -1344,6 +1415,7 @@ export default {
justify - content : space - around ; * /
align - items : center ;
background : # f5f5f5 ;
font - size : small ;
}
. table - header div {
border - right : 1 px solid # cdcdcd ;