73 lines
3.7 KiB
Plaintext
73 lines
3.7 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SafetyOrganizationPic.aspx.cs"
|
|
Inherits="FineUIPro.Web.HSSE.SecuritySystem.SafetyOrganizationPic" %>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<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" />
|
|
</head>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
|
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
|
|
<Items>
|
|
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
|
|
Layout="HBox" EnableCollapse="true" Width="300" Title="安全组织机构" TitleToolTip="安全组织机构"
|
|
ShowBorder="true" ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
|
|
<Items>
|
|
<f:Tree ID="trSafetyOrganization" EnableCollapse="true" ShowHeader="false" ShowBorder="false"
|
|
EnableIcons="true" Title="安全组织机构" OnNodeCommand="trSafetyOrganization_NodeCommand"
|
|
AutoLeafIdentification="true" AutoScroll="true" runat="server" EnableTextSelection="True"
|
|
EnableSingleClickExpand="true">
|
|
</f:Tree>
|
|
</Items>
|
|
</f:Panel>
|
|
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
|
|
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="安全组织机构"
|
|
TitleToolTip="安全组织机构" AutoScroll="true">
|
|
|
|
<Items>
|
|
<f:SimpleForm ID="SimpleForm1" IsFluid="true" BodyPadding="10px" EnableCollapse="false"
|
|
ShowBorder="true" Title="组织机构图" ShowHeader="true" runat="server">
|
|
<Tools>
|
|
<f:Tool runat="server" ID="btnDeleteItem" Icon="Delete" Text="删除组织机构图" EnablePostBack="true" OnClick="btnDelete_Click">
|
|
|
|
</f:Tool>
|
|
<f:Tool runat="server" ID="btnNewItem" IconFont="_Upload" Text="上传组织机构图" EnablePostBack="false">
|
|
<Listeners>
|
|
<f:Listener Event="click" Handler="onUploadClick" />
|
|
</Listeners>
|
|
</f:Tool>
|
|
</Tools>
|
|
<Items>
|
|
<f:FileUpload runat="server" ID="filePhoto" ShowRedStar="false" ShowEmptyLabel="true" LabelWidth="0"
|
|
ButtonText="上传组织机构图" ButtonOnly="true" Required="false" ButtonIcon="ImageAdd" Hidden="true"
|
|
AutoPostBack="true" OnFileSelected="filePhoto_FileSelected">
|
|
</f:FileUpload>
|
|
|
|
|
|
<f:Image ID="imgPhoto" CssClass="photo" LabelWidth="0" ShowEmptyLabel="true" runat="server">
|
|
</f:Image>
|
|
|
|
</Items>
|
|
</f:SimpleForm>
|
|
</Items>
|
|
</f:Panel>
|
|
</Items>
|
|
</f:Panel>
|
|
|
|
</form>
|
|
<script type="text/javascript">
|
|
|
|
|
|
var filePhotoClientID = '<%= filePhoto.ClientID %>';
|
|
|
|
function onUploadClick(event) {
|
|
F(filePhotoClientID).el.find('.f-field-fileupload-fileinput').click();
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|