调整操作日志界面
This commit is contained in:
@@ -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') }}
|
||||
|
||||
Reference in New Issue
Block a user