自建台站添加预加载的功能
This commit is contained in:
parent
e8ac78034a
commit
d794539335
|
@ -624,6 +624,20 @@ export default {
|
|||
getAction('/spectrumAnalysis/initValue', params)
|
||||
}
|
||||
)
|
||||
willAddList
|
||||
.filter(({ sampleType, inputFileName }) => sampleType == 'C' && inputFileName !== this.sampleData.inputFileName)
|
||||
.forEach(
|
||||
({ inputFileName: sampleFileName, gasFileName, detFileName, qcFileName, dbName, sampleId, analyst }) => {
|
||||
const params = {
|
||||
sampleId,
|
||||
dbName,
|
||||
analyst: analyst ? analyst : null,
|
||||
sampleFileName,
|
||||
detFileName,
|
||||
}
|
||||
getAction('/selfStation/initValue', params)
|
||||
}
|
||||
)
|
||||
},
|
||||
|
||||
// 加载选中的样本
|
||||
|
|
Loading…
Reference in New Issue
Block a user