diff --git a/src/pages/business_emergencyResource/components/secondary_menu/yjdw.js b/src/pages/business_emergencyResource/components/secondary_menu/yjdw.js index be260b9..b032018 100644 --- a/src/pages/business_emergencyResource/components/secondary_menu/yjdw.js +++ b/src/pages/business_emergencyResource/components/secondary_menu/yjdw.js @@ -26,62 +26,68 @@ const Yjdw = () => { { key: '1', number: '01', - unitName: '文登市兴文新材料有限公司', - name: '国云海', - position: '生产班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '夜班', + affiliatedUnit: '文登市兴文新材料有限公司', + teamName: '消防队伍一', + teamType: '危险化学品事故救援队', + teamAddress: '站前北街30号附近', + teamSize: 79, + personInCharge: '李世敏', + remarks: '备注一', }, { key: '2', number: '02', - unitName: '文登市兴文新材料有限公司', - name: '陈志强', - position: '生产班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '白班', + affiliatedUnit: '文登市兴文新材料有限公司', + teamName: '医疗队伍一', + teamType: '医疗救护队', + teamAddress: '新顺北大街8号西南60米', + teamSize: 55, + personInCharge: '赵小瑞', + remarks: '备注二二', }, { key: '3', number: '03', - unitName: '合湾新材科技有限公司', - name: '侯文涛', - position: '班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '白班', + affiliatedUnit: '合鸿新材科技有限公司', + teamName: '救援队伍一', + teamType: '陆地搜寻与救护队', + teamAddress: '1号楼通顺路', + teamSize: 41, + personInCharge: '钱珈艺', + remarks: '备注三三', }, { key: '4', number: '04', - unitName: '山东万图高分子材料股份有限公司', - name: '宋东', - position: '班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '夜班', + affiliatedUnit: '山东万图高分子材料股份...', + teamName: '救援队伍二', + teamType: '危险化学品事故救援队', + teamAddress: '仁和镇双兴东区甲1号楼', + teamSize: 29, + personInCharge: '赵露瑕', + remarks: '备注四四', }, { key: '5', number: '05', - unitName: '合鸿新材科技有限公司', - name: '王一声', - position: '班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '夜班', + affiliatedUnit: '合鸿新材科技有限公司', + teamName: '医疗队伍二', + teamType: '医疗救护队', + teamAddress: '怡馨家园5号楼', + teamSize: 21, + personInCharge: '李彤运', + remarks: '备注五五', }, { key: '6', number: '06', - unitName: '山东万图高分子材料股份有限公司', - name: '赵小敏', - position: '班长', - mobile: '17898786567', - email: '1878987633@qq.com', - dutyTime: '夜班', + affiliatedUnit: '山东万图高分子材料股份...', + teamName: '救援队伍二', + teamType: '医疗救护队', + teamAddress: '站前东街商业楼118号', + teamSize: 7, + personInCharge: '钱唯', + remarks: '备注六六', }, ]); @@ -94,39 +100,45 @@ const Yjdw = () => { width: 80, }, { - title: '单位名称', - dataIndex: 'unitName', - key: 'unitName', + title: '所属单位', + dataIndex: 'affiliatedUnit', + key: 'affiliatedUnit', width: 200, }, { - title: '姓名', - dataIndex: 'name', - key: 'name', - width: 100, + title: '队伍名称', + dataIndex: 'teamName', + key: 'teamName', + width: 150, }, { - title: '职务', - dataIndex: 'position', - key: 'position', - width: 120, + title: '队伍类型', + dataIndex: 'teamType', + key: 'teamType', + width: 180, }, { - title: '手机号', - dataIndex: 'mobile', - key: 'mobile', - width: 130, + title: '队伍地址', + dataIndex: 'teamAddress', + key: 'teamAddress', + width: 200, }, { - title: '邮箱', - dataIndex: 'email', - key: 'email', - width: 180, + title: '队伍人数(人)', + dataIndex: 'teamSize', + key: 'teamSize', + width: 120, }, { - title: '值班时间', - dataIndex: 'dutyTime', - key: 'dutyTime', + title: '负责人', + dataIndex: 'personInCharge', + key: 'personInCharge', + width: 120, + }, + { + title: '备注', + dataIndex: 'remarks', + key: 'remarks', width: 100, }, { @@ -191,14 +203,14 @@ const Yjdw = () => { // 编辑处理 const handleEdit = (record) => { - message.info(`编辑 ${record.name} 的信息`); + message.info(`编辑 ${record.teamName} 的信息`); }; // 删除处理 const handleDelete = (record) => { Modal.confirm({ title: '确认删除', - content: `确定要删除 ${record.name} 吗?`, + content: `确定要删除 ${record.teamName} 吗?`, onOk() { setDataSource(dataSource.filter(item => item.key !== record.key)); message.success('删除成功'); @@ -223,17 +235,23 @@ const Yjdw = () => {
+ - + */}
diff --git a/src/pages/business_emergencyResource/components/secondary_menu/yjssd.js b/src/pages/business_emergencyResource/components/secondary_menu/yjssd.js index fa01e41..3145c50 100644 --- a/src/pages/business_emergencyResource/components/secondary_menu/yjssd.js +++ b/src/pages/business_emergencyResource/components/secondary_menu/yjssd.js @@ -26,62 +26,56 @@ const Yjssd = () => { { key: '1', number: '01', - unitName: '文登市兴文新材料有限公司', - name: '国云海', - position: '生产班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '夜班', + evacuationPointName: '疏散点一', + evacuationPointAddress: '光明南街18号裕龙花园三区27号楼', + maxCapacity: 97, + personInCharge: '冯钰洁', + remarks: '无', }, { key: '2', number: '02', - unitName: '文登市兴文新材料有限公司', - name: '陈志强', - position: '生产班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '白班', + evacuationPointName: '疏散点二', + evacuationPointAddress: '怡馨家园达人街赏玩城一层98、99号', + maxCapacity: 96, + personInCharge: '周静', + remarks: '备注二二', }, { key: '3', number: '03', - unitName: '合湾新材科技有限公司', - name: '侯文涛', - position: '班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '白班', + evacuationPointName: '疏散点三', + evacuationPointAddress: '新顺北大街', + maxCapacity: 91, + personInCharge: '何能', + remarks: '备注三三', }, { key: '4', number: '04', - unitName: '山东万图高分子材料股份有限公司', - name: '宋东', - position: '班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '夜班', + evacuationPointName: '疏散点四', + evacuationPointAddress: '红杉一品8号院底商', + maxCapacity: 59, + personInCharge: '冯新', + remarks: '备注四四', }, { key: '5', number: '05', - unitName: '合鸿新材科技有限公司', - name: '王一声', - position: '班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '夜班', + evacuationPointName: '疏散点五', + evacuationPointAddress: '义宾街与站前北街交叉口北150米国泰谊宾商城F1层', + maxCapacity: 50, + personInCharge: '赵俊英', + remarks: '备注五五', }, { key: '6', number: '06', - unitName: '山东万图高分子材料股份有限公司', - name: '赵小敏', - position: '班长', - mobile: '17898786567', - email: '1878987633@qq.com', - dutyTime: '夜班', + evacuationPointName: '疏散点六', + evacuationPointAddress: '仁和站前北街4号', + maxCapacity: 48, + personInCharge: '赵中错', + remarks: '备注六六', }, ]); @@ -94,39 +88,33 @@ const Yjssd = () => { width: 80, }, { - title: '单位名称', - dataIndex: 'unitName', - key: 'unitName', - width: 200, + title: '疏散点名称', + dataIndex: 'evacuationPointName', + key: 'evacuationPointName', + width: 150, }, { - title: '姓名', - dataIndex: 'name', - key: 'name', - width: 100, - }, - { - title: '职务', - dataIndex: 'position', - key: 'position', - width: 120, + title: '疏散点地址', + dataIndex: 'evacuationPointAddress', + key: 'evacuationPointAddress', + width: 250, }, { - title: '手机号', - dataIndex: 'mobile', - key: 'mobile', - width: 130, + title: '最大容纳人数(人)', + dataIndex: 'maxCapacity', + key: 'maxCapacity', + width: 150, }, { - title: '邮箱', - dataIndex: 'email', - key: 'email', - width: 180, + title: '负责人', + dataIndex: 'personInCharge', + key: 'personInCharge', + width: 120, }, { - title: '值班时间', - dataIndex: 'dutyTime', - key: 'dutyTime', + title: '备注', + dataIndex: 'remarks', + key: 'remarks', width: 100, }, { @@ -191,14 +179,14 @@ const Yjssd = () => { // 编辑处理 const handleEdit = (record) => { - message.info(`编辑 ${record.name} 的信息`); + message.info(`编辑 ${record.evacuationPointName} 的信息`); }; // 删除处理 const handleDelete = (record) => { Modal.confirm({ title: '确认删除', - content: `确定要删除 ${record.name} 吗?`, + content: `确定要删除 ${record.evacuationPointName} 吗?`, onOk() { setDataSource(dataSource.filter(item => item.key !== record.key)); message.success('删除成功'); @@ -222,18 +210,13 @@ const Yjssd = () => { {/* 搜索和操作区域 */}
- + /> -
diff --git a/src/pages/business_emergencyResource/components/secondary_menu/yjwz.js b/src/pages/business_emergencyResource/components/secondary_menu/yjwz.js index 3c2e233..865f948 100644 --- a/src/pages/business_emergencyResource/components/secondary_menu/yjwz.js +++ b/src/pages/business_emergencyResource/components/secondary_menu/yjwz.js @@ -27,61 +27,79 @@ const Yjwz = () => { key: '1', number: '01', unitName: '文登市兴文新材料有限公司', - name: '国云海', - position: '生产班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '夜班', + materialCategory: '应急救援装备', + materialName: '正压式空气呼吸器', + specification: 'DEV2024001', + unit: '北粮农业股份有限公司', + quantity: 2, + storageLocation: '一楼监控室', + name: '李世敏', + contactNumber: '18353452884', }, { key: '2', number: '02', unitName: '文登市兴文新材料有限公司', - name: '陈志强', - position: '生产班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '白班', + materialCategory: '应急救援装备', + materialName: '过滤式防毒面具', + specification: 'DEV2024001', + unit: '北京新态互动科贸有限公司', + quantity: 7, + storageLocation: '一楼监控室', + name: '赵小瑞', + contactNumber: '18847168496', }, { key: '3', number: '03', - unitName: '合湾新材科技有限公司', - name: '侯文涛', - position: '班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '白班', + unitName: '合鸿新材科技有限公司', + materialCategory: '应急救援装备', + materialName: '连体防护服', + specification: 'DEV2024001', + unit: '北京达斯可恩食品有限公司', + quantity: 8, + storageLocation: '一楼监控室', + name: '钱珈艺', + contactNumber: '18437766264', }, { key: '4', number: '04', unitName: '山东万图高分子材料股份有限公司', - name: '宋东', - position: '班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '夜班', + materialCategory: '个人防护装备', + materialName: '防爆背心', + specification: 'DEV2024001', + unit: '腾大科技发展(北京)有限公司', + quantity: 23, + storageLocation: '一楼监控室', + name: '赵雾瑕', + contactNumber: '15014254724', }, { key: '5', number: '05', unitName: '合鸿新材科技有限公司', - name: '王一声', - position: '班长', - mobile: '17898786567', - email: '1878967633@qq.com', - dutyTime: '夜班', + materialCategory: '应急物资', + materialName: '逃生面具', + specification: 'DEV2024001', + unit: '北京长友物业管理有限公司', + quantity: 12, + storageLocation: '一楼监控室', + name: '李彤运', + contactNumber: '15151314652', }, { key: '6', number: '06', unitName: '山东万图高分子材料股份有限公司', - name: '赵小敏', - position: '班长', - mobile: '17898786567', - email: '1878987633@qq.com', - dutyTime: '夜班', + materialCategory: '应急救援装备', + materialName: '移动式防爆应急灯', + specification: 'DEV2024001', + unit: '北京金益邦科技有限公司', + quantity: 9, + storageLocation: '一楼监控室', + name: '钱唯', + contactNumber: '13322876802', }, ]); @@ -100,35 +118,53 @@ const Yjwz = () => { width: 200, }, { - title: '姓名', - dataIndex: 'name', - key: 'name', - width: 100, + title: '物资类别', + dataIndex: 'materialCategory', + key: 'materialCategory', + width: 120, }, { - title: '职务', - dataIndex: 'position', - key: 'position', + title: '物资名称', + dataIndex: 'materialName', + key: 'materialName', + width: 150, + }, + { + title: '规格型号', + dataIndex: 'specification', + key: 'specification', width: 120, }, { - title: '手机号', - dataIndex: 'mobile', - key: 'mobile', - width: 130, + title: '单位', + dataIndex: 'unit', + key: 'unit', + width: 150, }, { - title: '邮箱', - dataIndex: 'email', - key: 'email', - width: 180, + title: '数量', + dataIndex: 'quantity', + key: 'quantity', + width: 80, }, { - title: '值班时间', - dataIndex: 'dutyTime', - key: 'dutyTime', + title: '存放地点', + dataIndex: 'storageLocation', + key: 'storageLocation', + width: 120, + }, + { + title: '姓名', + dataIndex: 'name', + key: 'name', width: 100, }, + { + title: '联系电话', + dataIndex: 'contactNumber', + key: 'contactNumber', + width: 130, + }, { title: '操作', key: 'action', @@ -230,10 +266,17 @@ const Yjwz = () => { allowClear > - - + + + -