mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-22 20:13:32 +08:00
完成流程列表
This commit is contained in:
48
OpenAuth.Mvc/Views/CommonApplies/Detail.cshtml
Normal file
48
OpenAuth.Mvc/Views/CommonApplies/Detail.cshtml
Normal file
@@ -0,0 +1,48 @@
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
@using OptimaJet.Workflow.Core.Model
|
||||
@model OpenAuth.App.ViewModel.CommonApplyVM
|
||||
|
||||
<script src="/Scripts/jquery-ui.js"></script>
|
||||
<link href="/Content/themes/base/jquery-ui.min.css" rel="stylesheet" />
|
||||
<script src="/Scripts/kinetic-v5.1.0.min.js"></script>
|
||||
<link href="/Content/workflowdesigner.css" rel="stylesheet" type="text/css" />
|
||||
<script src="/Scripts/workflowdesigner.min.js"></script>
|
||||
<script src="/Scripts/ace.js"></script>
|
||||
<script src="/Scripts/json5.js"></script>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<input value="@Model.Id" id="processId" class="hidden" />
|
||||
<h3 class="panel-title">
|
||||
@Model.Name
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
@if (Model.Commands.Length > 0)
|
||||
{
|
||||
<div class="panel-body">
|
||||
<span class="label label-default">下图蓝色为当前状态,你可以执行:</span>
|
||||
@foreach (var cmd in Model.Commands)
|
||||
{
|
||||
if (cmd.Classifier == TransitionClassifier.Reverse)
|
||||
{
|
||||
<button type="button" class="btn btn-danger btn-cmd" value="@cmd.Key">@cmd.Value</button>
|
||||
}
|
||||
else
|
||||
{
|
||||
<button type="button" class="btn btn-primary btn-cmd" value="@cmd.Key">@cmd.Value</button>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
}
|
||||
<div id="wfdesigner"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/BllScripts/queryString.js"></script>
|
||||
<script src="/BllScripts/processDetail.js"></script>
|
51
OpenAuth.Mvc/Views/CommonApplies/Index.cshtml
Normal file
51
OpenAuth.Mvc/Views/CommonApplies/Index.cshtml
Normal file
@@ -0,0 +1,51 @@
|
||||
@{
|
||||
Layout = "~/Views/Shared/_BjuiLayout.cshtml";
|
||||
}
|
||||
|
||||
@{ Html.RenderAction("MenuHeader", "Home");}
|
||||
<div class="bjui-pageContent tableContent" style="position: relative">
|
||||
<div class="clearfix">
|
||||
<div style="float: left; width: 220px; overflow: auto;" class="table table-bordered">
|
||||
<ul id="tree" class="ztree"></ul>
|
||||
</div>
|
||||
|
||||
<div id="detail" style="margin-left: 225px;">
|
||||
<table id="maingrid" class="table table-bordered"></table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--编辑对话框-->
|
||||
<div class="bjui-dialog hidden bjui-dialog-container" id="editDlg" data-noinit="true">
|
||||
<div class="bjui-pageContent">
|
||||
<form action="/CommonApplies/Edit" class="pageForm" data-toggle="validate" data-reload="false" id="editForm">
|
||||
|
||||
<table class="table table-condensed table-hover">
|
||||
<tbody>
|
||||
<input type="text" id="Id" name="Id" value="" class="hidden" />
|
||||
<tr>
|
||||
<td>
|
||||
<label for="Name" class="control-label x120">申请名称:</label>
|
||||
<input type="text" id="Name" name="Name" value="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="Comment" class="control-label x120">申请描述:</label>
|
||||
<input type="text" id="Comment" name="Comment" value="" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div class="bjui-pageFooter">
|
||||
<ul>
|
||||
<li><button type="button" class="btn btn-close">关闭</button></li>
|
||||
<li><button type="button" class="btn btn-primary" id="btnSave">保存</button></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="~/BllScripts/grid.js"></script>
|
||||
<script src="~/BllScripts/commonApply.js"></script>
|
Reference in New Issue
Block a user