Ver código fonte

[Fix 0000]操作记录明细查询优化

bobo04052021@163.com 3 semanas atrás
pai
commit
fccb4bd940

+ 17 - 2
src/views/vent/monitorManager/comment/HandlerHistoryTable.vue

@@ -10,7 +10,7 @@
           :loading="innerLoadingMap[record.groupcode]"
           row-key="id"
         >
-          <template #bodyCell="{ column }"> </template>
+          <template #bodyCell="{ column }">{{ record[column.key] ?? '--' }}</template>
         </a-table>
       </template>
     </BasicTable>
@@ -66,27 +66,42 @@ const innerColumns = ref([
     title: '设备名称',
     dataIndex: 'devicename',
     key: 'devicename',
+    width: 180,
+    align: 'center',
   },
   {
     title: '用户',
     dataIndex: 'realname',
     key: 'realname',
+    width: 180,
+    align: 'center',
   },
   {
     title: '操作记录',
     dataIndex: 'strremark',
     key: 'strremark',
+    width: 180,
+    align: 'center',
+  },
+  {
+    title: '操作明细',
+    dataIndex: 'content',
+    key: 'content',
+    align: 'center',
   },
-
   {
     title: 'IP',
     dataIndex: 'ip',
     key: 'ip',
+    width: 180,
+    align: 'center',
   },
   {
     title: '操作时间',
     dataIndex: 'createTime',
     key: 'createTime',
+    width: 180,
+    align: 'center',
   },
 ]);
 // 展开行相关