style:合并分支
Showing
28 changed files
with
1139 additions
and
1103 deletions
... | @@ -17,8 +17,7 @@ | ... | @@ -17,8 +17,7 @@ |
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 | > | ||
22 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 21 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
23 | <div class="slxx_title title-block"> | 22 | <div class="slxx_title title-block"> |
24 | 补录信息 | 23 | 补录信息 |
... | @@ -47,28 +46,24 @@ | ... | @@ -47,28 +46,24 @@ |
47 | </div> | 46 | </div> |
48 | <el-row :gutter="10"> | 47 | <el-row :gutter="10"> |
49 | <el-col :span="8"> | 48 | <el-col :span="8"> |
50 | <el-form-item label="查封不动产权信息:" prop="ztQlxx.bdcqzh" :rules="rules.ztQlxxrules"> | 49 | <el-form-item label="查封不动产权信息:" prop="ztQlxx.bdcqzh" :rules="rules.ztQlxxrules"> |
51 | <select-table | 50 | <select-table |
52 | v-model="ruleForm.ztQlxx" | 51 | v-model="ruleForm.ztQlxx" |
53 | :table-width="550" | 52 | :table-width="550" |
54 | :tableData="ztQlxxList" | 53 | :tableData="ztQlxxList" |
55 | :props="props" | 54 | :props="props" |
56 | @change="ztQlxxchange" | 55 | @change="ztQlxxchange"> |
57 | > | ||
58 | <el-table-column | 56 | <el-table-column |
59 | prop="qllxmc" | 57 | prop="qllxmc" |
60 | width="130" | 58 | width="130" |
61 | label="权利类型" | 59 | label="权利类型"></el-table-column> |
62 | ></el-table-column> | ||
63 | <el-table-column | 60 | <el-table-column |
64 | prop="bdcqzh" | 61 | prop="bdcqzh" |
65 | width="160" | 62 | width="160" |
66 | label="不动产权证书" | 63 | label="不动产权证书"></el-table-column> |
67 | ></el-table-column> | ||
68 | <el-table-column | 64 | <el-table-column |
69 | prop="qlrmc" | 65 | prop="qlrmc" |
70 | label="被执行人" | 66 | label="被执行人"></el-table-column> |
71 | ></el-table-column> | ||
72 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 67 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
73 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 68 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
74 | <el-table-column prop="zl" label="坐落"></el-table-column> | 69 | <el-table-column prop="zl" label="坐落"></el-table-column> |
... | @@ -83,18 +78,15 @@ | ... | @@ -83,18 +78,15 @@ |
83 | :table-width="550" | 78 | :table-width="550" |
84 | :tableData="ssQlxxList" | 79 | :tableData="ssQlxxList" |
85 | :props="props" | 80 | :props="props" |
86 | @change="ssQlxxchange" | 81 | @change="ssQlxxchange"> |
87 | > | ||
88 | <el-table-column | 82 | <el-table-column |
89 | prop="qllxmc" | 83 | prop="qllxmc" |
90 | width="130" | 84 | width="130" |
91 | label="权利类型" | 85 | label="权利类型"></el-table-column> |
92 | ></el-table-column> | ||
93 | <el-table-column | 86 | <el-table-column |
94 | prop="bdcqzh" | 87 | prop="bdcqzh" |
95 | width="160" | 88 | width="160" |
96 | label="不动产权证书" | 89 | label="不动产权证书"></el-table-column> |
97 | ></el-table-column> | ||
98 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 90 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> |
99 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 91 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
100 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 92 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
... | @@ -182,14 +174,15 @@ | ... | @@ -182,14 +174,15 @@ |
182 | </el-form-item> | 174 | </el-form-item> |
183 | </el-col> | 175 | </el-col> |
184 | <el-col :span="8"> | 176 | <el-col :span="8"> |
185 | <el-form-item label="是否被续封:"> | 177 | <el-form-item label="是否被续封:" |
178 | prop="cfdj.sfbxf" | ||
179 | :rules="rules.sfbxfrules"> | ||
186 | <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> | 180 | <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> |
187 | <el-option | 181 | <el-option |
188 | v-for="item in sfbxflist" | 182 | v-for="item in sfbxflist" |
189 | :key="item.dcode" | 183 | :key="item.dcode" |
190 | :label="item.dname" | 184 | :label="item.dname" |
191 | :value="item.dcode" | 185 | :value="item.dcode"></el-option> |
192 | ></el-option> | ||
193 | </el-select> | 186 | </el-select> |
194 | </el-form-item> | 187 | </el-form-item> |
195 | </el-col> | 188 | </el-col> |
... | @@ -205,8 +198,7 @@ | ... | @@ -205,8 +198,7 @@ |
205 | v-for="item in qsztlist" | 198 | v-for="item in qsztlist" |
206 | :key="item.dcode" | 199 | :key="item.dcode" |
207 | :label="item.dname" | 200 | :label="item.dname" |
208 | :value="item.dcode" | 201 | :value="item.dcode"></el-option> |
209 | ></el-option> | ||
210 | </el-select> | 202 | </el-select> |
211 | </el-form-item> | 203 | </el-form-item> |
212 | </el-col> | 204 | </el-col> |
... | @@ -231,8 +223,7 @@ | ... | @@ -231,8 +223,7 @@ |
231 | v-for="item in dictData['A32']" | 223 | v-for="item in dictData['A32']" |
232 | :key="item.dcode" | 224 | :key="item.dcode" |
233 | :label="item.dname" | 225 | :label="item.dname" |
234 | :value="item.dcode" | 226 | :value="item.dcode"></el-option> |
235 | ></el-option> | ||
236 | </el-select> | 227 | </el-select> |
237 | </el-form-item> | 228 | </el-form-item> |
238 | </el-col> | 229 | </el-col> |
... | @@ -249,8 +240,7 @@ | ... | @@ -249,8 +240,7 @@ |
249 | type="date" | 240 | type="date" |
250 | placeholder="选择日期" | 241 | placeholder="选择日期" |
251 | value-format="yyyy-MM-dd HH:mm:ss" | 242 | value-format="yyyy-MM-dd HH:mm:ss" |
252 | format="yyyy-MM-dd" | 243 | format="yyyy-MM-dd"></el-date-picker> |
253 | ></el-date-picker> | ||
254 | </el-form-item> | 244 | </el-form-item> |
255 | </el-col> | 245 | </el-col> |
256 | <el-col :span="8"> | 246 | <el-col :span="8"> |
... | @@ -261,8 +251,7 @@ | ... | @@ -261,8 +251,7 @@ |
261 | type="date" | 251 | type="date" |
262 | placeholder="选择日期" | 252 | placeholder="选择日期" |
263 | value-format="yyyy-MM-dd HH:mm:ss" | 253 | value-format="yyyy-MM-dd HH:mm:ss" |
264 | format="yyyy-MM-dd" | 254 | format="yyyy-MM-dd"></el-date-picker> |
265 | ></el-date-picker> | ||
266 | </el-form-item> | 255 | </el-form-item> |
267 | </el-col> | 256 | </el-col> |
268 | <el-col :span="8"> | 257 | <el-col :span="8"> |
... | @@ -288,8 +277,7 @@ | ... | @@ -288,8 +277,7 @@ |
288 | <el-form-item | 277 | <el-form-item |
289 | label="登记机构:" | 278 | label="登记机构:" |
290 | prop="qlxx.djjg" | 279 | prop="qlxx.djjg" |
291 | :rules="rules.djjgrules" | 280 | :rules="rules.djjgrules"> |
292 | > | ||
293 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 281 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
294 | </el-form-item> | 282 | </el-form-item> |
295 | </el-col> | 283 | </el-col> |
... | @@ -298,8 +286,7 @@ | ... | @@ -298,8 +286,7 @@ |
298 | <el-form-item | 286 | <el-form-item |
299 | label="登簿人:" | 287 | label="登簿人:" |
300 | prop="qlxx.dbr" | 288 | prop="qlxx.dbr" |
301 | :rules="rules.dbrrules" | 289 | :rules="rules.dbrrules"> |
302 | > | ||
303 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> | 290 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> |
304 | </el-form-item> | 291 | </el-form-item> |
305 | </el-col> | 292 | </el-col> |
... | @@ -307,16 +294,14 @@ | ... | @@ -307,16 +294,14 @@ |
307 | <el-form-item | 294 | <el-form-item |
308 | label="登记时间:" | 295 | label="登记时间:" |
309 | prop="qlxx.djsj" | 296 | prop="qlxx.djsj" |
310 | :rules="rules.djsjrules" | 297 | :rules="rules.djsjrules"> |
311 | > | ||
312 | <el-date-picker | 298 | <el-date-picker |
313 | v-model="ruleForm.qlxx.djsj" | 299 | v-model="ruleForm.qlxx.djsj" |
314 | type="date" | 300 | type="date" |
315 | placeholder="选择日期" | 301 | placeholder="选择日期" |
316 | class="width100" | 302 | class="width100" |
317 | value-format="yyyy-MM-dd HH:mm:ss" | 303 | value-format="yyyy-MM-dd HH:mm:ss" |
318 | format="yyyy-MM-dd" | 304 | format="yyyy-MM-dd"> |
319 | > | ||
320 | </el-date-picker> | 305 | </el-date-picker> |
321 | </el-form-item> | 306 | </el-form-item> |
322 | </el-col> | 307 | </el-col> |
... | @@ -354,14 +339,13 @@ | ... | @@ -354,14 +339,13 @@ |
354 | </el-col> | 339 | </el-col> |
355 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> | 340 | <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> |
356 | <el-form-item label="解封登记时间:"> | 341 | <el-form-item label="解封登记时间:"> |
357 | <el-date-picker | 342 | <el-date-picker |
358 | v-model="ruleForm.cfdj.jfdjsj" | 343 | v-model="ruleForm.cfdj.jfdjsj" |
359 | class="width100" | 344 | class="width100" |
360 | type="date" | 345 | type="date" |
361 | placeholder="选择日期" | 346 | placeholder="选择日期" |
362 | value-format="yyyy-MM-dd HH:mm:ss" | 347 | value-format="yyyy-MM-dd HH:mm:ss" |
363 | format="yyyy-MM-dd" | 348 | format="yyyy-MM-dd"> |
364 | > | ||
365 | </el-date-picker> | 349 | </el-date-picker> |
366 | </el-form-item> | 350 | </el-form-item> |
367 | </el-col> | 351 | </el-col> |
... | @@ -376,266 +360,265 @@ | ... | @@ -376,266 +360,265 @@ |
376 | </div> | 360 | </div> |
377 | </template> | 361 | </template> |
378 | <script> | 362 | <script> |
379 | import { mapGetters } from "vuex"; | 363 | import { mapGetters } from "vuex"; |
380 | import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbRepair.js"; | 364 | import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbRepair.js"; |
381 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 365 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
382 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 366 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
383 | import tdytTable from "@/views/workflow/components/tdytTable"; | 367 | import tdytTable from "@/views/workflow/components/tdytTable"; |
384 | import selectTable from "@/components/selectTable/index.vue"; | 368 | import selectTable from "@/components/selectTable/index.vue"; |
385 | export default { | 369 | export default { |
386 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 370 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, |
387 | computed: { | 371 | computed: { |
388 | ...mapGetters(["dictData", "flag"]), | 372 | ...mapGetters(["dictData", "flag"]), |
389 | // 根据流程判断表单是否为只读 | 373 | // 根据流程判断表单是否为只读 |
390 | editDisabled() { | 374 | editDisabled () { |
391 | if (!this.ableOperation) { | 375 | if (!this.ableOperation) { |
392 | //只读状态 | 376 | //只读状态 |
393 | return true; | 377 | return true; |
394 | } | 378 | } |
395 | return false; | 379 | return false; |
396 | }, | ||
397 | }, | ||
398 | data() { | ||
399 | return { | ||
400 | //表单是否可操作 | ||
401 | props: { | ||
402 | label: "bdcqzh", | ||
403 | value: "bdcdyid", | ||
404 | }, | 380 | }, |
405 | propsParam: this.$attrs, | 381 | }, |
406 | key: 0, | 382 | data () { |
407 | isShow: false, | 383 | return { |
408 | ssqlxxshow: true, | 384 | //表单是否可操作 |
409 | disabled: true, | 385 | props: { |
410 | czrOptions: [], | 386 | label: "bdcqzh", |
411 | ruleForm: {}, | 387 | value: "bdcdyid", |
412 | rules: {}, | ||
413 | // 登记类型 | ||
414 | djlxlist: [ | ||
415 | { | ||
416 | dcode: "100", | ||
417 | dname: "首次登记", | ||
418 | }, | ||
419 | { | ||
420 | dcode: "200", | ||
421 | dname: "转移登记", | ||
422 | }, | ||
423 | { | ||
424 | dcode: "300", | ||
425 | dname: "变更登记", | ||
426 | }, | ||
427 | { | ||
428 | dcode: "500", | ||
429 | dname: "更正登记", | ||
430 | }, | ||
431 | |||
432 | { | ||
433 | dcode: "901", | ||
434 | dname: "补证", | ||
435 | }, | ||
436 | { | ||
437 | dcode: "902", | ||
438 | dname: "换证", | ||
439 | }, | 388 | }, |
440 | ], | 389 | propsParam: this.$attrs, |
390 | key: 0, | ||
391 | isShow: false, | ||
392 | ssqlxxshow: true, | ||
393 | disabled: true, | ||
394 | czrOptions: [], | ||
395 | ruleForm: {}, | ||
396 | rules: {}, | ||
397 | // 登记类型 | ||
398 | djlxlist: [ | ||
399 | { | ||
400 | dcode: "100", | ||
401 | dname: "首次登记", | ||
402 | }, | ||
403 | { | ||
404 | dcode: "200", | ||
405 | dname: "转移登记", | ||
406 | }, | ||
407 | { | ||
408 | dcode: "300", | ||
409 | dname: "变更登记", | ||
410 | }, | ||
411 | { | ||
412 | dcode: "500", | ||
413 | dname: "更正登记", | ||
414 | }, | ||
441 | 415 | ||
442 | // 权属状态 | 416 | { |
443 | qsztlist: [ | 417 | dcode: "901", |
444 | { | 418 | dname: "补证", |
445 | dcode: "1", | 419 | }, |
446 | dname: "现势", | 420 | { |
447 | }, | 421 | dcode: "902", |
448 | { | 422 | dname: "换证", |
449 | dcode: "2", | 423 | }, |
450 | dname: "历史", | 424 | ], |
451 | }, | ||
452 | ], | ||
453 | // 是否被续封 | ||
454 | sfbxflist: [ | ||
455 | { | ||
456 | dcode: "0", | ||
457 | dname: "否", | ||
458 | }, | ||
459 | { | ||
460 | dcode: "1", | ||
461 | dname: "是", | ||
462 | }, | ||
463 | ], | ||
464 | ableOperation: false, | ||
465 | //传递参数\ | ||
466 | 425 | ||
467 | ssQlxxList: [], | 426 | // 权属状态 |
468 | ztQlxxList: [], | 427 | qsztlist: [ |
469 | rules: { | 428 | { |
470 | ztQlxxrules: [ | 429 | dcode: "1", |
471 | { required: true, message: "抵押不动产信息", trigger: "change" }, | 430 | dname: "现势", |
431 | }, | ||
432 | { | ||
433 | dcode: "2", | ||
434 | dname: "历史", | ||
435 | }, | ||
472 | ], | 436 | ], |
473 | bdcqzhrules: [ | 437 | // 是否被续封 |
474 | { required: true, message: "不动产登记证明号", trigger: "blur" }, | 438 | sfbxflist: [ |
439 | { | ||
440 | dcode: "0", | ||
441 | dname: "否", | ||
442 | }, | ||
443 | { | ||
444 | dcode: "1", | ||
445 | dname: "是", | ||
446 | }, | ||
475 | ], | 447 | ], |
476 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 448 | ableOperation: false, |
477 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 449 | //传递参数\ |
478 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 450 | |
479 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 451 | ssQlxxList: [], |
480 | }, | 452 | ztQlxxList: [], |
481 | }; | 453 | rules: { |
482 | }, | 454 | ztQlxxrules: [ |
483 | created() { | 455 | { required: true, message: "抵押不动产信息", trigger: "change" }, |
484 | this.loadData(); | 456 | ], |
485 | }, | 457 | bdcqzhrules: [ |
486 | mounted() { | 458 | { required: true, message: "不动产登记证明号", trigger: "blur" }, |
487 | this.ableOperation = this.$parent.ableOperation; | 459 | ], |
488 | }, | 460 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
489 | methods: { | 461 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
490 | /** | 462 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
491 | * @description: ztQlxxchange | 463 | sfbxfrules: [{ required: true, message: "是否被续封", trigger: "change" }] |
492 | * @param {*} val | 464 | } |
493 | * @author: renchao | ||
494 | */ | ||
495 | ztQlxxchange(val) { | ||
496 | this.ruleForm.ztQlxx = val; | ||
497 | }, | ||
498 | /** | ||
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 | }, | ||
507 | /** | ||
508 | * @description: djlxchange | ||
509 | * @param {*} val | ||
510 | * @author: renchao | ||
511 | */ | ||
512 | djlxchange(val) { | ||
513 | if (val == null || val == 100) { | ||
514 | this.ssqlxxshow = false; | ||
515 | } else { | ||
516 | this.ssqlxxshow = true; | ||
517 | } | 465 | } |
518 | }, | 466 | }, |
519 | /** | 467 | created () { |
520 | * @description: loadData | 468 | this.loadData(); |
521 | * @author: renchao | ||
522 | */ | ||
523 | loadData() { | ||
524 | this.$startLoading(); | ||
525 | this.propsParam.isEdit = this.$parent.isEdit; | ||
526 | init(this.propsParam).then((res) => { | ||
527 | if (res.code == 200) { | ||
528 | this.ruleForm = res.result; | ||
529 | this.isShow = true; | ||
530 | let djlx = this.ruleForm.qlxx.djlx; | ||
531 | this.$endLoading(); | ||
532 | if (djlx == null || djlx == 100) { | ||
533 | this.ssqlxxshow = false; | ||
534 | } | ||
535 | } | ||
536 | }); | ||
537 | //获取主体信息 | ||
538 | getSsQlxx({ | ||
539 | bdcdyid: this.propsParam.bdcdyid, | ||
540 | qllx: this.propsParam.qllx, | ||
541 | }).then((res) => { | ||
542 | if (res.code == 200) { | ||
543 | this.ssQlxxList = res.result; | ||
544 | } | ||
545 | }); | ||
546 | //获取上手信息 | ||
547 | getZtQlxx({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
548 | if (res.code == 200) { | ||
549 | this.ztQlxxList = res.result; | ||
550 | } | ||
551 | }); | ||
552 | }, | 469 | }, |
553 | // // 更新土地用途信息 | 470 | mounted () { |
554 | // upDateTdytxxList(val) { | 471 | this.ableOperation = this.$parent.ableOperation; |
555 | // this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 472 | }, |
556 | // this.key++; | 473 | methods: { |
557 | // }, | 474 | /** |
558 | // // 更新权利人信息 | 475 | * @description: ztQlxxchange |
559 | // upDateQlrxxList(val) { | 476 | * @param {*} val |
560 | // this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | 477 | * @author: renchao |
561 | // this.czrOptions = this.ruleForm.qlrData; | 478 | */ |
562 | // this.key++; | 479 | ztQlxxchange (val) { |
563 | // }, | 480 | this.ruleForm.ztQlxx = val; |
564 | // // 更新义务人信息 | 481 | }, |
565 | // upDateYwrxxList(val) { | 482 | /** |
566 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | 483 | * @description: ssQlxxchange |
567 | // this.key++; | 484 | * @param {*} val |
568 | // }, | 485 | * @author: renchao |
569 | /** | 486 | */ |
570 | * @description: onSubmit | 487 | ssQlxxchange (val) { |
571 | * @author: renchao | 488 | this.ruleForm.ssQlxx = val; |
572 | */ | 489 | this.ruleForm.qlxx.ssywh = val.ywh; |
573 | onSubmit() { | 490 | }, |
574 | this.$refs.ruleForm.validate((valid) => { | 491 | /** |
575 | console.log("valid", valid); | 492 | * @description: djlxchange |
576 | if (valid) { | 493 | * @param {*} val |
577 | // if (this.ruleForm.qlrData.length == 0) { | 494 | * @author: renchao |
578 | // this.$message({ | 495 | */ |
579 | // showClose: true, | 496 | djlxchange (val) { |
580 | // message: "请确认权利人信息", | 497 | if (val == null || val == 100) { |
581 | // type: "error", | 498 | this.ssqlxxshow = false; |
582 | // }); | ||
583 | // return false; | ||
584 | // } | ||
585 | |||
586 | // if (this.ruleForm.qlxx.gyfs == "0") { | ||
587 | // if (this.ruleForm.qlrData.length > 1) { | ||
588 | // this.$message({ | ||
589 | // showClose: true, | ||
590 | // message: "共有方式:单独所有,权利人只能是一个人", | ||
591 | // type: "error", | ||
592 | // }); | ||
593 | // return false; | ||
594 | // } | ||
595 | // this.ruleForm.qlrData[0].sfczr = "1"; | ||
596 | // } | ||
597 | // if (this.ruleForm.qlxx.gyfs == "1") { | ||
598 | // //是否分别持证 | ||
599 | // if (this.ruleForm.qlxx.sqfbcz == "1") { | ||
600 | // //是 | ||
601 | // this.ruleForm.qlrData.forEach((item, index) => { | ||
602 | // item.sfczr = "1"; | ||
603 | // }); | ||
604 | // } else { | ||
605 | // this.ruleForm.qlrData.forEach((item, index) => { | ||
606 | // if (item.zjh == this.ruleForm.czr) { | ||
607 | // item.sfczr = "1"; | ||
608 | // } else { | ||
609 | // item.sfczr = "0"; | ||
610 | // } | ||
611 | // }); | ||
612 | // } | ||
613 | // } | ||
614 | save(this.ruleForm).then((res) => { | ||
615 | if (res.code === 200) { | ||
616 | this.$message({ | ||
617 | showClose: true, | ||
618 | message: "保存成功!", | ||
619 | type: "success", | ||
620 | }); | ||
621 | this.$store.dispatch("user/refreshPage", true); | ||
622 | } else { | ||
623 | this.$message({ | ||
624 | showClose: true, | ||
625 | message: res.message, | ||
626 | type: "error", | ||
627 | }); | ||
628 | } | ||
629 | }); | ||
630 | } else { | 499 | } else { |
631 | return false; | 500 | this.ssqlxxshow = true; |
632 | } | 501 | } |
633 | }); | 502 | }, |
503 | /** | ||
504 | * @description: loadData | ||
505 | * @author: renchao | ||
506 | */ | ||
507 | loadData () { | ||
508 | this.$startLoading(); | ||
509 | this.propsParam.isEdit = this.$parent.isEdit; | ||
510 | init(this.propsParam).then((res) => { | ||
511 | if (res.code == 200) { | ||
512 | this.ruleForm = res.result; | ||
513 | this.isShow = true; | ||
514 | let djlx = this.ruleForm.qlxx.djlx; | ||
515 | this.$endLoading(); | ||
516 | if (djlx == null || djlx == 100) { | ||
517 | this.ssqlxxshow = false; | ||
518 | } | ||
519 | } | ||
520 | }); | ||
521 | //获取主体信息 | ||
522 | getSsQlxx({ | ||
523 | bdcdyid: this.propsParam.bdcdyid, | ||
524 | qllx: this.propsParam.qllx, | ||
525 | }).then((res) => { | ||
526 | if (res.code == 200) { | ||
527 | this.ssQlxxList = res.result; | ||
528 | } | ||
529 | }); | ||
530 | //获取上手信息 | ||
531 | getZtQlxx({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
532 | if (res.code == 200) { | ||
533 | this.ztQlxxList = res.result; | ||
534 | } | ||
535 | }); | ||
536 | }, | ||
537 | // // 更新土地用途信息 | ||
538 | // upDateTdytxxList(val) { | ||
539 | // this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
540 | // this.key++; | ||
541 | // }, | ||
542 | // // 更新权利人信息 | ||
543 | // upDateQlrxxList(val) { | ||
544 | // this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
545 | // this.czrOptions = this.ruleForm.qlrData; | ||
546 | // this.key++; | ||
547 | // }, | ||
548 | // // 更新义务人信息 | ||
549 | // upDateYwrxxList(val) { | ||
550 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
551 | // this.key++; | ||
552 | // }, | ||
553 | /** | ||
554 | * @description: onSubmit | ||
555 | * @author: renchao | ||
556 | */ | ||
557 | onSubmit () { | ||
558 | this.$refs.ruleForm.validate((valid) => { | ||
559 | if (valid) { | ||
560 | // if (this.ruleForm.qlrData.length == 0) { | ||
561 | // this.$message({ | ||
562 | // showClose: true, | ||
563 | // message: "请确认权利人信息", | ||
564 | // type: "error", | ||
565 | // }); | ||
566 | // return false; | ||
567 | // } | ||
568 | |||
569 | // if (this.ruleForm.qlxx.gyfs == "0") { | ||
570 | // if (this.ruleForm.qlrData.length > 1) { | ||
571 | // this.$message({ | ||
572 | // showClose: true, | ||
573 | // message: "共有方式:单独所有,权利人只能是一个人", | ||
574 | // type: "error", | ||
575 | // }); | ||
576 | // return false; | ||
577 | // } | ||
578 | // this.ruleForm.qlrData[0].sfczr = "1"; | ||
579 | // } | ||
580 | // if (this.ruleForm.qlxx.gyfs == "1") { | ||
581 | // //是否分别持证 | ||
582 | // if (this.ruleForm.qlxx.sqfbcz == "1") { | ||
583 | // //是 | ||
584 | // this.ruleForm.qlrData.forEach((item, index) => { | ||
585 | // item.sfczr = "1"; | ||
586 | // }); | ||
587 | // } else { | ||
588 | // this.ruleForm.qlrData.forEach((item, index) => { | ||
589 | // if (item.zjh == this.ruleForm.czr) { | ||
590 | // item.sfczr = "1"; | ||
591 | // } else { | ||
592 | // item.sfczr = "0"; | ||
593 | // } | ||
594 | // }); | ||
595 | // } | ||
596 | // } | ||
597 | save(this.ruleForm).then((res) => { | ||
598 | if (res.code === 200) { | ||
599 | this.$message({ | ||
600 | showClose: true, | ||
601 | message: "保存成功!", | ||
602 | type: "success", | ||
603 | }); | ||
604 | this.$store.dispatch("user/refreshPage", true); | ||
605 | } else { | ||
606 | this.$message({ | ||
607 | showClose: true, | ||
608 | message: res.message, | ||
609 | type: "error", | ||
610 | }); | ||
611 | } | ||
612 | }); | ||
613 | } else { | ||
614 | return false; | ||
615 | } | ||
616 | }); | ||
617 | }, | ||
634 | }, | 618 | }, |
635 | }, | 619 | }; |
636 | }; | ||
637 | </script> | 620 | </script> |
638 | <style scoped lang="scss"> | 621 | <style scoped lang="scss"> |
639 | @import "~@/styles/public.scss"; | 622 | @import "~@/styles/public.scss"; |
640 | @import "~@/styles/slxx/slxx.scss"; | 623 | @import "~@/styles/slxx/slxx.scss"; |
641 | </style> | 624 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-06-25 15:52:42 | 4 | * @LastEditTime: 2023-07-31 10:02:35 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -14,10 +14,7 @@ | ... | @@ -14,10 +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 | :show-message="false" | 17 | label-width="145px"> |
18 | inline-message | ||
19 | label-width="145px" | ||
20 | > | ||
21 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 18 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
22 | <div class="slxx_title title-block"> | 19 | <div class="slxx_title title-block"> |
23 | 补录信息 | 20 | 补录信息 |
... | @@ -45,25 +42,22 @@ | ... | @@ -45,25 +42,22 @@ |
45 | <div class="triangle"></div> | 42 | <div class="triangle"></div> |
46 | </div> | 43 | </div> |
47 | <el-row :gutter="10"> | 44 | <el-row :gutter="10"> |
48 | <el-col :span="8" v-if="ssqlxxshow"> | 45 | <el-col :span="8" v-if="ssqlxxshow"> |
49 | <el-form-item label="上手权利信息:"> | 46 | <el-form-item label="上手权利信息:"> |
50 | <select-table | 47 | <select-table |
51 | v-model="ruleForm.ssQlxx" | 48 | v-model="ruleForm.ssQlxx" |
52 | :table-width="550" | 49 | :table-width="550" |
53 | :tableData="ssQlxxList" | 50 | :tableData="ssQlxxList" |
54 | :props="props" | 51 | :props="props" |
55 | @change="ssQlxxchange" | 52 | @change="ssQlxxchange"> |
56 | > | ||
57 | <el-table-column | 53 | <el-table-column |
58 | prop="qllxmc" | 54 | prop="qllxmc" |
59 | width="130" | 55 | width="130" |
60 | label="权利类型" | 56 | label="权利类型"></el-table-column> |
61 | ></el-table-column> | ||
62 | <el-table-column | 57 | <el-table-column |
63 | prop="bdcqzh" | 58 | prop="bdcqzh" |
64 | width="160" | 59 | width="160" |
65 | label="不动产权证书" | 60 | label="不动产权证书"></el-table-column> |
66 | ></el-table-column> | ||
67 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 61 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> |
68 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 62 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
69 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 63 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
... | @@ -86,22 +80,19 @@ | ... | @@ -86,22 +80,19 @@ |
86 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | 80 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
87 | </el-form-item> | 81 | </el-form-item> |
88 | </el-col> | 82 | </el-col> |
89 | </el-row> | ||
90 | <el-row :gutter="10"> | ||
91 | <el-col :span="8"> | 83 | <el-col :span="8"> |
92 | <el-form-item label="权利类型:"> | 84 | <el-form-item label="权利类型:"> |
93 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | 85 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> |
94 | </el-form-item> | 86 | </el-form-item> |
95 | </el-col> | 87 | </el-col> |
96 | <el-col :span="8"> | 88 | <el-col :span="8"> |
97 | <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> | 89 | <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> |
98 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | 90 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> |
99 | <el-option | 91 | <el-option |
100 | v-for="item in djlxlist" | 92 | v-for="item in djlxlist" |
101 | :key="item.dcode" | 93 | :key="item.dcode" |
102 | :label="item.dname" | 94 | :label="item.dname" |
103 | :value="item.dcode" | 95 | :value="item.dcode"> |
104 | > | ||
105 | </el-option> | 96 | </el-option> |
106 | </el-select> | 97 | </el-select> |
107 | </el-form-item> | 98 | </el-form-item> |
... | @@ -113,8 +104,7 @@ | ... | @@ -113,8 +104,7 @@ |
113 | v-for="item in qsztlist" | 104 | v-for="item in qsztlist" |
114 | :key="item.dcode" | 105 | :key="item.dcode" |
115 | :label="item.dname" | 106 | :label="item.dname" |
116 | :value="item.dcode" | 107 | :value="item.dcode"> |
117 | > | ||
118 | </el-option> | 108 | </el-option> |
119 | </el-select> | 109 | </el-select> |
120 | </el-form-item> | 110 | </el-form-item> |
... | @@ -133,8 +123,8 @@ | ... | @@ -133,8 +123,8 @@ |
133 | <el-col :span="8"> | 123 | <el-col :span="8"> |
134 | <el-form-item label="使用权面积:"> | 124 | <el-form-item label="使用权面积:"> |
135 | <div class="flex"> | 125 | <div class="flex"> |
136 | <el-input v-model="ruleForm.jsydsyq.syqmj" | 126 | <el-input v-model="ruleForm.jsydsyq.syqmj" |
137 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 127 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
138 | <el-select | 128 | <el-select |
139 | disabled | 129 | disabled |
140 | v-model="mjdw" | 130 | v-model="mjdw" |
... | @@ -146,7 +136,7 @@ | ... | @@ -146,7 +136,7 @@ |
146 | :value="item.dcode"> | 136 | :value="item.dcode"> |
147 | </el-option> | 137 | </el-option> |
148 | </el-select> | 138 | </el-select> |
149 | </div> | 139 | </div> |
150 | </el-form-item> | 140 | </el-form-item> |
151 | </el-col> | 141 | </el-col> |
152 | <el-col :span="8"> | 142 | <el-col :span="8"> |
... | @@ -174,15 +164,13 @@ | ... | @@ -174,15 +164,13 @@ |
174 | <div style="display: flex"> | 164 | <div style="display: flex"> |
175 | <el-input | 165 | <el-input |
176 | v-model="ruleForm.jsydsyq.qdjg" | 166 | v-model="ruleForm.jsydsyq.qdjg" |
177 | style="width: 500%" | 167 | style="width: 500%"></el-input> |
178 | ></el-input> | ||
179 | <el-select v-model="ruleForm.jsydsyq.jedw"> | 168 | <el-select v-model="ruleForm.jsydsyq.jedw"> |
180 | <el-option | 169 | <el-option |
181 | v-for="item in dictData['A57']" | 170 | v-for="item in dictData['A57']" |
182 | :key="item.dcode" | 171 | :key="item.dcode" |
183 | :label="item.dname" | 172 | :label="item.dname" |
184 | :value="item.dcode" | 173 | :value="item.dcode"> |
185 | > | ||
186 | </el-option> | 174 | </el-option> |
187 | </el-select> | 175 | </el-select> |
188 | </div> | 176 | </div> |
... | @@ -193,8 +181,7 @@ | ... | @@ -193,8 +181,7 @@ |
193 | <el-form-item | 181 | <el-form-item |
194 | label="不动产权证号:" | 182 | label="不动产权证号:" |
195 | prop="qlxx.bdcqzh" | 183 | prop="qlxx.bdcqzh" |
196 | :rules="rules.bdcqzhrules" | 184 | :rules="rules.bdcqzhrules"> |
197 | > | ||
198 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 185 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
199 | </el-form-item> | 186 | </el-form-item> |
200 | </el-col> | 187 | </el-col> |
... | @@ -211,8 +198,7 @@ | ... | @@ -211,8 +198,7 @@ |
211 | <el-form-item | 198 | <el-form-item |
212 | label="登记机构:" | 199 | label="登记机构:" |
213 | prop="qlxx.djjg" | 200 | prop="qlxx.djjg" |
214 | :rules="rules.djjgrules" | 201 | :rules="rules.djjgrules"> |
215 | > | ||
216 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 202 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
217 | </el-form-item> | 203 | </el-form-item> |
218 | </el-col> | 204 | </el-col> |
... | @@ -220,8 +206,7 @@ | ... | @@ -220,8 +206,7 @@ |
220 | <el-form-item | 206 | <el-form-item |
221 | label="登簿人:" | 207 | label="登簿人:" |
222 | prop="qlxx.dbr" | 208 | prop="qlxx.dbr" |
223 | :rules="rules.dbrrules" | 209 | :rules="rules.dbrrules"> |
224 | > | ||
225 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> | 210 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> |
226 | </el-form-item> | 211 | </el-form-item> |
227 | </el-col> | 212 | </el-col> |
... | @@ -229,16 +214,14 @@ | ... | @@ -229,16 +214,14 @@ |
229 | <el-form-item | 214 | <el-form-item |
230 | label="登记时间:" | 215 | label="登记时间:" |
231 | prop="qlxx.djsj" | 216 | prop="qlxx.djsj" |
232 | :rules="rules.djsjrules" | 217 | :rules="rules.djsjrules"> |
233 | > | 218 | <el-date-picker |
234 | <el-date-picker | ||
235 | v-model="ruleForm.qlxx.djsj" | 219 | v-model="ruleForm.qlxx.djsj" |
236 | type="date" | 220 | type="date" |
237 | class="width100" | 221 | class="width100" |
238 | placeholder="选择日期" | 222 | placeholder="选择日期" |
239 | value-format="yyyy-MM-dd HH:mm:ss" | 223 | value-format="yyyy-MM-dd HH:mm:ss" |
240 | format="yyyy-MM-dd" | 224 | format="yyyy-MM-dd"> |
241 | > | ||
242 | </el-date-picker> | 225 | </el-date-picker> |
243 | </el-form-item> | 226 | </el-form-item> |
244 | </el-col> | 227 | </el-col> |
... | @@ -257,8 +240,7 @@ | ... | @@ -257,8 +240,7 @@ |
257 | <tdytTable | 240 | <tdytTable |
258 | :tableData="ruleForm.tdytqxList" | 241 | :tableData="ruleForm.tdytqxList" |
259 | @upDateTdytxxList="upDateTdytxxList" | 242 | @upDateTdytxxList="upDateTdytxxList" |
260 | :ableOperation="ableOperation" | 243 | :ableOperation="ableOperation" /> |
261 | /> | ||
262 | <div class="slxx_title title-block"> | 244 | <div class="slxx_title title-block"> |
263 | 权利人信息 | 245 | 权利人信息 |
264 | <div class="triangle"></div> | 246 | <div class="triangle"></div> |
... | @@ -266,10 +248,9 @@ | ... | @@ -266,10 +248,9 @@ |
266 | <el-row :gutter="10"> | 248 | <el-row :gutter="10"> |
267 | <el-col :span="12"> | 249 | <el-col :span="12"> |
268 | <el-form-item label="共有方式:"> | 250 | <el-form-item label="共有方式:"> |
269 | <el-radio-group | 251 | <el-radio-group |
270 | :disabled="!ableOperation" | 252 | :disabled="!ableOperation" |
271 | v-model="ruleForm.qlxx.gyfs" | 253 | v-model="ruleForm.qlxx.gyfs"> |
272 | > | ||
273 | <el-radio label="0">单独所有</el-radio> | 254 | <el-radio label="0">单独所有</el-radio> |
274 | <el-radio label="1">共同共有</el-radio> | 255 | <el-radio label="1">共同共有</el-radio> |
275 | <el-radio label="2">按份所有</el-radio> | 256 | <el-radio label="2">按份所有</el-radio> |
... | @@ -283,8 +264,7 @@ | ... | @@ -283,8 +264,7 @@ |
283 | @upDateQlrxxList="upDateQlrxxList" | 264 | @upDateQlrxxList="upDateQlrxxList" |
284 | :key="key" | 265 | :key="key" |
285 | :ableOperation="ableOperation" | 266 | :ableOperation="ableOperation" |
286 | :gyfs="ruleForm.qlxx.gyfs" | 267 | :gyfs="ruleForm.qlxx.gyfs" /> |
287 | /> | ||
288 | 268 | ||
289 | </div> | 269 | </div> |
290 | <el-row class="btn" v-if="ableOperation"> | 270 | <el-row class="btn" v-if="ableOperation"> |
... | @@ -296,272 +276,269 @@ | ... | @@ -296,272 +276,269 @@ |
296 | </div> | 276 | </div> |
297 | </template> | 277 | </template> |
298 | <script> | 278 | <script> |
299 | import store from "@/store/index.js"; | 279 | import store from "@/store/index.js"; |
300 | import { mapGetters } from "vuex"; | 280 | import { mapGetters } from "vuex"; |
301 | import { init, save } from "@/api/djbRepair.js"; | 281 | import { init, getSsQlxx, save } from "@/api/djbRepair.js"; |
302 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 282 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
303 | import tdytTable from "@/views/workflow/components/tdytTable"; | 283 | import selectTable from "@/components/selectTable/index.vue"; |
304 | export default { | 284 | import tdytTable from "@/views/workflow/components/tdytTable"; |
305 | components: { qlrCommonTable, tdytTable }, | 285 | import selectTable from "@/components/selectTable/index.vue"; |
306 | computed: { | 286 | export default { |
307 | ...mapGetters(["dictData", "flag"]), | 287 | components: { qlrCommonTable, tdytTable, selectTable }, |
308 | // 根据流程判断表单是否为只读 | 288 | computed: { |
309 | editDisabled() { | 289 | ...mapGetters(["dictData", "flag"]), |
310 | if (!this.ableOperation) { | 290 | // 根据流程判断表单是否为只读 |
311 | //只读状态 | 291 | editDisabled () { |
312 | return true; | 292 | if (!this.ableOperation) { |
313 | } | 293 | //只读状态 |
314 | return false; | 294 | console.log("只读"); |
315 | }, | 295 | return true; |
316 | }, | ||
317 | data() { | ||
318 | return { | ||
319 | mjdw:"1", | ||
320 | ssqlxxshow:true, | ||
321 | props: { | ||
322 | label: "bdcqzh", | ||
323 | value: "bdcdyid", | ||
324 | }, | ||
325 | // 键名转换,方法默认是label和children进行树状渲染 | ||
326 | normalizer(node) { | ||
327 | //方法 | ||
328 | if (node.children == null || node.children == "null") { | ||
329 | delete node.children; | ||
330 | } | 296 | } |
331 | return { | 297 | return false; |
332 | id: node.dcode, | ||
333 | label: node.dname, | ||
334 | }; | ||
335 | }, | 298 | }, |
336 | //表单是否可操作 | 299 | }, |
337 | propsParam: this.$attrs, | 300 | data () { |
338 | ableOperation:false, | 301 | return { |
339 | key: 0, | 302 | mjdw: "1", |
340 | ssQlxxList: [], | 303 | ssqlxxshow: true, |
341 | // 登记类型 | 304 | props: { |
342 | djlxlist: [ | 305 | label: "bdcqzh", |
343 | { | 306 | value: "bdcdyid", |
344 | dcode: "100", | ||
345 | dname: "首次登记", | ||
346 | }, | ||
347 | { | ||
348 | dcode: "200", | ||
349 | dname: "转移登记", | ||
350 | }, | ||
351 | { | ||
352 | dcode: "300", | ||
353 | dname: "变更登记", | ||
354 | }, | 307 | }, |
355 | { | 308 | // 键名转换,方法默认是label和children进行树状渲染 |
356 | dcode: "500", | 309 | normalizer (node) { |
357 | dname: "更正登记", | 310 | //方法 |
311 | if (node.children == null || node.children == "null") { | ||
312 | delete node.children; | ||
313 | } | ||
314 | return { | ||
315 | id: node.dcode, | ||
316 | label: node.dname, | ||
317 | }; | ||
358 | }, | 318 | }, |
319 | //表单是否可操作 | ||
320 | propsParam: this.$attrs, | ||
321 | ableOperation: false, | ||
322 | key: 0, | ||
323 | ssQlxxList: [], | ||
324 | // 登记类型 | ||
325 | djlxlist: [ | ||
326 | { | ||
327 | dcode: "100", | ||
328 | dname: "首次登记", | ||
329 | }, | ||
330 | { | ||
331 | dcode: "200", | ||
332 | dname: "转移登记", | ||
333 | }, | ||
334 | { | ||
335 | dcode: "300", | ||
336 | dname: "变更登记", | ||
337 | }, | ||
338 | { | ||
339 | dcode: "500", | ||
340 | dname: "更正登记", | ||
341 | }, | ||
359 | 342 | ||
360 | { | 343 | { |
361 | dcode: "901", | 344 | dcode: "901", |
362 | dname: "补证", | 345 | dname: "补证", |
363 | }, | 346 | }, |
364 | { | 347 | { |
365 | dcode: "902", | 348 | dcode: "902", |
366 | dname: "换证", | 349 | dname: "换证", |
367 | }, | 350 | }, |
368 | ], | ||
369 | // 权属状态 | ||
370 | qsztlist: [ | ||
371 | { | ||
372 | dcode: "1", | ||
373 | dname: "现势", | ||
374 | }, | ||
375 | { | ||
376 | dcode: "2", | ||
377 | dname: "历史", | ||
378 | }, | ||
379 | ], | ||
380 | tdxz: null, | ||
381 | isShow: false, | ||
382 | disabled: true, | ||
383 | czrOptions: [], | ||
384 | ruleForm: {}, | ||
385 | //传递参数\ | ||
386 | rules: { | ||
387 | bdcqzhrules: [ | ||
388 | { required: true, message: "不动产权证号:", trigger: "blur" }, | ||
389 | ], | 351 | ], |
390 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 352 | // 权属状态 |
391 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 353 | qsztlist: [ |
392 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 354 | { |
393 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 355 | dcode: "1", |
394 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | 356 | dname: "现势", |
395 | }, | 357 | }, |
396 | }; | 358 | { |
397 | }, | 359 | dcode: "2", |
398 | created() { | 360 | dname: "历史", |
399 | this.loadData(); | 361 | }, |
400 | }, | 362 | ], |
401 | mounted() { | 363 | tdxz: null, |
402 | this.ableOperation=this.$parent.ableOperation | 364 | isShow: false, |
403 | }, | 365 | disabled: true, |
404 | methods: { | 366 | czrOptions: [], |
405 | /** | 367 | ruleForm: {}, |
406 | * @description: ssQlxxchange | 368 | //传递参数\ |
407 | * @param {*} val | 369 | rules: { |
408 | * @author: renchao | 370 | bdcqzhrules: [ |
409 | */ | 371 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
410 | ssQlxxchange(val) { | 372 | ], |
411 | this.ruleForm.ssQlxx = val; | 373 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], |
412 | this.ruleForm.qlxx.ssywh = val.ywh; | 374 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
375 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | ||
376 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | ||
377 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | ||
378 | }, | ||
379 | }; | ||
413 | }, | 380 | }, |
414 | /** | 381 | created () { |
415 | * @description: djlxchange | 382 | this.loadData(); |
416 | * @param {*} val | ||
417 | * @author: renchao | ||
418 | */ | ||
419 | djlxchange(val) { | ||
420 | console.log("val",val); | ||
421 | if (val == null || val == 100) { | ||
422 | this.ssqlxxshow = false; | ||
423 | } else { | ||
424 | this.ssqlxxshow = true; | ||
425 | } | ||
426 | }, | 383 | }, |
427 | // 字典 | 384 | mounted () { |
428 | /** | 385 | this.ableOperation = this.$parent.ableOperation |
429 | * @description: 字典 | ||
430 | * @param {*} val | ||
431 | * @author: renchao | ||
432 | */ | ||
433 | getDictData(val) { | ||
434 | return store.getters.dictData[val]; | ||
435 | }, | 386 | }, |
436 | /** | 387 | methods: { |
437 | * @description: loadData | 388 | /** |
438 | * @author: renchao | 389 | * @description: ssQlxxchange |
439 | */ | 390 | * @param {*} val |
440 | loadData() { | 391 | * @author: renchao |
392 | */ | ||
393 | ssQlxxchange (val) { | ||
394 | this.ruleForm.ssQlxx = val; | ||
395 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
396 | }, | ||
397 | /** | ||
398 | * @description: djlxchange | ||
399 | * @param {*} val | ||
400 | * @author: renchao | ||
401 | */ | ||
402 | djlxchange (val) { | ||
403 | console.log("val", val); | ||
404 | if (val == null || val == 100) { | ||
405 | this.ssqlxxshow = false; | ||
406 | } else { | ||
407 | this.ssqlxxshow = true; | ||
408 | } | ||
409 | }, | ||
410 | // 字典 | ||
411 | /** | ||
412 | * @description: 字典 | ||
413 | * @param {*} val | ||
414 | * @author: renchao | ||
415 | */ | ||
416 | getDictData (val) { | ||
417 | return store.getters.dictData[val]; | ||
418 | }, | ||
419 | /** | ||
420 | * @description: loadData | ||
421 | * @author: renchao | ||
422 | */ | ||
423 | loadData () { | ||
441 | this.$startLoading(); | 424 | this.$startLoading(); |
442 | this.propsParam.isEdit = this.$parent.isEdit; | 425 | this.propsParam.isEdit = this.$parent.isEdit; |
443 | init(this.propsParam).then((res) => { | 426 | init(this.propsParam).then((res) => { |
444 | if (res.code == 200) { | 427 | if (res.code == 200) { |
445 | this.ruleForm = res.result; | 428 | this.ruleForm = res.result; |
446 | this.$endLoading(); | 429 | let djlx = this.ruleForm.qlxx.djlx; |
447 | if (this.ruleForm.tdytqxList.length > 0) { | 430 | if (djlx == null || djlx == 100) { |
448 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | 431 | this.ssqlxxshow = false; |
449 | } else { | 432 | } |
450 | this.tdxz = null; | 433 | this.$endLoading(); |
434 | if (this.ruleForm.tdytqxList.length > 0) { | ||
435 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | ||
436 | } else { | ||
437 | this.tdxz = null; | ||
438 | } | ||
439 | this.isShow = true; | ||
451 | } | 440 | } |
452 | this.isShow = true; | 441 | }); |
453 | } | 442 | //获取主体信息 |
454 | }); | 443 | getSsQlxx({ |
455 | //获取主体信息 | 444 | bdcdyid: this.propsParam.bdcdyid, |
456 | getSsQlxx({ | 445 | qllx: this.propsParam.qllx, |
457 | bdcdyid: this.propsParam.bdcdyid, | 446 | }).then((res) => { |
458 | qllx: this.propsParam.qllx, | 447 | if (res.code == 200) { |
459 | }).then((res) => { | 448 | this.ssQlxxList = res.result; |
460 | if (res.code == 200) { | ||
461 | this.ssQlxxList = res.result; | ||
462 | } | ||
463 | }); | ||
464 | }, | ||
465 | // 更新土地用途信息 | ||
466 | /** | ||
467 | * @description: 更新土地用途信息 | ||
468 | * @param {*} val | ||
469 | * @author: renchao | ||
470 | */ | ||
471 | upDateTdytxxList(val) { | ||
472 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
473 | this.key++; | ||
474 | }, | ||
475 | // 更新权利人信息 | ||
476 | /** | ||
477 | * @description: 更新权利人信息 | ||
478 | * @param {*} val | ||
479 | * @author: renchao | ||
480 | */ | ||
481 | upDateQlrxxList(val) { | ||
482 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
483 | this.czrOptions = this.ruleForm.qlrData; | ||
484 | this.key++; | ||
485 | }, | ||
486 | // 更新义务人信息 | ||
487 | /** | ||
488 | * @description: 更新义务人信息 | ||
489 | * @param {*} val | ||
490 | * @author: renchao | ||
491 | */ | ||
492 | upDateYwrxxList(val) { | ||
493 | this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
494 | this.key++; | ||
495 | }, | ||
496 | /** | ||
497 | * @description: onSubmit | ||
498 | * @author: renchao | ||
499 | */ | ||
500 | onSubmit() { | ||
501 | this.$refs.ruleForm.validate((valid) => { | ||
502 | if (valid) { | ||
503 | if (this.ruleForm.qlrData.length == 0) { | ||
504 | this.$message({ | ||
505 | showClose: true, | ||
506 | message: "请确认权利人信息", | ||
507 | type: "error", | ||
508 | }); | ||
509 | return false; | ||
510 | } | 449 | } |
511 | 450 | }); | |
512 | if (this.ruleForm.qlxx.gyfs == "0") { | 451 | }, |
513 | if (this.ruleForm.qlrData.length > 1) { | 452 | // 更新土地用途信息 |
453 | /** | ||
454 | * @description: 更新土地用途信息 | ||
455 | * @param {*} val | ||
456 | * @author: renchao | ||
457 | */ | ||
458 | upDateTdytxxList (val) { | ||
459 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
460 | this.key++; | ||
461 | }, | ||
462 | // 更新权利人信息 | ||
463 | /** | ||
464 | * @description: 更新权利人信息 | ||
465 | * @param {*} val | ||
466 | * @author: renchao | ||
467 | */ | ||
468 | upDateQlrxxList (val) { | ||
469 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
470 | this.czrOptions = this.ruleForm.qlrData; | ||
471 | this.key++; | ||
472 | }, | ||
473 | /** | ||
474 | * @description: 保存 | ||
475 | * @author: renchao | ||
476 | */ | ||
477 | onSubmit () { | ||
478 | this.$refs.ruleForm.validate((valid) => { | ||
479 | if (valid) { | ||
480 | if (this.ruleForm.qlrData.length == 0) { | ||
514 | this.$message({ | 481 | this.$message({ |
515 | showClose: true, | 482 | showClose: true, |
516 | message: "共有方式:单独所有,权利人只能是一个人", | 483 | message: "请确认权利人信息", |
517 | type: "error", | 484 | type: "error", |
518 | }); | 485 | }); |
519 | return false; | 486 | return false; |
520 | } | 487 | } |
521 | this.ruleForm.qlrData[0].sfczr = "1"; | 488 | |
522 | } | 489 | if (this.ruleForm.qlxx.gyfs == "0") { |
523 | if (this.ruleForm.qlxx.gyfs == "1") { | 490 | if (this.ruleForm.qlrData.length > 1) { |
524 | //是否分别持证 | 491 | this.$message({ |
525 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 492 | showClose: true, |
526 | //是 | 493 | message: "共有方式:单独所有,权利人只能是一个人", |
527 | this.ruleForm.qlrData.forEach((item, index) => { | 494 | type: "error", |
528 | item.sfczr = "1"; | 495 | }); |
529 | }); | 496 | return false; |
530 | } else { | 497 | } |
531 | this.ruleForm.qlrData.forEach((item, index) => { | 498 | this.ruleForm.qlrData[0].sfczr = "1"; |
532 | if (item.zjh == this.ruleForm.czr) { | 499 | } |
500 | if (this.ruleForm.qlxx.gyfs == "1") { | ||
501 | //是否分别持证 | ||
502 | if (this.ruleForm.qlxx.sqfbcz == "1") { | ||
503 | //是 | ||
504 | this.ruleForm.qlrData.forEach((item, index) => { | ||
533 | item.sfczr = "1"; | 505 | item.sfczr = "1"; |
534 | } else { | 506 | }); |
535 | item.sfczr = "0"; | 507 | } else { |
536 | } | 508 | this.ruleForm.qlrData.forEach((item, index) => { |
537 | }); | 509 | if (item.zjh == this.ruleForm.czr) { |
510 | item.sfczr = "1"; | ||
511 | } else { | ||
512 | item.sfczr = "0"; | ||
513 | } | ||
514 | }); | ||
515 | } | ||
538 | } | 516 | } |
517 | save(this.ruleForm).then((res) => { | ||
518 | if (res.code === 200) { | ||
519 | this.$message({ | ||
520 | showClose: true, | ||
521 | message: "保存成功!", | ||
522 | type: "success", | ||
523 | }); | ||
524 | this.$store.dispatch("user/refreshPage", true); | ||
525 | } else { | ||
526 | this.$message({ | ||
527 | showClose: true, | ||
528 | message: res.message, | ||
529 | type: "error", | ||
530 | }); | ||
531 | } | ||
532 | }); | ||
533 | } else { | ||
534 | return false; | ||
539 | } | 535 | } |
540 | save(this.ruleForm).then((res) => { | 536 | }); |
541 | if (res.code === 200) { | 537 | }, |
542 | this.$message({ | ||
543 | showClose: true, | ||
544 | message: "保存成功!", | ||
545 | type: "success", | ||
546 | }); | ||
547 | this.$store.dispatch("user/refreshPage", true); | ||
548 | } else { | ||
549 | this.$message({ | ||
550 | showClose: true, | ||
551 | message: res.message, | ||
552 | type: "error", | ||
553 | }); | ||
554 | } | ||
555 | }); | ||
556 | } else { | ||
557 | return false; | ||
558 | } | ||
559 | }); | ||
560 | }, | 538 | }, |
561 | }, | 539 | }; |
562 | }; | ||
563 | </script> | 540 | </script> |
564 | <style scoped lang="scss"> | 541 | <style scoped lang="scss"> |
565 | @import "~@/styles/public.scss"; | 542 | @import "~@/styles/public.scss"; |
566 | @import "~@/styles/slxx/slxx.scss"; | 543 | @import "~@/styles/slxx/slxx.scss"; |
567 | </style> | 544 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-06-25 15:52:42 | 4 | * @LastEditTime: 2023-07-31 10:03:05 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -15,8 +15,7 @@ | ... | @@ -15,8 +15,7 @@ |
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="120px"> |
19 | > | ||
20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
21 | <div class="slxx_title title-block"> | 20 | <div class="slxx_title title-block"> |
22 | 补录信息 | 21 | 补录信息 |
... | @@ -44,25 +43,22 @@ | ... | @@ -44,25 +43,22 @@ |
44 | <div class="triangle"></div> | 43 | <div class="triangle"></div> |
45 | </div> | 44 | </div> |
46 | <el-row :gutter="10"> | 45 | <el-row :gutter="10"> |
47 | <el-col :span="8" v-if="ssqlxxshow"> | 46 | <el-col :span="8" v-if="ssqlxxshow"> |
48 | <el-form-item label="上手权利信息:"> | 47 | <el-form-item label="上手权利信息:"> |
49 | <select-table | 48 | <select-table |
50 | v-model="ruleForm.ssQlxx" | 49 | v-model="ruleForm.ssQlxx" |
51 | :table-width="550" | 50 | :table-width="550" |
52 | :tableData="ssQlxxList" | 51 | :tableData="ssQlxxList" |
53 | :props="props" | 52 | :props="props" |
54 | @change="ssQlxxchange" | 53 | @change="ssQlxxchange"> |
55 | > | ||
56 | <el-table-column | 54 | <el-table-column |
57 | prop="qllxmc" | 55 | prop="qllxmc" |
58 | width="130" | 56 | width="130" |
59 | label="权利类型" | 57 | label="权利类型"></el-table-column> |
60 | ></el-table-column> | ||
61 | <el-table-column | 58 | <el-table-column |
62 | prop="bdcqzh" | 59 | prop="bdcqzh" |
63 | width="160" | 60 | width="160" |
64 | label="不动产权证书" | 61 | label="不动产权证书"></el-table-column> |
65 | ></el-table-column> | ||
66 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> | 62 | <el-table-column prop="qlrmc" label="权利人"></el-table-column> |
67 | <el-table-column prop="mjmc" label="面积"></el-table-column> | 63 | <el-table-column prop="mjmc" label="面积"></el-table-column> |
68 | <el-table-column prop="ytmc" label="用途"></el-table-column> | 64 | <el-table-column prop="ytmc" label="用途"></el-table-column> |
... | @@ -71,50 +67,48 @@ | ... | @@ -71,50 +67,48 @@ |
71 | </el-form-item> | 67 | </el-form-item> |
72 | </el-col> | 68 | </el-col> |
73 | <el-col :span="8"> | 69 | <el-col :span="8"> |
74 | <el-form-item label="不动产单元号:"> | ||
75 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | ||
76 | </el-form-item> | ||
77 | </el-col> | ||
78 | <el-col :span="8"> | ||
79 | <el-form-item label="业务号:"> | ||
80 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
81 | </el-form-item> | ||
82 | </el-col> | ||
83 | <el-col :span="8"> | ||
84 | <el-form-item label="上手业务号:"> | 70 | <el-form-item label="上手业务号:"> |
85 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | 71 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
86 | </el-form-item> | 72 | </el-form-item> |
87 | </el-col> | 73 | </el-col> |
88 | </el-row> | ||
89 | <el-row :gutter="10"> | ||
90 | <el-col :span="8"> | ||
91 | <el-form-item label="权利类型:"> | ||
92 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | ||
93 | </el-form-item> | ||
94 | </el-col> | ||
95 | <el-col :span="8"> | 74 | <el-col :span="8"> |
96 | <el-form-item | 75 | <el-form-item |
97 | label="登记类型:" | 76 | label="登记类型:" |
98 | prop="qlxx.djlx" | 77 | prop="qlxx.djlx" |
99 | :rules="rules.djlxrules" | 78 | :rules="rules.djlxrules"> |
100 | > | ||
101 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | 79 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> |
102 | <el-option | 80 | <el-option |
103 | v-for="item in djlxlist" | 81 | v-for="item in djlxlist" |
104 | :key="item.dcode" | 82 | :key="item.dcode" |
105 | :label="item.dname" | 83 | :label="item.dname" |
106 | :value="item.dcode" | 84 | :value="item.dcode"> |
107 | > | ||
108 | </el-option> | 85 | </el-option> |
109 | </el-select> | 86 | </el-select> |
110 | </el-form-item> | 87 | </el-form-item> |
111 | </el-col> | 88 | </el-col> |
89 | </el-row> | ||
90 | <el-row :gutter="10"> | ||
91 | <el-col :span="8"> | ||
92 | <el-form-item label="不动产单元号:"> | ||
93 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | ||
94 | </el-form-item> | ||
95 | </el-col> | ||
96 | <el-col :span="8"> | ||
97 | <el-form-item label="业务号:"> | ||
98 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
99 | </el-form-item> | ||
100 | </el-col> | ||
101 | <el-col :span="8"> | ||
102 | <el-form-item label="权利类型:"> | ||
103 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | ||
104 | </el-form-item> | ||
105 | </el-col> | ||
106 | |||
112 | <el-col :span="8"> | 107 | <el-col :span="8"> |
113 | <el-form-item | 108 | <el-form-item |
114 | label="登簿人:" | 109 | label="登簿人:" |
115 | prop="qlxx.dbr" | 110 | prop="qlxx.dbr" |
116 | :rules="rules.dbrrules" | 111 | :rules="rules.dbrrules"> |
117 | > | ||
118 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> | 112 | <el-input v-model="ruleForm.qlxx.dbr"></el-input> |
119 | </el-form-item> | 113 | </el-form-item> |
120 | </el-col> | 114 | </el-col> |
... | @@ -122,8 +116,7 @@ | ... | @@ -122,8 +116,7 @@ |
122 | <el-form-item | 116 | <el-form-item |
123 | label="登记机构:" | 117 | label="登记机构:" |
124 | prop="qlxx.djjg" | 118 | prop="qlxx.djjg" |
125 | :rules="rules.djjgrules" | 119 | :rules="rules.djjgrules"> |
126 | > | ||
127 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 120 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
128 | </el-form-item> | 121 | </el-form-item> |
129 | </el-col> | 122 | </el-col> |
... | @@ -140,8 +133,7 @@ | ... | @@ -140,8 +133,7 @@ |
140 | <el-form-item | 133 | <el-form-item |
141 | label="不动产权证号:" | 134 | label="不动产权证号:" |
142 | prop="qlxx.bdcqzh" | 135 | prop="qlxx.bdcqzh" |
143 | :rules="rules.bdcqzhrules" | 136 | :rules="rules.bdcqzhrules"> |
144 | > | ||
145 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 137 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
146 | </el-form-item> | 138 | </el-form-item> |
147 | </el-col> | 139 | </el-col> |
... | @@ -152,8 +144,7 @@ | ... | @@ -152,8 +144,7 @@ |
152 | v-for="item in qsztlist" | 144 | v-for="item in qsztlist" |
153 | :key="item.dcode" | 145 | :key="item.dcode" |
154 | :label="item.dname" | 146 | :label="item.dname" |
155 | :value="item.dcode" | 147 | :value="item.dcode"> |
156 | > | ||
157 | </el-option> | 148 | </el-option> |
158 | </el-select> | 149 | </el-select> |
159 | </el-form-item> | 150 | </el-form-item> |
... | @@ -172,19 +163,16 @@ | ... | @@ -172,19 +163,16 @@ |
172 | <el-input | 163 | <el-input |
173 | v-model="ruleForm.tdsyq.nydmj" | 164 | v-model="ruleForm.tdsyq.nydmj" |
174 | :disabled="!ableOperation" | 165 | :disabled="!ableOperation" |
175 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 166 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> |
176 | ></el-input> | ||
177 | <el-select | 167 | <el-select |
178 | v-model="ruleForm.tdsyq.mjdw1" | 168 | v-model="ruleForm.tdsyq.mjdw" |
179 | :disabled="!ableOperation" | 169 | :disabled="!ableOperation" |
180 | style="width: 20%" | 170 | style="width: 20%"> |
181 | > | ||
182 | <el-option | 171 | <el-option |
183 | v-for="item in dictData['A7']" | 172 | v-for="item in dictData['A7']" |
184 | :key="item.dcode" | 173 | :key="item.dcode" |
185 | :label="item.dname" | 174 | :label="item.dname" |
186 | :value="item.dcode" | 175 | :value="item.dcode"> |
187 | > | ||
188 | </el-option> | 176 | </el-option> |
189 | </el-select> | 177 | </el-select> |
190 | </div> | 178 | </div> |
... | @@ -196,19 +184,16 @@ | ... | @@ -196,19 +184,16 @@ |
196 | <el-input | 184 | <el-input |
197 | v-model="ruleForm.tdsyq.gdmj" | 185 | v-model="ruleForm.tdsyq.gdmj" |
198 | :disabled="!ableOperation" | 186 | :disabled="!ableOperation" |
199 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 187 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> |
200 | ></el-input> | ||
201 | <el-select | 188 | <el-select |
202 | v-model="ruleForm.tdsyq.mjdw2" | 189 | v-model="ruleForm.tdsyq.mjdw" |
203 | :disabled="!ableOperation" | 190 | :disabled="!ableOperation" |
204 | style="width: 20%" | 191 | style="width: 20%"> |
205 | > | ||
206 | <el-option | 192 | <el-option |
207 | v-for="item in dictData['A7']" | 193 | v-for="item in dictData['A7']" |
208 | :key="item.dcode" | 194 | :key="item.dcode" |
209 | :label="item.dname" | 195 | :label="item.dname" |
210 | :value="item.dcode" | 196 | :value="item.dcode"> |
211 | > | ||
212 | </el-option> | 197 | </el-option> |
213 | </el-select> | 198 | </el-select> |
214 | </div> | 199 | </div> |
... | @@ -220,19 +205,16 @@ | ... | @@ -220,19 +205,16 @@ |
220 | <el-input | 205 | <el-input |
221 | v-model="ruleForm.tdsyq.ldmj" | 206 | v-model="ruleForm.tdsyq.ldmj" |
222 | :disabled="!ableOperation" | 207 | :disabled="!ableOperation" |
223 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 208 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> |
224 | ></el-input> | ||
225 | <el-select | 209 | <el-select |
226 | v-model="ruleForm.tdsyq.mjdw3" | 210 | v-model="ruleForm.tdsyq.mjdw" |
227 | :disabled="!ableOperation" | 211 | :disabled="!ableOperation" |
228 | style="width: 20%" | 212 | style="width: 20%"> |
229 | > | ||
230 | <el-option | 213 | <el-option |
231 | v-for="item in dictData['A7']" | 214 | v-for="item in dictData['A7']" |
232 | :key="item.dcode" | 215 | :key="item.dcode" |
233 | :label="item.dname" | 216 | :label="item.dname" |
234 | :value="item.dcode" | 217 | :value="item.dcode"> |
235 | > | ||
236 | </el-option> | 218 | </el-option> |
237 | </el-select> | 219 | </el-select> |
238 | </div> | 220 | </div> |
... | @@ -246,19 +228,16 @@ | ... | @@ -246,19 +228,16 @@ |
246 | <el-input | 228 | <el-input |
247 | v-model="ruleForm.tdsyq.cdmj" | 229 | v-model="ruleForm.tdsyq.cdmj" |
248 | :disabled="!ableOperation" | 230 | :disabled="!ableOperation" |
249 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" | 231 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
250 | ></el-input> | ||
251 | <el-select | 232 | <el-select |
252 | v-model="ruleForm.tdsyq.mjdw4" | 233 | v-model="ruleForm.tdsyq.mjdw" |
253 | :disabled="!ableOperation" | 234 | :disabled="!ableOperation" |
254 | style="width: 20%" | 235 | style="width: 20%"> |
255 | > | ||
256 | <el-option | 236 | <el-option |
257 | v-for="item in dictData['A7']" | 237 | v-for="item in dictData['A7']" |
258 | :key="item.dcode" | 238 | :key="item.dcode" |
259 | :label="item.dname" | 239 | :label="item.dname" |
260 | :value="item.dcode" | 240 | :value="item.dcode"> |
261 | > | ||
262 | </el-option> | 241 | </el-option> |
263 | </el-select> | 242 | </el-select> |
264 | </div> | 243 | </div> |
... | @@ -270,19 +249,16 @@ | ... | @@ -270,19 +249,16 @@ |
270 | <el-input | 249 | <el-input |
271 | v-model="ruleForm.tdsyq.qtnydmj" | 250 | v-model="ruleForm.tdsyq.qtnydmj" |
272 | :disabled="!ableOperation" | 251 | :disabled="!ableOperation" |
273 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 252 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> |
274 | ></el-input> | ||
275 | <el-select | 253 | <el-select |
276 | v-model="ruleForm.tdsyq.mjdw5" | 254 | v-model="ruleForm.tdsyq.mjdw" |
277 | :disabled="!ableOperation" | 255 | :disabled="!ableOperation" |
278 | style="width: 20%" | 256 | style="width: 20%"> |
279 | > | ||
280 | <el-option | 257 | <el-option |
281 | v-for="item in dictData['A7']" | 258 | v-for="item in dictData['A7']" |
282 | :key="item.dcode" | 259 | :key="item.dcode" |
283 | :label="item.dname" | 260 | :label="item.dname" |
284 | :value="item.dcode" | 261 | :value="item.dcode"> |
285 | > | ||
286 | </el-option> | 262 | </el-option> |
287 | </el-select> | 263 | </el-select> |
288 | </div> | 264 | </div> |
... | @@ -294,19 +270,16 @@ | ... | @@ -294,19 +270,16 @@ |
294 | <el-input | 270 | <el-input |
295 | v-model="ruleForm.tdsyq.jsydmj" | 271 | v-model="ruleForm.tdsyq.jsydmj" |
296 | :disabled="!ableOperation" | 272 | :disabled="!ableOperation" |
297 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 273 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> |
298 | ></el-input> | ||
299 | <el-select | 274 | <el-select |
300 | v-model="ruleForm.tdsyq.mjdw6" | 275 | v-model="ruleForm.tdsyq.mjdw" |
301 | :disabled="!ableOperation" | 276 | :disabled="!ableOperation" |
302 | style="width: 20%" | 277 | style="width: 20%"> |
303 | > | ||
304 | <el-option | 278 | <el-option |
305 | v-for="item in dictData['A7']" | 279 | v-for="item in dictData['A7']" |
306 | :key="item.dcode" | 280 | :key="item.dcode" |
307 | :label="item.dname" | 281 | :label="item.dname" |
308 | :value="item.dcode" | 282 | :value="item.dcode"> |
309 | > | ||
310 | </el-option> | 283 | </el-option> |
311 | </el-select> | 284 | </el-select> |
312 | </div> | 285 | </div> |
... | @@ -320,19 +293,16 @@ | ... | @@ -320,19 +293,16 @@ |
320 | <el-input | 293 | <el-input |
321 | v-model="ruleForm.tdsyq.wlydmj" | 294 | v-model="ruleForm.tdsyq.wlydmj" |
322 | :disabled="!ableOperation" | 295 | :disabled="!ableOperation" |
323 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 296 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> |
324 | ></el-input> | ||
325 | <el-select | 297 | <el-select |
326 | v-model="ruleForm.tdsyq.mjdw7" | 298 | v-model="ruleForm.tdsyq.mjdw" |
327 | :disabled="!ableOperation" | 299 | :disabled="!ableOperation" |
328 | style="width: 20%" | 300 | style="width: 20%"> |
329 | > | ||
330 | <el-option | 301 | <el-option |
331 | v-for="item in dictData['A7']" | 302 | v-for="item in dictData['A7']" |
332 | :key="item.dcode" | 303 | :key="item.dcode" |
333 | :label="item.dname" | 304 | :label="item.dname" |
334 | :value="item.dcode" | 305 | :value="item.dcode"> |
335 | > | ||
336 | </el-option> | 306 | </el-option> |
337 | </el-select> | 307 | </el-select> |
338 | </div> | 308 | </div> |
... | @@ -342,16 +312,14 @@ | ... | @@ -342,16 +312,14 @@ |
342 | <el-form-item | 312 | <el-form-item |
343 | label="登记时间:" | 313 | label="登记时间:" |
344 | prop="qlxx.djsj" | 314 | prop="qlxx.djsj" |
345 | :rules="rules.djsjrules" | 315 | :rules="rules.djsjrules"> |
346 | > | ||
347 | <el-date-picker | 316 | <el-date-picker |
348 | v-model="ruleForm.qlxx.djsj" | 317 | v-model="ruleForm.qlxx.djsj" |
349 | type="date" | 318 | type="date" |
350 | class="width100" | 319 | class="width100" |
351 | placeholder="选择日期" | 320 | placeholder="选择日期" |
352 | value-format="yyyy-MM-dd HH:mm:ss" | 321 | value-format="yyyy-MM-dd HH:mm:ss" |
353 | format="yyyy-MM-dd" | 322 | format="yyyy-MM-dd"> |
354 | > | ||
355 | </el-date-picker> | 323 | </el-date-picker> |
356 | </el-form-item> | 324 | </el-form-item> |
357 | </el-col> | 325 | </el-col> |
... | @@ -370,8 +338,7 @@ | ... | @@ -370,8 +338,7 @@ |
370 | <tdytTable | 338 | <tdytTable |
371 | :tableData="ruleForm.tdytqxList" | 339 | :tableData="ruleForm.tdytqxList" |
372 | @upDateTdytxxList="upDateTdytxxList" | 340 | @upDateTdytxxList="upDateTdytxxList" |
373 | :ableOperation="ableOperation" | 341 | :ableOperation="ableOperation" /> |
374 | /> | ||
375 | <div class="slxx_title title-block"> | 342 | <div class="slxx_title title-block"> |
376 | 权利人信息 | 343 | 权利人信息 |
377 | <div class="triangle"></div> | 344 | <div class="triangle"></div> |
... | @@ -381,8 +348,7 @@ | ... | @@ -381,8 +348,7 @@ |
381 | <el-form-item label="共有方式:"> | 348 | <el-form-item label="共有方式:"> |
382 | <el-radio-group | 349 | <el-radio-group |
383 | :disabled="!ableOperation" | 350 | :disabled="!ableOperation" |
384 | v-model="ruleForm.qlxx.gyfs" | 351 | v-model="ruleForm.qlxx.gyfs"> |
385 | > | ||
386 | <el-radio label="0">单独所有</el-radio> | 352 | <el-radio label="0">单独所有</el-radio> |
387 | <el-radio label="1">共同共有</el-radio> | 353 | <el-radio label="1">共同共有</el-radio> |
388 | <el-radio label="2">按份所有</el-radio> | 354 | <el-radio label="2">按份所有</el-radio> |
... | @@ -396,8 +362,7 @@ | ... | @@ -396,8 +362,7 @@ |
396 | @upDateQlrxxList="upDateQlrxxList" | 362 | @upDateQlrxxList="upDateQlrxxList" |
397 | :key="key" | 363 | :key="key" |
398 | :ableOperation="ableOperation" | 364 | :ableOperation="ableOperation" |
399 | :gyfs="ruleForm.qlxx.gyfs" | 365 | :gyfs="ruleForm.qlxx.gyfs" /> |
400 | /> | ||
401 | </div> | 366 | </div> |
402 | <el-row class="btn" v-if="ableOperation"> | 367 | <el-row class="btn" v-if="ableOperation"> |
403 | <el-form-item> | 368 | <el-form-item> |
... | @@ -408,340 +373,337 @@ | ... | @@ -408,340 +373,337 @@ |
408 | </div> | 373 | </div> |
409 | </template> | 374 | </template> |
410 | <script> | 375 | <script> |
411 | import store from "@/store/index.js"; | 376 | import store from "@/store/index.js"; |
412 | import { mapGetters } from "vuex"; | 377 | import { mapGetters } from "vuex"; |
413 | import { init, getSsQlxx, save } from "@/api/djbRepair.js"; | 378 | import { init, getSsQlxx, save } from "@/api/djbRepair.js"; |
414 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 379 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
415 | import selectTable from "@/components/selectTable/index.vue"; | 380 | import selectTable from "@/components/selectTable/index.vue"; |
416 | import tdytTable from "@/views/workflow/components/tdytTable"; | 381 | import tdytTable from "@/views/workflow/components/tdytTable"; |
417 | export default { | 382 | export default { |
418 | components: { qlrCommonTable, tdytTable, selectTable }, | 383 | components: { qlrCommonTable, tdytTable, selectTable }, |
419 | computed: { | 384 | computed: { |
420 | ...mapGetters(["dictData", "flag"]), | 385 | ...mapGetters(["dictData", "flag"]), |
421 | // 根据流程判断表单是否为只读 | 386 | // 根据流程判断表单是否为只读 |
422 | editDisabled() { | 387 | editDisabled () { |
423 | if (!this.ableOperation) { | 388 | if (!this.ableOperation) { |
424 | //只读状态 | 389 | //只读状态 |
425 | return true; | 390 | console.log("只读"); |
426 | } | 391 | return true; |
427 | return false; | ||
428 | }, | ||
429 | }, | ||
430 | data() { | ||
431 | return { | ||
432 | ssqlxxshow: true, | ||
433 | props: { | ||
434 | label: "bdcqzh", | ||
435 | value: "bdcdyid", | ||
436 | }, | ||
437 | // 键名转换,方法默认是label和children进行树状渲染 | ||
438 | normalizer(node) { | ||
439 | //方法 | ||
440 | if (node.children == null || node.children == "null") { | ||
441 | delete node.children; | ||
442 | } | 392 | } |
443 | return { | 393 | return false; |
444 | id: node.dcode, | ||
445 | label: node.dname, | ||
446 | }; | ||
447 | }, | 394 | }, |
448 | //表单是否可操作 | 395 | }, |
449 | propsParam: this.$attrs, | 396 | data () { |
450 | key: 0, | 397 | return { |
451 | // 登记类型 | 398 | ssqlxxshow: true, |
452 | djlxlist: [ | 399 | props: { |
453 | { | 400 | label: "bdcqzh", |
454 | dcode: "100", | 401 | value: "bdcdyid", |
455 | dname: "首次登记", | ||
456 | }, | ||
457 | { | ||
458 | dcode: "200", | ||
459 | dname: "转移登记", | ||
460 | }, | ||
461 | { | ||
462 | dcode: "300", | ||
463 | dname: "变更登记", | ||
464 | }, | 402 | }, |
465 | { | 403 | // 键名转换,方法默认是label和children进行树状渲染 |
466 | dcode: "500", | 404 | normalizer (node) { |
467 | dname: "更正登记", | 405 | //方法 |
406 | if (node.children == null || node.children == "null") { | ||
407 | delete node.children; | ||
408 | } | ||
409 | return { | ||
410 | id: node.dcode, | ||
411 | label: node.dname, | ||
412 | }; | ||
468 | }, | 413 | }, |
414 | //表单是否可操作 | ||
415 | propsParam: this.$attrs, | ||
416 | key: 0, | ||
417 | // 登记类型 | ||
418 | djlxlist: [ | ||
419 | { | ||
420 | dcode: "100", | ||
421 | dname: "首次登记", | ||
422 | }, | ||
423 | { | ||
424 | dcode: "200", | ||
425 | dname: "转移登记", | ||
426 | }, | ||
427 | { | ||
428 | dcode: "300", | ||
429 | dname: "变更登记", | ||
430 | }, | ||
431 | { | ||
432 | dcode: "500", | ||
433 | dname: "更正登记", | ||
434 | }, | ||
469 | 435 | ||
470 | { | 436 | { |
471 | dcode: "901", | 437 | dcode: "901", |
472 | dname: "补证", | 438 | dname: "补证", |
473 | }, | 439 | }, |
474 | { | 440 | { |
475 | dcode: "902", | 441 | dcode: "902", |
476 | dname: "换证", | 442 | dname: "换证", |
477 | }, | 443 | }, |
478 | ], | ||
479 | // 权属状态 | ||
480 | qsztlist: [ | ||
481 | { | ||
482 | dcode: "1", | ||
483 | dname: "现势", | ||
484 | }, | ||
485 | { | ||
486 | dcode: "2", | ||
487 | dname: "历史", | ||
488 | }, | ||
489 | ], | ||
490 | isShow: false, | ||
491 | disabled: true, | ||
492 | czrOptions: [], | ||
493 | ssQlxxList: [], | ||
494 | ruleForm: {}, | ||
495 | ableOperation: false, | ||
496 | //传递参数\ | ||
497 | rules: { | ||
498 | bdcqzhrules: [ | ||
499 | { required: true, message: "不动产权证号:", trigger: "blur" }, | ||
500 | ], | 444 | ], |
501 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | 445 | // 权属状态 |
502 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 446 | qsztlist: [ |
503 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 447 | { |
504 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 448 | dcode: "1", |
505 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], | 449 | dname: "现势", |
506 | }, | 450 | }, |
507 | }; | 451 | { |
508 | }, | 452 | dcode: "2", |
509 | created() {}, | 453 | dname: "历史", |
510 | mounted() { | 454 | }, |
511 | this.loadData(); | 455 | ], |
512 | this.ableOperation = this.$parent.ableOperation; | 456 | isShow: false, |
513 | }, | 457 | disabled: true, |
514 | methods: { | 458 | czrOptions: [], |
515 | /** | 459 | ssQlxxList: [], |
516 | * @description: ssQlxxchange | 460 | ruleForm: {}, |
517 | * @param {*} val | 461 | ableOperation: false, |
518 | * @author: renchao | 462 | //传递参数\ |
519 | */ | 463 | rules: { |
520 | ssQlxxchange(val) { | 464 | bdcqzhrules: [ |
521 | this.ruleForm.ssQlxx = val; | 465 | { required: true, message: "不动产权证号:", trigger: "blur" }, |
522 | this.ruleForm.qlxx.ssywh = val.ywh; | 466 | ], |
467 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | ||
468 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | ||
469 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | ||
470 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | ||
471 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], | ||
472 | }, | ||
473 | }; | ||
523 | }, | 474 | }, |
524 | /** | 475 | created () { }, |
525 | * @description: djlxchange | 476 | mounted () { |
526 | * @param {*} val | 477 | this.loadData(); |
527 | * @author: renchao | 478 | this.ableOperation = this.$parent.ableOperation; |
528 | */ | ||
529 | djlxchange(val) { | ||
530 | console.log("val", val); | ||
531 | if (val == null || val == 100) { | ||
532 | this.ssqlxxshow = false; | ||
533 | } else { | ||
534 | this.ssqlxxshow = true; | ||
535 | } | ||
536 | }, | 479 | }, |
480 | methods: { | ||
481 | /** | ||
482 | * @description: ssQlxxchange | ||
483 | * @param {*} val | ||
484 | * @author: renchao | ||
485 | */ | ||
486 | ssQlxxchange (val) { | ||
487 | this.ruleForm.ssQlxx = val; | ||
488 | this.ruleForm.qlxx.ssywh = val.ywh; | ||
489 | }, | ||
490 | /** | ||
491 | * @description: djlxchange | ||
492 | * @param {*} val | ||
493 | * @author: renchao | ||
494 | */ | ||
495 | djlxchange (val) { | ||
496 | console.log("val", val); | ||
497 | if (val == null || val == 100) { | ||
498 | this.ssqlxxshow = false; | ||
499 | } else { | ||
500 | this.ssqlxxshow = true; | ||
501 | } | ||
502 | }, | ||
537 | 503 | ||
538 | // 字典 | 504 | // 字典 |
539 | /** | 505 | /** |
540 | * @description: 字典 | 506 | * @description: 字典 |
541 | * @param {*} val | 507 | * @param {*} val |
542 | * @author: renchao | 508 | * @author: renchao |
543 | */ | 509 | */ |
544 | getDictData(val) { | 510 | getDictData (val) { |
545 | return store.getters.dictData[val]; | 511 | return store.getters.dictData[val]; |
546 | }, | 512 | }, |
547 | /** | 513 | /** |
548 | * @description: loadData | 514 | * @description: loadData |
549 | * @author: renchao | 515 | * @author: renchao |
550 | */ | 516 | */ |
551 | loadData() { | 517 | loadData () { |
552 | this.$startLoading(); | 518 | this.$startLoading(); |
553 | this.propsParam.isEdit = this.$parent.isEdit; | 519 | this.propsParam.isEdit = this.$parent.isEdit; |
554 | init(this.propsParam).then((res) => { | 520 | init(this.propsParam).then((res) => { |
555 | if (res.code == 200) { | 521 | if (res.code == 200) { |
556 | this.ruleForm = res.result; | 522 | this.ruleForm = res.result; |
557 | let djlx = this.ruleForm.qlxx.djlx; | 523 | let djlx = this.ruleForm.qlxx.djlx; |
558 | if (djlx == null || djlx == 100) { | 524 | if (djlx == null || djlx == 100) { |
559 | this.ssqlxxshow = false; | 525 | this.ssqlxxshow = false; |
526 | } | ||
527 | this.$endLoading(); | ||
528 | // if (this.ruleForm.tdytqxList.length > 0) { | ||
529 | // this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | ||
530 | // } else { | ||
531 | // this.tdxz = null; | ||
532 | // } | ||
533 | this.isShow = true; | ||
560 | } | 534 | } |
561 | this.$endLoading(); | 535 | }); |
562 | // if (this.ruleForm.tdytqxList.length > 0) { | 536 | //获取主体信息 |
563 | // this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | 537 | getSsQlxx({ |
564 | // } else { | 538 | bdcdyid: this.propsParam.bdcdyid, |
565 | // this.tdxz = null; | 539 | qllx: this.propsParam.qllx, |
566 | // } | 540 | }).then((res) => { |
567 | this.isShow = true; | 541 | if (res.code == 200) { |
568 | } | 542 | this.ssQlxxList = res.result; |
569 | }); | ||
570 | //获取主体信息 | ||
571 | getSsQlxx({ | ||
572 | bdcdyid: this.propsParam.bdcdyid, | ||
573 | qllx: this.propsParam.qllx, | ||
574 | }).then((res) => { | ||
575 | if (res.code == 200) { | ||
576 | this.ssQlxxList = res.result; | ||
577 | } | ||
578 | }); | ||
579 | }, | ||
580 | // 更新土地用途信息 | ||
581 | /** | ||
582 | * @description: 更新土地用途信息 | ||
583 | * @param {*} val | ||
584 | * @author: renchao | ||
585 | */ | ||
586 | upDateTdytxxList(val) { | ||
587 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
588 | this.key++; | ||
589 | }, | ||
590 | // 更新权利人信息 | ||
591 | /** | ||
592 | * @description: 更新权利人信息 | ||
593 | * @param {*} val | ||
594 | * @author: renchao | ||
595 | */ | ||
596 | upDateQlrxxList(val) { | ||
597 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
598 | this.czrOptions = this.ruleForm.qlrData; | ||
599 | this.key++; | ||
600 | }, | ||
601 | // // 更新义务人信息 | ||
602 | // upDateYwrxxList(val) { | ||
603 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
604 | // this.key++; | ||
605 | // }, | ||
606 | /** | ||
607 | * @description: onSubmit | ||
608 | * @author: renchao | ||
609 | */ | ||
610 | onSubmit() { | ||
611 | this.$refs.ruleForm.validate((valid) => { | ||
612 | if (valid) { | ||
613 | if (this.ruleForm.qlrData.length == 0) { | ||
614 | this.$message({ | ||
615 | showClose: true, | ||
616 | message: "请确认权利人信息", | ||
617 | type: "error", | ||
618 | }); | ||
619 | return false; | ||
620 | } | 543 | } |
621 | 544 | }); | |
622 | if (this.ruleForm.qlxx.gyfs == "0") { | 545 | }, |
623 | if (this.ruleForm.qlrData.length > 1) { | 546 | // 更新土地用途信息 |
547 | /** | ||
548 | * @description: 更新土地用途信息 | ||
549 | * @param {*} val | ||
550 | * @author: renchao | ||
551 | */ | ||
552 | upDateTdytxxList (val) { | ||
553 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
554 | this.key++; | ||
555 | }, | ||
556 | // 更新权利人信息 | ||
557 | /** | ||
558 | * @description: 更新权利人信息 | ||
559 | * @param {*} val | ||
560 | * @author: renchao | ||
561 | */ | ||
562 | upDateQlrxxList (val) { | ||
563 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | ||
564 | this.czrOptions = this.ruleForm.qlrData; | ||
565 | this.key++; | ||
566 | }, | ||
567 | /** | ||
568 | * @description: onSubmit | ||
569 | * @author: renchao | ||
570 | */ | ||
571 | onSubmit () { | ||
572 | this.$refs.ruleForm.validate((valid) => { | ||
573 | if (valid) { | ||
574 | if (this.ruleForm.qlrData.length == 0) { | ||
624 | this.$message({ | 575 | this.$message({ |
625 | showClose: true, | 576 | showClose: true, |
626 | message: "共有方式:单独所有,权利人只能是一个人", | 577 | message: "请确认权利人信息", |
627 | type: "error", | 578 | type: "error", |
628 | }); | 579 | }); |
629 | return false; | 580 | return false; |
630 | } | 581 | } |
631 | this.ruleForm.qlrData[0].sfczr = "1"; | 582 | |
632 | } | 583 | if (this.ruleForm.qlxx.gyfs == "0") { |
633 | if (this.ruleForm.qlxx.gyfs == "1") { | 584 | if (this.ruleForm.qlrData.length > 1) { |
634 | //是否分别持证 | 585 | this.$message({ |
635 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 586 | showClose: true, |
636 | //是 | 587 | message: "共有方式:单独所有,权利人只能是一个人", |
637 | this.ruleForm.qlrData.forEach((item, index) => { | 588 | type: "error", |
638 | item.sfczr = "1"; | 589 | }); |
639 | }); | 590 | return false; |
640 | } else { | 591 | } |
641 | this.ruleForm.qlrData.forEach((item, index) => { | 592 | this.ruleForm.qlrData[0].sfczr = "1"; |
642 | if (item.zjh == this.ruleForm.czr) { | 593 | } |
594 | if (this.ruleForm.qlxx.gyfs == "1") { | ||
595 | //是否分别持证 | ||
596 | if (this.ruleForm.qlxx.sqfbcz == "1") { | ||
597 | //是 | ||
598 | this.ruleForm.qlrData.forEach((item, index) => { | ||
643 | item.sfczr = "1"; | 599 | item.sfczr = "1"; |
644 | } else { | 600 | }); |
645 | item.sfczr = "0"; | 601 | } else { |
646 | } | 602 | this.ruleForm.qlrData.forEach((item, index) => { |
647 | }); | 603 | if (item.zjh == this.ruleForm.czr) { |
604 | item.sfczr = "1"; | ||
605 | } else { | ||
606 | item.sfczr = "0"; | ||
607 | } | ||
608 | }); | ||
609 | } | ||
648 | } | 610 | } |
611 | save(this.ruleForm).then((res) => { | ||
612 | if (res.code === 200) { | ||
613 | this.$message({ | ||
614 | showClose: true, | ||
615 | message: "保存成功!", | ||
616 | type: "success", | ||
617 | }); | ||
618 | this.$store.dispatch("user/refreshPage", true); | ||
619 | } else { | ||
620 | this.$message({ | ||
621 | showClose: true, | ||
622 | message: res.message, | ||
623 | type: "error", | ||
624 | }); | ||
625 | } | ||
626 | }); | ||
627 | } else { | ||
628 | return false; | ||
649 | } | 629 | } |
650 | save(this.ruleForm).then((res) => { | 630 | }) |
651 | if (res.code === 200) { | 631 | } |
652 | this.$message({ | 632 | } |
653 | showClose: true, | 633 | } |
654 | message: "保存成功!", | ||
655 | type: "success", | ||
656 | }); | ||
657 | this.$store.dispatch("user/refreshPage", true); | ||
658 | } else { | ||
659 | this.$message({ | ||
660 | showClose: true, | ||
661 | message: res.message, | ||
662 | type: "error", | ||
663 | }); | ||
664 | } | ||
665 | }); | ||
666 | } else { | ||
667 | return false; | ||
668 | } | ||
669 | }); | ||
670 | }, | ||
671 | }, | ||
672 | }; | ||
673 | </script> | 634 | </script> |
674 | <style scoped lang="scss"> | 635 | <style scoped lang="scss"> |
675 | @import "~@/styles/public.scss"; | 636 | @import "~@/styles/public.scss"; |
676 | /deep/.el-form { | 637 | @import "~@/styles/slxx/slxx.scss"; |
677 | display: flex; | 638 | /deep/.el-form { |
678 | flex-direction: column; | 639 | display: flex; |
679 | height: calc(100vh - 130px); | 640 | flex-direction: column; |
680 | } | 641 | height: calc(100vh - 130px); |
642 | } | ||
681 | 643 | ||
682 | /deep/.el-form-item__label { | 644 | /deep/.el-form-item__label { |
683 | padding: 0; | 645 | padding: 0; |
684 | } | 646 | } |
685 | 647 | ||
686 | /deep/.el-radio { | 648 | /deep/.el-radio { |
687 | margin-right: 10px; | 649 | margin-right: 10px; |
688 | } | 650 | } |
689 | 651 | ||
690 | /deep/.el-select { | 652 | /deep/.el-select { |
691 | width: 100%; | 653 | width: 100%; |
692 | } | 654 | } |
693 | 655 | ||
694 | /deep/.el-form-item { | 656 | /deep/.el-form-item { |
695 | margin-bottom: 8px; | 657 | margin-bottom: 8px; |
696 | } | 658 | } |
697 | 659 | ||
698 | .marginBot0 { | 660 | .marginBot0 { |
699 | margin-bottom: 0 !important; | 661 | margin-bottom: 0 !important; |
700 | } | 662 | } |
701 | 663 | ||
702 | .slxx { | 664 | .slxx { |
703 | box-sizing: border-box; | 665 | box-sizing: border-box; |
704 | } | 666 | } |
705 | 667 | ||
706 | .slxx_con { | 668 | .slxx_con { |
707 | flex: 1; | 669 | flex: 1; |
708 | height: 100%; | 670 | height: 100%; |
709 | background-color: #ffffff; | 671 | background-color: #ffffff; |
710 | overflow-y: auto; | 672 | overflow-y: auto; |
711 | padding-right: 3px; | 673 | padding-right: 3px; |
712 | overflow-x: hidden; | 674 | overflow-x: hidden; |
713 | } | 675 | } |
714 | 676 | ||
715 | .submit_btn { | 677 | .submit_btn { |
716 | height: 50px; | 678 | height: 50px; |
717 | } | 679 | } |
718 | 680 | ||
719 | .slxx_title { | 681 | .slxx_title { |
720 | border-bottom: 1px solid $borderColor; | 682 | border-bottom: 1px solid $borderColor; |
721 | padding-left: 10px; | 683 | padding-left: 10px; |
722 | padding-bottom: 5px; | 684 | padding-bottom: 5px; |
723 | margin-bottom: 10px; | 685 | margin-bottom: 10px; |
724 | margin-top: 5px; | 686 | margin-top: 5px; |
725 | font-size: 16px; | 687 | font-size: 16px; |
726 | font-weight: 500; | 688 | font-weight: 500; |
727 | color: #4a4a4a; | 689 | color: #4a4a4a; |
728 | } | 690 | } |
729 | 691 | ||
730 | .btn { | 692 | .btn { |
731 | text-align: center; | 693 | text-align: center; |
732 | padding-top: 10px; | 694 | padding-top: 10px; |
733 | height: 36px; | 695 | height: 36px; |
734 | background-color: #ffffff; | 696 | background-color: #ffffff; |
735 | padding: 5px 0; | 697 | padding: 5px 0; |
736 | } | 698 | } |
737 | 699 | ||
738 | .textArea { | 700 | .textArea { |
739 | /deep/.el-textarea__inner { | 701 | /deep/.el-textarea__inner { |
740 | min-height: 90px !important; | 702 | min-height: 90px !important; |
703 | } | ||
741 | } | 704 | } |
742 | } | ||
743 | 705 | ||
744 | /deep/.el-form-item__label { | 706 | /deep/.el-form-item__label { |
745 | padding-bottom: 0px; | 707 | padding-bottom: 0px; |
746 | } | 708 | } |
747 | </style> | 709 | </style> | ... | ... |
... | @@ -72,6 +72,30 @@ | ... | @@ -72,6 +72,30 @@ |
72 | </select-table> | 72 | </select-table> |
73 | </el-form-item> | 73 | </el-form-item> |
74 | </el-col> | 74 | </el-col> |
75 | <el-col :span="8"> | ||
76 | <el-form-item label="上手业务号:"> | ||
77 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | ||
78 | </el-form-item> | ||
79 | </el-col> | ||
80 | <el-col :span="8"> | ||
81 | <el-form-item | ||
82 | label="登记类型:" | ||
83 | prop="qlxx.djlx" | ||
84 | :rules="rules.djlxrules" | ||
85 | > | ||
86 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | ||
87 | <el-option | ||
88 | v-for="item in djlxlist" | ||
89 | :key="item.dcode" | ||
90 | :label="item.dname" | ||
91 | :value="item.dcode" | ||
92 | > | ||
93 | </el-option> | ||
94 | </el-select> | ||
95 | </el-form-item> | ||
96 | </el-col> | ||
97 | </el-row> | ||
98 | <el-row> | ||
75 | <el-col :span="8"> | 99 | <el-col :span="8"> |
76 | <el-form-item label="不动产单元号:"> | 100 | <el-form-item label="不动产单元号:"> |
77 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | 101 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> |
... | @@ -83,11 +107,6 @@ | ... | @@ -83,11 +107,6 @@ |
83 | </el-form-item> | 107 | </el-form-item> |
84 | </el-col> | 108 | </el-col> |
85 | <el-col :span="8"> | 109 | <el-col :span="8"> |
86 | <el-form-item label="上手业务号:"> | ||
87 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | ||
88 | </el-form-item> | ||
89 | </el-col> | ||
90 | <el-col :span="8"> | ||
91 | <el-form-item label="权利类型:"> | 110 | <el-form-item label="权利类型:"> |
92 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | 111 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> |
93 | </el-form-item> | 112 | </el-form-item> |
... | @@ -98,19 +117,6 @@ | ... | @@ -98,19 +117,6 @@ |
98 | </el-form-item> | 117 | </el-form-item> |
99 | </el-col> | 118 | </el-col> |
100 | <el-col :span="8"> | 119 | <el-col :span="8"> |
101 | <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> | ||
102 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | ||
103 | <el-option | ||
104 | v-for="item in djlxlist" | ||
105 | :key="item.dcode" | ||
106 | :label="item.dname" | ||
107 | :value="item.dcode" | ||
108 | > | ||
109 | </el-option> | ||
110 | </el-select> | ||
111 | </el-form-item> | ||
112 | </el-col> | ||
113 | <el-col :span="8"> | ||
114 | <el-form-item label="不动产坐落:"> | 120 | <el-form-item label="不动产坐落:"> |
115 | <el-input v-model="ruleForm.qlxx.zl"></el-input> | 121 | <el-input v-model="ruleForm.qlxx.zl"></el-input> |
116 | </el-form-item> | 122 | </el-form-item> | ... | ... |
1 | /* | 1 | /* |
2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 | 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-07-20 15:37:23 | 4 | * @LastEditTime: 2023-07-31 10:03:23 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; | 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; |
... | @@ -17,9 +17,8 @@ import { | ... | @@ -17,9 +17,8 @@ import { |
17 | getPrintApplicationInfo, | 17 | getPrintApplicationInfo, |
18 | unClaimTask | 18 | unClaimTask |
19 | } from "@/api/workFlow.js"; | 19 | } from "@/api/workFlow.js"; |
20 | import { mapGetters } from 'vuex' | ||
21 | export default { | 20 | export default { |
22 | data() { | 21 | data () { |
23 | return { | 22 | return { |
24 | //是否开启材料分屏 | 23 | //是否开启材料分屏 |
25 | splitScreen: false, | 24 | splitScreen: false, |
... | @@ -40,7 +39,7 @@ export default { | ... | @@ -40,7 +39,7 @@ export default { |
40 | 39 | ||
41 | } | 40 | } |
42 | }, | 41 | }, |
43 | mounted() { | 42 | mounted () { |
44 | this.flowInitParam(); | 43 | this.flowInitParam(); |
45 | }, | 44 | }, |
46 | methods: { | 45 | methods: { |
... | @@ -49,7 +48,7 @@ export default { | ... | @@ -49,7 +48,7 @@ export default { |
49 | * @description: 加载流程初始参数 | 48 | * @description: 加载流程初始参数 |
50 | * @author: renchao | 49 | * @author: renchao |
51 | */ | 50 | */ |
52 | flowInitParam() { | 51 | flowInitParam () { |
53 | var formdata = new FormData(); | 52 | var formdata = new FormData(); |
54 | 53 | ||
55 | formdata.append("bsmSlsq", this.bsmSlsq); | 54 | formdata.append("bsmSlsq", this.bsmSlsq); |
... | @@ -60,7 +59,7 @@ export default { | ... | @@ -60,7 +59,7 @@ export default { |
60 | stepExpandInfo(formdata).then((res) => { | 59 | stepExpandInfo(formdata).then((res) => { |
61 | if (res.code === 200) { | 60 | if (res.code === 200) { |
62 | this.leftButtonList = res.result.button; | 61 | this.leftButtonList = res.result.button; |
63 | if (res.result.properties.length) { | 62 | if (res.result.properties && res.result.properties.length) { |
64 | this.showidea = res.result.properties[0].value | 63 | this.showidea = res.result.properties[0].value |
65 | } | 64 | } |
66 | 65 | ||
... | @@ -68,16 +67,12 @@ export default { | ... | @@ -68,16 +67,12 @@ export default { |
68 | let arr = this.rightButtonList.filter((item) => { | 67 | let arr = this.rightButtonList.filter((item) => { |
69 | return item.name == "删除" | 68 | return item.name == "删除" |
70 | }) | 69 | }) |
71 | 70 | this.$refs.Menu.getleftMenubl(); | |
72 | if (arr.length) { | 71 | if (!arr.length) { |
73 | this.$refs.Menu.getleftMenubl(); | 72 | this.isEdit = false |
74 | } else { | ||
75 | this.ableOperation = false | ||
76 | this.$refs.Menu.getleftMenubl(1); | ||
77 | } | 73 | } |
78 | } | 74 | } |
79 | }) | 75 | }) |
80 | |||
81 | }, | 76 | }, |
82 | //流程环节操作按钮 | 77 | //流程环节操作按钮 |
83 | /** | 78 | /** |
... | @@ -85,7 +80,7 @@ export default { | ... | @@ -85,7 +80,7 @@ export default { |
85 | * @param {*} item | 80 | * @param {*} item |
86 | * @author: renchao | 81 | * @author: renchao |
87 | */ | 82 | */ |
88 | operation(item) { | 83 | operation (item) { |
89 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 | 84 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 |
90 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout | 85 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout |
91 | let that = this; | 86 | let that = this; |
... | @@ -295,7 +290,7 @@ export default { | ... | @@ -295,7 +290,7 @@ export default { |
295 | * @description: del | 290 | * @description: del |
296 | * @author: renchao | 291 | * @author: renchao |
297 | */ | 292 | */ |
298 | del() { | 293 | del () { |
299 | let formdata = new FormData(); | 294 | let formdata = new FormData(); |
300 | formdata.append("bsmSlsq", this.bsmSlsq); | 295 | formdata.append("bsmSlsq", this.bsmSlsq); |
301 | this.$confirm("确定要删除吗, 是否继续?", "提示", { | 296 | this.$confirm("确定要删除吗, 是否继续?", "提示", { |
... | @@ -330,7 +325,7 @@ export default { | ... | @@ -330,7 +325,7 @@ export default { |
330 | * @param {*} obj | 325 | * @param {*} obj |
331 | * @author: renchao | 326 | * @author: renchao |
332 | */ | 327 | */ |
333 | sendToNext(obj) { | 328 | sendToNext (obj) { |
334 | this.$popupDialog("转出", "djbworkflow/components/zc", { | 329 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
335 | obj: obj, | 330 | obj: obj, |
336 | bsmSlsq: this.bsmSlsq, | 331 | bsmSlsq: this.bsmSlsq, |
... | @@ -343,7 +338,7 @@ export default { | ... | @@ -343,7 +338,7 @@ export default { |
343 | * @description: 转出最后一个流程 | 338 | * @description: 转出最后一个流程 |
344 | * @author: renchao | 339 | * @author: renchao |
345 | */ | 340 | */ |
346 | sendToEnd() { | 341 | sendToEnd () { |
347 | this.$popupDialog("转出", "djbworkflow/components/zc", { | 342 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
348 | obj: "", | 343 | obj: "", |
349 | bsmSlsq: this.bsmSlsq, | 344 | bsmSlsq: this.bsmSlsq, |
... | @@ -358,7 +353,7 @@ export default { | ... | @@ -358,7 +353,7 @@ export default { |
358 | * @description: 批量操作 | 353 | * @description: 批量操作 |
359 | * @author: renchao | 354 | * @author: renchao |
360 | */ | 355 | */ |
361 | handleBatchDel() { | 356 | handleBatchDel () { |
362 | this.$popupDialog("批量删除", "workflow/components/batchDel", { | 357 | this.$popupDialog("批量删除", "workflow/components/batchDel", { |
363 | width: "50%", | 358 | width: "50%", |
364 | btnShow: false, | 359 | btnShow: false, |
... | @@ -372,7 +367,7 @@ export default { | ... | @@ -372,7 +367,7 @@ export default { |
372 | * @param {*} file | 367 | * @param {*} file |
373 | * @author: renchao | 368 | * @author: renchao |
374 | */ | 369 | */ |
375 | handleChange(file) { | 370 | handleChange (file) { |
376 | var formdata = new FormData(); | 371 | var formdata = new FormData(); |
377 | formdata.append("file", file.raw); | 372 | formdata.append("file", file.raw); |
378 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); | 373 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); |
... | @@ -391,7 +386,7 @@ export default { | ... | @@ -391,7 +386,7 @@ export default { |
391 | * @param {*} file | 386 | * @param {*} file |
392 | * @author: renchao | 387 | * @author: renchao |
393 | */ | 388 | */ |
394 | beforeUpload(file) { | 389 | beforeUpload (file) { |
395 | return true; | 390 | return true; |
396 | } | 391 | } |
397 | } | 392 | } | ... | ... |
... | @@ -126,7 +126,7 @@ | ... | @@ -126,7 +126,7 @@ |
126 | </el-col> | 126 | </el-col> |
127 | <el-col :span="8"> | 127 | <el-col :span="8"> |
128 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> | 128 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> |
129 | <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!ableOperation"> | 129 | <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!ableOperation|| isJfOperation"> |
130 | <el-radio label="1">启用</el-radio> | 130 | <el-radio label="1">启用</el-radio> |
131 | <el-radio label="0">禁用</el-radio> | 131 | <el-radio label="0">禁用</el-radio> |
132 | </el-radio-group> | 132 | </el-radio-group> |
... | @@ -138,8 +138,8 @@ | ... | @@ -138,8 +138,8 @@ |
138 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> | 138 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> |
139 | <el-form-item label="被担保主债权数额:"> | 139 | <el-form-item label="被担保主债权数额:"> |
140 | <div style="display:flex"> | 140 | <div style="display:flex"> |
141 | <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation" style="width:500%"></el-input> | 141 | <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation|| isJfOperation" style="width:500%"></el-input> |
142 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation"> | 142 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation|| isJfOperation"> |
143 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 143 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
144 | </el-option> | 144 | </el-option> |
145 | </el-select> | 145 | </el-select> |
... | @@ -149,19 +149,19 @@ | ... | @@ -149,19 +149,19 @@ |
149 | 149 | ||
150 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> | 150 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> |
151 | <el-form-item label="最高债权额:"> | 151 | <el-form-item label="最高债权额:"> |
152 | <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation"></el-input> | 152 | <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation|| isJfOperation"></el-input> |
153 | </el-form-item> | 153 | </el-form-item> |
154 | </el-col> | 154 | </el-col> |
155 | 155 | ||
156 | <el-col :span="8"> | 156 | <el-col :span="8"> |
157 | <el-form-item label="债务履行起始时间:"> | 157 | <el-form-item label="债务履行起始时间:"> |
158 | <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!ableOperation" type="date"> | 158 | <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!ableOperation|| isJfOperation" type="date"> |
159 | </el-date-picker> | 159 | </el-date-picker> |
160 | </el-form-item> | 160 | </el-form-item> |
161 | </el-col> | 161 | </el-col> |
162 | <el-col :span="8"> | 162 | <el-col :span="8"> |
163 | <el-form-item label="债务履行结束时间:"> | 163 | <el-form-item label="债务履行结束时间:"> |
164 | <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!ableOperation" type="date"> | 164 | <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!ableOperation|| isJfOperation" type="date"> |
165 | </el-date-picker> | 165 | </el-date-picker> |
166 | </el-form-item> | 166 | </el-form-item> |
167 | </el-col> | 167 | </el-col> |
... | @@ -170,21 +170,21 @@ | ... | @@ -170,21 +170,21 @@ |
170 | <el-col :span="24"> | 170 | <el-col :span="24"> |
171 | <el-form-item label="担保范围:"> | 171 | <el-form-item label="担保范围:"> |
172 | <el-input v-model="ruleForm.diyaq.dbfw" | 172 | <el-input v-model="ruleForm.diyaq.dbfw" |
173 | :disabled="ruleForm.sldy.djlx == '300'&& !ableOperation"></el-input> | 173 | :disabled="ruleForm.sldy.djlx == '300'&& !ableOperation|| isJfOperation"></el-input> |
174 | </el-form-item> | 174 | </el-form-item> |
175 | </el-col> | 175 | </el-col> |
176 | </el-row> | 176 | </el-row> |
177 | <el-row> | 177 | <el-row> |
178 | <el-col :span="24"> | 178 | <el-col :span="24"> |
179 | <el-form-item label="最高债权确定事实和数额:"> | 179 | <el-form-item label="最高债权确定事实和数额:"> |
180 | <el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!ableOperation"></el-input> | 180 | <el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!ableOperation|| isJfOperation"></el-input> |
181 | </el-form-item> | 181 | </el-form-item> |
182 | </el-col> | 182 | </el-col> |
183 | </el-row> | 183 | </el-row> |
184 | <el-row> | 184 | <el-row> |
185 | <el-col> | 185 | <el-col> |
186 | <el-form-item label="附记:" prop="fj"> | 186 | <el-form-item label="附记:" prop="fj"> |
187 | <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!ableOperation"></el-input> | 187 | <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!ableOperation|| isJfOperation"></el-input> |
188 | </el-form-item> | 188 | </el-form-item> |
189 | </el-col> | 189 | </el-col> |
190 | </el-row> | 190 | </el-row> |
... | @@ -267,6 +267,9 @@ | ... | @@ -267,6 +267,9 @@ |
267 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 267 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
268 | this.propsParam = this.$attrs; | 268 | this.propsParam = this.$attrs; |
269 | var formdata = new FormData(); | 269 | var formdata = new FormData(); |
270 | if (this.propsParam.djlx == '400') { | ||
271 | this.isJfOperation = true; | ||
272 | } | ||
270 | this.$startLoading(); | 273 | this.$startLoading(); |
271 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 274 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
272 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 275 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
... | @@ -296,6 +299,7 @@ | ... | @@ -296,6 +299,7 @@ |
296 | diyaq: {}, | 299 | diyaq: {}, |
297 | gyfs: "", | 300 | gyfs: "", |
298 | }, | 301 | }, |
302 | isJfOperation: false, | ||
299 | //传递参数 | 303 | //传递参数 |
300 | propsParam: {}, | 304 | propsParam: {}, |
301 | rules: {}, | 305 | rules: {}, | ... | ... |
... | @@ -66,41 +66,78 @@ | ... | @@ -66,41 +66,78 @@ |
66 | </el-col> | 66 | </el-col> |
67 | <el-col :span="8"> | 67 | <el-col :span="8"> |
68 | <el-form-item label="规划用途:"> | 68 | <el-form-item label="规划用途:"> |
69 | <el-input disabled v-model="ruleForm.ygdj.ytmc"></el-input> | 69 | <el-select v-model="ruleForm.ygdj.ghyt"> |
70 | <el-option | ||
71 | v-for="item in dictData['A17']" | ||
72 | :key="item.dcode" | ||
73 | :label="item.dname" | ||
74 | :value="item.dcode" | ||
75 | > | ||
76 | </el-option> | ||
77 | </el-select> | ||
70 | </el-form-item> | 78 | </el-form-item> |
71 | </el-col> | 79 | </el-col> |
72 | <el-col :span="8"> | 80 | <el-col :span="8"> |
73 | <el-form-item label="房屋性质:"> | 81 | <el-form-item label="房屋性质:"> |
74 | <el-input disabled v-model="ruleForm.ygdj.fwxzmc"></el-input> | 82 | <el-select v-model="ruleForm.ygdj.fwxz"> |
83 | <el-option | ||
84 | v-for="item in dictData['A19']" | ||
85 | :key="item.dcode" | ||
86 | :label="item.dname" | ||
87 | :value="item.dcode" | ||
88 | > | ||
89 | </el-option> | ||
90 | </el-select> | ||
75 | </el-form-item> | 91 | </el-form-item> |
76 | </el-col> | 92 | </el-col> |
77 | </el-row> | 93 | </el-row> |
78 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 94 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
79 | <el-col :span="8"> | 95 | <el-col :span="8"> |
80 | <el-form-item label="房屋结构:"> | 96 | <el-form-item label="房屋结构:"> |
81 | <el-input disabled v-model="ruleForm.ygdj.fwjgmc"></el-input> | 97 | <el-select v-model="ruleForm.ygdj.fwjg"> |
98 | <el-option | ||
99 | v-for="item in dictData['A46']" | ||
100 | :key="item.dcode" | ||
101 | :label="item.dname" | ||
102 | :value="item.dcode" | ||
103 | > | ||
104 | </el-option> | ||
105 | </el-select> | ||
82 | </el-form-item> | 106 | </el-form-item> |
83 | </el-col> | 107 | </el-col> |
84 | <el-col :span="8"> | 108 | <el-col :span="8"> |
85 | <el-form-item label="建筑面积:"> | 109 | <el-form-item label="建筑面积:"> |
86 | <el-input disabled v-model="ruleForm.ygdj.jzmj"></el-input> | 110 | <el-input v-model="ruleForm.ygdj.jzmj"></el-input> |
87 | </el-form-item> | 111 | </el-form-item> |
88 | </el-col> | 112 | </el-col> |
89 | <el-col :span="8"> | 113 | <el-col :span="8"> |
90 | <el-form-item label="取得价格:"> | 114 | <el-form-item label="取得价格:"> |
91 | <el-input disabled v-model="ruleForm.ygdj.qdjg"></el-input> | 115 | <div class="flex"> |
116 | <el-input v-model="ruleForm.ygdj.qdjg"></el-input> | ||
117 | <el-select | ||
118 | v-model="ruleForm.ygdj.jedw" | ||
119 | :disabled="!ableOperation" | ||
120 | style="width: 20%"> | ||
121 | <el-option | ||
122 | v-for="item in dictData['A57']" | ||
123 | :key="item.dcode" | ||
124 | :label="item.dname" | ||
125 | :value="item.dcode"> | ||
126 | </el-option> | ||
127 | </el-select> | ||
128 | </div> | ||
92 | </el-form-item> | 129 | </el-form-item> |
93 | </el-col> | 130 | </el-col> |
94 | </el-row> | 131 | </el-row> |
95 | <el-row :gutter="10"> | 132 | <el-row :gutter="10"> |
96 | <el-col :span="8"> | 133 | <el-col :span="8"> |
97 | <el-form-item label="所在层:"> | 134 | <el-form-item label="所在层:"> |
98 | <el-input disabled v-model="ruleForm.ygdj.szc"></el-input> | 135 | <el-input v-model="ruleForm.ygdj.szc"></el-input> |
99 | </el-form-item> | 136 | </el-form-item> |
100 | </el-col> | 137 | </el-col> |
101 | <el-col :span="8"> | 138 | <el-col :span="8"> |
102 | <el-form-item label="总层数:"> | 139 | <el-form-item label="总层数:"> |
103 | <el-input disabled v-model="ruleForm.ygdj.zcs"></el-input> | 140 | <el-input v-model="ruleForm.ygdj.zcs"></el-input> |
104 | </el-form-item> | 141 | </el-form-item> |
105 | </el-col> | 142 | </el-col> |
106 | </el-row> | 143 | </el-row> | ... | ... |
... | @@ -43,80 +43,93 @@ | ... | @@ -43,80 +43,93 @@ |
43 | </el-col> | 43 | </el-col> |
44 | </el-row> | 44 | </el-row> |
45 | <div class="slxx_title title-block"> | 45 | <div class="slxx_title title-block"> |
46 | 不动产情况 | 46 | 预告买卖登记情况 |
47 | <div class="triangle"></div> | 47 | <div class="triangle"></div> |
48 | </div> | 48 | </div> |
49 | <el-row :gutter="10"> | 49 | <el-row :gutter="10"> |
50 | <el-col :span="8"> | 50 | <el-col :span="8"> |
51 | <el-form-item label="权利类型:"> | 51 | <el-form-item label="权利类型:"> |
52 | <el-input disabled v-model="ruleForm.ssQlxx.qllxmc"></el-input> | 52 | <el-input disabled v-model="ruleForm.ztQlxx.qllxmc"></el-input> |
53 | </el-form-item> | 53 | </el-form-item> |
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.ssQlxx.bdcqzh"></el-input> | 57 | <el-input disabled v-model="ruleForm.ztQlxx.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.ssQlxx.bdcdyh"></el-input> | 62 | <el-input disabled v-model="ruleForm.ztQlxx.bdcdyh"></el-input> |
63 | </el-form-item> | 63 | </el-form-item> |
64 | </el-col> | 64 | </el-col> |
65 | </el-row> | 65 | </el-row> |
66 | <el-row :gutter="10"> | 66 | <el-row :gutter="10"> |
67 | <el-col :span="8"> | 67 | <el-col :span="8"> |
68 | <el-form-item label="权利人:"> | 68 | <el-form-item label="权利人:"> |
69 | <el-input disabled v-model="ruleForm.ssQlxx.qlrmc"></el-input> | 69 | <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input> |
70 | </el-form-item> | 70 | </el-form-item> |
71 | </el-col> | 71 | </el-col> |
72 | <el-col :span="8"> | 72 | <el-col :span="8"> |
73 | <el-form-item label="证件种类:"> | 73 | <el-form-item label="证件种类:"> |
74 | <el-input disabled v-model="ruleForm.ssQlxx.qlrzjzl"></el-input> | 74 | <el-input disabled v-model="ruleForm.ztQlxx.qlrzjzl"></el-input> |
75 | </el-form-item> | 75 | </el-form-item> |
76 | </el-col> | 76 | </el-col> |
77 | <el-col :span="8"> | 77 | <el-col :span="8"> |
78 | <el-form-item label="证件号:"> | 78 | <el-form-item label="证件号:"> |
79 | <el-input disabled v-model="ruleForm.ssQlxx.qlrzjhm"></el-input> | 79 | <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input> |
80 | </el-form-item> | 80 | </el-form-item> |
81 | </el-col> | 81 | </el-col> |
82 | </el-row> | 82 | </el-row> |
83 | <el-row :gutter="10"> | 83 | <el-row :gutter="10"> |
84 | <el-col :span="8"> | 84 | <el-col :span="8"> |
85 | <el-form-item label="房屋面积:"> | 85 | <el-form-item label="房屋面积:"> |
86 | <el-input disabled v-model="ruleForm.ssQlxx.mjmc"></el-input> | 86 | <el-input disabled v-model="ruleForm.ztQlxx.mjmc"></el-input> |
87 | </el-form-item> | 87 | </el-form-item> |
88 | </el-col> | 88 | </el-col> |
89 | <el-col :span="8"> | 89 | <el-col :span="8"> |
90 | <el-form-item label="房屋用途:"> | 90 | <el-form-item label="房屋用途:"> |
91 | <el-input disabled v-model="ruleForm.ssQlxx.ytmc"></el-input> | 91 | <el-input disabled v-model="ruleForm.ztQlxx.ytmc"></el-input> |
92 | </el-form-item> | 92 | </el-form-item> |
93 | </el-col> | 93 | </el-col> |
94 | <el-col :span="8"> | 94 | <el-col :span="8"> |
95 | <el-form-item label="房屋性质:"> | 95 | <el-form-item label="房屋性质:"> |
96 | <el-input disabled v-model="ruleForm.ssQlxx.qlxzmc"></el-input> | 96 | <el-input disabled v-model="ruleForm.ztQlxx.qlxzmc"></el-input> |
97 | </el-form-item> | 97 | </el-form-item> |
98 | </el-col> | 98 | </el-col> |
99 | </el-row> | 99 | </el-row> |
100 | <el-row :gutter="10"> | 100 | <el-row :gutter="10"> |
101 | <el-col :span="8"> | 101 | <el-col :span="8"> |
102 | <el-form-item label="房屋取得价格:"> | 102 | <el-form-item label="房屋取得价格:"> |
103 | <el-input disabled v-model="ruleForm.ssQlxx.qdjg"></el-input> | 103 | <el-input disabled v-model="ruleForm.ztQlxx.qdjgmc"></el-input> |
104 | </el-form-item> | 104 | </el-form-item> |
105 | </el-col> | 105 | </el-col> |
106 | <el-col :span="16"> | 106 | <el-col :span="16"> |
107 | <el-form-item label="不动产坐落:"> | 107 | <el-form-item label="不动产坐落:"> |
108 | <el-input disabled v-model="ruleForm.ssQlxx.zl"></el-input> | 108 | <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input> |
109 | </el-form-item> | 109 | </el-form-item> |
110 | </el-col> | 110 | </el-col> |
111 | </el-row> | 111 | </el-row> |
112 | <div class="slxx_title title-block"> | 112 | <div class="slxx_title title-block"> |
113 | 抵押情况 | 113 | 预告抵押情况 |
114 | <div class="triangle"></div> | 114 | <div class="triangle"></div> |
115 | </div> | 115 | </div> |
116 | <el-row :gutter="10"> | 116 | <el-row :gutter="10"> |
117 | <el-col :span="8"> | 117 | <el-col :span="8"> |
118 | <el-form-item label="被担保主债权数额:"> | 118 | <el-form-item label="被担保主债权数额:"> |
119 | <div class="flex"> | ||
119 | <el-input v-model="ruleForm.ygdj.qdjg" :disabled="!ableOperation"></el-input> | 120 | <el-input v-model="ruleForm.ygdj.qdjg" :disabled="!ableOperation"></el-input> |
121 | <el-select | ||
122 | v-model="ruleForm.ygdj.jedw" | ||
123 | :disabled="!ableOperation" | ||
124 | style="width: 20%"> | ||
125 | <el-option | ||
126 | v-for="item in dictData['A57']" | ||
127 | :key="item.dcode" | ||
128 | :label="item.dname" | ||
129 | :value="item.dcode"> | ||
130 | </el-option> | ||
131 | </el-select> | ||
132 | </div> | ||
120 | </el-form-item> | 133 | </el-form-item> |
121 | </el-col> | 134 | </el-col> |
122 | <el-col :span="8"> | 135 | <el-col :span="8"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 11:17:58 | 4 | * @LastEditTime: 2023-07-31 09:11:52 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -41,7 +41,6 @@ | ... | @@ -41,7 +41,6 @@ |
41 | <el-col :span="3" class="btnColRight"> | 41 | <el-col :span="3" class="btnColRight"> |
42 | <el-form-item> | 42 | <el-form-item> |
43 | <el-button type="primary" @click="queryClick">查询</el-button> | 43 | <el-button type="primary" @click="queryClick">查询</el-button> |
44 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> | ||
45 | </el-form-item> | 44 | </el-form-item> |
46 | </el-col> | 45 | </el-col> |
47 | </el-row> | 46 | </el-row> |
... | @@ -65,7 +64,7 @@ | ... | @@ -65,7 +64,7 @@ |
65 | </div> | 64 | </div> |
66 | <div class="submit_button"> | 65 | <div class="submit_button"> |
67 | <el-button @click="$popupCacel">取消</el-button> | 66 | <el-button @click="$popupCacel">取消</el-button> |
68 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 67 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
69 | </div> | 68 | </div> |
70 | </div> | 69 | </div> |
71 | </template> | 70 | </template> |
... | @@ -87,6 +86,7 @@ | ... | @@ -87,6 +86,7 @@ |
87 | mixins: [table, jump], | 86 | mixins: [table, jump], |
88 | data () { | 87 | data () { |
89 | return { | 88 | return { |
89 | loading: false, | ||
90 | queryForm: defaultParameters.defaultParameters(), | 90 | queryForm: defaultParameters.defaultParameters(), |
91 | tableData: { | 91 | tableData: { |
92 | total: 0, | 92 | total: 0, |
... | @@ -129,6 +129,7 @@ | ... | @@ -129,6 +129,7 @@ |
129 | return; | 129 | return; |
130 | } | 130 | } |
131 | if (!this.isJump) { | 131 | if (!this.isJump) { |
132 | this.loading = true | ||
132 | startBusinessFlow({ | 133 | startBusinessFlow({ |
133 | bsmSqyw: this.bsmSqyw, | 134 | bsmSqyw: this.bsmSqyw, |
134 | bdcdysz: this.bdcdysz, | 135 | bdcdysz: this.bdcdysz, |
... | @@ -137,6 +138,7 @@ | ... | @@ -137,6 +138,7 @@ |
137 | djqxmc: | 138 | djqxmc: |
138 | this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 139 | this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
139 | }).then((res) => { | 140 | }).then((res) => { |
141 | this.loading = false | ||
140 | if (res.code == 200) { | 142 | if (res.code == 200) { |
141 | this.$message({ | 143 | this.$message({ |
142 | showClose: true, | 144 | showClose: true, |
... | @@ -155,10 +157,12 @@ | ... | @@ -155,10 +157,12 @@ |
155 | } | 157 | } |
156 | }) | 158 | }) |
157 | } else { | 159 | } else { |
160 | this.loading = true | ||
158 | choiceBdcdy({ | 161 | choiceBdcdy({ |
159 | bsmSlsq: this.$route.query.bsmSlsq, | 162 | bsmSlsq: this.$route.query.bsmSlsq, |
160 | bdcdysz: this.bdcdysz, | 163 | bdcdysz: this.bdcdysz, |
161 | }).then((res) => { | 164 | }).then((res) => { |
165 | this.loading = false | ||
162 | if (res.code == 200) { | 166 | if (res.code == 200) { |
163 | this.$message({ | 167 | this.$message({ |
164 | showClose: true, | 168 | showClose: true, |
... | @@ -233,11 +237,11 @@ | ... | @@ -233,11 +237,11 @@ |
233 | this.$refs.table.toggleRowSelection(row); | 237 | this.$refs.table.toggleRowSelection(row); |
234 | } | 238 | } |
235 | }, | 239 | }, |
236 | /** | 240 | /** |
237 | * @description: openBook | 241 | * @description: openBook |
238 | * @param {*} row | 242 | * @param {*} row |
239 | * @author: miaofang | 243 | * @author: miaofang |
240 | */ | 244 | */ |
241 | openBook (row) { | 245 | openBook (row) { |
242 | console.log("的急急急急急急"); | 246 | console.log("的急急急急急急"); |
243 | var param = { | 247 | var param = { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:02 | 4 | * @LastEditTime: 2023-07-31 10:03:31 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 抵押权利信息查询 --> | 7 | <!-- 抵押权利信息查询 --> |
... | @@ -38,7 +38,7 @@ | ... | @@ -38,7 +38,7 @@ |
38 | </el-col> | 38 | </el-col> |
39 | <el-col :span="2" class="btnColRight"> | 39 | <el-col :span="2" class="btnColRight"> |
40 | <el-form-item> | 40 | <el-form-item> |
41 | <el-button type="primary" @click="handleSearch">查询</el-button> | 41 | <el-button type="primary" @click="handleSearch" :loading="loading">查询</el-button> |
42 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 42 | <el-button type="primary" @click="resetForm(true)">重置</el-button> |
43 | </el-form-item> | 43 | </el-form-item> |
44 | </el-col> | 44 | </el-col> |
... | @@ -55,7 +55,7 @@ | ... | @@ -55,7 +55,7 @@ |
55 | </div> | 55 | </div> |
56 | <div class="submit_button"> | 56 | <div class="submit_button"> |
57 | <el-button @click="$popupCacel">取消</el-button> | 57 | <el-button @click="$popupCacel">取消</el-button> |
58 | <el-button type="primary" plain @click="submitFormClick()">发起申请</el-button> | 58 | <el-button type="primary" plain @click="submitFormClick()" :loading="loading">发起申请</el-button> |
59 | </div> | 59 | </div> |
60 | </div> | 60 | </div> |
61 | </template> | 61 | </template> |
... | @@ -76,6 +76,7 @@ | ... | @@ -76,6 +76,7 @@ |
76 | }, | 76 | }, |
77 | data () { | 77 | data () { |
78 | return { | 78 | return { |
79 | loading: false, | ||
79 | queryForm: defaultParameters.defaultParameters(), | 80 | queryForm: defaultParameters.defaultParameters(), |
80 | qllxs: [], | 81 | qllxs: [], |
81 | tableData: { | 82 | tableData: { |
... | @@ -115,12 +116,14 @@ | ... | @@ -115,12 +116,14 @@ |
115 | this.$message.error("请至少选择一条数据"); | 116 | this.$message.error("请至少选择一条数据"); |
116 | return; | 117 | return; |
117 | } | 118 | } |
119 | this.loading = true | ||
118 | startBusinessFlow({ | 120 | startBusinessFlow({ |
119 | bsmSqyw: this.sqywInfo.parentid, | 121 | bsmSqyw: this.sqywInfo.parentid, |
120 | bdcdysz: this.bdcdysz, | 122 | bdcdysz: this.bdcdysz, |
121 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 123 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
122 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 124 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
123 | }).then((res) => { | 125 | }).then((res) => { |
126 | this.loading = false | ||
124 | if (res.code == 200) { | 127 | if (res.code == 200) { |
125 | this.$message({ | 128 | this.$message({ |
126 | showClose: true, | 129 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 14:17:26 | 4 | * @LastEditTime: 2023-07-31 10:03:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -69,7 +69,7 @@ | ... | @@ -69,7 +69,7 @@ |
69 | </div> | 69 | </div> |
70 | <div class="submit_button"> | 70 | <div class="submit_button"> |
71 | <el-button @click="$popupCacel">取消</el-button> | 71 | <el-button @click="$popupCacel">取消</el-button> |
72 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 72 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
73 | </div> | 73 | </div> |
74 | </div> | 74 | </div> |
75 | <div v-if="activeName == 'dz'"> | 75 | <div v-if="activeName == 'dz'"> |
... | @@ -120,7 +120,7 @@ | ... | @@ -120,7 +120,7 @@ |
120 | </div> | 120 | </div> |
121 | <div class="submit_button"> | 121 | <div class="submit_button"> |
122 | <el-button @click="$popupCacel">取消</el-button> | 122 | <el-button @click="$popupCacel">取消</el-button> |
123 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 123 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
124 | </div> | 124 | </div> |
125 | </div> | 125 | </div> |
126 | </div> | 126 | </div> |
... | @@ -143,6 +143,7 @@ | ... | @@ -143,6 +143,7 @@ |
143 | }, | 143 | }, |
144 | data () { | 144 | data () { |
145 | return { | 145 | return { |
146 | loading: false, | ||
146 | activeName: 'zrz', | 147 | activeName: 'zrz', |
147 | queryzrzForm: { | 148 | queryzrzForm: { |
148 | qllx: '', | 149 | qllx: '', |
... | @@ -240,6 +241,7 @@ | ... | @@ -240,6 +241,7 @@ |
240 | return; | 241 | return; |
241 | } | 242 | } |
242 | if (!this.isJump) { | 243 | if (!this.isJump) { |
244 | this.loading = true | ||
243 | startBusinessFlow({ | 245 | startBusinessFlow({ |
244 | bsmSqyw: this.bsmSqyw, | 246 | bsmSqyw: this.bsmSqyw, |
245 | //sjlx: 'zrz', | 247 | //sjlx: 'zrz', |
... | @@ -248,6 +250,7 @@ | ... | @@ -248,6 +250,7 @@ |
248 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 250 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
249 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 251 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
250 | }).then((res) => { | 252 | }).then((res) => { |
253 | this.loading = false | ||
251 | if (res.code == 200) { | 254 | if (res.code == 200) { |
252 | this.$message({ | 255 | this.$message({ |
253 | showClose: true, | 256 | showClose: true, |
... | @@ -265,10 +268,12 @@ | ... | @@ -265,10 +268,12 @@ |
265 | } | 268 | } |
266 | }) | 269 | }) |
267 | } else { | 270 | } else { |
271 | this.loading = true | ||
268 | choiceBdcdy({ | 272 | choiceBdcdy({ |
269 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, | 273 | bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq, |
270 | bdcdysz: this.bdcdysz | 274 | bdcdysz: this.bdcdysz |
271 | }).then(res => { | 275 | }).then(res => { |
276 | this.loading = false | ||
272 | if (res.code == 200) { | 277 | if (res.code == 200) { |
273 | this.$message({ | 278 | this.$message({ |
274 | showClose: true, | 279 | showClose: true, |
... | @@ -374,7 +379,6 @@ | ... | @@ -374,7 +379,6 @@ |
374 | * @author: miaofang | 379 | * @author: miaofang |
375 | */ | 380 | */ |
376 | openBook (row) { | 381 | openBook (row) { |
377 | console.log("的急急急急急急"); | ||
378 | var param = { | 382 | var param = { |
379 | bdcdyid: row.bdcdyid, | 383 | bdcdyid: row.bdcdyid, |
380 | qllx: row.qllx, | 384 | qllx: row.qllx, |
... | @@ -384,7 +388,7 @@ | ... | @@ -384,7 +388,7 @@ |
384 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 388 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
385 | formData: param | 389 | formData: param |
386 | }) | 390 | }) |
387 | }, | 391 | } |
388 | } | 392 | } |
389 | } | 393 | } |
390 | </script> | 394 | </script> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:18 | 4 | * @LastEditTime: 2023-07-31 10:03:52 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | </div> | 40 | </div> |
41 | <div class="submit_button"> | 41 | <div class="submit_button"> |
42 | <el-button @click="$popupCacel">取消</el-button> | 42 | <el-button @click="$popupCacel">取消</el-button> |
43 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 43 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
44 | </div> | 44 | </div> |
45 | </div> | 45 | </div> |
46 | </template> | 46 | </template> |
... | @@ -62,6 +62,7 @@ | ... | @@ -62,6 +62,7 @@ |
62 | }, | 62 | }, |
63 | data () { | 63 | data () { |
64 | return { | 64 | return { |
65 | loading: false, | ||
65 | queryForm: defaultParameters.defaultParameters(), | 66 | queryForm: defaultParameters.defaultParameters(), |
66 | tableData: { | 67 | tableData: { |
67 | total: 0, | 68 | total: 0, |
... | @@ -104,12 +105,14 @@ | ... | @@ -104,12 +105,14 @@ |
104 | this.$message.error("请至少选择一条数据"); | 105 | this.$message.error("请至少选择一条数据"); |
105 | return; | 106 | return; |
106 | } | 107 | } |
108 | this.loading = true | ||
107 | startBusinessFlow({ | 109 | startBusinessFlow({ |
108 | bsmSqyw: this.bsmSqyw, | 110 | bsmSqyw: this.bsmSqyw, |
109 | bdcdysz: this.bdcdysz, | 111 | bdcdysz: this.bdcdysz, |
110 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 112 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
111 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 113 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
112 | }).then((res) => { | 114 | }).then((res) => { |
115 | this.loading = false | ||
113 | if (res.code == 200) { | 116 | if (res.code == 200) { |
114 | this.$message({ | 117 | this.$message({ |
115 | showClose: true, | 118 | showClose: true, |
... | @@ -203,7 +206,7 @@ | ... | @@ -203,7 +206,7 @@ |
203 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 206 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
204 | formData: param | 207 | formData: param |
205 | }) | 208 | }) |
206 | }, | 209 | } |
207 | } | 210 | } |
208 | } | 211 | } |
209 | </script> | 212 | </script> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:30 | 4 | * @LastEditTime: 2023-07-31 10:03:59 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | </div> | 40 | </div> |
41 | <div class="submit_button"> | 41 | <div class="submit_button"> |
42 | <el-button @click="$popupCacel">取消</el-button> | 42 | <el-button @click="$popupCacel">取消</el-button> |
43 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 43 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
44 | </div> | 44 | </div> |
45 | </div> | 45 | </div> |
46 | </template> | 46 | </template> |
... | @@ -62,6 +62,7 @@ | ... | @@ -62,6 +62,7 @@ |
62 | }, | 62 | }, |
63 | data () { | 63 | data () { |
64 | return { | 64 | return { |
65 | loading: false, | ||
65 | queryForm: defaultParameters.defaultParameters(), | 66 | queryForm: defaultParameters.defaultParameters(), |
66 | qllxs: [], | 67 | qllxs: [], |
67 | tableData: { | 68 | tableData: { |
... | @@ -101,12 +102,14 @@ | ... | @@ -101,12 +102,14 @@ |
101 | this.$message.error("请至少选择一条数据"); | 102 | this.$message.error("请至少选择一条数据"); |
102 | return; | 103 | return; |
103 | } | 104 | } |
105 | this.loading = true | ||
104 | startBusinessFlow({ | 106 | startBusinessFlow({ |
105 | bsmSqyw: this.sqywInfo.parentid, | 107 | bsmSqyw: this.sqywInfo.parentid, |
106 | bdcdysz: this.bdcdysz, | 108 | bdcdysz: this.bdcdysz, |
107 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 109 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
108 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 110 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
109 | }).then((res) => { | 111 | }).then((res) => { |
112 | this.loading = false | ||
110 | if (res.code == 200) { | 113 | if (res.code == 200) { |
111 | this.$message({ | 114 | this.$message({ |
112 | showClose: true, | 115 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:36 | 4 | * @LastEditTime: 2023-07-31 10:04:05 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -55,7 +55,7 @@ | ... | @@ -55,7 +55,7 @@ |
55 | </div> | 55 | </div> |
56 | <div class="submit_button"> | 56 | <div class="submit_button"> |
57 | <el-button @click="$popupCacel">取消</el-button> | 57 | <el-button @click="$popupCacel">取消</el-button> |
58 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 58 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
59 | </div> | 59 | </div> |
60 | </div> | 60 | </div> |
61 | </template> | 61 | </template> |
... | @@ -77,6 +77,7 @@ | ... | @@ -77,6 +77,7 @@ |
77 | }, | 77 | }, |
78 | data () { | 78 | data () { |
79 | return { | 79 | return { |
80 | loading: false, | ||
80 | queryForm: defaultParameters.defaultParameters(), | 81 | queryForm: defaultParameters.defaultParameters(), |
81 | qllxData: [], | 82 | qllxData: [], |
82 | tableData: { | 83 | tableData: { |
... | @@ -129,12 +130,14 @@ | ... | @@ -129,12 +130,14 @@ |
129 | this.$alert("请至少选择一条数据"); | 130 | this.$alert("请至少选择一条数据"); |
130 | return; | 131 | return; |
131 | } | 132 | } |
133 | this.loading = true | ||
132 | startBusinessFlow({ | 134 | startBusinessFlow({ |
133 | bsmSqyw: this.bsmSqyw, | 135 | bsmSqyw: this.bsmSqyw, |
134 | bdcdysz: this.bdcdysz, | 136 | bdcdysz: this.bdcdysz, |
135 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 137 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
136 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 138 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
137 | }).then((res) => { | 139 | }).then((res) => { |
140 | this.loading = false | ||
138 | if (res.code == 200) { | 141 | if (res.code == 200) { |
139 | this.$message({ | 142 | this.$message({ |
140 | showClose: true, | 143 | showClose: true, |
... | @@ -213,11 +216,11 @@ | ... | @@ -213,11 +216,11 @@ |
213 | this.$refs.table.toggleRowSelection(row); | 216 | this.$refs.table.toggleRowSelection(row); |
214 | } | 217 | } |
215 | }, | 218 | }, |
216 | /** | 219 | /** |
217 | * @description: openBook | 220 | * @description: openBook |
218 | * @param {*} row | 221 | * @param {*} row |
219 | * @author: miaofang | 222 | * @author: miaofang |
220 | */ | 223 | */ |
221 | openBook (row) { | 224 | openBook (row) { |
222 | console.log("的急急急急急急"); | 225 | console.log("的急急急急急急"); |
223 | var param = { | 226 | var param = { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:42 | 4 | * @LastEditTime: 2023-07-31 10:04:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
51 | </div> | 51 | </div> |
52 | <div class="submit_button"> | 52 | <div class="submit_button"> |
53 | <el-button @click="$popupCacel">取消</el-button> | 53 | <el-button @click="$popupCacel">取消</el-button> |
54 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 54 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
55 | </div> | 55 | </div> |
56 | </div> | 56 | </div> |
57 | </template> | 57 | </template> |
... | @@ -77,6 +77,7 @@ | ... | @@ -77,6 +77,7 @@ |
77 | }, | 77 | }, |
78 | data () { | 78 | data () { |
79 | return { | 79 | return { |
80 | loading: false, | ||
80 | bdcdysz: [], | 81 | bdcdysz: [], |
81 | queryForm: { | 82 | queryForm: { |
82 | zl: "", | 83 | zl: "", |
... | @@ -159,14 +160,15 @@ | ... | @@ -159,14 +160,15 @@ |
159 | this.$message.error("请至少选择一条数据"); | 160 | this.$message.error("请至少选择一条数据"); |
160 | return; | 161 | return; |
161 | } | 162 | } |
163 | this.loading = true | ||
162 | let from = { | 164 | let from = { |
163 | bsmSqyw: this.bsmSqyw, | 165 | bsmSqyw: this.bsmSqyw, |
164 | bdcdysz: this.bdcdysz, | 166 | bdcdysz: this.bdcdysz, |
165 | djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "", | 167 | djqxbm: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodecode : "", |
166 | djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", | 168 | djqxmc: this.sqywInfo.nodetype == "djlx" ? this.sqywInfo.nodename : "", |
167 | } | 169 | } |
168 | console.log("发起申请传参", from, this.sqywInfo); | ||
169 | startRepairFlow(from).then((res) => { | 170 | startRepairFlow(from).then((res) => { |
171 | this.loading = false | ||
170 | if (res.code == 200) { | 172 | if (res.code == 200) { |
171 | this.$message({ | 173 | this.$message({ |
172 | showClose: true, | 174 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:46:49 | 4 | * @LastEditTime: 2023-07-31 10:04:17 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | </div> | 47 | </div> |
48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
49 | <el-button @click="$popupCacel">取消</el-button> | 49 | <el-button @click="$popupCacel">取消</el-button> |
50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> |
... | @@ -68,6 +68,7 @@ | ... | @@ -68,6 +68,7 @@ |
68 | }, | 68 | }, |
69 | data () { | 69 | data () { |
70 | return { | 70 | return { |
71 | loading: false, | ||
71 | queryForm: defaultParameters.defaultParameters(), | 72 | queryForm: defaultParameters.defaultParameters(), |
72 | tableData: { | 73 | tableData: { |
73 | total: 0, | 74 | total: 0, |
... | @@ -106,12 +107,14 @@ | ... | @@ -106,12 +107,14 @@ |
106 | this.$message.error("请至少选择一条数据"); | 107 | this.$message.error("请至少选择一条数据"); |
107 | return; | 108 | return; |
108 | } | 109 | } |
110 | this.loading = true | ||
109 | startBusinessFlow({ | 111 | startBusinessFlow({ |
110 | bsmSqyw: this.sqywInfo.bsmSqyw, | 112 | bsmSqyw: this.sqywInfo.bsmSqyw, |
111 | bdcdysz: this.bdcdysz, | 113 | bdcdysz: this.bdcdysz, |
112 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 114 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
113 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 115 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
114 | }).then((res) => { | 116 | }).then((res) => { |
117 | this.loading = false | ||
115 | if (res.code == 200) { | 118 | if (res.code == 200) { |
116 | this.$message({ | 119 | this.$message({ |
117 | showClose: true, | 120 | showClose: true, |
... | @@ -205,9 +208,9 @@ | ... | @@ -205,9 +208,9 @@ |
205 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 208 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
206 | formData: param | 209 | formData: param |
207 | }) | 210 | }) |
208 | }, | 211 | } |
209 | }, | 212 | } |
210 | }; | 213 | } |
211 | </script> | 214 | </script> |
212 | <style scoped lang="scss"> | 215 | <style scoped lang="scss"> |
213 | @import "~@/styles/mixin.scss"; | 216 | @import "~@/styles/mixin.scss"; | ... | ... |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | </div> | 46 | </div> |
47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | </template> | 52 | </template> |
... | @@ -67,14 +67,15 @@ | ... | @@ -67,14 +67,15 @@ |
67 | }, | 67 | }, |
68 | data () { | 68 | data () { |
69 | return { | 69 | return { |
70 | loading: false, | ||
70 | queryForm: defaultParameters.defaultParameters(), | 71 | queryForm: defaultParameters.defaultParameters(), |
71 | tableData: { | 72 | tableData: { |
72 | total: 0, | 73 | total: 0, |
73 | columns: datas.columns(), | 74 | columns: datas.columns(), |
74 | data: [], | 75 | data: [], |
75 | }, | 76 | }, |
76 | bdcdysz: [], | 77 | bdcdysz: [] |
77 | }; | 78 | } |
78 | }, | 79 | }, |
79 | mounted () { | 80 | mounted () { |
80 | sendThis(this); | 81 | sendThis(this); |
... | @@ -105,12 +106,14 @@ | ... | @@ -105,12 +106,14 @@ |
105 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
106 | return; | 107 | return; |
107 | } | 108 | } |
109 | this.loading = true | ||
108 | startBusinessFlow({ | 110 | startBusinessFlow({ |
109 | bsmSqyw: this.sqywInfo.bsmSqyw, | 111 | bsmSqyw: this.sqywInfo.bsmSqyw, |
110 | bdcdysz: this.bdcdysz, | 112 | bdcdysz: this.bdcdysz, |
111 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
112 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
113 | }).then((res) => { | 115 | }).then((res) => { |
116 | this.loading = false | ||
114 | if (res.code == 200) { | 117 | if (res.code == 200) { |
115 | this.$message({ | 118 | this.$message({ |
116 | showClose: true, | 119 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:47:08 | 4 | * @LastEditTime: 2023-07-31 10:04:21 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
54 | </div> | 54 | </div> |
55 | <div class="submit_button"> | 55 | <div class="submit_button"> |
56 | <el-button @click="$popupCacel">取消</el-button> | 56 | <el-button @click="$popupCacel">取消</el-button> |
57 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 57 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
58 | </div> | 58 | </div> |
59 | </div> | 59 | </div> |
60 | </template> | 60 | </template> |
... | @@ -76,6 +76,7 @@ | ... | @@ -76,6 +76,7 @@ |
76 | }, | 76 | }, |
77 | data () { | 77 | data () { |
78 | return { | 78 | return { |
79 | loading: false, | ||
79 | queryForm: defaultParameters.defaultParameters(), | 80 | queryForm: defaultParameters.defaultParameters(), |
80 | tableData: { | 81 | tableData: { |
81 | total: 0, | 82 | total: 0, |
... | @@ -114,12 +115,14 @@ | ... | @@ -114,12 +115,14 @@ |
114 | this.$message.error("请至少选择一条数据"); | 115 | this.$message.error("请至少选择一条数据"); |
115 | return; | 116 | return; |
116 | } | 117 | } |
118 | this.loading = true | ||
117 | startBusinessFlow({ | 119 | startBusinessFlow({ |
118 | bsmSqyw: this.sqywInfo.parentid, | 120 | bsmSqyw: this.sqywInfo.parentid, |
119 | bdcdysz: this.bdcdysz, | 121 | bdcdysz: this.bdcdysz, |
120 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 122 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
121 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 123 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
122 | }).then((res) => { | 124 | }).then((res) => { |
125 | this.loading = false | ||
123 | if (res.code == 200) { | 126 | if (res.code == 200) { |
124 | this.$message({ | 127 | this.$message({ |
125 | showClose: true, | 128 | showClose: true, |
... | @@ -213,7 +216,7 @@ | ... | @@ -213,7 +216,7 @@ |
213 | } else { | 216 | } else { |
214 | this.$refs.table.toggleRowSelection(row); | 217 | this.$refs.table.toggleRowSelection(row); |
215 | } | 218 | } |
216 | }, | 219 | } |
217 | } | 220 | } |
218 | } | 221 | } |
219 | </script> | 222 | </script> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:18:17 | 4 | * @LastEditTime: 2023-07-31 09:34:30 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -132,7 +132,7 @@ | ... | @@ -132,7 +132,7 @@ |
132 | </div> | 132 | </div> |
133 | <div class="submit_button"> | 133 | <div class="submit_button"> |
134 | <el-button @click="$popupCacel">取消</el-button> | 134 | <el-button @click="$popupCacel">取消</el-button> |
135 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 135 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
136 | </div> | 136 | </div> |
137 | </div> | 137 | </div> |
138 | </template> | 138 | </template> |
... | @@ -154,6 +154,7 @@ | ... | @@ -154,6 +154,7 @@ |
154 | }, | 154 | }, |
155 | data () { | 155 | data () { |
156 | return { | 156 | return { |
157 | loading: false, | ||
157 | queryForm: defaultParameters.defaultParameters(), | 158 | queryForm: defaultParameters.defaultParameters(), |
158 | // 表格数据 | 159 | // 表格数据 |
159 | tableData: { | 160 | tableData: { |
... | @@ -234,12 +235,14 @@ | ... | @@ -234,12 +235,14 @@ |
234 | * @author: renchao | 235 | * @author: renchao |
235 | */ | 236 | */ |
236 | submitForm () { | 237 | submitForm () { |
238 | this.loading = true | ||
237 | startBusinessFlow({ | 239 | startBusinessFlow({ |
238 | bsmSqyw: this.sqywInfo.parentid, | 240 | bsmSqyw: this.sqywInfo.parentid, |
239 | bdcdysz: this.bdcdysz, | 241 | bdcdysz: this.bdcdysz, |
240 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 242 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
241 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 243 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
242 | }).then((res) => { | 244 | }).then((res) => { |
245 | this.loading = false | ||
243 | if (res.code == 200) { | 246 | if (res.code == 200) { |
244 | this.$message({ | 247 | this.$message({ |
245 | showClose: true, | 248 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:47:23 | 4 | * @LastEditTime: 2023-07-31 10:04:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | </div> | 46 | </div> |
47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | </template> | 52 | </template> |
... | @@ -68,6 +68,7 @@ | ... | @@ -68,6 +68,7 @@ |
68 | }, | 68 | }, |
69 | data () { | 69 | data () { |
70 | return { | 70 | return { |
71 | loading: false, | ||
71 | queryForm: defaultParameters.defaultParameters(), | 72 | queryForm: defaultParameters.defaultParameters(), |
72 | tableData: { | 73 | tableData: { |
73 | total: 0, | 74 | total: 0, |
... | @@ -111,12 +112,14 @@ | ... | @@ -111,12 +112,14 @@ |
111 | this.$alert("请至少选择一条数据"); | 112 | this.$alert("请至少选择一条数据"); |
112 | return; | 113 | return; |
113 | } | 114 | } |
115 | this.loading = true | ||
114 | startBusinessFlow({ | 116 | startBusinessFlow({ |
115 | bsmSqyw: this.bsmSqyw, | 117 | bsmSqyw: this.bsmSqyw, |
116 | bdcdysz: this.bdcdysz, | 118 | bdcdysz: this.bdcdysz, |
117 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 119 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
118 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 120 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
119 | }).then((res) => { | 121 | }).then((res) => { |
122 | this.loading = false | ||
120 | if (res.code == 200) { | 123 | if (res.code == 200) { |
121 | this.$message({ | 124 | this.$message({ |
122 | showClose: true, | 125 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:47:35 | 4 | * @LastEditTime: 2023-07-31 10:04:33 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
54 | </div> | 54 | </div> |
55 | <div class="submit_button"> | 55 | <div class="submit_button"> |
56 | <el-button @click="$popupCacel">取消</el-button> | 56 | <el-button @click="$popupCacel">取消</el-button> |
57 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 57 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
58 | </div> | 58 | </div> |
59 | </div> | 59 | </div> |
60 | </template> | 60 | </template> |
... | @@ -76,6 +76,7 @@ | ... | @@ -76,6 +76,7 @@ |
76 | }, | 76 | }, |
77 | data () { | 77 | data () { |
78 | return { | 78 | return { |
79 | loading: false, | ||
79 | queryForm: defaultParameters.defaultParameters(), | 80 | queryForm: defaultParameters.defaultParameters(), |
80 | tableData: { | 81 | tableData: { |
81 | total: 0, | 82 | total: 0, |
... | @@ -114,12 +115,14 @@ | ... | @@ -114,12 +115,14 @@ |
114 | this.$message.error("请至少选择一条数据"); | 115 | this.$message.error("请至少选择一条数据"); |
115 | return; | 116 | return; |
116 | } | 117 | } |
118 | this.loading = true | ||
117 | startBusinessFlow({ | 119 | startBusinessFlow({ |
118 | bsmSqyw: this.sqywInfo.parentid, | 120 | bsmSqyw: this.sqywInfo.parentid, |
119 | bdcdysz: this.bdcdysz, | 121 | bdcdysz: this.bdcdysz, |
120 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 122 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
121 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 123 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
122 | }).then((res) => { | 124 | }).then((res) => { |
125 | this.loading = false | ||
123 | if (res.code == 200) { | 126 | if (res.code == 200) { |
124 | this.$message({ | 127 | this.$message({ |
125 | showClose: true, | 128 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-27 10:04:09 | 4 | * @LastEditTime: 2023-07-31 09:37:23 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | </div> | 46 | </div> |
47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | </template> | 52 | </template> |
... | @@ -67,6 +67,7 @@ | ... | @@ -67,6 +67,7 @@ |
67 | }, | 67 | }, |
68 | data () { | 68 | data () { |
69 | return { | 69 | return { |
70 | loading: false, | ||
70 | queryForm: defaultParameters.defaultParameters(), | 71 | queryForm: defaultParameters.defaultParameters(), |
71 | tableData: { | 72 | tableData: { |
72 | total: 0, | 73 | total: 0, |
... | @@ -105,12 +106,14 @@ | ... | @@ -105,12 +106,14 @@ |
105 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
106 | return; | 107 | return; |
107 | } | 108 | } |
109 | this.loading = true | ||
108 | startTogetherFlow({ | 110 | startTogetherFlow({ |
109 | bsmSqyw: this.sqywInfo.bsmSqyw, | 111 | bsmSqyw: this.sqywInfo.bsmSqyw, |
110 | bdcdysz: this.bdcdysz, | 112 | bdcdysz: this.bdcdysz, |
111 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
112 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
113 | }).then((res) => { | 115 | }).then((res) => { |
116 | this.loading = false | ||
114 | if (res.code == 200) { | 117 | if (res.code == 200) { |
115 | this.$message({ | 118 | this.$message({ |
116 | showClose: true, | 119 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 11:18:36 | 4 | * @LastEditTime: 2023-07-31 09:38:00 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | </div> | 47 | </div> |
48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
49 | <el-button @click="$popupCacel">取消</el-button> | 49 | <el-button @click="$popupCacel">取消</el-button> |
50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> | ... | ... |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | </div> | 46 | </div> |
47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | </template> | 52 | </template> |
... | @@ -67,6 +67,7 @@ | ... | @@ -67,6 +67,7 @@ |
67 | }, | 67 | }, |
68 | data () { | 68 | data () { |
69 | return { | 69 | return { |
70 | loading: false, | ||
70 | queryForm: defaultParameters.defaultParameters(), | 71 | queryForm: defaultParameters.defaultParameters(), |
71 | tableData: { | 72 | tableData: { |
72 | total: 0, | 73 | total: 0, |
... | @@ -105,12 +106,14 @@ | ... | @@ -105,12 +106,14 @@ |
105 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
106 | return; | 107 | return; |
107 | } | 108 | } |
109 | this.loading = true | ||
108 | startTogetherFlow({ | 110 | startTogetherFlow({ |
109 | bsmSqyw: this.sqywInfo.bsmSqyw, | 111 | bsmSqyw: this.sqywInfo.bsmSqyw, |
110 | bdcdysz: this.bdcdysz, | 112 | bdcdysz: this.bdcdysz, |
111 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
112 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
113 | }).then((res) => { | 115 | }).then((res) => { |
116 | this.loading = false | ||
114 | if (res.code == 200) { | 117 | if (res.code == 200) { |
115 | this.$message({ | 118 | this.$message({ |
116 | showClose: true, | 119 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-27 10:49:50 | 4 | * @LastEditTime: 2023-07-31 10:04:41 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | </div> | 46 | </div> |
47 | <div class="submit_button"> | 47 | <div class="submit_button"> |
48 | <el-button @click="$popupCacel">取消</el-button> | 48 | <el-button @click="$popupCacel">取消</el-button> |
49 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 49 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </div> |
52 | </template> | 52 | </template> |
... | @@ -67,6 +67,7 @@ | ... | @@ -67,6 +67,7 @@ |
67 | }, | 67 | }, |
68 | data () { | 68 | data () { |
69 | return { | 69 | return { |
70 | loading: false, | ||
70 | queryForm: defaultParameters.defaultParameters(), | 71 | queryForm: defaultParameters.defaultParameters(), |
71 | tableData: { | 72 | tableData: { |
72 | total: 0, | 73 | total: 0, |
... | @@ -105,12 +106,14 @@ | ... | @@ -105,12 +106,14 @@ |
105 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
106 | return; | 107 | return; |
107 | } | 108 | } |
109 | this.loading = true | ||
108 | startBusinessFlow({ | 110 | startBusinessFlow({ |
109 | bsmSqyw: this.sqywInfo.bsmSqyw, | 111 | bsmSqyw: this.sqywInfo.bsmSqyw, |
110 | bdcdysz: this.bdcdysz, | 112 | bdcdysz: this.bdcdysz, |
111 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
112 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
113 | }).then((res) => { | 115 | }).then((res) => { |
116 | this.loading = false | ||
114 | if (res.code == 200) { | 117 | if (res.code == 200) { |
115 | this.$message({ | 118 | this.$message({ |
116 | showClose: true, | 119 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:48:00 | 4 | * @LastEditTime: 2023-07-31 10:04:49 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | </div> | 47 | </div> |
48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
49 | <el-button @click="$popupCacel">取消</el-button> | 49 | <el-button @click="$popupCacel">取消</el-button> |
50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> |
... | @@ -68,6 +68,7 @@ | ... | @@ -68,6 +68,7 @@ |
68 | }, | 68 | }, |
69 | data () { | 69 | data () { |
70 | return { | 70 | return { |
71 | loading: false, | ||
71 | queryForm: defaultParameters.defaultParameters(), | 72 | queryForm: defaultParameters.defaultParameters(), |
72 | tableData: { | 73 | tableData: { |
73 | total: 0, | 74 | total: 0, |
... | @@ -106,12 +107,14 @@ | ... | @@ -106,12 +107,14 @@ |
106 | this.$message.error("请至少选择一条数据"); | 107 | this.$message.error("请至少选择一条数据"); |
107 | return; | 108 | return; |
108 | } | 109 | } |
110 | this.loading = true | ||
109 | startBusinessFlow({ | 111 | startBusinessFlow({ |
110 | bsmSqyw: this.sqywInfo.bsmSqyw, | 112 | bsmSqyw: this.sqywInfo.bsmSqyw, |
111 | bdcdysz: this.bdcdysz, | 113 | bdcdysz: this.bdcdysz, |
112 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 114 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
113 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 115 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
114 | }).then((res) => { | 116 | }).then((res) => { |
117 | this.loading = false | ||
115 | if (res.code == 200) { | 118 | if (res.code == 200) { |
116 | this.$message({ | 119 | this.$message({ |
117 | showClose: true, | 120 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-21 13:48:09 | 4 | * @LastEditTime: 2023-07-31 09:40:53 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | </div> | 47 | </div> |
48 | <div class="submit_button"> | 48 | <div class="submit_button"> |
49 | <el-button @click="$popupCacel">取消</el-button> | 49 | <el-button @click="$popupCacel">取消</el-button> |
50 | <el-button type="primary" plain @click="submitForm">发起申请</el-button> | 50 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> |
51 | </div> | 51 | </div> |
52 | </div> | 52 | </div> |
53 | </template> | 53 | </template> |
... | @@ -69,6 +69,7 @@ | ... | @@ -69,6 +69,7 @@ |
69 | }, | 69 | }, |
70 | data () { | 70 | data () { |
71 | return { | 71 | return { |
72 | loading: false, | ||
72 | queryForm: defaultParameters.defaultParameters(), | 73 | queryForm: defaultParameters.defaultParameters(), |
73 | tableData: { | 74 | tableData: { |
74 | total: 0, | 75 | total: 0, |
... | @@ -107,12 +108,14 @@ | ... | @@ -107,12 +108,14 @@ |
107 | this.$message.error("请至少选择一条数据"); | 108 | this.$message.error("请至少选择一条数据"); |
108 | return; | 109 | return; |
109 | } | 110 | } |
111 | this.loading = true | ||
110 | startBusinessFlow({ | 112 | startBusinessFlow({ |
111 | bsmSqyw: this.sqywInfo.bsmSqyw, | 113 | bsmSqyw: this.sqywInfo.bsmSqyw, |
112 | bdcdysz: this.bdcdysz, | 114 | bdcdysz: this.bdcdysz, |
113 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | 115 | djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
114 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | 116 | djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
115 | }).then((res) => { | 117 | }).then((res) => { |
118 | this.loading = false | ||
116 | if (res.code == 200) { | 119 | if (res.code == 200) { |
117 | this.$message({ | 120 | this.$message({ |
118 | showClose: true, | 121 | showClose: true, | ... | ... |
-
Please register or sign in to post a comment