style:证明
Showing
5 changed files
with
49 additions
and
60 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2024-01-17 10:32:29 | 4 | * @LastEditTime: 2024-01-17 14:28:40 |
| 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;"> |
| ... | @@ -480,49 +480,8 @@ | ... | @@ -480,49 +480,8 @@ |
| 480 | }) | 480 | }) |
| 481 | } | 481 | } |
| 482 | 482 | ||
| 483 | |||
| 484 | // 义务人 | 483 | // 义务人 |
| 485 | let ywrlines = this.bdcqz.ywr ? this.bdcqz.ywr.split(' ') : []; | 484 | context.fillText(this.bdcqz.ywr ? this.bdcqz.ywr : '', 775, 275); |
| 486 | if (getByteLen(this.bdcqz.ywr) > 37) { | ||
| 487 | ywrlines.forEach((line, index) => { | ||
| 488 | let currentLine = ''; | ||
| 489 | let arr = []; | ||
| 490 | for (let word of line) { | ||
| 491 | const testLine = currentLine + word; | ||
| 492 | const lineWidth = context.measureText(testLine).width; | ||
| 493 | if (lineWidth <= 295) { | ||
| 494 | currentLine = testLine; | ||
| 495 | } else { | ||
| 496 | arr.push(currentLine); | ||
| 497 | currentLine = word; | ||
| 498 | } | ||
| 499 | } | ||
| 500 | arr.push(currentLine); | ||
| 501 | arr.forEach((line, index) => { | ||
| 502 | context.fillText(line, 775, 265 + (index * 20)); // 调整行高 | ||
| 503 | }) | ||
| 504 | }) | ||
| 505 | } else { | ||
| 506 | ywrlines.forEach((line, index) => { | ||
| 507 | let currentLine = ''; | ||
| 508 | let arr = []; | ||
| 509 | for (let word of line) { | ||
| 510 | const testLine = currentLine + word; | ||
| 511 | const lineWidth = context.measureText(testLine).width; | ||
| 512 | if (lineWidth <= 295) { | ||
| 513 | currentLine = testLine; | ||
| 514 | } else { | ||
| 515 | arr.push(currentLine); | ||
| 516 | currentLine = word; | ||
| 517 | } | ||
| 518 | } | ||
| 519 | arr.push(currentLine); | ||
| 520 | arr.forEach((line, index) => { | ||
| 521 | context.fillText(line, 775, 275 + (index * 20)); // 调整行高 | ||
| 522 | }) | ||
| 523 | }) | ||
| 524 | } | ||
| 525 | |||
| 526 | // context.fillText(this.bdcqz.zl ? this.bdcqz.zl : '', 775, 325); | 485 | // context.fillText(this.bdcqz.zl ? this.bdcqz.zl : '', 775, 325); |
| 527 | 486 | ||
| 528 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; | 487 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : []; | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2024-01-17 10:00:41 | 4 | * @LastEditTime: 2024-01-17 14:18:01 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -15,12 +15,18 @@ | ... | @@ -15,12 +15,18 @@ |
| 15 | </el-input> | 15 | </el-input> |
| 16 | </el-form-item> | 16 | </el-form-item> |
| 17 | </el-col> | 17 | </el-col> |
| 18 | <el-col :span="10"> | 18 | <el-col :span="8"> |
| 19 | <el-form-item label="不动产权证号"> | 19 | <el-form-item label="不动产权证号"> |
| 20 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> | 20 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> |
| 21 | </el-input> | 21 | </el-input> |
| 22 | </el-form-item> | 22 | </el-form-item> |
| 23 | </el-col> | 23 | </el-col> |
| 24 | <el-col :span="8"> | ||
| 25 | <el-form-item label="坐落"> | ||
| 26 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> | ||
| 27 | </el-input> | ||
| 28 | </el-form-item> | ||
| 29 | </el-col> | ||
| 24 | </el-row> | 30 | </el-row> |
| 25 | <el-row> | 31 | <el-row> |
| 26 | <el-col :span="8"> | 32 | <el-col :span="8"> |
| ... | @@ -29,13 +35,13 @@ | ... | @@ -29,13 +35,13 @@ |
| 29 | </el-input> | 35 | </el-input> |
| 30 | </el-form-item> | 36 | </el-form-item> |
| 31 | </el-col> | 37 | </el-col> |
| 32 | <el-col :span="10"> | 38 | <el-col :span="8"> |
| 33 | <el-form-item label="坐落"> | 39 | <el-form-item label="证件号"> |
| 34 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> | 40 | <el-input placeholder="请输入证件号" v-model="queryForm.zjh" clearable class="width100"> |
| 35 | </el-input> | 41 | </el-input> |
| 36 | </el-form-item> | 42 | </el-form-item> |
| 37 | </el-col> | 43 | </el-col> |
| 38 | <el-col :span="6" class="btnColRight"> | 44 | <el-col :span="8" class="btnColRight"> |
| 39 | <el-form-item> | 45 | <el-form-item> |
| 40 | <el-button type="primary" @click="handleSearch">查询</el-button> | 46 | <el-button type="primary" @click="handleSearch">查询</el-button> |
| 41 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 47 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2024-01-17 13:26:03 | 4 | * @LastEditTime: 2024-01-17 14:17:17 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
| 10 | <el-form :model="queryForm" ref="queryForm"> | 10 | <el-form :model="queryForm" ref="queryForm"> |
| 11 | <el-row :gutter="20"> | 11 | <el-row :gutter="20"> |
| 12 | <el-col :span="6"> | 12 | <el-col :span="6"> |
| 13 | <el-form-item label="宗地代码"> | 13 | <el-form-item label="宗地代码" label-width="80px"> |
| 14 | <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width100"> | 14 | <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width100"> |
| 15 | </el-input> | 15 | </el-input> |
| 16 | </el-form-item> | 16 | </el-form-item> |
| ... | @@ -27,9 +27,24 @@ | ... | @@ -27,9 +27,24 @@ |
| 27 | </el-input> | 27 | </el-input> |
| 28 | </el-form-item> | 28 | </el-form-item> |
| 29 | </el-col> | 29 | </el-col> |
| 30 | <el-col :span="6" class="btnColRight"> | 30 | <el-col :span="6"> |
| 31 | <el-form-item label="权利人"> | ||
| 32 | <el-input placeholder="请输入权利人" v-model.trim="queryForm.qlr" clearable class="width100"> | ||
| 33 | </el-input> | ||
| 34 | </el-form-item> | ||
| 35 | </el-col> | ||
| 36 | </el-row> | ||
| 37 | <el-row :gutter="20"> | ||
| 38 | <el-col :span="6"> | ||
| 39 | <el-form-item label="证件号" label-width="80px"> | ||
| 40 | <el-input placeholder="请输入证件号" v-model="queryForm.zjh" clearable class="width100"> | ||
| 41 | </el-input> | ||
| 42 | </el-form-item> | ||
| 43 | </el-col> | ||
| 44 | <el-col :span="18" class="btnColRight"> | ||
| 31 | <el-form-item> | 45 | <el-form-item> |
| 32 | <el-button type="primary" @click="handleSearch">查询</el-button> | 46 | <el-button type="primary" @click="handleSearch">查询</el-button> |
| 47 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
| 33 | </el-form-item> | 48 | </el-form-item> |
| 34 | </el-col> | 49 | </el-col> |
| 35 | </el-row> | 50 | </el-row> |
| ... | @@ -75,8 +90,8 @@ | ... | @@ -75,8 +90,8 @@ |
| 75 | columns: datas.columns(), | 90 | columns: datas.columns(), |
| 76 | data: [], | 91 | data: [], |
| 77 | }, | 92 | }, |
| 78 | bdcdysz: [], | 93 | bdcdysz: [] |
| 79 | }; | 94 | } |
| 80 | }, | 95 | }, |
| 81 | mounted () { | 96 | mounted () { |
| 82 | sendThis(this); | 97 | sendThis(this); | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-11-16 14:00:39 | 4 | * @LastEditTime: 2024-01-17 14:17:21 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -15,12 +15,19 @@ | ... | @@ -15,12 +15,19 @@ |
| 15 | </el-input> | 15 | </el-input> |
| 16 | </el-form-item> | 16 | </el-form-item> |
| 17 | </el-col> | 17 | </el-col> |
| 18 | <el-col :span="10"> | 18 | <el-col :span="8"> |
| 19 | <el-form-item label="不动产权证号"> | 19 | <el-form-item label="不动产权证号"> |
| 20 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> | 20 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> |
| 21 | </el-input> | 21 | </el-input> |
| 22 | </el-form-item> | 22 | </el-form-item> |
| 23 | </el-col> | 23 | </el-col> |
| 24 | |||
| 25 | <el-col :span="8"> | ||
| 26 | <el-form-item label="坐落"> | ||
| 27 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> | ||
| 28 | </el-input> | ||
| 29 | </el-form-item> | ||
| 30 | </el-col> | ||
| 24 | </el-row> | 31 | </el-row> |
| 25 | <el-row> | 32 | <el-row> |
| 26 | <el-col :span="8"> | 33 | <el-col :span="8"> |
| ... | @@ -29,13 +36,13 @@ | ... | @@ -29,13 +36,13 @@ |
| 29 | </el-input> | 36 | </el-input> |
| 30 | </el-form-item> | 37 | </el-form-item> |
| 31 | </el-col> | 38 | </el-col> |
| 32 | <el-col :span="10"> | 39 | <el-col :span="8"> |
| 33 | <el-form-item label="坐落"> | 40 | <el-form-item label="证件号"> |
| 34 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> | 41 | <el-input placeholder="请输入证件号" v-model="queryForm.zjh" clearable class="width100"> |
| 35 | </el-input> | 42 | </el-input> |
| 36 | </el-form-item> | 43 | </el-form-item> |
| 37 | </el-col> | 44 | </el-col> |
| 38 | <el-col :span="6" class="btnColRight"> | 45 | <el-col :span="8" class="btnColRight"> |
| 39 | <el-form-item> | 46 | <el-form-item> |
| 40 | <el-button type="primary" @click="handleSearch">查询</el-button> | 47 | <el-button type="primary" @click="handleSearch">查询</el-button> |
| 41 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 48 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ... | ... |
-
Please register or sign in to post a comment