项目报表PCWG3去除ORR
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
30b5ee24a0
commit
c662e6cc3a
|
|
@ -21,13 +21,13 @@
|
||||||
<div class="chartBox" v-if="isTumor">
|
<div class="chartBox" v-if="isTumor">
|
||||||
<div ref="chartContainer_bottom" style="width: 100%; height: 100%;" v-loading="loading_bottom"></div>
|
<div ref="chartContainer_bottom" style="width: 100%; height: 100%;" v-loading="loading_bottom"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="chartBox" :style="{ position: 'relative' }" v-if="isTumor">
|
<div class="chartBox" :style="{ position: 'relative' }" v-if="isTumor && !isPCWG">
|
||||||
<div ref="chartContainer_bottom_left" style="width: 100%; height: 100%;" v-loading="loading_bottom">
|
<div ref="chartContainer_bottom_left" style="width: 100%; height: 100%;" v-loading="loading_bottom">
|
||||||
</div>
|
</div>
|
||||||
<span v-if="ORR" style="position: absolute;top: 0;right:20px">{{
|
<span v-if="ORR" style="position: absolute;top: 0;right:20px">{{
|
||||||
$t("trials:reportForms:cjart:title:totleORR") }} {{ ORR }}</span>
|
$t("trials:reportForms:cjart:title:totleORR") }} {{ ORR }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="chartBox" v-if="isTumor" style="width:100%">
|
<div class="chartBox" v-if="isTumor" :style="{ width: isPCWG ? '50%' : '100%' }">
|
||||||
<div ref="chartContainer_bottom_right" style="width: 100%; height: 100%;" v-loading="loading_bottom">
|
<div ref="chartContainer_bottom_right" style="width: 100%; height: 100%;" v-loading="loading_bottom">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -97,6 +97,14 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
isPCWG() {
|
||||||
|
let criterion = this.trialCriterionList.find(item => item.TrialReadingCriterionId === this.searchData.TrialReadingCriterionId)
|
||||||
|
if (criterion) {
|
||||||
|
return [10].includes(Number(criterion.CriterionType))
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
@ -448,6 +456,9 @@ export default {
|
||||||
};
|
};
|
||||||
// 4. 使用配置项渲染图表
|
// 4. 使用配置项渲染图表
|
||||||
this.chart_bottom.setOption(option);
|
this.chart_bottom.setOption(option);
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.chart_bottom.resize()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
initChart_bottom_left(obj) {
|
initChart_bottom_left(obj) {
|
||||||
this.chart_bottom_left = echarts.init(this.$refs.chartContainer_bottom_left);
|
this.chart_bottom_left = echarts.init(this.$refs.chartContainer_bottom_left);
|
||||||
|
|
@ -499,6 +510,9 @@ export default {
|
||||||
};
|
};
|
||||||
// 4. 使用配置项渲染图表
|
// 4. 使用配置项渲染图表
|
||||||
this.chart_bottom_left.setOption(option);
|
this.chart_bottom_left.setOption(option);
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.chart_bottom_left.resize()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
initChart_bottom_right(obj) {
|
initChart_bottom_right(obj) {
|
||||||
this.chart_bottom_right = echarts.init(this.$refs.chartContainer_bottom_right);
|
this.chart_bottom_right = echarts.init(this.$refs.chartContainer_bottom_right);
|
||||||
|
|
@ -562,6 +576,9 @@ export default {
|
||||||
};
|
};
|
||||||
// 4. 使用配置项渲染图表
|
// 4. 使用配置项渲染图表
|
||||||
this.chart_bottom_right.setOption(option);
|
this.chart_bottom_right.setOption(option);
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.chart_bottom_right.resize()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
calculateMedian(numbers) {
|
calculateMedian(numbers) {
|
||||||
// 1. 创建副本并排序
|
// 1. 创建副本并排序
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue