自建台站添加预加载的功能

This commit is contained in:
任珮宇 2024-01-26 16:47:01 +08:00
parent e8ac78034a
commit d794539335

View File

@ -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)
}
)
},
//