소스 검색

调整代办任务的优先级

Lijy 2 년 전
부모
커밋
62b7602508
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      fhKeeper/formulahousekeeper/timesheet/src/views/task/list.vue

+ 3 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/task/list.vue

@@ -105,7 +105,9 @@
                     <el-table-column prop="taskLevel" label="优先级" sortable width="180">
                         <template slot-scope="scope">
                             <div>
-                                {{scope.row.taskLevel == 0 ? '一般' : scope.row.taskLevel == 1 ? '重要' : '紧急'}}
+                                <span v-if="scope.row.taskLevel == 0">一般</span>
+                                <span v-if="scope.row.taskLevel == 1" style="color: #E6A23C">重要</span>
+                                <span v-if="scope.row.taskLevel == 2" style="color: #F56C6C">紧急</span>
                             </div>
                         </template>
                     </el-table-column>