From a2bce22a3a4df5f4662c373e57c07fa4268aeee1 Mon Sep 17 00:00:00 2001 From: 小小儁爺 <1694218219@qq.com> Date: 星期五, 13 六月 2025 09:02:52 +0800 Subject: [PATCH] 1.修改工单打印模板 --- src/utils/myEcharts.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/utils/myEcharts.js b/src/utils/myEcharts.js index 415693e..55bcdcb 100644 --- a/src/utils/myEcharts.js +++ b/src/utils/myEcharts.js @@ -2104,12 +2104,13 @@ return option } -export function all02(data) { +export function all02(data, title) { return { backgroundColor: 'transparent', // tooltip: {}, title: { - text: '姣忔湀璁㈠崟鏁伴噺/鍑哄簱鏁伴噺', + text: title, + // text: '姣忔湀璁㈠崟鏁伴噺/鍑哄簱鏁伴噺', left: '50%', top: '0%', textAlign: 'center', -- Gitblit v1.9.3