From 0497edd108397506301b181d7e934d546c092834 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 01 三月 2021 13:29:49 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/area/area.js | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/static/js/area/area.js b/src/main/webapp/static/js/area/area.js
index 1438f39..14626a3 100644
--- a/src/main/webapp/static/js/area/area.js
+++ b/src/main/webapp/static/js/area/area.js
@@ -1,4 +1,18 @@
var pageCurr;
+var tableIns;
+
+getParentNode();
+function getParentNode(el) {
+ http.post(baseUrl + "/parent/node/group", {type: 1}, function (res) {
+ if (res.data != null) {
+ var tpl = $("#parentNodeGroup").html();
+ var template = Handlebars.compile(tpl);
+ var html = template(res);
+ $('#parentId').append(html);
+ }
+ });
+}
+
layui.use(['table','laydate', 'form'], function(){
var table = layui.table;
var $ = layui.jquery;
@@ -22,9 +36,9 @@
{type: 'checkbox'}
// ,{field: 'id', align: 'center',title: 'ID'}
,{field: 'uuid', align: 'center',title: '缂栧彿'}
- ,{field: 'name', align: 'center',title: '浠撳簱鍚嶇О'}
+ ,{field: 'name', align: 'center',title: '搴撳尯鍚嶇О'}
// ,{field: 'parentId', align: 'center',title: '鐖剁骇'}
- // ,{field: 'parentName', align: 'center',title: '鐖剁骇鍚嶇О'}
+ ,{field: 'parentName', align: 'center',title: '鎵�灞炰粨搴�'}
// ,{field: 'type$', align: 'center',title: '绫诲瀷'}
// ,{field: 'path', align: 'center',title: '鍏宠仈璺緞'}
// ,{field: 'namePath', align: 'center',title: '鍏宠仈璺緞鍚�'}
@@ -302,9 +316,10 @@
type: 'datetime'
});
-
});
+
+
// 鍏抽棴鍔ㄤ綔
$(document).on('click','#data-detail-close', function () {
parent.layer.closeAll();
--
Gitblit v1.9.1