5389708c by yangwei

证书领取页面获取权利人

1 parent ea89ec47
1 /* 1 /*
2 * @Description: 不动产权证 2 * @Description: 不动产权证
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-05 13:24:14 4 * @LastEditTime: 2023-09-13 16:06:55
5 */ 5 */
6 import request from '@/utils/request'; 6 import request from '@/utils/request';
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
...@@ -146,3 +146,17 @@ export function getBdcqzDetail (bsmBdcqz) { ...@@ -146,3 +146,17 @@ export function getBdcqzDetail (bsmBdcqz) {
146 } 146 }
147 }) 147 })
148 } 148 }
149 /**
150 * @description: 根据bsmBdcqz获取权利人信息
151 * @param {*} bsmBdcqz
152 * @author: renchao
153 */
154 export function getBdcqzQlr (bsmBdcqz) {
155 return request({
156 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getBdcqzQlr',
157 method: 'get',
158 params: {
159 bsmBdcqz: bsmBdcqz
160 }
161 })
162 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-28 12:53:50 4 * @LastEditTime: 2023-09-13 16:13:54
5 --> 5 -->
6 <template> 6 <template>
7 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> 7 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px">
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
22 </el-form-item> 22 </el-form-item>
23 </el-col> 23 </el-col>
24 </el-row> 24 </el-row>
25
26 <lb-table :column="tableData.columns" @row-dblclick="handleRowClick" ref="table" @selection-change="handleSelectionChange" 25 <lb-table :column="tableData.columns" @row-dblclick="handleRowClick" ref="table" @selection-change="handleSelectionChange"
27 :data="tableData.data" 26 :data="tableData.data"
28 :pagination="false" 27 :pagination="false"
...@@ -30,26 +29,26 @@ ...@@ -30,26 +29,26 @@
30 </lb-table> 29 </lb-table>
31 <el-row> 30 <el-row>
32 <el-col :span="6"> 31 <el-col :span="6">
33 <el-form-item label="领证人" prop="lzrxm"> 32 <el-form-item label="领证人" prop="qlrmc">
34 <el-input v-model="ruleForm.lzrxm"></el-input> 33 <el-input v-model="ruleForm.qlrmc"></el-input>
35 </el-form-item> 34 </el-form-item>
36 </el-col> 35 </el-col>
37 <el-col :span="6"> 36 <el-col :span="6">
38 <el-form-item label="证件类型" prop="lzrzjlb"> 37 <el-form-item label="证件类型" prop="zjzl">
39 <el-select v-model="ruleForm.lzrzjlb" filterable clearable placeholder="请选择"> 38 <el-select v-model="ruleForm.zjzl" filterable clearable placeholder="请选择">
40 <el-option v-for="item in zjzlData" :key="item.dcode" :label="item.dname" :value="item.dcode"> 39 <el-option v-for="item in zjzlData" :key="item.dcode" :label="item.dname" :value="item.dcode">
41 </el-option> 40 </el-option>
42 </el-select> 41 </el-select>
43 </el-form-item> 42 </el-form-item>
44 </el-col> 43 </el-col>
45 <el-col :span="6"> 44 <el-col :span="6">
46 <el-form-item label="证件号" prop="lzrzjh"> 45 <el-form-item label="证件号" prop="zjh">
47 <el-input v-model="ruleForm.lzrzjh"></el-input> 46 <el-input v-model="ruleForm.zjh"></el-input>
48 </el-form-item> 47 </el-form-item>
49 </el-col> 48 </el-col>
50 <el-col :span="6"> 49 <el-col :span="6">
51 <el-form-item label="领证人电话" prop="lzrdh"> 50 <el-form-item label="领证人电话" prop="dh">
52 <el-input v-model="ruleForm.lzrdh"></el-input> 51 <el-input v-model="ruleForm.dh"></el-input>
53 </el-form-item> 52 </el-form-item>
54 </el-col> 53 </el-col>
55 </el-row> 54 </el-row>
...@@ -63,7 +62,7 @@ ...@@ -63,7 +62,7 @@
63 import Vue from 'vue' 62 import Vue from 'vue'
64 import store from '@/store/index.js' 63 import store from '@/store/index.js'
65 import table from "@/utils/mixin/table"; 64 import table from "@/utils/mixin/table";
66 import { getUnclaimedBdcqz, issueCertificate } from "@/api/bdcqz.js"; 65 import { getUnclaimedBdcqz, issueCertificate,getBdcqzQlr } from "@/api/bdcqz.js";
67 import { datas } from "../../javascript/fzxxdata"; 66 import { datas } from "../../javascript/fzxxdata";
68 export default { 67 export default {
69 props: { 68 props: {
...@@ -83,22 +82,22 @@ ...@@ -83,22 +82,22 @@
83 fzsj: '', 82 fzsj: '',
84 fzsl: '', 83 fzsl: '',
85 bdcqzList: [], 84 bdcqzList: [],
86 lzrxm: '', 85 qlrmc: '',
87 lzrzjlb: '', 86 zjzl: '',
88 lzrzjh: '', 87 zjh: '',
89 lzrdh: '' 88 dh: ''
90 }, 89 },
91 rules: { 90 rules: {
92 lzrxm: [ 91 qlrmc: [
93 { required: true, message: '请输入领证人', trigger: 'blur' } 92 { required: true, message: '请输入领证人', trigger: 'blur' }
94 ], 93 ],
95 lzrzjlb: [ 94 zjzl: [
96 { required: true, message: '请选择证件类型', trigger: 'change' } 95 { required: true, message: '请选择证件类型', trigger: 'change' }
97 ], 96 ],
98 lzrzjh: [ 97 zjh: [
99 { required: true, message: '请输入证件号', trigger: 'blur' } 98 { required: true, message: '请输入证件号', trigger: 'blur' }
100 ], 99 ],
101 lzrdh: [ 100 dh: [
102 { required: true, message: '请输入电话号码', trigger: 'blur' } 101 { required: true, message: '请输入电话号码', trigger: 'blur' }
103 ] 102 ]
104 }, 103 },
...@@ -133,6 +132,18 @@ ...@@ -133,6 +132,18 @@
133 this.ruleForm.fzsj = res.result.fzsj 132 this.ruleForm.fzsj = res.result.fzsj
134 this.ruleForm.fzsl = res.result.fzsl 133 this.ruleForm.fzsl = res.result.fzsl
135 this.ruleForm.bdcqzList = res.result.list; 134 this.ruleForm.bdcqzList = res.result.list;
135 res.result.list.length && this.getQlr(res.result.list[0].bsmBdcqz)
136 }
137 })
138 },
139 /**
140 * @description: 获取权利人信息
141 * @author: renchao
142 */
143 getQlr (bsmBdcqz) {
144 getBdcqzQlr(bsmBdcqz).then(res => {
145 if (res.code === 200) {
146 this.ruleForm = {...this.ruleForm,...res.result}
136 } 147 }
137 }) 148 })
138 }, 149 },
......