From 26b81473abd633c12298dec7c212702b66a69ec7 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 22 三月 2024 14:55:54 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master
---
src/components/tool/excel.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/components/tool/excel.vue b/src/components/tool/excel.vue
index ece94a6..52a3a71 100644
--- a/src/components/tool/excel.vue
+++ b/src/components/tool/excel.vue
@@ -35,7 +35,7 @@
<script>
// import { data } from 'jquery';
export default {
- props: ['data','title'],
+ props: ['data','execlTitle'],
data() {
return {
}
@@ -49,14 +49,15 @@
templateWrite() {
if(this.data!=null&&this.data!=''){
let option = JSON.parse(this.data)
- option.title = this.title
+ option.title = this.execlTitle
luckysheet.create(option)
}else{
+ console.log(this.execlTitle);
$(function() {
//閰嶇疆椤�
var options = {
container: 'luckysheet',
- title: this.title,
+ title: this.execlTitle,
lang: "zh",
showsheetbar: false,
showstatisticBarConfig: {
@@ -88,6 +89,7 @@
myFolderUrl: 'http://127.0.0.1/',
functionButton: '<button onClick="excelClosed()" class="save">淇濆瓨</button>'
}
+ options.title = this.execlTitle
luckysheet.create(options)
})
}
--
Gitblit v1.9.3