diff --git a/src/views/model/heatapiconf/index.vue b/src/views/model/heatapiconf/index.vue index 9dd2e66..52786b9 100644 --- a/src/views/model/heatapiconf/index.vue +++ b/src/views/model/heatapiconf/index.vue @@ -470,7 +470,7 @@ const calculateTableHeight = () => { function getDeptTreeNew(data) { const result = []; data.forEach(item => { - if (item.orgType === '2') { + if (item.orgType === '1003') { const newItem = { ...item }; // 使用深拷贝创建新的部门对象 newItem.children = []; // 将叶节点的 children 属性设置为空数组,不包含子节点 newItem.isLeaf = false; diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 25ff011..915ae29 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -32,7 +32,7 @@ @@ -131,7 +131,7 @@