Compare commits
3 Commits
0ac4e1b7ff
...
psap
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5637af9798 | ||
|
|
acdf580ba5 | ||
|
|
886fb7a7c0 |
@@ -355,7 +355,7 @@ export default {
|
|||||||
callerIdNumber:'Caller Number',
|
callerIdNumber:'Caller Number',
|
||||||
calleeIdNumber:'Callee Number',
|
calleeIdNumber:'Callee Number',
|
||||||
startTime:'Start Time',
|
startTime:'Start Time',
|
||||||
answeredTime:'Answered Time',
|
answeredTime:'Answered Time(s)',
|
||||||
callDuration:'Call Duration',
|
callDuration:'Call Duration',
|
||||||
msdData:'MSD Info',
|
msdData:'MSD Info',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -359,7 +359,7 @@ export default {
|
|||||||
callerIdNumber:'主叫号码',
|
callerIdNumber:'主叫号码',
|
||||||
calleeIdNumber:'被叫号码',
|
calleeIdNumber:'被叫号码',
|
||||||
startTime:'开始时间',
|
startTime:'开始时间',
|
||||||
answeredTime:'接听时间',
|
answeredTime:'接听时间(s)',
|
||||||
callDuration:'通话时长',
|
callDuration:'通话时长',
|
||||||
msdData:'MSD内容',
|
msdData:'MSD内容',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -567,7 +567,15 @@ function wsMessage(res: Record<string, any>) {
|
|||||||
function fnModalVisibleByEdit(record: Record<string, any>) {
|
function fnModalVisibleByEdit(record: Record<string, any>) {
|
||||||
modalState.title = t('common.viewText') + t('views.dashboard.cdr.msd');
|
modalState.title = t('common.viewText') + t('views.dashboard.cdr.msd');
|
||||||
modalState.openByView = true;
|
modalState.openByView = true;
|
||||||
modalState.from = Object.assign(modalState.from, record.cdrJSON.msdData);
|
|
||||||
|
let msdDataObj = {};
|
||||||
|
|
||||||
|
try {
|
||||||
|
msdDataObj = JSON.parse(record.cdrJSON.msdData);
|
||||||
|
} catch (e) {
|
||||||
|
msdDataObj = {};
|
||||||
|
}
|
||||||
|
modalState.from = Object.assign(modalState.from, msdDataObj);
|
||||||
// if (!record || !record.cdrJSON) return;
|
// if (!record || !record.cdrJSON) return;
|
||||||
// const cdrJSON = record.cdrJSON;
|
// const cdrJSON = record.cdrJSON;
|
||||||
// Modal.info({
|
// Modal.info({
|
||||||
@@ -855,9 +863,11 @@ onBeforeUnmount(() => {
|
|||||||
>
|
>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
<template v-if="column.key === 'msdData'">
|
<template v-if="column.key === 'msdData'">
|
||||||
<a-button type="link" @click.prevent="fnModalVisibleByEdit(record)"
|
<a-button
|
||||||
:disabled="!record.cdrJSON.msdData"
|
type="link"
|
||||||
>
|
@click.prevent="fnModalVisibleByEdit(record)"
|
||||||
|
:disabled="!record.cdrJSON.msdData"
|
||||||
|
>
|
||||||
<template #icon><InfoCircleOutlined /></template>
|
<template #icon><InfoCircleOutlined /></template>
|
||||||
</a-button>
|
</a-button>
|
||||||
</template>
|
</template>
|
||||||
@@ -1019,8 +1029,7 @@ onBeforeUnmount(() => {
|
|||||||
:labelWrap="false"
|
:labelWrap="false"
|
||||||
>
|
>
|
||||||
<a-row :gutter="[32, 4]">
|
<a-row :gutter="[32, 4]">
|
||||||
|
<a-col :lg="12" :md="12" :xs="24">
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
|
||||||
<a-form-item
|
<a-form-item
|
||||||
:label="t('views.dashboard.cdr.messageIdentifier')"
|
:label="t('views.dashboard.cdr.messageIdentifier')"
|
||||||
name="messageIdentifier"
|
name="messageIdentifier"
|
||||||
@@ -1044,9 +1053,7 @@ onBeforeUnmount(() => {
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
|
<a-col :lg="12" :md="12" :xs="24">
|
||||||
|
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
|
||||||
<a-form-item
|
<a-form-item
|
||||||
:label="t('views.dashboard.cdr.timestamp')"
|
:label="t('views.dashboard.cdr.timestamp')"
|
||||||
name="timestamp"
|
name="timestamp"
|
||||||
@@ -1070,9 +1077,6 @@ onBeforeUnmount(() => {
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a-divider orientation="left">
|
<a-divider orientation="left">
|
||||||
{{ t('views.dashboard.cdr.control') }}
|
{{ t('views.dashboard.cdr.control') }}
|
||||||
</a-divider>
|
</a-divider>
|
||||||
@@ -1122,8 +1126,6 @@ onBeforeUnmount(() => {
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a-divider orientation="left">
|
<a-divider orientation="left">
|
||||||
{{ t('views.dashboard.cdr.recentVehicleLocationN1') }}
|
{{ t('views.dashboard.cdr.recentVehicleLocationN1') }}
|
||||||
</a-divider>
|
</a-divider>
|
||||||
@@ -1188,8 +1190,6 @@ onBeforeUnmount(() => {
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a-divider orientation="left">
|
<a-divider orientation="left">
|
||||||
{{ t('views.dashboard.cdr.vehicleIdentificationNumber') }}
|
{{ t('views.dashboard.cdr.vehicleIdentificationNumber') }}
|
||||||
</a-divider>
|
</a-divider>
|
||||||
@@ -1234,10 +1234,7 @@ onBeforeUnmount(() => {
|
|||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
<a-col :lg="12" :md="12" :xs="24">
|
||||||
<a-form-item
|
<a-form-item :label="t('views.dashboard.cdr.isowmi')" name="isowmi">
|
||||||
:label="t('views.dashboard.cdr.isowmi')"
|
|
||||||
name="isowmi"
|
|
||||||
>
|
|
||||||
<a-input
|
<a-input
|
||||||
:disabled="true"
|
:disabled="true"
|
||||||
v-model:value="
|
v-model:value="
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ export default function useConfigList({
|
|||||||
/**指定每页可以显示多少条 */
|
/**指定每页可以显示多少条 */
|
||||||
pageSizeOptions: ['10', '20', '50', '100'],
|
pageSizeOptions: ['10', '20', '50', '100'],
|
||||||
/**只有一页时是否隐藏分页器 */
|
/**只有一页时是否隐藏分页器 */
|
||||||
hideOnSinglePage: true,
|
hideOnSinglePage: false,
|
||||||
/**是否可以快速跳转至某页 */
|
/**是否可以快速跳转至某页 */
|
||||||
showQuickJumper: true,
|
showQuickJumper: true,
|
||||||
/**是否可以改变 pageSize */
|
/**是否可以改变 pageSize */
|
||||||
|
|||||||
@@ -477,7 +477,7 @@ onMounted(() => {
|
|||||||
</a-card>
|
</a-card>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="collapsible ? 18 : 24" :md="collapsible ? 18 : 24" :xs="24">
|
<a-col :lg="collapsible ? 18 : 24" :md="collapsible ? 18 : 24" :xs="24">
|
||||||
<a-card size="small" :bordered="false" :body-style="{ maxHeight: '600px', 'overflow-y': 'auto' }"
|
<a-card size="small" :bordered="false" :body-style="{ maxHeight: '700px', 'overflow-y': 'auto' }"
|
||||||
:loading="treeState.selectLoading">
|
:loading="treeState.selectLoading">
|
||||||
<template #title>
|
<template #title>
|
||||||
<a-button type="text" size="small" @click.prevent="changeCollapsible()">
|
<a-button type="text" size="small" @click.prevent="changeCollapsible()">
|
||||||
|
|||||||
Reference in New Issue
Block a user