@vtx/cs-map-layer 1.0.12 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ConfluenceLineLayer/index.js +12 -1
- package/lib/ConfluenceManholeLayer/index.js +12 -1
- package/lib/ConfluencePointLayer/index.js +12 -1
- package/lib/DeviceLayer/index.d.ts +3 -0
- package/lib/DeviceLayer/index.js +129 -24
- package/lib/FacilityLayer/index.d.ts +4 -0
- package/lib/FacilityLayer/index.js +18 -2
- package/lib/Layer/layerConfig.d.ts +9 -2
- package/lib/Layer/layerConfig.js +10 -7
- package/lib/RainLineLayer/index.js +12 -1
- package/lib/RainManholeLayer/index.js +12 -1
- package/lib/RainPointLayer/index.js +12 -1
- package/lib/RawWaterLineLayer/index.js +12 -1
- package/lib/RawWaterPointLayer/index.js +12 -1
- package/lib/SewageLineLayer/index.js +12 -1
- package/lib/SewageManholeLayer/index.js +12 -1
- package/lib/SewagePointLayer/index.js +12 -1
- package/lib/WaterDrainLineLayer/index.js +12 -1
- package/lib/WaterDrainManholeLayer/index.js +12 -1
- package/lib/WaterDrainPointLayer/index.js +12 -1
- package/lib/WaterSupplyLineLayer/index.js +17 -2
- package/lib/WaterSupplyPointLayer/index.d.ts +1 -0
- package/lib/WaterSupplyPointLayer/index.js +20 -5
- package/lib/_components/Template/CloseBtn.js +0 -1
- package/lib/_components/Template/CloseBtnV2.d.ts +8 -0
- package/lib/_components/Template/CloseBtnV2.js +21 -0
- package/lib/_components/Template/DeviceCustomContent.d.ts +21 -0
- package/lib/_components/Template/DeviceCustomContent.js +76 -0
- package/lib/_components/Template/DeviceTemplate.d.ts +1 -0
- package/lib/_components/Template/DeviceTemplate.js +15 -2
- package/lib/_components/Template/DeviceTemplateV2.d.ts +7 -0
- package/lib/_components/Template/DeviceTemplateV2.js +146 -0
- package/lib/_components/Template/FacilityCustomContent.d.ts +20 -0
- package/lib/_components/Template/FacilityCustomContent.js +142 -0
- package/lib/_components/Template/FacilityTemplate.d.ts +5 -0
- package/lib/_components/Template/FacilityTemplate.js +15 -8
- package/lib/_components/Template/FacilityTemplateV2.d.ts +12 -0
- package/lib/_components/Template/FacilityTemplateV2.js +104 -0
- package/lib/_components/Template/index.less +10 -6
- package/lib/_components/Template/indexV2.less +574 -0
- package/lib/_util/http.d.ts +1 -1
- package/lib/_util/interface.d.ts +12 -0
- package/lib/_util/interface.js +3 -2
- package/lib/_util/layerConfig.d.ts +14 -1
- package/lib/_util/layerConfig.js +498 -1
- package/lib/assets/address-dark.png +0 -0
- package/lib/assets/address.png +0 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lib/typings.d.ts +4 -3
- package/package.json +3 -3
package/lib/_util/layerConfig.js
CHANGED
|
@@ -249,8 +249,31 @@ var deviceCodeMap = {
|
|
|
249
249
|
icon: 'SZZ',
|
|
250
250
|
name: '噪声传感器',
|
|
251
251
|
labelField: 'name'
|
|
252
|
+
},
|
|
253
|
+
BF_STATION: {
|
|
254
|
+
icon: 'BF',
|
|
255
|
+
name: '泵房设备',
|
|
256
|
+
labelField: 'name'
|
|
252
257
|
}
|
|
253
258
|
};
|
|
259
|
+
export var deviceColorMap = {
|
|
260
|
+
1: '#119FFB',
|
|
261
|
+
// 正常/在线
|
|
262
|
+
2: '#CE3739',
|
|
263
|
+
// 报警/异常
|
|
264
|
+
3: '#AAAAAD',
|
|
265
|
+
// 离线
|
|
266
|
+
4: '#CE3739' // 故障/堵塞
|
|
267
|
+
};
|
|
268
|
+
export var deviceStatusNameMap = {
|
|
269
|
+
1: '在线',
|
|
270
|
+
// 正常/在线
|
|
271
|
+
2: '报警',
|
|
272
|
+
// 报警/异常
|
|
273
|
+
3: '离线',
|
|
274
|
+
// 离线
|
|
275
|
+
4: '故障' // 故障/堵塞
|
|
276
|
+
};
|
|
254
277
|
export var getDeviceStyle = function getDeviceStyle(f, icon) {
|
|
255
278
|
var styleOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
256
279
|
var value = f._properties.properties._value;
|
|
@@ -272,4 +295,478 @@ export var getDeviceStyle = function getDeviceStyle(f, icon) {
|
|
|
272
295
|
}, styleOption)
|
|
273
296
|
};
|
|
274
297
|
};
|
|
275
|
-
|
|
298
|
+
// v2产品设施气泡内容(雨水 污水 原水 供水)
|
|
299
|
+
var facilityPopup = {
|
|
300
|
+
// 雨水-------------------
|
|
301
|
+
// 雨水设施管理:
|
|
302
|
+
// 易涝点
|
|
303
|
+
waterlogged_point: {
|
|
304
|
+
// 基础信息:
|
|
305
|
+
// 设施类型
|
|
306
|
+
facilityClassStr: '易涝点',
|
|
307
|
+
// 关键参数:
|
|
308
|
+
// 展示所有配置因子
|
|
309
|
+
showKeyIndicatorsListAll: true
|
|
310
|
+
},
|
|
311
|
+
// 下穿桥
|
|
312
|
+
underpass_bridge: {
|
|
313
|
+
// 基础信息:
|
|
314
|
+
// 设施类型
|
|
315
|
+
facilityClassStr: '下穿桥',
|
|
316
|
+
// 关键参数:
|
|
317
|
+
keyParamList: [],
|
|
318
|
+
// 展示所有配置因子
|
|
319
|
+
showKeyIndicatorsListAll: true
|
|
320
|
+
},
|
|
321
|
+
// 风险点
|
|
322
|
+
fxd: {
|
|
323
|
+
// 基础信息:
|
|
324
|
+
facilityClassStr: '风险点',
|
|
325
|
+
// 关键参数: 风险点类型
|
|
326
|
+
keyParamList: [{
|
|
327
|
+
label: '风险点类型',
|
|
328
|
+
value: 'fxdlxName'
|
|
329
|
+
}],
|
|
330
|
+
// 展示所有配置因子
|
|
331
|
+
showKeyIndicatorsListAll: false
|
|
332
|
+
},
|
|
333
|
+
// 雨水篦
|
|
334
|
+
// 雨水窨井
|
|
335
|
+
manhole: {
|
|
336
|
+
// 基础信息:管点类别(雨水窨井、污水窨井、合流窨井)、设施名称、地址
|
|
337
|
+
// 设施类型
|
|
338
|
+
facilityClassStr: '窨井',
|
|
339
|
+
// 关键参数: 窨井类型、地面高程(m)、井底标高(m)
|
|
340
|
+
keyParamList: [{
|
|
341
|
+
label: '窨井类型',
|
|
342
|
+
value: 'typeName'
|
|
343
|
+
}, {
|
|
344
|
+
label: '地面高程(m)',
|
|
345
|
+
value: 'groundElevation'
|
|
346
|
+
}, {
|
|
347
|
+
label: '井底标高(m)',
|
|
348
|
+
value: 'bottomElevation'
|
|
349
|
+
}],
|
|
350
|
+
// 展示所有配置因子
|
|
351
|
+
showKeyIndicatorsListAll: true
|
|
352
|
+
},
|
|
353
|
+
// 雨水泵站
|
|
354
|
+
pump_station: {
|
|
355
|
+
// 基础信息:设施类型、设施名称、地址
|
|
356
|
+
// 设施类型
|
|
357
|
+
facilityClassStr: '泵站',
|
|
358
|
+
// 关键参数: 额定流量(m³/s)
|
|
359
|
+
keyParamList: [{
|
|
360
|
+
label: '额定流量(m³/s)',
|
|
361
|
+
value: 'totalRatedFlow'
|
|
362
|
+
}],
|
|
363
|
+
// 展示所有配置因子
|
|
364
|
+
showKeyIndicatorsListAll: false,
|
|
365
|
+
// 关键指标
|
|
366
|
+
keyIndicatorsList: [{
|
|
367
|
+
label: '泵池液位',
|
|
368
|
+
value: 'w_pump_one_level'
|
|
369
|
+
}
|
|
370
|
+
// {
|
|
371
|
+
// label: '瞬时流量',
|
|
372
|
+
// value: 'w_flow_now',
|
|
373
|
+
// },
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
// 雨水闸站
|
|
377
|
+
gate_station: {
|
|
378
|
+
// 基础信息:设施类型(闸站类别?)、设施名称、地址
|
|
379
|
+
// 设施类型
|
|
380
|
+
facilityClassStr: '闸站',
|
|
381
|
+
// 关键参数: 闸站类型
|
|
382
|
+
keyParamList: [{
|
|
383
|
+
label: '闸站类型',
|
|
384
|
+
value: 'typeName'
|
|
385
|
+
}],
|
|
386
|
+
// 展示所有配置因子
|
|
387
|
+
showKeyIndicatorsListAll: false,
|
|
388
|
+
// 关键指标
|
|
389
|
+
keyIndicatorsList: [{
|
|
390
|
+
label: '上游液位',
|
|
391
|
+
value: 'w_liquid_up_level'
|
|
392
|
+
}, {
|
|
393
|
+
label: '下游液位',
|
|
394
|
+
value: 'w_liquid_down_level'
|
|
395
|
+
}]
|
|
396
|
+
},
|
|
397
|
+
// 河道
|
|
398
|
+
river: {
|
|
399
|
+
// 基础信息:设施类型、设施名称、地址
|
|
400
|
+
// 设施类型
|
|
401
|
+
// 没有字段 写死好了
|
|
402
|
+
facilityClassStr: '河道',
|
|
403
|
+
// 关键参数: 河道起点、河道终点、水域面积(㎡)
|
|
404
|
+
keyParamList: [{
|
|
405
|
+
label: '河道起点',
|
|
406
|
+
value: 'startPoint'
|
|
407
|
+
}, {
|
|
408
|
+
label: '河道终点',
|
|
409
|
+
value: 'endPoint'
|
|
410
|
+
}, {
|
|
411
|
+
label: '水域面积(㎡)',
|
|
412
|
+
value: 'waterArea'
|
|
413
|
+
}],
|
|
414
|
+
// 展示所有配置因子
|
|
415
|
+
showKeyIndicatorsListAll: false
|
|
416
|
+
},
|
|
417
|
+
// 雨水入河
|
|
418
|
+
outlet: {
|
|
419
|
+
// 基础信息:泵站类别、设施名称、地址
|
|
420
|
+
// 设施类型
|
|
421
|
+
facilityClassStr: '入河排口',
|
|
422
|
+
// 关键参数: 排口类型、所属河道
|
|
423
|
+
keyParamList: [{
|
|
424
|
+
label: '排口类型',
|
|
425
|
+
value: 'outletTypeName'
|
|
426
|
+
},
|
|
427
|
+
// 所属河道取关联区域类型是河道的数据
|
|
428
|
+
{
|
|
429
|
+
label: '所属河道',
|
|
430
|
+
value: 'riverName'
|
|
431
|
+
}],
|
|
432
|
+
// 展示所有配置因子
|
|
433
|
+
showKeyIndicatorsListAll: true
|
|
434
|
+
},
|
|
435
|
+
// 雨水管点
|
|
436
|
+
point: {},
|
|
437
|
+
// 雨水管线
|
|
438
|
+
line: {
|
|
439
|
+
// 基础信息:设施类型、设施名称、地址
|
|
440
|
+
// 设施类型
|
|
441
|
+
facilityClassStr: '管线',
|
|
442
|
+
// 关键参数: 管道长度(m)、起点管底标高(m)、终点管底标高(m)、管径(mm)、管材
|
|
443
|
+
keyParamList: [{
|
|
444
|
+
label: '管道长度(m)',
|
|
445
|
+
value: 'lineLength'
|
|
446
|
+
}, {
|
|
447
|
+
label: '起点管底标高(m)',
|
|
448
|
+
value: 'startZ'
|
|
449
|
+
}, {
|
|
450
|
+
label: '终点管底标高(m)',
|
|
451
|
+
value: 'endZ'
|
|
452
|
+
}, {
|
|
453
|
+
label: '管径(mm)',
|
|
454
|
+
value: 'ds'
|
|
455
|
+
}, {
|
|
456
|
+
label: '管材',
|
|
457
|
+
value: 'lineTextureName'
|
|
458
|
+
}],
|
|
459
|
+
// 展示所有配置因子
|
|
460
|
+
showKeyIndicatorsListAll: true
|
|
461
|
+
},
|
|
462
|
+
//
|
|
463
|
+
|
|
464
|
+
// 雨水监控设施:
|
|
465
|
+
// 雨量站 有俩
|
|
466
|
+
rainfall_station: {
|
|
467
|
+
// 基础信息:设施类型、设施名称、地址
|
|
468
|
+
// 设施类型
|
|
469
|
+
facilityClassStr: '雨量站',
|
|
470
|
+
// 展示所有配置因子
|
|
471
|
+
showKeyIndicatorsListAll: true
|
|
472
|
+
},
|
|
473
|
+
rain_station: {
|
|
474
|
+
// 基础信息:设施类型、设施名称、地址
|
|
475
|
+
// 设施类型
|
|
476
|
+
facilityClassStr: '雨量站',
|
|
477
|
+
// 展示所有配置因子
|
|
478
|
+
showKeyIndicatorsListAll: true
|
|
479
|
+
},
|
|
480
|
+
// 气象监测站
|
|
481
|
+
weather_station: {
|
|
482
|
+
// 基础信息:设施类型、设施名称、地址
|
|
483
|
+
// 设施类型
|
|
484
|
+
facilityClassStr: '气象监测站',
|
|
485
|
+
// 展示所有配置因子
|
|
486
|
+
showKeyIndicatorsListAll: true
|
|
487
|
+
},
|
|
488
|
+
// LED板
|
|
489
|
+
led_board: {
|
|
490
|
+
// 基础信息:设施类型、设施名称、地址
|
|
491
|
+
// 设施类型
|
|
492
|
+
facilityClassStr: 'LED板',
|
|
493
|
+
// 展示所有配置因子
|
|
494
|
+
showKeyIndicatorsListAll: false
|
|
495
|
+
},
|
|
496
|
+
// 河道水位站
|
|
497
|
+
// 管网液位电导监测点
|
|
498
|
+
// 管网液位监测点
|
|
499
|
+
// 管网电导监测点
|
|
500
|
+
// 管网流量监测点
|
|
501
|
+
|
|
502
|
+
// 雨水其他设施:
|
|
503
|
+
// 雨水片区管理
|
|
504
|
+
district: {
|
|
505
|
+
// 基础信息:设施类型(片区类型)、设施名称、地址
|
|
506
|
+
// 设施类型
|
|
507
|
+
facilityClassStr: '片区',
|
|
508
|
+
// 关键参数:片区面积(m²)
|
|
509
|
+
keyParamList: [{
|
|
510
|
+
label: '片区面积(m²)',
|
|
511
|
+
value: 'area'
|
|
512
|
+
}],
|
|
513
|
+
// 展示所有配置因子
|
|
514
|
+
showKeyIndicatorsListAll: false
|
|
515
|
+
},
|
|
516
|
+
// 道路管理
|
|
517
|
+
road: {
|
|
518
|
+
// 基础信息:设施类型、设施名称、地址
|
|
519
|
+
// 设施类型
|
|
520
|
+
facilityClassStr: '道路',
|
|
521
|
+
// 关键参数:长度(m)
|
|
522
|
+
keyParamList: [{
|
|
523
|
+
label: '长度(m)',
|
|
524
|
+
value: 'length'
|
|
525
|
+
}],
|
|
526
|
+
// 展示所有配置因子
|
|
527
|
+
showKeyIndicatorsListAll: false
|
|
528
|
+
},
|
|
529
|
+
// 污水------------------
|
|
530
|
+
// 排水户管理
|
|
531
|
+
|
|
532
|
+
// 污水设施管理:
|
|
533
|
+
// 污水窨井管理
|
|
534
|
+
// manhole:{}
|
|
535
|
+
// 污水泵站管理
|
|
536
|
+
// pump_station:{}
|
|
537
|
+
|
|
538
|
+
// 污水厂管理
|
|
539
|
+
sewage_plant: {
|
|
540
|
+
// 基础信息:设施类型、设施名称、地址
|
|
541
|
+
// 设施类型
|
|
542
|
+
facilityClassStr: '污水厂',
|
|
543
|
+
// 关键参数:污水处理工艺、日处理能力(万吨/天)
|
|
544
|
+
keyParamList: [{
|
|
545
|
+
label: '污水处理工艺',
|
|
546
|
+
value: 'sewageTreatmentProcessName'
|
|
547
|
+
}, {
|
|
548
|
+
label: '日处理能力(万吨/天)',
|
|
549
|
+
value: 'sewageTreatmentDesign'
|
|
550
|
+
}],
|
|
551
|
+
// 展示所有配置因子
|
|
552
|
+
showKeyIndicatorsListAll: false,
|
|
553
|
+
// 关键指标
|
|
554
|
+
// 出水瞬时流量、出水COD、出水NH₃、出水PH、出水TN、出水TP
|
|
555
|
+
keyIndicatorsList: [{
|
|
556
|
+
label: '出水瞬时流量',
|
|
557
|
+
value: 'w_wv_out_now'
|
|
558
|
+
}, {
|
|
559
|
+
label: '出水COD',
|
|
560
|
+
value: 'w_wq_out_cod'
|
|
561
|
+
}, {
|
|
562
|
+
label: '出水NH₃',
|
|
563
|
+
value: 'w_wq_out_nh3'
|
|
564
|
+
}, {
|
|
565
|
+
label: '出水PH',
|
|
566
|
+
value: 'w_wq_out_ph'
|
|
567
|
+
}, {
|
|
568
|
+
label: '出水TN',
|
|
569
|
+
value: 'w_wq_out_tn'
|
|
570
|
+
}, {
|
|
571
|
+
label: '出水TP',
|
|
572
|
+
value: 'w_wq_out_tp'
|
|
573
|
+
}]
|
|
574
|
+
},
|
|
575
|
+
// 污水入河排口
|
|
576
|
+
// outlet:{}
|
|
577
|
+
// 污水管点管理
|
|
578
|
+
// point:{}
|
|
579
|
+
// 污水管线管理
|
|
580
|
+
// line:{}
|
|
581
|
+
// 污水监控设施:
|
|
582
|
+
// 管网液位电导监测点
|
|
583
|
+
// 管网液位监测点
|
|
584
|
+
// 管网电导监测点
|
|
585
|
+
// 管网流量监测点
|
|
586
|
+
// 管网水质监测点
|
|
587
|
+
|
|
588
|
+
// 雨水其他设施:
|
|
589
|
+
// 污水片区管理
|
|
590
|
+
// district:{}
|
|
591
|
+
// 道路管理
|
|
592
|
+
// road:{}
|
|
593
|
+
// 原水------------------
|
|
594
|
+
// 原水基施管理:
|
|
595
|
+
// 水源地管理
|
|
596
|
+
water_resource: {
|
|
597
|
+
// 基础信息:设施类型、设施名称、地址
|
|
598
|
+
// 设施类型
|
|
599
|
+
facilityClassStr: '水源地',
|
|
600
|
+
// 关键参数:总库容(亿立方米) 供应水厂
|
|
601
|
+
keyParamList: [{
|
|
602
|
+
label: '总库容(亿立方米)',
|
|
603
|
+
value: 'totalStorageCapacity'
|
|
604
|
+
}, {
|
|
605
|
+
label: '供应水厂',
|
|
606
|
+
value: 'supplyPlantName'
|
|
607
|
+
}],
|
|
608
|
+
// 展示所有配置因子
|
|
609
|
+
showKeyIndicatorsListAll: false
|
|
610
|
+
},
|
|
611
|
+
// 原水泵站管理
|
|
612
|
+
raw_water_pump_station: {
|
|
613
|
+
// 基础信息:设施类型、设施名称、地址
|
|
614
|
+
// 设施类型
|
|
615
|
+
facilityClassStr: '原水泵站',
|
|
616
|
+
// 关键参数:额定流量(m³/s)
|
|
617
|
+
keyParamList: [{
|
|
618
|
+
label: '额定流量(m³/s)',
|
|
619
|
+
value: 'totalRatedFlow'
|
|
620
|
+
}],
|
|
621
|
+
// 展示所有配置因子
|
|
622
|
+
showKeyIndicatorsListAll: false,
|
|
623
|
+
// 瞬时流量、上游压力、下游压力
|
|
624
|
+
keyIndicatorsList: [{
|
|
625
|
+
label: '瞬时流量',
|
|
626
|
+
value: 'w_flow_now'
|
|
627
|
+
}, {
|
|
628
|
+
label: '上游压力',
|
|
629
|
+
value: 'w_pressuer_up'
|
|
630
|
+
}, {
|
|
631
|
+
label: '下游压力',
|
|
632
|
+
value: 'w_pressure_down'
|
|
633
|
+
}]
|
|
634
|
+
},
|
|
635
|
+
// 原水管点管理
|
|
636
|
+
raw_water_point: {},
|
|
637
|
+
// 原水管线管理
|
|
638
|
+
raw_water_line: {
|
|
639
|
+
// 基础信息:设施类型、设施名称、地址
|
|
640
|
+
// 设施类型
|
|
641
|
+
facilityClassStr: '原水管线',
|
|
642
|
+
// 关键参数:管道长度(m)、起点管底标高(m)、终点管底标高(m)、管径(mm)、管材
|
|
643
|
+
keyParamList: [{
|
|
644
|
+
label: '管道长度(m)',
|
|
645
|
+
value: 'lineLength'
|
|
646
|
+
}, {
|
|
647
|
+
label: '起点管底标高(m)',
|
|
648
|
+
value: 'startZ'
|
|
649
|
+
}, {
|
|
650
|
+
label: '终点管底标高(m)',
|
|
651
|
+
value: 'endZ'
|
|
652
|
+
}, {
|
|
653
|
+
label: '管径(mm)',
|
|
654
|
+
value: 'ds'
|
|
655
|
+
}, {
|
|
656
|
+
label: '管材',
|
|
657
|
+
value: 'lineTextureName'
|
|
658
|
+
}],
|
|
659
|
+
// 展示所有配置因子
|
|
660
|
+
showKeyIndicatorsListAll: true
|
|
661
|
+
},
|
|
662
|
+
// 供水厂管理
|
|
663
|
+
water_supply_plant: {
|
|
664
|
+
// 基础信息:设施类型、设施名称、地址
|
|
665
|
+
// 设施类型
|
|
666
|
+
facilityClassStr: '供水厂',
|
|
667
|
+
// 关键参数:日供水能力(万吨/天)、运营状态
|
|
668
|
+
keyParamList: [{
|
|
669
|
+
label: '日供水能力(万吨/天)',
|
|
670
|
+
value: 'daySupplyWater'
|
|
671
|
+
}, {
|
|
672
|
+
label: '运营状态',
|
|
673
|
+
value: 'statusName'
|
|
674
|
+
}],
|
|
675
|
+
// 展示所有配置因子
|
|
676
|
+
showKeyIndicatorsListAll: false,
|
|
677
|
+
// 关键指标
|
|
678
|
+
// 出水瞬时流量、出水浊度、出水PH、出水COD、出水氨氮、出水余氯
|
|
679
|
+
keyIndicatorsList: [{
|
|
680
|
+
label: '出水瞬时流量',
|
|
681
|
+
value: 'w_wv_out_now'
|
|
682
|
+
}, {
|
|
683
|
+
label: '出水浊度',
|
|
684
|
+
value: 'w_wq_out_zd'
|
|
685
|
+
}, {
|
|
686
|
+
label: '出水PH',
|
|
687
|
+
value: 'w_wq_out_ph'
|
|
688
|
+
}, {
|
|
689
|
+
label: '出水COD',
|
|
690
|
+
value: 'w_wq_out_cod'
|
|
691
|
+
}, {
|
|
692
|
+
label: '出水氨氮',
|
|
693
|
+
value: 'w_wq_out_nh3'
|
|
694
|
+
}, {
|
|
695
|
+
label: '出水余氯',
|
|
696
|
+
value: 'w_wq_out_yulv'
|
|
697
|
+
}]
|
|
698
|
+
},
|
|
699
|
+
// 原水监控设施:
|
|
700
|
+
// 原水管网压力监测点
|
|
701
|
+
// 原水管网水质监测点
|
|
702
|
+
|
|
703
|
+
// 供水------------------
|
|
704
|
+
// 供水基施管理:
|
|
705
|
+
// 供水厂管理
|
|
706
|
+
// water_supply_plant:{}
|
|
707
|
+
// 供水泵站管理
|
|
708
|
+
gs_pump_station: {
|
|
709
|
+
// 基础信息:设施类型、设施名称、地址
|
|
710
|
+
// 设施类型
|
|
711
|
+
facilityClassStr: '供水泵站',
|
|
712
|
+
// 关键参数:额定流量(m³/s)
|
|
713
|
+
keyParamList: [{
|
|
714
|
+
label: '额定流量(m³/s)',
|
|
715
|
+
value: 'totalRatedFlow'
|
|
716
|
+
}],
|
|
717
|
+
// 展示所有配置因子
|
|
718
|
+
showKeyIndicatorsListAll: false,
|
|
719
|
+
// 关键指标
|
|
720
|
+
// 进水瞬时流量、出水瞬时流量
|
|
721
|
+
keyIndicatorsList: [{
|
|
722
|
+
label: '进水瞬时流量',
|
|
723
|
+
value: 'w_wv_in_now'
|
|
724
|
+
}, {
|
|
725
|
+
label: '出水瞬时流量',
|
|
726
|
+
value: 'w_wv_out_now'
|
|
727
|
+
}]
|
|
728
|
+
},
|
|
729
|
+
// 供水管点管理
|
|
730
|
+
water_supply_point: {},
|
|
731
|
+
// 供水管线管理
|
|
732
|
+
water_supply_line: {
|
|
733
|
+
// 基础信息:设施类型、设施名称、地址
|
|
734
|
+
// 设施类型
|
|
735
|
+
facilityClassStr: '供水管线',
|
|
736
|
+
// 关键参数:管道长度(m)、起点管底标高(m)、终点管底标高(m)、管径(mm)、管材
|
|
737
|
+
keyParamList: [{
|
|
738
|
+
label: '管道长度(m)',
|
|
739
|
+
value: 'lineLength'
|
|
740
|
+
}, {
|
|
741
|
+
label: '起点管底标高(m)',
|
|
742
|
+
value: 'startZ'
|
|
743
|
+
}, {
|
|
744
|
+
label: '终点管底标高(m)',
|
|
745
|
+
value: 'endZ'
|
|
746
|
+
}, {
|
|
747
|
+
label: '管径(mm)',
|
|
748
|
+
value: 'ds'
|
|
749
|
+
}, {
|
|
750
|
+
label: '管材',
|
|
751
|
+
value: 'lineTextureName'
|
|
752
|
+
}],
|
|
753
|
+
// 展示所有配置因子
|
|
754
|
+
showKeyIndicatorsListAll: true
|
|
755
|
+
},
|
|
756
|
+
// 消防栓管理
|
|
757
|
+
hydrant: {
|
|
758
|
+
// 基础信息:设施类型、设施名称、地址
|
|
759
|
+
// 设施类型
|
|
760
|
+
facilityClassStr: '消防栓',
|
|
761
|
+
// 关键参数:
|
|
762
|
+
keyParamList: [],
|
|
763
|
+
// 展示所有配置因子
|
|
764
|
+
showKeyIndicatorsListAll: false
|
|
765
|
+
}
|
|
766
|
+
// 供水监控设施:
|
|
767
|
+
// 管网压力监测点
|
|
768
|
+
// 管网流量监测点
|
|
769
|
+
// 供水管网水质监测点
|
|
770
|
+
// 管网管理表
|
|
771
|
+
};
|
|
772
|
+
export { deviceCodeMap, facilityCodeMap, facilityPopup };
|
|
Binary file
|
|
Binary file
|
package/lib/index.d.ts
CHANGED
|
@@ -18,3 +18,5 @@ export { default as WaterDrainLineLayer } from './WaterDrainLineLayer';
|
|
|
18
18
|
export { default as WaterDrainManholeLayer } from './WaterDrainManholeLayer';
|
|
19
19
|
export { default as WaterDrainPointLayer } from './WaterDrainPointLayer';
|
|
20
20
|
export { default as Layer } from './Layer';
|
|
21
|
+
export { default as FacilityTemplate } from './_components/Template/FacilityTemplate';
|
|
22
|
+
export { default as DeviceTemplate } from './_components/Template/DeviceTemplate';
|
package/lib/index.js
CHANGED
|
@@ -17,4 +17,6 @@ export { default as SewagePointLayer } from "./SewagePointLayer";
|
|
|
17
17
|
export { default as WaterDrainLineLayer } from "./WaterDrainLineLayer";
|
|
18
18
|
export { default as WaterDrainManholeLayer } from "./WaterDrainManholeLayer";
|
|
19
19
|
export { default as WaterDrainPointLayer } from "./WaterDrainPointLayer";
|
|
20
|
-
export { default as Layer } from "./Layer";
|
|
20
|
+
export { default as Layer } from "./Layer";
|
|
21
|
+
export { default as FacilityTemplate } from "./_components/Template/FacilityTemplate";
|
|
22
|
+
export { default as DeviceTemplate } from "./_components/Template/DeviceTemplate";
|
package/lib/typings.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
declare module '@vtx/cs-map'
|
|
2
|
-
declare module '@vtx/utils'
|
|
3
|
-
declare module '@vtx/map-icon'
|
|
1
|
+
declare module '@vtx/cs-map'
|
|
2
|
+
declare module '@vtx/utils'
|
|
3
|
+
declare module '@vtx/map-icon'
|
|
4
|
+
declare module '@ant-design/icons'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtx/cs-map-layer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "React components for Vortex",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -54,7 +54,8 @@
|
|
|
54
54
|
"cesium": "1.90.0",
|
|
55
55
|
"lodash": "^4.17.21",
|
|
56
56
|
"moment": "^2.29.1",
|
|
57
|
-
"qs": "^6.0.0"
|
|
57
|
+
"qs": "^6.0.0",
|
|
58
|
+
"ahooks": "^3.1.5"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
|
60
61
|
"@ant-design/icons": "4.7.0",
|
|
@@ -69,7 +70,6 @@
|
|
|
69
70
|
"@umijs/lint": "^4.0.0",
|
|
70
71
|
"@vtx/cs-map": "latest",
|
|
71
72
|
"@vtx/map-icon": "^2.0.16",
|
|
72
|
-
"ahooks": "^3.1.5",
|
|
73
73
|
"antd": "4.20.5",
|
|
74
74
|
"axios": "^0.21.1",
|
|
75
75
|
"babel-plugin-import": "^1.13.8",
|