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
caba870f
Commit
caba870f
authored
Mar 10, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:处理参培人数显示为0的问题
parent
cabbd5fa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
src/modules/plan-manage/LearningData.jsx
+1
-1
src/modules/plan-manage/components/UserLearningData.jsx
+1
-2
src/modules/plan-manage/modal/UnbundEmployeeModal.jsx
+1
-1
No files found.
src/modules/plan-manage/LearningData.jsx
View file @
caba870f
...
@@ -55,7 +55,7 @@ class LearningData extends React.Component {
...
@@ -55,7 +55,7 @@ class LearningData extends React.Component {
coverUrl
:
coverUrl
||
defaultCover
,
coverUrl
:
coverUrl
||
defaultCover
,
courseNum
,
courseNum
,
created
,
created
,
cultureCustomerNum
:
0
cultureCustomerNum
})
})
})
})
}
}
...
...
src/modules/plan-manage/components/UserLearningData.jsx
View file @
caba870f
...
@@ -141,10 +141,8 @@ class UserLearningData extends React.Component {
...
@@ -141,10 +141,8 @@ class UserLearningData extends React.Component {
storeUserId
:
User
.
getStoreUserId
()
storeUserId
:
User
.
getStoreUserId
()
}
}
PlanService
.
removePlanCustomer
(
params
).
then
((
res
)
=>
{
PlanService
.
removePlanCustomer
(
params
).
then
((
res
)
=>
{
this
.
handleFetchDataList
();
this
.
handleFetchDataList
();
message
.
success
(
'解绑成功'
);
message
.
success
(
'解绑成功'
);
});
});
}
}
handleCloseUnbundEmployeeModal
=
()
=>
{
handleCloseUnbundEmployeeModal
=
()
=>
{
...
@@ -389,6 +387,7 @@ class UserLearningData extends React.Component {
...
@@ -389,6 +387,7 @@ class UserLearningData extends React.Component {
visible=
{
unbundEmployeeModalVisible
}
visible=
{
unbundEmployeeModalVisible
}
onClose=
{
this
.
handleCloseUnbundEmployeeModal
}
onClose=
{
this
.
handleCloseUnbundEmployeeModal
}
storeCustomerId=
{
storeCustomerId
}
storeCustomerId=
{
storeCustomerId
}
onConfirm=
{
()
=>
{
this
.
handleFetchDataList
();
this
.
handleCloseUnbundEmployeeModal
();}
}
/>
/>
}
}
...
...
src/modules/plan-manage/modal/UnbundEmployeeModal.jsx
View file @
caba870f
...
@@ -93,7 +93,7 @@ class UnbundEmployeeModal extends React.Component {
...
@@ -93,7 +93,7 @@ class UnbundEmployeeModal extends React.Component {
}
}
PlanService
.
removePlanCustomer
(
params
).
then
((
res
)
=>
{
PlanService
.
removePlanCustomer
(
params
).
then
((
res
)
=>
{
message
.
success
(
'解绑成功'
);
message
.
success
(
'解绑成功'
);
this
.
props
.
onC
lose
();
this
.
props
.
onC
onfirm
();
});
});
}
}
render
()
{
render
()
{
...
...
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