| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="personmodify.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.customermanage.personmodify" %>
- <!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>
- <title>编辑客户联系人</title>
- <link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script src="../scripts/jquery/jquery-1.3.2.min.js" type="text/javascript"></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/function.js"></script>
- <script src="../scripts/ui/js/core/base.js" type="text/javascript"></script>
- <script src="../scripts/ui/js/ligerui.min.js" type="text/javascript"></script>
- <link href="../scripts/ui/skins/Tab/css/tab.css" rel="stylesheet" type="text/css" />
- <link href="../images/style.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
- function CloseThis() {
- var dialog = frameElement.dialog;
- parent.LoadList();
- dialog.close();
- }
- function SaveInfo(res) {
- switch (res) {
- case 'success':
- $.ligerDialog.success('保存成功', function (yes) { CloseThis(); });
- break;
- case 'warn':
- $.ligerDialog.error('保存失败,请确认数据正确性');
- break;
- case 'error':
- $.ligerDialog.error('系统错误,请联系开发商');
- break;
- default:
- break;
- }
- }
- $(function () {
- var sexdata = [
- { id: 1, name: '男' },
- { id: 0, name: '女' }
- ];
- $('#txtSex').ligerRadioList({
- data: sexdata,
- textField: 'name',
- onSelect: function () { alert("KKK"); }
- });
- if (document.getElementById("hfSex").value != "") {
- liger.get("txtSex").setValue(document.getElementById("hfSex").value);
- } else {
- liger.get("txtSex").setValue("1");
- }
- });
- function validate() {
- lblContactName.innerHTML = "*";
- if (document.getElementById("txtContactName").value == "") {
- lblContactName.innerHTML = "请填写联系人";
- return false;
- }
- return true;
- }
- </script>
- </head>
- <body class="mainbody" scroll="no" style="margin-top: 0px;">
- <form id="form1" runat="server">
- <div id="contentTab">
- <table class="form_table">
- <col width="85px" />
- <col />
- <col width="85px" />
- <col />
- <tbody>
- <tr>
- <th>
- 联系人:
- </th>
- <td>
- <asp:HiddenField ID="hiddCustomerId" runat="server" />
- <asp:HiddenField ID="hiddPersonId" runat="server" />
- <asp:TextBox ID="txtContactName" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
- <label id="lblContactName" for="txtContactName">*</label>
- </td>
- <th>
- 性别:
- </th>
- <td>
- <div id="txtSex"></div>
- <asp:HiddenField ID="hfSex" runat="server" />
- </td>
- </tr>
- <tr>
- <th>
- 职务:
- </th>
- <td>
- <asp:TextBox ID="txtDuty" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
- </td>
- <th>
- 邮箱:
- </th>
- <td>
- <asp:TextBox ID="txtEmail" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <th>
- 办公电话:
- </th>
- <td>
- <asp:TextBox ID="txtTelePhone" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
- </td>
- <th>
- 手机:
- </th>
- <td>
- <asp:TextBox ID="txtMobile" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <th>
- 联系QQ:
- </th>
- <td>
- <asp:TextBox ID="txtQQ" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
- </td>
- <th>
- 传真:
- </th>
- <td>
- <asp:TextBox ID="txtFax" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <th>
- 备注:
- </th>
- <td colspan="3"><textarea
- id="txtRemark" runat="server" class="txtInput normal" style="width:330px; height:60px;" cols="20" rows="3"></textarea>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="foot_btn_box">
- <asp:Button ID="btnSubmit" runat="server" Text="保 存" CssClass="btnSubmit"
- OnClientClick="return validate();" OnClick="btnSubmit_Click" />
- </div>
- </div>
- </form>
- </body>
- </html>
|