浏览代码

update

master
Anna Ho 2 年前
父节点
当前提交
77296cd465
共有 3 个文件被更改,包括 14 次插入8 次删除
  1. +8
    -2
      src/pages/authentication/Register.js
  2. +4
    -4
      src/pages/authentication/auth-forms/CustomFormWizard.js
  3. +2
    -2
      src/pages/pnspsUserSearchPage/UserSearchForm.js

+ 8
- 2
src/pages/authentication/Register.js 查看文件

@@ -3,6 +3,9 @@
// ,useEffect
} from 'react';

import Loadable from 'components/Loadable';
import { lazy } from 'react';

// material-ui
import {
Stepper,
@@ -17,8 +20,11 @@
import VisibilityIcon from '@mui/icons-material/Visibility';

// project import
import CustomFormWizard from './auth-forms/CustomFormWizard';
import AuthWrapper from './AuthWrapperCustom';
const CustomFormWizard = Loadable(lazy(() => import('./auth-forms/CustomFormWizard')));
const AuthWrapper = Loadable(lazy(() => import('./AuthWrapperCustom')));

//import CustomFormWizard from './auth-forms/CustomFormWizard';
//import AuthWrapper from './AuthWrapperCustom';

// ================================|| REGISTER ||================================ //
const stepStyle = {


+ 4
- 4
src/pages/authentication/auth-forms/CustomFormWizard.js 查看文件

@@ -1243,10 +1243,10 @@ const CustomFormWizard = (props) => {
{checkUpload?
// SUCCESS page
<Stack mt={1} direction="column" justifyContent="flex-start" alignItems="center" spacing={2}>
{/* <Button disabled={true} hidden={true} variant="contained" type="submit" sx={{ fontSize: 12,height:'25px'}}>Submit</Button> */}
<CheckCircleOutlineIcon color="success" sx={{width:"200px",height:"200px"}}/>
<Typography display="inline" variant="h4">完成申請,請登入帳戶</Typography>
<Button variant="outlined" component={Link} to="/login" sx={{ fontSize: 20,height:'60px'}}>返回登入頁面</Button>
<CheckCircleOutlineIcon color="success" sx={{width:"200px",height:"200px"}}/>
<Typography display="inline" variant="h4">帳戶申請已成功提交。</Typography>
<Typography display="inline" variant="h4">驗證電郵將發送到你的電郵地址,請要指示完成驗證及登入系統。</Typography>
<Button variant="outlined" component={Link} to="/login" sx={{ fontSize: 20,height:'60px'}}>返回登入頁面</Button>
</Stack>
:
// ERROR page


+ 2
- 2
src/pages/pnspsUserSearchPage/UserSearchForm.js 查看文件

@@ -55,10 +55,10 @@ const UserSearchForm = ({applySearch}) => {
username: data.userName,
fullName: data.fullName,
post: data.post,
subDivision: subDivision,
// subDivision: subDivision,
email: data.email,
phone: data.phone,
isLotusNoteUser: isLotusNoteUser,
// isLotusNoteUser: isLotusNoteUser,
locked: locked,
};
applySearch(temp);


正在加载...
取消
保存