<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>新建消息</title>
	<link rel="stylesheet" href="/css/external/messageManage/messageManage.css" type="text/css">
	<style>
		.btn-info:active,
		.btn-info:focus{
			background-color:#fff;
		}
		.sendTypeBtn:hover{
			box-shadow:none;
		}
		.base-extend .newTabAddUpdateBox table a{
			color:#333 !important;
		}
		.base-extend .newTabAddUpdateBox table a:hover{
			color:#fff !important;
			text-decoration:none;
		}
	</style>
</head>
<body>
	
<div class="base-extend">
	<div class="addHeader">
		<ol class="breadcrumb">
			<i class="icon-chevron-sign-left newBackBtn"></i>
		  	<li>消息管理</li>
		  	<li>新建消息</li>
		</ol>
	</div>
	<div class="detailContentBox">
		<p class="detailContentBox-title">新建消息</p>
		<form class="form-horizontal" id="addMessage" autocomplete="off">
			<div class="newTabAddUpdateBox">
				<div class="row">
					<table>
						<tr>
							<td width="15%">
								<span class="required_fileds_star">消息标题</span>：
							</td>
							<td width="85%" class="enter">
								<input type="text" maxlength="25" name="title" id="title" class="form-control" >
							</td>
						</tr>
						<tr>
							<td width="15%">
								<span class="required_fileds_star">发送范围</span>：
							</td>
							<td width="85%" class="sendArea" style="background:#fff;">
								
							</td>
						</tr>
						<tr>
							<td width="15%">
								<span class="required_fileds_star">发送类型</span>：
							</td>
							<td width="85%" class="enter">
								<div class="dropdown">
								  <button class="btn sendTypeBtn" id="sendType" type="button" data-toggle="dropdown" style="border:none;outline:none;padding:0.06rem 0.08rem;font-size:0.12rem;"><span class="text"></span><span class="caret"></span></button>
								  <ul class="dropdown-menu" style="width:100%;">
								  		<li value='immediate' class="sendType"><a javascript:void(0) style="padding-left:0.08rem;cursor:pointer;">即时</a></li>
								  		<li value='timing' class="sendType"><a javascript:void(0) style="padding-left:0.08rem;cursor:pointer;">定时</a></li>
								  </ul>
								</div>
							</td>
						</tr>
						<tr class="pushTimeBox" style="display:none;">
							<td width="15%">
								<span class="required_fileds_star">发送时间</span>：
							</td>
							<td width="85%" class="enter">
								<input type="text" id="pushTime" name="pushTime" readOnly class="form-control form-date leftformdate" >
							</td>
						</tr>
						<tr>
							<td width="15%">
								<span class="required_fileds_star">消息内容</span>：
							</td>
							<td width="85%" class="enter">
								<textarea id="content" maxlength="1500" name="content" class="form-control" rows='7' style="resize:none;padding:0.05rem 0.1rem !important;"></textarea>
							</td>
						</tr>
					</table>
				</div>
			</div>
			<div class="yk_addBtns yk_addNewMsg newTabAddUpdateBtnBox">
				<button class="btn btn-white btn-info colorbtn save">发送</button>
				<button class="btn btn-white btn-info btn-cancel">关闭</button>
			</div>	
		</form>
	</div>
	<!-- 选择发送范围的弹框 -->
	<div class="modal fade myModal-sendRange businessDialog" id="myModal-adjustDepartment"  data-backdrop="static">
		<div class="modal-dialog" style="width:8.5rem;">
			<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">
				<p class="adjustTip"><span>选择 :</span><span style="margin-left:0.2rem;width:auto;">已选 :</span></p>	
				<div class="leftCheck">
					<div class="yk_selector_navbar">
						<i class="icon icon-double-angle-left backbtn"></i>
						<div class="yk_selector_navbar_item">
							<span>组织机构</span>
						</div>
					</div>
					<div class="yk_selector_checkbtn">
						<label style="cursor:pointer;width:100%;">
						    <input type="checkbox">&nbsp;&nbsp;全选
						</label>
					</div>
					<ul class="yk_selector_main">
						
					</ul>
				</div>
				<div class="rightAlreadyCheck">
					<ul class="yk_check_main">
						
					</ul>
				</div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-white btn-info colorbtn chooseSure">确定</button>
				<button type="button" class="btn btn-white btn-info" data-dismiss="modal">取消</button>
			</div>
		</div>
	</div>
</div>
</body>
<script src="/js/sys/messageManageList/msgAdd.js"></script>
</html>