value
2023-09-21 7b2fffec6f45d2b5d4c827efbeee4a2e21c0adc0
src/components/view/rawInsDetail.vue
@@ -168,7 +168,7 @@
                  <span v-show="scope.row.testState != null" :style="{
                color: scope.row.testState === 1 ? '#67C23A' : '#F56C6C'
              }">{{ scope.row.testState === 1 ? "合格" : "不合格" }}</span>
                  <span v-show="scope.row.testState == null">暂未结论</span>
                  <span v-show="scope.row.testState != null">{{null}}</span>
               </template>
            </el-table-column>
            <el-table-column v-if="detailId !== null" label="操作" width="120">
@@ -231,19 +231,6 @@
            conclusion.uName = [
               ...new Set(this.projectTable.map(item => item.uName))
            ];
            if (
               this.projectTable.filter(item => item.testState === undefined).length ===
               this.projectTable.length
            ) {
               conclusion.testState = null;
               return [conclusion];
            }
            if (this.projectTable.filter(item => item.testState === 0).length > 0) {
               conclusion.testState = 0;
            } else {
               conclusion.testState = 1;
            }
            console.log([conclusion]);
            return [conclusion];
         }
      },