From b403195a75a452b54fe2112158b454f6d80c0e11 Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期四, 11 七月 2024 15:03:55 +0800
Subject: [PATCH] 科学计数法逻辑修改
---
src/components/tool/excel.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/components/tool/excel.vue b/src/components/tool/excel.vue
index 601f628..cb972e4 100644
--- a/src/components/tool/excel.vue
+++ b/src/components/tool/excel.vue
@@ -39,7 +39,6 @@
</template>
<script>
-import { data } from 'jquery';
// import { data } from 'jquery';
export default {
props: ['data', 'execlTitle'],
@@ -59,7 +58,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 +73,7 @@
columnlen: columnlen
}
}],
- row: 60,
+ row: 50,
column: 26
}
}
@@ -120,9 +119,11 @@
cellFormat: false // 璁剧疆鍗曞厓鏍兼牸寮�
},
option.myFolderUrl = this.LOCATIONVUE + '/',
+ // option.functionButton = '<i class="save_i el-icon-info" title="绯荤粺鏀寔鐨勫彉閲忥細
鏍峰搧缂栧彿
鏍峰搧鍨嬪彿
搴忓彿
妫�楠岄」
妫�楠屽瓙椤�
璁惧鍚嶇О
璁惧缂栫爜
鍗曚綅
瑕佹眰鍊�
璇曢獙鏂规硶 | 妫�娴嬫柟娉�
鏈�缁堝��
缁撹
璁$畻鍊�
妫�楠屽��"></i><button onClick="excelExport()" class="save">瀵煎嚭</button><button onClick="excelClosed()" class="save">淇濆瓨</button>'
option.functionButton = '<i class="save_i el-icon-info" title="绯荤粺鏀寔鐨勫彉閲忥細
鏍峰搧缂栧彿
鏍峰搧鍨嬪彿
搴忓彿
妫�楠岄」
妫�楠屽瓙椤�
璁惧鍚嶇О
璁惧缂栫爜
鍗曚綅
瑕佹眰鍊�
璇曢獙鏂规硶 | 妫�娴嬫柟娉�
鏈�缁堝��
缁撹
璁$畻鍊�
妫�楠屽��"></i><button onClick="excelClosed()" class="save">淇濆瓨</button>'
+ console.log(luckysheet)
luckysheet.create(option)
- }
+ },
}
}
</script>
--
Gitblit v1.9.3