|
@@ -217,6 +217,7 @@ const getfileNodeData = async () => {
|
|
|
size: filesearchFormPage.value.size,
|
|
|
startTime: filesearchFormPage.value.startTime,
|
|
|
endTime: filesearchFormPage.value.lastTime,
|
|
|
+ qualityTestPKeyId: isPrimaryKeyId.value,
|
|
|
})
|
|
|
} else {
|
|
|
// 调用第三方报告接口
|
|
@@ -228,6 +229,7 @@ const getfileNodeData = async () => {
|
|
|
startTime: filesearchFormPage.value.startTime,
|
|
|
endTime: filesearchFormPage.value.lastTime,
|
|
|
type: fileModalradio.value,
|
|
|
+ qualityTestPKeyId: isPrimaryKeyId.value,
|
|
|
|
|
|
})
|
|
|
}
|
|
@@ -285,11 +287,11 @@ const savesubmitRelationFile = async (ids) => {
|
|
|
const { error, code, data, msg } = await samplingApi.submitRelationFile({
|
|
|
projectId: projectId.value,
|
|
|
contractId: contractId.value,
|
|
|
- nodeId: filenodeDataInfo.value?.pkeyId,
|
|
|
+ nodeId: isPrimaryKeyId.value,
|
|
|
type: fileModalradio.value === 'test' ? 11 : fileModalradio.value === 1 ? 12 : 13,
|
|
|
ids,
|
|
|
- qualityTestPKeyld:isPrimaryKeyId.value,
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
})
|
|
|
if (!error && code === 200) {
|
|
|
window?.$message?.success('操作成功')
|