DocAddUp.aspx
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:15k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="DocAddUp.aspx.vb" Inherits="ioffice.DocAdd"%>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4. <HEAD>
  5. <title></title>
  6. <META content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  7. <META content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8. <META content="JavaScript" name="vs_defaultClientScript">
  9. <META content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../../Styles.css" type="text/css" rel="stylesheet">
  11. <SCRIPT language="jscript">
  12. function opentemp()
  13. {
  14. var cal = window.open("doctemp.aspx","calWin", "location=no scrollbars=yes menubar=no status=no resizable=1");
  15. cal.moveTo((window.screen.availWidth-500)/2,(window.screen.availHeight-450)/2);
  16. cal.resizeTo(500,450);
  17. cal.focus();
  18. }
  19. </SCRIPT>
  20. </HEAD>
  21. <BODY bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
  22. <FORM id="Form1" method="post" encType="multipart/form-data" runat="server">
  23. <FONT face="宋体">
  24. <TABLE style="WIDTH: 100%; POSITION: absolute; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
  25. <TR>
  26. <TD style="HEIGHT: 12px" vAlign="top" noWrap>
  27. </TD>
  28. </TR>
  29. <TR>
  30. <TD vAlign="top" noWrap align="middle">
  31. <TABLE style="WIDTH: 564px; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
  32. <TR>
  33. <TD vAlign="top" noWrap>
  34. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  35. <TR>
  36. <TD noWrap>
  37. <IMG alt="" src="../../img/button/wmsq.gif" align="absBottom">
  38. </TD>
  39. </TR>
  40. </TABLE>
  41. <TABLE style="WIDTH: 100%; HEIGHT: 10px" cellSpacing="0" cellPadding="0" border="0">
  42. <TR>
  43. <TD class="boxform" style="PADDING-RIGHT: 10px; PADDING-LEFT: 15px; PADDING-BOTTOM: 10px; PADDING-TOP: 10px" vAlign="top" noWrap>
  44. <DIV style="WIDTH: 100%; POSITION: relative; HEIGHT: 268px" ms_positioning="GridLayout">
  45. <asp:linkbutton id="cmdTitle" style="Z-INDEX: 101; LEFT: 0px; POSITION: absolute; TOP: 4px" runat="server" CssClass="td" CausesValidation="False">标题<img src="../../img/down_arrow.gif" border="0"></asp:linkbutton>
  46. <asp:textbox id="txtTitle" style="Z-INDEX: 102; LEFT: 47px; POSITION: absolute; TOP: 4px" runat="server" CssClass="edline" Width="239px"></asp:textbox>
  47. <asp:label id="Label1" style="Z-INDEX: 103; LEFT: 296px; POSITION: absolute; TOP: 4px" runat="server" CssClass="tttable">副标题</asp:label>
  48. <asp:textbox id="txtSubTitle" style="Z-INDEX: 104; LEFT: 356px; POSITION: absolute; TOP: 4px" runat="server" CssClass="edline" Width="180px"></asp:textbox>
  49. <asp:label id="Label3" style="Z-INDEX: 105; LEFT: 0px; POSITION: absolute; TOP: 32px" runat="server" CssClass="tttable">类别</asp:label>
  50. <asp:dropdownlist id="dropDocCate" style="Z-INDEX: 106; LEFT: 40px; POSITION: absolute; TOP: 32px" runat="server" Width="144px" Height="23px" DataTextField="name" DataValueField="id"></asp:dropdownlist>
  51. <asp:label id="Label4" style="Z-INDEX: 107; LEFT: 296px; POSITION: absolute; TOP: 32px" runat="server" CssClass="tttable">保存期间</asp:label>
  52. <asp:dropdownlist id="dropSavMonths" style="Z-INDEX: 108; LEFT: 356px; POSITION: absolute; TOP: 32px" runat="server">
  53. <asp:ListItem Value="0">无限期</asp:ListItem>
  54. <asp:ListItem Value="1">一个月</asp:ListItem>
  55. <asp:ListItem Value="2">二个月</asp:ListItem>
  56. <asp:ListItem Value="3">三个月</asp:ListItem>
  57. <asp:ListItem Value="4">四个月</asp:ListItem>
  58. <asp:ListItem Value="5">五个月</asp:ListItem>
  59. <asp:ListItem Value="6">六个月</asp:ListItem>
  60. <asp:ListItem Value="7">七个月</asp:ListItem>
  61. <asp:ListItem Value="8">八个月</asp:ListItem>
  62. <asp:ListItem Value="9">九个月</asp:ListItem>
  63. <asp:ListItem Value="10">十个月</asp:ListItem>
  64. <asp:ListItem Value="11">十一个月</asp:ListItem>
  65. <asp:ListItem Value="12">一年</asp:ListItem>
  66. </asp:dropdownlist>
  67. <asp:label id="Label5" style="Z-INDEX: 109; LEFT: 428px; POSITION: absolute; TOP: 32px" runat="server" CssClass="td">(批复完毕后)</asp:label>
  68. <asp:label id="Label6" style="Z-INDEX: 110; LEFT: 0px; POSITION: absolute; TOP: 60px" runat="server" CssClass="tttable">内容</asp:label>
  69. <asp:textbox id="txtContent" style="Z-INDEX: 111; LEFT: 38px; POSITION: absolute; TOP: 60px" runat="server" Width="498px" Height="156px" TextMode="MultiLine"></asp:textbox>
  70. <asp:label id="lblNote" style="Z-INDEX: 112; LEFT: 0px; POSITION: absolute; TOP: 224px" runat="server" CssClass="tttable">备注</asp:label>
  71. <asp:textbox id="txtNote" style="Z-INDEX: 113; LEFT: 36px; POSITION: absolute; TOP: 224px" runat="server" Width="500px" Height="40px" TextMode="MultiLine"></asp:textbox>
  72. <asp:dropdownlist id="dropTitle" style="Z-INDEX: 114; LEFT: 42px; POSITION: absolute; TOP: 3px" runat="server" Width="244px" Height="23px" DataTextField="name" DataValueField="id" Visible="False" AutoPostBack="True"></asp:dropdownlist>
  73. <asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 115; LEFT: 284px; POSITION: absolute; TOP: 4px" runat="server" CssClass="td" ErrorMessage="[标题]必须输入!" ControlToValidate="txtTitle">*</asp:requiredfieldvalidator>
  74. <IMG style="Z-INDEX: 116; LEFT: 8px; CURSOR: hand; POSITION: absolute; TOP: 180px" onclick="opentemp()" height="16" alt="下载公文模板" src="../../img/button/mailto.gif" width="16">
  75. <TABLE style="Z-INDEX: 117; LEFT: 8px; WIDTH: 16px; POSITION: absolute; TOP: 100px; HEIGHT: 48px" cellSpacing="0" cellPadding="0" width="16" border="0">
  76. <TR>
  77. <TD class="td">
  78. <A onclick="opentemp()" href="#">下载模板</A>
  79. </TD>
  80. </TR>
  81. </TABLE>
  82. </DIV>
  83. <TABLE style="WIDTH: 100%; HEIGHT: 1px" cellSpacing="0" cellPadding="0" border="0">
  84. <TR>
  85. <TD style="HEIGHT: 5px" noWrap height="20">
  86. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  87. <TR>
  88. <TD style="WIDTH: 34px" noWrap>
  89. <asp:label id="lblAtt" runat="server" CssClass="tttable" Visible="False">附件:</asp:label>
  90. </TD>
  91. <TD class="td" style="WIDTH: 427px">
  92. <asp:placeholder id="plaAtt" runat="server" Visible="False"></asp:placeholder>
  93. </TD>
  94. <TD noWrap>
  95. <asp:button id="cmdDelAtt" runat="server" CausesValidation="False" Width="62px" Height="22px" Visible="False" Text="清除附件"></asp:button>
  96. </TD>
  97. </TR>
  98. </TABLE>
  99. </TD>
  100. </TR>
  101. <TR>
  102. <TD style="HEIGHT: 1px" noWrap height="1">
  103. <asp:panel id="panAtt" runat="server" Width="472px" Height="14px" Visible="False">
  104. <asp:Label id="Label2" runat="server" CssClass="tttable">文件:</asp:Label>
  105. <INPUT id="File1" style="WIDTH: 416px; HEIGHT: 22px" type="file" size="50" name="File1" runat="server">
  106. <asp:Button id="cmdUpFile" runat="server" CausesValidation="False" Width="62px" Height="22px" Text="上传..."></asp:Button>
  107. </asp:panel>
  108. </TD>
  109. </TR>
  110. <TR>
  111. <TD style="HEIGHT: 5px" noWrap>
  112. <HR width="100%" color="#ff9933" SIZE="1">
  113. </TD>
  114. </TR>
  115. </TABLE>
  116. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  117. <TR>
  118. <TD class="tttable" style="WIDTH: 190px" noWrap>
  119. 审批路径
  120. </TD>
  121. <TD class="tttable" style="WIDTH: 70px" noWrap align="right" width="70">
  122. <asp:label id="lblTemp" runat="server">路径模板</asp:label>
  123. &nbsp;
  124. </TD>
  125. <TD class="td" style="WIDTH: 166px" noWrap width="166">
  126. <asp:dropdownlist id="dropDocRout" runat="server" Width="147px" Height="23px" DataTextField="name" DataValueField="routeid" AutoPostBack="True"></asp:dropdownlist>
  127. </TD>
  128. <TD noWrap>
  129. <asp:linkbutton id="cmdAdd" runat="server" CssClass="td" ToolTip="新增批复人..."><img src="../../img/add.gif" border="0" align="absmiddle">新增批复人...</asp:linkbutton>
  130. </TD>
  131. </TR>
  132. </TABLE>
  133. <asp:datagrid id="dgdData" runat="server" CssClass="td" Width="100%" BorderColor="#999999" AutoGenerateColumns="False" DataKeyField="conid">
  134. <HeaderStyle CssClass="tttable" BackColor="#D8C8A8"></HeaderStyle>
  135. <SelectedItemStyle BackColor="LightSteelBlue"></SelectedItemStyle>
  136. <Columns>
  137. <asp:BoundColumn DataField="confseq" ReadOnly="True" HeaderText="顺序">
  138. <HeaderStyle Wrap="False" Width="30px"></HeaderStyle>
  139. <ItemStyle Wrap="False"></ItemStyle>
  140. </asp:BoundColumn>
  141. <asp:TemplateColumn HeaderText="角色">
  142. <HeaderStyle Wrap="False" Width="40px"></HeaderStyle>
  143. <ItemTemplate>
  144. <asp:Label id="Label10" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.rname") %>'>
  145. </asp:Label>
  146. </ItemTemplate>
  147. <EditItemTemplate>
  148. <asp:DropDownList id="dropRole" runat="server" Width="115px" Height="23px" SelectedIndex='<%# DataBinder.Eval(Container, "DataItem.roleid") %>'>
  149. <asp:ListItem Value="0">审批</asp:ListItem>
  150. <asp:ListItem Value="1">建议</asp:ListItem>
  151. <asp:ListItem Value="2">决定</asp:ListItem>
  152. <asp:ListItem Value="3">知会</asp:ListItem>
  153. <asp:ListItem Value="4">执行</asp:ListItem>
  154. </asp:DropDownList>
  155. </EditItemTemplate>
  156. </asp:TemplateColumn>
  157. <asp:BoundColumn DataField="ename" ReadOnly="True" HeaderText="批复人">
  158. <HeaderStyle Wrap="False" Width="50px"></HeaderStyle>
  159. <ItemStyle Wrap="False"></ItemStyle>
  160. </asp:BoundColumn>
  161. <asp:BoundColumn DataField="confcont" ReadOnly="True" HeaderText="批复内容">
  162. <HeaderStyle Wrap="False"></HeaderStyle>
  163. </asp:BoundColumn>
  164. <asp:BoundColumn DataField="confdate" ReadOnly="True" HeaderText="批复日">
  165. <HeaderStyle Wrap="False" Width="100px"></HeaderStyle>
  166. <ItemStyle Wrap="False"></ItemStyle>
  167. </asp:BoundColumn>
  168. <asp:BoundColumn DataField="aname" ReadOnly="True" HeaderText="代理人">
  169. <HeaderStyle Wrap="False" Width="50px"></HeaderStyle>
  170. <ItemStyle Wrap="False"></ItemStyle>
  171. </asp:BoundColumn>
  172. <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="&lt;img src=../../img/button/save.gif border=0 alt=保存 /&gt;" CancelText="&lt;img src=../../img/button/upcancel.gif border=0 alt=取消 /&gt;" EditText="&lt;img src=../../img/edit.gif border=0 alt=编辑 /&gt;">
  173. <HeaderStyle Width="15px"></HeaderStyle>
  174. </asp:EditCommandColumn>
  175. <asp:ButtonColumn Text="&lt;img src=../../img/up_arrow.gif border=0 alt=上移 /&gt;" CommandName="up">
  176. <HeaderStyle Width="15px"></HeaderStyle>
  177. </asp:ButtonColumn>
  178. <asp:ButtonColumn Text="&lt;img src=../../img/down_arrow.gif border=0 alt=下移 /&gt;" CommandName="down">
  179. <HeaderStyle Width="15px"></HeaderStyle>
  180. </asp:ButtonColumn>
  181. <asp:ButtonColumn Text="&lt;img src=../../img/delete.gif border=0 alt=删除 /&gt;" CommandName="Delete">
  182. <HeaderStyle Width="15px"></HeaderStyle>
  183. </asp:ButtonColumn>
  184. </Columns>
  185. </asp:datagrid>
  186. <BR>
  187. <asp:panel id="panAuthor" runat="server" Width="544px" Height="10px">
  188. <asp:Label id="lblU" runat="server" CssClass="tttable">申请人</asp:Label>
  189. <asp:Label id="lblUName" runat="server"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  190. <asp:Label id="lblEE" runat="server" CssClass="tttable">创建时间</asp:Label>
  191. <asp:Label id="lblCDate" runat="server" CssClass="td" Visible="False"></asp:Label></asp:panel>
  192. </TD>
  193. </TR>
  194. </TABLE>
  195. <TABLE cellSpacing="0" cellPadding="1" width="100%" border="0">
  196. <TR>
  197. <TD noWrap height="10">
  198. </TD>
  199. </TR>
  200. <TR>
  201. <TD noWrap>
  202. <asp:imagebutton id="cmdStart" runat="server" Visible="False" ImageUrl="../../img/button/saveexi.gif"></asp:imagebutton>
  203. <asp:imagebutton id="cmdRecall" runat="server" Visible="False" ImageUrl="../../img/button/wmrecall.gif"></asp:imagebutton>
  204. <asp:ImageButton id="cmdConf" runat="server" Visible="False" ImageUrl="../../img/button/wmconf.gif"></asp:ImageButton>
  205. <asp:imagebutton id="cmdRead" runat="server" Visible="False" ImageUrl="../../img/button/wmread.gif"></asp:imagebutton>
  206. <asp:imagebutton id="cmdSaveExi" runat="server" Visible="False" ImageUrl="../../img/button/saveexi.gif"></asp:imagebutton>
  207. <asp:imagebutton id="cmdDel" runat="server" Visible="False" ImageUrl="../../img/button/delete.gif"></asp:imagebutton>
  208. <asp:imagebutton id="cmdExit" runat="server" CausesValidation="False" ImageUrl="../../img/button/exit.gif"></asp:imagebutton>
  209. <A href="docprint.aspx?id=<%=iDocID%>" target="_blank"><IMG id="imgPrint" title="显示打印模式窗口" alt="" src="../../img/button/print.gif" runat="server" border="0"></A>
  210. </TD>
  211. </TR>
  212. </TABLE>
  213. <asp:validationsummary id="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False"></asp:validationsummary>
  214. <asp:label id="lblID" runat="server" Visible="False"></asp:label>
  215. <asp:label id="lblAttID" runat="server" Visible="False"></asp:label>
  216. <asp:label id="lblEmpID" runat="server" Visible="False"></asp:label>
  217. <asp:label id="lblStatus" runat="server" Visible="False"></asp:label>
  218. <asp:label id="lblConfSeq" runat="server" Visible="False"></asp:label>
  219. <asp:Label id="lblErr" runat="server" CssClass="err"></asp:Label>
  220. </TD>
  221. </TR>
  222. </TABLE>
  223. </TD>
  224. </TR>
  225. </TABLE>
  226. </FONT>
  227. </FORM>
  228. </BODY>
  229. </HTML>