<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Check_Plans_NotResult.aspx.cs" Inherits="eFrameWork.Application.Check_Plans_NotResult" %>
<%@ Import Namespace="EKETEAM.FrameWork" %>
<%@ Import Namespace="EKETEAM.Data" %>



<div class="nav">您当前位置：<a href="Default.aspx">首页</a> -> 未采集 -> <%=row["mc"].ToString() %> 

<%if (model.Power.Table.Columns.Contains("export") && model.Power["export"].ToString() == "true")
  {%>
<a style="float:right;margin-top:10px;" class="button" href="Check/Check_Export.aspx?AppItem=<%=AppItem %>&PlanID=<%=PlanID %>&type=3" target="_blank"><span><i class="export">导出</i></span></a>
<%}%>



</div>

<script>

    function setReason(value, sfzh)
    {

        var url = "?AppItem=<%=AppItem%>&PlanID=<%=PlanID%>&code=<%=code%>&sfzh=" + sfzh + "&value=" + value;
        $.ajax({
            type: "GET",
            async: false,
            url: url,
            dataType: "html",
            success: function (data) {
                layer.msg(data);
            }
        });
    };
</script>

<div style="margin:10px;">


<table height="100%" width="100%" border="0" cellspacing="0" cellpadding="0">
<colgroup>
<col width="250" />
<col />
</colgroup>
 <tr valign="top">
     <td width="250"><asp:Literal ID="LitOrgList" runat="server" /></td>
     <td>
         <div class="esearchgroup" style="display:none;">
<a href="javascript:;" onfocus="this.blur();" class="cur">所有</a>
<a href="javascript:;" onfocus="this.blur();">已上报</a>
<a href="javascript:;" onfocus="this.blur();">未上报</a>
</div>    
<dl id="eSearchBox" class="ePanel" style="display:none;">
<dt><h1 onclick="showPanel(this);" class="search"><a href="javascript:;" class="cur" onfocus="this.blur();"></a>搜索</h1></dt>
<dd style="display:none;">
<form id="frmsearch" name="frmsearch" method="post" onsubmit="return goSearch(this);" action="<%=elist.getSearchURL()%>">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="eDataView">
<colgroup>
<col width="120" />
<col />
</colgroup>

<tr>
<td class="title">姓名：</td>
<td class="content"><span class="eform"><ev:eSearchControl ID="s3" Name="s3" ControlType="text" Field="XM" Operator="like" FieldName="批次编号" DataType="string" runat="server" /></span></td>
</tr>

<tr>
<td colspan="2" class="title" style="text-align:left;padding-left:125px;">
<a class="button" href="javascript:;" onclick="if(frmsearch.onsubmit()!=false){frmsearch.submit();}"><span><i class="search">搜索</i></span></a>
</td>
</tr>
</table>
</form>
</dd>
</dl>
</div>
<div style="margin:0px;overflow-x:auto;overflow-y:hidden;">

    <asp:Repeater id="eDataTable" runat="server">
<HeaderTemplate>
<table id="eDataTable" class="eDataTable" border="0" cellpadding="0" cellspacing="0" width="100%">
<thead>
<tr>
<td width="60">序号</td>
<td>采集批次</td>
<td >姓名</td>
<td >身份证号</td>
<td >电话</td>
<td >性别</td>
<td >民族</td>
<td >住址</td>
<td width="110">采集方式</td>
<td >未采集原因</td>
</tr>
</thead>
<tbody>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td height="35"><%#Container.ItemIndex+1+((ePageControl1.Page-1) * ePageControl1.PageSize) %></td>
<td><%=row["mc"].ToString() %></td>
<td><%# Eval("XM").ToString() %></td>
<td><%# Eval("SFZH").ToString() %></td>
<td><%# Eval("LXDH").ToString() %></td>
<td><%# Eval("XB").ToString() %></td>
<td><%# Eval("MZ").ToString() %></td>
<td><%# Eval("DZ").ToString() %></td>
<td><%# Eval("CJFS").ToString()  %> </td>
<td>
    <select onChange="setReason(this.value,'<%# Eval("SFZH").ToString() %>');">
    <option value="">无</option>
    <%# eOleDB.getOptions("select mc from Dictionaries where ParentID='2a17a598-ac3a-457a-8479-c910a4e2718a' and delTag=0 order by px,AddTime","mc","mc",Eval("Reason").ToString())  %>
    </select>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
 </tbody>
</table>
</FooterTemplate>
</asp:Repeater>



</div>

<asp:Literal ID="LitNoResords" runat="server" />
<div style="margin:10px;">
<ev:ePageControl ID="ePageControl1" PageSize="20" PageNum="9" runat="server" />
</div>

</td>
 </tr>
</table>