85bd08d4 by renchao@pashanhoo.com

style:身份核验

1 parent e5f887b0
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-03-18 15:06:27 4 * @LastEditTime: 2024-03-19 13:21:57
5 --> 5 -->
6 <template> 6 <template>
7 <dialogBox 7 <dialogBox
...@@ -28,7 +28,9 @@ ...@@ -28,7 +28,9 @@
28 <el-form-item label="身份证读卡器"> 28 <el-form-item label="身份证读卡器">
29 <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button> 29 <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button>
30 <el-button type="primary" v-if="isBz" @click="handleFilings">信息备案</el-button> 30 <el-button type="primary" v-if="isBz" @click="handleFilings">信息备案</el-button>
31 <el-button type="primary" @click="handleVerification">身份核验</el-button> 31 <el-button type="primary" @click="handleVerification(1)" v-if="['1'].includes(ruleForm.zjzl)">身份核查</el-button>
32 <el-button type="primary" @click="handleVerification(2)" v-if="['6','7'].includes(ruleForm.zjzl)">企业核查</el-button>
33 <el-button type="primary" @click="handleVerification(3)" v-if="['1'].includes(ruleForm.zjzl)">婚姻状况核查</el-button>
32 </el-form-item> 34 </el-form-item>
33 <el-row> 35 <el-row>
34 <el-col :span="8"> 36 <el-col :span="8">
...@@ -458,9 +460,14 @@ ...@@ -458,9 +460,14 @@
458 * @description: 身份核验 460 * @description: 身份核验
459 * @author: renchao 461 * @author: renchao
460 */ 462 */
461 handleVerification () { 463 handleVerification (val) {
462 sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => { 464 sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq, hclx: val }).then(res => {
463 console.log(res, 22222222222222222); 465 if (res.code == 200) {
466 this.$message({
467 message: '核验成功!',
468 type: 'success'
469 })
470 }
464 }) 471 })
465 }, 472 },
466 handleZjzl (val) { 473 handleZjzl (val) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-03-18 15:16:55 4 * @LastEditTime: 2024-03-19 13:21:40
5 --> 5 -->
6 <template> 6 <template>
7 <dialogBox 7 <dialogBox
...@@ -28,7 +28,9 @@ ...@@ -28,7 +28,9 @@
28 <el-form-item label="身份证读卡器"> 28 <el-form-item label="身份证读卡器">
29 <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button> 29 <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button>
30 <el-button type="primary" v-if="isBz" @click="handleFilings">信息备案</el-button> 30 <el-button type="primary" v-if="isBz" @click="handleFilings">信息备案</el-button>
31 <el-button type="primary" @click="handleVerification">身份核验</el-button> 31 <el-button type="primary" @click="handleVerification(1)" v-if="['1'].includes(ruleForm.zjzl)">身份核查</el-button>
32 <el-button type="primary" @click="handleVerification(2)" v-if="['6','7'].includes(ruleForm.zjzl)">企业核查</el-button>
33 <el-button type="primary" @click="handleVerification(3)" v-if="['1'].includes(ruleForm.zjzl)">婚姻状况核查</el-button>
32 </el-form-item> 34 </el-form-item>
33 <el-row> 35 <el-row>
34 <el-col :span="8"> 36 <el-col :span="8">
...@@ -446,10 +448,15 @@ ...@@ -446,10 +448,15 @@
446 * @description: 身份核验 448 * @description: 身份核验
447 * @author: renchao 449 * @author: renchao
448 */ 450 */
449 handleVerification () { 451 handleVerification (val) {
450 this.ruleForm.qlrlx = this.ruleForm.ywrlx 452 this.ruleForm.qlrlx = this.ruleForm.ywrlx
451 sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => { 453 sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq, hclx: val }).then(res => {
452 console.log(res, 22222222222222222); 454 if (res.code == 200) {
455 this.$message({
456 message: '核验成功!',
457 type: 'success'
458 })
459 }
453 }) 460 })
454 }, 461 },
455 handleZjzl (val) { 462 handleZjzl (val) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-03-18 15:13:36 4 * @LastEditTime: 2024-03-19 13:17:22
5 --> 5 -->
6 <template> 6 <template>
7 <dialogBox 7 <dialogBox
...@@ -30,7 +30,9 @@ ...@@ -30,7 +30,9 @@
30 <el-form-item label="身份证读卡器" style="margin-top:-10px;margin-bottom:0"> 30 <el-form-item label="身份证读卡器" style="margin-top:-10px;margin-bottom:0">
31 <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button> 31 <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button>
32 <el-button type="primary" v-if="isBz" @click="handleFilings">信息备案</el-button> 32 <el-button type="primary" v-if="isBz" @click="handleFilings">信息备案</el-button>
33 <el-button type="primary" @click="handleVerification">身份核验</el-button> 33 <el-button type="primary" @click="handleVerification(1)" v-if="['1'].includes(ruleForm.zjzl)">身份核查</el-button>
34 <el-button type="primary" @click="handleVerification(2)" v-if="['6','7'].includes(ruleForm.zjzl)">企业核查</el-button>
35 <el-button type="primary" @click="handleVerification(3)" v-if="['1'].includes(ruleForm.zjzl)">婚姻状况核查</el-button>
34 </el-form-item> 36 </el-form-item>
35 <el-row> 37 <el-row>
36 <el-col :span="8"> 38 <el-col :span="8">
...@@ -452,9 +454,15 @@ ...@@ -452,9 +454,15 @@
452 * @description: 身份核验 454 * @description: 身份核验
453 * @author: renchao 455 * @author: renchao
454 */ 456 */
455 handleVerification () { 457 handleVerification (val) {
456 this.ruleForm.qlrlx = this.ruleForm.sqrlx 458 this.ruleForm.qlrlx = this.ruleForm.sqrlx
457 sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => { 459 sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq, hclx: val }).then(res => {
460 if (res.code == 200) {
461 this.$message({
462 message: '核验成功!',
463 type: 'success'
464 })
465 }
458 }) 466 })
459 }, 467 },
460 /** 468 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-03-18 15:18:00 4 * @LastEditTime: 2024-03-19 13:22:39
5 --> 5 -->
6 <template> 6 <template>
7 <dialogBox 7 <dialogBox
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
29 <el-form-item label="身份证读卡器" style="margin-top:-10px;margin-bottom:0"> 29 <el-form-item label="身份证读卡器" style="margin-top:-10px;margin-bottom:0">
30 <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button> 30 <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button>
31 <el-button type="primary" v-if="isBz" @click="handleFilings">信息备案</el-button> 31 <el-button type="primary" v-if="isBz" @click="handleFilings">信息备案</el-button>
32 <el-button type="primary" @click="handleVerification">身份核验</el-button> 32 <el-button type="primary" @click="handleVerification(1)" v-if="['1'].includes(ruleForm.zjzl)">身份核查</el-button>
33 <el-button type="primary" @click="handleVerification(2)" v-if="['6','7'].includes(ruleForm.zjzl)">企业核查</el-button>
34 <el-button type="primary" @click="handleVerification(3)" v-if="['1'].includes(ruleForm.zjzl)">婚姻状况核查</el-button>
33 </el-form-item> 35 </el-form-item>
34 <el-row> 36 <el-row>
35 <el-col :span="8"> 37 <el-col :span="8">
...@@ -451,10 +453,15 @@ ...@@ -451,10 +453,15 @@
451 * @description: 身份核验 453 * @description: 身份核验
452 * @author: renchao 454 * @author: renchao
453 */ 455 */
454 handleVerification () { 456 handleVerification (val) {
455 this.ruleForm.qlrlx = this.ruleForm.sqrlx 457 this.ruleForm.qlrlx = this.ruleForm.sqrlx
456 sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => { 458 sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq, hclx: val }).then(res => {
457 console.log(res, 22222222222222222); 459 if (res.code == 200) {
460 this.$message({
461 message: '核验成功!',
462 type: 'success'
463 })
464 }
458 }) 465 })
459 }, 466 },
460 /** 467 /**
......