diff --git a/src/api/authenticRight/index.js b/src/api/authenticRight/index.js index e4cce1b9..8f5f64c9 100644 --- a/src/api/authenticRight/index.js +++ b/src/api/authenticRight/index.js @@ -62,3 +62,11 @@ export function listSamplingDept(data){ params:data }) } +// 修改农户抽样 +export function uploadFile(data) { + return request({ + url: '/transaction/website/ocr/idcard', + method: 'post', + data: data + }) +} diff --git a/src/views/authenticRight/index.vue b/src/views/authenticRight/index.vue index 2669484a..c599738a 100644 --- a/src/views/authenticRight/index.vue +++ b/src/views/authenticRight/index.vue @@ -111,7 +111,13 @@ label-width="120px" placeholder="被核查人姓名" :rules="[{ required: true, message: '请填写被核查人姓名' }]" - /> + > + + { + if(res.code == 200){ + this.xcdcform.idcardCheckedBy = res.idcardCheckedBy + this.xcdcform.nameCheckedBy = res.nameCheckedBy + this.fileList=[] + } + }) + }, changeFn(val) { }, confirmFn(){