Browse Source

(*)消防功能完善

master
peng.peng 1 year ago
parent
commit
e27a9a83c5
  1. 168
      scripts/0.0.12/emergency_equipment_registration.sql
  2. 34
      super-screen/client/src/sections/fire-control/components/alarm-add.js
  3. 8
      super-screen/client/src/sections/fire-control/components/item-left.js
  4. 2
      super-screen/client/src/sections/fire-control/components/item-right.js
  5. 0
      super-screen/client/src/sections/fire-control/constant/index.js
  6. 8
      super-screen/client/src/sections/fire-control/constants/index.js
  7. 8
      super-screen/client/src/sections/fire-control/containers/gis.js
  8. 470
      super-screen/client/src/sections/water-prevention/containers/gis - 副本.js

168
scripts/0.0.12/emergency_equipment_registration.sql

@ -1,3 +1,24 @@
/*
Navicat Premium Data Transfer
Source Server : 10.8.30.160
Source Server Type : PostgreSQL
Source Server Version : 120001
Source Host : 10.8.30.160:30432
Source Catalog : lk
Source Schema : public
Target Server Type : PostgreSQL
Target Server Version : 120001
File Encoding : 65001
Date: 22/08/2023 08:43:41
*/
-- ----------------------------
-- Table structure for emergency_equipment_registration
-- ----------------------------
DROP TABLE IF EXISTS "public"."emergency_equipment_registration";
CREATE TABLE "public"."emergency_equipment_registration" (
"id" serial PRIMARY KEY,
@ -30,4 +51,151 @@ INSERT INTO "public"."emergency_equipment_registration" VALUES (4, 'GPS', '森
INSERT INTO "public"."emergency_equipment_registration" VALUES (5, '风力灭火机', '森林灭火', '', 16, '灭火救援', '灭火', '堪用', '2018-12-31');
INSERT INTO "public"."emergency_equipment_registration" VALUES (6, '细水雾灭火机', '森林灭火', '', 2, '灭火救援', '灭火', '堪用', '2018-12-31');
INSERT INTO "public"."emergency_equipment_registration" VALUES (7, '背负式高压水雾喷射器', '森林灭火', '', 6, '灭火救援', '灭火', '堪用', '2018-12-31');
INSERT INTO "public"."emergency_equipment_registration" VALUES (8, '油锯', '森林灭火', '', 6, '灭火救援', '灭火', '堪用', '2018-12-31');
INSERT INTO "public"."emergency_equipment_registration" VALUES (9, '水泵', '森林灭火', '', 1, '灭火救援', '灭火', '堪用', '2018-12-31');
INSERT INTO "public"."emergency_equipment_registration" VALUES (10, '阻燃服', '森林灭火', '', 40, '灭火救援', '灭火', '堪用', '2018-12-31');
INSERT INTO "public"."emergency_equipment_registration" VALUES (11, '训练服', '其它', '', 40, '灭火训练', '灭火', '堪用', '2018-12-31');
INSERT INTO "public"."emergency_equipment_registration" VALUES (12, '消防头盔', '其它', '', 58, '应急救援', '救援', '堪用', '2018-05-01');
INSERT INTO "public"."emergency_equipment_registration" VALUES (13, '消防员灭火防护服', '其它', '', 180, '应急救援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (14, '消防手套', '其它', '', 113, '应急救援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (15, '消防安全腰带', '其它', '', 7, '应急救援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (16, '消防员灭火防护靴', '其它', '', 81, '应急救援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (17, '正压式消防空气呼吸器', '其它', '', 2, '应急救援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (18, '佩戴式防爆照明灯', '其它', '', 7, '应急救授', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (19, '消防员呼救器', '其它', '', 15, '应急救援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (20, '消防轻型安全绳', '其它', '', 1, '应急救援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (21, '消防腰斧', '其它', '', 18, '应急致援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (22, '消防员灭火防护头套', '其它', '', 12, '应急救援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (23, '防静电内衣', '其它', '', 53, '应急救援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (24, '消防护目镜', '其它', '', 33, '应急救援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (25, '抢险救援头盔', '其它', '', 24, '应急救援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (26, '抢险救援手套', '其它', '', 3, '应急颍援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (27, '抢险救援服', '其它', '', 91, '应急救援', '敢援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (28, '抢险救援靴', '其它', '', 71, '应急致投', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (29, '消防员隔热防护服', '其它', '', 25, '应急救援', '救援', '堪用', '2019-11-15');
INSERT INTO "public"."emergency_equipment_registration" VALUES (30, '消防员避火防护服', '其它', '', 5, '应急救援', '牧援', '堪用', '2016-09-11');
INSERT INTO "public"."emergency_equipment_registration" VALUES (31, '二级化学防护服', '其它', '', 7, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (32, '一级化学防护服', '其它', '', 2, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (33, '防蜂服', '其它', '', 3, '应急敦援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (34, '电绝缘装具', '其它', '', 1, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (35, '防静电服', '其它', '', 5, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (36, '内置纯棉手套', '其它', '', 8, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (37, '消防阻燃毛衣', '其它', '', 23, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (38, '防高温手套', '其它', '', 14, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (39, '防化手套', '其它', '', 4, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (40, '消防通用安全绳', '其它', '', 2, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (41, '消防Ⅱ类安全吊带', '其它', '', 15, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (42, '消防III类安全吊带', '其它', '', 11, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (43, '消防防坠落辅助装备', '比它', '', 17, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (44, '消防防坠落辅助部件', '其它', '', 4, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (45, '正压式消防氧气呼吸器', '其它', '', 7, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (46, '强制送风呼吸器', '其它', '', 5, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (47, '消防过滤式综合防毒面具', '其它', '', 6, '应急救援', '救援', '堪用', '2015-08-26');
INSERT INTO "public"."emergency_equipment_registration" VALUES (48, '消防专用救生衣', '其它', '', 53, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (49, '手提式强光照明灯', '其它', '', 8, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (50, '消防用荧光棒', '共它', '', 162, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (51, '消防员呼救器后场接收装置', '其它', '', 3, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (52, '头骨振动式通信装置', '其它', '', 8, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (53, '防爆手持电台', '其它', '', 9, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (54, '消防员单兵定位装置', '其它', '', 1, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (55, '救援护肘、护膝(硬质)', '其它', '', 10, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (56, '防穿刺手套', '其它', '', 4, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (57, '防化靴', '其它', '', 2, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (58, '有毒气体探测仪', '其它', '', 2, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (59, '可燃气体检测仪', '其它', '', 2, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (60, '电子气象仪', '其它', '', 1, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (61, '消防用红外热像仪', '其它', '', 1, '应急救援', '救援', '堪用', '2018-10-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (62, '漏电探测仪', '其它', '', 1, '应急救援', '救援', '堪用', '2014-07-19');
INSERT INTO "public"."emergency_equipment_registration" VALUES (63, '测温议', '其它', '', 1, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (64, '激光测距仪', '其它', '', 1, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (65, '锥型事故标志柱', '其它', '', 20, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (66, '隔离警示带', '其它', '', 6, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (67, '危险警示牌', '其它', '', 5, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (68, '闪光警示灯', '其它', '', 13, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (69, '手持扩音器', '其它', '', 6, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (70, '躯体固定气囊', '其它', '', 2, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (71, '肢体固定气囊', '其它', '', 2, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (72, '消防过滤式自救呼吸器', '其它', '', 23, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (73, '救生照明线', '其它', '', 4, '应急救援', '救援', '堪用', '2015-08-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (74, '折叠式担架', '其它', '', 2, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (75, '伤员固定抬板', '其它', '', 2, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (76, '多功能担架', '其它', '', 2, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (77, '救生缓降器', '其它', '', 8, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (78, '灭火毯', '其它', '', 15, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (79, '气动起重气垫', '其它', '', 1, '应急救援', '救援', '堪用', '2015-06-13');
INSERT INTO "public"."emergency_equipment_registration" VALUES (80, '救生抛投器', '其它', '', 3, '应急救援', '救援', '堪用', '2018-06-04');
INSERT INTO "public"."emergency_equipment_registration" VALUES (81, '水面漂浮救生绳', '其它', '', 1, '应急救援', '救援', '堪用', '2018-06-04');
INSERT INTO "public"."emergency_equipment_registration" VALUES (82, '救生软梯', '其它', '', 2, '应急救援', '救援', '堪用', '2018-06-04');
INSERT INTO "public"."emergency_equipment_registration" VALUES (83, '液压破拆工具组', '其它', '', 1, '应急救援', '救援', '堪用', '2018-06-04');
INSERT INTO "public"."emergency_equipment_registration" VALUES (84, '机动链锯', '其它', '', 4, '应急救援', '救援', '堪用', '2018-06-04');
INSERT INTO "public"."emergency_equipment_registration" VALUES (85, '无齿锯', '其它', '', 4, '应急救援', '救援', '堪用', '2018-06-04');
INSERT INTO "public"."emergency_equipment_registration" VALUES (86, '凿岩机', '其它', '', 1, '应急救援', '救援', '堪用', '2018-06-04');
INSERT INTO "public"."emergency_equipment_registration" VALUES (87, '玻璃破碎器', '其它', '', 1, '应急救援', '救援', '堪用', '2018-06-04');
INSERT INTO "public"."emergency_equipment_registration" VALUES (88, '手持式钢筋速断器', '其它', '', 3, '应急救援', '救援', '堪用', '2018-06-04');
INSERT INTO "public"."emergency_equipment_registration" VALUES (89, '多功能刀具', '其它', '', 4, '应急救援', '救援', '堪用', '2018-06-04');
INSERT INTO "public"."emergency_equipment_registration" VALUES (90, '便携式防盗门破拆工具组', '其它', '', 1, '应急救援', '救援', '堪用', '2018-06-04');
INSERT INTO "public"."emergency_equipment_registration" VALUES (91, '多功能挠钢', '其它', '', 1, '应急救援', '救援', '堪用', '2017-05-11');
INSERT INTO "public"."emergency_equipment_registration" VALUES (92, '绝缘剪断钳', '其它', '', 5, '应急救援', '救援', '堪用', '2017-05-11');
INSERT INTO "public"."emergency_equipment_registration" VALUES (93, '金属堵漏套管', '其它', '', 2, '应急救援', '救援', '堪用', '2017-05-11');
INSERT INTO "public"."emergency_equipment_registration" VALUES (94, '堵漏枪', '其它', '', 1, '应急救援', '救援', '堪用', '2017-05-11');
INSERT INTO "public"."emergency_equipment_registration" VALUES (95, '注入式堵漏工具', '其它', '', 1, '应急救援', '救援', '堪用', '2017-05-11');
INSERT INTO "public"."emergency_equipment_registration" VALUES (96, '粘贴式堵漏工具', '其它', '', 1, '应急救援', '救援', '堪用', '2017-05-11');
INSERT INTO "public"."emergency_equipment_registration" VALUES (97, '电磁式堵漏工具', '其它', '', 1, '应急救援', '救援', '堪用', '2017-05-11');
INSERT INTO "public"."emergency_equipment_registration" VALUES (98, '木制堵漏楔', '其它', '', 1, '应急救援', '救援', '堪用', '2017-05-11');
INSERT INTO "public"."emergency_equipment_registration" VALUES (99, '无火花工具', '其它', '', 1, '应急救援', '救援', '堪用', '2017-05-11');
INSERT INTO "public"."emergency_equipment_registration" VALUES (100, '强磁堵漏工具', '其它', '', 1, '应急救援', '救援', '堪用', '2015-09-16');
INSERT INTO "public"."emergency_equipment_registration" VALUES (101, '手动隔膜抽吸泵', '其它', '', 1, '应急救援', '救援', '堪用', '2013-07-25');
INSERT INTO "public"."emergency_equipment_registration" VALUES (102, '防爆输转泵', '其它', '', 1, '应急救援', '救援', '堪用', '2013-07-25');
INSERT INTO "public"."emergency_equipment_registration" VALUES (103, '排污泵', '其它', '', 1, '应急救援', '救援', '堪用', '2013-07-25');
INSERT INTO "public"."emergency_equipment_registration" VALUES (104, '吸附垫', '其它', '', 2, '应急救援', '救援', '堪用', '2013-07-25');
INSERT INTO "public"."emergency_equipment_registration" VALUES (105, '集污袋', '其它', '', 3, '应急救援', '救援', '堪用', '2013-07-25');
INSERT INTO "public"."emergency_equipment_registration" VALUES (106, '单人洗消帐篷', '其它', '', 1, '应急救援', '救援', '堪用', '2013-07-25');
INSERT INTO "public"."emergency_equipment_registration" VALUES (107, '简易洗消喷淋器', '其它', '', 1, '应急救援', '救援', '堪用', '2013-07-25');
INSERT INTO "public"."emergency_equipment_registration" VALUES (108, '移动式排烟机', '其它', '', 1, '应急救援', '救援', '堪用', '2013-07-25');
INSERT INTO "public"."emergency_equipment_registration" VALUES (109, '移动照明灯组', '其它', '', 1, '应急救援', '救援', '堪用', '2013-07-25');
INSERT INTO "public"."emergency_equipment_registration" VALUES (110, '移动发电机', '其它', '', 1, '应急救援', '救援', '堪用', '2013-07-25');
INSERT INTO "public"."emergency_equipment_registration" VALUES (111, '移动式水带卷盘或水带槽', '其它', '', 3, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (112, '移动式消防炮(手动炮、遥控炮、自摆炮等)', '其它', '', 7, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (113, '泡沫比例混合器、泡沫液桶、泡沫枪', '其它', '', 2, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (114, '二节拉梯', '其它', '', 13, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (115, '三节拉梯', '其它', '', 1, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (116, '挂钩梯', '其它', '', 10, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (117, '常压水带', '其它', '', 147, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (118, '中压水带', '其它', '', 5, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (119, '分水器', '其它', '', 6, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (120, '接口', '其它', '', 44, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (121, '护桥', '其它', '', 3, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (122, '滤水器', '其它', '', 3, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (123, '止水器', '其它', '', 4, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (124, '吸水管', '其它', '', 3, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (125, '空气充填泵', '其它', '', 2, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (126, '水慕水带', '其它', '', 22, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (127, '消防移动储水装置', '其它', '', 2, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (128, '多功能消防水枪', '其它', '', 4, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (129, '灭火救援智慧箱', '其它', '', 1, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (130, '单杠梯', '其它', '', 6, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (131, '剪切器', '其它', '', 5, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (132, '扩张器', '其它', '', 4, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (133, '剪扩器', '其它', '', 3, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (134, '液压顶杆', '其它', '', 2, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (135, '开门器', '其它', '', 7, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (136, '泡沫枪', '其它', '', 10, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (137, '火钩', '其它', '', 4, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (138, '安全钩', '其它', '', 38, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (139, '冲锋舟', '其它', '', 1, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (140, '橡皮艇', '其它', '', 1, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (141, '机头', '其它', '', 8, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (142, '长管空气呼吸器(移动供气源)', '其它', '', 2, '应急救援', '救援', '堪用', '2017-08-27');
INSERT INTO "public"."emergency_equipment_registration" VALUES (143, '美国大力泡沫酒防车', '其它', '', 1, '应急救援', '救援', '堪用', '2019-12-21');
INSERT INTO "public"."emergency_equipment_registration" VALUES (144, '压缩空气泡沫消防车', '其它', '', 1, '应急救援', '救援', '堪用', '2011-09-14');
INSERT INTO "public"."emergency_equipment_registration" VALUES (145, '抢险救援车', '其它', '', 1, '应急救援', '救援', '堪用', '2010-10-28');
INSERT INTO "public"."emergency_equipment_registration" VALUES (146, '登高平台消防车', '其它', '', 1, '应急救援', '救援', '堪用', '2019-10-12');
INSERT INTO "public"."emergency_equipment_registration" VALUES (147, '举高喷射消防车', '其它', '', 1, '应急救援', '救援', '堪用', '2013-12-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (148, '高层供水车', '其它', '', 1, '应急救援', '救援', '堪用', '2018-07-16');
INSERT INTO "public"."emergency_equipment_registration" VALUES (149, '龙吸水排水抢险车', '防汛抗洪', '', 2, '城市排涝', '排涝', '新品', '2020-10-09');
INSERT INTO "public"."emergency_equipment_registration" VALUES (150, '48米举高喷射消防车', '其它', '', 1, '应急救援', '救援', '新品', '2021-01-18');
INSERT INTO "public"."emergency_equipment_registration" VALUES (151, '10KW柴油发电机', '地震救援', '', 2, '应急救援', '救援', '新品', '2022-08-06');
INSERT INTO "public"."emergency_equipment_registration" VALUES (152, '移动通讯基站', '指挥器材', '', 1, '应急救援', '通讯', '新品', '2023-02-01');
INSERT INTO "public"."emergency_equipment_registration" VALUES (153, '移动通讯手持台', '指挥器材', '', 25, '应急救援', '通讯', '新品', '2023-02-01');
INSERT INTO "public"."emergency_equipment_registration" VALUES (154, '5G单兵', '指挥器材', '', 2, '应急救援', '图传', '新品', '2023-02-01');

34
super-screen/client/src/sections/fire-control/components/alarm-add.js

@ -1,8 +1,8 @@
import React, { useEffect, useState } from 'react';
import { connect } from 'react-redux';
import React, { useEffect } from 'react';
import { Modal, Form, Select, DatePicker, Tooltip } from 'antd';
import { typeParam_data, alarm_levels, eventType_Data, fireMaterial_data } from '../constants/index'
import moment from 'moment';
import { typeParam_data } from '../constants/index'
const { Option } = Select;
function FireAddForm(props) {
const { visible, location } = props;
@ -56,22 +56,14 @@ function FireAddForm(props) {
</Tooltip>
: '请选择事件地点'}</div>
</Form.Item>
<Form.Item name="type" label="事件类型" rules={[{ required: true, message: '请选择事件类型!' }]}>
<Select placeholder="请选择事件类型">
<Option value="火灾扑救">火灾扑救</Option>
<Option value="救援抢险">救援抢险</Option>
<Option value="自然灾害">自然灾害</Option>
<Option value="灾难事故">灾难事故</Option>
<Option value="其他出动">其他出动</Option>
<Form.Item name="type" label="警情类型" rules={[{ required: true, message: '请选择警情类型!' }]}>
<Select placeholder="请选择警情类型">
{eventType_Data.map(s => <Option value={s}>{s}</Option>)}
</Select>
</Form.Item>
<Form.Item name="level" label="危险等级" rules={[{ required: true, message: '请选择危险等级!' }]} >
<Select placeholder="请选择事件危险等级" >
<Option value="绿">绿</Option>
<Option value="蓝"></Option>
<Option value="黄"></Option>
<Option value="橙"></Option>
<Option value="红"></Option>
{alarm_levels.map(s => <Option value={s}>{s}</Option>)}
</Select>
</Form.Item>
@ -84,18 +76,12 @@ function FireAddForm(props) {
</Select>
</Form.Item>}
{eventType == '火灾扑救' && <Form.Item name="fireMaterial" label="着火场所" rules={[{ required: true, message: '请选择燃烧物质!' }]}>
{eventType == '火灾扑救' && <Form.Item name="fireMaterial" label="着火场所" rules={[{ required: true, message: '请选择着火场所!' }]}>
<Select placeholder="请选择场所">
<Option value="民用建筑">民用建筑</Option>
<Option value="工业建筑">工业建筑</Option>
<Option value="森林">森林</Option>
<Option value="地下建筑">地下建筑</Option>
<Option value="水上">水上</Option>
{fireMaterial_data?.map(s => <Option value={s}>{s}</Option>)}
</Select>
</Form.Item>}
<div className='flex-row flex-content-around' style={{ position: 'absolute', bottom: ' 42px', width: '100%', paddingLeft: 35, paddingRight: 35 }}>
<div className='cancel_button' onClick={() => { props.onCancel() }}>取消</div>
<div onClick={() => { form?.submit() }} className='report_button'>上报</div>
@ -124,4 +110,4 @@ function FireAddForm(props) {
);
}
export default connect()(FireAddForm);
export default FireAddForm;

8
super-screen/client/src/sections/fire-control/components/item-left.js

@ -43,7 +43,7 @@ function BasicInfo(props) {
</div>
<div className='left_third_bg'>
<div className='left_item_left1' />
<div className='left_item_left2' />
<div className='left_item_right1' style={{ textAlign: 'left' }}>
<div><span style={{ marginRight: 30 }}>案件地点</span></div>
<div style={{ color: "#8FCBFF", marginTop: 9 }}>{alarmInfo?.location}</div>
@ -51,7 +51,7 @@ function BasicInfo(props) {
</div>
<div className='left_third_bg' style={{ height: 160, paddingTop: 20 }}>
<div className='left_item_left1' />
<div className='left_item_left3' />
<div className='left_item_right1' style={{ textAlign: 'left' }}>
<div><span style={{ marginRight: 30, marginBottom: 15 }}>路线规划</span></div>
<AutoRollComponent key={alarmInfo?.id} canScroll={alarmInfo?.routes?.steps?.length > 3}
@ -59,12 +59,8 @@ function BasicInfo(props) {
return <div style={{ marginBottom: 10 }}>{x}</div>
})}</div>}
divHeight={100} divId={`fire-left-bottom${alarmInfo?.id}`} />
</div>
</div>
</div>
</Box>
}

2
super-screen/client/src/sections/fire-control/components/item-right.js

@ -6,7 +6,7 @@ import './style.less';
function CitySafty(props) {
const { emengencyTab, emergencyList } = props;
const tab_name = {
xfyjwz: { name: '应急物资', items: [{ key: 'name', name: '名称' }, { key: 'type', name: '类别' }, { key: 'count', name: '数量' }] },
xfyjwz: { name: '应急物资', items: [{ key: 'name', name: '名称' }, { key: 'type', name: '类别' }, { key: 'count', name: '数量' }, { key: 'purpose', name: '用途' }] },
xfjy: { name: '消防救援', items: [{ key: 'teamName', name: '队伍名称' }, { key: 'supervisoryUnit', name: '主管单位' }, { key: 'emergencyContactPhone', name: '联系人' }, { key: 'emergencyContactPhone', name: '联系电话' }, { key: 'totalMembers', name: '总人数' }, { key: 'baseAddress', name: '驻地地址' }] },
rmwzb: { name: '人民武装部', items: [{ key: 'teamName', name: '队伍名称' }, { key: 'supervisoryUnit', name: '主管单位' }, { key: 'emergencyContactPhone', name: '联系人' }, { key: 'emergencyContactPhone', name: '联系电话' }, { key: 'totalMembers', name: '总人数' }, { key: 'baseAddress', name: '驻地地址' }] },
yljy: { name: '医疗救援', items: [{ key: 'teamName', name: '队伍名称' }, { key: 'supervisoryUnit', name: '主管单位' }, { key: 'emergencyContactPhone', name: '联系人' }, { key: 'emergencyContactPhone', name: '联系电话' }, { key: 'totalMembers', name: '总人数' }, { key: 'baseAddress', name: '驻地地址' }] },

0
super-screen/client/src/sections/fire-control/constant/index.js

8
super-screen/client/src/sections/fire-control/constants/index.js

@ -18,9 +18,13 @@ const typeParam_data = {
},
}
//着火材料
const fireMaterial_data = ["民用建筑", "工业建筑", "森林", "地下建筑", "水上"]
//危险等级
const alarm_levels = ['I级', 'II级', 'III级', 'IV级', 'V级']
//警情类型
const eventType_Data = ['火灾扑救', '救援抢险', '自然灾害', '灾难事故', '其他出动',]
export {
typeParam_data, fireMaterial_data
typeParam_data, fireMaterial_data, alarm_levels, eventType_Data
}

8
super-screen/client/src/sections/fire-control/containers/gis.js

@ -1,14 +1,14 @@
import React, { useEffect, useState } from 'react';
import { connect } from 'react-redux';
import { render } from 'react-dom';
import { Row, Col, message, Tooltip } from 'antd';
import { message, Tooltip } from 'antd';
import FireAddForm from '../components/alarm-add'
import LoacationSelect from '../components/location-select';
import moment from 'moment'
import './gis.less'
const MAPDOMID = 'fs-amap-container-fire';
let map = null;
let driving;
const tabs = [
{ name: '应急物资', tab: 'xfyjwz', className: 'emergency_button' },
{ name: '消防救援', tab: 'xfjy', className: 'emergency_button' },
@ -369,9 +369,7 @@ function Map(props) {
{s.className && <div className='dotbg'>{emergencyList[s.tab]?.length}</div>}
</div>
</>
})
}
})}
{/* 左上角图例 */}
{props.propTab == 'overview' && renderLeftTop()}
{/* 四周遮罩 */}

470
super-screen/client/src/sections/water-prevention/containers/gis - 副本.js

@ -1,470 +0,0 @@
import React, { useEffect, useState } from 'react';
import { connect } from 'react-redux';
import { render } from 'react-dom';
import { data as heatmapData } from './data'
import { SHUI_ZHAN } from '../constants/water';
import './gis.less'
const MAPDOMID = 'fs-amap-container1';
let map = null;
let heatmap = null;
let loca = null;
let gridLayer = null;
let interval = null;
const MARKER_IMG_NAME = {
markergreen: '回迁房',
markerblue: '城中村',
markeryellow: '廉租房',
}
function Map(props) {
const { trendData, waterLevelAlarms } = props;
const [delay, setDelay] = useState(true)
const [tab, setTab] = useState('overview')
// 地图初始化
const loadMap = () => {
// 图片图层 实现瓦片地图中国地图样式 bounds 第一个点为左下角 第二个点为右上角
const imageLayer = new AMap.ImageLayer({
url: '/assets/images/map1.svg',
bounds: new AMap.Bounds(
[115.800221, 28.225659],
[116.334849, 28.973298],
),
zooms: [3, 14],
});
map = new AMap.Map(MAPDOMID, {
center: [116.054664, 28.538966],
zoomEnable: true,
dragEnable: true,
viewMode: '3D',
pitch: 22.9,
labelzIndex: 130,
zoom: 10.3,
cursor: 'pointer',
mapStyle: 'amap://styles/300b147a96946a4f1c1b1b8eb1f92f76',
layers: [
AMap.createDefaultLayer(),
imageLayer,
],
});
map.on('complete', () => {
setTimeout(() => {
setDelay(false)
map && renderMarkers()
map && renderAlarms()
}, 1500);
});
map.on('click', (e) => {
if (!e && !e.lnglat) {
return
}
const zoom = map.getZoom();
const pitch = map.getPitch();
const center = map.getCenter();
const Rotation = map.getRotation();
console.log('zoom' + zoom)
console.log('pitch' + pitch)
console.log('center' + center)
console.log('Rotation' + Rotation)
console.log('e.lnglat' + e.lnglat)
})
loca = new Loca.Container({ map: map })
// { map && renderMarkers() }
// { map && renderAlarms() }
// setTimeout(() => {
// renderLayer()
// createText()
// }, 1000);
};
const createText = () => {
var text = new AMap.Text({
text: '南昌县',
anchor: 'center', // 设置文本标记锚点
draggable: false,
// cursor: 'pointer',
zooms: [3, 11],
style: {
'padding': '.75rem 1.25rem',
'margin-bottom': '1rem',
'border-radius': '.25rem',
'background-color': 'rgba(238,77,90,0.001)',
'width': '8rem',
'border-width': 0,
//'box-shadow': '0 2px 6px 0 rgba(255, 255, 255, .1)',
'text-align': 'center',
'font-size': '14px',
'color': '#AFEFFF',
'opacity': 1,
// 'font-weight': 'bold'
},
position: [115.934664, 28.538966]
});
text.setMap(map);
}
const drawBounds = () => {
let district = null;
let polygons = [];
//加载行政区划插件
if (!district) {
//实例化DistrictSearch
let opts = {
subdistrict: 0, //获取边界不需要返回下级行政区
extensions: 'all', //返回行政区边界坐标组等具体信息
level: 'district' //查询行政级别为 市
};
district = new AMap.DistrictSearch(opts);
}
//行政区查询
district.setLevel('district')
district.search('南昌县', function (status, result) {
map.remove(polygons)//清除上次结果
polygons = [];
let bounds = result.districtList[0].boundaries;
if (bounds) {
for (let i = 0, l = bounds.length; i < l; i++) {
//生成行政区划polygon
let polygon = new AMap.Polygon({
strokeWeight: 1,
path: bounds[i],
fillOpacity: 0.4,
fillColor: '#1F2F4D',
strokeColor: '#DE7B35',
fillOpacity: 0.35, //填充透明度
});
polygons.push(polygon);
}
}
map.add(polygons)
// map.setFitView(polygons);//视口自适应
});
}
// 初始化GIS 组件销毁清空定时器
useEffect(() => {
loadMap();
}, [trendData, waterLevelAlarms]);
const renderMarkers = () => {
map.clearMap();
map.setZoom(10.3)
map.setCenter([116.054664, 28.538966])
map.setPitch(22.9)
map.setRotation(1.7000)
if (loca && heatmap) loca.remove(heatmap)
//初始层级 zoom14以下显示聚合点
// const data = [
// { lng: 116.117906, lat: 28.678096, type: 'home', name: '泵站1', kind: 'markergreen' },
// { lng: 116.195238, lat: 28.842114, type: 'home', name: '泵站2', kind: 'markerblue' },
// { lng: 116.037227, lat: 28.558811, type: 'home', name: '泵站3', kind: 'markeryellow' },
// { lng: 115.925856, lat: 28.558811, type: 'home', name: '泵站4', kind: 'markergreen' },
// { lng: 115.989847, lat: 28.484411, type: 'home', name: '泵站5', kind: 'markergreen' },
// ]
//初始点位显示
SHUI_ZHAN.map((x, index) => {
var marker = new AMap.Marker({
position: new AMap.LngLat(x.location[0], x.location[1]),
// 将一张图片的地址设置为 icon
icon: '/assets/images/homepage/water/_monitor.png',
// 设置了 icon 以后,设置 icon 的偏移量,以 icon 的 [center bottom] 为原点
offset: new AMap.Pixel(-13, -30),
zooms: [3, 14],
});
marker.setTitle(x.name);
map.add(marker);
let infowindow = new AMap.InfoWindow({
isCustom: true, //使用自定义窗体
content: `<div id="map-content" class="water-gis-infowindow">
<div style="height:${360}px;" id="contentid${x.name}"></div></div>`,
offset: new AMap.Pixel(153, 260)
});
marker.on('click', () => {
let position = marker.getPosition ? marker.getPosition() : marker.getCenter();
infowindow.open(map, position);
map.setCenter(position)
setTimeout(() => {
if (document.getElementById(`contentid${x.name}`)) {
render(<div>
<div className='gis_exit' onClick={() => {
map.setCenter([115.922069, 28.554867])
map.clearInfoWindow();
}} />
<div className='gis_item'>
<span className='gis_title'>泵站名称</span>
<span className='gis_text'>{x.name}</span>
</div>
<div className='gis_item'>
<span className='gis_title'>1#提升泵</span>
<div className='gis_text_on'>
</div>
</div>
<div className='gis_item'>
<span className='gis_title'>2#提升泵</span>
<div className='gis_text_on'>
</div>
</div>
<div className='gis_item'>
<span className='gis_title'>3#提升泵</span>
<div className='gis_text_off'>
</div>
</div>
</div>,
document.getElementById(`contentid${x.name}`));
}
}, 50)
})
})
if (tab == 'device') {
const data = [
{ lng: 115.921895, lat: 28.556351, type: 'device', name: '廉租房1', kind: 'devicemarker' },
{ lng: 115.920839, lat: 28.555323, type: 'device', name: '廉租房2', kind: 'devicemarker' },
{ lng: 115.918329, lat: 28.55445, type: 'device', name: '廉租房3', kind: 'devicemarker' },
{ lng: 115.919309, lat: 28.553166, type: 'device', name: '廉租房1', kind: 'devicemarker' },
{ lng: 115.921585, lat: 28.553925, type: 'device', name: '廉租房2', kind: 'devicemarker' },
{ lng: 115.92565, lat: 28.556996, type: 'device', name: '廉租房3', kind: 'devicemarker' },
{ lng: 115.922671, lat: 28.558769, type: 'device', name: '廉租房1', kind: 'devicemarker' },
]
data.filter(s => s.type == tab).map((x, index) => {
var marker = new AMap.Marker({
position: new AMap.LngLat(x.lng, x.lat),
// 将一张图片的地址设置为 icon
icon: '/assets/images/homepage/communtity/' + x.kind + '.png',
// 设置了 icon 以后,设置 icon 的偏移量,以 icon 的 [center bottom] 为原点
offset: new AMap.Pixel(-13, -30),
zooms: [15, 19],
});
marker.setTitle(x.name);
map.add(marker);
})
}
}
const renderAlarms = () => {
if (tab == 'person' || !waterLevelAlarms.length || !trendData.length) {
return;
}
const alarms = waterLevelAlarms.map(a => {
let alarm = {
lng: a.lng,
lat: a.lat,
// type: 'device',
name: a.alarms[0]?.source.name,
kind: 'markeralarm'
};
for (const t of trendData) {
if (t?.id == a.alarms[0]?.source.id) {
alarm.waterLevel = t.waterLevel;
alarm.alert = t.alert;
}
}
return alarm;
})
alarms.map((x, index) => {
var marker = new AMap.Marker({
position: new AMap.LngLat(x.lng, x.lat),
// 将一张图片的地址设置为 icon
icon: '/assets/images/homepage/communtity/' + x.kind + '.png',
// 设置了 icon 以后,设置 icon 的偏移量,以 icon 的 [center bottom] 为原点
offset: new AMap.Pixel(-13, -30),
zooms: [3, 14],
zIndex: 13,
});
marker.setTitle(x.name);
map.add(marker);
let infowindow = new AMap.InfoWindow({
isCustom: true, //使用自定义窗体
content: `<div id="map-content" class="gis-infowindow-alarm">
<div style="height:${360}px;" id="alarmcontentid${x.name}"></div></div>`,
offset: new AMap.Pixel(233, 260)
});
let alarmOk = new AMap.InfoWindow({
isCustom: true, //使用自定义窗体
// content: `<div id="map-content" class="gis-infowindow gis-infowindow-alarm">
// <div style="height:${360}px;" id="contentid${x.name}"></div></div>`,
offset: new AMap.Pixel(233, 440)
});
marker.on('click', () => {
let position = marker.getPosition ? marker.getPosition() : marker.getCenter();
infowindow.open(map, position);
// map.setCenter(position)
setTimeout(() => {
if (document.getElementById(`alarmcontentid${x.name}`)) {
render(<div>
<div className='gis_exit' onClick={() => {
map.setCenter([115.922069, 28.554867])
map.clearInfoWindow();
}} />
<div className='gis_item'>
<span className='gis_title'>点位名称</span>
<span className='gis_text'>{x.name}</span>
</div>
<div className='gis_item'>
<span className='gis_title'>实时水位</span>
<span className='gis_text'>{x.waterLevel}m</span>
</div>
<div className='gis_item'>
<span className='gis_title'>预警水位</span>
<span className='gis_text'>{x.alert}m</span>
</div>
<div className='gis_item'>
<span className='gis_title'>近1h雨量</span>
<span className='gis_text'>1.5mm</span>
</div>
<div className='gis_item'>
<span className='gis_title'>告警</span>
<span className='gis_text'>高风险</span>
</div>
</div>,
document.getElementById(`alarmcontentid${x.name}`));
}
}, 50)
})
})
}
const renderLeftTop = () => {
return <div className='water_gis_home_left'>
{[{ name: '高风险区域', key: 'high', data: 3 },
{ name: '中风险区域', key: 'middle', data: 13 },
{ name: '低风险区域', key: 'low', data: 13 }].map(s => {
return <div className='left_item'>
<div className='gis_item_left'>
<div className={`${s.key}_risk`} />
</div>
<div className='gis_item_right'>
<div>{s.name}</div>
<div><span className={`${s.key}_text`}>{s.data}</span>/21</div>
</div>
</div>
})}
</div>
}
const renderRightBottom = () => {
return tab == 'overview' ?
<div className='water_home_right'>
<div className='_right_row1'>
<div className='_monitor' /><span className='monitor_text'>监测点</span></div>
<div className='_right_row2'>
<span className='column1'>预警阈值参照表</span>
<div className='column2'>
<div className='flex-row flex-content-around'><span>三级告警</span><span></span><span></span></div>
<div className='flex-row flex-content-around'>
<div className='level3'></div>
<div className='level2'></div>
<div className='level1'></div>
</div>
{/* <div className='flex-row flex-content-around'>
<span>0m</span>
<span>5m</span>
<span>10m</span>
<span>15m</span>
<span>20m</span>
<span>25m</span>
<span>30m</span>
</div> */}
</div>
</div>
</div> :
<div className='water_home_right_back' onClick={() => {
setTab('overview')
props.changeTab('overview')
}}>
<div className='_back_icon' /> 返回实时监测
</div>
}
const renderWaterwarningbg = () => {
return <div className='waterwarningbg'>
<div className='_alarm_column1'>
<div>城区沿江水涝<div className='_state'>未启动</div></div>
<div style={{ color: 'rgba(76, 161, 255, 1)', fontSize: 14 }}>[自然灾害事故]</div>
</div>
<div className='_alarm_column2'>
<div style={{ textAlign: 'right', color: 'rgba(76, 161, 255, 1)' }}>2023-02-12 16:42:34</div>
<div className='_text_info'>
6月11日上午11点左右低洼堤坝出现江水倒灌灾需要进行救援6月11日上午11点左右低洼堤坝出现江水倒灌灾需要进行救援
</div>
</div>
</div>
}
const tabs = tab == 'overview' ? [
{ name: '实时监测', tab: 'overview' },
{ name: '应急抢险', tab: 'emergency' }
] : [
{ name: '应急物资', tab: 'yjwz', className: 'emergency_button' },
{ name: '消防救援', tab: 'xfjy', className: 'emergency_button' },
{ name: '人民武装部', tab: 'rmwzb', className: 'emergency_button' },
{ name: '医疗救援', tab: 'yljy', className: 'emergency_button' },
{ name: '应急避难场所', tab: 'yjbns', className: 'emergency_button' },
]
return (
<>
{/* 延缓加载遮罩 */}
{delay && <div id='delaydiv' style={{
width: '100%', height: '100%', left: 0, top: 0, zIndex: 1000, background: '#000000', position: 'absolute',
display: 'flex', alignItems: 'center', justifyContent: 'center'
}}>
</div>}
{/* 地图容器 */}
<div className="gis" id={MAPDOMID} />
{/* 底部按钮 */}
{!delay && tabs.map((s, index) => {
return <>
<div className={s.className ? `${s.className} ${s.className}${index + 1}` : 'water-gis-button' + (index + 1)}
onClick={() => {
setTab(s.tab)
s.className ? props.changeEmengencyTab(s.tab) : props.changeTab(s.tab)
}}
>
<div className={
s.className ? `button_${s.tab} ${tab == s.tab ? 'button_' + s.tab + '_select' : ''}` :
`button_img ${tab == s.tab ? 'button_img_select' : ''}`} />
<div>{s.name}</div>
{s.className && <div className='dotbg'>{emergencyList[s.tab]?.length}</div>}
</div>
{/* {
tab !== 'overview' && <> <div className='icon_left'></div>
<div className='icon_right'></div></>
} */}
</>
})
}
{/* 左上角图例 */}
{tab == 'overview' && renderLeftTop()}
{tab == 'emergency' && renderWaterwarningbg()}
{renderRightBottom()}
{/* 四周遮罩 */}
<div className='gis-left'></div>
<div className='gis-right'></div>
<div className='gis-top'></div>
<div className='gis-bottom'></div>
</>
);
}
export default connect()(Map);
Loading…
Cancel
Save