Merge branch 'feature-analysis-RLR-renpy' of http://git.hivekion.com:3000/xiaoguangbin/AnalysisSystemForRadionuclide_vue into master-dev
This commit is contained in:
commit
406da1a132
|
@ -609,9 +609,11 @@ export default {
|
||||||
console.error(error)
|
console.error(error)
|
||||||
} finally {
|
} finally {
|
||||||
hideLoading()
|
hideLoading()
|
||||||
this.isSaving = true
|
this.isSaving = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warn('Please Analyse Spectrum First')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSaveResultsToDB_Cuurrent() {
|
handleSaveResultsToDB_Cuurrent() {
|
||||||
|
@ -638,13 +640,15 @@ export default {
|
||||||
postAction('/spectrumAnalysis/saveToDB', this.params_toDB).then((res) => {
|
postAction('/spectrumAnalysis/saveToDB', this.params_toDB).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success('Save Successfully!')
|
this.$message.success('Save Successfully!')
|
||||||
this.isSaving = true
|
this.isSaving = false
|
||||||
} else {
|
} else {
|
||||||
this.isSaving = true
|
this.isSaving = false
|
||||||
this.$message.warning(`${res.message}`)
|
this.$message.warning(`${res.message}`)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warn('Please Analyse Spectrum First')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user