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
cc540568
Commit
cc540568
authored
Apr 10, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'fix'
parent
a240c246
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/modules/teach-tool/examination-manager/ExamData.tsx
+1
-1
src/modules/teach-tool/examination-manager/UserData.tsx
+2
-2
No files found.
src/modules/teach-tool/examination-manager/ExamData.tsx
View file @
cc540568
...
@@ -36,7 +36,7 @@ function ExamData(props: any) {
...
@@ -36,7 +36,7 @@ function ExamData(props: any) {
};
};
const
userTypeEnum
=
{
const
userTypeEnum
=
{
W
E_COM
:
'企业微信'
,
W
ORK_WE_CHAT
:
'企业微信'
,
WE_CHAT
:
'微信'
WE_CHAT
:
'微信'
}
}
...
...
src/modules/teach-tool/examination-manager/UserData.tsx
View file @
cc540568
...
@@ -30,7 +30,7 @@ function DataAnalysic(props: any) {
...
@@ -30,7 +30,7 @@ function DataAnalysic(props: any) {
const
[
order
,
setOrder
]
=
useState
(
sortStatus
.
type
);
const
[
order
,
setOrder
]
=
useState
(
sortStatus
.
type
);
const
userTypeEnum
=
{
const
userTypeEnum
=
{
W
E_COM
:
'企业微信'
,
W
ORK_WE_CHAT
:
'企业微信'
,
WE_CHAT
:
'微信'
WE_CHAT
:
'微信'
}
}
...
@@ -117,7 +117,7 @@ function DataAnalysic(props: any) {
...
@@ -117,7 +117,7 @@ function DataAnalysic(props: any) {
{
{
title
:
"用户"
,
title
:
"用户"
,
dataIndex
:
"userName"
,
dataIndex
:
"userName"
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
span
>
{
text
}
<
span
style=
{
{
color
:
record
.
userSource
===
'W
E_COM
'
?
'rgba(255, 157, 20, 1)'
:
'rgba(29, 204, 101, 1)'
}
}
>
@
{
(
userTypeEnum
as
any
)[
record
.
userSource
]
}
</
span
></
span
>,
render
:
(
text
:
any
,
record
:
any
)
=>
<
span
>
{
text
}
<
span
style=
{
{
color
:
record
.
userSource
===
'W
ORK_WE_CHAT
'
?
'rgba(255, 157, 20, 1)'
:
'rgba(29, 204, 101, 1)'
}
}
>
@
{
(
userTypeEnum
as
any
)[
record
.
userSource
]
}
</
span
></
span
>,
},
},
{
{
title
:
"手机号"
,
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