|
|
@@ -215,21 +215,20 @@
|
|
|
<video
|
|
|
v-if="activeTabKey === 'record'"
|
|
|
controls
|
|
|
- :src="item.recordUrl"
|
|
|
+ :src="item.defaultUrl"
|
|
|
></video>
|
|
|
<div v-else-if="activeTabKey === 'thumb'" >
|
|
|
<a-image
|
|
|
width="100%"
|
|
|
height="150px"
|
|
|
style="object-fit: cover;display: block;"
|
|
|
- :src="item.thumbUrl"
|
|
|
+ :src="item.defaultUrl"
|
|
|
/>
|
|
|
</div>
|
|
|
<div v-else-if="activeTabKey === 'ai'" style="height: 150px;" >
|
|
|
- <video v-if="item.aiRetType === 'VIDEO'" controls :src="item.aiRetUrl"></video>
|
|
|
- <a-image width="100%" height="150px" style="object-fit: cover;display: block;" v-else :controls="false" :src="item.aiRetUrl"></a-image>
|
|
|
+ <a-image width="100%" height="150px" style="object-fit: cover;display: block;" :src="item.defaultUrl"></a-image>
|
|
|
</div>
|
|
|
- <div class="craete-time">{{dayjs(item.createAt).format('YYYY/MM/DD HH:mm:ss')}}</div>
|
|
|
+ <div class="craete-time">{{dayjs(item.ts).format('YYYY/MM/DD HH:mm:ss')}}</div>
|
|
|
</div>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
@@ -302,59 +301,49 @@ const deviceTabs = [
|
|
|
const recordColumn = [
|
|
|
{
|
|
|
title: '录制格式',
|
|
|
- dataIndex: 'recordFormat',
|
|
|
- key: 'recordFormat'
|
|
|
+ dataIndex: 'extra',
|
|
|
+ key: 'extra'
|
|
|
},
|
|
|
{
|
|
|
- title: '录制开始时间',
|
|
|
- dataIndex: 'recordStartTs',
|
|
|
- key: 'recordStartTs'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '录制结束时间',
|
|
|
- dataIndex: 'recordEndTs',
|
|
|
- key: 'recordEndTs'
|
|
|
+ title: '录制时间',
|
|
|
+ dataIndex: 'ts',
|
|
|
+ key: 'ts'
|
|
|
},
|
|
|
{
|
|
|
title: '可播放地址',
|
|
|
- dataIndex: 'recordUrl',
|
|
|
- key: 'recordUrl'
|
|
|
+ dataIndex: 'defaultUrl',
|
|
|
+ key: 'defaultUrl'
|
|
|
}
|
|
|
]
|
|
|
|
|
|
const thumbColumn = [
|
|
|
{
|
|
|
title: '截图地址',
|
|
|
- dataIndex: 'thumbUrl',
|
|
|
- key: 'thumbUrl'
|
|
|
+ dataIndex: 'defaultUrl',
|
|
|
+ key: 'defaultUrl'
|
|
|
},
|
|
|
{
|
|
|
title: '截图时间',
|
|
|
- dataIndex: 'thumbTs',
|
|
|
- key: 'thumbTs'
|
|
|
+ dataIndex: 'ts',
|
|
|
+ key: 'ts'
|
|
|
}
|
|
|
]
|
|
|
|
|
|
const aiColumn = [
|
|
|
{
|
|
|
title: '算子模型id',
|
|
|
- dataIndex: 'aiId',
|
|
|
- key: 'aiId'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '类型',
|
|
|
- dataIndex: 'aiRetType',
|
|
|
- key: 'aiRetType'
|
|
|
+ dataIndex: 'extra',
|
|
|
+ key: 'extra'
|
|
|
},
|
|
|
{
|
|
|
title: '结果地址',
|
|
|
- dataIndex: 'aiRetUrl',
|
|
|
- key: 'aiRetUrl'
|
|
|
+ dataIndex: 'defaultUrl',
|
|
|
+ key: 'defaultUrl'
|
|
|
},
|
|
|
{
|
|
|
title: '时间',
|
|
|
- dataIndex: 'aiTs',
|
|
|
- key: 'aiTs'
|
|
|
+ dataIndex: 'ts',
|
|
|
+ key: 'ts'
|
|
|
}
|
|
|
]
|
|
|
|