Compare commits
2 Commits
0b23a18748
...
791271c747
Author | SHA1 | Date | |
---|---|---|---|
![]() |
791271c747 | ||
![]() |
851603bb9f |
|
@ -228,7 +228,7 @@ import { updateBaseLine } from '@/utils/WasmHelper'
|
|||
import RectList from './components/RectList.vue'
|
||||
import { isNullOrUndefined } from '@/utils/util'
|
||||
import { findNearPeak, getLineData, transformPointListData } from '@/utils/sampleHelper'
|
||||
import { getSampleData } from '@/utils/SampleStore'
|
||||
import { getSampleData, updateSampleData } from '@/utils/SampleStore'
|
||||
|
||||
// 初始配置
|
||||
const initialOption = {
|
||||
|
@ -1574,6 +1574,13 @@ export default {
|
|||
const { identify, table } = result
|
||||
this.selectedTableItem.nuclides = identify
|
||||
this.list = table
|
||||
// 更新自身缓存
|
||||
/** fix:解决删除核素再次打开弹窗还能显示被删除的核素问题 20241128:xiao */
|
||||
updateSampleData({
|
||||
inputFileName: fileName,
|
||||
key: 'peak',
|
||||
data: table,
|
||||
})
|
||||
} else {
|
||||
this.$message.error(message)
|
||||
}
|
||||
|
|
|
@ -1109,6 +1109,22 @@ export default {
|
|||
|
||||
// 查看软件操作帮助文档
|
||||
handleHelp() {
|
||||
let docPath = null
|
||||
let apiBaseUrl = window._CONFIG['onlinePreviewDomainURL'] || "/jeecg-boot";
|
||||
if(this.isGamma) {
|
||||
docPath = `/armd-help/Gamma.pdf`;
|
||||
} else if (this.isBeta) {
|
||||
docPath = `/armd-help/Self-Beta-Gamma.pdf`;
|
||||
} else if(this.isBetaGamma) {
|
||||
docPath = `/armd-help/Beta-Gamma.pdf`;
|
||||
}
|
||||
|
||||
if(!docPath) {
|
||||
this.$message.warning('Please load an spectrum first!')
|
||||
return ;
|
||||
}
|
||||
window.open(apiBaseUrl + docPath, '_blank');
|
||||
|
||||
console.log('%c [ handleHelp ]-221', 'font-size:13px; background:pink; color:#bf2c9f;')
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user