ModifyOther.aspx 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ModifyOther.aspx.cs" Inherits="ModifyOther" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head id="Head1" runat="server">
  5. <title></title>
  6. <link href="js/tableCSS.css" rel="stylesheet" type="text/css" />
  7. <link href="js/ASPNET2BaseCss.css" rel="stylesheet" type="text/css" />
  8. <style>
  9. #maindiv{
  10. width:900px;
  11. height:auto;
  12. border:#06F 1px groove;
  13. margin:0 auto;
  14. margin-top:10px;
  15. border-radius:15px;
  16. box-shadow:#CCC 6px 6px;
  17. padding:10px;
  18. font-size:12px;
  19. background-color:White;
  20. }
  21. #menu1{
  22. background-color:#E7F4F8;
  23. border:#03C 1px dotted;
  24. border-radius:8px;
  25. color:#FFF;
  26. padding:3px;
  27. box-shadow:#859CAD 4px 4px;
  28. text-align:left;
  29. color:#333399;
  30. }
  31. #stNav
  32. {
  33. padding:5px;
  34. margin-top:6px;
  35. background-color:#87B6E9;
  36. text-align:center;
  37. border:#F00 1px thick;
  38. box-shadow:#859CAD 3px 3px;
  39. border-radius:10px;
  40. }
  41. table
  42. {box-shadow:#859CAD 3px 3px;
  43. border-radius:10px;
  44. }
  45. .style1
  46. {
  47. height: 12px;
  48. width: -255%;
  49. }
  50. .style2
  51. {
  52. height: 39px;
  53. }
  54. .Input3
  55. {}
  56. #XQ
  57. {
  58. width: 148px;
  59. }
  60. #JC
  61. {
  62. width: 132px;
  63. }
  64. .style3
  65. {
  66. height: 12px;
  67. width: 13%;
  68. }
  69. .style4
  70. {
  71. width: 13%;
  72. }
  73. #XQ0
  74. {
  75. width: 148px;
  76. }
  77. </style>
  78. <script>
  79. function checkbox(checkbox_name, table_tr_name) {
  80. var ckData = []; //selection checkbox array
  81. var ckstr = ""; //selection checkbox string
  82. var ckArr = document.getElementsByName(checkbox_name);
  83. var text = document.getElementById("TextBox5");
  84. for (var i = 0; i < ckArr.length; i++) {
  85. if (ckArr[i].checked) {
  86. ckData.push(ckArr[i].value);
  87. ckstr += ckArr[i].value;
  88. }
  89. }
  90. if (ckstr.length > 0) {
  91. // document.getElementById(table_tr_name).style.backgroundColor = "#FB9C97";
  92. document.getElementById(table_tr_name).style.backgroundColor = "#86D0F9";
  93. }
  94. else
  95. { document.getElementById(table_tr_name).style.backgroundColor = ""; }
  96. text.value = text.value + ckstr;
  97. }
  98. </script>
  99. </head >
  100. <body bgcolor="#006666">
  101. <form id="form1" runat="server">
  102. <div id="maindiv">
  103. <div id="stNav">
  104. &nbsp;&nbsp;&nbsp;<table width='96%' height='111' border='1' align="center" cellspacing='1' bordercolor="#C1E7FD" bgcolor="#F4FCFF">
  105. <!--DWLayoutTable-->
  106. <tr bgcolor="#E2F2FC" >
  107. <td height='33' colspan="5" align="center">
  108. <font color="#FF0000" size="4" face="黑体">督导项目记录</font> </td>
  109. </tr>
  110. <TR>
  111. <TD colspan="5"><!--DWLayoutEmptyCell-->&nbsp;</TD>
  112. </TR>
  113. <tr align='center'>
  114. <td align='center' valign='middle' nowrap class="style3">
  115. 督导姓名 </td>
  116. <td width=85% align='left' valign='middle' class="style1" colspan="4">
  117. <asp:TextBox ID="TextBox1" runat="server" Width="120px" Height="26px" CssClass="Input3"></asp:TextBox>
  118. &nbsp;督导时间:<asp:TextBox ID="ZJ" Width="120px" Height="26px" runat="server"></asp:TextBox>
  119. &nbsp; 督导地点:<asp:TextBox ID="DD" Width="120px" Height="26px" runat="server"></asp:TextBox>
  120. &nbsp;系部:<asp:TextBox ID="XB" Width="120px" Height="26px" runat="server"></asp:TextBox>
  121. </td>
  122. </tr>
  123. <tr align='center'>
  124. <td align='center' valign='middle' class="style3"> 主题</td>
  125. <td width=85% align='left' valign='middle' class="style1" colspan="4">
  126. &nbsp;<asp:TextBox ID="ZZT" Width="120px" Height="26px" runat="server"></asp:TextBox>
  127. 主要参与人员:<asp:TextBox ID="BJ" Width="480px" Height="26px" runat="server"></asp:TextBox>
  128. &nbsp;</td>
  129. </tr>
  130. <tr align='center'>
  131. <td height='12' align='center' valign='middle' class="style4"> 星期</td>
  132. <td align='left' valign='middle' colspan="4">
  133. <label>
  134. &nbsp;<asp:TextBox ID="XQ" Width="120px" Height="26px" runat="server"></asp:TextBox>
  135. &nbsp;节&nbsp;&nbsp;次&nbsp;: <asp:TextBox ID="JC" Width="120px"
  136. Height="26px" runat="server"></asp:TextBox>
  137. &nbsp;说明
  138. <asp:TextBox ID="PF" Width="320px" Height="26px"
  139. runat="server"></asp:TextBox>
  140. </label>
  141. </td>
  142. </tr>
  143. <tr align='center'>
  144. <td height='12' align='center' valign='middle' class="style4"><p>内容记录</p>
  145. </td>
  146. <td width=85% align='left' valign='middle' colspan="4">
  147. <asp:TextBox ID="TextBox5" runat="server" TextMode="MultiLine"
  148. Width="663px" CssClass="Input3" Height="107px"></asp:TextBox>
  149. <BR> </td>
  150. </tr>
  151. <tr align='center'>
  152. <td height='26' align='center' valign='middle' ><p>图片附件1</p> </td>
  153. <td align='left' valign='middle' style="color: #FF0000"> <asp:TextBox ID="PIC1" Width="180px"
  154. Height="26px" runat="server"></asp:TextBox>
  155. (删除内容后可重新上传)</td>
  156. <td align='left' valign='middle' colspan="2" > 图片附件2</td>
  157. <td align='left' valign='middle' style="color: #FF3300">
  158. <asp:TextBox ID="PIC2" Width="180px" Height="26px" runat="server"></asp:TextBox>
  159. (删除内容后可重新上传)</td>
  160. </tr>
  161. <tr align='center'>
  162. <td height='26' align='center' valign='middle' ><p>图片附件预览</p> </td>
  163. <td align='left' valign='middle' colspan="2" >
  164. <asp:Literal ID="Literal2" runat="server"></asp:Literal>
  165. </td>
  166. <td align='left' valign='middle' colspan="2" >
  167. <asp:Literal ID="Literal3" runat="server"></asp:Literal>
  168. </td>
  169. </tr>
  170. <tr align='center'>
  171. <td height='12' align='center' valign='middle' class="style4"><p>文件附件</p> </td>
  172. <td width=85% align='left' valign='middle' colspan="4" style="color: #FF3300">
  173. <asp:TextBox ID="FileAtt" Width="180px"
  174. Height="26px" runat="server"></asp:TextBox>
  175. (删除内容后可重新上传)</td>
  176. </tr>
  177. <tr align='center'>
  178. <td height='12' align='center' valign='middle' class="style4"><p>建议或结果</p>
  179. </td>
  180. <td width=85% align='left' valign='middle' colspan="4">
  181. <asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine"
  182. Width="663px" CssClass="Input3" Height="107px"></asp:TextBox>
  183. <BR> </td>
  184. </tr>
  185. <tr align='center'>
  186. <td colspan="5" align='center' valign='middle' class="style2"> &nbsp;<asp:Button
  187. ID="Button1" runat="server" CssClass="Input3" Height="26px"
  188. Text=" 保存记录 " onclick="Button1_Click" />
  189. <asp:Button ID="Button2" runat="server" CssClass="Input3" Height="26px"
  190. Text="上传附件" Width="99px" onclick="Button2_Click" />
  191. </td>
  192. </tr>
  193. </table><br />
  194. </div>
  195. <div id="menu1">
  196. <asp:Literal ID="Literal1" runat="server"></asp:Literal>
  197. </div>
  198. </form>
  199. </body>
  200. </html>