beta 新谱页面中切换谱数据之后 标题没有改名称
This commit is contained in:
parent
3291baf499
commit
fa137ad0ab
|
@ -27,7 +27,7 @@
|
||||||
<div class="beta-gamma-analysis-main-charts">
|
<div class="beta-gamma-analysis-main-charts">
|
||||||
<div class="beta-gamma-analysis-main-charts-left">
|
<div class="beta-gamma-analysis-main-charts-left">
|
||||||
<beta-gamma-chart-container>
|
<beta-gamma-chart-container>
|
||||||
<template slot="title"> Beta-Gamma Spectrum: Sample </template>
|
<template slot="title"> Beta-Gamma Spectrum: {{ currSpectrum }} </template>
|
||||||
<beta-gamma-spectrum
|
<beta-gamma-spectrum
|
||||||
ref="betaChartRef"
|
ref="betaChartRef"
|
||||||
:betaEnergyData="betaEnergyData"
|
:betaEnergyData="betaEnergyData"
|
||||||
|
@ -89,7 +89,7 @@ const SampleType = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'DetBg Data',
|
label: 'DetBg Data',
|
||||||
value: 'det',
|
value: 'detBg',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
export default {
|
export default {
|
||||||
|
@ -112,6 +112,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
this.SampleType = SampleType
|
this.SampleType = SampleType
|
||||||
return {
|
return {
|
||||||
|
currSpectrum: '',
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
spectrumData: {}, // Detailed Infomation 信息
|
spectrumData: {}, // Detailed Infomation 信息
|
||||||
spectraType: 'sample',
|
spectraType: 'sample',
|
||||||
|
@ -207,6 +208,8 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
changeChartByType(val) {
|
changeChartByType(val) {
|
||||||
|
if (val == 'sample') this.currSpectrum = 'Sample'
|
||||||
|
if (val == 'detBg') this.currSpectrum = 'Det'
|
||||||
this.roiParamList = []
|
this.roiParamList = []
|
||||||
this.boundaryList = []
|
this.boundaryList = []
|
||||||
this.ROILists = []
|
this.ROILists = []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user