From 57fa4c1311a062586e5e5d38d8bcc5901a94f9f8 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期一, 24 七月 2023 14:06:08 +0800 Subject: [PATCH] #保存回退权限3级硬编码 --- 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