使用packageInfo

This commit is contained in:
xianyi
2025-11-27 14:01:39 +08:00
parent 8699f77ec5
commit 6ed5fc7032
2 changed files with 5 additions and 2 deletions

View File

@@ -84,6 +84,9 @@ const U2: React.FC = () => {
getOptionalItemList(idCardNo)
.then((res) => {
if (res.Status === 200) {
localStorage.setItem("selectedExamId", res.Data.packageInfo.physical_exam_id.toString() || "")
const isPackageUndecided =
res.Data?.packageInfo?.is_optional_package === 1 &&
res.Data?.packageInfo.registration_time?.length > 0;