Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
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
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
7a915bbd
Commit
7a915bbd
authored
Aug 04, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:处理wxopenData
parent
e5172866
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/modules/college-manage/components/DepartMentTabCon.jsx
+1
-1
src/modules/college-manage/components/LeftStructureTree.jsx
+3
-3
No files found.
src/modules/college-manage/components/DepartMentTabCon.jsx
View file @
7a915bbd
...
@@ -352,7 +352,7 @@ function DepartMentTabCon(props) {
...
@@ -352,7 +352,7 @@ function DepartMentTabCon(props) {
const
queryStates
=
_
.
clone
(
query
);
const
queryStates
=
_
.
clone
(
query
);
queryStates
.
current
=
page
;
queryStates
.
current
=
page
;
setQuery
(
queryStates
);
setQuery
(
queryStates
);
getUserList
(
null
,
null
,
current
);
getUserList
(
null
,
null
,
queryStates
.
current
);
}
}
}
}
/>
/>
</
div
>
</
div
>
...
...
src/modules/college-manage/components/LeftStructureTree.jsx
View file @
7a915bbd
...
@@ -43,13 +43,13 @@ function LeftStructureTree(props) {
...
@@ -43,13 +43,13 @@ function LeftStructureTree(props) {
}
}
}
}
>
>
{
type
===
'user'
?
{
type
===
'user'
?
<
div
>
{
record
.
userName
}
</
div
>
<
div
>
<
WWOpenDataCom
type=
"userName"
openid=
{
record
.
userName
}
/>
</
div
>
:
:
<
div
>
{
record
.
name
}
</
div
>
<
div
>
<
WWOpenDataCom
type=
"departmentName"
openid=
{
record
.
name
}
/>
</
div
>
}
}
{
type
===
'user'
&&
{
type
===
'user'
&&
record
.
postDepNamesList
.
map
((
item
,
index
)
=>
{
record
.
postDepNamesList
.
map
((
item
,
index
)
=>
{
return
<
span
>
{
item
}
</
span
>
return
<
span
>
<
WWOpenDataCom
type=
"departmentName"
openid=
{
item
}
/>
</
span
>
})
})
}
}
{
type
===
'post'
&&
{
type
===
'post'
&&
...
...
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