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; + } + }); });