处理beta 重新分析失败,savedAnalysisResult 字段未更新的问题
This commit is contained in:
parent
70850880ef
commit
878212006a
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user