hookehuyr

fix(recall): 临时屏蔽身份证号验证以允许测试

由于当前测试需要,暂时移除身份证号格式验证,以便测试流程能顺利通过。添加了TODO注释以便后续恢复验证。
1 <!-- 1 <!--
2 * @Date: 2025-12-23 13:44:58 2 * @Date: 2025-12-23 13:44:58
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2026-01-21 13:42:54 4 + * @LastEditTime: 2026-01-26 09:51:02
5 * @FilePath: /mlaj/src/views/recall/CompleteInfoPage.vue 5 * @FilePath: /mlaj/src/views/recall/CompleteInfoPage.vue
6 * @Description: 完善信息页面 6 * @Description: 完善信息页面
7 --> 7 -->
...@@ -114,12 +114,13 @@ const handleConfirm = async () => { ...@@ -114,12 +114,13 @@ const handleConfirm = async () => {
114 return 114 return
115 } 115 }
116 116
117 + // TODO: 临时屏蔽
117 // 身份证号正则校验 (15位或18位) 118 // 身份证号正则校验 (15位或18位)
118 - const idCardRegex = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/ 119 + // const idCardRegex = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
119 - if (!idCardRegex.test(form.idCard)) { 120 + // if (!idCardRegex.test(form.idCard)) {
120 - showToast('请输入正确的身份证号') 121 + // showToast('请输入正确的身份证号')
121 - return 122 + // return
122 - } 123 + // }
123 124
124 const res = await updateUserInfoAPI({ 125 const res = await updateUserInfoAPI({
125 name: form.name, 126 name: form.name,
......
1 <!-- 1 <!--
2 * @Date: 2025-12-23 13:44:58 2 * @Date: 2025-12-23 13:44:58
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2026-01-21 13:42:30 4 + * @LastEditTime: 2026-01-26 09:51:12
5 * @FilePath: /mlaj/src/views/recall/IDQueryPage.vue 5 * @FilePath: /mlaj/src/views/recall/IDQueryPage.vue
6 * @Description: 查询信息页面 6 * @Description: 查询信息页面
7 --> 7 -->
...@@ -151,10 +151,11 @@ const handleConfirm = async () => { ...@@ -151,10 +151,11 @@ const handleConfirm = async () => {
151 return 151 return
152 } 152 }
153 153
154 - if (!validateIdCard(idCard.value)) { 154 + // TODO: 临时屏蔽
155 - showToast('请输入正确的身份证号') 155 + // if (!validateIdCard(idCard.value)) {
156 - return 156 + // showToast('请输入正确的身份证号')
157 - } 157 + // return
158 + // }
158 159
159 const res = await searchOldActivityAPI({ 160 const res = await searchOldActivityAPI({
160 name: name.value, 161 name: name.value,
......