Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
ant-admin-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit bf0e6e67
authored
2018-01-29 16:58:06 +0800
by
ethanlamzs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改对应的协议
1 parent
d7819fe3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
mock/linkman.js
src/routes/devutil/schoolmgr.js
mock/linkman.js
View file @
bf0e6e6
...
...
@@ -1018,7 +1018,7 @@ export function genlklist(groupid) {
for
(
let
i
=
0
;
i
<
count
;
i
+=
1
)
{
var
temp
=
new
String
(
i
);
list
.
push
({
id
:
`
${
groupid
}
-
${
i
}
`
,
user
id
:
`
${
groupid
}
-
${
i
}
`
,
name
:
`联系人-
${
groupid
}
-
${
i
}
`
,
department
:
[
2
,
3
],
order
:
[
1
,
2
],
...
...
src/routes/devutil/schoolmgr.js
View file @
bf0e6e6
...
...
@@ -118,7 +118,8 @@ export default class schoolmgr extends Component{
const
{
linkman
:{
linkmanMap
}}
=
this
.
props
;
if
(
linkmanMap
[
'g_'
+
groupid
]){
return
linkmanMap
[
'g_'
+
groupid
].
map
((
item
)
=>
{
return
(
<
TreeNode
isLeaf
title
=
{
item
.
name
}
key
=
{
item
.
id
}
dataRef
=
{
item
}
/>
)
;
let
showninfo
=
item
.
name
+
" # "
+
item
.
userid
;
return
(
<
TreeNode
isLeaf
title
=
{
showninfo
}
key
=
{
item
.
userid
}
dataRef
=
{
item
}
/>
)
;
});
}
else
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment