45085c09 by renchao@pashanhoo.com

style:身份核验

1 parent 0fc3080c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-29 10:00:31
* @LastEditTime: 2024-03-18 15:06:27
-->
<template>
<dialogBox
......@@ -28,6 +28,7 @@
<el-form-item label="身份证读卡器">
<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">
......@@ -344,6 +345,7 @@
</template>
<script>
import { mapGetters } from "vuex";
import { sfhy } from "@/api/sqr.js";
import store from '@/store/index.js'
import { replace } from "@/api/company.js"
import { getUuid } from "@/utils/operation.js"
......@@ -452,6 +454,15 @@
}
},
methods: {
/**
* @description: 身份核验
* @author: renchao
*/
handleVerification () {
sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => {
console.log(res, 22222222222222222);
})
},
handleZjzl (val) {
if (['6', '7', '8'].includes(val)) {
this.isBz = true
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-29 10:04:52
* @LastEditTime: 2024-03-18 15:06:20
-->
<template>
<dialogBox
......@@ -28,6 +28,7 @@
<el-form-item label="身份证读卡器">
<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">
......@@ -344,6 +345,7 @@
<script>
import { mapGetters } from "vuex";
import store from '@/store/index.js'
import { sfhy } from "@/api/sqr.js";
import { replace } from "@/api/company.js"
import { getUuid } from "@/utils/operation.js"
import { getIdCardInfo } from '@/utils/operation.js'
......@@ -440,6 +442,15 @@
}
},
methods: {
/**
* @description: 身份核验
* @author: renchao
*/
handleVerification () {
sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => {
console.log(res, 22222222222222222);
})
},
handleZjzl (val) {
if (['6', '7', '8'].includes(val)) {
this.isBz = true
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-03-18 10:40:05
* @LastEditTime: 2024-03-18 11:18:50
-->
<template>
<dialogBox
......@@ -453,7 +453,7 @@
* @author: renchao
*/
handleVerification () {
sfhy(this.ruleForm).then(res => {
sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => {
console.log(res, 22222222222222222);
})
},
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-26 15:00:22
* @LastEditTime: 2024-03-18 15:06:31
-->
<template>
<dialogBox
......@@ -29,6 +29,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 @@
<script>
import { mapGetters } from "vuex";
import store from '@/store/index.js'
import { sfhy } from "@/api/sqr.js";
import { getUuid } from "@/utils/operation.js"
import { replace } from "@/api/company.js"
import { getIdCardInfo } from '@/utils/operation.js'
......@@ -446,6 +448,15 @@
},
methods: {
/**
* @description: 身份核验
* @author: renchao
*/
handleVerification () {
sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => {
console.log(res, 22222222222222222);
})
},
/**
* @description: 证件种类选择
* @param {*} val
* @author: renchao
......