e6040b8d by yangwei

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

2 parents bf5673cf 8a500b05
Showing 33 changed files with 425 additions and 172 deletions
......@@ -27,6 +27,7 @@
clearable
v-model="ruleForm.qlrlx"
class="width100"
:disabled="!showButton"
placeholder="请选择"
>
<el-option
......@@ -41,7 +42,11 @@
</el-col>
<el-col :span="8">
<el-form-item label="姓名/名称" prop="qlrmc">
<el-input v-model="ruleForm.qlrmc" maxlegth="15"></el-input>
<el-input
v-model="ruleForm.qlrmc"
maxlegth="15"
:disabled="!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -49,6 +54,7 @@
<el-select
clearable
v-model="ruleForm.zjzl"
:disabled="!showButton"
class="width100"
placeholder="请选择"
>
......@@ -68,8 +74,9 @@
<el-form-item label="证件号" prop="zjh">
<el-input
v-model="ruleForm.zjh"
maxlength="15"
oninput="value=value.replace(/[^\X0-9]/g,'')"
:disabled="!showButton"
maxlength="18"
oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"
></el-input>
</el-form-item>
</el-col>
......@@ -77,57 +84,61 @@
<el-form-item label="联系电话" prop="dh">
<el-input
v-model="ruleForm.dh"
:disabled="!showButton"
maxlength="11"
oninput="value=value.replace(/[^\d]/g,'')"
></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="性别">
<el-select
clearable
v-model="ruleForm.xb"
class="width100"
placeholder="请选择"
>
<el-option
v-for="item in dictData['A43']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode"
>
</el-option>
</el-select>
<el-form-item label="权利比例">
<el-input
v-model="ruleForm.qlbl"
maxlength="32"
:disabled="!showButton || this.ruleForm.gyfs == 1"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="法人名称">
<el-input v-model="ruleForm.frmc"></el-input>
<el-form-item label="法人名称" prop="frmc">
<el-input
v-model="ruleForm.frmc"
maxlength="32"
:disabled="!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="国家/地区">
<el-input v-model="ruleForm.gj"></el-input>
<el-form-item label="国家/地区" prop="gj">
<el-input
v-model="ruleForm.gj"
maxlength="3"
:disabled="!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="户籍所在省市">
<el-input v-model="ruleForm.hjszss"></el-input>
<el-input
v-model="ruleForm.hjszss"
maxlength="3"
:disabled="!showButton"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="16">
<el-col :span="24">
<el-form-item label="地址">
<el-input v-model="ruleForm.dz"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="邮编">
<el-input v-model="ruleForm.yb"></el-input>
<el-input
v-model="ruleForm.dz"
maxlength="100"
:disabled="!showButton"
></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -135,17 +146,30 @@
<el-row>
<el-col :span="8">
<el-form-item label="发证机关">
<el-input v-model="ruleForm.fzjg"></el-input>
<el-input
v-model="ruleForm.fzjg"
maxlength="10"
:disabled="!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="电子邮件">
<el-input v-model="ruleForm.dzyj"></el-input>
<el-input
v-model="ruleForm.dzyj"
:disabled="!showButton"
maxlength="25"
></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="权利比例">
<el-input v-model="ruleForm.qlbl"></el-input>
<el-form-item label="邮编" prop="yb">
<el-input
v-model.number="ruleForm.yb"
:disabled="!showButton"
maxlength="6"
oninput="value=value.replace(/[^\d]/g,'')"
></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -153,21 +177,30 @@
<el-row>
<el-col :span="8">
<el-form-item label="工作单位">
<el-input v-model="ruleForm.gzdw"></el-input>
<el-input
v-model="ruleForm.gzdw"
maxlength="32"
:disabled="!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col :span="16">
<el-form-item label="代理机构">
<el-input v-model="ruleForm.dlrjgmc"></el-input>
<el-input
v-model="ruleForm.dlrjgmc"
maxlength="32"
:disabled="!showButton"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="联系电话">
<el-form-item label="代理人电话">
<el-input
v-model="ruleForm.dlrdhhm"
:disabled="!showButton"
maxlength="11"
oninput="value=value.replace(/[^\d]/g,'')"
></el-input>
......@@ -175,7 +208,11 @@
</el-col>
<el-col :span="8">
<el-form-item label="代理人姓名">
<el-input v-model="ruleForm.dlrxm"></el-input>
<el-input
v-model="ruleForm.dlrxm"
maxlength="15"
:disabled="!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -183,6 +220,7 @@
<el-select
clearable
v-model="ruleForm.dlrzjlx"
:disabled="!showButton"
class="width100"
placeholder="请选择"
>
......@@ -199,8 +237,31 @@
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="性别">
<el-select
clearable
v-model="ruleForm.xb"
:disabled="!showButton"
class="width100"
placeholder="请选择"
>
<el-option
v-for="item in dictData['A43']"
:key="item.dcode"
:label="item.dname"
:value="item.dcode"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="代理人证件号">
<el-input v-model="ruleForm.dlrzjh" maxlength="20"></el-input>
<el-input
v-model="ruleForm.dlrzjh"
:disabled="!showButton"
maxlength="18"
></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -273,7 +334,6 @@ export default {
},
},
methods: {
/**
* @description: closeDialog
* @author: renchao
......
......@@ -148,7 +148,6 @@
onClick={() => {
this.queryViewClick(scope.$index, scope.row);
}}
disabled={!this.ableOperation}
>
{" "}
查看
......@@ -160,7 +159,6 @@
onClick={() => {
this.editClick(scope.$index, scope.row);
}}
disabled={!this.ableOperation}
>
编辑
</el-button>
......@@ -282,9 +280,10 @@
* @author: renchao
*/
editClick (index, row) {
this.details.gyfs=this.gyfs
this.dataIndex = index;
this.dialog = true;
this.details = row;
this.dialog = true;
this.isaddupdate = false;
},
/**
......
......@@ -148,7 +148,6 @@
onClick={() => {
this.queryViewClick(scope.$index, scope.row);
}}
disabled={!this.ableOperation}
>
{" "}
查看
......@@ -160,7 +159,6 @@
onClick={() => {
this.editClick(scope.$index, scope.row);
}}
disabled={!this.ableOperation}
>
编辑
</el-button>
......@@ -273,9 +271,11 @@
* @author: renchao
*/
editClick (index, row) {
this.details.gyfs=this.gyfs
this.details = row;
this.dataIndex = index;
this.dialog = true;
this.details = row;
this.isaddupdate = false;
},
/**
......
......@@ -555,7 +555,7 @@
dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
ywhrules: [{ required: true, message: "业务号", trigger: "change" }],
}
}
},
......
......@@ -124,6 +124,7 @@
<el-form-item label="独用土地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.fdcq2.dytdmj"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select disabled v-model="mjdw" style="width: 68px">
......@@ -141,6 +142,7 @@
<el-form-item label="分摊土地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.fdcq2.fttdmj"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select disabled v-model="mjdw" style="width: 68px">
......@@ -171,6 +173,7 @@
<el-form-item label="房地产交易价格:">
<div class="flex">
<el-input
maxlength="11"
v-model="ruleForm.fdcq2.qjjg"
style="width: 500%"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
......@@ -248,18 +251,19 @@
</el-col>
<el-col :span="8">
<el-form-item label="所在层:">
<el-input v-model="ruleForm.fdcq2.szc"></el-input>
<el-input maxlength="20" v-model="ruleForm.fdcq2.szc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="总层数:">
<el-input v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
<el-input maxlength="4" v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="建筑面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.fdcq2.jzmj"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select disabled v-model="mjdw" style="width: 68px">
......@@ -277,6 +281,7 @@
<el-form-item label="专有建筑面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.fdcq2.zyjzmj"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select disabled v-model="mjdw" style="width: 68px">
......@@ -294,6 +299,7 @@
<el-form-item label="分摊建筑面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.fdcq2.ftjzmj"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select disabled v-model="mjdw" style="width: 68px">
......
......@@ -167,6 +167,7 @@
<el-form-item label="农用地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.nydmj"
:disabled="!ableOperation"
oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
......@@ -188,6 +189,7 @@
<el-form-item label="耕地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.gdmj"
:disabled="!ableOperation"
oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
......@@ -209,6 +211,7 @@
<el-form-item label="林地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.ldmj"
:disabled="!ableOperation"
oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
......@@ -232,6 +235,7 @@
<el-form-item label="草地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.cdmj"
:disabled="!ableOperation"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
......@@ -253,6 +257,7 @@
<el-form-item label="其他农用地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.qtnydmj"
:disabled="!ableOperation"
oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
......@@ -274,6 +279,7 @@
<el-form-item label="建筑使用面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.jsydmj"
:disabled="!ableOperation"
oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
......@@ -297,6 +303,7 @@
<el-form-item label="未利用地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.wlydmj"
:disabled="!ableOperation"
oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
......
......@@ -327,7 +327,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="所在层:">
<el-input v-model="ruleForm.ygdj.szc"></el-input>
<el-input maxlength="20" v-model="ruleForm.ygdj.szc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -340,7 +340,7 @@
<div class="flex">
<el-input
v-model="ruleForm.ygdj.jzmj"
maxlength="13"
maxlength="12"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
v-model="ruleForm.ygdj.mjdw"
......
......@@ -244,7 +244,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="所在层:">
<el-input v-model="ruleForm.ygdj.szc"></el-input>
<el-input maxlength="20" v-model="ruleForm.ygdj.szc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -257,7 +257,7 @@
<div class="flex">
<el-input
v-model="ruleForm.ygdj.jzmj"
maxlength="13"
maxlength="12"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select
v-model="ruleForm.ygdj.mjdw"
......
<template>
<dialogBox title="房屋明细查询" @closeDialog="closeDialog" width="70%" :isButton="false" v-model="myValue">
<dialogBox title="房屋明细查询" @closeDialog="closeDialog" width="75%" :isButton="false" v-model="myValue">
<el-steps :active="activeStep" finish-status="success">
<el-step title="条件录入"></el-step>
<el-step title="结果查询"></el-step>
<el-step title="结果展示"></el-step>
</el-steps>
<div v-if="isSearch">
<dydjbInfo ref="dydjbInfo"/>
<dydjbInfo ref="dydjbInfo" />
</div>
<div class="jtfccx-edit" v-else>
<div class="jtfccx-edit-con">
<b class="title"></b>
<el-form :model="form" label-width="120px">
<el-form :model="form" label-width="110px">
<el-row>
<el-col :span="6">
<el-form-item label="查询用途" label-width="90px">
<el-input v-model="form.djSqcxDO.cxyt" class="width200px"></el-input>
<el-input v-model="form.djSqcxDO.cxyt" class="width100"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="不动产权证号" label-width="120px">
<el-input v-model="form.djSqcxDO.bdcqzh" class="width200px"></el-input>
<el-col :span="8">
<el-form-item label="不动产权证号">
<el-input v-model="form.djSqcxDO.bdcqzh" class="width100"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-col :span="10">
<el-form-item label="与产权人的关系">
<el-radio-group v-model="form.djSqcxDO.ycqrgx">
<el-radio label="1">房屋权利人</el-radio>
......@@ -53,13 +53,13 @@
</template>
<script>
import { addFwmxCxjgXx, getFwmxInfo,printJtcfInfo } from "@/api/jtfc.js";
import { getPrintTemplateByCode } from "@/api/print";
import { datas, sendThis } from "./dydjbdata";
import { getLodop } from "@/utils/LodopFuncs"
import dydjbInfo from "./dydjbInfo.vue";
import { mapGetters } from "vuex";
export default {
import { addFwmxCxjgXx, getFwmxInfo, printJtcfInfo } from "@/api/jtfc.js";
import { getPrintTemplateByCode } from "@/api/print";
import { datas, sendThis } from "./dydjbdata";
import { getLodop } from "@/utils/LodopFuncs"
import dydjbInfo from "./dydjbInfo.vue";
import { mapGetters } from "vuex";
export default {
computed: {
...mapGetters(["dictData"]),
},
......@@ -91,7 +91,7 @@ export default {
inputErr: false,
},
form: {
djSqcxDO: { ycqrgx: "1", cxyt: "",bdcqzh: "" },
djSqcxDO: { ycqrgx: "1", cxyt: "", bdcqzh: "" },
sqrList: [],
qlrList: [],
cxjgList: [],
......@@ -138,7 +138,7 @@ export default {
this.$emit("input", false);
this.activeStep = 0;
this.form = {
djSqcxDO: { ycqrgx: "1", cxyt: "" ,bdcqzh: ""},
djSqcxDO: { ycqrgx: "1", cxyt: "", bdcqzh: "" },
sqrList: [],
qlrList: [],
cxjgList: [],
......@@ -189,7 +189,7 @@ export default {
* @author: renchao
*/
resetClick () {
this.form.djSqcxDO = { ycqrgx: "1", cxyt: "",bdcqzh: "" };
this.form.djSqcxDO = { ycqrgx: "1", cxyt: "", bdcqzh: "" };
this.form.sqrList = _.cloneDeep([this.newData]);
this.form.qlrList = _.cloneDeep([this.newData]);
this.form.cxjgList = [];
......@@ -246,12 +246,21 @@ export default {
}
},
},
};
};
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/public.scss";
/deep/.dialog_title::before{
content: "";
display: block;
width: 4px;
height: 18px;
background: none;
position: absolute;
top: -4px;
left: 0px;
}
.title {
padding-bottom: 10px;
margin-bottom: 10px;
......@@ -259,7 +268,7 @@ export default {
border-bottom: 1px solid $borderColor;
}
.jtfccx-edit {
.jtfccx-edit {
@include flex;
flex-direction: column;
overflow-y: hidden;
......@@ -278,5 +287,29 @@ export default {
padding-top: 10px;
background-color: #fff;
}
}
/deep/.el-dialog__headerbtn .el-dialog__close {
color: #6B7A99 !important;
position: relative;
top: -7px;
}
/deep/.dialogBox .dialog_title{
.el-icon-full-screen{
color: #409eff!important;
}
b {
color: white;
flex: 0.1;
margin: auto;
text-align: center;
align-items: center;
}
}
/deep/.el-dialog__header {
background: linear-gradient(3deg, #409eff, #a7cbee);
}
/deep/.el-dialog__headerbtn .el-dialog__close{
color: #409eff!important;
}
</style>
......
......@@ -51,7 +51,7 @@
<el-col :span="12" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
<!-- <el-button @click="moreQueryClick()">高级查询</el-button> -->
</el-form-item>
</el-col>
</el-row>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-29 09:50:32
* @LastEditTime: 2023-08-30 08:40:36
-->
<template>
<el-form ref="ruleForm" :model="ruleForm" label-width="100px" :rules="rules">
......@@ -160,7 +160,6 @@
this.ruleForm = item;
this.editFlag = true;
},
//设计打印模板
/**
* @description: 设计打印模板
* @author: renchao
......@@ -169,6 +168,10 @@
let that = this;
that.loadStatus = '1';
let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
if (['zsdy', 'zmdy'].includes(that.ruleForm.tmpno)) {
LODOP.SET_PRINT_PAGESIZE(2, 0, 0, "B4"); // 设置纸张大小为 B4
LODOP.SET_PRINT_MODE("RESELECT_ORIENT", true); // 手动设置方向
}
LODOP.ADD_PRINT_DATA("ProgramData", this.ruleForm.tmpcontent); //装载模板
//窗口关闭后,回调函数中保存的设计代码
if (LODOP.CVERSION)
......@@ -192,9 +195,6 @@
that.loadStatus = '2';
}, 1000);
};
if (['zsdy', 'zmdy'].includes(that.ruleForm.tmpno)) {
LODOP.SET_PRINT_MODE("RESELECT_ORIENT", true); // 设置为横向打印
}
LODOP.PRINT_DESIGN(); //打印设计或者打印维护需要放到最后
}
}
......
......@@ -5,7 +5,7 @@
<el-row>
<el-col :span="24" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData">查询</el-button>
<!-- <el-button type="primary" @click="fetchData">查询</el-button> -->
<el-button type="primary" @click="openAddDialog">新增</el-button>
</el-form-item>
</el-col>
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-28 17:22:23
* @LastEditTime: 2023-08-30 10:36:11
-->
<template>
<div>
......@@ -154,6 +154,7 @@
drawTextOnImage () {
function getByteLen (val) {
var len = 0;
if (!val) return len;
for (var i = 0; i < val.length; i++) {
var length = val.charCodeAt(i);
if (length >= 0 && length <= 128) {
......@@ -251,18 +252,18 @@
arr.push(currentLine);
if (i > 0) {
arr.forEach((line, index) => {
context.fillText(line, 129, 490 + (28 * (i - 1)) + 5 * num + (index * 14)); // 调整行高
context.fillText(line, 129, 480 + (26 * (i - 1)) + 5 * num + (index * 13)); // 调整行高
})
} else {
arr.forEach((line, index) => {
context.fillText(line, 129, 490 + (28 * (i - 1)) + (index * 14)); // 调整行高
context.fillText(line, 129, 480 + (26 * (i - 1)) + (index * 13)); // 调整行高
})
}
} else {
if (i > 0) {
context.fillText(lines[i] ? lines[i] : '', 129, 495 + 5 * num + (30 * (i - 1)));
context.fillText(lines[i] ? lines[i] : '', 129, 490 + 4 * num + (24 * (i - 1)));
} else {
context.fillText(lines[i] ? lines[i] : '', 129, 495 + (30 * (i - 1)));
context.fillText(lines[i] ? lines[i] : '', 129, 490 + (24 * (i - 1)));
}
}
}
......@@ -382,6 +383,7 @@
drawTextzmImage () {
function getByteLen (val) {
var len = 0;
if (!val) return len;
for (var i = 0; i < val.length; i++) {
var length = val.charCodeAt(i);
if (length >= 0 && length <= 128) {
......@@ -494,9 +496,9 @@
}
} else {
if (i > 0) {
context.fillText(lines[i] ? lines[i] : '', 770, 450 + 5 * num + (23 * (i - 1)));
context.fillText(lines[i] ? lines[i] : '', 770, 447 + 6 * num + (23 * (i - 1)));
} else {
context.fillText(lines[i] ? lines[i] : '', 770, 450 + (23 * (i - 1)));
context.fillText(lines[i] ? lines[i] : '', 770, 447 + (23 * (i - 1)));
}
}
}
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-29 09:56:47
* @LastEditTime: 2023-08-30 10:33:52
-->
<template>
<div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;">
......@@ -223,18 +223,18 @@
arr.push(currentLine);
if (i > 0) {
arr.forEach((line, index) => {
context.fillText(line, 129, 485 + (28 * (i - 1)) + 5 * num + (index * 14)); // 调整行高
context.fillText(line, 129, 480 + (26 * (i - 1)) + 5 * num + (index * 13)); // 调整行高
})
} else {
arr.forEach((line, index) => {
context.fillText(line, 129, 485 + (28 * (i - 1)) + (index * 14)); // 调整行高
context.fillText(line, 129, 480 + (26 * (i - 1)) + (index * 13)); // 调整行高
})
}
} else {
if (i > 0) {
context.fillText(lines[i] ? lines[i] : '', 129, 495 + 5 * num + (25 * (i - 1)));
context.fillText(lines[i] ? lines[i] : '', 129, 490 + 4 * num + (24 * (i - 1)));
} else {
context.fillText(lines[i] ? lines[i] : '', 129, 495 + (25 * (i - 1)));
context.fillText(lines[i] ? lines[i] : '', 129, 495 + (24 * (i - 1)));
}
}
}
......@@ -354,6 +354,7 @@
drawTextzmImage () {
function getByteLen (val) {
var len = 0;
if (!val) return len;
for (var i = 0; i < val.length; i++) {
var length = val.charCodeAt(i);
if (length >= 0 && length <= 128) {
......@@ -460,11 +461,11 @@
arr.push(currentLine);
if (i > 0) {
arr.forEach((line, index) => {
context.fillText(line, 770, 438 + (23 * (i - 1)) + 5 * num + (index * 16)); // 调整行高
context.fillText(line, 770, 438 + (23 * (i - 1)) + 5 * num + (index * 18)); // 调整行高
})
} else {
arr.forEach((line, index) => {
context.fillText(line, 770, 438 + (23 * (i - 1)) + (index * 16)); // 调整行高
context.fillText(line, 770, 438 + (23 * (i - 1)) + (index * 18)); // 调整行高
})
}
} else {
......
......@@ -89,6 +89,7 @@
<el-table-column prop="jzmj" label="建筑面积" min-width="100">
<template slot-scope="scope">
<el-input
maxlength="12"
class="item"
:disabled="!ableOperation"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
......
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-29 09:31:15
* @LastEditTime: 2023-08-29 10:03:25
-->
<template>
<div class="szxx">
......@@ -136,9 +136,9 @@
store.dispatch('user/reWorkFresh', false)
if (type == 1) {
//证书预览
this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, "70%", true);
this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, "76%", true);
} else {
this.$popupDialog("证书证明打印", "workflow/components/dialog/zsdy", { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, "75%", true);
this.$popupDialog("证书证明打印", "workflow/components/dialog/zsdy", { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, "76%", true);
}
},
//再次打印
......@@ -294,8 +294,8 @@
justify-content: flex-end;
}
}
.box-card{
.szxx_header{
.box-card {
.szxx_header {
color: #303133;
}
// 证书背景色
......@@ -303,9 +303,9 @@
background-color: #e2dfe0;
}
}
.bg-red{
.szxx_header{
color: #FFF;
.bg-red {
.szxx_header {
color: #fff;
}
/deep/.el-card__header {
background-color: rgb(198, 67, 83);
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-25 10:00:18
* @LastEditTime: 2023-08-29 12:55:07
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -40,10 +40,15 @@ class data extends filter {
}
},
{
prop: "qllx",
label: "权利类型",
width: '100',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.qllx} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.qllx}</span>
</el-tooltip>
)
}
},
{
prop: "ysxlh",
......@@ -64,16 +69,26 @@ class data extends filter {
label: "义务人"
},
{
prop: "mj",
label: "面积(㎡)",
width: '100',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.mj} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.mj}</span>
</el-tooltip>
)
}
},
{
prop: "zl",
label: "坐落",
width: '100',
showOverflowTooltip: true
minWidth: '150',
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.zl} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.zl}</span>
</el-tooltip>
)
}
},
{
prop: "fzsj",
......@@ -130,10 +145,15 @@ class data extends filter {
label: "义务人"
},
{
prop: "mj",
label: "面积(㎡)",
width: '100',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.mj} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.mj}</span>
</el-tooltip>
)
}
},
{
prop: "zl",
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-25 09:06:19
* @LastEditTime: 2023-08-29 13:04:29
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -57,10 +57,15 @@ class data extends filter {
width: '112'
},
{
prop: "cznr",
label: "操作内容",
width: '500',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.cznr} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.cznr}</span>
</el-tooltip>
)
}
},
{
label: '操作',
......
......@@ -107,12 +107,12 @@
<el-row :gutter="10" v-if="ruleForm.fdcq1">
<el-col :span="8">
<el-form-item label="独用土地面积:">
<el-input :disabled="!viewEdit" v-model="ruleForm.fdcq1.dytdmj"></el-input>
<el-input :disabled="!viewEdit" maxlength="12" v-model="ruleForm.fdcq1.dytdmj"></el-input>
</el-form-item>
</el-col>
</el-col>1
<el-col :span="8">
<el-form-item label="分摊土地面积:">
<el-input :disabled="!viewEdit" v-model="ruleForm.fdcq1.fttdmj"></el-input>
<el-input :disabled="!viewEdit" maxlength="12" v-model="ruleForm.fdcq1.fttdmj"></el-input>
</el-form-item>
</el-col>
......@@ -120,6 +120,7 @@
<el-form-item label="房地产交易价格:">
<div class="flex">
<el-input
maxlength="11"
:disabled="!viewEdit"
v-model="ruleForm.fdcq1.fdcjyjg"
style="width: 500%"
......
......@@ -115,6 +115,7 @@
<el-form-item label="独用土地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.fdcq2.dytdmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
......@@ -133,6 +134,7 @@
<el-form-item label="分摊土地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.fdcq2.fttdmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
......@@ -201,6 +203,7 @@
<el-col :span="8">
<el-form-item label="所在层:">
<el-input
maxlength="20"
v-model="ruleForm.fdcq2.szc"
:disabled="!viewEdit"></el-input>
</el-form-item>
......@@ -208,6 +211,7 @@
<el-col :span="8">
<el-form-item label="总层数:">
<el-input
maxlength="4"
:disabled="!viewEdit"
v-model.number="ruleForm.fdcq2.zcs"
oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
......@@ -217,6 +221,7 @@
<el-form-item label="房地产交易价格:">
<div class="flex">
<el-input
maxlength="11"
v-model="ruleForm.fdcq2.fdcjyjg"
style="width: 500%"
:disabled="!viewEdit"
......@@ -238,6 +243,7 @@
<el-form-item label="建筑面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.fdcq2.jzmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
......@@ -256,6 +262,7 @@
<el-form-item label="专有建筑面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.fdcq2.zyjzmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
......@@ -274,6 +281,7 @@
<el-form-item label="分摊建筑面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.fdcq2.ftjzmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
......
......@@ -80,7 +80,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="使用权(承包)面积:">
<el-input v-model="ruleForm.lq.syqmj"></el-input>
<el-input maxlength="12" v-model="ruleForm.lq.syqmj"></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -92,6 +92,7 @@
<el-form-item label="农用地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.nydmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
......@@ -116,6 +117,7 @@
<el-form-item label="耕地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.gdmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
......@@ -140,6 +142,7 @@
<el-form-item label="林地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.ldmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
......@@ -166,6 +169,7 @@
<el-form-item label="草地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.cdmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
......@@ -190,6 +194,7 @@
<el-form-item label="其他农用地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.qtnydmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
......@@ -214,6 +219,7 @@
<el-form-item label="建筑使用面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.jsydmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
......@@ -240,6 +246,7 @@
<el-form-item label="未利用地面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.tdsyq.wlydmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
......
......@@ -111,12 +111,13 @@
</el-col>
<el-col :span="8">
<el-form-item label="所在层:">
<el-input v-model="ruleForm.ygdj.szc"></el-input>
<el-input maxlength="20" v-model="ruleForm.ygdj.szc"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="总层数:">
<el-input
maxlength="4"
v-model.number="ruleForm.ygdj.zcs"
oninput="value=value.replace(/[^0-9]/g,'')"
></el-input>
......@@ -142,6 +143,7 @@
<el-form-item label="建筑面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.ygdj.jzmj"
:disabled="!viewEdit"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-23 14:51:40
* @LastEditTime: 2023-08-29 13:04:44
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -46,10 +46,15 @@ class data extends filter {
}
},
{
prop: "bdcqzh",
label: "不动产证明号",
width: '150',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width">
<span class="ellipsis-table"> {scope.row.bdcqzh}</span>
</el-tooltip>
)
}
},
{
prop: "bdcdyh",
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-14 11:21:48
* @LastEditTime: 2023-08-29 13:05:13
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -50,20 +50,30 @@ class data extends filter {
label: "土地证号",
},
{
prop: "qllxmc",
showOverflowTooltip: true,
width: '100',
label: "权利类型",
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.qllxmc} placement="top" popper-class="tooltip-width">
<span class="ellipsis-table"> {scope.row.qllxmc}</span>
</el-tooltip>
)
}
},
{
prop: "xmmc",
label: "项目名称",
},
{
prop: "zrzh",
label: "自然幢号",
width: '90',
showOverflowTooltip: true,
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.zrzh} placement="top" popper-class="tooltip-width">
<span class="ellipsis-table"> {scope.row.zrzh}</span>
</el-tooltip>
)
}
},
{
prop: "jzwmc",
......@@ -112,10 +122,16 @@ class data extends filter {
width: '70',
},
{
prop: "zl",
label: "自然幢坐落",
minWidth: '120',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.zl} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.zl}</span>
</el-tooltip>
)
}
},
{
label: '操作',
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-23 14:56:57
* @LastEditTime: 2023-08-29 13:06:12
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -45,22 +45,37 @@ class data extends filter {
}
},
{
prop: "qllxmc",
label: "权利类型",
width: '120',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.qllxmc} placement="top" popper-class="tooltip-width">
<span class="ellipsis-table"> {scope.row.qllxmc}</span>
</el-tooltip>
)
}
},
{
prop: "bdcdyh",
label: "不动产单元号",
width: '150',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.bdcdyh} placement="top" popper-class="tooltip-width">
<span class="ellipsis-table"> {scope.row.bdcdyh}</span>
</el-tooltip>
)
}
},
{
prop: "bdcqzh",
label: "不动产权证号",
width: '150',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width">
<span class="ellipsis-table"> {scope.row.bdcqzh}</span>
</el-tooltip>
)
}
},
{
prop: "gyqk",
......@@ -97,10 +112,15 @@ class data extends filter {
label: "用途",
},
{
prop: "zl",
label: "坐落",
width: '130',
showOverflowTooltip: true
minWidth: '150',
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.zl} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.zl}</span>
</el-tooltip>
)
}
},
{
label: '操作',
......
......@@ -78,16 +78,26 @@ class data extends filter {
width: '90',
},
{
prop: "bdcdyh",
label: "不动产单元号",
width: '150',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.bdcdyh} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.bdcdyh}</span>
</el-tooltip>
)
}
},
{
prop: "bdcqzh",
label: "不动产权证号",
width: '150',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.bdcqzh}</span>
</el-tooltip>
)
}
},
{
prop: "qlrmc",
......@@ -108,10 +118,15 @@ class data extends filter {
minWidth: '130'
},
{
prop: "zl",
label: "坐落",
width: '150',
showOverflowTooltip: true
minWidth: '150',
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.zl} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.zl}</span>
</el-tooltip>
)
}
},
{
label: '操作',
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-24 11:00:16
* @LastEditTime: 2023-08-29 13:08:08
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -54,20 +54,30 @@ class data extends filter {
minWidth: '130'
},
{
prop: "bdcqzh",
label: "不动产权证号",
width: '150',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.bdcqzh}</span>
</el-tooltip>
)
}
},
{
prop: "gyqk",
label: "共有情况",
},
{
prop: "qlrmc",
label: "权利人",
width: '120',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.qlrmc} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.qlrmc}</span>
</el-tooltip>
)
}
},
{
prop: "qlrzjhm",
......@@ -78,20 +88,30 @@ class data extends filter {
label: "权利性质",
},
{
prop: "qlytmc",
label: "用途",
width: '120',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.qlytmc} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.qlytmc}</span>
</el-tooltip>
)
}
},
{
prop: "qlmjmc",
label: "面积",
},
{
prop: "zl",
label: "坐落",
width: '130',
showOverflowTooltip: true
minWidth: '150',
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.zl} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.zl}</span>
</el-tooltip>
)
}
},
{
label: '操作',
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-10 15:35:50
* @LastEditTime: 2023-08-29 13:09:15
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -54,10 +54,15 @@ class data extends filter {
minWidth: '150'
},
{
prop: "bdcqzh",
label: "不动产权证号",
showOverflowTooltip: true,
width: '150'
width: '150',
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.bdcqzh}</span>
</el-tooltip>
)
}
},
{
prop: "gyqk",
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-23 14:49:24
* @LastEditTime: 2023-08-29 13:09:45
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -44,16 +44,26 @@ class data extends filter {
label: "权利类型",
},
{
prop: "bdcdyh",
label: "不动产单元号",
width: '150',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.bdcdyh} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.bdcdyh}</span>
</el-tooltip>
)
}
},
{
prop: "bdcqzh",
label: "不动产权证号",
width: '150',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.bdcqzh}</span>
</el-tooltip>
)
}
},
{
prop: "qlrmc",
......
/*
* @Description: 土地所有权对象处理
* @Autor: ssq
* @LastEditTime: 2023-07-14 17:00:11
* @LastEditTime: 2023-08-29 13:10:12
*/
import filter from '@/utils/filter.js'
let vm = null
......@@ -49,16 +49,26 @@ class data extends filter {
label: "权利类型",
},
{
prop: "bdcdyh",
label: "不动产单元号",
width: '150',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.bdcdyh} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.bdcdyh}</span>
</el-tooltip>
)
}
},
{
prop: "bdcqzh",
label: "不动产权证号",
width: '150',
showOverflowTooltip: true
render: (h, scope) => {
return (
<el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width ">
<span class="ellipsis-table"> {scope.row.bdcqzh}</span>
</el-tooltip>
)
}
},
{
prop: "gyqk",
......