优化U3页面:在确认逻辑中增加对选定ID的存储
This commit is contained in:
@@ -28,6 +28,10 @@ const U3: React.FC = () => {
|
|||||||
getOptionalItemList(idCardNo)
|
getOptionalItemList(idCardNo)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.Status === 200) {
|
if (res.Status === 200) {
|
||||||
|
localStorage.setItem(
|
||||||
|
"selectedExamId",
|
||||||
|
res.Data.packageInfo.physical_exam_id.toString() || ""
|
||||||
|
);
|
||||||
if (
|
if (
|
||||||
res.Data?.packageInfo?.is_optional_package === 1 &&
|
res.Data?.packageInfo?.is_optional_package === 1 &&
|
||||||
res.Data.packageInfo.registration_time.length > 0
|
res.Data.packageInfo.registration_time.length > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user