فهرست منبع

fix: 修改参数信息

xiaweibo 1 ماه پیش
والد
کامیت
a4874611d7

+ 8 - 2
src/views/production-safety/hiddenTroubleInvestigationAndGovernance/areaCheckPlanManagement/areaCheckPlanManagement.vue

@@ -83,14 +83,20 @@
             </template>
             <template #needOverallDesc="scope">
               <span>{{
-                scope.row.needOverallDesc === true ? '是' : scope.row.needOverallDesc === false ? '否' : '-'
+               scope.row.status === 0 ? '-' : scope.row.needOverallDesc === true ? '是' : scope.row.needOverallDesc === false ? '否' : '-'
               }}</span>
             </template>
             <template #needSigneeSign="scope">
               <span>{{
-                scope.row.needSigneeSign === true ? '是' : scope.row.needSigneeSign === false ? '否' : '-'
+                scope.row.status === 0 ? '-' : scope.row.needSigneeSign === true ? '是' : scope.row.needSigneeSign === false ? '否' : '-'
               }}</span>
             </template>
+            <template #planStartTime="scope">
+              <span>{{ scope.row.planStartTime ?? '-' }}</span>
+            </template>
+            <template #planEndTime="scope">
+              <span>{{ scope.row.planEndTime ?? '-' }}</span>
+            </template>
             <template #action="scope">
               <div class="action-container--div" style="justify-content: left">
                 <!-- 未下发(0):编辑、删除、查看、下发 -->

+ 4 - 4
src/views/production-safety/hiddenTroubleInvestigationAndGovernance/areaCheckPlanManagement/configs/tables.ts

@@ -167,14 +167,14 @@ export const AREA_CHECK_PLAN_TABLE_COLUMNS: TableColumnProps[] = [
   {
     label: '计划开始时间',
     prop: 'planStartTime',
-    align: 'left',
-    minWidth: '160px',
+    minWidth: '240px',
+    slot: 'planStartTime',
   },
   {
     label: '计划结束时间',
     prop: 'planEndTime',
-    align: 'left',
-    minWidth: '160px',
+    minWidth: '240px',
+    slot: 'planEndTime',
   },
   {
     label: '操作',