From 06d6b563f01636476c48aae5cbb01f06b24c0e36 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期五, 21 七月 2023 11:03:28 +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