|
|
@@ -111,7 +111,13 @@ |
|
|
|
label-width="120px" |
|
|
|
placeholder="被核查人姓名" |
|
|
|
:rules="[{ required: true, message: '请填写被核查人姓名' }]" |
|
|
|
/> |
|
|
|
> |
|
|
|
<template #button> |
|
|
|
<van-uploader :after-read="afterRead" v-model="fileList" :preview-image="false" :max-count="1"> |
|
|
|
<van-button icon="photograph" type="primary" size="mini">扫描身份证</van-button> |
|
|
|
</van-uploader> |
|
|
|
</template> |
|
|
|
</van-field> |
|
|
|
<van-field |
|
|
|
v-model="xcdcform.idcardCheckedBy" |
|
|
|
name="idcardCheckedBy" |
|
|
@@ -474,7 +480,7 @@ |
|
|
|
getInvestigate, |
|
|
|
listSampling, listSamplingDept, |
|
|
|
updateInvestigate, |
|
|
|
updateSampling |
|
|
|
updateSampling, uploadFile |
|
|
|
} from "../../api/authenticRight"; |
|
|
|
import {getDeptList} from "../../api/biddingHall"; |
|
|
|
import {Dialog} from "vant"; |
|
|
@@ -613,6 +619,7 @@ |
|
|
|
userId :null, |
|
|
|
nickName:null, |
|
|
|
currentValue:null, |
|
|
|
fileList:[] |
|
|
|
} |
|
|
|
}, |
|
|
|
created(){ |
|
|
@@ -631,6 +638,17 @@ |
|
|
|
|
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
afterRead(file) { |
|
|
|
const data = new FormData(); |
|
|
|
data.append("file", this.fileList[0].file); |
|
|
|
uploadFile(data).then(res => { |
|
|
|
if(res.code == 200){ |
|
|
|
this.xcdcform.idcardCheckedBy = res.idcardCheckedBy |
|
|
|
this.xcdcform.nameCheckedBy = res.nameCheckedBy |
|
|
|
this.fileList=[] |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
changeFn(val) { |
|
|
|
}, |
|
|
|
confirmFn(){ |
|
|
|