Explorar el Código

学生注册-删除身份证号码

Xiao_123 hace 1 mes
padre
commit
635ece5675

+ 20 - 20
src/plugins/dialogExtend/components/studentInfoForm.vue

@@ -103,26 +103,26 @@ const items = ref({
       items: [],
       items: [],
       change: val => male.value = val
       change: val => male.value = val
     },
     },
-    {
-      type: 'text',
-      key: 'idCardNo',
-      value: '',
-      label: '身份证号码 *',
-      rules: [
-        value => {
-          if (!value) {
-            return '请输入您的身份证号码'
-          }
-          return true
-        },
-        value => {
-          if (!isValidIdCard18(value)) {
-            return '请输入正确的身份证号码'
-          }
-          return true
-        }
-      ]
-    },
+    // {
+    //   type: 'text',
+    //   key: 'idCardNo',
+    //   value: '',
+    //   label: '身份证号码 *',
+    //   rules: [
+    //     value => {
+    //       if (!value) {
+    //         return '请输入您的身份证号码'
+    //       }
+    //       return true
+    //     },
+    //     value => {
+    //       if (!isValidIdCard18(value)) {
+    //         return '请输入正确的身份证号码'
+    //       }
+    //       return true
+    //     }
+    //   ]
+    // },
     {
     {
       type: 'phoneNumber',
       type: 'phoneNumber',
       key: 'phone',
       key: 'phone',

+ 20 - 20
src/views/recruit/personal/PersonalCenter/student/information/index.vue

@@ -104,26 +104,26 @@ const items = ref({
       outlined: true,
       outlined: true,
       rules: [v => !!v || '请填写学号']
       rules: [v => !!v || '请填写学号']
     },
     },
-    {
-      type: 'text',
-      key: 'idCardNo',
-      value: '',
-      label: '身份证号码 *',
-      rules: [
-        value => {
-          if (!value) {
-            return '请输入您的身份证号码'
-          }
-          return true
-        },
-        value => {
-          if (!isValidIdCard18(value)) {
-            return '请输入正确的身份证号码'
-          }
-          return true
-        }
-      ]
-    },
+    // {
+    //   type: 'text',
+    //   key: 'idCardNo',
+    //   value: '',
+    //   label: '身份证号码 *',
+    //   rules: [
+    //     value => {
+    //       if (!value) {
+    //         return '请输入您的身份证号码'
+    //       }
+    //       return true
+    //     },
+    //     value => {
+    //       if (!isValidIdCard18(value)) {
+    //         return '请输入正确的身份证号码'
+    //       }
+    //       return true
+    //     }
+    //   ]
+    // },
     {
     {
       type: 'text',
       type: 'text',
       key: 'emergencyContactName',
       key: 'emergencyContactName',

+ 20 - 20
src/views/recruit/personal/PersonalCenter/studentInformation/index.vue

@@ -80,26 +80,26 @@ const items = ref({
       outlined: true,
       outlined: true,
       rules: [v => !!v || '请填写学号']
       rules: [v => !!v || '请填写学号']
     },
     },
-    {
-      type: 'text',
-      key: 'idCardNo',
-      value: '',
-      label: '身份证号码 *',
-      rules: [
-        value => {
-          if (!value) {
-            return '请输入您的身份证号码'
-          }
-          return true
-        },
-        value => {
-          if (!isValidIdCard18(value)) {
-            return '请输入正确的身份证号码'
-          }
-          return true
-        }
-      ]
-    },
+    // {
+    //   type: 'text',
+    //   key: 'idCardNo',
+    //   value: '',
+    //   label: '身份证号码 *',
+    //   rules: [
+    //     value => {
+    //       if (!value) {
+    //         return '请输入您的身份证号码'
+    //       }
+    //       return true
+    //     },
+    //     value => {
+    //       if (!isValidIdCard18(value)) {
+    //         return '请输入正确的身份证号码'
+    //       }
+    //       return true
+    //     }
+    //   ]
+    // },
     {
     {
       type: 'text',
       type: 'text',
       key: 'emergencyContactName',
       key: 'emergencyContactName',