Compare commits
No commits in common. "791271c7472c3063cc066a2133ee98746064d6b3" and "0b23a1874823d8f6c39cb421be4cc2c59e1c0d46" have entirely different histories.
791271c747
...
0b23a18748
|
@ -228,7 +228,7 @@ import { updateBaseLine } from '@/utils/WasmHelper'
|
||||||
import RectList from './components/RectList.vue'
|
import RectList from './components/RectList.vue'
|
||||||
import { isNullOrUndefined } from '@/utils/util'
|
import { isNullOrUndefined } from '@/utils/util'
|
||||||
import { findNearPeak, getLineData, transformPointListData } from '@/utils/sampleHelper'
|
import { findNearPeak, getLineData, transformPointListData } from '@/utils/sampleHelper'
|
||||||
import { getSampleData, updateSampleData } from '@/utils/SampleStore'
|
import { getSampleData } from '@/utils/SampleStore'
|
||||||
|
|
||||||
// 初始配置
|
// 初始配置
|
||||||
const initialOption = {
|
const initialOption = {
|
||||||
|
@ -1574,13 +1574,6 @@ export default {
|
||||||
const { identify, table } = result
|
const { identify, table } = result
|
||||||
this.selectedTableItem.nuclides = identify
|
this.selectedTableItem.nuclides = identify
|
||||||
this.list = table
|
this.list = table
|
||||||
// 更新自身缓存
|
|
||||||
/** fix:解决删除核素再次打开弹窗还能显示被删除的核素问题 20241128:xiao */
|
|
||||||
updateSampleData({
|
|
||||||
inputFileName: fileName,
|
|
||||||
key: 'peak',
|
|
||||||
data: table,
|
|
||||||
})
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(message)
|
this.$message.error(message)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1109,22 +1109,6 @@ export default {
|
||||||
|
|
||||||
// 查看软件操作帮助文档
|
// 查看软件操作帮助文档
|
||||||
handleHelp() {
|
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;')
|
console.log('%c [ handleHelp ]-221', 'font-size:13px; background:pink; color:#bf2c9f;')
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user