diff --git a/src/pages/authentication/Register.js b/src/pages/authentication/Register.js index f9885c3..fd68268 100644 --- a/src/pages/authentication/Register.js +++ b/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 = { diff --git a/src/pages/authentication/auth-forms/CustomFormWizard.js b/src/pages/authentication/auth-forms/CustomFormWizard.js index 4f9efe5..bd43dd8 100644 --- a/src/pages/authentication/auth-forms/CustomFormWizard.js +++ b/src/pages/authentication/auth-forms/CustomFormWizard.js @@ -1243,10 +1243,10 @@ const CustomFormWizard = (props) => { {checkUpload? // SUCCESS page - {/* */} - - 完成申請,請登入帳戶 - + + 帳戶申請已成功提交。 + 驗證電郵將發送到你的電郵地址,請要指示完成驗證及登入系統。 + : // ERROR page diff --git a/src/pages/pnspsUserSearchPage/UserSearchForm.js b/src/pages/pnspsUserSearchPage/UserSearchForm.js index eab02e9..474996d 100644 --- a/src/pages/pnspsUserSearchPage/UserSearchForm.js +++ b/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);