ed170e10 by xiaomiao

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 604bd6cc 01859895
......@@ -2,7 +2,7 @@
* @Description:
* @Autor: renchao
:show-message="false"
* @LastEditTime: 2023-08-17 13:23:51
* @LastEditTime: 2023-08-22 16:27:25
-->
<template>
<!-- 受理信息 -->
......@@ -339,7 +339,7 @@
</el-col>
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.cfdj.fj"></el-input>
<el-input v-model="ruleForm.cfdj.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 16:31:07
* @LastEditTime: 2023-08-22 16:27:35
-->
<template>
<!-- 受理信息 -->
......@@ -426,7 +426,7 @@
</el-col>
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.diyaq.fj"></el-input>
<el-input v-model="ruleForm.diyaq.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
<el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 16:11:20
* @LastEditTime: 2023-08-22 16:27:38
-->
<template>
<!-- 受理信息 -->
......@@ -377,7 +377,7 @@
</el-col>
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.qlxx.fj"></el-input>
<el-input v-model="ruleForm.qlxx.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 16:11:35
* @LastEditTime: 2023-08-22 16:27:42
-->
<template>
<!-- 受理信息 -->
......@@ -379,7 +379,7 @@
<el-row>
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.fdcq2.fj"></el-input>
<el-input v-model="ruleForm.fdcq2.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 15:52:24
* @LastEditTime: 2023-08-22 16:27:45
-->
<template>
<!-- 受理信息 -->
......@@ -232,7 +232,7 @@
<el-row>
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.jsydsyq.fj"></el-input>
<el-input v-model="ruleForm.jsydsyq.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 11:15:56
* @LastEditTime: 2023-08-22 16:27:48
-->
<template>
<!-- 受理信息 -->
......@@ -333,7 +333,7 @@
<el-row>
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.tdsyq.fj"></el-input>
<el-input v-model="ruleForm.tdsyq.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 16:11:56
* @LastEditTime: 2023-08-22 16:27:52
:show-message="false"
-->
<template>
......@@ -428,18 +428,9 @@
</el-radio-group>
</el-form-item>
</el-col>
<!-- <el-col :span="8">
<el-form-item
label="是否存在禁止或限制转让抵押不动产的约定:" label-width="345px">
<el-radio-group v-model="ruleForm.ygdj.sfczjzhxz" @change="djlxchange">
<el-radio label="1"></el-radio>
<el-radio label="2"></el-radio>
</el-radio-group>
</el-form-item>
</el-col> -->
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.ygdj.fj"></el-input>
<el-input v-model="ruleForm.ygdj.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 16:12:12
* @LastEditTime: 2023-08-22 16:28:03
:show-message="false"
-->
<template>
......@@ -351,7 +351,7 @@
</el-col>
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.ygdj.fj"></el-input>
<el-input v-model="ruleForm.ygdj.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 15:52:49
* @LastEditTime: 2023-08-22 16:28:07
-->
<template>
<!-- 受理信息 -->
......@@ -304,7 +304,7 @@
</el-col>
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.yydj.fj"></el-input>
<el-input v-model="ruleForm.yydj.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-21 10:35:58
* @LastEditTime: 2023-08-22 16:15:45
-->
<template>
<div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;">
......@@ -12,9 +12,11 @@
</el-tab-pane>
</el-tabs>
<el-empty description="暂无数据" v-if="headTabBdcqz.length == 0 && noData"></el-empty>
<div style="width:1180px;">
<canvas ref="zs" width="1000" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx==1" height="700"></canvas>
<canvas ref="zm" width="1180" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx!=1" height="780"></canvas>
</div>
</div>
</template>
<script>
......@@ -255,7 +257,6 @@
}
image.src = this.imgSrc
},
// 不动产证明
/**
* @description: 不动产证明
* @author: renchao
......@@ -266,7 +267,7 @@
const image = new Image();
image.onload = () => {
context.drawImage(image, 0, 0);
context.font = '18px 楷体';
context.font = '16px 楷体';
context.fillStyle = '#000000';
// ysxlh
context.fillText(this.bdcqz.ysxlh ? this.bdcqz.ysxlh : '', 280, 712);
......@@ -287,12 +288,15 @@
context.fillText(this.bdcqz.ywr ? this.bdcqz.ywr : '', 775, 275);
context.fillText(this.bdcqz.zl ? this.bdcqz.zl : '', 775, 325);
// bdcdyh
context.fillText(this.bdcqz.bdcdyh ? this.bdcqz.bdcdyh : '', 775, 373);
this.bdcdyh = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' +
this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length)
context.fillText(this.bdcdyh ? this.bdcdyh : '', 775, 373);
// qlqtzk
const maxWidth = 280; // 最大宽度限制
const maxWidth = 295; // 最大宽度限制
let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : [];
lines.forEach((line, index) => {
const y = 415 + (index * 37); // 每行文本的垂直位置
if (lines[0]) {
lines[0].split(' ').forEach((line, index) => {
const y = 415 + (index * 60); // 每行文本的垂直位置
let currentLine = '';
let arr = [];
for (let word of line) {
......@@ -307,12 +311,53 @@
}
arr.push(currentLine);
arr.forEach((line, index) => {
context.fillText(line, 775, y + (index * 20)); // 调整行高
context.fillText(line, 775, y + (index * 23)); // 调整行高
});
});
}
lines.slice(1).forEach((line, index) => {
const y = ((parseInt(lines[0].length) / 19) * 22) + 415 + (index * 30); // 每行文本的垂直位置
let currentLine = '';
let arr = [];
for (let word of line) {
const testLine = currentLine + word;
const lineWidth = context.measureText(testLine).width;
if (lineWidth <= maxWidth) {
currentLine = testLine;
} else {
arr.push(currentLine);
currentLine = word;
}
}
arr.push(currentLine);
arr.forEach((line, index) => {
context.fillText(line, 775, y + (index * 16)); // 调整行高
})
})
// fj
context.fillText(this.bdcqz.fj ? this.bdcqz.fj : '', 775, 600);
};
let lines1 = this.bdcqz.fj ? this.bdcqz.fj.split(' ') : [];
lines1.forEach((line, index) => {
const y = 590 + (index * 27); // 每行文本的垂直位置
let currentLine = '';
let arr = [];
for (let word of line) {
const testLine = currentLine + word;
const lineWidth = context.measureText(testLine).width;
if (lineWidth <= maxWidth) {
currentLine = testLine;
} else {
arr.push(currentLine);
currentLine = word;
}
}
arr.push(currentLine);
arr.forEach((line, index) => {
context.fillText(line, 775, y + (index * 20)); // 调整行高
})
})
}
image.src = this.bdczmSrc;
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-17 13:28:21
* @LastEditTime: 2023-08-22 16:25:12
-->
<template>
<!-- 受理信息 -->
......@@ -184,7 +184,7 @@
<el-row>
<el-col>
<el-form-item label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!viewEdit|| isJfOperation"></el-input>
<el-input type="textarea" maxlength="500" show-word-limit v-model="ruleForm.diyaq.fj" :disabled="!viewEdit|| isJfOperation"></el-input>
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-08-17 13:46:30
* @LastEditTime: 2023-08-22 16:27:16
-->
<template>
<div class="slxx">
......@@ -131,7 +131,7 @@
<el-row :gutter="10">
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.fdcq1.fj"></el-input>
<el-input v-model="ruleForm.fdcq1.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 2023-08-17 13:34:51
* @LastEditTime: 2023-08-22 14:25:14
-->
<template>
<div class="slxx">
......@@ -185,14 +185,13 @@
</el-col>
<el-col :span="8">
<el-form-item label="竣工时间:">
<!-- <el-input v-model="ruleForm.fdcq2.jgsj"></el-input> -->
<el-date-picker
v-model="ruleForm.fdcq2.jgsj"
class="width100"
type="date"
placeholder="选择日期"
value-format="yyyy-MM-dd"
:disabled="!viewEdit || ableEdit || isJfOperation"></el-date-picker>
:disabled="!viewEdit"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
......@@ -289,7 +288,7 @@
<el-row :gutter="10">
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.fdcq2.fj" :disabled="!viewEdit"></el-input>
<el-input v-model="ruleForm.fdcq2.fj" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -461,10 +460,8 @@
* @author: renchao
*/
upDateTdytxxList (val) {
this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
this.key++;
this.ruleForm.tdytqxList = _.cloneDeep(val)
},
/**
* @description: 更新权利人信息
* @param {*} val
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-16 16:13:05
* @LastEditTime: 2023-08-22 16:25:49
-->
<template>
<!-- 受理信息 -->
......@@ -133,7 +133,7 @@
<el-row :gutter="10">
<el-col>
<el-form-item label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.jsydsyq.fj"></el-input>
<el-input type="textarea" maxlength="500" show-word-limit v-model="ruleForm.jsydsyq.fj"></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -2,7 +2,7 @@
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-17 13:40:24
* @LastEditTime: 2023-08-22 16:25:54
-->
<template>
<!-- 受理信息 -->
......@@ -124,7 +124,7 @@
<el-col>
<el-form-item label="附记:" prop="fj">
<el-input
type="textarea"
type="textarea" maxlength="500" show-word-limit
v-model="ruleForm.jsydsyq.fj"
:disabled="!viewEdit"></el-input>
</el-form-item>
......
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-08-18 15:48:43
* @LastEditTime: 2023-08-22 16:28:21
-->
<template>
<div class="slxx">
......@@ -164,7 +164,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="附记:">
<el-input v-model="ruleForm.lq.fj"></el-input>
<el-input v-model="ruleForm.lq.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -165,7 +165,7 @@
<el-row :gutter="10">
<el-col>
<el-form-item label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="!viewEdit"></el-input>
<el-input type="textarea" maxlength="500" show-word-limit v-model="ruleForm.nydsyq.fj" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -165,7 +165,7 @@
<el-row :gutter="10">
<el-col>
<el-form-item label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="!viewEdit"></el-input>
<el-input type="textarea" maxlength="500" show-word-limit v-model="ruleForm.nydsyq.fj" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description: 房屋多幢受理信息
* @Autor: ssq
* @LastEditTime: 2023-08-17 15:58:02
* @LastEditTime: 2023-08-22 16:28:25
-->
<template>
<div class="slxx">
......@@ -164,7 +164,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="附记:">
<el-input v-model="ruleForm.lq.fj"></el-input>
<el-input v-model="ruleForm.lq.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -166,7 +166,7 @@
<el-row :gutter="10">
<el-col :span="24">
<el-form-item label="附记:">
<el-input v-model="ruleForm.ygdj.fj"></el-input>
<el-input v-model="ruleForm.ygdj.fj" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -174,7 +174,7 @@
<el-row>
<el-col :span="24">
<el-form-item label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.ygdj.fj" :disabled="!viewEdit"></el-input>
<el-input type="textarea" maxlength="500" show-word-limit v-model="ruleForm.ygdj.fj" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -131,7 +131,7 @@
<el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
<el-col>
<el-form-item label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="!viewEdit"></el-input>
<el-input type="textarea" maxlength="500" show-word-limit v-model="ruleForm.diyaqList[0].fj" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -183,7 +183,7 @@
<el-row>
<el-col>
<el-form-item label="附记:" prop="fj">
<el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!viewEdit"></el-input>
<el-input type="textarea" maxlength="500" show-word-limit v-model="ruleForm.diyaq.fj" :disabled="!viewEdit"></el-input>
</el-form-item>
</el-col>
</el-row>
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-22 09:24:28
* @LastEditTime: 2023-08-22 09:28:16
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -101,11 +101,9 @@ class data extends filter {
</div>
)
}
},
}
]
}
}
let datas = new data()
export {
......