Settings.aspx
上传用户:li2971742
上传日期:2021-11-18
资源大小:39096k
文件大小:19k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page language="c#" Inherits="OThinker.H3.Portal.Settings" CodeFile="Settings.aspx.cs" CodeFileBaseClass="OThinker.H3.Portal.PortalPage" %>
  2. <%@ Register Assembly="OThinker.H3.WorkSheet" Namespace="OThinker.H3.WorkSheet" TagPrefix="SheetControls" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <HTML>
  5. <HEAD>
  6. <title>设置</title>
  7. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  8. <meta content="C#" name="CODE_LANGUAGE">
  9. <meta content="JavaScript" name="vs_defaultClientScript">
  10. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  11. <LINK href="css/style.CSS" type="text/css" rel="stylesheet">
  12. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  13.     <style type="text/css">
  14.             .style3
  15.             {
  16.                 width: 156px;
  17.             }
  18.             .style4
  19.             {
  20.                 width: 99px;
  21.             }
  22.             .style5
  23.             {
  24.                 width: 71px;
  25.             }
  26.         </style>
  27. </HEAD>
  28. <body leftmargin="0" topmargin="0">
  29. <FORM id="Form1" method="post" runat="server">
  30. <table cellSpacing="0" cellPadding="0" width="100%">
  31. <tr>
  32. <td width="100%" height="29" background="images/Top_4.gif"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  33. <tr>
  34. <td width="2%"><img src="images/Top_5.gif" width="14" height="16"></td>
  35. <td class="bigfont">系统设置</td>
  36. </tr>
  37. </table>
  38. </td>
  39. </tr>
  40. </table>
  41. <TABLE id="Table2" cellSpacing="0" cellPadding="0" width="100%">
  42. <TR>
  43. <TD  bgcolor="#7f97da"><asp:imagebutton id="btnOk" runat="server" ImageUrl="images/IB_Ok.gif"></asp:imagebutton>
  44.                         &nbsp;
  45. <asp:linkbutton id="lnkOk" runat="server" ForeColor="#FFFFFF" onclick="lnkOk_Click">确定</asp:linkbutton></TD>
  46. </TR>
  47. </TABLE>
  48. <TABLE id="Table3" width="100%">
  49. <TR>
  50. <TD bgColor="buttonface">初始化
  51. </TD>
  52. </TR>
  53. <TR>
  54. <TD>
  55. <TABLE>
  56. <TR>
  57. <TD><FONT face="宋体">初始化情况&nbsp;&nbsp; </FONT>
  58. </TD>
  59. <TD><asp:checkbox id="chkInitialized" runat="server" Text="已初始化" Enabled="False"></asp:checkbox></TD>
  60. </TR>
  61. </TABLE>
  62. </TD>
  63. </TR>
  64. <TR>
  65. <TD bgColor="buttonface">邮件
  66. </TD>
  67. </TR>
  68. <TR>
  69. <TD>
  70. <TABLE id="Table4">
  71. <TR>
  72. <TD>
  73. <P><FONT face="宋体">默认的SMTP</FONT></P>
  74. </TD>
  75. <TD><asp:textbox id="txtSmtp" runat="server" Height="24px" Width="156px"></asp:textbox></TD>
  76. <TD><FONT face="宋体">(比如:smtp.163.com)</FONT></TD>
  77. </TR>
  78. <TR>
  79. <TD style="HEIGHT: 29px"><FONT face="宋体"><FONT face="宋体">默认的用户名</FONT></FONT>
  80. </TD>
  81. <TD style="HEIGHT: 29px"><FONT face="宋体"><asp:textbox id="txtUserName" 
  82.                                         runat="server" Height="24px" Width="156px"></asp:textbox></FONT></TD>
  83. <TD style="HEIGHT: 29px"><FONT face="宋体">(比如:othinker.h3)</FONT></TD>
  84. </TR>
  85. <TR>
  86. <TD><FONT face="宋体"><FONT face="宋体">默认的密码</FONT></FONT></TD>
  87. <TD><FONT face="宋体">
  88.                                     <asp:textbox id="txtPassword" runat="server" Height="24px" 
  89.                                         Width="152px" TextMode="Password"></asp:textbox></FONT></TD>
  90. <TD>
  91.                                     <asp:CompareValidator ID="CompareValidator1" runat="server" 
  92.                                         ControlToCompare="txtPassword" ControlToValidate="txtPassword2" 
  93.                                         ErrorMessage="密码不匹配"></asp:CompareValidator>
  94.                                     </TD>
  95. </TR>
  96. <TR>
  97. <TD>&nbsp;</TD>
  98. <TD><FONT face="宋体">
  99.                                     <asp:textbox id="txtPassword2" runat="server" Height="24px" 
  100.                                         Width="152px" TextMode="Password"></asp:textbox></FONT></TD>
  101. <TD>
  102.                                     <asp:CompareValidator ID="CompareValidator4" runat="server" 
  103.                                         ControlToCompare="txtPassword2" ControlToValidate="txtPassword" 
  104.                                         ErrorMessage="密码不匹配"></asp:CompareValidator>
  105.                                 </TD>
  106. </TR>
  107. <TR>
  108. <TD><FONT face="宋体"><FONT face="宋体">默认的From</FONT></FONT></TD>
  109. <TD><FONT face="宋体"><asp:textbox id="txtFrom" runat="server" Height="24px" 
  110.                                         Width="156px"></asp:textbox></FONT></TD>
  111. <TD><FONT face="宋体">(比如:<A href="mailto:othinker.h3@163.com">othinker.h3@163.com</A>)</FONT></TD>
  112. </TR>
  113. </TABLE>
  114. </TD>
  115. </TR>
  116. <TR>
  117. <TD bgColor="buttonface"><FONT face="宋体">异常</FONT>
  118. </TD>
  119. </TR>
  120. <TR>
  121. <TD>
  122. <TABLE>
  123. <TR>
  124. <TD class="style5"><FONT face="宋体"><FONT face="宋体"><FONT face="宋体">异常管理员</FONT></FONT></FONT></TD>
  125. <TD style="WIDTH: 155px">
  126.                                     <SheetControls:UserSelector ID="txtExceptionManager" runat="server" SelectUnitType="User"
  127.                                         SelectUserImageUrl="images/IB_SelectUser.gif" 
  128.                                         SelectUserUrl="SelectUser.aspx" RemoveUserImageUrl="images/IB_Remove.ico" 
  129.                                         UserSelectable="True" Width="175px" />
  130.                                 </TD>
  131. <TD><FONT face="宋体">当某个任务没有找到合适的人员来执行(比如:流程设计错误或者以前设计的人员已离职等),则将该任务发送给异常管理员</FONT></TD>
  132. </TR>
  133. </TABLE>
  134. </TD>
  135. </TR>
  136. <TR>
  137. <TD bgColor="buttonface">
  138.                         系统
  139. </TD>
  140. </TR>
  141. <TR>
  142. <TD>
  143. <TABLE>
  144. <TR>
  145. <TD style="WIDTH: 100px"><FONT face="宋体"><FONT face="宋体"><FONT face="宋体">新流程的标识</FONT></FONT></FONT></TD>
  146. <TD style="WIDTH: 155px">
  147. <asp:Label id="lblNextInstanceID" runat="server"></asp:Label></TD>
  148. <TD style="width: 245px"><FONT face="宋体"></FONT></TD>
  149. </TR>
  150.                             <tr>
  151.                                 <td style="width: 100px">
  152.                                     监听消息线程数</td>
  153.                                 <td style="width: 155px">
  154.                                     <asp:TextBox ID="txtListenThreadCount" runat="server"></asp:TextBox></td>
  155.                                 <td style="width: 245px">
  156.                                     建议设置为CPU数量的4倍</td>
  157.                             </tr>
  158.                             <tr>
  159.                                 <td style="width: 100px">
  160.                                     是否记录执行日志</td>
  161.                                 <td style="width: 155px">
  162.                                     <asp:CheckBox ID="chkRecordLog" runat="server" Text="记录" /></td>
  163.                                 <td style="width: 245px">
  164.                                 </td>
  165.                             </tr>
  166. </TABLE>
  167. </TD>
  168. </TR>
  169. <TR>
  170. <TD bgColor="buttonface">
  171.                         内存设置
  172. </TD>
  173. </TR>
  174. <TR>
  175. <TD>
  176. <TABLE>
  177. <tr>
  178.                                 <td style="width: 100px">
  179.                                     流程模板数</td>
  180.                                 <td style="width: 155px">
  181.                                     <asp:TextBox ID="txtWorkflowLimit" runat="server"></asp:TextBox></td>
  182.                                 <td style="width: 245px">
  183.                                     </td>
  184.                             </tr>
  185.                             <tr>
  186.                                 <td style="width: 100px">
  187.                                     Token数</td>
  188.                                 <td style="width: 155px">
  189.                                     <asp:TextBox ID="txtTokenLimit" runat="server"></asp:TextBox></td>
  190.                                 <td style="width: 245px">
  191.                                     </td>
  192.                             </tr>
  193.                             <tr>
  194.                                 <td style="width: 100px">
  195.                                     流程数</td>
  196.                                 <td style="width: 155px">
  197.                                     <asp:TextBox ID="txtInstanceLimit" runat="server"></asp:TextBox></td>
  198.                                 <td style="width: 245px">
  199.                                     </td>
  200.                             </tr>
  201.                             <tr>
  202.                                 <td style="width: 100px">
  203.                                     工作项数</td>
  204.                                 <td style="width: 155px">
  205.                                     <asp:TextBox ID="txtWorkItemLimit" runat="server"></asp:TextBox></td>
  206.                                 <td style="width: 245px">
  207.                                     </td>
  208.                             </tr>
  209.                             <tr>
  210.                                 <td style="width: 100px">
  211.                                     流程数据项数</td>
  212.                                 <td style="width: 155px">
  213.                                     <asp:TextBox ID="txtInstanceDataItemLimit" runat="server"></asp:TextBox></td>
  214.                                 <td style="width: 245px">
  215.                                     </td>
  216.                             </tr>
  217.                             <tr>
  218.                                 <td style="width: 100px">
  219.                                     堆数据项数</td>
  220.                                 <td style="width: 155px">
  221.                                     <asp:TextBox ID="txtHeapDataItemLimit" runat="server"></asp:TextBox></td>
  222.                                 <td style="width: 245px">
  223.                                     </td>
  224.                             </tr>
  225.                             <tr>
  226.                                 <td style="width: 100px">
  227.                                     表格数</td>
  228.                                 <td style="width: 155px">
  229.                                     <asp:TextBox ID="txtWorkFormLimit" runat="server"></asp:TextBox></td>
  230.                                 <td style="width: 245px">
  231.                                     </td>
  232.                             </tr>
  233. </TABLE>
  234. </TD>
  235. </TR>
  236. <TR>
  237. <TD bgColor="buttonface">
  238.                         显示设置
  239. </TD>
  240. </TR>
  241. <TR>
  242. <TD>
  243. <TABLE>
  244. <tr>
  245.                                 <td style="width: 100px">
  246.                                     工作项的黄色警告</td>
  247.                                 <td style="width: 155px">
  248.                                     <asp:TextBox ID="txtWorkItemYellowWarning" runat="server"></asp:TextBox></td>
  249.                                 <td style="width: 245px">
  250.                                     </td>
  251.                             </tr>
  252.                             <tr>
  253.                                 <td style="width: 100px">
  254.                                     工作项的红色警告</td>
  255.                                 <td style="width: 155px">
  256.                                     <asp:TextBox ID="txtWorkItemRedWarning" runat="server"></asp:TextBox></td>
  257.                                 <td style="width: 245px">
  258.                                     </td>
  259.                             </tr>
  260.                             <tr>
  261.                                 <td style="width: 100px">
  262.                                     流程的黄色警告</td>
  263.                                 <td style="width: 155px">
  264.                                     <asp:TextBox ID="txtInstanceYellowWarning" runat="server"></asp:TextBox></td>
  265.                                 <td style="width: 245px">
  266.                                     </td>
  267.                             </tr>
  268.                             <tr>
  269.                                 <td style="width: 100px">
  270.                                     流程的红色警告</td>
  271.                                 流程的红色警告</td>
  272.                                 <td style="width: 155px">
  273.                                     <asp:TextBox ID="txtInstanceRedWarning" runat="server"></asp:TextBox></td>
  274.                                 <td style="width: 245px">
  275.                                     </td>
  276.                             </tr>
  277. </TABLE>
  278. </TD>
  279. </TR>
  280. <TR>
  281. <TD bgColor="buttonface">
  282.                         活动目录
  283. </TD>
  284. </TR>
  285. <TR>
  286. <TD>
  287. <TABLE width="100%">
  288. <tr>
  289.                                 <td class="style4">
  290.                                     域名</td>
  291.                                 <td class="style3">
  292.                                     <asp:TextBox ID="txtDomainName" runat="server"></asp:TextBox></td>
  293.                                 <td>
  294.                                     比如:othinker,“域名用户别名”组成用户的登录名</td>
  295.                             </tr>
  296. <tr>
  297.                                 <td class="style4">
  298.                                     活动目录路径</td>
  299.                                 <td class="style3">
  300.                                     <asp:TextBox ID="txtADPath" runat="server"></asp:TextBox></td>
  301.                                 <td>
  302.                                     比如:LDAP://OThinker.com</td>
  303.                             </tr>
  304.                             <tr>
  305.                                 <td class="style4">
  306.                                     用户名</td>
  307.                                 <td class="style3">
  308.                                     <asp:TextBox ID="txtADUser" runat="server"></asp:TextBox></td>
  309.                                 <td>
  310.                                     比如:administrator</td>
  311.                             </tr>
  312.                             <tr>
  313.                                 <td class="style4">
  314.                                     密码</td>
  315.                                 <td class="style3">
  316.                                     <asp:TextBox ID="txtADPassword" runat="server" TextMode="Password"></asp:TextBox></td>
  317.                                 <td>
  318.                                     <asp:CompareValidator ID="CompareValidator2" runat="server" 
  319.                                         ControlToCompare="txtADPassword" ControlToValidate="txtADPassword0" 
  320.                                         ErrorMessage="密码不匹配"></asp:CompareValidator>
  321.                                     </td>
  322.                             </tr>
  323.                             <tr>
  324.                                 <td class="style4">
  325.                                     &nbsp;</td>
  326.                                 <td class="style3">
  327.                                     <asp:TextBox ID="txtADPassword0" runat="server" TextMode="Password"></asp:TextBox></td>
  328.                                 <td>
  329.                                     <asp:CompareValidator ID="CompareValidator5" runat="server" 
  330.                                         ControlToCompare="txtADPassword0" ControlToValidate="txtADPassword" 
  331.                                         ErrorMessage="密码不匹配"></asp:CompareValidator>
  332.                                 </td>
  333.                             </tr>
  334.                             <tr>
  335.                                 <td class="style4">
  336.                                     是否自动同步</td>
  337.                                 <td class="style3">
  338.                                     <asp:CheckBox ID="chkAutoSync" runat="server" />
  339.                                 </td>
  340.                                 <td>
  341.                                     &nbsp;</td>
  342.                             </tr>
  343.                             <tr>
  344.                                 <td class="style4">
  345.                                     同步时间间隔</td>
  346.                                 <td class="style3">
  347.                                     <asp:TextBox ID="txtSyncInterval" runat="server"></asp:TextBox>
  348.                                 </td>
  349.                                 <td>
  350.                                     单位分钟</td>
  351.                             </tr>
  352.                             </TABLE>
  353. </TD>
  354. </TR>
  355. <TR>
  356. <TD bgColor="buttonface">
  357.                         默认的Sps验证  </TD>
  358. </TR>
  359. <TR>
  360. <TD>
  361. <TABLE>
  362. <tr>
  363.                                 <td style="width: 100px">
  364.                                     用户名</td>
  365.                                 <td style="width: 155px">
  366.                                     <asp:TextBox ID="txtSpsUser" runat="server"></asp:TextBox></td>
  367.                                 <td style="width: 245px">
  368.                                     比如:SpsAdmin</td>
  369.                             </tr>
  370.                             <tr>
  371.                                 <td style="width: 100px">
  372.                                     密码</td>
  373.                                 <td style="width: 155px">
  374.                                     <asp:TextBox ID="txtSpsPassword" runat="server" TextMode="Password"></asp:TextBox></td>
  375.                                 <td style="width: 245px">
  376.                                     <asp:CompareValidator ID="CompareValidator3" runat="server" 
  377.                                         ControlToCompare="txtSpsPassword" ControlToValidate="txtSpsPassword0" 
  378.                                         ErrorMessage="密码不匹配"></asp:CompareValidator>
  379.                                     </td>
  380.                             </tr>
  381.                             <tr>
  382.                                 <td style="width: 100px">
  383.                                     &nbsp;</td>
  384.                                 <td style="width: 155px">
  385.                                     <asp:TextBox ID="txtSpsPassword0" runat="server" TextMode="Password"></asp:TextBox></td>
  386.                                 <td style="width: 245px">
  387.                                     <asp:CompareValidator ID="CompareValidator6" runat="server" 
  388.                                         ControlToCompare="txtSpsPassword0" ControlToValidate="txtSpsPassword" 
  389.                                         ErrorMessage="密码不匹配"></asp:CompareValidator>
  390.                                 </td>
  391.                             </tr>
  392.                             </TABLE>
  393. </TD>
  394. </TR>
  395. </TABLE>
  396. </FORM>
  397. </body>
  398. </HTML>