duy 6 天之前
父节点
当前提交
fe5c5f8e7c
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      src/views/data-fill/collapse-form/test-file-cy.vue

+ 5 - 3
src/views/data-fill/collapse-form/test-file-cy.vue

@@ -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('操作成功')