Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
7 changed files
with
241 additions
and
114 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: 2023-12-29 10:00:31 | 4 | * @LastEditTime: 2024-03-19 13:21:57 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
... | @@ -28,6 +28,9 @@ | ... | @@ -28,6 +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(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> | ||
31 | </el-form-item> | 34 | </el-form-item> |
32 | <el-row> | 35 | <el-row> |
33 | <el-col :span="8"> | 36 | <el-col :span="8"> |
... | @@ -344,6 +347,7 @@ | ... | @@ -344,6 +347,7 @@ |
344 | </template> | 347 | </template> |
345 | <script> | 348 | <script> |
346 | import { mapGetters } from "vuex"; | 349 | import { mapGetters } from "vuex"; |
350 | import { sfhy } from "@/api/sqr.js"; | ||
347 | import store from '@/store/index.js' | 351 | import store from '@/store/index.js' |
348 | import { replace } from "@/api/company.js" | 352 | import { replace } from "@/api/company.js" |
349 | import { getUuid } from "@/utils/operation.js" | 353 | import { getUuid } from "@/utils/operation.js" |
... | @@ -452,6 +456,20 @@ | ... | @@ -452,6 +456,20 @@ |
452 | } | 456 | } |
453 | }, | 457 | }, |
454 | methods: { | 458 | methods: { |
459 | /** | ||
460 | * @description: 身份核验 | ||
461 | * @author: renchao | ||
462 | */ | ||
463 | handleVerification (val) { | ||
464 | sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq, hclx: val }).then(res => { | ||
465 | if (res.code == 200) { | ||
466 | this.$message({ | ||
467 | message: '核验成功!', | ||
468 | type: 'success' | ||
469 | }) | ||
470 | } | ||
471 | }) | ||
472 | }, | ||
455 | handleZjzl (val) { | 473 | handleZjzl (val) { |
456 | if (['6', '7', '8'].includes(val)) { | 474 | if (['6', '7', '8'].includes(val)) { |
457 | this.isBz = true | 475 | 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-19 13:21:40 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
... | @@ -28,6 +28,9 @@ | ... | @@ -28,6 +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(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> | ||
31 | </el-form-item> | 34 | </el-form-item> |
32 | <el-row> | 35 | <el-row> |
33 | <el-col :span="8"> | 36 | <el-col :span="8"> |
... | @@ -344,6 +347,7 @@ | ... | @@ -344,6 +347,7 @@ |
344 | <script> | 347 | <script> |
345 | import { mapGetters } from "vuex"; | 348 | import { mapGetters } from "vuex"; |
346 | import store from '@/store/index.js' | 349 | import store from '@/store/index.js' |
350 | import { sfhy } from "@/api/sqr.js"; | ||
347 | import { replace } from "@/api/company.js" | 351 | import { replace } from "@/api/company.js" |
348 | import { getUuid } from "@/utils/operation.js" | 352 | import { getUuid } from "@/utils/operation.js" |
349 | import { getIdCardInfo } from '@/utils/operation.js' | 353 | import { getIdCardInfo } from '@/utils/operation.js' |
... | @@ -440,6 +444,21 @@ | ... | @@ -440,6 +444,21 @@ |
440 | } | 444 | } |
441 | }, | 445 | }, |
442 | methods: { | 446 | methods: { |
447 | /** | ||
448 | * @description: 身份核验 | ||
449 | * @author: renchao | ||
450 | */ | ||
451 | handleVerification (val) { | ||
452 | this.ruleForm.qlrlx = this.ruleForm.ywrlx | ||
453 | sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq, hclx: val }).then(res => { | ||
454 | if (res.code == 200) { | ||
455 | this.$message({ | ||
456 | message: '核验成功!', | ||
457 | type: 'success' | ||
458 | }) | ||
459 | } | ||
460 | }) | ||
461 | }, | ||
443 | handleZjzl (val) { | 462 | handleZjzl (val) { |
444 | if (['6', '7', '8'].includes(val)) { | 463 | if (['6', '7', '8'].includes(val)) { |
445 | this.isBz = true | 464 | this.isBz = true | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-03-11 15:18:56 | 4 | * @LastEditTime: 2024-03-19 13:17:22 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
... | @@ -30,6 +30,9 @@ | ... | @@ -30,6 +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(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> | ||
33 | </el-form-item> | 36 | </el-form-item> |
34 | <el-row> | 37 | <el-row> |
35 | <el-col :span="8"> | 38 | <el-col :span="8"> |
... | @@ -346,6 +349,7 @@ | ... | @@ -346,6 +349,7 @@ |
346 | </template> | 349 | </template> |
347 | <script> | 350 | <script> |
348 | import { mapGetters } from "vuex"; | 351 | import { mapGetters } from "vuex"; |
352 | import { sfhy } from "@/api/sqr.js"; | ||
349 | import store from '@/store/index.js' | 353 | import store from '@/store/index.js' |
350 | import { getUuid } from "@/utils/operation.js" | 354 | import { getUuid } from "@/utils/operation.js" |
351 | import { replace } from "@/api/company.js" | 355 | import { replace } from "@/api/company.js" |
... | @@ -428,7 +432,7 @@ | ... | @@ -428,7 +432,7 @@ |
428 | } | 432 | } |
429 | }, | 433 | }, |
430 | mounted () { | 434 | mounted () { |
431 | sendThis(this); | 435 | sendThis(this) |
432 | }, | 436 | }, |
433 | watch: { | 437 | watch: { |
434 | value (val) { | 438 | value (val) { |
... | @@ -440,13 +444,28 @@ | ... | @@ -440,13 +444,28 @@ |
440 | }, | 444 | }, |
441 | details: { | 445 | details: { |
442 | handler: function (val, oldVal) { | 446 | handler: function (val, oldVal) { |
443 | this.ruleForm = _.cloneDeep(val); | 447 | this.ruleForm = _.cloneDeep(val) |
444 | }, | 448 | }, |
445 | deep: true | 449 | deep: true |
446 | } | 450 | } |
447 | }, | 451 | }, |
448 | methods: { | 452 | methods: { |
449 | /** | 453 | /** |
454 | * @description: 身份核验 | ||
455 | * @author: renchao | ||
456 | */ | ||
457 | handleVerification (val) { | ||
458 | this.ruleForm.qlrlx = this.ruleForm.sqrlx | ||
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 | } | ||
466 | }) | ||
467 | }, | ||
468 | /** | ||
450 | * @description: 证件种类选择 | 469 | * @description: 证件种类选择 |
451 | * @param {*} val | 470 | * @param {*} val |
452 | * @author: renchao | 471 | * @author: renchao | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-12-29 16:35:50 | 4 | * @LastEditTime: 2024-03-19 17:30:22 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class='sfxx'> | 7 | <div class='sfxx slxx'> |
8 | <div class="sfxx-left"> | 8 | <el-form |
9 | <div class="slxx_title title-block"> | 9 | :model="ruleForm" |
10 | 基本信息 | 10 | ref="ruleForm" |
11 | <div class="triangle"></div> | 11 | v-Loading="loading" |
12 | </div> | 12 | :label-position="flag ? 'top' : ''" |
13 | <ul> | 13 | :inline="flag" |
14 | <li> | 14 | label-width="100px"> |
15 | <p>业务号</p> | 15 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> |
16 | <p>{{detail.ywh}}</p> | 16 | <div class="slxx_title title-block"> |
17 | </li> | 17 | 基本信息 |
18 | <li> | 18 | <div class="triangle"></div> |
19 | <p>申请登记类型</p> | 19 | </div> |
20 | <p>{{detail.sqdjlx}}</p> | 20 | <el-row :gutter="10"> |
21 | </li> | 21 | <el-col :span="8"> |
22 | <li> | 22 | <el-form-item label="业务号:"> |
23 | <p>联系人</p> | 23 | <el-input v-model="ruleForm.ywh"></el-input> |
24 | <p>{{detail.lxr}}</p> | 24 | </el-form-item> |
25 | </li> | 25 | </el-col> |
26 | <li> | 26 | <el-col :span="8"> |
27 | <p>联系人电话</p> | 27 | <el-form-item label="申请登记类型:"> |
28 | <p>{{detail.lxdh}}</p> | 28 | <el-input v-model="ruleForm.sqdjlx"></el-input> |
29 | </li> | 29 | </el-form-item> |
30 | <li> | 30 | </el-col> |
31 | <p>缴费人</p> | 31 | <el-col :span="8"> |
32 | <p><el-input v-model="detail.jfr"></el-input></p> | 32 | <el-form-item label="联系人:"> |
33 | </li> | 33 | <el-input v-model="ruleForm.lxr"></el-input> |
34 | <li> | 34 | </el-form-item> |
35 | <p>缴费单号</p> | 35 | </el-col> |
36 | <p><el-input v-model="detail.jfdh"></el-input></p> | 36 | </el-row> |
37 | </li> | 37 | |
38 | <li> | 38 | <el-row :gutter="10"> |
39 | <p>应收金额</p> | 39 | <el-col :span="8"> |
40 | <p style="color:red">{{detail.ysje}}元</p> | 40 | <el-form-item label="联系人电话:"> |
41 | </li> | 41 | <el-input v-model="ruleForm.lxdh"></el-input> |
42 | <li> | 42 | </el-form-item> |
43 | <p>实收金额</p> | 43 | </el-col> |
44 | <p><el-input v-model="detail.ssje"></el-input></p> | 44 | <el-col :span="8"> |
45 | </li> | 45 | <el-form-item label="缴费人:"> |
46 | <li> | 46 | <el-input v-model="ruleForm.jfr"></el-input> |
47 | <p>备注</p> | 47 | </el-form-item> |
48 | <p><el-input v-model="detail.bz"></el-input></p> | 48 | </el-col> |
49 | </li> | 49 | <el-col :span="8"> |
50 | </ul> | 50 | <el-form-item label="缴费单号:"> |
51 | </div> | 51 | <el-input v-model="ruleForm.jfdh"></el-input> |
52 | <div class="sfxx-right"> | 52 | </el-form-item> |
53 | <div class="slxx_title title-block"> | 53 | </el-col> |
54 | 收费明细 | 54 | </el-row> |
55 | <!-- <div class="triangle"></div> --> | 55 | |
56 | <el-button type="primary" @click="hanldeAdd" style="float:right;margin-top:-5px">增加</el-button> | 56 | <el-row :gutter="10"> |
57 | </div> | 57 | <el-col :span="8"> |
58 | <el-table :data="tableData.data" border :height="355"> | 58 | <el-form-item label="应收金额:"> |
59 | <el-table-column v-for="item in tableData.columns" :key="item.index" :prop="item.prop" :label="item.label" align="center"> | 59 | <el-input v-model="ruleForm.ysje"></el-input> |
60 | </el-table-column> | 60 | </el-form-item> |
61 | <el-table-column label="操作" width="50"> | 61 | </el-col> |
62 | <template slot-scope="scope"> | 62 | <el-col :span="8"> |
63 | <el-button type="text" @click="handleDelete(scope.row)">删除</el-button> | 63 | <el-form-item label="实收金额:"> |
64 | </template> | 64 | <el-input v-model="ruleForm.ssje"></el-input> |
65 | </el-table-column> | 65 | </el-form-item> |
66 | </el-table> | 66 | </el-col> |
67 | <div class="slxx_title title-block"> | 67 | <el-col :span="8"> |
68 | 票据 | 68 | <el-form-item label="备注:"> |
69 | <el-input v-model="ruleForm.bz"></el-input> | ||
70 | </el-form-item> | ||
71 | </el-col> | ||
72 | </el-row> | ||
73 | |||
74 | <div class="slxx_title title-block"> | ||
75 | 收费明细 | ||
76 | <el-button type="primary" @click="hanldeAdd" style="float:right;margin-top:-5px">增加</el-button> | ||
77 | </div> | ||
78 | <el-table :data="tableDatasf.data" border :height="210"> | ||
79 | <el-table-column v-for="item in tableDatasf.columns" :key="item.index" :prop="item.prop" :label="item.label" align="center"> | ||
80 | </el-table-column> | ||
81 | <el-table-column label="操作" width="50"> | ||
82 | <template slot-scope="scope"> | ||
83 | <el-button type="text" @click="handleDelete(scope.row)">删除</el-button> | ||
84 | </template> | ||
85 | </el-table-column> | ||
86 | </el-table> | ||
87 | <div class="slxx_title title-block"> | ||
88 | 计费明细 | ||
89 | <div class="triangle"></div> | ||
90 | </div> | ||
91 | <el-table :data="tableDatajf.data" border :height="210"> | ||
92 | <el-table-column v-for="item in tableDatajf.columns" :key="item.index" :prop="item.prop" :label="item.label" align="center"> | ||
93 | </el-table-column> | ||
94 | </el-table> | ||
95 | <div class="slxx_title title-block"> | ||
96 | 票据 | ||
97 | <div class="triangle"></div> | ||
98 | </div> | ||
69 | <div style="height:250px"> | 99 | <div style="height:250px"> |
70 | <img src="../../../../image/pj.jpg" alt="" style="height:100%"> | 100 | <img src="../../../../image/pj.jpg" alt="" style="height:100%"> |
71 | </div> | 101 | </div> |
72 | </div> | 102 | </div> |
73 | </div> | 103 | </el-form> |
74 | </div> | 104 | </div> |
75 | </template> | 105 | </template> |
76 | <script> | 106 | <script> |
... | @@ -80,7 +110,7 @@ | ... | @@ -80,7 +110,7 @@ |
80 | components: {}, | 110 | components: {}, |
81 | data () { | 111 | data () { |
82 | return { | 112 | return { |
83 | detail: { | 113 | ruleForm: { |
84 | ywh: '', | 114 | ywh: '', |
85 | sqdjlx: '', | 115 | sqdjlx: '', |
86 | lxr: '', | 116 | lxr: '', |
... | @@ -91,7 +121,7 @@ | ... | @@ -91,7 +121,7 @@ |
91 | ssje: '', | 121 | ssje: '', |
92 | bz: '' | 122 | bz: '' |
93 | }, | 123 | }, |
94 | tableData: { | 124 | tableDatasf: { |
95 | columns: [ | 125 | columns: [ |
96 | { | 126 | { |
97 | prop: "sfdw", | 127 | prop: "sfdw", |
... | @@ -129,7 +159,47 @@ | ... | @@ -129,7 +159,47 @@ |
129 | label: "应收金额", | 159 | label: "应收金额", |
130 | } | 160 | } |
131 | ], | 161 | ], |
132 | data: [] | 162 | data: [], |
163 | }, | ||
164 | tableDatajf: { | ||
165 | columns: [ | ||
166 | { | ||
167 | prop: "sfdw", | ||
168 | label: "计费单位", | ||
169 | }, | ||
170 | { | ||
171 | label: '是否额外收费', | ||
172 | align: 'center', | ||
173 | render: (h, scope) => { | ||
174 | return ( | ||
175 | <div> | ||
176 | {scope.row.sfewsf == '1' ? <span>是</span> : <span>否</span>} | ||
177 | </div> | ||
178 | ) | ||
179 | } | ||
180 | }, | ||
181 | { | ||
182 | prop: "sfry", | ||
183 | label: "收费人员", | ||
184 | }, | ||
185 | { | ||
186 | prop: "sfkmmc", | ||
187 | label: "收费科目名称", | ||
188 | }, | ||
189 | { | ||
190 | prop: "sjffr", | ||
191 | label: "实际付费人", | ||
192 | }, | ||
193 | { | ||
194 | prop: "ssje", | ||
195 | label: "实收金额", | ||
196 | }, | ||
197 | { | ||
198 | prop: "ysje", | ||
199 | label: "应收金额", | ||
200 | } | ||
201 | ], | ||
202 | data: [], | ||
133 | } | 203 | } |
134 | } | 204 | } |
135 | }, | 205 | }, |
... | @@ -191,44 +261,5 @@ | ... | @@ -191,44 +261,5 @@ |
191 | </script> | 261 | </script> |
192 | <style scoped lang='scss'> | 262 | <style scoped lang='scss'> |
193 | @import "~@/styles/public.scss"; | 263 | @import "~@/styles/public.scss"; |
194 | .sfxx { | 264 | @import "~@/styles/slxx/slxx.scss"; |
195 | display: flex; | ||
196 | padding: 10px; | ||
197 | height: 100%; | ||
198 | box-sizing: border-box; | ||
199 | &-left { | ||
200 | width: 50%; | ||
201 | margin-right: 10px; | ||
202 | ul { | ||
203 | border-radius: 3px; | ||
204 | } | ||
205 | li:last-child { | ||
206 | border-bottom: 1px solid #e8e5e5; | ||
207 | } | ||
208 | li { | ||
209 | display: flex; | ||
210 | border: 1px solid #e8e5e5; | ||
211 | border-bottom: none; | ||
212 | |||
213 | p:nth-child(1) { | ||
214 | width: 35%; | ||
215 | text-align: center; | ||
216 | background-color: #fafafa; | ||
217 | border-right: 1px solid #e8e5e5; | ||
218 | padding: 10px 0; | ||
219 | } | ||
220 | p:nth-child(2) { | ||
221 | width: 65%; | ||
222 | display: flex; | ||
223 | align-items: center; | ||
224 | box-sizing: border-box; | ||
225 | margin: 0 10px; | ||
226 | } | ||
227 | } | ||
228 | } | ||
229 | &-right { | ||
230 | width: 50%; | ||
231 | margin-left: 10px; | ||
232 | } | ||
233 | } | ||
234 | </style> | 265 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-12-26 15:00:22 | 4 | * @LastEditTime: 2024-03-19 13:22:39 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
... | @@ -29,6 +29,9 @@ | ... | @@ -29,6 +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(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> | ||
32 | </el-form-item> | 35 | </el-form-item> |
33 | <el-row> | 36 | <el-row> |
34 | <el-col :span="8"> | 37 | <el-col :span="8"> |
... | @@ -346,6 +349,7 @@ | ... | @@ -346,6 +349,7 @@ |
346 | <script> | 349 | <script> |
347 | import { mapGetters } from "vuex"; | 350 | import { mapGetters } from "vuex"; |
348 | import store from '@/store/index.js' | 351 | import store from '@/store/index.js' |
352 | import { sfhy } from "@/api/sqr.js"; | ||
349 | import { getUuid } from "@/utils/operation.js" | 353 | import { getUuid } from "@/utils/operation.js" |
350 | import { replace } from "@/api/company.js" | 354 | import { replace } from "@/api/company.js" |
351 | import { getIdCardInfo } from '@/utils/operation.js' | 355 | import { getIdCardInfo } from '@/utils/operation.js' |
... | @@ -446,6 +450,21 @@ | ... | @@ -446,6 +450,21 @@ |
446 | }, | 450 | }, |
447 | methods: { | 451 | methods: { |
448 | /** | 452 | /** |
453 | * @description: 身份核验 | ||
454 | * @author: renchao | ||
455 | */ | ||
456 | handleVerification (val) { | ||
457 | this.ruleForm.qlrlx = this.ruleForm.sqrlx | ||
458 | sfhy({ ...this.ruleForm, bsmSlsq: this.$route.query.bsmSlsq, hclx: val }).then(res => { | ||
459 | if (res.code == 200) { | ||
460 | this.$message({ | ||
461 | message: '核验成功!', | ||
462 | type: 'success' | ||
463 | }) | ||
464 | } | ||
465 | }) | ||
466 | }, | ||
467 | /** | ||
449 | * @description: 证件种类选择 | 468 | * @description: 证件种类选择 |
450 | * @param {*} val | 469 | * @param {*} val |
451 | * @author: renchao | 470 | * @author: renchao | ... | ... |
-
Please register or sign in to post a comment