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
d1fb4f9d
Commit
d1fb4f9d
authored
Aug 05, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/zhangleyuan/20210719/personnel-organization' into dev
parents
3fcc9cab
896a00f9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/modules/college-manage/components/DepartMentTabCon.jsx
+3
-3
src/modules/personalInfo/index.tsx
+2
-2
No files found.
src/modules/college-manage/components/DepartMentTabCon.jsx
View file @
d1fb4f9d
...
@@ -17,7 +17,7 @@ const { Search } = Input;
...
@@ -17,7 +17,7 @@ const { Search } = Input;
const
{
confirm
}
=
Modal
;
const
{
confirm
}
=
Modal
;
const
DefaultQuery
=
{
const
DefaultQuery
=
{
size
:
10
,
size
:
10
,
current
:
1
,
current
:
1
,
};
};
function
DepartMentTabCon
(
props
)
{
function
DepartMentTabCon
(
props
)
{
const
[
chooseMembersModalVisible
,
setChooseMembersModalVisible
]
=
useState
(
const
[
chooseMembersModalVisible
,
setChooseMembersModalVisible
]
=
useState
(
...
@@ -360,12 +360,12 @@ function DepartMentTabCon(props) {
...
@@ -360,12 +360,12 @@ function DepartMentTabCon(props) {
/>
/>
<
div
className=
"box-footer"
>
<
div
className=
"box-footer"
>
<
PageControl
<
PageControl
current=
{
query
.
current
}
current=
{
query
.
current
-
1
}
pageSize=
{
query
.
size
}
pageSize=
{
query
.
size
}
total=
{
total
}
total=
{
total
}
toPage=
{
(
page
)
=>
{
toPage=
{
(
page
)
=>
{
const
queryStates
=
_
.
clone
(
query
);
const
queryStates
=
_
.
clone
(
query
);
queryStates
.
current
=
page
;
queryStates
.
current
=
page
+
1
;
setQuery
(
queryStates
);
setQuery
(
queryStates
);
getUserList
(
null
,
null
,
queryStates
.
current
);
getUserList
(
null
,
null
,
queryStates
.
current
);
}
}
}
}
...
...
src/modules/personalInfo/index.tsx
View file @
d1fb4f9d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: zhangleyuan
* @Author: zhangleyuan
* @Date: 2020-11-27 15:06:31
* @Date: 2020-11-27 15:06:31
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-08-0
2 16:35:20
* @LastEditTime: 2021-08-0
5 10:26:25
* @Description: 描述一下
* @Description: 描述一下
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -178,7 +178,7 @@ function PersonalInfoPage() {
...
@@ -178,7 +178,7 @@ function PersonalInfoPage() {
<
div
>
<
div
>
<
span
className=
"label"
>
所在部门:
</
span
>
<
span
className=
"label"
>
所在部门:
</
span
>
{
departmentList
.
map
((
item
,
index
)
=>
{
{
departmentList
.
map
((
item
,
index
)
=>
{
return
<
span
>
{
item
}
{
index
<
departmentList
.
length
-
1
?
'、'
:
''
}
</
span
>
return
<
span
>
<
WWOpenDataCom
type=
"departmentName"
openid=
{
item
}
/>
{
index
<
departmentList
.
length
-
1
?
'、'
:
''
}
</
span
>
})
}
})
}
</
div
>
</
div
>
<
div
className=
"save-btn"
>
<
div
className=
"save-btn"
>
...
...
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