|
|
|
@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
|
|
|
|
import { Input, Button, Select, message, Modal } from 'antd';
|
|
|
|
import { Input, Button, Select, message, Modal } from 'antd';
|
|
|
|
import { SearchOutlined, PlusOutlined, DeleteOutlined, EditOutlined } from '@ant-design/icons';
|
|
|
|
import { SearchOutlined, PlusOutlined, DeleteOutlined, EditOutlined } from '@ant-design/icons';
|
|
|
|
import StandardTable from '@/components/StandardTable';
|
|
|
|
import StandardTable from '@/components/StandardTable';
|
|
|
|
import styles from './yjzbry.less';
|
|
|
|
import styles from './yjdw.less';
|
|
|
|
|
|
|
|
|
|
|
|
import iconsc from '@/assets/yjzygl/iconsc.svg';
|
|
|
|
import iconsc from '@/assets/yjzygl/iconsc.svg';
|
|
|
|
|
|
|
|
|
|
|
|
@ -135,17 +135,17 @@ const Yjwz = () => {
|
|
|
|
width: 120,
|
|
|
|
width: 120,
|
|
|
|
render: (text, record) => (
|
|
|
|
render: (text, record) => (
|
|
|
|
<div className={styles.actionButtons}>
|
|
|
|
<div className={styles.actionButtons}>
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
type="link"
|
|
|
|
type="link"
|
|
|
|
size="small"
|
|
|
|
size="small"
|
|
|
|
// icon={<EditOutlined />}
|
|
|
|
// icon={<EditOutlined />}
|
|
|
|
onClick={() => handleEdit(record)}
|
|
|
|
onClick={() => handleEdit(record)}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
修改
|
|
|
|
修改
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
type="link"
|
|
|
|
type="link"
|
|
|
|
size="small"
|
|
|
|
size="small"
|
|
|
|
danger
|
|
|
|
danger
|
|
|
|
// icon={<DeleteOutlined />}
|
|
|
|
// icon={<DeleteOutlined />}
|
|
|
|
onClick={() => handleDelete(record)}
|
|
|
|
onClick={() => handleDelete(record)}
|
|
|
|
@ -216,7 +216,7 @@ const Yjwz = () => {
|
|
|
|
{/* 页面标题 */}
|
|
|
|
{/* 页面标题 */}
|
|
|
|
<div className={styles.header}>
|
|
|
|
<div className={styles.header}>
|
|
|
|
<div className={styles.titleBar}></div>
|
|
|
|
<div className={styles.titleBar}></div>
|
|
|
|
<h2 className={styles.title}>应急值班人员</h2>
|
|
|
|
<h2 className={styles.title}>应急队伍</h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{/* 搜索和操作区域 */}
|
|
|
|
{/* 搜索和操作区域 */}
|
|
|
|
@ -226,7 +226,7 @@ const Yjwz = () => {
|
|
|
|
placeholder="请选择单位名称"
|
|
|
|
placeholder="请选择单位名称"
|
|
|
|
value={searchValue}
|
|
|
|
value={searchValue}
|
|
|
|
onChange={setSearchValue}
|
|
|
|
onChange={setSearchValue}
|
|
|
|
style={{ width: 180, height: 30, borderRadius: 2 }}
|
|
|
|
style={{width: 180, height: 30, borderRadius: 2}}
|
|
|
|
allowClear
|
|
|
|
allowClear
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<Option value="文登市兴文新材料有限公司">文登市兴文新材料有限公司</Option>
|
|
|
|
<Option value="文登市兴文新材料有限公司">文登市兴文新材料有限公司</Option>
|
|
|
|
@ -234,8 +234,8 @@ const Yjwz = () => {
|
|
|
|
<Option value="山东万图高分子材料股份有限公司">山东万图高分子材料股份有限公司</Option>
|
|
|
|
<Option value="山东万图高分子材料股份有限公司">山东万图高分子材料股份有限公司</Option>
|
|
|
|
<Option value="合鸿新材科技有限公司">合鸿新材科技有限公司</Option>
|
|
|
|
<Option value="合鸿新材科技有限公司">合鸿新材科技有限公司</Option>
|
|
|
|
</Select>
|
|
|
|
</Select>
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
icon={<SearchOutlined />}
|
|
|
|
icon={<SearchOutlined />}
|
|
|
|
onClick={handleSearch}
|
|
|
|
onClick={handleSearch}
|
|
|
|
loading={loading}
|
|
|
|
loading={loading}
|
|
|
|
@ -245,18 +245,18 @@ const Yjwz = () => {
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div className={styles.searchRight}>
|
|
|
|
<div className={styles.searchRight}>
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
icon={<PlusOutlined />}
|
|
|
|
icon={<PlusOutlined />}
|
|
|
|
onClick={handleAdd}
|
|
|
|
onClick={handleAdd}
|
|
|
|
className={styles.customButton}
|
|
|
|
className={styles.customButton}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
新增
|
|
|
|
新增
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
danger
|
|
|
|
danger
|
|
|
|
style={{ width: 70, height: 30, borderRadius: 2, display: 'flex', alignItems: 'center', justifyContent: 'center' }}
|
|
|
|
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 }} />}
|
|
|
|
icon={<img src={iconsc} alt="delete" style={{width: 14, height: 14, marginTop: -2}}/>}
|
|
|
|
onClick={handleBatchDelete}
|
|
|
|
onClick={handleBatchDelete}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
删除
|
|
|
|
删除
|
|
|
|
|