From 7dba00a80cee072bc9e193d5d2a75c1f7cf72d28 Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期四, 04 七月 2024 10:51:41 +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..4f3ca8a 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="绯荤粺鏀寔鐨勫彉閲忥細&#10搴忓彿&#10妫�楠岄」&#10妫�楠屽瓙椤�&#10璁惧鍚嶇О&#10璁惧缂栫爜&#10鍗曚綅&#10瑕佹眰鍊�&#10璇曢獙鏂规硶 | 妫�娴嬫柟娉�&#10鏈�缁堝��&#10缁撹&#10璁$畻鍊�&#10妫�楠屽��"></i><button onClick="excelClosed()" class="save">淇濆瓨</button>'
-				luckysheet.create(option)
+				option.functionButton = '<i class="save_i el-icon-info" title="绯荤粺鏀寔鐨勫彉閲忥細&#10鏍峰搧缂栧彿&#10鏍峰搧鍨嬪彿&#10搴忓彿&#10妫�楠岄」&#10妫�楠屽瓙椤�&#10璁惧鍚嶇О&#10璁惧缂栫爜&#10鍗曚綅&#10瑕佹眰鍊�&#10璇曢獙鏂规硶 | 妫�娴嬫柟娉�&#10鏈�缁堝��&#10缁撹&#10璁$畻鍊�&#10妫�楠屽��"></i><button onClick="excelClosed()" class="save">淇濆瓨</button>'
+        console.log(window.luckysheet,luckysheet)
+				window.luckysheet.create(option)
 			}
 		}
 	}

--
Gitblit v1.9.3