From 45724291b8a6601f21c0dc6691ee2f8de59a478b Mon Sep 17 00:00:00 2001 From: kgdxpr Date: Mon, 4 Nov 2024 14:59:02 +0800 Subject: [PATCH] 'commit' --- WebRoot/html/pages/dataease/dataList.html | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/WebRoot/html/pages/dataease/dataList.html b/WebRoot/html/pages/dataease/dataList.html index 4c91b082..affc3a1c 100644 --- a/WebRoot/html/pages/dataease/dataList.html +++ b/WebRoot/html/pages/dataease/dataList.html @@ -50,8 +50,14 @@
@@ -93,6 +99,16 @@ window.location.href = "./dataMod.html?id=" + obj.data.id; }); + + table.on('tool(data-table)', function (obj) { + if (obj.event === 'uploadData') { + + } else if (obj.event === 'downloadSample') { + window.location.href = "/dsBase/dataease/downSampleExcel?id=" + obj.data.id; + } else { + window.location.href = "/dsBase/dataease/downloadExcel?id=" + obj.data.id; + } + }); });