76aa13a9 by renchao@pashanhoo.com

style:受理申请

1 parent 131f574f
...@@ -592,22 +592,6 @@ ...@@ -592,22 +592,6 @@
592 } 592 }
593 }); 593 });
594 }, 594 },
595 // // 更新土地用途信息
596 // upDateTdytxxList(val) {
597 // this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
598 // this.key++;
599 // },
600 // // 更新权利人信息
601 // upDateQlrxxList(val) {
602 // this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
603 // this.czrOptions = this.ruleForm.qlrData;
604 // this.key++;
605 // },
606 // // 更新义务人信息
607 // upDateYwrxxList(val) {
608 // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
609 // this.key++;
610 // },
611 /** 595 /**
612 * @description: onSubmit 596 * @description: onSubmit
613 * @author: renchao 597 * @author: renchao
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 15:53:36 4 * @LastEditTime: 2023-08-14 10:28:44
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
16 :inline="flag" 16 :inline="flag"
17 label-width="145px" 17 label-width="145px"
18 inline-message 18 inline-message
19 :show-message="false" 19 :show-message="false">
20 >
21 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
22 <div class="slxx_title title-block"> 21 <div class="slxx_title title-block">
23 补录信息 22 补录信息
...@@ -42,7 +41,7 @@ ...@@ -42,7 +41,7 @@
42 </el-row> 41 </el-row>
43 <div class="slxx_title title-block bdcqk"> 42 <div class="slxx_title title-block bdcqk">
44 建设用地、宅基地使用权信息 43 建设用地、宅基地使用权信息
45 <div class="count" v-if="ssqlxxshow"> 44 <div class="count" v-if="ssqlxxshow">
46 <el-form-item 45 <el-form-item
47 label="上手权利信息:" 46 label="上手权利信息:"
48 prop="ssQlxx.bdcqzh" 47 prop="ssQlxx.bdcqzh"
...@@ -80,8 +79,7 @@ ...@@ -80,8 +79,7 @@
80 <el-form-item 79 <el-form-item
81 label="业务号:" 80 label="业务号:"
82 prop="qlxx.ywh" 81 prop="qlxx.ywh"
83 :rules="rules.ywhrules" 82 :rules="rules.ywhrules">
84 >
85 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 83 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
86 </el-form-item> 84 </el-form-item>
87 </el-col> 85 </el-col>
...@@ -288,179 +286,179 @@ ...@@ -288,179 +286,179 @@
288 </div> 286 </div>
289 </template> 287 </template>
290 <script> 288 <script>
291 import { mapGetters } from "vuex"; 289 import { mapGetters } from "vuex";
292 import store from "@/store/index.js"; 290 import store from "@/store/index.js";
293 import ywmix from "@/views/ywbl/mixin/index"; 291 import ywmix from "@/views/ywbl/mixin/index";
294 import { init, getSsQlxx,getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 292 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
295 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 293 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
296 import tdytTable from "@/views/workflow/components/tdytTable"; 294 import tdytTable from "@/views/workflow/components/tdytTable";
297 import selectTable from "@/components/selectTable/index.vue"; 295 import selectTable from "@/components/selectTable/index.vue";
298 export default { 296 export default {
299 mixins: [ywmix], 297 mixins: [ywmix],
300 components: { qlrCommonTable, tdytTable, selectTable }, 298 components: { qlrCommonTable, tdytTable, selectTable },
301 computed: { 299 computed: {
302 ...mapGetters(["dictData", "flag"]), 300 ...mapGetters(["dictData", "flag"]),
303 // 根据流程判断表单是否为只读 301 // 根据流程判断表单是否为只读
304 editDisabled() { 302 editDisabled () {
305 if (!this.ableOperation) { 303 if (!this.ableOperation) {
306 //只读状态 304 //只读状态
307 return true; 305 return true;
308 }
309 return false;
310 },
311 },
312 data() {
313 return {
314 mjdw: "1",
315 ssqlxxshow: true,
316 props: {
317 label: "bdcqzh",
318 value: "bdcdyid",
319 },
320 // 键名转换,方法默认是label和children进行树状渲染
321 normalizer(node) {
322 //方法
323 if (node.children == null || node.children == "null") {
324 delete node.children;
325 } 306 }
326 return { 307 return false;
327 id: node.dcode,
328 label: node.dname,
329 };
330 }, 308 },
331 //表单是否可操作 309 },
332 propsParam: this.$attrs, 310 data () {
333 ableOperation: false, 311 return {
334 key: 0, 312 mjdw: "1",
335 ssQlxxList: [], 313 ssqlxxshow: true,
336 // 登记类型 314 props: {
337 djlxlist: [ 315 label: "bdcqzh",
338 { 316 value: "bdcdyid",
339 dcode: "100",
340 dname: "首次登记",
341 },
342 {
343 dcode: "200",
344 dname: "转移登记",
345 },
346 {
347 dcode: "300",
348 dname: "变更登记",
349 }, 317 },
350 { 318 // 键名转换,方法默认是label和children进行树状渲染
351 dcode: "500", 319 normalizer (node) {
352 dname: "更正登记", 320 //方法
321 if (node.children == null || node.children == "null") {
322 delete node.children;
323 }
324 return {
325 id: node.dcode,
326 label: node.dname,
327 };
353 }, 328 },
329 //表单是否可操作
330 propsParam: this.$attrs,
331 ableOperation: false,
332 key: 0,
333 ssQlxxList: [],
334 // 登记类型
335 djlxlist: [
336 {
337 dcode: "100",
338 dname: "首次登记",
339 },
340 {
341 dcode: "200",
342 dname: "转移登记",
343 },
344 {
345 dcode: "300",
346 dname: "变更登记",
347 },
348 {
349 dcode: "500",
350 dname: "更正登记",
351 },
354 352
355 { 353 {
356 dcode: "901", 354 dcode: "901",
357 dname: "补证", 355 dname: "补证",
358 }, 356 },
359 { 357 {
360 dcode: "902", 358 dcode: "902",
361 dname: "换证", 359 dname: "换证",
362 }, 360 },
363 ],
364 // 权属状态
365 qsztlist: [
366 {
367 dcode: "1",
368 dname: "现势",
369 },
370 {
371 dcode: "2",
372 dname: "历史",
373 },
374 ],
375 tdxz: null,
376 isShow: false,
377 disabled: true,
378 czrOptions: [],
379 ruleForm: {},
380 //传递参数\
381 rules: {
382 ssQlxxrules: [
383 { required: true, message: "上手权利信息", trigger: "blur" },
384 ], 361 ],
385 bdcqzhrules: [ 362 // 权属状态
386 { required: true, message: "不动产权证号:", trigger: "blur" }, 363 qsztlist: [
364 {
365 dcode: "1",
366 dname: "现势",
367 },
368 {
369 dcode: "2",
370 dname: "历史",
371 },
387 ], 372 ],
388 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], 373 tdxz: null,
389 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], 374 isShow: false,
390 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 375 disabled: true,
391 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 376 czrOptions: [],
392 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], 377 ruleForm: {},
393 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], 378 //传递参数\
394 }, 379 rules: {
395 }; 380 ssQlxxrules: [
396 }, 381 { required: true, message: "上手权利信息", trigger: "blur" },
397 created() { 382 ],
398 this.loadData(); 383 bdcqzhrules: [
399 }, 384 { required: true, message: "不动产权证号:", trigger: "blur" },
400 mounted() { 385 ],
401 this.ableOperation = this.$parent.ableOperation; 386 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
402 }, 387 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
403 methods: { 388 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
404 /** 389 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
405 * @description: ssQlxxchange 390 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }],
406 * @param {*} val 391 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
407 * @author: renchao 392 },
408 */ 393 };
409 ssQlxxchange(val) {
410 this.ruleForm.ssQlxx = val;
411 this.ruleForm.qlxx.ssywh = val.ywh;
412 this.ssQlxxchangediolog(val);
413 }, 394 },
414 // 弹框事件 395 created () {
415 ssQlxxchangediolog(val) { 396 this.loadData();
416 this.$confirm("是否将上手权利信息同步到表单", "提示", { 397 },
417 iconClass: "el-icon-question", //自定义图标样式 398 mounted () {
418 confirmButtonText: "确认", //确认按钮文字更换 399 this.ableOperation = this.$parent.ableOperation;
419 cancelButtonText: "取消", //取消按钮文字更换 400 },
420 showClose: true, //是否显示右上角关闭按钮 401 methods: {
421 type: "warning", 402 /**
422 }).then(() => { 403 * @description: ssQlxxchange
423 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 404 * @param {*} val
424 if (res.code == 200) { 405 * @author: renchao
425 this.nowlist = res.result; 406 */
426 for (var key in this.ruleForm.jsydsyq) { 407 ssQlxxchange (val) {
427 if ( 408 this.ruleForm.ssQlxx = val;
428 this.ruleForm.jsydsyq[key] == "" || 409 this.ruleForm.qlxx.ssywh = val.ywh;
429 this.ruleForm.jsydsyq[key] == null 410 this.ssQlxxchangediolog(val);
430 ) { 411 },
431 this.ruleForm.jsydsyq[key] = this.nowlist.jsydsyq[key]; 412 // 弹框事件
413 ssQlxxchangediolog (val) {
414 this.$confirm("是否将上手权利信息同步到表单", "提示", {
415 iconClass: "el-icon-question", //自定义图标样式
416 confirmButtonText: "确认", //确认按钮文字更换
417 cancelButtonText: "取消", //取消按钮文字更换
418 showClose: true, //是否显示右上角关闭按钮
419 type: "warning",
420 }).then(() => {
421 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
422 if (res.code == 200) {
423 this.nowlist = res.result;
424 for (var key in this.ruleForm.jsydsyq) {
425 if (
426 this.ruleForm.jsydsyq[key] == "" ||
427 this.ruleForm.jsydsyq[key] == null
428 ) {
429 this.ruleForm.jsydsyq[key] = this.nowlist.jsydsyq[key];
430 }
432 } 431 }
433 } 432 for (var key in this.ruleForm.qlxx) {
434 for (var key in this.ruleForm.qlxx) { 433 if (
435 if ( 434 this.ruleForm.qlxx[key] == "" ||
436 this.ruleForm.qlxx[key] == ""||
437 this.ruleForm.qlxx[key] == null && 435 this.ruleForm.qlxx[key] == null &&
438 key != "ywh" && 436 key != "ywh" &&
439 key != "dbr" && 437 key != "dbr" &&
440 key != "djsj" && 438 key != "djsj" &&
441 key != "ssywh" && 439 key != "ssywh" &&
442 key != "ssywh" && 440 key != "ssywh" &&
443 key != "bdcqzh") { 441 key != "bdcqzh") {
444 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 442 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
445 443
446 } 444 }
445 }
446 if (!this.ruleForm.tdytqxList.length) {
447 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
448 }
449 if (!this.ruleForm.qlrData.length) {
450 this.ruleForm.qlrData = this.nowlist.qlrData;
451 }
452 if (!this.ruleForm.ywrData.length) {
453 this.ruleForm.ywrData = this.nowlist.ywrData;
454 }
455 this.$message({
456 type: "success",
457 message: "同步成功!",
458 });
447 } 459 }
448 if (!this.ruleForm.tdytqxList.length) { 460 });
449 this.ruleForm.tdytqxList = this.nowlist.tdytqxList; 461 }).catch(() => {
450 }
451 if (!this.ruleForm.qlrData.length) {
452 this.ruleForm.qlrData = this.nowlist.qlrData;
453 }
454 if (!this.ruleForm.ywrData.length) {
455 this.ruleForm.ywrData = this.nowlist.ywrData;
456 }
457 this.$message({
458 type: "success",
459 message: "同步成功!",
460 });
461 }
462 });
463 }).catch(() => {
464 this.$message({ 462 this.$message({
465 type: "info", 463 type: "info",
466 message: "已取消同步", 464 message: "已取消同步",
...@@ -522,7 +520,6 @@ export default { ...@@ -522,7 +520,6 @@ export default {
522 } 520 }
523 }); 521 });
524 }, 522 },
525 // 更新土地用途信息
526 /** 523 /**
527 * @description: 更新土地用途信息 524 * @description: 更新土地用途信息
528 * @param {*} val 525 * @param {*} val
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 15:53:40 4 * @LastEditTime: 2023-08-14 10:29:57
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -15,8 +15,7 @@ ...@@ -15,8 +15,7 @@
15 :show-message="false" 15 :show-message="false"
16 :label-position="flag ? 'top' : ''" 16 :label-position="flag ? 'top' : ''"
17 :inline="flag" 17 :inline="flag"
18 label-width="145px" 18 label-width="145px">
19 >
20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 19 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
21 <div class="slxx_title title-block"> 20 <div class="slxx_title title-block">
22 补录信息 21 补录信息
...@@ -101,8 +100,7 @@ ...@@ -101,8 +100,7 @@
101 <el-form-item 100 <el-form-item
102 label="业务号:" 101 label="业务号:"
103 prop="qlxx.ywh" 102 prop="qlxx.ywh"
104 :rules="rules.ywhrules" 103 :rules="rules.ywhrules">
105 >
106 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 104 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
107 </el-form-item> 105 </el-form-item>
108 </el-col> 106 </el-col>
...@@ -364,33 +362,6 @@ ...@@ -364,33 +362,6 @@
364 </el-radio-group> 362 </el-radio-group>
365 </el-form-item> 363 </el-form-item>
366 </el-col> 364 </el-col>
367 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
368 <el-form-item label="是否分别持证:">
369 <el-radio-group
370 v-model="ruleForm.qlxx.sqfbcz"
371 :disabled="!ableOperation">
372 <el-radio :label="1"></el-radio>
373 <el-radio :label="0"></el-radio>
374 </el-radio-group>
375 </el-form-item>
376 </el-col> -->
377 <!-- <el-col
378 :span="6"
379 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
380 <el-form-item label="持证人:">
381 <el-select
382 v-model="ruleForm.czr"
383 placeholder="持证人"
384 :disabled="!ableOperation">
385 <el-option
386 v-for="item in czrOptions"
387 :key="item.zjh"
388 :label="item.sqrmc"
389 :value="item.zjh">
390 </el-option>
391 </el-select>
392 </el-form-item>
393 </el-col> -->
394 </el-row> 365 </el-row>
395 <qlrCommonTable 366 <qlrCommonTable
396 :tableData="ruleForm.qlrData" 367 :tableData="ruleForm.qlrData"
...@@ -408,151 +379,150 @@ ...@@ -408,151 +379,150 @@
408 </div> 379 </div>
409 </template> 380 </template>
410 <script> 381 <script>
411 import { mapGetters } from "vuex"; 382 import { mapGetters } from "vuex";
412 import store from "@/store/index.js"; 383 import store from "@/store/index.js";
413 import ywmix from "@/views/ywbl/mixin/index"; 384 import ywmix from "@/views/ywbl/mixin/index";
414 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 385 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
415 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 386 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
416 import selectTable from "@/components/selectTable/index.vue"; 387 import selectTable from "@/components/selectTable/index.vue";
417 import tdytTable from "@/views/workflow/components/tdytTable"; 388 import tdytTable from "@/views/workflow/components/tdytTable";
418 export default { 389 export default {
419 mixins: [ywmix], 390 mixins: [ywmix],
420 components: { qlrCommonTable, tdytTable, selectTable }, 391 components: { qlrCommonTable, tdytTable, selectTable },
421 computed: { 392 computed: {
422 ...mapGetters(["dictData", "flag"]), 393 ...mapGetters(["dictData", "flag"]),
423 // 根据流程判断表单是否为只读 394 // 根据流程判断表单是否为只读
424 editDisabled() { 395 editDisabled () {
425 if (!this.ableOperation) { 396 if (!this.ableOperation) {
426 //只读状态 397 //只读状态
427 return true; 398 return true;
428 }
429 return false;
430 },
431 },
432 data() {
433 return {
434 ssqlxxshow: true,
435 props: {
436 label: "bdcqzh",
437 value: "bdcdyid",
438 },
439 // 键名转换,方法默认是label和children进行树状渲染
440 normalizer(node) {
441 //方法
442 if (node.children == null || node.children == "null") {
443 delete node.children;
444 } 399 }
445 return { 400 return false;
446 id: node.dcode,
447 label: node.dname,
448 };
449 }, 401 },
450 //表单是否可操作 402 },
451 propsParam: this.$attrs, 403 data () {
452 key: 0, 404 return {
453 // 登记类型 405 ssqlxxshow: true,
454 djlxlist: [ 406 props: {
455 { 407 label: "bdcqzh",
456 dcode: "100", 408 value: "bdcdyid",
457 dname: "首次登记",
458 },
459 {
460 dcode: "200",
461 dname: "转移登记",
462 },
463 {
464 dcode: "300",
465 dname: "变更登记",
466 }, 409 },
467 { 410 // 键名转换,方法默认是label和children进行树状渲染
468 dcode: "500", 411 normalizer (node) {
469 dname: "更正登记", 412 //方法
413 if (node.children == null || node.children == "null") {
414 delete node.children;
415 }
416 return {
417 id: node.dcode,
418 label: node.dname,
419 };
470 }, 420 },
421 //表单是否可操作
422 propsParam: this.$attrs,
423 key: 0,
424 // 登记类型
425 djlxlist: [
426 {
427 dcode: "100",
428 dname: "首次登记",
429 },
430 {
431 dcode: "200",
432 dname: "转移登记",
433 },
434 {
435 dcode: "300",
436 dname: "变更登记",
437 },
438 {
439 dcode: "500",
440 dname: "更正登记",
441 },
471 442
472 { 443 {
473 dcode: "901", 444 dcode: "901",
474 dname: "补证", 445 dname: "补证",
475 }, 446 },
476 { 447 {
477 dcode: "902", 448 dcode: "902",
478 dname: "换证", 449 dname: "换证",
479 }, 450 },
480 ],
481 // 权属状态
482 qsztlist: [
483 {
484 dcode: "1",
485 dname: "现势",
486 },
487 {
488 dcode: "2",
489 dname: "历史",
490 },
491 ],
492 isShow: false,
493 disabled: true,
494 czrOptions: [],
495 ssQlxxList: [],
496 ruleForm: {},
497 ableOperation: false,
498 //传递参数\
499 rules: {
500 ssQlxxrules: [
501 { required: true, message: "上手权利信息", trigger: "blur" },
502 ], 451 ],
503 bdcqzhrules: [ 452 // 权属状态
504 { required: true, message: "不动产权证号:", trigger: "blur" }, 453 qsztlist: [
454 {
455 dcode: "1",
456 dname: "现势",
457 },
458 {
459 dcode: "2",
460 dname: "历史",
461 },
505 ], 462 ],
506 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], 463 isShow: false,
507 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], 464 disabled: true,
508 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 465 ssQlxxList: [],
509 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 466 ruleForm: {},
510 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], 467 ableOperation: false,
468 //传递参数\
469 rules: {
470 ssQlxxrules: [
471 { required: true, message: "上手权利信息", trigger: "blur" },
472 ],
473 bdcqzhrules: [
474 { required: true, message: "不动产权证号:", trigger: "blur" },
475 ],
476 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
477 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
478 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
479 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
480 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
511 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], 481 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
512 }, 482 },
513 }; 483 };
514 }, 484 },
515 created() {}, 485 created () { },
516 mounted() { 486 mounted () {
517 this.loadData(); 487 this.loadData();
518 this.ableOperation = this.$parent.ableOperation; 488 this.ableOperation = this.$parent.ableOperation;
519 },
520 methods: {
521 /**
522 * @description: ssQlxxchange
523 * @param {*} val
524 * @author: renchao
525 */
526 ssQlxxchange(val) {
527 this.ruleForm.ssQlxx = val;
528 this.ruleForm.qlxx.ssywh = val.ywh;
529 this.ssQlxxchangediolog(val);
530 }, 489 },
531 // 弹框事件 490 methods: {
532 ssQlxxchangediolog(val) { 491 /**
533 this.$confirm("是否将上手权利信息同步到表单", "提示", { 492 * @description: ssQlxxchange
534 iconClass: "el-icon-question", //自定义图标样式 493 * @param {*} val
535 confirmButtonText: "确认", //确认按钮文字更换 494 * @author: renchao
536 cancelButtonText: "取消", //取消按钮文字更换 495 */
537 showClose: true, //是否显示右上角关闭按钮 496 ssQlxxchange (val) {
538 type: "warning", 497 this.ruleForm.ssQlxx = val;
539 }) 498 this.ruleForm.qlxx.ssywh = val.ywh;
540 .then(() => { 499 this.ssQlxxchangediolog(val);
541 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 500 },
542 if (res.code == 200) { 501 // 弹框事件
543 this.nowlist = res.result; 502 ssQlxxchangediolog (val) {
544 for (var key in this.ruleForm.tdsyq) { 503 this.$confirm("是否将上手权利信息同步到表单", "提示", {
545 if ( 504 iconClass: "el-icon-question", //自定义图标样式
546 this.ruleForm.tdsyq[key] == "" || 505 confirmButtonText: "确认", //确认按钮文字更换
547 this.ruleForm.tdsyq[key] == null 506 cancelButtonText: "取消", //取消按钮文字更换
548 ) { 507 showClose: true, //是否显示右上角关闭按钮
549 this.ruleForm.tdsyq[key] = this.nowlist.tdsyq[key]; 508 type: "warning",
509 })
510 .then(() => {
511 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
512 if (res.code == 200) {
513 this.nowlist = res.result;
514 for (var key in this.ruleForm.tdsyq) {
515 if (
516 this.ruleForm.tdsyq[key] == "" ||
517 this.ruleForm.tdsyq[key] == null
518 ) {
519 this.ruleForm.tdsyq[key] = this.nowlist.tdsyq[key];
520 }
550 } 521 }
551 } 522 for (var key in this.ruleForm.qlxx) {
552 for (var key in this.ruleForm.qlxx) { 523 if (
553 if ( 524 this.ruleForm.qlxx[key] == "" ||
554 this.ruleForm.qlxx[key] == ""|| 525 this.ruleForm.qlxx[key] == null &&
555 this.ruleForm.qlxx[key] == null &&
556 key != "ywh" && 526 key != "ywh" &&
557 key != "dbr" && 527 key != "dbr" &&
558 key != "djsj" && 528 key != "djsj" &&
...@@ -561,105 +531,104 @@ export default { ...@@ -561,105 +531,104 @@ export default {
561 key != "bdcqzh") { 531 key != "bdcqzh") {
562 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 532 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
563 533
534 }
564 } 535 }
536 if (!this.ruleForm.tdytqxList.length) {
537 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
538 }
539 if (!this.ruleForm.qlrData.length) {
540 this.ruleForm.qlrData = this.nowlist.qlrData;
541 }
542 if (!this.ruleForm.ywrData.length) {
543 this.ruleForm.ywrData = this.nowlist.ywrData;
544 }
545 this.$message({
546 type: "success",
547 message: "同步成功!",
548 });
565 } 549 }
566 if (!this.ruleForm.tdytqxList.length) { 550 });
567 this.ruleForm.tdytqxList = this.nowlist.tdytqxList; 551 })
568 } 552 .catch(() => {
569 if (!this.ruleForm.qlrData.length) { 553 this.$message({
570 this.ruleForm.qlrData = this.nowlist.qlrData; 554 type: "info",
571 } 555 message: "已取消同步",
572 if (!this.ruleForm.ywrData.length) { 556 });
573 this.ruleForm.ywrData = this.nowlist.ywrData;
574 }
575 this.$message({
576 type: "success",
577 message: "同步成功!",
578 });
579 }
580 });
581 })
582 .catch(() => {
583 this.$message({
584 type: "info",
585 message: "已取消同步",
586 }); 557 });
587 }); 558 },
588 }, 559 /**
589 /** 560 * @description: djlxchange
590 * @description: djlxchange 561 * @param {*} val
591 * @param {*} val 562 * @author: renchao
592 * @author: renchao 563 */
593 */ 564 djlxchange (val) {
594 djlxchange(val) { 565 if (val == null || val == 100) {
595 if (val == null || val == 100) { 566 this.ssqlxxshow = false;
596 this.ssqlxxshow = false; 567 } else {
597 } else { 568 this.ssqlxxshow = true;
598 this.ssqlxxshow = true; 569 }
599 } 570 },
600 },
601 571
602 // 字典 572 // 字典
603 /** 573 /**
604 * @description: 字典 574 * @description: 字典
605 * @param {*} val 575 * @param {*} val
606 * @author: renchao 576 * @author: renchao
607 */ 577 */
608 getDictData(val) { 578 getDictData (val) {
609 return store.getters.dictData[val]; 579 return store.getters.dictData[val];
610 }, 580 },
611 /** 581 /**
612 * @description: loadData 582 * @description: loadData
613 * @author: renchao 583 * @author: renchao
614 */ 584 */
615 loadData() { 585 loadData () {
616 this.$startLoading(); 586 this.$startLoading();
617 this.propsParam.isEdit = this.$parent.isEdit; 587 this.propsParam.isEdit = this.$parent.isEdit;
618 init(this.propsParam).then((res) => { 588 init(this.propsParam).then((res) => {
619 if (res.code == 200) { 589 if (res.code == 200) {
620 this.ruleForm = res.result; 590 this.ruleForm = res.result;
621 this.ruleForm.tdsyq.mjdw="1" 591 this.ruleForm.tdsyq.mjdw = "1"
622 592
623 let djlx = this.ruleForm.qlxx.djlx; 593 let djlx = this.ruleForm.qlxx.djlx;
624 if (djlx == null || djlx == 100) { 594 if (djlx == null || djlx == 100) {
625 this.ssqlxxshow = false; 595 this.ssqlxxshow = false;
626 }
627 this.$endLoading();
628 this.isShow = true;
629 //获取主体信息
630 getSsQlxx({
631 bdcdyid: this.propsParam.bdcdyid,
632 qllx: this.propsParam.qllx,
633 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
634 }).then((res) => {
635 if (res.code == 200) {
636 this.ssQlxxList = res.result;
637 } 596 }
638 }); 597 this.$endLoading();
639 } 598 this.isShow = true;
640 }); 599 //获取主体信息
641 }, 600 getSsQlxx({
642 // 更新土地用途信息 601 bdcdyid: this.propsParam.bdcdyid,
643 /** 602 qllx: this.propsParam.qllx,
644 * @description: 更新土地用途信息 603 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
645 * @param {*} val 604 }).then((res) => {
646 * @author: renchao 605 if (res.code == 200) {
647 */ 606 this.ssQlxxList = res.result;
648 upDateTdytxxList(val) { 607 }
649 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 608 });
650 this.key++; 609 }
651 }, 610 });
652 // 更新权利人信息 611 },
653 /** 612 // 更新土地用途信息
654 * @description: 更新权利人信息 613 /**
655 * @param {*} val 614 * @description: 更新土地用途信息
656 * @author: renchao 615 * @param {*} val
657 */ 616 * @author: renchao
658 upDateQlrxxList(val) { 617 */
659 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 618 upDateTdytxxList (val) {
660 this.czrOptions = this.ruleForm.qlrData; 619 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
661 this.key++; 620 this.key++;
662 }, 621 },
622 // 更新权利人信息
623 /**
624 * @description: 更新权利人信息
625 * @param {*} val
626 * @author: renchao
627 */
628 upDateQlrxxList (val) {
629 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
630 this.key++;
631 },
663 /** 632 /**
664 * @description: onSubmit 633 * @description: onSubmit
665 * @author: renchao 634 * @author: renchao
...@@ -700,7 +669,7 @@ export default { ...@@ -700,7 +669,7 @@ export default {
700 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", 669 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
701 type: "error", 670 type: "error",
702 }); 671 });
703 return false; 672 return false;
704 } 673 }
705 } 674 }
706 save(this.ruleForm).then((res) => { 675 save(this.ruleForm).then((res) => {
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2023-08-04 16:33:46 4 * @LastEditTime: 2023-08-14 10:26:42
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -250,6 +250,7 @@ ...@@ -250,6 +250,7 @@
250 */ 250 */
251 upDateTdytxxList (val) { 251 upDateTdytxxList (val) {
252 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 252 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
253 this.czrOptions = this.ruleForm.qlrList;
253 this.key++; 254 this.key++;
254 }, 255 },
255 // 更新权利人信息 256 // 更新权利人信息
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:32:05 4 * @LastEditTime: 2023-08-14 10:23:11
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -329,8 +329,10 @@ ...@@ -329,8 +329,10 @@
329 */ 329 */
330 upDateTdytxxList (val) { 330 upDateTdytxxList (val) {
331 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 331 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
332 this.czrOptions = this.ruleForm.qlrList;
332 this.key++; 333 this.key++;
333 }, 334 },
335
334 /** 336 /**
335 * @description: 更新权利人信息 337 * @description: 更新权利人信息
336 * @param {*} val 338 * @param {*} val
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:32:08 4 * @LastEditTime: 2023-08-14 10:27:21
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -367,6 +367,7 @@ ...@@ -367,6 +367,7 @@
367 */ 367 */
368 upDateTdytxxList (val) { 368 upDateTdytxxList (val) {
369 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 369 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
370 this.czrOptions = this.ruleForm.qlrList;
370 this.key++; 371 this.key++;
371 }, 372 },
372 // 更新权利人信息 373 // 更新权利人信息
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-01 18:14:10 4 * @LastEditTime: 2023-08-14 10:37:56
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
99 <div class="triangle"></div> 99 <div class="triangle"></div>
100 </div> 100 </div>
101 <el-row :gutter="10"> 101 <el-row :gutter="10">
102 <el-col :span="14" v-if="ruleForm.sldyList.length>0"> 102 <el-col :span="12" v-if="ruleForm.sldyList.length>0">
103 <el-form-item label="共有方式:"> 103 <el-form-item label="共有方式:">
104 <el-radio-group :disabled="!ableOperation" @change="showCZInfo" 104 <el-radio-group :disabled="!ableOperation" @change="showCZInfo"
105 v-model="ruleForm.sldyList[0].gyfs"> 105 v-model="ruleForm.sldyList[0].gyfs">
...@@ -111,19 +111,34 @@ ...@@ -111,19 +111,34 @@
111 </el-form-item> 111 </el-form-item>
112 </el-col> 112 </el-col>
113 113
114 <el-col :span="5" v-show="ruleForm.sldyList.length>0 && ruleForm.slsq.gyfs != '0'"> 114 <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'">
115 <el-form-item label="是否分别持证:" v-if="ruleForm.sldyList.length>0"> 115 <el-form-item label="是否分别持证:">
116 <el-radio-group v-model="ruleForm.sldyList[0].sqfbcz"> 116 <el-radio-group
117 <el-radio label="1"></el-radio> 117 v-model="ruleForm.sldy.sqfbcz"
118 <el-radio label="0"></el-radio> 118 :disabled="!ableOperation">
119 <el-radio :label="1"></el-radio>
120 <el-radio :label="0"></el-radio>
119 </el-radio-group> 121 </el-radio-group>
120 </el-form-item> 122 </el-form-item>
121 </el-col> 123 </el-col>
122 <el-col :span="5" v-show="ruleForm.sldyList.length>0 && ruleForm.sldyList[0].gyfs != '0'"> 124 <el-col
125 :span="6"
126 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
123 <el-form-item label="持证人:"> 127 <el-form-item label="持证人:">
124 <el-input v-model="ruleForm.slsq.czr"></el-input> 128 <el-select
129 v-model="ruleForm.czr"
130 placeholder="持证人"
131 :disabled="!ableOperation">
132 <el-option
133 v-for="item in czrOptions"
134 :key="item.zjh"
135 :label="item.sqrmc"
136 :value="item.zjh">
137 </el-option>
138 </el-select>
125 </el-form-item> 139 </el-form-item>
126 </el-col> 140 </el-col>
141
127 </el-row> 142 </el-row>
128 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" 143 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList"
129 :gyfs="ruleForm.slsq.gyfs" /> 144 :gyfs="ruleForm.slsq.gyfs" />
...@@ -194,6 +209,7 @@ ...@@ -194,6 +209,7 @@
194 , user: {}//用户 209 , user: {}//用户
195 , zdjbxx: {}//宗地基本信息 210 , zdjbxx: {}//宗地基本信息
196 }, 211 },
212 czrOptions: [],
197 //传递参数 213 //传递参数
198 propsParam: this.$attrs, 214 propsParam: this.$attrs,
199 //表单是否可操作 215 //表单是否可操作
...@@ -244,6 +260,7 @@ ...@@ -244,6 +260,7 @@
244 */ 260 */
245 upDateQlrxxList (val) { 261 upDateQlrxxList (val) {
246 this.ruleForm.qlrList = _.cloneDeep(val); 262 this.ruleForm.qlrList = _.cloneDeep(val);
263
247 }, 264 },
248 /** 265 /**
249 * @description: showCZInfo 266 * @description: showCZInfo
......
...@@ -266,6 +266,7 @@ ...@@ -266,6 +266,7 @@
266 */ 266 */
267 upDateTdytxxList (val) { 267 upDateTdytxxList (val) {
268 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 268 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
269 this.czrOptions = this.ruleForm.qlrData;
269 this.key++; 270 this.key++;
270 }, 271 },
271 /** 272 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-11 08:48:21 4 * @LastEditTime: 2023-08-14 10:27:43
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -283,6 +283,7 @@ ...@@ -283,6 +283,7 @@
283 */ 283 */
284 upDateTdytxxList (val) { 284 upDateTdytxxList (val) {
285 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 285 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
286 this.czrOptions = this.ruleForm.qlrList;
286 this.key++; 287 this.key++;
287 }, 288 },
288 // 更新权利人信息 289 // 更新权利人信息
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <!-- 2 <!--
3 * @Description: 3 * @Description:
4 * @Autor: renchao 4 * @Autor: renchao
5 * @LastEditTime: 2023-08-04 16:32:14 5 * @LastEditTime: 2023-08-14 10:28:15
6 --> 6 -->
7 <template> 7 <template>
8 <!-- 受理信息 --> 8 <!-- 受理信息 -->
...@@ -265,6 +265,7 @@ ...@@ -265,6 +265,7 @@
265 */ 265 */
266 upDateTdytxxList (val) { 266 upDateTdytxxList (val) {
267 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 267 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
268 this.czrOptions = this.ruleForm.qlrList;
268 this.key++; 269 this.key++;
269 }, 270 },
270 /** 271 /**
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2023-08-04 15:46:17 4 * @LastEditTime: 2023-08-14 10:27:58
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -321,6 +321,7 @@ ...@@ -321,6 +321,7 @@
321 */ 321 */
322 upDateTdytxxList (val) { 322 upDateTdytxxList (val) {
323 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 323 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
324 this.czrOptions = this.ruleForm.qlrList;
324 this.key++; 325 this.key++;
325 }, 326 },
326 // 更新权利人信息 327 // 更新权利人信息
......
...@@ -394,7 +394,6 @@ ...@@ -394,7 +394,6 @@
394 }; 394 };
395 }, 395 },
396 methods: { 396 methods: {
397 // 更新土地用途信息
398 /** 397 /**
399 * @description: 更新土地用途信息 398 * @description: 更新土地用途信息
400 * @param {*} val 399 * @param {*} val
......