This commit is contained in:
thinkgem
2022-03-21 10:39:30 +08:00
parent 032d6a525a
commit e6b69fa5e0

View File

@@ -56,10 +56,10 @@ $('#dataGrid').dataGrid({
{header:'${text("超时时间")}', name:'timeout', width:100, align:'center'}, {header:'${text("超时时间")}', name:'timeout', width:100, align:'center'},
{header:'${text("客户主机")}', name:'host', width:70, align:'center'}, {header:'${text("客户主机")}', name:'host', width:70, align:'center'},
{header:'${text("用户类型")}', name:'userType', width:50, align:'center', formatter: function(val, obj, row, act){ {header:'${text("用户类型")}', name:'userType', width:50, align:'center', formatter: function(val, obj, row, act){
return js.getDictLabel(${@DictUtils.getDictListJson('sys_user_type')}, val, '未', true); return js.getDictLabel(${@DictUtils.getDictListJson('sys_user_type')}, val, '未设置', true);
}}, }},
{header:'${text("设备类型")}', name:'deviceType', width:50, align:'center', formatter: function(val, obj, row, act){ {header:'${text("设备类型")}', name:'deviceType', width:50, align:'center', formatter: function(val, obj, row, act){
return js.getDictLabel(${@DictUtils.getDictListJson('sys_device_type')}, val, '未', true); return js.getDictLabel(${@DictUtils.getDictListJson('sys_device_type')}, val, '未设置', true);
}} }}
<% if(hasPermi('sys:online:edit')){ %> <% if(hasPermi('sys:online:edit')){ %>
,{header:'${text("操作")}', name:'actions', width:100, sortable:false, formatter: function(val, obj, row, act){ ,{header:'${text("操作")}', name:'actions', width:100, sortable:false, formatter: function(val, obj, row, act){