73a0c7bd7f63e1d75da918e4ff36ecfbdb5845a0.svn-base 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <!DOCTYPE html >
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>常用联系人管理</title>
  6. <link href="/nwyj/scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  7. <link href="/nwyj/scripts/qui/system/layout_flat/skin/style.css" rel="stylesheet" type="text/css" id="skin" skinPath="/nwyj/scripts/qui/" scrollerY="false" scrollerX="false"/>
  8. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  9. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
  10. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
  11. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
  12. <!--框架必需end-->
  13. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/text/vticker.js"></script>
  14. <!--自动提示框start-->
  15. <script type='text/javascript' src='/nwyj/scripts/qui/libs/js/form/suggestion.js'></script>
  16. <!--自动提示框end-->
  17. <!--数据表格start-->
  18. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/table/quiGrid.js" ></script>
  19. <!--数据表格end-->
  20. <!--表单提交start-->
  21. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/form.js"></script>
  22. <!--表单提交end-->
  23. <!--表单验证start-->
  24. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/validation.js"></script>
  25. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/validationRule.js"></script>
  26. <!--表单提交end-->
  27. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/datePicker/WdatePicker.js"></script>
  28. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/messager.js"></script>
  29. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/drag.js"></script>
  30. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/dialog.js"></script>
  31. <!--弹窗组件end-->
  32. <!--浮动面板start-->
  33. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/floatPanel.js"></script>
  34. <!--浮动面板end-->
  35. <!-- 扩展工具js -->
  36. <script type="text/javascript" src="/nwyj/scripts/jquery/plugins/jquery.extension.util.js"></script>
  37. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  38. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
  39. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/DateUtil.js"></script>
  40. <script type="text/javascript" src="/nwyj/scripts/commom/common/common.js"></script>
  41. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  42. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  43. <!-- 模版js和css start-->
  44. <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style1.css"
  45. rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
  46. positionTarget="positionContent" selInputHeight="32"
  47. selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
  48. defaultFileInputWidth="200" defaultGridHeaderHeight="34"
  49. defaultGridRowHeight="38" defaultFontSize="12" defaultPageSelWidth="55"
  50. defaultFilterItemHeight="32" dialogWidthFix="0"
  51. defaultSelItemHeight="32" defaultFontFamily="宋体" />
  52. <!-- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/pageNumber.js"></script>
  53. <script type="text/javascript" src="/nwyj/scripts/ECM_gridtemplate/changeFormat.js"></script>
  54. <link href="/nwyj/scripts/ECM_gridtemplate/changeFormat.css" rel="stylesheet" type="text/css"/> -->
  55. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
  56. <link href="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
  57. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/sms/selectContactPeople1.js" ></script>
  58. <script type="text/javascript" src="/nwyj/scripts/setiframeheight.js"></script>
  59. <script type="text/javascript">
  60. function more() {
  61. $('#moreDiv').toggle(200,function(){
  62. clear_msg();
  63. $(top.document.body).find("#frmright").height($(window.document.body).height()+100);
  64. });
  65. }
  66. /** 绑定更多的按钮点击事件 */
  67. $more = $("#more"); // 更多按钮
  68. $more.bind('click', function() {
  69. more();
  70. });
  71. function clear_msg(){
  72. $("#emptyCondition").click();
  73. }
  74. $("#searchButt").live("click",function(){
  75. searchInfo();
  76. });
  77. var conditionData ={"list":[]};
  78. var url = $.pathname() + '/ws/GetJson/GetJsonService/getContactInfo';
  79. var params = {
  80. userId:userId
  81. };
  82. var getJsonData = getJsonInfo(url,params);
  83. var json1 = getJsonData.split("__")[0];
  84. var json2 = getJsonData.split("__")[1];
  85. json1 = eval('('+json1+')');
  86. json2 = eval('('+json2+')');
  87. if(json1.list.length>1){
  88. conditionData.list.push(json1);
  89. }
  90. if(json2.list.length>1){
  91. conditionData.list.push(json2);
  92. }
  93. if(json1.length>1&&json2.length>1){
  94. conditionData.list.push(json1,json2);
  95. }
  96. $(function(){
  97. createConditionsDom(conditionData);
  98. //ul-li列表点击事件
  99. $(".item").unbind("click").bind("click",bindSelectOne);
  100. //输入框绑定事件
  101. $(".Textinput").bind("change",inputChange);
  102. //单个时间框绑定
  103. //$("#conOneId_cssrk3").bind("blur",inputChange);
  104. });
  105. function getJsonInfo(url,params){
  106. var content1 = "";
  107. $.ajax({
  108. url: url,
  109. type : 'post',
  110. timeout : 15000,
  111. async : false,
  112. data : params,
  113. dataType : 'text',
  114. success:function(data){
  115. content1 = data;
  116. },
  117. error : function(e) {
  118. $.messager.alert('删除失败!', '删除失败!', 'error');
  119. }
  120. });
  121. return content1;
  122. }
  123. </script>
  124. <style type="text/css">
  125. *{
  126. padding: 0px;
  127. margin: 0px;
  128. }
  129. .dbfresh{
  130. background: url(/nwyj/scripts/qui/libs/images/icons/freshimg1.png) no-repeat;
  131. display: inline-block;
  132. width: 17px;
  133. height:19px;
  134. vertical-align:middle;
  135. margin-left: 10px
  136. }
  137. </style>
  138. </head>
  139. <body>
  140. <input type="hidden" id="heights">
  141. <div class="box2" statusType="none" style="position: relative;bottom: 30px; clear: both;" >
  142. <fieldset>
  143. <form id="peopleForm" method="post">
  144. <table style="width:100%;margin: 0 0 3px 0;clear: both;" >
  145. <tr>
  146. <td>
  147. <input type="text" id="people" name="recphone" onkeyup="check(event);" watermark="请输入常用联系人姓名"/>
  148. <a id="querys" onclick="searchInfo();"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png"/></a>
  149. </td>
  150. <td width="20%" align="right"><a href="javascript:;">
  151. <span id="dbfresh" class="dbfresh" onclick="dbfresh();"></span>
  152. <span id="more" onclick="more()" class="more_hide">&nbsp;更多</span></a></td>
  153. </tr>
  154. </table>
  155. <div id="moreDiv" style="display: none; clear: both;">
  156. <div class="conditions" id="conditions" style="clear: both;">
  157. <ul>
  158. <li class="condiTitle">常用联系人电话:</li>
  159. <li >
  160. <input type="text" id="mob" name="CONTACT_TEL" onkeyup="check(event)" class="Textinput" inputMode="numberOnly" maxlength="11"/>
  161. </li>
  162. </ul>
  163. </div>
  164. </div>
  165. </form>
  166. </fieldset>
  167. </div>
  168. <div style="clear: both;"></div>
  169. <div id="maingrid" style="clear: both;" ></div>
  170. <div style="clear: both;"></div>
  171. </body>
  172. </html>