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 @@ + + + +
+ +