Browse Source

(+)水利实时态势接口提交 大屏展示优化

master
peng.peng 1 year ago
parent
commit
6c27e53b02
  1. 5
      api/app/lib/controllers/superScreen/community.js
  2. 5
      api/app/lib/controllers/superScreen/fire.js
  3. 22
      api/app/lib/controllers/superScreen/water.js
  4. 2
      api/app/lib/middlewares/authenticator.js
  5. 124
      api/app/lib/models/emergency_material_statistics.js
  6. 250
      api/app/lib/models/emergency_shelter_basic_info_statistics.js
  7. 61
      api/app/lib/models/flood_control_headquarters.js
  8. 97
      api/app/lib/models/rescue_teams.js
  9. 0
      api/app/lib/routes/superScreen/community.js
  10. 0
      api/app/lib/routes/superScreen/fire.js
  11. 11
      api/app/lib/routes/superScreen/water.js
  12. 2
      api/sequelize-automate.config.js
  13. 78
      scripts/0.0.12/emergency_material_statistics.sql
  14. 119
      scripts/0.0.12/emergency_shelter_basic_info_statistics.sql
  15. 53
      scripts/0.0.12/flood_control_headquarters.sql
  16. 91
      scripts/0.0.12/rescue_teams.sql
  17. 9
      super-screen/client/src/sections/community-safty/components/style.less
  18. 10
      super-screen/client/src/sections/fire-control/components/left-bottom.js
  19. 3
      super-screen/client/src/sections/fire-control/components/style.less
  20. 16
      super-screen/client/src/sections/water-prevention/components/left-top.js
  21. 66
      super-screen/client/src/sections/water-prevention/components/style.less

5
api/app/lib/controllers/superScreen/community.js

@ -0,0 +1,5 @@
'use strict';
module.exports = {
}

5
api/app/lib/controllers/superScreen/fire.js

@ -0,0 +1,5 @@
'use strict';
module.exports = {
}

22
api/app/lib/controllers/superScreen/water.js

