@@ -27,6 +27,9 @@ import * as HttpUtils from "utils/HttpUtils" | |||||
import * as StatusUtils from "utils/statusUtils/PublicNoteStatusUtils"; | import * as StatusUtils from "utils/statusUtils/PublicNoteStatusUtils"; | ||||
import * as DateUtils from "utils/DateUtils"; | import * as DateUtils from "utils/DateUtils"; | ||||
import * as FormatUtils from "utils/FormatUtils"; | import * as FormatUtils from "utils/FormatUtils"; | ||||
import { | |||||
isORGLoggedIn, | |||||
} from "utils/Utils"; | |||||
// import BorderColorOutlinedIcon from '@mui/icons-material/BorderColorOutlined'; | // import BorderColorOutlinedIcon from '@mui/icons-material/BorderColorOutlined'; | ||||
// import DoneIcon from '@mui/icons-material/Done'; | // import DoneIcon from '@mui/icons-material/Done'; | ||||
@@ -513,7 +516,7 @@ const ApplicationDetailCard = ( | |||||
</Grid> | </Grid> | ||||
</Grid> | </Grid> | ||||
</Grid> | </Grid> | ||||
{currentApplicationDetailData.orgId === null ? null: | |||||
{isORGLoggedIn() ? | |||||
<Grid item xs={12} md={6} lg={6} sx={{ mb: 1, paddingTop: 2 }}> | <Grid item xs={12} md={6} lg={6} sx={{ mb: 1, paddingTop: 2 }}> | ||||
<Grid container alignItems={"center"}> | <Grid container alignItems={"center"}> | ||||
<Grid item xs={12} md={3} lg={3} | <Grid item xs={12} md={3} lg={3} | ||||
@@ -524,7 +527,7 @@ const ApplicationDetailCard = ( | |||||
<Typography variant="h5">{currentApplicationDetailData.careOf}</Typography> | <Typography variant="h5">{currentApplicationDetailData.careOf}</Typography> | ||||
</Grid> | </Grid> | ||||
</Grid> | </Grid> | ||||
</Grid> | |||||
</Grid>: null | |||||
} | } | ||||
<Grid item xs={12} md={6} lg={6} sx={{ mb: 1, paddingTop: 2 }}> | <Grid item xs={12} md={6} lg={6} sx={{ mb: 1, paddingTop: 2 }}> | ||||
<Grid container alignItems={"center"}> | <Grid container alignItems={"center"}> | ||||
@@ -70,13 +70,13 @@ export default function BaseGrid({rows}) { | |||||
headerName: isORGLoggedIn()?"Care Of / 我的備註":"我的備註", | headerName: isORGLoggedIn()?"Care Of / 我的備註":"我的備註", | ||||
flex: 3, | flex: 3, | ||||
renderCell: (params) => ( | renderCell: (params) => ( | ||||
params.row.orgId === null? | |||||
<div> | |||||
<Typography>{params.row.remarks}</Typography> | |||||
</div>: | |||||
isORGLoggedIn()? | |||||
<div> | <div> | ||||
<Typography>Care Of: {params.row.careOf}</Typography> | <Typography>Care Of: {params.row.careOf}</Typography> | ||||
<Typography>我的備註: {params.row.remarks}</Typography> | <Typography>我的備註: {params.row.remarks}</Typography> | ||||
</div>: | |||||
<div> | |||||
<Typography>{params.row.remarks}</Typography> | |||||
</div> | </div> | ||||
) | ) | ||||
}, | }, | ||||
@@ -112,13 +112,13 @@ export default function SubmittedTab({ rows }) { | |||||
headerName: isORGLoggedIn()?"Care Of / 我的備註":"我的備註", | headerName: isORGLoggedIn()?"Care Of / 我的備註":"我的備註", | ||||
flex: 3, | flex: 3, | ||||
renderCell: (params) => ( | renderCell: (params) => ( | ||||
params.row.orgId === null? | |||||
<div> | |||||
<Typography>{params.row.remarks}</Typography> | |||||
</div>: | |||||
isORGLoggedIn()? | |||||
<div> | <div> | ||||
<Typography>Care Of: {params.row.careOf}</Typography> | <Typography>Care Of: {params.row.careOf}</Typography> | ||||
<Typography>我的備註: {params.row.remarks}</Typography> | <Typography>我的備註: {params.row.remarks}</Typography> | ||||
</div>: | |||||
<div> | |||||
<Typography>{params.row.remarks}</Typography> | |||||
</div> | </div> | ||||
) | ) | ||||
}, | }, | ||||
@@ -73,13 +73,13 @@ export default function SearchPublicNoticeTable({ recordList }) { | |||||
headerName: isORGLoggedIn()?"Care Of / 我的備註":"我的備註", | headerName: isORGLoggedIn()?"Care Of / 我的備註":"我的備註", | ||||
flex: 3, | flex: 3, | ||||
renderCell: (params) => ( | renderCell: (params) => ( | ||||
params.row.orgId === null? | |||||
<div> | |||||
<Typography>{params.row.remarks}</Typography> | |||||
</div>: | |||||
isORGLoggedIn()? | |||||
<div> | <div> | ||||
<Typography>Care Of: {params.row.careOf}</Typography> | <Typography>Care Of: {params.row.careOf}</Typography> | ||||
<Typography>我的備註: {params.row.remarks}</Typography> | <Typography>我的備註: {params.row.remarks}</Typography> | ||||
</div>: | |||||
<div> | |||||
<Typography>{params.row.remarks}</Typography> | |||||
</div> | </div> | ||||
) | ) | ||||
}, | }, | ||||