processInstanceDetails.html 2.3 KB
Newer Older
doc_wei's avatar
doc_wei 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
    <link href="../../assets/lib/layui/lay/modules/timeaxis/timeaxis.css" rel="stylesheet" />
    <style type="text/css">
    	.history-date h2{
    		margin-bottom: 0px;
    	}
    	.history-date h2 a{
    		font-size: 12px;
    	}
    	.history-date ul li h3 a{
   		    color: currentColor;
    		font-size: 15px;
    	}
    </style>
</head>
<body>
	<div style="margin:0 auto; height: 100%; overflow: hidden;">
		<div class="layui-tab layui-tab-card">
			<ul class="layui-tab-title">
				<li class="layui-this">基本信息</li>
				<li class="">流程图</li>
				<li class="">审批历史</li>
			</ul>
			<div class="layui-tab-content">
				<div class="layui-tab-item layui-show">
			    	<div id="showForm" style="height: auto; width: 100%; float: left;">
			    		
			    	</div>
doc_wei's avatar
doc_wei 已提交
35 36 37 38 39 40 41 42 43
					<div class="layui-form-item layui-col-xs12">
						<span class="hr-title">审批信息</span><hr>
					</div>
					<div class="layui-form-item layui-col-xs12">
						<label class="layui-form-label">当前审批人:</label>
						<div class="layui-input-block ver-center" id="taskCurrentAssignee">

						</div>
					</div>
doc_wei's avatar
doc_wei 已提交
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
				</div>
				<div class="layui-tab-item">
					<img alt="" src="" id="processInstanceIdImg">
				</div>
				<div class="layui-tab-item">
					<div class="history" id="timeTreeApprovalHistoryList">
						
					</div>
				</div>
			</div>
		</div>
	</div>
	
    <!-- 时间线审批历史列表模板 -->
    <script type="text/x-handlebars-template" id="timeTreeApprovalHistory">
		{{#bean}}
			<div class="history-date">
				<h2 class="{{showClass}}"><a href="#nogo">{{createTime}}</a></h2>
				<ul>
					<li class="green">
						<h3><a>节点{{title}}</a><span>审批人:{{opName}}</span></h3>
						<div>[{{flagName}}]<br/>审批意见{{{opinion}}}</div>
					</li>
				</ul>
			</div>
		{{/bean}}
	</script>
	
	<script src="../../assets/lib/layui/layui.js"></script>
   	<script src="../../assets/lib/layui/custom.js"></script>
   	<script type="text/javascript">
doc_wei's avatar
doc_wei 已提交
75
        layui.config({base: '../../js/activitiCommon/'}).use('processInstanceDetails');
doc_wei's avatar
doc_wei 已提交
76 77 78
    </script>
</body>
</html>