<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>流程查看</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<link href="../../css/OA-style.css" rel="stylesheet" />
		<!--标准mui.css-->
		<link rel="stylesheet" href="../../css/mui.min.css">
		<link rel="stylesheet" href="../../css/mui.picker.min.css">
		<link rel="stylesheet" type="text/css" href="../../css/app.css" />
		<!--App自定义的css-->
		<link rel="stylesheet" type="text/css" href="../../css/flow.css" />
		<style>
			.mui-card-footer{display: inherit;}
		</style>
		
	</head>

	<body class="mui-fullscreen">
		<!--页面主结构开始-->
		<div id="app" class="mui-views">
			<div class="mui-view">
				<div class="mui-navbar">
				</div>
				<div class="mui-pages">
				</div>
			</div>
		</div>
		<!--页面主结构结束-->

		<!--单页面开始-->
		<div id="setting" class="mui-page">
			<!--页面标题栏开始-->
			<div class="mui-navbar-inner mui-bar mui-bar-nav">
				<a class="mui-action-back back mui-pull-left" ><img src="../../images/back.png"></a>
				<h1 class="mui-center mui-title" id="title">请假申请</h1>
			</div>
			<!--页面标题栏结束-->
			<!--页面主内容区开始-->
			<div class="mui-page-content">
				<div class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<div class="mui-content-padded" style="margin: 5px;">
							<div class="mui-content">
								<form class="mui-input-group" id="form_element">
									<ul class="mui-table-view ">
										<template v-for="formElement in formElements">
											<li class="mui-table-view-cell mui-input-row">
												<label>{{formElement.elementName}}</label>
												<!--
                                                	作者：18559387276@139.com
                                                	时间：2018-05-29
                                                	描述：文本框
                                                -->
												<template v-if="formElement.type == '0'">
													<input type="text" v-bind:id="formElement.tableField" v-bind:name="formElement.tableField" v-bind:value="formElement.defaultValue" readonly="readonly" class="mui-input-clear" placeholder="">
												</template>
												<!--
                                                	作者：18559387276@139.com
                                                	时间：2018-05-29
                                                	描述：文本域
                                                -->
												<template v-else-if="formElement.type == '1'">
													<textarea v-bind:id="formElement.tableField" v-bind:name="formElement.tableField" rows="4" readonly="readonly" placeholder="">{{formElement.defaultValue}}</textarea>
												</template>
												<!--
                                                	作者：18559387276@139.com
                                                	时间：2018-05-29
                                                	描述：日期控件
                                                -->
												<template v-else-if="formElement.type == '3'">
													<input type="text" v-bind:id="formElement.tableField" v-bind:name="formElement.tableField" v-bind:value="formElement.defaultValue" readonly="readonly" class="mui-input-clear" placeholder="">
												</template>
												<!--
                                                	作者：18559387276@139.com
                                                	时间：2018-05-29
                                                	描述：单选
                                                -->
												<template v-else-if="formElement.type == '4'">
													<input type="text" v-bind:id="formElement.tableField" v-bind:name="formElement.tableField" v-bind:value="formElement.defaultValue" readonly="readonly" class="mui-input-clear" placeholder="">
												</template>
												
												<template v-else-if="formElement.type == '13' &&  formElement.canEdit == '2' && formElement.defaultValue != ''">		
													<img v-bind:id="formElement.tableField + 'img'"   v-bind:src="API.API_IP_PORT + formElement.defaultValue" />
												</template>
												
												<template v-else>
													<input type="text" v-bind:id="formElement.tableField" v-bind:name="formElement.tableField" v-bind:value="formElement.defaultValue" readonly="readonly" class="mui-input-clear" placeholder="">
												</template>
												
											</li>
										</template>
									</ul>
								</form>							
									<div class="mui-card" id="item3mobile" style="margin: 0;">
										<div class="mui-card-header"><b>流转过程</b></div>
										<div class="mui-card-footer" v-for="item3mobileC in item3mobileCs">
											<template v-if="item3mobileC.dataName == '完成'">
												<span><img class="liuzhuan_img" src="../../images/liuzhuang_zt.png"></span>状态:<span class="liuzhuan_cg">{{item3mobileC.dataName}}</span><br>
												<span><img class="liuzhuan_img" src="../../images/liuzhuang_hj.png"></span><span>环节意见:{{item3mobileC.remark}}</span><br>
											</template>
											<template v-else>
											<span><img class="liuzhuan_img" src="../../images/liuzhuang_zt.png"></span>状态:<span class="liuzhuan_z">{{item3mobileC.dataName}}</span><br>
											</template>
											<span><img class="liuzhuan_img" src="../../images/liuzhuang_hj.png"></span><span>环节名称:{{item3mobileC.tmodelName}}({{item3mobileC.name}})</span><br>
											<span><img class="liuzhuan_img" src="../../images/liuzhuang_cj.png"></span><span>创建时间:{{item3mobileC.createdate}}</span><br>
											<template v-if="item3mobileC.finishdate != ''">
												<span><img class="liuzhuan_img" src="../../images/liuzhuang_bl.png" ></span><span>办理时间:{{item3mobileC.finishdate}}</span><br>
											</template>
										</div>
										
									</div>							
							</div>
						</div>
					</div>
				</div>
			</div>
			<!--页面主内容区结束-->

		</div>
		<!--单页面结束-->
		<script src="../../js/mui.min.js"></script>
		<script src="../../js/mui.view.js"></script>
		<script src="../../js/mui.picker.min.js"></script>
		<script src="../../js/vue.min.js"></script>
		<script src="../../js/config.js"></script>
		<script src="../../js/app.js"></script>
		<script src="../../js/jquery-1.11.2.min.js"></script>
		<script src="../../js/dj/flow/flow_view.js"></script>
			
	</body>

</html>