gamma 重分析接口增加processKey参数

This commit is contained in:
任珮宇 2023-11-15 19:23:06 +08:00
parent 006ae8fc22
commit c1270be5c2
2 changed files with 5 additions and 2 deletions

View File

@ -1528,7 +1528,9 @@ export default {
try {
this.isLoading = true
const { inputFileName: fileName } = this.sample
const { success, result, message } = await postAction(`/gamma/Reprocessing?fileName=${fileName}`)
const { success, result, message } = await postAction(
`/gamma/Reprocessing?fileName=${fileName}&processKey=userId_${Date.now()}`
)
if (success) {
this.isReAnalyed = true
this.bAnalyed = result.bAnalyed

View File

@ -517,6 +517,7 @@ export default {
* @param {Array<any>} willAddList
*/
callInitValue(willAddList) {
console.log('willAddListwillAddList', willAddList)
willAddList
.filter(
({ sampleType, inputFileName }) => sampleType !== 'B' && inputFileName !== this.sampleData.inputFileName
@ -537,7 +538,7 @@ export default {
const params = {
sampleId,
dbName,
analyst,
analyst: analyst ? analyst : null,
sampleFileName,
gasFileName,
detFileName,