fix:旧beta的能量刻度增加自动校正;增加F状态的能谱查询和加载
This commit is contained in:
parent
1375ed37e2
commit
0b23a18748
|
@ -337,6 +337,7 @@ export default {
|
|||
})
|
||||
} else {
|
||||
this.$message.error(message)
|
||||
this.isLoading = false
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
|
|
|
@ -1536,7 +1536,7 @@ export default {
|
|||
nuclideName: possibleNuclide,
|
||||
fileName,
|
||||
list_identify: nuclides,
|
||||
energyTolerance: parseFloat(this.model.tolerance)
|
||||
energyTolerance: this.model.tolerance
|
||||
})
|
||||
if (success) {
|
||||
nuclides.push(possibleNuclide)
|
||||
|
|
|
@ -668,9 +668,11 @@ export default {
|
|||
oldScatterSeries,
|
||||
newCToE,
|
||||
newEToC,
|
||||
tableWidgets,
|
||||
} = res.result
|
||||
this.c2e = CToE
|
||||
this.e2c = EToC
|
||||
this.list = tableWidgets
|
||||
|
||||
this.oldScatterSeries = oldScatterSeries
|
||||
this.count = oldScatterSeries.length
|
||||
|
@ -695,6 +697,11 @@ export default {
|
|||
|
||||
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
|
||||
// todo 现在能谱数据没有缓存,刷新页面时也会获取到fitting的数据
|
||||
if (this.getCache('CALIBRATION_BETA_' + this.newSampleData.inputFileName)) {
|
||||
|
|
|
@ -1603,6 +1603,7 @@ export default {
|
|||
fileName,
|
||||
list_identify: nuclides,
|
||||
gammaRoiNum: this.currROIIndex + 1,
|
||||
energyTolerance: this.model.tolerance
|
||||
})
|
||||
if (success) {
|
||||
nuclides.push(possibleNuclide)
|
||||
|
|
Loading…
Reference in New Issue
Block a user