style:身份核验
Showing
4 changed files
with
38 additions
and
5 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-12-29 10:00:31 | 4 | * @LastEditTime: 2024-03-18 15:06:27 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <dialogBox | 7 | <dialogBox |
| ... | @@ -28,6 +28,7 @@ | ... | @@ -28,6 +28,7 @@ |
| 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-form-item> | 32 | </el-form-item> |
| 32 | <el-row> | 33 | <el-row> |
| 33 | <el-col :span="8"> | 34 | <el-col :span="8"> |
| ... | @@ -344,6 +345,7 @@ | ... | @@ -344,6 +345,7 @@ |
| 344 | </template> | 345 | </template> |
| 345 | <script> | 346 | <script> |
| 346 | import { mapGetters } from "vuex"; | 347 | import { mapGetters } from "vuex"; |
| 348 | import { sfhy } from "@/api/sqr.js"; | ||
| 347 | import store from '@/store/index.js' | 349 | import store from '@/store/index.js' |
| 348 | import { replace } from "@/api/company.js" | 350 | import { replace } from "@/api/company.js" |
| 349 | import { getUuid } from "@/utils/operation.js" | 351 | import { getUuid } from "@/utils/operation.js" |
| ... | @@ -452,6 +454,15 @@ | ... | @@ -452,6 +454,15 @@ |
| 452 | } | 454 | } |
| 453 | }, | 455 | }, |
| 454 | methods: { | 456 | methods: { |
| 457 | /** | ||
| 458 | * @description: 身份核验 | ||
| 459 | * @author: renchao | ||
| 460 | */ | ||
| 461 | handleVerification () { | ||
| 462 | sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => { | ||
| 463 | console.log(res, 22222222222222222); | ||
| 464 | }) | ||
| 465 | }, | ||
| 455 | handleZjzl (val) { | 466 | handleZjzl (val) { |
| 456 | if (['6', '7', '8'].includes(val)) { | 467 | if (['6', '7', '8'].includes(val)) { |
| 457 | this.isBz = true | 468 | this.isBz = true | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-12-29 10:04:52 | 4 | * @LastEditTime: 2024-03-18 15:06:20 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <dialogBox | 7 | <dialogBox |
| ... | @@ -28,6 +28,7 @@ | ... | @@ -28,6 +28,7 @@ |
| 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-form-item> | 32 | </el-form-item> |
| 32 | <el-row> | 33 | <el-row> |
| 33 | <el-col :span="8"> | 34 | <el-col :span="8"> |
| ... | @@ -344,6 +345,7 @@ | ... | @@ -344,6 +345,7 @@ |
| 344 | <script> | 345 | <script> |
| 345 | import { mapGetters } from "vuex"; | 346 | import { mapGetters } from "vuex"; |
| 346 | import store from '@/store/index.js' | 347 | import store from '@/store/index.js' |
| 348 | import { sfhy } from "@/api/sqr.js"; | ||
| 347 | import { replace } from "@/api/company.js" | 349 | import { replace } from "@/api/company.js" |
| 348 | import { getUuid } from "@/utils/operation.js" | 350 | import { getUuid } from "@/utils/operation.js" |
| 349 | import { getIdCardInfo } from '@/utils/operation.js' | 351 | import { getIdCardInfo } from '@/utils/operation.js' |
| ... | @@ -440,6 +442,15 @@ | ... | @@ -440,6 +442,15 @@ |
| 440 | } | 442 | } |
| 441 | }, | 443 | }, |
| 442 | methods: { | 444 | methods: { |
| 445 | /** | ||
| 446 | * @description: 身份核验 | ||
| 447 | * @author: renchao | ||
| 448 | */ | ||
| 449 | handleVerification () { | ||
| 450 | sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => { | ||
| 451 | console.log(res, 22222222222222222); | ||
| 452 | }) | ||
| 453 | }, | ||
| 443 | handleZjzl (val) { | 454 | handleZjzl (val) { |
| 444 | if (['6', '7', '8'].includes(val)) { | 455 | if (['6', '7', '8'].includes(val)) { |
| 445 | this.isBz = true | 456 | this.isBz = true | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2024-03-18 10:40:05 | 4 | * @LastEditTime: 2024-03-18 11:18:50 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <dialogBox | 7 | <dialogBox |
| ... | @@ -453,7 +453,7 @@ | ... | @@ -453,7 +453,7 @@ |
| 453 | * @author: renchao | 453 | * @author: renchao |
| 454 | */ | 454 | */ |
| 455 | handleVerification () { | 455 | handleVerification () { |
| 456 | sfhy(this.ruleForm).then(res => { | 456 | sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => { |
| 457 | console.log(res, 22222222222222222); | 457 | console.log(res, 22222222222222222); |
| 458 | }) | 458 | }) |
| 459 | }, | 459 | }, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-12-26 15:00:22 | 4 | * @LastEditTime: 2024-03-18 15:06:31 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <dialogBox | 7 | <dialogBox |
| ... | @@ -29,6 +29,7 @@ | ... | @@ -29,6 +29,7 @@ |
| 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-form-item> | 33 | </el-form-item> |
| 33 | <el-row> | 34 | <el-row> |
| 34 | <el-col :span="8"> | 35 | <el-col :span="8"> |
| ... | @@ -346,6 +347,7 @@ | ... | @@ -346,6 +347,7 @@ |
| 346 | <script> | 347 | <script> |
| 347 | import { mapGetters } from "vuex"; | 348 | import { mapGetters } from "vuex"; |
| 348 | import store from '@/store/index.js' | 349 | import store from '@/store/index.js' |
| 350 | import { sfhy } from "@/api/sqr.js"; | ||
| 349 | import { getUuid } from "@/utils/operation.js" | 351 | import { getUuid } from "@/utils/operation.js" |
| 350 | import { replace } from "@/api/company.js" | 352 | import { replace } from "@/api/company.js" |
| 351 | import { getIdCardInfo } from '@/utils/operation.js' | 353 | import { getIdCardInfo } from '@/utils/operation.js' |
| ... | @@ -446,6 +448,15 @@ | ... | @@ -446,6 +448,15 @@ |
| 446 | }, | 448 | }, |
| 447 | methods: { | 449 | methods: { |
| 448 | /** | 450 | /** |
| 451 | * @description: 身份核验 | ||
| 452 | * @author: renchao | ||
| 453 | */ | ||
| 454 | handleVerification () { | ||
| 455 | sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq }).then(res => { | ||
| 456 | console.log(res, 22222222222222222); | ||
| 457 | }) | ||
| 458 | }, | ||
| 459 | /** | ||
| 449 | * @description: 证件种类选择 | 460 | * @description: 证件种类选择 |
| 450 | * @param {*} val | 461 | * @param {*} val |
| 451 | * @author: renchao | 462 | * @author: renchao | ... | ... |
-
Please register or sign in to post a comment