调整操作日志界面

This commit is contained in:
lai
2024-06-24 19:59:11 +08:00
parent 693ed533f9
commit 4c16c39243
3 changed files with 41 additions and 27 deletions

View File

@@ -140,16 +140,6 @@ let tableColumns: ColumnsType = [
align: 'center',
width: 150,
},
{
title: t('views.system.log.operate.operDate'),
dataIndex: 'operTime',
align: 'center',
width: 150,
customRender(opt) {
if (+opt.value <= 0) return '';
return parseDateToStr(+opt.value);
},
},
{
title: t('views.system.log.operate.useTime'),
dataIndex: 'costTime',
@@ -161,9 +151,14 @@ let tableColumns: ColumnsType = [
},
},
{
title: t('common.operate'),
key: 'operId',
align: 'left',
title: t('views.system.log.operate.operDate'),
dataIndex: 'operTime',
align: 'center',
width: 150,
customRender(opt) {
if (+opt.value <= 0) return '';
return parseDateToStr(+opt.value);
},
},
];
@@ -415,7 +410,7 @@ onMounted(() => {
<a-form-item
:label="t('views.system.log.operate.operUser')"
name="operName"
>
>
<a-input
v-model:value="queryParams.operName"
allow-clear
@@ -508,7 +503,6 @@ onMounted(() => {
<a-button
type="dashed"
@click.prevent="fnExportList()"
v-perms:has="['system:log:operate:export']"
>
<template #icon><ExportOutlined /></template>
{{ t('common.export') }}