diff --git a/src/pages/Proof/Search_Public/DataGrid.js b/src/pages/Proof/Search_Public/DataGrid.js
index 96c2f33..76ffefc 100644
--- a/src/pages/Proof/Search_Public/DataGrid.js
+++ b/src/pages/Proof/Search_Public/DataGrid.js
@@ -37,7 +37,8 @@ export default function SearchPublicNoticeTable({ recordList }) {
navigate('/proof/reply/' + params.row.id);
};
- const getGroupTitle = (title) => {
+ /*eslint no-irregular-whitespace: ["error", { "skipComments": true }]*/
+ /*const getGroupTitle = (title) => {
switch (title) {
case 'Private Bill':
return "私人帳單";
@@ -52,9 +53,8 @@ export default function SearchPublicNoticeTable({ recordList }) {
default:
return title;
}
- }
-
-
+ }*/
+
const columns = [
{
field: 'actions',
@@ -68,17 +68,17 @@ export default function SearchPublicNoticeTable({ recordList }) {
{
id: 'appId',
field: 'appId',
- headerName: '申請編號 / 憲報編號 / 憲報期數',
+ headerName: '申請編號 / 憲報期數',
flex: 1,
renderCell: (params) => {
let appNo = params.row.appNo;
- let code = params.row.groupNo;
+ // let code = params.row.groupNo;
let isssue = params.row.issueYear
+ " Vol. " + FormatUtils.zeroPad(params.row.issueVolume, 3)
+ ", No. " + FormatUtils.zeroPad(params.row.issueNo, 2)
+ ", " + DateUtils.dateFormat(params.row.issueDate, "D MMM YYYY (ddd)");
- return
{appNo}
{code}
{isssue}
+ return {appNo}
{isssue}
},
},
{
@@ -110,15 +110,15 @@ export default function SearchPublicNoticeTable({ recordList }) {
return params?.value ? DateUtils.datetimeStr(params?.value) : "";
}
},
- {
- id: 'groupTitle',
- field: 'groupTitle',
- headerName: '憲報類型',
- flex: 1,
- valueGetter: (params) => {
- return getGroupTitle(params?.value);
- }
- },
+ // {
+ // id: 'groupTitle',
+ // field: 'groupTitle',
+ // headerName: '憲報類型',
+ // flex: 1,
+ // valueGetter: (params) => {
+ // return getGroupTitle(params?.value);
+ // }
+ // },
{
id: 'fee',
field: 'fee',
@@ -147,9 +147,9 @@ export default function SearchPublicNoticeTable({ recordList }) {
paginationModel: { page: 0, pageSize: 10 },
},
}}
- getRowHeight={()=>"auto"}
+ getRowHeight={() => "auto"}
onRowDoubleClick={handleRowDoubleClick}
/>
);
-}
+}
\ No newline at end of file
diff --git a/src/pages/Proof/Search_Public/SearchForm.js b/src/pages/Proof/Search_Public/SearchForm.js
index 422cfca..412f291 100644
--- a/src/pages/Proof/Search_Public/SearchForm.js
+++ b/src/pages/Proof/Search_Public/SearchForm.js
@@ -154,7 +154,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria, issueComboData
/>
-
+ {/*
)}
/>
-
+ */}
-
+
-
+