Browse Source

操作记录

CzRger 1 year ago
parent
commit
dac0152a3d
1 changed files with 12 additions and 6 deletions
  1. 12 6
      src/views/system/operation-records/index.vue

+ 12 - 6
src/views/system/operation-records/index.vue

@@ -60,6 +60,12 @@
               v-model:selected="selected"
               @handlePage="handlePage"
           >
+            <template #operModule-column-value="{ scope }">
+              {{$store.state.dictionary.operModuleMap.get(scope.row.operModule)}}
+            </template>
+            <template #operType-column-value="{ scope }">
+              {{$store.state.dictionary.operTypeMap.get(scope.row.operType)}}
+            </template>
           </CusTable>
         </template>
       </CusContent>
@@ -114,14 +120,14 @@ export default defineComponent({
       back_queryForm: {},
       //  表格表头
       tableHead: [
-        {value: "p1", label: "操作人", show: true},
-        {value: "p1", label: "操作人单位", show: true},
-        {value: "p1", label: "设备IP", show: true},
-        {value: "p1", label: "操作模块", show: true},
-        {value: "p1", label: "操作类型", show: true},
+        {value: "operName", label: "操作人", show: true},
+        {value: "deptName", label: "操作人单位", show: true},
+        {value: "operIp", label: "设备IP", show: true},
+        {value: "operModule", label: "操作模块", show: true},
+        {value: "operType", label: "操作类型", show: true},
         // {value: "p1", label: "操作对象", show: true},
         // {value: "p1", label: "操作详情", show: true},
-        {value: "p1", label: "操作时间", show: true},
+        {value: "operTime", label: "操作时间", show: true},
       ],
       selected: []
     });