Merge branch 'feature-analysis-RLR-renpy' of http://git.hivekion.com:3000/xiaoguangbin/AnalysisSystemForRadionuclide_vue into master-dev
This commit is contained in:
commit
8f7f5a7ba4
|
@ -25,7 +25,7 @@ export default {
|
||||||
async getDetail() {
|
async getDetail() {
|
||||||
try {
|
try {
|
||||||
this.isLoading = true
|
this.isLoading = true
|
||||||
const { dbName, sampleId, sampleFileName, gasFileName, detFileName, qcFileName } = this.newSampleData
|
const { dbName, sampleId, inputFileName: sampleFileName, gasFileName, detFileName, qcFileName } = this.newSampleData
|
||||||
const result = await getAction('/spectrumAnalysis/viewBGLogViewer', {
|
const result = await getAction('/spectrumAnalysis/viewBGLogViewer', {
|
||||||
dbName,
|
dbName,
|
||||||
sampleId,
|
sampleId,
|
||||||
|
@ -34,7 +34,16 @@ export default {
|
||||||
detFileName,
|
detFileName,
|
||||||
qcFileName,
|
qcFileName,
|
||||||
})
|
})
|
||||||
|
if(typeof result == 'string') {
|
||||||
this.content = result
|
this.content = result
|
||||||
|
} else {
|
||||||
|
const { success, result, message } = res
|
||||||
|
if (success) {
|
||||||
|
this.content = result
|
||||||
|
} else {
|
||||||
|
this.$message.error(message)
|
||||||
|
}
|
||||||
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
} finally {
|
} finally {
|
||||||
|
|
|
@ -1303,7 +1303,9 @@ export default {
|
||||||
title: 'BG log viewer',
|
title: 'BG log viewer',
|
||||||
show: this.isBetaGamma,
|
show: this.isBetaGamma,
|
||||||
handler: () => {
|
handler: () => {
|
||||||
|
if(this.params_toDB.savedAnalysisResult) {
|
||||||
this.bgLogViewerVisible = true
|
this.bgLogViewerVisible = true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user