123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- <!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/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/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>
- <link rel="stylesheet" type="text/css" media="screen" href="${ctx}/assets/lib/formSelects-v4/formSelects-v4.css" />
- <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>
- <script type="text/javascript" src="${ctx}/assets/lib/bootstrap-3.3.7/js/bootstrap.min.js"></script>
- <script src="${ctx}/assets/js/validate.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 showFlowPic(executionId){
- layer.open({
- title:"查看流转",
- type: 1,
- anim: 2,
- area: ['600px', '400px'],
- content: "<div style='margin:5px;'><img style='width:100%' src='${ctx}/myconsole/myflow/show?executionId="+executionId+"'></div>"
- });
- }
- $(function() {
- $(window).resize(function(){
- $("#jqGrid").setGridWidth($(window).width()-41);
- });
- $("#jqGrid").jqGrid({
- url : '${ctx}/myconsole/complaint/transact/getWaitQualityPage',
- editurl:"${ctx}/myconsole/complaint/transact/",
- mtype : "POST",
- datatype : "json",
- page:${pagepp!1},
- multiselect: false,
- caption1:'我的待质检件',
- prmNames : { //定义表单的主键 // Default valuesprmNames: {page:“page”,rows:“rows”, sort: “sidx”,order: “sord”, search:“_search”, nd:“nd”, npage:null} 当参数为null时不会被发到服务器端
- id: "appealid",
- oper:"oper",
- addoper:"add",
- editoper:"edit",
- deloper:"del"
-
- },
- colModel : [ {
- label : '数据编号',
- name : 'appealid',
- key : true,
- editable: false,
- hidden:true
- },{
- label : '标志',
- name : 'remindflag',
- width : 30,
- align:'center',
- sortable: false,
- },{
- label : '案件流水号',
- name : 'serialnumber',
- width : 50,
- align:'center',
- },{
- label : '客诉人',
- name : 'tname',
- width : 30,
- align:'center',
- }, {
- label : '客诉来源',
- name : 'appealsource',
- width : 30,
- align:'center',
- }, {
- label : '客诉时间',
- name : 'appealdate',
- width : 50,
- align:'center',
- },{
- label : '截止日期',
- name : 'limitenddate',
- width : 30,
- align:'center',
- }, {
- label : '办结时间',
- name : 'enddate',
- width : 50,
- align:'center',
- },{
- label : '操作',
- name:'operMod',
- index:'operMod',
- align:"center",
- width:"30",
- sortable:false,
- formatter: function (cellvalue, options, rowdata) {
- var html ="";
-
- html = "<button class='btn btn-primary radius size-S' onclick=doQuality('"+rowdata.appealid+"')>质检</button>";
-
- return html;
- }
- }],
- rownumbers : true,//添加左侧行号
- viewrecords : true,//是否在浏览导航栏显示记录总数
- rowNum : ${rowpp!10},//每页显示记录数
- rowList : [10,15,20,30,40,50 ],//用于改变显示行数的下拉列表框的元素数组。
- autowidth : true,
- sortname : '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');
- }
- });
-
- doSearch();
-
- });
- //查看信息 2017-07-24
- function seeData(appealid){
- fullOpen("${ctx}/myconsole/complaint/register/seeData?appealid="+appealid);
- }
- //质检 2019-04-15
- function doQuality(appealid){
- fullOpen("${ctx}/myconsole/complaint/register/doQuality?appealid="+appealid);
- }
- function stringJoin(stringJont) {
- var stringA = '';
- for(var i=0;i<stringJont.length;i++){
- if (i == stringJont.length-1) {
- stringA = stringA + "'"+stringJont[i]+"'";
- }else {
- stringA = stringA + "'"+stringJont[i]+"',";
- }
- }
- return stringA;
- }
- function doSearch(){
- $('#search').click(function(){
- var TName = $('#TName').val();
- var BeginDate = $('#BeginDate').val();
- var EndDate = $('#EndDate').val();
- var LinkTel = $('#LinkTel').val();
- var SerialNumber = $('#SerialNumber').val();
- var AppealSourceID = $('#AppealSourceID').val();
-
- $("#jqGrid").jqGrid('setGridParam',{
- page:1,
- postData:{"TName":TName, "AppealSourceID":AppealSourceID,"BeginDate":BeginDate,"EndDate":EndDate,"LinkTel":LinkTel,"SerialNumber":SerialNumber}
- }).trigger('reloadGrid');
-
-
-
- });
- }
- </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">
-
- <table>
- <tr>
- <td valign="top" style="padding-top: 5px;text-align: left;width:1200px">
-
- <label class="radio-inline" style="font-weight:700" title="客诉人姓名">
- 姓名:
- </label>
- <input type="text" class="form-control" style="width:100px" id="TName" name="TName" value="${TName!''}" maxlength="40" vmode="" vdisp="客诉人" vtype="string">
-
- <label class="radio-inline" style="font-weight:700">
- 联系电话:
- </label>
- <input type="text" class="form-control" style="width:100px" id="LinkTel" name="LinkTel" value="${LinkTel!''}" maxlength="20" vmode="" vdisp="联系电话" vtype="phone">
-
- <label class="radio-inline" style="font-weight:700">
- 客诉日期 :
- </label>
-
- <input type="text" class="form-control" style="width:80px" value="${BeginDate!''}" 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" style="width:80px" value="${EndDate!''}" 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="AppealSourceID" name="AppealSourceID" xm-select-height="16px" xm-select="AppealSourceID" class="form-control" vmode="" vdisp="客诉类别" vtype="string">
- <option value="">请选择</option>
- ${SourceType!''}
- </select>
-
- <label class="radio-inline" style="font-weight:700">
- 流水号:
- </label>
- <input type="text" class="form-control" style="width:100px" id="SerialNumber" name="SerialNumber" value="${SerialNumber!''}" maxlength="60" vmode="" vdisp="流水编号" vtype="string">
- </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" style="margin-top:5px">
-
- <table id="jqGrid"></table>
- <div id="jqGridPager"></div>
- </div>
- </div>
- </body>
- </html>
|