123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319 |
- <!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" />
- <!--[if lt IE 9]>
- <script type="text/javascript" src="${ctx}/assets/lib/html5.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/respond.min.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/PIE_IE678.js"></script>
- <![endif]-->
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui/css/H-ui.min.css" />
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/H-ui.admin.css" />
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/Hui-iconfont/1.0.7/iconfont.css" />
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/icheck/icheck.css" />
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/skin/default/skin.css" id="skin" />
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/style.css" />
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/zTree/v3/css/zTreeStyle/zTreeStyle.css" >
- <script type="text/javascript" src="${ctx}/assets/lib/My97DatePicker/WdatePicker.js"></script>
- <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.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/static/h-ui/js/H-ui.js"></script>
- <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqueryui/jquery-ui.css" />
- <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/jqgrid/css/ui.jqgrid.css" />
- <script type="text/ecmascript" src="${ctx}/assets/lib/jqueryui/jquery-ui.js"></script>
- <script type="text/ecmascript" src="${ctx}/assets/lib/jqgrid/js/i18n/grid.locale-cn.js"></script>
- <script type="text/ecmascript" src="${ctx}/assets/lib/jqgrid/js/jquery.jqGrid.min.js"></script>
- <script type="text/javascript" src="${ctx}/assets/js/base.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/zTree/v3/js/jquery.ztree.all-3.5.min.js"></script>
- <!--[if IE 6]>
- <script type="text/javascript" src="${ctx}/assets/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
- <script>DD_belatedPNG.fix('*');</script>
- <![endif]-->
- <script type="text/javascript">
-
- $(function() {
- $(window).resize(function(){
- $("#jqGrid").setGridWidth($(window).width()-41);
- });
- $("#jqGrid").jqGrid({
- url : '${ctx}/myconsole/complaint/list/getTimePage',
- editurl:"${ctx}/myconsole/complaint/register",
- mtype : "POST",
- datatype : "json",
- multiselect: false,
- caption1:'客诉件台账',
- prmNames : { //定义表单的主键 // Default valuesprmNames: {page:“page”,rows:“rows”, sort: “sidx”,order: “sord”, search:“_search”, nd:“nd”, npage:null} 当参数为null时不会被发到服务器端
- id: "keyid",
- oper:"oper",
- addoper:"add",
- editoper:"edit",
- deloper:"del"
-
- },
- colModel : [ {
- label : '数据编号',
- name : 'appealid',
- key : true,
- editable: false,
- hidden:true
- },{
- label : '流水号',
- name : 'serialnumber',
- width : 50,
- align:'center',
- }, {
- label : '投诉人',
- name : 'tname',
- width : 30,
- align:'center',
- }, {
- label : '客诉时间',
- name : 'appealdate',
- width : 50,
- align:'center',
- }, {
- label : '客诉来源',
- name : 'appealsource',
- width : 30,
- align:'center',
- },{
- label : '处理时限',
- hidden:false,
- name : 'limitdays',
- width : 30,
- align:'center',
- },{
- label : '截止日期',
- hidden:false,
- name : 'limitenddate',
- width : 30,
- align:'center',
- },{
- label : '当前状态',
- hidden:false,
- name : 'dostate',
- width : 30,
- align:'center',
- },{
- label : '操作',
- name:'operMod',
- index:'operMod',
- align:"center",
- width:"20",
- sortable:false,
- formatter: function (cellvalue, options, rowdata) {
- var html ="";
-
- html = "<button class='btn btn-success radius size-S' onclick=seeData('"+rowdata.appealid+"')>查看</button>";
- if(rowdata.dostate!='办结' && rowdata.dostate!='结案' && rowdata.dostate!='归档')
- {
- html =html+ " <button class='btn btn-primary radius size-S' onclick=doOversee('"+rowdata.appealid+"')>督办</button>";
- }
-
-
- return html;
- }
- }],
- rownumbers : true,//添加左侧行号
- viewrecords : true,//是否在浏览导航栏显示记录总数
- rowNum : 10,//每页显示记录数
- rowList : [10,15,20,30,40,50 ],//用于改变显示行数的下拉列表框的元素数组。
- autowidth : true,
- sortname : 'a.RecordTime',
- sortorder : 'desc',
- height : 'auto',
- pager : "#jqGridPager",
- //屏蔽点击任意单元格选中checkbox的问题
- beforeSelectRow: function (rowid, e) {
- var $myGrid = $(this),
- i = $.jgrid.getCellIndex($(e.target).closest('td')[0]),
- cm = $myGrid.jqGrid('getGridParam', 'colModel');
- return (cm[i].name === 'cb');
- }
- });
- $("#jqGrid").setLabel("rn","序号");
- doSearch();
-
-
- });
- //督办 2021-09-23
- function doOversee(appealid){
- fullOpen("${ctx}/myconsole/complaint/transact/doOversee?appealid="+appealid);
- }
- function doSearch(){
- $('#search').click(function(){
- var strBeginDate = $('#BeginDate').val();
- var strEndDate = $('#EndDate').val();
- if(strBeginDate==''||strEndDate=='')
- {
- alert("投诉日期区间不能为空!");
- }
- else
- {
- var strAppealSource = $('#AppealSource').val();
- var strFilialeID = $('#FilialeID').val();
- var strTimeType = $('#TimeType').val();
- $("#jqGrid").jqGrid('setGridParam',{
- postData:{"BeginDate":strBeginDate,"EndDate":strEndDate,"AppealSource":strAppealSource,"FilialeID":strFilialeID,"TimeType":strTimeType}
- }).trigger('reloadGrid');
-
- }
-
-
-
- });
- }
- //查看信息 2017-07-24
- function seeData(appealid){
- fullOpen("${ctx}/myconsole/complaint/register/seeData?appealid="+appealid);
- }
- //下载附件
- function downFile(filePath,fileName)
- {
- window.open('${serverURL!}/downloadFile.do?FileDownloadPath='+filePath+'&FileDownloadName='+fileName,'Derek','resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');
- }
- function setSalesChannelName()
- {
- var idData=$('#SalesChannelID').val();
- if(idData!='')
- {
- $('#form1').attr('action','${ctx}/myconsole/complaint/register/getSalesTypeIDData?ParentID='+idData);
- $('#form1').ajaxSubmit(setSalesTypeIDData);
- }
-
- }
- function setCentreCompanyID() {
- var filialeID = $("#FilialeID").val();
- $("#respondentFilialeID").val(filialeID);
- if (filialeID != '') {
- var filialeName = $("#FilialeID").find("option:selected").text();
- $("#FilialeName").val(filialeName);
- $('#form1').attr('action', '${ctx}/myconsole/complaint/register/getFilialeBusinessHallNameData?ParentID=' + filialeID);
- $('#form1').ajaxSubmit(setCentreCompanyIDData);
- } else {
- $("#CentreCompanyID").empty();
- $("#FilialeName").val("");
- }
- }
- //回写原因二类字典数据
- function setCentreCompanyIDData(data) {
- $("#BusinessHallID").empty();
-
- // $("#BusinessHallID").append("<option value=''>请选择</option>");
- $("#BusinessHallID").append(data);
- }
- function setBusinessHallName() {
- var BusinessHallID = $("#BusinessHallID").val();
- if (BusinessHallID != '') {
- var BusinessHallName = $("#BusinessHallID").find("option:selected").text();
- $("#BusinessHallName").val(BusinessHallName);
- } else {
- $("#BusinessHallName").val("");
- }
- }
- //回写销售方式数据
- function setSalesTypeIDData(data)
- {
- $("#SalesTypeID").empty();
- $("#SalesTypeID").append("<option value=''>请选择</option>");
- $("#SalesTypeID").append(data);
- //动态绑定数据一定要加这句话否则没有效果
- //$(".selectpicker" ).selectpicker('refresh');
- }
- </script>
- <title>我的桌面</title>
- </head>
- <body>
- <div>
- <div style="text-align:center;height:30px;padding-top:10px;">
- <form id="form1" method="post" class="form-horizontal" role="form">
- <input type="hidden" id="RespondentTypeName" name="RespondentTypeName" value="主"/>
- <input type="hidden" id="Modal_Main" name="Modal_Main" value="appeal"/>
- <input type="hidden" id="FilialeName" name="FilialeName" value=""/>
- <input type="hidden" id="BusinessHallName" name="BusinessHallName" value=""/>
- <input type="hidden" id="SalesChannelName" name="SalesChannelName" value=""/>
- <input type="hidden" id="SalesTypeName" name="SalesTypeName" value=""/>
- <input type="hidden" id="RespondentModel" name="RespondentModel" value="respondent"/>
- <input type="hidden" id="respondentFilialeID" name="respondent.FilialeID" value=""/>
- <table>
- <tr>
-
- <td valign="top" style="padding-top: 5px;text-align: left;">
-
- <label class="radio-inline" style="font-weight:700">
- 客诉日期 从:
- </label>
- <input type="text" class="form-control" value="" placeholder="" id="BeginDate" name="BeginDate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'BeginDate',maxDate:'#F{$dp.$D(\'EndDate\')}'})" title="选择开始日期" vmode="" vdisp="开始日期" vtype="string" readonly>
-
- <label class="radio-inline" style="font-weight:700">
- 至:
- </label>
- <input type="text" class="form-control" value="" placeholder="" id="EndDate" name="EndDate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd',el:'EndDate',minDate:'#F{$dp.$D(\'BeginDate\')}',maxDate:new Date()})" title="选择结束日期" vmode="" vdisp="结束日期" vtype="string" readonly>
-
- <label class="radio-inline" style="font-weight:700">
- 客诉来源:
- </label>
- <select id="AppealSource" name="AppealSource" class="form-control" vmode="" vdisp="客诉来源" vtype="string">
- <option value="">请选择</option>
- ${appealSource!''}
- </select>
- <label class="radio-inline" style="font-weight:700">
- 机构:
- </label>
- <select id="FilialeID" name="FilialeID" onChange=setCentreCompanyID() class="form-control" vmode='' vdisp='机构' vtype='string'>
- <option value="">请选择</option>
- ${filialeID!''}
- </select>
- <label class="radio-inline" style="font-weight:700">
- 时效类型:
- </label>
- <select id="TimeType" name="TimeType" class="form-control" vmode='' vdisp='时效类型' vtype='string'>
- <option value="">请选择</option>
- <option value="一日内到期">一日内到期</option>
- <option value="超期">超期</option>
- <option value="监管件15日内办结">监管件15日内办结</option>
- </select>
-
- </td>
-
-
- <td valign="top" style="padding-top: 1px;">
- <label>
- <input type="button" id="search" value="搜 索" style="width: 50px;" class="form-control gui-input form-control input-sm btn btn-primary btn-block">
- <b class="tooltip tip-left-top"></b>
- <label for="cardno" class="field-icon"><i class="fa fa-credit-card"></i>
- </label>
- </label>
- </td>
- </tr>
- </table>
- </form>
- </div>
- <div class="page-container">
-
- <table id="jqGrid"></table>
- <div id="jqGridPager"></div>
- </div>
- </div>
-
- </body>
- </html>
|