中扬CRM客户关系管理系统
#
lsh
2024-04-15 13a34d2197b001799ef8f0f09e5b48af2add0926
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');