05e3a0c4 by renchao@pashanhoo.com

style:宗地基本信息

1 parent f206defa
.tableDivCss {
width: 100%;
height: 100%;
height: 95%;
background-color: #f5f5f5;
padding: 5px;
overflow-y: scroll;
box-sizing: border-box;
}
.tableCss {
......
/*
* @Description:workFramezu.vue组件的方法 头部按钮弹框方法
* @Autor: miaofang
* @LastEditTime: 2023-09-26 14:25:23
* @LastEditTime: 2023-12-19 10:02:20
*/
import { getPrintTemplateByCode } from "@/api/print";
import { getQllxByBdcdyid } from "@/api/djbDetail.js";
......@@ -143,27 +143,9 @@ export default {
}
break;
case "B6":
//根据编号获取对应信息
getPrintTemplateByCode({ tmpno: 'dysqs' }).then(res => {
if (res.code == 200) {
getPrintApplicationForm(this.currentSelectProps.bsmSldy).then(infoRes => {
if (infoRes.code == 200) {
//打开模板设计
let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); //装载模板
//todo 调取后端接口获取数据 循环set
for (let key in infoRes.result) {
LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]);
}
LODOP.PREVIEW();
} else {
this.$message.error(infoRes.message)
}
})
} else {
this.$message.error(res.message)
}
})
this.$popupDialog("打印申请书", "workflow/components/dialog/sqs",
{ bsmSldy: this.currentSelectProps.bsmSldy }, '30%', true
)
break;
case "B7":
this.$popupDialog("证书领取", "workflow/components/dialog/zslq",
......
......@@ -219,10 +219,9 @@
</script>
<style lang="scss" scoped>
@import "~@/styles/tablecss.scss";
.tableDivCss{
.tableDivCss {
width: 100%;
height: 100%;
background-color: rgb(255, 255, 255);
}
</style>
......
<!--
* @Description :宗地基本信息
* @Autor : miaofang
* @LastEditTime: 2023-08-04 10:06:45
* @LastEditTime: 2023-12-19 14:48:11
-->
<template>
<div class="tableDivCss">
......@@ -29,7 +29,7 @@
<td style="width: 15%">宗地面积</td>
<td style="width: 30%">{{ zdjbxx.zdmj }}</td>
<td style="width: 15%">用途</td>
<td style="width: 30%">{{ zdjbxx.yt | dicyt("tdyt") }}</td>
<td style="width: 30%">{{ zdjbxx.ghytmc }}</td>
</tr>
<tr>
<td>等级</td>
......@@ -112,11 +112,11 @@
</template>
<script>
import store from "@/store/index.js";
import { getZdjjxxBybdcdyid } from "@/api/djbDetail.js";
import store from "@/store/index.js";
import { getZdjjxxBybdcdyid } from "@/api/djbDetail.js";
export default {
data() {
export default {
data () {
return {
printObj: {
id: "box",
......@@ -197,7 +197,7 @@ export default {
}
},
},
created() {
created () {
this.loadData();
},
methods: {
......@@ -205,7 +205,7 @@ export default {
* @description: loadData
* @author: renchao
*/
loadData() {
loadData () {
getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
if (res.code === 200) {
this.zdjbxx = res.result.zdjbxx;
......@@ -218,11 +218,11 @@ export default {
},
},
};
};
</script>
<style lang="scss" scoped>
@import "~@/styles/tablecss.scss";
.tableDivCss {
@import "~@/styles/tablecss.scss";
.tableDivCss {
position: relative;
.print {
display: inline;
......@@ -232,5 +232,5 @@ export default {
left: 11px;
top: 11px;
}
}
}
</style>
......
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-11-22 17:05:55
* @LastEditTime: 2023-12-19 10:02:03
*/
import Vue from 'vue'
import { getPrintTemplateByCode } from "@/api/print";
......@@ -137,29 +137,6 @@ export default {
this.$popupDialog("打印申请书", "workflow/components/dialog/sqs",
{ bsmSldy: this.currentSelectProps.bsmSldy }, '30%', true
)
//根据编号获取对应信息
// getPrintTemplateByCode({ tmpno: Vue.prototype.BASE_API.adapter }).then(res => {
// if (res.code === 200) {
// getPrintApplicationForm(this.currentSelectProps.bsmSldy).then(infoRes => {
// if (infoRes.code === 200) {
// let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
// // 装载第一个模板并设置数据
// LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent);
// for (let key in infoRes.result) {
// LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]);
// }
// // 进行预览
// LODOP.PREVIEW();
// } else {
// this.$message.error(infoRes.message);
// }
// });
// } else {
// this.$message.error(res.message);
// }
// })
break;
case "B7":
this.$popupDialog("证书领取", "workflow/components/dialog/zslq",
......