调整样式
This commit is contained in:
parent
16b382cb87
commit
26c2e8a3e8
@ -124,14 +124,14 @@
|
||||
return rowData;
|
||||
}
|
||||
},
|
||||
{field: 'clientName', width: 200, title: '名称', align:'center',
|
||||
{field: 'clientName', width: 220, title: '名称', align:'center',
|
||||
templet: function(row) {
|
||||
var rowData = row[this.field];
|
||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
||||
return '-';
|
||||
}
|
||||
if(row.onlineStatus == '1') {
|
||||
return '<a href="javascript:void(0);" title="点击查看事实情况" lay-event="clientInfoEvent">'+ rowData +'</a>';
|
||||
return '<a href="javascript:void(0);" title="点击查看实时情况" lay-event="clientInfoEvent">'+ rowData +'</a>';
|
||||
}
|
||||
return rowData;
|
||||
}
|
||||
@ -206,12 +206,15 @@
|
||||
return rowData;
|
||||
}
|
||||
},
|
||||
{field: 'serverIp', width: 150, title: '服务器地址', align:'center',
|
||||
{field: 'serverIp', width: 350, title: '访问地址', align:'center',
|
||||
templet: function(row) {
|
||||
var rowData = row[this.field];
|
||||
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
||||
return '-';
|
||||
}
|
||||
if(row.onlineStatus == '1') {
|
||||
return '<a href="'+ rowData +'" target="_blank" title="点击跳转">'+ rowData +'</a>';
|
||||
}
|
||||
return rowData;
|
||||
}
|
||||
},
|
||||
@ -307,7 +310,6 @@
|
||||
'</div>';
|
||||
}
|
||||
},
|
||||
|
||||
]
|
||||
],
|
||||
page: true,
|
||||
|
@ -103,7 +103,7 @@
|
||||
</div>
|
||||
<div class="layui-col-md6 layui-col-sm6 layui-col-xs12">
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">服务器IP</label>
|
||||
<label class="layui-form-label">访问地址</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" id="serverIp" name="serverIp" class="layui-input" value="" placeholder="请输入服务器IP" lay-verify="required">
|
||||
</div>
|
||||
|
@ -103,7 +103,7 @@
|
||||
</div>
|
||||
<div class="layui-col-md6 layui-col-sm6 layui-col-xs12">
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">服务器IP</label>
|
||||
<label class="layui-form-label">访问地址</label>
|
||||
<div class="layui-input-block">
|
||||
<input type="text" id="serverIp" name="serverIp" class="layui-input" value="" placeholder="请输入服务器IP" lay-verify="required">
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user