2 커밋

작성자 SHA1 메시지 날짜
  Jason Chuang 94a6cbd5eb test payment 1 주 전
  Jason Chuang 14026e35bf CR-024 update 1 주 전
8개의 변경된 파일22개의 추가작업 그리고 25개의 파일을 삭제
통합 보기
  1. +0
    -14
      src/layout/MainLayout/Header/index.js
  2. +4
    -2
      src/pages/Payment/MultiPaymentWindow.js
  3. +4
    -2
      src/pages/Proof/Payment/Pay.js
  4. +4
    -1
      src/pages/Proof/Payment/Pay_Online.js
  5. +4
    -2
      src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js
  6. +4
    -1
      src/pages/PublicNotice/ListPanel/PendingPaymentTab.js
  7. +1
    -2
      src/pages/Setting/HkidKeyMigration/index.js
  8. +1
    -1
      src/pages/Setting/UserPiiEncryption/index.js

+ 0
- 14
src/layout/MainLayout/Header/index.js 파일 보기

@@ -516,20 +516,6 @@ function Header(props) {


{isGranted("MAINTAIN_SETTING") ? ( {isGranted("MAINTAIN_SETTING") ? (
<> <>
<li>
<Link className="systemSetting" to="/setting/hkidKeyMigration">
<Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 2, mt: 1, mb: 1 }}>
HKID Key Migration
</Typography>
</Link>
</li>
<li>
<Link className="systemSetting" to="/setting/userPiiEncryption">
<Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 2, mt: 1, mb: 1 }}>
User PII Encryption
</Typography>
</Link>
</li>
<li> <li>
<Link className="systemSetting" to="/setting/sys"> <Link className="systemSetting" to="/setting/sys">
<Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 2, mt: 1, mb: 1 }}> <Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 2, mt: 1, mb: 1 }}>


+ 4
- 2
src/pages/Payment/MultiPaymentWindow.js 파일 보기

@@ -217,8 +217,10 @@ const MultiPaymentWindow = (props) => {
}); });
const latestDataObjects = Object.values(latestData); const latestDataObjects = Object.values(latestData);
// const filteredData = latestDataObjects.filter(item => item.timeDiff > 20 || item.status !== "APPR");
const filteredData = latestDataObjects.filter(item => item.timeDiff > 30 || item.status == "CANC" || item.status == "REJT");
const filteredData = latestDataObjects.filter(item =>
item.status == "CANC" || item.status == "REJT"
|| (item.status !== "INPR" && item.status != null && item.timeDiff > 30)
);


const filteredAppIds = filteredData.map(item => item.appId); const filteredAppIds = filteredData.map(item => item.appId);


+ 4
- 2
src/pages/Proof/Payment/Pay.js 파일 보기

@@ -62,8 +62,10 @@ const Index = ({ record }) => {
}); });
const latestDataObjects = Object.values(latestData); const latestDataObjects = Object.values(latestData);
// const filteredData = latestDataObjects.filter(item => item.timeDiff > 20 || item.status !== "APPR");
const filteredData = latestDataObjects.filter(item => item.timeDiff > 30 || item.status == "CANC" || item.status == "REJT");
const filteredData = latestDataObjects.filter(item =>
item.status == "CANC" || item.status == "REJT"
|| (item.status !== "INPR" && item.status != null && item.timeDiff > 30)
);


const filteredAppIds = filteredData.map(item => item.appId); const filteredAppIds = filteredData.map(item => item.appId);




+ 4
- 1
src/pages/Proof/Payment/Pay_Online.js 파일 보기

@@ -140,7 +140,10 @@ const Index = () => {
}); });
const latestDataObjects = Object.values(latestData); const latestDataObjects = Object.values(latestData);


const filteredData = latestDataObjects.filter(item => item.timeDiff > 30 || item.status !== "APPR");
const filteredData = latestDataObjects.filter(item =>
item.status == "CANC" || item.status == "REJT"
|| (item.status !== "INPR" && item.status != null && item.timeDiff > 30)
);
const filteredAppIds = filteredData.map(item => item.appId); const filteredAppIds = filteredData.map(item => item.appId);


const appIdsNotInData = appIdList.filter(appId => !latestDataObjects.some(item => item.appId === appId)); const appIdsNotInData = appIdList.filter(appId => !latestDataObjects.some(item => item.appId === appId));


