From fb28ea548865f8215f3c25441a53f26e58e4dc58 Mon Sep 17 00:00:00 2001 From: yubaolee Date: Thu, 27 Oct 2016 16:05:15 +0800 Subject: [PATCH] routine update --- OpenAuth.Mvc/BllScripts/commonApply.js | 1 + OpenAuth.Mvc/BllScripts/processDetail.js | 2 +- OpenAuth.Mvc/BllScripts/workflowSchemaManager.js | 2 ++ OpenAuth.Mvc/Views/CommonApplies/Detail.cshtml | 6 +++--- OpenAuth.Mvc/Views/Designer/Index.cshtml | 1 - 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/OpenAuth.Mvc/BllScripts/commonApply.js b/OpenAuth.Mvc/BllScripts/commonApply.js index 2700e347..c01520ce 100644 --- a/OpenAuth.Mvc/BllScripts/commonApply.js +++ b/OpenAuth.Mvc/BllScripts/commonApply.js @@ -187,6 +187,7 @@ function detail() { skin: 'layui-layer-rim', //加上边框 area: ['800px', '600px'], //宽高 content: '/CommonApplies/Detail?id=' + selected.Id, + maxmin: true, //开启最大化最小化按钮 end:function() { list.reload(); } diff --git a/OpenAuth.Mvc/BllScripts/processDetail.js b/OpenAuth.Mvc/BllScripts/processDetail.js index f83f6bc2..c2bf8b90 100644 --- a/OpenAuth.Mvc/BllScripts/processDetail.js +++ b/OpenAuth.Mvc/BllScripts/processDetail.js @@ -40,7 +40,7 @@ $(function () { $.post("/CommonApplies/ExeCmd?id=" +$("#processId").val() +"&cmd=" +$(this).val() , function (data) { if (data.Status) { - BJUI.dialog('refresh', 'detailDlg'); + location.reload(); } else { $(this).alertmsg('warn', data.Message); diff --git a/OpenAuth.Mvc/BllScripts/workflowSchemaManager.js b/OpenAuth.Mvc/BllScripts/workflowSchemaManager.js index a4179d85..ad455684 100644 --- a/OpenAuth.Mvc/BllScripts/workflowSchemaManager.js +++ b/OpenAuth.Mvc/BllScripts/workflowSchemaManager.js @@ -78,6 +78,7 @@ function edit() { type: 2, skin: 'layui-layer-rim', //加上边框 area: ['800px', '600px'], //宽高 + maxmin: true, //开启最大化最小化按钮 content: '/designer/index?schemeName=' + selected.Code }); @@ -88,6 +89,7 @@ function add() { type: 2, skin: 'layui-layer-rim', //加上边框 area: ['800px', '600px'], //宽高 + maxmin: true, //开启最大化最小化按钮 content: '/designer/index?schemeName=' }); } diff --git a/OpenAuth.Mvc/Views/CommonApplies/Detail.cshtml b/OpenAuth.Mvc/Views/CommonApplies/Detail.cshtml index 3f2cd21e..bac1d819 100644 --- a/OpenAuth.Mvc/Views/CommonApplies/Detail.cshtml +++ b/OpenAuth.Mvc/Views/CommonApplies/Detail.cshtml @@ -35,11 +35,11 @@ { if (cmd.Classifier == TransitionClassifier.Reverse) { - + } else { - + } } @@ -50,4 +50,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/OpenAuth.Mvc/Views/Designer/Index.cshtml b/OpenAuth.Mvc/Views/Designer/Index.cshtml index 8fb32632..597a2c59 100644 --- a/OpenAuth.Mvc/Views/Designer/Index.cshtml +++ b/OpenAuth.Mvc/Views/Designer/Index.cshtml @@ -25,7 +25,6 @@ -