feat: 配置Car和Ship的弹窗列

This commit is contained in:
Xu Zhimeng 2024-10-12 15:32:59 +08:00
parent 653ba9a7c8
commit d71d2334ee

View File

@ -2,229 +2,428 @@ import { MarkerType } from './markerEnum'
// 核设施详情弹窗中的字段配置 // 核设施详情弹窗中的字段配置
export default { export default {
[MarkerType.NuclearFacility]: [ [MarkerType.NuclearFacility]: [
{ {
label: 'FACILITY_NAME', label: 'FACILITY_NAME',
key: 'facilityName' key: 'facilityName'
}, },
{ {
label: 'FACILITY ID', label: 'FACILITY ID',
key: 'facilityId' key: 'facilityId'
}, },
{ {
label: 'ACTIVITY DAY', label: 'ACTIVITY DAY',
key: 'activityDay' key: 'activityDay'
}, },
{ {
label: 'ACTIVITY_YEAR', label: 'ACTIVITY_YEAR',
key: 'activityYear' key: 'activityYear'
}, },
{ {
label: 'BUILDDATE', label: 'BUILDDATE',
key: 'buildDate' key: 'buildDate'
}, },
{ {
label: 'CAPACITYGROSS', label: 'CAPACITYGROSS',
key: 'capacitygross' key: 'capacitygross'
}, },
{ {
label: 'CAPACITYNET', label: 'CAPACITYNET',
key: 'capacitynet' key: 'capacitynet'
}, },
{ {
label: 'CAPACITYTHERMAL', label: 'CAPACITYTHERMAL',
key: 'capacitythermal' key: 'capacitythermal'
}, },
{ {
label: 'CRITICALITYDATE', label: 'CRITICALITYDATE',
key: 'criticalityDate' key: 'criticalityDate'
}, },
{ {
label: 'GRIDCONEETIONDATE', label: 'GRIDCONEETIONDATE',
key: 'gridconeetionDate' key: 'gridconeetionDate'
}, },
{ {
label: 'LATITUDE', label: 'LATITUDE',
key: 'lat' key: 'lat'
}, },
{ {
label: 'LOCATION', label: 'LOCATION',
key: 'location' key: 'location'
}, },
{ {
label: 'LONGITUDE', label: 'LONGITUDE',
key: 'lon' key: 'lon'
}, },
{ {
label: 'OPERARTOR', label: 'OPERARTOR',
key: 'operartor' key: 'operartor'
}, },
{ {
label: 'OWNER', label: 'OWNER',
key: 'owner' key: 'owner'
}, },
{ {
label: 'RETIREDATE', label: 'RETIREDATE',
key: 'retireDate' key: 'retireDate'
}, },
{ {
label: 'STATUS', label: 'STATUS',
key: 'status' key: 'status'
}, },
{ {
label: 'TYPE', label: 'TYPE',
key: 'type' key: 'type'
}, },
{ {
label: 'VENDOR', label: 'VENDOR',
key: 'vendor' key: 'vendor'
}, }
], ],
[MarkerType.ImsRnStationP]: [{ [MarkerType.ImsRnStationP]: [
label: 'STATIONCODE', {
key: 'stationCode' label: 'STATIONCODE',
}, { key: 'stationCode'
label: 'STATIONID', },
key: 'stationId' {
}, { label: 'STATIONID',
label: 'COUNTRYCODE', key: 'stationId'
key: 'countryCode' },
}, { {
label: 'DATEBEGIN', label: 'COUNTRYCODE',
key: 'dateBegin' key: 'countryCode'
}, { },
label: 'DATEEND', {
key: 'dateEnd' label: 'DATEBEGIN',
}, { key: 'dateBegin'
label: 'DESCRIPTION', },
key: 'description' {
}, { label: 'DATEEND',
label: 'ELEVATION', key: 'dateEnd'
key: 'elevation' },
}, { {
label: 'LATITUDE', label: 'DESCRIPTION',
key: 'lat' key: 'description'
}, { },
label: 'LONGITUDE', {
key: 'lon' label: 'ELEVATION',
}, { key: 'elevation'
label: 'MODDATE', },
key: 'moddate' {
}, { label: 'LATITUDE',
label: 'STATUS', key: 'lat'
key: 'status' },
}, { {
label: 'TYPE', label: 'LONGITUDE',
key: 'type' key: 'lon'
}, { },
label: 'USED', {
key: 'used' label: 'MODDATE',
}, { key: 'moddate'
label: 'PHD', },
key: 'phd' {
}, { label: 'STATUS',
label: 'PHDF', key: 'status'
key: 'phdf' },
}, { {
label: 'MET', label: 'TYPE',
key: 'met' key: 'type'
}, { },
label: 'SOH', {
key: 'soh' label: 'USED',
}, { key: 'used'
label: 'PHDF+MET+SOH', },
key: 'phdMetSoh' {
}], label: 'PHD',
[MarkerType.ImsRnStationG]: [{ key: 'phd'
label: 'STATIONCODE', },
key: 'stationCode' {
}, { label: 'PHDF',
label: 'STATIONID', key: 'phdf'
key: 'stationId' },
}, { {
label: 'COUNTRYCODE', label: 'MET',
key: 'countryCode' key: 'met'
}, { },
label: 'DATEBEGIN', {
key: 'dateBegin' label: 'SOH',
}, { key: 'soh'
label: 'DATEEND', },
key: 'dateEnd' {
}, { label: 'PHDF+MET+SOH',
label: 'DESCRIPTION', key: 'phdMetSoh'
key: 'description' }
}, { ],
label: 'ELEVATION', [MarkerType.ImsRnStationG]: [
key: 'elevation' {
}, { label: 'STATIONCODE',
label: 'LATITUDE', key: 'stationCode'
key: 'lat' },
}, { {
label: 'LONGITUDE', label: 'STATIONID',
key: 'lon' key: 'stationId'
}, { },
label: 'MODDATE', {
key: 'moddate' label: 'COUNTRYCODE',
}, { key: 'countryCode'
label: 'STATUS', },
key: 'status' {
}, { label: 'DATEBEGIN',
label: 'TYPE', key: 'dateBegin'
key: 'type' },
}, { {
label: 'USED', label: 'DATEEND',
key: 'used' key: 'dateEnd'
}, { },
label: 'PHD', {
key: 'phd' label: 'DESCRIPTION',
}, { key: 'description'
label: 'PHDF', },
key: 'phdf' {
}, { label: 'ELEVATION',
label: 'MET', key: 'elevation'
key: 'met' },
}, { {
label: 'SOH', label: 'LATITUDE',
key: 'soh' key: 'lat'
}, { },
label: 'PHDF+MET+SOH', {
key: 'phdMetSoh' label: 'LONGITUDE',
}], key: 'lon'
[MarkerType.NRL]: [{ },
label: 'STATIONCODE', {
key: 'stationCode' label: 'MODDATE',
}, { key: 'moddate'
label: 'STATIONID', },
key: 'stationId' {
}, { label: 'STATUS',
label: 'COUNTRYCODE', key: 'status'
key: 'countryCode' },
}, { {
label: 'DATEBEGIN', label: 'TYPE',
key: 'dateBegin' key: 'type'
}, { },
label: 'DATEEND', {
key: 'dateEnd' label: 'USED',
}, { key: 'used'
label: 'DESCRIPTION', },
key: 'description' {
}, { label: 'PHD',
label: 'ELEVATION', key: 'phd'
key: 'elevation' },
}, { {
label: 'LATITUDE', label: 'PHDF',
key: 'lat' key: 'phdf'
}, { },
label: 'LONGITUDE', {
key: 'lon' label: 'MET',
}, { key: 'met'
label: 'MODDATE', },
key: 'moddate' {
}, { label: 'SOH',
label: 'STATUS', key: 'soh'
key: 'status' },
}, { {
label: 'TYPE', label: 'PHDF+MET+SOH',
key: 'type' key: 'phdMetSoh'
}] }
],
[MarkerType.NRL]: [
{
label: 'STATIONCODE',
key: 'stationCode'
},
{
label: 'STATIONID',
key: 'stationId'
},
{
label: 'COUNTRYCODE',
key: 'countryCode'
},
{
label: 'DATEBEGIN',
key: 'dateBegin'
},
{
label: 'DATEEND',
key: 'dateEnd'
},
{
label: 'DESCRIPTION',
key: 'description'
},
{
label: 'ELEVATION',
key: 'elevation'
},
{
label: 'LATITUDE',
key: 'lat'
},
{
label: 'LONGITUDE',
key: 'lon'
},
{
label: 'MODDATE',
key: 'moddate'
},
{
label: 'STATUS',
key: 'status'
},
{
label: 'TYPE',
key: 'type'
}
],
[MarkerType.Car]: [
{
label: 'STATIONCODE',
key: 'stationCode'
},
{
label: 'STATIONID',
key: 'stationId'
},
{
label: 'COUNTRYCODE',
key: 'countryCode'
},
{
label: 'DATEBEGIN',
key: 'dateBegin'
},
{
label: 'DATEEND',
key: 'dateEnd'
},
{
label: 'DESCRIPTION',
key: 'description'
},
{
label: 'ELEVATION',
key: 'elevation'
},
{
label: 'LATITUDE',
key: 'lat'
},
{
label: 'LONGITUDE',
key: 'lon'
},
{
label: 'MODDATE',
key: 'moddate'
},
{
label: 'STATUS',
key: 'status'
},
{
label: 'TYPE',
key: 'type'
},
{
label: 'USED',
key: 'used'
},
{
label: 'PHD',
key: 'phd'
},
{
label: 'PHDF',
key: 'phdf'
},
{
label: 'MET',
key: 'met'
},
{
label: 'SOH',
key: 'soh'
},
{
label: 'PHDF+MET+SOH',
key: 'phdMetSoh'
}
],
[MarkerType.Ship]: [
{
label: 'STATIONCODE',
key: 'stationCode'
},
{
label: 'STATIONID',
key: 'stationId'
},
{
label: 'COUNTRYCODE',
key: 'countryCode'
},
{
label: 'DATEBEGIN',
key: 'dateBegin'
},
{
label: 'DATEEND',
key: 'dateEnd'
},
{
label: 'DESCRIPTION',
key: 'description'
},
{
label: 'ELEVATION',
key: 'elevation'
},
{
label: 'LATITUDE',
key: 'lat'
},
{
label: 'LONGITUDE',
key: 'lon'
},
{
label: 'MODDATE',
key: 'moddate'
},
{
label: 'STATUS',
key: 'status'
},
{
label: 'TYPE',
key: 'type'
},
{
label: 'USED',
key: 'used'
},
{
label: 'PHD',
key: 'phd'
},
{
label: 'PHDF',
key: 'phdf'
},
{
label: 'MET',
key: 'met'
},
{
label: 'SOH',
key: 'soh'
},
{
label: 'PHDF+MET+SOH',
key: 'phdMetSoh'
}
]
} }