studenCheck.aspx
上传用户:szhf331
上传日期:2022-06-22
资源大小:1032k
文件大小:6k
- <%@ page language="C#" autoeventwireup="true" inherits="Admin_studenthe, App_Web_-xa8ffcb" %>
- <!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 runat="server">
- <title>无标题页</title>
- <script src="inc/admin.js" type="text/javascript"></script>
- <script src="inc/showpage.js" type="text/javascript"></script>
- <script src="../Admin/js/jquery-1.3.2.min.js" type="text/javascript"></script>
- <link href="images/css.css" type="text/css" rel="stylesheet" />
- <link href="images/admin_file_css.css" type="text/css" rel="stylesheet" />
- <style type="text/css">
- #gvList
- {
- position:relative ;
- table-layout:fixed;
- top:expression(this.offsetParent.scrollTop);
- z-index: 10;
- }
- #gvList th,{text-overflow:ellipsis;overflow:hidden;white-space: nowrap;padding:2px;}
- </style>
- </head>
- <body>
- <form id="form1" runat="server">
- <h1>
- 学生信息核审</h1>
- <div style="text-align:center">
- <asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px" Visible="false">
- <b>没有需要核审的信息!</b>
- </asp:Panel></div>
-
- <div style="height: 3px; width: 100%; background: #fff;">
-
- <asp:GridView ID="gvList" HeaderStyle-HorizontalAlign="Center" runat="server" AutoGenerateColumns="False"
- CssClass="info_tab2" Width="100%" Style="left: 1px" AllowSorting="True" AllowPaging="True" OnRowEditing="gvList_RowEditing" DataKeyNames="id" OnRowDeleting="gvList_RowDeleting">
- <Columns>
- <asp:TemplateField HeaderText="选择">
- <HeaderTemplate>
- <a href="#" id="CheckAllAll">选</a>
- </HeaderTemplate>
- <ItemTemplate>
- <input type="checkbox" name="ArticleId" value='<%# Eval("id") %>' /></ItemTemplate>
- <HeaderStyle Width="30px" />
- </asp:TemplateField>
- <asp:BoundField DataField="name" HeaderText="姓名" SortExpression="name"></asp:BoundField>
- <asp:BoundField DataField="Col" HeaderText="系别" />
- <asp:BoundField DataField="pro" HeaderText="专业" />
- <asp:BoundField DataField="lj" HeaderText="年级" />
- <asp:BoundField DataField="cla" HeaderText="班级" />
- <asp:BoundField DataField="Classno" HeaderText="学号" />
- <asp:BoundField DataField="identityNo" HeaderText="身份证" />
- <asp:TemplateField HeaderText="性别">
- <ItemTemplate>
- <asp:Label ID="Label2" runat="server" Text='<%# Eval("gender").ToString()=="1"?"男":"女" %>'></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="address" HeaderText="家庭地址" />
- <asp:BoundField DataField="Zip" HeaderText="邮编" />
- <asp:TemplateField HeaderText="政治面貌">
- <ItemTemplate>
- <asp:Label ID="Label4" runat="server" Text='<%# GetZhenZhi(Eval("Political").ToString()) %>'></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="birth" HeaderText="出生年月" />
- <asp:TemplateField HeaderText="民族">
- <ItemTemplate>
- <asp:Label ID="Label1" runat="server" Text='<%# MinZuByMinZuID(Eval("National").ToString()) %>'></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="Telephone" HeaderText="联系电话" />
- <asp:BoundField DataField="EMAIL" HeaderText="E-mail" />
- <asp:TemplateField HeaderText="操作">
- <EditItemTemplate>
-
- </EditItemTemplate>
- <ItemTemplate>
-
- <asp:LinkButton ID="lbHe" CommandName="Edit" runat="server">审核</asp:LinkButton>
- <asp:LinkButton ID="lbJuHe" CommandName="Delete" runat="server">拒核</asp:LinkButton>
- </ItemTemplate>
- <HeaderStyle Width="10%" />
- <ItemStyle Width="10%" />
- </asp:TemplateField>
- </Columns>
- <RowStyle Width="100%" />
- <HeaderStyle Width="100%" HorizontalAlign="Center" />
- </asp:GridView>
- <div style="text-align:center; margin-top:10px;"><asp:Button ID="btnOK" OnClientClick="return btndel1()" runat="server" Text="全部核审" OnClick="btnOK_Click"/> <asp:Button ID="btnDel" OnClientClick="return btndel()" runat="server" Text="全部拒审" OnClick="btnDel_Click"/></div>
- </div>
-
- <h1>
-
- </h1>
- </form>
- <script type="text/javascript">
- function checkpro(){
- }
- function checkcla(){
- }
- $(function(){
- //$("#CheckAllAll").bind("click", function(){alert('ddd')});
- $("#CheckAllAll").toggle(function(){
- $("input[name='ArticleId']").attr( "checked", "true");
- },function(){
- $("input[name='ArticleId']").attr( "checked", "");
- } );
- });
- function btndel() {
- var aa="确实要拒审ID为:";
- var bb="";
- $("input[name='ArticleId']").each(function(index, domEle){
- if ($(domEle).attr("checked")==true) {
- bb+=$(domEle).val()+",";
- };
-
- });
- if (bb!="") {
- bb=bb.substring(0,bb.length-1);
- return confirm(aa+bb+"的信息吗");
- }
- else
- {
- alert('请选择要拒审的学生');
- return false;
- }
- }
- function btndel1() {
- var aa="确实要核审ID为:";
- var bb="";
- $("input[name='ArticleId']").each(function(index, domEle){
- if ($(domEle).attr("checked")==true) {
- bb+=$(domEle).val()+",";
- };
-
- });
- if (bb!="") {
- bb=bb.substring(0,bb.length-1);
- return confirm(aa+bb+"的信息吗");
- }
- else
- {
- alert('请选择要核审的学生');
- return false;
- }
- }
- </script>
- <asp:AccessDataSource ID="AccessDataSource1" runat="server"></asp:AccessDataSource>
- </body>
- </html>