CNCEC_SUBQHSE_WUHUAN/SGGL/FineUIPro.Web/DocManage/DocManageEdit.aspx

282 lines
18 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DocManageEdit.aspx.cs" Inherits="FineUIPro.Web.DocManage.DocManageEdit" ValidateRequest="false" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>文档</title>
<link href="~/res/css/common.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.labcenter {
text-align: center;
}
.f-grid-row .f-grid-cell-inner {
white-space: normal;
word-break: break-all;
}
.f-grid-row.red {
background-color: #FF7575;
background-image: none;
}
.fontred {
color: #FF7575;
background-image: none;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:ContentPanel ID="ContentPanel2" Title="沟通协调" ShowBorder="true"
BodyPadding="10px" ShowHeader="true" AutoScroll="true"
runat="server">
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:RadioButtonList runat="server" ID="rbType" Label="沟通协调类型" Hidden="True" LabelWidth="120px" AutoPostBack="true" OnSelectedIndexChanged="drpHandleType_SelectedIndexChanged" AutoColumnWidth="true">
<f:RadioItem Text="信函Letter" Value="1" Selected="true" />
<f:RadioItem Text="邮件E-mail" Value="2" />
</f:RadioButtonList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpSendUnit" ShowRedStar="true" Required="true" runat="server" Label="提出单位" LabelWidth="120px" LabelAlign="Right" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="ChangeDocCode">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtDocName" runat="server" Required="true" ShowRedStar="true" Label="主题" LabelAlign="Right"
MaxLength="50" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpDocType" ShowRedStar="true" Required="true" runat="server" Label="沟通类型" LabelWidth="120px" LabelAlign="Right" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="ChangeDocCode">
</f:DropDownList>
<f:DropDownList ID="drpProSubject" runat="server" Label="装置" LabelAlign="Right" EnableEdit="true" LabelWidth="120px" AutoPostBack="true" OnSelectedIndexChanged="ChangeDocCode">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtDocCode" runat="server" Required="true" ShowRedStar="true" Label="编号" LabelWidth="120px" LabelAlign="Right" Readonly="true"
MaxLength="50">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<%--<f:DropDownList ID="drpDepart" runat="server" Label="部门" Required="true" ShowRedStar="true" LabelAlign="Right" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="ChangeDocCode">
</f:DropDownList>--%>
<%--<f:DropDownList ID="drpCNProfessional" runat="server" Label="专业" LabelAlign="Right" EnableEdit="true">
</f:DropDownList>--%>
<f:TextBox ID="txtCompileMan" runat="server" Label="提出人" LabelAlign="Right" LabelWidth="120px" Readonly="true"
MaxLength="50">
</f:TextBox>
<f:DatePicker ID="txtCompileDate" ShowRedStar="true" runat="server" Label="提出日期" LabelWidth="120px" Required="true" LabelAlign="Right"
EnableEdit="true">
</f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
</Items>
</f:FormRow>
<f:FormRow Hidden="True">
<Items>
<f:Panel ID="CCfile" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
<Items>
<f:Label runat="server" Text="附件:" CssStyle="padding-left:52px" LabelWidth="120px" Width="110px" CssClass="marginr" ShowLabel="false"></f:Label>
<f:Button ID="imgfile" Text="附件" ToolTip="上传及查看" Icon="TableCell" runat="server" OnClick="imgfile_Click">
</f:Button>
</Items>
</f:Panel>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
</Items>
</f:FormRow>
<f:FormRow runat="server">
<Items>
<f:TabStrip ID="TabStrip1" IsFluid="true" Height="350px" ShowBorder="true" TabPosition="Top"
EnableTabCloseMenu="false" ActiveTabIndex="0" runat="server">
<Tabs>
<f:Tab Title="正文" BodyPadding="10px"
runat="server">
<Items>
<f:SimpleForm ID="SimpleForm2" ShowBorder="false"
ShowHeader="false" Title="SimpleForm1" LabelWidth="120px" runat="server">
<Items>
<f:HtmlEditor runat="server" Label=" " ID="txtDocContent" ShowLabel="false"
Editor="UMEditor" BasePath="~/res/umeditor/" ToolbarSet="Full" Height="500px" LabelAlign="Right" Text="">
</f:HtmlEditor>
</Items>
</f:SimpleForm>
</Items>
</f:Tab>
</Tabs>
</f:TabStrip>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</f:ContentPanel>
</Items>
</f:FormRow>
<f:FormRow ID="Options" runat="server" CssStyle="padding-top:2px">
<Items>
<f:TextArea ID="txtOpinions" runat="server" Label="我的意见" MaxLength="3000">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ID="next22">
<Items>
<f:ContentPanel ID="ContentPanel1" Title="文档审批流程设置" runat="server" ShowHeader="true" EnableCollapse="true"
BodyPadding="0px">
<f:Form ID="Form3" ShowBorder="false" ShowHeader="false" AutoScroll="true" IsFluid="True"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Height="500px">
<Rows>
<f:FormRow>
<Items>
<f:RadioButtonList runat="server" ID="drpHandleType" Label="办理步骤" LabelWidth="120px" ShowRedStar="true" AutoPostBack="true" OnSelectedIndexChanged="drpHandleType_SelectedIndexChanged" AutoColumnWidth="true">
<f:RadioItem Text="请回复和处理" Value="1" Selected="true" />
<f:RadioItem Text="请知悉了解" Value="2" />
</f:RadioButtonList>
<f:DatePicker ID="txtFinishTime" runat="server" Label="要求完成时间" LabelWidth="120px" LabelAlign="Right"
EnableEdit="true">
</f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="txtReceivUnit" runat="server" Label="接收单位" Required="true" LabelAlign="Right" LabelWidth="120px" EnableEdit="true" AutoPostBack="true" OnSelectedIndexChanged="txtReceivUnit_TextChanged">
</f:DropDownList>
<f:DropDownList ID="drpHandleMan" runat="server" Label="收件人" Required="true" LabelAlign="Right" LabelWidth="120px" EnableEdit="true">
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:ContentPanel runat="server" BodyPadding="5px" ShowHeader="False" ShowBorder="False" AutoScroll="True">
<Items>
<f:TextBox runat="server" ID="txtCopyMan" Label="抄送人员" Readonly="True" Enabled="False"/>
<f:Tree ID="trCopyMan" EnableCollapse="true" ShowHeader="false" Title="抄送人员" EnableCheckBox="true"
AutoLeafIdentification="true" runat="server" EnableIcons="true" AutoScroll="true" IsFluid="True"
EnableSingleClickExpand="true" OnNodeCheck="trCopyMan_NodeCheck">
</f:Tree>
</Items>
</f:ContentPanel>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</f:ContentPanel>
</Items>
</f:FormRow>
<f:FormRow ID="next">
<Items>
<f:ContentPanel ID="ContentPanel5" Title="文档审批流程设置" runat="server" ShowHeader="true" EnableCollapse="true"
BodyPadding="0px">
<f:Form ID="Form5" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:RadioButtonList runat="server" ID="rblIsAgree" Label="是否同意" ShowRedStar="true" LabelWidth="120px">
<f:RadioItem Text="同意" Value="true" Selected="true" />
<f:RadioItem Text="不同意" Value="false" />
</f:RadioButtonList>
<f:Label runat="server" CssStyle="display:none"></f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</f:ContentPanel>
</Items>
</f:FormRow>
<f:FormRow ID="plApprove2">
<Items>
<f:ContentPanel Title="文档审批列表" ShowBorder="true"
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
runat="server">
<f:Grid ID="gvApprove" IsFluid="true" ShowBorder="true" ShowHeader="false" runat="server" EnableCollapse="false"
DataKeyNames="DocManageApproveId" EnableColumnLines="true">
<Columns>
<f:RowNumberField Width="40px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center" />
<f:BoundField Width="100px" DataField="ApproveMan" HeaderTextAlign="Center" HeaderText="办理人员" TextAlign="Center" />
<f:BoundField Width="100px" DataField="ApproveDate" HeaderTextAlign="Center" TextAlign="Center" DataFormatString="{0:yyyy-MM-dd}" HeaderText="办理时间" />
<f:BoundField Width="400px" DataField="ApproveIdea" HeaderTextAlign="Center" TextAlign="Center" HeaderText="办理意见" ExpandUnusedSpace="true" />
</Columns>
</f:Grid>
</f:ContentPanel>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:HiddenField ID="hdDocId" runat="server"></f:HiddenField>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnSave" Icon="SystemSave" OnClick="btnSave_Click" runat="server" ToolTip="保存" Text="保存" Size="Medium">
</f:Button>
<f:Button ID="btnSubmit" Icon="SystemSaveNew" OnClick="btnSubmit_Click" runat="server" ToolTip="提交" ValidateForms="SimpleForm1" Text="提交" Size="Medium">
</f:Button>
<f:HiddenField ID="hdId" runat="server">
</f:HiddenField>
<f:HiddenField ID="hdAttachUrl" runat="server">
</f:HiddenField>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
</f:Window>
<f:Window ID="Window1" Title="播放" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true"
Width="700px" Height="600px">
</f:Window>
</form>
<script>
// 返回false来阻止浏览器右键菜单
function onRowContextMenu(event, rowId) {
F(menuID).show(); //showAt(event.pageX, event.pageY);
return false;
}
function ButtonClick(event) {
// 第一个参数 false 用来指定当前不是AJAX请求
__doPostBack(false, '', 'ButtonClick');
}
</script>
</body>
</html>