| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="basedataedit.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.sysmanage.basedataedit" %>
- <!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">
- <title>基础数据编辑</title>
- <link href="../../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <link href="../images/style.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="../../scripts/jquery/jquery-1.8.3.min.js"></script>
- <script type="text/javascript" src="../../scripts/jquery/jquery.form.js"></script>
- <script type="text/javascript" src="../../scripts/jquery/jquery.validate.min.js"></script>
- <script type="text/javascript" src="../../scripts/jquery/messages_cn.js"></script>
- <script type="text/javascript" src="../../scripts/ui/js/ligerBuild.min.js"></script>
- <script type="text/javascript" src="../../scripts/function.js"></script>
- <script src="../scripts/calendar.js" type="text/javascript"></script>
- <script src="../scripts/ui/js/core/base.js" type="text/javascript"></script>
- <script src="../scripts/ui/js/plugins/ligerDialog.js" type="text/javascript"></script>
- <script src="../scripts/ui/js/plugins/ligerDrag.js" type="text/javascript"></script>
- <script type="text/javascript">
- $(function () {
- // 也面布局
- initstant();
- });
- function initstant() {
- if ($("#hfAddFlage").val() == "Add") {//为新增类型
- document.getElementById("biaoshiCode").style.display = "none";
- document.getElementById("biaoshiName").style.display = "none";
- }
- if ($("#hfAddFlage").val() == "Edit") {
- document.getElementById("biaoshiCode").style.display = "none";
- document.getElementById("biaoshiName").style.display = "none";
- document.getElementById("txtDictionaryFlag").readOnly = "true";
- document.getElementById("txtDictionaryFlag").style.backgroundColor = "#EEEEEE";
- }
- if ($("#hfAddFlage").val() == "AddData" || $("#hfAddFlage").val() == "EditGrid") {
- document.getElementById("txtDictionaryFlag").readOnly = "true";
- document.getElementById("txtDictionaryFlag").style.backgroundColor = "#EEEEEE";
- document.getElementById("txtDictionaryName").readOnly = "true";
- document.getElementById("txtDictionaryName").style.backgroundColor = "#EEEEEE";
- }
- }
- function CloseThis() {
- var dialog = frameElement.dialog;
- parent.TreeData();
- parent.LoadList();
- dialog.close();
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <asp:HiddenField ID="hfAddFlage" runat="server" />
- <div id="contentTab">
-
- <ul class="tab_nav">
- <li class="selected"><a onclick="tabs('#contentTab',0);" href="javascript:;">基本信息</a></li>
- </ul>
- <div class="tab_con" style="display: block; height: 170px;">
- <table class="form_table">
- <col width="100px" />
- <col />
- <col width="100px" />
- <col />
- <tbody>
-
- <tr id="biaoshiFlage">
- <th>
- 选项标识:
- </th>
- <td>
- <asp:TextBox ID="txtDictionaryFlag" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox><span style="color:Red">例如:XXLY</span>
- </td>
- </tr>
- <tr id="biaoshiLei">
- <th>
- 选项类型:
- </th>
- <td>
- <asp:TextBox ID="txtDictionaryName" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox><span style="color:Red">例如:信息来源</span>
- </td>
- </tr>
- <tr id="biaoshiCode">
- <th>
- 选项值:<asp:HiddenField ID="txtId" Value="" runat="server" />
- <asp:HiddenField ID="txtproid" Value="" runat="server" />
- </th>
- <td>
- <asp:TextBox ID="txtValueCode" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox><span style="color:Red">例如:0</span>
- </td>
-
- </tr>
- <tr id="biaoshiName">
- <th>
- 类型名称:
- </th>
-
- <td>
- <asp:TextBox ID="txtName" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
- </td>
-
- </tr>
- <tr>
- <th>
- 排序:
- </th>
- <td>
- <asp:TextBox ID="txtSort" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="foot_btn_box">
- <asp:Button ID="btnSubmit" runat="server" Text="保 存" CssClass="btnSubmit" OnClick="btnSubmit_Click" />
- </div>
- </div>
- </form>
- </body>
- </html>
|