From 0d4f41f516a8edd48eb5c581519e424e509dbe81 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com>
Date: Wed, 28 Dec 2022 17:13:13 +0800
Subject: [PATCH] 'commit'
---
WebRoot/html/study/documentList.html | 10 +++
WebRoot/html/study/left.html | 111 ++++++++++++++-------------
WebRoot/html/study/studyList.html | 60 +--------------
3 files changed, 71 insertions(+), 110 deletions(-)
create mode 100644 WebRoot/html/study/documentList.html
diff --git a/WebRoot/html/study/documentList.html b/WebRoot/html/study/documentList.html
new file mode 100644
index 0000000..7bc90bf
--- /dev/null
+++ b/WebRoot/html/study/documentList.html
@@ -0,0 +1,10 @@
+
+
+
+
+ Title
+
+
+我是右边的页面!
+
+
\ No newline at end of file
diff --git a/WebRoot/html/study/left.html b/WebRoot/html/study/left.html
index a1ab575..f39015a 100644
--- a/WebRoot/html/study/left.html
+++ b/WebRoot/html/study/left.html
@@ -1,63 +1,68 @@
- 左侧导航树
-
-
+ 维护学习目录结构
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+ },
+ }
+ window.loadTree = function () {
+ let zNodes = [];
+ $.ajax({
+ type: "GET",
+ async: false,
+ url: '/FengHuang/zjb/getTreeData',
+ dataType: "json",
+ success: function (data) {
+ //修改一下数据源
+ for (let v in data) {
+ if (data[v]["level_id"] == 2) {
+ data[v]["target"] = "iframeContent";
+ data[v]["url"] = "documentList.html?task_id=" + data[v]["id"];
+ console.log(data[v]);
+ }
+ }
+ zNodes = data;
+ zTreeObj = $.fn.zTree.init($("#tree"), setting, zNodes);
+ }
+ })
+ }
+ loadTree();
+ })
+
\ No newline at end of file
diff --git a/WebRoot/html/study/studyList.html b/WebRoot/html/study/studyList.html
index 9e1db0a..591f723 100644
--- a/WebRoot/html/study/studyList.html
+++ b/WebRoot/html/study/studyList.html
@@ -1,15 +1,15 @@
- 左侧导航树
+ 列表
+
-
-
-
-
-
-
-
-
-
-
+