UU跑腿标准版

personmodify.aspx 6.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="personmodify.aspx.cs" Inherits="HySoft.BaseCallCenter.Web.customermanage.personmodify" %>
  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>
  5. <title>编辑客户联系人</title>
  6. <link href="../scripts/ui/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  7. <script src="../scripts/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  8. <script type="text/javascript" src="../scripts/jquery/jquery.form.js"></script>
  9. <script type="text/javascript" src="../scripts/jquery/jquery.validate.min.js"></script>
  10. <script type="text/javascript" src="../scripts/jquery/messages_cn.js"></script>
  11. <script type="text/javascript" src="../scripts/function.js"></script>
  12. <script src="../scripts/ui/js/core/base.js" type="text/javascript"></script>
  13. <script src="../scripts/ui/js/ligerui.min.js" type="text/javascript"></script>
  14. <link href="../scripts/ui/skins/Tab/css/tab.css" rel="stylesheet" type="text/css" />
  15. <link href="../images/style.css" rel="stylesheet" type="text/css" />
  16. <script type="text/javascript">
  17. function CloseThis() {
  18. var dialog = frameElement.dialog;
  19. parent.LoadList();
  20. dialog.close();
  21. }
  22. function SaveInfo(res) {
  23. switch (res) {
  24. case 'success':
  25. $.ligerDialog.success('保存成功', function (yes) { CloseThis(); });
  26. break;
  27. case 'warn':
  28. $.ligerDialog.error('保存失败,请确认数据正确性');
  29. break;
  30. case 'error':
  31. $.ligerDialog.error('系统错误,请联系开发商');
  32. break;
  33. default:
  34. break;
  35. }
  36. }
  37. $(function () {
  38. var sexdata = [
  39. { id: 1, name: '男' },
  40. { id: 0, name: '女' }
  41. ];
  42. $('#txtSex').ligerRadioList({
  43. data: sexdata,
  44. textField: 'name',
  45. onSelect: function () { alert("KKK"); }
  46. });
  47. if (document.getElementById("hfSex").value != "") {
  48. liger.get("txtSex").setValue(document.getElementById("hfSex").value);
  49. } else {
  50. liger.get("txtSex").setValue("1");
  51. }
  52. });
  53. function validate() {
  54. lblContactName.innerHTML = "*";
  55. if (document.getElementById("txtContactName").value == "") {
  56. lblContactName.innerHTML = "请填写联系人";
  57. return false;
  58. }
  59. return true;
  60. }
  61. </script>
  62. </head>
  63. <body class="mainbody" scroll="no" style="margin-top: 0px;">
  64. <form id="form1" runat="server">
  65. <div id="contentTab">
  66. <table class="form_table">
  67. <col width="85px" />
  68. <col />
  69. <col width="85px" />
  70. <col />
  71. <tbody>
  72. <tr>
  73. <th>
  74. 联系人:
  75. </th>
  76. <td>
  77. <asp:HiddenField ID="hiddCustomerId" runat="server" />
  78. <asp:HiddenField ID="hiddPersonId" runat="server" />
  79. <asp:TextBox ID="txtContactName" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
  80. <label id="lblContactName" for="txtContactName">*</label>
  81. </td>
  82. <th>
  83. 性别:
  84. </th>
  85. <td>
  86. <div id="txtSex"></div>
  87. <asp:HiddenField ID="hfSex" runat="server" />
  88. </td>
  89. </tr>
  90. <tr>
  91. <th>
  92. 职务:
  93. </th>
  94. <td>
  95. <asp:TextBox ID="txtDuty" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
  96. </td>
  97. <th>
  98. 邮箱:
  99. </th>
  100. <td>
  101. <asp:TextBox ID="txtEmail" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
  102. </td>
  103. </tr>
  104. <tr>
  105. <th>
  106. 办公电话:
  107. </th>
  108. <td>
  109. <asp:TextBox ID="txtTelePhone" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
  110. </td>
  111. <th>
  112. 手机:
  113. </th>
  114. <td>
  115. <asp:TextBox ID="txtMobile" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
  116. </td>
  117. </tr>
  118. <tr>
  119. <th>
  120. 联系QQ:
  121. </th>
  122. <td>
  123. <asp:TextBox ID="txtQQ" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
  124. </td>
  125. <th>
  126. 传真:
  127. </th>
  128. <td>
  129. <asp:TextBox ID="txtFax" runat="server" CssClass="txtInput normal" Style="width: 120px;"></asp:TextBox>
  130. </td>
  131. </tr>
  132. <tr>
  133. <th>
  134. 备注:
  135. </th>
  136. <td colspan="3"><textarea
  137. id="txtRemark" runat="server" class="txtInput normal" style="width:330px; height:60px;" cols="20" rows="3"></textarea>
  138. </td>
  139. </tr>
  140. </tbody>
  141. </table>
  142. <div class="foot_btn_box">
  143. <asp:Button ID="btnSubmit" runat="server" Text="保&nbsp;&nbsp;存" CssClass="btnSubmit"
  144. OnClientClick="return validate();" OnClick="btnSubmit_Click" />
  145. </div>
  146. </div>
  147. </form>
  148. </body>
  149. </html>