xiaweibo 1 mesiac pred
rodič
commit
1dc11a4280

+ 1 - 2
src/views/production-safety/productionSafetySystem/safetySystemConstructionWorkPlanManagement/configs/tables.ts

@@ -102,8 +102,7 @@ export const WORK_PLAN_TABLE_COLUMNS: TableColumnProps[] = [
   {
     label: '计划完成时间',
     prop: 'plannedEndTime',
-    align: 'left',
-    minWidth: '160px',
+    slot: 'plannedEndTime',
   },
   {
     label: '操作',

+ 3 - 0
src/views/production-safety/productionSafetySystem/safetySystemConstructionWorkPlanManagement/safetySystemConstructionWorkPlanManagement.vue

@@ -131,6 +131,9 @@
             <template #feedbackRatio="scope">
               {{ (scope.row.feedbackRatio === 0 && scope.row.status === 1) ? '-' : scope.row.feedbackRatio+'%' }}
             </template>
+            <template #plannedEndTime="scope">
+                {{ scope.row.status === 1 ? '-' : scope.row.plannedEndTime }}
+            </template>
           </BasicTable>
         </div>
       </div>