--日志板块

This commit is contained in:
lai
2023-11-10 18:25:56 +08:00
parent b8190bd640
commit ca4493aaa6
12 changed files with 330 additions and 151 deletions

View File

@@ -81,49 +81,49 @@ let tableColumns: ColumnsType = [
width: 3,
},
{
title: '网元类型',
title: t('views.logManage.forwarding.type'),
dataIndex: 'neType',
align: 'center',
width: 4,
},
{
title: '告警网元标识',
title: t('views.logManage.forwarding.neId'),
dataIndex: 'neId',
align: 'center',
width: 5,
},
{
title: '告警唯一标识',
title: t('views.logManage.forwarding.alarmId'),
dataIndex: 'alarmId',
align: 'center',
width: 5,
},
{
title: '告警流水号',
title: t('views.logManage.forwarding.alarmSeq'),
dataIndex: 'alarmSeq',
align: 'center',
width: 4,
},
{
title: '告警前转对象',
title: t('views.logManage.forwarding.alarmObj'),
dataIndex: 'toUser',
align: 'center',
width: 5,
},
{
title: '告警标题',
title: t('views.logManage.forwarding.alarmTitle'),
dataIndex: 'alarmTitle',
align: 'left',
width: 5,
},
{
title: '告警内容',
title: t('views.logManage.forwarding.alarmInfo'),
dataIndex: 'operResult',
align: 'left',
width: 6,
},
{
title: '告警产生时间',
title: t('views.logManage.forwarding.eventTime'),
dataIndex: 'eventTime',
align: 'center',
customRender(opt) {
@@ -133,7 +133,7 @@ let tableColumns: ColumnsType = [
width: 5,
},
{
title: '记录时间',
title: t('views.logManage.forwarding.logTime'),
dataIndex: 'logTime',
align: 'center',
customRender(opt) {
@@ -223,17 +223,16 @@ onMounted(() => {
<a-form :model="queryParams" name="queryParams" layout="horizontal">
<a-row :gutter="16">
<a-col :lg="6" :md="12" :xs="24">
<a-form-item label="网元类型" name="neType">
<a-form-item :label="t('views.logManage.forwarding.type')" name="neType">
<a-auto-complete
v-model:value="queryParams.neType"
:options="useNeInfoStore().getNeSelectOtions"
allow-clear
placeholder="查询网元类型"
/>
</a-form-item>
</a-col>
<a-col :lg="8" :md="12" :xs="24">
<a-form-item label="记录时间" name="queryRangePicker">
<a-form-item :label="t('views.logManage.forwarding.logTime')" name="queryRangePicker">
<a-range-picker
v-model:value="queryRangePicker"
allow-clear
@@ -241,7 +240,6 @@ onMounted(() => {
show-time
value-format="YYYY-MM-DD HH:mm:ss"
format="YYYY-MM-DD HH:mm:ss"
:placeholder="['记录开始', '记录结束']"
style="width: 100%"
></a-range-picker>
</a-form-item>