From cc6a5dcac86b83b8b665770039d30e2c466b9925 Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期四, 27 二月 2025 15:10:00 +0800 Subject: [PATCH] 人员管理 --- management/src/pages/setting/user/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/management/src/pages/setting/user/index.jsx b/management/src/pages/setting/user/index.jsx index 7c64ee4..3504e1e 100644 --- a/management/src/pages/setting/user/index.jsx +++ b/management/src/pages/setting/user/index.jsx @@ -5,7 +5,7 @@ import { useEffect, useRef, useState } from 'react'; import { Access, useAccess } from 'umi'; import AddAndEdit from './components/addAndEdit'; -import { add, del, edit, getUnitList } from './service'; +import { add, del, edit, getUnitList ,editSystemUserInfo,addSystemUserInfo} from './service'; const Role = () => { const actionRef = useRef(); @@ -191,7 +191,7 @@ ref={addViewRef} visible={modalVisible} onSave={async (fileds) => { - let success = await sendRequest(add, fileds); + let success = await sendRequest(addSystemUserInfo, fileds); if (success) { handleModalVisibles(false); actionRef.current.reload(); @@ -199,7 +199,7 @@ addViewRef.current.clean(); }} onUpdate={async (fileds) => { - let success = await sendRequest(edit, fileds); + let success = await sendRequest(editSystemUserInfo, fileds); if (success) { handleModalVisibles(false); actionRef.current.reload(); -- Gitblit v1.7.1