中扬CRM客户关系管理系统
whycq
2023-12-15 bc4f79e162d84b8ade3cd39f311c93df232ce7fc
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');