fix: CDR时间的处理

This commit is contained in:
TsMask
2024-11-21 10:06:07 +08:00
parent 5a8ab1343f
commit cf0116b5c6
3 changed files with 15 additions and 4 deletions

View File

@@ -756,7 +756,13 @@ onBeforeUnmount(() => {
</div>
<div>
<span>{{ t('views.dashboard.cdr.time') }}: </span>
<span>{{ parseDateToStr(+record.timestamp * 1000) }}</span>
<span>
{{
typeof record.cdrJSON.releaseTime === 'number'
? parseDateToStr(+record.cdrJSON.releaseTime * 1000)
: record.cdrJSON.releaseTime
}}
</span>
</div>
</a-col>
<a-col :lg="6" :md="12" :xs="24">