Parcourir la source

fix: 修改参数信息

xiaweibo il y a 1 mois
Parent
commit
617c6183a0

+ 7 - 1
src/views/production-safety/hiddenTroubleInvestigationAndGovernance/oneByOneManagement/configs/tables.ts

@@ -38,7 +38,7 @@ export const DRAW_LESSONS_TABLE_COLUMNS: TableColumnProps[] = [
     minWidth: '100px',
   },
   {
-    label: '部门名称',
+    label: '责任部门',
     prop: 'associationOtObligationDeptName',
     align: 'left',
     minWidth: '140px',
@@ -121,6 +121,12 @@ export const DRAW_LESSONS_TABLE_COLUMNS_TOW: TableColumnProps[] = [
     align: 'left',
     minWidth: '140px',
     showOverflowTooltip: true,
+  },{
+    label: '责任人',
+    prop: 'deptUserByName',
+    align: 'left',
+    minWidth: '140px',
+    showOverflowTooltip: true,
   },
   {
     label: '举一反三要求',

+ 8 - 3
src/views/production-safety/hiddenTroubleInvestigationAndGovernance/oneByOneManagement/oneByOneManagement.vue

@@ -69,13 +69,15 @@
             @update:pageNumber="handleCurrentChange"
           >
             <template #status="scope">
-              <span>{{ scope.row.statusName || '0' }}</span>
+              <span>{{ scope.row.statusName || '-' }}</span>
             </template>
             <template #issueCount="scope">
-              <span>{{ scope.row.issueCount || '0' }}</span>
+              <span v-if="scope.row.statusId == 2">-</span>
+              <span v-else> {{ scope.row.issueCount || '0' }}</span>
             </template>
             <template #feedbackCount="scope">
-              <span>{{ scope.row.feedbackCount || '0' }}</span>
+              <span v-if="scope.row.statusId == 2">-</span>
+              <span v-else> {{ scope.row.feedbackCount || '0' }}</span>
             </template>
             <template #feedbackRatio="scope">
               <span>{{ scope.row.feedbackRatio ?? (scope.row.issueCount ? `${scope.row.feedbackCount ?? 0}/${scope.row.issueCount}` : '-') }}</span>
@@ -394,6 +396,9 @@
       name: 'oneByOneManagementItem',
       query: {
         id: String(row.id),
+        problem: row.problem,
+        creatorName: row.creatorName,
+        createdAt: row.createdAt,
         operate: 'one-by-one-notify-target',
       },
     });