diff --git a/cloud-central-control/src/main/resources/templates/client/list-client.html b/cloud-central-control/src/main/resources/templates/client/list-client.html index ac2b936..acb0172 100644 --- a/cloud-central-control/src/main/resources/templates/client/list-client.html +++ b/cloud-central-control/src/main/resources/templates/client/list-client.html @@ -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 ''+ rowData +''; + return ''+ rowData +''; } 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 ''+ rowData +''; + } return rowData; } }, @@ -307,7 +310,6 @@ ''; } }, - ] ], page: true, diff --git a/cloud-central-control/src/main/resources/templates/client/save-client.html b/cloud-central-control/src/main/resources/templates/client/save-client.html index 68fb737..55abe9a 100644 --- a/cloud-central-control/src/main/resources/templates/client/save-client.html +++ b/cloud-central-control/src/main/resources/templates/client/save-client.html @@ -103,7 +103,7 @@