Skip to content

Commit 7fc53de

Browse files
authored
修复人员部门选择时父子层级选择的bug (#5)
1 parent 5cea69f commit 7fc53de

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/views/personnel/user/index.vue

+5
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,11 @@
147147
:options="departmentsOptions"
148148
placeholder="请选择部门"
149149
:normalizer="normalizer"
150+
value-consists-of="ALL"
150151
:multiple="true"
152+
flat="true"
153+
no-children-text="没有更多选项"
154+
no-results-text="没有匹配的选项"
151155
@input="treeselectInput"
152156
@select="onOperatePersonChanged"
153157
/>
@@ -606,6 +610,7 @@ wLXapv+ZfsjG7NgdawIDAQAB
606610
return {
607611
id: node.ID,
608612
label: node.groupType + '=' + node.groupName,
613+
isDisabled: node.groupType === 'ou',
609614
children: node.children
610615
}
611616
},

0 commit comments

Comments
 (0)