项目报表修改
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)
|
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) {
|
||||||
obj.xAxisData.push(item.SubjectCode)
|
OtherInfo.PDList.forEach(item => {
|
||||||
obj.seriesData.push(item.DaysDiff)
|
obj.xAxisData.push(item.SubjectCode)
|
||||||
})
|
obj.seriesData.push(item.DaysDiff)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
this.initChart_bottom(obj)
|
this.initChart_bottom(obj)
|
||||||
this.initChart_bottom_right(obj2)
|
this.initChart_bottom_right(obj2)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue