Files
erqi-web/src/components/Map/js/mock.js

481 lines
18 KiB
JavaScript
Raw Normal View History

2025-12-24 18:19:05 +08:00
// 无人机数据
const uavs = [ {
id: 1,
videoName: '浙江-温州-鹿城山福临江-无人机',
longitude: 120.553107,
latitude: 28.133002,
'runStatus': '离线'
},
{
id: 2,
videoName: '浙江-温州-永嘉瓯北码头-无人机',
longitude: 120.656171,
latitude: 28.037441,
'runStatus': '离线'
},
{
id: 8,
videoName: '浙江-温州-永嘉梅岙镇-无人机',
longitude: 120.583272,
latitude: 28.111125,
'runStatus': '离线'
} ]
// 监控数据
const monitors = [
{
'alarmVideoName': '低点抓拍枪型摄像机',
'createAt': '2025-09-17 14:58:17',
'createBy': 'admin',
'delFlag': 0,
'departId': '',
'departName': '',
'id': 2115,
'innetType': '政务网',
'isAnalyze': 0,
'isAr': 0,
'isAvailable': '否',
'isSdkControl': 1,
'latitude': 28.11112500,
'layoutArea': '',
'longitude': 120.58327200,
'playBack': null,
'previewUrl': 'rtsp://admin:123456@192.168.1.24/Streaming/channels/301',
'rangeInfo': '',
'remark': 'DS-2CD7C447MWD-XZG',
'runStatus': '离线',
'sensorType': '可见光',
'sourceType': '海康',
'updateAt': '2025-09-29 09:48:53',
'updateBy': 'admin',
'videoBelong': '永嘉梅岙镇',
'videoCode': 'b6571de7c15d487b98ad583cb3b5d787',
'videoImage': '',
'videoName': '浙江-温州-永嘉梅岙镇',
'videoType': '云台',
'videosAccount': 'admin',
'videosIp': '198.16.74.180',
'videosPass': '123456',
'videosPort': '8000'
},
{
'alarmVideoName': '中点黑光球机',
'createAt': '2025-09-17 14:58:20',
'createBy': 'admin',
'delFlag': 0,
'departId': '',
'departName': '',
'id': 2116,
'innetType': '政务网',
'isAnalyze': 0,
'isAr': 0,
'isAvailable': '否',
'isSdkControl': 0,
'latitude': 28.02815266,
'layoutArea': '',
'longitude': 120.60151498,
'playBack': null,
'previewUrl': 'rtsp://admin:123456@192.168.1.25/Streaming/channels/301',
'rangeInfo': '',
'remark': 'iDS-2DF9C45318XS-DFW-',
'runStatus': '离线',
'sensorType': '可见光',
'sourceType': '海康',
'updateAt': '2025-09-29 09:48:59',
'updateBy': 'admin',
'videoBelong': '卧旗山三管塔',
'videoCode': 'b6571de7c15d487b98ad583cb3b5d786',
'videoImage': '',
'videoName': '浙江-温州-卧旗山',
'videoType': '球机',
'videosAccount': 'admin',
'videosIp': '198.16.74.182',
'videosPass': '123456',
'videosPort': '8000'
},
{
'alarmVideoName': '中点黑光球机',
'createAt': '2025-09-17 14:58:20',
'createBy': 'admin',
'delFlag': 0,
'departId': '',
'departName': '',
'id': 2117,
'innetType': '政务网',
'isAnalyze': 0,
'isAr': 0,
'isAvailable': '否',
'isSdkControl': 0,
'latitude': 28.02631300,
'layoutArea': '',
'longitude': 120.64675000,
'playBack': null,
'previewUrl': 'rtsp://admin:123456@192.168.1.25/Streaming/channels/301',
'rangeInfo': '',
'remark': 'iDS-2DF9C45318XS-DFW-',
'runStatus': '离线',
'sensorType': '可见光',
'sourceType': '海康',
'updateAt': '2025-09-29 09:49:05',
'updateBy': 'admin',
'videoBelong': '温州鹿城屯前江润大楼',
'videoCode': 'b6571de7c15d487b98ad583cb3b5d786',
'videoImage': '',
'videoName': '浙江-温州-鹿城屯前江润大楼-球机',
'videoType': '球机',
'videosAccount': 'admin',
'videosIp': '198.16.74.184',
'videosPass': '123456',
'videosPort': '8000'
},
{
'alarmVideoName': '中点黑光球机',
'createAt': '2025-09-17 14:58:20',
'createBy': 'admin',
'delFlag': 0,
'departId': '',
'departName': '',
'id': 2118,
'innetType': '政务网',
'isAnalyze': 0,
'isAr': 0,
'isAvailable': '否',
'isSdkControl': 0,
'latitude': 28.02631300,
'layoutArea': '',
'longitude': 120.64675000,
'playBack': null,
'previewUrl': 'rtsp://admin:123456@192.168.1.25/Streaming/channels/301',
'rangeInfo': '',
'remark': 'iDS-2DF9C45318XS-DFW-',
'runStatus': '离线',
'sensorType': '可见光',
'sourceType': '海康',
'updateAt': '2025-09-29 09:49:07',
'updateBy': 'admin',
'videoBelong': '温州鹿城屯前江润大楼',
'videoCode': 'b6571de7c15d487b98ad583cb3b5d786',
'videoImage': '',
'videoName': '浙江-温州-鹿城屯前江润大楼-球机',
'videoType': '球机',
'videosAccount': 'admin',
'videosIp': '198.16.74.185',
'videosPass': '123456',
'videosPort': '8000'
},
{
'alarmVideoName': '中点黑光球机',
'createAt': '2025-09-17 14:58:20',
'createBy': 'admin',
'delFlag': 0,
'departId': '',
'departName': '',
'id': 2119,
'innetType': '政务网',
'isAnalyze': 0,
'isAr': 0,
'isAvailable': '否',
'isSdkControl': 0,
'latitude': 28.02631300,
'layoutArea': '',
'longitude': 120.64675000,
'playBack': null,
'previewUrl': 'rtsp://admin:123456@192.168.1.25/Streaming/channels/301',
'rangeInfo': '',
'remark': 'iDS-2DF9C45318XS-DFW-',
'runStatus': '离线',
'sensorType': '可见光',
'sourceType': '海康',
'updateAt': '2025-09-29 09:49:10',
'updateBy': 'admin',
'videoBelong': '温州鹿城屯前江润大楼',
'videoCode': 'b6571de7c15d487b98ad583cb3b5d786',
'videoImage': '',
'videoName': '浙江-温州-鹿城屯前江润大楼-球机',
'videoType': '球机',
'videosAccount': 'admin',
'videosIp': '198.16.74.186',
'videosPass': '123456',
'videosPort': '8000'
},
{
'alarmVideoName': '中点黑光球机',
'createAt': '2025-09-17 14:58:20',
'createBy': 'admin',
'delFlag': 0,
'departId': '',
'departName': '',
'id': 2120,
'innetType': '政务网',
'isAnalyze': 0,
'isAr': 0,
'isAvailable': '否',
'isSdkControl': 0,
'latitude': 28.02631300,
'layoutArea': '',
'longitude': 120.64675000,
'playBack': null,
'previewUrl': 'rtsp://admin:123456@192.168.1.25/Streaming/channels/301',
'rangeInfo': '',
'remark': 'iDS-2DF9C45318XS-DFW-',
'runStatus': '离线',
'sensorType': '可见光',
'sourceType': '海康',
'updateAt': '2025-09-29 09:49:12',
'updateBy': 'admin',
'videoBelong': '温州鹿城屯前江润大楼',
'videoCode': 'b6571de7c15d487b98ad583cb3b5d786',
'videoImage': '',
'videoName': '浙江-温州-鹿城屯前江润大楼-云台',
'videoType': '云台',
'videosAccount': 'admin',
'videosIp': '198.16.74.187',
'videosPass': '123456',
'videosPort': '8000'
},
{
'alarmVideoName': '中点黑光球机',
'createAt': '2025-09-17 14:58:20',
'createBy': 'admin',
'delFlag': 0,
'departId': '',
'departName': '',
'id': 2121,
'innetType': '政务网',
'isAnalyze': 0,
'isAr': 0,
'isAvailable': '否',
'isSdkControl': 0,
'latitude': 28.12544400,
'layoutArea': '',
'longitude': 120.56137100,
'playBack': null,
'previewUrl': 'rtsp://admin:123456@192.168.1.25/Streaming/channels/301',
'rangeInfo': '',
'remark': 'iDS-2DF9C45318XS-DFW-',
'runStatus': '离线',
'sensorType': '可见光',
'sourceType': '海康',
'updateAt': '2025-09-29 09:49:19',
'updateBy': 'admin',
'videoBelong': '永嘉桥下坦头南',
'videoCode': 'b6571de7c15d487b98ad583cb3b5d786',
'videoImage': '',
'videoName': '浙江-温州-永嘉桥下坦头南-球机',
'videoType': '球机',
'videosAccount': 'admin',
'videosIp': '198.16.74.188',
'videosPass': '123456',
'videosPort': '8000'
},
{
'alarmVideoName': '中点黑光球机',
'createAt': '2025-09-17 14:58:20',
'createBy': 'admin',
'delFlag': 0,
'departId': '',
'departName': '',
'id': 2122,
'innetType': '政务网',
'isAnalyze': 0,
'isAr': 0,
'isAvailable': '否',
'isSdkControl': 0,
'latitude': 28.12544400,
'layoutArea': '',
'longitude': 120.56137100,
'playBack': null,
'previewUrl': 'rtsp://admin:123456@192.168.1.25/Streaming/channels/301',
'rangeInfo': '',
'remark': 'iDS-2DF9C45318XS-DFW-',
'runStatus': '离线',
'sensorType': '可见光',
'sourceType': '海康',
'updateAt': '2025-09-29 09:49:20',
'updateBy': 'admin',
'videoBelong': '永嘉桥下坦头南',
'videoCode': 'b6571de7c15d487b98ad583cb3b5d786',
'videoImage': '',
'videoName': '浙江-温州-永嘉桥下坦头南-球机',
'videoType': '球机',
'videosAccount': 'admin',
'videosIp': '198.16.74.189',
'videosPass': '123456',
'videosPort': '8000'
},
{
'alarmVideoName': '中点黑光球机',
'createAt': '2025-09-17 14:58:20',
'createBy': 'admin',
'delFlag': 0,
'departId': '',
'departName': '',
'id': 2123,
'innetType': '政务网',
'isAnalyze': 0,
'isAr': 0,
'isAvailable': '否',
'isSdkControl': 0,
'latitude': 28.12544400,
'layoutArea': '',
'longitude': 120.56137100,
'playBack': null,
'previewUrl': 'rtsp://admin:123456@192.168.1.25/Streaming/channels/301',
'rangeInfo': '',
'remark': 'iDS-2DF9C45318XS-DFW-',
'runStatus': '离线',
'sensorType': '可见光',
'sourceType': '海康',
'updateAt': '2025-09-29 09:49:22',
'updateBy': 'admin',
'videoBelong': '永嘉桥下坦头南',
'videoCode': 'b6571de7c15d487b98ad583cb3b5d786',
'videoImage': '',
'videoName': '浙江-温州-永嘉桥下坦头南-球机',
'videoType': '球机',
'videosAccount': 'admin',
'videosIp': '198.16.74.190',
'videosPass': '123456',
'videosPort': '8000'
},
{
'alarmVideoName': '中点黑光球机',
'createAt': '2025-09-17 14:58:20',
'createBy': 'admin',
'delFlag': 0,
'departId': '',
'departName': '',
'id': 2124,
'innetType': '政务网',
'isAnalyze': 0,
'isAr': 0,
'isAvailable': '否',
'isSdkControl': 0,
'latitude': 28.12544400,
'layoutArea': '',
'longitude': 120.56137100,
'playBack': null,
'previewUrl': 'rtsp://admin:123456@192.168.1.25/Streaming/channels/301',
'rangeInfo': '',
'remark': 'iDS-2DF9C45318XS-DFW-',
'runStatus': '离线',
'sensorType': '可见光',
'sourceType': '海康',
'updateAt': '2025-09-29 09:49:25',
'updateBy': 'admin',
'videoBelong': '永嘉桥下坦头南',
'videoCode': 'b6571de7c15d487b98ad583cb3b5d786',
'videoImage': '',
'videoName': '浙江-温州-永嘉桥下坦头南-云台',
'videoType': '云台',
'videosAccount': 'admin',
'videosIp': '198.16.74.191',
'videosPass': '123456',
'videosPort': '8000'
}
]
// ais基站数据
const stations = [ {
id: 5,
name: '基站1',
longitude: 120.657478,
latitude: 28.037785
},
{
id: 6,
name: '基站2',
longitude: 120.682618,
latitude: 28.040537
} ]
// 环境监测设备数据
const environmentals = [ {
id: 7,
name: '环境监测设备1',
longitude: 120.685736,
latitude: 28.021787
} ]
// 电子围栏数据
const fences = [ {
'diaphaneity': '0.5',
'fillColor': '#07F6E945',
'id': '1967830494361186306',
'latitude': '28.022472',
'lineColor': '#00FDF0FF',
'lineWidth': '3',
'longitude': '120.731175',
'positionInfo':
'120.51471127064674,28.13957549396699;120.51890739842734,28.13587527906429;120.53762858391006,28.139006238454016;120.54795751383156,28.139006238454016;120.55247642067222,28.137867718353533;120.55538143221263,28.132459582652743;120.55376753691239,28.124489200957314;120.55441309503249,28.11566415847298;120.55893200187315,28.10797723934722;120.56667869931427,28.105984244460032;120.57345705957525,28.107123103215212;120.57958986171613,28.10655367534892;120.58604544291708,28.10342176805678;120.58927323351755,28.097157679200365;120.5931465822381,28.0834893071102;120.58991879163763,28.06924956919361;120.58895045445749,28.051019950559496;120.5931465822381,28.041903981997688;120.59766548907875,28.034781593968088;120.61186776772081,28.026803959632165;120.62058280234207,28.02651903318312;120.63123451132361,28.024524526921667;120.64511401090562,28.02651903318312;120.66093018484791,28.0282285805638;120.66835410322899,28.028798423656696;120.68126526563086,28.024524526921667;120.6948219861528,28.021675168156403;120.71160649727524,28.021675168156403;120.72839100839767,28.01141685220725;120.73742882207898,27.999162583129444;120.73871993831916,27.989187149187458;120.76163725158248,27.977215409958912;120.77616230928459,27.97265439781902;120.78713679732618,27.97265439781902;120.79262404134698,27.970088743745798;120.80876299434931,27.968948433462458;120.81747802897057,27.967808111127816;120.83038919137243,27.957259558282324;120.84168645847407,27.952127457120493;120.84555980719463,27.996312553354493;120.83200308667267,27.988332069036062;120.82135137769113,27.986051822143104;120.81102244776964,27.987762011834025;120.79456071570725,27.99488751020321;120.78326344860561,28.019680572148907;120.76099169346239,28.0282285805638;120.73290991523832,28.03079285072198;120.72128986907664,28.03563630542758;120.69256253273248,28.034781593968088;120.67448690536987,28.040479542114323;120.66254408014814,28.03791550279268;120.6580251733075,28.03592120773863;120.64479123184557,28.038200399068412;120.62736116260305,28.03734570797788;120.61735501174161,28.03307215068109;120.60831719806029,28.033926875719207;120.60057050061918,28.039055083369046;120.59831104719885,28.05757157564859;120.60057050061918,28.072952082651348;120.60250717497945,28.087191329724334;120.59540603565843,28.097442418444963;120.58539988479698,28.108831368678235;120.57474817581544,28.113101913313074;120.56764703649439,28.11139371586372;120.56086867623343,28.113956001835078;120.55731810657291,28.12904377736259;120.557963664693,28.14042937156471;120.5434386069909,28.145837104956886;120.53085022364908,28.144983270467232;120.51567960782688,28.14014474645503;120.51471127064674,28.13957549396699'
} ]
const detailFences = [ {
'diaphaneity': '0.5',
'fillColor': '#FF8D1C',
'id': '1967830494361186306',
'latitude': '28.022472',
'lineColor': '#FF8D1C',
'lineWidth': '3',
'longitude': '120.731175',
'positionInfo': '120.61794118544928,28.03092241093921;120.6242327329885,28.031831163585036;120.62766448619173,28.033951556581712;120.63624386919979,28.034052526634593;120.64791183009073,28.035365128700334;120.65660560487224,28.03314379274773;120.66541377142717,28.034052526634593;120.67273484492738,28.036374811701013;120.69824421040465,28.031831163585036;120.72832924681956,28.031730191447796;120.7624179953049,28.023349173812985;120.77808966826629,28.016684284398487;120.78506756644616,28.008908058677182;120.79513404250893,27.98800035716066;120.82121536685344,27.983656702662813;120.81778361365019,27.971432922042883;120.80108241472786,27.975473994537417;120.78701222659465,27.975878093461006;120.77122616185983,27.976484239007874;120.7568127984063,27.985373982332725;120.74594557992944,27.995273061233107;120.73748058869482,28.01042295187755;120.72649897844452,28.02203642519428;120.70842507824088,28.025267777614015;120.69481245720144,28.024661906423727;120.68646185774026,28.025267777614015;120.67376437088834,28.028902933141204;120.65797830615352,28.030720464864665;120.64573838639535,28.028499033034315;120.63761657048107,28.0288019582566;120.62755009441828,28.02688341744956;120.61736922658207,28.028398057770744;120.6157677417539,28.030114624367364;120.61794118544928,28.03092241093921'
} ]
// 应急事件
const accidents = [ {
id: 1,
accidentName: '渔船侧翻',
type: '翻船',
time: '2025-10-20 03:12:25',
boatName: '浙温货565',
boatType: '渔船',
boatCode: '9525513',
homePortName: '永嘉瓯北码头',
holderName: '林业玉',
holderPhone: '15846325412',
source: '翻船',
status: '未处置',
longitude: 120.71,
latitude: 28.03,
coordinate: '120.71,28.03',
fishingArea: '---'
},
{
id: 2,
accidentName: '船上两名人员落水',
type: '落水',
time: '2025-10-20 03:12:25',
boatName: '浙温渔B526',
boatType: '渔船',
boatCode: '9212332',
homePortName: '永嘉瓯北码头',
holderName: '杨逸司',
holderPhone: '1336521541',
source: '落水',
status: '未处置',
longitude: 120.69,
latitude: 28.03,
coordinate: '120.69,28.03',
fishingArea: '---'
},
{
id: 3,
accidentName: '渔船侧翻',
type: '翻船',
time: '2025-10-20 03:12:25',
boatName: '浙温渔52526',
boatType: '渔船',
boatCode: '9524452',
homePortName: '永嘉瓯北码头',
holderName: '王奕盛',
holderPhone: '13985463258',
source: '翻船',
status: '未处置',
longitude: 120.74,
latitude: 28.02,
coordinate: '120.74,28.02',
fishingArea: '---'
} ]
export{
uavs,
monitors,
stations,
environmentals,
fences,
detailFences,
accidents
}