cloudroam
2025-03-28 cef2bb0eeeb91a22860cf5d23c7348af1ba921dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<template>
  <el-bus-crud ref="crud" v-bind="tableConfig" />
</template>
 
<script>
export default {
  data() {
    return {
      tableConfig: {
        url: 'flower/api/operationRecord/list',
        dialogNeedRequest: true,
        persistSelection: true,
        hasOperation: false,
        hasNew: false,
        columns: [
          { label: '页面', prop: 'moduleName' },
          { label: '动作', prop: 'function' },
          { label: '操作人', prop: 'createName' },
          { label: '操作时间', prop: 'createTime' },
          { label: 'IP地址', prop: 'ipAddress' },
          { label: '操作内容', prop: 'content' },
        ],
        searchForm: [
          {
            type: 'row',
            items: [
              {
                label: '页面',
                id: 'module',
                type: 'bus-select-dict',
                el: {
                  code: 'OPERATION_RECORD_MODULE',
                  style: 'width:100%',
                },
              },
              { label: '动作', id: 'function', type: 'input' },
              { label: '操作人', id: 'createName', type: 'input' },
              { label: '操作内容', id: 'content', type: 'input', width: 500 },
              {
                label: '创建日期',
                id: 'createDateBeginStr',
                component: 'el-bus-date-range',
                commonFormat: true,
                commonFormatProps: ['createDateBeginStr', 'createDateEndStr'],
                customClass: 'in-bus-form',
              },
            ],
          },
        ],
        form: [],
        extraButtons: [],
        headerButtons: [],
      },
    }
  },
  head() {
    return {
      title: '操作日志',
    }
  },
}
</script>
 
<style lang="scss" scoped>
::v-deep {
  .el-upload {
    &-list__item {
      width: 345px;
      height: 128px;
    }
    &.el-upload--picture-card {
      width: 345px;
      height: 128px;
    }
  }
}
</style>