--no commit message
Showing
7 changed files
with
39 additions
and
44 deletions
| ... | @@ -33,7 +33,7 @@ | ... | @@ -33,7 +33,7 @@ |
| 33 | <el-row> | 33 | <el-row> |
| 34 | <el-col :span="8"> | 34 | <el-col :span="8"> |
| 35 | <el-form-item label="证件号" prop="zjh"> | 35 | <el-form-item label="证件号" prop="zjh"> |
| 36 | <el-input v-model="ruleForm.zjh" maxlength="15" oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> | 36 | <el-input v-model="ruleForm.zjh" maxlength="15" oninput="value=value.replace(/[^\X0-9]/g,'')"></el-input> |
| 37 | </el-form-item> | 37 | </el-form-item> |
| 38 | </el-col> | 38 | </el-col> |
| 39 | <el-col :span="8"> | 39 | <el-col :span="8"> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-25 08:59:02 | 4 | * @LastEditTime: 2023-06-25 15:52:42 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -13,8 +13,7 @@ | ... | @@ -13,8 +13,7 @@ |
| 13 | ref="ruleForm" | 13 | ref="ruleForm" |
| 14 | :label-position="flag ? 'top' : ''" | 14 | :label-position="flag ? 'top' : ''" |
| 15 | :inline="flag" | 15 | :inline="flag" |
| 16 | label-width="127px" | 16 | label-width="127px"> |
| 17 | > | ||
| 18 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 17 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
| 19 | <div class="slxx_title title-block"> | 18 | <div class="slxx_title title-block"> |
| 20 | 补录信息 | 19 | 补录信息 |
| ... | @@ -94,15 +93,13 @@ | ... | @@ -94,15 +93,13 @@ |
| 94 | </el-col> | 93 | </el-col> |
| 95 | <el-col :span="8"> | 94 | <el-col :span="8"> |
| 96 | <!-- 下拉框 --> | 95 | <!-- 下拉框 --> |
| 97 | <el-form-item label="土地性质:"> | 96 | <el-form-item label="土地性质:" style="margin-bottom:3px"> |
| 98 | <el-select v-model="ruleForm.fdcq2.jedw"> | 97 | <treeselect v-model="ruleForm.fdcq2.jedw" placeholder="" |
| 99 | <el-option v-for="item in dictData['A45']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 98 | :normalizer="normalizer" |
| 100 | </el-option> | 99 | :show-count="true" :options="dictData['A45']" /> |
| 101 | </el-select> | ||
| 102 | </el-form-item> | 100 | </el-form-item> |
| 103 | </el-col> | 101 | </el-col> |
| 104 | <el-col :span="8"> | 102 | <el-col :span="8"> |
| 105 | |||
| 106 | <el-form-item label="房地产交易价格:"> | 103 | <el-form-item label="房地产交易价格:"> |
| 107 | <div style="display:flex"> | 104 | <div style="display:flex"> |
| 108 | <el-input v-model="ruleForm.fdcq2.qjjg" style="width:500%"></el-input> | 105 | <el-input v-model="ruleForm.fdcq2.qjjg" style="width:500%"></el-input> |
| ... | @@ -235,8 +232,7 @@ | ... | @@ -235,8 +232,7 @@ |
| 235 | <el-form-item label="共有方式:"> | 232 | <el-form-item label="共有方式:"> |
| 236 | <el-radio-group | 233 | <el-radio-group |
| 237 | :disabled="$route.query.viewtype == 0" | 234 | :disabled="$route.query.viewtype == 0" |
| 238 | v-model="ruleForm.qlxx.gyqk" | 235 | v-model="ruleForm.qlxx.gyqk"> |
| 239 | > | ||
| 240 | <el-radio label="0">单独所有</el-radio> | 236 | <el-radio label="0">单独所有</el-radio> |
| 241 | <el-radio label="1">共同共有</el-radio> | 237 | <el-radio label="1">共同共有</el-radio> |
| 242 | <el-radio label="2">按份所有</el-radio> | 238 | <el-radio label="2">按份所有</el-radio> |
| ... | @@ -266,8 +262,7 @@ | ... | @@ -266,8 +262,7 @@ |
| 266 | @upDateQlrxxList="upDateQlrxxList" | 262 | @upDateQlrxxList="upDateQlrxxList" |
| 267 | :key="key" | 263 | :key="key" |
| 268 | :viewtype="$route.query.viewtype" | 264 | :viewtype="$route.query.viewtype" |
| 269 | :gyfs="ruleForm.qlxx.gyfs" | 265 | :gyfs="ruleForm.qlxx.gyfs" /> |
| 270 | /> | ||
| 271 | 266 | ||
| 272 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | 267 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> |
| 273 | <div class="slxx_title title-block"> | 268 | <div class="slxx_title title-block"> |
| ... | @@ -279,8 +274,7 @@ | ... | @@ -279,8 +274,7 @@ |
| 279 | :tableData="ruleForm.ywrList" | 274 | :tableData="ruleForm.ywrList" |
| 280 | :key="key" | 275 | :key="key" |
| 281 | @upDateQlrxxList="upDateYwrxxList" | 276 | @upDateQlrxxList="upDateYwrxxList" |
| 282 | :viewtype="$route.query.viewtype" | 277 | :viewtype="$route.query.viewtype" /> |
| 283 | /> | ||
| 284 | </div> | 278 | </div> |
| 285 | </div> | 279 | </div> |
| 286 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> | 280 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
| ... | @@ -325,29 +319,21 @@ export default { | ... | @@ -325,29 +319,21 @@ export default { |
| 325 | console.log("房地产权",this.propsParam); | 319 | console.log("房地产权",this.propsParam); |
| 326 | init(this.propsParam.bsmRepair).then((res) => { | 320 | init(this.propsParam.bsmRepair).then((res) => { |
| 327 | if (res.code == 200) { | 321 | if (res.code == 200) { |
| 328 | |||
| 329 | this.ruleForm = res.result; | 322 | this.ruleForm = res.result; |
| 330 | this.isShow = true; | 323 | this.isShow = true; |
| 331 | // this.tableData = res.result; | ||
| 332 | // if (this.tableData.length < datas.columns().emptycolNum) { | ||
| 333 | // this.emptycolNum = | ||
| 334 | // datas.columns().emptycolNum - this.tableData.length; | ||
| 335 | // } else { | ||
| 336 | // this.emptycolNum = 0; | ||
| 337 | // } | ||
| 338 | } | 324 | } |
| 339 | }); | 325 | }); |
| 340 | }, | 326 | }, |
| 341 | // 更新土地用途信息 | 327 | // 更新土地用途信息 |
| 342 | upDateTdytxxList(val) { | 328 | upDateTdytxxList(val) { |
| 343 | console.log("VALlllll",val); | 329 | console.log("VAL",val); |
| 344 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 330 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
| 345 | this.key++; | 331 | this.key++; |
| 346 | }, | 332 | }, |
| 347 | // 更新权利人信息 | 333 | // 更新权利人信息 |
| 348 | upDateQlrxxList(val) { | 334 | upDateQlrxxList(val) { |
| 349 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | 335 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)); |
| 350 | this.czrOptions = this.ruleForm.qlrData; | 336 | this.czrOptions = this.ruleForm.qlrList; |
| 351 | this.key++; | 337 | this.key++; |
| 352 | }, | 338 | }, |
| 353 | // 更新义务人信息 | 339 | // 更新义务人信息 |
| ... | @@ -357,7 +343,7 @@ export default { | ... | @@ -357,7 +343,7 @@ export default { |
| 357 | }, | 343 | }, |
| 358 | onSubmit() { | 344 | onSubmit() { |
| 359 | console.log("this.ruleForm大信息",this.ruleForm); | 345 | console.log("this.ruleForm大信息",this.ruleForm); |
| 360 | if (this.ruleForm.qlrData.length == 0) { | 346 | if (this.ruleForm.qlrList.length == 0) { |
| 361 | this.$message({ | 347 | this.$message({ |
| 362 | showClose: true, | 348 | showClose: true, |
| 363 | message: "请确认权利人信息", | 349 | message: "请确认权利人信息", |
| ... | @@ -367,7 +353,7 @@ export default { | ... | @@ -367,7 +353,7 @@ export default { |
| 367 | } | 353 | } |
| 368 | 354 | ||
| 369 | if (this.ruleForm.qlxx.gyfs == "0") { | 355 | if (this.ruleForm.qlxx.gyfs == "0") { |
| 370 | if (this.ruleForm.qlrData.length > 1) { | 356 | if (this.ruleForm.qlrList.length > 1) { |
| 371 | this.$message({ | 357 | this.$message({ |
| 372 | showClose: true, | 358 | showClose: true, |
| 373 | message: "共有方式:单独所有,权利人只能是一个人", | 359 | message: "共有方式:单独所有,权利人只能是一个人", |
| ... | @@ -375,17 +361,17 @@ export default { | ... | @@ -375,17 +361,17 @@ export default { |
| 375 | }); | 361 | }); |
| 376 | return false; | 362 | return false; |
| 377 | } | 363 | } |
| 378 | this.ruleForm.qlrData[0].sfczr = "1"; | 364 | this.ruleForm.qlrList[0].sfczr = "1"; |
| 379 | } | 365 | } |
| 380 | if (this.ruleForm.qlxx.gyfs == "1") { | 366 | if (this.ruleForm.qlxx.gyfs == "1") { |
| 381 | //是否分别持证 | 367 | //是否分别持证 |
| 382 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 368 | if (this.ruleForm.qlxx.sqfbcz == "1") { |
| 383 | //是 | 369 | //是 |
| 384 | this.ruleForm.qlrData.forEach((item, index) => { | 370 | this.ruleForm.qlrList.forEach((item, index) => { |
| 385 | item.sfczr = "1"; | 371 | item.sfczr = "1"; |
| 386 | }); | 372 | }); |
| 387 | } else { | 373 | } else { |
| 388 | this.ruleForm.qlrData.forEach((item, index) => { | 374 | this.ruleForm.qlrList.forEach((item, index) => { |
| 389 | if (item.zjh == this.ruleForm.czr) { | 375 | if (item.zjh == this.ruleForm.czr) { |
| 390 | item.sfczr = "1"; | 376 | item.sfczr = "1"; |
| 391 | } else { | 377 | } else { | ... | ... |
| ... | @@ -314,6 +314,7 @@ export default { | ... | @@ -314,6 +314,7 @@ export default { |
| 314 | async created() { | 314 | async created() { |
| 315 | this.propsParam = this.$attrs; | 315 | this.propsParam = this.$attrs; |
| 316 | this.ableEdit = this.$parent.showBatch; | 316 | this.ableEdit = this.$parent.showBatch; |
| 317 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
| 317 | if (this.propsParam.djlx == "400") { | 318 | if (this.propsParam.djlx == "400") { |
| 318 | this.isJfOperation = true; | 319 | this.isJfOperation = true; |
| 319 | } | 320 | } | ... | ... |
| ... | @@ -191,7 +191,7 @@ | ... | @@ -191,7 +191,7 @@ |
| 191 | <el-col> | 191 | <el-col> |
| 192 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> | 192 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> |
| 193 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" | 193 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" |
| 194 | v-model="ruleForm.sldy.djyy"> | 194 | v-model="ruleForm.fdcq2.djyy"> |
| 195 | </el-input> | 195 | </el-input> |
| 196 | </el-form-item> | 196 | </el-form-item> |
| 197 | </el-col> | 197 | </el-col> | ... | ... |
| ... | @@ -111,7 +111,7 @@ | ... | @@ -111,7 +111,7 @@ |
| 111 | <el-row :gutter="10"> | 111 | <el-row :gutter="10"> |
| 112 | <el-col :span="14" v-if="ruleForm.qlxx"> | 112 | <el-col :span="14" v-if="ruleForm.qlxx"> |
| 113 | <el-form-item label="共有方式:"> | 113 | <el-form-item label="共有方式:"> |
| 114 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs"> | 114 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.qlxx.gyfs"> |
| 115 | <el-radio label="0">单独所有</el-radio> | 115 | <el-radio label="0">单独所有</el-radio> |
| 116 | <el-radio label="1">共同共有</el-radio> | 116 | <el-radio label="1">共同共有</el-radio> |
| 117 | <el-radio label="2">按份所有</el-radio> | 117 | <el-radio label="2">按份所有</el-radio> |
| ... | @@ -155,8 +155,9 @@ | ... | @@ -155,8 +155,9 @@ |
| 155 | import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; | 155 | import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; |
| 156 | import { mapGetters } from "vuex"; | 156 | import { mapGetters } from "vuex"; |
| 157 | export default { | 157 | export default { |
| 158 | mounted () { | 158 | created () { |
| 159 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 159 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
| 160 | this.propsParam = this.$attrs; | ||
| 160 | this.$startLoading(); | 161 | this.$startLoading(); |
| 161 | var formdata = new FormData(); | 162 | var formdata = new FormData(); |
| 162 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 163 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
| ... | @@ -164,8 +165,9 @@ | ... | @@ -164,8 +165,9 @@ |
| 164 | formdata.append("isEdit", this.ableOperation); | 165 | formdata.append("isEdit", this.ableOperation); |
| 165 | Init(formdata).then(res => { | 166 | Init(formdata).then(res => { |
| 166 | if (res.code === 200 && res.result) { | 167 | if (res.code === 200 && res.result) { |
| 167 | this.$endLoading(); | 168 | console.log(res.result.ygdj.ygdjzlmc); |
| 168 | this.ruleForm = res.result; | 169 | this.ruleForm = res.result; |
| 170 | this.$endLoading(); | ||
| 169 | } | 171 | } |
| 170 | }) | 172 | }) |
| 171 | }, | 173 | }, |
| ... | @@ -180,7 +182,13 @@ | ... | @@ -180,7 +182,13 @@ |
| 180 | disabled: true, | 182 | disabled: true, |
| 181 | tdytOption: [], | 183 | tdytOption: [], |
| 182 | czrOptions: [], | 184 | czrOptions: [], |
| 183 | ruleForm: {}, | 185 | ruleForm: { |
| 186 | qlxx:{} | ||
| 187 | ,sldy:{} | ||
| 188 | ,slsq:{} | ||
| 189 | ,ygdj:{} | ||
| 190 | ,zdjbxx:{} | ||
| 191 | }, | ||
| 184 | //传递参数 | 192 | //传递参数 |
| 185 | propsParam: this.$attrs, | 193 | propsParam: this.$attrs, |
| 186 | rules: {}, | 194 | rules: {}, | ... | ... |
| ... | @@ -114,7 +114,7 @@ | ... | @@ -114,7 +114,7 @@ |
| 114 | <el-row :gutter="10"> | 114 | <el-row :gutter="10"> |
| 115 | <el-col :span="14" v-if="ruleForm.qlxx"> | 115 | <el-col :span="14" v-if="ruleForm.qlxx"> |
| 116 | <el-form-item label="共有方式:"> | 116 | <el-form-item label="共有方式:"> |
| 117 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs"> | 117 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.qlxx.gyfs"> |
| 118 | <el-radio label="0">单独所有</el-radio> | 118 | <el-radio label="0">单独所有</el-radio> |
| 119 | <el-radio label="1">共同共有</el-radio> | 119 | <el-radio label="1">共同共有</el-radio> |
| 120 | <el-radio label="2">按份所有</el-radio> | 120 | <el-radio label="2">按份所有</el-radio> | ... | ... |
| ... | @@ -54,12 +54,12 @@ | ... | @@ -54,12 +54,12 @@ |
| 54 | </el-col> | 54 | </el-col> |
| 55 | <el-col :span="8"> | 55 | <el-col :span="8"> |
| 56 | <el-form-item label="不动产权证号:"> | 56 | <el-form-item label="不动产权证号:"> |
| 57 | <el-input disabled v-model="ruleForm.qlxxold.bdcqzh"></el-input> | 57 | <el-input disabled v-model="ruleForm.ssQlxx.bdcqzh"></el-input> |
| 58 | </el-form-item> | 58 | </el-form-item> |
| 59 | </el-col> | 59 | </el-col> |
| 60 | <el-col :span="8"> | 60 | <el-col :span="8"> |
| 61 | <el-form-item label="不动产单元号:"> | 61 | <el-form-item label="不动产单元号:"> |
| 62 | <el-input disabled v-model="ruleForm.qlxxold.bdcdyh"></el-input> | 62 | <el-input disabled v-model="ruleForm.ssQlxx.bdcdyh"></el-input> |
| 63 | </el-form-item> | 63 | </el-form-item> |
| 64 | </el-col> | 64 | </el-col> |
| 65 | </el-row> | 65 | </el-row> |
| ... | @@ -132,10 +132,10 @@ | ... | @@ -132,10 +132,10 @@ |
| 132 | </el-form-item> | 132 | </el-form-item> |
| 133 | </el-col> | 133 | </el-col> |
| 134 | </el-row> | 134 | </el-row> |
| 135 | <el-row> | 135 | <el-row :gutter="10"> |
| 136 | <el-col :span="8"> | 136 | <el-col :span="16"> |
| 137 | <el-form-item label="是否存在禁止或限制转让抵押不动产的约定:"> | 137 | <el-form-item label="是否存在禁止或限制转让抵押不动产的约定:"> |
| 138 | <el-input v-model="ruleForm.ygdj.dbfw" | 138 | <el-input v-model="ruleForm.ygdj.sfczjzhxz" |
| 139 | :disabled="$route.query.viewtype == 1 || ruleForm.slsq.djlx == '300'"></el-input> | 139 | :disabled="$route.query.viewtype == 1 || ruleForm.slsq.djlx == '300'"></el-input> |
| 140 | </el-form-item> | 140 | </el-form-item> |
| 141 | </el-col> | 141 | </el-col> |
| ... | @@ -161,7 +161,7 @@ | ... | @@ -161,7 +161,7 @@ |
| 161 | <el-row :gutter="10"> | 161 | <el-row :gutter="10"> |
| 162 | <el-col :span="14" v-if="ruleForm.qlxx"> | 162 | <el-col :span="14" v-if="ruleForm.qlxx"> |
| 163 | <el-form-item label="共有方式:"> | 163 | <el-form-item label="共有方式:"> |
| 164 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.slywxx.gyfs"> | 164 | <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.qlxx.gyfs"> |
| 165 | <el-radio label="0">单独所有</el-radio> | 165 | <el-radio label="0">单独所有</el-radio> |
| 166 | <el-radio label="1">共同共有</el-radio> | 166 | <el-radio label="1">共同共有</el-radio> |
| 167 | <el-radio label="2">按份所有</el-radio> | 167 | <el-radio label="2">按份所有</el-radio> | ... | ... |
-
Please register or sign in to post a comment