[Webapi]緊急應變電視牆訊號啟動

This commit is contained in:
張家睿 2024-08-19 09:50:13 +08:00
parent 4d99d576aa
commit 9885a73975
2 changed files with 6 additions and 6 deletions

View File

@ -95,7 +95,7 @@
<span aria-hidden="true"><i class="fal fa-times"></i></span>
</button>*@
<div class="position-absolute pos-right mr-sm-3 mt-sm-3 z-index-space">
@*<button type="button" class="btn btn-danger waves-effect waves-themed mr-2" id="Tcp" onclick="SendMessageAsync('D002')">取消上牆</button>*@
<button type="button" class="btn btn-danger waves-effect waves-themed mr-2" id="Tcp" onclick="SendMessageAsync('D002')">取消上牆</button>
<button type="button" class="btn btn-danger waves-effect waves-themed" id="closemodal" onclick="Closemodal()">關閉流程</button>
</div>
<div class="modal-body bg-white">
@ -755,7 +755,7 @@
selected_device_time = $(this).parents('tr').attr('data-time');
OnSimulationExercise(selected_device_guid, selected_device_disaster, 0, selected_device_time);
// SendMessageAsync("D001");
SendMessageAsync("D001");
});
//#endregion
@ -1952,7 +1952,7 @@
CloseVerify = true;
$('#emergency-verify-modal').modal('hide');
$('#SimulationExercisemodal').modal('hide');
// SendMessageAsync("D002");
SendMessageAsync("D002");
UpdateRecordFinishTime()
CloseVerify = false; // 每次關閉流程都要驗證一次
} else {

View File

@ -122,7 +122,7 @@
<span aria-hidden="true"><i class="fal fa-times"></i></span>
</button>*@
<div class="position-absolute pos-right mr-sm-3 mt-sm-3 z-index-space">
@*<button type="button" class="btn btn-danger waves-effect waves-themed mr-2" id="Tcp" onclick="SendMessageAsync('D002')">取消上牆</button>*@
<button type="button" class="btn btn-danger waves-effect waves-themed mr-2" id="Tcp" onclick="SendMessageAsync('D002')">取消上牆</button>
<button type="button" class="btn btn-danger waves-effect waves-themed" id="closemodal" onclick="Closemodal()">關閉流程</button>
</div>
<div class="modal-body bg-white">
@ -860,7 +860,7 @@
SimulationExerciseGuid = selected_event_guid;
OnSimulationExercise(selected_event_guid, selected_device_disaster, 0);
// SendMessageAsync("D001");
SendMessageAsync("D001");
});
//#endregion
//#region 模擬演練 / SOP 開啟畫面
@ -1385,7 +1385,7 @@
CloseVerify = true;
$('#emergency-verify-modal').modal('hide');
$('#SimulationExercisemodal').modal('hide');
// SendMessageAsync("D002");
SendMessageAsync("D002");
UpdateRecordFinishTime(function () {
EmergencyEventTable.ajax.reload();
});