|
@ -146,7 +146,7 @@ export const equipmentAlarmTableConfig = ( |
|
|
dynamicParams: ['uuid', 'appealType'], |
|
|
dynamicParams: ['uuid', 'appealType'], |
|
|
confirm: true, |
|
|
confirm: true, |
|
|
handle: (data: any) => { |
|
|
handle: (data: any) => { |
|
|
http.post(deviceAlarms.del, { id: data.id }).then(() => { |
|
|
http.post(deviceAlarms.del, { id: data.id, orgId: data.orgId }).then(() => { |
|
|
NsMessage.success('告警删除成功'); |
|
|
NsMessage.success('告警删除成功'); |
|
|
mainRefEquipmentAlarm.value?.nsTableRef.reload(); |
|
|
mainRefEquipmentAlarm.value?.nsTableRef.reload(); |
|
|
mainRef.value?.nsTableRef.reload(); |
|
|
mainRef.value?.nsTableRef.reload(); |
|
|