diff --git a/app/view/domain/record.html b/app/view/domain/record.html index 3bbd116..9aa82b3 100644 --- a/app/view/domain/record.html +++ b/app/view/domain/record.html @@ -175,7 +175,7 @@ td{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;max-width:360px;
- +
@@ -213,13 +213,13 @@ td{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;max-width:360px;
- +
- +
刷新 @@ -227,9 +227,9 @@ td{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;max-width:360px;
- +
- + @@ -269,10 +269,16 @@ $(document).ready(function(){ visible: false, title: '记录ID' }, - { - field: 'Name', - title: '主机记录' - }, + { + field: 'Name', + title: '主机记录', + formatter: function(value, row, index) { + var domain = value; + if(domain === "@") domain = "{$domainName}"; + else domain = value + ".{$domainName}"; + return value + ' '; + } + }, { field: 'Type', title: '记录类型', @@ -282,7 +288,7 @@ $(document).ready(function(){ return value; } }, - { + { field: 'LineName', title: '线路类型' },