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