消息通知
This commit is contained in:
@ -44,19 +44,6 @@ const LoginPage: React.FC = () => {
|
||||
|
||||
}, [activeKey]);
|
||||
|
||||
// 组件挂载时,检查是否有记住的用户名
|
||||
useEffect(() => {
|
||||
// const savedUser = localStorage.getItem('remember_user');
|
||||
// if (savedUser) {
|
||||
// const user = JSON.parse(savedUser);
|
||||
// form.setFieldsValue({
|
||||
// username: user.username,
|
||||
// password: user.password,
|
||||
// remember: true,
|
||||
// });
|
||||
// }
|
||||
}, [form]);
|
||||
|
||||
// 修改密码确认回调
|
||||
const handleChangePwd = async (values: { userId: string; newPassword: string; confirmPassword: string; }) => {
|
||||
try {
|
||||
@ -95,7 +82,7 @@ const LoginPage: React.FC = () => {
|
||||
} else {
|
||||
localStorage.removeItem('remember_user');
|
||||
}
|
||||
|
||||
sessionStorage.setItem('activeKey', activeKey)
|
||||
sessionStorage.setItem('token', loginRes.data.token);
|
||||
//存入供应商用户id
|
||||
if (activeKey === 'supplierLogin') {
|
||||
|
@ -133,6 +133,13 @@ const SupplierEntryReview: React.FC = () => {
|
||||
ellipsis: true,
|
||||
width: 120,
|
||||
},
|
||||
{
|
||||
title: '准入单位',
|
||||
dataIndex: 'orgName',
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
width: 120,
|
||||
},
|
||||
{
|
||||
title: '准入部门',
|
||||
dataIndex: 'deptName',
|
||||
@ -223,8 +230,8 @@ const SupplierEntryReview: React.FC = () => {
|
||||
<Form.Item name="accessType" label="准入方式">
|
||||
<AdmissionTypeSelect />
|
||||
</Form.Item>
|
||||
<Form.Item name="deptId" label="准入部门">
|
||||
<AccessDepartmentSelect orgCategory='' />
|
||||
<Form.Item name="orgId" label="准入单位">
|
||||
<AccessDepartmentSelect />
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item name="approveStatus" label="审批状态">
|
||||
|
Reference in New Issue
Block a user