main
wangyunfei 5 days ago
parent e06fa56d51
commit 8ae7a7e7bb

@ -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 = () => {
<div className={styles.searchBar}>
<div className={styles.searchLeft}>
<Select
placeholder="请选择单位名称"
placeholder="请选择单位"
value={searchValue}
onChange={setSearchValue}
style={{width: 180, height: 30, borderRadius: 2}}
allowClear
>
<Option value="文登市兴文新材料有限公司">文登市兴文新材料有限公司</Option>
<Option value="合湾新材科技有限公司">合湾新材科技有限公司</Option>
<Option value="山东万图高分子材料股份有限公司">山东万图高分子材料股份有限公司</Option>
<Option value="合鸿新材科技有限公司">合鸿新材科技有限公司</Option>
<Option value="危险化学品事故救援队">危险化学品事故救援队</Option>
<Option value="医疗救护队">医疗救护队</Option>
<Option value="陆地搜寻与救护队">陆地搜寻与救护队</Option>
</Select>
<Input
placeholder="请输入队伍名称"
// value={searchValue}
// onChange={setSearchValue}
style={{width: 180, height: 30, borderRadius: 2}}
allowClear
/>
<Button
type="primary"
icon={<SearchOutlined />}
@ -253,14 +271,14 @@ const Yjdw = () => {
>
新增
</Button>
<Button
{/* <Button
danger
style={{width: 70, height: 30, borderRadius: 2, display: 'flex', alignItems: 'center', justifyContent: 'center'}}
icon={<img src={iconsc} alt="delete" style={{width: 14, height: 14, marginTop: -2}}/>}
onClick={handleBatchDelete}
>
删除
</Button>
</Button> */}
</div>
</div>

@ -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 = () => {
{/* 搜索和操作区域 */}
<div className={styles.searchBar}>
<div className={styles.searchLeft}>
<Select
placeholder="请选择单位名称"
<Input
placeholder="请输入疏散点名称"
value={searchValue}
onChange={setSearchValue}
style={{width: 180, height: 30, borderRadius: 2}}
allowClear
>
<Option value="文登市兴文新材料有限公司">文登市兴文新材料有限公司</Option>
<Option value="合湾新材科技有限公司">合湾新材科技有限公司</Option>
<Option value="山东万图高分子材料股份有限公司">山东万图高分子材料股份有限公司</Option>
<Option value="合鸿新材科技有限公司">合鸿新材科技有限公司</Option>
</Select>
/>
<Button
type="primary"
icon={<SearchOutlined />}
@ -253,14 +236,6 @@ const Yjssd = () => {
>
新增
</Button>
<Button
danger
style={{width: 70, height: 30, borderRadius: 2, display: 'flex', alignItems: 'center', justifyContent: 'center'}}
icon={<img src={iconsc} alt="delete" style={{width: 14, height: 14, marginTop: -2}}/>}
onClick={handleBatchDelete}
>
删除
</Button>
</div>
</div>

@ -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: 'quantity',
key: 'quantity',
width: 80,
},
{
title: '邮箱',
dataIndex: 'email',
key: 'email',
width: 180,
title: '存放地点',
dataIndex: 'storageLocation',
key: 'storageLocation',
width: 120,
},
{
title: '值班时间',
dataIndex: 'dutyTime',
key: 'dutyTime',
title: '姓名',
dataIndex: 'name',
key: 'name',
width: 100,
},
{
title: '联系电话',
dataIndex: 'contactNumber',
key: 'contactNumber',
width: 130,
},
{
title: '操作',
key: 'action',
@ -230,10 +266,17 @@ const Yjwz = () => {
allowClear
>
<Option value="文登市兴文新材料有限公司">文登市兴文新材料有限公司</Option>
<Option value="合湾新材科技有限公司">合湾新材科技有限公司</Option>
<Option value="山东万图高分子材料股份有限公司">山东万图高分子材料股份有限公司</Option>
<Option value="合鸿新材科技有限公司">合鸿新材科技有限公司</Option>
<Option value="山东万图高分子材料股份有限公司">山东万图高分子材料股份有限公司</Option>
</Select>
<Input
placeholder="请输入物资名称"
// value={searchValue}
// onChange={setSearchValue}
style={{width: 180, height: 30, borderRadius: 2}}
allowClear
/>
<Button
type="primary"
icon={<SearchOutlined />}

@ -26,62 +26,68 @@ const Yjzj = () => {
{
key: '1',
number: '01',
unitName: '文登市兴文新材料有限公司',
name: '国云海',
position: '生产班长',
mobile: '17898786567',
email: '1878967633@qq.com',
dutyTime: '夜班',
expertName: '李世敏',
expertType: '应急处置专家',
expertPhone: '18584691667',
expertSpecialty: '应急处置',
workUnit: '珠海唯他可可饮料有限公司',
workUnitAddress: '光明南街18号裕龙花园三区27号楼',
remarks: '备注一',
},
{
key: '2',
number: '02',
unitName: '文登市兴文新材料有限公司',
name: '陈志强',
position: '生产班长',
mobile: '17898786567',
email: '1878967633@qq.com',
dutyTime: '白班',
expertName: '赵小瑞',
expertType: '应急救援专家',
expertPhone: '17691586686',
expertSpecialty: '应急救援',
workUnit: '深圳刷宝科技有限公司北京分公司',
workUnitAddress: '怡馨家园达人街赏玩城一层98、99号',
remarks: '备注二二',
},
{
key: '3',
number: '03',
unitName: '合湾新材科技有限公司',
name: '侯文涛',
position: '班长',
mobile: '17898786567',
email: '1878967633@qq.com',
dutyTime: '白班',
expertName: '钱珈艺',
expertType: '应急处置专家',
expertPhone: '1373975741',
expertSpecialty: '应急救援',
workUnit: '深圳市浩天投资有限公司',
workUnitAddress: '新顺北大街',
remarks: '备注三三',
},
{
key: '4',
number: '04',
unitName: '山东万图高分子材料股份有限公司',
name: '宋东',
position: '班长',
mobile: '17898786567',
email: '1878967633@qq.com',
dutyTime: '夜班',
expertName: '赵雾瑕',
expertType: '应急处置专家',
expertPhone: '15741703130',
expertSpecialty: '应急救援',
workUnit: '北京永庄文化传媒有限公司',
workUnitAddress: '红杉一品8号院底商',
remarks: '备注四四',
},
{
key: '5',
number: '05',
unitName: '合鸿新材科技有限公司',
name: '王一声',
position: '班长',
mobile: '17898786567',
email: '1878967633@qq.com',
dutyTime: '夜班',
expertName: '李彤运',
expertType: '应急救援专家',
expertPhone: '13034177234',
expertSpecialty: '应急处置',
workUnit: '北京潭门国际餐饮管理有限公司',
workUnitAddress: '义宾街与站前北街交叉口北150米国泰谊宾商城F1层',
remarks: '备注五五',
},
{
key: '6',
number: '06',
unitName: '山东万图高分子材料股份有限公司',
name: '赵小敏',
position: '班长',
mobile: '17898786567',
email: '1878987633@qq.com',
dutyTime: '夜班',
expertName: '钱唯',
expertType: '应急救援专家',
expertPhone: '13882127041',
expertSpecialty: '应急处置',
workUnit: '融成财富(北京)投资有限公司',
workUnitAddress: '仁和站前北街4号',
remarks: '备注六六',
},
]);
@ -94,40 +100,46 @@ const Yjzj = () => {
width: 80,
},
{
title: '单位名称',
dataIndex: 'unitName',
key: 'unitName',
width: 200,
title: '专家姓名',
dataIndex: 'expertName',
key: 'expertName',
width: 120,
},
{
title: '姓名',
dataIndex: 'name',
key: 'name',
width: 100,
title: '专家类型',
dataIndex: 'expertType',
key: 'expertType',
width: 140,
},
{
title: '职务',
dataIndex: 'position',
key: 'position',
title: '专家电话',
dataIndex: 'expertPhone',
key: 'expertPhone',
width: 130,
},
{
title: '专家专长',
dataIndex: 'expertSpecialty',
key: 'expertSpecialty',
width: 120,
},
{
title: '手机号',
dataIndex: 'mobile',
key: 'mobile',
width: 130,
title: '工作单位',
dataIndex: 'workUnit',
key: 'workUnit',
width: 200,
},
{
title: '邮箱',
dataIndex: 'email',
key: 'email',
width: 180,
title: '工作单位地址',
dataIndex: 'workUnitAddress',
key: 'workUnitAddress',
width: 250,
},
{
title: '值班时间',
dataIndex: 'dutyTime',
key: 'dutyTime',
width: 100,
title: '备注',
dataIndex: 'remarks',
key: 'remarks',
width: 120,
},
{
title: '操作',
@ -222,18 +234,12 @@ const Yjzj = () => {
{/* 搜索和操作区域 */}
<div className={styles.searchBar}>
<div className={styles.searchLeft}>
<Select
placeholder="请选择单位名称"
<Input
placeholder="请输入专家姓名"
value={searchValue}
onChange={setSearchValue}
style={{width: 180, height: 30, borderRadius: 2}}
allowClear
>
<Option value="文登市兴文新材料有限公司">文登市兴文新材料有限公司</Option>
<Option value="合湾新材科技有限公司">合湾新材科技有限公司</Option>
<Option value="山东万图高分子材料股份有限公司">山东万图高分子材料股份有限公司</Option>
<Option value="合鸿新材科技有限公司">合鸿新材科技有限公司</Option>
</Select>
allowClear/>
<Button
type="primary"
icon={<SearchOutlined />}
@ -253,14 +259,6 @@ const Yjzj = () => {
>
新增
</Button>
<Button
danger
style={{width: 70, height: 30, borderRadius: 2, display: 'flex', alignItems: 'center', justifyContent: 'center'}}
icon={<img src={iconsc} alt="delete" style={{width: 14, height: 14, marginTop: -2}}/>}
onClick={handleBatchDelete}
>
删除
</Button>
</div>
</div>

Loading…
Cancel
Save