Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yishuju-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何远江
yishuju-ui
Commits
9e233ad9
Commit
9e233ad9
authored
Mar 20, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
可选择部门父级
parent
711a2c2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
AccountFormModal.vue
...iews/system/accountManage/components/AccountFormModal.vue
+1
-0
index.vue
src/views/system/accountManage/index.vue
+1
-1
No files found.
src/views/system/accountManage/components/AccountFormModal.vue
View file @
9e233ad9
...
...
@@ -43,6 +43,7 @@
placeholder=
"请选择部门"
v-model=
"form.departmentId"
ref=
"treeselect"
:checkStrictly=
"true"
:props=
"
{ value: 'id', label: 'name', children: 'children' }"
:data="departlist"
:render-after-expand="false"
...
...
src/views/system/accountManage/index.vue
View file @
9e233ad9
...
...
@@ -79,7 +79,7 @@ import { getdepartmentTree } from '@/api/departmentManage';
width
:
160
,
enum
:
departlist
,
fieldNames
:
{
label
:
'name'
,
value
:
'id'
},
search
:
{
el
:
'tree-select'
,
props
:
{
filterable
:
true
},
labelWidth
:
85
,
key
:
'departmentId'
},
search
:
{
el
:
'tree-select'
,
props
:
{
filterable
:
true
,
checkStrictly
:
true
},
labelWidth
:
85
,
key
:
'departmentId'
},
},
{
field
:
'phone'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment