DocAddUp.aspx
资源名称:ioffice-e.rar [点击查看]
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:15k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="DocAddUp.aspx.vb" Inherits="ioffice.DocAdd"%>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <HEAD>
- <title></title>
- <META content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
- <META content="Visual Basic 7.0" name="CODE_LANGUAGE">
- <META content="JavaScript" name="vs_defaultClientScript">
- <META content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <LINK href="../../Styles.css" type="text/css" rel="stylesheet">
- <SCRIPT language="jscript">
- function opentemp()
- {
- var cal = window.open("doctemp.aspx","calWin", "location=no scrollbars=yes menubar=no status=no resizable=1");
- cal.moveTo((window.screen.availWidth-500)/2,(window.screen.availHeight-450)/2);
- cal.resizeTo(500,450);
- cal.focus();
- }
- </SCRIPT>
- </HEAD>
- <BODY bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
- <FORM id="Form1" method="post" encType="multipart/form-data" runat="server">
- <FONT face="宋体">
- <TABLE style="WIDTH: 100%; POSITION: absolute; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD style="HEIGHT: 12px" vAlign="top" noWrap>
- </TD>
- </TR>
- <TR>
- <TD vAlign="top" noWrap align="middle">
- <TABLE style="WIDTH: 564px; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD vAlign="top" noWrap>
- <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD noWrap>
- <IMG alt="" src="../../img/button/wmsq.gif" align="absBottom">
- </TD>
- </TR>
- </TABLE>
- <TABLE style="WIDTH: 100%; HEIGHT: 10px" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD class="boxform" style="PADDING-RIGHT: 10px; PADDING-LEFT: 15px; PADDING-BOTTOM: 10px; PADDING-TOP: 10px" vAlign="top" noWrap>
- <DIV style="WIDTH: 100%; POSITION: relative; HEIGHT: 268px" ms_positioning="GridLayout">
- <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>
- <asp:textbox id="txtTitle" style="Z-INDEX: 102; LEFT: 47px; POSITION: absolute; TOP: 4px" runat="server" CssClass="edline" Width="239px"></asp:textbox>
- <asp:label id="Label1" style="Z-INDEX: 103; LEFT: 296px; POSITION: absolute; TOP: 4px" runat="server" CssClass="tttable">副标题</asp:label>
- <asp:textbox id="txtSubTitle" style="Z-INDEX: 104; LEFT: 356px; POSITION: absolute; TOP: 4px" runat="server" CssClass="edline" Width="180px"></asp:textbox>
- <asp:label id="Label3" style="Z-INDEX: 105; LEFT: 0px; POSITION: absolute; TOP: 32px" runat="server" CssClass="tttable">类别</asp:label>
- <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>
- <asp:label id="Label4" style="Z-INDEX: 107; LEFT: 296px; POSITION: absolute; TOP: 32px" runat="server" CssClass="tttable">保存期间</asp:label>
- <asp:dropdownlist id="dropSavMonths" style="Z-INDEX: 108; LEFT: 356px; POSITION: absolute; TOP: 32px" runat="server">
- <asp:ListItem Value="0">无限期</asp:ListItem>
- <asp:ListItem Value="1">一个月</asp:ListItem>
- <asp:ListItem Value="2">二个月</asp:ListItem>
- <asp:ListItem Value="3">三个月</asp:ListItem>
- <asp:ListItem Value="4">四个月</asp:ListItem>
- <asp:ListItem Value="5">五个月</asp:ListItem>
- <asp:ListItem Value="6">六个月</asp:ListItem>
- <asp:ListItem Value="7">七个月</asp:ListItem>
- <asp:ListItem Value="8">八个月</asp:ListItem>
- <asp:ListItem Value="9">九个月</asp:ListItem>
- <asp:ListItem Value="10">十个月</asp:ListItem>
- <asp:ListItem Value="11">十一个月</asp:ListItem>
- <asp:ListItem Value="12">一年</asp:ListItem>
- </asp:dropdownlist>
- <asp:label id="Label5" style="Z-INDEX: 109; LEFT: 428px; POSITION: absolute; TOP: 32px" runat="server" CssClass="td">(批复完毕后)</asp:label>
- <asp:label id="Label6" style="Z-INDEX: 110; LEFT: 0px; POSITION: absolute; TOP: 60px" runat="server" CssClass="tttable">内容</asp:label>
- <asp:textbox id="txtContent" style="Z-INDEX: 111; LEFT: 38px; POSITION: absolute; TOP: 60px" runat="server" Width="498px" Height="156px" TextMode="MultiLine"></asp:textbox>
- <asp:label id="lblNote" style="Z-INDEX: 112; LEFT: 0px; POSITION: absolute; TOP: 224px" runat="server" CssClass="tttable">备注</asp:label>
- <asp:textbox id="txtNote" style="Z-INDEX: 113; LEFT: 36px; POSITION: absolute; TOP: 224px" runat="server" Width="500px" Height="40px" TextMode="MultiLine"></asp:textbox>
- <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>
- <asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 115; LEFT: 284px; POSITION: absolute; TOP: 4px" runat="server" CssClass="td" ErrorMessage="[标题]必须输入!" ControlToValidate="txtTitle">*</asp:requiredfieldvalidator>
- <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">
- <TABLE style="Z-INDEX: 117; LEFT: 8px; WIDTH: 16px; POSITION: absolute; TOP: 100px; HEIGHT: 48px" cellSpacing="0" cellPadding="0" width="16" border="0">
- <TR>
- <TD class="td">
- <A onclick="opentemp()" href="#">下载模板</A>
- </TD>
- </TR>
- </TABLE>
- </DIV>
- <TABLE style="WIDTH: 100%; HEIGHT: 1px" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD style="HEIGHT: 5px" noWrap height="20">
- <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD style="WIDTH: 34px" noWrap>
- <asp:label id="lblAtt" runat="server" CssClass="tttable" Visible="False">附件:</asp:label>
- </TD>
- <TD class="td" style="WIDTH: 427px">
- <asp:placeholder id="plaAtt" runat="server" Visible="False"></asp:placeholder>
- </TD>
- <TD noWrap>
- <asp:button id="cmdDelAtt" runat="server" CausesValidation="False" Width="62px" Height="22px" Visible="False" Text="清除附件"></asp:button>
- </TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- <TR>
- <TD style="HEIGHT: 1px" noWrap height="1">
- <asp:panel id="panAtt" runat="server" Width="472px" Height="14px" Visible="False">
- <asp:Label id="Label2" runat="server" CssClass="tttable">文件:</asp:Label>
- <INPUT id="File1" style="WIDTH: 416px; HEIGHT: 22px" type="file" size="50" name="File1" runat="server">
- <asp:Button id="cmdUpFile" runat="server" CausesValidation="False" Width="62px" Height="22px" Text="上传..."></asp:Button>
- </asp:panel>
- </TD>
- </TR>
- <TR>
- <TD style="HEIGHT: 5px" noWrap>
- <HR width="100%" color="#ff9933" SIZE="1">
- </TD>
- </TR>
- </TABLE>
- <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD class="tttable" style="WIDTH: 190px" noWrap>
- 审批路径
- </TD>
- <TD class="tttable" style="WIDTH: 70px" noWrap align="right" width="70">
- <asp:label id="lblTemp" runat="server">路径模板</asp:label>
-
- </TD>
- <TD class="td" style="WIDTH: 166px" noWrap width="166">
- <asp:dropdownlist id="dropDocRout" runat="server" Width="147px" Height="23px" DataTextField="name" DataValueField="routeid" AutoPostBack="True"></asp:dropdownlist>
- </TD>
- <TD noWrap>
- <asp:linkbutton id="cmdAdd" runat="server" CssClass="td" ToolTip="新增批复人..."><img src="../../img/add.gif" border="0" align="absmiddle">新增批复人...</asp:linkbutton>
- </TD>
- </TR>
- </TABLE>
- <asp:datagrid id="dgdData" runat="server" CssClass="td" Width="100%" BorderColor="#999999" AutoGenerateColumns="False" DataKeyField="conid">
- <HeaderStyle CssClass="tttable" BackColor="#D8C8A8"></HeaderStyle>
- <SelectedItemStyle BackColor="LightSteelBlue"></SelectedItemStyle>
- <Columns>
- <asp:BoundColumn DataField="confseq" ReadOnly="True" HeaderText="顺序">
- <HeaderStyle Wrap="False" Width="30px"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- </asp:BoundColumn>
- <asp:TemplateColumn HeaderText="角色">
- <HeaderStyle Wrap="False" Width="40px"></HeaderStyle>
- <ItemTemplate>
- <asp:Label id="Label10" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.rname") %>'>
- </asp:Label>
- </ItemTemplate>
- <EditItemTemplate>
- <asp:DropDownList id="dropRole" runat="server" Width="115px" Height="23px" SelectedIndex='<%# DataBinder.Eval(Container, "DataItem.roleid") %>'>
- <asp:ListItem Value="0">审批</asp:ListItem>
- <asp:ListItem Value="1">建议</asp:ListItem>
- <asp:ListItem Value="2">决定</asp:ListItem>
- <asp:ListItem Value="3">知会</asp:ListItem>
- <asp:ListItem Value="4">执行</asp:ListItem>
- </asp:DropDownList>
- </EditItemTemplate>
- </asp:TemplateColumn>
- <asp:BoundColumn DataField="ename" ReadOnly="True" HeaderText="批复人">
- <HeaderStyle Wrap="False" Width="50px"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="confcont" ReadOnly="True" HeaderText="批复内容">
- <HeaderStyle Wrap="False"></HeaderStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="confdate" ReadOnly="True" HeaderText="批复日">
- <HeaderStyle Wrap="False" Width="100px"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="aname" ReadOnly="True" HeaderText="代理人">
- <HeaderStyle Wrap="False" Width="50px"></HeaderStyle>
- <ItemStyle Wrap="False"></ItemStyle>
- </asp:BoundColumn>
- <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="<img src=../../img/button/save.gif border=0 alt=保存 />" CancelText="<img src=../../img/button/upcancel.gif border=0 alt=取消 />" EditText="<img src=../../img/edit.gif border=0 alt=编辑 />">
- <HeaderStyle Width="15px"></HeaderStyle>
- </asp:EditCommandColumn>
- <asp:ButtonColumn Text="<img src=../../img/up_arrow.gif border=0 alt=上移 />" CommandName="up">
- <HeaderStyle Width="15px"></HeaderStyle>
- </asp:ButtonColumn>
- <asp:ButtonColumn Text="<img src=../../img/down_arrow.gif border=0 alt=下移 />" CommandName="down">
- <HeaderStyle Width="15px"></HeaderStyle>
- </asp:ButtonColumn>
- <asp:ButtonColumn Text="<img src=../../img/delete.gif border=0 alt=删除 />" CommandName="Delete">
- <HeaderStyle Width="15px"></HeaderStyle>
- </asp:ButtonColumn>
- </Columns>
- </asp:datagrid>
- <BR>
- <asp:panel id="panAuthor" runat="server" Width="544px" Height="10px">
- <asp:Label id="lblU" runat="server" CssClass="tttable">申请人</asp:Label>
- <asp:Label id="lblUName" runat="server"></asp:Label>
- <asp:Label id="lblEE" runat="server" CssClass="tttable">创建时间</asp:Label>
- <asp:Label id="lblCDate" runat="server" CssClass="td" Visible="False"></asp:Label></asp:panel>
- </TD>
- </TR>
- </TABLE>
- <TABLE cellSpacing="0" cellPadding="1" width="100%" border="0">
- <TR>
- <TD noWrap height="10">
- </TD>
- </TR>
- <TR>
- <TD noWrap>
- <asp:imagebutton id="cmdStart" runat="server" Visible="False" ImageUrl="../../img/button/saveexi.gif"></asp:imagebutton>
- <asp:imagebutton id="cmdRecall" runat="server" Visible="False" ImageUrl="../../img/button/wmrecall.gif"></asp:imagebutton>
- <asp:ImageButton id="cmdConf" runat="server" Visible="False" ImageUrl="../../img/button/wmconf.gif"></asp:ImageButton>
- <asp:imagebutton id="cmdRead" runat="server" Visible="False" ImageUrl="../../img/button/wmread.gif"></asp:imagebutton>
- <asp:imagebutton id="cmdSaveExi" runat="server" Visible="False" ImageUrl="../../img/button/saveexi.gif"></asp:imagebutton>
- <asp:imagebutton id="cmdDel" runat="server" Visible="False" ImageUrl="../../img/button/delete.gif"></asp:imagebutton>
- <asp:imagebutton id="cmdExit" runat="server" CausesValidation="False" ImageUrl="../../img/button/exit.gif"></asp:imagebutton>
- <A href="docprint.aspx?id=<%=iDocID%>" target="_blank"><IMG id="imgPrint" title="显示打印模式窗口" alt="" src="../../img/button/print.gif" runat="server" border="0"></A>
- </TD>
- </TR>
- </TABLE>
- <asp:validationsummary id="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False"></asp:validationsummary>
- <asp:label id="lblID" runat="server" Visible="False"></asp:label>
- <asp:label id="lblAttID" runat="server" Visible="False"></asp:label>
- <asp:label id="lblEmpID" runat="server" Visible="False"></asp:label>
- <asp:label id="lblStatus" runat="server" Visible="False"></asp:label>
- <asp:label id="lblConfSeq" runat="server" Visible="False"></asp:label>
- <asp:Label id="lblErr" runat="server" CssClass="err"></asp:Label>
- </TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </FONT>
- </FORM>
- </BODY>
- </HTML>