<%@ page language="C#" autoeventwireup="true" inherits="DH_PopupPanel, App_Web_7jalpyfq" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<script type="text/javascript" src="../JS/jquery.min.js"></script>
<script type="text/javascript" src="../JS/jquery.tools.min.js"></script>
<link href="../CSS/tabCss.css" rel="stylesheet" type="text/css" />
<script>
 jQuery(function($) {
        $("ul.tabs").tabs("#TabPanels > div");
         
 }); 
</script>
<style>
td{
 font-size:10pt;  
}
#TabPanels td,th{
 border-bottom: gray 1px dotted;
 border-right: gray 1px dotted;
 

     border-color:#FFFFFF #DBE2E7 #DDDDDD #FFFFFF;
            border-left:1px solid #FFFFFF;
            border-right:1px solid #DBE2E7;
            border-style:solid;
            border-width:1px;
}
#TabPanels.td{
    font-weight:500; 
}

h5{
    margin:0;
    padding:5px;
    background-color:#E2E8EB;
    font-size:11pt;
   }
#TabPanels table {
        background:none repeat scroll 0 0 #FFFFFF;
        border-color:#CCCCCC #BEC6CE #BEC6CE #CCCCCC;
        border-style:solid;
        border-width:1px 2px 2px 1px;
        line-height:150%;
        padding:5px;
        white-space:normal;
        margin:5;
       
   }
   .pane{
    overflow-y:scroll;
    height:400px
   }
</style>
   
