From 35f1e131a4d2fe941f46bdfd754de710f1dd48f9 Mon Sep 17 00:00:00 2001 From: kgdxpr Date: Thu, 7 Mar 2024 11:30:33 +0800 Subject: [PATCH] 'commit' --- WebRoot/html/test.html | 10 ++ WebRoot/view/jrgl/rzgl/data.json | 119 ++++++++++++++++ WebRoot/view/jrgl/rzgl/index.html | 102 ++++++++++++++ WebRoot/view/jrgl/sync/index.html | 15 +- WebRoot/view/jrgl/xtgl/data.json | 42 ++++++ WebRoot/view/jrgl/xtgl/file_data.html | 192 ++++++++++++++++++++++++++ WebRoot/view/jrgl/xtgl/upload.html | 40 ++++++ WebRoot/view/tb/org/task_list.html | 4 +- 8 files changed, 521 insertions(+), 3 deletions(-) create mode 100644 WebRoot/html/test.html create mode 100644 WebRoot/view/jrgl/rzgl/data.json create mode 100644 WebRoot/view/jrgl/rzgl/index.html create mode 100644 WebRoot/view/jrgl/xtgl/data.json create mode 100644 WebRoot/view/jrgl/xtgl/file_data.html create mode 100644 WebRoot/view/jrgl/xtgl/upload.html diff --git a/WebRoot/html/test.html b/WebRoot/html/test.html new file mode 100644 index 00000000..93257211 --- /dev/null +++ b/WebRoot/html/test.html @@ -0,0 +1,10 @@ + + + + + Title + + + + + \ No newline at end of file diff --git a/WebRoot/view/jrgl/rzgl/data.json b/WebRoot/view/jrgl/rzgl/data.json new file mode 100644 index 00000000..9e5de517 --- /dev/null +++ b/WebRoot/view/jrgl/rzgl/data.json @@ -0,0 +1,119 @@ +{ + "code": 0, + "msg": "", + "count": 1000, + "data": [ + { + "id": 1, + "czr": "管理员", + "czsj": "2024-03-05", + "ip": "192.168.15.68", + "xw": "登录" + }, + { + "id": 2, + "czr": "管理员", + "czsj": "2024-03-05", + "ip": "192.168.15.68", + "xw": "创建教师‘张淑娟’" + }, + { + "id": 9, + "czr": "马宇翔", + "czsj": "2024-03-07", + "ip": "192.168.15.190", + "xw": "登录" + }, + { + "id": 3, + "czr": "管理员", + "czsj": "2024-03-05", + "ip": "192.168.15.68", + "xw": "登出" + }, + { + "id": 4, + "czr": "管理员", + "czsj": "2024-03-06", + "ip": "192.168.15.140", + "xw": "登录" + }, + { + "id": 8, + "czr": "陈昕", + "czsj": "2024-03-07", + "ip": "192.168.15.156", + "xw": "登录" + }, + { + "id": 5, + "czr": "管理员", + "czsj": "2024-03-06", + "ip": "192.168.15.140", + "xw": "创建教师‘王思宇’" + }, + { + "id": 6, + "czr": "管理员", + "czsj": "2024-03-06", + "ip": "192.168.15.140", + "xw": "登出" + }, + { + "id": 7, + "czr": "连梦佳", + "czsj": "2024-03-06", + "ip": "192.168.15.178", + "xw": "登录" + }, + { + "id": 7, + "czr": "曹靖沅", + "czsj": "2024-03-06", + "ip": "192.168.15.200", + "xw": "登录" + }, + { + "id": 7, + "czr": "贾子健", + "czsj": "2024-03-06", + "ip": "192.168.15.169", + "xw": "登录" + }, + { + "id": 7, + "czr": "余亦珊", + "czsj": "2024-03-07", + "ip": "192.168.15.86", + "xw": "登录" + }, + { + "id": 7, + "czr": "杨天洋", + "czsj": "2024-03-07", + "ip": "192.168.15.102", + "xw": "登录" + }, + { + "id": 7, + "czr": "王净歆", + "czsj": "2024-03-07", + "ip": "192.168.15.160", + "xw": "登录" + }, + { + "id": 7, + "czr": "张清雅", + "czsj": "2024-03-08", + "ip": "192.168.15.123", + "xw": "登录" + }, + { + "id": 7, + "czr": "徐逸航", + "czsj": "2024-03-08", + "ip": "192.168.15.156", + "xw": "登录" + } + ] +} \ No newline at end of file diff --git a/WebRoot/view/jrgl/rzgl/index.html b/WebRoot/view/jrgl/rzgl/index.html new file mode 100644 index 00000000..004e12f9 --- /dev/null +++ b/WebRoot/view/jrgl/rzgl/index.html @@ -0,0 +1,102 @@ + + + + + + + + + + + + +
+
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/WebRoot/view/jrgl/sync/index.html b/WebRoot/view/jrgl/sync/index.html index 92d528cf..0a297363 100644 --- a/WebRoot/view/jrgl/sync/index.html +++ b/WebRoot/view/jrgl/sync/index.html @@ -28,6 +28,11 @@ .layui-table-tool-temp { padding-right: 0; } + + .layui-table-checked { + background-color: #ff5722 !important; + color: #EEEEEE; + } @@ -93,7 +98,15 @@ { title: '操作', toolbar: '#table-bar', align: 'center', width: "20%" } ]], skin: 'line', - defaultToolbar: [] + defaultToolbar: [], + parseData: function (res) { + for (var i = 0; i < res.data.length; i++) { + if (i === 5) { + res.data[i].LAY_CHECKED = true; + } + } + return res; + } }); } diff --git a/WebRoot/view/jrgl/xtgl/data.json b/WebRoot/view/jrgl/xtgl/data.json new file mode 100644 index 00000000..d3701506 --- /dev/null +++ b/WebRoot/view/jrgl/xtgl/data.json @@ -0,0 +1,42 @@ +{ + "code": 0, + "msg": "", + "count": 1000, + "data": [ + { + "id": 1, + "name": "校园安全记录", + "type": "Excel", + "file": "2024-03-03校园安全记录.xlsx", + "memo": "-" + }, + { + "id": 1, + "name": "校园设施信息", + "type": "CSV", + "file": "校园设施信息.xlsx", + "memo": "-" + }, + { + "id": 1, + "name": "教职工考勤数据", + "type": "Excel", + "file": "2024年3月教职工考勤记录.xlsx", + "memo": "-" + }, + { + "id": 1, + "name": "校园活动数据", + "type": "Excel", + "file": "2024年3月校园活动数据记录.xlsx", + "memo": "-" + }, + { + "id": 1, + "name": "学生行为数据", + "type": "FTP", + "file": "-", + "memo": "-" + } + ] +} \ No newline at end of file diff --git a/WebRoot/view/jrgl/xtgl/file_data.html b/WebRoot/view/jrgl/xtgl/file_data.html new file mode 100644 index 00000000..8157cf57 --- /dev/null +++ b/WebRoot/view/jrgl/xtgl/file_data.html @@ -0,0 +1,192 @@ + + + + + + + + + + + + + + +
+
+
+ + + +
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/WebRoot/view/jrgl/xtgl/upload.html b/WebRoot/view/jrgl/xtgl/upload.html new file mode 100644 index 00000000..8325d72a --- /dev/null +++ b/WebRoot/view/jrgl/xtgl/upload.html @@ -0,0 +1,40 @@ + + + + + + Demo + + + + +
+ +
点击上传,或将文件拖拽到此处,支持xls、xlsx、csv
+
+
上传成功后渲染 +
+
+ + + + + + + \ No newline at end of file diff --git a/WebRoot/view/tb/org/task_list.html b/WebRoot/view/tb/org/task_list.html index e64fd723..b31589ab 100644 --- a/WebRoot/view/tb/org/task_list.html +++ b/WebRoot/view/tb/org/task_list.html @@ -150,7 +150,7 @@