瀏覽代碼

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 // ,useEffect
} from 'react'; } from 'react';


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

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


// project import // 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 ||================================ // // ================================|| REGISTER ||================================ //
const stepStyle = { const stepStyle = {


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

@@ -1243,10 +1243,10 @@ const CustomFormWizard = (props) => {
{checkUpload? {checkUpload?
// SUCCESS page // SUCCESS page
<Stack mt={1} direction="column" justifyContent="flex-start" alignItems="center" spacing={2}> <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> </Stack>
: :
// ERROR page // ERROR page


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

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


Loading…
取消
儲存