1280e47b by renchao@pashanhoo.com

style:身份核验

1 parent c0efa606
/*
* @Description: 申请人权利人等人员相关接口
* @Autor: renchao
* @LastEditTime: 2024-03-18 10:38:14
*/
import request from '@/utils/request';
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/**
* @description: 身份核验
* @param {*} data
* @author: renchao
*/
export function sfhy (data) {
return request({
url: SERVER.SERVERAPI + '/rest/ywbl/sqr/sfhy',
method: 'post',
data
})
}
\ No newline at end of file
/*
* @Description: 信息备案
* @Autor:
* @LastEditTime: 2023-09-11 11:25:22
* @LastEditTime: 2024-03-18 10:36:40
*/
import request from '@/utils/request'
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-03-11 15:18:56
* @LastEditTime: 2024-03-18 10:40:05
-->
<template>
<dialogBox
......@@ -30,6 +30,7 @@
<el-form-item label="身份证读卡器" style="margin-top:-10px;margin-bottom:0">
<el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button>
<el-button type="primary" v-if="isBz" @click="handleFilings">信息备案</el-button>
<el-button type="primary" @click="handleVerification">身份核验</el-button>
</el-form-item>
<el-row>
<el-col :span="8">
......@@ -346,6 +347,7 @@
</template>
<script>
import { mapGetters } from "vuex";
import { sfhy } from "@/api/sqr.js";
import store from '@/store/index.js'
import { getUuid } from "@/utils/operation.js"
import { replace } from "@/api/company.js"
......@@ -428,7 +430,7 @@
}
},
mounted () {
sendThis(this);
sendThis(this)
},
watch: {
value (val) {
......@@ -440,13 +442,22 @@
},
details: {
handler: function (val, oldVal) {
this.ruleForm = _.cloneDeep(val);
this.ruleForm = _.cloneDeep(val)
},
deep: true
}
},
methods: {
/**
* @description: 身份核验
* @author: renchao
*/
handleVerification () {
sfhy(this.ruleForm).then(res => {
console.log(res, 22222222222222222);
})
},
/**
* @description: 证件种类选择
* @param {*} val
* @author: renchao
......