1 Star 0 Fork 0

huangpengfei/ZF-system

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xf_js_cjlr_hnsf.aspx 10.39 KB
一键复制 编辑 原始数据 按行查看 历史
sysorem 提交于 2016-06-16 00:10 . zf
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="xf_js_cjlr_hnsf.aspx.vb" Inherits="zjdx.xf_js_cjlr_hnsf_aspx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML lang="gb2312">
<HEAD>
<title>现代教学管理信息系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="gb2312">
<meta content="all" name="robots">
<meta name="author" content="sunleoo@gmail.com">
<meta name="Copyright" content="正方软件 zfsoft">
<meta name="description" content="教务软件 学分制 教学管理">
<meta content="教务软件 学分制 教学管理">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" rev="stylesheet" href="style/main.css" type="text/css" media="all">
<SCRIPT language="javascript">
function button5_click(){
if (confirm("成绩为空的不能提交到正式成绩库,提交以后下次登陆将不能再修改该成绩\n如果只需要保存成绩,请点击保存按钮。\n单击“确定”提交成绩。单击“取消”停止提交。")==true)
__doPostBack('Button5','')
}
function Input_focus(e){
if (e.tagName == "INPUT")
e.parentElement.parentElement.bgColor = "#DCDCDC"
else
e.parentElement.parentElement.parentElement.bgColor ="#DCDCDC"
}
function Input_blur(e){
if (e.tagName == "INPUT")
e.parentElement.parentElement.bgColor = ""
else
e.parentElement.parentElement.parentElement.bgColor =""
}
function win_unload(){
if (document.all.txtChanged.value == "1" && document.all.Button1.disabled == ""){
if (confirm("您输入的成绩尚未保存,你确定不保存就退出吗?\n单击“确定”关闭页面。单击“取消”提交未保存的成绩。") == false){
__doPostBack('Button1','');
return;
}
}
alert("成绩输入完成,谢谢!");
window.close();
}
</SCRIPT>
</HEAD>
<BODY background="tpml/BKGRD9.JPG">
<FORM id="Form1" onkeydown="if(event.keyCode==13)event.keyCode=9" method="post" runat="server">
<iframe src="head.htm" frameborder="0" scrolling="no" width="100%" height="59"></iframe>
<div id="main">
<div id="title">
<div id="title_l"></div>
<div id="title_m">教师成绩录入</div>
<div id="title_r"></div>
</div>
<div id="content">
<font color="red">注:成绩录到一半时,请勿切换记分制,否则将导致未保存数据丢失。</font>
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD>教师姓名:
<ASP:LABEL id="jsxm" runat="server"></ASP:LABEL></TD>
<TD>课程名称:
<ASP:LABEL id="kcmc" runat="server"></ASP:LABEL></TD>
<ASP:TEXTBOX id="txtChanged" style="DISPLAY: none" Runat="server" Text="0"></ASP:TEXTBOX></TR>
<TR>
<TD align="right" colSpan="2" height="20">记分制:
<ASP:DROPDOWNLIST id="jfz" runat="server" AutoPostBack="True">
<ASP:LISTITEM Value="百分制">百分制</ASP:LISTITEM>
<ASP:LISTITEM Value="五级制">五级制</ASP:LISTITEM>
<ASP:LISTITEM Value="二级制">二级制</ASP:LISTITEM>
<ASP:LISTITEM Value="十一级制">十一级制</ASP:LISTITEM>
</ASP:DROPDOWNLIST></TD>
</TR>
<tr>
<td height="10"></td>
</tr>
</TABLE>
<ASP:DATAGRID id="DataGrid1" runat="server" Width="1000px" AutoGenerateColumns="False" GridLines="None"
CellPadding="3" CssClass="datagridstyle" AllowSorting="True">
<AlternatingItemStyle CssClass="datagrid1212"></AlternatingItemStyle>
<HeaderStyle CssClass="datagridhead"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="bjmc" SortExpression="bjmc" HeaderText="班级名称"></asp:BoundColumn>
<asp:BoundColumn DataField="xh" SortExpression="xh" HeaderText="学号"></asp:BoundColumn>
<asp:BoundColumn DataField="xm" SortExpression="xm" HeaderText="姓名">
<ItemStyle Wrap="False"></ItemStyle>
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="平时1">
<ItemTemplate>
<asp:textBox class=InputBox id="ps1" onblur=Input_blur(this) onfocus=Input_focus(this) runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ps1") %>' Width="48">
</asp:textBox>
<ASP:DROPDOWNLIST id="dps1" runat="server"></ASP:DROPDOWNLIST>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="平时2">
<ItemTemplate>
<asp:textBox class=InputBox id="ps2" onblur=Input_blur(this) onfocus=Input_focus(this) runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ps2") %>' Width="48">
</asp:textBox>
<ASP:DROPDOWNLIST id="dps2" runat="server"></ASP:DROPDOWNLIST>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="平时3">
<ItemTemplate>
<asp:textBox class=InputBox id="ps3" onblur=Input_blur(this) onfocus=Input_focus(this) runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ps3") %>' Width="48">
</asp:textBox>
<ASP:DROPDOWNLIST id="dps3" runat="server"></ASP:DROPDOWNLIST>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="平时4">
<ItemTemplate>
<asp:textBox class=InputBox id="ps4" onblur=Input_blur(this) onfocus=Input_focus(this) runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ps4") %>' Width="48">
</asp:textBox>
<ASP:DROPDOWNLIST id="dps4" runat="server"></ASP:DROPDOWNLIST>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="平时5">
<ItemTemplate>
<asp:textBox class=InputBox id="ps5" onblur=Input_blur(this) onfocus=Input_focus(this) runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ps5") %>' Width="48">
</asp:textBox>
<ASP:DROPDOWNLIST id="dps5" runat="server"></ASP:DROPDOWNLIST>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="平时成绩">
<ItemTemplate>
<asp:textBox class=InputBox id=ps onblur=Input_blur(this) onfocus=Input_focus(this) runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.pscj") %>' Width="48">
</asp:textBox>
<ASP:DROPDOWNLIST id="dps" runat="server"></ASP:DROPDOWNLIST>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="期中成绩">
<ItemTemplate>
<asp:textBox runat="server" ID="qz" Width="48" Text='<%# DataBinder.Eval(Container, "DataItem.qzcj") %>' onfocus="Input_focus(this)" onblur="Input_blur(this)" Class="InputBox"/>
<ASP:DROPDOWNLIST id="dqz" runat="server"></ASP:DROPDOWNLIST>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="期末成绩">
<ItemTemplate>
<asp:textBox class=InputBox id=qm onblur=Input_blur(this) onfocus=Input_focus(this) runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.qmcj") %>' Width="48">
</asp:textBox>
<ASP:DROPDOWNLIST id="Dqm" runat="server"></ASP:DROPDOWNLIST>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="实验成绩">
<ItemTemplate>
<asp:textBox runat="server" ID="sy" Width="48" Text='<%# DataBinder.Eval(Container, "DataItem.sycj") %>' onfocus="Input_focus(this)" onblur="Input_blur(this)" Class="InputBox"/>
</asp:textBox>
<ASP:DROPDOWNLIST id="Dsy" runat="server"></ASP:DROPDOWNLIST>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="总评成绩">
<ItemTemplate>
<asp:textbox class=InputBox id=zp onblur=Input_blur(this) onfocus=Input_focus(this) runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.zpcj1") %>' Width="48">
</asp:textbox>
<ASP:DROPDOWNLIST id="Dzp" runat="server"></ASP:DROPDOWNLIST>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="备注">
<ItemTemplate>
<ASP:TEXTBOX runat="server" ID="BZ" Text='<%# DataBinder.Eval(Container, "DataItem.BZ") %>'>
</ASP:TEXTBOX>
<ASP:DROPDOWNLIST id="dbz" runat="server"></ASP:DROPDOWNLIST>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn Visible="False" DataField="cxbj" HeaderText="重修标记"></asp:BoundColumn>
</Columns>
</ASP:DATAGRID>
<TABLE id="Table2" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD width="30%" height="34">平时
<ASP:TEXTBOX id="psb" runat="server" Width="28px">20</ASP:TEXTBOX>%
<asp:label id="Label_qz" runat="server">期中</asp:label><ASP:TEXTBOX id="qzb" runat="server" Width="28px">0</ASP:TEXTBOX><asp:label id="Label_qzb" runat="server">%</asp:label>期末
<ASP:TEXTBOX id="qmb" runat="server" Width="28px">80</ASP:TEXTBOX>%实验
<ASP:TEXTBOX id="syb" runat="server" Width="28px">0</ASP:TEXTBOX>%
</TD>
<TD align="center" width="25%">总评转换成
<ASP:DROPDOWNLIST id="Dropdownlist1" runat="server" AutoPostBack="True">
<ASP:LISTITEM Value="百分制">百分制</ASP:LISTITEM>
<ASP:LISTITEM Value="五级制">五级制</ASP:LISTITEM>
<ASP:LISTITEM Value="二级制">二级制</ASP:LISTITEM>
<ASP:LISTITEM Value="十一级制">十一级制</ASP:LISTITEM>
</ASP:DROPDOWNLIST>&nbsp;&nbsp;
<ASP:BUTTON id="Button3" runat="server" Text="输出打印" CssClass="button"></ASP:BUTTON></TD>
<TD align="center" width="10%">&nbsp;&nbsp;<ASP:BUTTON id="Button1" runat="server" Text="保 存" CssClass="button"></ASP:BUTTON></TD>
<TD align="center" width="10%"><INPUT id="Button5" onclick="return button5_click();" type="button" value=" 提交 " name="Button5"
runat="server" class="button">&nbsp;&nbsp;</TD>
<TD align="center" width="12%"><ASP:BUTTON id="Button4" runat="server" Text="清空总评" CssClass="button"></ASP:BUTTON>&nbsp;&nbsp;</TD>
<TD width="13%">&nbsp;
<ASP:BUTTON id="Button2" runat="server" Text="关 闭" CssClass="button"></ASP:BUTTON></TD>
</TR>
</TABLE>
</div>
</div>
<div id="bottom">
<iframe src="bottom.htm" frameborder="0" scrolling="no" width="100%" height="28"></iframe>
</div>
</FORM>
</BODY>
</HTML>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xjuhuangpengfei/ZF-system.git
git@gitee.com:xjuhuangpengfei/ZF-system.git
xjuhuangpengfei
ZF-system
ZF-system
master

搜索帮助