diff --git a/OpenAuth.Mvc/BllScripts/processDetail.js b/OpenAuth.Mvc/BllScripts/processDetail.js index c2bf8b90..4603a902 100644 --- a/OpenAuth.Mvc/BllScripts/processDetail.js +++ b/OpenAuth.Mvc/BllScripts/processDetail.js @@ -35,7 +35,7 @@ function wfdesignerRedraw() { wfdesignerRedraw(); $(function () { - $(".btn-cmd") + $(".workflowcmd") .on("click", function () { //执行命令 $.post("/CommonApplies/ExeCmd?id=" +$("#processId").val() +"&cmd=" +$(this).val() , function (data) { diff --git a/OpenAuth.Mvc/Views/CommonApplies/Detail.cshtml b/OpenAuth.Mvc/Views/CommonApplies/Detail.cshtml index a17b0bf5..bae71027 100644 --- a/OpenAuth.Mvc/Views/CommonApplies/Detail.cshtml +++ b/OpenAuth.Mvc/Views/CommonApplies/Detail.cshtml @@ -18,30 +18,30 @@ -
+ + 下图蓝色为当前状态,你可以执行: + @foreach (var cmd in Model.Commands) + { + if (cmd.Classifier == TransitionClassifier.Reverse) + { + + } + else + { + + } + } +