<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
  <%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
    <!DOCTYPE html>
    <html>

    <head>
      <title>发布微信消息</title>
      <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
      <!-- bootstrap 3.0.2 -->
      <link href="<c:url value='/scripts/lib/layui/layui.css'/>" rel="stylesheet" type="text/css" />

      <!-- Theme style -->
      <link href="<c:url value='/styles/AdminLTE.css'/>" rel="stylesheet" type="text/css" />
      <link href="<c:url value='/styles/notice/noticeWxPublish.css?v=4543'/>" rel="stylesheet" type="text/css" />
      <script type="text/javascript" src="<c:url value='/scripts/lib/jquery-1.8.2.min.js'/>"></script>
      <script type="text/javascript" src="<c:url value='/scripts/lib/layui/layui.js'/>"></script>
      <%-- <script type="text/javascript" src="<c:url value='/scripts/lib/layDate/laydate.dev.js'/>"></script> --%>
        <script type="text/javascript" src="<c:url value='/scripts/lib/template-native.js'/>"></script>
        <script type="text/javascript" src="<c:url value='/scripts/admin/cjqt.js'/>"></script>

    </head>

     <!-- 微信模板消息  此版本微信模板审核还可以编辑内容 -->
    <body>
      <div class="bread-wp">
      		公告通知 >  发布公告消息  > 微信模板审核
          
      </div>
      <div class="right-content">
        <input type="hidden" value="${ctx}" id="contextPath">
         <ul class="third-tabs">
	          <li class="third-tab ">
	            <a href="noticeAppPublish">公告</a>
	          </li>
	          <li class="third-tab active">
	            <a href="wxPublish">微信模板消息</a>
	          </li>
	          <li class="third-tab">
	            <a href="msgPublish">短信消息</a>
	          </li>
	          <li class="third-tab">
	            <a href="emailPublish">邮件消息</a>
	          </li>
        </ul>
        <!-- 微信模板消息 -->
        <div class="main-content-mode-wp" id="main-content-mode-wp">
          <div class="wx-temp-wp">
            <!-- <c:if test="${fn:length(orgs) > 1}">
              <select class="select-width180 org-list" name="orgId" id="orgId" >
                <option value="">请选择项目</option>
                <c:forEach items="${orgs }"  var="org">
                <option value="${org.id }">${org.name }</option>
                </c:forEach>
              </select>
            </c:if>
            <c:if test="${fn:length(orgs) == 1}">
                <input type="hidden" name="orgId" id="orgId" value="${orgs[0].id}">
            </c:if> -->
            <c:if test="${fn:length(orgs) > 1}">
              <div class=" part-wp">
                <span class="search-tips">选择项目</span>
                <input class="default-select" name="orgId" id="orgId" autocomplete="off"  placeholder="请选择项目"/>
                <span class="select_wrap _hide" style="width:200px"></span>
              </div>
            </c:if>
            <c:if test="${fn:length(orgs) == 1}">
              <input type="hidden" name="orgId" id="orgId" value="${orgs[0].id}" org__id="${orgs[0].id}" class="single-orgid">
            </c:if>
            <select class="select-width180 wx-list">
              <option value="">选择微信公众号</option>
            </select>
            <select class="select-width180 temp-list">
              <option value="">选择消息模板</option>
            </select>

            <div class="part-wp approvalStyle">
              <span class="search-tips">审核类型</span>
              <select name="city" class="small-input" id="approvalType">
                <option value="">请选择审核类型</option>
              </select>
            </div>
          </div>
          <!-- <div class="choose-group-wp">
            <span class="c-g-tips">选择发送群组</span>
            <span class="c-group-btn">从微信公众号更新用户群组信息</span>
          </div> -->
          <div class="choose-infor-list">
            <!-- <div class="choose-infor-item clearfloat">
              <span class="wx-tips">标题</span>
              <input type="text" class="wx-input wx-title" placeholder="请输入标题" />
            </div> -->
            <!-- <div class="choose-infor-item clearfloat">
              <span class="wx-tips">工单号</span>
              <input type="text" class="wx-input" placeholder="请输入工单号" />
            </div>
            <div class="choose-infor-item clearfloat">
              <span class="wx-tips">进度</span>
              <input type="text" class="wx-input" placeholder="请输入进度" />
            </div>
            <div class="choose-infor-item clearfloat">
              <span class="wx-tips">处理人</span>
              <input type="text" class="wx-input" placeholder="请输入处理人" />
            </div>
            <div class="choose-infor-item clearfloat">
              <span class="wx-tips">备注</span>
              <input type="text" class="wx-input" placeholder="请输入备注" />
            </div> -->
            <div class="choose-infor-item clearfloat">
              <span class="wx-tips">原文链接</span>
              <input type="text" class="wx-input wx-link" placeholder="请输入原文链接" />
            </div>
            <!-- <div class="choose-infor-item clearfloat">
              <span class="wx-tips">发送对象</span>
              <div class="public-item-con">
                <div class="radio-wp radio-block" >
                  <span class="radio-input">
                    <input type="radio" id="pb-item" data-type="2"  class="radio-item" name="public" >
                    <span class="radio-inner"></span>
                  </span>		
                  <label class="radio-con" for="pb-item">项目所有用户<span style="font-weight:normal">（登录过楼宇之窗的用户才会受到公众号推送）</span></label>
                </div>
                <div class="radio-wp radio-block" >
                  <span class="radio-input">
                    <input type="radio" id="pb-some" data-type="3" class="radio-item" name="public" >
                    <span class="radio-inner"></span>
                  </span>		
                  <label class="radio-con" for="pb-some">项目部分用户</label>
                </div>
                <div class="search-select-wp"></div>
              </div>
            </div> -->
          </div>
          <div class="msg-list-wp clearfloat public-extra-wp">
            <span class="wx-tips">审核结果</span>
            <div class="msg-list-con">
              <div class="msg-radio">
                <div class="radio-wp " style="margin-right: 15px;" >
                  <span class="radio-input">
                    <input type="radio" id="status1" class="radio-item status" data-status="1" name="status" checked/>
                    <span class="radio-inner"></span>
                  </span>		
                  <label class="radio-con" for="msg-yes">通过</label>
                </div>
                <div class="radio-wp " style="margin-right: 15px;">
                  <span class="radio-input">
                    <input type="radio" id="status2" class="radio-item status" data-status="2" name="status" />
                    <span class="radio-inner"></span>
                  </span>		
                  <label class="radio-con" for="msg-no">不通过</label>
                </div>
              </div>
            </div>
          </div>
          <div class="choose-infor-item clearfloat">
            <span class="wx-tips wx-desc">描述</span>
            <textarea rows="" cols="" class="summary-con-wx"></textarea>
          </div>

          <div class="btns-wp">
	            <!-- <button class="btn-blue-110 preview-btn">预览</button> -->
              <button class="btn-back-110 edit-back-btn">返回</button>
	            <button class="btn-red-width90 submit-btn" >提交发送</button>
			    </div>
         <!--  <div class="wx-notices">
            <span class="tips">注：</span>可在“app公告”里生成一个公告消息的链接，然后粘贴该链接地址在“原文链接”处，用户在收到微信模板消息后，点击打开即能查看这篇公告消息。
          </div> -->
        </div>
      </div>
      <script type="text/javascript" src="<c:url value='/scripts/admin/notice/noticeWxPublishApprovel.js?v=6633366'/>"></script>
    </body>

    </html>