123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399 |
- <!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" />
- <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.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>
- <link rel="stylesheet" href="${ctx}/assets/lib/zTree/v3/css/zTreeStyle/zTreeStyle.css" type="text/css">
- <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/layer/3.0.3/layer.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 seeData(appealid){
- fullOpen("${ctx}/myconsole/complaint/register/seeData?appealid="+appealid);
- }
- function fillWidth(){
- var _width=$(window).width()-40;
- $("#jqGridUnsignedList").setGridWidth(_width);
- $("#jqGridTodoList").setGridWidth(_width);
- $("#jqGridFinishedList").setGridWidth(_width);
- }
- $(function(){
- $.Huitab("#tab-system .tabBar span","#tab-system .tabCon","current","click","0");
- $(window).resize(function(){
- fillWidth();
- });
- $(".tabBar").bind("click",function(){
- fillWidth();
- });
-
- $("#jqGridUnsignedList").jqGrid({
- url : '${ctx}/myconsole/complaint/flow/getUnsignedList',
- editurl : "${ctx}/myconsole/myflow/saveOrUpdate",
- mtype : "POST",
- datatype : "json",
- multiselect : true,
- caption : '未签收',
- prmNames : {
- id : "taskid",
- oper : "oper",
- addoper : "add",
- editoper : "edit",
- deloper : "del"
- },
- sortable : true,
- sortname : 'updatetime',
- sortorder : 'asc',
- colModel : [ {
- "hidden" : true,
- "name" : "taskid",
- "key" : true
- },{
- label : "投诉人姓名",
- name : "appeal.tname",
- editable: true,
- width : 80
- },{
- label : "投诉日期",
- name : "appeal.appealdate",
- editable: true,
- width : 80
- }, {
- label : "投诉来源",
- name : "appeal.appealsourcename2",
- editable: true,
- width : 80
- }, {
- label : "投诉原因",
- name : "appeal.reasonname3",
- editable: true,
- width : 80
- }, {
- label : "操作",
- name : "caozuo",
- editable: true,
- align:"center",
- width : 80,
- formatter: function (cellvalue, options, rowdata) {
- var html = "<button class='btn btn-success radius size-S' onClick=seeData('"+rowdata.appeal.appealid+"') >预览</button>";
- return html;
- }
- } ],
- rownumbers : true,// 添加左侧行号
- viewrecords : true,// 是否在浏览导航栏显示记录总数
- rowNum : 10,// 每页显示记录数
- rowList : [ 10, 15, 20, 30, 40, 50 ],// 用于改变显示行数的下拉列表框的元素数组。
- autowidth : true,
- height : 'auto',
- pager : "#jqGridPagerUnsignedList"
- });
- $("#jqGridUnsignedList").navGrid("#jqGridPagerUnsignedList",
- // the buttons to appear on the toolbar of the grid
- {
- edit : false,
- add : false,
- del : false,
- search : false,
- refresh : true,
- view : false,
- position : "left",
- cloneToTop : true
- },
- // options for the Edit Dialog
- {
- },
- // options for the Add Dialog
- {
- },
- // options for the Delete Dailog
- {
- },
- //options for the search Dailog
- {
- }).navButtonAdd("#jqGridPagerUnsignedList",{
- caption:'批量签收',
- onClickButton:function(){
- var selectedRowIds = $("#jqGridUnsignedList").jqGrid("getGridParam", "selarrrow");
- if (!selectedRowIds) {
- layer.alert("请先选择需要编辑的行!");
- return false;
- } else {
- var taskid=selectedRowIds.join(",");
- $.post("${ctx}/myconsole/myflow/claim",{"taskID":taskid},function(data){
- if(data=="ok"){
- layer.alert("签收成功",function(){
- location.reload();
- });
- }else{
- layer.alert("签收失败",function(){
- location.reload();
- });
- }
- })
- }
- }
- });
-
- $("#jqGridTodoList").jqGrid({
- url : '${ctx}/myconsole/complaint/flow/getTodoList',
- editurl : "${ctx}/myconsole/myflow/saveOrUpdate",
- mtype : "POST",
- datatype : "json",
- multiselect : true,
- caption : '办理中',
- prmNames : {
- id : "taskid",
- oper : "oper",
- addoper : "add",
- editoper : "edit",
- deloper : "del"
- },
- sortable : true,
- sortname : 'updatetime',
- sortorder : 'asc',
- colModel : [ {
- "hidden" : true,
- "name" : "taskid",
- "key" : true
- },{
- label : "投诉人姓名",
- name : "appeal.tname",
- editable: true,
- width : 80
- },{
- label : "投诉日期",
- name : "appeal.appealdate",
- editable: true,
- width : 80
- }, {
- label : "投诉来源",
- name : "appeal.appealsourcename2",
- editable: true,
- width : 80
- }, {
- label : "投诉原因",
- name : "appeal.reasonname3",
- editable: true,
- width : 80
- }, {
- label : "操作",
- name : "caozuo",
- editable: true,
- align:"center",
- width : 80,
- formatter: function (cellvalue, options, rowdata) {
- var html = "<button class='btn btn-success radius size-S' onClick=seeData('"+rowdata.appeal.appealid+"') >预览</button>";
- return html;
- }
- } ],
- rownumbers : true,// 添加左侧行号
- viewrecords : true,// 是否在浏览导航栏显示记录总数
- rowNum : 10,// 每页显示记录数
- rowList : [ 10, 15, 20, 30, 40, 50 ],// 用于改变显示行数的下拉列表框的元素数组。
- autowidth : true,
- height : 'auto',
- pager : "#jqGridPagerTodoList"
- });
- $("#jqGridTodoList").navGrid("#jqGridPagerTodoList",
- // the buttons to appear on the toolbar of the grid
- {
- edit : false,
- add : false,
- del : false,
- search : false,
- refresh : true,
- view : false,
- position : "left",
- cloneToTop : true
- },
- // options for the Edit Dialog
- {
- },
- // options for the Add Dialog
- {
- },
- // options for the Delete Dailog
- {
- },
- //options for the search Dailog
- {
- }).navButtonAdd("#jqGridPagerTodoList",{
- caption:'批量办理',
- onClickButton:function(){
- layer.open({
- type: 1,
- title:"审核操作",
- skin: 'layui-layer-rim', //加上边框
- area: ['420px', '240px'], //宽高
- btn: ['确定'],
- yes:function(){
- var selectedRowIds = $("#jqGridTodoList").jqGrid("getGridParam", "selarrrow");
- var taskid=selectedRowIds.join(",");
- var completeData=$("#complete").serialize();
- $.post("${ctx}/myconsole/myflow/complete?taskID="+taskid,completeData,function(data){
- if(data=="ok"){
- layer.alert("审批成功",function(){
- location.reload();
- });
- }
- })
- },
- content: '<form id="complete" style="padding:10px"><div>状态:<select name="success"><option value="true">通过</option><option value="false">不通过</option></select></div><div>意见:<textarea name="opinion" rows="3" cols="40"></textarea></div></form>'
- });
- }
- });
-
- $("#jqGridFinishedList").jqGrid({
- url : '${ctx}/myconsole/complaint/flow/getFinishedList',
- editurl : "${ctx}/myconsole/myflow/saveOrUpdate",
- mtype : "POST",
- datatype : "json",
- multiselect : true,
- caption : '已完成',
- prmNames : {
- id : "taskid",
- oper : "oper",
- addoper : "add",
- editoper : "edit",
- deloper : "del"
- },
- sortable : true,
- sortname : 'updatetime',
- sortorder : 'asc',
- colModel : [ {
- "hidden" : true,
- "name" : "taskid",
- "key" : true
- },{
- label : "投诉人姓名",
- name : "appeal.tname",
- editable: true,
- width : 80
- },{
- label : "投诉日期",
- name : "appeal.appealdate",
- editable: true,
- width : 80
- }, {
- label : "投诉来源",
- name : "appeal.appealsourcename2",
- editable: true,
- width : 80
- }, {
- label : "投诉原因",
- name : "appeal.reasonname3",
- editable: true,
- width : 80
- }, {
- label : "操作",
- name : "caozuo",
- editable: true,
- align:"center",
- width : 80,
- formatter: function (cellvalue, options, rowdata) {
- var html = "<button class='btn btn-success radius size-S' onClick=seeData('"+rowdata.appeal.appealid+"') >预览</button>";
- return html;
- }
- } ],
- rownumbers : true,// 添加左侧行号
- viewrecords : true,// 是否在浏览导航栏显示记录总数
- rowNum : 10,// 每页显示记录数
- rowList : [ 10, 15, 20, 30, 40, 50 ],// 用于改变显示行数的下拉列表框的元素数组。
- autowidth : true,
- height : 'auto',
- pager : "#jqGridPagerFinishedList"
- });
- $("#jqGridFinishedList").navGrid("#jqGridPagerFinishedList",
- // the buttons to appear on the toolbar of the grid
- {
- edit : false,
- add : false,
- del : false,
- search : false,
- refresh : true,
- view : false,
- position : "left",
- cloneToTop : true
- },
- // options for the Edit Dialog
- {
- },
- // options for the Add Dialog
- {
- },
- // options for the Delete Dailog
- {
- },
- //options for the search Dailog
- {
- });
- })
- </script>
- <title>我的桌面</title>
- </head>
- <body>
- <div class="page-container">
- <div class="form form-horizontal" id="form-article" method="post">
- <div id="tab-system" class="HuiTab">
- <div class="tabBar cl">
- <span>未签收</span><span>办理中</span><span>已完成</span>
- </div>
- <div class="tabCon">
- <table id="jqGridUnsignedList"></table>
- <div id="jqGridPagerUnsignedList"></div>
- </div>
- <div class="tabCon">
- <table id="jqGridTodoList"></table>
- <div id="jqGridPagerTodoList"></div>
- </div>
- <div class="tabCon">
- <table id="jqGridFinishedList"></table>
- <div id="jqGridPagerFinishedList"></div>
- </div>
- </div>
- </div>
- </div>
- <footer class="footer mt-20">
- <div class="container">
- <p></p>
- </div>
- </footer>
- </body>
- </html>
|