From c0c0ca8668823e3584855bc0865f229014911973 Mon Sep 17 00:00:00 2001
From: 赵士淞 <zhaoss@yhzhg.cn>
Date: Mon, 16 Jan 2023 05:21:32 +0000
Subject: [PATCH] 修复
---
eladmin-web-master/src/views/task/taskUser/index.vue | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/eladmin-web-master/src/views/task/taskUser/index.vue b/eladmin-web-master/src/views/task/taskUser/index.vue
index 1e006fc..6b6f403 100644
--- a/eladmin-web-master/src/views/task/taskUser/index.vue
+++ b/eladmin-web-master/src/views/task/taskUser/index.vue
@@ -130,13 +130,26 @@
</el-table-column>
<el-table-column :show-overflow-tooltip="true" prop="taskStartDate" label="任务开始时间" width="140" />
<el-table-column :show-overflow-tooltip="true" prop="taskEndDate" label="任务结束时间" width="140" />
- <el-table-column :show-overflow-tooltip="true" prop="taskHours" label="任务工时" width="80" />
- <el-table-column :show-overflow-tooltip="true" prop="taskWorkload" label="任务工作量" width="80" />
+ <el-table-column :show-overflow-tooltip="true" label="消耗 / 任务工时" width="110">
+ <template slot-scope="scope">
+ {{ scope.row.consumedHours }} / {{ scope.row.taskHours }}
+ </template>
+ </el-table-column>
+ <el-table-column :show-overflow-tooltip="true" label="消耗 / 任务工作量" width="120">
+ <template slot-scope="scope">
+ {{ scope.row.consumedWorkload }} / {{ scope.row.taskWorkload == null || scope.row.taskWorkload == '' ? 0 : scope.row.taskWorkload }}
+ </template>
+ </el-table-column>
<el-table-column :show-overflow-tooltip="true" prop="taskWorkloadUnit" label="任务工作量单位" width="110">
<template slot-scope="scope">
<el-tag v-if="scope.row.taskWorkloadUnit != null && scope.row.taskWorkloadUnit != ''">{{ dict.label[standardWorkloadUnit][scope.row.taskWorkloadUnit] }}</el-tag>
</template>
</el-table-column>
+ <el-table-column :show-overflow-tooltip="true" prop="taskProgress" label="任务进度" width="80">
+ <template slot-scope="scope">
+ {{ scope.row.taskProgress }}%
+ </template>
+ </el-table-column>
<el-table-column :show-overflow-tooltip="true" prop="taskStatus" label="任务状态" width="80">
<template slot-scope="scope">
<el-tag>{{ dict.label[taskStatus][scope.row.taskStatus] }}</el-tag>
--
Gitblit v1.9.3