+
@@ -97,6 +97,14 @@ export default {
} else {
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: {
@@ -448,6 +456,9 @@ export default {
};
// 4. 使用配置项渲染图表
this.chart_bottom.setOption(option);
+ this.$nextTick(() => {
+ this.chart_bottom.resize()
+ })
},
initChart_bottom_left(obj) {
this.chart_bottom_left = echarts.init(this.$refs.chartContainer_bottom_left);
@@ -499,6 +510,9 @@ export default {
};
// 4. 使用配置项渲染图表
this.chart_bottom_left.setOption(option);
+ this.$nextTick(() => {
+ this.chart_bottom_left.resize()
+ })
},
initChart_bottom_right(obj) {
this.chart_bottom_right = echarts.init(this.$refs.chartContainer_bottom_right);
@@ -562,6 +576,9 @@ export default {
};
// 4. 使用配置项渲染图表
this.chart_bottom_right.setOption(option);
+ this.$nextTick(() => {
+ this.chart_bottom_right.resize()
+ })
},
calculateMedian(numbers) {
// 1. 创建副本并排序