82b9c42c by 单帅旗

修改:批量房屋数据保存前后端联调

1 parent 92e0d83b
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
89 <div class="triangle"></div> 89 <div class="triangle"></div>
90 </div> 90 </div>
91 <el-row :gutter="10"> 91 <el-row :gutter="10">
92 <el-col :span="14" v-if="ruleForm.qlxx"> 92 <el-col :span="14" v-if="ruleForm.qlxxList[0]">
93 <el-form-item label="共有方式:"> 93 <el-form-item label="共有方式:">
94 <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo" 94 <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo"
95 v-model="ruleForm.slsq.gyfs"> 95 v-model="ruleForm.slsq.gyfs">
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
109 </el-form-item> 109 </el-form-item>
110 </el-col> 110 </el-col>
111 111
112 <el-col :span="5" v-show="ruleForm.qlxx && ruleForm.qlxx.gyfs == '2'"> 112 <el-col :span="5" v-show="ruleForm.qlxxList[0] && ruleForm.slsq.gyfs == '2'">
113 <el-form-item label="是否分别持证:"> 113 <el-form-item label="是否分别持证:">
114 <el-radio-group v-model="ruleForm.slsq.sqfbcz"> 114 <el-radio-group v-model="ruleForm.slsq.sqfbcz">
115 <el-radio label="1"></el-radio> 115 <el-radio label="1"></el-radio>
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
117 </el-radio-group> 117 </el-radio-group>
118 </el-form-item> 118 </el-form-item>
119 </el-col> 119 </el-col>
120 <el-col :span="5" v-show="ruleForm.qlxx && ruleForm.qlxx.gyfs == '2'"> 120 <el-col :span="5" v-show="ruleForm.qlxxList[0] && ruleForm.slsq.gyfs == '2'">
121 <el-form-item label="持证人:"> 121 <el-form-item label="持证人:">
122 <el-select v-model="ruleForm.slsq.czr" placeholder="持证人"> 122 <el-select v-model="ruleForm.slsq.czr" placeholder="持证人">
123 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 123 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
...@@ -126,26 +126,17 @@ ...@@ -126,26 +126,17 @@
126 </el-form-item> 126 </el-form-item>
127 </el-col> 127 </el-col>
128 </el-row> 128 </el-row>
129 <qlrCommonTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" 129 <qlrCommonTable v-if="ruleForm.qlxxList[0]" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList"
130 :gyfs="ruleForm.qlxx.gyfs" /> 130 :gyfs="ruleForm.qlxxList[0].gyfs" />
131
132 <!-- <div v-if="ruleForm.ywrList">
133 <div class="slxx_title title-block">
134 义务人信息
135 <div class="triangle"></div>
136 </div>
137 <qlrCommonTable v-if="ruleForm.qlxxList" @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList"
138 :gyfs="ruleForm.qlxx.gyfs" />
139 </div>-->
140 <div class="slxx_title title-block"> 131 <div class="slxx_title title-block">
141 登记原因 132 登记原因
142 <div class="triangle"></div> 133 <div class="triangle"></div>
143 </div> 134 </div>
144 <el-row :gutter="10"> 135 <el-row :gutter="10">
145 <el-col> 136 <el-col>
146 <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="djyy"> 137 <el-form-item v-if="ruleForm.slsq" label="登记原因:" prop="djyy">
147 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 138 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
148 v-model="ruleForm.fdcq2.djyy"> 139 v-model="ruleForm.slsq.djyy">
149 </el-input> 140 </el-input>
150 </el-form-item> 141 </el-form-item>
151 </el-col> 142 </el-col>
...@@ -174,7 +165,6 @@ export default { ...@@ -174,7 +165,6 @@ export default {
174 BatchInit(formdata).then((res) => { 165 BatchInit(formdata).then((res) => {
175 if (res.code === 200 && res.result) { 166 if (res.code === 200 && res.result) {
176 this.ruleForm = res.result; 167 this.ruleForm = res.result;
177 this.ruleForm.qlxx = this.ruleForm.qlxxList[0]
178 this.splicingFdcq2Info(); 168 this.splicingFdcq2Info();
179 } 169 }
180 }); 170 });
...@@ -190,11 +180,18 @@ export default { ...@@ -190,11 +180,18 @@ export default {
190 tdytOption: [], 180 tdytOption: [],
191 czrOptions: [], 181 czrOptions: [],
192 ruleForm: { 182 ruleForm: {
193 slsq: {}, 183 cfdjList:[]//查封登记
194 zdjbxx: {}, 184 ,diyaqList:[]//抵押权
195 sldyList: [], 185 ,fdcq2List:[]//房屋信息集合
196 qlxxList: [], 186 ,qlrList:[]//权利人
197 fdcq2List:[] 187 ,ywrList:[]//义务人
188 ,qlxxList:[]//权利信息集合
189 ,sldyList:[]//受理不动产单元集合
190 ,slsq: {}//受理申请流程明细
191 ,sqrList:[]//申请人
192 ,ssQlxxList:[]//上手权利信息
193 ,user:{}//用户
194 ,zdjbxx: {}//宗地基本信息
198 }, 195 },
199 //传递参数 196 //传递参数
200 propsParam: this.$attrs, 197 propsParam: this.$attrs,
...@@ -229,8 +226,9 @@ export default { ...@@ -229,8 +226,9 @@ export default {
229 let fwjg = Array.from(new Set(fwjgArr)).join(","); 226 let fwjg = Array.from(new Set(fwjgArr)).join(",");
230 this.splicingFdcq2.fwxz = fwxz; 227 this.splicingFdcq2.fwxz = fwxz;
231 this.splicingFdcq2.fwjg = fwjg; 228 this.splicingFdcq2.fwjg = fwjg;
232 this.splicingFdcq2.jzmj = jzmj; 229 this.splicingFdcq2.jzmj = jzmj==null ? 0 : jzmj;
233 this.splicingFdcq2.zts = fdcq2List.length; 230 this.splicingFdcq2.zts = fdcq2List.length;
231
234 }, 232 },
235 233
236 // 更新权利人信息 234 // 更新权利人信息
......