From 9b06b6433dfe4b87e0a4ef506b620062ad44c445 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 23 二月 2024 16:33:14 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/system/user/index.jsx |  155 ++++++++++++++++++++++++++-------------------------
 1 files changed, 78 insertions(+), 77 deletions(-)

diff --git a/zy-asrs-flow/src/pages/system/user/index.jsx b/zy-asrs-flow/src/pages/system/user/index.jsx
index 2066b4e..21d77e4 100644
--- a/zy-asrs-flow/src/pages/system/user/index.jsx
+++ b/zy-asrs-flow/src/pages/system/user/index.jsx
@@ -686,84 +686,85 @@
                         }}
                     />
                 </Col>
-
-                <Edit
-                    open={modalVisible}
-                    values={currentRow || {}}
-                    treeData={deptTreeData}
-                    onCancel={
-                        () => {
-                            setModalVisible(false);
-                            setCurrentRow(undefined);
-                        }
-                    }
-                    onSubmit={async (values) => {
-                        let ok = false;
-                        if (values.id) {
-                            ok = await handleUpdate({ ...values })
-                        } else {
-                            ok = await handleSave({ ...values })
-                        }
-                        if (ok) {
-                            setModalVisible(false);
-                            setCurrentRow(undefined);
-                            if (actionRef.current) {
-                                actionRef.current.reload();
-                            }
-                        }
-                    }
-                    }
-                />
-
-                <Pwd
-                    open={pwdModalVisible}
-                    values={currentRow || {}}
-                    onCancel={
-                        () => {
-                            setPwdModalVisible(false);
-                            setCurrentRow(undefined);
-                        }
-                    }
-                    onSubmit={async (values) => {
-                        let ok = false;
-                        if (values.id) {
-                            ok = await handlePwd({ ...values })
-                        }
-                        if (ok) {
-                            setPwdModalVisible(false);
-                            setCurrentRow(undefined);
-                            if (actionRef.current) {
-                                actionRef.current.reload();
-                            }
-                        }
-                    }
-                    }
-                />
-
-                <AssignRole
-                    open={assignModalVisible}
-                    values={currentRow || {}}
-                    onCancel={
-                        () => {
-                            setAssignModalVisible(false);
-                            setCurrentRow(undefined);
-                        }
-                    }
-                    onSubmit={async (values) => {
-                        let ok = false;
-                        if (values.id) {
-                            ok = await handleUpdate({ ...values })
-                        }
-                        if (ok) {
-                            setAssignModalVisible(false);
-                            setCurrentRow(undefined);
-                            if (actionRef.current) {
-                                actionRef.current.reload();
-                            }
-                        }
-                    }}
-                />
             </Row>
+
+            <Edit
+                open={modalVisible}
+                values={currentRow || {}}
+                treeData={deptTreeData}
+                onCancel={
+                    () => {
+                        setModalVisible(false);
+                        setCurrentRow(undefined);
+                    }
+                }
+                onSubmit={async (values) => {
+                    let ok = false;
+                    if (values.id) {
+                        ok = await handleUpdate({ ...values })
+                    } else {
+                        ok = await handleSave({ ...values })
+                    }
+                    if (ok) {
+                        setModalVisible(false);
+                        setCurrentRow(undefined);
+                        if (actionRef.current) {
+                            actionRef.current.reload();
+                        }
+                    }
+                }
+                }
+            />
+
+            <Pwd
+                open={pwdModalVisible}
+                values={currentRow || {}}
+                onCancel={
+                    () => {
+                        setPwdModalVisible(false);
+                        setCurrentRow(undefined);
+                    }
+                }
+                onSubmit={async (values) => {
+                    let ok = false;
+                    if (values.id) {
+                        ok = await handlePwd({ ...values })
+                    }
+                    if (ok) {
+                        setPwdModalVisible(false);
+                        setCurrentRow(undefined);
+                        if (actionRef.current) {
+                            actionRef.current.reload();
+                        }
+                    }
+                }
+                }
+            />
+
+            <AssignRole
+                open={assignModalVisible}
+                values={currentRow || {}}
+                onCancel={
+                    () => {
+                        setAssignModalVisible(false);
+                        setCurrentRow(undefined);
+                    }
+                }
+                onSubmit={async (values) => {
+                    let ok = false;
+                    if (values.id) {
+                        ok = await handleUpdate({ ...values })
+                    }
+                    if (ok) {
+                        setAssignModalVisible(false);
+                        setCurrentRow(undefined);
+                        if (actionRef.current) {
+                            actionRef.current.reload();
+                        }
+                    }
+                }}
+            />
+
         </PageContainer>
     );
 };

--
Gitblit v1.9.1