From 6a4de748d16ab4a6c489aecd25ba1dc1fd977df2 Mon Sep 17 00:00:00 2001 From: wans <747101512@qq.com> Date: Mon, 26 Jul 2021 15:14:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=A5=E5=90=8D=E6=83=85?= =?UTF-8?q?=E5=86=B5=E9=A1=B5=E9=9D=A2=E6=9C=AA=E9=80=89=E6=8B=A9=E5=B7=A5?= =?UTF-8?q?=E7=A7=8D=E5=8D=B4=E6=98=BE=E7=A4=BA=E5=B7=B2=E5=BC=80=E7=8F=AD?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tenlion/service/classplan/impl/ClassPlanServiceImpl.java | 2 +- src/main/resources/static/route/classplan/list-signup.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/cn/com/tenlion/service/classplan/impl/ClassPlanServiceImpl.java b/src/main/java/cn/com/tenlion/service/classplan/impl/ClassPlanServiceImpl.java index 9639235..c6b111c 100644 --- a/src/main/java/cn/com/tenlion/service/classplan/impl/ClassPlanServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/classplan/impl/ClassPlanServiceImpl.java @@ -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(); diff --git a/src/main/resources/static/route/classplan/list-signup.html b/src/main/resources/static/route/classplan/list-signup.html index d231380..092ec19 100644 --- a/src/main/resources/static/route/classplan/list-signup.html +++ b/src/main/resources/static/route/classplan/list-signup.html @@ -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();