From 089bf5d2378b3c4a61d795b2a92bede2c193b771 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 06 Jan 2026 11:22:58 +0800
Subject: [PATCH] 1

---
 src/crud/sys/log.js |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/src/crud/sys/log.js b/src/crud/sys/log.js
new file mode 100644
index 0000000..e9d3081
--- /dev/null
+++ b/src/crud/sys/log.js
@@ -0,0 +1,47 @@
+export const tableOption = {
+  searchMenuSpan: 6,
+  columnBtn: false,
+  border: true,
+  menu: false, // 移除操作栏
+  selection: true,
+  index: false,
+  indexLabel: '序号',
+  stripe: true,
+  menuAlign: 'center',
+  menuWidth: 350,
+  align: 'center',
+  refreshBtn: true,
+  searchSize: 'mini',
+  addBtn: false,
+  editBtn: false,
+  delBtn: false,
+  viewBtn: false,
+  props: {
+    label: 'label',
+    value: 'value'
+  },
+  column: [{
+    label: '用户名',
+    prop: 'username',
+    search: true
+  }, {
+    label: '用户操作',
+    prop: 'operation',
+    search: true
+  }, {
+    label: '请求方法',
+    prop: 'method'
+  }, {
+    label: '请求参数',
+    prop: 'params'
+  }, {
+    label: '执行时长(毫秒)',
+    prop: 'time'
+  }, {
+    label: 'IP地址',
+    prop: 'ip'
+  }, {
+    label: '创建时间',
+    prop: 'createDate'
+  }]
+}

--
Gitblit v1.9.3