From 18f5e3291f1cbe702312e1bdd387d74b95f9bccc Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期三, 03 七月 2024 14:42:12 +0800 Subject: [PATCH] 修改渲染 --- src/components/tool/excel.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/tool/excel.vue b/src/components/tool/excel.vue index 25f85b3..a53dee4 100644 --- a/src/components/tool/excel.vue +++ b/src/components/tool/excel.vue @@ -39,7 +39,7 @@ </template> <script> -import { data } from 'jquery'; +import {exportExcel} from '../../util/downExcelByLuckSheet' // import { data } from 'jquery'; export default { props: ['data', 'execlTitle'], @@ -59,7 +59,7 @@ } else { let rowlen = {} let columnlen = {} - for(let a = 0; a<60; a++){ + for(let a = 0; a<50; a++){ rowlen[''+a] = 40 } for(let a = 0; a<26; a++){ @@ -74,7 +74,7 @@ columnlen: columnlen } }], - row: 60, + row: 50, column: 26 } } @@ -120,8 +120,9 @@ cellFormat: false // 璁剧疆鍗曞厓鏍兼牸寮� }, option.myFolderUrl = this.LOCATIONVUE + '/', - option.functionButton = '<i class="save_i el-icon-info" title="绯荤粺鏀寔鐨勫彉閲忥細
搴忓彿
妫�楠岄」
妫�楠屽瓙椤�
璁惧鍚嶇О
璁惧缂栫爜
鍗曚綅
瑕佹眰鍊�
璇曢獙鏂规硶 | 妫�娴嬫柟娉�
鏈�缁堝��
缁撹
璁$畻鍊�
妫�楠屽��"></i><button onClick="excelClosed()" class="save">淇濆瓨</button>' - luckysheet.create(option) + option.functionButton = '<i class="save_i el-icon-info" title="绯荤粺鏀寔鐨勫彉閲忥細
鏍峰搧缂栧彿
鏍峰搧鍨嬪彿
搴忓彿
妫�楠岄」
妫�楠屽瓙椤�
璁惧鍚嶇О
璁惧缂栫爜
鍗曚綅
瑕佹眰鍊�
璇曢獙鏂规硶 | 妫�娴嬫柟娉�
鏈�缁堝��
缁撹
璁$畻鍊�
妫�楠屽��"></i><button onClick="excelClosed()" class="save">淇濆瓨</button>' + console.log(window.luckysheet) + window.luckysheet.create(option) } } } -- Gitblit v1.9.3