|
@@ -957,7 +957,20 @@ export default {
|
|
|
this.$Message.warning('未查询到课例数据,无法导出')
|
|
|
return
|
|
|
}
|
|
|
- this.$Spin.show()
|
|
|
+ this.$Spin.show({
|
|
|
+ render: (h) => {
|
|
|
+ return h('div', [
|
|
|
+ h('Icon', {
|
|
|
+ 'class': 'demo-spin-icon-load',
|
|
|
+ props: {
|
|
|
+ type: 'ios-loading',
|
|
|
+ size: 18
|
|
|
+ }
|
|
|
+ }),
|
|
|
+ h('div', '课例数量过多时,请耐心等待报告生成~')
|
|
|
+ ])
|
|
|
+ }
|
|
|
+ })
|
|
|
this.filterParams.continuationToken = null
|
|
|
this.filterParams.pageCount = 9999
|
|
|
// 查询符合条件的所有课例数据 进入分析报告页面
|
|
@@ -976,7 +989,7 @@ export default {
|
|
|
})
|
|
|
let lessonList = res.lessonRecords
|
|
|
lessonList.forEach(i => {
|
|
|
- i.subjectName = this.curPeriod.subjects.find(j => j.id === i.subjectId).name
|
|
|
+ i.subjectName = this.curPeriod.subjects.find(j => j.id === i.subjectId)?.name
|
|
|
})
|
|
|
console.log(lessonList)
|
|
|
this.$Spin.hide()
|