feat: 自建台站Report的Spectrum放开四个ROI

This commit is contained in:
Xu Zhimeng 2024-08-22 15:00:24 +08:00
parent d7a901aae2
commit 5c8f3f1671

View File

@ -26,10 +26,10 @@ const tabTitles = [
'Sample Spectrum',
'DetBg Spectrum',
'Qc Spectrum',
// 'ROI_1 Spectrum',
// 'ROI_2 Spectrum',
// 'ROI_3 Spectrum',
// 'ROI_4 Spectrum',
'ROI_1 Spectrum',
'ROI_2 Spectrum',
'ROI_3 Spectrum',
'ROI_4 Spectrum',
]
export default {
@ -76,7 +76,7 @@ export default {
let name = this.newSampleData.inputFileName.split('.')[0]
let strData = new Blob([text], { type: 'text/plain;charset=utf-8' })
saveAs(strData, `${name}_${tabTitles[this.currTab]} Spectrum.txt`)
saveAs(strData, `${name}_${tabTitles[this.currTab]}.txt`)
} else {
this.$message.warning('No data can be saved!')
}