+ 4
- 2
src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js 파일 보기

@@ -156,8 +156,10 @@ const ApplicationDetailCard = (
}); });
const latestDataObjects = Object.values(latestData); const latestDataObjects = Object.values(latestData);


// const filteredData = latestDataObjects.filter(item => item.timeDiff > 20 || item.status !== "APPR");
const filteredData = latestDataObjects.filter(item => item.timeDiff > 30 || item.status == "CANC" || item.status == "REJT");
const filteredData = latestDataObjects.filter(item =>
item.status == "CANC" || item.status == "REJT"
|| (item.status !== "INPR" && item.status != null && item.timeDiff > 30)
);


const filteredAppIds = filteredData.map(item => item.appId); const filteredAppIds = filteredData.map(item => item.appId);




+ 4
- 1
src/pages/PublicNotice/ListPanel/PendingPaymentTab.js 파일 보기

@@ -151,7 +151,10 @@ export default function SubmittedTab({ setCount, url }) {
}); });
const latestDataObjects = Object.values(latestData); const latestDataObjects = Object.values(latestData);
const filteredData = latestDataObjects.filter(item => item.timeDiff > 30 || item.status == "CANC" || item.status == "REJT");
const filteredData = latestDataObjects.filter(item =>
item.status == "CANC" || item.status == "REJT"
|| (item.status !== "INPR" && item.status != null && item.timeDiff > 30)
);
const filteredAppIds = filteredData.map(item => item.appId); const filteredAppIds = filteredData.map(item => item.appId);


const appIdsNotInData = appIdList.filter(appId => !latestDataObjects.some(item => item.appId === appId)); const appIdsNotInData = appIdList.filter(appId => !latestDataObjects.some(item => item.appId === appId));


+ 1
- 2
src/pages/Setting/HkidKeyMigration/index.js 파일 보기

@@ -64,7 +64,7 @@ const HkidKeyMigration = () => {
<div style={BackgroundHead}> <div style={BackgroundHead}>
<Stack direction="row" height='70px' justifyContent="space-between" alignItems="center"> <Stack direction="row" height='70px' justifyContent="space-between" alignItems="center">
<Typography ml={15} color='#FFF' variant="h4" sx={{ textShadow: "0px 0px 25px #0C489E" }}> <Typography ml={15} color='#FFF' variant="h4" sx={{ textShadow: "0px 0px 25px #0C489E" }}>
HKID Key Migration
Encryption Key Migration
</Typography> </Typography>
</Stack> </Stack>
</div> </div>
@@ -74,7 +74,6 @@ const HkidKeyMigration = () => {
<Box sx={{ borderRadius: '10px', backgroundColor: '#fff', p: 4 }}> <Box sx={{ borderRadius: '10px', backgroundColor: '#fff', p: 4 }}>
<Typography variant="body1" sx={{ mb: 2 }}> <Typography variant="body1" sx={{ mb: 2 }}>
Re-encrypt identification and checkDigit from the legacy key to the new key. Re-encrypt identification and checkDigit from the legacy key to the new key.
Ensure Tomcat has both <code>security.hkid-secret</code> and <code>security.hkid-secret-legacy</code> configured before running.
</Typography> </Typography>
<Stack direction="row" spacing={2}> <Stack direction="row" spacing={2}>
<Button variant="outlined" size="large" disabled={wait} onClick={() => runMigration(true)}> <Button variant="outlined" size="large" disabled={wait} onClick={() => runMigration(true)}>


+ 1
- 1
src/pages/Setting/UserPiiEncryption/index.js 파일 보기

@@ -94,7 +94,7 @@ const UserPiiEncryption = () => {
<div style={BackgroundHead}> <div style={BackgroundHead}>
<Stack direction="row" height='70px' justifyContent="space-between" alignItems="center"> <Stack direction="row" height='70px' justifyContent="space-between" alignItems="center">
<Typography ml={15} color='#FFF' variant="h4" sx={{ textShadow: "0px 0px 25px #0C489E" }}> <Typography ml={15} color='#FFF' variant="h4" sx={{ textShadow: "0px 0px 25px #0C489E" }}>
User PII Encryption
User Fields Encryption
</Typography> </Typography>
</Stack> </Stack>
</div> </div>


불러오는 중...
취소
저장