From 26c2e8a3e8d00b7bbfa8337e12ad943354f103f4 Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Tue, 11 Aug 2020 17:00:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/templates/client/list-client.html | 10 ++++++---- .../main/resources/templates/client/save-client.html | 2 +- .../main/resources/templates/client/update-client.html | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) 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 @@