Merge branch 'dev'
Showing
5 changed files
with
79 additions
and
40 deletions
| ... | @@ -531,7 +531,7 @@ | ... | @@ -531,7 +531,7 @@ |
| 531 | // 恢复原始字体设置 | 531 | // 恢复原始字体设置 |
| 532 | context.font = originalFont; | 532 | context.font = originalFont; |
| 533 | } else { | 533 | } else { |
| 534 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56); | 534 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 755, 125); |
| 535 | } | 535 | } |
| 536 | 536 | ||
| 537 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123); | 537 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123); | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2024-01-24 17:29:20 | 4 | * @LastEditTime: 2024-01-30 16:29:37 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> |
| ... | @@ -444,6 +444,7 @@ | ... | @@ -444,6 +444,7 @@ |
| 444 | } | 444 | } |
| 445 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 620, 125); | 445 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 620, 125); |
| 446 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 665, 125); | 446 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 665, 125); |
| 447 | console.log(getByteLen(this.bdcqz.sxqc)); | ||
| 447 | if (getByteLen(this.bdcqz.sxqc) > 14) { | 448 | if (getByteLen(this.bdcqz.sxqc) > 14) { |
| 448 | const originalFont = context.font; | 449 | const originalFont = context.font; |
| 449 | // 设置新的字体大小 | 450 | // 设置新的字体大小 |
| ... | @@ -453,7 +454,7 @@ | ... | @@ -453,7 +454,7 @@ |
| 453 | // 恢复原始字体设置 | 454 | // 恢复原始字体设置 |
| 454 | context.font = originalFont; | 455 | context.font = originalFont; |
| 455 | } else { | 456 | } else { |
| 456 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56); | 457 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 755, 125); |
| 457 | } | 458 | } |
| 458 | 459 | ||
| 459 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123); | 460 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123); | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2024-01-30 15:17:03 | 4 | * @LastEditTime: 2024-01-30 16:31:12 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="slxx"> | 7 | <div class="slxx"> |
| ... | @@ -502,8 +502,12 @@ | ... | @@ -502,8 +502,12 @@ |
| 502 | propsParam: this.$attrs, | 502 | propsParam: this.$attrs, |
| 503 | //表单是否可操作 | 503 | //表单是否可操作 |
| 504 | viewEdit: true, | 504 | viewEdit: true, |
| 505 | rules: {}, | 505 | rules: { |
| 506 | }; | 506 | 'fdcq2.djyy': [ |
| 507 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
| 508 | ] | ||
| 509 | } | ||
| 510 | } | ||
| 507 | }, | 511 | }, |
| 508 | methods: { | 512 | methods: { |
| 509 | /** | 513 | /** |
| ... | @@ -619,26 +623,37 @@ | ... | @@ -619,26 +623,37 @@ |
| 619 | }); | 623 | }); |
| 620 | } | 624 | } |
| 621 | } | 625 | } |
| 622 | this.$store.dispatch("user/refreshPage", false); | 626 | this.$refs['ruleForm'].validate((valid) => { |
| 623 | saveData(this.ruleForm).then((res) => { | 627 | if (valid) { |
| 624 | if (res.code === 200) { | 628 | that.$store.dispatch("user/refreshPage", false); |
| 625 | this.$message({ | 629 | saveData(that.ruleForm).then((res) => { |
| 626 | showClose: true, | 630 | if (res.code === 200) { |
| 627 | message: "保存成功!", | 631 | that.$message({ |
| 628 | type: "success", | 632 | showClose: true, |
| 629 | }); | 633 | message: "保存成功!", |
| 630 | this.$store.dispatch("user/refreshPage", true); | 634 | type: "success", |
| 635 | }); | ||
| 636 | that.$store.dispatch("user/refreshPage", true); | ||
| 637 | } else { | ||
| 638 | that.$message({ | ||
| 639 | showClose: true, | ||
| 640 | message: res.message, | ||
| 641 | type: "error" | ||
| 642 | }) | ||
| 643 | } | ||
| 644 | }) | ||
| 631 | } else { | 645 | } else { |
| 632 | this.$message({ | 646 | that.$message({ |
| 633 | showClose: true, | 647 | showClose: true, |
| 634 | message: res.message, | 648 | message: "请输入登记原因", |
| 635 | type: "error", | 649 | type: "error" |
| 636 | }) | 650 | }) |
| 651 | return false | ||
| 637 | } | 652 | } |
| 638 | }) | 653 | }) |
| 639 | } | 654 | } |
| 640 | }, | 655 | } |
| 641 | }; | 656 | } |
| 642 | </script> | 657 | </script> |
| 643 | <style scoped lang="scss"> | 658 | <style scoped lang="scss"> |
| 644 | @import "~@/styles/public.scss"; | 659 | @import "~@/styles/public.scss"; | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-11-15 15:47:37 | 4 | * @LastEditTime: 2024-01-30 16:07:53 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="slxx"> | 7 | <div class="slxx"> |
| ... | @@ -245,7 +245,7 @@ | ... | @@ -245,7 +245,7 @@ |
| 245 | </div> | 245 | </div> |
| 246 | <el-row :gutter="10"> | 246 | <el-row :gutter="10"> |
| 247 | <el-col> | 247 | <el-col> |
| 248 | <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="djyy"> | 248 | <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="fdcq2.djyy"> |
| 249 | <el-input | 249 | <el-input |
| 250 | class="textArea" | 250 | class="textArea" |
| 251 | type="textarea" | 251 | type="textarea" |
| ... | @@ -378,8 +378,12 @@ | ... | @@ -378,8 +378,12 @@ |
| 378 | }, | 378 | }, |
| 379 | //传递参数 | 379 | //传递参数 |
| 380 | propsParam: {}, | 380 | propsParam: {}, |
| 381 | rules: {}, | 381 | rules: { |
| 382 | }; | 382 | 'fdcq2.djyy': [ |
| 383 | { required: true, message: '请输入登记原因', trigger: 'blur' } | ||
| 384 | ] | ||
| 385 | } | ||
| 386 | } | ||
| 383 | }, | 387 | }, |
| 384 | methods: { | 388 | methods: { |
| 385 | /** | 389 | /** |
| ... | @@ -511,22 +515,35 @@ | ... | @@ -511,22 +515,35 @@ |
| 511 | }) | 515 | }) |
| 512 | } | 516 | } |
| 513 | } | 517 | } |
| 514 | saveData(this.ruleForm).then((res) => { | 518 | this.$refs['ruleForm'].validate((valid) => { |
| 515 | if (res.code === 200) { | 519 | if (valid) { |
| 516 | this.$message({ | 520 | that.$store.dispatch("user/refreshPage", false); |
| 517 | showClose: true, | 521 | saveData(that.ruleForm).then((res) => { |
| 518 | message: "保存成功!", | 522 | if (res.code === 200) { |
| 519 | type: "success", | 523 | that.$message({ |
| 520 | }); | 524 | showClose: true, |
| 521 | this.$store.dispatch("user/refreshPage", true); | 525 | message: "保存成功!", |
| 526 | type: "success", | ||
| 527 | }); | ||
| 528 | that.$store.dispatch("user/refreshPage", true); | ||
| 529 | } else { | ||
| 530 | that.$message({ | ||
| 531 | showClose: true, | ||
| 532 | message: res.message, | ||
| 533 | type: "error", | ||
| 534 | }); | ||
| 535 | } | ||
| 536 | }) | ||
| 537 | |||
| 522 | } else { | 538 | } else { |
| 523 | this.$message({ | 539 | that.$message({ |
| 524 | showClose: true, | 540 | showClose: true, |
| 525 | message: res.message, | 541 | message: "请输入登记原因", |
| 526 | type: "error", | 542 | type: "error" |
| 527 | }); | 543 | }) |
| 544 | return false | ||
| 528 | } | 545 | } |
| 529 | }); | 546 | }) |
| 530 | }, | 547 | }, |
| 531 | /** | 548 | /** |
| 532 | * @description: compare | 549 | * @description: compare | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-14 16:59:26 | 4 | * @LastEditTime: 2024-01-30 15:51:33 |
| 5 | */ | 5 | */ |
| 6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
| 7 | let vm = null | 7 | let vm = null |
| ... | @@ -75,9 +75,15 @@ class data extends filter { | ... | @@ -75,9 +75,15 @@ class data extends filter { |
| 75 | width: '140' | 75 | width: '140' |
| 76 | }, | 76 | }, |
| 77 | { | 77 | { |
| 78 | prop: "zl", | ||
| 79 | label: "坐落", | 78 | label: "坐落", |
| 80 | minWidth: '130' | 79 | minWidth: '100', |
| 80 | render: (h, scope) => { | ||
| 81 | return ( | ||
| 82 | <el-tooltip effect="dark" content={scope.row.zl} placement="top" popper-class="tooltip-width "> | ||
| 83 | <span class="ellipsis-table"> {scope.row.zl}</span> | ||
| 84 | </el-tooltip> | ||
| 85 | ) | ||
| 86 | } | ||
| 81 | }, | 87 | }, |
| 82 | { | 88 | { |
| 83 | label: '操作', | 89 | label: '操作', | ... | ... |
-
Please register or sign in to post a comment