@@ -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 = { | ||||
@@ -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 | ||||
@@ -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); | ||||