From 69aa32e17ae22ce3ec25a29b199e1c9d0312d3a4 Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期四, 04 一月 2024 17:40:28 +0800
Subject: [PATCH] 送达回证 下载
---
src/components/page/ticket/ticket-form2.vue | 22 ++++++++++++++++++----
1 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/src/components/page/ticket/ticket-form2.vue b/src/components/page/ticket/ticket-form2.vue
index ced0579..0540b20 100644
--- a/src/components/page/ticket/ticket-form2.vue
+++ b/src/components/page/ticket/ticket-form2.vue
@@ -45,7 +45,7 @@
<script>
import WordView from './word-view/index'
- import {exportDoc} from '../../../libs/word'
+ import {exportDocWidthImg} from '../../../libs/word'
export default {
components: {
@@ -88,7 +88,11 @@
zfName2: [
{required: true, message: '鎵ф硶浜哄憳2涓嶈兘涓虹┖', trigger: 'blur'}
],
- }
+ },
+ imgSize: {
+ zfQianMing1: [70, 30],
+ zfQianMing2: [70, 30],
+ },
}
},
methods: {
@@ -111,8 +115,10 @@
})
},
downloadWord(data) { //word涓嬭浇
-
- exportDoc(data,'/words/administratorReturn.docx','閫佽揪鍥炶瘉琛屾斂澶勭綒鍐冲畾涔�')
+ console.log(data,'data=========')
+ setTimeout(() => {
+ exportDocWidthImg(data,'/words/administratorReturn.docx','閫佽揪鍥炶瘉琛屾斂澶勭綒鍐冲畾涔�',this.imgSize)
+ },1000)
},
}
}
@@ -130,6 +136,14 @@
}
</style>
<style lang="scss" scoped>
+::v-deep{
+
+ .el-dialog{
+ max-height: 90%;
+ overflow-y: auto;
+ margin-top: 6vh!important;
+ }
+}
.flexDate{
display: flex;
span{
--
Gitblit v1.9.1