</head>
<body >
<form runat="server">
    <ul class="tabs">
        <asp:Literal ID="litUl" runat="server"></asp:Literal>
    </ul>
     <div id="TabPanels">
      
            <asp:Repeater ID="rptNotVerifyProject" runat="server">
             <HeaderTemplate>
             
              <div class="pane">
              <h5>为审核的项目</h5>
             <table  width="100%"><tbody><tr><th>选</th><th>项目名</th><th>开始时间</th><th>结束时间</th></tr>
             </HeaderTemplate>
             <ItemTemplate>
                 <tr >
                    <td><input  id="CBSelect" type= "checkbox" value='<%#Eval("CID") %>'  runat= "server"/></td>
                    <td ><a style="cursor:pointer;"  onclick="locationUrl('../Admin/ProjectVerify.aspx')" ><%#Eval("PName") %></a></td>
                    <td ><%#FormatDate(Eval("beginDate").ToString())%></td>
                    <td ><%#FormatDate(Eval("endDate").ToString())%></td>
                </tr>
             </ItemTemplate>
             <FooterTemplate>
               </tbody></table>
                  </div>
             </FooterTemplate>
            </asp:Repeater>
    
       
     
            <asp:Repeater ID="rptServiceTx" runat="server">
             <HeaderTemplate>
            
               <div class="pane">
                <h5>服务提示</h5>
             <table  width="100%"><tbody><tr><th>选</th><th>项目名</th><th>服务时间</th><th>备注</th></tr>
             </HeaderTemplate>
             <ItemTemplate>
                 <tr >
                    <td><input  id="CBSelect" type= "checkbox" value='<%#Eval("CID") %>'  runat= "server"/></td>
                    <td ><a style="cursor:pointer;"  onclick="locationUrl('../Admin/ProjectSerivceTS.aspx')" ><%#Eval("PName") %></a></td>
                    <td ><%#Eval("IDate")%></td>
                    <td ><%#Eval("Beizhu")%></td>
                </tr>
             </ItemTemplate>
             <FooterTemplate>
               </tbody></table>
                 </div>
             </FooterTemplate>
            </asp:Repeater>
     
           
       
                <asp:Repeater ID="rptNotCompleteProject" runat="server">
                 <HeaderTemplate>
                 
                  <div class="pane">
                  <h5>未完成项目</h5>
                  <table  width="100%"><tbody><tr><th>选</th><th>项目名</th><th>开始时间</th><th>结束时间</th></tr>
                 </HeaderTemplate>
                 <ItemTemplate>
                     <tr>
                        <td><input  id="CBSelect" type= "checkbox" value='<%#Eval("CID") %>'  runat= "server"/></td>
                        <td><a style="cursor:pointer;"  onclick="locationUrl('<%=url %>')" ><%#Eval("PName") %></a></td>
                        <td><%#FormatDate(Eval("beginDate").ToString())%></td>
                        <td><%#FormatDate(Eval("endDate").ToString())%></td>
                    </tr>
                 </ItemTemplate>
                 <FooterTemplate>
                   </tbody></table>
                   </div>
                 </FooterTemplate>
                </asp:Repeater>
        
    
     
                 <asp:Repeater ID="rptIProjectHF" runat="server">
                 <HeaderTemplate>
                 <div class="pane">
                 <h5>意向项目回访提醒</h5>
                 <table width="100%"><tbody><tr><th>选</th><th>项目名</th><th>回访时间</th><th>备注</th></tr>
                 </HeaderTemplate>
                 <ItemTemplate>
                     <tr>
                        <td><input  id="CBSelect" type= "checkbox" value='<%#Eval("CID") %>'  runat= "server"/></td>
                        <td><a style="cursor:pointer;"  onclick="locationUrl('../Admin/ProjectIntentionhfts.aspx?cid=<%#Eval("CID") %>')"   ><%#Eval("PName") %></a></td>
                        <td><%#Eval("IDate") %></td>
                        <td><%#Eval("Beizhu") %></td>
                     </tr>
                 </ItemTemplate>
                 <FooterTemplate>
                   </tbody></table>
                   </div>
                 </FooterTemplate>
                </asp:Repeater>
    
                 <asp:Repeater ID="rptNotPayment" runat="server">
                 <HeaderTemplate>
                 
                  <div class="pane">
                  <h5>未全额付款项目</h5>
                 <table width="100%"><tbody><tr><th>选</th><th>项目名</th><th>金额</th><th>未付款</th></tr>
                 </HeaderTemplate>
                 <ItemTemplate>
                     <tr >
                        <td><input  id="CBSelect" type= "checkbox" value='<%#Eval("CID") %>'  runat= "server"/></td>
                        <td ><a style="cursor:pointer;"  onclick="locationUrl('../Admin/ProjectPayment.aspx')"  ><%#Eval("PName") %></a></td>
                        <td ><%#Eval("Amount") %></td>
                        <td ><%#Eval("SumPayment")%></td>
                    </tr>
                 </ItemTemplate>
                 <FooterTemplate>
                   </tbody></table>
                   </div>
                 </FooterTemplate>
                </asp:Repeater>
    
    
    </div>
      <div style="width:100%;" align="center">
          <table width="100%">
          <tr>
          <td align="right">
          <script>
          function isSelect(){
            if($("#rblSetDay input:checked").size()==0){
                 alert("请选择设置间隔天数！");
                 return false;
            }
            return true;
          }
          
          </script>
          <asp:RadioButtonList ID="rblSetDay" runat="server" RepeatDirection="Horizontal">
              <asp:ListItem Value="1">1天</asp:ListItem>
              <asp:ListItem Value="2">2天</asp:ListItem>
              <asp:ListItem Value="3">3天</asp:ListItem>
              <asp:ListItem Value="4">4天</asp:ListItem>
              <asp:ListItem Value="5">5天</asp:ListItem>
              <asp:ListItem Value="6">不在提醒</asp:ListItem>
          </asp:RadioButtonList>
          </td>
          <td align="left"><asp:Button id="btnSubmit" runat="server" Text="设置间隔"  OnClientClick=" return isSelect()" Width="103px" OnClick="btnSubmit_Click"></asp:Button>

              <asp:Label ID="labTS" runat="server" ForeColor="gray" Text="*延迟提醒日期操作设定日期则不会在提醒"></asp:Label>
          
          </td>
          </tr>
          </table>
      </div>
</form>
</body>
<script>
function locationUrl(url){
    parent.location.href=url;
}

</script>
</html>
