lilei před 3 roky
rodič
revize
c32bbc7904
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/views/common/dingDepartUser.js

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

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