数据库直接加载的 以及分析后的 可以保存 不提示那个要先分析的雨具,跟是否勾选核素无关
This commit is contained in:
parent
2bb4937e26
commit
1cdd264d1b
|
@ -232,6 +232,7 @@ export default {
|
||||||
statisticsType: StatisticsType['Collection Time'],
|
statisticsType: StatisticsType['Collection Time'],
|
||||||
currSample: {},
|
currSample: {},
|
||||||
qcFlagsVisible: false,
|
qcFlagsVisible: false,
|
||||||
|
defaultSavedAnalysisResult: null,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -298,12 +299,13 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
handleGetFlag(val, obj) {
|
handleGetFlag(val, obj) {
|
||||||
|
console.log('val, obj', val, obj)
|
||||||
this.resultDisplay.forEach((item) => {
|
this.resultDisplay.forEach((item) => {
|
||||||
if (item.nuclideName === obj.nuclideName) {
|
if (item.nuclideName === obj.nuclideName) {
|
||||||
item.nidFlag = val ? 1 : 0
|
item.nidFlag = val ? 1 : 0
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.$emit('sendInfo', this.resultDisplay, this.spectrumData.stationCode)
|
this.$emit('sendInfo', this.resultDisplay, this.spectrumData.stationCode, this.defaultSavedAnalysisResult)
|
||||||
},
|
},
|
||||||
async getSampleDetail() {
|
async getSampleDetail() {
|
||||||
this.spectraType = this.SampleType[0].value
|
this.spectraType = this.SampleType[0].value
|
||||||
|
@ -442,6 +444,7 @@ export default {
|
||||||
XeData, // 右下角Result Display
|
XeData, // 右下角Result Display
|
||||||
savedAnalysisResult,
|
savedAnalysisResult,
|
||||||
} = this.sampleDetail
|
} = this.sampleDetail
|
||||||
|
this.defaultSavedAnalysisResult = this.sampleDetail.savedAnalysisResult
|
||||||
this.spectrumData = spectrumData
|
this.spectrumData = spectrumData
|
||||||
|
|
||||||
this.histogramDataList = histogramDataList
|
this.histogramDataList = histogramDataList
|
||||||
|
|
Loading…
Reference in New Issue
Block a user