|
@@ -305,18 +305,21 @@ export default defineComponent({
|
|
|
reportDataNot={reportData.TEACHER_NOT_ATTENDANCE}
|
|
|
/>
|
|
|
|
|
|
- <div class={[styles.trainClass, styles.teacherTrainClass]}>
|
|
|
- <Image src={iconClass} class={styles.iconPhoto} />
|
|
|
- <div>
|
|
|
- <p class={styles.subjectTips}>课件使用未达标班级</p>
|
|
|
- <p class={styles.subjectNames} style="color: #FF99A2">
|
|
|
- {reportData.coursewareList.map(
|
|
|
- (item: string, index: number) =>
|
|
|
- item + (reportData.coursewareList.length - 1 === index ? '' : '、')
|
|
|
- )}
|
|
|
- </p>
|
|
|
+ {reportData.coursewareList.length > 0 && (
|
|
|
+ <div class={[styles.trainClass, styles.teacherTrainClass]}>
|
|
|
+ <Image src={iconClass} class={styles.iconPhoto} />
|
|
|
+ <div>
|
|
|
+ <p class={styles.subjectTips}>课件使用未达标班级</p>
|
|
|
+ <p class={styles.subjectNames} style="color: #FF99A2">
|
|
|
+ {reportData.coursewareList.map(
|
|
|
+ (item: string, index: number) =>
|
|
|
+ item + (reportData.coursewareList.length - 1 === index ? '' : '、')
|
|
|
+ )}
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ )}
|
|
|
+
|
|
|
<TrainProgress type="month" reportData={reportData.KNOWLEDGE} />
|
|
|
|
|
|
<Popup
|