bug
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<ai-list class="AppLearningStatistics">
|
||||
<template slot="title">
|
||||
<ai-title title="学习统计" isShowBottomBorder></ai-title>
|
||||
<ai-title title="学习统计" isShowBottomBorder isShowArea v-model="areaId" :instance="instance" @change="search.current = 1, onChange()"></ai-title>
|
||||
</template>
|
||||
<template slot="content">
|
||||
<ai-card title="关键数据">
|
||||
@@ -215,7 +215,8 @@
|
||||
tableData1: [],
|
||||
tableData2: [],
|
||||
statisticsKeyData: {},
|
||||
statisticsUse: {}
|
||||
statisticsUse: {},
|
||||
areaId: ''
|
||||
}
|
||||
},
|
||||
|
||||
@@ -224,19 +225,26 @@
|
||||
},
|
||||
|
||||
created () {
|
||||
this.search1.areaId = this.user.info.areaId
|
||||
this.areaId = this.user.info.areaId
|
||||
this.getStatisticsKeyData()
|
||||
this.getStatisticsHot()
|
||||
this.getStatisticsUse()
|
||||
},
|
||||
|
||||
methods: {
|
||||
onChange () {
|
||||
this.getStatisticsKeyData()
|
||||
this.getStatisticsHot()
|
||||
this.getStatisticsUse()
|
||||
},
|
||||
|
||||
getStatisticsKeyData () {
|
||||
this.instance.post(`/app/appexaminationinfo/statisticsKeyData`, null, {
|
||||
params: {
|
||||
...this.search1,
|
||||
beginDate: this.search1.date[0],
|
||||
endDate: this.search1.date[1]
|
||||
endDate: this.search1.date[1],
|
||||
areaId: this.areaId
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
@@ -250,7 +258,8 @@
|
||||
params: {
|
||||
...this.search4,
|
||||
beginDate: this.search4.date[0],
|
||||
endDate: this.search4.date[1]
|
||||
endDate: this.search4.date[1],
|
||||
areaId: this.areaId
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
@@ -264,6 +273,7 @@
|
||||
params: {
|
||||
...this.search2,
|
||||
size: 20,
|
||||
areaId: this.areaId,
|
||||
type: this.type,
|
||||
beginDate: this.search2.date[0],
|
||||
endDate: this.search2.date[1]
|
||||
|
||||
Reference in New Issue
Block a user