Commit 7983b8d22f5b878e5a1766fa6bb4305dd6fb8f86
1 parent
f894085c
vue3【operatelog】:1)测试操作日志;2)调整 table 的展示列
Showing
2 changed files
with
7 additions
and
3 deletions
yudao-ui-admin-vue3/src/views/system/operatelog/index.vue
yudao-ui-admin-vue3/src/views/system/operatelog/operatelog.data.ts
| ... | ... | @@ -25,11 +25,13 @@ const crudSchemas = reactive<VxeCrudSchema>({ |
| 25 | 25 | }, |
| 26 | 26 | { |
| 27 | 27 | title: '请求方法名', |
| 28 | - field: 'requestMethod' | |
| 28 | + field: 'requestMethod', | |
| 29 | + isTable: false | |
| 29 | 30 | }, |
| 30 | 31 | { |
| 31 | 32 | title: '请求地址', |
| 32 | - field: 'requestUrl' | |
| 33 | + field: 'requestUrl', | |
| 34 | + isTable: false | |
| 33 | 35 | }, |
| 34 | 36 | { |
| 35 | 37 | title: '操作人员', |
| ... | ... | @@ -57,7 +59,8 @@ const crudSchemas = reactive<VxeCrudSchema>({ |
| 57 | 59 | slots: { |
| 58 | 60 | default: 'resultCode' |
| 59 | 61 | } |
| 60 | - } | |
| 62 | + }, | |
| 63 | + isSearch: true // TODO 星语:这里可能有点特殊,不确定好不好处理哈。管理后台返回的是错误码,最终前台展示的是 成功 or 失败,然后筛选页是这样的 | |
| 61 | 64 | }, |
| 62 | 65 | { |
| 63 | 66 | title: '操作日期', | ... | ... |