修复报名情况页面未选择工种却显示已开班的问题
This commit is contained in:
parent
3e5a6ae000
commit
6a4de748d1
@ -622,7 +622,7 @@ public class ClassPlanServiceImpl extends DefaultBaseService implements IClassPl
|
||||
String orgId = params.get("orgId").toString();
|
||||
if(params.get("workerCatalog") == null
|
||||
|| params.get("workerCatalog").toString().length() == 0){
|
||||
params.put("checkType","0");
|
||||
params.put("checkType","-1");
|
||||
return params;
|
||||
}
|
||||
String workerCatalog = params.get("workerCatalog").toString();
|
||||
|
@ -116,6 +116,8 @@
|
||||
{orgId: orgId, workerCatalog : workerCatalog}, null, function (code, data) {
|
||||
if(data.checkType == '1'){
|
||||
$('#class-plan-btn-event').show();
|
||||
} else if(data.checkType == '-1'){
|
||||
$('#class-plan-btn-event').hide();
|
||||
} else {
|
||||
$('#class-plan-btn-event').hide();
|
||||
$('#is-commit-plan-btn').show();
|
||||
|
Loading…
Reference in New Issue
Block a user