From 8f576a4b83cbc97c743668749376c3721c1d08a6 Mon Sep 17 00:00:00 2001 From: kgdxpr Date: Tue, 5 Nov 2024 14:06:42 +0800 Subject: [PATCH] 'commit' --- WebRoot/html/pages/dataease/dataList.html | 9 +- WebRoot/html/pages/dataease/upload.html | 133 ++++++++++++++++++++++ 2 files changed, 141 insertions(+), 1 deletion(-) create mode 100644 WebRoot/html/pages/dataease/upload.html diff --git a/WebRoot/html/pages/dataease/dataList.html b/WebRoot/html/pages/dataease/dataList.html index affc3a1c..263802ca 100644 --- a/WebRoot/html/pages/dataease/dataList.html +++ b/WebRoot/html/pages/dataease/dataList.html @@ -102,9 +102,16 @@ table.on('tool(data-table)', function (obj) { if (obj.event === 'uploadData') { + layer.open({ + type: 2, + title: '上传数据', + area: ['600px', '230px'], + shade: 0.1, + content: './upload.html?id=' + obj.data.id + }); } else if (obj.event === 'downloadSample') { - window.location.href = "/dsBase/dataease/downSampleExcel?id=" + obj.data.id; + window.location.href = "/dsBase/dataease/downSampleExcel?id=" + obj.data.id; } else { window.location.href = "/dsBase/dataease/downloadExcel?id=" + obj.data.id; } diff --git a/WebRoot/html/pages/dataease/upload.html b/WebRoot/html/pages/dataease/upload.html new file mode 100644 index 00000000..3fd01bba --- /dev/null +++ b/WebRoot/html/pages/dataease/upload.html @@ -0,0 +1,133 @@ + + + + + + + + + + + +
+
+
+ +
+ +
+ +
+ +
+
+
+
+
+ +
+
+
+ + + + + + + \ No newline at end of file