From 3a1941dc5bf986f2a4896dd94f599e6032c8fe1f Mon Sep 17 00:00:00 2001 From: DearTanker <1122669+DearTanker@users.noreply.github.com> Date: Mon, 30 Jun 2025 21:18:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E4=B8=BB=E6=9C=BA=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E5=88=97=E4=B8=AD=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AA=E6=96=B0?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E6=89=93=E5=BC=80=E9=93=BE=E6=8E=A5=E7=9A=84?= =?UTF-8?q?=E5=B0=8F=E6=8C=89=E9=92=AE=EF=BC=8C=E6=96=B9=E4=BE=BF=E5=BF=AB?= =?UTF-8?q?=E9=80=9F=E8=AE=BF=E9=97=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/view/domain/record.html | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) 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: '线路类型' },