beta 模块中 Energy Calibration 弹窗中点击重新分析,打不开view RRR 弹窗

This commit is contained in:
任珮宇 2023-11-10 11:59:25 +08:00
parent cc64c389f3
commit 0984cfcd5c
3 changed files with 4 additions and 5 deletions

View File

@ -225,11 +225,11 @@ export default {
}
},
created() {
this.$bus.$on('ReAnalyse', this.redrawRect)
this.$bus.$on('ReAnalyses', this.redrawRect)
},
destroyed() {
this.cancelLastRequest()
this.$bus.$off('ReAnalyse', this.redrawRect)
this.$bus.$off('ReAnalyses', this.redrawRect)
},
methods: {
//
@ -372,7 +372,6 @@ export default {
XeData, // Result Display
savedAnalysisResult,
} = this.sampleDetail
this.spectrumData = spectrumData
this.histogramDataList = histogramDataList

View File

@ -151,7 +151,7 @@ export default {
this.$message.success('Analyse Success!')
this.isReanlyze = true
this.handleExit()
this.$bus.$emit('ReAnalyse', res.result)
this.$bus.$emit('ReAnalyses', res.result)
} else {
this.$message.warning(res.message)
}

View File

@ -461,7 +461,7 @@ export default {
}
this.resultDisplayFlag = arg
this.params_toDB.stationName = val
this.isReAnalyed_beta = flag
this.isReAnalyed_beta = this.isReAnalyed_beta ? this.isReAnalyed_beta : flag
},
getCheckFlag(val) {
this.params_toDB.checkSample = val.checkSample