瀏覽代碼

调整代办任务的优先级

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">
                     <el-table-column prop="taskLevel" label="优先级" sortable width="180">
                         <template slot-scope="scope">
                         <template slot-scope="scope">
                             <div>
                             <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>
                             </div>
                         </template>
                         </template>
                     </el-table-column>
                     </el-table-column>