Commit caba870f by zhangleyuan

feat:处理参培人数显示为0的问题

parent cabbd5fa
......@@ -55,7 +55,7 @@ class LearningData extends React.Component {
coverUrl: coverUrl || defaultCover,
courseNum,
created,
cultureCustomerNum:0
cultureCustomerNum
})
})
}
......
......@@ -141,10 +141,8 @@ class UserLearningData extends React.Component {
storeUserId:User.getStoreUserId()
}
PlanService.removePlanCustomer(params).then((res) => {
this.handleFetchDataList();
message.success('解绑成功');
});
}
handleCloseUnbundEmployeeModal = ()=>{
......@@ -389,6 +387,7 @@ class UserLearningData extends React.Component {
visible={unbundEmployeeModalVisible}
onClose={this.handleCloseUnbundEmployeeModal}
storeCustomerId={storeCustomerId}
onConfirm={()=>{this.handleFetchDataList();this.handleCloseUnbundEmployeeModal();}}
/>
}
......
......@@ -93,7 +93,7 @@ class UnbundEmployeeModal extends React.Component {
}
PlanService.removePlanCustomer(params).then((res) => {
message.success('解绑成功');
this.props.onClose();
this.props.onConfirm();
});
}
render() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment