beta 增加initValue接口的调用
This commit is contained in:
parent
f849f07dd4
commit
5797dfc529
|
@ -471,7 +471,7 @@ export default {
|
||||||
this.params_toDB.checkDet = val.checkDet
|
this.params_toDB.checkDet = val.checkDet
|
||||||
},
|
},
|
||||||
getXeData(val) {
|
getXeData(val) {
|
||||||
if(val && val.length) {
|
if (val && val.length) {
|
||||||
this.$set(this.analyseCurrentSpectrumData, 'XeData', val)
|
this.$set(this.analyseCurrentSpectrumData, 'XeData', val)
|
||||||
this.resultDisplayFlag = val
|
this.resultDisplayFlag = val
|
||||||
}
|
}
|
||||||
|
@ -530,6 +530,22 @@ export default {
|
||||||
}
|
}
|
||||||
getAction('/gamma/initValue', params)
|
getAction('/gamma/initValue', params)
|
||||||
})
|
})
|
||||||
|
willAddList
|
||||||
|
.filter(({ sampleType, inputFileName }) => sampleType == 'B' && inputFileName !== this.sampleData.inputFileName)
|
||||||
|
.forEach(
|
||||||
|
({ inputFileName: sampleFileName, gasFileName, detFileName, qcFileName, dbName, sampleId, analyst }) => {
|
||||||
|
const params = {
|
||||||
|
sampleId,
|
||||||
|
dbName,
|
||||||
|
analyst,
|
||||||
|
sampleFileName,
|
||||||
|
gasFileName,
|
||||||
|
detFileName,
|
||||||
|
qcFileName,
|
||||||
|
}
|
||||||
|
getAction('/spectrumAnalysis/initValue', params)
|
||||||
|
}
|
||||||
|
)
|
||||||
},
|
},
|
||||||
|
|
||||||
// 加载选中的样本
|
// 加载选中的样本
|
||||||
|
@ -591,7 +607,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.isBetaGamma) {
|
if (this.isBetaGamma) {
|
||||||
if(!this.isReAnalyed_beta) {
|
if (!this.isReAnalyed_beta) {
|
||||||
this.$message.warning('Please analyze the spectrum first!')
|
this.$message.warning('Please analyze the spectrum first!')
|
||||||
this.isSaving = false
|
this.isSaving = false
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user