#
luxiaotao1123
2024-02-22 f77c353e29f93294032d5094c4617d037f4aea71
#
1个文件已修改
36 ■■■■ 已修改文件
zy-asrs-flow/src/pages/system/user/index.jsx 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/system/user/index.jsx
@@ -488,23 +488,25 @@
                                console.log(value);
                            }}
                        />
                        <Tree
                            showLine
                            blockNode
                            defaultExpandAll    // 异步加载失效
                            expandedKeys={deptExpandedKeys}
                            onExpand={setDeptExpandedKeys}
                            treeData={deptTreeData}
                            switcherIcon={<DownOutlined />}
                            onSelect={(selectedKeys, info) => {
                                const deptId = selectedKeys[0];
                                setSearchParam(prevState => ({
                                    ...prevState,
                                    deptId: deptId
                                }));
                                actionRef.current?.reload();
                            }}
                        />
                        <div style={{height: 'calc(100vh - 350px)', overflowY: 'auto' }}>
                            <Tree
                                showLine
                                blockNode
                                defaultExpandAll    // 异步加载失效
                                expandedKeys={deptExpandedKeys}
                                onExpand={setDeptExpandedKeys}
                                treeData={deptTreeData}
                                switcherIcon={<DownOutlined />}
                                onSelect={(selectedKeys, info) => {
                                    const deptId = selectedKeys[0];
                                    setSearchParam(prevState => ({
                                        ...prevState,
                                        deptId: deptId
                                    }));
                                    actionRef.current?.reload();
                                }}
                            />
                        </div>
                    </Card>
                </Col>
                <Col lg={18} md={24}>