duy 1 month ago
parent
commit
9e83d922cc
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/data-fill/collapse-form/test-file-cy.vue

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

@@ -2,8 +2,8 @@
     <div class="radio-box">
     <div class="radio-box">
         <el-radio-group v-model="fileModalradio" @change="radioChange">
         <el-radio-group v-model="fileModalradio" @change="radioChange">
             <el-radio value="test">试验检测</el-radio>
             <el-radio value="test">试验检测</el-radio>
-            <el-radio :value="0">第三方检测</el-radio>
-            <el-radio :value="1">外委检测</el-radio>
+            <el-radio :value="1">第三方检测</el-radio>
+            <el-radio :value="0">外委检测</el-radio>
         </el-radio-group>
         </el-radio-group>
     </div>
     </div>
     <div class="adding-form-dialog-box">
     <div class="adding-form-dialog-box">
@@ -286,7 +286,7 @@ const savesubmitRelationFile = async (ids) => {
         projectId: projectId.value,
         projectId: projectId.value,
         contractId: contractId.value,
         contractId: contractId.value,
         nodeId: filenodeDataInfo.value?.pkeyId,
         nodeId: filenodeDataInfo.value?.pkeyId,
-        type: fileModalradio.value === 'test' ? 11 : fileModalradio.value === 0 ? 12 : 13,
+        type: fileModalradio.value === 'test' ? 11 : fileModalradio.value === 1 ? 12 : 13,
         ids,
         ids,
         qualityTestPKeyld:isPrimaryKeyId.value,
         qualityTestPKeyld:isPrimaryKeyId.value,