85bd08d4 by renchao@pashanhoo.com

style:身份核验

1 parent e5f887b0
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-03-18 15:06:27
* @LastEditTime: 2024-03-19 13:21:57
-->
<template>
<dialogBox
......@@ -28,7 +28,9 @@
<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-button type="primary" @click="handleVerification(1)" v-if="['1'].includes(ruleForm.zjzl)">身份核查</el-button>
<el-button type="primary" @click="handleVerification(2)" v-if="['6','7'].includes(ruleForm.zjzl)">企业核查</el-button>
<el-button type="primary" @click="handleVerification(3)" v-if="['1'].includes(ruleForm.zjzl)">婚姻状况核查</el-button>
</el-form-item>
<el-row>
<el-col :span="8">
......@@ -458,9 +460,14 @@
* @description: 身份核验
* @author: renchao
*/
handleVerification () {
sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => {
console.log(res, 22222222222222222);
handleVerification (val) {
sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq, hclx: val }).then(res => {
if (res.code == 200) {
this.$message({
message: '核验成功!',
type: 'success'
})
}
})
},
handleZjzl (val) {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-03-18 15:16:55
* @LastEditTime: 2024-03-19 13:21:40
-->
<template>
<dialogBox
......@@ -28,7 +28,9 @@
<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-button type="primary" @click="handleVerification(1)" v-if="['1'].includes(ruleForm.zjzl)">身份核查</el-button>
<el-button type="primary" @click="handleVerification(2)" v-if="['6','7'].includes(ruleForm.zjzl)">企业核查</el-button>
<el-button type="primary" @click="handleVerification(3)" v-if="['1'].includes(ruleForm.zjzl)">婚姻状况核查</el-button>
</el-form-item>
<el-row>
<el-col :span="8">
......@@ -446,10 +448,15 @@
* @description: 身份核验
* @author: renchao
*/
handleVerification () {
handleVerification (val) {
this.ruleForm.qlrlx = this.ruleForm.ywrlx
sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => {
console.log(res, 22222222222222222);
sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq, hclx: val }).then(res => {
if (res.code == 200) {
this.$message({
message: '核验成功!',
type: 'success'
})
}
})
},
handleZjzl (val) {
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-03-18 15:13:36
* @LastEditTime: 2024-03-19 13:17:22
-->
<template>
<dialogBox
......@@ -30,7 +30,9 @@
<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-button type="primary" @click="handleVerification(1)" v-if="['1'].includes(ruleForm.zjzl)">身份核查</el-button>
<el-button type="primary" @click="handleVerification(2)" v-if="['6','7'].includes(ruleForm.zjzl)">企业核查</el-button>
<el-button type="primary" @click="handleVerification(3)" v-if="['1'].includes(ruleForm.zjzl)">婚姻状况核查</el-button>
</el-form-item>
<el-row>
<el-col :span="8">
......@@ -452,9 +454,15 @@
* @description: 身份核验
* @author: renchao
*/
handleVerification () {
handleVerification (val) {
this.ruleForm.qlrlx = this.ruleForm.sqrlx
sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => {
sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq, hclx: val }).then(res => {
if (res.code == 200) {
this.$message({
message: '核验成功!',
type: 'success'
})
}
})
},
/**
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-03-18 15:18:00
* @LastEditTime: 2024-03-19 13:22:39
-->
<template>
<dialogBox
......@@ -29,7 +29,9 @@
<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-button type="primary" @click="handleVerification(1)" v-if="['1'].includes(ruleForm.zjzl)">身份核查</el-button>
<el-button type="primary" @click="handleVerification(2)" v-if="['6','7'].includes(ruleForm.zjzl)">企业核查</el-button>
<el-button type="primary" @click="handleVerification(3)" v-if="['1'].includes(ruleForm.zjzl)">婚姻状况核查</el-button>
</el-form-item>
<el-row>
<el-col :span="8">
......@@ -451,10 +453,15 @@
* @description: 身份核验
* @author: renchao
*/
handleVerification () {
handleVerification (val) {
this.ruleForm.qlrlx = this.ruleForm.sqrlx
sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => {
console.log(res, 22222222222222222);
sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq, hclx: val }).then(res => {
if (res.code == 200) {
this.$message({
message: '核验成功!',
type: 'success'
})
}
})
},
/**
......