Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
property-management
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
property-management
Commits
e49d76bc
Commit
e49d76bc
authored
Feb 24, 2021
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部门管理员添加上级用户时缺失负责部门列issues/I2SDU1
parent
d6cf2b50
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ant-design-vue-jeecg/src/views/system/modules/DeptUserInfo.vue
+6
-0
No files found.
ant-design-vue-jeecg/src/views/system/modules/DeptUserInfo.vue
View file @
e49d76bc
...
...
@@ -123,6 +123,7 @@
return
{
description
:
'用户信息'
,
currentDeptId
:
''
,
currentDept
:
{},
// 表头
columns
:
[{
title
:
'用户账号'
,
...
...
@@ -260,6 +261,7 @@
open
(
record
)
{
//console.log(record);
this
.
currentDeptId
=
record
.
id
;
this
.
currentDept
=
record
;
this
.
loadData
(
1
);
},
clearList
()
{
...
...
@@ -291,8 +293,12 @@
this
.
$message
.
error
(
"请选择一个部门!"
)
}
else
{
this
.
$refs
.
modalForm
.
departDisabled
=
true
;
//初始化负责部门
this
.
$refs
.
modalForm
.
userDepartModel
.
departIdList
=
[
this
.
currentDeptId
];
//传入一个部门id
this
.
$refs
.
modalForm
.
add
();
//update-begin---author:liusq Date:20210223 for:https://gitee.com/jeecg/jeecg-boot/issues/I2SDU1------------
this
.
$refs
.
modalForm
.
resultDepartOptions
=
[{
key
:
this
.
currentDept
.
key
,
title
:
this
.
currentDept
.
title
}]
//update-end---author:liusq Date:20210223 for:https://gitee.com/jeecg/jeecg-boot/issues/I2SDU1------------
this
.
$refs
.
modalForm
.
title
=
"新增"
;
}
},
...
...
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