申请查询记录
Showing
5 changed files
with
175 additions
and
85 deletions
... | @@ -130,7 +130,6 @@ export default { | ... | @@ -130,7 +130,6 @@ export default { |
130 | } | 130 | } |
131 | }, | 131 | }, |
132 | queryChick () { | 132 | queryChick () { |
133 | |||
134 | debugger; | 133 | debugger; |
135 | this.addJtfc.djSqcxDO = { ...this.ruleForm } | 134 | this.addJtfc.djSqcxDO = { ...this.ruleForm } |
136 | // this.$message({ | 135 | // this.$message({ |
... | @@ -139,9 +138,7 @@ export default { | ... | @@ -139,9 +138,7 @@ export default { |
139 | // }); | 138 | // }); |
140 | 139 | ||
141 | addJtfcCxjgXx(this.addJtfc).then(res => { | 140 | addJtfcCxjgXx(this.addJtfc).then(res => { |
142 | debugger; | ||
143 | this.searchData.data = res.result; | 141 | this.searchData.data = res.result; |
144 | |||
145 | console.log(res); | 142 | console.log(res); |
146 | }) | 143 | }) |
147 | }, | 144 | }, |
... | @@ -156,7 +153,6 @@ export default { | ... | @@ -156,7 +153,6 @@ export default { |
156 | <style scoped lang="scss"> | 153 | <style scoped lang="scss"> |
157 | @import "~@/styles/mixin.scss"; | 154 | @import "~@/styles/mixin.scss"; |
158 | @import "~@/styles/public.scss"; | 155 | @import "~@/styles/public.scss"; |
159 | |||
160 | .title { | 156 | .title { |
161 | padding-bottom: 10px; | 157 | padding-bottom: 10px; |
162 | margin-bottom: 10px; | 158 | margin-bottom: 10px; | ... | ... |
... | @@ -30,8 +30,8 @@ | ... | @@ -30,8 +30,8 @@ |
30 | <el-row> | 30 | <el-row> |
31 | <el-col> | 31 | <el-col> |
32 | <lb-table | 32 | <lb-table |
33 | :column="searchData.columns" | 33 | :column="sqrData.columns" |
34 | :data="searchData.data" | 34 | :data="sqrData.data" |
35 | :maxHeight="200" | 35 | :maxHeight="200" |
36 | heightNumSetting | 36 | heightNumSetting |
37 | :pagination="false" | 37 | :pagination="false" |
... | @@ -51,8 +51,8 @@ | ... | @@ -51,8 +51,8 @@ |
51 | <el-row> | 51 | <el-row> |
52 | <el-col> | 52 | <el-col> |
53 | <lb-table | 53 | <lb-table |
54 | :column="searchData.columns" | 54 | :column="qlrData.columns" |
55 | :data="searchData.data" | 55 | :data="qlrData.data" |
56 | :maxHeight="200" | 56 | :maxHeight="200" |
57 | heightNumSetting | 57 | heightNumSetting |
58 | :pagination="false" | 58 | :pagination="false" |
... | @@ -77,8 +77,8 @@ | ... | @@ -77,8 +77,8 @@ |
77 | <el-row> | 77 | <el-row> |
78 | <el-col> | 78 | <el-col> |
79 | <lb-table | 79 | <lb-table |
80 | :column="searchData.columns" | 80 | :column="cxjgData.columns" |
81 | :data="searchData.data" | 81 | :data="cxjgData.data" |
82 | :maxHeight="200" | 82 | :maxHeight="200" |
83 | heightNumSetting | 83 | heightNumSetting |
84 | :pagination="false" | 84 | :pagination="false" |
... | @@ -92,11 +92,23 @@ | ... | @@ -92,11 +92,23 @@ |
92 | 92 | ||
93 | <script> | 93 | <script> |
94 | import { addJtfcCxjgXx } from "@/api/jtfc"; | 94 | import { addJtfcCxjgXx } from "@/api/jtfc"; |
95 | import { datas, sendThis } from "./sqcxjlInfodata"; | ||
96 | |||
95 | export default { | 97 | export default { |
96 | components: {}, | 98 | components: {}, |
97 | props: { | 99 | // props: { |
98 | value: { type: Boolean, default: false }, | 100 | // value: { type: Boolean, default: false }, |
101 | // }, | ||
102 | props: ["formData"], | ||
103 | |||
104 | mounted() { | ||
105 | sendThis(this); | ||
106 | |||
107 | |||
108 | // var bdcdyid: this.formData.bdcdyid, | ||
109 | |||
99 | }, | 110 | }, |
111 | |||
100 | data() { | 112 | data() { |
101 | return { | 113 | return { |
102 | ruleForm: { | 114 | ruleForm: { |
... | @@ -105,78 +117,18 @@ export default { | ... | @@ -105,78 +117,18 @@ export default { |
105 | cxlx: "1", //查询类型 1:房产查询 2:登记簿查询 | 117 | cxlx: "1", //查询类型 1:房产查询 2:登记簿查询 |
106 | }, | 118 | }, |
107 | 119 | ||
108 | searchData: { | 120 | sqrData: { |
109 | columns: [ | 121 | columns: datas.sqrcolumns(), |
110 | { | 122 | data: [], |
111 | prop: "qszt", | ||
112 | label: "权属状态", | ||
113 | }, | ||
114 | { | ||
115 | prop: "bdcqzh", | ||
116 | label: "不动产权证号", | ||
117 | }, | ||
118 | { | ||
119 | prop: "djsj", | ||
120 | label: "登记时间", | ||
121 | }, | ||
122 | { | ||
123 | prop: "hth", | ||
124 | label: "合同号", | ||
125 | }, | ||
126 | { | ||
127 | prop: "wqsj", | ||
128 | label: "网签时间", | ||
129 | }, | ||
130 | { | ||
131 | prop: "bdcdyh", | ||
132 | label: "不动产单元号", | ||
133 | }, | ||
134 | { | ||
135 | prop: "gyfs", | ||
136 | label: "共有方式", | ||
137 | }, | ||
138 | { | ||
139 | prop: "qlr", | ||
140 | label: "权利人", | ||
141 | }, | ||
142 | { | ||
143 | prop: "zjh", | ||
144 | label: "证件号", | ||
145 | }, | ||
146 | { | ||
147 | prop: "fdzl", | ||
148 | label: "房地坐落", | ||
149 | }, | ||
150 | { | ||
151 | prop: "jzmj", | ||
152 | label: "建筑面积(㎡)", | ||
153 | }, | ||
154 | { | ||
155 | prop: "fwyt", | ||
156 | label: "房屋用途", | ||
157 | }, | ||
158 | { | ||
159 | label: "登记状态", | ||
160 | width: "150", | ||
161 | align: "center", | ||
162 | fixed: "right", | ||
163 | render: (h, scope) => { | ||
164 | return ( | ||
165 | <div> | ||
166 | <el-button | ||
167 | type="text" | ||
168 | icon="el-icon-edit-outline" | ||
169 | onClick={() => { | ||
170 | this.editClick(scope); | ||
171 | }} | ||
172 | > | ||
173 | 抵押 | ||
174 | </el-button> | ||
175 | </div> | ||
176 | ); | ||
177 | }, | 123 | }, |
124 | |||
125 | cxjgData: { | ||
126 | columns: datas.cxjgcolumns(), | ||
127 | data: [], | ||
178 | }, | 128 | }, |
179 | ], | 129 | |
130 | qlrData: { | ||
131 | columns: datas.qlrcolumns(), | ||
180 | data: [], | 132 | data: [], |
181 | }, | 133 | }, |
182 | }; | 134 | }; | ... | ... |
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | class data extends filter { | ||
8 | constructor() { | ||
9 | super() | ||
10 | } | ||
11 | cxjgcolumns () { | ||
12 | return [ | ||
13 | { | ||
14 | prop: 'qszt', | ||
15 | label: '权属状态', | ||
16 | }, | ||
17 | { | ||
18 | prop: 'bdcqzh', | ||
19 | label: '不动产权证号', | ||
20 | }, | ||
21 | { | ||
22 | prop: 'djsj', | ||
23 | label: '登记时间', | ||
24 | }, | ||
25 | { | ||
26 | prop: 'hth', | ||
27 | label: '合同号', | ||
28 | }, | ||
29 | { | ||
30 | prop: 'wqsj', | ||
31 | label: '网签时间', | ||
32 | }, | ||
33 | { | ||
34 | prop: 'bdcdyh', | ||
35 | label: '不动产单元号', | ||
36 | }, | ||
37 | { | ||
38 | prop: 'gyfs', | ||
39 | label: '共有方式', | ||
40 | }, | ||
41 | { | ||
42 | prop: 'qlr', | ||
43 | label: '权利人', | ||
44 | }, | ||
45 | { | ||
46 | prop: 'zjh', | ||
47 | label: '证件号', | ||
48 | }, | ||
49 | { | ||
50 | prop: 'fdzl', | ||
51 | label: '房地坐落', | ||
52 | }, | ||
53 | { | ||
54 | prop: 'jzmj', | ||
55 | label: '建筑面积(㎡)', | ||
56 | }, | ||
57 | { | ||
58 | prop: 'fwyt', | ||
59 | label: '房屋用途', | ||
60 | }, | ||
61 | { | ||
62 | |||
63 | label: '登记状态', | ||
64 | width: '150', | ||
65 | align: 'center', | ||
66 | fixed: 'right', | ||
67 | render: (h, scope) => { | ||
68 | return ( | ||
69 | <div> | ||
70 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { this.editClick(scope) }}>抵押</el-button> | ||
71 | </div> | ||
72 | ) | ||
73 | } | ||
74 | } | ||
75 | ] | ||
76 | } | ||
77 | sqrcolumns () { | ||
78 | return [ | ||
79 | { | ||
80 | prop: 'sqrxm', | ||
81 | label: '姓名/名称', | ||
82 | }, | ||
83 | { | ||
84 | prop: 'sqrzjlxmc', | ||
85 | label: '证件种类', | ||
86 | }, | ||
87 | { | ||
88 | prop: 'sqrzjhm', | ||
89 | label: '证件号', | ||
90 | }, | ||
91 | { | ||
92 | prop: 'lxdh', | ||
93 | label: '联系电话', | ||
94 | }, | ||
95 | ] | ||
96 | } | ||
97 | |||
98 | qlrcolumns () { | ||
99 | return [ | ||
100 | { | ||
101 | prop: 'sqrxm', | ||
102 | label: '姓名/名称', | ||
103 | }, | ||
104 | { | ||
105 | prop: 'sqrzjlxmc', | ||
106 | label: '证件种类', | ||
107 | }, | ||
108 | { | ||
109 | prop: 'sqrzjhm', | ||
110 | label: '证件号', | ||
111 | }, | ||
112 | { | ||
113 | prop: 'lxdh', | ||
114 | label: '联系电话', | ||
115 | }, | ||
116 | ] | ||
117 | } | ||
118 | |||
119 | } | ||
120 | |||
121 | |||
122 | |||
123 | let datas = new data() | ||
124 | |||
125 | export { | ||
126 | datas, | ||
127 | sendThis | ||
128 | } |
... | @@ -99,9 +99,23 @@ export default { | ... | @@ -99,9 +99,23 @@ export default { |
99 | console.log(name, sort); | 99 | console.log(name, sort); |
100 | }, | 100 | }, |
101 | // 查看 | 101 | // 查看 |
102 | handleView() { | 102 | handleView(scope) { |
103 | debugger; | ||
103 | // this.isDialog = true | 104 | // this.isDialog = true |
104 | 105 | ||
106 | var sqcxBsm = scope.row.bsmSqcx; | ||
107 | |||
108 | |||
109 | getLpb({ zrzbsm: zrzbsm }) | ||
110 | .then((res) => { | ||
111 | if (res.code == 200) { | ||
112 | var lpbdata = res.result; | ||
113 | } | ||
114 | }) | ||
115 | .catch((error) => { | ||
116 | console.log(error); | ||
117 | }); | ||
118 | |||
105 | let that = this; | 119 | let that = this; |
106 | this.$popup({ | 120 | this.$popup({ |
107 | title: "申请查询记录", | 121 | title: "申请查询记录", |
... | @@ -115,7 +129,7 @@ export default { | ... | @@ -115,7 +129,7 @@ export default { |
115 | }, | 129 | }, |
116 | cancel: function () {}, //取消事件的回调 | 130 | cancel: function () {}, //取消事件的回调 |
117 | confirm: function () { | 131 | confirm: function () { |
118 | that.loadBdcdylist(); | 132 | // that.loadBdcdylist(); |
119 | }, //确认事件的回调 | 133 | }, //确认事件的回调 |
120 | }); | 134 | }); |
121 | }, | 135 | }, | ... | ... |
... | @@ -66,7 +66,7 @@ class data extends filter { | ... | @@ -66,7 +66,7 @@ class data extends filter { |
66 | { | 66 | { |
67 | label: "查询编号", | 67 | label: "查询编号", |
68 | render: (h, scope) => { | 68 | render: (h, scope) => { |
69 | return <el-button type="text" icon='el-icon-view' onClick={() => { vm.handleView() }}>查看</el-button> | 69 | return <el-button type="text" icon='el-icon-view' onClick={() => { vm.handleView(scope) }}>查看</el-button> |
70 | } | 70 | } |
71 | }, | 71 | }, |
72 | ] | 72 | ] | ... | ... |
-
Please register or sign in to post a comment