style:身份核验
Showing
3 changed files
with
36 additions
and
4 deletions
src/api/sqr.js
0 → 100644
1 | /* | ||
2 | * @Description: 申请人权利人等人员相关接口 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-03-18 10:38:14 | ||
5 | */ | ||
6 | import request from '@/utils/request'; | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
8 | |||
9 | |||
10 | /** | ||
11 | * @description: 身份核验 | ||
12 | * @param {*} data | ||
13 | * @author: renchao | ||
14 | */ | ||
15 | export function sfhy (data) { | ||
16 | return request({ | ||
17 | url: SERVER.SERVERAPI + '/rest/ywbl/sqr/sfhy', | ||
18 | method: 'post', | ||
19 | data | ||
20 | }) | ||
21 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-03-11 15:18:56 | 4 | * @LastEditTime: 2024-03-18 10:40:05 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
... | @@ -30,6 +30,7 @@ | ... | @@ -30,6 +30,7 @@ |
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-form-item> | 34 | </el-form-item> |
34 | <el-row> | 35 | <el-row> |
35 | <el-col :span="8"> | 36 | <el-col :span="8"> |
... | @@ -346,6 +347,7 @@ | ... | @@ -346,6 +347,7 @@ |
346 | </template> | 347 | </template> |
347 | <script> | 348 | <script> |
348 | import { mapGetters } from "vuex"; | 349 | import { mapGetters } from "vuex"; |
350 | import { sfhy } from "@/api/sqr.js"; | ||
349 | import store from '@/store/index.js' | 351 | import store from '@/store/index.js' |
350 | import { getUuid } from "@/utils/operation.js" | 352 | import { getUuid } from "@/utils/operation.js" |
351 | import { replace } from "@/api/company.js" | 353 | import { replace } from "@/api/company.js" |
... | @@ -428,7 +430,7 @@ | ... | @@ -428,7 +430,7 @@ |
428 | } | 430 | } |
429 | }, | 431 | }, |
430 | mounted () { | 432 | mounted () { |
431 | sendThis(this); | 433 | sendThis(this) |
432 | }, | 434 | }, |
433 | watch: { | 435 | watch: { |
434 | value (val) { | 436 | value (val) { |
... | @@ -440,13 +442,22 @@ | ... | @@ -440,13 +442,22 @@ |
440 | }, | 442 | }, |
441 | details: { | 443 | details: { |
442 | handler: function (val, oldVal) { | 444 | handler: function (val, oldVal) { |
443 | this.ruleForm = _.cloneDeep(val); | 445 | this.ruleForm = _.cloneDeep(val) |
444 | }, | 446 | }, |
445 | deep: true | 447 | deep: true |
446 | } | 448 | } |
447 | }, | 449 | }, |
448 | methods: { | 450 | methods: { |
449 | /** | 451 | /** |
452 | * @description: 身份核验 | ||
453 | * @author: renchao | ||
454 | */ | ||
455 | handleVerification () { | ||
456 | sfhy(this.ruleForm).then(res => { | ||
457 | console.log(res, 22222222222222222); | ||
458 | }) | ||
459 | }, | ||
460 | /** | ||
450 | * @description: 证件种类选择 | 461 | * @description: 证件种类选择 |
451 | * @param {*} val | 462 | * @param {*} val |
452 | * @author: renchao | 463 | * @author: renchao | ... | ... |
-
Please register or sign in to post a comment