fix: CDR时间的处理
This commit is contained in:
@@ -756,7 +756,13 @@ onBeforeUnmount(() => {
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ t('views.dashboard.cdr.time') }}: </span>
|
<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>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="6" :md="12" :xs="24">
|
<a-col :lg="6" :md="12" :xs="24">
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ import {
|
|||||||
exportSMFDataCDR,
|
exportSMFDataCDR,
|
||||||
listSMFDataCDR,
|
listSMFDataCDR,
|
||||||
} from '@/api/neData/smf';
|
} from '@/api/neData/smf';
|
||||||
import { parseDateToStr } from '@/utils/date-utils';
|
|
||||||
import { OptionsType, WS } from '@/plugins/ws-websocket';
|
import { OptionsType, WS } from '@/plugins/ws-websocket';
|
||||||
import PQueue from 'p-queue';
|
import PQueue from 'p-queue';
|
||||||
import saveAs from 'file-saver';
|
import saveAs from 'file-saver';
|
||||||
@@ -700,7 +699,7 @@ onBeforeUnmount(() => {
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ t('views.dashboard.cdr.time') }}: </span>
|
<span>{{ t('views.dashboard.cdr.time') }}: </span>
|
||||||
<span>{{ parseDateToStr(+record.timestamp * 1000) }}</span>
|
<span>{{ record.cdrJSON.invocationTimestamp }}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-divider orientation="left">
|
<a-divider orientation="left">
|
||||||
{{ t('views.dashboard.cdr.rowInfo') }}
|
{{ t('views.dashboard.cdr.rowInfo') }}
|
||||||
|
|||||||
@@ -718,7 +718,13 @@ onBeforeUnmount(() => {
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ t('views.dashboard.cdr.time') }}: </span>
|
<span>{{ t('views.dashboard.cdr.time') }}: </span>
|
||||||
<span>{{ parseDateToStr(+record.timestamp * 1000) }}</span>
|
<span>
|
||||||
|
{{
|
||||||
|
typeof record.cdrJSON.updateTime === 'number'
|
||||||
|
? parseDateToStr(+record.cdrJSON.updateTime * 1000)
|
||||||
|
: record.cdrJSON.updateTime
|
||||||
|
}}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<a-divider orientation="left">
|
<a-divider orientation="left">
|
||||||
{{ t('views.dashboard.cdr.rowInfo') }}
|
{{ t('views.dashboard.cdr.rowInfo') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user