mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 01:32:03 +08:00
vue3【operatelog】:1)测试操作日志;2)调整 table 的展示列
This commit is contained in:
parent
f894085cbd
commit
7983b8d22f
@ -74,6 +74,7 @@ const handleDetail = (row: OperateLogApi.OperateLogVO) => {
|
||||
|
||||
// 导出操作
|
||||
const handleExport = async () => {
|
||||
// TODO 星语:缺少 await 噢
|
||||
exportList(xGrid, '岗位列表.xls')
|
||||
}
|
||||
</script>
|
||||
|
@ -25,11 +25,13 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||
},
|
||||
{
|
||||
title: '请求方法名',
|
||||
field: 'requestMethod'
|
||||
field: 'requestMethod',
|
||||
isTable: false
|
||||
},
|
||||
{
|
||||
title: '请求地址',
|
||||
field: 'requestUrl'
|
||||
field: 'requestUrl',
|
||||
isTable: false
|
||||
},
|
||||
{
|
||||
title: '操作人员',
|
||||
@ -57,7 +59,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
|
||||
slots: {
|
||||
default: 'resultCode'
|
||||
}
|
||||
}
|
||||
},
|
||||
isSearch: true // TODO 星语:这里可能有点特殊,不确定好不好处理哈。管理后台返回的是错误码,最终前台展示的是 成功 or 失败,然后筛选页是这样的
|
||||
},
|
||||
{
|
||||
title: '操作日期',
|
||||
|
Loading…
Reference in New Issue
Block a user