123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- <!DOCTYPE html >
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>常用联系人管理</title>
- <link href="/nwyj/scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
- <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"/>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
- <!--框架必需end-->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/text/vticker.js"></script>
- <!--自动提示框start-->
- <script type='text/javascript' src='/nwyj/scripts/qui/libs/js/form/suggestion.js'></script>
- <!--自动提示框end-->
- <!--数据表格start-->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/table/quiGrid.js" ></script>
- <!--数据表格end-->
- <!--表单提交start-->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/form.js"></script>
- <!--表单提交end-->
- <!--表单验证start-->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/validation.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/validationRule.js"></script>
- <!--表单提交end-->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/datePicker/WdatePicker.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/messager.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/drag.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/dialog.js"></script>
- <!--弹窗组件end-->
- <!--浮动面板start-->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/floatPanel.js"></script>
- <!--浮动面板end-->
- <!-- 扩展工具js -->
- <script type="text/javascript" src="/nwyj/scripts/jquery/plugins/jquery.extension.util.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/DateUtil.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/commom/common/common.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
- <!-- 模版js和css start-->
- <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style1.css"
- rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
- positionTarget="positionContent" selInputHeight="32"
- selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
- defaultFileInputWidth="200" defaultGridHeaderHeight="34"
- defaultGridRowHeight="38" defaultFontSize="12" defaultPageSelWidth="55"
- defaultFilterItemHeight="32" dialogWidthFix="0"
- defaultSelItemHeight="32" defaultFontFamily="宋体" />
- <!-- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/pageNumber.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/ECM_gridtemplate/changeFormat.js"></script>
- <link href="/nwyj/scripts/ECM_gridtemplate/changeFormat.css" rel="stylesheet" type="text/css"/> -->
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
- <link href="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/sms/selectContactPeople1.js" ></script>
- <script type="text/javascript" src="/nwyj/scripts/setiframeheight.js"></script>
- <script type="text/javascript">
- function more() {
- $('#moreDiv').toggle(200,function(){
- clear_msg();
- $(top.document.body).find("#frmright").height($(window.document.body).height()+100);
- });
- }
- /** 绑定更多的按钮点击事件 */
- $more = $("#more"); // 更多按钮
- $more.bind('click', function() {
- more();
- });
- function clear_msg(){
- $("#emptyCondition").click();
- }
-
- $("#searchButt").live("click",function(){
- searchInfo();
- });
-
- var conditionData ={"list":[]};
- var url = $.pathname() + '/ws/GetJson/GetJsonService/getContactInfo';
- var params = {
- userId:userId
- };
- var getJsonData = getJsonInfo(url,params);
- var json1 = getJsonData.split("__")[0];
- var json2 = getJsonData.split("__")[1];
- json1 = eval('('+json1+')');
- json2 = eval('('+json2+')');
- if(json1.list.length>1){
-
- conditionData.list.push(json1);
- }
- if(json2.list.length>1){
- conditionData.list.push(json2);
- }
- if(json1.length>1&&json2.length>1){
- conditionData.list.push(json1,json2);
- }
- $(function(){
- createConditionsDom(conditionData);
- //ul-li列表点击事件
- $(".item").unbind("click").bind("click",bindSelectOne);
- //输入框绑定事件
- $(".Textinput").bind("change",inputChange);
- //单个时间框绑定
- //$("#conOneId_cssrk3").bind("blur",inputChange);
-
- });
- function getJsonInfo(url,params){
- var content1 = "";
- $.ajax({
- url: url,
- type : 'post',
- timeout : 15000,
- async : false,
- data : params,
- dataType : 'text',
- success:function(data){
- content1 = data;
- },
- error : function(e) {
- $.messager.alert('删除失败!', '删除失败!', 'error');
- }
-
- });
- return content1;
- }
- </script>
- <style type="text/css">
- *{
- padding: 0px;
- margin: 0px;
- }
-
- .dbfresh{
- background: url(/nwyj/scripts/qui/libs/images/icons/freshimg1.png) no-repeat;
- display: inline-block;
- width: 17px;
- height:19px;
- vertical-align:middle;
- margin-left: 10px
- }
- </style>
- </head>
- <body>
- <input type="hidden" id="heights">
- <div class="box2" statusType="none" style="position: relative;bottom: 30px; clear: both;" >
- <fieldset>
- <form id="peopleForm" method="post">
- <table style="width:100%;margin: 0 0 3px 0;clear: both;" >
- <tr>
- <td>
- <input type="text" id="people" name="recphone" onkeyup="check(event);" watermark="请输入常用联系人姓名"/>
- <a id="querys" onclick="searchInfo();"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png"/></a>
- </td>
- <td width="20%" align="right"><a href="javascript:;">
- <span id="dbfresh" class="dbfresh" onclick="dbfresh();"></span>
- <span id="more" onclick="more()" class="more_hide"> 更多</span></a></td>
- </tr>
- </table>
- <div id="moreDiv" style="display: none; clear: both;">
- <div class="conditions" id="conditions" style="clear: both;">
- <ul>
- <li class="condiTitle">常用联系人电话:</li>
- <li >
- <input type="text" id="mob" name="CONTACT_TEL" onkeyup="check(event)" class="Textinput" inputMode="numberOnly" maxlength="11"/>
- </li>
- </ul>
- </div>
- </div>
- </form>
- </fieldset>
- </div>
- <div style="clear: both;"></div>
- <div id="maingrid" style="clear: both;" ></div>
- <div style="clear: both;"></div>
- </body>
- </html>
|