<style>
#timeLimitBtn:hover,
#timeLimitBtn:active,
#timeLimitBtn:focus,
#workingDayBtn:hover,
#workingDayBtn:active,
#workingDayBtn:focus{
	box-shadow:none;
	background:none;
	border:none;
}
.timeLimitUl,
.workingDayUl{
	max-height:1.5rem;
	overflow:auto;
}
.timeLimitUl li,
.workingDayUl li{
	cursor:pointer;
}
.timeLimitUl li a,
.workingDayUl li a{
	color:#333 !important;
}
.timeLimitUl li:hover a,
.workingDayUl li:hover a{
	color:#fff !important;
}
</style>
<!-- 节点时限设置-新增 -->
<div class="modal fade businessDialog" id="myModal-addprocessNodeInfor" data-backdrop="static">
	<div class="modal-dialog" style="width:6rem;">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal">
				<span aria-hidden="true" style="font-size:0.18rem">×</span><span class="sr-only">关闭</span>
			</button>
			<span class="modal-title">设置时限</span>
        </div>
        <div class="modal-content" style="height:2.3rem;overflow-y:auto;overflow-x:hidden;position:relative;">
        	<form class="form-horizontal businessClass-form" id="setTimeLimitForm" action="/flowable/processDefinition/doSetTimeLimit" method="post" autocomplete="off">
        		<input name="id" th:value="${id}" type="hidden" />
        		<div class="newTabAddUpdateBox" style="border:none;padding-left:0.2rem;padding-right:0.2rem;padding-bottom:0;bottom:0;top:0;">
        			<div class="row">
        				<table>
						<tr>
							<td width="20%">
								<span class="required_fileds_star">任务时限</span>:
								<input type="hidden" name="timeLimit" value="0">
							</td>
							<td width="80%" class="enter">
								<div class="dropdown">
								    <button class="btn" id="timeLimitBtn" type="button" data-toggle="dropdown" style="width:100%;text-align:left;font-size:0.12rem;border:none;"><i style="font-style:normal">无时限</i><span class="caret" style="float:right;margin-top:0.07rem;border-width:0.05rem;"></span></button>
								    <ul class="dropdown-menu timeLimitUl" style="width:50%;">
								  		<li value='0'><a javascript:void(0) style="padding-left:0.08rem;">无时限</a></li>
								    </ul>
								</div>
							</td>
						</tr>
						<tr>
							<td width="20%">
								<span class="required_fileds_star">时限类型</span>:
								<input type="hidden" name="workingDay" value="true">
							</td>
							<td width="80%" class="enter">
								<div class="dropdown">
								    <button class="btn" id="workingDayBtn" type="button" data-toggle="dropdown" style="width:100%;text-align:left;font-size:0.12rem;border:none;"><i style="font-style:normal">工作日</i><span class="caret" style="float:right;margin-top:0.07rem;border-width:0.05rem;"></span></button>
								    <ul class="dropdown-menu workingDayUl" style="width:50%;">
								  		<li value='true'><a javascript:void(0) style="padding-left:0.08rem;">工作日</a></li>
								  		<li value='false'><a javascript:void(0) style="padding-left:0.08rem;">自然日</a></li>
								    </ul>
								</div>
							</td>
						</tr>
					</table>
				</div>
        		</div>
        	</form>
        </div>
        <div class="modal-footer">
            <button class="btn btn-white btn-info colorbtn addSure">提交</button>
            <button class="btn btn-white btn-info canclebtn" data-dismiss="modal">关闭</button>
        </div>
	</div>
</div>
<script src="/js/sys/flowable/flowActDefSetTimeLimit.js"></script>