|
@@ -1,8 +1,9 @@
|
|
<template>
|
|
<template>
|
|
<div class="cloudas-container">
|
|
<div class="cloudas-container">
|
|
<Spin size="large" v-if="!showAnalysis" style="display: flex;justify-content: center;margin-top:100px"></Spin>
|
|
<Spin size="large" v-if="!showAnalysis" style="display: flex;justify-content: center;margin-top:100px"></Spin>
|
|
- <EmptyData v-if="showAnalysis && isEmpty" :top="120"></EmptyData>
|
|
|
|
- <div class="cloudas-content" v-if="showAnalysis && !isEmpty">
|
|
|
|
|
|
+ <EmptyData v-else-if="showAnalysis && isEmpty" :top="120"></EmptyData>
|
|
|
|
+ <TipsInfo v-else-if="isJointExam && !jointVisiable" :msg="$t('learnActivity.simple.eventNotVisible')" style="background:white;height:100%;">{{currentExamItem.id}}{{isJointExam}}{{jointVisiable}}</TipsInfo>
|
|
|
|
+ <div class="cloudas-content" v-else-if="showAnalysis && !isEmpty">
|
|
<vuescroll ref="vs">
|
|
<vuescroll ref="vs">
|
|
<div class="basic-info">
|
|
<div class="basic-info">
|
|
<p style="display: flex;align-items: center;">
|
|
<p style="display: flex;align-items: center;">
|
|
@@ -81,6 +82,8 @@ export default {
|
|
currentScatterClass: 0,
|
|
currentScatterClass: 0,
|
|
curWarningSubjectIndex: 0,
|
|
curWarningSubjectIndex: 0,
|
|
classList: [],
|
|
classList: [],
|
|
|
|
+ isJointExam: false, //是否為統測活動評量
|
|
|
|
+ jointVisiable: false //統測活動是否可見
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -98,7 +101,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
initAnalysisJson(evInfo) {
|
|
initAnalysisJson(evInfo) {
|
|
- console.error(evInfo)
|
|
|
|
|
|
+ console.error('evInfo', evInfo)
|
|
// 如果评测活动还没有结束 或者 cloudas为false 则不显示诊断分析数据
|
|
// 如果评测活动还没有结束 或者 cloudas为false 则不显示诊断分析数据
|
|
if (evInfo.progress !== 'finish' || !evInfo.cloudas) {
|
|
if (evInfo.progress !== 'finish' || !evInfo.cloudas) {
|
|
this.showAnalysis = true
|
|
this.showAnalysis = true
|
|
@@ -108,6 +111,16 @@ export default {
|
|
this.showAnalysis = false
|
|
this.showAnalysis = false
|
|
this.isEmpty = false
|
|
this.isEmpty = false
|
|
}
|
|
}
|
|
|
|
+ if (evInfo.jointExamId && typeof evInfo.jointExamId === "string" && evInfo.jointExamId.length > 0) {
|
|
|
|
+ this.isJointExam = true
|
|
|
|
+ } else {
|
|
|
|
+ this.isJointExam = false
|
|
|
|
+ }
|
|
|
|
+ if (evInfo.jointVisiable) {
|
|
|
|
+ this.jointVisiable = true
|
|
|
|
+ } else {
|
|
|
|
+ this.jointVisiable = false
|
|
|
|
+ }
|
|
let item = evInfo
|
|
let item = evInfo
|
|
console.error('切换评测', item, item.name)
|
|
console.error('切换评测', item, item.name)
|
|
this.currentExamItem = item
|
|
this.currentExamItem = item
|