|
@@ -376,7 +376,7 @@
|
|
|
</uni-forms-item>
|
|
|
<!-- disabled -->
|
|
|
<uni-forms-item label="身份证号" name="corporationIdCard">
|
|
|
- <uni-easyinput v-model="datainfo.corporationIdCard" :inputBorder='false' placeholder="自动识别" />
|
|
|
+ <uni-easyinput v-model="datainfo.corporationIdCard" disabled :inputBorder='false' placeholder="自动识别" />
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="手机号码" name="corporationPhone">
|
|
|
<uni-easyinput v-model="datainfo.corporationPhone" type="number" :inputBorder='false' placeholder="请输入手机号码" />
|
|
@@ -1120,7 +1120,7 @@
|
|
|
<script>
|
|
|
import config from '@/config'
|
|
|
const baseUrl = config.baseUrl
|
|
|
- const baseUrlimg=config.baseUrl
|
|
|
+ const baseUrlimg=config.baseUrlimg
|
|
|
const baseName = config.baseName
|
|
|
import popUp from "@/work/components/popup/popup.vue"
|
|
|
import stepBar from "@/components/toptab/stepbar.vue"
|
|
@@ -1448,7 +1448,7 @@
|
|
|
getQylist(){
|
|
|
// 需要userid
|
|
|
var params={
|
|
|
- userid:this.userId
|
|
|
+ userId:this.userId
|
|
|
}
|
|
|
getQyListNoPage(params).then(res=>{
|
|
|
if(res.code==200){
|
|
@@ -1973,19 +1973,20 @@
|
|
|
var newobj={}
|
|
|
var responseText=JSON.parse(item.responseText)
|
|
|
var url=responseText.fileName
|
|
|
+ var urlOnline=responseText.urlOnline
|
|
|
if(fileVal=='frsfzrmx'){
|
|
|
this.datainfo.corporationFront=url;
|
|
|
// 获取姓名 身份证号
|
|
|
- this.getocrIdCard(url,fileVal)
|
|
|
+ this.getocrIdCard(urlOnline,fileVal)
|
|
|
}else if(fileVal=='frsfzghm'){
|
|
|
this.datainfo.corporationBack=url
|
|
|
}else if(fileVal=='frsfzpormx'){
|
|
|
this.datainfo.spouseFront=url
|
|
|
- this.getocrIdCard(url,fileVal)
|
|
|
+ this.getocrIdCard(urlOnline,fileVal)
|
|
|
}else if(fileVal=='frsfzpoghm'){
|
|
|
this.datainfo.spouseBack=url
|
|
|
}else if(fileVal=='fdbrsfzrmx'){
|
|
|
- this.getocrIdCard(url,fileVal)
|
|
|
+ this.getocrIdCard(urlOnline,fileVal)
|
|
|
this.datainfo.guaranteeFront=url
|
|
|
}else if(fileVal=='fdbrsfzghm'){
|
|
|
this.datainfo.guaranteeBack=url
|
|
@@ -2025,9 +2026,9 @@
|
|
|
},
|
|
|
getocrIdCard(url,type){
|
|
|
var that=this;
|
|
|
- var burl=this.baseUrl+url;
|
|
|
+ var burl=url;
|
|
|
var params={
|
|
|
- image:"D:\\idcard.png",
|
|
|
+ image:url,
|
|
|
idCardSide:'front'
|
|
|
}
|
|
|
getOcrIdCard(params).then(res=>{
|
|
@@ -2035,13 +2036,13 @@
|
|
|
var data=res.data;
|
|
|
if(type=='frsfzrmx'){
|
|
|
that.datainfo.corporationName=data.realName
|
|
|
- // that.datainfo.corporationIdCard=data.idCard
|
|
|
+ that.datainfo.corporationIdCard=data.idCard
|
|
|
}else if(type=='frsfzpormx'){
|
|
|
that.datainfo.spouseName=data.realName
|
|
|
- // that.datainfo.spouseIdCard=data.idCard
|
|
|
+ that.datainfo.spouseIdCard=data.idCard
|
|
|
}else if(type=='fdbrsfzrmx'){
|
|
|
that.datainfo.guaranteeName=data.realName
|
|
|
- // that.datainfo.guaranteeIdCard=data.idCard
|
|
|
+ that.datainfo.guaranteeIdCard=data.idCard
|
|
|
}
|
|
|
}
|
|
|
})
|