Merge branch 'master' of https://gitea.mjm-staging.developers-homelab.net/BIMS/BIMS
This commit is contained in:
commit
6f80966014
@ -814,7 +814,7 @@
|
||||
if (rel.data.length > 0) {
|
||||
$('#select_building').empty();
|
||||
$.each(rel.data, function (index, val) {
|
||||
$("#select_building").append($("<option />").val(val.building_guid).text(val.full_name));
|
||||
$("#select_building").append($("<option />").val(val.building_tag).text(val.full_name));
|
||||
});
|
||||
//預設查詢第一個
|
||||
$("#select_building").val($("#select_building option:first").val());
|
||||
|
@ -181,7 +181,7 @@ class elevator3D {
|
||||
this.ele = option.element;
|
||||
this.viewer = option.viewer;
|
||||
this.nodeId = option.nodeId;
|
||||
this.speed = option.speed ?? 0.07;
|
||||
this.speed = option.speed ?? 0.18;
|
||||
this.tagValue = option.tagValue ?? "";
|
||||
this.fragProxys = [];
|
||||
this.fragProxy = null;
|
||||
|
@ -412,7 +412,7 @@
|
||||
emergencyContactTable = $("#membertable").DataTable({
|
||||
"columns": [
|
||||
{
|
||||
"data": "name"
|
||||
"data": "full_name"
|
||||
},
|
||||
{
|
||||
"data": "departmentName"
|
||||
@ -1613,9 +1613,9 @@
|
||||
var includeli = "";
|
||||
$.each(rel.data, function (index, val) {
|
||||
if (index == 0) {
|
||||
includeli += '<li class="list-group-item active" id="li_' + val.emergency_guid + '" > <a class="abc" onclick="GetContentAndMakeItem(\'' + val.emergency_guid + '\',this,' + setting + ')" >' + val.name + '</a></li>';
|
||||
includeli += '<li class="list-group-item active" id="li_' + val.emergency_guid + '" > <a class="abc" onclick="GetContentAndMakeItem(\'' + val.emergency_guid + '\',this,' + setting + ')" >' + val.full_name + '</a></li>';
|
||||
} else {
|
||||
includeli += '<li class="list-group-item" id="li_' + val.emergency_guid + '"> <a class="abc" onclick="GetContentAndMakeItem(\'' + val.emergency_guid + '\',this,' + setting + ')" >' + val.name + '</a></li>';
|
||||
includeli += '<li class="list-group-item" id="li_' + val.emergency_guid + '"> <a class="abc" onclick="GetContentAndMakeItem(\'' + val.emergency_guid + '\',this,' + setting + ')" >' + val.full_name + '</a></li>';
|
||||
}
|
||||
|
||||
});
|
||||
@ -1678,7 +1678,7 @@
|
||||
}
|
||||
|
||||
$('#hbr_' + setting).empty();
|
||||
$('#hbr_' + setting).append('<h2>' + rel.data.name + '</h2>');
|
||||
$('#hbr_' + setting).append('<h2>' + rel.data.full_name + '</h2>');
|
||||
$('#tag_' + setting).empty();
|
||||
$('#tag_' + setting).append(rel.data.set_doing);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user