From 0799f543beca64dd1c6007e18cb8d8388b2fc391 Mon Sep 17 00:00:00 2001
From: yaozc2021 <yaozc@yhzhg.cn>
Date: Fri, 22 Nov 2024 01:29:02 +0000
Subject: [PATCH] update

---
 eladmin-web-master/src/views/project/projectProgress/index.vue |   41 +++++++++++++++--------------------------
 1 files changed, 15 insertions(+), 26 deletions(-)

diff --git a/eladmin-web-master/src/views/project/projectProgress/index.vue b/eladmin-web-master/src/views/project/projectProgress/index.vue
index 871be90..363f3e2 100644
--- a/eladmin-web-master/src/views/project/projectProgress/index.vue
+++ b/eladmin-web-master/src/views/project/projectProgress/index.vue
@@ -99,53 +99,42 @@
         <el-table-column fixed type="selection" width="55px" />
         <el-table-column fixed show-overflow-tooltip prop="belongYear" label="年度" />
         <el-table-column fixed show-overflow-tooltip prop="belongWeek" label="周数" />
-        <el-table-column fixed show-overflow-tooltip prop="projectName" label="所属项目" width="140px">
+        <el-table-column fixed show-overflow-tooltip prop="projectName" label="所属项目" width="200px">
           <template slot-scope="scope">
             <el-tag>{{ scope.row.project.name }}</el-tag>
           </template>
         </el-table-column>
-        <el-table-column show-overflow-tooltip prop="lastedProgress" label="本周预计">
-          <template slot-scope="scope">
-            {{ (scope.row.lastProjectProcess.estimatedProgress ? scope.row.lastProjectProcess.estimatedProgress : 0) + '%' }}
-          </template>
-        </el-table-column>
-        <el-table-column show-overflow-tooltip prop="projectProgress" label="本周实际">
-          <template slot-scope="scope">
-            <span :style="{ color: scope.row.lastedProgress > scope.row.projectProgress ? 'red' : '' }">{{ (scope.row.projectProgress ? scope.row.projectProgress + '%' : '0%') }}</span>
-          </template>
-        </el-table-column>
-        <el-table-column show-overflow-tooltip prop="estimatedProgress" label="下周预计">
-          <template slot-scope="scope">
-            {{ (scope.row.estimatedProgress ? scope.row.estimatedProgress + '%' : '0%') }}
-          </template>
-        </el-table-column>
-        <el-table-column show-overflow-tooltip prop="moneyTotalInit" label="计划总成本" width="140px">
+        <el-table-column show-overflow-tooltip prop="moneyTotalInit" label="入项总成本" width="180px">
           <template slot-scope="scope">
             {{ scope.row.moneyTotalInit != null && scope.row.moneyTotalInit != '' ? crud.toMoney(scope.row.moneyTotalInit) : 0 }}
             ({{ scope.row.lastProjectProcess.moneyTotalInit != null && scope.row.lastProjectProcess.moneyTotalInit != '' ? crud.toMoney(scope.row.moneyTotalInit - scope.row.lastProjectProcess.moneyTotalInit) : crud.toMoney(0) }})
           </template>
         </el-table-column>
-        <el-table-column show-overflow-tooltip prop="moneyTotalCost" label="总消耗成本" width="140px">
+        <el-table-column show-overflow-tooltip prop="moneyTotalCost" label="已分配成本(概算)" width="180px">
           <template slot-scope="scope">
             {{ scope.row.moneyTotalCost != null && scope.row.moneyTotalCost != '' ? crud.toMoney(scope.row.moneyTotalCost) : 0 }}
             ({{ scope.row.lastProjectProcess.moneyTotalCost != null && scope.row.lastProjectProcess.moneyTotalCost != '' ? crud.toMoney(scope.row.moneyTotalCost - scope.row.lastProjectProcess.moneyTotalCost) : crud.toMoney(0) }})
           </template>
         </el-table-column>
-        <el-table-column show-overflow-tooltip prop="realLastCost" label="本周消化工时" width="100px">
+        <el-table-column show-overflow-tooltip prop="moneyRealCost" label="已消耗成本(实际)" width="140px">
           <template slot-scope="scope">
-            {{ scope.row.lastProjectProcess.realLastCost != null ? scope.row.realLastCost - scope.row.lastProjectProcess.realLastCost : scope.row.realLastCost }}
+            {{ scope.row.moneyRealCost != null && scope.row.moneyRealCost != '' ? crud.toMoney(scope.row.moneyRealCost) : 0 }}
           </template>
         </el-table-column>
-        <el-table-column show-overflow-tooltip prop="workTotalInit" label="总工作量" width="100px">
+        <el-table-column show-overflow-tooltip prop="timeTotalInit" label="已分配工时" width="100px">
           <template slot-scope="scope">
-            {{ scope.row.workTotalInit != null && scope.row.workTotalInit != '' ? crud.toMoney(scope.row.workTotalInit) : 0 }}
-            ({{ scope.row.lastProjectProcess.workTotalInit != null && scope.row.lastProjectProcess.workTotalInit != '' ? crud.toMoney(scope.row.workTotalInit - scope.row.lastProjectProcess.workTotalInit) : crud.toMoney(0) }})
+            {{ scope.row.timeTotalInit != null && scope.row.timeTotalInit != '' ? crud.toMoney(scope.row.timeTotalInit) : 0 }}
           </template>
         </el-table-column>
-        <el-table-column show-overflow-tooltip prop="workTotalCost" label="总消耗工作量" width="100px">
+        <el-table-column show-overflow-tooltip prop="timeTotalCost" label="已消耗工时" width="180px">
           <template slot-scope="scope">
-            {{ scope.row.workTotalCost != null && scope.row.workTotalCost != '' ? crud.toMoney(scope.row.workTotalCost) : 0 }}
-            ({{ scope.row.lastProjectProcess.workTotalCost != null && scope.row.lastProjectProcess.workTotalCost != '' ? crud.toMoney(scope.row.workTotalCost - scope.row.lastProjectProcess.workTotalCost) : crud.toMoney(0) }})
+            {{ scope.row.timeTotalCost != null && scope.row.timeTotalCost != '' ? crud.toMoney(scope.row.timeTotalCost) : 0 }}
+            ({{ scope.row.lastProjectProcess.timeTotalCost != null && scope.row.lastProjectProcess.timeTotalCost != '' ? crud.toMoney(scope.row.timeTotalCost - scope.row.lastProjectProcess.timeTotalCost) : crud.toMoney(0) }})
+          </template>
+        </el-table-column>
+        <el-table-column show-overflow-tooltip prop="projectProgress" label="进度">
+          <template slot-scope="scope">
+            <span :style="{ color: scope.row.lastedProgress > scope.row.projectProgress ? 'red' : '' }">{{ (scope.row.projectProgress ? scope.row.projectProgress + '%' : '0%') }}</span>
           </template>
         </el-table-column>
         <el-table-column show-overflow-tooltip prop="approveStatus" label="承认状态">

--
Gitblit v1.9.3