|
@@ -79,7 +79,7 @@ export default defineComponent({
|
|
|
{props.item.fileList?.fileType === 'EVALUATION' &&
|
|
|
(checkUrlType(props.item.fileList?.content) === 'video' ? (
|
|
|
<video
|
|
|
- style={{ height: '100%' }}
|
|
|
+ style={{ width: '100%' }}
|
|
|
src={props.item.fileList?.content}
|
|
|
onClick={() => {
|
|
|
preivewItem.value.content = props.item.fileList?.content;
|
|
@@ -106,7 +106,7 @@ export default defineComponent({
|
|
|
{/* 'https://oss.dayaedu.com/ktqy/1715586967518b42c4fe5.mp4' */}
|
|
|
{props.item.fileList?.fileType === 'VIDEO' && (
|
|
|
<video
|
|
|
- style={{ height: '100%' }}
|
|
|
+ style={{ width: '100%' }}
|
|
|
src={props.item.fileList?.filePath}
|
|
|
onClick={() => {
|
|
|
preivewItem.value.content = props.item.fileList?.filePath;
|
|
@@ -167,15 +167,27 @@ export default defineComponent({
|
|
|
|
|
|
{props.item.trainingType === 'EVALUATION' ? (
|
|
|
<div class={[styles.scoreGroup, styles.scoreGroupEval]}>
|
|
|
- {props.item.trainingTimes}
|
|
|
- <span>分</span>
|
|
|
+ {props.item.fileJsonList && props.item.fileJsonList.length > 0 ? (
|
|
|
+ <>
|
|
|
+ {props.item.trainingTimes}
|
|
|
+ <span>分</span>
|
|
|
+ </>
|
|
|
+ ) : (
|
|
|
+ <span class={styles.noSubmit}>未提交</span>
|
|
|
+ )}
|
|
|
</div>
|
|
|
) : (
|
|
|
<div class={[styles.scoreGroup]}>
|
|
|
- {props.item.trainingTimes
|
|
|
- ? parseInt(props.item.trainingTimes / 60 + '')
|
|
|
- : 0}
|
|
|
- <span>分钟</span>
|
|
|
+ {props.item.fileJsonList && props.item.fileJsonList.length > 0 ? (
|
|
|
+ <>
|
|
|
+ {props.item.trainingTimes
|
|
|
+ ? parseInt(props.item.trainingTimes / 60 + '')
|
|
|
+ : 0}
|
|
|
+ <span>分钟</span>
|
|
|
+ </>
|
|
|
+ ) : (
|
|
|
+ <span class={styles.noSubmit}>未提交</span>
|
|
|
+ )}
|
|
|
</div>
|
|
|
)}
|
|
|
</div>
|