项目报表修改
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-12-29 16:01:24 +08:00
parent 2c47541737
commit 3f48bc0ba5
1 changed files with 10 additions and 6 deletions

View File

@ -291,7 +291,8 @@ export default {
let res = await getTrialEfficacyEvaluationStatList(data) let res = await getTrialEfficacyEvaluationStatList(data)
this.loading_bottom = false this.loading_bottom = false
if (res.IsSuccess) { if (res.IsSuccess) {
this.ORR = res.OtherInfo.ORR let OtherInfo = res.OtherInfo || {}
this.ORR = OtherInfo.ORR
let obj = { let obj = {
xAxisData: [], xAxisData: [],
seriesData: [], seriesData: [],
@ -299,7 +300,7 @@ export default {
titleText: this.$t("trials:reportForms:cjart:title:EfficacyEvaluationStat"), titleText: this.$t("trials:reportForms:cjart:title:EfficacyEvaluationStat"),
} }
res.Result.forEach(item => { res.Result.forEach(item => {
obj.xAxisData.push(this.$fd(item.DictionaryCode, Number(item.OverallTumorEvaluation))) obj.xAxisData.push(item.OverallTumorEvaluation)
obj.seriesData.push(item.SubjectCount) obj.seriesData.push(item.SubjectCount)
}) })
let obj2 = { let obj2 = {
@ -308,10 +309,13 @@ export default {
unit: this.$t("trials:reportForms:cjart:unit:DaysDiff"), unit: this.$t("trials:reportForms:cjart:unit:DaysDiff"),
titleText: this.$t("trials:reportForms:cjart:title:dataDistribution"), titleText: this.$t("trials:reportForms:cjart:title:dataDistribution"),
} }
res.OtherInfo.PDList.forEach(item => { if (OtherInfo.PDList && OtherInfo.PDList.length > 0) {
OtherInfo.PDList.forEach(item => {
obj.xAxisData.push(item.SubjectCode) obj.xAxisData.push(item.SubjectCode)
obj.seriesData.push(item.DaysDiff) obj.seriesData.push(item.DaysDiff)
}) })
}
this.initChart_bottom(obj) this.initChart_bottom(obj)
this.initChart_bottom_right(obj2) this.initChart_bottom_right(obj2)
} }