diff --git a/api/app/lib/controllers/superScreen/water.js b/api/app/lib/controllers/superScreen/water.js index a71aea4..5641d4d 100644 --- a/api/app/lib/controllers/superScreen/water.js +++ b/api/app/lib/controllers/superScreen/water.js @@ -26,9 +26,11 @@ function getEmergencyList(opts) { //EmergencyMaterialStatistics 应急物资 //EmergencyShelterBasicInfoStatistics 应急避难场所 //RescueTeams(医疗救援队伍 人民武装部救援队伍 消防救援救援队伍) + //EmergencyEquipmentRegistration 消防应急物资 const emergencyMaterial = await models.EmergencyMaterialStatistics.findAll(); const eEmergencyShelter = await models.EmergencyShelterBasicInfoStatistics.findAll(); const rescue = await models.RescueTeams.findAll(); + const xfyjwz = await models.EmergencyEquipmentRegistration.findAll(); const rslt = { yjwz: emergencyMaterial,//应急物资 @@ -36,6 +38,7 @@ function getEmergencyList(opts) { rmwzb: rescue.filter(s => s.teamCategory == '人民武装部救援队伍'),//人民武装部 yljy: rescue.filter(s => s.teamCategory == '医疗救援队伍'),//医疗救援 yjbns: eEmergencyShelter, //应急避难场所 + xfyjwz: xfyjwz,//消防应急物资 } ctx.status = 200; diff --git a/api/app/lib/models/emergency_equipment_registration.js b/api/app/lib/models/emergency_equipment_registration.js new file mode 100644 index 0000000..7a335b2 --- /dev/null +++ b/api/app/lib/models/emergency_equipment_registration.js @@ -0,0 +1,97 @@ +/* eslint-disable*/ + +'use strict'; + +module.exports = dc => { + const DataTypes = dc.ORM; + const sequelize = dc.orm; + const EmergencyEquipmentRegistration = sequelize.define("emergencyEquipmentRegistration", { + id: { + type: DataTypes.INTEGER, + allowNull: false, + defaultValue: null, + comment: null, + primaryKey: true, + field: "id", + autoIncrement: true + }, + name: { + type: DataTypes.STRING, + allowNull: false, + defaultValue: null, + comment: "名称", + primaryKey: false, + field: "name", + autoIncrement: false + }, + type: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: null, + comment: "类别", + primaryKey: false, + field: "type", + autoIncrement: false + }, + unit: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: null, + comment: "计量单位", + primaryKey: false, + field: "unit", + autoIncrement: false + }, + count: { + type: DataTypes.INTEGER, + allowNull: true, + defaultValue: null, + comment: "数量", + primaryKey: false, + field: "count", + autoIncrement: false + }, + function: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: null, + comment: "主要性能", + primaryKey: false, + field: "function", + autoIncrement: false + }, + purpose: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: null, + comment: "用途", + primaryKey: false, + field: "purpose", + autoIncrement: false + }, + status: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: null, + comment: "技术状况", + primaryKey: false, + field: "status", + autoIncrement: false + }, + inTime: { + type: DataTypes.DATEONLY, + allowNull: true, + defaultValue: null, + comment: "入库日期", + primaryKey: false, + field: "in_time", + autoIncrement: false + } + }, { + tableName: "emergency_equipment_registration", + comment: "", + indexes: [] + }); + dc.models.EmergencyEquipmentRegistration = EmergencyEquipmentRegistration; + return EmergencyEquipmentRegistration; +}; \ No newline at end of file diff --git a/api/app/lib/models/rescue_teams.js b/api/app/lib/models/rescue_teams.js index a9bb9ec..2696a33 100644 --- a/api/app/lib/models/rescue_teams.js +++ b/api/app/lib/models/rescue_teams.js @@ -86,6 +86,15 @@ module.exports = dc => { primaryKey: false, field: "team_category", autoIncrement: false + }, + location: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: null, + comment: "经纬度", + primaryKey: false, + field: "location", + autoIncrement: false } }, { tableName: "rescue_teams", diff --git a/scripts/0.0.12/emergency_equipment_registration.sql b/scripts/0.0.12/emergency_equipment_registration.sql new file mode 100644 index 0000000..9e3882d --- /dev/null +++ b/scripts/0.0.12/emergency_equipment_registration.sql @@ -0,0 +1,33 @@ +DROP TABLE IF EXISTS "public"."emergency_equipment_registration"; +CREATE TABLE "public"."emergency_equipment_registration" ( + "id" serial PRIMARY KEY, + "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL, + "type" varchar(255) COLLATE "pg_catalog"."default", + "unit" varchar(255) COLLATE "pg_catalog"."default", + "count" int4, + "function" varchar(255) COLLATE "pg_catalog"."default", + "purpose" varchar(255) COLLATE "pg_catalog"."default", + "status" varchar(255) COLLATE "pg_catalog"."default", + "in_time" date +) +; +COMMENT ON COLUMN "public"."emergency_equipment_registration"."name" IS '名称'; +COMMENT ON COLUMN "public"."emergency_equipment_registration"."type" IS '类别'; +COMMENT ON COLUMN "public"."emergency_equipment_registration"."unit" IS '计量单位'; +COMMENT ON COLUMN "public"."emergency_equipment_registration"."count" IS '数量'; +COMMENT ON COLUMN "public"."emergency_equipment_registration"."function" IS '主要性能'; +COMMENT ON COLUMN "public"."emergency_equipment_registration"."purpose" IS '用途'; +COMMENT ON COLUMN "public"."emergency_equipment_registration"."status" IS '技术状况'; +COMMENT ON COLUMN "public"."emergency_equipment_registration"."in_time" IS '入库日期'; + +-- ---------------------------- +-- Records of emergency_equipment_registration +-- ---------------------------- +INSERT INTO "public"."emergency_equipment_registration" VALUES (1, '地震应急包', '地震救援', '个', 250, '应急救援', '救援', '堪用', '2021-12-01'); +INSERT INTO "public"."emergency_equipment_registration" VALUES (2, '运兵车', '森林灭火', '辆', 1, '运输', '灭火', '堪用', '2018-12-31'); +INSERT INTO "public"."emergency_equipment_registration" VALUES (3, '对讲机', '森林灭火', '台', 42, '通信联络', '灭火', '堪用', '2018-12-31'); +INSERT INTO "public"."emergency_equipment_registration" VALUES (4, 'GPS', '森林灭火', '个', 4, '灭火救援', '灭火', '堪用', '2018-12-31'); +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'); + diff --git a/scripts/0.0.12/rescue_teams.sql b/scripts/0.0.12/rescue_teams.sql index bbfeee1..971446f 100644 --- a/scripts/0.0.12/rescue_teams.sql +++ b/scripts/0.0.12/rescue_teams.sql @@ -12,7 +12,7 @@ Target Server Version : 120001 File Encoding : 65001 - Date: 16/08/2023 11:25:20 + Date: 21/08/2023 13:58:24 */ @@ -29,7 +29,8 @@ CREATE TABLE "public"."rescue_teams" ( "total_members" int4, "team_type" varchar(255) COLLATE "pg_catalog"."default", "base_address" varchar(255) COLLATE "pg_catalog"."default", - "team_category" varchar(255) COLLATE "pg_catalog"."default" + "team_category" varchar(255) COLLATE "pg_catalog"."default", + "location" varchar(50) COLLATE "pg_catalog"."default" ) ; COMMENT ON COLUMN "public"."rescue_teams"."id" IS '序号'; @@ -42,45 +43,47 @@ COMMENT ON COLUMN "public"."rescue_teams"."total_members" IS '总人数'; COMMENT ON COLUMN "public"."rescue_teams"."team_type" IS '队伍类型'; COMMENT ON COLUMN "public"."rescue_teams"."base_address" IS '驻地地址'; COMMENT ON COLUMN "public"."rescue_teams"."team_category" IS '队伍种类'; +COMMENT ON COLUMN "public"."rescue_teams"."location" IS '经纬度'; -- ---------------------------- -- Records of rescue_teams -- ---------------------------- -INSERT INTO "public"."rescue_teams" VALUES (1, '南昌县人民医院救援队', '南昌县人民医院', '徐凡13576016651', '王明成15979059400', 15, '医疗救援', '南昌县莲塘镇向阳路199号', '医疗救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (2, '南昌县中医院应急救援队', '南昌县中医院', '陶国金13607085068', '陶国金13607085068', 5, '医疗救援', '南昌县莲塘镇澄湖西路2016号', '医疗救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (101, '南昌县应急连', '南昌县人武部', '涂青松19970071988', '余小根18970913996', 120, '应急力量', '南昌县澄湖东路1766号', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (102, '莲塘镇应急排', '南昌县人武部', '涂青松19970071988', '朱力13767073441', 30, '应急力量', '南昌县澄湖东路1766号', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (103, '向塘镇应急排', '南昌县人武部', '涂青松19970071988', '王瑰13732952135', 30, '应急力量', '南昌县星城大道8号', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (104, '蒋巷镇应急排', '南昌县人武部', '涂青松19970071988', '陈莹奕17779152056', 30, '应急力量', '南昌县蒋巷中大道蒋巷镇政府蒋巷镇委', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (105, '幽兰镇应急排', '南昌县人武部', '涂青松19970071988', '高强17770080479', 30, '应急力量', '南昌县西大街幽兰镇人大', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (106, '塘南镇应急排', '南昌县人武部', '涂青松19970071988', '倪志超19979065868', 30, '应急力量', '南昌县拓林路塘南镇政府南昌市塘南政委', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (107, '武阳镇应急排', '南昌县人武部', '涂青松19970071988', '徐勇15170066968', 30, '应急力量', '南昌县文武路与武阳路交叉路口北侧', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (108, '冈上镇应急排', '南昌县人武部', '涂青松19970071988', '郑海安18979168860', 30, '应急力量', '南昌县冈上镇通江西大道冈上派出所旁', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (109, '广福镇应急排', '南昌县人武部', '涂青松19970071988', '陈思伦15870655486', 30, '应急力量', '南昌县广福镇委105国道西', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (110, '三江镇应急排', '南昌县人武部', '涂青松19970071988', '黄强19979953251', 30, '应急力量', '南昌县三江大道与解放路交叉路口往南约60米', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (111, '泾口乡应急排', '南昌县人武部', '涂青松19970071988', '樊利18900381995', 30, '应急力量', '南昌县府前路泾口供销社贸易大楼东南侧约210米', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (112, '南新乡应急排', '南昌县人武部', '涂青松19970071988', '熊永青15797751775', 30, '应急力量', '南昌县南新乡楼前街18号', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (113, '八一乡应急排', '南昌县人武部', '涂青松19970071988', '龚志刚15079114793', 30, '应急力量', '南昌县八一乡莲谢西路81号', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (114, '黄马乡应急排', '南昌县人武部', '涂青松19970071988', '吴继明15070060176', 30, '应急力量', '南昌县黄马乡振兴大道2号', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (115, '塔城乡应急排', '南昌县人武部', '涂青松19970071988', '罗传奎15979071040', 30, '应急力量', '南昌县塔城乡X023', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (116, '富山乡应急排', '南昌县人武部', '涂青松19970071988', '涂洪涛15079199269', 30, '应急力量', '南昌县富山乡迎富大道与振林东路路口', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (117, '东新乡应急排', '南昌县人武部', '涂青松19970071988', '纪春迪13767179115', 30, '应急力量', '南昌县东新乡东祥路6666号', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (118, '金湖管理处应急排', '南昌县人武部', '涂青松19970071988', '涂广涛13879181969', 30, '应急力量', '南昌县澄湖北大道99号澄碧湖大厦内', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (119, '银三角管委会应急排', '南昌县人武部', '涂青松19970071988', '熊华耀13979125819', 30, '应急力量', '南昌县澄湖北大道100号澄碧湖大厦内', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (120, '八月湖街道办应急排', '南昌县人武部', '涂青松19970071988', '邹鹏18170073365', 30, '应急力量', '南昌县诚义路与象湖路交叉口西南150米', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (121, '县人武部防汛抢险救援队伍', '南昌县人武部', '涂青松19970071988', '涂青松19970071988', 500, '应急力量', '南昌县澄湖东路1766号', '人民武装部救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (204, '莲塘小型消防站', '南昌县消防救援大队', '李强强13870099644', '李顺齐18579069297', 14, '火灾抢险救援', '南昌县莲塘镇莲富路莲塘小型消防站', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (205, '蒋巷专职消防队', '南昌县消防救援大队', '刘文辉15070915888', '刘强13970929810', 11, '火灾抢险救援', '蒋巷镇为民路老地税局旁', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (206, '向塘专职消防队', '南昌县消防救援大队', '陈锋13647001393', '李仁伟13437916266', 13, '火灾抢险救援', '江西省南昌市南昌县向塘镇银河西路新力星塘湾旁', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (207, '幽兰专职消防队', '南昌县消防救援大队', '胡友龙13576935299', '丁书豪18079163793', 6, '火灾抢险救援', '江西省南昌市南昌县幽兰镇枫林村魏家自然村12号', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (208, '塔城专职消防队', '南昌县消防救援大队', '邹仕阳13006202930', '喻学群18679936858', 6, '火灾抢险救援', '南昌县塔城乡邮政所院内', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (209, '塘南专职消防队', '南昌县消防救援大队', '万小红13767991998', '陈文迪18162108356', 7, '火灾抢险救援', '南昌县塘南镇东港口村', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (210, '新联专职消防队', '南昌县消防救援大队', '李小明15879086266', '刘廷赣15170004231', 7, '火灾抢险救援', '江西省南昌市南昌县新联乡红北路回收站对面', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (211, '广福专职消防队', '南昌县消防救援大队', '万海龙15879021690', '张国强13576023306', 5, '火灾抢险救援', '江西省南昌市南昌县广福镇南井南路60号', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (212, '南新专职消防队', '南昌县消防救援大队', '徐招福13970906323', '万中微15170087462', 4, '火灾抢险救援', '江西省南昌市南昌县南新客运站', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (213, '黄马专职消防队', '南昌县消防救援大队', '章良新13767973188', '吴桂华13755768116', 6, '火灾抢险救援', '江西省南昌市南昌县黄马乡文教东路', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (214, '冈上专职消防队', '南昌县消防救援大队', '王俊13576077742', '罗唐龙18779880568', 6, '火灾抢险救援', '南昌县冈上镇中心小学旁', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (215, '南昌县金沙二路消防救援站', '南昌县消防救援大队', '周志华13870619068', '吴建树15007003538', 30, '国家综合性救援队', '南昌县富山大道与金沙二路交界处', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (201, '莲东政府专职队', '南昌县消防救援大队', '关秋华13767035813', '胡九阳13755659798', 26, '火灾抢险救援', '南昌县莲武路119号莲东消防救援站', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (202, '洪大小型消防站', '南昌县消防救援大队', '张红付15797792928 ', '罗虎15179176646', 11, '火灾抢险救援', '江西省南昌市南昌县河洲路洪大物流园旁', '消防救援救援队伍'); -INSERT INTO "public"."rescue_teams" VALUES (203, '邓埠小型消防站', '南昌县消防救援大队', '张志鹏13065172871', '张伟15180178441', 12, '火灾抢险救援', '江西省南昌市南昌县小蓝经济开发区定埠路201号百通物流里面', '消防救援救援队伍'); +INSERT INTO "public"."rescue_teams" VALUES (1, '南昌县人民医院救援队', '南昌县人民医院', '徐凡13576016651', '王明成15979059400', 15, '医疗救援', '南昌县莲塘镇向阳路199号', '医疗救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (2, '南昌县中医院应急救援队', '南昌县中医院', '陶国金13607085068', '陶国金13607085068', 5, '医疗救援', '南昌县莲塘镇澄湖西路2016号', '医疗救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (101, '南昌县应急连', '南昌县人武部', '涂青松19970071988', '余小根18970913996', 120, '应急力量', '南昌县澄湖东路1766号', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (102, '莲塘镇应急排', '南昌县人武部', '涂青松19970071988', '朱力13767073441', 30, '应急力量', '南昌县澄湖东路1766号', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (103, '向塘镇应急排', '南昌县人武部', '涂青松19970071988', '王瑰13732952135', 30, '应急力量', '南昌县星城大道8号', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (104, '蒋巷镇应急排', '南昌县人武部', '涂青松19970071988', '陈莹奕17779152056', 30, '应急力量', '南昌县蒋巷中大道蒋巷镇政府蒋巷镇委', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (105, '幽兰镇应急排', '南昌县人武部', '涂青松19970071988', '高强17770080479', 30, '应急力量', '南昌县西大街幽兰镇人大', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (106, '塘南镇应急排', '南昌县人武部', '涂青松19970071988', '倪志超19979065868', 30, '应急力量', '南昌县拓林路塘南镇政府南昌市塘南政委', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (107, '武阳镇应急排', '南昌县人武部', '涂青松19970071988', '徐勇15170066968', 30, '应急力量', '南昌县文武路与武阳路交叉路口北侧', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (108, '冈上镇应急排', '南昌县人武部', '涂青松19970071988', '郑海安18979168860', 30, '应急力量', '南昌县冈上镇通江西大道冈上派出所旁', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (109, '广福镇应急排', '南昌县人武部', '涂青松19970071988', '陈思伦15870655486', 30, '应急力量', '南昌县广福镇委105国道西', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (110, '三江镇应急排', '南昌县人武部', '涂青松19970071988', '黄强19979953251', 30, '应急力量', '南昌县三江大道与解放路交叉路口往南约60米', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (111, '泾口乡应急排', '南昌县人武部', '涂青松19970071988', '樊利18900381995', 30, '应急力量', '南昌县府前路泾口供销社贸易大楼东南侧约210米', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (112, '南新乡应急排', '南昌县人武部', '涂青松19970071988', '熊永青15797751775', 30, '应急力量', '南昌县南新乡楼前街18号', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (113, '八一乡应急排', '南昌县人武部', '涂青松19970071988', '龚志刚15079114793', 30, '应急力量', '南昌县八一乡莲谢西路81号', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (114, '黄马乡应急排', '南昌县人武部', '涂青松19970071988', '吴继明15070060176', 30, '应急力量', '南昌县黄马乡振兴大道2号', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (115, '塔城乡应急排', '南昌县人武部', '涂青松19970071988', '罗传奎15979071040', 30, '应急力量', '南昌县塔城乡X023', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (116, '富山乡应急排', '南昌县人武部', '涂青松19970071988', '涂洪涛15079199269', 30, '应急力量', '南昌县富山乡迎富大道与振林东路路口', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (117, '东新乡应急排', '南昌县人武部', '涂青松19970071988', '纪春迪13767179115', 30, '应急力量', '南昌县东新乡东祥路6666号', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (118, '金湖管理处应急排', '南昌县人武部', '涂青松19970071988', '涂广涛13879181969', 30, '应急力量', '南昌县澄湖北大道99号澄碧湖大厦内', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (119, '银三角管委会应急排', '南昌县人武部', '涂青松19970071988', '熊华耀13979125819', 30, '应急力量', '南昌县澄湖北大道100号澄碧湖大厦内', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (120, '八月湖街道办应急排', '南昌县人武部', '涂青松19970071988', '邹鹏18170073365', 30, '应急力量', '南昌县诚义路与象湖路交叉口西南150米', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (121, '县人武部防汛抢险救援队伍', '南昌县人武部', '涂青松19970071988', '涂青松19970071988', 500, '应急力量', '南昌县澄湖东路1766号', '人民武装部救援队伍', NULL); +INSERT INTO "public"."rescue_teams" VALUES (204, '莲塘小型消防站', '南昌县消防救援大队', '李强强13870099644', '李顺齐18579069297', 14, '火灾抢险救援', '南昌县莲塘镇莲富路莲塘小型消防站', '消防救援救援队伍', '115.940609,28.542945'); +INSERT INTO "public"."rescue_teams" VALUES (205, '蒋巷专职消防队', '南昌县消防救援大队', '刘文辉15070915888', '刘强13970929810', 11, '火灾抢险救援', '蒋巷镇为民路老地税局旁', '消防救援救援队伍', '116.030873,28.768705'); +INSERT INTO "public"."rescue_teams" VALUES (206, '向塘专职消防队', '南昌县消防救援大队', '陈锋13647001393', '李仁伟13437916266', 13, '火灾抢险救援', '江西省南昌市南昌县向塘镇银河西路新力星塘湾旁', '消防救援救援队伍', '115.965868,28.454384'); +INSERT INTO "public"."rescue_teams" VALUES (207, '幽兰专职消防队', '南昌县消防救援大队', '胡友龙13576935299', '丁书豪18079163793', 6, '火灾抢险救援', '江西省南昌市南昌县幽兰镇枫林村魏家自然村12号', '消防救援救援队伍', '116.165356,28.583497'); +INSERT INTO "public"."rescue_teams" VALUES (208, '塔城专职消防队', '南昌县消防救援大队', '邹仕阳13006202930', '喻学群18679936858', 6, '火灾抢险救援', '南昌县塔城乡邮政所院内', '消防救援救援队伍', '116.102695,28.5084'); +INSERT INTO "public"."rescue_teams" VALUES (209, '塘南专职消防队', '南昌县消防救援大队', '万小红13767991998', '陈文迪18162108356', 7, '火灾抢险救援', '南昌县塘南镇东港口村', '消防救援救援队伍', '116.158256,28.662788'); +INSERT INTO "public"."rescue_teams" VALUES (210, '新联专职消防队', '南昌县消防救援大队', '李小明15879086266', '刘廷赣15170004231', 7, '火灾抢险救援', '江西省南昌市南昌县新联乡红北路回收站对面', '消防救援救援队伍', '116.257482,28.738728'); +INSERT INTO "public"."rescue_teams" VALUES (211, '广福专职消防队', '南昌县消防救援大队', '万海龙15879021690', '张国强13576023306', 5, '火灾抢险救援', '江西省南昌市南昌县广福镇南井南路60号', '消防救援救援队伍', '115.919026,28.367753'); +INSERT INTO "public"."rescue_teams" VALUES (212, '南新专职消防队', '南昌县消防救援大队', '徐招福13970906323', '万中微15170087462', 4, '火灾抢险救援', '江西省南昌市南昌县南新客运站', '消防救援救援队伍', '116.076911,28.803583'); +INSERT INTO "public"."rescue_teams" VALUES (213, '黄马专职消防队', '南昌县消防救援大队', '章良新13767973188', '吴桂华13755768116', 6, '火灾抢险救援', '江西省南昌市南昌县黄马乡文教东路', '消防救援救援队伍', '116.024803,28.351752'); +INSERT INTO "public"."rescue_teams" VALUES (215, '南昌县金沙二路消防救援站', '南昌县消防救援大队', '周志华13870619068', '吴建树15007003538', 30, '国家综合性救援队', '南昌县富山大道与金沙二路交界处', '消防救援救援队伍', '115.88316,28.545788'); +INSERT INTO "public"."rescue_teams" VALUES (214, '冈上专职消防队', '南昌县消防救援大队', '王俊13576077742', '罗唐龙18779880568', 6, '火灾抢险救援', '南昌县冈上镇中心小学旁', '消防救援救援队伍', '115.858906,28.412001'); +INSERT INTO "public"."rescue_teams" VALUES (203, '邓埠小型消防站', '南昌县消防救援大队', '张志鹏13065172871', '张伟15180178441', 12, '火灾抢险救援', '江西省南昌市南昌县小蓝经济开发区定埠路201号百通物流里面', '消防救援救援队伍', '115.907418,28.57472'); +INSERT INTO "public"."rescue_teams" VALUES (202, '洪大小型消防站', '南昌县消防救援大队', '张红付15797792928 ', '罗虎15179176646', 11, '火灾抢险救援', '江西省南昌市南昌县河洲路洪大物流园旁', '消防救援救援队伍', '115.847567,28.606392'); +INSERT INTO "public"."rescue_teams" VALUES (201, '莲东政府专职队', '南昌县消防救援大队', '关秋华13767035813', '胡九阳13755659798', 26, '火灾抢险救援', '南昌县莲武路119号莲东消防救援站', '消防救援救援队伍', '115.959336,28.536176'); + diff --git a/super-screen/client/assets/images/homepage/fire/alarminfowindow.png b/super-screen/client/assets/images/homepage/fire/alarminfowindow.png new file mode 100644 index 0000000..0ac66e4 Binary files /dev/null and b/super-screen/client/assets/images/homepage/fire/alarminfowindow.png differ diff --git a/super-screen/client/assets/images/homepage/fire/rescue_icon.png b/super-screen/client/assets/images/homepage/fire/rescue_icon.png new file mode 100644 index 0000000..f671fcd Binary files /dev/null and b/super-screen/client/assets/images/homepage/fire/rescue_icon.png differ diff --git a/super-screen/client/assets/images/homepage/fire/rescue_label.png b/super-screen/client/assets/images/homepage/fire/rescue_label.png new file mode 100644 index 0000000..83deb41 Binary files /dev/null and b/super-screen/client/assets/images/homepage/fire/rescue_label.png differ diff --git a/super-screen/client/src/sections/fire-control/actions/fire.js b/super-screen/client/src/sections/fire-control/actions/fire.js index 23dd394..3b5b12c 100644 --- a/super-screen/client/src/sections/fire-control/actions/fire.js +++ b/super-screen/client/src/sections/fire-control/actions/fire.js @@ -36,7 +36,7 @@ export function modifyFireAlarm(id, params) { actionType: 'MODIFY_FIRE_ALARM', url: ApiTable.modifyFireAlarm.replace('{id}', id), msg: { - option: '编辑消防告警', + option: '', }, }); } diff --git a/super-screen/client/src/sections/fire-control/components/alarm-add.js b/super-screen/client/src/sections/fire-control/components/alarm-add.js index 36f65b9..8a34fcb 100644 --- a/super-screen/client/src/sections/fire-control/components/alarm-add.js +++ b/super-screen/client/src/sections/fire-control/components/alarm-add.js @@ -22,7 +22,7 @@ function FireAddForm(props) { const eventType = Form.useWatch('type', form); const renderInfowindow = () => { - return