Analysis Monitor 模块 Alarm History 表格字段取值调整

This commit is contained in:
任珮宇 2023-12-11 15:59:56 +08:00
parent 15f46b20ad
commit 5cc3e24d8c

View File

@ -12,22 +12,22 @@
:pagination="false" :pagination="false"
@rowDbclick="rowClick" @rowDbclick="rowClick"
> >
<template slot="stationList" slot-scope="{ text }"> <!-- <template slot="stationList" slot-scope="{ text }">
<a-tooltip placement="topLeft"> <a-tooltip placement="topLeft">
<template slot="title"> <template slot="title">
{{ text.join('、') }} {{ text.join('、') }}
</template> </template>
{{ text.join('、') }} {{ text.join('、') }}
</a-tooltip> </a-tooltip>
</template> </template> -->
<template slot="sourceList" slot-scope="{ text }"> <!-- <template slot="sourceList" slot-scope="{ text }">
<a-tooltip placement="topLeft"> <a-tooltip placement="topLeft">
<template slot="title"> <template slot="title">
{{ text.join('、') }} {{ text.join('、') }}
</template> </template>
{{ text.join('、') }} {{ text.join('、') }}
</a-tooltip> </a-tooltip>
</template> </template> -->
<template slot="info" slot-scope="{ text, record }"> <template slot="info" slot-scope="{ text, record }">
<a-popover <a-popover
trigger="hover" trigger="hover"
@ -211,12 +211,12 @@ const columns = [
{ {
title: 'STATION CODE', title: 'STATION CODE',
align: 'center', align: 'center',
dataIndex: 'stationList', dataIndex: 'stationCode',
width: 160, width: 160,
ellipsis: true, ellipsis: true,
scopedSlots: { // scopedSlots: {
customRender: 'stationList', // customRender: 'stationList',
}, // },
}, },
{ {
title: 'COLLECTION START', title: 'COLLECTION START',
@ -233,12 +233,12 @@ const columns = [
{ {
title: 'DATA SOURCE ', title: 'DATA SOURCE ',
align: 'center', align: 'center',
dataIndex: 'sourceList', dataIndex: 'datasource',
width: 180, width: 180,
ellipsis: true, ellipsis: true,
scopedSlots: { // scopedSlots: {
customRender: 'sourceList', // customRender: 'sourceList',
}, // },
}, },
{ {
title: 'ALARM INFO', title: 'ALARM INFO',