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
cc06c559
Commit
cc06c559
authored
Sep 02, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
571f8a6d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
src/modules/task-center/data-center/components/StudyTable.tsx
+3
-3
src/modules/task-center/train-task/components/ExpiredCourseList.jsx
+1
-0
No files found.
src/modules/task-center/data-center/components/StudyTable.tsx
View file @
cc06c559
...
@@ -43,9 +43,9 @@ function StudyTable(props: any) {
...
@@ -43,9 +43,9 @@ function StudyTable(props: any) {
useEffect
(()
=>
{
useEffect
(()
=>
{
console
.
log
(
sort
,
orderFiled
)
console
.
log
(
sort
,
orderFiled
)
if
(
sort
&&
orderFiled
)
{
if
(
sort
&&
orderFiled
)
{
const
_list
=
[...
list
];
const
_list
=
[...
list
];
_list
.
sort
((
pre
:
any
,
next
:
any
)
=>
{
_list
.
sort
((
pre
:
any
,
next
:
any
)
=>
{
if
(
sort
===
'ascend'
)
{
if
(
sort
===
'ascend'
)
{
return
(
pre
[
orderFiled
]
||
0
)
-
(
next
[
orderFiled
]
||
0
)
return
(
pre
[
orderFiled
]
||
0
)
-
(
next
[
orderFiled
]
||
0
)
...
@@ -69,7 +69,7 @@ function StudyTable(props: any) {
...
@@ -69,7 +69,7 @@ function StudyTable(props: any) {
function
getList
()
{
function
getList
()
{
Service
.
Hades
(
'public/hades/getTaskCustomerRecordPage'
,
query
).
then
((
res
:
any
)
=>
{
Service
.
Hades
(
'public/hades/getTaskCustomerRecordPage'
,
query
).
then
((
res
:
any
)
=>
{
res
.
result
.
map
((
item
:
any
)
=>
{
res
.
result
.
map
((
item
:
any
)
=>
{
item
.
department
=
item
.
departmentNameList
.
map
((
_item
:
any
)
=>
{
item
.
department
=
item
.
departmentNameList
?
.
map
((
_item
:
any
)
=>
{
if
(
_item
==
'1000'
)
{
if
(
_item
==
'1000'
)
{
return
'微信'
return
'微信'
}
else
{
}
else
{
...
...
src/modules/task-center/train-task/components/ExpiredCourseList.jsx
View file @
cc06c559
...
@@ -30,6 +30,7 @@ function ExpiredCourseList(props) {
...
@@ -30,6 +30,7 @@ function ExpiredCourseList(props) {
// 移除未成功开课课程
// 移除未成功开课课程
function
deLExpiredCourse
(
contentId
)
{
function
deLExpiredCourse
(
contentId
)
{
const
{
taskId
}
=
props
.
taskId
;
Modal
.
confirm
({
Modal
.
confirm
({
content
:
'你确定要删除该数据内容吗?'
,
content
:
'你确定要删除该数据内容吗?'
,
okText
:
'确定'
,
okText
:
'确定'
,
...
...
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