处理beta 重新分析失败,savedAnalysisResult 字段未更新的问题

This commit is contained in:
任珮宇 2024-03-15 16:28:12 +08:00
parent 70850880ef
commit 878212006a
3 changed files with 6 additions and 6 deletions

View File

@ -289,7 +289,7 @@ export default {
}
}
this.changeChartByType(this.spectraType)
this.changeChartByType(this.spectraType, result.XeData)
},
handleGetFlag(val, obj) {
@ -401,7 +401,7 @@ export default {
return cancelToken
},
changeChartByType(val) {
changeChartByType(val, data) {
if (val === 'qc' && !this.sampleDetail.qc) {
this.$message.warning('No qc spectrum file!')
} else {
@ -452,7 +452,7 @@ export default {
console.log('this.resultDisplaythis.resultDisplay', this.resultDisplay)
this.resultDisplay = XeData
this.resultDisplay = data ? data : XeData
this.sortResultDisplay()
this.$emit('sendInfo', this.resultDisplay, this.spectrumData.stationCode, savedAnalysisResult)
@ -555,7 +555,7 @@ export default {
item.lc = parseFloat(item.lc.toPrecision(6))
item.mdc = parseFloat(item.mdc.toPrecision(6))
})
this.$emit('reAnalyCurr', true, res.result.XeData)
this.$emit('reAnalyCurr', res.result.savedAnalysisResult, res.result.XeData)
this.handleReAnalyse(res.result)
if (res.result.bProcessed) {
this.$message.success(res.result.message)

View File

@ -153,7 +153,7 @@ export default {
item.mdc = parseFloat(item.mdc.toPrecision(6))
})
this.$emit('sendXeData', res.result.XeData)
this.$emit('reAnalyCurr', true, res.result.XeData)
this.$emit('reAnalyCurr', res.result.savedAnalysisResult, res.result.XeData)
this.isReanlyze = true
this.handleExit()
this.$bus.$emit('ReAnalyses', res.result)

View File

@ -475,7 +475,7 @@ export default {
methods: {
getReAnalyCurr(flag, val) {
this.isReAnalyed_beta = flag
this.params_toDB.savedAnalysisResult = true
this.params_toDB.savedAnalysisResult = flag
this.resultDisplayFlag = val
},
getReAnalyAll(val) {