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