From e1749547c76a5d8bae94e47d38d4d75b481610c1 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期四, 09 九月 2021 10:51:15 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/allo/allo.html |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/views/allo/allo.html b/src/main/webapp/views/allo/allo.html
index f3c9aa5..b8e718a 100644
--- a/src/main/webapp/views/allo/allo.html
+++ b/src/main/webapp/views/allo/allo.html
@@ -55,9 +55,9 @@
 
 <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
 <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script>
 <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
 <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script>
 <script type="text/javascript" src="../../static/js/allo/allo.js" charset="utf-8"></script>
 
 <iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
@@ -69,5 +69,18 @@
     <option value="{{this.key}}">{{this.val}}</option>
     {{/each}}
 </script>
+<script type="text/javascript">
+    getParentNode();
+    function getParentNode(el) {
+        http.post(baseUrl + "/parent/node/group", {type: 2}, function (res) {
+            if (res.data != null) {
+                var tpl = $("#parentNodeGroup").html();
+                var template = Handlebars.compile(tpl);
+                var html = template(res);
+                $('#parentId').append(html);
+            }
+        });
+    }
+</script>
 </html>
 

--
Gitblit v1.9.1