From 21c51b6609c33a2264d377e9321df0f87e7dbb94 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期一, 28 十一月 2022 14:30:27 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/deptTree.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/static/js/deptTree.js b/src/main/webapp/static/js/deptTree.js
index 75413a6..e14e7c2 100644
--- a/src/main/webapp/static/js/deptTree.js
+++ b/src/main/webapp/static/js/deptTree.js
@@ -34,9 +34,8 @@
onlyIconControl: true,
data: res.data,
click: function (obj) {
- console.log(obj)
currentDeptId = obj.data.id;
- currentDeptName = obj.data.title.split(" - ")[0];
+ currentDeptName = obj.data.title;
selObj = obj;
$('#organizationTree').find('.ew-tree-click').removeClass('ew-tree-click');
$(obj.elem).children('.layui-tree-entry').addClass('ew-tree-click');
--
Gitblit v1.9.1