123
Showing
5 changed files
with
242 additions
and
8 deletions
... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ |
3 | 作者:calliope | 3 | 作者:calliope |
4 | --> | 4 | --> |
5 | <template> | 5 | <template> |
6 | <lb-table :column="tableData.columns" :data="tableData.data" :maxHeight="200" heightNumSetting :pagination="false"> | 6 | <lb-table border :column="tableData.columns" :data="tableData.data" :maxHeight="200" heightNumSetting :pagination="false"> |
7 | </lb-table> | 7 | </lb-table> |
8 | </template> | 8 | </template> |
9 | <script> | 9 | <script> |
... | @@ -40,6 +40,7 @@ export default { | ... | @@ -40,6 +40,7 @@ export default { |
40 | } | 40 | } |
41 | }, | 41 | }, |
42 | { | 42 | { |
43 | width: '200', | ||
43 | label: '身份证读卡器', | 44 | label: '身份证读卡器', |
44 | render: (h, scope) => { | 45 | render: (h, scope) => { |
45 | return ( | 46 | return ( |
... | @@ -50,6 +51,7 @@ export default { | ... | @@ -50,6 +51,7 @@ export default { |
50 | } | 51 | } |
51 | }, | 52 | }, |
52 | { | 53 | { |
54 | width: '200', | ||
53 | prop: 'sqrxm', | 55 | prop: 'sqrxm', |
54 | label: '姓名/名称', | 56 | label: '姓名/名称', |
55 | render: (h, scope) => { | 57 | render: (h, scope) => { | ... | ... |
1 | <template> | 1 | <template> |
2 | <dialogBox title="家庭房产查询" @closeDialog="closeDialog" width="80%" :isButton="false" v-model="myValue"> | 2 | <dialogBox title="家庭房产查询" @closeDialog="closeDialog" width="1200px" :isButton="false" v-model="myValue"> |
3 | <div class="jtfccx-edit"> | 3 | <div class="jtfccx-edit"> |
4 | <div class="jtfccx-edit-con"> | 4 | <div class="jtfccx-edit-con"> |
5 | <b class="title">申请信息</b> | 5 | <b class="title">申请信息</b> |
6 | <personInfoTable @getInfoList="handleGetSqList" :dataList="sqdataList" /> | ||
7 | <el-form :model="ruleForm" label-width="120px"> | 6 | <el-form :model="ruleForm" label-width="120px"> |
8 | <el-row> | 7 | <el-row> |
9 | <el-col :span="8"> | 8 | <el-col :span="8"> |
10 | <el-form-item label="查询用途" label-width="90px"> | 9 | <el-form-item label="查询用途" label-width="90px"> |
11 | <el-input v-model="ruleForm.cxyt"></el-input> | 10 | <el-input v-model="ruleForm.cxyt" class="width200px"></el-input> |
12 | </el-form-item> | 11 | </el-form-item> |
13 | </el-col> | 12 | </el-col> |
14 | <el-col :span="16"> | 13 | <el-col :span="16"> |
... | @@ -22,6 +21,8 @@ | ... | @@ -22,6 +21,8 @@ |
22 | </el-col> | 21 | </el-col> |
23 | </el-row> | 22 | </el-row> |
24 | </el-form> | 23 | </el-form> |
24 | <personInfoTable @getInfoList="handleGetSqList" :dataList="sqdataList" /> | ||
25 | |||
25 | <b class="title">权利人</b> | 26 | <b class="title">权利人</b> |
26 | <personInfoTable :dataList="qldataList" @getInfoList="handleGetQlList" /> | 27 | <personInfoTable :dataList="qldataList" @getInfoList="handleGetQlList" /> |
27 | <div class="submit-button"> | 28 | <div class="submit-button"> |
... | @@ -199,6 +200,7 @@ export default { | ... | @@ -199,6 +200,7 @@ export default { |
199 | </script> | 200 | </script> |
200 | <style scoped lang="scss"> | 201 | <style scoped lang="scss"> |
201 | @import "~@/styles/mixin.scss"; | 202 | @import "~@/styles/mixin.scss"; |
203 | @import "~@/styles/public.scss"; | ||
202 | 204 | ||
203 | .title { | 205 | .title { |
204 | padding-bottom: 10px; | 206 | padding-bottom: 10px; | ... | ... |
src/views/sqcx/sqcxjl/components/addjtfc.vue
0 → 100644
1 | <template> | ||
2 | <dialogBox title="家庭房产查询" @closeDialog="closeDialog" width="80%" :isButton="false" v-model="myValue"> | ||
3 | <div class="jtfccx-edit"> | ||
4 | <div class="jtfccx-edit-con"> | ||
5 | <b class="title">申请信息</b> | ||
6 | <personInfoTable @getInfoList="handleGetSqList" :dataList="sqdataList" /> | ||
7 | <el-form :model="ruleForm" label-width="120px"> | ||
8 | <el-row> | ||
9 | <el-col :span="8"> | ||
10 | <el-form-item label="查询用途" label-width="90px"> | ||
11 | <el-input v-model="ruleForm.cxyt"></el-input> | ||
12 | </el-form-item> | ||
13 | </el-col> | ||
14 | <el-col :span="16"> | ||
15 | <el-form-item label="与产权人的关系"> | ||
16 | <el-radio-group v-model="ruleForm.ycyrgx"> | ||
17 | <el-radio :label="1">房屋权利人</el-radio> | ||
18 | <el-radio :label="2">产权利害关系人</el-radio> | ||
19 | <el-radio :label="3">委托人</el-radio> | ||
20 | </el-radio-group> | ||
21 | </el-form-item> | ||
22 | </el-col> | ||
23 | </el-row> | ||
24 | </el-form> | ||
25 | <b class="title">权利人</b> | ||
26 | <personInfoTable :dataList="qldataList" @getInfoList="handleGetQlList" /> | ||
27 | <div class="submit-button"> | ||
28 | <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> | ||
29 | <el-button icon="el-icon-refresh-left" @click="handleReset">重置</el-button> | ||
30 | </div> | ||
31 | <b class="title">查询结果</b> | ||
32 | <p>查询编号:202200409</p> | ||
33 | <lb-table :column="searchData.columns" :data="searchData.data" :maxHeight="200" heightNumSetting | ||
34 | :pagination="false"> | ||
35 | </lb-table> | ||
36 | </div> | ||
37 | |||
38 | <div class="submit-button" style="padding-bottom:20px"> | ||
39 | <el-button type="primary">无房证明打印(1)</el-button> | ||
40 | <el-button type="primary">房产结果打印(1)</el-button> | ||
41 | <el-button @click="closeDialog">关闭</el-button> | ||
42 | </div> | ||
43 | </div> | ||
44 | </dialogBox> | ||
45 | </template> | ||
46 | |||
47 | <script> | ||
48 | import personInfoTable from '@/views/components/personInfoTable' | ||
49 | import { addJtfcCxjgXx } from '@/api/jtfc' | ||
50 | export default { | ||
51 | components: { | ||
52 | personInfoTable | ||
53 | }, | ||
54 | props: { | ||
55 | value: { type: Boolean, default: false }, | ||
56 | }, | ||
57 | data () { | ||
58 | return { | ||
59 | myValue: this.value, | ||
60 | ruleForm: { | ||
61 | cxyt: '', | ||
62 | ycyrgx: 1, | ||
63 | cxlx: '1' //查询类型 1:房产查询 2:登记簿查询 | ||
64 | }, | ||
65 | dataList: [{ | ||
66 | sqrxm: '', | ||
67 | sqrzjlxbm: '', | ||
68 | sqrzjhm: '', | ||
69 | lxdh: '', | ||
70 | inputErr: false | ||
71 | }], | ||
72 | sqdataList: [], | ||
73 | qldataList: [], | ||
74 | options: [{ | ||
75 | name: '1', | ||
76 | value: 1 | ||
77 | }], | ||
78 | searchData: { | ||
79 | columns: [ | ||
80 | { | ||
81 | prop: 'qszt', | ||
82 | label: '权属状态', | ||
83 | }, | ||
84 | { | ||
85 | prop: 'bdcqzh', | ||
86 | label: '不动产权证号', | ||
87 | }, | ||
88 | { | ||
89 | prop: 'djsj', | ||
90 | label: '登记时间', | ||
91 | }, | ||
92 | { | ||
93 | prop: 'hth', | ||
94 | label: '合同号', | ||
95 | }, | ||
96 | { | ||
97 | prop: 'wqsj', | ||
98 | label: '网签时间', | ||
99 | }, | ||
100 | { | ||
101 | prop: 'bdcdyh', | ||
102 | label: '不动产单元号', | ||
103 | }, | ||
104 | { | ||
105 | prop: 'gyfs', | ||
106 | label: '共有方式', | ||
107 | }, | ||
108 | { | ||
109 | prop: 'qlr', | ||
110 | label: '权利人', | ||
111 | }, | ||
112 | { | ||
113 | prop: 'zjh', | ||
114 | label: '证件号', | ||
115 | }, | ||
116 | { | ||
117 | prop: 'fdzl', | ||
118 | label: '房地坐落', | ||
119 | }, | ||
120 | { | ||
121 | prop: 'jzmj', | ||
122 | label: '建筑面积(㎡)', | ||
123 | }, | ||
124 | { | ||
125 | prop: 'fwyt', | ||
126 | label: '房屋用途', | ||
127 | }, | ||
128 | { | ||
129 | |||
130 | label: '登记状态', | ||
131 | width: '150', | ||
132 | align: 'center', | ||
133 | fixed: 'right', | ||
134 | render: (h, scope) => { | ||
135 | return ( | ||
136 | <div> | ||
137 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { this.editClick(scope) }}>抵押</el-button> | ||
138 | </div> | ||
139 | ) | ||
140 | } | ||
141 | } | ||
142 | ], | ||
143 | data: [] | ||
144 | }, | ||
145 | addJtfc: { | ||
146 | djSqcxDO: {}, | ||
147 | sqxx: [], | ||
148 | qlrxx: [], | ||
149 | } | ||
150 | } | ||
151 | }, | ||
152 | watch: { | ||
153 | value (val) { | ||
154 | this.myValue = val | ||
155 | this.qldataList = _.cloneDeep(this.dataList) | ||
156 | this.sqdataList = _.cloneDeep(this.dataList) | ||
157 | this.addJtfc.sqxx = _.cloneDeep(this.dataList) | ||
158 | this.addJtfc.qlrxx = _.cloneDeep(this.dataList) | ||
159 | }, | ||
160 | 'ruleForm.ycyrgx' (val) { | ||
161 | if (val != 1) { | ||
162 | this.qldataList = _.cloneDeep(this.dataList) | ||
163 | this.addJtfc.qlrxx = _.cloneDeep(this.dataList) | ||
164 | } else { | ||
165 | this.qldataList = this.addJtfc.sqxx | ||
166 | this.addJtfc.qlrxx = this.addJtfc.sqxx | ||
167 | } | ||
168 | } | ||
169 | }, | ||
170 | methods: { | ||
171 | closeDialog () { | ||
172 | this.$emit('input', false) | ||
173 | }, | ||
174 | handleGetSqList (val) { | ||
175 | if (!_.isEqual(val, this.dataList) && this.ruleForm.ycyrgx == 1) { | ||
176 | this.qldataList = val | ||
177 | this.addJtfc.qlrxx = val | ||
178 | } else | ||
179 | this.addJtfc.sqxx = val | ||
180 | }, | ||
181 | handleGetQlList (val) { | ||
182 | if (this.ruleForm.ycyrgx != 1) { | ||
183 | this.addJtfc.qlrxx = val | ||
184 | } | ||
185 | }, | ||
186 | handleSearch () { | ||
187 | this.addJtfc.djSqcxDO = { ...this.ruleForm } | ||
188 | addJtfcCxjgXx(this.addJtfc).then(res => { | ||
189 | console.log(res); | ||
190 | }) | ||
191 | }, | ||
192 | handleReset () { | ||
193 | this.qldataList = _.cloneDeep(this.dataList) | ||
194 | this.sqdataList = _.cloneDeep(this.dataList) | ||
195 | }, | ||
196 | handleRead (row) { } | ||
197 | } | ||
198 | } | ||
199 | </script> | ||
200 | <style scoped lang="scss"> | ||
201 | @import "~@/styles/mixin.scss"; | ||
202 | |||
203 | .title { | ||
204 | padding-bottom: 10px; | ||
205 | margin-bottom: 10px; | ||
206 | display: block; | ||
207 | border-bottom: 1px solid $borderColor; | ||
208 | } | ||
209 | |||
210 | .jtfccx-edit { | ||
211 | @include flex; | ||
212 | flex-direction: column; | ||
213 | overflow-y: hidden; | ||
214 | max-height: 87vh; | ||
215 | padding: 0 2px; | ||
216 | |||
217 | .jtfccx-edit-con { | ||
218 | flex: 1; | ||
219 | height: 100%; | ||
220 | overflow-y: scroll; | ||
221 | } | ||
222 | |||
223 | .submit-button { | ||
224 | text-align: center; | ||
225 | height: 52px; | ||
226 | padding-top: 10px; | ||
227 | background-color: #fff; | ||
228 | } | ||
229 | } | ||
230 | </style> |
... | @@ -47,17 +47,17 @@ | ... | @@ -47,17 +47,17 @@ |
47 | :column="tableData.columns" :data="tableData.data"> | 47 | :column="tableData.columns" :data="tableData.data"> |
48 | </lb-table> | 48 | </lb-table> |
49 | </div> | 49 | </div> |
50 | <!-- <editDialog v-model="isDialog" /> --> | 50 | <addjtfc v-model="isDialog" /> |
51 | </div> | 51 | </div> |
52 | </template> | 52 | </template> |
53 | <script> | 53 | <script> |
54 | // import editDialog from "../components/editDialog.vue" | 54 | import addjtfc from "./components/addjtfc.vue"; |
55 | import table from "@/utils/mixin/table" | 55 | import table from "@/utils/mixin/table" |
56 | import { datas, sendThis } from "./sqcxjldata" | 56 | import { datas, sendThis } from "./sqcxjldata" |
57 | import { getJtfcPage } from '@/api/sqcx' | 57 | import { getJtfcPage } from '@/api/sqcx' |
58 | export default { | 58 | export default { |
59 | name: "sqcxjl", | 59 | name: "sqcxjl", |
60 | components: { editDialog }, | 60 | components: { addjtfc }, |
61 | mixins: [table], | 61 | mixins: [table], |
62 | mounted () { | 62 | mounted () { |
63 | sendThis(this); | 63 | sendThis(this); | ... | ... |
-
Please register or sign in to post a comment