[後台] 前端帳號管理 角色權限加入可用功能 buidling_guid -> building_tag

This commit is contained in:
dev01 2023-05-24 12:49:35 +08:00
parent 72b9c77fcd
commit 2e3041d007

View File

@ -814,7 +814,7 @@
if (rel.data.length > 0) { if (rel.data.length > 0) {
$('#select_building').empty(); $('#select_building').empty();
$.each(rel.data, function (index, val) { $.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()); $("#select_building").val($("#select_building option:first").val());