UU跑腿标准版

basedataedit.aspx 5.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="basedataedit.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.sysmanage.basedataedit" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <title>基础数据编辑</title>
  6. <link href="../../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  7. <link href="../images/style.css" rel="stylesheet" type="text/css" />
  8. <script type="text/javascript" src="../../scripts/jquery/jquery-1.8.3.min.js"></script>
  9. <script type="text/javascript" src="../../scripts/jquery/jquery.form.js"></script>
  10. <script type="text/javascript" src="../../scripts/jquery/jquery.validate.min.js"></script>
  11. <script type="text/javascript" src="../../scripts/jquery/messages_cn.js"></script>
  12. <script type="text/javascript" src="../../scripts/ui/js/ligerBuild.min.js"></script>
  13. <script type="text/javascript" src="../../scripts/function.js"></script>
  14. <script src="../scripts/calendar.js" type="text/javascript"></script>
  15. <script src="../scripts/ui/js/core/base.js" type="text/javascript"></script>
  16. <script src="../scripts/ui/js/plugins/ligerDialog.js" type="text/javascript"></script>
  17. <script src="../scripts/ui/js/plugins/ligerDrag.js" type="text/javascript"></script>
  18. <script type="text/javascript">
  19. $(function () {
  20. // 也面布局
  21. initstant();
  22. });
  23. function initstant() {
  24. if ($("#hfAddFlage").val() == "Add") {//为新增类型
  25. document.getElementById("biaoshiCode").style.display = "none";
  26. document.getElementById("biaoshiName").style.display = "none";
  27. }
  28. if ($("#hfAddFlage").val() == "Edit") {
  29. document.getElementById("biaoshiCode").style.display = "none";
  30. document.getElementById("biaoshiName").style.display = "none";
  31. document.getElementById("txtDictionaryFlag").readOnly = "true";
  32. document.getElementById("txtDictionaryFlag").style.backgroundColor = "#EEEEEE";
  33. }
  34. if ($("#hfAddFlage").val() == "AddData" || $("#hfAddFlage").val() == "EditGrid") {
  35. document.getElementById("txtDictionaryFlag").readOnly = "true";
  36. document.getElementById("txtDictionaryFlag").style.backgroundColor = "#EEEEEE";
  37. document.getElementById("txtDictionaryName").readOnly = "true";
  38. document.getElementById("txtDictionaryName").style.backgroundColor = "#EEEEEE";
  39. }
  40. }
  41. function CloseThis() {
  42. var dialog = frameElement.dialog;
  43. parent.TreeData();
  44. parent.LoadList();
  45. dialog.close();
  46. }
  47. </script>
  48. </head>
  49. <body>
  50. <form id="form1" runat="server">
  51. <asp:HiddenField ID="hfAddFlage" runat="server" />
  52. <div id="contentTab">
  53. <ul class="tab_nav">
  54. <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">基本信息</a></li>
  55. </ul>
  56. <div class="tab_con" style="display: block; height: 170px;">
  57. <table class="form_table">
  58. <col width="100px" />
  59. <col />
  60. <col width="100px" />
  61. <col />
  62. <tbody>
  63. <tr id="biaoshiFlage">
  64. <th>
  65. 选项标识:
  66. </th>
  67. <td>
  68. <asp:TextBox ID="txtDictionaryFlag" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox><span style="color:Red">例如:XXLY</span>
  69. </td>
  70. </tr>
  71. <tr id="biaoshiLei">
  72. <th>
  73. 选项类型:
  74. </th>
  75. <td>
  76. <asp:TextBox ID="txtDictionaryName" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox><span style="color:Red">例如:信息来源</span>
  77. </td>
  78. </tr>
  79. <tr id="biaoshiCode">
  80. <th>
  81. 选项值:<asp:HiddenField ID="txtId" Value="" runat="server" />
  82. <asp:HiddenField ID="txtproid" Value="" runat="server" />
  83. </th>
  84. <td>
  85. <asp:TextBox ID="txtValueCode" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox><span style="color:Red">例如:0</span>
  86. </td>
  87. </tr>
  88. <tr id="biaoshiName">
  89. <th>
  90. 类型名称:
  91. </th>
  92. <td>
  93. <asp:TextBox ID="txtName" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
  94. </td>
  95. </tr>
  96. <tr>
  97. <th>
  98. 排序:
  99. </th>
  100. <td>
  101. <asp:TextBox ID="txtSort" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
  102. </td>
  103. </tr>
  104. </tbody>
  105. </table>
  106. </div>
  107. <div class="foot_btn_box">
  108. <asp:Button ID="btnSubmit" runat="server" Text="保&nbsp;&nbsp;存" CssClass="btnSubmit" OnClick="btnSubmit_Click" />
  109. </div>
  110. </div>
  111. </form>
  112. </body>
  113. </html>