fix: bug#29936、29965
This commit is contained in:
parent
4628507e65
commit
29930066d5
|
@ -15,7 +15,7 @@
|
||||||
<template v-if="column.dataIndex === 'sourceName'">
|
<template v-if="column.dataIndex === 'sourceName'">
|
||||||
<Ellipsis>
|
<Ellipsis>
|
||||||
设备名称:
|
设备名称:
|
||||||
<span class="deviceId" @click="() => gotoDevice(text)">{{
|
<span class="deviceId" @click="() => gotoDevice(record.targetId)">{{
|
||||||
text
|
text
|
||||||
}}</span></Ellipsis
|
}}</span></Ellipsis
|
||||||
>
|
>
|
||||||
|
|
|
@ -494,7 +494,7 @@ const onDelete = () => {
|
||||||
|
|
||||||
const getAlarmOptions = () => {
|
const getAlarmOptions = () => {
|
||||||
const actionId = formModel.value.branches![props.branchName].then[props.thenName]
|
const actionId = formModel.value.branches![props.branchName].then[props.thenName]
|
||||||
.actions[props.name].actionId
|
.actions[props.actionName].actionId
|
||||||
const branchId = formModel.value.branches![props.branchName].branchId
|
const branchId = formModel.value.branches![props.branchName].branchId
|
||||||
const _id = formModel.value.id
|
const _id = formModel.value.id
|
||||||
queryAlarmList({
|
queryAlarmList({
|
||||||
|
@ -528,7 +528,7 @@ const getAlarmOptions = () => {
|
||||||
}
|
}
|
||||||
const subscribe = () => {
|
const subscribe = () => {
|
||||||
const actionId = formModel.value.branches![props.branchName].then[props.thenName]
|
const actionId = formModel.value.branches![props.branchName].then[props.thenName]
|
||||||
.actions[props.name].actionId
|
.actions[props.actionName].actionId
|
||||||
const _key = actionId || formModel.value.branches![props.branchName].branchId
|
const _key = actionId || formModel.value.branches![props.branchName].branchId
|
||||||
EventEmitter.subscribe([`${_key}_alarm`], () => {
|
EventEmitter.subscribe([`${_key}_alarm`], () => {
|
||||||
console.log('subscribe')
|
console.log('subscribe')
|
||||||
|
|
Loading…
Reference in New Issue