修复PSAP需求
This commit is contained in:
@@ -12,17 +12,15 @@ import {
|
||||
} from '@/constants/result-constants';
|
||||
import useDictStore from '@/store/modules/dict';
|
||||
import useNeInfoStore from '@/store/modules/neinfo';
|
||||
import {
|
||||
delMFDataCDR,
|
||||
exportMFDataCDR,
|
||||
listMFDataCDR,
|
||||
} from '@/api/neData/mf';
|
||||
import { delMFDataCDR, exportMFDataCDR, listMFDataCDR } from '@/api/neData/mf';
|
||||
import { parseDateToStr, parseDuration } from '@/utils/date-utils';
|
||||
import { OptionsType, WS } from '@/plugins/ws-websocket';
|
||||
import saveAs from 'file-saver';
|
||||
import PQueue from 'p-queue';
|
||||
import { useClipboard } from '@vueuse/core';
|
||||
import dayjs, { type Dayjs } from 'dayjs';
|
||||
import { ProModal } from 'antdv-pro-modal';
|
||||
|
||||
const { copy } = useClipboard({ legacy: true });
|
||||
const { t } = useI18n();
|
||||
const { getDict } = useDictStore();
|
||||
@@ -216,12 +214,12 @@ let tableColumns: ColumnsType = [
|
||||
{
|
||||
title: t('views.dashboard.cdr.msd'),
|
||||
dataIndex: 'cdrJSON',
|
||||
key: 'msd',
|
||||
key: 'msdData',
|
||||
align: 'left',
|
||||
width: 100,
|
||||
customRender(opt) {
|
||||
const cdrJSON = opt.value;
|
||||
return cdrJSON.msd;
|
||||
return cdrJSON.msdData;
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -301,12 +299,64 @@ type ModalStateType = {
|
||||
confirmLoading: boolean;
|
||||
/**最大ID值 */
|
||||
maxId: number;
|
||||
/**详情框是否显示 */
|
||||
openByView: boolean;
|
||||
/**标题 */
|
||||
title: string;
|
||||
/**表单数据 */
|
||||
from: Record<string, any>;
|
||||
/**确定按钮 loading */
|
||||
/**更新加载数据按钮 loading */
|
||||
loadDataLoading: boolean;
|
||||
};
|
||||
|
||||
/**对话框对象信息状态 */
|
||||
let modalState: ModalStateType = reactive({
|
||||
confirmLoading: false,
|
||||
maxId: 0,
|
||||
openByView: false,
|
||||
title: 'mfCDR',
|
||||
from: {
|
||||
control: {
|
||||
automaticActivation: true,
|
||||
positionCanBeTrusted: true,
|
||||
testCall: false,
|
||||
vehicleType: '',
|
||||
},
|
||||
|
||||
messageIdentifier: 0,
|
||||
numberOfOccupants: 0,
|
||||
|
||||
recentVehicleLocationN1: {
|
||||
latitudeDelta: 0,
|
||||
longitudeDelta: 0,
|
||||
},
|
||||
recentVehicleLocationN2: {
|
||||
latitudeDelta: 0,
|
||||
longitudeDelta: 0,
|
||||
},
|
||||
|
||||
timestamp: 0,
|
||||
vehicleDirection: 0,
|
||||
vehicleIdentificationNumber: {
|
||||
isovds: '',
|
||||
isovisModelyear: '',
|
||||
isovisSeqPlant: '',
|
||||
isowmi: '',
|
||||
},
|
||||
|
||||
vehicleLocation: {
|
||||
positionLatitude: 0,
|
||||
positionLongitude: 0,
|
||||
},
|
||||
|
||||
vehiclePropulsionStorageType: {
|
||||
dieselTankPresent: false,
|
||||
electricEnergyStorage: true,
|
||||
gasolineTankPresent: true,
|
||||
},
|
||||
},
|
||||
loadDataLoading: false,
|
||||
});
|
||||
|
||||
/**
|
||||
@@ -376,6 +426,7 @@ function fnGetList(pageNum?: number) {
|
||||
) {
|
||||
queryParams.startTime = queryRangePicker.value[0].valueOf();
|
||||
queryParams.endTime = queryRangePicker.value[1].valueOf();
|
||||
console.log(queryRangePicker.value[0].valueOf());
|
||||
} else {
|
||||
queryParams.startTime = undefined;
|
||||
queryParams.endTime = undefined;
|
||||
@@ -514,6 +565,34 @@ function wsMessage(res: Record<string, any>) {
|
||||
}
|
||||
}
|
||||
|
||||
function fnModalVisibleByEdit(record: Record<string, any>) {
|
||||
modalState.title = t('common.viewText') + t('views.dashboard.cdr.msd');
|
||||
modalState.openByView = true;
|
||||
modalState.from = Object.assign(modalState.from, record.cdrJSON.msdData);
|
||||
console.log(record, modalState.from);
|
||||
// if (!record || !record.cdrJSON) return;
|
||||
// const cdrJSON = record.cdrJSON;
|
||||
// Modal.info({
|
||||
// title: t('views.dashboard.cdr.msdData'),
|
||||
// width: '80%',
|
||||
// content: (
|
||||
// <pre style="white-space: pre-wrap; word-break: break-all;">
|
||||
// {JSON.stringify(cdrJSON, null, 2)}
|
||||
// </pre>
|
||||
// ),
|
||||
// okText: t('common.copy'),
|
||||
// onOk() {
|
||||
// fnRecordCopy(JSON.stringify(cdrJSON, null, 2));
|
||||
// },
|
||||
// });
|
||||
}
|
||||
|
||||
function fnModalCancel() {
|
||||
// modalState.openByEdit = false;
|
||||
modalState.openByView = false;
|
||||
//modalStateFrom.resetFields();
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
// 初始字典数据
|
||||
Promise.allSettled([getDict('cdr_sip_code'), getDict('cdr_call_type')]).then(
|
||||
@@ -565,26 +644,46 @@ onBeforeUnmount(() => {
|
||||
|
||||
<template>
|
||||
<PageContainer>
|
||||
<a-card v-show="tableState.seached" :bordered="false" :body-style="{ marginBottom: '24px', paddingBottom: 0 }">
|
||||
<a-card
|
||||
v-show="tableState.seached"
|
||||
:bordered="false"
|
||||
:body-style="{ marginBottom: '24px', paddingBottom: 0 }"
|
||||
>
|
||||
<!-- 表格搜索栏 -->
|
||||
<a-form :model="queryParams" name="queryParams" layout="horizontal">
|
||||
<a-row :gutter="16">
|
||||
<a-col :lg="6" :md="12" :xs="24">
|
||||
<a-form-item label="MF" name="neId ">
|
||||
<a-select v-model:value="queryParams.neId" :options="neOtions" :placeholder="t('common.selectPlease')"
|
||||
@change="fnQueryReset()" />
|
||||
<a-select
|
||||
v-model:value="queryParams.neId"
|
||||
:options="neOtions"
|
||||
:placeholder="t('common.selectPlease')"
|
||||
@change="fnQueryReset()"
|
||||
/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="6" :md="12" :xs="24">
|
||||
<a-form-item :label="t('views.dashboard.cdr.called')" name="calledParty">
|
||||
<a-input v-model:value="queryParams.calledParty" allow-clear
|
||||
:placeholder="t('common.inputPlease')"></a-input>
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.called')"
|
||||
name="calledParty"
|
||||
>
|
||||
<a-input
|
||||
v-model:value="queryParams.calledParty"
|
||||
allow-clear
|
||||
:placeholder="t('common.inputPlease')"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="6" :md="12" :xs="24">
|
||||
<a-form-item :label="t('views.dashboard.cdr.caller')" name="callerParty ">
|
||||
<a-input v-model:value="queryParams.callerParty" allow-clear
|
||||
:placeholder="t('common.inputPlease')"></a-input>
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.caller')"
|
||||
name="callerParty "
|
||||
>
|
||||
<a-input
|
||||
v-model:value="queryParams.callerParty"
|
||||
allow-clear
|
||||
:placeholder="t('common.inputPlease')"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="4" :md="12" :xs="24">
|
||||
@@ -606,16 +705,33 @@ onBeforeUnmount(() => {
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="8" :md="12" :xs="24">
|
||||
<a-form-item :label="t('views.dashboard.cdr.recordType')" name="recordType">
|
||||
<a-select v-model:value="recordTypes" mode="multiple" :options="['MOC', 'MTC'].map(v => ({ value: v }))"
|
||||
:placeholder="t('common.selectPlease')" @change="fnQueryRecordTypeChange"></a-select>
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.recordType')"
|
||||
name="recordType"
|
||||
>
|
||||
<a-select
|
||||
v-model:value="recordTypes"
|
||||
mode="multiple"
|
||||
:options="['MOC', 'MTC'].map(v => ({ value: v }))"
|
||||
:placeholder="t('common.selectPlease')"
|
||||
@change="fnQueryRecordTypeChange"
|
||||
></a-select>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="8" :md="12" :xs="24">
|
||||
<a-form-item :label="t('views.dashboard.cdr.time')" name="queryRangePicker">
|
||||
<a-range-picker v-model:value="queryRangePicker" :presets="rangePickerPresets" :bordered="true"
|
||||
:allow-clear="false" style="width: 100%" :show-time="{ format: 'HH:mm:ss' }"
|
||||
format="YYYY-MM-DD HH:mm:ss"></a-range-picker>
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.time')"
|
||||
name="queryRangePicker"
|
||||
>
|
||||
<a-range-picker
|
||||
v-model:value="queryRangePicker"
|
||||
:presets="rangePickerPresets"
|
||||
:bordered="true"
|
||||
:allow-clear="false"
|
||||
style="width: 100%"
|
||||
:show-time="{ format: 'HH:mm:ss' }"
|
||||
format="YYYY-MM-DD HH:mm:ss"
|
||||
></a-range-picker>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
@@ -626,10 +742,17 @@ onBeforeUnmount(() => {
|
||||
<!-- 插槽-卡片左侧侧 -->
|
||||
<template #title>
|
||||
<a-space :size="8" align="center">
|
||||
<a-popconfirm placement="bottomLeft" :title="!realTimeData
|
||||
? t('views.dashboard.cdr.realTimeDataStart')
|
||||
: t('views.dashboard.cdr.realTimeDataStop')
|
||||
" ok-text="Yes" cancel-text="No" @confirm="fnRealTime()">
|
||||
<a-popconfirm
|
||||
placement="bottomLeft"
|
||||
:title="
|
||||
!realTimeData
|
||||
? t('views.dashboard.cdr.realTimeDataStart')
|
||||
: t('views.dashboard.cdr.realTimeDataStop')
|
||||
"
|
||||
ok-text="Yes"
|
||||
cancel-text="No"
|
||||
@confirm="fnRealTime()"
|
||||
>
|
||||
<a-button type="primary" :danger="realTimeData">
|
||||
<template #icon>
|
||||
<FundOutlined />
|
||||
@@ -642,8 +765,14 @@ onBeforeUnmount(() => {
|
||||
</a-button>
|
||||
</a-popconfirm>
|
||||
|
||||
<a-button type="default" danger :disabled="tableState.selectedRowKeys.length <= 0"
|
||||
:loading="modalState.confirmLoading" @click.prevent="fnRecordDelete('0')" v-perms:has="['cdr:ne:remove']">
|
||||
<a-button
|
||||
type="default"
|
||||
danger
|
||||
:disabled="tableState.selectedRowKeys.length <= 0"
|
||||
:loading="modalState.confirmLoading"
|
||||
@click.prevent="fnRecordDelete('0')"
|
||||
v-perms:has="['cdr:ne:remove']"
|
||||
>
|
||||
<template #icon>
|
||||
<DeleteOutlined />
|
||||
</template>
|
||||
@@ -664,8 +793,13 @@ onBeforeUnmount(() => {
|
||||
<a-space :size="8" align="center">
|
||||
<a-tooltip>
|
||||
<template #title>{{ t('common.searchBarText') }}</template>
|
||||
<a-switch v-model:checked="tableState.seached" :checked-children="t('common.switch.show')"
|
||||
:un-checked-children="t('common.switch.hide')" size="small" :disabled="realTimeData" />
|
||||
<a-switch
|
||||
v-model:checked="tableState.seached"
|
||||
:checked-children="t('common.switch.show')"
|
||||
:un-checked-children="t('common.switch.hide')"
|
||||
size="small"
|
||||
:disabled="realTimeData"
|
||||
/>
|
||||
</a-tooltip>
|
||||
<a-tooltip>
|
||||
<template #title>{{ t('common.reloadText') }}</template>
|
||||
@@ -684,7 +818,10 @@ onBeforeUnmount(() => {
|
||||
</template>
|
||||
</a-button>
|
||||
<template #overlay>
|
||||
<a-menu :selected-keys="[tableState.size as string]" @click="fnTableSize">
|
||||
<a-menu
|
||||
:selected-keys="[tableState.size as string]"
|
||||
@click="fnTableSize"
|
||||
>
|
||||
<a-menu-item key="default">
|
||||
{{ t('common.size.default') }}
|
||||
</a-menu-item>
|
||||
@@ -702,21 +839,42 @@ onBeforeUnmount(() => {
|
||||
</template>
|
||||
|
||||
<!-- 表格列表 -->
|
||||
<a-table class="table" row-key="id" :columns="tableColumns" :loading="tableState.loading"
|
||||
:data-source="tableState.data" :size="tableState.size" :pagination="tablePagination"
|
||||
:scroll="{ x: tableColumns.length * 150, y: 'calc(100vh - 480px)' }" :row-selection="{
|
||||
<a-table
|
||||
class="table"
|
||||
row-key="id"
|
||||
:columns="tableColumns"
|
||||
:loading="tableState.loading"
|
||||
:data-source="tableState.data"
|
||||
:size="tableState.size"
|
||||
:pagination="tablePagination"
|
||||
:scroll="{ x: tableColumns.length * 150, y: 'calc(100vh - 480px)' }"
|
||||
:row-selection="{
|
||||
type: 'checkbox',
|
||||
columnWidth: '48px',
|
||||
selectedRowKeys: tableState.selectedRowKeys,
|
||||
onChange: fnTableSelectedRowKeys,
|
||||
}">
|
||||
}"
|
||||
>
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'msdData'">
|
||||
<a-button type="link" @click.prevent="fnModalVisibleByEdit(record)">
|
||||
<template #icon><InfoCircleOutlined /></template>
|
||||
</a-button>
|
||||
</template>
|
||||
|
||||
<template v-if="column.key === 'callType'">
|
||||
<DictTag :options="dict.cdrCallType" :value="record.cdrJSON.callType" />
|
||||
<DictTag
|
||||
:options="dict.cdrCallType"
|
||||
:value="record.cdrJSON.callType"
|
||||
/>
|
||||
</template>
|
||||
<template v-if="column.key === 'cause'">
|
||||
<span v-if="record.cdrJSON.callType !== 'sms'">
|
||||
<DictTag :options="dict.cdrSipCode" :value="record.cdrJSON.cause" value-default="0" />
|
||||
<DictTag
|
||||
:options="dict.cdrSipCode"
|
||||
:value="record.cdrJSON.cause"
|
||||
value-default="0"
|
||||
/>
|
||||
</span>
|
||||
<span v-else>
|
||||
{{ t('views.dashboard.cdr.resultOk') }}
|
||||
@@ -726,7 +884,10 @@ onBeforeUnmount(() => {
|
||||
<a-space :size="8" align="center">
|
||||
<a-tooltip>
|
||||
<template #title>{{ t('common.copyText') }}</template>
|
||||
<a-button type="link" @click.prevent="fnRecordCopy(record.cdrJSON)">
|
||||
<a-button
|
||||
type="link"
|
||||
@click.prevent="fnRecordCopy(record.cdrJSON)"
|
||||
>
|
||||
<template #icon>
|
||||
<CopyOutlined />
|
||||
</template>
|
||||
@@ -734,7 +895,11 @@ onBeforeUnmount(() => {
|
||||
</a-tooltip>
|
||||
<a-tooltip>
|
||||
<template #title>{{ t('common.deleteText') }}</template>
|
||||
<a-button type="link" @click.prevent="fnRecordDelete(record.id)" v-perms:has="['cdr:ne:remove']">
|
||||
<a-button
|
||||
type="link"
|
||||
@click.prevent="fnRecordDelete(record.id)"
|
||||
v-perms:has="['cdr:ne:remove']"
|
||||
>
|
||||
<template #icon>
|
||||
<DeleteOutlined />
|
||||
</template>
|
||||
@@ -774,7 +939,10 @@ onBeforeUnmount(() => {
|
||||
</a-divider>
|
||||
<div>
|
||||
<span>{{ t('views.dashboard.cdr.type') }}: </span>
|
||||
<DictTag :options="dict.cdrCallType" :value="record.cdrJSON.callType" />
|
||||
<DictTag
|
||||
:options="dict.cdrCallType"
|
||||
:value="record.cdrJSON.callType"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<span>{{ t('views.dashboard.cdr.duration') }}: </span>
|
||||
@@ -794,7 +962,11 @@ onBeforeUnmount(() => {
|
||||
<div>
|
||||
<span>{{ t('views.dashboard.cdr.result') }}: </span>
|
||||
<span v-if="record.cdrJSON.callType !== 'sms'">
|
||||
<DictTag :options="dict.cdrSipCode" :value="record.cdrJSON.cause" value-default="0" />
|
||||
<DictTag
|
||||
:options="dict.cdrSipCode"
|
||||
:value="record.cdrJSON.cause"
|
||||
value-default="0"
|
||||
/>
|
||||
</span>
|
||||
<span v-else>
|
||||
{{ t('views.dashboard.cdr.resultOk') }}
|
||||
@@ -825,6 +997,302 @@ onBeforeUnmount(() => {
|
||||
</template>
|
||||
</a-table>
|
||||
</a-card>
|
||||
|
||||
<ProModal
|
||||
:drag="true"
|
||||
:width="800"
|
||||
:destroyOnClose="true"
|
||||
style="top: 0px"
|
||||
:body-style="{ maxHeight: '600px', 'overflow-y': 'auto' }"
|
||||
:keyboard="false"
|
||||
:mask-closable="false"
|
||||
:open="modalState.openByView"
|
||||
:title="modalState.title"
|
||||
:confirm-loading="modalState.confirmLoading"
|
||||
@cancel="fnModalCancel"
|
||||
:footer="null"
|
||||
>
|
||||
<a-form
|
||||
name="modalStateFrom"
|
||||
layout="horizontal"
|
||||
:label-col="{ span: 6 }"
|
||||
:labelWrap="true"
|
||||
>
|
||||
<a-row>
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.automaticActivation')"
|
||||
name="automaticActivation"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="modalState.from.control.automaticActivation"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.positionCanBeTrusted')"
|
||||
name="positionCanBeTrusted"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="modalState.from.control.positionCanBeTrusted"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.testCall')"
|
||||
name="testCall"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="modalState.from.control.testCall"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.vehicleType')"
|
||||
name="ticketId"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="modalState.from.control.vehicleType"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.messageIdentifier')"
|
||||
name="messageIdentifier"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="modalState.from.messageIdentifier"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.numberOfOccupants')"
|
||||
name="ticketId"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="modalState.from.numberOfOccupants"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.n1latitudeDelta')"
|
||||
name="n1latitudeDelta"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="
|
||||
modalState.from.recentVehicleLocationN1.latitudeDelta
|
||||
"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.n1longitudeDelta')"
|
||||
name="n1longitudeDelta"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="
|
||||
modalState.from.recentVehicleLocationN1.longitudeDelta
|
||||
"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.n2latitudeDelta')"
|
||||
name="n2latitudeDelta"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="
|
||||
modalState.from.recentVehicleLocationN2.latitudeDelta
|
||||
"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.n2longitudeDelta')"
|
||||
name="n2longitudeDelta"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="
|
||||
modalState.from.recentVehicleLocationN2.longitudeDelta
|
||||
"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.timestamp')"
|
||||
name="timestamp"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="modalState.from.timestamp"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.vehicleDirection')"
|
||||
name="vehicleDirection"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="modalState.from.vehicleDirection"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item :label="t('views.dashboard.cdr.isovds')" name="isovds">
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="
|
||||
modalState.from.vehicleIdentificationNumber.isovds
|
||||
"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.isovisModelyear')"
|
||||
name="isovisModelyear"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="
|
||||
modalState.from.vehicleIdentificationNumber.isovisModelyear
|
||||
"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.isovisSeqPlant')"
|
||||
name="isovisSeqPlant"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="
|
||||
modalState.from.vehicleIdentificationNumber.isovisSeqPlant
|
||||
"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.isovisModelyear')"
|
||||
name="isowmi"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="
|
||||
modalState.from.vehicleIdentificationNumber.isowmi
|
||||
"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.positionLatitude')"
|
||||
name="positionLatitude"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="modalState.from.vehicleLocation.positionLatitude"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.positionLongitude')"
|
||||
name="positionLongitude"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="
|
||||
modalState.from.vehicleLocation.positionLongitude
|
||||
"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.dieselTankPresent')"
|
||||
name="dieselTankPresent"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="
|
||||
modalState.from.vehiclePropulsionStorageType.dieselTankPresent
|
||||
"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.electricEnergyStorage')"
|
||||
name="electricEnergyStorage"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="
|
||||
modalState.from.vehiclePropulsionStorageType
|
||||
.electricEnergyStorage
|
||||
"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :lg="24" :md="24" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.dashboard.cdr.gasolineTankPresent')"
|
||||
name="gasolineTankPresent"
|
||||
>
|
||||
<a-input
|
||||
:disabled="true"
|
||||
v-model:value="
|
||||
modalState.from.vehiclePropulsionStorageType
|
||||
.gasolineTankPresent
|
||||
"
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</ProModal>
|
||||
</PageContainer>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user