123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- <!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/respondentShowData');
- $('#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 setCentreCompanyID(respondentModel)
- {
-
- var filialeID=$('#'+respondentModel+"FilialeID").val();
- if(filialeID!='')
- {
- var filialeName=$('#'+respondentModel+"FilialeID").find("option:selected").text();
- $('#'+respondentModel+"FilialeName").val(filialeName);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getCentreCompanyIDData?RespondentModel='+respondentModel);
- $('#form1').ajaxSubmit(setCentreCompanyIDData);
- $('#RespondentModel').val(respondentModel);
- setFilialeBusinessHallID(respondentModel);
- }
- else
- {
- $("#"+respondentModel+"CentreCompanyID").empty();
- $('#'+respondentModel+"FilialeName").val("");
- }
- }
- //回写原因二类字典数据
- function setCentreCompanyIDData(data){
- var respondentModel=$('#RespondentModel').val();
- $("#"+respondentModel+"CentreCompanyID").empty();
- $("#"+respondentModel+"CentreCompanyID").append("<option value=''>请选择</option>");
- $("#"+respondentModel+"CentreCompanyID").append(data);
- }
- //
- function setBusinessHallID(respondentModel)
- {
- var centreCompanyID=$('#'+respondentModel+"CentreCompanyID").val();
- if(centreCompanyID!='')
- {
- var centreCompanyName=$('#'+respondentModel+"CentreCompanyID").find("option:selected").text();
- $('#'+respondentModel+"CentreCompanyName").val(centreCompanyName);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getBusinessHallIDData?RespondentModel='+respondentModel);
- $('#form1').ajaxSubmit(setBusinessHallIDData);
- $('#RespondentModel').val(respondentModel);
- }
- else
- {
- $("#"+respondentModel+"BusinessHallID").empty();
- $('#'+respondentModel+"CentreCompanyName").val("");
- }
- }
- //回写被诉网点数据
- function setBusinessHallIDData(data){
- var respondentModel=$('#RespondentModel').val();
- $("#"+respondentModel+"BusinessHallID").empty();
- $("#"+respondentModel+"BusinessHallID").append("<option value=''>请选择</option>");
- $("#"+respondentModel+"BusinessHallID").append(data);
- }
-
-
- //根据分公司选择部门
- function setFilialeBusinessHallID(respondentModel)
- {
- var filialeID=$('#'+respondentModel+"FilialeID").val();
- if(filialeID!='')
- {
- var filialeName=$('#'+respondentModel+"FilialeID").find("option:selected").text();
- $('#'+respondentModel+"FilialeName").val(filialeName);
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getFilialeBusinessHallIDData?RespondentModel='+respondentModel);
- $('#form1').ajaxSubmit(setBusinessHallIDData);
- $('#RespondentModel').val(respondentModel);
- }
- else
- {
- $("#"+respondentModel+"BusinessHallID").empty();
- $('#'+respondentModel+"FilialeName").val("");
- }
-
- }
- function setBusinessHallName(respondentModel)
- {
- var idData=$("#"+respondentModel+"BusinessHallID").val();
- if(idData!='')
- {
- var nameData=$("#"+respondentModel+"BusinessHallID").find("option:selected").text();
- $("#"+respondentModel+"BusinessHallName").val(nameData);
- }
- else
- {
- $("#"+respondentModel+"BusinessHallName").val("");
- }
- }
- </script>
-
- <!--/请在上方写此页面业务相关的脚本-->
- <title>投诉件查询</title>
- <meta name="keywords" content="">
- <meta name="description" content="">
- </head>
- <body >
-
- <form id="form1" method="post" class="form-horizontal" role="form">
- <div style="display: none">
- <input type="hidden" id="RespondentModel" name="RespondentModel" value=""/>
- <input type="hidden" id="respondentFilialeName" name="respondent.FilialeName" value=""/>
- <input type="hidden" id="respondentCentreCompanyName" name="respondent.CentreCompanyName" value=""/>
- <input type="hidden" id="respondentBusinessHallName" name="respondent.BusinessHallName" value=""/>
-
- </div>
- <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="collapseRespondent" class="panel-collapse collapse in">
-
- <div class="panel-body" style="font-size:14px" id=ComplainPersonObj>
- <div class="row" style="padding:5px" id="respondent_1" >
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1 " >
- <label class="control-label" for="respondentFilialeID">被诉公司</label>
- </div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 ">
- <select id="respondentFilialeID" name="respondent.FilialeID" onChange=setCentreCompanyID('respondent') class="form-control" vmode='' vdisp='主被诉公司' vtype='string'>
- <option value="">请选择</option>
- ${filialeID!''}
- </select>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="respondentCentreCompanyID">被诉中支</label>
- </div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
- <select id="respondentCentreCompanyID" name="respondent.CentreCompanyID" onChange=setBusinessHallID('respondent') class="form-control" vmode="" vdisp="被诉中支/部门" vtype="string">
- <option value="">请选择</option>
- </select>
- </div>
- <div class="col-xs-1 col-sm-1 col-md-1 col-lg-1" >
- <label class="control-label" for="respondentBusinessHallID">被诉部门</label>
- </div>
- <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
- <select id="respondentBusinessHallID" name="respondent.BusinessHallID" onChange=setBusinessHallName('respondent') class="form-control" vmode="" vdisp="被诉部门" vtype="string">
- <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='appealid/客诉工单号' checked>客诉工单号
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='filialename/被诉公司' checked>被诉公司
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='centrecompanyname/被诉中支' checked>被诉中支
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='businesshallname/被诉部门' checked>被诉部门
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='ordertype/主次类别' >主次类别
- </label>
-
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='respondentname/被诉人姓名' checked>被诉人姓名
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='respondentjobno/被诉人工号' >被诉人工号
- </label>
- <label class="checkbox-inline">
- <input type='checkbox' name='FieldName' value='respondenttype/被诉人类型' >被诉人类型
- </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>
|