|  |  | 
 |  |  | import { ProFormCaptcha, ProFormItemCell } from 'senin-mini/components'; | 
 |  |  | import * as commonServices from '@12333/services/api/Common'; | 
 |  |  | import { FileItem } from '@nutui/nutui-taro/dist/types/__VUE/uploader/type'; | 
 |  |  | import { vatLicense, userCredentialVerifyOcrIDCard } from '@12333/hooks'; | 
 |  |  | import { vatLicense } from '@12333/hooks'; | 
 |  |  | import { Message } from '@12333/utils'; | 
 |  |  | import { Photograph } from '@nutui/icons-vue-taro'; | 
 |  |  |  | 
 |  |  | 
 |  |  | }; | 
 |  |  |  | 
 |  |  | function handleFrontImgUrlChange(response: FileItem) { | 
 |  |  |   userCredentialVerifyOcrIDCard(response, { | 
 |  |  |     onSuccess(res) { | 
 |  |  |       if (res.realName) form.proxyPersonName = res.realName; | 
 |  |  |       if (res.idcardNum) form.proxyPersonIdNumber = res.idcardNum; | 
 |  |  |     }, | 
 |  |  |   }); | 
 |  |  |   // userCredentialVerifyOcrIDCard(response, { | 
 |  |  |   //   onSuccess(res) { | 
 |  |  |   //     if (res.realName) form.proxyPersonName = res.realName; | 
 |  |  |   //     if (res.idcardNum) form.proxyPersonIdNumber = res.idcardNum; | 
 |  |  |   //   }, | 
 |  |  |   // }); | 
 |  |  | } | 
 |  |  | </script> | 
 |  |  |  |