From ee34e6cdc2494e3555d99ae0a9d5fe5f5f2b9603 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 9 Jun 2026 16:39:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=97=E8=AF=95=E8=80=85=E9=98=85=E7=89=87?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E8=B6=8B=E5=8A=BF=E5=9B=BE=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../subject-list/components/SubjectChart.vue | 13 ++++++++++--- .../trials-panel/subject/subject-list/index.vue | 3 ++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/views/trials/trials-panel/subject/subject-list/components/SubjectChart.vue b/src/views/trials/trials-panel/subject/subject-list/components/SubjectChart.vue index f3756c28..0357f4dd 100644 --- a/src/views/trials/trials-panel/subject/subject-list/components/SubjectChart.vue +++ b/src/views/trials/trials-panel/subject/subject-list/components/SubjectChart.vue @@ -15,7 +15,7 @@ @@ -143,13 +143,15 @@ export default { this.tableKey = [ { title: this.$t(`subjectChart:table:label:visit`), - key: 'visit' + key: 'visit', + IsHighlight: false } ] Evaluation[0].forEach(key => { let obj = { title: key.Value, key: key.Value, + IsHighlight: key.IsHighlight } this.tableKey.push(obj) }) @@ -160,8 +162,8 @@ export default { if (index === 0) { obj[item.key] = 'R1' } else { - console.log(Evaluation[1][index - 1].DictionaryCode, Evaluation[1][index - 1].Value) obj[item.key] = Evaluation[1][index - 1].DictionaryCode ? this.$fd(Evaluation[1][index - 1].DictionaryCode, parseFloat(Evaluation[1][index - 1].Value)) : Evaluation[1][index - 1].Value + obj.IsHighlight = Evaluation[1][index - 1].IsHighlight } }) this.tableList.push(obj) @@ -170,6 +172,7 @@ export default { let obj = {} this.tableKey.forEach((item, index) => { obj[item.key] = index === 0 ? 'R2' : Evaluation[2][index - 1].DictionaryCode ? this.$fd(Evaluation[2][index - 1].DictionaryCode, parseFloat(Evaluation[2][index - 1].Value)) : Evaluation[2][index - 1].Value + obj.IsHighlight = index === 0 ? false : Evaluation[2][index - 1].IsHighlight }) this.tableList.push(obj) } @@ -317,6 +320,10 @@ export default { margin: auto; } +.IsHighlight { + color: red; +} + .chartBox { display: flex; diff --git a/src/views/trials/trials-panel/subject/subject-list/index.vue b/src/views/trials/trials-panel/subject/subject-list/index.vue index 5ec8e551..2c6176ee 100644 --- a/src/views/trials/trials-panel/subject/subject-list/index.vue +++ b/src/views/trials/trials-panel/subject/subject-list/index.vue @@ -141,7 +141,8 @@ :title="$t('trials:subject:title:report')" @click="handleMessage(scope.row)" /> + circle :title="$t('trials:subject:title:chart')" :disabled="!scope.row.IsHaveTaskFinished" + @click="handleopenSubjectChart(scope.row)" />