#
luxiaotao1123
2024-02-23 2ed7fbad3f79688c81de6a22deb44a4f755f17a3
#
1个文件已修改
17 ■■■■■ 已修改文件
zy-asrs-flow/src/pages/system/user/index.jsx 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/system/user/index.jsx
@@ -6,6 +6,7 @@
    PageContainer,
    ProTable,
    LightFilter,
    TableDropdown
} from '@ant-design/pro-components';
import { PlusOutlined, ExportOutlined, DownOutlined, DeleteOutlined, ExclamationCircleOutlined } from '@ant-design/icons';
import Http from '@/utils/http';
@@ -500,6 +501,22 @@
                >
                    删除
                </Button>,
                <TableDropdown
                    key="actionGroup"
                    name="asds"
                    onSelect={(key) => {
                        if (key === 'pwd') {
                            setPwdModalVisible(true);
                            setCurrentRow(record);
                        }
                        else if (key === 'authRole') {
                        }
                    }}
                    menus={[
                        // { key: 'pwd', name: '密码重置' },
                        { key: 'authRole', name: '分配角色' },
                    ]}
                />,
            ],
        },
    ];