Handy_Cao пре 2 година
родитељ
комит
417c5c4561

+ 5 - 1
src/packages/qxst/views/account/certification/Index.vue

@@ -7,7 +7,11 @@
             <CellGroup inset>
                 <Field v-model="formData.name" name="name" label="姓名" placeholder="请输入用户姓名"
                     :rules="formRules.name" />
-                <Field v-model="mobile2" name="mobile" label="手机号码" placeholder="请输入手机号码" />
+                <Field name="mobile" readonly label="手机号码" >
+                    <template #input>
+                        <span>{{ mobile2 }}</span>
+                    </template>
+                </Field>
                 <Field name="idCardType" label="证件类型" :rules="formRules.idCardType" is-link>
                     <template #input>
                         <app-select v-model="formData.idCardType" placeholder="请选择证件类型" :options="getAQCertificateTypeList()" />

+ 2 - 4
src/packages/qxst/views/account/certification/components/certification-next/Index.vue

@@ -58,12 +58,10 @@ const canAdd = shallowRef(false)
 const { run } = useRequest(queryUserESignRecord, {
     onSuccess: (res) => {
         if (res.data.length != 0) {
-            dataList.value = res.data.filter(obj => {
-                return obj.templatetype === 2
-            })
+            dataList.value = res.data.filter(obj => obj.templatetype === 2)
         }
         /// 只有全部签署才可以进行下一步
-        canAdd.value = dataList.value.some(obj => { [1, 4].includes(obj.recordstatus) })
+        canAdd.value = dataList.value.some(obj => [1, 4].includes(obj.recordstatus) )
     }
 })