Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
8 changed files
with
336 additions
and
56 deletions
... | @@ -134,6 +134,7 @@ export default { | ... | @@ -134,6 +134,7 @@ export default { |
134 | .ls-title { | 134 | .ls-title { |
135 | padding: 16px; | 135 | padding: 16px; |
136 | color: #ffffff; | 136 | color: #ffffff; |
137 | font-size: 16px; | ||
137 | background: linear-gradient(3deg, #409EFF, #a7cbee); | 138 | background: linear-gradient(3deg, #409EFF, #a7cbee); |
138 | } | 139 | } |
139 | 140 | ... | ... |
... | @@ -135,6 +135,7 @@ export default { | ... | @@ -135,6 +135,7 @@ export default { |
135 | padding: 16px; | 135 | padding: 16px; |
136 | color: #ffffff; | 136 | color: #ffffff; |
137 | background: linear-gradient(3deg, #409EFF, #a7cbee); | 137 | background: linear-gradient(3deg, #409EFF, #a7cbee); |
138 | font-size: 16px; | ||
138 | } | 139 | } |
139 | 140 | ||
140 | .ls-title .svg-icon { | 141 | .ls-title .svg-icon { | ... | ... |
... | @@ -5,7 +5,10 @@ | ... | @@ -5,7 +5,10 @@ |
5 | <el-step title="结果查询"></el-step> | 5 | <el-step title="结果查询"></el-step> |
6 | <el-step title="结果展示"></el-step> | 6 | <el-step title="结果展示"></el-step> |
7 | </el-steps> | 7 | </el-steps> |
8 | <div class="jtfccx-edit" v-show="!isSearch"> | 8 | <div v-if="isSearch"> |
9 | <dydjbInfo ref="dydjbInfo"/> | ||
10 | </div> | ||
11 | <div class="jtfccx-edit" v-else> | ||
9 | <div class="jtfccx-edit-con"> | 12 | <div class="jtfccx-edit-con"> |
10 | <b class="title"></b> | 13 | <b class="title"></b> |
11 | <el-form :model="form" label-width="120px"> | 14 | <el-form :model="form" label-width="120px"> |
... | @@ -31,6 +34,7 @@ | ... | @@ -31,6 +34,7 @@ |
31 | </el-col> | 34 | </el-col> |
32 | </el-row> | 35 | </el-row> |
33 | </el-form> | 36 | </el-form> |
37 | <b class="title">申请人</b> | ||
34 | <lb-table :column="sqrColumns" key="sqr1" :data="form.sqrList" :maxHeight="200" heightNumSetting | 38 | <lb-table :column="sqrColumns" key="sqr1" :data="form.sqrList" :maxHeight="200" heightNumSetting |
35 | :pagination="false"> | 39 | :pagination="false"> |
36 | </lb-table> | 40 | </lb-table> |
... | @@ -45,9 +49,6 @@ | ... | @@ -45,9 +49,6 @@ |
45 | </div> | 49 | </div> |
46 | </div> | 50 | </div> |
47 | </div> | 51 | </div> |
48 | <div> | ||
49 | <dydjbInfo v-show="isSearch"/> | ||
50 | </div> | ||
51 | </dialogBox> | 52 | </dialogBox> |
52 | </template> | 53 | </template> |
53 | 54 | ||
... | @@ -68,7 +69,7 @@ export default { | ... | @@ -68,7 +69,7 @@ export default { |
68 | sqcxBsm: { type: String, default: "" }, | 69 | sqcxBsm: { type: String, default: "" }, |
69 | }, | 70 | }, |
70 | mounted () { | 71 | mounted () { |
71 | 72 | sendThis(this); | |
72 | }, | 73 | }, |
73 | data () { | 74 | data () { |
74 | return { | 75 | return { |
... | @@ -146,8 +147,11 @@ export default { | ... | @@ -146,8 +147,11 @@ export default { |
146 | getJtfcInfo({ sqcxBsm: this.sqcxBsm }).then((res) => { | 147 | getJtfcInfo({ sqcxBsm: this.sqcxBsm }).then((res) => { |
147 | this.$endLoading(); | 148 | this.$endLoading(); |
148 | if (res.code == 200) { | 149 | if (res.code == 200) { |
149 | this.form = res.result; | 150 | this.activeStep = 2; |
150 | this.isSearch = true; | 151 | this.isSearch = true; |
152 | this.$nextTick(() => { | ||
153 | this.$refs.dydjbInfo.setResult(res.result) | ||
154 | }) | ||
151 | } | 155 | } |
152 | }); | 156 | }); |
153 | }, | 157 | }, |
... | @@ -158,9 +162,11 @@ export default { | ... | @@ -158,9 +162,11 @@ export default { |
158 | addFwmxCxjgXx(this.form).then((res) => { | 162 | addFwmxCxjgXx(this.form).then((res) => { |
159 | this.$endLoading(); | 163 | this.$endLoading(); |
160 | if (res.code == 200) { | 164 | if (res.code == 200) { |
161 | this.form = res.result; | ||
162 | this.activeStep = 2; | 165 | this.activeStep = 2; |
163 | this.isSearch = true; | 166 | this.isSearch = true; |
167 | this.$nextTick(() => { | ||
168 | this.$refs.dydjbInfo.setResult(res.result) | ||
169 | }) | ||
164 | this.$parent.queryClick(); | 170 | this.$parent.queryClick(); |
165 | } | 171 | } |
166 | }); | 172 | }); | ... | ... |
1 | <template> | 1 | <template> |
2 | <div> | 2 | <div class="jtfccx-edit"> |
3 | <!-- 界面后期调整开发,报表开发,目前先放一张图片 --> | 3 | <div class="jtfccx-edit-con"> |
4 | <el-form :model="ruleForm" label-width="120px"> | 4 | <b class="title"></b> |
5 | <el-row> | 5 | <b class="title">房屋状况</b> |
6 | <el-col :span="6"> | 6 | <lb-table :column="fwColumns" key="fwzk" :data="resultData.hdetailList" :maxHeight="200" heightNumSetting |
7 | <img :src="imgUrl" alt="" srcset="" /> | 7 | :pagination="false"> |
8 | <!-- <el-form-item label="查询时间:"> | 8 | </lb-table> |
9 | {{ ruleForm.cxsj }} | 9 | <b class="title">土地状况</b> |
10 | </el-form-item> | 10 | <lb-table :column="tdColumns" key="tdzk" :data="resultData.zdjbxxDetail" :maxHeight="200" heightNumSetting |
11 | </el-col> | 11 | :pagination="false"> |
12 | <el-col :span="8"> | 12 | </lb-table> |
13 | <el-form-item label="不动产单元号:"> | 13 | <b class="title">权属状况</b> |
14 | {{ ruleForm.bdcdyh }} | 14 | <lb-table :column="qszkColumns" key="qszk" :data="resultData.qsxxDetail" :maxHeight="200" heightNumSetting |
15 | </el-form-item> --> | 15 | :pagination="false"> |
16 | </el-col> | 16 | </lb-table> |
17 | </el-row> | 17 | <b class="title">抵押登记</b> |
18 | <el-row> | 18 | <lb-table :column="diyaColumns" key="dydj" :data="resultData.dyaqDetail" :maxHeight="200" heightNumSetting |
19 | </el-row> | 19 | :pagination="false"> |
20 | </el-form> | 20 | </lb-table> |
21 | </div> | 21 | <b class="title">预告登记</b> |
22 | <lb-table :column="ygdjColumns" key="ygdj" :data="resultData.ygdjDetail" :maxHeight="200" heightNumSetting | ||
23 | :pagination="false"> | ||
24 | </lb-table> | ||
25 | <b class="title">查封状况</b> | ||
26 | <lb-table :column="cfdjColumns" key="cfdj" :data="resultData.cfdjDetail" :maxHeight="200" heightNumSetting | ||
27 | :pagination="false"> | ||
28 | </lb-table> | ||
29 | <b class="title">异议登记</b> | ||
30 | <lb-table :column="yydjColumns" key="yydj" :data="resultData.yydjDetail" :maxHeight="200" heightNumSetting | ||
31 | :pagination="false"> | ||
32 | </lb-table> | ||
33 | </div> | ||
34 | </div> | ||
22 | </template> | 35 | </template> |
23 | 36 | ||
24 | <script> | 37 | <script> |
25 | import imgPath from "./djbyb.png" | 38 | import { datas, sendThis } from "./infodata"; |
39 | import { getJtfcInfo } from "@/api/sqcx"; | ||
26 | export default { | 40 | export default { |
27 | props: ["formData"], | 41 | props: { |
28 | 42 | ||
29 | created () { | ||
30 | var sqcxdata = this.formData.sqcxdata; | ||
31 | this.ruleForm = sqcxdata; | ||
32 | }, | 43 | }, |
33 | |||
34 | data () { | 44 | data () { |
35 | return { | 45 | return { |
36 | ruleForm: { | 46 | ruleForm: { |
37 | cxsj: "", | 47 | cxsj: "", |
38 | bdcdyh: "", | 48 | bdcdyh: "", |
39 | }, | 49 | }, |
40 | imgUrl: imgPath, | 50 | //房屋列表字段 |
51 | fwColumns: datas.fwCol(), | ||
52 | //土地列表字段 | ||
53 | tdColumns: datas.tdCol(), | ||
54 | //权属状况列表字段 | ||
55 | qszkColumns: datas.columns(), | ||
56 | //抵押登记列表字段 | ||
57 | diyaColumns: datas.diyaCol(), | ||
58 | //预告登记列表字段 | ||
59 | ygdjColumns: datas.ygdjCol(), | ||
60 | //查封登记列表字段 | ||
61 | cfdjColumns: datas.cfdjCol(), | ||
62 | //异议登记列表字段 | ||
63 | yydjColumns: datas.yydjCol(), | ||
64 | form: {}, | ||
65 | resultData: {}, | ||
41 | }; | 66 | }; |
42 | }, | 67 | }, |
43 | mounted () { }, | 68 | mounted () { }, |
44 | methods: {}, | 69 | methods: { |
70 | setResult(data){ | ||
71 | this.resultData = data | ||
72 | } | ||
73 | }, | ||
45 | }; | 74 | }; |
46 | </script> | 75 | </script> |
47 | <style scoped lang="scss"> | 76 | <style scoped lang="scss"> | ... | ... |
src/views/sqcx/dydjb/components/infodata.js
0 → 100644
1 | import filter from '@/utils/filter.js' | ||
2 | import { Switch } from 'element-ui' | ||
3 | let vm = null | ||
4 | |||
5 | const sendThis = (_this) => { | ||
6 | vm = _this | ||
7 | } | ||
8 | class data extends filter { | ||
9 | constructor() { | ||
10 | super() | ||
11 | } | ||
12 | columns() { | ||
13 | return [ | ||
14 | { | ||
15 | prop: 'qszt', | ||
16 | label: '所有人名称', | ||
17 | }, | ||
18 | { | ||
19 | prop: 'bdcqzh', | ||
20 | label: '证件号码', | ||
21 | }, | ||
22 | { | ||
23 | prop: 'djsj', | ||
24 | label: '取得方式', | ||
25 | }, | ||
26 | { | ||
27 | prop: 'wqhth', | ||
28 | label: '房屋性质', | ||
29 | }, | ||
30 | { | ||
31 | prop: 'wqsj', | ||
32 | label: '不动产权证书号', | ||
33 | }, | ||
34 | { | ||
35 | prop: 'bdcdyh', | ||
36 | label: '登记时间', | ||
37 | }, | ||
38 | { | ||
39 | prop: 'gyfs', | ||
40 | label: '共有方式', | ||
41 | }, | ||
42 | { | ||
43 | prop: 'qlrmc', | ||
44 | label: '附记', | ||
45 | } | ||
46 | ] | ||
47 | } | ||
48 | fwCol() { | ||
49 | return [ | ||
50 | { | ||
51 | prop: 'zdymc', | ||
52 | label: '幢号111', | ||
53 | }, | ||
54 | { | ||
55 | prop: 'hh', | ||
56 | label: '房号', | ||
57 | }, | ||
58 | { | ||
59 | prop: 'showfwjg', | ||
60 | label: '结构', | ||
61 | }, | ||
62 | { | ||
63 | prop: 'dscs', | ||
64 | label: '总层数(地上)', | ||
65 | }, | ||
66 | { | ||
67 | prop: 'dxcs', | ||
68 | label: '地下层数', | ||
69 | }, | ||
70 | { | ||
71 | prop: 'ch', | ||
72 | label: '所在层', | ||
73 | }, | ||
74 | { | ||
75 | prop: 'jzmj', | ||
76 | label: '建筑面积(㎡)', | ||
77 | }, | ||
78 | { | ||
79 | prop: 'tnjzmj', | ||
80 | label: '套内面积(㎡)', | ||
81 | }, | ||
82 | { | ||
83 | prop: 'showfwyt', | ||
84 | label: '规划用途', | ||
85 | } | ||
86 | ] | ||
87 | } | ||
88 | tdCol() { | ||
89 | return [ | ||
90 | { | ||
91 | prop: 'qsxz', | ||
92 | label: '权属性质', | ||
93 | }, | ||
94 | { | ||
95 | prop: 'mj', | ||
96 | label: '面积(㎡)', | ||
97 | }, | ||
98 | { | ||
99 | prop: 'fttdmj', | ||
100 | label: '分摊土地面积(㎡)', | ||
101 | }, | ||
102 | { | ||
103 | prop: 'tfyt', | ||
104 | label: '用途', | ||
105 | }, | ||
106 | { | ||
107 | prop: 'syqx', | ||
108 | label: '使用期限', | ||
109 | }, | ||
110 | { | ||
111 | prop: 'qdfs', | ||
112 | label: '取得方式', | ||
113 | }, | ||
114 | { | ||
115 | prop: 'jttdsyqlx', | ||
116 | label: '集体土地所有权类型', | ||
117 | }, | ||
118 | { | ||
119 | prop: 'jttdsyqlx', | ||
120 | label: '集体土地使用权类型', | ||
121 | } | ||
122 | ] | ||
123 | } | ||
124 | diyaCol() { | ||
125 | return [ | ||
126 | { | ||
127 | prop: 'dyfs', | ||
128 | label: '抵押方式', | ||
129 | render: (h, scope) => { | ||
130 | switch(scope.row.dyfs) { | ||
131 | case '1': | ||
132 | return <div>一般抵押</div> | ||
133 | case '2': | ||
134 | return <div>最高额抵押</div> | ||
135 | } | ||
136 | } | ||
137 | }, | ||
138 | { | ||
139 | prop: 'qlrmc', | ||
140 | label: '抵押权人名称', | ||
141 | }, | ||
142 | { | ||
143 | prop: 'bdbzzqse', | ||
144 | label: '抵押金额(万元)', | ||
145 | }, | ||
146 | { | ||
147 | prop: 'dyqx', | ||
148 | label: '抵押期限', | ||
149 | }, | ||
150 | { | ||
151 | prop: 'ywh', | ||
152 | label: '不动产登记证明号', | ||
153 | }, | ||
154 | { | ||
155 | prop: 'djsj', | ||
156 | label: '登记时间', | ||
157 | }, | ||
158 | { | ||
159 | prop: 'fj', | ||
160 | label: '附记', | ||
161 | } | ||
162 | ] | ||
163 | } | ||
164 | ygdjCol() { | ||
165 | return [ | ||
166 | { | ||
167 | prop: 'ygdjzl', | ||
168 | label: '预告登记种类', | ||
169 | }, | ||
170 | { | ||
171 | prop: 'qlrmc', | ||
172 | label: '权利人名称', | ||
173 | }, | ||
174 | { | ||
175 | prop: 'dyje', | ||
176 | label: '抵押金额(万元)', | ||
177 | }, | ||
178 | { | ||
179 | prop: 'dyqx', | ||
180 | label: '抵押期限', | ||
181 | }, | ||
182 | { | ||
183 | prop: 'ywh', | ||
184 | label: '不动产登记证明号', | ||
185 | }, | ||
186 | { | ||
187 | prop: 'djsj', | ||
188 | label: '登记时间', | ||
189 | }, | ||
190 | { | ||
191 | prop: 'fj', | ||
192 | label: '附记', | ||
193 | } | ||
194 | ] | ||
195 | } | ||
196 | cfdjCol() { | ||
197 | return [ | ||
198 | { | ||
199 | prop: 'cfjg', | ||
200 | label: '查封机关', | ||
201 | }, | ||
202 | { | ||
203 | prop: 'cfwh', | ||
204 | label: '查封文号', | ||
205 | }, | ||
206 | { | ||
207 | prop: 'cffw', | ||
208 | label: '查封范围', | ||
209 | }, | ||
210 | { | ||
211 | prop: 'cfsj', | ||
212 | label: '查封时间', | ||
213 | }, | ||
214 | { | ||
215 | prop: 'cfqx', | ||
216 | label: '查封期限', | ||
217 | } | ||
218 | ] | ||
219 | } | ||
220 | yydjCol() { | ||
221 | return [ | ||
222 | { | ||
223 | prop: 'yysqr', | ||
224 | label: '异议申请人', | ||
225 | }, | ||
226 | { | ||
227 | prop: 'yysx', | ||
228 | label: '异议事项', | ||
229 | }, | ||
230 | { | ||
231 | prop: 'ywh', | ||
232 | label: '不动产登记证明号', | ||
233 | }, | ||
234 | { | ||
235 | prop: 'djsj', | ||
236 | label: '登记时间', | ||
237 | }, | ||
238 | { | ||
239 | prop: 'fj', | ||
240 | label: '附记', | ||
241 | } | ||
242 | ] | ||
243 | } | ||
244 | } | ||
245 | let datas = new data() | ||
246 | export { | ||
247 | datas, | ||
248 | sendThis | ||
249 | } |
... | @@ -92,9 +92,13 @@ export default { | ... | @@ -92,9 +92,13 @@ export default { |
92 | }); | 92 | }); |
93 | }, | 93 | }, |
94 | dydjbClick (scope) { | 94 | dydjbClick (scope) { |
95 | popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", { | 95 | this.$nextTick(() => { |
96 | sqcxdata: scope.row, | 96 | this.isDialog = true |
97 | }); | 97 | this.sqcxBsm = scope.row.bsmSqcx |
98 | }) | ||
99 | // popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", { | ||
100 | // bsmSqcx: scope.row.bsmSqcx, | ||
101 | // }); | ||
98 | }, | 102 | }, |
99 | handleSort (name, sort) { | 103 | handleSort (name, sort) { |
100 | console.log(name, sort); | 104 | console.log(name, sort); | ... | ... |
... | @@ -212,10 +212,6 @@ export default { | ... | @@ -212,10 +212,6 @@ export default { |
212 | this.form.djSqcxDO.dycs = this.form.djSqcxDO.dycs + 1 | 212 | this.form.djSqcxDO.dycs = this.form.djSqcxDO.dycs + 1 |
213 | } | 213 | } |
214 | }); | 214 | }); |
215 | |||
216 | |||
217 | |||
218 | //this.closeDialog(); | ||
219 | }, | 215 | }, |
220 | //打开打印预览 | 216 | //打开打印预览 |
221 | openPrintPrew(){ | 217 | openPrintPrew(){ | ... | ... |
... | @@ -3,9 +3,7 @@ | ... | @@ -3,9 +3,7 @@ |
3 | <dialogBox title="常用意见" :fullscreen="false" width="60%" isMain v-model="value" @closeDialog="closeDialog" | 3 | <dialogBox title="常用意见" :fullscreen="false" width="60%" isMain v-model="value" @closeDialog="closeDialog" |
4 | :isButton="false"> | 4 | :isButton="false"> |
5 | <el-button type="primary" native-type="submit" @click="openDialog()">新增常用</el-button> | 5 | <el-button type="primary" native-type="submit" @click="openDialog()">新增常用</el-button> |
6 | <lb-table :page-size="pageData.size" heightNumSetting :current-page.sync="pageData.current" | 6 | <lb-table heightNumSetting :pagination="false" :column="columns" :data="tableData.data"> |
7 | :total="tableData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | ||
8 | :column="columns" :data="tableData.data"> | ||
9 | </lb-table> | 7 | </lb-table> |
10 | <div style="height:15px"></div> | 8 | <div style="height:15px"></div> |
11 | </dialogBox> | 9 | </dialogBox> |
... | @@ -27,11 +25,9 @@ | ... | @@ -27,11 +25,9 @@ |
27 | </div> | 25 | </div> |
28 | </template> | 26 | </template> |
29 | <script> | 27 | <script> |
30 | import table from "@/utils/mixin/table"; | ||
31 | import { getUserCommonOpinion, addUserCommonOpinion, delUserCommonOpinion } from "@/api/fqsq.js" | 28 | import { getUserCommonOpinion, addUserCommonOpinion, delUserCommonOpinion } from "@/api/fqsq.js" |
32 | export default { | 29 | export default { |
33 | components: {}, | 30 | components: {}, |
34 | mixins: [table], | ||
35 | props: { | 31 | props: { |
36 | value: { type: Boolean, default: false }, | 32 | value: { type: Boolean, default: false }, |
37 | }, | 33 | }, |
... | @@ -76,13 +72,12 @@ export default { | ... | @@ -76,13 +72,12 @@ export default { |
76 | } | 72 | } |
77 | }, | 73 | }, |
78 | mounted () { | 74 | mounted () { |
79 | this.queryClick() | 75 | this.getList() |
80 | }, | 76 | }, |
81 | methods: { | 77 | methods: { |
82 | queryClick () { | 78 | getList () { |
83 | getUserCommonOpinion(this.pageData).then(res => { | 79 | getUserCommonOpinion().then(res => { |
84 | let { total, records } = res.result | 80 | let { records } = res.result |
85 | this.tableData.total = total; | ||
86 | this.tableData.data = records ? records : [] | 81 | this.tableData.data = records ? records : [] |
87 | }) | 82 | }) |
88 | }, | 83 | }, |
... | @@ -99,7 +94,6 @@ export default { | ... | @@ -99,7 +94,6 @@ export default { |
99 | } | 94 | } |
100 | }) | 95 | }) |
101 | } else { | 96 | } else { |
102 | // console.log('error submit!!'); | ||
103 | return false; | 97 | return false; |
104 | } | 98 | } |
105 | }); | 99 | }); |
... | @@ -128,7 +122,7 @@ export default { | ... | @@ -128,7 +122,7 @@ export default { |
128 | delUserCommonOpinion({ bsmOpinion: item.bsmOpinion }).then(res => { | 122 | delUserCommonOpinion({ bsmOpinion: item.bsmOpinion }).then(res => { |
129 | if (res.code == 200) { | 123 | if (res.code == 200) { |
130 | this.$message.success("删除成功") | 124 | this.$message.success("删除成功") |
131 | this.queryClick() | 125 | this.getList() |
132 | } else { | 126 | } else { |
133 | this.$message.error(res.message) | 127 | this.$message.error(res.message) |
134 | } | 128 | } | ... | ... |
-
Please register or sign in to post a comment