Переглянути джерело

fix:三元判断没有添加文字

ly 11 місяців тому
батько
коміт
c5f698c606
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/views/business/production/onceWork/index.vue

+ 1 - 1
src/views/business/production/onceWork/index.vue

@@ -154,7 +154,7 @@
       </el-table-column>
       <el-table-column label="结果情况" align="center" min-width="140">
         <template #default="scope">
-          {{ scope.row.record == null? '' : scope.row.record.status === 7 ?'暂停办理':scope.row.record.status === 5?'终止任务':scope.row.record.status === 1?'办理中':scope.row.record.status === 0?'未开始':'完成任务' }}
+          {{ scope.row.record == null? '未开始' : scope.row.record.status === 7 ?'暂停办理':scope.row.record.status === 5?'终止任务':scope.row.record.status === 1?'办理中':scope.row.record.status === 0?'未开始':'完成任务' }}
 
           <el-button link type="primary" icon="Edit" size="small" style="padding: 0"
                      @click="viewResult(scope.row)" />