4344fffd by 杨威

修改宗地信息流程优化

1 parent a3093e1c
...@@ -112,14 +112,13 @@ ...@@ -112,14 +112,13 @@
112 /> 112 />
113 <el-button type="primary" class="createBtn" @click="generatorCode" 113 <el-button type="primary" class="createBtn" @click="generatorCode"
114 >生成 114 >生成
115 </el-button 115 </el-button>
116 >
117 </td> 116 </td>
118 </tr> 117 </tr>
119 <tr> 118 <tr>
120 <td colspan="2">地籍号</td> 119 <td colspan="2">地籍号</td>
121 <td colspan="4"> 120 <td colspan="4">
122 <input type="text" class="formInput" v-model="formData.djh"/> 121 <input type="text" class="formInput" v-model="formData.djh" />
123 </td> 122 </td>
124 123
125 <td colspan="2">不动产单元号<i class="requisite">*</i></td> 124 <td colspan="2">不动产单元号<i class="requisite">*</i></td>
...@@ -135,7 +134,7 @@ ...@@ -135,7 +134,7 @@
135 <tr> 134 <tr>
136 <td colspan="2">坐落<i class="requisite">*</i></td> 135 <td colspan="2">坐落<i class="requisite">*</i></td>
137 <td colspan="4"> 136 <td colspan="4">
138 <input type="text" class="formInput" v-model="formData.zl"/> 137 <input type="text" class="formInput" v-model="formData.zl" />
139 </td> 138 </td>
140 <td colspan="2">土地权属来源证明材料</td> 139 <td colspan="2">土地权属来源证明材料</td>
141 <td colspan="4" class="psr"> 140 <td colspan="4" class="psr">
...@@ -161,20 +160,20 @@ ...@@ -161,20 +160,20 @@
161 </td> 160 </td>
162 <td colspan="2">价格(元)</td> 161 <td colspan="2">价格(元)</td>
163 <td colspan="4" class="psr"> 162 <td colspan="4" class="psr">
164 <input type="text" class="formInput" v-model="formData.jg"/> 163 <input type="text" class="formInput" v-model="formData.jg" />
165 </td> 164 </td>
166 </tr> 165 </tr>
167 <tr> 166 <tr>
168 <td colspan="2" rowspan="2">所在图幅号</td> 167 <td colspan="2" rowspan="2">所在图幅号</td>
169 <td colspan="2">比例尺</td> 168 <td colspan="2">比例尺</td>
170 <td colspan="8" class="psr"> 169 <td colspan="8" class="psr">
171 <input type="text" class="formInput" v-model="formData.blc"/> 170 <input type="text" class="formInput" v-model="formData.blc" />
172 </td> 171 </td>
173 </tr> 172 </tr>
174 <tr> 173 <tr>
175 <td colspan="2">图幅号</td> 174 <td colspan="2">图幅号</td>
176 <td colspan="8" class="psr"> 175 <td colspan="8" class="psr">
177 <input type="text" class="formInput" v-model="formData.tfh"/> 176 <input type="text" class="formInput" v-model="formData.tfh" />
178 </td> 177 </td>
179 </tr> 178 </tr>
180 <tr> 179 <tr>
...@@ -191,15 +190,24 @@ ...@@ -191,15 +190,24 @@
191 </el-select> 190 </el-select>
192 </td> 191 </td>
193 <td colspan="2"> 192 <td colspan="2">
194 <input type="text" v-model="formData.rjl" 193 <input
195 :class="formData.jyrjl=='-'? 'formInput percent47' : 'formInput'"/> 194 type="text"
196 <span class="percent4" v-show="formData.jyrjl=='-'">-</span> 195 v-model="formData.rjl"
197 <input type="text" v-show="formData.jyrjl=='-'" v-model="formData.rjl" 196 :class="
198 class="formInput percent47"/> 197 formData.jyrjl == '-' ? 'formInput percent47' : 'formInput'
198 "
199 />
200 <span class="percent4" v-show="formData.jyrjl == '-'">-</span>
201 <input
202 type="text"
203 v-show="formData.jyrjl == '-'"
204 v-model="formData.rjl"
205 class="formInput percent47"
206 />
199 </td> 207 </td>
200 <td colspan="2">容积说明</td> 208 <td colspan="2">容积说明</td>
201 <td colspan="4" class="psr"> 209 <td colspan="4" class="psr">
202 <input type="text" class="formInput" v-model="formData.rjsm"/> 210 <input type="text" class="formInput" v-model="formData.rjsm" />
203 </td> 211 </td>
204 </tr> 212 </tr>
205 <tr> 213 <tr>
...@@ -216,15 +224,24 @@ ...@@ -216,15 +224,24 @@
216 </el-select> 224 </el-select>
217 </td> 225 </td>
218 <td colspan="2"> 226 <td colspan="2">
219 <input type="text" v-model="formData.jzmd" 227 <input
220 :class="formData.jyjzmd=='-'? 'formInput percent47' : 'formInput'"/> 228 type="text"
221 <span class="percent4" v-show="formData.jyjzmd=='-'">-</span> 229 v-model="formData.jzmd"
222 <input type="text" v-show="formData.jyjzmd=='-'" v-model="formData.jzmd" 230 :class="
223 class="formInput percent47"/> 231 formData.jyjzmd == '-' ? 'formInput percent47' : 'formInput'
232 "
233 />
234 <span class="percent4" v-show="formData.jyjzmd == '-'">-</span>
235 <input
236 type="text"
237 v-show="formData.jyjzmd == '-'"
238 v-model="formData.jzmd"
239 class="formInput percent47"
240 />
224 </td> 241 </td>
225 <td colspan="2">建筑密度说明</td> 242 <td colspan="2">建筑密度说明</td>
226 <td colspan="4" class="psr"> 243 <td colspan="4" class="psr">
227 <input type="text" class="formInput" v-model="formData.jzmdsm"/> 244 <input type="text" class="formInput" v-model="formData.jzmdsm" />
228 </td> 245 </td>
229 </tr> 246 </tr>
230 <tr> 247 <tr>
...@@ -241,40 +258,49 @@ ...@@ -241,40 +258,49 @@
241 </el-select> 258 </el-select>
242 </td> 259 </td>
243 <td colspan="2"> 260 <td colspan="2">
244 <input type="text" v-model="formData.jzxg" 261 <input
245 :class="formData.jyjzxg=='-'? 'formInput percent47' : 'formInput'"/> 262 type="text"
246 <span class="percent4" v-show="formData.jyjzxg=='-'">-</span> 263 v-model="formData.jzxg"
247 <input type="text" v-show="formData.jyjzxg=='-'" v-model="formData.jzxg" 264 :class="
248 class="formInput percent47"/> 265 formData.jyjzxg == '-' ? 'formInput percent47' : 'formInput'
266 "
267 />
268 <span class="percent4" v-show="formData.jyjzxg == '-'">-</span>
269 <input
270 type="text"
271 v-show="formData.jyjzxg == '-'"
272 v-model="formData.jzxg"
273 class="formInput percent47"
274 />
249 </td> 275 </td>
250 <td colspan="2">建筑限高说明</td> 276 <td colspan="2">建筑限高说明</td>
251 <td colspan="4" class="psr"> 277 <td colspan="4" class="psr">
252 <input type="text" class="formInput" v-model="formData.jzxgsm"/> 278 <input type="text" class="formInput" v-model="formData.jzxgsm" />
253 </td> 279 </td>
254 </tr> 280 </tr>
255 <tr> 281 <tr>
256 <td colspan="2" rowspan="4">宗地四至</td> 282 <td colspan="2" rowspan="4">宗地四至</td>
257 <td colspan="2">北至<i class="requisite">*</i></td> 283 <td colspan="2">北至<i class="requisite">*</i></td>
258 <td colspan="8" class="psr"> 284 <td colspan="8" class="psr">
259 <input type="text" class="formInput" v-model="formData.zdszb"/> 285 <input type="text" class="formInput" v-model="formData.zdszb" />
260 </td> 286 </td>
261 </tr> 287 </tr>
262 <tr> 288 <tr>
263 <td colspan="2">东至<i class="requisite">*</i></td> 289 <td colspan="2">东至<i class="requisite">*</i></td>
264 <td colspan="8" class="psr"> 290 <td colspan="8" class="psr">
265 <input type="text" class="formInput" v-model="formData.zdszd"/> 291 <input type="text" class="formInput" v-model="formData.zdszd" />
266 </td> 292 </td>
267 </tr> 293 </tr>
268 <tr> 294 <tr>
269 <td colspan="2">南至<i class="requisite">*</i></td> 295 <td colspan="2">南至<i class="requisite">*</i></td>
270 <td colspan="8" class="psr"> 296 <td colspan="8" class="psr">
271 <input type="text" class="formInput" v-model="formData.zdszn"/> 297 <input type="text" class="formInput" v-model="formData.zdszn" />
272 </td> 298 </td>
273 </tr> 299 </tr>
274 <tr> 300 <tr>
275 <td colspan="2">西至<i class="requisite">*</i></td> 301 <td colspan="2">西至<i class="requisite">*</i></td>
276 <td colspan="8" class="psr"> 302 <td colspan="8" class="psr">
277 <input type="text" class="formInput" v-model="formData.zdszx"/> 303 <input type="text" class="formInput" v-model="formData.zdszx" />
278 </td> 304 </td>
279 </tr> 305 </tr>
280 <tr> 306 <tr>
...@@ -285,36 +311,37 @@ ...@@ -285,36 +311,37 @@
285 <tr> 311 <tr>
286 <td colspan="2" rowspan="2">批准面积(㎡)</td> 312 <td colspan="2" rowspan="2">批准面积(㎡)</td>
287 <td colspan="2" rowspan="2"> 313 <td colspan="2" rowspan="2">
288 <input type="text" class="formInput" v-model="formData.pzmj"/> 314 <input type="text" class="formInput" v-model="formData.pzmj" />
289 </td> 315 </td>
290 <td colspan="2" rowspan="2">宗地面积(㎡)</td> 316 <td colspan="2" rowspan="2">宗地面积(㎡)</td>
291 <td colspan="2" rowspan="2"> 317 <td colspan="2" rowspan="2">
292 <input type="text" class="formInput" v-model="formData.zdmj"/> 318 <input type="text" class="formInput" v-model="formData.zdmj" />
293 </td> 319 </td>
294 <td colspan="2">建筑占地总面积</td> 320 <td colspan="2">建筑占地总面积</td>
295 <td colspan="2"> 321 <td colspan="2">
296 <input type="text" class="formInput" v-model="formData.jzzdzmj"/> 322 <input type="text" class="formInput" v-model="formData.jzzdzmj" />
297 </td> 323 </td>
298 </tr> 324 </tr>
299 <tr> 325 <tr>
300 <td colspan="2">建筑面积(㎡)</td> 326 <td colspan="2">建筑面积(㎡)</td>
301 <td colspan="2"> 327 <td colspan="2">
302 <input type="text" class="formInput" v-model="formData.jzzmj"/> 328 <input type="text" class="formInput" v-model="formData.jzzmj" />
303 </td> 329 </td>
304 </tr> 330 </tr>
305 <tr> 331 <tr>
306 <td colspan="2">共有/共用权利人情况</td> 332 <td colspan="2">共有/共用权利人情况</td>
307 <td colspan="10"> 333 <td colspan="10">
308 <input type="text" class="formInput" v-model="formData.gygyqlrqk"/> 334 <input type="text" class="formInput" v-model="formData.gygyqlrqk" />
309 </td> 335 </td>
310 </tr> 336 </tr>
311 <tr> 337 <tr>
312 <td colspan="2" rowspan="2">说明</td> 338 <td colspan="2" rowspan="2">说明</td>
313 <td colspan="10" rowspan="2"> 339 <td colspan="10" rowspan="2">
314 <input type="text" class="formInput" v-model="formData.sm"/> 340 <input type="text" class="formInput" v-model="formData.sm" />
315 </td> 341 </td>
316 </tr> 342 </tr>
317 </table> 343 </table>
344
318 <div style="min-height: 40px;text-align: center;margin-top: 10px"> 345 <div style="min-height: 40px;text-align: center;margin-top: 10px">
319 <el-button type="primary" @click="updateZDxx">保存</el-button> 346 <el-button type="primary" @click="updateZDxx">保存</el-button>
320 </div> 347 </div>
...@@ -323,16 +350,20 @@ ...@@ -323,16 +350,20 @@
323 </template> 350 </template>
324 351
325 <script> 352 <script>
326 import Qlr from "../../../components/formMenu/qlr"; 353 import Qlr from "../../../components/formMenu/qlr";
327 import Qlxz from "../../../components/formMenu/qlxz"; 354 import Qlxz from "../../../components/formMenu/qlxz";
328 import { 355 import {
329 getDdicByMC, 356 getDdicByMC,
330 getListByXzqbsm, 357 getListByXzqbsm,
331 getListByPbsm, 358 getListByPbsm,
332 } from "../../../api/common"; 359 } from "../../../api/common";
333 import {getBdcdyh, getQjZdjbxxDetailById,updateQjZdjbxx} from "../../../api/zd"; 360 import {
361 getBdcdyh,
362 getQjZdjbxxDetailById,
363 updateQjZdjbxx,
364 } from "../../../api/zd";
334 365
335 export default { 366 export default {
336 name: "", 367 name: "",
337 components: { 368 components: {
338 Qlr, 369 Qlr,
...@@ -342,72 +373,71 @@ ...@@ -342,72 +373,71 @@
342 data() { 373 data() {
343 return { 374 return {
344 compareList: [ 375 compareList: [
345 {label: "<", value: "<"}, 376 { label: "<", value: "<" },
346 {label: ">", value: ">"}, 377 { label: ">", value: ">" },
347 {label: "=", value: "="}, 378 { label: "=", value: "=" },
348 {label: "<=", value: "<="}, 379 { label: "<=", value: "<=" },
349 {label: ">=", value: ">="}, 380 { label: ">=", value: ">=" },
350 {label: "-", value: "-"} 381 { label: "-", value: "-" },
351 ], 382 ],
352 formData: { 383 formData: {
353 "bblx": 0, 384 bblx: 0,
354 "bbsxh": 0, 385 bbsxh: 0,
355 "bhqkbsm": "", 386 bhqkbsm: "",
356 "blc": "", 387 blc: "",
357 "bz": "", 388 bz: "",
358 "dcrq": "2020-10-22T09:07:38.644Z", 389 dcrq: "2020-10-22T09:07:38.644Z",
359 "dcy": "", 390 dcy: "",
360 "dcyj": "", 391 dcyj: "",
361 "djh": "", 392 djh: "",
362 "djqbsm": "", 393 djqbsm: "",
363 "djzqbsm": "", 394 djzqbsm: "",
364 "dyhbsm": "", 395 dyhbsm: "",
365 "gmjjhyflbsm": "", 396 gmjjhyflbsm: "",
366 "gygyqlrqk": "", 397 gygyqlrqk: "",
367 "jg": 0, 398 jg: 0,
368 "jyjzmd": ">", 399 jyjzmd: ">",
369 "jyjzxg": "<", 400 jyjzxg: "<",
370 "jyrjl": "<", 401 jyrjl: "<",
371 "jzmd": 0, 402 jzmd: 0,
372 "jzmdsm": "", 403 jzmdsm: "",
373 "jzxg": 0, 404 jzxg: 0,
374 "jzxgsm": "", 405 jzxgsm: "",
375 "jzzdzmj": 0, 406 jzzdzmj: 0,
376 "jzzmj": 0, 407 jzzmj: 0,
377 "mjdw": "", 408 mjdw: "",
378 "pzmj": 0, 409 pzmj: 0,
379 "qllxbsm": "", 410 qllxbsm: "",
380 "qlsdfs": "", 411 qlsdfs: "",
381 "qszt": "", 412 qszt: "",
382 "rjl": 0, 413 rjl: 0,
383 "rjlsm": "", 414 rjlsm: "",
384 "sfwqfg": "", 415 sfwqfg: "",
385 "sjly": 0, 416 sjly: 0,
386 "syqlxbsm": "", 417 syqlxbsm: "",
387 "tdqslyzmcl": "", 418 tdqslyzmcl: "",
388 "tfh": "", 419 tfh: "",
389 "userbsm": "", 420 userbsm: "",
390 "xmmc": "", 421 xmmc: "",
391 "xzqbsm": "", 422 xzqbsm: "",
392 "ydybsm": "", 423 ydybsm: "",
393 "ysclbsm": "", 424 ysclbsm: "",
394 "zdbsm": "", 425 zdbsm: "",
395 "zddm": "", 426 zddm: "",
396 "zdmj": 0, 427 zdmj: 0,
397 "zdszb": "北", 428 zdszb: "北",
398 "zdszd": "东", 429 zdszd: "东",
399 "zdszn": "南", 430 zdszn: "南",
400 "zdszx": "西", 431 zdszx: "西",
401 "zdtzmbsm": "", 432 zdtzmbsm: "",
402 "zl": "坐落" 433 zl: "坐落",
403 }, 434 },
404 }; 435 };
405 }, 436 },
406 created() { 437 created() {
407 this.getZdjbxxData(); 438 this.getZdjbxxData();
408 }, 439 },
409 mounted() { 440 mounted() {},
410 },
411 methods: { 441 methods: {
412 //根据zdbsm查询基本信息 442 //根据zdbsm查询基本信息
413 getZdjbxxData() { 443 getZdjbxxData() {
...@@ -418,8 +448,7 @@ ...@@ -418,8 +448,7 @@
418 this.formData = res.result; 448 this.formData = res.result;
419 } 449 }
420 }) 450 })
421 .catch((error) => { 451 .catch((error) => {});
422 });
423 }, 452 },
424 //生成宗地代码 453 //生成宗地代码
425 generatorCode() { 454 generatorCode() {
...@@ -430,19 +459,28 @@ ...@@ -430,19 +459,28 @@
430 this.formData.zddm = res.result.substring(0, 19); 459 this.formData.zddm = res.result.substring(0, 19);
431 this.formData.dyhbsm = res.result; 460 this.formData.dyhbsm = res.result;
432 }) 461 })
433 .catch((error) => { 462 .catch((error) => {});
434 });
435 }, 463 },
436 //修改宗地基本信息 464 //修改宗地基本信息
437 updateZDxx(){ 465 updateZDxx() {
438 //获取权利性质数据 466 //获取权利性质数据
439 this.formData.list = this.$refs.qlxzModule.getQlxzDataList(); 467 this.formData.list = this.$refs.qlxzModule.getQlxzDataList();
440 updateQjZdjbxx(this.formData) 468 updateQjZdjbxx(this.formData)
441 .then((res) => { 469 .then((res) => {
470 if (res.code == 200) {
442 console.log(res); 471 console.log(res);
443 }) 472 this.$message({
444 .catch((error) => { 473 message: '保存成功',
474 type: "success",
475 });
476 } else {
477 this.$message({
478 message: res.message,
479 type: "warning",
445 }); 480 });
481 }
482 })
483 .catch((error) => {});
446 }, 484 },
447 getQlrxxData() { 485 getQlrxxData() {
448 console.log(this.$refs.qlrxxModule.getQlgyfsData()); //权利共有方式数据 486 console.log(this.$refs.qlrxxModule.getQlgyfsData()); //权利共有方式数据
...@@ -460,8 +498,7 @@ ...@@ -460,8 +498,7 @@
460 this.djqList = res.result; 498 this.djqList = res.result;
461 this.$store.state.djqList = res.result; 499 this.$store.state.djqList = res.result;
462 }) 500 })
463 .catch((error) => { 501 .catch((error) => {});
464 });
465 }, 502 },
466 changeDjq(item) { 503 changeDjq(item) {
467 getListByPbsm(item) 504 getListByPbsm(item)
...@@ -470,36 +507,35 @@ ...@@ -470,36 +507,35 @@
470 this.djzqList = res.result; 507 this.djzqList = res.result;
471 this.$store.state.djzqList = res.result; 508 this.$store.state.djzqList = res.result;
472 }) 509 })
473 .catch((error) => { 510 .catch((error) => {});
474 });
475 }, 511 },
476 }, 512 },
477 computed: { 513 computed: {
478 zl() { 514 zl() {
479 return this.formData.zl 515 return this.formData.zl;
480 }, 516 },
481 mj() { 517 mj() {
482 return this.formData.zdmj 518 return this.formData.zdmj;
483 }, 519 },
484 zddm() { 520 zddm() {
485 return this.formData.zddm 521 return this.formData.zddm;
486 } 522 },
487 }, 523 },
488 watch: { 524 watch: {
489 zl: function (val) { 525 zl: function(val) {
490 this.$store.state.zdzl = val 526 this.$store.state.zdzl = val;
491 }, 527 },
492 mj: function (val) { 528 mj: function(val) {
493 this.$store.state.zdmj = val 529 this.$store.state.zdmj = val;
494 }, 530 },
495 zddm: function (val) { 531 zddm: function(val) {
496 this.$store.state.zddm = val 532 this.$store.state.zddm = val;
497 }
498 }, 533 },
499 }; 534 },
535 };
500 </script> 536 </script>
501 <style lang="less" scoped> 537 <style lang="less" scoped>
502 .main { 538 .main {
503 box-sizing: border-box; 539 box-sizing: border-box;
504 padding: 18px; 540 padding: 18px;
505 height: auto; 541 height: auto;
...@@ -570,5 +606,5 @@ ...@@ -570,5 +606,5 @@
570 width: 100%; 606 width: 100%;
571 } 607 }
572 } 608 }
573 } 609 }
574 </style> 610 </style>
......