This commit is contained in:
sjl
2025-01-16 15:43:58 +08:00
parent 55ae64b3e1
commit 87d22032e6
2 changed files with 42 additions and 2 deletions

View File

@@ -219,12 +219,15 @@ const importFile = async (pattern:string) => {
const params = {
title: '被检设备',
showCover: false,
patternId: dictStore.getDictData('Pattern').find(item=>item.name=== modeStore.currentMode)?.id,
tempApi: downloadCNDevTemplate,
importApi: importCNDev,
// importApi: modeStore.currentMode === "比对式"? importContrastPqDev: importCNDev,
getTableList: proTable.value?.getTableList,
}
deviceImportExcel.value?.acceptParams(params)
console.log(params)
}
}