[後台][緊急應變] 可多選棟別前端程序及api調整串接
This commit is contained in:
parent
08738f1e8f
commit
0bd2d0483d
@ -108,7 +108,7 @@ namespace FrontendWebApi.ApiControllers
|
||||
|
||||
[HttpPost]
|
||||
[Route("api/EmergencyDevice")]
|
||||
public async Task<ActionResult<ApiResult<List<deviceMenu>>>> EmergencyDevice([FromBody] selectdevice selectdevice)
|
||||
public async Task<ActionResult<ApiResult<List<deviceMenu>>>> EmergencyDevice(selectdevice selectdevice)
|
||||
{
|
||||
ApiResult<List<deviceMenu>> apiResult = new ApiResult<List<deviceMenu>>();
|
||||
if (!jwtlife)
|
||||
|
@ -26,9 +26,9 @@
|
||||
<div class="panel-hdr">
|
||||
<div class="col-auto">防災類別</div>
|
||||
<div class="col" id="disaster">防災類別</div>
|
||||
<div class="col-auto">
|
||||
@* <div class="col-auto">
|
||||
<button type="button" class="btn btn-secondary" onclick="OnSimulationExercise('', '',1)">模擬演練</button>
|
||||
</div>
|
||||
</div>*@
|
||||
</div>
|
||||
<div class="panel-hdr">
|
||||
<div class="col-auto">棟別</div>
|
||||
@ -629,7 +629,7 @@
|
||||
"type": "POST",
|
||||
"data": function (d) {
|
||||
d.select_disasters = SelectedFilter.disasters;
|
||||
d.selectbuilding = SelectedFilter.building_tag;
|
||||
d.selectbuilding = SelectedFilter.building_tag != "" ? [SelectedFilter.building_tag] : [];
|
||||
d.select_Floors = SelectedFilter.floor_guids;
|
||||
d.select_Layer3 = SelectedFilter.layer3;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user