f3b9714e by renchao@pashanhoo.com

style:证书打印

1 parent 698db927
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-13 16:42:26 4 * @LastEditTime: 2023-08-25 16:12:06
5 --> 5 -->
6 <template> 6 <template>
7 <el-form ref="ruleForm" :model="ruleForm" label-width="100px" :rules="rules"> 7 <el-form ref="ruleForm" :model="ruleForm" label-width="100px" :rules="rules">
...@@ -120,7 +120,6 @@ ...@@ -120,7 +120,6 @@
120 } 120 }
121 }) 121 })
122 }, 122 },
123 //编辑
124 /** 123 /**
125 * @description: 编辑 124 * @description: 编辑
126 * @author: renchao 125 * @author: renchao
...@@ -171,6 +170,10 @@ ...@@ -171,6 +170,10 @@
171 that.loadStatus = '1'; 170 that.loadStatus = '1';
172 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); 171 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
173 LODOP.ADD_PRINT_DATA("ProgramData", this.ruleForm.tmpcontent); //装载模板 172 LODOP.ADD_PRINT_DATA("ProgramData", this.ruleForm.tmpcontent); //装载模板
173 if (ruleForm.tmpno == 'zsdy') {
174 LODOP.SET_PRINT_PAGESIZE(1, 0, 0, "B4");
175 ADD_PRINT_SETUP_BKIMG("<img border='0' src='http://192.168.2.38:9000/bdcdj/zhengshu_image/bdcqzs2.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=KRMCXFVDPWMN0919UI1J%2F20230825%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230825T080608Z&X-Amz-Expires=604800&X-Amz-Security-Token=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NLZXkiOiJLUk1DWEZWRFBXTU4wOTE5VUkxSiIsImV4cCI6MTY5Mjk1NDI1NiwicGFyZW50IjoibWluaW9hZG1pbiJ9.OOHyJOL0zk9n3pSdWC-uIMztKL2wwHM0DsFJr1sjhxTMlbSVnCWluQpf94D4fEq35c0Us2Mi7KKINDnojwox6A&X-Amz-SignedHeaders=host&versionId=null&X-Amz-Signature=67b9cea9b1e1386e3ec826ddd1e33e514715aabbb671be991df72f5e47b20c45'>")
176 }
174 //窗口关闭后,回调函数中保存的设计代码 177 //窗口关闭后,回调函数中保存的设计代码
175 if (LODOP.CVERSION) 178 if (LODOP.CVERSION)
176 CLODOP.On_Return = function (TaskID, printList) { 179 CLODOP.On_Return = function (TaskID, printList) {
......