| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235 |
- <!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>
- <!--<div class="mui-table mui-table-view work-content ">
- <h5 class=" Active size-16">
- <span >投诉标题:</span>
- <span style="color:#000000;" id="F_ComTitle" ></span>
- </h5>
- <h5 class="Active size-16 " style="line-height: 15px;">
- <span >投诉标题:</span>
- <span style="color:#000000;" id="F_ComContent" ></span>
- </h5>
- </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:#989898;" 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">
- <li class=" mui-media mui-col-xs-4">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block block_button btn_agree Biaoqian">查询</button>
- </li>
- </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;
- // alert(JSON.stringify(Data[0]));
- 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';
- // if (data.data.gcdata[i].UserName == null) {
- // Agree = "市民";
- // } else{
- // Agree =data.data.gcdata[i].UserName
- // }
- var oldmsg=data.data.gcdata[i].F_Message;
- var jqmsg="";
- var jqmsgnew;
- if(oldmsg.match(/-(\S*)\)/)==null){
- // alert("ddd");
- jqmsgnew=data.data.gcdata[i].F_Message;
- // jqmsg=oldmsg.match(/-(\S*)\)/)[0];
- }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('猜猜我是谁')
- }
- })
- }
-
- },
- 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
- }
- });
- }
- //查看
- $(".Biaoqian").on("tap", function() {
- mui.openWindow({
- id: 'Work-yijian',
- url: 'Work-yijian.html',
- show: {
- aniShow: 'pop-in'
- },
- styles: {
- popGesture: 'hide'
- },
- waiting: {
- autoShow: true
- },
- extras: {
- name: vText,
- }
- })
- })
- // 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>
|