@ -0,0 +1,22 @@
'use strict';
function getRealStateData(opts) {
return async function (ctx, next) {
const models = ctx.fs.dc.models;
let errMsg = { message: '获取水务实时态势数据失败' }
try {
const res = await models.FloodControlHeadquarters.findAll();
ctx.status = 200;
ctx.body = res;
} catch (error) {
ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`);
ctx.status = 400;
ctx.body = errMsg
}
}
}
module.exports = {
getRealStateData
}

2
api/app/lib/middlewares/authenticator.js

@ -59,6 +59,8 @@ let isPathExcluded = function (opts, path, method) {
let excludeOpts = opts.exclude || [];
excludeOpts.push({ p: '/login', o: 'POST' });
excludeOpts.push({ p: '/logout', o: 'PUT' });
excludeOpts.push({ p: '/water/realstate', o: 'GET' });
excludes = new ExcludesUrls(excludeOpts);
}
let excluded = excludeAll || excludes.isExcluded(path, method);

124
api/app/lib/models/emergency_material_statistics.js

@ -0,0 +1,124 @@
/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const EmergencyMaterialStatistics = sequelize.define("emergencyMaterialStatistics", {
id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: "序号",
primaryKey: true,
field: "id",
autoIncrement: true
},
organization: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "管理机构",
primaryKey: false,
field: "organization",
autoIncrement: false
},
city: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "市",
primaryKey: false,
field: "city",
autoIncrement: false
},
county: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "区县",
primaryKey: false,
field: "county",
autoIncrement: false
},
street: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "乡镇街道",
primaryKey: false,
field: "street",
autoIncrement: false
},
location: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "仓库详细地址",
primaryKey: false,
field: "location",
autoIncrement: false
},
longitude: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "经度",
primaryKey: false,
field: "longitude",
autoIncrement: false
},
latitude: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "纬度",
primaryKey: false,
field: "latitude",
autoIncrement: false
},
responsiblePerson: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "仓库联系人",
primaryKey: false,
field: "responsible_person",
autoIncrement: false
},
phone: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "联系电话",
primaryKey: false,
field: "phone",
autoIncrement: false
},
area: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "仓储点面积",
primaryKey: false,
field: "area",
autoIncrement: false
},
materialDescription: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "储备物资及数量(棉被、毛毯、毛巾被、帐篷、折叠床、凉席、冬装)",
primaryKey: false,
field: "material_description",
autoIncrement: false
}
}, {
tableName: "emergency_material_statistics",
comment: "",
indexes: []
});
dc.models.EmergencyMaterialStatistics = EmergencyMaterialStatistics;
return EmergencyMaterialStatistics;
};

250
api/app/lib/models/emergency_shelter_basic_info_statistics.js

@ -0,0 +1,250 @@
/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const EmergencyShelterBasicInfoStatistics = sequelize.define("emergencyShelterBasicInfoStatistics", {
id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: "序号",
primaryKey: true,
field: "id",
autoIncrement: true
},
shelterName: {
type: DataTypes.TEXT,
allowNull: false,
defaultValue: null,
comment: "应急避难场所全称",
primaryKey: false,
field: "shelter_name",
autoIncrement: false
},
address: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "应急避难场所地址",
primaryKey: false,
field: "address",
autoIncrement: false
},
eventType: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "按突发事件类型分类",
primaryKey: false,
field: "event_type",
autoIncrement: false
},
shelterType: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "避难种类",
primaryKey: false,
field: "shelter_type",
autoIncrement: false
},
designClassificationDuration: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "按避难时长设计分类",
primaryKey: false,
field: "design_classification_duration",
autoIncrement: false
},
spaceType: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "按空间类型分类",
primaryKey: false,
field: "space_type",
autoIncrement: false
},
functionClassification: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "按总体功能定位分类",
primaryKey: false,
field: "function_classification",
autoIncrement: false
},
constructionType: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "应急避难场所建设类型",
primaryKey: false,
field: "construction_type",
autoIncrement: false
},
totalArea: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "应急避难场所占地总面积(平方米",
primaryKey: false,
field: "total_area",
autoIncrement: false
},
indoorArea: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "应急避难场所室内面积(平方米)",
primaryKey: false,
field: "indoor_area",
autoIncrement: false
},
capacity: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "避难场所容纳\r\n人数(人)",
primaryKey: false,
field: "capacity",
autoIncrement: false
},
materialReserves: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "物资\r\n储备",
primaryKey: false,
field: "material_reserves",
autoIncrement: false
},
emergencyFacilities: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "应急\r\n设施",
primaryKey: false,
field: "emergency_facilities",
autoIncrement: false
},
certificationDepartment: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "认定部门",
primaryKey: false,
field: "certification_department",
autoIncrement: false
},
supervisingUnit: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "主管单位",
primaryKey: false,
field: "supervising_unit",
autoIncrement: false
},
constructionUnit: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "建设单位",
primaryKey: false,
field: "construction_unit",
autoIncrement: false
},
completionDate: {
type: DataTypes.DATEONLY,
allowNull: true,
defaultValue: null,
comment: "建成(或挂牌)\r\n时间",
primaryKey: false,
field: "completion_date",
autoIncrement: false
},
plannedStatus: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "规划\r\n情况",
primaryKey: false,
field: "planned_status",
autoIncrement: false
},
totalInvestment: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "建设总投资(万元)",
primaryKey: false,
field: "total_investment",
autoIncrement: false
},
constructionStandardName: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "建设标准名称",
primaryKey: false,
field: "construction_standard_name",
autoIncrement: false
},
dailyMaintenanceNumbers: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "日常维护或管理人员数量",
primaryKey: false,
field: "daily_maintenance_numbers",
autoIncrement: false
},
dedicatedMaintenanceNumbers: {
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: "其中:专职维护或管理人员数量",
primaryKey: false,
field: "dedicated_maintenance_numbers",
autoIncrement: false
},
propertyOwnerOperator: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "产权/运维单位",
primaryKey: false,
field: "property_owner_operator",
autoIncrement: false
},
operationInvestment: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "运维投入",
primaryKey: false,
field: "operation_investment",
autoIncrement: false
},
operationInvestmentchannel: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
comment: "运维投入渠道",
primaryKey: false,
field: "operation_investmentchannel",
autoIncrement: false
}
}, {
tableName: "emergency_shelter_basic_info_statistics",
comment: "",
indexes: []
});
dc.models.EmergencyShelterBasicInfoStatistics = EmergencyShelterBasicInfoStatistics;
return EmergencyShelterBasicInfoStatistics;
};

61
api/app/lib/models/flood_control_headquarters.js

@ -0,0 +1,61 @@
/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const FloodControlHeadquarters = sequelize.define("floodControlHeadquarters", {
id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: "序号",
primaryKey: true,
field: "id",
autoIncrement: true
},
name: {
type: DataTypes.STRING,
allowNull: false,
defaultValue: null,
comment: "名称",
primaryKey: false,
field: "name",
autoIncrement: false
},
location: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "设立地点",
primaryKey: false,
field: "location",
autoIncrement: false
},
dikeLength: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "管辖堤长",
primaryKey: false,
field: "dike_length",
autoIncrement: false
},
commander: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "指挥",
primaryKey: false,
field: "commander",
autoIncrement: false
}
}, {
tableName: "flood_control_headquarters",
comment: "",
indexes: []
});
dc.models.FloodControlHeadquarters = FloodControlHeadquarters;
return FloodControlHeadquarters;
};

97
api/app/lib/models/rescue_teams.js

@ -0,0 +1,97 @@
/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const RescueTeams = sequelize.define("rescueTeams", {
id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: null,
comment: "序号",
primaryKey: true,
field: "id",
autoIncrement: true
},
teamName: {
type: DataTypes.STRING,
allowNull: false,
defaultValue: null,
comment: "救援队伍名称",
primaryKey: false,
field: "team_name",
autoIncrement: false
},
supervisoryUnit: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "主管单位",
primaryKey: false,
field: "supervisory_unit",
autoIncrement: false
},
leaderContactPhone: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "负责人及\r\n联系电话",
primaryKey: false,
field: "leader_contact_phone",
autoIncrement: false
},
emergencyContactPhone: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "应急联系人及联系电话",
primaryKey: false,
field: "emergency_contact_phone",
autoIncrement: false
},
totalMembers: {
type: DataTypes.INTEGER,
allowNull: true,
defaultValue: null,
comment: "总人数",
primaryKey: false,
field: "total_members",
autoIncrement: false
},
teamType: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "队伍类型",
primaryKey: false,
field: "team_type",
autoIncrement: false
},
baseAddress: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "驻地地址",
primaryKey: false,
field: "base_address",
autoIncrement: false
},
teamCategory: {
type: DataTypes.STRING,
allowNull: true,
defaultValue: null,
comment: "队伍种类",
primaryKey: false,
field: "team_category",
autoIncrement: false
}
}, {
tableName: "rescue_teams",
comment: "",
indexes: []
});
dc.models.RescueTeams = RescueTeams;
return RescueTeams;
};

0
api/app/lib/routes/superScreen/community.js

0
api/app/lib/routes/superScreen/fire.js

11
api/app/lib/routes/superScreen/water.js

@ -0,0 +1,11 @@
'use strict';
const water = require('../../controllers/superScreen/water');
module.exports = function (app, router, opts, AuthCode) {
//获取实时态势数据
app.fs.api.logAttr['GET/water/realstate'] = { content: '获取实时态势数据', visible: true };
router.get('/water/realstate', water.getRealStateData(opts));
};

2
api/sequelize-automate.config.js

@ -26,7 +26,7 @@ module.exports = {
dir: './app/lib/models', // 指定输出 models 文件的目录
typesDir: 'models', // 指定输出 TypeScript 类型定义的文件目录,只有 TypeScript / Midway 等会有类型定义
emptyDir: false, // !!! 谨慎操作 生成 models 之前是否清空 `dir` 以及 `typesDir`
tables: ['t_restful_api_record'], // 指定生成哪些表的 models,如 ['user', 'user_post'];如果为 null,则忽略改属性
tables: ['rescue_teams', 'emergency_material_statistics', 'emergency_shelter_basic_info_statistics', 'flood_control_headquarters'], // 指定生成哪些表的 models,如 ['user', 'user_post'];如果为 null,则忽略改属性
skipTables: [], // 指定跳过哪些表的 models,如 ['user'];如果为 null,则忽略改属性
tsNoCheck: false, // 是否添加 `@ts-nocheck` 注释到 models 文件中
ignorePrefix: ['t_',], // 生成的模型名称忽略的前缀,因为 项目中有以下表名是以 t_ 开头的,在实际模型中不需要, 可以添加多个 [ 't_data_', 't_',] ,长度较长的 前缀放前面

78
scripts/0.0.12/emergency_material_statistics.sql

@ -0,0 +1,78 @@
/*
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 : jilin
Source Schema : public
Target Server Type : PostgreSQL
Target Server Version : 120001
File Encoding : 65001
Date: 16/08/2023 11:31:33
*/
-- ----------------------------
-- Table structure for emergency_material_statistics
-- ----------------------------
DROP TABLE IF EXISTS "public"."emergency_material_statistics";
CREATE TABLE "public"."emergency_material_statistics" (
"id" serial PRIMARY KEY,
"organization" varchar(255) COLLATE "pg_catalog"."default",
"city" varchar(255) COLLATE "pg_catalog"."default",
"county" varchar(255) COLLATE "pg_catalog"."default",
"street" varchar(255) COLLATE "pg_catalog"."default",
"location" varchar(255) COLLATE "pg_catalog"."default",
"longitude" float8,
"latitude" float8,
"responsible_person" varchar(255) COLLATE "pg_catalog"."default",
"phone" varchar(20) COLLATE "pg_catalog"."default",
"area" float8,
"material_description" text COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "public"."emergency_material_statistics"."id" IS '序号';
COMMENT ON COLUMN "public"."emergency_material_statistics"."organization" IS '管理机构';
COMMENT ON COLUMN "public"."emergency_material_statistics"."city" IS '';
COMMENT ON COLUMN "public"."emergency_material_statistics"."county" IS '区县';
COMMENT ON COLUMN "public"."emergency_material_statistics"."street" IS '乡镇街道';
COMMENT ON COLUMN "public"."emergency_material_statistics"."location" IS '仓库详细地址';
COMMENT ON COLUMN "public"."emergency_material_statistics"."longitude" IS '经度';
COMMENT ON COLUMN "public"."emergency_material_statistics"."latitude" IS '纬度';
COMMENT ON COLUMN "public"."emergency_material_statistics"."responsible_person" IS '仓库联系人';
COMMENT ON COLUMN "public"."emergency_material_statistics"."phone" IS '联系电话';
COMMENT ON COLUMN "public"."emergency_material_statistics"."area" IS '仓储点面积';
COMMENT ON COLUMN "public"."emergency_material_statistics"."material_description" IS '储备物资及数量(棉被、毛毯、毛巾被、帐篷、折叠床、凉席、冬装)';
-- ----------------------------
-- Records of emergency_material_statistics
-- ----------------------------
INSERT INTO "public"."emergency_material_statistics" VALUES (1, '县应急管理局', '南昌市', '南昌县', '莲塘镇', '莲塘镇政府', 115.934005, 28.542549, '黄家磊', '17879559466', 80, '棉被20床、毛毯20床、毛巾被100床、折叠床20张');
INSERT INTO "public"."emergency_material_statistics" VALUES (2, '县应急管理局', '南昌市', '南昌县', '八月湖街道', '昌南体育中心防灾减灾馆', 115.884817, 28.591357, '邓芬芬', '13576958052', 20, '棉被20床');
INSERT INTO "public"."emergency_material_statistics" VALUES (3, '县应急管理局', '南昌市', '南昌县', '泾口乡', '泾口乡武装部', 120.77224, 30.005408, '舒双凤', '13307009875', 50, '棉被20床、帐篷5顶、折叠床10张、凉席10床');
INSERT INTO "public"."emergency_material_statistics" VALUES (4, '县应急管理局', '南昌市', '南昌县', '向塘镇', '向塘镇人民政府', 115.966156, 28.453829, '宋春丽', '13677096615', 60, '棉被30床、折叠床20床');
INSERT INTO "public"."emergency_material_statistics" VALUES (5, '县应急管理局', '南昌市', '南昌县', '冈上镇', '冈上镇人民政府', 115.867904, 28.415851, '辜承晋', '18979126988', 25, '棉被34条');
INSERT INTO "public"."emergency_material_statistics" VALUES (6, '县应急管理局', '南昌市', '南昌县', '东新乡', '东新乡人民政府', 115.846667, 28.601297, '邓保根', '17379136555', 50, '棉被10床、毛毯10床、毛巾被50床、折叠床10张');
INSERT INTO "public"."emergency_material_statistics" VALUES (7, '县应急管理局', '南昌市', '南昌县', '塔城乡', '塔城乡人民政府', 116.095003, 28.506438, '蔡林', '13970003698', 30, '棉被30床、帐篷2顶、折叠床10张、冬装30件(套)');
INSERT INTO "public"."emergency_material_statistics" VALUES (8, '县应急管理局', '南昌市', '南昌县', '广福镇', '广福镇人民政府', 115.918078, 28.370138, '李文姣', '19100293093', 35, '棉被10床、毛毯10床、毛巾被30床、折叠床10张');
INSERT INTO "public"."emergency_material_statistics" VALUES (9, '县应急管理局', '南昌市', '南昌县', '幽兰镇', '幽兰水管站仓库', 116.151329, 28.58028, '万义军', '13607915898', 200, '');
INSERT INTO "public"."emergency_material_statistics" VALUES (10, '县应急管理局', '南昌市', '南昌县', '三江镇', '三江镇人民政府', 116.0031642, 28.2954574, '欧阳浩', '18270812730', 36, '棉被30条 ');
INSERT INTO "public"."emergency_material_statistics" VALUES (11, '县应急管理局', '南昌市', '南昌县', '南新乡', '南新乡人民政府', 116.032889, 28.806928, '徐梦婷', '13732945381', 22, '棉被60床、毛毯60床');
INSERT INTO "public"."emergency_material_statistics" VALUES (12, '县应急管理局', '南昌市', '南昌县', '银三角管委会', '南昌县银河学校对面(文晖路33号)', 115.86459, 28.68946, '胡来水', '13870666535', 55, '棉被30床、毛巾被50条、折叠床10张');
INSERT INTO "public"."emergency_material_statistics" VALUES (13, '县应急管理局', '南昌市', '南昌县', '蒋巷镇', '蒋巷镇政府六楼民兵仓库', 116.025325, 28.770744, '黄金标', '13870669266', 120, '棉被100床、毛毯100床、毛巾被100床、帐篷6顶、折叠床10张');
INSERT INTO "public"."emergency_material_statistics" VALUES (14, '县应急管理局', '南昌市', '南昌县', '蒋巷镇', '蒋巷镇后河排灌站仓库', 116.034125, 28.775473, '黄金标', '13870669266', 300, '棉被100床、毛毯100床、毛巾被100床、帐篷6顶、折叠床10张');
INSERT INTO "public"."emergency_material_statistics" VALUES (15, '县应急管理局', '南昌市', '南昌县', '蒋巷镇', '蒋巷镇西舍仓库', 116.17189, 28.856826, '黄金标', '13870669266', 200, '棉被100床、毛毯100床、毛巾被100床、帐篷6顶、折叠床10张');
INSERT INTO "public"."emergency_material_statistics" VALUES (16, '县应急管理局', '南昌市', '南昌县', '黄马乡', '黄马乡人民政府', 116.021013, 28.338848, '罗柏林', '18702570270', 36, '');
INSERT INTO "public"."emergency_material_statistics" VALUES (17, '县应急管理局', '南昌市', '南昌县', '富山乡', '富山乡人民政府', 115.854744, 28.520864, '喻跃华', '13870903419', 40, '棉被30、折叠床6');
INSERT INTO "public"."emergency_material_statistics" VALUES (18, '县应急管理局', '南昌市', '南昌县', '塘南镇', '塘南镇人民政府', 116.14349, 28.654787, '倪志超', '13026203979', 30, '棉被30');
INSERT INTO "public"."emergency_material_statistics" VALUES (19, '县应急管理局', '南昌市', '南昌县', '八一乡', '老八一排渍道电排站', 115.970601, 28.567239, '郑必兴', '18970851286', 300, '');
INSERT INTO "public"."emergency_material_statistics" VALUES (20, '县应急管理局', '南昌市', '南昌县', '八一乡', '叶家棚', 115.960657, 28.556042, '郑必兴', '18970851286', 200, '');
INSERT INTO "public"."emergency_material_statistics" VALUES (21, '县应急管理局', '南昌市', '南昌县', '武阳镇', '武阳镇人民政府', 116.019749, 28.517266, '徐勇', '15170066968', 45, '棉被60');
INSERT INTO "public"."emergency_material_statistics" VALUES (22, '县应急管理局', '南昌市', '南昌县', '银湖管理处', '小蓝经开区银湖管理处', 115.907692856, 28.570128845, '陈志涛', '17779105591', 30, '棉被32床、毛毯30床、毛巾被60床、折叠床10张');
INSERT INTO "public"."emergency_material_statistics" VALUES (23, '县应急管理局', '南昌市', '南昌县', '金湖管理处', '小蓝经开区金湖管理处', 115.863867297, 28.540310433, '袁梦桐', '18970806148', 30, '棉被30床、折叠床20张');
INSERT INTO "public"."emergency_material_statistics" VALUES (24, '县应急管理局', '南昌市', '南昌县', '南昌县应急救灾物资储备库', '南昌县莲塘南大道1115号', 115.95298, 28.52405, '', '', 0, '棉被3570床、毛毯3500床、毛巾被3570床、帐篷584床、折叠床3500张');

119
scripts/0.0.12/emergency_shelter_basic_info_statistics.sql

@ -0,0 +1,119 @@
/*
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 : jilin
Source Schema : public
Target Server Type : PostgreSQL
Target Server Version : 120001
File Encoding : 65001
Date: 16/08/2023 11:06:25
*/
-- ----------------------------
-- Table structure for emergency_shelter_basic_info_statistics
-- ----------------------------
DROP TABLE IF EXISTS "public"."emergency_shelter_basic_info_statistics";
CREATE TABLE "public"."emergency_shelter_basic_info_statistics" (
"id" int4 NOT NULL DEFAULT nextval('emergency_shelter_basic_info_statistics_id_seq'::regclass),
"shelter_name" text COLLATE "pg_catalog"."default" NOT NULL,
"address" text COLLATE "pg_catalog"."default",
"event_type" text COLLATE "pg_catalog"."default",
"shelter_type" text COLLATE "pg_catalog"."default",
"design_classification_duration" text COLLATE "pg_catalog"."default",
"space_type" text COLLATE "pg_catalog"."default",
"function_classification" text COLLATE "pg_catalog"."default",
"construction_type" text COLLATE "pg_catalog"."default",
"total_area" numeric(10,2),
"indoor_area" numeric(10,2),
"capacity" numeric(6),
"material_reserves" text COLLATE "pg_catalog"."default",
"emergency_facilities" text COLLATE "pg_catalog"."default",
"certification_department" text COLLATE "pg_catalog"."default",
"supervising_unit" text COLLATE "pg_catalog"."default",
"construction_unit" text COLLATE "pg_catalog"."default",
"completion_date" date,
"planned_status" text COLLATE "pg_catalog"."default",
"total_investment" numeric(10,3),
"construction_standard_name" text COLLATE "pg_catalog"."default",
"daily_maintenance_numbers" numeric(3),
"dedicated_maintenance_numbers" numeric(3),
"property_owner_operator" text COLLATE "pg_catalog"."default",
"operation_investment" text COLLATE "pg_catalog"."default",
"operation_investmentchannel" text COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."id" IS '序号';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."shelter_name" IS '应急避难场所全称';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."address" IS '应急避难场所地址';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."event_type" IS '按突发事件类型分类';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."shelter_type" IS '避难种类';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."design_classification_duration" IS '按避难时长设计分类';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."space_type" IS '按空间类型分类';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."function_classification" IS '按总体功能定位分类';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."construction_type" IS '应急避难场所建设类型';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."total_area" IS '应急避难场所占地总面积(平方米';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."indoor_area" IS '应急避难场所室内面积(平方米)';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."capacity" IS '避难场所容纳
';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."material_reserves" IS '物资
';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."emergency_facilities" IS '应急
';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."certification_department" IS '认定部门';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."supervising_unit" IS '主管单位';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."construction_unit" IS '建设单位';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."completion_date" IS '建成(或挂牌)
';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."planned_status" IS '规划
';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."total_investment" IS '建设总投资(万元)';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."construction_standard_name" IS '建设标准名称';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."daily_maintenance_numbers" IS '日常维护或管理人员数量';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."dedicated_maintenance_numbers" IS '其中:专职维护或管理人员数量';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."property_owner_operator" IS '产权/运维单位';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."operation_investment" IS '运维投入';
COMMENT ON COLUMN "public"."emergency_shelter_basic_info_statistics"."operation_investmentchannel" IS '运维投入渠道';
-- ----------------------------
-- Records of emergency_shelter_basic_info_statistics
-- ----------------------------
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (1, '昌南体育中心应急避难场所', '南昌县东新乡东新二路116号', '自然灾害', '地震', '短期避难场所(2-14天)', '室外', '单一型', '公园(绿地)类', 230000.00, 0.00, 45000, '无物资储备', '消防设施/供水设施/供电设施', '应急管理部门', '应急管理部门', '应急管理部门', '2017-08-01', '未纳入城市总体或城乡建设规划', 0.000, '地震应急避难场所', 1, 0, '应急管理部门', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (2, '澄碧湖公园应急避难场所', '南昌县莲塘镇澄湖北大道99号', '自然灾害', '地震', '紧急避险场所(1天以内)', '室外', '单一型', '公园(绿地)类', 350955.00, 0.00, 40000, '无物资储备', '供水设施/供电设施', '应急管理部门', '应急管理部门', '应急管理部门', '2017-09-01', '未纳入城市总体或城乡建设规划', 0.000, '待确认', 1, 0, '应急管理部门', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (3, '莲塘镇王家社区澄湖左岸应急避南场所', '莲塘镇澄湖左岸小区广场', '自然灾害', '综合自然灾害', '短期避难场所(2-14天)', '室外', '综合型', '广场类', 500.00, 0.00, 600, '基本生活物资/医疗物资', '无应急设施', '应急管理部门', '应急管理部门', '其他部门', '2020-07-01', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 1, 1, '应急管理部门', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (4, '南昌县八月湖街道居住主题公园应急避难场所', '八月湖街道居住主题公园小区小洲路旁篮球场', '自然灾害', '地震', '紧急避险场所(1天以内)', '室外', '单一型', '体育场馆类', 600.00, 600.00, 400, '无物资储备', '无应急设施', '应急管理部门', '应急管理部门', '其他部门', '2017-12-01', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 6, 6, '街道、社区、村', '有,纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (5, '南昌县银三角迎富社区应急避难场所', '银三角迎富社区', '自然灾害', '地震', '长期避难场所(15天以上)', '室外', '综合型', '体育场馆类', 800.00, 800.00, 1000, '基本生活物资', '消防设施', '应急管理部门', '应急管理部门', '其他部门', '2021-06-16', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 1, 1, '街道、社区、村', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (6, '南昌县八月湖街道芳湖苑社区应急避难场所', '南昌县八月湖街道芳湖苑社区象湖桃源小区北广场和74栋北广场', '自然灾害', '综合自然灾害', '紧急避险场所(1天以内)', '室外', '综合型', '广场类', 2400.00, 0.00, 4000, '基本生活物资/医疗物资', '消防设施', '应急管理部门', '应急管理部门', '其他部门', '2021-07-01', '未纳入城市总体或城乡建设规划', 0.000, '待确认', 5, 1, '街道、社区、村', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (7, '莲塘镇王家社区赣抚平原小区', '莲塘镇王家一路', '自然灾害', '综合自然灾害', '短期避难场所(2-14天)', '室外', '综合型', '广场类', 500.00, 0.00, 500, '基本生活物资/医疗物资', '无应急设施', '应急管理部门', '应急管理部门', '其他部门', '2020-07-01', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 3, 3, '街道、社区、村', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (8, '八月湖街道滨河社区幸福时光避难场所', '八月湖街道滨河社区幸福时光五期15栋旁', '其他突发事件', '其他突发事件', '紧急避险场所(1天以内)', '室外', '综合型', '广场类', 1000.00, 0.00, 1800, '基本生活物资/医疗物资', '消防设施/供水设施', '应急管理部门', '应急管理部门', '其他部门', '2015-12-28', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 1, 1, '应急管理部门', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (9, '八月湖街道滨河社区幸福时光避难场所', '八月湖街道滨河社区幸福时光五期3栋对面', '其他突发事件', '其他突发事件', '紧急避险场所(1天以内)', '室外', '综合型', '广场类', 800.00, 0.00, 1500, '基本生活物资/医疗物资', '消防设施/供水设施', '应急管理部门', '应急管理部门', '其他部门', '2015-12-28', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 1, 1, '应急管理部门', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (10, '南昌县人民公园应急避难场所', '南昌县莲塘镇公园路28号', '自然灾害', '地震', '紧急避险场所(1天以内)', '室外', '单一型', '公园(绿地)类', 26000.00, 0.00, 1500, '无物资储备', '供水设施/供电设施', '应急管理部门', '应急管理部门', '应急管理部门', '2017-09-01', '未纳入城市总体或城乡建设规划', 0.000, '待确认', 1, 0, '应急管理部门', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (11, '八月湖街道象北社区应急避难场所', '八月湖街道九里象湖城', '自然灾害', '地震', '紧急避险场所(1天以内)', '室内', '综合型', '人防设施类', 2000.00, 600.00, 500, '基本生活物资/医疗物资', '通讯设施/供水设施/供电设施', '人防部门/地震部门', '住建部门/应急管理部门/地震部门/人防部门', '住建部门/人防部门', '2020-03-01', '已纳入城市总体或城乡建设规划', 0.000, '地震应急避难场所', 2, 1, '住建部门', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (12, '澄碧湖社区君悦府小区应急避难场所', '江西省南昌市南昌县莲塘镇农科路235号18栋北面', '其他突发事件', '其他突发事件', '紧急避险场所(1天以内)', '室外', '综合型', '广场类', 1600.00, 0.00, 1600, '基本生活物资', '消防设施/供电设施', '应急管理部门', '应急管理部门', '其他部门', '2021-07-01', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 7, 1, '街道、社区、村', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (13, '八月湖街道丰源淳和社区应急避难场所', '丰源淳和小区球场', '自然灾害', '综合自然灾害', '紧急避险场所(1天以内)', '室内外兼有', '综合型', '广场类', 300.00, 2000.00, 8000, '疏散安置用具/基本生活物资', '消防设施', '应急管理部门', '应急管理部门', '其他部门', '2018-10-01', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 1, 1, '街道、社区、村', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (14, '八月湖街道杨家湾社区应急避难场所', '八月湖街道杨家湾社区', '其他突发事件', '地震', '紧急避险场所(1天以内)', '室外', '综合型', '广场类', 1600.00, 0.00, 3500, '医疗物资', '消防设施', '应急管理部门', '应急管理部门', '其他部门', '2014-12-01', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 1, 1, '街道、社区、村', '有,未纳入预算', '其他');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (15, '南昌县八月湖街道金沙大道社区应急避难场所', '居住主题公园C区篮球场', '自然灾害', '地震', '紧急避险场所(1天以内)', '室内外兼有', '综合型', '体育场馆类', 1000.00, 1000.00, 2000, '基本生活物资', '消防设施/医疗设施', '应急管理部门/人防部门', '应急管理部门', '应急管理部门', '2021-11-01', '未纳入城市总体或城乡建设规划', 0.000, '地震应急避难场所', 13, 3, '住建部门', '有,纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (16, '八月湖海嘉路社区', '海嘉路社区', '其他突发事件', '地震', '紧急避险场所(1天以内)', '室外', '综合型', '广场类', 800.00, 400.00, 2500, '基本生活物资', '消防设施', '住建部门/应急管理部门', '发改部门/住建部门', '应急管理部门/住建部门', '2018-10-01', '已纳入城市总体或城乡建设规划', 0.000, '地震应急避难场所', 4, 1, '住建部门', '有,纳入预算', '社会');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (17, '南昌县八月湖街道抚西社区避难场所', '南昌县八月湖街道抚西社区新力金沙湾篮球场', '自然灾害', '综合自然灾害', '紧急避险场所(1天以内)', '室外', '综合型', '广场类', 3000.00, 0.00, 5000, '无物资储备', '消防设施', '应急管理部门', '应急管理部门', '其他部门', '2019-08-31', '未纳入城市总体或城乡建设规划', 0.000, '待确认', 3, 1, '街道、社区、村', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (18, '南昌县莲塘镇莲垦社区应急避难场所', '莲塘镇莲安北路38号11栋南面', '自然灾害', '地震', '紧急避险场所(1天以内)', '室外', '综合型', '广场类', 6000.00, 0.00, 10000, '基本生活物资/医疗物资', '消防设施/医疗设施', '应急管理部门', '应急管理部门', '其他部门', '2020-05-01', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 10, 4, '街道、社区、村', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (19, '莲塘镇玺园社区应急避难场所', '江西省南昌市南昌县莲塘镇澄湖东路1111号玺园小区', '自然灾害', '综合自然灾害', '特定避难场所(未有明确时长规定)', '室内外兼有', '综合型', '其他类', 1800.00, 1200.00, 2600, '医疗物资/疏散安置用具/基本生活物资', '消防设施/供水设施/供电设施/医疗设施/通讯设施', '应急管理部门', '应急管理部门', '其他部门', '2016-07-01', '未纳入城市总体或城乡建设规划', 0.000, '待确认', 10, 2, '街道、社区、村', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (20, '正荣大湖社区应急避难场所', '正荣大湖之都小区中心文化广场', '其他突发事件', '综合自然灾害', '紧急避险场所(1天以内)', '室外', '综合型', '广场类', 1500.00, 0.00, 1200, '无物资储备', '供水设施/供电设施/消防设施', '应急管理部门', '应急管理部门', '其他部门', '2015-12-01', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 2, 1, '街道、社区、村', '无运维投入', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (21, '正荣大湖社区西水滨应急避难场所', '正荣大湖社区西水滨7栋旁休闲广场', '自然灾害', '其他突发事件', '紧急避险场所(1天以内)', '室外', '综合型', '广场类', 1500.00, 0.00, 1000, '无物资储备', '消防设施/供电设施/供水设施', '住建部门', '应急管理部门/人防部门/地震部门', '其他部门', '2015-12-01', '未纳入城市总体或城乡建设规划', 0.000, '待确认', 1, 1, '住建部门', '无运维投入', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (22, '武阳镇前进村徐黄社区', '武阳镇前进村徐黄自然村', '自然灾害', '地震', '紧急避险场所(1天以内)', '室内', '综合型', '广场类', 800.00, 400.00, 800, '基本生活物资', '消防设施/医疗设施/供水设施', '应急管理部门', '应急管理部门', '应急管理部门', '2021-08-01', '已纳入城市总体或城乡建设规划', 0.000, '地震应急避难场所', 7, 3, '住建部门', '有,纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (23, '八月湖街道东莲路社区奥林匹克花园应急避难场所', '八月湖街道东莲路社区70栋1单元', '自然灾害', '综合自然灾害', '紧急避险场所(1天以内)', '室内外兼有', '综合型', '人防设施类', 800.00, 600.00, 1000, '医疗物资/基本生活物资', '医疗设施/供水设施/供电设施/消防设施', '应急管理部门', '应急管理部门', '其他部门', '2019-06-01', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 1, 1, '街道、社区、村', '有,未纳入预算', '其他');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (24, '力高国际社区应急避难场所', '八月湖街道力高国际社区', '自然灾害', '综合自然灾害', '紧急避险场所(1天以内)', '室外', '综合型', '广场类', 3000.00, 0.00, 2000, '医疗物资', '消防设施', '应急管理部门', '应急管理部门', '其他部门', '2020-12-29', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 1, 1, '街道、社区、村', '有,纳入预算', '其他');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (25, '八月湖街道诚安路社区应急避难场所', '八月湖景城名郡11栋1单元', '自然灾害', '洪涝', '紧急避险场所(1天以内)', '室内外兼有', '综合型', '人防设施类', 2500.00, 2500.00, 2000, '基本生活物资/医疗物资', '消防设施/通讯设施/医疗设施/供水设施/供电设施', '自然资源部门/水利部门/应急管理部门', '住建部门/自然资源部门/应急管理部门', '住建部门/自然资源部门/应急管理部门', '2019-11-03', '已纳入城市总体或城乡建设规划', 0.000, '应急避难场所标志', 5, 2, '住建部门', '有,纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (26, '银三角管理委员会银苑社区居民委员会应急避难场所', '南昌县银三角银苑社区居委会19栋旁', '自然灾害', '地震', '紧急避险场所(1天以内)', '室外', '单一型', '广场类', 1000.00, 1000.00, 3000, '疏散安置用具', '消防设施', '应急管理部门', '应急管理部门', '其他部门', '2015-11-01', '已纳入城市总体或城乡建设规划', 0.000, '待确认', 7, 7, '街道、社区、村', '有,未纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (27, '莲塘镇斗柏路社区应急避难场所', '莲塘镇斗柏路369号阳光丽景广场', '其他突发事件', '其他突发事件', '紧急避险场所(1天以内)', '室外', '综合型', '广场类', 800.00, 800.00, 500, '疏散安置用具/医疗物资', '消防设施/医疗设施/通讯设施', '安监', '应急管理部门', '应急管理部门', '2015-08-03', '已纳入城市总体或城乡建设规划', 0.000, '应急避难场所建设标志', 6, 3, '街道、社区、村', '有,纳入预算', '财政');
INSERT INTO "public"."emergency_shelter_basic_info_statistics" VALUES (28, '南昌县洪州体育馆', '莲塘镇小蓝南路', '其他突发事件', '其他突发事件', '短期避难场所(2-14天)', '室内', '综合型', '体育场馆类', 15259.14, 7628.56, 5000, '医疗物资', '医疗设施', '应急管理部门', '应急管理部门', '其他部门', '2017-01-04', '未纳入城市总体或城乡建设规划', 23000.000, '待确认', 100, 20, '企事业单位', '有,未纳入预算', '其他');
-- ----------------------------
-- Primary Key structure for table emergency_shelter_basic_info_statistics
-- ----------------------------
ALTER TABLE "public"."emergency_shelter_basic_info_statistics" ADD CONSTRAINT "emergency_shelter_basic_info_statistics_pkey" PRIMARY KEY ("id");

53
scripts/0.0.12/flood_control_headquarters.sql

@ -0,0 +1,53 @@
/*
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 : jilin
Source Schema : public
Target Server Type : PostgreSQL
Target Server Version : 120001
File Encoding : 65001
Date: 16/08/2023 09:55:48
*/
-- ----------------------------
-- Table structure for flood_control_headquarters
-- ----------------------------
DROP TABLE IF EXISTS "public"."flood_control_headquarters";
CREATE TABLE "public"."flood_control_headquarters" (
"id" int4 NOT NULL DEFAULT nextval('flood_control_headquarters_id_seq'::regclass),
"name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
"location" varchar(255) COLLATE "pg_catalog"."default",
"dike_length" varchar(255) COLLATE "pg_catalog"."default",
"commander" varchar(255) COLLATE "pg_catalog"."default"
)
;
COMMENT ON COLUMN "public"."flood_control_headquarters"."id" IS '序号';
COMMENT ON COLUMN "public"."flood_control_headquarters"."name" IS '名称';
COMMENT ON COLUMN "public"."flood_control_headquarters"."location" IS '设立地点';
COMMENT ON COLUMN "public"."flood_control_headquarters"."dike_length" IS '管辖堤长';
COMMENT ON COLUMN "public"."flood_control_headquarters"."commander" IS '指挥';
-- ----------------------------
-- Records of flood_control_headquarters
-- ----------------------------
INSERT INTO "public"."flood_control_headquarters" VALUES (1, '象湖防汛分指挥部', '莲塘镇人民政府', '106379 米', '李 碧、葛 苗、龚芦花');
INSERT INTO "public"."flood_control_headquarters" VALUES (2, '抚河分洪区防汛分指挥部', '向塘镇人民政府', '130950 米', '皮 钧、吴桂珍、万耀华、魏松林');
INSERT INTO "public"."flood_control_headquarters" VALUES (3, '南新联圩防汛分指挥部', '南新联圩分中心', '57070 米', '万向阳、刘 玉、涂 超、段 毅');
INSERT INTO "public"."flood_control_headquarters" VALUES (4, '塔城防汛分指挥部', '塔城乡人民政府', '64129 米', '邬春华、王光华、江振国');
INSERT INTO "public"."flood_control_headquarters" VALUES (5, '蒋巷联圩防汛分指挥部', '蒋巷联圩分中心', '95070 米', '张秉公、黄华明、郭朝辉、梁文杰');
INSERT INTO "public"."flood_control_headquarters" VALUES (6, '赣东大堤防汛分指挥部', '赣东大堤分中心', '43166 米', '胡朝辉、伍 曦、汪 芳');
INSERT INTO "public"."flood_control_headquarters" VALUES (7, '抚西大堤防汛分指挥部', '抚西大堤分中心', '41314 米', '熊健俊、万卫国、吴 晶');
INSERT INTO "public"."flood_control_headquarters" VALUES (8, '塘南防汛分指挥部', '塘南镇水管站', '31814 米', '付向宇、陈 欣、涂相鸿、刘龙军');
INSERT INTO "public"."flood_control_headquarters" VALUES (9, '泾口防汛分指挥部', '长乐联圩分中心', '68563 米', '易才宏、黄炳锋、万家平');
-- ----------------------------
-- Primary Key structure for table flood_control_headquarters
-- ----------------------------
ALTER TABLE "public"."flood_control_headquarters" ADD CONSTRAINT "flood_control_headquarters_pkey" PRIMARY KEY ("id");

91
scripts/0.0.12/rescue_teams.sql

@ -0,0 +1,91 @@
/*
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 : jilin
Source Schema : public
Target Server Type : PostgreSQL
Target Server Version : 120001
File Encoding : 65001
Date: 16/08/2023 11:25:20
*/
-- ----------------------------
-- Table structure for rescue_teams
-- ----------------------------
DROP TABLE IF EXISTS "public"."rescue_teams";
CREATE TABLE "public"."rescue_teams" (
"id" serial PRIMARY KEY,
"team_name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
"supervisory_unit" varchar(255) COLLATE "pg_catalog"."default",
"leader_contact_phone" varchar(255) COLLATE "pg_catalog"."default",
"emergency_contact_phone" varchar(255) COLLATE "pg_catalog"."default",
"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"
)
;
COMMENT ON COLUMN "public"."rescue_teams"."id" IS '序号';
COMMENT ON COLUMN "public"."rescue_teams"."team_name" IS '救援队伍名称';
COMMENT ON COLUMN "public"."rescue_teams"."supervisory_unit" IS '主管单位';
COMMENT ON COLUMN "public"."rescue_teams"."leader_contact_phone" IS '负责人及
';
COMMENT ON COLUMN "public"."rescue_teams"."emergency_contact_phone" IS '应急联系人及联系电话';
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 '队伍种类';
-- ----------------------------
-- 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号百通物流里面', '消防救援救援队伍');
-- ----------------------------
-- Primary Key structure for table rescue_teams
-- ----------------------------
ALTER TABLE "public"."rescue_teams" ADD CONSTRAINT "rescue_teams_pkey" PRIMARY KEY ("id");

9
super-screen/client/src/sections/community-safty/components/style.less

@ -394,11 +394,12 @@
// padding: 20px 14px 0px 14px;
overflow: auto;
// height: 100%;
padding-top: 20px;
.alarm_handle {
display: flex;
height: 89px;
margin-bottom: 10px;
margin-bottom: 20px;
.handle_img {
width: 101px;
@ -425,7 +426,7 @@
.alarm_unhandle {
display: flex;
height: 89px;
margin-bottom: 10px;
margin-bottom: 20px;
.handle_img {
width: 101px;
@ -482,7 +483,3 @@
}
}
}
._city_safty::-webkit-scrollbar {
width: 0 !important
}

10
super-screen/client/src/sections/fire-control/components/left-bottom.js

@ -30,6 +30,16 @@ function Infrastructure(props) {
<div className='text_blue'><div className='_icon1' />红花岗区大队</div>
<div className='text_blue'><div className='_icon2' />划龙桥路77号</div>
</div>
<div className='today_item'>
<div className='column1_alarm2'>14:22</div>
<div className='text_blue'><div className='_icon1' />红花岗区大队</div>
<div className='text_blue'><div className='_icon2' />划龙桥路77号</div>
</div>
<div className='today_item'>
<div className='column1_alarm2'>14:22</div>
<div className='text_blue'><div className='_icon1' />红花岗区大队</div>
<div className='text_blue'><div className='_icon2' />划龙桥路77号</div>
</div>
</div>
}
return <Box title={"今日实时警情"} >

3
super-screen/client/src/sections/fire-control/components/style.less

@ -452,9 +452,10 @@
flex-wrap: wrap;
align-items: center;
justify-content: center;
padding-top: 20px;
.today_item {
margin-bottom: 15px;
margin-bottom: 17px;
width: 91%;
height: 41px;
background: url('/assets/images/homepage/fire/alarmbg.png') no-repeat;

16
super-screen/client/src/sections/water-prevention/components/left-top.js

@ -92,16 +92,20 @@ function BasicInfo() {
</div>
<div className='basictextbg'>
<span>影响人口</span>
<span className='row1_row3_subtitle'>约611人</span>
<span>名称</span>
<span className='row1_row3_subtitle'>指挥部</span>
</div>
<div className='basictextbg'>
<span>预警等级</span>
<span className='_row2_bg'>2</span>
<span>设立地点</span>
<span className='row1_row3_subtitle'>人民政府</span>
</div>
<div className='basictextbg'>
<span>防汛责任人</span>
<span className='row1_row3_subtitle'>掌上明珠 1920394090697</span>
<span>指挥责任人</span>
<span className='row1_row3_subtitle'>张某某</span>
</div>
<div className='basictextbg'>
<span>管辖堤长</span>
<span className='row1_row3_subtitle'>124</span>
</div>
</div>
</Box>

66
super-screen/client/src/sections/water-prevention/components/style.less

@ -331,64 +331,6 @@
}
}
.today_real_alarm {
width: 100%;
height: 100%;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
.today_item {
width: 91%;
height: 41px;
background: url('/assets/images/homepage/fire/alarmbg.png') no-repeat;
background-size: 100% 100%;
display: flex;
justify-content: space-around;
align-items: center;
font-size: 14px;
color: #ECF7FF;
overflow: auto;
.column1_alarm1 {
width: 83px;
height: 24px;
background: url('/assets/images/homepage/fire/alarm1.png') no-repeat;
background-size: 100% 100%;
padding-left: 27px;
}
.column1_alarm2 {
width: 83px;
height: 24px;
background: url('/assets/images/homepage/fire/alarm2.png') no-repeat;
background-size: 100% 100%;
padding-left: 27px;
}
.text_blue {
width: 100px;
display: flex;
._icon1 {
width: 8px;
height: 8px;
background: url('/assets/images/homepage/fire/triangle1.png') no-repeat;
background-size: 100% 100%;
}
._icon2 {
width: 8px;
height: 8px;
background: url('/assets/images/homepage/fire/triangle2.png') no-repeat;
background-size: 100% 100%;
}
}
}
}
//小区人流量排名
.water_traffic_ranking {
height: 100%;
@ -745,7 +687,7 @@
justify-content: space-between;
padding-left: 16px;
padding-right: 16px;
margin-top: 14px;
margin-top: 12px;
.row1_row3_subtitle {
font-size: 16px;
@ -768,13 +710,7 @@
}
}
@media screen and (min-height:1080px) {
padding-top: 24px;
.real_weather {
margin-bottom: 24px;
}
}
}
.prevent_doc {

Loading…
Cancel
Save