|
@@ -2328,8 +2328,6 @@
|
|
|
if (LastClickObj != null && name != LastClickObj) return;
|
|
|
openState = true
|
|
|
name = name.replace("C_", "")
|
|
|
- $("#newwin .title .text:eq(0)").html(name)
|
|
|
- $("#newwin").show();
|
|
|
$("#newwin .content .btn").removeClass("btn_active");
|
|
|
$("#newwin .content .btn:eq(0)").addClass("btn_active");
|
|
|
$("#newwin .content .btn").off().on("click", function () {
|
|
@@ -2343,6 +2341,8 @@
|
|
|
NoneDevice(name)
|
|
|
return
|
|
|
}
|
|
|
+ $("#newwin .title .text:eq(0)").html(name)
|
|
|
+ $("#newwin").show();
|
|
|
window.Device_Data = res.data
|
|
|
LoadDevDetail(name, window.Device_Data, "0")
|
|
|
})
|
|
@@ -2370,13 +2370,13 @@
|
|
|
var calcInfo = await PlayerUtils.call(player.Native.ModelTree.calcItemAabb, se.item);
|
|
|
player.Native.Camera.moveToAabbWithDistance([calcInfo.localAabb.min, calcInfo.localAabb.max], 0.2, 21, 4);
|
|
|
name = name.replace("C_", "")
|
|
|
- $("#showinfo .title .text").html(name + "#经编机-基本信息")
|
|
|
- $("#showinfo").show();
|
|
|
$.getJSON(SERVER_URL + "/query/C_" + name, {}, function (res) {
|
|
|
if(res.code==500){
|
|
|
NoneDevice(name)
|
|
|
return
|
|
|
}
|
|
|
+ $("#showinfo .title .text").html(name + "#经编机-基本信息")
|
|
|
+ $("#showinfo").show();
|
|
|
LoadDevBaseData(res.data.data)
|
|
|
})
|
|
|
}
|