ChengDa_English/SGGL/FineUIPro.Web/CQMS/Unqualified/EditWorkContact.aspx

246 lines
18 KiB
Plaintext
Raw Permalink Normal View History

2022-03-15 17:36:38 +08:00
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditWorkContact.aspx.cs" Inherits="FineUIPro.Web.CQMS.Unqualified.EditWorkContact" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><asp:Literal runat="server" Text="<%$ Resources:Lan,WorkContactFile_WindowTitle_Record%>"/></title>
2022-03-15 17:36:38 +08:00
<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="<%$ Resources:Lan,WorkContactFile_WindowTitle_Record%>" ShowBorder="true"
2022-03-15 17:36:38 +08:00
BodyPadding="10px" EnableCollapse="true" 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:TextBox ID="txtProjectName" runat="server" Readonly="true" Label="<%$ Resources:Lan,EditConstructSolution_txtProjectName_Label%>" LabelAlign="Right"
2022-03-15 17:36:38 +08:00
MaxLength="50">
</f:TextBox>
<f:TextBox ID="txtCode" runat="server" Required="true" ShowRedStar="true" Label="<%$ Resources:Lan,EditConstructSolutionFinal_txtCode_Label%>" LabelAlign="Right"
2022-03-15 17:36:38 +08:00
MaxLength="50">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpUnit" ShowRedStar="true"
AutoPostBack="true" OnSelectedIndexChanged="drpUnit_SelectedIndexChanged" EmptyText="<%$ Resources:Lan,DesignDrawingsEdit_SelectOption%>" AutoSelectFirstItem="false"
runat="server" Required="true" Label="<%$ Resources:Lan,WorkContactFile_ProposeUnit_HeaderText%>" LabelAlign="Right" EnableEdit="true">
2022-03-15 17:36:38 +08:00
</f:DropDownList>
<f:RadioButtonList ID="rblIsReply" Label="<%$ Resources:Lan,WorkContactFile_IsReply_HeaderText%>" runat="server" ShowRedStar="true" Required="true">
2022-03-15 17:36:38 +08:00
<f:RadioItem Text="需要回复" Value="1" Selected="true" />
<f:RadioItem Text="不需回复" Value="2" />
</f:RadioButtonList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownBox runat="server" Label="<%$ Resources:Lan,InspectionNoticeEdit_drpMainSendUnit_Label%>" ID="txtMainSendUnit" ShowRedStar="true" Required="true" EmptyText="<%$ Resources:Lan,DesignDrawingsEdit_SelectOption%>" EnableMultiSelect="true" MatchFieldWidth="true">
2022-03-15 17:36:38 +08:00
<PopPanel>
<f:Grid ID="gvMainSendUnit" BoxFlex="1"
DataIDField="UnitId" DataTextField="UnitName" EnableMultiSelect="true" KeepCurrentSelection="true"
ShowBorder="true" ShowHeader="false" ForceFit="true"
runat="server" EnableCheckBoxSelect="true" DataKeyNames="UnitId" Hidden="true">
<Columns>
<%--<f:RowNumberField />--%>
<f:BoundField Width="100px" DataField="UnitId" SortField="UnitId" DataFormatString="{0}" Hidden="true" />
<f:BoundField Width="100px" DataField="UnitName" SortField="UnitName" DataFormatString="{0}"
HeaderText="<%$ Resources:Lan,ITPListEdit_txtName_Label%>" />
2022-03-15 17:36:38 +08:00
</Columns>
</f:Grid>
</PopPanel>
</f:DropDownBox>
<f:DropDownBox runat="server" Label="<%$ Resources:Lan,InspectionNoticeEdit_txtCCUnit_Label%>" ID="txtCCUnit" EmptyText="<%$ Resources:Lan,DesignDrawingsEdit_SelectOption%>" DataControlID="txtCCUnit" EnableMultiSelect="true" MatchFieldWidth="true">
2022-03-15 17:36:38 +08:00
<PopPanel>
<f:Grid ID="gvCCUnit" BoxFlex="1"
DataIDField="UnitId" DataTextField="UnitName" EnableMultiSelect="true" KeepCurrentSelection="true"
ShowBorder="true" ShowHeader="false" ForceFit="true"
runat="server" EnableCheckBoxSelect="true" DataKeyNames="UnitId" Hidden="true">
<Columns>
<%--<f:RowNumberField />--%>
<f:BoundField Width="100px" DataField="UnitId" SortField="UnitId" DataFormatString="{0}" Hidden="true" />
<f:BoundField Width="100px" DataField="UnitName" SortField="UnitName" DataFormatString="{0}"
HeaderText="<%$ Resources:Lan,ITPListEdit_txtName_Label%>" />
2022-03-15 17:36:38 +08:00
</Columns>
</f:Grid>
</PopPanel>
</f:DropDownBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCause" runat="server" Required="true" ShowRedStar="true" Label="<%$ Resources:Lan,WorkContactFile_Cause_HeaderText%>" LabelAlign="Right"
2022-03-15 17:36:38 +08:00
MaxLength="50">
</f:TextBox>
<f:Panel ID="plfile" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
<Items>
<f:Panel ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
<Items>
<f:Label runat="server" Text="<%$ Resources:Lan,FileCabinetEdit_plfile_Label%>" CssStyle="padding-left:53px" Width="100px" CssClass="marginr" ShowLabel="false"></f:Label>
<f:Button ID="imgBtnFile" Text="<%$ Resources:Lan,ITPListEdit_btnAttach_Text%>" ToolTip="<%$ Resources:Lan,TechnicalContactView_Attachment_ToolTip%>" OnClick="imgBtnFile_Click" Icon="TableCell" runat="server">
2022-03-15 17:36:38 +08:00
</f:Button>
</Items>
</f:Panel>
</Items>
</f:Panel>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtContents" runat="server" Label="<%$ Resources:Lan,TechnicalContactView_Contents_Label%>" MaxLength="3000" ShowRedStar="true" Required="true">
2022-03-15 17:36:38 +08:00
</f:TextArea>
</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="<%$ Resources:Lan,EditConstructSolution_gvApprove_IsAgree_HeaderText%>"
2022-03-15 17:36:38 +08:00
OnSelectedIndexChanged="rblIsAgree_SelectedIndexChanged" ShowRedStar="true" AutoPostBack="true">
<f:RadioItem Text="<%$ Resources:Lan,DesignDrawingsEdit_Agree_Option%>" Value="true" Selected="true" />
<f:RadioItem Text="<%$ Resources:Lan,DesignDrawingsEdit_Disagree_Option%>" Value="false" />
2022-03-15 17:36:38 +08:00
</f:RadioButtonList>
<f:Label runat="server" CssStyle="display:none"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpHandleType"
AutoPostBack="true" runat="server" Label="<%$ Resources:Lan,EditTechnicalContactList_drpHandleType_Label%>" OnSelectedIndexChanged="drpHandleType_SelectedIndexChanged"
2022-03-15 17:36:38 +08:00
LabelAlign="Right" EnableEdit="true">
</f:DropDownList>
<f:DropDownList ID="drpHandleMan" runat="server" Label="<%$ Resources:Lan,EditConstructSolution_gvApprove_ApproveMan_HeaderText%>" Required="true" LabelAlign="Right" EnableEdit="true">
2022-03-15 17:36:38 +08:00
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow ID="HideOptions" runat="server" CssStyle="padding-top:2px">
<Items>
<f:TextArea ID="txtOpinions" runat="server" Label="<%$ Resources:Lan,EditTechnicalContactList_txtOpinions_Label%>" MaxLength="3000">
2022-03-15 17:36:38 +08:00
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ID="ReOpinion" runat="server" Hidden="false" CssStyle="padding-top:2px">
<Items>
<f:TextArea ID="txtReOpinion" runat="server" Label="<%$ Resources:Lan,TechnicalContactView_ReOpinion_Label%>" MaxLength="3000">
2022-03-15 17:36:38 +08:00
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ID="HideReplyFile" runat="server" CssStyle="padding-top:2px">
<Items>
<f:Panel ID="Panel2" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
<Items>
<f:Label runat="server" Text="<%$ Resources:Lan,TechnicalContactView_ReplyAttachment_Label%>" CssStyle="padding-left:24px" Width="100px" CssClass="marginr" ShowLabel="false"></f:Label>
<f:Button ID="ReplyFile" Text="<%$ Resources:Lan,TechnicalContactView_ReplyAttachment_Button%>" OnClick="ReplyFile_Click" ToolTip="<%$ Resources:Lan,TechnicalContactView_Attachment_ToolTip%>" Icon="TableCell" runat="server">
2022-03-15 17:36:38 +08:00
</f:Button>
</Items>
</f:Panel>
</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="Grid1" IsFluid="true" CssClass="blockpanel" ShowBorder="true" ShowHeader="false" runat="server" EnableCollapse="false"
DataKeyNames="CheckControlApproveId" EnableColumnLines="true" ForceFit="true">
<Columns>
<f:RowNumberField Width="20px" />
<f:TemplateField ColumnID="State" Width="250px" HeaderText="<%$ Resources:Lan,EditConstructSolution_gvApprove_ApproveType_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center"
2022-03-15 17:36:38 +08:00
EnableLock="true" Locked="False">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# BLL.WorkContactService.ConvertState(Eval("ApproveType")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:BoundField Width="180px" DataField="ApproveMan" HeaderTextAlign="Center" HeaderText="<%$ Resources:Lan,EditConstructSolution_gvApprove_ApproveMan_HeaderText%>" TextAlign="Center" />
<f:BoundField Width="200px" DataField="ApproveDate" HeaderTextAlign="Center" TextAlign="Center" DataFormatString="{0:yyyy-MM-dd}" HeaderText="<%$ Resources:Lan,EditConstructSolution_gvApprove_ApproveDate_HeaderText%>" />
<f:BoundField Width="180px" DataField="ApproveIdea" HeaderTextAlign="Center" TextAlign="Center" HeaderText="<%$ Resources:Lan,EditConstructSolution_gvApprove_ApproveIdea_HeaderText%>" />
2022-03-15 17:36:38 +08:00
</Columns>
</f:Grid>
</f:ContentPanel>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:HiddenField ID="HFWorkContactId" runat="server"></f:HiddenField>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ToolTip="<%$ Resources:Lan,ITPListProjectEdit_btnSave_ToolTip%>" OnClick="btnSave_Click">
2022-03-15 17:36:38 +08:00
</f:Button>
<f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" ToolTip="<%$ Resources:Lan,EditConstructSolution_btnSubmit_ToolTip%>" OnClick="btnSubmit_Click" ValidateForms="SimpleForm1">
2022-03-15 17:36:38 +08:00
</f:Button>
<%-- <f:Button ID="btnClose" EnablePostBack="false" ToolTip="<%$ Resources:Lan,ZlgltxEdit_btnClose_ToolTip%>" OnClick="btnClose_Click" runat="server" Icon="SystemClose">
2022-03-15 17:36:38 +08:00
</f:Button>--%>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
</form>
<f:Window ID="WindowAtt" Title="<%$ Resources:Lan,ITPListProjectEdit_WindowAtt_Title%>" Hidden="true" EnableIFrame="true" EnableMaximize="true"
2022-03-15 17:36:38 +08:00
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
</f:Window>
</body>
</html>