| @@ -24,7 +24,7 @@ | |||||
| } | } | ||||
| #navbar div li a{ | #navbar div li a{ | ||||
| text-decoration: none; | text-decoration: none; | ||||
| font-size: 1.5rem; | |||||
| font-size: 1.2rem; | |||||
| font-weight: 600; | font-weight: 600; | ||||
| font-family: 微軟正黑體; | font-family: 微軟正黑體; | ||||
| color: black; | color: black; | ||||
| @@ -36,11 +36,11 @@ | |||||
| #navbar div li a:hover::after, | #navbar div li a:hover::after, | ||||
| #navbar div li a:focus::after{ | #navbar div li a:focus::after{ | ||||
| content: ""; | content: ""; | ||||
| width: 60%; | |||||
| width: 80%; | |||||
| height: 2px; | height: 2px; | ||||
| background:#0C489E; | background:#0C489E; | ||||
| position: absolute; | position: absolute; | ||||
| top: 1px; | |||||
| bottom: 3px; | |||||
| left: 20px; | left: 20px; | ||||
| } | } | ||||
| #navbar div li ul { | #navbar div li ul { | ||||
| @@ -54,7 +54,7 @@ const RegisterCustom = () => ( | |||||
| <Typography ml={4} mr={4} mt={4} variant="body1" display="block" sx={{fontWeight: 'bold'}} gutterBottom> | <Typography ml={4} mr={4} mt={4} variant="body1" display="block" sx={{fontWeight: 'bold'}} gutterBottom> | ||||
| 需上載身份證明文件數碼檔案以進行網上申請。 | 需上載身份證明文件數碼檔案以進行網上申請。 | ||||
| <br/>如:香港身份證;護照;往來港澳通行證等 | |||||
| <br/>如:香港身份證; 護照; 中國內地身份證; 專業執業証書等 | |||||
| </Typography> | </Typography> | ||||
| </Grid> | </Grid> | ||||
| <Grid item xs={12} md={6} sx={{ borderLeft: 1 ,borderColor: 'grey.500' }}> | <Grid item xs={12} md={6} sx={{ borderLeft: 1 ,borderColor: 'grey.500' }}> | ||||
| @@ -30,6 +30,7 @@ const UserGroupCard = ({isCollectData, updateUserGroupList,userData}) => { | |||||
| useEffect(() => { | useEffect(() => { | ||||
| //if state data are ready and assign to different field | //if state data are ready and assign to different field | ||||
| // if (Object.keys(userData).length > 0 &¤tUserData !== undefined) { | |||||
| if (Object.keys(userData).length > 0 &¤tUserData !== undefined) { | if (Object.keys(userData).length > 0 &¤tUserData !== undefined) { | ||||
| setOnReady(true); | setOnReady(true); | ||||
| } | } | ||||
| @@ -33,7 +33,8 @@ export default function UserGroupTable({setSelectedRow, userGroup}) { | |||||
| useEffect(() => { | useEffect(() => { | ||||
| //if state data are ready and assign to different field | //if state data are ready and assign to different field | ||||
| if (groupData.length > 0) { | |||||
| console.log(groupData) | |||||
| if (groupData!== undefined) { | |||||
| setOnReady(true); | setOnReady(true); | ||||
| } | } | ||||
| }, [groupData]); | }, [groupData]); | ||||
| @@ -144,7 +144,7 @@ const UserMaintainPage = () => { | |||||
| "removeAuthIds": deletedUserAuth, | "removeAuthIds": deletedUserAuth, | ||||
| }, | }, | ||||
| ).then((response) => { | ).then((response) => { | ||||
| if (response.status === 200) { | |||||
| if (response.status === 204) { | |||||
| // notifySaveSuccess(); | // notifySaveSuccess(); | ||||
| navigate('/userSearchview'); | navigate('/userSearchview'); | ||||
| } | } | ||||
| @@ -12,7 +12,7 @@ import { | |||||
| GeneralConfirmWindow, | GeneralConfirmWindow, | ||||
| getDeletedRecordWithRefList, | getDeletedRecordWithRefList, | ||||
| getIdList, | getIdList, | ||||
| notifyDeleteSuccess, | |||||
| // notifyDeleteSuccess, | |||||
| // notifySaveSuccess | // notifySaveSuccess | ||||
| } from "../../utils/CommonFunction"; | } from "../../utils/CommonFunction"; | ||||
| import {POST_AND_UPDATE_USER_GROUP,GET_GROUP_LIST_PATH } from "../../utils/ApiPathConst"; | import {POST_AND_UPDATE_USER_GROUP,GET_GROUP_LIST_PATH } from "../../utils/ApiPathConst"; | ||||
| @@ -58,7 +58,7 @@ const UserMaintainPage = () => { | |||||
| ) | ) | ||||
| .then((response) => { | .then((response) => { | ||||
| if (response.status === 204) { | if (response.status === 204) { | ||||
| notifyDeleteSuccess(); | |||||
| // notifyDeleteSuccess(); | |||||
| setIsWindowOpen(false); | setIsWindowOpen(false); | ||||
| navigate('/usergroupSearchview'); | navigate('/usergroupSearchview'); | ||||
| } | } | ||||