CNCEC_SUBQHSE_WUHUAN/SGGL/FineUIPro.Web/SysManage/SysConstSet.aspx

417 lines
35 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="SysConstSet.aspx.cs" Inherits="FineUIPro.Web.SysManage.SysConstSet" ValidateRequest="false" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>系统环境设置</title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.f-grid-row .f-grid-cell-inner {
white-space: normal;
word-break: break-all;
}
.LabelColor {
color: Red;
font-size: small;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="SimpleForm1" />
<f:Panel ID="Panel2" runat="server" ShowHeader="false" ShowBorder="false" ColumnWidth="100%" MarginRight="5px">
<Items>
<f:TabStrip ID="TabStrip1" CssClass="f-tabstrip-theme-simple" Height="550px" ShowBorder="true"
TabPosition="Top" MarginBottom="5px" EnableTabCloseMenu="false" runat="server"
ActiveTabIndex="1">
<Tabs>
<f:Tab ID="Tab1" Title="系统环境" BodyPadding="5px" Layout="VBox" IconFont="Bookmark" runat="server">
<Items>
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<%-- <f:FormRow ColumnWidths="35% 65%">
<Items>
<f:CheckBox ID="ckSynchronization" runat="server" Label="是否自动提取数据" LabelWidth="220px">
</f:CheckBox>
<f:Label ID="Label7" runat="server" Text="说明:与集团数据交换数据是否自动提取。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>--%>
<f:FormRow ColumnWidths="35% 65%">
<Items>
<f:NumberBox ID="txtNumberBox" runat="server" Label="有效期警示" LabelWidth="230px"></f:NumberBox>
<f:Label ID="Label9" runat="server" Text="说明:用于资质有效期警示时间。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 65%">
<Items>
<f:CheckBox ID="ckIsMonthReportGetAVG" runat="server" Label="人工时月报是否按平均数取值" LabelWidth="230px">
</f:CheckBox>
<f:Label ID="Label10" runat="server" Text="说明:人工时月报统计时,是否按照平均人数、平均工时数及平均天数取值。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 65%">
<Items>
<f:NumberBox ID="txtMonthReportFreezeDay" runat="server" Label="管理月报冻结日期" NoDecimal="true" NoNegative="true" MinValue="1" LabelWidth="230px">
</f:NumberBox>
<f:Label ID="Label11" runat="server" Text="说明项目现场管理月报的冻结日期如设置为4则当月月报在次月4日24时以后冻结不可再进行修改。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 65%" runat="server" ID="frFlowOperate" Hidden="true">
<Items>
<f:CheckBox ID="ckMenuFlowOperate" runat="server" Label="固定流程" LabelWidth="230px">
</f:CheckBox>
<f:Label ID="Label12" runat="server" Text="说明设置固定流程单据审核流程按照已定义流程审核不设置在在单据中自主选择流程111111。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 1% 20% 30%">
<Items>
<f:NumberBox ID="txtMarch" runat="server" Label="员工绩效考核第一季度生成时间" NoDecimal="true" NoNegative="true" MinValue="1" LabelWidth="230px" ShowRedStar="true" Required="true">
</f:NumberBox>
<f:Label ID="Label1" runat="server" Text="月" MarginLeft="5px"></f:Label>
<f:NumberBox ID="txtMarchday" runat="server" NoDecimal="true" NoNegative="true" MinValue="1" LabelWidth="220px" ShowRedStar="true" Required="true">
</f:NumberBox>
<f:Label ID="Label2" runat="server" Text="日" MarginLeft="5px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 1% 20% 30%">
<Items>
<f:NumberBox ID="txtJune" runat="server" Label="员工绩效考核第二季度生成时间" NoDecimal="true" NoNegative="true" MinValue="1" LabelWidth="230px" ShowRedStar="true" Required="true">
</f:NumberBox>
<f:Label ID="Label3" runat="server" Text="月" MarginLeft="5px"></f:Label>
<f:NumberBox ID="txtJuneday" runat="server" NoDecimal="true" NoNegative="true" MinValue="1" LabelWidth="220px" ShowRedStar="true" Required="true">
</f:NumberBox>
<f:Label ID="Label4" runat="server" Text="日" MarginLeft="5px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 1% 20% 30%">
<Items>
<f:NumberBox ID="txtSeptember" runat="server" Label="员工绩效考核第三季度生成时间" NoDecimal="true" NoNegative="true" MinValue="1" LabelWidth="230px" ShowRedStar="true" Required="true">
</f:NumberBox>
<f:Label ID="Label5" runat="server" Text="月" MarginLeft="5px"></f:Label>
<f:NumberBox ID="txtSeptemberday" runat="server" NoDecimal="true" NoNegative="true" MinValue="1" LabelWidth="220px" ShowRedStar="true" Required="true">
</f:NumberBox>
<f:Label ID="Label6" runat="server" Text="日" MarginLeft="5px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 1% 20% 30%">
<Items>
<f:NumberBox ID="txtDecember" runat="server" Label="员工绩效考核第四季度生成时间" NoDecimal="true" NoNegative="true" MinValue="1" LabelWidth="230px" ShowRedStar="true" Required="true">
</f:NumberBox>
<f:Label ID="Label7" runat="server" Text="月" MarginLeft="5px"></f:Label>
<f:NumberBox ID="txtDecemberday" runat="server" NoDecimal="true" NoNegative="true" MinValue="1" LabelWidth="220px" ShowRedStar="true" Required="true">
</f:NumberBox>
<f:Label ID="Label13" runat="server" Text="日" MarginLeft="5px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="70% 30%">
<Items>
<f:TextBox ID="txtSerVerUrl" runat="server" Label="集团接口地址" LabelWidth="230px"></f:TextBox>
<f:Button ID="btnApply" Icon="SystemSave" Text="申请对接" runat="server" ValidateForms="SimpleForm1"
OnClick="btnApply_Click">
</f:Button>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="70% 25% 5%">
<Items>
<f:TextBox ID="txtESBSerVerUrl" runat="server" Label="集团ESB地址" LabelWidth="230px"></f:TextBox>
<f:TextBox ID="txtClientId" runat="server" Label="ClientId" LabelWidth="230px"></f:TextBox>
<f:Button ID="txtTestPost" Icon="SystemSave" Text="测试对接" runat="server" ValidateForms="SimpleForm1"
OnClick="txtTestPost_OnClick">
</f:Button>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtRefererWhitelist" Label="数据穿透白名单"></f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Top" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="btnArrowRefresh" Icon="ArrowRefresh" runat="server" Hidden="true" ToolTip="多附件路径转换" OnClick="btnArrowRefresh_Click">
</f:Button>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1"
OnClick="btnSave_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Tab>
<f:Tab ID="Tab2" Title="菜单流程" BodyPadding="5px" Layout="VBox" IconFont="Bookmark" runat="server">
<Toolbars>
<f:Toolbar ID="Toolbar3" Position="Top" ToolbarAlign="Right" runat="server">
<Items>
<f:RadioButtonList ID="rblMenuType" runat="server" Width="120px"
OnSelectedIndexChanged="rblMenuType_SelectedIndexChanged" AutoPostBack="true">
<f:RadioItem Value="MenuType_S" Text="本部" />
<f:RadioItem Value="MenuType_P" Text="项目" Selected="true" />
</f:RadioButtonList>
<f:DropDownList runat="server" Label="菜单类型" LabelWidth="80px" Width="220px" AutoPostBack="true" ID="drpSuperMenu"
OnSelectedIndexChanged="drpSuperMenu_SelectedIndexChanged"></f:DropDownList>
<f:DropDownBox runat="server" ID="drpMenu" Values="henan" EmptyText="请选择末级菜单" Width="500px"
EnableMultiSelect="false" AutoPostBack="true" OnTextChanged="drpMenu_TextChanged" EnableEdit="true">
<PopPanel>
<f:Tree ID="treeMenu" ShowHeader="false" Hidden="true" runat="server" EnableSingleExpand="true">
</f:Tree>
</PopPanel>
</f:DropDownBox>
<f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill>
<f:Button ID="btnTab2Save" Icon="SystemSave" runat="server" ValidateForms="SimpleForm2"
OnClick="btnTab2Save_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Items>
<f:TabStrip ID="TabStrip2" CssClass="f-tabstrip-theme-simple" ShowBorder="true" Height="450px"
TabPosition="Top" MarginBottom="5px" EnableTabCloseMenu="false"
runat="server" ActiveTabIndex="2">
<Tabs>
<f:Tab ID="TabCode" Title="文档编码" BodyPadding="5px" Layout="Fit" runat="server">
<Items>
<f:Form ID="SimpleForm2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:CheckBox runat="server" ID="ckProjectCode" Label="项目号" LabelWidth="150px"></f:CheckBox>
<f:Label runat="server" Text="说明:编号前是否添加项目代号。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox runat="server" ID="txtPrefix" Label="前缀" MaxLength="50" EmptyText="请输入前缀" LabelWidth="150px"></f:TextBox>
<f:Label ID="Label8" runat="server" Text="说明:编号添加前缀的字符。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:CheckBox runat="server" ID="ckUnitCode" Label="单位代号" LabelWidth="150px" Width="500px"></f:CheckBox>
<f:Label ID="Label22" runat="server" Text="说明:编号前是否添加单位代号。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:NumberBox runat="server" ID="txtDigit" Label="流水号位数" NoDecimal="true" NoNegative="true" LabelWidth="150px" ></f:NumberBox>
<f:Label ID="Label23" runat="server" Text="说明:编号最后生成流水号位数。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox runat="server" ID="txtSymbol" Label="间隔符" MaxLength="50" ShowRedStar="true" Required="true" LabelWidth="150px"></f:TextBox>
<f:Label ID="Label24" runat="server" Text="说明:前缀字符与流水号之间连接字符。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Tab>
<f:Tab ID="Tab4" Title="模板设置" BodyPadding="5px" Layout="Fit" runat="server">
<Items>
<f:HtmlEditor runat="server" Label="模板" ID="txtTemplate" ShowLabel="false"
Editor="UMEditor" BasePath="~/res/umeditor/" ToolbarSet="Full" Height="400px">
</f:HtmlEditor>
</Items>
</f:Tab>
<f:Tab ID="Tab5" Title="单据流程" BodyPadding="5px" Layout="Fit" runat="server">
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" EnableColumnLines="true" EnableColumnMove="true"
runat="server" BoxFlex="1" DataKeyNames="FlowOperateId" AllowCellEditing="true" ClicksToEdit="2"
DataIDField="FlowOperateId" AllowSorting="true" SortField="FlowStep,GroupNum,OrderNum" SortDirection="ASC" Height="320px"
OnSort="Grid1_Sort" AllowPaging="true" EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick"
EnableTextSelection="True">
<Toolbars>
<f:Toolbar ID="Toolbar4" Position="Top" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="btnFlowOperateNew" ToolTip="增加" Icon="Add" runat="server" OnClick="btnFlowOperateNew_Click" />
<f:Button ID="btnFlowOperateDelete" ToolTip="删除" Icon="Delete" ConfirmText="确定删除当前数据?" OnClick="btnFlowOperateDelete_Click" runat="server">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Columns>
<f:RenderField Width="100px" ColumnID="FlowStep" DataField="FlowStep" FieldType="Int"
HeaderText="步骤" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="GroupNum" DataField="GroupNum" FieldType="Int"
HeaderText="组号" HeaderTextAlign="Center" TextAlign="Center" Hidden="true">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="OrderNum" DataField="OrderNum" FieldType="Int"
HeaderText="组内序号" HeaderTextAlign="Center" TextAlign="Center" Hidden="true">
</f:RenderField>
<f:RenderField Width="250px" ColumnID="AuditFlowName" DataField="AuditFlowName" FieldType="String" HeaderText="名称" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField>
<f:TemplateField Width="300px" HeaderText="审批角色" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
<ItemTemplate>
<asp:Label ID="Label27" runat="server" Text='<%# ConvertRole(Eval("RoleId")) %>' ></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:CheckBoxField Width="80px" RenderAsStaticField="true" TextAlign="Center" DataField="IsFlowEnd" HeaderText="是否结束" />
</Columns>
<Listeners>
<f:Listener Event="dataload" Handler="onGridDataLoad" />
</Listeners>
</f:Grid>
</Items>
</f:Tab>
</Tabs>
</f:TabStrip>
</Items>
</f:Tab>
<f:Tab ID="Tab3" Title="考试规则" BodyPadding="5px" Layout="Fit" IconFont="Bookmark" runat="server">
<Items>
<f:Form ID="frTestSet" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow ColumnWidths="25% 10% 65%">
<Items>
<f:Label ID="lbTotalScore" Label="总分" runat="server" LabelWidth="270px"></f:Label>
<f:Label ID="lbTotalCount" Label="题目数量" runat="server"></f:Label>
<f:Label runat="server"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 65%">
<Items>
<f:NumberBox ID="txtDuration" runat="server" Label="考试时长(分钟)" ShowRedStar="true" Required="true"
NoDecimal="true" NoNegative="true" LabelWidth="220px">
</f:NumberBox>
<f:Label ID="Label14" runat="server" Text="说明:一场考试的用时。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 65%">
<Items>
<f:NumberBox ID="txtPassingScore" runat="server" Label="及格分" ShowRedStar="true" Required="true"
NoDecimal="true" NoNegative="true" LabelWidth="220px">
</f:NumberBox>
<f:Label ID="Label21" runat="server" Text="说明:及格分数线。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 65%">
<Items>
<f:NumberBox ID="txtSValue" runat="server" Label="单选题分值" ShowRedStar="true" Required="true"
NoDecimal="true" NoNegative="true" LabelWidth="220px" OnTextChanged="txtTab3_TextChanged" AutoPostBack="true">
</f:NumberBox>
<f:Label ID="Label15" runat="server" Text="说明:一个单选题多少分。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 65%">
<Items>
<f:NumberBox ID="txtMValue" runat="server" Label="多选题分值" ShowRedStar="true" Required="true"
NoDecimal="true" NoNegative="true" LabelWidth="220px" OnTextChanged="txtTab3_TextChanged" AutoPostBack="true">
</f:NumberBox>
<f:Label ID="Label16" runat="server" Text="说明:一个多选题多少分。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 65%">
<Items>
<f:NumberBox ID="txtJValue" runat="server" Label="判断题分值" ShowRedStar="true" Required="true"
NoDecimal="true" NoNegative="true" LabelWidth="220px" OnTextChanged="txtTab3_TextChanged" AutoPostBack="true">
</f:NumberBox>
<f:Label ID="Label17" runat="server" Text="说明:一个判断题多少分。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 65%">
<Items>
<f:NumberBox ID="txtSCount" runat="server" Label="单选题数量" ShowRedStar="true" Required="true"
NoDecimal="true" NoNegative="true" LabelWidth="220px" OnTextChanged="txtTab3_TextChanged" AutoPostBack="true">
</f:NumberBox>
<f:Label ID="Label18" runat="server" Text="说明:一张试卷有多少个单选题。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 65%">
<Items>
<f:NumberBox ID="txtMCount" runat="server" Label="多选题数量" ShowRedStar="true" Required="true"
NoDecimal="true" NoNegative="true" LabelWidth="220px" OnTextChanged="txtTab3_TextChanged" AutoPostBack="true">
</f:NumberBox>
<f:Label ID="Label19" runat="server" Text="说明:一张试卷有多少个多选题。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="35% 65%">
<Items>
<f:NumberBox ID="txtJCount" runat="server" Label="判断题数量" ShowRedStar="true" Required="true"
NoDecimal="true" NoNegative="true" LabelWidth="220px" OnTextChanged="txtTab3_TextChanged" AutoPostBack="true">
</f:NumberBox>
<f:Label ID="Label20" runat="server" Text="说明:一张试卷有多少个判断题。" MarginLeft="50px"></f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="btnTab3Save" Icon="SystemSave" runat="server" ValidateForms="frTestSet"
OnClick="btnTab3Save_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Tab>
<f:Tab ID="TabOnlineMenuSet" Title="在线编辑设置" BodyPadding="5px" Layout="Fit" IconFont="Bookmark" runat="server" Hidden="True">
<Items>
<f:Form ID="Form3" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow ColumnWidths="100%">
<Items>
<f:TextBox ID="txtAppid" runat="server" Label="appid" LabelWidth="230px"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="100%">
<Items>
<f:TextBox ID="txtAppkey" runat="server" Label="appkey" LabelWidth="230px"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="100%">
<Items>
<f:TextBox ID="txtCallBackapiurl" runat="server" Label="文档保存回调地址" LabelWidth="230px"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="100%">
<Items>
<f:CheckBox ID="ckIsUseLoaclService" runat="server" Label="是否使用本地服务" LabelWidth="230px">
</f:CheckBox>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
<Toolbars>
<f:Toolbar ID="Toolbar5" Position="Top" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="OnlineMenuSetSave" Icon="SystemSave" runat="server" ValidateForms="frTestSet" Text="保存"
OnClick="OnlineMenuSetSave_OnClick">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Tab>
<f:Tab ID="TabHttpLog" Title="接口日志查询" BodyPadding="5px" Height="600" Layout="Fit" EnableIFrame="true" IconFont="Bookmark" IFrameUrl="./HttpLog.aspx" Hidden="true" runat="server">
</f:Tab>
</Tabs>
</f:TabStrip>
</Items>
</f:Panel>
<f:Window ID="Window1" Title="流程步骤设置" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
Width="640px" Height="450px">
</f:Window>
</form>
<script type="text/javascript">
function onGridDataLoad(event) {
this.mergeColumns(['FlowStep', 'GroupNum'], { depends: true });
}
</script>
</body>
</html>