...
|
...
|
@@ -107,8 +107,8 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'soulTable', 'sessions', 'comm |
|
|
$("#bizResTreeTableContent").hide();
|
|
|
|
|
|
// 如果是虚拟机或者物理主机,展示电源状态查询条件
|
|
|
if (resType === 'VIRTUALIZATION_VMWARE_VHOST' || resType === 'VIRTUALIZATION_VMWARE_PHYSICSHOST') {
|
|
|
// $('#biz_reslist_power_state').val('poweredOn');
|
|
|
if (resType === 'VIRTUALIZATION_VMWARE_VHOST' || resType === 'VIRTUALIZATION_VMWARE_PHYSICSHOST'|| 'VIRTUALIZATION_'+resType === 'VIRTUALIZATION_VHOST'|| 'VIRTUALIZATION_'+resType == 'VIRTUALIZATION_VMWARE_PHYSICSHOST') {
|
|
|
$('#biz_reslist_power_state').val('poweredOn');
|
|
|
$('#biz_reslist_power_state_id').show();
|
|
|
} else {
|
|
|
$('#biz_reslist_power_state_id').hide();
|
...
|
...
|
|