--no commit message
Showing
4 changed files
with
312 additions
and
286 deletions
... | @@ -17,7 +17,8 @@ | ... | @@ -17,7 +17,8 @@ |
17 | inline-message | 17 | inline-message |
18 | :show-message="false" | 18 | :show-message="false" |
19 | :class="{ readonly: editDisabled }" | 19 | :class="{ readonly: editDisabled }" |
20 | class="loadingtext"> | 20 | class="loadingtext" |
21 | > | ||
21 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 22 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
22 | <div class="slxx_title title-block"> | 23 | <div class="slxx_title title-block"> |
23 | 补录信息 | 24 | 补录信息 |
... | @@ -46,24 +47,29 @@ | ... | @@ -46,24 +47,29 @@ |
46 | <el-form-item | 47 | <el-form-item |
47 | label="查封不动产权信息:" | 48 | label="查封不动产权信息:" |
48 | prop="ztQlxx.bdcqzh" | 49 | prop="ztQlxx.bdcqzh" |
49 | :rules="rules.ztQlxxrules"> | 50 | :rules="rules.ztQlxxrules" |
51 | > | ||
50 | <select-table | 52 | <select-table |
51 | v-model="ruleForm.ztQlxx" | 53 | v-model="ruleForm.ztQlxx" |
52 | :table-width="730" | 54 | :table-width="730" |
53 | :tableData="ztQlxxList" | 55 | :tableData="ztQlxxList" |
54 | :props="props" | 56 | :props="props" |
55 | @change="ztQlxxchange"> | 57 | @change="ztQlxxchange" |
58 | > | ||
56 | <el-table-column | 59 | <el-table-column |
57 | prop="qllxmc" | 60 | prop="qllxmc" |
58 | width="130" | 61 | width="130" |
59 | label="权利类型"></el-table-column> | 62 | label="权利类型" |
63 | ></el-table-column> | ||
60 | <el-table-column | 64 | <el-table-column |
61 | prop="bdcqzh" | 65 | prop="bdcqzh" |
62 | width="160" | 66 | width="160" |
63 | label="不动产权证书"></el-table-column> | 67 | label="不动产权证书" |
68 | ></el-table-column> | ||
64 | <el-table-column | 69 | <el-table-column |
65 | prop="qlrmc" | 70 | prop="qlrmc" |
66 | label="被执行人"></el-table-column> | 71 | label="被执行人" |
72 | ></el-table-column> | ||
67 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 73 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
68 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 74 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
69 | <el-table-column prop="zl" label="坐落"></el-table-column> | 75 | <el-table-column prop="zl" label="坐落"></el-table-column> |
... | @@ -74,9 +80,7 @@ | ... | @@ -74,9 +80,7 @@ |
74 | <div class="triangle"></div> | 80 | <div class="triangle"></div> |
75 | </div> | 81 | </div> |
76 | 82 | ||
77 | <el-row :gutter="10"> | 83 | <el-row :gutter="10"> </el-row> |
78 | |||
79 | </el-row> | ||
80 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> | 84 | <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> |
81 | <el-col :span="8"> | 85 | <el-col :span="8"> |
82 | <el-form-item label="权利人:"> | 86 | <el-form-item label="权利人:"> |
... | @@ -135,21 +139,25 @@ | ... | @@ -135,21 +139,25 @@ |
135 | label="上手权利信息:" | 139 | label="上手权利信息:" |
136 | prop="ssQlxx.bdcqzh" | 140 | prop="ssQlxx.bdcqzh" |
137 | :rules="rules.ssQlxxrules" | 141 | :rules="rules.ssQlxxrules" |
138 | v-if="ruleForm.cfdj.sfbxf == '1'"> | 142 | v-if="ruleForm.cfdj.sfbxf == '1'" |
143 | > | ||
139 | <select-table | 144 | <select-table |
140 | v-model="ruleForm.ssQlxx" | 145 | v-model="ruleForm.ssQlxx" |
141 | :table-width="730" | 146 | :table-width="730" |
142 | :tableData="ssQlxxList" | 147 | :tableData="ssQlxxList" |
143 | :props="props" | 148 | :props="props" |
144 | @change="ssQlxxchange"> | 149 | @change="ssQlxxchange" |
150 | > | ||
145 | <el-table-column | 151 | <el-table-column |
146 | prop="qllxmc" | 152 | prop="qllxmc" |
147 | width="130" | 153 | width="130" |
148 | label="权利类型"></el-table-column> | 154 | label="权利类型" |
155 | ></el-table-column> | ||
149 | <el-table-column | 156 | <el-table-column |
150 | prop="bdcqzh" | 157 | prop="bdcqzh" |
151 | width="160" | 158 | width="160" |
152 | label="不动产权证书"></el-table-column> | 159 | label="不动产权证书" |
160 | ></el-table-column> | ||
153 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 161 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> |
154 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 162 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
155 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 163 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
... | @@ -169,7 +177,8 @@ | ... | @@ -169,7 +177,8 @@ |
169 | <el-form-item | 177 | <el-form-item |
170 | label="业务号:" | 178 | label="业务号:" |
171 | prop="qlxx.ywh" | 179 | prop="qlxx.ywh" |
172 | :rules="rules.ywhrules"> | 180 | :rules="rules.ywhrules" |
181 | > | ||
173 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 182 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> |
174 | </el-form-item> | 183 | </el-form-item> |
175 | </el-col> | 184 | </el-col> |
... | @@ -189,8 +198,12 @@ | ... | @@ -189,8 +198,12 @@ |
189 | <el-form-item | 198 | <el-form-item |
190 | label="是否被续封:" | 199 | label="是否被续封:" |
191 | prop="cfdj.sfbxf" | 200 | prop="cfdj.sfbxf" |
192 | :rules="rules.sfbxfrules"> | 201 | :rules="rules.sfbxfrules" |
193 | <el-radio-group v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> | 202 | > |
203 | <el-radio-group | ||
204 | v-model="ruleForm.cfdj.sfbxf" | ||
205 | @change="djlxchange" | ||
206 | > | ||
194 | <el-radio label="1">是</el-radio> | 207 | <el-radio label="1">是</el-radio> |
195 | <el-radio label="2">否</el-radio> | 208 | <el-radio label="2">否</el-radio> |
196 | </el-radio-group> | 209 | </el-radio-group> |
... | @@ -208,7 +221,8 @@ | ... | @@ -208,7 +221,8 @@ |
208 | v-for="item in qsztlist" | 221 | v-for="item in qsztlist" |
209 | :key="item.dcode" | 222 | :key="item.dcode" |
210 | :label="item.dname" | 223 | :label="item.dname" |
211 | :value="item.dcode"></el-option> | 224 | :value="item.dcode" |
225 | ></el-option> | ||
212 | </el-select> | 226 | </el-select> |
213 | </el-form-item> | 227 | </el-form-item> |
214 | </el-col> | 228 | </el-col> |
... | @@ -233,7 +247,8 @@ | ... | @@ -233,7 +247,8 @@ |
233 | v-for="item in dictData['A32']" | 247 | v-for="item in dictData['A32']" |
234 | :key="item.dcode" | 248 | :key="item.dcode" |
235 | :label="item.dname" | 249 | :label="item.dname" |
236 | :value="item.dcode"></el-option> | 250 | :value="item.dcode" |
251 | ></el-option> | ||
237 | </el-select> | 252 | </el-select> |
238 | </el-form-item> | 253 | </el-form-item> |
239 | </el-col> | 254 | </el-col> |
... | @@ -250,7 +265,8 @@ | ... | @@ -250,7 +265,8 @@ |
250 | type="date" | 265 | type="date" |
251 | placeholder="选择日期" | 266 | placeholder="选择日期" |
252 | value-format="yyyy-MM-dd HH:mm:ss" | 267 | value-format="yyyy-MM-dd HH:mm:ss" |
253 | format="yyyy-MM-dd"></el-date-picker> | 268 | format="yyyy-MM-dd" |
269 | ></el-date-picker> | ||
254 | </el-form-item> | 270 | </el-form-item> |
255 | </el-col> | 271 | </el-col> |
256 | <el-col :span="8"> | 272 | <el-col :span="8"> |
... | @@ -261,7 +277,8 @@ | ... | @@ -261,7 +277,8 @@ |
261 | type="date" | 277 | type="date" |
262 | placeholder="选择日期" | 278 | placeholder="选择日期" |
263 | value-format="yyyy-MM-dd HH:mm:ss" | 279 | value-format="yyyy-MM-dd HH:mm:ss" |
264 | format="yyyy-MM-dd"></el-date-picker> | 280 | format="yyyy-MM-dd" |
281 | ></el-date-picker> | ||
265 | </el-form-item> | 282 | </el-form-item> |
266 | </el-col> | 283 | </el-col> |
267 | <el-col :span="8"> | 284 | <el-col :span="8"> |
... | @@ -287,7 +304,8 @@ | ... | @@ -287,7 +304,8 @@ |
287 | <el-form-item | 304 | <el-form-item |
288 | label="登记机构:" | 305 | label="登记机构:" |
289 | prop="qlxx.djjg" | 306 | prop="qlxx.djjg" |
290 | :rules="rules.djjgrules"> | 307 | :rules="rules.djjgrules" |
308 | > | ||
291 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 309 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
292 | </el-form-item> | 310 | </el-form-item> |
293 | </el-col> | 311 | </el-col> |
... | @@ -296,7 +314,8 @@ | ... | @@ -296,7 +314,8 @@ |
296 | <el-form-item | 314 | <el-form-item |
297 | label="登簿人:" | 315 | label="登簿人:" |
298 | prop="qlxx.dbr" | 316 | prop="qlxx.dbr" |
299 | :rules="rules.dbrrules"> | 317 | :rules="rules.dbrrules" |
318 | > | ||
300 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> | 319 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> |
301 | </el-form-item> | 320 | </el-form-item> |
302 | </el-col> | 321 | </el-col> |
... | @@ -304,14 +323,16 @@ | ... | @@ -304,14 +323,16 @@ |
304 | <el-form-item | 323 | <el-form-item |
305 | label="登记时间:" | 324 | label="登记时间:" |
306 | prop="qlxx.djsj" | 325 | prop="qlxx.djsj" |
307 | :rules="rules.djsjrules"> | 326 | :rules="rules.djsjrules" |
327 | > | ||
308 | <el-date-picker | 328 | <el-date-picker |
309 | v-model="ruleForm.qlxx.djsj" | 329 | v-model="ruleForm.qlxx.djsj" |
310 | type="date" | 330 | type="date" |
311 | placeholder="选择日期" | 331 | placeholder="选择日期" |
312 | class="width100" | 332 | class="width100" |
313 | value-format="yyyy-MM-dd HH:mm:ss" | 333 | value-format="yyyy-MM-dd HH:mm:ss" |
314 | format="yyyy-MM-dd"> | 334 | format="yyyy-MM-dd" |
335 | > | ||
315 | </el-date-picker> | 336 | </el-date-picker> |
316 | </el-form-item> | 337 | </el-form-item> |
317 | </el-col> | 338 | </el-col> |
... | @@ -355,7 +376,8 @@ | ... | @@ -355,7 +376,8 @@ |
355 | type="date" | 376 | type="date" |
356 | placeholder="选择日期" | 377 | placeholder="选择日期" |
357 | value-format="yyyy-MM-dd HH:mm:ss" | 378 | value-format="yyyy-MM-dd HH:mm:ss" |
358 | format="yyyy-MM-dd"> | 379 | format="yyyy-MM-dd" |
380 | > | ||
359 | </el-date-picker> | 381 | </el-date-picker> |
360 | </el-form-item> | 382 | </el-form-item> |
361 | </el-col> | 383 | </el-col> |
... | @@ -370,150 +392,157 @@ | ... | @@ -370,150 +392,157 @@ |
370 | </div> | 392 | </div> |
371 | </template> | 393 | </template> |
372 | <script> | 394 | <script> |
373 | import { mapGetters } from "vuex"; | 395 | import { mapGetters } from "vuex"; |
374 | import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; | 396 | import { |
375 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 397 | init, |
376 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 398 | getSsQlxx, |
377 | import tdytTable from "@/views/workflow/components/tdytTable"; | 399 | getZtQlxx, |
378 | import selectTable from "@/components/selectTable/index.vue"; | 400 | getQlxxByQlxxBsm, |
379 | export default { | 401 | save, |
380 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 402 | } from "@/api/djbRepair.js"; |
381 | computed: { | 403 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
382 | ...mapGetters(["dictData", "flag"]), | 404 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
383 | // 根据流程判断表单是否为只读 | 405 | import tdytTable from "@/views/workflow/components/tdytTable"; |
384 | editDisabled () { | 406 | import selectTable from "@/components/selectTable/index.vue"; |
385 | if (!this.ableOperation) { | 407 | export default { |
386 | //只读状态 | 408 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, |
387 | return true; | 409 | computed: { |
388 | } | 410 | ...mapGetters(["dictData", "flag"]), |
389 | return false; | 411 | // 根据流程判断表单是否为只读 |
390 | }, | 412 | editDisabled() { |
413 | if (!this.ableOperation) { | ||
414 | //只读状态 | ||
415 | return true; | ||
416 | } | ||
417 | return false; | ||
391 | }, | 418 | }, |
392 | data () { | 419 | }, |
393 | return { | 420 | data() { |
394 | //表单是否可操作 | 421 | return { |
395 | props: { | 422 | //表单是否可操作 |
396 | label: "bdcqzh", | 423 | props: { |
397 | value: "bdcdyid", | 424 | label: "bdcqzh", |
425 | value: "bdcdyid", | ||
426 | }, | ||
427 | propsParam: this.$attrs, | ||
428 | key: 0, | ||
429 | isShow: false, | ||
430 | ssqlxxshow: true, | ||
431 | disabled: true, | ||
432 | czrOptions: [], | ||
433 | ruleForm: {}, | ||
434 | rules: {}, | ||
435 | // 登记类型 | ||
436 | djlxlist: [ | ||
437 | { | ||
438 | dcode: "100", | ||
439 | dname: "首次登记", | ||
440 | }, | ||
441 | { | ||
442 | dcode: "200", | ||
443 | dname: "转移登记", | ||
444 | }, | ||
445 | { | ||
446 | dcode: "300", | ||
447 | dname: "变更登记", | ||
448 | }, | ||
449 | { | ||
450 | dcode: "500", | ||
451 | dname: "更正登记", | ||
398 | }, | 452 | }, |
399 | propsParam: this.$attrs, | ||
400 | key: 0, | ||
401 | isShow: false, | ||
402 | ssqlxxshow: true, | ||
403 | disabled: true, | ||
404 | czrOptions: [], | ||
405 | ruleForm: {}, | ||
406 | rules: {}, | ||
407 | // 登记类型 | ||
408 | djlxlist: [ | ||
409 | { | ||
410 | dcode: "100", | ||
411 | dname: "首次登记", | ||
412 | }, | ||
413 | { | ||
414 | dcode: "200", | ||
415 | dname: "转移登记", | ||
416 | }, | ||
417 | { | ||
418 | dcode: "300", | ||
419 | dname: "变更登记", | ||
420 | }, | ||
421 | { | ||
422 | dcode: "500", | ||
423 | dname: "更正登记", | ||
424 | }, | ||
425 | 453 | ||
426 | { | 454 | { |
427 | dcode: "901", | 455 | dcode: "901", |
428 | dname: "补证", | 456 | dname: "补证", |
429 | }, | 457 | }, |
430 | { | 458 | { |
431 | dcode: "902", | 459 | dcode: "902", |
432 | dname: "换证", | 460 | dname: "换证", |
433 | }, | 461 | }, |
434 | ], | 462 | ], |
435 | 463 | ||
436 | // 权属状态 | 464 | // 权属状态 |
437 | qsztlist: [ | 465 | qsztlist: [ |
438 | { | 466 | { |
439 | dcode: "1", | 467 | dcode: "1", |
440 | dname: "现势", | 468 | dname: "现势", |
441 | }, | 469 | }, |
442 | { | 470 | { |
443 | dcode: "2", | 471 | dcode: "2", |
444 | dname: "历史", | 472 | dname: "历史", |
445 | }, | 473 | }, |
474 | ], | ||
475 | // 是否被续封 | ||
476 | sfbxflist: [ | ||
477 | { | ||
478 | dcode: "0", | ||
479 | dname: "否", | ||
480 | }, | ||
481 | { | ||
482 | dcode: "1", | ||
483 | dname: "是", | ||
484 | }, | ||
485 | ], | ||
486 | ableOperation: false, | ||
487 | //传递参数\ | ||
488 | |||
489 | ssQlxxList: [], | ||
490 | ztQlxxList: [], | ||
491 | rules: { | ||
492 | ztQlxxrules: [ | ||
493 | { required: true, message: "抵押不动产信息", trigger: "blur" }, | ||
446 | ], | 494 | ], |
447 | // 是否被续封 | 495 | ssQlxxrules: [ |
448 | sfbxflist: [ | 496 | { required: true, message: "上手权利信息", trigger: "blur" }, |
449 | { | ||
450 | dcode: "0", | ||
451 | dname: "否", | ||
452 | }, | ||
453 | { | ||
454 | dcode: "1", | ||
455 | dname: "是", | ||
456 | }, | ||
457 | ], | 497 | ], |
458 | ableOperation: false, | 498 | bdcqzhrules: [ |
459 | //传递参数\ | 499 | { required: true, message: "不动产登记证明号", trigger: "blur" }, |
460 | 500 | ], | |
461 | ssQlxxList: [], | 501 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
462 | ztQlxxList: [], | 502 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
463 | rules: { | 503 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
464 | ztQlxxrules: [ | 504 | ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], |
465 | { required: true, message: "抵押不动产信息", trigger: "blur" }, | 505 | sfbxfrules: [ |
466 | ], | 506 | { required: true, message: "是否被续封", trigger: "change" }, |
467 | ssQlxxrules: [ | 507 | ], |
468 | { required: true, message: "上手权利信息", trigger: "blur" }, | 508 | }, |
469 | ], | 509 | }; |
470 | bdcqzhrules: [ | 510 | }, |
471 | { required: true, message: "不动产登记证明号", trigger: "blur" }, | 511 | created() { |
472 | ], | 512 | this.loadData(); |
473 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 513 | }, |
474 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 514 | mounted() { |
475 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 515 | this.ableOperation = this.$parent.ableOperation; |
476 | ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], | 516 | }, |
477 | sfbxfrules: [ | 517 | methods: { |
478 | { required: true, message: "是否被续封", trigger: "change" }, | 518 | /** |
479 | ], | 519 | * @description: ztQlxxchange |
480 | }, | 520 | * @param {*} val |
481 | }; | 521 | * @author: renchao |
482 | }, | 522 | */ |
483 | created () { | 523 | ztQlxxchange(val) { |
484 | this.loadData(); | 524 | this.ruleForm.ztQlxx = val; |
485 | }, | 525 | }, |
486 | mounted () { | 526 | /** |
487 | this.ableOperation = this.$parent.ableOperation; | 527 | * @description: ssQlxxchange |
528 | * @param {*} val | ||
529 | * @author: renchao | ||
530 | */ | ||
531 | ssQlxxchange(val) { | ||
532 | this.ruleForm.ssQlxx = val; | ||
533 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
534 | this.ssQlxxchangediolog(val); | ||
488 | }, | 535 | }, |
489 | methods: { | 536 | // 弹框事件 |
490 | /** | 537 | ssQlxxchangediolog(val) { |
491 | * @description: ztQlxxchange | 538 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
492 | * @param {*} val | 539 | iconClass: "el-icon-question", //自定义图标样式 |
493 | * @author: renchao | 540 | confirmButtonText: "确认", //确认按钮文字更换 |
494 | */ | 541 | cancelButtonText: "取消", //取消按钮文字更换 |
495 | ztQlxxchange (val) { | 542 | showClose: true, //是否显示右上角关闭按钮 |
496 | this.ruleForm.ztQlxx = val; | 543 | type: "warning", |
497 | }, | 544 | }) |
498 | /** | 545 | .then(() => { |
499 | * @description: ssQlxxchange | ||
500 | * @param {*} val | ||
501 | * @author: renchao | ||
502 | */ | ||
503 | ssQlxxchange (val) { | ||
504 | this.ruleForm.ssQlxx = val; | ||
505 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
506 | this.ssQlxxchangediolog(val); | ||
507 | }, | ||
508 | // 弹框事件 | ||
509 | ssQlxxchangediolog (val) { | ||
510 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | ||
511 | iconClass: "el-icon-question", //自定义图标样式 | ||
512 | confirmButtonText: "确认", //确认按钮文字更换 | ||
513 | cancelButtonText: "取消", //取消按钮文字更换 | ||
514 | showClose: true, //是否显示右上角关闭按钮 | ||
515 | type: "warning", | ||
516 | }).then(() => { | ||
517 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { | 546 | getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { |
518 | if (res.code == 200) { | 547 | if (res.code == 200) { |
519 | this.nowlist = res.result; | 548 | this.nowlist = res.result; |
... | @@ -541,114 +570,115 @@ | ... | @@ -541,114 +570,115 @@ |
541 | }); | 570 | }); |
542 | } | 571 | } |
543 | }); | 572 | }); |
544 | }).catch(() => { | 573 | }) |
574 | .catch(() => { | ||
545 | this.$message({ | 575 | this.$message({ |
546 | type: "info", | 576 | type: "info", |
547 | message: "已取消同步", | 577 | message: "已取消同步", |
548 | }); | 578 | }); |
549 | }) | ||
550 | }, | ||
551 | /** | ||
552 | * @description: djlxchange | ||
553 | * @param {*} val | ||
554 | * @author: renchao | ||
555 | */ | ||
556 | djlxchange (val) { | ||
557 | if (val == null || val == 100) { | ||
558 | this.ssqlxxshow = false; | ||
559 | } else { | ||
560 | this.ssqlxxshow = true; | ||
561 | } | ||
562 | }, | ||
563 | /** | ||
564 | * @description: loadData | ||
565 | * @author: renchao | ||
566 | */ | ||
567 | loadData () { | ||
568 | this.$startLoading(); | ||
569 | this.propsParam.isEdit = this.$parent.isEdit; | ||
570 | init(this.propsParam).then((res) => { | ||
571 | if (res.code == 200) { | ||
572 | this.ruleForm = res.result; | ||
573 | this.isShow = true; | ||
574 | let djlx = this.ruleForm.qlxx.djlx; | ||
575 | this.$endLoading(); | ||
576 | if (djlx == null || djlx == 100) { | ||
577 | this.ssqlxxshow = false; | ||
578 | } | ||
579 | |||
580 | //获取主体信息 | ||
581 | getSsQlxx({ | ||
582 | bdcdyid: this.propsParam.bdcdyid, | ||
583 | qllx: this.propsParam.qllx, | ||
584 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
585 | }).then((res) => { | ||
586 | if (res.code == 200) { | ||
587 | this.ssQlxxList = res.result; | ||
588 | } | ||
589 | }); | ||
590 | //获取上手信息 | ||
591 | getZtQlxx({ | ||
592 | bdcdyid: this.propsParam.bdcdyid, | ||
593 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
594 | }).then((res) => { | ||
595 | if (res.code == 200) { | ||
596 | this.ztQlxxList = res.result; | ||
597 | } | ||
598 | }); | ||
599 | } | ||
600 | }); | 579 | }); |
601 | }, | 580 | }, |
602 | // // 更新土地用途信息 | 581 | /** |
603 | // upDateTdytxxList(val) { | 582 | * @description: djlxchange |
604 | // this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 583 | * @param {*} val |
605 | // this.key++; | 584 | * @author: renchao |
606 | // }, | 585 | */ |
607 | // // 更新权利人信息 | 586 | djlxchange(val) { |
608 | // upDateQlrxxList(val) { | 587 | if (val == null || val == 100) { |
609 | // this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | 588 | this.ssqlxxshow = false; |
610 | // this.czrOptions = this.ruleForm.qlrData; | 589 | } else { |
611 | // this.key++; | 590 | this.ssqlxxshow = true; |
612 | // }, | 591 | } |
613 | // // 更新义务人信息 | 592 | }, |
614 | // upDateYwrxxList(val) { | 593 | /** |
615 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | 594 | * @description: loadData |
616 | // this.key++; | 595 | * @author: renchao |
617 | // }, | 596 | */ |
618 | /** | 597 | loadData() { |
619 | * @description: onSubmit | 598 | this.$startLoading(); |
620 | * @author: renchao | 599 | this.propsParam.isEdit = this.$parent.isEdit; |
621 | */ | 600 | init(this.propsParam).then((res) => { |
622 | onSubmit () { | 601 | if (res.code == 200) { |
623 | this.$refs.ruleForm.validate((valid) => { | 602 | this.ruleForm = res.result; |
624 | console.log("valid", valid); | 603 | this.isShow = true; |
625 | if (valid) { | 604 | let djlx = this.ruleForm.qlxx.djlx; |
626 | save(this.ruleForm).then((res) => { | 605 | this.$endLoading(); |
627 | if (res.code === 200) { | 606 | if (djlx == null || djlx == 100) { |
628 | this.$message({ | 607 | this.ssqlxxshow = false; |
629 | showClose: true, | ||
630 | message: "保存成功!", | ||
631 | type: "success", | ||
632 | }); | ||
633 | this.$parent.changeywh(); | ||
634 | this.$store.dispatch("user/refreshPage", true); | ||
635 | } else { | ||
636 | this.$message({ | ||
637 | showClose: true, | ||
638 | message: res.message, | ||
639 | type: "error", | ||
640 | }); | ||
641 | } | ||
642 | }); | ||
643 | } else { | ||
644 | return false; | ||
645 | } | 608 | } |
646 | }); | 609 | |
647 | }, | 610 | //获取主体信息 |
611 | getSsQlxx({ | ||
612 | bdcdyid: this.propsParam.bdcdyid, | ||
613 | qllx: this.propsParam.qllx, | ||
614 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
615 | }).then((res) => { | ||
616 | if (res.code == 200) { | ||
617 | this.ssQlxxList = res.result; | ||
618 | } | ||
619 | }); | ||
620 | //获取上手信息 | ||
621 | getZtQlxx({ | ||
622 | bdcdyid: this.propsParam.bdcdyid, | ||
623 | bsmQlxx: this.ruleForm.qlxx.bsmQlxx, | ||
624 | }).then((res) => { | ||
625 | if (res.code == 200) { | ||
626 | this.ztQlxxList = res.result; | ||
627 | } | ||
628 | }); | ||
629 | } | ||
630 | }); | ||
631 | }, | ||
632 | // // 更新土地用途信息 | ||
633 | // upDateTdytxxList(val) { | ||
634 | // this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
635 | // this.key++; | ||
636 | // }, | ||
637 | // // 更新权利人信息 | ||
638 | // upDateQlrxxList(val) { | ||
639 | // this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
640 | // this.czrOptions = this.ruleForm.qlrData; | ||
641 | // this.key++; | ||
642 | // }, | ||
643 | // // 更新义务人信息 | ||
644 | // upDateYwrxxList(val) { | ||
645 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
646 | // this.key++; | ||
647 | // }, | ||
648 | /** | ||
649 | * @description: onSubmit | ||
650 | * @author: renchao | ||
651 | */ | ||
652 | onSubmit() { | ||
653 | this.$refs.ruleForm.validate((valid) => { | ||
654 | console.log("valid", valid); | ||
655 | if (valid) { | ||
656 | save(this.ruleForm).then((res) => { | ||
657 | if (res.code === 200) { | ||
658 | this.$message({ | ||
659 | showClose: true, | ||
660 | message: "保存成功!", | ||
661 | type: "success", | ||
662 | }); | ||
663 | this.$parent.changeywh(); | ||
664 | this.$store.dispatch("user/refreshPage", true); | ||
665 | } else { | ||
666 | this.$message({ | ||
667 | showClose: true, | ||
668 | message: res.message, | ||
669 | type: "error", | ||
670 | }); | ||
671 | } | ||
672 | }); | ||
673 | } else { | ||
674 | return false; | ||
675 | } | ||
676 | }); | ||
648 | }, | 677 | }, |
649 | }; | 678 | }, |
679 | }; | ||
650 | </script> | 680 | </script> |
651 | <style scoped lang="scss"> | 681 | <style scoped lang="scss"> |
652 | @import "~@/styles/public.scss"; | 682 | @import "~@/styles/public.scss"; |
653 | @import "~@/styles/slxx/slxx.scss"; | 683 | @import "~@/styles/slxx/slxx.scss"; |
654 | </style> | 684 | </style> | ... | ... |
... | @@ -384,7 +384,7 @@ | ... | @@ -384,7 +384,7 @@ |
384 | </el-radio-group> | 384 | </el-radio-group> |
385 | </el-form-item> | 385 | </el-form-item> |
386 | </el-col> | 386 | </el-col> |
387 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> | 387 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> |
388 | <el-form-item label="是否分别持证:"> | 388 | <el-form-item label="是否分别持证:"> |
389 | <el-radio-group | 389 | <el-radio-group |
390 | v-model="ruleForm.qlxx.sqfbcz" | 390 | v-model="ruleForm.qlxx.sqfbcz" |
... | @@ -410,7 +410,7 @@ | ... | @@ -410,7 +410,7 @@ |
410 | </el-option> | 410 | </el-option> |
411 | </el-select> | 411 | </el-select> |
412 | </el-form-item> | 412 | </el-form-item> |
413 | </el-col> | 413 | </el-col> --> |
414 | </el-row> | 414 | </el-row> |
415 | <qlrCommonTable | 415 | <qlrCommonTable |
416 | :tableData="ruleForm.qlrData" | 416 | :tableData="ruleForm.qlrData" | ... | ... |
... | @@ -345,7 +345,7 @@ | ... | @@ -345,7 +345,7 @@ |
345 | </el-radio-group> | 345 | </el-radio-group> |
346 | </el-form-item> | 346 | </el-form-item> |
347 | </el-col> | 347 | </el-col> |
348 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> | 348 | <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> |
349 | <el-form-item label="是否分别持证:"> | 349 | <el-form-item label="是否分别持证:"> |
350 | <el-radio-group | 350 | <el-radio-group |
351 | v-model="ruleForm.qlxx.sqfbcz" | 351 | v-model="ruleForm.qlxx.sqfbcz" |
... | @@ -375,7 +375,7 @@ | ... | @@ -375,7 +375,7 @@ |
375 | </el-option> | 375 | </el-option> |
376 | </el-select> | 376 | </el-select> |
377 | </el-form-item> | 377 | </el-form-item> |
378 | </el-col> | 378 | </el-col> --> |
379 | </el-row> | 379 | </el-row> |
380 | <qlrCommonTable | 380 | <qlrCommonTable |
381 | :tableData="ruleForm.qlrData" | 381 | :tableData="ruleForm.qlrData" |
... | @@ -408,7 +408,7 @@ | ... | @@ -408,7 +408,7 @@ |
408 | </template> | 408 | </template> |
409 | <script> | 409 | <script> |
410 | import { mapGetters } from "vuex"; | 410 | import { mapGetters } from "vuex"; |
411 | import ywmix from "@/views/ywbl/mixin/index"; | 411 | // import ywmix from "@/views/ywbl/mixin/index"; |
412 | import { | 412 | import { |
413 | init, | 413 | init, |
414 | getSsQlxx, | 414 | getSsQlxx, |
... | @@ -421,7 +421,7 @@ import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | ... | @@ -421,7 +421,7 @@ import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
421 | import tdytTable from "@/views/workflow/components/tdytTable"; | 421 | import tdytTable from "@/views/workflow/components/tdytTable"; |
422 | import selectTable from "@/components/selectTable/index.vue"; | 422 | import selectTable from "@/components/selectTable/index.vue"; |
423 | export default { | 423 | export default { |
424 | mixins: [ywmix], | 424 | // mixins: [ywmix], |
425 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 425 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, |
426 | computed: { | 426 | computed: { |
427 | ...mapGetters(["dictData", "flag"]), | 427 | ...mapGetters(["dictData", "flag"]), |
... | @@ -711,24 +711,17 @@ export default { | ... | @@ -711,24 +711,17 @@ export default { |
711 | return false; | 711 | return false; |
712 | } | 712 | } |
713 | this.ruleForm.qlrData[0].sfczr = "1"; | 713 | this.ruleForm.qlrData[0].sfczr = "1"; |
714 | } | 714 | } else { |
715 | if (this.ruleForm.qlxx.gyfs == "1") { | 715 | if (this.ruleForm.qlrData.length <= 1) { |
716 | //是否分别持证 | 716 | this.$message({ |
717 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 717 | showClose: true, |
718 | //是 | 718 | message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", |
719 | this.ruleForm.qlrData.forEach((item, index) => { | 719 | type: "error", |
720 | item.sfczr = "1"; | 720 | }); |
721 | }); | 721 | return false; |
722 | } else { | 722 | } |
723 | this.ruleForm.qlrData.forEach((item, index) => { | 723 | } |
724 | if (item.zjh == this.ruleForm.czr) { | 724 | |
725 | item.sfczr = "1"; | ||
726 | } else { | ||
727 | item.sfczr = "0"; | ||
728 | } | ||
729 | }); | ||
730 | } | ||
731 | } | ||
732 | save(this.ruleForm).then((res) => { | 725 | save(this.ruleForm).then((res) => { |
733 | if (res.code === 200) { | 726 | if (res.code === 200) { |
734 | this.$message({ | 727 | this.$message({ | ... | ... |
1 | import { log } from "bpmn-js-token-simulation" | ||
2 | |||
1 | /* | 3 | /* |
2 | * @Description: | 4 | * @Description: |
3 | * @Autor: renchao | 5 | * @Autor: renchao |
... | @@ -11,6 +13,7 @@ export default { | ... | @@ -11,6 +13,7 @@ export default { |
11 | watch: { | 13 | watch: { |
12 | 'ruleForm.sldy.gyfs': { | 14 | 'ruleForm.sldy.gyfs': { |
13 | handler: function (val, oldVal) { | 15 | handler: function (val, oldVal) { |
16 | console.log("单独所有",val,oldVal); | ||
14 | if (val == '0' && this.ruleForm.qlrList.length > 1 && oldVal) { | 17 | if (val == '0' && this.ruleForm.qlrList.length > 1 && oldVal) { |
15 | this.ruleForm.sldy.gyfs = oldVal | 18 | this.ruleForm.sldy.gyfs = oldVal |
16 | this.$message({ | 19 | this.$message({ | ... | ... |
-
Please register or sign in to post a comment