From 65edc781526c7094ee1d2c7c79e82b6cb622dc81 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 31 Dec 2025 15:56:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=8A=A5=E8=A1=A8=E6=9F=B1?= =?UTF-8?q?=E7=8A=B6=E5=9B=BE=E4=B8=8A=E6=98=BE=E7=A4=BA=E6=95=B0=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trial-summary/report-forms/index.vue | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/src/views/trials/trials-panel/trial-summary/report-forms/index.vue b/src/views/trials/trials-panel/trial-summary/report-forms/index.vue index cfa37a24..c15880b0 100644 --- a/src/views/trials/trials-panel/trial-summary/report-forms/index.vue +++ b/src/views/trials/trials-panel/trial-summary/report-forms/index.vue @@ -249,6 +249,16 @@ export default { emphasis: { focus: 'series' }, + label: { + show: true, + formatter: `{c}`, + position: 'inside', + textStyle: { + fontSize: 14, // 设置字体大小为 14px + color: '#000', // 设置字体颜色为白色 + // fontWeight: 'bold' // 设置字体加粗 + } + }, data: [res.Result.QCQuestion_IngCount, res.Result.CheckQuestion_IngCount, res.Result.MedicalReviewQuestion_IngCount] }, { @@ -259,6 +269,16 @@ export default { emphasis: { focus: 'series' }, + label: { + show: true, + formatter: `{c}`, + position: 'inside', + textStyle: { + fontSize: 14, // 设置字体大小为 14px + color: '#000', // 设置字体颜色为白色 + // fontWeight: 'bold' // 设置字体加粗 + } + }, data: [res.Result.QCQuestion_ClosedCount, res.Result.CheckQuestion_ClosedCount, res.Result.MedicalReviewQuestion_ClosedCount] } ], @@ -392,6 +412,16 @@ export default { data: obj.seriesData, type: 'bar', barWidth: 20, + label: { + show: true, + formatter: `{c}`, + position: 'inside', + textStyle: { + fontSize: 14, // 设置字体大小为 14px + color: '#000', // 设置字体颜色为白色 + // fontWeight: 'bold' // 设置字体加粗 + } + }, } ] }; @@ -441,6 +471,16 @@ export default { } ] }, + label: { + show: true, + formatter: `{c}`, + position: 'inside', + textStyle: { + fontSize: 14, // 设置字体大小为 14px + color: '#000', // 设置字体颜色为白色 + // fontWeight: 'bold' // 设置字体加粗 + } + }, data: obj.seriesData, // data: [1, 2, 3], type: 'bar',