|
|
@@ -59,7 +59,7 @@ export default function SearchPublicNoticeTable({ recordList }) { |
|
|
|
{ |
|
|
|
field: 'actions', |
|
|
|
headerName: '校對編號', |
|
|
|
width: 150, |
|
|
|
width: 250, |
|
|
|
cellClassName: 'actions', |
|
|
|
renderCell: (params) => { |
|
|
|
return <Button onClick={handleEditClick(params)}><u>{params.row.refNo}</u></Button>; |
|
|
@@ -68,7 +68,7 @@ export default function SearchPublicNoticeTable({ recordList }) { |
|
|
|
{ |
|
|
|
id: 'appId', |
|
|
|
field: 'appId', |
|
|
|
headerName: '申請編號 / 憲報期數', |
|
|
|
headerName: '申請編號 / 憲報期數 / 我的備註', |
|
|
|
flex: 1, |
|
|
|
renderCell: (params) => { |
|
|
|
let appNo = params.row.appNo; |
|
|
@@ -78,14 +78,14 @@ export default function SearchPublicNoticeTable({ recordList }) { |
|
|
|
+ ", No. " + FormatUtils.zeroPad(params.row.issueNo, 2) |
|
|
|
+ ", " + DateUtils.dateFormat(params.row.issueDate, "D MMM YYYY (ddd)"); |
|
|
|
|
|
|
|
return <div style={{ margin: 4 }}>{appNo}<br />{isssue}</div> |
|
|
|
return <div style={{ margin: 4 }}>{appNo}<br />{isssue}<br />{params.row.appRemarks}</div> |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
id: 'created', |
|
|
|
field: 'created', |
|
|
|
headerName: '校對日期', |
|
|
|
flex: 1, |
|
|
|
width: 250, |
|
|
|
valueGetter: (params) => { |
|
|
|
return DateUtils.datetimeStr(params?.value); |
|
|
|
} |
|
|
@@ -94,7 +94,7 @@ export default function SearchPublicNoticeTable({ recordList }) { |
|
|
|
id: 'returnBeforeDate', |
|
|
|
field: 'returnBeforeDate', |
|
|
|
headerName: '此日期前回覆', |
|
|
|
flex: 1, |
|
|
|
width: 250, |
|
|
|
valueGetter: (params) => { |
|
|
|
let returnBeforeDate = DateUtils.convertToDate(params?.value); |
|
|
|
returnBeforeDate = returnBeforeDate.setHours(14, 0, 0, 0); |
|
|
@@ -105,7 +105,7 @@ export default function SearchPublicNoticeTable({ recordList }) { |
|
|
|
id: 'replyDate', |
|
|
|
field: 'replyDate', |
|
|
|
headerName: '回覆日期', |
|
|
|
flex: 1, |
|
|
|
width: 250, |
|
|
|
valueGetter: (params) => { |
|
|
|
return params?.value ? DateUtils.datetimeStr(params?.value) : ""; |
|
|
|
} |
|
|
@@ -123,7 +123,7 @@ export default function SearchPublicNoticeTable({ recordList }) { |
|
|
|
id: 'fee', |
|
|
|
field: 'fee', |
|
|
|
headerName: '費用', |
|
|
|
flex: 1, |
|
|
|
width: 250, |
|
|
|
valueGetter: (params) => { |
|
|
|
return (params?.value) ? "$ " + FormatUtils.currencyFormat(params?.value) : ""; |
|
|
|
} |
|
|
|