mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-07 01:46:42 +08:00
测试
This commit is contained in:
@@ -380,13 +380,13 @@ export default {
|
||||
getExperience() {//经验值
|
||||
let data = {
|
||||
aid:this.userInfo.aid,// #用户id
|
||||
statType:21, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数
|
||||
statType:20, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数
|
||||
field:this.experience.field,// #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计
|
||||
num:10,// #显示的条数
|
||||
}
|
||||
if(data.field == 'now'){
|
||||
data.statType = 20
|
||||
data.field = 'total'
|
||||
data.field = 'years'
|
||||
this.experience.field = 'total'
|
||||
this.isNow = true
|
||||
}
|
||||
@@ -447,13 +447,13 @@ export default {
|
||||
getDuration() {//学习时长
|
||||
let data = {
|
||||
aid:this.userInfo.aid,// #用户id
|
||||
statType:12, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数
|
||||
statType:10, // #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数
|
||||
field:this.learningDuration.field,// #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计
|
||||
num:10,// #显示的条数
|
||||
}
|
||||
if(data.field == 'now'){
|
||||
data.statType = 10
|
||||
data.field = 'total'
|
||||
data.field = 'years'
|
||||
this.learningDuration.field = 'total'
|
||||
this.isStudyTime = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user