调整操作日志界面
This commit is contained in:
@@ -1808,7 +1808,7 @@ export default {
|
|||||||
requestMe:'Request Method',
|
requestMe:'Request Method',
|
||||||
host:'Request Host',
|
host:'Request Host',
|
||||||
operStatus:'Status',
|
operStatus:'Status',
|
||||||
operDate:'Time',
|
operDate:'Time Stamp',
|
||||||
useTime:'Time Lap',
|
useTime:'Time Lap',
|
||||||
logInfo:'Operation Log Information',
|
logInfo:'Operation Log Information',
|
||||||
delSure:'Are you sure to delete the data item with access number [{ids}]?',
|
delSure:'Are you sure to delete the data item with access number [{ids}]?',
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ let queryParams = reactive({
|
|||||||
title: '',
|
title: '',
|
||||||
/**操作人员 */
|
/**操作人员 */
|
||||||
operName: '',
|
operName: '',
|
||||||
|
/**租户名称 */
|
||||||
|
tenantName: '',
|
||||||
/**业务类型 */
|
/**业务类型 */
|
||||||
businessType: undefined,
|
businessType: undefined,
|
||||||
/**操作状态 */
|
/**操作状态 */
|
||||||
@@ -58,6 +60,7 @@ function fnQueryReset() {
|
|||||||
queryParams = Object.assign(queryParams, {
|
queryParams = Object.assign(queryParams, {
|
||||||
title: '',
|
title: '',
|
||||||
operName: '',
|
operName: '',
|
||||||
|
tenantName: '',
|
||||||
businessType: undefined,
|
businessType: undefined,
|
||||||
status: undefined,
|
status: undefined,
|
||||||
beginTime: '',
|
beginTime: '',
|
||||||
@@ -121,6 +124,11 @@ let tableColumns: ColumnsType = [
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
width: 120,
|
width: 120,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: t('views.neUser.sub.tenantName'),
|
||||||
|
dataIndex: 'tenantName',
|
||||||
|
align: 'left',
|
||||||
|
},
|
||||||
// {
|
// {
|
||||||
// title: t('views.system.log.operate.requestMe'),
|
// title: t('views.system.log.operate.requestMe'),
|
||||||
// dataIndex: 'requestMethod',
|
// dataIndex: 'requestMethod',
|
||||||
@@ -140,16 +148,6 @@ let tableColumns: ColumnsType = [
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
width: 150,
|
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'),
|
title: t('views.system.log.operate.useTime'),
|
||||||
dataIndex: 'costTime',
|
dataIndex: 'costTime',
|
||||||
@@ -160,6 +158,17 @@ let tableColumns: ColumnsType = [
|
|||||||
return `${opt.value} ms`;
|
return `${opt.value} ms`;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
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('common.operate'),
|
title: t('common.operate'),
|
||||||
key: 'operId',
|
key: 'operId',
|
||||||
@@ -448,6 +457,17 @@ onMounted(() => {
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :lg="8" :md="12" :xs="24">
|
||||||
|
<a-form-item
|
||||||
|
:label="t('views.neUser.sub.tenantName')"
|
||||||
|
name="tenantName "
|
||||||
|
>
|
||||||
|
<a-input
|
||||||
|
v-model:value="queryParams.tenantName"
|
||||||
|
allow-clear
|
||||||
|
></a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
<a-col :lg="8" :md="12" :xs="24">
|
<a-col :lg="8" :md="12" :xs="24">
|
||||||
<a-form-item
|
<a-form-item
|
||||||
:label="t('views.system.log.operate.operTime')"
|
:label="t('views.system.log.operate.operTime')"
|
||||||
|
|||||||
@@ -140,16 +140,6 @@ let tableColumns: ColumnsType = [
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
width: 150,
|
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'),
|
title: t('views.system.log.operate.useTime'),
|
||||||
dataIndex: 'costTime',
|
dataIndex: 'costTime',
|
||||||
@@ -161,9 +151,14 @@ let tableColumns: ColumnsType = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('common.operate'),
|
title: t('views.system.log.operate.operDate'),
|
||||||
key: 'operId',
|
dataIndex: 'operTime',
|
||||||
align: 'left',
|
align: 'center',
|
||||||
|
width: 150,
|
||||||
|
customRender(opt) {
|
||||||
|
if (+opt.value <= 0) return '';
|
||||||
|
return parseDateToStr(+opt.value);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -508,7 +503,6 @@ onMounted(() => {
|
|||||||
<a-button
|
<a-button
|
||||||
type="dashed"
|
type="dashed"
|
||||||
@click.prevent="fnExportList()"
|
@click.prevent="fnExportList()"
|
||||||
v-perms:has="['system:log:operate:export']"
|
|
||||||
>
|
>
|
||||||
<template #icon><ExportOutlined /></template>
|
<template #icon><ExportOutlined /></template>
|
||||||
{{ t('common.export') }}
|
{{ t('common.export') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user