lilei 3 năm trước cách đây
mục cha
commit
c32bbc7904

+ 2 - 2
src/views/common/dingDepartUser.js

@@ -69,7 +69,7 @@ const DingDepartUser = {
         if(type == 'bm'){
         if(type == 'bm'){
           const node = {
           const node = {
             title: item.name,
             title: item.name,
-            id:'bm-'+item.deptId,
+            id:item.deptId,
             value: item.deptId,
             value: item.deptId,
             pId: item.parentId,
             pId: item.parentId,
             autoAddUser: item.autoAddUser,
             autoAddUser: item.autoAddUser,
@@ -84,7 +84,7 @@ const DingDepartUser = {
         }else{
         }else{
           ret.push({
           ret.push({
             title: item.name,
             title: item.name,
-            id:'yg-'+item.userid,
+            id: item.userid,
             value: item.userid,
             value: item.userid,
             pId: item.parentId,
             pId: item.parentId,
             avatar: item.avatar,
             avatar: item.avatar,