87cad5b3 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 8280283e 7629dad2
1 import filter from '@/utils/filter.js'
2
3 class data extends filter {
4 constructor() {
5 super()
6 }
7 columns () {
8 return {
9 //空列值个数
10 emptycolNum: 3,
11 checkList: ["0", "1", "2"],
12 //权属状态集合
13 qsztList: [
14 {
15 value: "0",
16 label: "临时",
17 },
18 {
19 value: "1",
20 label: "现势",
21 },
22 {
23 value: "2",
24 label: "历史",
25 },
26 ],
27 JSYDSYQ: [
28
29 {
30 prop: "cz",
31 label: "操作",
32 render: (h, scope) => {
33 return (
34 <div>
35 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope.row) }}>登记薄</el-button>
36 <el-button type="text" icon="el-icon-film" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表</el-button>
37 </div>
38 )
39 }
40 },
41 {
42 prop: "qszt",
43 label: "权属状态",
44 },
45 {
46 prop: "qllxmc",
47 label: "权利类型",
48 },
49 {
50 prop: "djlxmc",
51 label: "登记类型",
52 },
53 {
54 prop: "ssywh",
55 label: "上手业务号",
56 },
57 {
58 prop: "dah",
59 label: "档案号",
60 },
61 {
62 prop: "ywh",
63 label: "业务号",
64 },
65 {
66 prop: "bdcdyh",
67 label: "不动产单元号",
68 },
69 {
70 prop: "zl",
71 label: "坐落",
72 },
73 {
74 prop: "gyqk",
75 label: "共有情况",
76 },
77 {
78 prop: "qlrlx",
79 label: "权利人类型",
80 },
81 {
82 prop: "qlrmc",
83 label: "权利人",
84 },
85 {
86 prop: "qlrzjzl",
87 label: "证件种类",
88 },
89 {
90 prop: "qlrzjhm",
91 label: "证件号",
92 },
93 {
94 prop: "mj",
95 label: "使用权面积(m²)",
96 },
97 {
98 prop: "qlxzmc",
99 label: "权利性质",
100 },
101 {
102 prop: "ytmc",
103 label: "土地用途",
104 },
105 {
106 prop: "syqqzsj",
107 label: "使用权起止时间",
108 },
109 // {
110 // prop: "syqjssj",
111 // label: "使用权结束时间",
112 // },
113 // {
114 // prop: "tdsyqx",
115 // label: "土地使用期限",
116 // },
117 {
118 prop: "tdsyqx",
119 label: "土地使用期限",
120 },
121 {
122 prop: "qdjg",
123 label: "取得价格(万元)",
124 },
125 {
126 prop: "djyy",
127 label: "登记原因",
128 },
129 {
130 prop: "bdcqzh",
131 label: "不动产权证号",
132 },
133 {
134 prop: "djsj",
135 label: "登记时间",
136 },
137 {
138 prop: "dbr",
139 label: "登簿人",
140 },
141 {
142 prop: "fj",
143 label: "附记",
144 },
145 ],
146 FDCQ2: [
147
148 {
149 prop: "cz",
150 label: "操作"
151 },
152 {
153 prop: "qszt",
154 label: "权属状态",
155 },
156 {
157 prop: "qllxmc",
158 label: "权利类型",
159 },
160 {
161 prop: "djlxmc",
162 label: "登记类型",
163 },
164 {
165 prop: "ssywh",
166 label: "上手业务号",
167 },
168 {
169 prop: "dah",
170 label: "档案号",
171 },
172 {
173 prop: "ywh",
174 label: "业务号",
175 },
176 {
177 prop: "bdcdyh",
178 label: "不动产单元号",
179 },
180 {
181 prop: "zl",
182 label: "坐落",
183 },
184 {
185 prop: "gyfs",
186 label: "共有情况",
187 },
188 {
189 prop: "qlrlx",
190 label: "权利人类型",
191 },
192 {
193 prop: "qlrmc",
194 label: "权利人",
195 },
196 {
197 prop: "qlrzjzl",
198 label: "证件种类",
199 },
200 {
201 prop: "qlrzjhm",
202 label: "证件号",
203 },
204 {
205 prop: "tdsyqr",
206 label: "土地使用权人",
207 },
208 {
209 prop: "dytdmj",
210 label: "独用土地面积(m²)",
211 },
212 {
213 prop: "fttdmj",
214 label: "分摊土地面积(m²)",
215 },
216 {
217 prop: "tdsyqzsj",
218 label: "土地使用期限",
219 },
220 {
221 prop: "syqqzsj",
222 label: "使用权起止时间",
223 },
224 {
225 prop: "qdjgmc",
226 label: "房地产交易价格",
227 },
228 {
229 prop: "ytmc",
230 label: "规划用途",
231 },
232 {
233 prop: "fwxzmc",
234 label: "房屋性质",
235 },
236 {
237 prop: "fwjgmc",
238 label: "房屋结构",
239 },
240 {
241 prop: "szc",
242 label: "所在层",
243 },
244 {
245 prop: "zcs",
246 label: "总层数",
247 },
248 {
249 prop: "mj",
250 label: "建筑面积(m2)",
251 },
252 {
253 prop: "zyjzmj",
254 label: "专有建筑面积(m2)",
255 },
256
257 {
258 prop: "ftjzmj",
259 label: "分摊建筑面积(m2)",
260 },
261 {
262 prop: "jgsj",
263 label: "竣工时间",
264 },
265 {
266 prop: "djyy",
267 label: "登记原因",
268 },
269 {
270 prop: "bdcqzh",
271 label: "不动产权证号",
272 },
273 {
274 prop: "djsj",
275 label: "登记时间",
276 },
277 {
278 prop: "dbr",
279 label: "登簿人",
280 },
281 {
282 prop: "fj",
283 label: "附记",
284 },
285 ],
286 NYDSYQ: [
287
288 {
289 prop: "cz",
290 label: "操作"
291 },
292 {
293 prop: "qszt",
294 label: "权属状态",
295 },
296 {
297 prop: "qllxmc",
298 label: "权利类型",
299 },
300 {
301 prop: "djlxmc",
302 label: "登记类型",
303 },
304 {
305 prop: "ssywh",
306 label: "上手业务号",
307 },
308 {
309 prop: "dah",
310 label: "档案号",
311 },
312 {
313 prop: "ywh",
314 label: "业务号",
315 },
316 {
317 prop: "bdcdyh",
318 label: "不动产单元号",
319 },
320 {
321 prop: "zl",
322 label: "坐落",
323 },
324 {
325 prop: "gyqk",
326 label: "共有情况",
327 },
328 {
329 prop: "qlrlx",
330 label: "权利人类型",
331 },
332 {
333 prop: "qlrmc",
334 label: "权利人",
335 },
336 {
337 prop: "qlrzjzl",
338 label: "证件种类",
339 },
340 {
341 prop: "qlrzjhm",
342 label: "证件号",
343 },
344 {
345 prop: "mj",
346 label: "使用权面积(m²)",
347 },
348 {
349 prop: "qlxzmc",
350 label: "权利性质",
351 },
352 {
353 prop: "ytmc",
354 label: "土地用途",
355 },
356 {
357 prop: "fbfdm",
358 label: "发包方代码",
359 },
360 {
361 prop: "fbfmc",
362 label: "发包方名称",
363 },
364 {
365 prop: "cbqzsj",
366 label: "承包起止时间",
367 },
368 {
369 prop: "cbqx",
370 label: "承包期限",
371 },
372 {
373 prop: "tdsyqxzmc",
374 label: "土地所有权性质",
375 },
376 {
377 prop: "syttlxmc",
378 label: "水域滩涂类型",
379 },
380 {
381 prop: "yzyfsmc",
382 label: "养殖业方式",
383 },
384 {
385 prop: "cyzl",
386 label: "草原质量",
387 },
388 {
389 prop: "syzcl",
390 label: "适宜载畜量",
391 },
392 {
393 prop: "ydyhflmc",
394 label: "用地用海分类",
395 },
396 {
397 prop: "djyy",
398 label: "登记原因",
399 },
400 {
401 prop: "bdcqzh",
402 label: "不动产权证号",
403 },
404 {
405 prop: "djsj",
406 label: "登记时间",
407 },
408 {
409 prop: "dbr",
410 label: "登簿人",
411 },
412 {
413 prop: "fj",
414 label: "附记",
415 },
416 ],
417 DYAQ: [
418 {
419 prop: "cz",
420 label: "操作"
421 },
422 {
423 prop: "qszt",
424 label: "权属状态",
425 },
426 {
427 prop: "dybdclx",
428 label: "抵押不动产类型",
429 render: (h, scope) => {
430 return (
431 <div>
432 <span v-show={scope.row.dybdclx == '1'}>土地</span>
433 <span v-show={scope.row.dybdclx == '2'}>土地和房屋</span>
434 <span v-show={scope.row.dybdclx == '3'}>林地和林木</span>
435 <span v-show={scope.row.dybdclx == '4'}>土地和在建建筑物</span>
436 <span v-show={scope.row.dybdclx == '5'}>海域</span>
437 <span v-show={scope.row.dybdclx == '6'}>海域和构筑物</span>
438 <span v-show={scope.row.dybdclx == '7'}>其它</span>
439 </div>
440 )
441 }
442 },
443 {
444 prop: "djlxmc",
445 label: "登记类型",
446 },
447 {
448 prop: "ssywh",
449 label: "上手业务号",
450 },
451 {
452 prop: "dah",
453 label: "档案号",
454 },
455 {
456 prop: "ywh",
457 label: "业务号",
458 },
459 {
460 prop: "bdcdyh",
461 label: "不动产单元号",
462 },
463 {
464 prop: "zl",
465 label: "在建建筑物坐落",
466 },
467 {
468 prop: "qlrmc",
469 label: "抵押权人",
470 },
471 {
472 prop: "qlrzjzl",
473 label: "抵押权人证件种类",
474 },
475 {
476 prop: "qlrzjhm",
477 label: "抵押权人证件号",
478 },
479 {
480 prop: "ywrmc",
481 label: "抵押人",
482 },
483 {
484 prop: "ywrzjzl",
485 label: "抵押人证件种类",
486 },
487 {
488 prop: "ywrzjhm",
489 label: "抵押人证件号",
490 },
491 {
492 prop: "dyfs",
493 label: "抵押方式",
494 render: (h, scope) => {
495 return (
496 <div>
497 <span v-show={scope.row.dyfs == '1'}>一般抵押权</span>
498 <span v-show={scope.row.dyfs == '2'}>最高额抵押权</span>
499 </div>
500 )
501 }
502 },
503 {
504 prop: "sfygdj",
505 label: "是否预告登记",
506 },
507 {
508 prop: "zjjzwdyfw",
509 label: "在建建筑物抵押范围",
510 },
511 {
512 prop: "dymj",
513 label: "抵押面积",
514 },
515 {
516 prop: "bdbzzqse",
517 label: "被担保主债权数额(万元)",
518 },
519 {
520 prop: "dbfw",
521 label: "担保范围",
522 },
523 {
524 prop: "zwlxqssj",
525 label: "债务履行起始时间",
526 },
527 {
528 prop: "zwlxjssj",
529 label: "债务履行结束时间",
530 },
531 {
532 prop: "zwlxqx",
533 label: "债务履行期限(债务确定期间)",
534 },
535 {
536 prop: "zgzqqdsshse",
537 label: "最高债权确定事实和数额",
538 },
539 {
540 prop: "sfczyd",
541 label: "是否存在禁止或限制转让抵押不动产的约定",
542 },
543 {
544 prop: "djyy",
545 label: "登记原因",
546 },
547 {
548 prop: "bdcqzh",
549 label: "不动产登记证明号",
550 },
551 {
552 prop: "fj",
553 label: "附记",
554 },
555 {
556 prop: "qlqtzk",
557 label: "权利其他状况",
558 },
559 {
560 prop: "djsj",
561 label: "登记时间",
562 },
563 {
564 prop: "dbr",
565 label: "登簿人",
566 },
567 {
568 prop: "djjg",
569 label: "登记机构",
570 },
571 {
572 prop: "zxywh",
573 label: "注销抵押业务号",
574 },
575 {
576 prop: "zxdyyy",
577 label: "注销抵押原因",
578 },
579 {
580 prop: "zxsj",
581 label: "注销登记时间",
582 },
583 {
584 prop: "zxdbr",
585 label: "登簿人",
586 },
587
588 ],
589 DYIQ: [
590
591 {
592 prop: "cz",
593 label: "操作"
594 },
595 {
596 prop: "qszt",
597 label: "权属状态",
598 },
599 {
600 prop: "djlxmc",
601 label: "登记类型",
602 },
603 {
604 prop: "ssywh",
605 label: "上手业务号",
606 },
607 {
608 prop: "dah",
609 label: "档案号",
610 },
611 {
612 prop: "ywh",
613 label: "业务号",
614 },
615 {
616 prop: "gydbdcdyh",
617 label: "供役地不动产单元号",
618 },
619 {
620 prop: "gydqlr",
621 label: "供役地权利人",
622 },
623 {
624 prop: "gydqlrzjzl",
625 label: "供役地权利人证件种类",
626 },
627 {
628 prop: "xydbdcdyh",
629 label: "需役地不动产单元号",
630 },
631 {
632 prop: "xydzl",
633 label: "需役地坐落",
634 },
635 {
636 prop: "xydqlr",
637 label: "需役地权利人",
638 },
639 {
640 prop: "xydqlrzjzl",
641 label: "需役地权利人证件种类",
642 },
643 {
644 prop: "xydzjh",
645 label: "需役地证件号",
646 },
647 {
648 prop: "djyy",
649 label: "登记原因",
650 },
651 {
652 prop: "dyqnr",
653 label: "地役权内容",
654 },
655 {
656 prop: "qlqssj",
657 label: "权利起始时间",
658 },
659 {
660 prop: "qljssj",
661 label: "权利结束时间",
662 },
663 {
664 prop: "bdcdjzmh",
665 label: "不动产登记证明号",
666 },
667 {
668 prop: "qxdm",
669 label: "区县代码",
670 },
671 {
672 prop: "djjg",
673 label: "登记机构",
674 },
675 {
676 prop: "dbr",
677 label: "登簿人",
678 },
679 {
680 prop: "djsj",
681 label: "登记时间",
682 },
683 ],
684 YGDJ: [
685
686 {
687 prop: "cz",
688 label: "操作"
689 },
690 {
691 prop: "qszt",
692 label: "权属状态",
693 },
694 {
695 prop: "ygdjzl",
696 label: "预告登记种类",
697 },
698 {
699 prop: "djlxmc",
700 label: "登记类型",
701 },
702 {
703 prop: "ssywh",
704 label: "上手业务号",
705 },
706 {
707 prop: "dah",
708 label: "档案号",
709 },
710 {
711 prop: "ywh",
712 label: "业务号",
713 },
714 {
715 prop: "bdcdyh",
716 label: "不动产单元号",
717 },
718 {
719 prop: "zl",
720 label: "坐落",
721 },
722 {
723 prop: "qlrmc",
724 label: "权利人",
725 },
726 {
727 prop: "qlrzjzl",
728 label: "证件种类",
729 },
730 {
731 prop: "qlrzjhm",
732 label: "证件号",
733 },
734 {
735 prop: "ywrmc",
736 label: "义务人",
737 },
738 {
739 prop: "ywrzjzl",
740 label: "证件种类",
741 },
742 {
743 prop: "ywrzjhm",
744 label: "证件号",
745 },
746 {
747 prop: "fwxz",
748 label: "房屋性质",
749 },
750 {
751 prop: "ghyt",
752 label: "规划用途",
753 },
754 {
755 prop: "fwzcs",
756 label: "房屋总层数",
757 },
758 {
759 prop: "fwszc",
760 label: "房屋所在层",
761 },
762 {
763 prop: "jzmj",
764 label: "建筑面积",
765 },
766 {
767 prop: "djyy",
768 label: "登记原因",
769 },
770 {
771 prop: "qdjg",
772 label: "取得价格/被担保主债权数额",
773 },
774 {
775 prop: "jedw",
776 label: "金额单位",
777 },
778 {
779 prop: "dbfw",
780 label: "担保范围",
781 },
782 {
783 prop: "sfczyd",
784 label: "是否存在禁止或限制转让抵押不动产的约定",
785 },
786 {
787 prop: "djsj",
788 label: "登记时间",
789 },
790 {
791 prop: "bdcqzh",
792 label: "不动产登记证明号",
793 },
794 {
795 prop: "dbr",
796 label: "登簿人",
797 },
798 {
799 prop: "zxywh",
800 label: "注销预告业务号",
801 },
802 {
803 prop: "zxyy",
804 label: "注销预告原因",
805 },
806 {
807 prop: "zxsj",
808 label: "注销时间",
809 }
810 ],
811 CFDJ: [
812
813 {
814 prop: "cz",
815 label: "操作"
816 },
817 {
818 prop: "qszt",
819 label: "权属状态",
820 },
821 {
822 prop: "cflxmc",
823 label: "查封类型",
824 },
825 {
826 prop: "ssywh",
827 label: "上手业务号",
828 },
829 {
830 prop: "dah",
831 label: "档案号",
832 },
833 {
834 prop: "ywh",
835 label: "业务号",
836 },
837 {
838 prop: "bdcdyh",
839 label: "不动产单元号",
840 },
841 {
842 prop: "zl",
843 label: "坐落",
844 },
845 {
846 prop: "cfjg",
847 label: "查封机关",
848 },
849 {
850 prop: "qlrmc",
851 label: "不动产权利人",
852 },
853 {
854 prop: "qlrzjzl",
855 label: "证件种类",
856 },
857 {
858 prop: "qlrzjhm",
859 label: "证件号",
860 },
861
862 {
863 prop: "cfwh",
864 label: "查封文号",
865 },
866 {
867 prop: "cfwj",
868 label: "查封文件",
869 },
870 {
871 prop: "cfqssj",
872 label: "查封起始时间",
873 },
874 {
875 prop: "cfjssj",
876 label: "查封结束时间",
877 },
878 {
879 prop: "cfqx",
880 label: "查封期限",
881 },
882 {
883 prop: "cffw",
884 label: "查封范围",
885 },
886 {
887 prop: "djjg",
888 label: "登记机构",
889 },
890 {
891 prop: "dbr",
892 label: "登簿人",
893 },
894 {
895 prop: "djsj",
896 label: "登记时间",
897 },
898 {
899 prop: "zxywh",
900 label: "解封业务号",
901 },
902 {
903 prop: "jfjg",
904 label: "解封机关",
905 },
906 {
907 prop: "jfwh",
908 label: "解封文号",
909 },
910 {
911 prop: "jfwj",
912 label: "解封文件",
913 },
914 {
915 prop: "zxsj",
916 label: "解封登记时间",
917 },
918 {
919 prop: "zxdbr",
920 label: "解封登簿人",
921 },
922 ],
923 YYDJ: [
924
925 {
926 prop: "cz",
927 label: "操作"
928 },
929 {
930 prop: "qszt",
931 label: "权属状态",
932 },
933 {
934 prop: "qllxmc",
935 label: "权利类型",
936 },
937 {
938 prop: "djlxmc",
939 label: "登记类型",
940 },
941 {
942 prop: "ssywh",
943 label: "上手业务号",
944 },
945 {
946 prop: "dah",
947 label: "档案号",
948 },
949 {
950 prop: "ywh",
951 label: "业务号",
952 },
953 {
954 prop: "bdcdyh",
955 label: "不动产单元号",
956 },
957 {
958 prop: "zl",
959 label: "坐落",
960 },
961 {
962 prop: "yyr",
963 label: "异议人",
964 },
965 {
966 prop: "zjzl",
967 label: "证件种类",
968 },
969 {
970 prop: "zjh",
971 label: "证件号",
972 },
973 {
974 prop: "yysx",
975 label: "异议事项",
976 },
977 {
978 prop: "bdcdjzmh",
979 label: "不动产登记证明号",
980 },
981 {
982 prop: "djjg",
983 label: "登记机构",
984 },
985 {
986 prop: "dbr",
987 label: "登簿人",
988 },
989 {
990 prop: "djsj",
991 label: "登记时间",
992 },
993 {
994 prop: "zxyyywh",
995 label: "注销异议业务号",
996 },
997 {
998 prop: "zxyyyy",
999 label: "注销异议原因",
1000 },
1001 {
1002 prop: "zxyydbr",
1003 label: "注销异议登簿人",
1004 },
1005 {
1006 prop: "zxyydjsj",
1007 label: "注销异议登记时间",
1008 },
1009 ],
1010 }
1011 }
1012
1013
1014 }
1015
1016 let datas = new data()
1017
1018 export {
1019 datas
1020 }
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-21 10:35:58 4 * @LastEditTime: 2023-08-22 16:19:59
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> 7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;">
...@@ -12,8 +12,10 @@ ...@@ -12,8 +12,10 @@
12 </el-tab-pane> 12 </el-tab-pane>
13 </el-tabs> 13 </el-tabs>
14 <el-empty description="暂无数据" v-if="headTabBdcqz.length == 0 && noData"></el-empty> 14 <el-empty description="暂无数据" v-if="headTabBdcqz.length == 0 && noData"></el-empty>
15 <canvas ref="zs" width="1024" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx==1" height="739"></canvas> 15 <div style="width:1180px;">
16 <canvas ref="zm" width="1169" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx!=1" height="828"></canvas> 16 <canvas ref="zs" width="1000" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx==1" height="700"></canvas>
17 <canvas ref="zm" width="1180" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx!=1" height="780"></canvas>
18 </div>
17 </div> 19 </div>
18 </template> 20 </template>
19 21
...@@ -255,7 +257,6 @@ ...@@ -255,7 +257,6 @@
255 } 257 }
256 image.src = this.imgSrc 258 image.src = this.imgSrc
257 }, 259 },
258 // 不动产证明
259 /** 260 /**
260 * @description: 不动产证明 261 * @description: 不动产证明
261 * @author: renchao 262 * @author: renchao
...@@ -334,13 +335,33 @@ ...@@ -334,13 +335,33 @@
334 this.bdcdyh = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' + 335 this.bdcdyh = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' +
335 this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length) 336 this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length)
336 context.fillText(this.bdcdyh ? this.bdcdyh : '', 775, 373); 337 context.fillText(this.bdcdyh ? this.bdcdyh : '', 775, 373);
337
338
339 // qlqtzk 338 // qlqtzk
340 const maxWidth = 280; // 最大宽度限制 339 const maxWidth = 295; // 最大宽度限制
341 let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : []; 340 let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : [];
342 lines.forEach((line, index) => { 341 if (lines[0]) {
343 const y = 415 + (index * 37); // 每行文本的垂直位置 342 lines[0].split(' ').forEach((line, index) => {
343 const y = 415 + (index * 60); // 每行文本的垂直位置
344 let currentLine = '';
345 let arr = [];
346 for (let word of line) {
347 const testLine = currentLine + word;
348 const lineWidth = context.measureText(testLine).width;
349 if (lineWidth <= maxWidth) {
350 currentLine = testLine;
351 } else {
352 arr.push(currentLine);
353 currentLine = word;
354 }
355 }
356 arr.push(currentLine);
357 arr.forEach((line, index) => {
358 context.fillText(line, 775, y + (index * 23)); // 调整行高
359 });
360 });
361 }
362
363 lines.slice(1).forEach((line, index) => {
364 const y = ((parseInt(lines[0].length) / 19) * 22) + 415 + (index * 30); // 每行文本的垂直位置
344 let currentLine = ''; 365 let currentLine = '';
345 let arr = []; 366 let arr = [];
346 for (let word of line) { 367 for (let word of line) {
...@@ -355,12 +376,32 @@ ...@@ -355,12 +376,32 @@
355 } 376 }
356 arr.push(currentLine); 377 arr.push(currentLine);
357 arr.forEach((line, index) => { 378 arr.forEach((line, index) => {
358 context.fillText(line, 775, y + (index * 20)); // 调整行高 379 context.fillText(line, 775, y + (index * 16)); // 调整行高
359 }); 380 })
360 }); 381 })
382
361 // fj 383 // fj
362 context.fillText(this.bdcqz.fj ? this.bdcqz.fj : '', 775, 600); 384 let lines1 = this.bdcqz.fj ? this.bdcqz.fj.split(' ') : [];
363 }; 385 lines1.forEach((line, index) => {
386 const y = 590 + (index * 27); // 每行文本的垂直位置
387 let currentLine = '';
388 let arr = [];
389 for (let word of line) {
390 const testLine = currentLine + word;
391 const lineWidth = context.measureText(testLine).width;
392 if (lineWidth <= maxWidth) {
393 currentLine = testLine;
394 } else {
395 arr.push(currentLine);
396 currentLine = word;
397 }
398 }
399 arr.push(currentLine);
400 arr.forEach((line, index) => {
401 context.fillText(line, 775, y + (index * 20)); // 调整行高
402 })
403 })
404 }
364 405
365 image.src = this.bdczmSrc; 406 image.src = this.bdczmSrc;
366 } 407 }
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-17 13:34:51 4 * @LastEditTime: 2023-08-22 14:25:14
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -185,14 +185,13 @@ ...@@ -185,14 +185,13 @@
185 </el-col> 185 </el-col>
186 <el-col :span="8"> 186 <el-col :span="8">
187 <el-form-item label="竣工时间:"> 187 <el-form-item label="竣工时间:">
188 <!-- <el-input v-model="ruleForm.fdcq2.jgsj"></el-input> -->
189 <el-date-picker 188 <el-date-picker
190 v-model="ruleForm.fdcq2.jgsj" 189 v-model="ruleForm.fdcq2.jgsj"
191 class="width100" 190 class="width100"
192 type="date" 191 type="date"
193 placeholder="选择日期" 192 placeholder="选择日期"
194 value-format="yyyy-MM-dd" 193 value-format="yyyy-MM-dd"
195 :disabled="!viewEdit || ableEdit || isJfOperation"></el-date-picker> 194 :disabled="!viewEdit"></el-date-picker>
196 </el-form-item> 195 </el-form-item>
197 </el-col> 196 </el-col>
198 </el-row> 197 </el-row>
...@@ -464,10 +463,8 @@ ...@@ -464,10 +463,8 @@
464 * @author: renchao 463 * @author: renchao
465 */ 464 */
466 upDateTdytxxList (val) { 465 upDateTdytxxList (val) {
467 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 466 this.ruleForm.tdytqxList = _.cloneDeep(val)
468 this.key++;
469 }, 467 },
470
471 /** 468 /**
472 * @description: 更新权利人信息 469 * @description: 更新权利人信息
473 * @param {*} val 470 * @param {*} val
......
...@@ -311,15 +311,12 @@ ...@@ -311,15 +311,12 @@
311 } 311 }
312 }, 312 },
313 handleLpbClick (item) { 313 handleLpbClick (item) {
314 this.$popup('楼盘表', 'lpb/index', { 314 console.log("item",item);
315 this.$popup('楼盘表', 'lpb/index', {
315 width: '85%', 316 width: '85%',
316 formData: { 317 formData: {
317 bsm: item.bsm, 318 bsm: item.bsm,
318 zrzbsm: item.bsm, 319
319 zdbsm: item.zdbsm,
320 bsmSqyw: this.bsmSqyw,
321 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
322 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
323 } 320 }
324 }) 321 })
325 }, 322 },
......
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
242 * @param {*} row 242 * @param {*} row
243 * @author: renchao 243 * @author: renchao
244 */ 244 */
245 openBook (row) { 245 openDialog (row) {
246 var param = { 246 var param = {
247 bdcdyid: row.bdcdyid, 247 bdcdyid: row.bdcdyid,
248 qllx: row.qllx, 248 qllx: row.qllx,
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-22 09:24:28 4 * @LastEditTime: 2023-08-22 09:28:16
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -97,16 +97,13 @@ class data extends filter { ...@@ -97,16 +97,13 @@ class data extends filter {
97 render: (h, scope) => { 97 render: (h, scope) => {
98 return ( 98 return (
99 <div> 99 <div>
100 <el-button type="text" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表1</el-button>
101 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> 100 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button>
102 </div> 101 </div>
103 ) 102 )
104 } 103 }
105 }, 104 }
106 ] 105 ]
107 } 106 }
108
109
110 } 107 }
111 let datas = new data() 108 let datas = new data()
112 export { 109 export {
......
...@@ -192,9 +192,16 @@ ...@@ -192,9 +192,16 @@
192 * @author: renchao 192 * @author: renchao
193 */ 193 */
194 handleLpbClick (item) { 194 handleLpbClick (item) {
195 this.$popupDialog('楼盘表', 'lpb/index', { 195 console.log("item",item);
196 bsm: '' 196 this.$popup('楼盘表', 'lpb/index', {
197 }, '85%') 197 width: '85%',
198 formData: {
199 bsm: item.zrzbsm,
200 zrzbsm: item.zrzbsm,
201 zdbsm: item.zrzbsm,
202
203 }
204 })
198 } 205 }
199 } 206 }
200 } 207 }
......
...@@ -89,11 +89,20 @@ ...@@ -89,11 +89,20 @@
89 } 89 }
90 }) 90 })
91 }, 91 },
92 /** 92 openDialog(){
93 * @description: moreQueryClick 93 this.$popup('楼盘表', 'lpb/index', {
94 * @author: renchao 94 width: '85%',
95 */ 95 formData: {
96 moreQueryClick () { } 96 bsm: item.bsm,
97 zrzbsm: item.bsm,
98 zdbsm: item.zdbsm,
99 bsmSqyw: this.bsmSqyw,
100 // onlyShow: true,
101 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
102 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
103 }
104 })
105 }
97 } 106 }
98 } 107 }
99 </script> 108 </script>
......