From 3f3689f96c634e36917934d3e6c9428a938a111e Mon Sep 17 00:00:00 2001
From: yujk <990961482@qq.com>
Date: Mon, 2 Aug 2021 16:48:08 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A1=AE=E6=9D=83=E8=B0=83=E6=9F=A5=E7=A7=BB?=
=?UTF-8?q?=E5=8A=A8=E7=AB=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/authenticRight/index.js | 8 ++++++++
src/views/authenticRight/index.vue | 22 ++++++++++++++++++++--
2 files changed, 28 insertions(+), 2 deletions(-)
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(){