From 1618162f712fc414702bce924ff367397ff8ec1d Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期三, 08 一月 2025 08:49:11 +0800 Subject: [PATCH] 月卡 --- src/components/page/ticket/ticket-form2.vue | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/page/ticket/ticket-form2.vue b/src/components/page/ticket/ticket-form2.vue index 97219fe..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) }, } } -- Gitblit v1.9.1