From 3f48bc0ba525d43fadd8916e7e63f78902d6c1e1 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 29 Dec 2025 16:01:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=8A=A5=E8=A1=A8=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trial-summary/report-forms/index.vue | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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 2601170c..b1958ae8 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 @@ -291,7 +291,8 @@ export default { let res = await getTrialEfficacyEvaluationStatList(data) this.loading_bottom = false if (res.IsSuccess) { - this.ORR = res.OtherInfo.ORR + let OtherInfo = res.OtherInfo || {} + this.ORR = OtherInfo.ORR let obj = { xAxisData: [], seriesData: [], @@ -299,7 +300,7 @@ export default { titleText: this.$t("trials:reportForms:cjart:title:EfficacyEvaluationStat"), } res.Result.forEach(item => { - obj.xAxisData.push(this.$fd(item.DictionaryCode, Number(item.OverallTumorEvaluation))) + obj.xAxisData.push(item.OverallTumorEvaluation) obj.seriesData.push(item.SubjectCount) }) let obj2 = { @@ -308,10 +309,13 @@ export default { unit: this.$t("trials:reportForms:cjart:unit:DaysDiff"), titleText: this.$t("trials:reportForms:cjart:title:dataDistribution"), } - res.OtherInfo.PDList.forEach(item => { - obj.xAxisData.push(item.SubjectCode) - obj.seriesData.push(item.DaysDiff) - }) + if (OtherInfo.PDList && OtherInfo.PDList.length > 0) { + OtherInfo.PDList.forEach(item => { + obj.xAxisData.push(item.SubjectCode) + obj.seriesData.push(item.DaysDiff) + }) + } + this.initChart_bottom(obj) this.initChart_bottom_right(obj2) }