Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
11 changed files
with
1368 additions
and
1185 deletions
... | @@ -53,7 +53,20 @@ | ... | @@ -53,7 +53,20 @@ |
53 | font-weight: 500; | 53 | font-weight: 500; |
54 | color: #4a4a4a; | 54 | color: #4a4a4a; |
55 | } | 55 | } |
56 | .bdcqk { | ||
57 | margin-top: 15px; | ||
58 | position: relative; | ||
59 | .count { | ||
60 | color: blue!important; | ||
61 | width: 874px; | ||
62 | font-size: 14px; | ||
63 | position: absolute; | ||
64 | left:200px; | ||
65 | top: -3px; | ||
66 | height: 30px; | ||
56 | 67 | ||
68 | } | ||
69 | } | ||
57 | .btn { | 70 | .btn { |
58 | text-align: center; | 71 | text-align: center; |
59 | padding-top: 10px; | 72 | padding-top: 10px; | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | :show-message="false" | 4 | :show-message="false" |
5 | * @LastEditTime: 2023-08-04 16:33:14 | 5 | * @LastEditTime: 2023-08-04 16:35:53 |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
8 | <!-- 受理信息 --> | 8 | <!-- 受理信息 --> |
... | @@ -40,19 +40,16 @@ | ... | @@ -40,19 +40,16 @@ |
40 | </el-form-item> | 40 | </el-form-item> |
41 | </el-col> | 41 | </el-col> |
42 | </el-row> | 42 | </el-row> |
43 | <div class="slxx_title title-block"> | 43 | <div class="slxx_title title-block bdcqk"> |
44 | 查封登记不动产情况 | 44 | 查封登记不动产情况 |
45 | <div class="triangle"></div> | 45 | <div class="count"> |
46 | </div> | ||
47 | <el-row :gutter="10"> | ||
48 | <el-col :span="8"> | ||
49 | <el-form-item | 46 | <el-form-item |
50 | label="查封不动产权信息:" | 47 | label="查封不动产权信息:" |
51 | prop="ztQlxx.bdcqzh" | 48 | prop="ztQlxx.bdcqzh" |
52 | :rules="rules.ztQlxxrules"> | 49 | :rules="rules.ztQlxxrules"> |
53 | <select-table | 50 | <select-table |
54 | v-model="ruleForm.ztQlxx" | 51 | v-model="ruleForm.ztQlxx" |
55 | :table-width="550" | 52 | :table-width="730" |
56 | :tableData="ztQlxxList" | 53 | :tableData="ztQlxxList" |
57 | :props="props" | 54 | :props="props" |
58 | @change="ztQlxxchange"> | 55 | @change="ztQlxxchange"> |
... | @@ -72,34 +69,13 @@ | ... | @@ -72,34 +69,13 @@ |
72 | <el-table-column prop="zl" label="坐落"></el-table-column> | 69 | <el-table-column prop="zl" label="坐落"></el-table-column> |
73 | </select-table> | 70 | </select-table> |
74 | </el-form-item> | 71 | </el-form-item> |
75 | </el-col> | 72 | </div> |
73 | |||
74 | <div class="triangle"></div> | ||
75 | </div> | ||
76 | |||
77 | <el-row :gutter="10"> | ||
76 | 78 | ||
77 | <el-col :span="8" v-if="ruleForm.cfdj.sfbxf == '1'"> | ||
78 | <el-form-item | ||
79 | label="上手权利信息:" | ||
80 | prop="ssQlxx.bdcqzh" | ||
81 | :rules="rules.ssQlxxrules"> | ||
82 | <select-table | ||
83 | v-model="ruleForm.ssQlxx" | ||
84 | :table-width="550" | ||
85 | :tableData="ssQlxxList" | ||
86 | :props="props" | ||
87 | @change="ssQlxxchange"> | ||
88 | <el-table-column | ||
89 | prop="qllxmc" | ||
90 | width="130" | ||
91 | label="权利类型"></el-table-column> | ||
92 | <el-table-column | ||
93 | prop="bdcqzh" | ||
94 | width="160" | ||
95 | label="不动产权证书"></el-table-column> | ||
96 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
97 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
98 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
99 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
100 | </select-table> | ||
101 | </el-form-item> | ||
102 | </el-col> | ||
103 | </el-row> | 79 | </el-row> |
104 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 80 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> |
105 | <el-col :span="8"> | 81 | <el-col :span="8"> |
... | @@ -152,8 +128,35 @@ | ... | @@ -152,8 +128,35 @@ |
152 | </el-form-item> | 128 | </el-form-item> |
153 | </el-col> | 129 | </el-col> |
154 | </el-row> | 130 | </el-row> |
155 | <div class="slxx_title title-block"> | 131 | <div class="slxx_title title-block bdcqk"> |
156 | 查封登记信息 | 132 | 查封登记信息 |
133 | <div class="count"> | ||
134 | <el-form-item | ||
135 | label="上手权利信息:" | ||
136 | prop="ssQlxx.bdcqzh" | ||
137 | :rules="rules.ssQlxxrules" | ||
138 | v-if="ruleForm.cfdj.sfbxf == '1'"> | ||
139 | <select-table | ||
140 | v-model="ruleForm.ssQlxx" | ||
141 | :table-width="730" | ||
142 | :tableData="ssQlxxList" | ||
143 | :props="props" | ||
144 | @change="ssQlxxchange"> | ||
145 | <el-table-column | ||
146 | prop="qllxmc" | ||
147 | width="130" | ||
148 | label="权利类型"></el-table-column> | ||
149 | <el-table-column | ||
150 | prop="bdcqzh" | ||
151 | width="160" | ||
152 | label="不动产权证书"></el-table-column> | ||
153 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
154 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
155 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
156 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
157 | </select-table> | ||
158 | </el-form-item> | ||
159 | </div> | ||
157 | <div class="triangle"></div> | 160 | <div class="triangle"></div> |
158 | </div> | 161 | </div> |
159 | <el-row :gutter="10"> | 162 | <el-row :gutter="10"> |
... | @@ -186,6 +189,7 @@ | ... | @@ -186,6 +189,7 @@ |
186 | <el-form-item | 189 | <el-form-item |
187 | label="是否被续封:" | 190 | label="是否被续封:" |
188 | prop="cfdj.sfbxf" | 191 | prop="cfdj.sfbxf" |
192 | <<<<<<< HEAD | ||
189 | :rules="rules.sfbxfrules"> | 193 | :rules="rules.sfbxfrules"> |
190 | <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> | 194 | <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> |
191 | <el-option | 195 | <el-option |
... | @@ -194,6 +198,14 @@ | ... | @@ -194,6 +198,14 @@ |
194 | :label="item.dname" | 198 | :label="item.dname" |
195 | :value="item.dcode"></el-option> | 199 | :value="item.dcode"></el-option> |
196 | </el-select> | 200 | </el-select> |
201 | ======= | ||
202 | :rules="rules.sfbxfrules" | ||
203 | > | ||
204 | <el-radio-group v-model="ruleForm.cfdj.sfbxf"> | ||
205 | <el-radio label="1">是</el-radio> | ||
206 | <el-radio label="2">否</el-radio> | ||
207 | </el-radio-group> | ||
208 | >>>>>>> 1f8b14f926a91690cf660a297aa8a8f4a2658f8b | ||
197 | </el-form-item> | 209 | </el-form-item> |
198 | </el-col> | 210 | </el-col> |
199 | <el-col :span="8"> | 211 | <el-col :span="8"> | ... | ... |
... | @@ -14,7 +14,7 @@ | ... | @@ -14,7 +14,7 @@ |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | label-width="169px" | 17 | label-width="170px" |
18 | inline-message | 18 | inline-message |
19 | :show-message="false"> | 19 | :show-message="false"> |
20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
... | @@ -39,19 +39,16 @@ | ... | @@ -39,19 +39,16 @@ |
39 | </el-form-item> | 39 | </el-form-item> |
40 | </el-col> | 40 | </el-col> |
41 | </el-row> | 41 | </el-row> |
42 | <div class="slxx_title title-block"> | 42 | <div class="slxx_title title-block bdcqk"> |
43 | 抵押不动产情况 | 43 | 抵押不动产情况 |
44 | <div class="triangle"></div> | 44 | <div class="count"> |
45 | </div> | ||
46 | <el-row :gutter="10"> | ||
47 | <el-col :span="8"> | ||
48 | <el-form-item | 45 | <el-form-item |
49 | label="抵押不动产信息:" | 46 | label="抵押不动产信息:" |
50 | prop="ztQlxx.bdcqzh" | 47 | prop="ztQlxx.bdcqzh" |
51 | :rules="rules.ztQlxxrules"> | 48 | :rules="rules.ztQlxxrules"> |
52 | <select-table | 49 | <select-table |
53 | v-model="ruleForm.ztQlxx" | 50 | v-model="ruleForm.ztQlxx" |
54 | :table-width="550" | 51 | :table-width="730" |
55 | :tableData="ztQlxxList" | 52 | :tableData="ztQlxxList" |
56 | :props="props" | 53 | :props="props" |
57 | @change="ztQlxxchange"> | 54 | @change="ztQlxxchange"> |
... | @@ -62,43 +59,20 @@ | ... | @@ -62,43 +59,20 @@ |
62 | <el-table-column | 59 | <el-table-column |
63 | prop="bdcqzh" | 60 | prop="bdcqzh" |
64 | width="160" | 61 | width="160" |
65 | label="不动产权证书"></el-table-column> | 62 | label="不动产权证书" |
66 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 63 | ></el-table-column> |
67 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
68 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
69 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
70 | </select-table> | ||
71 | </el-form-item> | ||
72 | </el-col> | ||
73 | |||
74 | <el-col :span="8" v-if="ssqlxxshow"> | ||
75 | <el-form-item | ||
76 | label="上手权利信息:" | ||
77 | prop="ssQlxx.bdcqzh" | ||
78 | :rules="rules.ssQlxxrules"> | ||
79 | <select-table | ||
80 | v-model="ruleForm.ssQlxx" | ||
81 | :table-width="550" | ||
82 | :tableData="ssQlxxList" | ||
83 | :props="props" | ||
84 | @change="ssQlxxchange"> | ||
85 | <el-table-column | 64 | <el-table-column |
86 | prop="qllxmc" | 65 | prop="qlrmc" |
87 | width="130" | 66 | label="被执行人" |
88 | label="权利类型"></el-table-column> | 67 | ></el-table-column> |
89 | <el-table-column | ||
90 | prop="bdcqzh" | ||
91 | width="160" | ||
92 | label="不动产权证书"></el-table-column> | ||
93 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
94 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 68 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
95 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 69 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
96 | <el-table-column prop="zl" label="坐落"></el-table-column> | 70 | <el-table-column prop="zl" label="坐落"></el-table-column> |
97 | </select-table> | 71 | </select-table> |
98 | </el-form-item> | 72 | </el-form-item> |
99 | </el-col> | 73 | </div> |
100 | </el-row> | 74 | <div class="triangle"></div> |
101 | 75 | </div> | |
102 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 76 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> |
103 | <el-col :span="8"> | 77 | <el-col :span="8"> |
104 | <el-form-item label="权利人:"> | 78 | <el-form-item label="权利人:"> |
... | @@ -150,8 +124,38 @@ | ... | @@ -150,8 +124,38 @@ |
150 | </el-form-item> | 124 | </el-form-item> |
151 | </el-col> | 125 | </el-col> |
152 | </el-row> | 126 | </el-row> |
153 | <div class="slxx_title title-block"> | 127 | <div class="slxx_title title-block bdcqk"> |
154 | 抵押权信息 | 128 | 抵押权信息 |
129 | <div class="count" v-if="ssqlxxshow"> | ||
130 | <el-form-item | ||
131 | label="上手权利信息:" | ||
132 | prop="ssQlxx.bdcqzh" | ||
133 | :rules="rules.ssQlxxrules" | ||
134 | > | ||
135 | <select-table | ||
136 | v-model="ruleForm.ssQlxx" | ||
137 | :table-width="730" | ||
138 | :tableData="ssQlxxList" | ||
139 | :props="props" | ||
140 | @change="ssQlxxchange" | ||
141 | > | ||
142 | <el-table-column | ||
143 | prop="qllxmc" | ||
144 | width="130" | ||
145 | label="权利类型" | ||
146 | ></el-table-column> | ||
147 | <el-table-column | ||
148 | prop="bdcqzh" | ||
149 | width="160" | ||
150 | label="不动产权证书" | ||
151 | ></el-table-column> | ||
152 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
153 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
154 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
155 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
156 | </select-table> | ||
157 | </el-form-item> | ||
158 | </div> | ||
155 | <div class="triangle"></div> | 159 | <div class="triangle"></div> |
156 | </div> | 160 | </div> |
157 | 161 | ||
... | @@ -655,7 +659,7 @@ | ... | @@ -655,7 +659,7 @@ |
655 | this.loadData(); | 659 | this.loadData(); |
656 | this.ableOperation = this.$parent.ableOperation; | 660 | this.ableOperation = this.$parent.ableOperation; |
657 | }, | 661 | }, |
658 | methods: { | 662 | methods: { |
659 | /** | 663 | /** |
660 | * @description: ztQlxxchange | 664 | * @description: ztQlxxchange |
661 | * @param {*} val | 665 | * @param {*} val |
... | @@ -674,54 +678,56 @@ | ... | @@ -674,54 +678,56 @@ |
674 | this.ruleForm.qlxx.ssywh = val.ywh; | 678 | this.ruleForm.qlxx.ssywh = val.ywh; |
675 | this.ssQlxxchangediolog(val); | 679 | this.ssQlxxchangediolog(val); |
676 | }, | 680 | }, |
677 | // 弹框事件 | 681 | // 弹框事件 |
678 | ssQlxxchangediolog (val) { | 682 | ssQlxxchangediolog(val) { |
679 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 683 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
680 | iconClass: "el-icon-question", //自定义图标样式 | 684 | iconClass: "el-icon-question", //自定义图标样式 |
681 | confirmButtonText: "确认", //确认按钮文字更换 | 685 | confirmButtonText: "确认", //确认按钮文字更换 |
682 | cancelButtonText: "取消", //取消按钮文字更换 | 686 | cancelButtonText: "取消", //取消按钮文字更换 |
683 | showClose: true, //是否显示右上角关闭按钮 | 687 | showClose: true, //是否显示右上角关闭按钮 |
684 | type: "warning", | 688 | type: "warning", |
685 | }).then(() => { | 689 | }).then(() => { |
686 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 690 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
687 | if (res.code == 200) { | 691 | if (res.code == 200) { |
688 | this.nowlist = res.result; | 692 | this.nowlist = res.result; |
689 | for (var key in this.ruleForm.diyaq) { | 693 | for (var key in this.ruleForm.diyaq) { |
690 | if ( | 694 | if ( |
691 | this.ruleForm.diyaq[key] == "" || | 695 | this.ruleForm.diyaq[key] == "" || |
692 | this.ruleForm.diyaq[key] == null | 696 | this.ruleForm.diyaq[key] == null |
693 | ) { | 697 | ) { |
694 | this.ruleForm.diyaq[key] = this.nowlist.diyaq[key]; | 698 | this.ruleForm.diyaq[key] = this.nowlist.diyaq[key]; |
695 | } | ||
696 | } | 699 | } |
697 | for (var key in this.ruleForm.qlxx) { | 700 | } |
698 | if ( | 701 | for (var key in this.ruleForm.qlxx) { |
699 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 702 | if ( |
700 | this.ruleForm.qlxx[key] == null | 703 | this.ruleForm.qlxx[key] == ""|| |
701 | ) { | 704 | this.ruleForm.qlxx[key] == null && |
702 | console.log("this.ruleForm.qlxx[key]", key); | 705 | key != "ywh" && |
703 | if (key != "ywh") { | 706 | key != "dbr" && |
707 | key != "djsj" && | ||
708 | key != "ssywh" && | ||
709 | key != "ssywh" && | ||
710 | key != "bdcqzh") { | ||
704 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 711 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
705 | } | 712 | |
706 | } | 713 | } |
707 | } | ||
708 | if (!this.ruleForm.tdytqxList.length) { | ||
709 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
710 | } | ||
711 | if (!this.ruleForm.qlrData.length) { | ||
712 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
713 | } | ||
714 | if (!this.ruleForm.ywrData.length) { | ||
715 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
716 | } | ||
717 | console.log("this.ruleForm", this.ruleForm); | ||
718 | this.$message({ | ||
719 | type: "success", | ||
720 | message: "同步成功!", | ||
721 | }); | ||
722 | } | 714 | } |
723 | }); | 715 | if (!this.ruleForm.tdytqxList.length) { |
724 | }).catch(() => { | 716 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; |
717 | } | ||
718 | if (!this.ruleForm.qlrData.length) { | ||
719 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
720 | } | ||
721 | if (!this.ruleForm.ywrData.length) { | ||
722 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
723 | } | ||
724 | this.$message({ | ||
725 | type: "success", | ||
726 | message: "同步成功!", | ||
727 | }); | ||
728 | } | ||
729 | }); | ||
730 | }).catch(() => { | ||
725 | this.$message({ | 731 | this.$message({ |
726 | type: "info", | 732 | type: "info", |
727 | message: "已取消同步", | 733 | message: "已取消同步", | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 16:33:22 | 4 | * @LastEditTime: 2023-08-04 16:35:32 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | :show-message="false" | 17 | :show-message="false" |
18 | label-width="150px"> | 18 | label-width="145px"> |
19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
20 | <div class="slxx_title title-block"> | 20 | <div class="slxx_title title-block"> |
21 | 补录信息 | 21 | 补录信息 |
... | @@ -38,63 +38,43 @@ | ... | @@ -38,63 +38,43 @@ |
38 | </el-form-item> | 38 | </el-form-item> |
39 | </el-col> | 39 | </el-col> |
40 | </el-row> | 40 | </el-row> |
41 | <div class="slxx_title title-block"> | 41 | <div class="slxx_title title-block bdcqk"> |
42 | 地役权不动产情况 | 42 | 地役权不动产情况 |
43 | <div class="triangle"></div> | 43 | <div class="count"> |
44 | </div> | ||
45 | <el-row :gutter="10"> | ||
46 | <el-col :span="8"> | ||
47 | <el-form-item | 44 | <el-form-item |
48 | label="地役权不动产信息:" | 45 | label="地役权不动产情况" |
49 | prop="ztQlxx.bdcqzh" | 46 | prop="ztQlxx.bdcqzh" |
50 | :rules="rules.ztQlxxrules"> | 47 | :rules="rules.ztQlxxrules" |
48 | > | ||
51 | <select-table | 49 | <select-table |
52 | v-model="ruleForm.ztQlxx" | 50 | v-model="ruleForm.ztQlxx" |
53 | :table-width="550" | 51 | :table-width="730" |
54 | :tableData="ztQlxxList" | 52 | :tableData="ztQlxxList" |
55 | :props="props" | 53 | :props="props" |
56 | @change="ztQlxxchange"> | 54 | @change="ztQlxxchange" |
55 | > | ||
57 | <el-table-column | 56 | <el-table-column |
58 | prop="qllxmc" | 57 | prop="qllxmc" |
59 | width="130" | 58 | width="130" |
60 | label="权利类型"></el-table-column> | 59 | label="权利类型" |
60 | ></el-table-column> | ||
61 | <el-table-column | 61 | <el-table-column |
62 | prop="bdcqzh" | 62 | prop="bdcqzh" |
63 | width="160" | 63 | width="160" |
64 | label="不动产权证书"></el-table-column> | 64 | label="不动产权证书" |
65 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 65 | ></el-table-column> |
66 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
67 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
68 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
69 | </select-table> | ||
70 | </el-form-item> | ||
71 | </el-col> | ||
72 | |||
73 | <el-col :span="8" v-if="ssqlxxshow"> | ||
74 | <el-form-item label="上手权利信息:" prop="ssQlxx.bdcqzh" :rules="rules.ssQlxxrules"> | ||
75 | <select-table | ||
76 | v-model="ruleForm.ssQlxx" | ||
77 | :table-width="550" | ||
78 | :tableData="ssQlxxList" | ||
79 | :props="props" | ||
80 | @change="ssQlxxchange"> | ||
81 | <el-table-column | 66 | <el-table-column |
82 | prop="qllxmc" | 67 | prop="qlrmc" |
83 | width="130" | 68 | label="被执行人" |
84 | label="权利类型"></el-table-column> | 69 | ></el-table-column> |
85 | <el-table-column | ||
86 | prop="bdcqzh" | ||
87 | width="160" | ||
88 | label="不动产权证书"></el-table-column> | ||
89 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
90 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 70 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
91 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 71 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
92 | <el-table-column prop="zl" label="坐落"></el-table-column> | 72 | <el-table-column prop="zl" label="坐落"></el-table-column> |
93 | </select-table> | 73 | </select-table> |
94 | </el-form-item> | 74 | </el-form-item> |
95 | </el-col> | 75 | </div> |
96 | </el-row> | 76 | <div class="triangle"></div> |
97 | 77 | </div> | |
98 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 78 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> |
99 | <el-col :span="8"> | 79 | <el-col :span="8"> |
100 | <el-form-item label="权利人:"> | 80 | <el-form-item label="权利人:"> |
... | @@ -146,8 +126,38 @@ | ... | @@ -146,8 +126,38 @@ |
146 | </el-form-item> | 126 | </el-form-item> |
147 | </el-col> | 127 | </el-col> |
148 | </el-row> | 128 | </el-row> |
149 | <div class="slxx_title title-block"> | 129 | <div class="slxx_title title-block bdcqk"> |
150 | 地役权信息 | 130 | 地役权信息 |
131 | <div class="count" v-if="ssqlxxshow"> | ||
132 | <el-form-item | ||
133 | label="上手权利信息:" | ||
134 | prop="ssQlxx.bdcqzh" | ||
135 | :rules="rules.ssQlxxrules" | ||
136 | > | ||
137 | <select-table | ||
138 | v-model="ruleForm.ssQlxx" | ||
139 | :table-width="730" | ||
140 | :tableData="ssQlxxList" | ||
141 | :props="props" | ||
142 | @change="ssQlxxchange" | ||
143 | > | ||
144 | <el-table-column | ||
145 | prop="qllxmc" | ||
146 | width="130" | ||
147 | label="权利类型" | ||
148 | ></el-table-column> | ||
149 | <el-table-column | ||
150 | prop="bdcqzh" | ||
151 | width="160" | ||
152 | label="不动产权证书" | ||
153 | ></el-table-column> | ||
154 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
155 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
156 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
157 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
158 | </select-table> | ||
159 | </el-form-item> | ||
160 | </div> | ||
151 | <div class="triangle"></div> | 161 | <div class="triangle"></div> |
152 | </div> | 162 | </div> |
153 | <el-row :gutter="10"> | 163 | <el-row :gutter="10"> |
... | @@ -366,7 +376,7 @@ | ... | @@ -366,7 +376,7 @@ |
366 | <el-form-item label="共有方式:"> | 376 | <el-form-item label="共有方式:"> |
367 | <el-radio-group | 377 | <el-radio-group |
368 | :disabled="!ableOperation" | 378 | :disabled="!ableOperation" |
369 | v-model="ruleForm.sldy.gyfs"> | 379 | v-model="ruleForm.qlxx.gyfs"> |
370 | <el-radio label="0">单独所有</el-radio> | 380 | <el-radio label="0">单独所有</el-radio> |
371 | <el-radio label="1">共同共有</el-radio> | 381 | <el-radio label="1">共同共有</el-radio> |
372 | <el-radio label="2">按份所有</el-radio> | 382 | <el-radio label="2">按份所有</el-radio> |
... | @@ -374,10 +384,10 @@ | ... | @@ -374,10 +384,10 @@ |
374 | </el-radio-group> | 384 | </el-radio-group> |
375 | </el-form-item> | 385 | </el-form-item> |
376 | </el-col> | 386 | </el-col> |
377 | <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> | 387 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> |
378 | <el-form-item label="是否分别持证:"> | 388 | <el-form-item label="是否分别持证:"> |
379 | <el-radio-group | 389 | <el-radio-group |
380 | v-model="ruleForm.sldy.sqfbcz" | 390 | v-model="ruleForm.qlxx.sqfbcz" |
381 | :disabled="!ableOperation"> | 391 | :disabled="!ableOperation"> |
382 | <el-radio :label="1">是</el-radio> | 392 | <el-radio :label="1">是</el-radio> |
383 | <el-radio :label="0">否</el-radio> | 393 | <el-radio :label="0">否</el-radio> |
... | @@ -386,7 +396,7 @@ | ... | @@ -386,7 +396,7 @@ |
386 | </el-col> | 396 | </el-col> |
387 | <el-col | 397 | <el-col |
388 | :span="6" | 398 | :span="6" |
389 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 399 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"> |
390 | <el-form-item label="持证人:"> | 400 | <el-form-item label="持证人:"> |
391 | <el-select | 401 | <el-select |
392 | v-model="ruleForm.czr" | 402 | v-model="ruleForm.czr" |
... | @@ -433,7 +443,7 @@ | ... | @@ -433,7 +443,7 @@ |
433 | <script> | 443 | <script> |
434 | import { mapGetters } from "vuex"; | 444 | import { mapGetters } from "vuex"; |
435 | import ywmix from "@/views/ywbl/mixin/index" | 445 | import ywmix from "@/views/ywbl/mixin/index" |
436 | import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; | 446 | import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm,save } from "@/api/djbRepair.js"; |
437 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 447 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
438 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 448 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
439 | import tdytTable from "@/views/workflow/components/tdytTable"; | 449 | import tdytTable from "@/views/workflow/components/tdytTable"; |
... | @@ -549,72 +559,70 @@ | ... | @@ -549,72 +559,70 @@ |
549 | ssQlxxchange (val) { | 559 | ssQlxxchange (val) { |
550 | this.ruleForm.ssQlxx = val; | 560 | this.ruleForm.ssQlxx = val; |
551 | this.ruleForm.qlxx.ssywh = val.ywh; | 561 | this.ruleForm.qlxx.ssywh = val.ywh; |
552 | this.ssQlxxchangediolog(val) | 562 | this.ssQlxxchangediolog (val) |
553 | }, | 563 | }, |
554 | // 弹框事件 | 564 | // 弹框事件 |
555 | ssQlxxchangediolog (val) { | 565 | ssQlxxchangediolog (val) { |
556 | console.log("确定了", this.ruleForm) | ||
557 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 566 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
558 | iconClass: "el-icon-question", //自定义图标样式 | 567 | iconClass: "el-icon-question", //自定义图标样式 |
559 | confirmButtonText: "确认", //确认按钮文字更换 | 568 | confirmButtonText: "确认", //确认按钮文字更换 |
560 | cancelButtonText: "取消", //取消按钮文字更换 | 569 | cancelButtonText: "取消", //取消按钮文字更换 |
561 | showClose: true, //是否显示右上角关闭按钮 | 570 | showClose: true, //是否显示右上角关闭按钮 |
562 | type: "warning", | 571 | type: "warning", |
563 | }).then(() => { | 572 | }).then(() => { |
564 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 573 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
565 | if (res.code == 200) { | 574 | if (res.code == 200) { |
566 | this.nowlist = res.result; | 575 | this.nowlist = res.result; |
567 | console.log("his.nowlist", this.nowlist); | 576 | for (var key in this.ruleForm.dyiq) { |
568 | console.log("this.ruleForm", this.ruleForm); | 577 | if ( |
569 | for (var key in this.ruleForm.dyiq) { | 578 | this.ruleForm.dyiq[key] == "" || |
570 | if ( | 579 | this.ruleForm.dyiq[key] == null |
571 | this.ruleForm.dyiq[key] == "" || | 580 | ) { |
572 | this.ruleForm.dyiq[key] == null | 581 | this.ruleForm.dyiq[key] = this.nowlist.dyiq[key]; |
573 | ) { | ||
574 | this.ruleForm.dyiq[key] = this.nowlist.dyiq[key]; | ||
575 | } | ||
576 | } | 582 | } |
577 | for (var key in this.ruleForm.qlxx) { | 583 | } |
578 | if ( | 584 | for (var key in this.ruleForm.qlxx) { |
579 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 585 | if ( |
580 | this.ruleForm.qlxx[key] == null | 586 | this.ruleForm.qlxx[key] == ""|| |
581 | ) { | 587 | this.ruleForm.qlxx[key] == null && |
582 | console.log("this.ruleForm.qlxx[key]", key); | 588 | key != "ywh" && |
583 | if (key != "ywh") { | 589 | key != "dbr" && |
590 | key != "djsj" && | ||
591 | key != "ssywh" && | ||
592 | key != "ssywh" && | ||
593 | key != "bdcqzh") { | ||
584 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 594 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
585 | } | 595 | |
586 | } | 596 | } |
587 | } | ||
588 | if (!this.ruleForm.tdytqxList.length) { | ||
589 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
590 | } | ||
591 | if (!this.ruleForm.qlrData.length) { | ||
592 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
593 | } | ||
594 | if (!this.ruleForm.ywrData.length) { | ||
595 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
596 | } | ||
597 | console.log("this.ruleForm", this.ruleForm); | ||
598 | this.$message({ | ||
599 | type: "success", | ||
600 | message: "同步成功!", | ||
601 | }); | ||
602 | } | 597 | } |
603 | }); | 598 | if (!this.ruleForm.tdytqxList.length) { |
604 | }).catch(() => { | 599 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; |
600 | } | ||
601 | if (!this.ruleForm.qlrData.length) { | ||
602 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
603 | } | ||
604 | if (!this.ruleForm.ywrData.length) { | ||
605 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
606 | } | ||
607 | this.$message({ | ||
608 | type: "success", | ||
609 | message: "同步成功!", | ||
610 | }); | ||
611 | } | ||
612 | }); | ||
613 | }).catch(() => { | ||
605 | this.$message({ | 614 | this.$message({ |
606 | type: "info", | 615 | type: "info", |
607 | message: "已取消同步", | 616 | message: "已取消同步", |
608 | }); | 617 | }); |
609 | }); | 618 | }); |
610 | }, | 619 | }, |
611 | /** | 620 | /** |
612 | * @description: djlxchange | 621 | * @description: djlxchange |
613 | * @param {*} val | 622 | * @param {*} val |
614 | * @author: renchao | 623 | * @author: renchao |
615 | */ | 624 | */ |
616 | djlxchange (val) { | 625 | djlxchange (val) { |
617 | console.log("val", val); | ||
618 | if (val == null || val == 100) { | 626 | if (val == null || val == 100) { |
619 | this.ssqlxxshow = false; | 627 | this.ssqlxxshow = false; |
620 | } else { | 628 | } else { |
... | @@ -638,28 +646,28 @@ | ... | @@ -638,28 +646,28 @@ |
638 | this.$endLoading(); | 646 | this.$endLoading(); |
639 | this.isShow = true; | 647 | this.isShow = true; |
640 | 648 | ||
641 | //获取主体信息 | 649 | //获取主体信息 |
642 | getSsQlxx({ | 650 | getSsQlxx({ |
643 | bdcdyid: this.propsParam.bdcdyid, | 651 | bdcdyid: this.propsParam.bdcdyid, |
644 | qllx: this.propsParam.qllx, | 652 | qllx: this.propsParam.qllx, |
645 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | 653 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, |
646 | }).then((res) => { | 654 | }).then((res) => { |
647 | if (res.code == 200) { | 655 | if (res.code == 200) { |
648 | this.ssQlxxList = res.result; | 656 | this.ssQlxxList = res.result; |
649 | } | 657 | } |
650 | }); | 658 | }); |
651 | //获取上手信息 | 659 | //获取上手信息 |
652 | getZtQlxx({ | 660 | getZtQlxx({ |
653 | bdcdyid: this.propsParam.bdcdyid, | 661 | bdcdyid: this.propsParam.bdcdyid, |
654 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | 662 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, |
655 | }).then((res) => { | 663 | }).then((res) => { |
656 | if (res.code == 200) { | 664 | if (res.code == 200) { |
657 | this.ztQlxxList = res.result; | 665 | this.ztQlxxList = res.result; |
658 | } | 666 | } |
659 | }); | 667 | }); |
660 | } | 668 | } |
661 | }); | 669 | }); |
662 | }, | 670 | }, |
663 | // 更新土地用途信息 | 671 | // 更新土地用途信息 |
664 | /** | 672 | /** |
665 | * @description: 更新土地用途信息 | 673 | * @description: 更新土地用途信息 |
... | @@ -695,7 +703,7 @@ | ... | @@ -695,7 +703,7 @@ |
695 | * @description: onSubmit | 703 | * @description: onSubmit |
696 | * @author: renchao | 704 | * @author: renchao |
697 | */ | 705 | */ |
698 | onSubmit () { | 706 | onSubmit () { |
699 | this.$refs.ruleForm.validate((valid) => { | 707 | this.$refs.ruleForm.validate((valid) => { |
700 | if (valid) { | 708 | if (valid) { |
701 | if (this.ruleForm.qlrData.length == 0) { | 709 | if (this.ruleForm.qlrData.length == 0) { | ... | ... |
... | @@ -39,19 +39,16 @@ | ... | @@ -39,19 +39,16 @@ |
39 | </el-form-item> | 39 | </el-form-item> |
40 | </el-col> | 40 | </el-col> |
41 | </el-row> | 41 | </el-row> |
42 | <div class="slxx_title title-block"> | 42 | <div class="slxx_title title-block bdcqk"> |
43 | 房地产权(独幢、层、套、间房屋) | 43 | 房地产权信息 |
44 | <div class="triangle"></div> | 44 | <div class="count" v-if="ssqlxxshow"> |
45 | </div> | ||
46 | <el-row :gutter="24"> | ||
47 | <el-col :span="24" v-if="ssqlxxshow"> | ||
48 | <el-form-item | 45 | <el-form-item |
49 | label="上手权利信息:" | 46 | label="上手权利信息:" |
50 | prop="ssQlxx.bdcqzh" | 47 | prop="ssQlxx.bdcqzh" |
51 | :rules="rules.ssQlxxrules"> | 48 | :rules="rules.ssQlxxrules"> |
52 | <select-table | 49 | <select-table |
53 | v-model="ruleForm.ssQlxx" | 50 | v-model="ruleForm.ssQlxx" |
54 | :table-width="550" | 51 | :table-width="730" |
55 | :tableData="ssQlxxList" | 52 | :tableData="ssQlxxList" |
56 | :props="props" | 53 | :props="props" |
57 | @change="ssQlxxchange"> | 54 | @change="ssQlxxchange"> |
... | @@ -69,8 +66,9 @@ | ... | @@ -69,8 +66,9 @@ |
69 | <el-table-column prop="zl" label="坐落"></el-table-column> | 66 | <el-table-column prop="zl" label="坐落"></el-table-column> |
70 | </select-table> | 67 | </select-table> |
71 | </el-form-item> | 68 | </el-form-item> |
72 | </el-col> | 69 | </div> |
73 | </el-row> | 70 | <div class="triangle"></div> |
71 | </div> | ||
74 | <el-row :gutter="10"> | 72 | <el-row :gutter="10"> |
75 | <el-col :span="8"> | 73 | <el-col :span="8"> |
76 | <el-form-item label="不动产单元号:"> | 74 | <el-form-item label="不动产单元号:"> |
... | @@ -160,7 +158,7 @@ | ... | @@ -160,7 +158,7 @@ |
160 | <!-- 下拉框 --> | 158 | <!-- 下拉框 --> |
161 | <el-form-item label="土地性质:" style="margin-bottom: 3px"> | 159 | <el-form-item label="土地性质:" style="margin-bottom: 3px"> |
162 | <treeselect | 160 | <treeselect |
163 | v-model="tdxz" | 161 | v-model="ruleForm.fdcq2.tdxz" |
164 | noOptionsText="暂无数据" | 162 | noOptionsText="暂无数据" |
165 | placeholder="" | 163 | placeholder="" |
166 | :normalizer="normalizer" | 164 | :normalizer="normalizer" |
... | @@ -564,75 +562,74 @@ | ... | @@ -564,75 +562,74 @@ |
564 | }, | 562 | }, |
565 | }; | 563 | }; |
566 | }, | 564 | }, |
567 | created () { }, | 565 | created() {}, |
568 | mounted () { | 566 | mounted() { |
569 | this.loadData(); | 567 | this.loadData(); |
570 | this.ableOperation = this.$parent.ableOperation; | 568 | this.ableOperation = this.$parent.ableOperation; |
569 | }, | ||
570 | methods: { | ||
571 | /** | ||
572 | * @description: ssQlxxchange | ||
573 | * @param {*} val | ||
574 | * @author: renchao | ||
575 | */ | ||
576 | ssQlxxchange(val) { | ||
577 | this.ruleForm.ssQlxx = val; | ||
578 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
579 | this.ssQlxxchangediolog(val); | ||
571 | }, | 580 | }, |
572 | methods: { | 581 | // 弹框事件 |
573 | /** | 582 | ssQlxxchangediolog(val) { |
574 | * @description: ssQlxxchange | 583 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
575 | * @param {*} val | 584 | iconClass: "el-icon-question", //自定义图标样式 |
576 | * @author: renchao | 585 | confirmButtonText: "确认", //确认按钮文字更换 |
577 | */ | 586 | cancelButtonText: "取消", //取消按钮文字更换 |
578 | ssQlxxchange (val) { | 587 | showClose: true, //是否显示右上角关闭按钮 |
579 | this.ruleForm.ssQlxx = val; | 588 | type: "warning", |
580 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
581 | this.ssQlxxchangediolog(val); | ||
582 | }, | ||
583 | // 弹框事件 | ||
584 | ssQlxxchangediolog (val) { | ||
585 | console.log("确定了", this.ruleForm, val); | ||
586 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | ||
587 | iconClass: "el-icon-question", //自定义图标样式 | ||
588 | confirmButtonText: "确认", //确认按钮文字更换 | ||
589 | cancelButtonText: "取消", //取消按钮文字更换 | ||
590 | showClose: true, //是否显示右上角关闭按钮 | ||
591 | type: "warning", | ||
592 | 589 | ||
593 | 590 | ||
594 | }).then(() => { | 591 | }).then(() => { |
595 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 592 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
596 | if (res.code == 200) { | 593 | if (res.code == 200) { |
597 | this.nowlist = res.result; | 594 | this.nowlist = res.result; |
598 | console.log("his.nowlist", this.nowlist); | 595 | for (var key in this.ruleForm.fdcq2) { |
599 | console.log("this.ruleForm", this.ruleForm); | 596 | if ( |
600 | for (var key in this.ruleForm.fdcq2) { | 597 | this.ruleForm.fdcq2[key] == "" || |
601 | if ( | 598 | this.ruleForm.fdcq2[key] == null |
602 | this.ruleForm.fdcq2[key] == "" || | 599 | ) { |
603 | this.ruleForm.fdcq2[key] == null | 600 | this.ruleForm.fdcq2[key] = this.nowlist.fdcq2[key]; |
604 | ) { | ||
605 | this.ruleForm.fdcq2[key] = this.nowlist.fdcq2[key]; | ||
606 | } | ||
607 | } | 601 | } |
608 | for (var key in this.ruleForm.qlxx) { | 602 | } |
609 | if ( | 603 | for (var key in this.ruleForm.qlxx) { |
610 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 604 | if ( |
611 | this.ruleForm.qlxx[key] == null | 605 | this.ruleForm.qlxx[key] == ""|| |
612 | ) { | 606 | this.ruleForm.qlxx[key] == null && |
613 | console.log("this.ruleForm.qlxx[key]", key); | 607 | key != "ywh" && |
614 | if (key != "ywh") { | 608 | key != "dbr" && |
609 | key != "djsj" && | ||
610 | key != "ssywh" && | ||
611 | key != "ssywh" && | ||
612 | key != "bdcqzh") { | ||
615 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 613 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
616 | } | 614 | |
617 | } | 615 | } |
618 | } | ||
619 | if (!this.ruleForm.tdytqxList.length) { | ||
620 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
621 | } | ||
622 | if (!this.ruleForm.qlrData.length) { | ||
623 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
624 | } | ||
625 | if (!this.ruleForm.ywrData.length) { | ||
626 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
627 | } | ||
628 | console.log("this.ruleForm", this.ruleForm); | ||
629 | this.$message({ | ||
630 | type: "success", | ||
631 | message: "同步成功!", | ||
632 | }); | ||
633 | } | 616 | } |
634 | }); | 617 | if (!this.ruleForm.tdytqxList.length) { |
635 | }).catch(() => { | 618 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; |
619 | } | ||
620 | if (!this.ruleForm.qlrData.length) { | ||
621 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
622 | } | ||
623 | if (!this.ruleForm.ywrData.length) { | ||
624 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
625 | } | ||
626 | this.$message({ | ||
627 | type: "success", | ||
628 | message: "同步成功!", | ||
629 | }); | ||
630 | } | ||
631 | }); | ||
632 | }).catch(() => { | ||
636 | this.$message({ | 633 | this.$message({ |
637 | type: "info", | 634 | type: "info", |
638 | message: "已取消同步", | 635 | message: "已取消同步", |
... | @@ -644,87 +641,111 @@ | ... | @@ -644,87 +641,111 @@ |
644 | * @param {*} val | 641 | * @param {*} val |
645 | * @author: renchao | 642 | * @author: renchao |
646 | */ | 643 | */ |
647 | djlxchange (val) { | 644 | djlxchange(val) { |
648 | if (val == null || val == 100) { | 645 | if (val == null || val == 100) { |
649 | this.ssqlxxshow = false; | 646 | this.ssqlxxshow = false; |
650 | } else { | 647 | } else { |
651 | this.ssqlxxshow = true; | 648 | this.ssqlxxshow = true; |
652 | } | 649 | } |
653 | }, | 650 | }, |
654 | /** | 651 | /** |
655 | * @description: loadData | 652 | * @description: loadData |
656 | * @author: renchao | 653 | * @author: renchao |
657 | */ | 654 | */ |
658 | loadData () { | 655 | loadData() { |
659 | this.$startLoading(); | 656 | this.$startLoading(); |
660 | this.propsParam.isEdit = this.$parent.isEdit; | 657 | this.propsParam.isEdit = this.$parent.isEdit; |
661 | init(this.propsParam).then((res) => { | 658 | init(this.propsParam).then((res) => { |
662 | if (res.code == 200) { | 659 | if (res.code == 200) { |
663 | this.ruleForm = res.result; | 660 | this.ruleForm = res.result; |
664 | let djlx = this.ruleForm.qlxx.djlx; | 661 | let djlx = this.ruleForm.qlxx.djlx; |
665 | if (djlx == null || djlx == 100) { | 662 | if (djlx == null || djlx == 100) { |
666 | this.ssqlxxshow = false; | 663 | this.ssqlxxshow = false; |
667 | } | 664 | } |
668 | this.ruleForm.fdcq2.jedw = "1"; | 665 | this.ruleForm.fdcq2.jedw = "1"; |
669 | this.$endLoading(); | 666 | this.$endLoading(); |
670 | if (this.ruleForm.tdytqxList.length > 0) { | 667 | if (this.ruleForm.tdytqxList.length > 0) { |
671 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | 668 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; |
672 | } else { | 669 | } else { |
673 | this.tdxz = null; | 670 | this.tdxz = null; |
671 | } | ||
672 | this.isShow = true; | ||
673 | //获取主体信息 | ||
674 | getSsQlxx({ | ||
675 | bdcdyid: this.propsParam.bdcdyid, | ||
676 | qllx: this.propsParam.qllx, | ||
677 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
678 | }).then((res) => { | ||
679 | if (res.code == 200) { | ||
680 | this.ssQlxxList = res.result; | ||
674 | } | 681 | } |
675 | this.isShow = true; | 682 | }); |
676 | //获取主体信息 | 683 | } |
677 | getSsQlxx({ | 684 | }); |
678 | bdcdyid: this.propsParam.bdcdyid, | 685 | }, |
679 | qllx: this.propsParam.qllx, | 686 | // 更新土地用途信息 |
680 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | 687 | /** |
681 | }).then((res) => { | 688 | * @description: 更新土地用途信息 |
682 | if (res.code == 200) { | 689 | * @param {*} val |
683 | this.ssQlxxList = res.result; | 690 | * @author: renchao |
684 | } | 691 | */ |
692 | upDateTdytxxList(val) { | ||
693 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
694 | this.key++; | ||
695 | }, | ||
696 | // 更新权利人信息 | ||
697 | /** | ||
698 | * @description: 更新权利人信息 | ||
699 | * @param {*} val | ||
700 | * @author: renchao | ||
701 | */ | ||
702 | upDateQlrxxList(val) { | ||
703 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
704 | this.czrOptions = this.ruleForm.qlrData; | ||
705 | this.key++; | ||
706 | }, | ||
707 | // 更新义务人信息 | ||
708 | /** | ||
709 | * @description: 更新义务人信息 | ||
710 | * @param {*} val | ||
711 | * @author: renchao | ||
712 | */ | ||
713 | upDateYwrxxList(val) { | ||
714 | this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
715 | this.key++; | ||
716 | }, | ||
717 | /** | ||
718 | * @description: onSubmit | ||
719 | * @author: renchao | ||
720 | */ | ||
721 | onSubmit() { | ||
722 | this.$refs.ruleForm.validate((valid) => { | ||
723 | if (valid) { | ||
724 | if (this.ruleForm.qlrData.length == 0) { | ||
725 | this.$message({ | ||
726 | showClose: true, | ||
727 | message: "请确认权利人信息", | ||
728 | type: "error", | ||
685 | }); | 729 | }); |
730 | return false; | ||
686 | } | 731 | } |
687 | }); | 732 | if (this.ruleForm.tdytqxList.length == 0 && !this.tdxz) { |
688 | }, | 733 | this.$message({ |
689 | // 更新土地用途信息 | 734 | showClose: true, |
690 | /** | 735 | message: "请补充土地用途信息", |
691 | * @description: 更新土地用途信息 | 736 | type: "error", |
692 | * @param {*} val | 737 | }); |
693 | * @author: renchao | 738 | return false; |
694 | */ | 739 | } |
695 | upDateTdytxxList (val) { | 740 | if (!this.ruleForm.fdcq2.tdxz) { |
696 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 741 | this.$message({ |
697 | this.key++; | 742 | showClose: true, |
698 | }, | 743 | message: "请补充土地性质", |
699 | // 更新权利人信息 | 744 | type: "error", |
700 | /** | 745 | }); |
701 | * @description: 更新权利人信息 | 746 | } |
702 | * @param {*} val | 747 | if (this.ruleForm.qlxx.gyfs == "0") { |
703 | * @author: renchao | 748 | if (this.ruleForm.qlrData.length > 1) { |
704 | */ | ||
705 | upDateQlrxxList (val) { | ||
706 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
707 | this.czrOptions = this.ruleForm.qlrData; | ||
708 | this.key++; | ||
709 | }, | ||
710 | // 更新义务人信息 | ||
711 | /** | ||
712 | * @description: 更新义务人信息 | ||
713 | * @param {*} val | ||
714 | * @author: renchao | ||
715 | */ | ||
716 | upDateYwrxxList (val) { | ||
717 | this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
718 | this.key++; | ||
719 | }, | ||
720 | /** | ||
721 | * @description: onSubmit | ||
722 | * @author: renchao | ||
723 | */ | ||
724 | onSubmit () { | ||
725 | this.$refs.ruleForm.validate((valid) => { | ||
726 | if (valid) { | ||
727 | if (this.ruleForm.qlrData.length == 0) { | ||
728 | this.$message({ | 749 | this.$message({ |
729 | showClose: true, | 750 | showClose: true, |
730 | message: "请确认权利人信息", | 751 | message: "请确认权利人信息", |
... | @@ -740,20 +761,7 @@ | ... | @@ -740,20 +761,7 @@ |
740 | }); | 761 | }); |
741 | return false; | 762 | return false; |
742 | } | 763 | } |
743 | if (!this.tdxz) { | 764 | } |
744 | this.$message({ | ||
745 | showClose: true, | ||
746 | message: "请补充土地性质", | ||
747 | type: "error", | ||
748 | }); | ||
749 | return false; | ||
750 | } | ||
751 | this.ruleForm.tdytqxList = this.ruleForm.tdytqxList.map((item) => { | ||
752 | return { | ||
753 | ...item, | ||
754 | qlxzbm: this.tdxz, | ||
755 | }; | ||
756 | }); | ||
757 | if (this.ruleForm.sldy.gyfs == "0") { | 765 | if (this.ruleForm.sldy.gyfs == "0") { |
758 | if (this.ruleForm.qlrData.length > 1) { | 766 | if (this.ruleForm.qlrData.length > 1) { |
759 | this.$message({ | 767 | this.$message({ |
... | @@ -813,14 +821,14 @@ | ... | @@ -813,14 +821,14 @@ |
813 | type: "error", | 821 | type: "error", |
814 | }); | 822 | }); |
815 | } | 823 | } |
816 | }); | 824 | }); |
817 | } else { | 825 | } else { |
818 | return false; | 826 | return false; |
819 | } | 827 | } |
820 | }); | 828 | }); |
821 | }, | ||
822 | }, | 829 | }, |
823 | }; | 830 | }, |
831 | }; | ||
824 | </script> | 832 | </script> |
825 | <style scoped lang="scss"> | 833 | <style scoped lang="scss"> |
826 | @import "~@/styles/public.scss"; | 834 | @import "~@/styles/public.scss"; | ... | ... |
... | @@ -14,7 +14,10 @@ | ... | @@ -14,7 +14,10 @@ |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | label-width="145px"> | 17 | label-width="145px" |
18 | inline-message | ||
19 | :show-message="false" | ||
20 | > | ||
18 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 21 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
19 | <div class="slxx_title title-block"> | 22 | <div class="slxx_title title-block"> |
20 | 补录信息 | 23 | 补录信息 |
... | @@ -37,19 +40,16 @@ | ... | @@ -37,19 +40,16 @@ |
37 | </el-form-item> | 40 | </el-form-item> |
38 | </el-col> | 41 | </el-col> |
39 | </el-row> | 42 | </el-row> |
40 | <div class="slxx_title title-block"> | 43 | <div class="slxx_title title-block bdcqk"> |
41 | 建设用地、宅基地使用权信息 | 44 | 建设用地、宅基地使用权信息 |
42 | <div class="triangle"></div> | 45 | <div class="count" v-if="ssqlxxshow"> |
43 | </div> | ||
44 | <el-row :gutter="24"> | ||
45 | <el-col :span="8" v-if="ssqlxxshow"> | ||
46 | <el-form-item | 46 | <el-form-item |
47 | label="上手权利信息:" | 47 | label="上手权利信息:" |
48 | prop="ssQlxx.bdcqzh" | 48 | prop="ssQlxx.bdcqzh" |
49 | :rules="rules.ssQlxxrules"> | 49 | :rules="rules.ssQlxxrules"> |
50 | <select-table | 50 | <select-table |
51 | v-model="ruleForm.ssQlxx" | 51 | v-model="ruleForm.ssQlxx" |
52 | :table-width="550" | 52 | :table-width="730" |
53 | :tableData="ssQlxxList" | 53 | :tableData="ssQlxxList" |
54 | :props="props" | 54 | :props="props" |
55 | @change="ssQlxxchange"> | 55 | @change="ssQlxxchange"> |
... | @@ -67,8 +67,9 @@ | ... | @@ -67,8 +67,9 @@ |
67 | <el-table-column prop="zl" label="坐落"></el-table-column> | 67 | <el-table-column prop="zl" label="坐落"></el-table-column> |
68 | </select-table> | 68 | </select-table> |
69 | </el-form-item> | 69 | </el-form-item> |
70 | </el-col> | 70 | </div> |
71 | </el-row> | 71 | <div class="triangle"></div> |
72 | </div> | ||
72 | <el-row :gutter="10"> | 73 | <el-row :gutter="10"> |
73 | <el-col :span="8"> | 74 | <el-col :span="8"> |
74 | <el-form-item label="不动产单元号:"> | 75 | <el-form-item label="不动产单元号:"> |
... | @@ -76,7 +77,11 @@ | ... | @@ -76,7 +77,11 @@ |
76 | </el-form-item> | 77 | </el-form-item> |
77 | </el-col> | 78 | </el-col> |
78 | <el-col :span="8"> | 79 | <el-col :span="8"> |
79 | <el-form-item label="业务号:"> | 80 | <el-form-item |
81 | label="业务号:" | ||
82 | prop="qlxx.ywh" | ||
83 | :rules="rules.ywhrules" | ||
84 | > | ||
80 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 85 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> |
81 | </el-form-item> | 86 | </el-form-item> |
82 | </el-col> | 87 | </el-col> |
... | @@ -258,7 +263,7 @@ | ... | @@ -258,7 +263,7 @@ |
258 | <el-form-item label="共有方式:"> | 263 | <el-form-item label="共有方式:"> |
259 | <el-radio-group | 264 | <el-radio-group |
260 | :disabled="!ableOperation" | 265 | :disabled="!ableOperation" |
261 | v-model="ruleForm.sldy.gyfs"> | 266 | v-model="ruleForm.qlxx.gyfs"> |
262 | <el-radio label="0">单独所有</el-radio> | 267 | <el-radio label="0">单独所有</el-radio> |
263 | <el-radio label="1">共同共有</el-radio> | 268 | <el-radio label="1">共同共有</el-radio> |
264 | <el-radio label="2">按份所有</el-radio> | 269 | <el-radio label="2">按份所有</el-radio> |
... | @@ -266,10 +271,10 @@ | ... | @@ -266,10 +271,10 @@ |
266 | </el-radio-group> | 271 | </el-radio-group> |
267 | </el-form-item> | 272 | </el-form-item> |
268 | </el-col> | 273 | </el-col> |
269 | <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> | 274 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> |
270 | <el-form-item label="是否分别持证:"> | 275 | <el-form-item label="是否分别持证:"> |
271 | <el-radio-group | 276 | <el-radio-group |
272 | v-model="ruleForm.sldy.sqfbcz" | 277 | v-model="ruleForm.qlxx.sqfbcz" |
273 | :disabled="!ableOperation"> | 278 | :disabled="!ableOperation"> |
274 | <el-radio :label="1">是</el-radio> | 279 | <el-radio :label="1">是</el-radio> |
275 | <el-radio :label="0">否</el-radio> | 280 | <el-radio :label="0">否</el-radio> |
... | @@ -278,7 +283,7 @@ | ... | @@ -278,7 +283,7 @@ |
278 | </el-col> | 283 | </el-col> |
279 | <el-col | 284 | <el-col |
280 | :span="6" | 285 | :span="6" |
281 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 286 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'"> |
282 | <el-form-item label="持证人:"> | 287 | <el-form-item label="持证人:"> |
283 | <el-select | 288 | <el-select |
284 | v-model="ruleForm.czr" | 289 | v-model="ruleForm.czr" |
... | @@ -310,179 +315,179 @@ | ... | @@ -310,179 +315,179 @@ |
310 | </div> | 315 | </div> |
311 | </template> | 316 | </template> |
312 | <script> | 317 | <script> |
313 | import { mapGetters } from "vuex"; | 318 | import { mapGetters } from "vuex"; |
314 | import store from "@/store/index.js"; | 319 | import store from "@/store/index.js"; |
315 | import ywmix from "@/views/ywbl/mixin/index"; | 320 | import ywmix from "@/views/ywbl/mixin/index"; |
316 | import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; | 321 | import { init, getSsQlxx,getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; |
317 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 322 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
318 | import tdytTable from "@/views/workflow/components/tdytTable"; | 323 | import tdytTable from "@/views/workflow/components/tdytTable"; |
319 | import selectTable from "@/components/selectTable/index.vue"; | 324 | import selectTable from "@/components/selectTable/index.vue"; |
320 | export default { | 325 | export default { |
321 | mixins: [ywmix], | 326 | mixins: [ywmix], |
322 | components: { qlrCommonTable, tdytTable, selectTable }, | 327 | components: { qlrCommonTable, tdytTable, selectTable }, |
323 | computed: { | 328 | computed: { |
324 | ...mapGetters(["dictData", "flag"]), | 329 | ...mapGetters(["dictData", "flag"]), |
325 | // 根据流程判断表单是否为只读 | 330 | // 根据流程判断表单是否为只读 |
326 | editDisabled () { | 331 | editDisabled() { |
327 | if (!this.ableOperation) { | 332 | if (!this.ableOperation) { |
328 | //只读状态 | 333 | //只读状态 |
329 | return true; | 334 | return true; |
335 | } | ||
336 | return false; | ||
337 | }, | ||
338 | }, | ||
339 | data() { | ||
340 | return { | ||
341 | mjdw: "1", | ||
342 | ssqlxxshow: true, | ||
343 | props: { | ||
344 | label: "bdcqzh", | ||
345 | value: "bdcdyid", | ||
346 | }, | ||
347 | // 键名转换,方法默认是label和children进行树状渲染 | ||
348 | normalizer(node) { | ||
349 | //方法 | ||
350 | if (node.children == null || node.children == "null") { | ||
351 | delete node.children; | ||
330 | } | 352 | } |
331 | return false; | 353 | return { |
354 | id: node.dcode, | ||
355 | label: node.dname, | ||
356 | }; | ||
332 | }, | 357 | }, |
333 | }, | 358 | //表单是否可操作 |
334 | data () { | 359 | propsParam: this.$attrs, |
335 | return { | 360 | ableOperation: false, |
336 | mjdw: "1", | 361 | key: 0, |
337 | ssqlxxshow: true, | 362 | ssQlxxList: [], |
338 | props: { | 363 | // 登记类型 |
339 | label: "bdcqzh", | 364 | djlxlist: [ |
340 | value: "bdcdyid", | 365 | { |
366 | dcode: "100", | ||
367 | dname: "首次登记", | ||
341 | }, | 368 | }, |
342 | // 键名转换,方法默认是label和children进行树状渲染 | 369 | { |
343 | normalizer (node) { | 370 | dcode: "200", |
344 | //方法 | 371 | dname: "转移登记", |
345 | if (node.children == null || node.children == "null") { | 372 | }, |
346 | delete node.children; | 373 | { |
347 | } | 374 | dcode: "300", |
348 | return { | 375 | dname: "变更登记", |
349 | id: node.dcode, | 376 | }, |
350 | label: node.dname, | 377 | { |
351 | }; | 378 | dcode: "500", |
379 | dname: "更正登记", | ||
352 | }, | 380 | }, |
353 | //表单是否可操作 | ||
354 | propsParam: this.$attrs, | ||
355 | ableOperation: false, | ||
356 | key: 0, | ||
357 | ssQlxxList: [], | ||
358 | // 登记类型 | ||
359 | djlxlist: [ | ||
360 | { | ||
361 | dcode: "100", | ||
362 | dname: "首次登记", | ||
363 | }, | ||
364 | { | ||
365 | dcode: "200", | ||
366 | dname: "转移登记", | ||
367 | }, | ||
368 | { | ||
369 | dcode: "300", | ||
370 | dname: "变更登记", | ||
371 | }, | ||
372 | { | ||
373 | dcode: "500", | ||
374 | dname: "更正登记", | ||
375 | }, | ||
376 | 381 | ||
377 | { | 382 | { |
378 | dcode: "901", | 383 | dcode: "901", |
379 | dname: "补证", | 384 | dname: "补证", |
380 | }, | 385 | }, |
381 | { | 386 | { |
382 | dcode: "902", | 387 | dcode: "902", |
383 | dname: "换证", | 388 | dname: "换证", |
384 | }, | 389 | }, |
390 | ], | ||
391 | // 权属状态 | ||
392 | qsztlist: [ | ||
393 | { | ||
394 | dcode: "1", | ||
395 | dname: "现势", | ||
396 | }, | ||
397 | { | ||
398 | dcode: "2", | ||
399 | dname: "历史", | ||
400 | }, | ||
401 | ], | ||
402 | tdxz: null, | ||
403 | isShow: false, | ||
404 | disabled: true, | ||
405 | czrOptions: [], | ||
406 | ruleForm: {}, | ||
407 | //传递参数\ | ||
408 | rules: { | ||
409 | ssQlxxrules: [ | ||
410 | { required: true, message: "上手权利信息", trigger: "blur" }, | ||
385 | ], | 411 | ], |
386 | // 权属状态 | 412 | bdcqzhrules: [ |
387 | qsztlist: [ | 413 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
388 | { | ||
389 | dcode: "1", | ||
390 | dname: "现势", | ||
391 | }, | ||
392 | { | ||
393 | dcode: "2", | ||
394 | dname: "历史", | ||
395 | }, | ||
396 | ], | 414 | ], |
397 | tdxz: null, | 415 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
398 | isShow: false, | 416 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
399 | disabled: true, | 417 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
400 | czrOptions: [], | 418 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
401 | ruleForm: {}, | 419 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], |
402 | //传递参数\ | 420 | ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], |
403 | rules: { | ||
404 | ssQlxxrules: [ | ||
405 | { required: true, message: "上手权利信息", trigger: "blur" }, | ||
406 | ], | ||
407 | bdcqzhrules: [ | ||
408 | { required: true, message: "不动产权证号:", trigger: "blur" }, | ||
409 | ], | ||
410 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | ||
411 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | ||
412 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | ||
413 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | ||
414 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | ||
415 | }, | ||
416 | }; | ||
417 | }, | ||
418 | created () { | ||
419 | this.loadData(); | ||
420 | }, | ||
421 | mounted () { | ||
422 | this.ableOperation = this.$parent.ableOperation; | ||
423 | }, | ||
424 | methods: { | ||
425 | /** | ||
426 | * @description: ssQlxxchange | ||
427 | * @param {*} val | ||
428 | * @author: renchao | ||
429 | */ | ||
430 | ssQlxxchange (val) { | ||
431 | this.ruleForm.ssQlxx = val; | ||
432 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
433 | this.ssQlxxchangediolog(val); | ||
434 | }, | 421 | }, |
435 | // 弹框事件 | 422 | }; |
436 | ssQlxxchangediolog (val) { | 423 | }, |
437 | console.log("确定了", this.ruleForm); | 424 | created() { |
438 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 425 | this.loadData(); |
439 | iconClass: "el-icon-question", //自定义图标样式 | 426 | }, |
440 | confirmButtonText: "确认", //确认按钮文字更换 | 427 | mounted() { |
441 | cancelButtonText: "取消", //取消按钮文字更换 | 428 | this.ableOperation = this.$parent.ableOperation; |
442 | showClose: true, //是否显示右上角关闭按钮 | 429 | }, |
443 | type: "warning", | 430 | methods: { |
444 | }).then(() => { | 431 | /** |
445 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 432 | * @description: ssQlxxchange |
446 | if (res.code == 200) { | 433 | * @param {*} val |
447 | this.nowlist = res.result; | 434 | * @author: renchao |
448 | console.log("his.nowlist", this.nowlist); | 435 | */ |
449 | console.log("this.ruleForm", this.ruleForm); | 436 | ssQlxxchange(val) { |
450 | for (var key in this.ruleForm.jsydsyq) { | 437 | this.ruleForm.ssQlxx = val; |
451 | if ( | 438 | this.ruleForm.qlxx.ssywh = val.ywh; |
452 | this.ruleForm.jsydsyq[key] == "" || | 439 | this.ssQlxxchangediolog(val); |
453 | this.ruleForm.jsydsyq[key] == null | 440 | }, |
454 | ) { | 441 | // 弹框事件 |
455 | this.ruleForm.jsydsyq[key] = this.nowlist.jsydsyq[key]; | 442 | ssQlxxchangediolog(val) { |
456 | } | 443 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
444 | iconClass: "el-icon-question", //自定义图标样式 | ||
445 | confirmButtonText: "确认", //确认按钮文字更换 | ||
446 | cancelButtonText: "取消", //取消按钮文字更换 | ||
447 | showClose: true, //是否显示右上角关闭按钮 | ||
448 | type: "warning", | ||
449 | }).then(() => { | ||
450 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | ||
451 | if (res.code == 200) { | ||
452 | this.nowlist = res.result; | ||
453 | for (var key in this.ruleForm.jsydsyq) { | ||
454 | if ( | ||
455 | this.ruleForm.jsydsyq[key] == "" || | ||
456 | this.ruleForm.jsydsyq[key] == null | ||
457 | ) { | ||
458 | this.ruleForm.jsydsyq[key] = this.nowlist.jsydsyq[key]; | ||
457 | } | 459 | } |
458 | for (var key in this.ruleForm.qlxx) { | 460 | } |
459 | if ( | 461 | for (var key in this.ruleForm.qlxx) { |
460 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 462 | if ( |
461 | this.ruleForm.qlxx[key] == null | 463 | this.ruleForm.qlxx[key] == ""|| |
462 | ) { | 464 | this.ruleForm.qlxx[key] == null && |
463 | console.log("this.ruleForm.qlxx[key]", key); | 465 | key != "ywh" && |
464 | if (key != "ywh") { | 466 | key != "dbr" && |
467 | key != "djsj" && | ||
468 | key != "ssywh" && | ||
469 | key != "ssywh" && | ||
470 | key != "bdcqzh") { | ||
465 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 471 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
466 | } | 472 | |
467 | } | 473 | } |
468 | } | ||
469 | if (!this.ruleForm.tdytqxList.length) { | ||
470 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
471 | } | ||
472 | if (!this.ruleForm.qlrData.length) { | ||
473 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
474 | } | ||
475 | if (!this.ruleForm.ywrData.length) { | ||
476 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
477 | } | ||
478 | console.log("this.ruleForm", this.ruleForm); | ||
479 | this.$message({ | ||
480 | type: "success", | ||
481 | message: "同步成功!", | ||
482 | }); | ||
483 | } | 474 | } |
484 | }); | 475 | if (!this.ruleForm.tdytqxList.length) { |
485 | }).catch(() => { | 476 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; |
477 | } | ||
478 | if (!this.ruleForm.qlrData.length) { | ||
479 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
480 | } | ||
481 | if (!this.ruleForm.ywrData.length) { | ||
482 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
483 | } | ||
484 | this.$message({ | ||
485 | type: "success", | ||
486 | message: "同步成功!", | ||
487 | }); | ||
488 | } | ||
489 | }); | ||
490 | }).catch(() => { | ||
486 | this.$message({ | 491 | this.$message({ |
487 | type: "info", | 492 | type: "info", |
488 | message: "已取消同步", | 493 | message: "已取消同步", |
... | @@ -590,7 +595,7 @@ | ... | @@ -590,7 +595,7 @@ |
590 | }); | 595 | }); |
591 | return false; | 596 | return false; |
592 | } | 597 | } |
593 | if (this.ruleForm.qlrData.length != 0 && this.ruleForm.sldy.sqfbcz == 0 && this.ruleForm.czr == '') { | 598 | if (this.ruleForm.qlrData.length != 0 && this.ruleForm.qlxx.sqfbcz == 0 && this.ruleForm.czr == '') { |
594 | this.$message({ | 599 | this.$message({ |
595 | showClose: true, | 600 | showClose: true, |
596 | message: "请选择持证人信息", | 601 | message: "请选择持证人信息", |
... | @@ -598,7 +603,7 @@ | ... | @@ -598,7 +603,7 @@ |
598 | }); | 603 | }); |
599 | return false; | 604 | return false; |
600 | } | 605 | } |
601 | if (this.ruleForm.sldy.gyfs == "0") { | 606 | if (this.ruleForm.qlxx.gyfs == "0") { |
602 | if (this.ruleForm.qlrData.length > 1) { | 607 | if (this.ruleForm.qlrData.length > 1) { |
603 | this.$message({ | 608 | this.$message({ |
604 | showClose: true, | 609 | showClose: true, |
... | @@ -618,7 +623,7 @@ | ... | @@ -618,7 +623,7 @@ |
618 | return false; | 623 | return false; |
619 | } | 624 | } |
620 | //是否分别持证 | 625 | //是否分别持证 |
621 | if (this.ruleForm.sldy.sqfbcz == "1") { | 626 | if (this.ruleForm.qlxx.sqfbcz == "1") { |
622 | //是 | 627 | //是 |
623 | this.ruleForm.qlrList.forEach((item, index) => { | 628 | this.ruleForm.qlrList.forEach((item, index) => { |
624 | item.sfczr = "1"; | 629 | item.sfczr = "1"; | ... | ... |
... | @@ -15,7 +15,8 @@ | ... | @@ -15,7 +15,8 @@ |
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="120px"> | 18 | label-width="145px" |
19 | > | ||
19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
20 | <div class="slxx_title title-block"> | 21 | <div class="slxx_title title-block"> |
21 | 补录信息 | 22 | 补录信息 |
... | @@ -38,19 +39,16 @@ | ... | @@ -38,19 +39,16 @@ |
38 | </el-form-item> | 39 | </el-form-item> |
39 | </el-col> | 40 | </el-col> |
40 | </el-row> | 41 | </el-row> |
41 | <div class="slxx_title title-block"> | 42 | <div class="slxx_title title-block bdcqk"> |
42 | 土地所有权信息 | 43 | 土地所有权信息 |
43 | <div class="triangle"></div> | 44 | <div class="count" v-if="ssqlxxshow"> |
44 | </div> | ||
45 | <el-row :gutter="10"> | ||
46 | <el-col :span="8" v-if="ssqlxxshow"> | ||
47 | <el-form-item | 45 | <el-form-item |
48 | label="上手权利信息:" | 46 | label="上手权利信息:" |
49 | prop="ssQlxx.bdcqzh" | 47 | prop="ssQlxx.bdcqzh" |
50 | :rules="rules.ssQlxxrules"> | 48 | :rules="rules.ssQlxxrules"> |
51 | <select-table | 49 | <select-table |
52 | v-model="ruleForm.ssQlxx" | 50 | v-model="ruleForm.ssQlxx" |
53 | :table-width="550" | 51 | :table-width="730" |
54 | :tableData="ssQlxxList" | 52 | :tableData="ssQlxxList" |
55 | :props="props" | 53 | :props="props" |
56 | @change="ssQlxxchange"> | 54 | @change="ssQlxxchange"> |
... | @@ -68,7 +66,10 @@ | ... | @@ -68,7 +66,10 @@ |
68 | <el-table-column prop="zl" label="坐落"></el-table-column> | 66 | <el-table-column prop="zl" label="坐落"></el-table-column> |
69 | </select-table> | 67 | </select-table> |
70 | </el-form-item> | 68 | </el-form-item> |
71 | </el-col> | 69 | </div> |
70 | <div class="triangle"></div> | ||
71 | </div> | ||
72 | <el-row :gutter="10"> | ||
72 | <el-col :span="8"> | 73 | <el-col :span="8"> |
73 | <el-form-item label="上手业务号:"> | 74 | <el-form-item label="上手业务号:"> |
74 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | 75 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
... | @@ -97,7 +98,11 @@ | ... | @@ -97,7 +98,11 @@ |
97 | </el-form-item> | 98 | </el-form-item> |
98 | </el-col> | 99 | </el-col> |
99 | <el-col :span="8"> | 100 | <el-col :span="8"> |
100 | <el-form-item label="业务号:"> | 101 | <el-form-item |
102 | label="业务号:" | ||
103 | prop="qlxx.ywh" | ||
104 | :rules="rules.ywhrules" | ||
105 | > | ||
101 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 106 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> |
102 | </el-form-item> | 107 | </el-form-item> |
103 | </el-col> | 108 | </el-col> |
... | @@ -403,140 +408,139 @@ | ... | @@ -403,140 +408,139 @@ |
403 | </div> | 408 | </div> |
404 | </template> | 409 | </template> |
405 | <script> | 410 | <script> |
406 | import { mapGetters } from "vuex"; | 411 | import { mapGetters } from "vuex"; |
407 | import store from "@/store/index.js"; | 412 | import store from "@/store/index.js"; |
408 | import ywmix from "@/views/ywbl/mixin/index"; | 413 | import ywmix from "@/views/ywbl/mixin/index"; |
409 | import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; | 414 | import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; |
410 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 415 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
411 | import selectTable from "@/components/selectTable/index.vue"; | 416 | import selectTable from "@/components/selectTable/index.vue"; |
412 | import tdytTable from "@/views/workflow/components/tdytTable"; | 417 | import tdytTable from "@/views/workflow/components/tdytTable"; |
413 | export default { | 418 | export default { |
414 | mixins: [ywmix], | 419 | mixins: [ywmix], |
415 | components: { qlrCommonTable, tdytTable, selectTable }, | 420 | components: { qlrCommonTable, tdytTable, selectTable }, |
416 | computed: { | 421 | computed: { |
417 | ...mapGetters(["dictData", "flag"]), | 422 | ...mapGetters(["dictData", "flag"]), |
418 | // 根据流程判断表单是否为只读 | 423 | // 根据流程判断表单是否为只读 |
419 | editDisabled () { | 424 | editDisabled() { |
420 | if (!this.ableOperation) { | 425 | if (!this.ableOperation) { |
421 | //只读状态 | 426 | //只读状态 |
422 | return true; | 427 | 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; | ||
423 | } | 444 | } |
424 | return false; | 445 | return { |
446 | id: node.dcode, | ||
447 | label: node.dname, | ||
448 | }; | ||
425 | }, | 449 | }, |
426 | }, | 450 | //表单是否可操作 |
427 | data () { | 451 | propsParam: this.$attrs, |
428 | return { | 452 | key: 0, |
429 | ssqlxxshow: true, | 453 | // 登记类型 |
430 | props: { | 454 | djlxlist: [ |
431 | label: "bdcqzh", | 455 | { |
432 | value: "bdcdyid", | 456 | dcode: "100", |
457 | dname: "首次登记", | ||
433 | }, | 458 | }, |
434 | // 键名转换,方法默认是label和children进行树状渲染 | 459 | { |
435 | normalizer (node) { | 460 | dcode: "200", |
436 | //方法 | 461 | dname: "转移登记", |
437 | if (node.children == null || node.children == "null") { | 462 | }, |
438 | delete node.children; | 463 | { |
439 | } | 464 | dcode: "300", |
440 | return { | 465 | dname: "变更登记", |
441 | id: node.dcode, | 466 | }, |
442 | label: node.dname, | 467 | { |
443 | }; | 468 | dcode: "500", |
469 | dname: "更正登记", | ||
444 | }, | 470 | }, |
445 | //表单是否可操作 | ||
446 | propsParam: this.$attrs, | ||
447 | key: 0, | ||
448 | // 登记类型 | ||
449 | djlxlist: [ | ||
450 | { | ||
451 | dcode: "100", | ||
452 | dname: "首次登记", | ||
453 | }, | ||
454 | { | ||
455 | dcode: "200", | ||
456 | dname: "转移登记", | ||
457 | }, | ||
458 | { | ||
459 | dcode: "300", | ||
460 | dname: "变更登记", | ||
461 | }, | ||
462 | { | ||
463 | dcode: "500", | ||
464 | dname: "更正登记", | ||
465 | }, | ||
466 | 471 | ||
467 | { | 472 | { |
468 | dcode: "901", | 473 | dcode: "901", |
469 | dname: "补证", | 474 | dname: "补证", |
470 | }, | 475 | }, |
471 | { | 476 | { |
472 | dcode: "902", | 477 | dcode: "902", |
473 | dname: "换证", | 478 | dname: "换证", |
474 | }, | 479 | }, |
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" }, | ||
475 | ], | 502 | ], |
476 | // 权属状态 | 503 | bdcqzhrules: [ |
477 | qsztlist: [ | 504 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
478 | { | ||
479 | dcode: "1", | ||
480 | dname: "现势", | ||
481 | }, | ||
482 | { | ||
483 | dcode: "2", | ||
484 | dname: "历史", | ||
485 | }, | ||
486 | ], | 505 | ], |
487 | isShow: false, | 506 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
488 | disabled: true, | 507 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
489 | czrOptions: [], | 508 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
490 | ssQlxxList: [], | 509 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
491 | ruleForm: {}, | 510 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], |
492 | ableOperation: false, | 511 | ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], |
493 | //传递参数\ | ||
494 | rules: { | ||
495 | ssQlxxrules: [ | ||
496 | { required: true, message: "上手权利信息", trigger: "blur" }, | ||
497 | ], | ||
498 | bdcqzhrules: [ | ||
499 | { required: true, message: "不动产权证号:", trigger: "blur" }, | ||
500 | ], | ||
501 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | ||
502 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | ||
503 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | ||
504 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | ||
505 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], | ||
506 | }, | ||
507 | }; | ||
508 | }, | ||
509 | created () { }, | ||
510 | mounted () { | ||
511 | this.loadData(); | ||
512 | this.ableOperation = this.$parent.ableOperation; | ||
513 | }, | ||
514 | methods: { | ||
515 | /** | ||
516 | * @description: ssQlxxchange | ||
517 | * @param {*} val | ||
518 | * @author: renchao | ||
519 | */ | ||
520 | ssQlxxchange (val) { | ||
521 | this.ruleForm.ssQlxx = val; | ||
522 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
523 | this.ssQlxxchangediolog(val); | ||
524 | }, | 512 | }, |
525 | // 弹框事件 | 513 | }; |
526 | ssQlxxchangediolog (val) { | 514 | }, |
527 | console.log("确定了", this.ruleForm); | 515 | created() {}, |
528 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 516 | mounted() { |
529 | iconClass: "el-icon-question", //自定义图标样式 | 517 | this.loadData(); |
530 | confirmButtonText: "确认", //确认按钮文字更换 | 518 | this.ableOperation = this.$parent.ableOperation; |
531 | cancelButtonText: "取消", //取消按钮文字更换 | 519 | }, |
532 | showClose: true, //是否显示右上角关闭按钮 | 520 | methods: { |
533 | type: "warning", | 521 | /** |
534 | }).then(() => { | 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 | }, | ||
531 | // 弹框事件 | ||
532 | ssQlxxchangediolog(val) { | ||
533 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | ||
534 | iconClass: "el-icon-question", //自定义图标样式 | ||
535 | confirmButtonText: "确认", //确认按钮文字更换 | ||
536 | cancelButtonText: "取消", //取消按钮文字更换 | ||
537 | showClose: true, //是否显示右上角关闭按钮 | ||
538 | type: "warning", | ||
539 | }) | ||
540 | .then(() => { | ||
535 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 541 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
536 | if (res.code == 200) { | 542 | if (res.code == 200) { |
537 | this.nowlist = res.result; | 543 | this.nowlist = res.result; |
538 | console.log("his.nowlist", this.nowlist); | ||
539 | console.log("this.ruleForm", this.ruleForm); | ||
540 | for (var key in this.ruleForm.tdsyq) { | 544 | for (var key in this.ruleForm.tdsyq) { |
541 | if ( | 545 | if ( |
542 | this.ruleForm.tdsyq[key] == "" || | 546 | this.ruleForm.tdsyq[key] == "" || |
... | @@ -547,13 +551,16 @@ | ... | @@ -547,13 +551,16 @@ |
547 | } | 551 | } |
548 | for (var key in this.ruleForm.qlxx) { | 552 | for (var key in this.ruleForm.qlxx) { |
549 | if ( | 553 | if ( |
550 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 554 | this.ruleForm.qlxx[key] == ""|| |
551 | this.ruleForm.qlxx[key] == null | 555 | this.ruleForm.qlxx[key] == null && |
552 | ) { | 556 | key != "ywh" && |
553 | console.log("this.ruleForm.qlxx[key]", key); | 557 | key != "dbr" && |
554 | if (key != "ywh") { | 558 | key != "djsj" && |
559 | key != "ssywh" && | ||
560 | key != "ssywh" && | ||
561 | key != "bdcqzh") { | ||
555 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 562 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
556 | } | 563 | |
557 | } | 564 | } |
558 | } | 565 | } |
559 | if (!this.ruleForm.tdytqxList.length) { | 566 | if (!this.ruleForm.tdytqxList.length) { |
... | @@ -565,93 +572,92 @@ | ... | @@ -565,93 +572,92 @@ |
565 | if (!this.ruleForm.ywrData.length) { | 572 | if (!this.ruleForm.ywrData.length) { |
566 | this.ruleForm.ywrData = this.nowlist.ywrData; | 573 | this.ruleForm.ywrData = this.nowlist.ywrData; |
567 | } | 574 | } |
568 | console.log("this.ruleForm", this.ruleForm); | ||
569 | this.$message({ | 575 | this.$message({ |
570 | type: "success", | 576 | type: "success", |
571 | message: "同步成功!", | 577 | message: "同步成功!", |
572 | }); | 578 | }); |
573 | } | 579 | } |
574 | }); | 580 | }); |
575 | }).catch(() => { | 581 | }) |
582 | .catch(() => { | ||
576 | this.$message({ | 583 | this.$message({ |
577 | type: "info", | 584 | type: "info", |
578 | message: "已取消同步", | 585 | message: "已取消同步", |
579 | }); | 586 | }); |
580 | }); | 587 | }); |
581 | }, | 588 | }, |
582 | /** | 589 | /** |
583 | * @description: djlxchange | 590 | * @description: djlxchange |
584 | * @param {*} val | 591 | * @param {*} val |
585 | * @author: renchao | 592 | * @author: renchao |
586 | */ | 593 | */ |
587 | djlxchange (val) { | 594 | djlxchange(val) { |
588 | console.log("val", val); | 595 | if (val == null || val == 100) { |
589 | if (val == null || val == 100) { | 596 | this.ssqlxxshow = false; |
590 | this.ssqlxxshow = false; | 597 | } else { |
591 | } else { | 598 | this.ssqlxxshow = true; |
592 | this.ssqlxxshow = true; | 599 | } |
593 | } | 600 | }, |
594 | }, | ||
595 | 601 | ||
596 | // 字典 | 602 | // 字典 |
597 | /** | 603 | /** |
598 | * @description: 字典 | 604 | * @description: 字典 |
599 | * @param {*} val | 605 | * @param {*} val |
600 | * @author: renchao | 606 | * @author: renchao |
601 | */ | 607 | */ |
602 | getDictData (val) { | 608 | getDictData(val) { |
603 | return store.getters.dictData[val]; | 609 | return store.getters.dictData[val]; |
604 | }, | 610 | }, |
605 | /** | 611 | /** |
606 | * @description: loadData | 612 | * @description: loadData |
607 | * @author: renchao | 613 | * @author: renchao |
608 | */ | 614 | */ |
609 | loadData () { | 615 | loadData() { |
610 | this.$startLoading(); | 616 | this.$startLoading(); |
611 | this.propsParam.isEdit = this.$parent.isEdit; | 617 | this.propsParam.isEdit = this.$parent.isEdit; |
612 | init(this.propsParam).then((res) => { | 618 | init(this.propsParam).then((res) => { |
613 | if (res.code == 200) { | 619 | if (res.code == 200) { |
614 | this.ruleForm = res.result; | 620 | this.ruleForm = res.result; |
615 | let djlx = this.ruleForm.qlxx.djlx; | 621 | let djlx = this.ruleForm.qlxx.djlx; |
616 | if (djlx == null || djlx == 100) { | 622 | if (djlx == null || djlx == 100) { |
617 | this.ssqlxxshow = false; | 623 | this.ssqlxxshow = false; |
618 | } | ||
619 | this.$endLoading(); | ||
620 | this.isShow = true; | ||
621 | //获取主体信息 | ||
622 | getSsQlxx({ | ||
623 | bdcdyid: this.propsParam.bdcdyid, | ||
624 | qllx: this.propsParam.qllx, | ||
625 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
626 | }).then((res) => { | ||
627 | if (res.code == 200) { | ||
628 | this.ssQlxxList = res.result; | ||
629 | } | ||
630 | }); | ||
631 | } | 624 | } |
632 | }); | 625 | this.$endLoading(); |
633 | }, | 626 | this.isShow = true; |
634 | // 更新土地用途信息 | 627 | //获取主体信息 |
635 | /** | 628 | getSsQlxx({ |
636 | * @description: 更新土地用途信息 | 629 | bdcdyid: this.propsParam.bdcdyid, |
637 | * @param {*} val | 630 | qllx: this.propsParam.qllx, |
638 | * @author: renchao | 631 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, |
639 | */ | 632 | }).then((res) => { |
640 | upDateTdytxxList (val) { | 633 | if (res.code == 200) { |
641 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 634 | this.ssQlxxList = res.result; |
642 | this.key++; | 635 | } |
643 | }, | 636 | }); |
644 | // 更新权利人信息 | 637 | } |
645 | /** | 638 | }); |
646 | * @description: 更新权利人信息 | 639 | }, |
647 | * @param {*} val | 640 | // 更新土地用途信息 |
648 | * @author: renchao | 641 | /** |
649 | */ | 642 | * @description: 更新土地用途信息 |
650 | upDateQlrxxList (val) { | 643 | * @param {*} val |
651 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | 644 | * @author: renchao |
652 | this.czrOptions = this.ruleForm.qlrData; | 645 | */ |
653 | this.key++; | 646 | upDateTdytxxList(val) { |
654 | }, | 647 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
648 | this.key++; | ||
649 | }, | ||
650 | // 更新权利人信息 | ||
651 | /** | ||
652 | * @description: 更新权利人信息 | ||
653 | * @param {*} val | ||
654 | * @author: renchao | ||
655 | */ | ||
656 | upDateQlrxxList(val) { | ||
657 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
658 | this.czrOptions = this.ruleForm.qlrData; | ||
659 | this.key++; | ||
660 | }, | ||
655 | /** | 661 | /** |
656 | * @description: onSubmit | 662 | * @description: onSubmit |
657 | * @author: renchao | 663 | * @author: renchao | ... | ... |
... | @@ -40,19 +40,17 @@ | ... | @@ -40,19 +40,17 @@ |
40 | </el-form-item> | 40 | </el-form-item> |
41 | </el-col> | 41 | </el-col> |
42 | </el-row> | 42 | </el-row> |
43 | <div class="slxx_title title-block"> | 43 | <div class="slxx_title title-block bdcqk"> |
44 | 预告抵押登记信息不动产情况 | 44 | 预告抵押不动产情况 |
45 | <div class="triangle"></div> | 45 | <div class="count"> |
46 | </div> | ||
47 | <el-row :gutter="10"> | ||
48 | <el-col :span="8" v-if="ztQlxxList"> | ||
49 | <el-form-item | 46 | <el-form-item |
50 | label="抵押不动产信息:" | 47 | label="预告抵押不动产情况" |
51 | prop="ztQlxx" | 48 | prop="ztQlxx.bdcqzh" |
52 | :rules="rules.ztQlxxrules"> | 49 | :rules="rules.ztQlxxrules" |
50 | > | ||
53 | <select-table | 51 | <select-table |
54 | v-model="ruleForm.ztQlxx" | 52 | v-model="ruleForm.ztQlxx" |
55 | :table-width="550" | 53 | :table-width="730" |
56 | :tableData="ztQlxxList" | 54 | :tableData="ztQlxxList" |
57 | :props="props" | 55 | :props="props" |
58 | @change="ztQlxxchange"> | 56 | @change="ztQlxxchange"> |
... | @@ -63,43 +61,20 @@ | ... | @@ -63,43 +61,20 @@ |
63 | <el-table-column | 61 | <el-table-column |
64 | prop="bdcqzh" | 62 | prop="bdcqzh" |
65 | width="160" | 63 | width="160" |
66 | label="不动产权证书"></el-table-column> | 64 | label="不动产权证书" |
67 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 65 | ></el-table-column> |
68 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
69 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
70 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
71 | </select-table> | ||
72 | </el-form-item> | ||
73 | </el-col> | ||
74 | |||
75 | <el-col :span="8" v-if="ssqlxxshow"> | ||
76 | <el-form-item | ||
77 | label="上手权利信息:" | ||
78 | prop="ssQlxx.bdcqzh" | ||
79 | :rules="rules.ssQlxxrules"> | ||
80 | <select-table | ||
81 | v-model="ruleForm.ssQlxx" | ||
82 | :table-width="550" | ||
83 | :tableData="ssQlxxList" | ||
84 | :props="props" | ||
85 | @change="ssQlxxchange"> | ||
86 | <el-table-column | ||
87 | prop="qllxmc" | ||
88 | width="130" | ||
89 | label="权利类型"></el-table-column> | ||
90 | <el-table-column | 66 | <el-table-column |
91 | prop="bdcqzh" | 67 | prop="qlrmc" |
92 | width="160" | 68 | label="被执行人" |
93 | label="不动产权证书"></el-table-column> | 69 | ></el-table-column> |
94 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
95 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 70 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
96 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 71 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
97 | <el-table-column prop="zl" label="坐落"></el-table-column> | 72 | <el-table-column prop="zl" label="坐落"></el-table-column> |
98 | </select-table> | 73 | </select-table> |
99 | </el-form-item> | 74 | </el-form-item> |
100 | </el-col> | 75 | </div> |
101 | </el-row> | 76 | <div class="triangle"></div> |
102 | 77 | </div> | |
103 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 78 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> |
104 | <el-col :span="8"> | 79 | <el-col :span="8"> |
105 | <el-form-item label="权利人:"> | 80 | <el-form-item label="权利人:"> |
... | @@ -151,8 +126,38 @@ | ... | @@ -151,8 +126,38 @@ |
151 | </el-form-item> | 126 | </el-form-item> |
152 | </el-col> | 127 | </el-col> |
153 | </el-row> | 128 | </el-row> |
154 | <div class="slxx_title title-block"> | 129 | <div class="slxx_title title-block bdcqk"> |
155 | 预告登记信息 | 130 | 预告登记信息 |
131 | <div class="count" v-if="ssqlxxshow"> | ||
132 | <el-form-item | ||
133 | label="上手权利信息:" | ||
134 | prop="ssQlxx.bdcqzh" | ||
135 | :rules="rules.ssQlxxrules" | ||
136 | > | ||
137 | <select-table | ||
138 | v-model="ruleForm.ssQlxx" | ||
139 | :table-width="730" | ||
140 | :tableData="ssQlxxList" | ||
141 | :props="props" | ||
142 | @change="ssQlxxchange" | ||
143 | > | ||
144 | <el-table-column | ||
145 | prop="qllxmc" | ||
146 | width="130" | ||
147 | label="权利类型" | ||
148 | ></el-table-column> | ||
149 | <el-table-column | ||
150 | prop="bdcqzh" | ||
151 | width="160" | ||
152 | label="不动产权证书" | ||
153 | ></el-table-column> | ||
154 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
155 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
156 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
157 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
158 | </select-table> | ||
159 | </el-form-item> | ||
160 | </div> | ||
156 | <div class="triangle"></div> | 161 | <div class="triangle"></div> |
157 | </div> | 162 | </div> |
158 | <el-row :gutter="10"> | 163 | <el-row :gutter="10"> |
... | @@ -613,90 +618,90 @@ | ... | @@ -613,90 +618,90 @@ |
613 | ableOperation: false, | 618 | ableOperation: false, |
614 | }; | 619 | }; |
615 | }, | 620 | }, |
616 | created () { | 621 | created() { |
617 | this.loadData(); | 622 | this.loadData(); |
623 | }, | ||
624 | mounted() { | ||
625 | this.ableOperation = this.$parent.ableOperation; | ||
626 | }, | ||
627 | methods: { | ||
628 | /** | ||
629 | * @description: ztQlxxchange | ||
630 | * @param {*} val | ||
631 | * @author: renchao | ||
632 | */ | ||
633 | ztQlxxchange(val) { | ||
634 | this.ruleForm.ztQlxx = val; | ||
618 | }, | 635 | }, |
619 | mounted () { | 636 | /** |
620 | this.ableOperation = this.$parent.ableOperation; | 637 | * @description: ssQlxxchange |
638 | * @param {*} val | ||
639 | * @author: renchao | ||
640 | */ | ||
641 | ssQlxxchange(val) { | ||
642 | this.ruleForm.ssQlxx = val; | ||
643 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
644 | this.ssQlxxchangediolog(val); | ||
621 | }, | 645 | }, |
622 | methods: { | 646 | // 弹框事件 |
623 | /** | 647 | ssQlxxchangediolog(val) { |
624 | * @description: ztQlxxchange | 648 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
625 | * @param {*} val | 649 | iconClass: "el-icon-question", //自定义图标样式 |
626 | * @author: renchao | 650 | confirmButtonText: "确认", //确认按钮文字更换 |
627 | */ | 651 | cancelButtonText: "取消", //取消按钮文字更换 |
628 | ztQlxxchange (val) { | 652 | showClose: true, //是否显示右上角关闭按钮 |
629 | this.ruleForm.ztQlxx = val; | 653 | type: "warning", |
630 | }, | 654 | }) |
631 | /** | 655 | .then(() => { |
632 | * @description: ssQlxxchange | 656 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
633 | * @param {*} val | 657 | if (res.code == 200) { |
634 | * @author: renchao | 658 | this.nowlist = res.result; |
635 | */ | 659 | for (var key in this.ruleForm.ygdj) { |
636 | ssQlxxchange (val) { | 660 | if ( |
637 | this.ruleForm.ssQlxx = val; | 661 | this.ruleForm.ygdj[key] == "" || |
638 | this.ruleForm.qlxx.ssywh = val.ywh; | 662 | this.ruleForm.ygdj[key] == null |
639 | this.ssQlxxchangediolog(val); | 663 | ) { |
640 | }, | 664 | this.ruleForm.ygdj[key] = this.nowlist.ygdj[key]; |
641 | // 弹框事件 | ||
642 | ssQlxxchangediolog (val) { | ||
643 | console.log("确定了", this.ruleForm); | ||
644 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | ||
645 | iconClass: "el-icon-question", //自定义图标样式 | ||
646 | confirmButtonText: "确认", //确认按钮文字更换 | ||
647 | cancelButtonText: "取消", //取消按钮文字更换 | ||
648 | showClose: true, //是否显示右上角关闭按钮 | ||
649 | type: "warning", | ||
650 | }) | ||
651 | .then(() => { | ||
652 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | ||
653 | if (res.code == 200) { | ||
654 | this.nowlist = res.result; | ||
655 | console.log("his.nowlist", this.nowlist); | ||
656 | console.log("this.ruleForm", this.ruleForm); | ||
657 | for (var key in this.ruleForm.ygdj) { | ||
658 | if ( | ||
659 | this.ruleForm.ygdj[key] == "" || | ||
660 | this.ruleForm.ygdj[key] == null | ||
661 | ) { | ||
662 | this.ruleForm.ygdj[key] = this.nowlist.ygdj[key]; | ||
663 | } | ||
664 | } | ||
665 | for (var key in this.ruleForm.qlxx) { | ||
666 | if ( | ||
667 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | ||
668 | this.ruleForm.qlxx[key] == null | ||
669 | ) { | ||
670 | console.log("this.ruleForm.qlxx[key]", key); | ||
671 | if (key != "ywh") { | ||
672 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | ||
673 | } | ||
674 | } | ||
675 | } | ||
676 | if (!this.ruleForm.tdytqxList.length) { | ||
677 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
678 | } | ||
679 | if (!this.ruleForm.qlrData.length) { | ||
680 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
681 | } | 665 | } |
682 | if (!this.ruleForm.ywrData.length) { | 666 | } |
683 | this.ruleForm.ywrData = this.nowlist.ywrData; | 667 | for (var key in this.ruleForm.qlxx) { |
668 | if ( | ||
669 | this.ruleForm.qlxx[key] == ""|| | ||
670 | this.ruleForm.qlxx[key] == null && | ||
671 | key != "ywh" && | ||
672 | key != "dbr" && | ||
673 | key != "djsj" && | ||
674 | key != "ssywh" && | ||
675 | key != "ssywh" && | ||
676 | key != "bdcqzh") { | ||
677 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | ||
678 | |||
684 | } | 679 | } |
685 | console.log("this.ruleForm", this.ruleForm); | ||
686 | this.$message({ | ||
687 | type: "success", | ||
688 | message: "同步成功!", | ||
689 | }); | ||
690 | } | 680 | } |
691 | }); | 681 | if (!this.ruleForm.tdytqxList.length) { |
692 | }) | 682 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; |
693 | .catch(() => { | 683 | } |
694 | this.$message({ | 684 | if (!this.ruleForm.qlrData.length) { |
695 | type: "info", | 685 | this.ruleForm.qlrData = this.nowlist.qlrData; |
696 | message: "已取消同步", | 686 | } |
697 | }); | 687 | if (!this.ruleForm.ywrData.length) { |
688 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
689 | } | ||
690 | this.$message({ | ||
691 | type: "success", | ||
692 | message: "同步成功!", | ||
693 | }); | ||
694 | } | ||
698 | }); | 695 | }); |
699 | }, | 696 | }) |
697 | .catch(() => { | ||
698 | this.$message({ | ||
699 | type: "info", | ||
700 | message: "已取消同步", | ||
701 | }); | ||
702 | }); | ||
703 | }, | ||
704 | |||
700 | /** | 705 | /** |
701 | * @description: djlxchange | 706 | * @description: djlxchange |
702 | * @param {*} val | 707 | * @param {*} val | ... | ... |
... | @@ -40,19 +40,16 @@ | ... | @@ -40,19 +40,16 @@ |
40 | </el-form-item> | 40 | </el-form-item> |
41 | </el-col> | 41 | </el-col> |
42 | </el-row> | 42 | </el-row> |
43 | <div class="slxx_title title-block"> | 43 | <div class="slxx_title title-block bdcqk"> |
44 | 预告买卖登记信息不动产情况 | 44 | 预告买卖不动产情况 |
45 | <div class="triangle"></div> | 45 | <div class="count" v-if="ssqlxxshow"> |
46 | </div> | ||
47 | <el-row :gutter="24"> | ||
48 | <el-col :span="24" v-if="ssqlxxshow"> | ||
49 | <el-form-item | 46 | <el-form-item |
50 | label="上手权利信息:" | 47 | label="上手权利信息:" |
51 | prop="ssQlxx.bdcqzh" | 48 | prop="ssQlxx.bdcqzh" |
52 | :rules="rules.ssQlxxrules"> | 49 | :rules="rules.ssQlxxrules"> |
53 | <select-table | 50 | <select-table |
54 | v-model="ruleForm.ssQlxx" | 51 | v-model="ruleForm.ssQlxx" |
55 | :table-width="550" | 52 | :table-width="730" |
56 | :tableData="ssQlxxList" | 53 | :tableData="ssQlxxList" |
57 | :props="props" | 54 | :props="props" |
58 | @change="ssQlxxchange"> | 55 | @change="ssQlxxchange"> |
... | @@ -70,8 +67,9 @@ | ... | @@ -70,8 +67,9 @@ |
70 | <el-table-column prop="zl" label="坐落"></el-table-column> | 67 | <el-table-column prop="zl" label="坐落"></el-table-column> |
71 | </select-table> | 68 | </select-table> |
72 | </el-form-item> | 69 | </el-form-item> |
73 | </el-col> | 70 | </div> |
74 | </el-row> | 71 | <div class="triangle"></div> |
72 | </div> | ||
75 | <el-row :gutter="10"> | 73 | <el-row :gutter="10"> |
76 | <el-col :span="8"> | 74 | <el-col :span="8"> |
77 | <el-form-item label="上手业务号:"> | 75 | <el-form-item label="上手业务号:"> |
... | @@ -511,10 +509,13 @@ | ... | @@ -511,10 +509,13 @@ |
511 | dname: "历史", | 509 | dname: "历史", |
512 | }, | 510 | }, |
513 | ], | 511 | ], |
514 | //传递参数\ | 512 | //传递参数\ |
515 | rules: { | 513 | rules: { |
514 | ztQlxxrules: [ | ||
515 | { required: true, message: "抵押不动产信息", trigger: "blur" }, | ||
516 | ], | ||
516 | bdcqzhrules: [ | 517 | bdcqzhrules: [ |
517 | { required: true, message: "不动产权证号:", trigger: "blur" }, | 518 | { required: true, message: "不动产登记证明号", trigger: "blur" }, |
518 | ], | 519 | ], |
519 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 520 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
520 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 521 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
... | @@ -532,38 +533,44 @@ | ... | @@ -532,38 +533,44 @@ |
532 | ableOperation: false, | 533 | ableOperation: false, |
533 | }; | 534 | }; |
534 | }, | 535 | }, |
535 | created () { | 536 | created() { |
536 | this.loadData(); | 537 | this.loadData(); |
538 | }, | ||
539 | mounted() { | ||
540 | this.ableOperation = this.$parent.ableOperation; | ||
541 | }, | ||
542 | methods: { | ||
543 | /** | ||
544 | * @description: ztQlxxchange | ||
545 | * @param {*} val | ||
546 | * @author: renchao | ||
547 | */ | ||
548 | ztQlxxchange(val) { | ||
549 | this.ruleForm.ztQlxx = val; | ||
537 | }, | 550 | }, |
538 | mounted () { | 551 | /** |
539 | this.ableOperation = this.$parent.ableOperation; | 552 | * @description: ssQlxxchange |
553 | * @param {*} val | ||
554 | * @author: renchao | ||
555 | */ | ||
556 | ssQlxxchange(val) { | ||
557 | this.ruleForm.ssQlxx = val; | ||
558 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
559 | this.ssQlxxchangediolog(val); | ||
540 | }, | 560 | }, |
541 | methods: { | 561 | // 弹框事件 |
542 | /** | 562 | ssQlxxchangediolog(val) { |
543 | * @description: ssQlxxchange | 563 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
544 | * @param {*} val | 564 | iconClass: "el-icon-question", //自定义图标样式 |
545 | * @author: renchao | 565 | confirmButtonText: "确认", //确认按钮文字更换 |
546 | */ | 566 | cancelButtonText: "取消", //取消按钮文字更换 |
547 | ssQlxxchange (val) { | 567 | showClose: true, //是否显示右上角关闭按钮 |
548 | this.ruleForm.ssQlxx = val; | 568 | type: "warning", |
549 | this.ruleForm.qlxx.ssywh = val.ywh; | 569 | }) |
550 | this.ssQlxxchangediolog(val); | 570 | .then(() => { |
551 | }, | ||
552 | // 弹框事件 | ||
553 | ssQlxxchangediolog (val) { | ||
554 | console.log("确定了", this.ruleForm); | ||
555 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | ||
556 | iconClass: "el-icon-question", //自定义图标样式 | ||
557 | confirmButtonText: "确认", //确认按钮文字更换 | ||
558 | cancelButtonText: "取消", //取消按钮文字更换 | ||
559 | showClose: true, //是否显示右上角关闭按钮 | ||
560 | type: "warning", | ||
561 | }).then(() => { | ||
562 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 571 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
563 | if (res.code == 200) { | 572 | if (res.code == 200) { |
564 | this.nowlist = res.result; | 573 | this.nowlist = res.result; |
565 | console.log("his.nowlist", this.nowlist); | ||
566 | console.log("this.ruleForm", this.ruleForm); | ||
567 | for (var key in this.ruleForm.ygdj) { | 574 | for (var key in this.ruleForm.ygdj) { |
568 | if ( | 575 | if ( |
569 | this.ruleForm.ygdj[key] == "" || | 576 | this.ruleForm.ygdj[key] == "" || |
... | @@ -573,14 +580,17 @@ | ... | @@ -573,14 +580,17 @@ |
573 | } | 580 | } |
574 | } | 581 | } |
575 | for (var key in this.ruleForm.qlxx) { | 582 | for (var key in this.ruleForm.qlxx) { |
576 | if ( | 583 | if ( |
577 | (this.ruleForm.qlxx[key] == null && key != "ywh") || | 584 | this.ruleForm.qlxx[key] == ""|| |
578 | this.ruleForm.qlxx[key] == null | 585 | this.ruleForm.qlxx[key] == null && |
579 | ) { | 586 | key != "ywh" && |
580 | console.log("this.ruleForm.qlxx[key]", key); | 587 | key != "dbr" && |
581 | if (key != "ywh") { | 588 | key != "djsj" && |
589 | key != "ssywh" && | ||
590 | key != "ssywh" && | ||
591 | key != "bdcqzh") { | ||
582 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | 592 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; |
583 | } | 593 | |
584 | } | 594 | } |
585 | } | 595 | } |
586 | if (!this.ruleForm.tdytqxList.length) { | 596 | if (!this.ruleForm.tdytqxList.length) { |
... | @@ -592,20 +602,20 @@ | ... | @@ -592,20 +602,20 @@ |
592 | if (!this.ruleForm.ywrData.length) { | 602 | if (!this.ruleForm.ywrData.length) { |
593 | this.ruleForm.ywrData = this.nowlist.ywrData; | 603 | this.ruleForm.ywrData = this.nowlist.ywrData; |
594 | } | 604 | } |
595 | console.log("this.ruleForm", this.ruleForm); | ||
596 | this.$message({ | 605 | this.$message({ |
597 | type: "success", | 606 | type: "success", |
598 | message: "同步成功!", | 607 | message: "同步成功!", |
599 | }); | 608 | }); |
600 | } | 609 | } |
601 | }); | 610 | }); |
602 | }).catch(() => { | 611 | }) |
612 | .catch(() => { | ||
603 | this.$message({ | 613 | this.$message({ |
604 | type: "info", | 614 | type: "info", |
605 | message: "已取消同步", | 615 | message: "已取消同步", |
606 | }); | 616 | }); |
607 | }); | 617 | }); |
608 | }, | 618 | }, |
609 | /** | 619 | /** |
610 | * @description: djlxchange | 620 | * @description: djlxchange |
611 | * @param {*} val | 621 | * @param {*} val | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 15:53:54 | 4 | * @LastEditTime: 2023-08-02 08:38:11 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -14,8 +14,8 @@ | ... | @@ -14,8 +14,8 @@ |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | inline-message | ||
18 | :show-message="false" | 17 | :show-message="false" |
18 | inline-message | ||
19 | label-width="145px"> | 19 | label-width="145px"> |
20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
21 | <div class="slxx_title title-block"> | 21 | <div class="slxx_title title-block"> |
... | @@ -39,46 +39,16 @@ | ... | @@ -39,46 +39,16 @@ |
39 | </el-form-item> | 39 | </el-form-item> |
40 | </el-col> | 40 | </el-col> |
41 | </el-row> | 41 | </el-row> |
42 | <div class="slxx_title title-block"> | 42 | <div class="slxx_title title-block bdcqk"> |
43 | 异议登记不动产情况 | 43 | 房地产权信息 |
44 | <div class="triangle"></div> | 44 | <div class="count" v-if="ssqlxxshow"> |
45 | </div> | ||
46 | <el-row :gutter="10"> | ||
47 | <el-col :span="8"> | ||
48 | <el-form-item | ||
49 | label="抵押不动产信息:" | ||
50 | prop="ztQlxx.bdcqzh" | ||
51 | :rules="rules.ztQlxxrules"> | ||
52 | <select-table | ||
53 | v-model="ruleForm.ztQlxx" | ||
54 | :table-width="550" | ||
55 | :tableData="ztQlxxList" | ||
56 | :props="props" | ||
57 | @change="ztQlxxchange"> | ||
58 | <el-table-column | ||
59 | prop="qllxmc" | ||
60 | width="130" | ||
61 | label="权利类型"></el-table-column> | ||
62 | <el-table-column | ||
63 | prop="bdcqzh" | ||
64 | width="160" | ||
65 | label="不动产权证书"></el-table-column> | ||
66 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | ||
67 | <el-table-column prop="mjmc" label="面积"></el-table-column> | ||
68 | <el-table-column prop="ytmc" label="用途"></el-table-column> | ||
69 | <el-table-column prop="zl" label="坐落"></el-table-column> | ||
70 | </select-table> | ||
71 | </el-form-item> | ||
72 | </el-col> | ||
73 | |||
74 | <el-col :span="8" v-if="ssqlxxshow"> | ||
75 | <el-form-item | 45 | <el-form-item |
76 | label="上手权利信息:" | 46 | label="上手权利信息:" |
77 | prop="ssQlxx.bdcqzh" | 47 | prop="ssQlxx.bdcqzh" |
78 | :rules="rules.ssQlxxrules"> | 48 | :rules="rules.ssQlxxrules"> |
79 | <select-table | 49 | <select-table |
80 | v-model="ruleForm.ssQlxx" | 50 | v-model="ruleForm.ssQlxx" |
81 | :table-width="550" | 51 | :table-width="730" |
82 | :tableData="ssQlxxList" | 52 | :tableData="ssQlxxList" |
83 | :props="props" | 53 | :props="props" |
84 | @change="ssQlxxchange"> | 54 | @change="ssQlxxchange"> |
... | @@ -96,35 +66,48 @@ | ... | @@ -96,35 +66,48 @@ |
96 | <el-table-column prop="zl" label="坐落"></el-table-column> | 66 | <el-table-column prop="zl" label="坐落"></el-table-column> |
97 | </select-table> | 67 | </select-table> |
98 | </el-form-item> | 68 | </el-form-item> |
99 | </el-col> | 69 | </div> |
100 | </el-row> | 70 | <div class="triangle"></div> |
101 | 71 | </div> | |
102 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 72 | <el-row :gutter="10"> |
103 | <el-col :span="8"> | 73 | <el-col :span="8"> |
104 | <el-form-item label="权利人:"> | 74 | <el-form-item label="不动产单元号:"> |
105 | <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input> | 75 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> |
106 | </el-form-item> | 76 | </el-form-item> |
107 | </el-col> | 77 | </el-col> |
108 | <el-col :span="8"> | 78 | <el-col :span="8"> |
109 | <el-form-item label="证件种类:"> | 79 | <el-form-item |
110 | <el-input disabled v-model="ruleForm.ztQlxx.qlrzjzl"></el-input> | 80 | label="业务号:" |
81 | prop="qlxx.ywh" | ||
82 | :rules="rules.ywhrules"> | ||
83 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
111 | </el-form-item> | 84 | </el-form-item> |
112 | </el-col> | 85 | </el-col> |
113 | <el-col :span="8"> | 86 | <el-col :span="8"> |
114 | <el-form-item label="证件号:"> | 87 | <el-form-item label="上手业务号:"> |
115 | <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input> | 88 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
116 | </el-form-item> | 89 | </el-form-item> |
117 | </el-col> | 90 | </el-col> |
118 | </el-row> | 91 | </el-row> |
119 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 92 | <el-row :gutter="10"> |
120 | <el-col :span="8"> | 93 | <el-col :span="8"> |
121 | <el-form-item label="权利类型:"> | 94 | <el-form-item label="权利类型:"> |
122 | <el-input disabled v-model="ruleForm.ztQlxx.qllxmc"></el-input> | 95 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> |
123 | </el-form-item> | 96 | </el-form-item> |
124 | </el-col> | 97 | </el-col> |
125 | <el-col :span="8"> | 98 | <el-col :span="8"> |
126 | <el-form-item label="不动产权证号:"> | 99 | <el-form-item |
127 | <el-input disabled v-model="ruleForm.ztQlxx.bdcqzh"></el-input> | 100 | label="登记类型:" |
101 | prop="qlxx.djlx" | ||
102 | :rules="rules.djlxrules"> | ||
103 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | ||
104 | <el-option | ||
105 | v-for="item in djlxlist" | ||
106 | :key="item.dcode" | ||
107 | :label="item.dname" | ||
108 | :value="item.dcode"> | ||
109 | </el-option> | ||
110 | </el-select> | ||
128 | </el-form-item> | 111 | </el-form-item> |
129 | </el-col> | 112 | </el-col> |
130 | <el-col :span="8"> | 113 | <el-col :span="8"> |
... | @@ -132,67 +115,129 @@ | ... | @@ -132,67 +115,129 @@ |
132 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> | 115 | <el-input disabled v-model="ruleForm.sldy.zl"></el-input> |
133 | </el-form-item> | 116 | </el-form-item> |
134 | </el-col> | 117 | </el-col> |
135 | </el-row> | ||
136 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | ||
137 | <el-col :span="8"> | 118 | <el-col :span="8"> |
138 | <el-form-item label="不动产单元号:"> | 119 | <el-form-item label="土地使用权人:"> |
139 | <el-input disabled v-model="ruleForm.ztQlxx.bdcdyh"></el-input> | 120 | <el-input v-model="ruleForm.fdcq2.tdsyqr"></el-input> |
140 | </el-form-item> | 121 | </el-form-item> |
141 | </el-col> | 122 | </el-col> |
142 | <el-col :span="8"> | 123 | <el-col :span="8"> |
143 | <el-form-item label="面积:"> | 124 | <el-form-item label="独用土地面积:"> |
144 | <el-input disabled v-model="ruleForm.ztQlxx.mjmc"></el-input> | 125 | <div class="flex"> |
126 | <el-input | ||
127 | v-model="ruleForm.fdcq2.dytdmj" | ||
128 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
129 | <el-select disabled v-model="mjdw" style="width: 20%"> | ||
130 | <el-option | ||
131 | v-for="item in dictData['A7']" | ||
132 | :key="item.dcode" | ||
133 | :label="item.dname" | ||
134 | :value="item.dcode"> | ||
135 | </el-option> | ||
136 | </el-select> | ||
137 | </div> | ||
145 | </el-form-item> | 138 | </el-form-item> |
146 | </el-col> | 139 | </el-col> |
147 | <el-col :span="8"> | 140 | <el-col :span="8"> |
148 | <el-form-item label="用途:"> | 141 | <el-form-item label="分摊土地面积:"> |
149 | <el-input disabled v-model="ruleForm.ztQlxx.ytmc"></el-input> | 142 | <div class="flex"> |
143 | <el-input | ||
144 | v-model="ruleForm.fdcq2.fttdmj" | ||
145 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
146 | <el-select disabled v-model="mjdw" style="width: 20%"> | ||
147 | <el-option | ||
148 | v-for="item in dictData['A7']" | ||
149 | :key="item.dcode" | ||
150 | :label="item.dname" | ||
151 | :value="item.dcode"> | ||
152 | </el-option> | ||
153 | </el-select> | ||
154 | </div> | ||
150 | </el-form-item> | 155 | </el-form-item> |
151 | </el-col> | 156 | </el-col> |
152 | </el-row> | ||
153 | <div class="slxx_title title-block"> | ||
154 | 异议登记信息 | ||
155 | <div class="triangle"></div> | ||
156 | </div> | ||
157 | <el-row :gutter="10"> | ||
158 | <el-col :span="8"> | 157 | <el-col :span="8"> |
159 | <el-form-item label="不动产单元号:"> | 158 | <!-- 下拉框 --> |
160 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | 159 | <el-form-item label="土地性质:" style="margin-bottom: 3px"> |
160 | <treeselect | ||
161 | v-model="ruleForm.fdcq2.tdxz" | ||
162 | noOptionsText="暂无数据" | ||
163 | placeholder="" | ||
164 | :normalizer="normalizer" | ||
165 | :show-count="true" | ||
166 | :options="dictData['A9']" /> | ||
161 | </el-form-item> | 167 | </el-form-item> |
162 | </el-col> | 168 | </el-col> |
163 | <el-col :span="8"> | 169 | <el-col :span="8"> |
164 | <el-form-item | 170 | <el-form-item label="房地产交易价格:"> |
165 | label="业务号:" | 171 | <div class="flex"> |
166 | prop="qlxx.ywh" | 172 | <el-input |
167 | :rules="rules.ywhrules"> | 173 | v-model="ruleForm.fdcq2.qjjg" |
168 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 174 | style="width: 500%" |
175 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
176 | <el-select v-model="ruleForm.fdcq2.jedw"> | ||
177 | <el-option | ||
178 | v-for="item in dictData['A57']" | ||
179 | :key="item.dcode" | ||
180 | :label="item.dname" | ||
181 | :value="item.dcode"> | ||
182 | </el-option> | ||
183 | </el-select> | ||
184 | </div> | ||
169 | </el-form-item> | 185 | </el-form-item> |
170 | </el-col> | 186 | </el-col> |
171 | <el-col :span="8"> | 187 | <el-col :span="8"> |
172 | <el-form-item label="上手业务号:"> | 188 | <el-form-item label="权属状态:"> |
173 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | 189 | <el-select v-model="ruleForm.qlxx.qszt"> |
190 | <el-option | ||
191 | v-for="item in qsztlist" | ||
192 | :key="item.dcode" | ||
193 | :label="item.dname" | ||
194 | :value="item.dcode"> | ||
195 | </el-option> | ||
196 | </el-select> | ||
174 | </el-form-item> | 197 | </el-form-item> |
175 | </el-col> | 198 | </el-col> |
176 | </el-row> | 199 | <el-col :span="8"> |
177 | <el-row :gutter="10"> | 200 | <el-form-item label="规划用途:"> |
178 | <!-- <el-col :span="8"> | 201 | <el-select v-model="ruleForm.fdcq2.ghyt"> |
179 | <el-form-item label="权利类型:"> | 202 | <el-option |
180 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | 203 | v-for="item in dictData['A17']" |
204 | :key="item.dcode" | ||
205 | :label="item.dname" | ||
206 | :value="item.dcode"> | ||
207 | </el-option> | ||
208 | </el-select> | ||
181 | </el-form-item> | 209 | </el-form-item> |
182 | </el-col> --> | 210 | </el-col> |
183 | <!-- <el-col :span="8"> | 211 | <el-col :span="8"> |
184 | <el-form-item label="登记原因:"> | 212 | <el-form-item label="批准用途:"> |
185 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | 213 | <el-input v-model="ruleForm.fdcq2.pzyt"></el-input> |
186 | </el-form-item> | 214 | </el-form-item> |
187 | </el-col> --> | 215 | </el-col> |
216 | <el-col :span="8"> | ||
217 | <el-form-item label="实际用途:"> | ||
218 | <el-input v-model="ruleForm.fdcq2.sjyt"></el-input> | ||
219 | </el-form-item> | ||
220 | </el-col> | ||
221 | <el-col :span="8"> | ||
222 | <el-form-item label="房屋性质:"> | ||
223 | <el-select v-model="ruleForm.fdcq2.fwxz"> | ||
224 | <el-option | ||
225 | v-for="item in dictData['A19']" | ||
226 | :key="item.dcode" | ||
227 | :label="item.dname" | ||
228 | :value="item.dcode"> | ||
229 | </el-option> | ||
230 | </el-select> | ||
231 | </el-form-item> | ||
232 | </el-col> | ||
188 | <el-col :span="8"> | 233 | <el-col :span="8"> |
189 | <el-form-item | 234 | <el-form-item |
190 | label="登记类型:" | 235 | label="房屋结构:" |
191 | prop="qlxx.djlx" | 236 | prop="fdcq2.fwjg" |
192 | :rules="rules.djlxrules"> | 237 | :rules="rules.fwjgrules"> |
193 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | 238 | <el-select v-model="ruleForm.fdcq2.fwjg"> |
194 | <el-option | 239 | <el-option |
195 | v-for="item in djlxlist" | 240 | v-for="item in dictData['A46']" |
196 | :key="item.dcode" | 241 | :key="item.dcode" |
197 | :label="item.dname" | 242 | :label="item.dname" |
198 | :value="item.dcode"> | 243 | :value="item.dcode"> |
... | @@ -200,11 +245,80 @@ | ... | @@ -200,11 +245,80 @@ |
200 | </el-select> | 245 | </el-select> |
201 | </el-form-item> | 246 | </el-form-item> |
202 | </el-col> | 247 | </el-col> |
203 | <!-- <el-col :span="8"> | 248 | <el-col :span="8"> |
204 | <el-form-item label="不动产坐落:"> | 249 | <el-form-item label="所在层:"> |
205 | <el-input v-model="ruleForm.qlxx.zl"></el-input> | 250 | <el-input v-model="ruleForm.fdcq2.szc"></el-input> |
206 | </el-form-item> | 251 | </el-form-item> |
207 | </el-col> --> | 252 | </el-col> |
253 | <el-col :span="8"> | ||
254 | <el-form-item label="总层数:"> | ||
255 | <el-input v-model="ruleForm.fdcq2.zcs"></el-input> | ||
256 | </el-form-item> | ||
257 | </el-col> | ||
258 | <el-col :span="8"> | ||
259 | <el-form-item label="建筑面积:"> | ||
260 | <div class="flex"> | ||
261 | <el-input | ||
262 | v-model="ruleForm.fdcq2.jzmj" | ||
263 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
264 | <el-select disabled v-model="mjdw" style="width: 20%"> | ||
265 | <el-option | ||
266 | v-for="item in dictData['A7']" | ||
267 | :key="item.dcode" | ||
268 | :label="item.dname" | ||
269 | :value="item.dcode"> | ||
270 | </el-option> | ||
271 | </el-select> | ||
272 | </div> | ||
273 | </el-form-item> | ||
274 | </el-col> | ||
275 | <el-col :span="8"> | ||
276 | <el-form-item label="专有建筑面积:"> | ||
277 | <div class="flex"> | ||
278 | <el-input | ||
279 | v-model="ruleForm.fdcq2.zyjzmj" | ||
280 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
281 | <el-select disabled v-model="mjdw" style="width: 20%"> | ||
282 | <el-option | ||
283 | v-for="item in dictData['A7']" | ||
284 | :key="item.dcode" | ||
285 | :label="item.dname" | ||
286 | :value="item.dcode"> | ||
287 | </el-option> | ||
288 | </el-select> | ||
289 | </div> | ||
290 | </el-form-item> | ||
291 | </el-col> | ||
292 | <el-col :span="8"> | ||
293 | <el-form-item label="分摊建筑面积:"> | ||
294 | <div class="flex"> | ||
295 | <el-input | ||
296 | v-model="ruleForm.fdcq2.ftjzmj" | ||
297 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | ||
298 | <el-select disabled v-model="mjdw" style="width: 20%"> | ||
299 | <el-option | ||
300 | v-for="item in dictData['A7']" | ||
301 | :key="item.dcode" | ||
302 | :label="item.dname" | ||
303 | :value="item.dcode"> | ||
304 | </el-option> | ||
305 | </el-select> | ||
306 | </div> | ||
307 | </el-form-item> | ||
308 | </el-col> | ||
309 | <el-col :span="8"> | ||
310 | <el-form-item label="竣工时间:"> | ||
311 | <el-date-picker | ||
312 | v-model="ruleForm.fdcq2.jgsj" | ||
313 | class="width100" | ||
314 | type="date" | ||
315 | placeholder="选择日期" | ||
316 | value-format="yyyy-MM-dd HH:mm:ss" | ||
317 | format="yyyy-MM-dd"> | ||
318 | </el-date-picker> | ||
319 | </el-form-item> | ||
320 | </el-col> | ||
321 | |||
208 | <el-col :span="8"> | 322 | <el-col :span="8"> |
209 | <el-form-item | 323 | <el-form-item |
210 | label="不动产权证号:" | 324 | label="不动产权证号:" |
... | @@ -214,7 +328,11 @@ | ... | @@ -214,7 +328,11 @@ |
214 | </el-form-item> | 328 | </el-form-item> |
215 | </el-col> | 329 | </el-col> |
216 | <!-- <el-col :span="8"> | 330 | <!-- <el-col :span="8"> |
217 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> | 331 | <el-form-item |
332 | label="区县代码:" | ||
333 | prop="qlxx.qxdm" | ||
334 | :rules="rules.qxdmrules" | ||
335 | > | ||
218 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | 336 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> |
219 | </el-form-item> | 337 | </el-form-item> |
220 | </el-col> --> | 338 | </el-col> --> |
... | @@ -241,71 +359,38 @@ | ... | @@ -241,71 +359,38 @@ |
241 | :rules="rules.djsjrules"> | 359 | :rules="rules.djsjrules"> |
242 | <el-date-picker | 360 | <el-date-picker |
243 | v-model="ruleForm.qlxx.djsj" | 361 | v-model="ruleForm.qlxx.djsj" |
244 | class="width100" | ||
245 | type="date" | 362 | type="date" |
363 | class="width100" | ||
246 | placeholder="选择日期" | 364 | placeholder="选择日期" |
247 | value-format="yyyy-MM-dd HH:mm:ss" | 365 | value-format="yyyy-MM-dd HH:mm:ss" |
248 | format="yyyy-MM-dd"> | 366 | format="yyyy-MM-dd"> |
249 | </el-date-picker> | 367 | </el-date-picker> |
250 | </el-form-item> | 368 | </el-form-item> |
251 | </el-col> | 369 | </el-col> |
252 | <el-col :span="8"> | 370 | </el-row> |
253 | <el-form-item label="权属状态:"> | 371 | <el-row> |
254 | <el-select v-model="ruleForm.qlxx.qszt"> | 372 | <el-col :span="24"> |
255 | <el-option | 373 | <el-form-item label="登记原因:"> |
256 | v-for="item in qsztlist" | 374 | <el-input v-model="ruleForm.fdcq2.djyy"></el-input> |
257 | :key="item.dcode" | ||
258 | :label="item.dname" | ||
259 | :value="item.dcode"> | ||
260 | </el-option> | ||
261 | </el-select> | ||
262 | </el-form-item> | ||
263 | </el-col> | ||
264 | |||
265 | <el-col :span="8"> | ||
266 | <el-form-item label="异议事项:" prop="yydj.yysx" :rules="rules.yysxrules"> | ||
267 | <el-input v-model="ruleForm.yydj.yysx"></el-input> | ||
268 | </el-form-item> | ||
269 | </el-col> | ||
270 | <el-col :span="8"> | ||
271 | <el-form-item label="不动产登记证明号:"> | ||
272 | <el-input v-model="ruleForm.yydj.bdcdjzmh"></el-input> | ||
273 | </el-form-item> | 375 | </el-form-item> |
274 | </el-col> | 376 | </el-col> |
377 | </el-row> | ||
378 | <el-row> | ||
275 | <el-col :span="24"> | 379 | <el-col :span="24"> |
276 | <el-form-item label="附记:"> | 380 | <el-form-item label="附记:"> |
277 | <el-input v-model="ruleForm.yydj.fj"></el-input> | 381 | <el-input v-model="ruleForm.fdcq2.fj"></el-input> |
278 | </el-form-item> | ||
279 | </el-col> | ||
280 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | ||
281 | <el-form-item label="注销异议业务号:"> | ||
282 | <el-input v-model="ruleForm.yydj.zxyyywh"></el-input> | ||
283 | </el-form-item> | ||
284 | </el-col> | ||
285 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | ||
286 | <el-form-item label="注销异议原因:"> | ||
287 | <el-input v-model="ruleForm.yydj.zxyyyy"></el-input> | ||
288 | </el-form-item> | ||
289 | </el-col> | ||
290 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | ||
291 | <el-form-item label="注销异议登簿人:"> | ||
292 | <el-input v-model="ruleForm.yydj.zxyydbr"></el-input> | ||
293 | </el-form-item> | ||
294 | </el-col> | ||
295 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | ||
296 | <el-form-item label="注销异议登记时间:"> | ||
297 | <el-date-picker | ||
298 | v-model="ruleForm.yydj.zxyydjsj" | ||
299 | class="width100" | ||
300 | type="date" | ||
301 | placeholder="选择日期" | ||
302 | value-format="yyyy-MM-dd HH:mm:ss" | ||
303 | format="yyyy-MM-dd"> | ||
304 | </el-date-picker> | ||
305 | </el-form-item> | 382 | </el-form-item> |
306 | </el-col> | 383 | </el-col> |
307 | </el-row> | 384 | </el-row> |
308 | <div class="slxx_title title-block"> | 385 | <div class="slxx_title title-block"> |
386 | 土地用途 | ||
387 | <div class="triangle"></div> | ||
388 | </div> | ||
389 | <tdytTable | ||
390 | :tableData="ruleForm.tdytqxList" | ||
391 | @upDateTdytxxList="upDateTdytxxList" | ||
392 | :ableOperation="ableOperation" /> | ||
393 | <div class="slxx_title title-block"> | ||
309 | 权利人信息 | 394 | 权利人信息 |
310 | <div class="triangle"></div> | 395 | <div class="triangle"></div> |
311 | </div> | 396 | </div> |
... | @@ -314,7 +399,7 @@ | ... | @@ -314,7 +399,7 @@ |
314 | <el-form-item label="共有方式:"> | 399 | <el-form-item label="共有方式:"> |
315 | <el-radio-group | 400 | <el-radio-group |
316 | :disabled="!ableOperation" | 401 | :disabled="!ableOperation" |
317 | v-model="ruleForm.sldy.gyfs"> | 402 | v-model="ruleForm.qlxx.gyfs"> |
318 | <el-radio label="0">单独所有</el-radio> | 403 | <el-radio label="0">单独所有</el-radio> |
319 | <el-radio label="1">共同共有</el-radio> | 404 | <el-radio label="1">共同共有</el-radio> |
320 | <el-radio label="2">按份所有</el-radio> | 405 | <el-radio label="2">按份所有</el-radio> |
... | @@ -322,10 +407,10 @@ | ... | @@ -322,10 +407,10 @@ |
322 | </el-radio-group> | 407 | </el-radio-group> |
323 | </el-form-item> | 408 | </el-form-item> |
324 | </el-col> | 409 | </el-col> |
325 | <el-col :span="6" v-show="ruleForm.sldy.gyfs != '0'"> | 410 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> |
326 | <el-form-item label="是否分别持证:"> | 411 | <el-form-item label="是否分别持证:"> |
327 | <el-radio-group | 412 | <el-radio-group |
328 | v-model="ruleForm.sldy.sqfbcz" | 413 | v-model="ruleForm.qlxx.sqfbcz" |
329 | :disabled="!ableOperation"> | 414 | :disabled="!ableOperation"> |
330 | <el-radio :label="1">是</el-radio> | 415 | <el-radio :label="1">是</el-radio> |
331 | <el-radio :label="0">否</el-radio> | 416 | <el-radio :label="0">否</el-radio> |
... | @@ -334,7 +419,7 @@ | ... | @@ -334,7 +419,7 @@ |
334 | </el-col> | 419 | </el-col> |
335 | <el-col | 420 | <el-col |
336 | :span="6" | 421 | :span="6" |
337 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 422 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"> |
338 | <el-form-item label="持证人:"> | 423 | <el-form-item label="持证人:"> |
339 | <el-select | 424 | <el-select |
340 | v-model="ruleForm.czr" | 425 | v-model="ruleForm.czr" |
... | @@ -353,21 +438,9 @@ | ... | @@ -353,21 +438,9 @@ |
353 | <qlrCommonTable | 438 | <qlrCommonTable |
354 | :tableData="ruleForm.qlrData" | 439 | :tableData="ruleForm.qlrData" |
355 | @upDateQlrxxList="upDateQlrxxList" | 440 | @upDateQlrxxList="upDateQlrxxList" |
356 | :key="key" | ||
357 | :ableOperation="ableOperation" | 441 | :ableOperation="ableOperation" |
442 | :key="key" | ||
358 | :gyfs="ruleForm.qlxx.gyfs" /> | 443 | :gyfs="ruleForm.qlxx.gyfs" /> |
359 | <div v-if="ruleForm.ywrData"> | ||
360 | <div class="slxx_title title-block"> | ||
361 | 义务人信息 | ||
362 | <div class="triangle"></div> | ||
363 | </div> | ||
364 | <ywrCommonTable | ||
365 | v-if="ruleForm.ywrData" | ||
366 | :tableData="ruleForm.ywrData" | ||
367 | :key="key" | ||
368 | :ableOperation="ableOperation" | ||
369 | @upDateQlrxxList="upDateYwrxxList" /> | ||
370 | </div> | ||
371 | </div> | 444 | </div> |
372 | <el-row class="btn" v-if="ableOperation"> | 445 | <el-row class="btn" v-if="ableOperation"> |
373 | <el-form-item> | 446 | <el-form-item> |
... | @@ -380,14 +453,13 @@ | ... | @@ -380,14 +453,13 @@ |
380 | <script> | 453 | <script> |
381 | import { mapGetters } from "vuex"; | 454 | import { mapGetters } from "vuex"; |
382 | import ywmix from "@/views/ywbl/mixin/index"; | 455 | import ywmix from "@/views/ywbl/mixin/index"; |
383 | import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbRepair.js"; | 456 | import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; |
384 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 457 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
385 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | ||
386 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
387 | import selectTable from "@/components/selectTable/index.vue"; | 458 | import selectTable from "@/components/selectTable/index.vue"; |
459 | import tdytTable from "@/views/workflow/components/tdytTable"; | ||
388 | export default { | 460 | export default { |
389 | mixins: [ywmix], | 461 | mixins: [ywmix], |
390 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 462 | components: { qlrCommonTable, tdytTable, selectTable }, |
391 | computed: { | 463 | computed: { |
392 | ...mapGetters(["dictData", "flag"]), | 464 | ...mapGetters(["dictData", "flag"]), |
393 | // 根据流程判断表单是否为只读 | 465 | // 根据流程判断表单是否为只读 |
... | @@ -401,20 +473,26 @@ | ... | @@ -401,20 +473,26 @@ |
401 | }, | 473 | }, |
402 | data () { | 474 | data () { |
403 | return { | 475 | return { |
476 | mjdw: "1", | ||
404 | ssqlxxshow: true, | 477 | ssqlxxshow: true, |
405 | props: { | 478 | props: { |
406 | label: "bdcqzh", | 479 | label: "bdcqzh", |
407 | value: "bdcdyid", | 480 | value: "bdcdyid", |
408 | }, | 481 | }, |
482 | // 键名转换,方法默认是label和children进行树状渲染 | ||
483 | normalizer (node) { | ||
484 | //方法 | ||
485 | if (node.children == null || node.children == "null") { | ||
486 | delete node.children; | ||
487 | } | ||
488 | return { | ||
489 | id: node.dcode, | ||
490 | label: node.dname, | ||
491 | }; | ||
492 | }, | ||
493 | |||
409 | //表单是否可操作 | 494 | //表单是否可操作 |
410 | propsParam: this.$attrs, | 495 | propsParam: this.$attrs, |
411 | key: 0, | ||
412 | isShow: false, | ||
413 | disabled: true, | ||
414 | czrOptions: [], | ||
415 | ssQlxxList: [], | ||
416 | ztQlxxList: [], | ||
417 | ruleForm: {}, | ||
418 | // 登记类型 | 496 | // 登记类型 |
419 | djlxlist: [ | 497 | djlxlist: [ |
420 | { | 498 | { |
... | @@ -454,44 +532,43 @@ | ... | @@ -454,44 +532,43 @@ |
454 | dname: "历史", | 532 | dname: "历史", |
455 | }, | 533 | }, |
456 | ], | 534 | ], |
535 | key: 0, | ||
536 | tdxz: null, | ||
537 | isShow: false, | ||
538 | disabled: true, | ||
539 | czrOptions: [], | ||
540 | ssQlxxList: [], | ||
541 | ruleForm: { | ||
542 | fdcq2: { | ||
543 | ftjzmj: "", | ||
544 | }, | ||
545 | }, | ||
546 | ableOperation: false, | ||
457 | //传递参数\ | 547 | //传递参数\ |
458 | rules: { | 548 | rules: { |
459 | ssQlxxrules: [ | 549 | ssQlxxrules: [ |
460 | { required: true, message: "上手权利信息", trigger: "blur" }, | 550 | { required: true, message: "上手权利信息", trigger: "blur" }, |
461 | ], | 551 | ], |
462 | ztQlxxrules: [ | ||
463 | { required: true, message: "抵押不动产信息", trigger: "blur" }, | ||
464 | ], | ||
465 | bdcqzhrules: [ | 552 | bdcqzhrules: [ |
466 | { required: true, message: "不动产登记证明号", trigger: "blur" }, | 553 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
467 | ], | 554 | ], |
468 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 555 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
469 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], | 556 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
470 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 557 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
471 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 558 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
559 | fwjgrules: [{ required: true, message: "房屋结构", trigger: "change" }], | ||
472 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], | 560 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], |
473 | ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], | 561 | ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], |
474 | yysxrules: [{ required: true, message: "异议事项", trigger: "blur" }], | ||
475 | }, | 562 | }, |
476 | ableOperation: false, | ||
477 | }; | 563 | }; |
478 | }, | 564 | }, |
479 | created () { | 565 | created () { }, |
480 | this.loadData(); | ||
481 | }, | ||
482 | mounted () { | 566 | mounted () { |
567 | this.loadData(); | ||
483 | this.ableOperation = this.$parent.ableOperation; | 568 | this.ableOperation = this.$parent.ableOperation; |
484 | }, | 569 | }, |
485 | methods: { | 570 | methods: { |
486 | /** | 571 | /** |
487 | * @description: ztQlxxchange | ||
488 | * @param {*} val | ||
489 | * @author: renchao | ||
490 | */ | ||
491 | ztQlxxchange (val) { | ||
492 | this.ruleForm.ztQlxx = val; | ||
493 | }, | ||
494 | /** | ||
495 | * @description: ssQlxxchange | 572 | * @description: ssQlxxchange |
496 | * @param {*} val | 573 | * @param {*} val |
497 | * @author: renchao | 574 | * @author: renchao |
... | @@ -503,27 +580,61 @@ | ... | @@ -503,27 +580,61 @@ |
503 | }, | 580 | }, |
504 | // 弹框事件 | 581 | // 弹框事件 |
505 | ssQlxxchangediolog (val) { | 582 | ssQlxxchangediolog (val) { |
506 | console.log("确定了", this.ruleForm); | ||
507 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 583 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
508 | iconClass: "el-icon-question", //自定义图标样式 | 584 | iconClass: "el-icon-question", //自定义图标样式 |
509 | confirmButtonText: "确认", //确认按钮文字更换 | 585 | confirmButtonText: "确认", //确认按钮文字更换 |
510 | cancelButtonText: "取消", //取消按钮文字更换 | 586 | cancelButtonText: "取消", //取消按钮文字更换 |
511 | showClose: true, //是否显示右上角关闭按钮 | 587 | showClose: true, //是否显示右上角关闭按钮 |
512 | type: "warning", | 588 | type: "warning", |
513 | }) | 589 | |
514 | .then(() => { | 590 | |
515 | // this.ruleForm.qlxx.ssywh = "1111111111111"; | 591 | }).then(() => { |
516 | this.$message({ | 592 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
517 | type: "success", | 593 | if (res.code == 200) { |
518 | message: "同步成功!", | 594 | this.nowlist = res.result; |
519 | }); | 595 | for (var key in this.ruleForm.fdcq2) { |
520 | }) | 596 | if ( |
521 | .catch(() => { | 597 | this.ruleForm.fdcq2[key] == "" || |
522 | this.$message({ | 598 | this.ruleForm.fdcq2[key] == null |
523 | type: "info", | 599 | ) { |
524 | message: "已取消同步", | 600 | this.ruleForm.fdcq2[key] = this.nowlist.fdcq2[key]; |
525 | }); | 601 | } |
602 | } | ||
603 | for (var key in this.ruleForm.qlxx) { | ||
604 | if ( | ||
605 | this.ruleForm.qlxx[key] == "" || | ||
606 | this.ruleForm.qlxx[key] == null && | ||
607 | key != "ywh" && | ||
608 | key != "dbr" && | ||
609 | key != "djsj" && | ||
610 | key != "ssywh" && | ||
611 | key != "ssywh" && | ||
612 | key != "bdcqzh") { | ||
613 | this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; | ||
614 | |||
615 | } | ||
616 | } | ||
617 | if (!this.ruleForm.tdytqxList.length) { | ||
618 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | ||
619 | } | ||
620 | if (!this.ruleForm.qlrData.length) { | ||
621 | this.ruleForm.qlrData = this.nowlist.qlrData; | ||
622 | } | ||
623 | if (!this.ruleForm.ywrData.length) { | ||
624 | this.ruleForm.ywrData = this.nowlist.ywrData; | ||
625 | } | ||
626 | this.$message({ | ||
627 | type: "success", | ||
628 | message: "同步成功!", | ||
629 | }); | ||
630 | } | ||
631 | }); | ||
632 | }).catch(() => { | ||
633 | this.$message({ | ||
634 | type: "info", | ||
635 | message: "已取消同步", | ||
526 | }); | 636 | }); |
637 | }); | ||
527 | }, | 638 | }, |
528 | /** | 639 | /** |
529 | * @description: djlxchange | 640 | * @description: djlxchange |
... | @@ -531,11 +642,11 @@ | ... | @@ -531,11 +642,11 @@ |
531 | * @author: renchao | 642 | * @author: renchao |
532 | */ | 643 | */ |
533 | djlxchange (val) { | 644 | djlxchange (val) { |
534 | // if (val == null || val == 100) { | 645 | if (val == null || val == 100) { |
535 | // this.ssqlxxshow = false; | 646 | this.ssqlxxshow = false; |
536 | // } else { | 647 | } else { |
537 | // this.ssqlxxshow = true; | 648 | this.ssqlxxshow = true; |
538 | // } | 649 | } |
539 | }, | 650 | }, |
540 | /** | 651 | /** |
541 | * @description: loadData | 652 | * @description: loadData |
... | @@ -551,9 +662,14 @@ | ... | @@ -551,9 +662,14 @@ |
551 | if (djlx == null || djlx == 100) { | 662 | if (djlx == null || djlx == 100) { |
552 | this.ssqlxxshow = false; | 663 | this.ssqlxxshow = false; |
553 | } | 664 | } |
665 | this.ruleForm.fdcq2.jedw = "1"; | ||
554 | this.$endLoading(); | 666 | this.$endLoading(); |
667 | if (this.ruleForm.tdytqxList.length > 0) { | ||
668 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | ||
669 | } else { | ||
670 | this.tdxz = null; | ||
671 | } | ||
555 | this.isShow = true; | 672 | this.isShow = true; |
556 | |||
557 | //获取主体信息 | 673 | //获取主体信息 |
558 | getSsQlxx({ | 674 | getSsQlxx({ |
559 | bdcdyid: this.propsParam.bdcdyid, | 675 | bdcdyid: this.propsParam.bdcdyid, |
... | @@ -564,15 +680,6 @@ | ... | @@ -564,15 +680,6 @@ |
564 | this.ssQlxxList = res.result; | 680 | this.ssQlxxList = res.result; |
565 | } | 681 | } |
566 | }); | 682 | }); |
567 | //获取上手信息 | ||
568 | getZtQlxx({ | ||
569 | bdcdyid: this.propsParam.bdcdyid, | ||
570 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
571 | }).then((res) => { | ||
572 | if (res.code == 200) { | ||
573 | this.ztQlxxList = res.result; | ||
574 | } | ||
575 | }); | ||
576 | } | 683 | } |
577 | }); | 684 | }); |
578 | }, | 685 | }, | ... | ... |
... | @@ -90,16 +90,19 @@ export default { | ... | @@ -90,16 +90,19 @@ export default { |
90 | tableData: [{ jdmc: "初审" }, { jdmc: "复审" }, { jdmc: "核定" }], | 90 | tableData: [{ jdmc: "初审" }, { jdmc: "复审" }, { jdmc: "核定" }], |
91 | falg: false, | 91 | falg: false, |
92 | falg1: false, | 92 | falg1: false, |
93 | monitor:true | ||
93 | }; | 94 | }; |
94 | }, | 95 | }, |
95 | 96 | ||
96 | watch: { | 97 | watch: { |
97 | yjsqOptions: { | 98 | yjsqOptions: { |
98 | handler(val) { | 99 | handler(val) { |
99 | console.log("val", val); | 100 | if(this.monitor){ |
100 | console.log("this.tableData[this.currentindex]",this.tableData[this.currentindex]); | 101 | this.add(val); |
101 | 102 | this.monitor=false | |
102 | this.add(val); | 103 | }else{ |
104 | this.add(val); | ||
105 | } | ||
103 | }, | 106 | }, |
104 | deep: true, | 107 | deep: true, |
105 | immediate: true, | 108 | immediate: true, | ... | ... |
-
Please register or sign in to post a comment