| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234 |
- <!doctype html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title></title>
- <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
- <link href="../css/mui.min.css" rel="stylesheet" />
- <script src="../js/mui.min.js"></script>
- <style>
- /*通过CSS*/
-
- .mui-bar-nav {
- background-color: #00a1cb;
- }
-
- .mui-title {
- color: #fff;
- }
-
- .mui-action-back {
- color: #fff;
- }
-
- .Phone img {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- /* vertical-align: text-bottom;*/
- margin-right: 3px;
- vertical-align: initial;
- }
-
- .size-16 {
- font-size: 16px;
- }
-
- .States {
- background: #fd7c7d;
- color: #fff;
- padding: 3px 6px;
- border-radius: 5px;
- }
-
- .mui-table-view-cell {
- padding-right: 20px!important;
- }
-
- .Active {
- color: #00a1cb;
- }
-
- .Active p {
- color: #000;
- font-weight: 400;
- }
-
- .size-12 {
- font-size: 12px;
- }
-
- .size-14 {
- font-size: 14px;
- }
-
- .size-16 {
- font-size: 16px;
- }
-
- .mui-card-footer a {
- display: inline-block;
- text-align: center;
- font-size: 14px;
- }
-
- .mui-card-footer a:active {
- color: #00a1cb;
- }
-
- .mui-padding {
- padding: 11px 15px;
- padding-right: 20px!important;
- /*border-bottom: 1px solid #c8c7cc;*/
- }
-
- .GDgz {
- background-color: #fff;
- }
-
- .GDgz span {
- line-height: 18px;
- margin-right: 3px;
- }
-
- .mui-modal {
- display: block
- }
-
- .work-content {
- padding: 5px 12px;
- }
-
- .work-content span {
- line-height: 20px;
- }
-
- .Caozuo a {
- color: #000;
- }
-
- #Popover_0 {
- top: 50px;
- background-color: #fff;
- }
-
- #next-header {
- background-color: #fff;
- }
-
- .mui-grid-view.mui-grid-9 {
- background: #fff;
- border: none;
- }
-
- #F_ComContent {
- line-height: 20px;
- font-size: 14px;
- text-indent: 20px;
- padding-bottom: 10px;
- }
-
- .message-box {
- padding-top: 20px;
- }
-
- .message-box li {
- padding-top: 5px;
- }
-
- .mui-card-footer:before,
- .mui-card-header:after {
- background-color: #fff;
- }
-
- .DIV {
- margin-bottom: 20px;
- }
- /*.BTS{
- display: none;
- }*/
-
- .mui-preview-image.mui-fullscreen {
- position: fixed;
- z-index: 20;
- background-color: #000;
- }
-
- .mui-preview-header,
- .mui-preview-footer {
- position: absolute;
- width: 100%;
- left: 0;
- z-index: 10;
- }
-
- .mui-preview-header {
- height: 44px;
- top: 0;
- }
-
- .mui-preview-footer {
- height: 50px;
- bottom: 0px;
- }
-
- .mui-preview-header .mui-preview-indicator {
- display: block;
- line-height: 25px;
- color: #fff;
- text-align: center;
- margin: 15px auto 4;
- width: 70px;
- background-color: rgba(0, 0, 0, 0.4);
- border-radius: 12px;
- font-size: 16px;
- }
-
- .mui-preview-image {
- display: none;
- -webkit-animation-duration: 0.5s;
- animation-duration: 0.5s;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- }
-
- .mui-preview-image.mui-preview-in {
- -webkit-animation-name: fadeIn;
- animation-name: fadeIn;
- }
-
- .mui-preview-image.mui-preview-out {
- background: none;
- -webkit-animation-name: fadeOut;
- animation-name: fadeOut;
- }
-
- .mui-preview-image.mui-preview-out .mui-preview-header,
- .mui-preview-image.mui-preview-out .mui-preview-footer {
- display: none;
- }
-
- .mui-zoom-scroller {
- position: absolute;
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-align: center;
- -webkit-align-items: center;
- align-items: center;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- left: 0;
- right: 0;
- bottom: 0;
- top: 0;
- width: 100%;
- height: 100%;
- margin: 0;
- -webkit-backface-visibility: hidden;
- }
-
- .mui-zoom {
- -webkit-transform-style: preserve-3d;
- transform-style: preserve-3d;
- }
-
- .mui-slider .mui-slider-group .mui-slider-item img {
- width: auto;
- height: auto;
- max-width: 100%;
- max-height: 100%;
- }
-
- .mui-android-4-1 .mui-slider .mui-slider-group .mui-slider-item img {
- width: 100%;
- }
-
- .mui-android-4-1 .mui-slider.mui-preview-image .mui-slider-group .mui-slider-item {
- display: inline-table;
- }
-
- .mui-android-4-1 .mui-slider.mui-preview-image .mui-zoom-scroller img {
- display: table-cell;
- vertical-align: middle;
- }
-
- .mui-preview-loading {
- position: absolute;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- display: none;
- }
-
- .mui-preview-loading.mui-active {
- display: block;
- }
-
- .mui-preview-loading .mui-spinner-white {
- position: absolute;
- top: 50%;
- left: 50%;
- margin-left: -25px;
- margin-top: -25px;
- height: 50px;
- width: 50px;
- }
-
- .mui-preview-image img.mui-transitioning {
- -webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
- transition: transform 0.5s ease, opacity 0.5s ease;
- }
-
- @-webkit-keyframes fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
-
- @keyframes fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
-
- @-webkit-keyframes fadeOut {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
-
- @keyframes fadeOut {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
-
- p img {
- max-width: 100%;
- height: auto;
- }
-
- .img-box {
- float: left;
- width: 20%;
- height:60px;
- margin: 2%;
- text-align: center;
- }
- .img-box img{
- width: 100%;
- height: 100%;
- }
-
- .image-list {
- display: none;
- overflow: hidden;
- }
- .mui-preview-image.mui-fullscreen {
- position: fixed;
- z-index: 20;
- background-color: #000;
- }
- .mui-preview-header,
- .mui-preview-footer {
- position: absolute;
- width: 100%;
- left: 0;
- z-index: 10;
- }
- .mui-preview-header {
- height: 44px;
- top: 0;
- }
- .mui-preview-footer {
- height: 50px;
- bottom: 0px;
- }
- .mui-preview-header .mui-preview-indicator {
- display: block;
- line-height: 25px;
- color: #fff;
- text-align: center;
- margin: 15px auto 4;
- width: 70px;
- background-color: rgba(0, 0, 0, 0.4);
- border-radius: 12px;
- font-size: 16px;
- }
- .mui-preview-image {
- display: none;
- -webkit-animation-duration: 0.5s;
- animation-duration: 0.5s;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- }
- .mui-preview-image.mui-preview-in {
- -webkit-animation-name: fadeIn;
- animation-name: fadeIn;
- }
- .mui-preview-image.mui-preview-out {
- background: none;
- -webkit-animation-name: fadeOut;
- animation-name: fadeOut;
- }
- .mui-preview-image.mui-preview-out .mui-preview-header,
- .mui-preview-image.mui-preview-out .mui-preview-footer {
- display: none;
- }
- .mui-zoom-scroller {
- position: absolute;
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-align: center;
- -webkit-align-items: center;
- align-items: center;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- left: 0;
- right: 0;
- bottom: 0;
- top: 0;
- width: 100%;
- height: 100%;
- margin: 0;
- -webkit-backface-visibility: hidden;
- }
- .mui-zoom {
- -webkit-transform-style: preserve-3d;
- transform-style: preserve-3d;
- }
- .mui-slider .mui-slider-group .mui-slider-item img {
- width: auto;
- height: auto;
- max-width: 100%;
- max-height: 100%;
- }
- .mui-android-4-1 .mui-slider .mui-slider-group .mui-slider-item img {
- width: 100%;
- }
- .mui-android-4-1 .mui-slider.mui-preview-image .mui-slider-group .mui-slider-item {
- display: inline-table;
- }
- .mui-android-4-1 .mui-slider.mui-preview-image .mui-zoom-scroller img {
- display: table-cell;
- vertical-align: middle;
- }
- .mui-preview-loading {
- position: absolute;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- display: none;
- }
- .mui-preview-loading.mui-active {
- display: block;
- }
- .mui-preview-loading .mui-spinner-white {
- position: absolute;
- top: 50%;
- left: 50%;
- margin-left: -25px;
- margin-top: -25px;
- height: 50px;
- width: 50px;
- }
- .mui-preview-image img.mui-transitioning {
- -webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
- transition: transform 0.5s ease, opacity 0.5s ease;
- }
- @-webkit-keyframes fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @keyframes fadeIn {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
- @-webkit-keyframes fadeOut {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
- @keyframes fadeOut {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
- p img {
- max-width: 100%;
- height: auto;
- }
- .BTS ul{
- overflow: hidden;
- }
- .BTS ul li{
- float: left;
-
- }
- .BTS ul li a{
-
- }
- .btn_agree{
- text-align: center;
- width: 80%;
- font-size: 14px !important;
- margin: 10px 10%;
- height: 30px;
- line-height: 4px !important;
- border: 1px solid #007aff;
- color: #FFFFFF;
- -moz-border-radius: 5px; /* Firefox */
- -webkit-border-radius: 5px; /* Safari 和 Chrome */
- border-radius: 5px; /* Opera 10.5+, 以及使用了IE-CSS3的IE浏览器 */
- }
- </style>
- </head>
- <body class="feedback">
- <header class="mui-bar mui-bar-nav" style="padding-right: 15px;height: 50px;color: #fff;">
- <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
- <h1 class="mui-title">工单详情</h1>
- </header>
- <div class="mui-content">
- <!--<ul class="mui-table-view mui-table-view-chevron">-->
- <!--<li class="mui-padding">-->
- <div class=" mui-table mui-table-view mui-padding" style="margin-top: 0;">
- <div class="mui-table-cell mui-col-xs-10">
- <h4 class="mui-ellipsis size-16">
- <span>工单编号:</span><span id="ID"></span>
- </h4>
- </div>
- <div class="mui-table-cell mui-col-xs-2 mui-text-right">
- <span class="mui-h5 States" style="display: none;">待解决</span>
- </div>
- </div>
- <!--信息展示-->
- <ul class="mui-table-view size-14 message-box">
- <li class="work-content">
- <span >投诉标题:</span>
- <span style="color:#000000;" id="F_ComTitle" ></span>
- </li>
- <li class="work-content">
- <span >投诉内容:</span>
- <span style="color:#000000;" id="F_ComContent" ></span>
- </li>
- <li class="work-content">
- <span>
- <i class="mui-icon mui-icon-location size-16"></i>
- 投诉地址:
- </span>
- <span id="AreaName"></span>
- <span id="AreaName_deta"></span>
- </li>
- <li class="work-content">
- <span>
- <i class="mui-icon mui-icon-person size-16"></i>
- 投诉人:
- </span>
- <span id="F_CusName"></span>
- </li>
- <li class="work-content">
- <span>
- <i class="mui-icon mui-icon-phone size-16"></i>
- 投诉人电话:
- </span>
- <span id="F_CusPhone">
- </span>
- </li>
- <li class="work-content">
- <span>
- <i class="mui-icon mui-icon-compose size-16"></i>
- 工单类型:
- </span>
- <span id="TypeName1"></span>
- </li>
- <li class="work-content" style="padding-bottom: 20px;">
- <span>
- <i class="mui-icon mui-icon-paperclip size-16"></i>
- 提交时间:
- </span><span id="F_CreateTime"></span>
- </li>
- <!--图片展示-->
- <li class="work-content" style="padding-bottom: 20px;">
- <div id='image-list' class="row image-list"></div>
- </li>
- </ul>
- <!--按键展示-->
- <div class="mui-table-view BTS">
- <h4 class="mui-ellipsis size-16" style="padding: 20px 0px 0px 10px; margin: 0px;">操作按钮:</h4>
- <div class="mui-card-footer">
- <ul class="mui-table-view mui-grid-view mui-grid-9">
- </ul>
- </div>
- </div>
- <!--工单进程-->
- <div class="mui-table-view work-content ">
- <div class="mui-table-cell mui-col-xs-10">
- <h4 class="mui-ellipsis size-16" style="padding: 6px ;">工单跟踪信息</h4>
- </div>
- </div>
- <!--工单进度-->
- <div class="mui-padding GDgz">
- </div>
- </div>
- <script src="../js/app.js"></script>
- <script src="../js/zepto.js"></script>
- <script src="../js/huayi.config.js"></script>
- <script src="../js/mui.zoom.js"></script>
- <script src="../js/mui.previewimage.js"></script>
- <script type="text/javascript">
- mui.init({
- swipeBack: true //启用右滑关闭功能
- });
- mui.previewImage();
- mui.plusReady(function() {
- var wv = plus.webview.currentWebview();
- var vText = wv.name;
- var ID = document.getElementById("ID").innerHTML = vText;
- var token = localStorage.getItem("token");
- //工单详情
- mui.ajax(huayi.config.callcenter_url + '/WorkOrder/GetWorkOrder', {
- data: {
- workorderid: vText,
- "token": token
- },
- dataType: 'json', //服务器返回json格式数据
- type: 'get', //HTTP请求类型
- timeout: 10000, //超时时间设置为10秒;
- headers: {
- 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
- },
- success: function(data) {
- var Data = data.data.data;
- document.getElementById("F_ComTitle").innerHTML = Data[0].F_ComTitle; //标题
- document.getElementById("F_ComContent").innerHTML = Data[0].F_ComContent; //内容
- //地址
- document.getElementById("AreaName").innerHTML = Data[0].AreaName;
- //地址详情
- document.getElementById("AreaName_deta").innerHTML = Data[0].F_SourceAddress;
- //投诉人
- document.getElementById("F_CusName").innerHTML = Data[0].F_CusName;
- //电话
- document.getElementById("F_CusPhone").innerHTML = Data[0].F_CusPhone;
- //类型
- document.getElementById("TypeName1").innerHTML = Data[0].TypeName1;
- //时间
- document.getElementById("F_CreateTime").innerHTML = Data[0].F_CreateTime;
- //办理过程
- for(var i = 0; i < data.data.gcdata.length; i++) {
- var table = document.body.querySelector('.GDgz');
- var div = document.createElement('div');
- div.className = 'DIV';
- var oldmsg=data.data.gcdata[i].F_Message;
- var jqmsg="";
- var jqmsgnew;
- if(oldmsg.match(/-(\S*)\)/)==null){
- jqmsgnew=data.data.gcdata[i].F_Message;
- }else{
- jqmsg=oldmsg.match(/-(\S*)\)/)[0];
- jqmsgnew=oldmsg.replace(jqmsg,"");
- }
- div.innerHTML =
- '<h5 class="mui-badge-success mui-badge-inverted">' + data.data.gcdata[i].F_CreateTime + ' ' +
- // '<h5><span>操作人:</span><span>' + Agree + '</span></h5>' +
- '<h5><span>备注信息:</span><span class="Font">' + jqmsgnew + '</span></h5>';
- table.appendChild(div);
- }
- //按钮显示
- if(data.data.btndata.length > 0) {
- $('.BTS').show();
- for(var i = 0; i < data.data.btndata.length; i++) {
- $('<li class=" mui-media mui-col-xs-4">' +
- '<button type="button" data-loading-text="提交中" index="' + data.data.btndata[i].key + '" class="mui-btn mui-btn-primary mui-btn-block block_button btn_agree Biaoqian">' + data.data.btndata[i].value + '</button>' +
- '</li>').appendTo(".mui-grid-9")
- }
- }
- //图片展示
- if(Data[0].File) {
- $(Data[0].File).each(function(i, n) {
- if(n.F_FileType == '.jpg'||n.F_FileType == '.png') {
- $('<div class="img-box"><img src="' + n.F_FileUrl + '" alt="" class="image-item" data-preview-src="" data-preview-group="1" /><div>').appendTo("#image-list");
- $(".image-list").show();
- } else if(n.F_FileType == '.docx') {
- mui.toast('猜猜我是谁')
- }
- })
- }
- $(".Biaoqian").on("tap", function() {
- var a = $(this).attr("index");
- if(a == 14) {
- YS(); //延时
- } else if(a == 11) {
- CS(); //查收
- } else if(a == 12) {
- TH(); //退回
- } else if(a == 13) {
- Bl(); //办理
- //领导权限
- } else if(a == 15) {
- THSH(); //退回审核
- } else if(a == 17) {
- YSsh(); //延时审核
- } else if(a == 22) {
- QZ(); //强制结案
- } else if(a == 21) {
- HT(); //回退
- } else if(a == 5) {
- JB(); //交办
- } else if(a == 6) {
- LD(); //领导批示
- } else if(a == 7) {
- SZ(); //市长批示
- } else if(a == 8) {
- DB(); //督办
- } else if(a == 9) {
- JC(); //监察
- } else if(a == 10) {
- BacK(); //回收
- } else if(a == 1) {
- CK(); //查看
- } else if(a == 2) {
- BJ(); //编辑
- } else if(a == 18) {
- CB(); //重办
- } else if(a == 23) {
- PD(); //派单
- } else if(a ==19) {
- JAn(); //结案
- }else if(a == 3) {
- move(); //删除
- }else if(a == 4) {
- tj(); //提交
- }
- })
- },
- error: function(xhr, type, errorThrown) {
- //异常处理;
- }
- });
- //交办
- function JB() {
- mui.openWindow({
- id: 'Work-jiaoban',
- url: 'Work-jiaoban.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- // function JB() {
- // var nwaiting = plus.nativeUI.showWaiting();
- // webviewShow = plus.webview.create("Work-jiaoban.html"); //后台创建webview并打开show.html
- // webviewShow.addEventListener("loaded", function() { //注册新webview的载入完成事件
- // nwaiting.close(); //新webview的载入完毕后关闭等待框
- // webviewShow.show("slide-in-right", 300); //把新webview窗体显示出来,显示动画效果为速度300毫秒的右侧移入动画
- // wobj.reload(true);
- // }, false);
- // }
- //派单
- function PD() {
- mui.openWindow({
- id: 'Work-jiaoban',
- url: 'Work-paidan.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //重办
- function CB() {
- mui.openWindow({
- id: 'work-cb',
- url: 'work-cb.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //结案
- function JAn() {
- mui.openWindow({
- id: 'work-JieAn',
- url: 'Work-JieAn.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- function BJ() {
- mui.openWindow({
- id: 'bianji',
- url: 'Work-bianji.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //查看
- function CK() {
- mui.openWindow({
- id: 'Work-yijian',
- url: 'Work-yijian.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- }
- });
- }
- //办理工单
- function Bl() {
- mui.openWindow({
- id: 'Work-banli',
- url: 'Work-banli.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //延时申请
- function YS() {
- mui.openWindow({
- id: 'Work-YSsq',
- url: 'Work-YSsq.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //延时审核
- function YSsh() {
- mui.openWindow({
- id: 'Work-YSsh',
- url: 'Work-YSsh.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //查收工单
- function CS() {
- var btnArray = ['否', '是'];
- mui.confirm('确定要查收工单?', '提示', btnArray, function(e) {
- if(e.index == 1) {
- mui.ajax(huayi.config.callcenter_url + 'WorkOrder/ReceiveWorkOrder', {
- data: {
- workorderid: $("#ID").text(),
- token: token
- },
- dataType: 'json', //服务器返回json格式数据
- type: 'post', //HTTP请求类型
- timeout: 10000, //超时时间设置为10秒;
- headers: {
- 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
- },
- success: function(data) {
- if(data.state.toLowerCase() == "success") {
- mui.toast("查收成功");
- var wobj = plus.webview.getWebviewById("WorkDetails");
- wobj.reload(true);
- }
- }
- })
- } else {
- mui.toast("取消查收");
- }
- })
- }
- //删除
- function move() {
- var btnArray = ['否', '是'];
- mui.confirm('确定要删除工单?', '提示', btnArray, function(f) {
- if(f.index == 1) {
- mui.ajax(huayi.config.callcenter_url + 'WorkOrder/DelWorkOrder', {
- data: {
- ids: $("#ID").text(),
- token: token
- },
- dataType: 'json', //服务器返回json格式数据
- type: 'post', //HTTP请求类型
- timeout: 10000, //超时时间设置为10秒;
- headers: {
- 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
- },
- success: function(data) {
- if(data.state.toLowerCase() == "success") {
- mui.toast("删除成功");
- var wobj = plus.webview.getWebviewById("WorkDetails");
- wobj.reload(true);
- }
- }
- })
- } else {
- mui.toast("取消删除");
- }
- })
- }
- //提交
- function tj() {
- var btnArray = ['否', '是'];
- mui.confirm('确定提交工单?', '提示', btnArray, function(h) {
- if(h.index == 1) {
- mui.ajax(huayi.config.callcenter_url + 'WorkOrder/SubmitWorkOrder', {
- data: {
- ids: $("#ID").text(),
- token: token
- },
- dataType: 'json', //服务器返回json格式数据
- type: 'post', //HTTP请求类型
- timeout: 10000, //超时时间设置为10秒;
- headers: {
- 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
- },
- success: function(data) {
- if(data.state.toLowerCase() == "success") {
- mui.toast("提交成功");
- var wobj = plus.webview.getWebviewById("WorkDetails");
- wobj.reload(true);
- }
- }
- })
- } else {
- mui.toast("取消提交");
- }
- })
- }
- //退回申请
- function TH() {
- mui.openWindow({
- id: 'THsq',
- url: 'Work-THsq.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //申请审核
- function THSH() {
- mui.openWindow({
- id: 'Work-THsh',
- url: 'Work-THsh.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //强制结案
- function QZ() {
- mui.openWindow({
- id: 'Work-QZja',
- url: 'Work-QZja.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //督办
- function DB() {
- mui.openWindow({
- id: 'Work-DB',
- url: 'Work-DB.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //监察
- function JC() {
- mui.openWindow({
- id: 'Work-JC',
- url: 'Work-JC.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //收回
- function BacK() {
- var btnArray = ['否', '是'];
- mui.confirm('确定要回收工单?', '提示', btnArray, function(e) {
- if(e.index == 1) {
- mui.ajax(huayi.config.callcenter_url + 'WorkOrder/TakeBackWorkOrder', {
- data: {
- workorderid: $("#ID").text(),
- token: token
- },
- dataType: 'json', //服务器返回json格式数据
- type: 'post', //HTTP请求类型
- timeout: 10000, //超时时间设置为10秒;
- headers: {
- 'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
- },
- success: function(data) {
- if(data.state.toLowerCase() == "success") {
- mui.toast("回收成功");
- var wobj = plus.webview.getWebviewById("WorkDetails");
- wobj.reload(true);
- }
- }
- })
- } else {
- mui.toast("取消");
- }
- })
- }
- //回退
- function HT() {
- mui.openWindow({
- id: 'Work-HT',
- url: 'Work-HT.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //领导审批
- function LD() {
- mui.openWindow({
- id: 'Work-LD.html',
- url: 'Work-LD.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- //市长批示
- function SZ() {
- mui.openWindow({
- id: 'Work-SZ',
- url: 'Work-SZ.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- token: token
- }
- });
- }
- $(".Tap").on('tap', function() {
- createDownload();
- })
- })
- </script>
- </body>
- </html>
|