123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305 |
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="renderer" content="webkit|ie-comp|ie-stand">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
- <meta http-equiv="Cache-Control" content="no-siteapp" />
- <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-3.3.7/css/bootstrap.min.css">
- <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/default.css">
- <link rel="stylesheet" href="${ctx}/assets/lib/bootstrap-upload/css/fileinput.css">
- <script type="text/javascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.min.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/jquery.form/jquery.form.min.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/fileinput.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-upload/js/locales/zh.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-3.3.7/js/bootstrap.min.js"></script>
- <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
- <script src="${ctx}/assets/js/validate.js" ></script>
-
- <script type="text/javascript">
- function doSubmit(){
- if(doValidate(form1)){
- $('#form1').attr('action','${ctx}/myconsole/complaint/query/personShowData');
- $('#form1').submit();
- }
- }
- function resultHandle(data){
- var res=eval('(' + data + ')');
- if(res.flag){
- layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 1},
- function(){
- layer.closeAll('dialog');
- window.location.reload();
- });
-
- }else{
- if(res.flag == false)
- {
- layer.alert(res.message, {skin: 'layui-layer-molv',closeBtn: 0}, function(){});
- }
- }
- }
-
- //根据省取地市数据
- function setAreaID()
- {
- var provinceID=$("#ProvinceID").val();
- $("#CountyID").empty();
- if(provinceID!='')
- {
- $("#form1").attr("action","${ctx}/myconsole/complaint/register/getAreaIDData");
- $("#form1").ajaxSubmit(setAreaIDData);
- }
- else
- {
- $("#AreaID").empty();
- }
- if($("#ProvinceID").val()!="")
- {
- var provinceName=$("#ProvinceID").find("option:selected").text();
- $("#ProvinceName").val(provinceName);
- }
- else
- {
- $("#ProvinceName").val("");
- }
- }
- //回写json地市数据
- function setAreaIDData(data){
- $("#AreaID").empty();
- $("#AreaID").append("<option value=''>请选择</option>");
- var listRegionJson = JSON.parse(data);
- var postalCode=listRegionJson.PostalCode;
- var listregion=eval(listRegionJson.ListRegion);
- listregion.forEach(function(item,index)
- {
- $("#AreaID").append("<option value='"+item.tid+"'>"+item.tname+"</option>");
- })
- $("#Postalcode").val(postalCode);
- }
- //根据地市数据选择县区数据
- function setCountyID()
- {
- var areaID=$('#AreaID').val();
- if(areaID!='')
- {
- $("#form1").attr("action","${ctx}/myconsole/complaint/register/getCountyIDData");
- $("#form1").ajaxSubmit(setCountyIDData);
- }
- else
- {
- $("#CountyID").empty();
- }
- if($("#AreaID").val()!="")
- {
- var provinceName=$("#ProvinceID").find("option:selected").text();
- var areaName=$("#AreaID").find("option:selected").text();
- $("#ProvinceName").val(provinceName);
- $("#AreaName").val(areaName);
- }
- else
- {
- $("#AreaName").val("");
- }
- }
- //回写json区县数据
- function setCountyIDData(data){
- $("#CountyID").empty();
- $("#CountyID").append("<option value=''>请选择</option>");
- var listRegionJson = JSON.parse(data);
- var postalCode=listRegionJson.PostalCode;
- var listregion=eval(listRegionJson.ListRegion);
- listregion.forEach(function(item,index)
- {
- $("#CountyID").append("<option value='"+item.tid+"'>"+item.tname+"</option>");
- })
- $("#Postalcode").val(postalCode);
- }
-
- </script>
-
- <!--/请在上方写此页面业务相关的脚本-->
- <title>投诉件查询</title>
- <meta name="keywords" content="">
- <meta name="description" content="">
- </head>
- <body >
-
- <form id="form1" method="post" class="form-horizontal" role="form">
-
- <div class="container-fluid" style="margin-top:15px;">
- <div class="panel panel-primary">
- <div class="panel-heading">
- <div style="display:inline;" >客户信息查询 </div>
- </div>
- <div id="collapsePerson" class="panel-collapse collapse in">
- <div class="panel-body" style="font-size:14px">
-
- <div class="row" style="padding:5px" >
-
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
- <label class="control-label" for="TName" id="Label_TName">姓名</label></div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 " >
- <input type="text" class="form-control" value="" placeholder="" id="TName" name="person.TName" maxlength="40" vmode="" vdisp="姓名" vtype="chinese">
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
- <label class="control-label" for="LinkTel1">联系电话</label></div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 ">
- <input type="text" class="form-control" value="" placeholder="" id="LinkTel1" name="person.LinkTel1" maxlength="20" vmode="" vdisp="联系电话1" vtype="phone">
-
- </div>
-
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="WechatNo">微信号码</label></div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
- <input type="text" class="form-control" value="" placeholder="" id="WechatNo" name="person.WechatNo" maxlength="40" vmode="" vdisp="微信号码" vtype="string">
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="IDCard">证件号码</label></div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3" >
- <input type="text" class="form-control" value="" placeholder="" id="IDCard" name="person.IDCard" vmode="" vdisp="证件号码" vtype="idcard">
-
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="Status">客户身份</label>
- </div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3" >
- <select id="Status" name="person.Status" class="form-control" vmode="" vdisp="客户类型" vtype="chinese">
- <option value="">请选择</option>
- ${dic_statusName!''}
- </select>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="LinkPerson">联系人</label></div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
- <input type="text" class="form-control" value="" placeholder="" id="LinkPerson" name="person.LinkPerson" maxlength="20" vmode="" vdisp="联系人" vtype="string">
- </div>
- </div>
-
- <div class="row" style="padding:5px">
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="ProvinceID">通讯地址</label></div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
- <select id="ProvinceID" name="person.ProvinceID" onChange=setAreaID() class="form-control" vmode="" vdisp="通讯地址省" vtype="number">
- <option value="">请选择</option>
- ${provinceID!''}
- </select>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="AreaID">地市</label></div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
- <select id="AreaID" name="person.AreaID" onChange=setCountyID() class="form-control" vmode="" vdisp="地市" vtype="number">
- <option value="">请选择</option>
- </select>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="CountyID">区县</label></div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
- <select id="CountyID" name="person.CountyID" onChange=setTownAddress() class="form-control" vmode="" vdisp="区县" vtype="number">
- <option value="" >请选择</option>
- </select>
- </div>
- </div>
- </div>
- </div>
- </div>
-
-
-
- <div class="panel panel-success">
- <div class="panel-heading">
- <div style="display:inline;" >选择显示的列 </div>
-
- </div>
- <div id="collapseFile" class="panel-collapse collapse in">
-
- <div class="panel-body" style="font-size:14px">
-
- <div class="row" style="padding:5px">
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='persontype/客户类别' checked>客户类别
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='tname/客户姓名' checked>客户姓名
- </label>
-
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='cardtype/证件类型' checked>证件类型
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='idcard/证件号码' checked>证件号码
- </label>
-
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='status/客户身份' checked>客户身份
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='linkperson/联系人' checked> 联系人
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='linktel1/联系电话' checked>联系电话
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='wechatno/微信号码' >微信号码
- </label>
-
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='email/电子邮箱' >电子邮箱
- </label>
-
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='provincename/地址所属省' checked>地址所属省
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='areaname/地市' checked>地市
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='countyname/区县' >区县
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='townaddress/详细地址' >详细地址
- </label>
-
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='postalcode/邮编' >邮编
- </label>
-
-
- </div>
- </div>
- </div>
- </div>
- <div class="row" style="padding:5px">
- <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" align=center>
- <button type="button" class="btn btn-success" id="SubmitButton1" onclick="doSubmit()"> 查 询</button>
- </div>
-
- </div>
-
-
- </div>
-
- </div>
- </form>
-
- </body>
- </html>
|