#
luxiaotao1123
2024-02-22 50a220c9668102e48aeff26b12eba6628acbc395
#
1个文件已修改
10 ■■■■■ 已修改文件
zy-asrs-flow/src/pages/system/role/components/scope.jsx 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/system/role/components/scope.jsx
@@ -3,6 +3,7 @@
    ProForm,
    ProFormDigit,
} from '@ant-design/pro-components';
import { DownOutlined } from '@ant-design/icons';
import { Col, Form, Modal, Row, Checkbox, Skeleton, Tree, Drawer, Space, Button, Card } from 'antd';
import Http from '@/utils/http';
import { transformTreeData, getTreeAllKeys } from '@/utils/tree-util'
@@ -58,7 +59,7 @@
    return (
        <>
            <Drawer
                title={`分配权限 - ${name?name:'-'}`}
                title={`分配权限 - ${name ? name : '-'}`}
                width={640}
                forceRender
                destroyOnClose
@@ -94,10 +95,9 @@
                        <ProForm.Item
                            name="deptIds"
                            label="菜单权限"
                            label="权限菜单"
                            colProps={{ md: 24, xl: 24 }}
                        >
                            <Row gutter={[16, 16]}>
                                <Col md={24}>
                                    <Checkbox.Group
@@ -124,7 +124,10 @@
                                        <Skeleton active />
                                    ) : (
                                        <Tree
                                            showLine
                                            blockNode
                                            checkable
                                            switcherIcon={<DownOutlined />}
                                            treeData={menuTreeData}
                                            expandedKeys={menuExpandedKeys}
                                            onExpand={(expandedKeys) => {
@@ -142,7 +145,6 @@
                                    )}
                                </Col>
                            </Row>
                        </ProForm.Item>
                    </ProForm>
                </Card>