processInstanceDetails.html 4.8 KB
Newer Older
doc_wei's avatar
doc_wei 已提交
1 2 3 4 5 6 7 8
<!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" />
doc_wei's avatar
doc_wei 已提交
9
	<link href="../../assets/lib/winui/css/customer/voucherUtil.css" rel="stylesheet" />
doc_wei's avatar
doc_wei 已提交
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 35 36 37 38 39 40 41 42 43 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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
    <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 class="layui-form-item layui-col-xs12">
			   			<span class="hr-title" id="activitiTitle"></span><hr>
			    	</div>
			    	<div id="showForm" style="height: auto; width: 100%; float: left;">
			    		
			    	</div>
				</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="textTemplate">
        {{#bean}}
            <div class="layui-form-item layui-col-xs{{proportion}}">
	            <label class="layui-form-label">{{name}}</label>
	            <div class="layui-input-block ver-center">
        			{{value}}
        		</div>
	        </div>
        {{/bean}}
    </script>
    
    <!-- 附件展示 -->
    <script type="text/x-handlebars-template" id="enclosureTemplate">
        {{#bean}}
            <div class="layui-form-item layui-col-xs{{proportion}}">
	            <label class="layui-form-label">{{name}}</label>
	            <div class="layui-input-block ver-center">
        			{{#each value}}
						<a rowid="{{id}}" class="enclosureItem" rowpath="{{fileAddress}}" href="javascript:;" style="color:blue;">{{name}}</a><br>
					{{/each}}
        		</div>
	        </div>
        {{/bean}}
    </script>
    
    <!-- 富文本展示 -->
    <script type="text/x-handlebars-template" id="eichTextTemplate">
        {{#bean}}
            <div class="layui-form-item layui-col-xs{{proportion}}">
	            <label class="layui-form-label">{{name}}</label>
	            <div class="layui-input-block ver-center">
        			{{{value}}}
        		</div>
	        </div>
        {{/bean}}
    </script>
    
    <!-- 图片展示 -->
    <script type="text/x-handlebars-template" id="picTemplate">
        {{#bean}}
            <div class="layui-form-item layui-col-xs{{proportion}}">
	            <label class="layui-form-label">{{name}}</label>
	            <div class="layui-input-block ver-center">
        			{{#each photo}}
                        <img src="{{photoValue}}" class="photo-img">
                    {{/each}}
        		</div>
	        </div>
        {{/bean}}
    </script>
    
    <!-- 表格展示 -->
    <script type="text/x-handlebars-template" id="tableTemplate">
        {{#bean}}
            <div class="layui-form-item layui-col-xs{{proportion}}">
	            <label class="layui-form-label">{{name}}</label>
	            <div class="layui-input-block ver-center" id="showTable{{orderBy}}">
        		</div>
	        </div>
        {{/bean}}
    </script>
doc_wei's avatar
doc_wei 已提交
114 115 116 117 118 119 120 121 122 123 124

	<!-- 凭证展示 -->
	<script type="text/x-handlebars-template" id="voucherTemplate">
		{{#bean}}
		<div class="layui-form-item layui-col-xs{{proportion}}">
			<label class="layui-form-label">{{name}}</label>
			<div class="layui-input-block ver-center" id="showVoucher{{orderBy}}" style="overflow-x: auto;">
			</div>
		</div>
		{{/bean}}
	</script>
doc_wei's avatar
doc_wei 已提交
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
    
    <!-- 时间线审批历史列表模板 -->
    <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>
doc_wei's avatar
doc_wei 已提交
143 144
	<script src="../../assets/lib/layui/customer/voucher/spinbox.js"></script>
	<script src="../../assets/lib/layui/customer/voucher/voucherUtil.js"></script>
doc_wei's avatar
doc_wei 已提交
145
   	<script type="text/javascript">
doc_wei's avatar
doc_wei 已提交
146
        layui.config({base: '../../js/activitiCommon/'}).use('processInstanceDetails');
doc_wei's avatar
doc_wei 已提交
147 148 149
    </script>
</body>
</html>