fix:旧beta的能量刻度增加自动校正;增加F状态的能谱查询和加载
This commit is contained in:
parent
1375ed37e2
commit
0b23a18748
|
@ -337,6 +337,7 @@ export default {
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(message)
|
this.$message.error(message)
|
||||||
|
this.isLoading = false
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
|
|
|
@ -1536,7 +1536,7 @@ export default {
|
||||||
nuclideName: possibleNuclide,
|
nuclideName: possibleNuclide,
|
||||||
fileName,
|
fileName,
|
||||||
list_identify: nuclides,
|
list_identify: nuclides,
|
||||||
energyTolerance: parseFloat(this.model.tolerance)
|
energyTolerance: this.model.tolerance
|
||||||
})
|
})
|
||||||
if (success) {
|
if (success) {
|
||||||
nuclides.push(possibleNuclide)
|
nuclides.push(possibleNuclide)
|
||||||
|
|
|
@ -668,9 +668,11 @@ export default {
|
||||||
oldScatterSeries,
|
oldScatterSeries,
|
||||||
newCToE,
|
newCToE,
|
||||||
newEToC,
|
newEToC,
|
||||||
|
tableWidgets,
|
||||||
} = res.result
|
} = res.result
|
||||||
this.c2e = CToE
|
this.c2e = CToE
|
||||||
this.e2c = EToC
|
this.e2c = EToC
|
||||||
|
this.list = tableWidgets
|
||||||
|
|
||||||
this.oldScatterSeries = oldScatterSeries
|
this.oldScatterSeries = oldScatterSeries
|
||||||
this.count = oldScatterSeries.length
|
this.count = oldScatterSeries.length
|
||||||
|
@ -695,6 +697,11 @@ export default {
|
||||||
|
|
||||||
this.oldChartOption = cloneDeep(this.figureChartOption)
|
this.oldChartOption = cloneDeep(this.figureChartOption)
|
||||||
|
|
||||||
|
this.figureChartOption.series[1].markPoint.data = tableWidgets.map((item) => ({
|
||||||
|
xAxis: item.channel,
|
||||||
|
yAxis: item.energy,
|
||||||
|
}))
|
||||||
|
|
||||||
// 如果点击过reanalyze则渲染之前fitting的数据,如果没点Reanalyze,数据会在窗口关闭时删掉 20231101:xiao
|
// 如果点击过reanalyze则渲染之前fitting的数据,如果没点Reanalyze,数据会在窗口关闭时删掉 20231101:xiao
|
||||||
// todo 现在能谱数据没有缓存,刷新页面时也会获取到fitting的数据
|
// todo 现在能谱数据没有缓存,刷新页面时也会获取到fitting的数据
|
||||||
if (this.getCache('CALIBRATION_BETA_' + this.newSampleData.inputFileName)) {
|
if (this.getCache('CALIBRATION_BETA_' + this.newSampleData.inputFileName)) {
|
||||||
|
|
|
@ -1603,6 +1603,7 @@ export default {
|
||||||
fileName,
|
fileName,
|
||||||
list_identify: nuclides,
|
list_identify: nuclides,
|
||||||
gammaRoiNum: this.currROIIndex + 1,
|
gammaRoiNum: this.currROIIndex + 1,
|
||||||
|
energyTolerance: this.model.tolerance
|
||||||
})
|
})
|
||||||
if (success) {
|
if (success) {
|
||||||
nuclides.push(possibleNuclide)
|
nuclides.push(possibleNuclide)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user