项目报表修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
2c47541737
commit
3f48bc0ba5
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue