diff --git a/src/utils/api/index.js b/src/utils/api/index.js index cd5d3b2..e4e6ded 100644 --- a/src/utils/api/index.js +++ b/src/utils/api/index.js @@ -114,6 +114,14 @@ export function getHistoryList(data) { data, }); } +//设置告警可信度 +export function updateAlarmTypeList(data) { + return request({ + url: "/api/updateAlarmTypeList", + method: "post", + data, + }); +} //历史图片 //获取电压-线路-杆塔等信息 diff --git a/src/views/components/carouselChart.vue b/src/views/components/carouselChart.vue index 1373718..edc7c0b 100644 --- a/src/views/components/carouselChart.vue +++ b/src/views/components/carouselChart.vue @@ -133,7 +133,13 @@ {{ $moment(item.recvTime).format("HH:mm:ss") }} ) - --{{ item.channelName }} + --{{ + item.alias !== null && item.alias !== "" + ? item.alias + : item.channelName + }}