Browse Source

fix:修改bug

temp
zhaohy 4 months ago
parent
commit
3841e2afdd
  1. 2
      hx-ai-intelligent/src/view/alarmManagement/alarmSettings/ts/energyAlarmConfig.ts
  2. 2
      hx-ai-intelligent/src/view/alarmManagement/alarmSettings/ts/equipmentAlarmConfig.ts
  3. 1
      hx-ai-intelligent/src/view/equipmentControl/electricDoor/index.vue

2
hx-ai-intelligent/src/view/alarmManagement/alarmSettings/ts/energyAlarmConfig.ts

@ -147,7 +147,7 @@ export const energyAlarmConfigs = (
dynamicParams: ['uuid', 'appealType'],
confirm: true,
handle: (data: any) => {
http.post(energyAlarms.del, { id: data.id }).then(() => {
http.post(energyAlarms.del, { id: data.id, orgId: data.orgId }).then(() => {
NsMessage.success('操作成功');
mainEnergyAlarmConfig.value?.nsTableRef.reload();
mainRef.value?.nsTableRef.reload();

2
hx-ai-intelligent/src/view/alarmManagement/alarmSettings/ts/equipmentAlarmConfig.ts

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

1
hx-ai-intelligent/src/view/equipmentControl/electricDoor/index.vue

@ -78,6 +78,7 @@
@click="
() => {
detailed = !detailed;
tables.pagination.current = 1;
}
">
x

Loading…
Cancel
Save