From 975cd48215259b99ccf08438ece55ed9aa41efed Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Tue, 17 Aug 2021 10:07:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=92=E5=BA=8F=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84=E6=9F=A5=E8=AF=A2=E6=85=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/datareal/list.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/resources/templates/datareal/list.html b/src/main/resources/templates/datareal/list.html index 08b64ea..5035d60 100644 --- a/src/main/resources/templates/datareal/list.html +++ b/src/main/resources/templates/datareal/list.html @@ -51,7 +51,8 @@ var laydate = layui.laydate; var common = layui.common; var resizeTimeout = null; - var tableUrl = 'api/datareal/listpage?instrumentId={instrumentId}&descOrderBy={descOrderBy}'; + // var tableUrl = 'api/datareal/listpage?instrumentId={instrumentId}&descOrderBy={descOrderBy}'; + var tableUrl = 'api/datareal/listpage?instrumentId={instrumentId}'; var instrumentId = top.restAjax.params(window.location.href).instrumentId; // 初始化表格 @@ -59,7 +60,7 @@ table.render({ elem: '#dataTable', id: 'dataTable', - url: top.restAjax.path(tableUrl, [instrumentId, 'gmtCreate']), + url: top.restAjax.path(tableUrl, [instrumentId]), width: admin.screen() > 1 ? '100%' : '', height: $win.height() - 60, limit: 20, @@ -168,7 +169,7 @@ // 重载表格 function reloadTable(currentPage) { table.reload('dataTable', { - url: top.restAjax.path(tableUrl, [instrumentId, 'gmtCreate']), + url: top.restAjax.path(tableUrl, [instrumentId]), where: { keywords: $('#keywords').val(), startTime: $('#startTime').val(),