mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
机构名称显示问题,我的U币,排行,使用了同一方法
This commit is contained in:
@@ -49,9 +49,7 @@ const user = {
|
||||
// /用户触发事件
|
||||
userTrigger({ commit }, event) {
|
||||
event.source='page';
|
||||
apiStat.sendEvent(event).then(res=>{
|
||||
console.log(res,'userTrigger');
|
||||
})
|
||||
apiStat.sendEvent(event);
|
||||
},
|
||||
SetIntTimeNote({
|
||||
commit
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
:sex="currentUserRankingData.authorInfo.sex"></author-img> <span
|
||||
style="color: #0059FF;">{{currentUserRankingData.authorInfo.name}}</span>
|
||||
</div>
|
||||
<div class="bm tab-bm" style="margin-left:30px;color: #0059FF;">{{currentUserRankingData.authorInfo.orgInfo}}
|
||||
<div class="bm tab-bm" style="margin-left:30px;color: #0059FF;">{{cutOrgNamePath(currentUserRankingData.authorInfo.orgInfo)}}
|
||||
</div>
|
||||
<div class="jy tab-jy">
|
||||
<div v-if="cycle == 'total'" style="font-size: 18px;color: #333333;font-weight: 600;color: #0059FF;">{{currentUserRankingData.total}}</div>
|
||||
@@ -195,6 +195,7 @@
|
||||
import authorImg from '@/components/Portal/authorImg.vue';
|
||||
import author from '@/components/Portal/authorInfo.vue';
|
||||
import apiUser from "@/api/system/user.js";
|
||||
import {cutOrgNamePath} from "@/utils/tools.js";
|
||||
import * as echarts from 'echarts'
|
||||
import {
|
||||
translate,
|
||||
@@ -211,6 +212,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
cutOrgNamePath:cutOrgNamePath,
|
||||
chatData:[],
|
||||
isShowChart:false,
|
||||
current: {
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
<author-img :avatar="ran.authorInfo.avatar" :aid="ran.authorInfo.aid" :sex="ran.authorInfo.sex"></author-img>
|
||||
<div>
|
||||
<span>{{ran.authorInfo.name}}</span>
|
||||
<div class="tab-bm">{{ran.authorInfo.orgInfo}}</div>
|
||||
<div class="tab-bm">{{cutOrgNamePath(ran.authorInfo.orgInfo)}}</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -81,7 +81,7 @@
|
||||
<author-img :avatar="userInfo.avatar" :aid="experience.data.authorInfo.aid" :sex="experience.data.authorInfo.sex"></author-img>
|
||||
<div>
|
||||
<span style="color: #0059FF;">{{experience.data.authorInfo.name}}</span>
|
||||
<div class="tab-bm" style="color: #0059FF;">{{experience.data.authorInfo.orgInfo}}</div>
|
||||
<div class="tab-bm" style="color: #0059FF;">{{cutOrgNamePath(experience.data.authorInfo.orgInfo)}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
<author-img :avatar="lan.authorInfo.avatar" :aid="lan.authorInfo.aid" :sex="lan.authorInfo.sex"></author-img>
|
||||
<div>
|
||||
<span>{{lan.authorInfo.name}}</span>
|
||||
<div class="tab-bm">{{lan.authorInfo.orgInfo}}</div>
|
||||
<div class="tab-bm">{{cutOrgNamePath(lan.authorInfo.orgInfo)}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jy tab-jy">
|
||||
@@ -167,7 +167,7 @@
|
||||
<author-img :avatar="userInfo.avatar" :aid="learningDuration.data.authorInfo.aid" :sex="learningDuration.data.authorInfo.sex"></author-img>
|
||||
<div>
|
||||
<span style="color: #0059FF;">{{learningDuration.data.authorInfo.name}}</span>
|
||||
<div class="tab-bm" style="color: #0059FF;">{{learningDuration.data.authorInfo.orgInfo}}</div>
|
||||
<div class="tab-bm" style="color: #0059FF;">{{cutOrgNamePath(learningDuration.data.authorInfo.orgInfo)}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="jy tab-jy">
|
||||
@@ -230,7 +230,7 @@
|
||||
<author-img :avatar="day.authorInfo.avatar" :aid="day.authorInfo.aid" :sex="day.authorInfo.sex"></author-img>
|
||||
<div>
|
||||
<span>{{day.authorInfo.name}}</span>
|
||||
<div class="tab-bm">{{day.authorInfo.orgInfo}}</div>
|
||||
<div class="tab-bm">{{cutOrgNamePath(day.authorInfo.orgInfo)}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -251,7 +251,7 @@
|
||||
<author-img :avatar="userInfo.avatar" :aid="learningDays.data.authorInfo.aid" :sex="learningDays.data.authorInfo.sex"></author-img>
|
||||
<div>
|
||||
<span style="color: #0059FF;">{{learningDays.data.authorInfo.name}}</span>
|
||||
<div class="tab-bm" style="color: #0059FF;">{{learningDays.data.authorInfo.orgInfo}}</div>
|
||||
<div class="tab-bm" style="color: #0059FF;">{{cutOrgNamePath(learningDays.data.authorInfo.orgInfo)}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -275,7 +275,7 @@
|
||||
import apiStat from '@/api/phase2/stat.js';
|
||||
import { mapGetters } from 'vuex';
|
||||
import authorImg from '@/components/Portal/authorImg.vue';
|
||||
import {translate,experienceValue,formatSecondToHour} from "@/utils/tools.js";
|
||||
import {translate,experienceValue,formatSecondToHour,cutOrgNamePath} from "@/utils/tools.js";
|
||||
export default {
|
||||
computed: {
|
||||
...mapGetters(['userInfo']),
|
||||
@@ -285,6 +285,7 @@ export default {
|
||||
data(){
|
||||
return{
|
||||
experienceValue,
|
||||
cutOrgNamePath:cutOrgNamePath,
|
||||
current:{},
|
||||
currentUserRankingTotalData:{
|
||||
rankNo:0, // 经验值累计排名
|
||||
|
||||
Reference in New Issue
Block a user