vue3【operatelog】:1)测试操作日志;2)调整 table 的展示列

This commit is contained in:
YunaiV 2022-11-16 09:47:15 +08:00
parent f894085cbd
commit 7983b8d22f
2 changed files with 7 additions and 3 deletions

View File

@ -74,6 +74,7 @@ const handleDetail = (row: OperateLogApi.OperateLogVO) => {
//
const handleExport = async () => {
// TODO await
exportList(xGrid, '岗位列表.xls')
}
</script>

View File

@ -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: '操作日期',