| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888 |
- <!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">
- <link href="../css/mui.css" rel="stylesheet" />
- <link href="../css/mui.picker.css" rel="stylesheet" />
- <link href="../css/mui.poppicker.css" rel="stylesheet" />
- <link href="../css/iconfont.css" rel="stylesheet" />
- <link href="css/details.css" rel="stylesheet" />
- <style>
- .pop_up_div8{
- display: none;
- }
- #order_source{
- margin-left: 10%;
- display: none;
- }
- </style>
- </head>
- <body>
- <div class="mui-nav" id="mNavbar">
- <a class="mui-icon mui-icon-arrowleft return"></a>
- 工单详情
- </div>
- <div class="mui-content" id="mContent">
- <ul class="mui-table-view mui-table-view-ul" style="margin-top: 0px;">
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">工单编号:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="Work_bianhao"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">工单类型:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="Work_classname"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">部门:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="section"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li ">
- <div class="mui-input-row">
- <label class="label font-color5">客户姓名:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="customer"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">联系电话:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="customerTel"></label>
- </div>
- </div>
- </li>
- <!--<li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">公司名称:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="Work_areaname" data-index=""></label>
- </div>
- </div>
- </li>-->
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">业务员:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_tower"></label>
- <!--<span id="order_tower"> </span>-->
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">业务员电话:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_unit"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">问题类别:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_classes"></label>
- </div>
- </div>
- </li>
-
-
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">事发地:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_account"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">市区:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_downtown"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">县区:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_counties"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">乡:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_village"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">详细地址:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_address"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">抽检时间:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_matime"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">抽检级别:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_grade"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">抽检单位:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_gunits"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">化验单位:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_analysis"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">抽检吨数:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_assay"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">抽检袋数:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_bags"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">公关费用:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_cost"></label>
- </div>
- </div>
- </li>
-
-
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">销售基地:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_matrix"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">大区:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_macrocell"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">分公司:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_filiale"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">客户编码:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_material"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">物料名称:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_mate"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">型号:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_model"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">产品名称:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_product"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">问题数量:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="order_Question"></label>
- </div>
- </div>
- </li>
-
-
-
-
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">添加人工号:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="Work_houseID"></label>
- </div>
- </div>
- </li>
- <!--业主信息-->
- <!--<li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">业主信息:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6">范冰冰 1566666666</label>
- </div>
- </div>
- </li>-->
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">处理人:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="Work_ownerRelations"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li" id="source">
- <div class="mui-input-row">
- <label class="label font-color5">处理时间:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="Work_source"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li Work_lastDealDiv">
- <div class="mui-input-row">
- <label class="label font-color5">处理内容:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6 Work_lastDealUser"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">处理结果:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6 Work_last"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">未处理原因:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="Work_workOrderID"></label>
- </div>
- </div>
- </li>
- <li class="mui-table-view-cell mui-table-view-li">
- <div class="mui-input-row">
- <label class="label font-color5">是否回访:</label>
- <div class="mui-radio mui-right radio_box">
- <label class="font-color6" id="Work_wor"></label>
- </div>
- </div>
- </li>
- <!--<li class="mui-table-view-cell mui-table-view-cell-pmargin ">
- <p><span class="font-color4">补充描述:</span>预约时间改为下午六点。现在不方便</p>
- </li>-->
- <li class="mui-table-view-cell mui-table-view-cell-pmargin">
- <p id="Work_detail"></p>
- </li>
- <!--<li class="mui-table-view-cell mui-table-view-cell-pmargin" id="Work_comment">
- </li>-->
- </ul>
- <ul class="mui-table-view mui-grid-view">
- <h4 class="mui-ellipsis size-16 mui_btn1_tit">操作按钮:</h4>
- <div class="type1">
- <!--待派单-->
- <div class="mui_btn1 dispose1">
- <li class=" mui-media mui-col-xs-3 shenpi">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block receiving">办理</button>
- </li>
- <!--<li class=" mui-media mui-col-xs-3 xiugai">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block edit">修改</button>
- </li>-->
- <!--<li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block redeploy">转派</button>
- </li>
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block finsh">完结</button>
- </li>-->
- </div>
- <!--待处理-->
- <div class="mui_btn1 dispose2">
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block edit">修改</button>
- </li>
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block sendback">退回</button>
- </li>
- <!--<li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block delet">删除</button>
- </li>
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block deal">处理</button>
- </li>
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block btn_reply">回复</button>
- </li>-->
- </div>
- <!--已完成-->
- <div class="mui_btn1 dispose3">
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block edit">修改</button>
- </li>
- <!--<li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block delet">删除</button>
- </li>-->
- <!--<li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block comment">评论</button>
- </li>-->
- </div>
- <div class="mui_btn1 dispose4">
- <li class=" mui-media mui-col-xs-3 itypeQs">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block edit">修改</button>
- </li>
- <li class=" mui-media mui-col-xs-3 shenpi">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block receiving">办理</button>
- </li>
- </div>
-
- </div>
- <div class="type2">
- <!--待派单-->
- <div class="mui_btn1 dispose1">
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block rece">接单</button>
- </li>
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block sendback">退回</button>
- </li>
- </div>
- <!--待处理-->
- <div class="mui_btn1 dispose2">
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block disp">处理</button>
- </li>
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block allot">分配</button>
- </li>
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block abnormal">异常退回</button>
- </li>
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block postpone">申请延期</button>
- </li>
- <!--<li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block btn_reply">回复</button>
- </li>-->
- </div>
- <!--已完成-->
- <!--<div class="mui_btn1 dispose3">
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block comment">评论</button>
- </li>
- </div>-->
- </div>
- <div class="type3">
- <!--待派单-->
- <!--<div class="mui_btn1 dispose1">
- <li class=" mui-media mui-col-xs-3 banli">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block receiving">办理</button>
- </li>
- </div>-->
- <div class="mui_btn1 dispose2">
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block approva">高层办理</button>
- </li>
- </div>
- </div>
- <div class="type4">
- <!--待派单-->
- <div class="mui_btn1 ">
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block receiving">接单</button>
- </li>
- </div>
- <!--待处理-->
- <div class="mui_btn1 dispose2">
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block daal">处理</button>
- </li>
- </div>
- </div>
- <div class="type5">
- <!--待处理-->
- <div class="mui_btn1 dispose3">
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block daal">催单</button>
- </li>
- </div>
- <!--待处理-->
- <div class="mui_btn1 dispose1">
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block daal">催单</button>
- </li>
- </div>
- <!--已完成-->
- <div class="mui_btn1 dispose2">
- <li class=" mui-media mui-col-xs-3">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block comment">评论</button>
- </li>
- </div>
- </div>
- </ul>
- <div id="slider" class="mui-slider">
- <div id="sliderSegmentedControl" class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted">
- <a class="mui-control-item mui-active" href="#item1mobile" data-index="1">
- 工单跟踪
- </a>
- <!--<a class="mui-control-item" href="#item2mobile" data-index="2">
- 催单记录
- </a>
- <a class="mui-control-item" href="#item3mobile" data-index="2">
- 评论记录
- </a>-->
- </div>
- <div class="mui-slider-group">
- <div id="item1mobile" class="mui-slider-item mui-control-content mui-active">
- <ul class="mui-table-view folowlist" id="folow"></ul>
- </div>
- </div>
- </div>
- </div>
- <div class="WordID" style="display: none;"></div>
- <!--弹框1-->
- <div class="pop_up_bj"></div>
- <div class="pop_up_div1">
- <div class="tit">请输入评论理由</div>
- <div class="contain">
- <textarea name="" rows="" cols="" class="evaluate_con"></textarea>
- </div>
- <div class="btn">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr evaluate">确定</button>
- </div>
- </div>
- <!--弹框2-->
- <div class="pop_up_div2">
- <div class="tit">请输入工单完结理由</div>
- <div class="contain">
- <textarea class="textcont" id="finsh_cont"></textarea>
- </div>
- <div class="btn">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr">确定</button>
- </div>
- </div>
- <!--弹框2-->
- <div class="pop_up_div6" style="display: none;">
- <div class="tit">请输入处理内容</div>
- <div class="contain">
- <textarea class="textcont" id="deal_cont"></textarea>
- </div>
- <div class="btn">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr">确定</button>
- </div>
- </div>
- <!--退回弹窗-->
- <div class="pop_up_div7" style="display: none;">
- <div class="tit">请输入处理内容</div>
- <div class="contain">
- <textarea class="textcont" id="deal_conton"></textarea>
- </div>
- <div class="btn">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr">确定</button>
- </div>
- </div>
- <!--弹框4-->
- <div class="pop_up_div4">
- <div class="tit">请输入处理内容</div>
- <div class="contain">
- <textarea class="textcont_deal"></textarea>
- </div>
- <div class="btn">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr">确定</button>
- </div>
- </div>
- <!--弹框2-->
- <div class="pop_up_div5" style="display: none;">
- <div class="tit">请输入催单内容</div>
- <div class="contain">
- <textarea class="textcont reminder_con" ></textarea>
- </div>
- <div class="btn">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr">确定</button>
- </div>
- </div>
- <!--弹框3-->
- <div class="pop_up_div3">
- <div class="tit">请输入转派理由</div>
- <div class="contain">
- <textarea class="reason" name="" rows="" cols="" style="height: 100px;"></textarea>
- </div>
- <input type="text" id='complaintOrder_type' class="ui-alert type_con size-14" data-index="" readonly="readonly" />
- <div class="btn">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr showUserPicker" id="showUserPicker">下一步</button>
- </div>
- </div>
- <!--//申请延期弹出框-->
- <div class="pop_up_div8">
- <div class="tit">请输入延期说明</div>
- <div class="contain">
- <textarea class="reas" name="" rows="" cols="" style="height: 50px;"></textarea>
- </div>
-
- <div class="tit">申请延期时限</div>
- <div class="mui-input-row mui-radio mui-left radio_box order_type">
- <label>1小时</label>
- <input type="radio" type="radio" name="form" checked="checked" value="1小时" class="size-14" />
- </div>
- <div class="mui-input-row mui-radio mui-left radio_box order_type">
- <label>8小时</label>
- <input type="radio" type="radio" name="form" value="8小时" class="size-14" />
- </div>
- <div class="mui-input-row mui-radio mui-left radio_box order_type">
- <label>24小时</label>
- <input type="radio" type="radio" name="form" value="24小时" class="size-14" />
- </div>
- <div class="mui-input-row mui-radio mui-left radio_box order_type">
- <label>其他</label>
- <input type="radio" type="radio" name="form" value="其他" class="size-14" id="qita"/>
- </div>
-
- <input type="number" id='order_source' data-index="" placeholder="默认小时" style="width:55%;"/>
- <div class="btn">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr showUserPicker" id="showUserPicker">确定</button>
- </div>
- </div>
- <!--审批弹窗-->
- <div class="pop_up_div9">
- <div class="tit">请输入审批意见</div>
- <div class="contain">
- <textarea class="reasaa" name="" rows="" cols="" style="height: 50px;"></textarea>
- </div>
- <div class="tit">审批结果</div>
- <div class="mui-input-row mui-radio mui-left radio_box order_ty">
- <label>同意上报</label>
- <input type="radio" type="radio" name="form" checked="checked" value="0" class="size-14" />
- </div>
- <div class="mui-input-row mui-radio mui-left radio_box order_ty">
- <label>驳回修订</label>
- <input type="radio" type="radio" name="form" value="1" class="size-14" />
- </div>
-
-
-
- <div class="btn">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr showUserPicker" id="showUserPicker">确定</button>
- </div>
- </div>
- <!--高层审批弹框-->
- <div class="pop_up_div10">
- <div class="tit">请输入审批意见</div>
- <div class="contain">
- <textarea class="reaa" name="" rows="" cols="" style="height: 50px;"></textarea>
- </div>
- <div class="btn">
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr showUserPicker" id="showUserPicker">确定</button>
- </div>
- </div>
- <script src="../js/jquery.min.js"></script>
- <script src="js/details.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <script src="../Script/Common/huayi.http.js"></script>
- <script src="../js/mui.min.js"></script>
- <script src="../js/mui.picker.js"></script>
- <script src="../js/mui.poppicker.js"></script>
- <script src="js/city.data-3.js"></script>
- <script>
- var id = helper.request.queryString("id");
- var itype = helper.request.queryString("itype");
- var itypeQs = helper.request.queryString("itype");
- var state = helper.request.queryString("state");
- var isReply = helper.request.queryString("IsReply"); // 是否已回复 0 未回复 1已回复
- var openid = helper.cookies.get("openid");
- var UserType = helper.cookies.get("usertype");
- // var openid = "oXF5e1mWpX5DajW5_yjNLPKb8ThE";
- if(isReply == 0){
- $('.btn_reply').show();
- }
- if (UserType==-1) {
- $(".type1").hide();
- $(".type2").hide();
- $(".type3").show();
- $(".type4").hide();
- $(".type5").hide();
- } else if(UserType==0){
- $(".type1").show();
- $(".type2").hide();
- $(".type3").hide();
- $(".type4").hide();
- $(".type5").hide();
- $(".type6").hide();
- $(".type7").hide();
- $(".type8").hide();
- $(".type9").hide();
- }else if(UserType==1){
- $(".type1").hide();
- $(".type2").hide();
- $(".type3").show();
- $(".type4").hide();
- $(".type5").hide();
- }else if(UserType==2){
- $(".type1").hide();
- $(".type2").hide();
- $(".type3").show();
- $(".type4").hide();
- $(".type5").hide();
- $(".type6").hide();
- $(".type7").hide();
- $(".type8").hide();
- $(".type9").hide();
- }else if(UserType==3){
- $(".type1").hide();
- $(".type2").show();
- $(".type3").hide();
- $(".type4").hide();
- $(".type5").hide();
- $(".type6").hide();
- $(".type7").hide();
- $(".type8").hide();
- $(".type9").hide();
- }else if(UserType==4){
- $(".type1").show();
- $(".type2").hide();
- $(".type3").hide();
- $(".type4").hide();
- $(".type5").hide();
- $(".type6").hide();
- $(".type7").hide();
- $(".type8").hide();
- $(".type9").hide();
- }
- Ajax();
- flow();
- //获取数据
- function Ajax() {
- $.ajax({
- url: huayi.config.callcenter_url + 'WxLogin/GetDetails',
- data: {
- id: id, //工单编号
- OpenId: openid, //微信openid,
- },
- async: true,
- dataType: 'json',
- type: 'get', //HTTP请求类型
- success: function(data) {
- if(data.state.toLowerCase() == "success") {
- var result = data.rows[0];
- if(result.Source == 0) {
- $("#source").hide();
- } else {
- $("#source").show();
- }
- var itype=result.F_State;
- if (state==1) {
- // alert(state);
- $(".type1").hide();
- $(".type2").hide();
- $(".type3").hide();
- $(".type4").hide();
- $(".type5").hide();
- $(".type6").hide();
- $(".type7").hide();
- $(".type8").hide();
- $(".type9").hide();
- }
- if (state==11) {
- // alert(state);
- $(".type1").hide();
- $(".type2").hide();
- $(".type3").hide();
- $(".type4").hide();
- $(".type5").hide();
- $(".type6").hide();
- $(".type7").hide();
- $(".type8").hide();
- $(".type9").hide();
- }
- if(itype == 0) {
- $(".dispose1").hide();
- $(".dispose2").show();
- }else if(itype == 1) {
- //alert(itype)
- $(".dispose1").show();
- } else if(itype == 2) {
- $(".dispose2").show();
- } else if(itype == 3) {
- $(".dispose3").show();
- }else if(itype == 4) {
- $(".dispose2").hide();
- $(".dispose1").show();
- }else if(itype == 5) {
- $(".dispose2").hide();
- }else if(itype == 10) {
- if (UserType==2) {
- $(".dispose1").hide();
- $(".dispose2").show();
- }
- }else if(itype == 12) {
- $(".dispose2").show();
- if (UserType==0) {
- $(".dispose2").hide();
- $(".dispose4").show();
- }
-
- }else if(itype == 16) {
- // $(".dispose2").show();
- if (UserType==4) {
- $(".dispose1").show();
- $(".dispose3").show();
- $(".shenpi").remove();
- }else if(UserType==0){
- $(".dispose4").show();
- }
-
- }
- if (itypeQs==123) {
-
- $(".itypeQs").hide();
- }
- if (itypeQs==111) {
-
- $(".type2").hide();
- }
- if(itypeQs==333){
- $(".type3").hide();
- }
-
- if (result.GDLXName=="咨询") {
- $(".Work_lastDealDiv").hide(); //受理人
- $("#source").hide(); //投诉
- } else{
- $(".Work_lastDealDiv").show(); //受理人
- $("#source").show(); //投诉
- }
-
- $("#Work_bianhao").text(result.F_WorkOrderCode);
- $(".WordID").text(result.ID);
- $("#Work_classname").text(result.F_TypeName); //工单类型
- $("#section").text(result.F_DeptName); //部门
- $("#customer").text(result.F_CusName); //客户姓名
- $("#customerTel").text(result.F_CusPhone); //联系电话
- $("#Work_areaname").text(result.F_CompanyName); //公司名称
- // $("#Work_areaname").attr(result.IsAdminSend);
- $("#order_tower").text(result.F_Salesman); //业务员
- $("#order_unit").text(result.F_SalesPhone); //业务员电话
- $("#Work_houseID").text(result.F_CreateBy); //添加人工号
- $("#order_classes").text(result.F_QuestionType); //问题类别
-
- //抽检
- $("#order_matime").text(result.F_CJ_Time); //抽检时间
- $("#order_grade").text(result.F_CJ_Level); //抽检级别
- $("#order_gunits").text(result.F_CJ_Unit); //抽检单位
- $("#order_analysis").text(result.F_CJ_TestUnit); //化验单位
- $("#order_assay").text(result.F_CJ_Tonnage); //抽检吨数
- $("#order_bags").text(result.F_CJ_BagNo); //抽检袋数
- $("#order_cost").text(result.F_CJ_BagNo); //公关费用
-
- $("#order_account").text(result.F_IncidentProvince); //事发地
- $("#order_downtown").text(result.F_IncidentCity); //市区
- $("#order_counties").text(result.F_IncidentCountry); //县区F_QuestionType
- $("#order_village").text(result.F_IncidentTownship); //乡
- $("#order_address").text(result.F_IncidentDetailed); //详细地址
- // $("#order_matrix").text(result.F_Channel); //渠道类型
- $("#order_market").text(result.F_SalesBase); //咨询销售基地
- $("#order_matrix").text(result.F_SalesBase); //销售基地
- $("#order_macrocell").text(result.F_AreaName); //大区
- $("#order_filiale").text(result.F_BranchName); //分公司
- $("#order_material").text(result.F_DealTime); //客户编码
- $("#order_mate").text(result.F_DealTime); //物料编码
- $("#order_model").text(result.F_Model); //型号
- $("#order_product").text(result.F_ZX_ProName); //产品名称
- $("#order_Question").text(result.F_ZX_Quantity); //问题数量
- $("#Work_ownerRelations").text(result.F_DealBy); //处理人
- $("#Work_source").text(result.F_DealTime); //处理时间
- $(".Work_lastDealUser").text(result.F_DealContent); //处理内容
- $(".Work_last").text(result.F_DealResult); //处理结果
- $("#Work_workOrderID").text(result.F_DealReasons); //未处理原因
- $("#Work_wor").text(result.F_IsVisit); //是否回访
- $("#Work_detail").text("问题描述:" + result.F_Description); //描述详情
-
- // 判断数据为空隐藏li
- if($("#order_matime").text() ==''){//抽检时间
- $('#order_matime').parent().parent().remove();
- }
- if($("#order_grade").text() ==''){//抽检级别
- $('#order_grade').parent().parent().remove();
- }
- if($("#order_gunits").text() ==''){//抽检单位
- $('#order_gunits').parent().parent().remove();
- }
- if($("#order_analysis").text() ==''){//化验单位
- $('#order_analysis').parent().parent().remove();
- }
- if($("#order_assay").text() ==''){//抽检吨数
- $('#order_assay').parent().parent().remove();
- }
- if($("#order_bags").text() ==''){//抽检袋数
- $('#order_bags').parent().parent().remove();
- }
- if($("#order_cost").text() ==''){//公关费用
- $('#order_cost').parent().parent().remove();
- }
- if($("#order_market").text() ==''){//咨询销售基地
- $('#order_market').parent().parent().remove();
- }
- if($("#section").text() ==''){//部门
- $('#section').parent().parent().remove();
- }
- if($("#customer").text() ==''){//客户姓名
- $('#customer').parent().parent().remove();
- }
- if($("#Work_houseID").text() ==''){//添加人工号
- $('#Work_houseID').parent().parent().remove();
- }
- if($("#order_classes").text() ==''){//添加人工号
- $('#order_classes').parent().parent().remove();
- }
- if($("#order_account").text() ==''){//事发地
- $('#order_account').parent().parent().remove();
- }
- if($("#order_downtown").text() ==''){//市
- $('#order_downtown').parent().parent().remove();
- }
- if($("#order_counties").text() ==''){//区县
- $('#order_counties').parent().parent().remove();
- }
- if($("#order_village").text() ==''){//乡
- $('#order_village').parent().parent().remove();
- }
- if($("#order_address").text() ==''){//详细地址
- $('#order_address').parent().parent().remove();
- }
- if($("#order_matrix").text() ==''){//销售基地
- $('#order_matrix').parent().parent().remove();
- }
- if($("#order_tower").text() ==''){//业务员
- $('#order_tower').parent().parent().remove();
- }
- if($("#order_unit").text() ==''){//业务员电话
- $('#order_unit').parent().parent().remove();
- }
- if($("#order_material").text() ==''){//客户编码
- $('#order_material').parent().parent().remove();
- }
- if($("#order_mate").text() ==''){//物料编码
- $('#order_mate').parent().parent().remove();
- }
- if($("#order_macrocell").text() ==''){//大区
- $('#order_macrocell').parent().parent().remove();
- }
- if($("#order_filiale").text() ==''){//分公司
- $('#order_filiale').parent().parent().remove();
- }
- if($("#order_model").text() ==''){//型号
- $('#order_model').parent().parent().remove();
- }
- if($("#order_product").text() ==''){//产品名称
- $('#order_product').parent().parent().remove();
- }
- if($("#order_Question").text() ==''){//问题数量
- $('#order_Question').parent().parent().remove();
- }
- if($("#order_Question").text() ==''){//问题数量
- $('#order_Question').parent().parent().remove();
- }
- if($("#Work_ownerRelations").text() ==''){//处理人
- $('#Work_ownerRelations').parent().parent().remove();
- }
- if($("#Work_source").text() ==''){//处理时间
- $('#Work_source').parent().parent().remove();
- }
- if($(".Work_lastDealUser").text() ==''){//处理内容
- $('.Work_lastDealUser').parent().parent().remove();
- }
- if($(".Work_last").text() ==''){//处理内容
- $('.Work_last').parent().parent().remove();
- }
- if($("#Work_workOrderID").text() ==''){//未处理原因
- $('#Work_workOrderID').parent().parent().remove();
- }
- if($("#Work_wor").text() ==''){//是否回访
- $('#Work_wor').parent().parent().remove();
- }
- if($("#Work_detail").text() ==''){//问题描述
- $('#Work_detail').parent().parent().remove();
- }
-
- }
- },
- error: function(xhr, type, errorThrown) {
- //异常处理;
- }
- })
- }
- //跳转页面
- //修改
- $('.edit').on('tap', function() {
- window.location.href = "editWorkolder.html?id=" + id+'&itype='+itype;
- });
- //返回列表
- $('.return').on('tap', function() {
- if (itypeQs==111) {
- window.location.href = "processed_list.html"
- }else if (itypeQs==123){
- window.location.href = "client_index.html";
- }else if (itypeQs==222){
- window.location.href = "Retired_list.html";
- }else if (itypeQs==333){
- window.location.href = "gcyi_list.html";
- }
- if (itype==0) {
- window.location.href = "pend_index.html"
- }if (itype==1) {
- window.location.href = "Waiting_list.html"
- } else if (itype==2){
- window.location.href = "haveorder_list.html"
- } else if (itype==3){
- window.location.href = "Have_list.html"
- }
-
- //window.location.href = "client_index.html?Itype=" + itype;
- });
- //工单跟踪
- function flow() {
- $.ajax({
- url: huayi.config.callcenter_url + 'WxLogin/GetDetails',
- data: {
- id: id, //工单编号
- OpenId: openid, //微信openid,
- },
- async: true,
- dataType: 'json',
- type: 'get', //HTTP请求类型
- success: function(data) {
- if(data.state.toLowerCase() == "success") {
- if(data.total && data.total.length > 0) {
- $(data.total).each(function(i, n) {
- var str = '';
- if(n.F_OptType == 0){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 1){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 2){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 3){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 4){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 5){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 6){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 7){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 8){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 9){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 10){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 11){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 12){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 13){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 14){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 15){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- if(n.F_OptType == 16){
- str = str + n.F_OptContent+"<br>";
- // alert(str)
- }
- var spandeta="";
- // if (n.Detail==null) {
- // spandeta=""
- // } else if (n.Detail==""){
- // spandeta=""
- // }else if(n.IsLast == 1){
- // spandeta="完结内容:"+n.F_OptContent
- // }else if(n.SureUserName) {
- // spandeta="接单内容:"+n.F_OptContent
- // } else if(n.DealTime){
- // spandeta="处理内容:"+n.F_OptContent
- // }else if(n.ToDeptName){
- // spandeta="转派内容:"+n.F_OptContent
- // }
- if ($(".spandeta").text()=="") {
- $(this).hide();
- }
- //else if(row.IsStart) {str = str + row.CreateUserName + " 重新开启工单";}
- $('<li class="mui-table-view-cell mui-table-view-cell-line mui-tail-contail mui-table-view-li"><div class="mui-input-row mui-tail font-color4"><span>' + n.F_CreateTime +
- '</span></br><span style="font-size:12px;">' + str +
- '</span><span class="spandeta">'+spandeta+
- '</span></div><div class="string"></div><div class="circular_h"></div></li>').appendTo('#folow');
-
-
- });
- var num = data.rows.length - 1;
- $("#folow li:eq(0)").children(".string").css("top", "20px");
- $("#folow li:eq(" + num + ")").children(".string").css("height", "5px");
- $("#folow li:eq(0)").children(".string").css("top", "20px");
- $("#folow li:eq(0)").children(".circular_h").css({
- "background": "#2cc6a7",
- "left": "15px",
- "top": "20px",
- "width": "12px",
- "height": "12px",
- "border-radius": "6px"
- });
- $("#folow li:eq(" + num + ")").children(".circular_h").css({
- "left": "15px",
- "width": "12px",
- "height": "12px",
- "border-radius": "6px"
- });
- }
- }
- },
- error: function(xhr, type, errorThrown) {
- //异常处理;
- }
- })
- }
- //催单记录
- // function Remind() {
- // $.ajax({
- // url: huayi.config.callcenter_url + 'WxLogin/GetDetails',
- // data: {
- // id: id, //工单编号
- // type: 2,
- // OpenId: openid, //微信openid,
- // },
- // async: true,
- // dataType: 'json',
- // type: 'get', //HTTP请求类型
- // success: function(data) {
- // if(data.state.toLowerCase() == "success") {
- // if(data.rows && data.rows.length > 0) {
- // $(data.rows).each(function(i, n) {
- // var spandeta;
- // if (n.Detail==null) {
- // spandeta=""
- // } else if (n.Detail==""){
- // spandeta=""
- // }else{
- // spandeta="催办内容:"+n.Detail
- // }
- // var depart;
- // if(n.ToDeptName==null){
- // depart=""
- // }else{
- // depart=n.ToDeptName
- // }
- // var deperson;
- // if(n.ToUserName==null){
- // deperson=""
- // }else{
- // deperson=n.ToUserName
- // }
- // $('<li class="mui-table-view-cell mui-table-view-cell-line mui-tail-contail mui-table-view-li"><div class="mui-input-row mui-tail font-color4"><span>' + n.CreateTime +
- //// '</span></br><span>被催办部门:'+depart+
- //// '</span></br><span>被催办人:'+deperson+
- // '</span></br><span>催办人:' + n.CreateUserName +
- // '</span></br><span>'+spandeta+
- // '</span></div><div class="string"></div><div class="circular_h"></div></li>').appendTo('#remind');
- // });
- // var num = data.rows.length - 1;
- // $("#remind li:eq(0)").children(".string").css("top", "20px");
- // $("#remind li:eq(" + num + ")").children(".string").css("height", "5px");
- // $("#remind li:eq(0)").children(".string").css("top", "20px");
- // $("#remind li:eq(0)").children(".circular_h").css({
- // "background": "#2cc6a7",
- // "left": "15px",
- // "top": "20px",
- // "width": "12px",
- // "height": "12px",
- // "border-radius": "6px"
- // });
- // $("#remind li:eq(" + num + ")").children(".circular_h").css({
- // "left": "15px",
- // "width": "12px",
- // "height": "12px",
- // "border-radius": "6px"
- // });
- // }
- // }
- // },
- // error: function(xhr, type, errorThrown) {
- // //异常处理;
- // }
- // })
- // }
- //评论记录
- // function Comment() {
- // $.ajax({
- // url: huayi.config.callcenter_url + 'WxLogin/GetDetails',
- // data: {
- // id: id, //工单编号
- // type: 3,
- // OpenId: openid, //微信openid,
- // },
- // async: true,
- // dataType: 'json',
- // type: 'get', //HTTP请求类型
- // success: function(data) {
- // if(data.state.toLowerCase() == "success") {
- // if(data.rows && data.rows.length > 0) {
- //
- // $(data.rows).each(function(i, n) {
- // var spandeta;
- // if (n.Detail==null) {
- // spandeta=""
- // } else if (n.Detail==""){
- // spandeta=""
- // }else{
- // spandeta="评论内容:"+n.Detail
- // }
- // $('<li class="mui-table-view-cell mui-table-view-cell-line mui-tail-contail mui-table-view-li"><div class="mui-input-row mui-tail font-color4"><span>' + n.CreateTime +
- // '</span></br><span >'+spandeta+
- // '</span><span class="span3">' + n.CreateUserName +
- // '</span></div><div class="string"></div><div class="circular_h"></div></li>').appendTo('#commentlist');
- // if (n.Detail==null||n.Detail=="") {
- // $(".spandeta").hide();
- // } else{
- // $(".spandeta").show();
- // }
- // });
- // var num = data.rows.length - 1;
- // $("#commentlist li:eq(0)").children(".string").css("top", "20px");
- // $("#commentlist li:eq(" + num + ")").children(".string").css("height", "5px");
- // $("#commentlist li:eq(0)").children(".string").css("top", "20px");
- // $("#commentlist li:eq(0)").children(".circular_h").css({
- // "background": "#2cc6a7",
- // "left": "15px",
- // "top": "20px",
- // "width": "12px",
- // "height": "12px",
- // "border-radius": "6px"
- // });
- // $("#commentlist li:eq(" + num + ")").children(".circular_h").css({
- // "left": "15px",
- // "width": "12px",
- // "height": "12px",
- // "border-radius": "6px"
- // });
- // }
- // }
- // },
- // error: function(xhr, type, errorThrown) {
- // //异常处理;
- // }
- // })
- // }
- //转派
- //转派弹框
- $(".allot").click(function() {
- var areaID = $("#Work_areaname").attr('data-index')
- window.location.href = "redeploy.html?id=" + id+'&itype='+itype+'&areaID='+areaID;
- })
- // 处理提单框
- $(".disp").click(function() {
- var areaID = $("#Work_areaname").attr('data-index')
- window.location.href = "dispose.html?id=" + id+'&itype='+itype+'&areaID='+areaID;
- })
- //评论工单
- $(".comment").click(function(){
- $(".pop_up_bj").fadeIn();
- $(".pop_up_div1").fadeIn();
- })
- $(".pop_up_bj" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div1").hide();
- })
- $(".pop_up_div1 .btn .fl" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div1").hide();
- })
- $(".pop_up_div1 .btn .fr" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div1").hide();
- })
- $(".evaluate").click(function(){
- if(!$(".evaluate_con").val()) {
- mui.alert("请输入评论内容");
- }else{
- $(".pop_up_bj").hide();
- $(".pop_up_div3").hide();
- $.ajax({
- type: "post",
- dataType: 'json',
- url: huayi.config.callcenter_url + '/WxLogin/CommentWorkOrder',
- async: true,
- data: {
- orderid: id, //否 strubg 工单编号
- cont: $(".evaluate_con").val(), //否 int 处理内容
- openid: openid, //微信openid,
- },
- success: function(data) {
- if(data.state == "success") {
- debugger
- mui.toast('评论成功');
- window.location.href = "details.html?id=" + id+'&itype='+itype;
- } else {
- mui.toast(data.message);
- }
- }
- });
- }
- })
- //处理完结
- // $(".daal").click(function(){
- // $(".pop_up_bj").fadeIn();
- // $(".pop_up_div6").fadeIn();
- // })
- // $(".pop_up_bj" ).click(function(){
- // $(".pop_up_bj").hide();
- // $(".pop_up_div6").hide();
- // })
- // $(".pop_up_div6 .btn .fl" ).click(function(){
- // $(".pop_up_bj").hide();
- // $(".pop_up_div6").hide();
- // })
- // $(".pop_up_div6 .btn .fr" ).click(function(){
- //// $("#cont").text("");
- // $(".pop_up_bj").hide();
- // $(".pop_up_div6").hide();
- // if($("#deal_cont").val()=="") {
- // mui.alert("请输入处理内容");
- // }else{
- // $(".pop_up_bj").hide();
- // $(".pop_up_div6").hide();
- // $.ajax({
- // type: "post",
- // dataType: 'json',
- // url: huayi.config.callcenter_url + '/WxLogin/DealWorkOrder',
- // async: true,
- // data: {
- // orderid: id, //否 strubg 工单编号
- // isend: 1, //否 int 你看一下前端是什么参数
- // cont: $("#deal_cont").val(), //否 int 处理内容
- // openid: openid, //微信openid 测试用
- // },
- // success: function(data) {
- // if(data.state == "success") {
- // debugger
- // mui.toast('处理成功');
- //
- // window.location.href = "pend_index.html";
- // } else {
- // mui.toast(data.message);
- // }
- // }
- // });
- // }
- //
- // })
- //完结
- $(".finsh").click(function(){
- $(".pop_up_bj").fadeIn();
- $(".pop_up_div2").fadeIn();
- })
- $(".pop_up_bj" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div2").hide();
- })
- $(".pop_up_div2 .btn .fl" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div2").hide();
- mui.alert("取消");
- })
- $(".pop_up_div2 .btn .fr" ).click(function(){
- $("#finsh_cont").text("");
- $(".pop_up_bj").hide();
- $(".pop_up_div2").hide();
- if($(".textcont").val()=="") {
- mui.alert("请输入完结内容");
- }else{
- $(".pop_up_bj").hide();
- $(".pop_up_div2").hide();
- $.ajax({
- type: "post",
- dataType: 'json',
- url: huayi.config.callcenter_url + '/WxLogin/DealWorkOrder',
- async: true,
- data: {
- orderid: id, //否 strubg 工单编号
- isend: 1, //否 int 你看一下前端是什么参数
- cont: $("#finsh_cont").val(), //否 int 处理内容
- openid: openid, //微信openid,
- },
- success: function(data) {
- if(data.state == "success") {
- debugger
- mui.toast('处理成功');
-
- window.location.href = "client_index.html?id=" + id+'&itype='+itype;
- } else {
- mui.toast(data.message);
- }
- }
- });
- }
-
- })
- //处理
- $(".deal").click(function(){
- $(".pop_up_bj").fadeIn();
- $(".pop_up_div4").fadeIn();
- })
- $(".pop_up_bj" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div4").hide();
- })
- $(".pop_up_div4 .btn .fl" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div4").hide();
- mui.alert("取消");
- })
- $(".pop_up_div4 .btn .fr" ).click(function(){
- // $("#cont").text("");
- $(".pop_up_bj").hide();
- $(".pop_up_div4").hide();
- if($(".textcont_deal").val()=="") {
- mui.alert("请输入处理内容");
- }else{
- $(".pop_up_bj").hide();
- $(".pop_up_div4").hide();
- $.ajax({
- type: "post",
- dataType: 'json',
- url: huayi.config.callcenter_url + '/WxLogin/DealWorkOrder',
- async: true,
- data: {
- orderid: id, //否 strubg 工单编号
- isend: itype, //否 int 你看一下前端是什么参数
- cont: $("#textcont_deal").val(), //否 int 处理内容
- Openid: openid, //微信openid,
- },
- success: function(data) {
- if(data.state == "success") {
- debugger
- mui.toast('处理成功');
-
- window.location.href = "pend_index.html?id=" + id+'&itype='+itype;
- } else {
- mui.toast(data.message);
- }
- }
- });
- }
-
- })
-
- //回复
- $(".btn_reply").click(function(){
- var btnArray = ['取消', '确定'];
- mui.confirm('确定回复?', '提示', btnArray, function(f) {
- if(f.index == 1) {
- $.ajax({
- type: "post",
- dataType: 'json',
- url: huayi.config.callcenter_url + 'WxLogin/ReplyWorkOrder',
- async: true,
- data: {
- openid: openid,// 是 strubg openid
- orderid: id// 是 string 工单号码
- },
- success: function(data) {
- if(data.state == "success") {
- mui.toast('操作成功');
- window.location.href = "client_index.html?id=" + id+'&itype='+itype;
- } else {
- mui.toast(data.message);
- }
- }
- });
- } else {
- mui.toast("取消操作");
- }
- })
- });
- //接单
- $(".rece").click(function(){
- var btnArray = ['否', '是'];
- mui.confirm('确定接单?', '提示', btnArray, function(f) {
-
- if(f.index == 1) {
- $.ajax({
- type: "get",
- dataType: 'json',
- url: huayi.config.callcenter_url + 'WxLogin/SureWorkOrder',
- async: true,
- data: {
- orderid: id, //否 strubg 工单编号
- OpenId: openid, //微信openid 测试用
- },
- success: function(data) {
- debugger
- // alert(data.state)
- if(data.state == "success") {
- mui.toast('接单成功');
- window.location.href = "Waiting_list.html";
- } else {
- mui.toast(data.message);
- }
- }
- });
-
- } else {
- mui.toast("取消");
- }
- })
- })
- //审批
- $(".receiving").click(function(){
- $(".pop_up_bj").fadeIn();
- $(".pop_up_div9").fadeIn();
- })
- $(".pop_up_bj" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div9").hide();
- })
- $(".pop_up_div9 .btn .fl" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div9").hide();
- })
- $(".pop_up_div9 .btn .fr" ).click(function(){
- // $("#cont").text("");
- $(".pop_up_bj").hide();
- $(".pop_up_div9").hide();
- if($(".reasaa").val()=="") {
- mui.alert("请输入审批意见.");
- }else{
- $(".pop_up_bj").hide();
- $(".pop_up_div9").hide();
- $.ajax({
- type: "get",
- dataType: 'json',
- url: huayi.config.callcenter_url + 'WxLogin/GetApproval',
- async: true,
- data: {
- orderid: id, //否 strubg 工单编号
- OpenId: openid,
- AuditCont: $(".reasaa").val(),
- IsAudit:1,
- AuditState:$('.order_ty').find('input[type="radio"]:checked').val(), //工单类型
- },
-
- success: function(data) {
- debugger
- if(data.state == "success") {
- debugger
- mui.toast('申请成功');
- window.location.href = "client_index.html?id=" + id+'&itype='+itype;
- } else {
- mui.toast(data.message);
- }
- }
- });
- }
-
- })
-
-
-
- //高层审批
- $(".approva").click(function(){
- $(".pop_up_bj").fadeIn();
- $(".pop_up_div10").fadeIn();
- })
- $(".pop_up_bj" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div10").hide();
- })
- $(".pop_up_div10 .btn .fl" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div10").hide();
- })
- $(".pop_up_div10 .btn .fr" ).click(function(){
- // $("#cont").text("");
- $(".pop_up_bj").hide();
- $(".pop_up_div10").hide();
- if($(".reaa").val()=="") {
- mui.alert("请输入审批意见");
- }else{
- $(".pop_up_bj").hide();
- $(".pop_up_div10").hide();
- $.ajax({
- type: "get",
- dataType: 'json',
- url: huayi.config.callcenter_url + 'WxLogin/HigApprovalOrder',
- async: true,
- data: {
- orderid: id, //否 strubg 工单编号
- OpenId: openid,
- cont: $(".reaa").val(),
- },
-
- success: function(data) {
- debugger
- if(data.state == "success") {
- debugger
- mui.toast('申请成功');
- window.location.href = "high_list.html?id=" + id+'&itype='+itype;
- } else {
- mui.toast(data.message);
- }
- }
- });
- }
-
- })
- //退回
- $(".sendback").click(function(){
- $(".pop_up_bj").fadeIn();
- $(".pop_up_div7").fadeIn();
- })
- $(".pop_up_bj" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div7").hide();
- })
- $(".pop_up_div7 .btn .fl" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div7").hide();
- })
- $(".pop_up_div7 .btn .fr" ).click(function(){
- // $("#cont").text("");
- $(".pop_up_bj").hide();
- $(".pop_up_div7").hide();
- if($("#deal_conton").val()=="") {
- mui.alert("请输入处理内容");
- }else{
- $(".pop_up_bj").hide();
- $(".pop_up_div7").hide();
- $.ajax({
- type: "get",
- dataType: 'json',
- url: huayi.config.callcenter_url + 'WxLogin/BackWorkOrder',
- async: true,
- data: {
- orderid: id, //否 strubg 工单编号
- type: 0, // 0退回 1异常退回
- cont: $("#deal_conton").val(), //否 int 处理内容
- openid: openid, //微信openid 测试用
- },
-
- success: function(data) {
- if(data.state == "success") {
- debugger
- mui.toast('退回成功');
- window.location.href = "Waiting_list.html?id=" + id+'&itype='+itype;
- } else {
- mui.toast(data.message);
- }
- }
- });
- }
-
- })
- //申请延期实现
- $(".postpone").click(function(){
- $(".pop_up_bj").fadeIn();
- $(".pop_up_div8").fadeIn();
- })
- $(".pop_up_bj" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div8").hide();
- })
- $(".pop_up_div8 .btn .fl" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div8").hide();
- })
- $(".pop_up_div8 .btn .fr" ).click(function(){
- // $("#cont").text("");
- $(".pop_up_bj").hide();
- $(".pop_up_div8").hide();
- if($(".reas").val()=="") {
- mui.alert("请输入延期说明.");
- }else{
- $(".pop_up_bj").hide();
- $(".pop_up_div8").hide();
- $.ajax({
- type: "get",
- dataType: 'json',
- url: huayi.config.callcenter_url + 'WxLogin/DelayWorkOrder',
- async: true,
- data: {
- orderid: id, //否 strubg 工单编号
- // type: 0, //否 int 你看一下前端是什么参数 reas
- cont: $(".reas").val(),
- // limit:$("#order_source").val(), //否 int 处理内容
- limit:$('.order_type').find('input[type="radio"]:checked').val(), //工单类型
- openid: openid, //微信openid 测试用
- },
-
- success: function(data) {
- debugger
- if(data.state == "success") {
- debugger
- mui.toast('申请成功');
- window.location.href = "haveorder_list.html?id=" + id+'&itype='+itype;
- } else {
- mui.toast(data.message);
- }
- }
- });
- }
-
- })
- //异常退回
- $(".abnormal").click(function(){
- $(".pop_up_bj").fadeIn();
- $(".pop_up_div6").fadeIn();
- })
- $(".pop_up_bj" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div6").hide();
- })
- $(".pop_up_div6 .btn .fl" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div6").hide();
- })
- $(".pop_up_div6 .btn .fr" ).click(function(){
- // $("#cont").text("");
- $(".pop_up_bj").hide();
- $(".pop_up_div6").hide();
- if($("#deal_cont").val()=="") {
- mui.alert("请输入处理内容");
- }else{
- $(".pop_up_bj").hide();
- $(".pop_up_div6").hide();
- $.ajax({
- type: "post",
- dataType: 'json',
- url: huayi.config.callcenter_url + 'WxLogin/BackWorkOrder',
- async: true,
- data: {
- orderid: id, //否 strubg 工单编号
- type: 1, // 0退回 1异常退回
- cont: $("#deal_cont").val(), //否 int 处理内容
- openid: openid, //微信openid 测试用
- },
- success: function(data) {
- debugger
- if(data.state == "success") {
- debugger
- mui.toast('异常退回成功');
- window.location.href = "haveorder_list.html?id=" + id+'&itype='+itype;
- } else {
- mui.toast(data.message);
- }
- }
- });
- }
-
- })
- //删除工单
- $(".delet").click(function(){
- var btnArray = ['否', '是'];
- mui.confirm('确定删除?', '提示', btnArray, function(f) {
- if(f.index == 1) {
- $.ajax({
- type: "post",
- dataType: 'json',
- url: huayi.config.callcenter_url + '/WxLogin/DelWorkOrder',
- async: true,
- data: {
- ids: $(".WordID").text(), //否 strubg 工单编号
- openid: openid, //微信openid,
- },
- success: function(data) {
- if(data.state == "success") {
- debugger
- mui.toast('删除成功');
- if (itype==2) {
- window.location.href = "pend_index.html";
- } else if(itype==3){
- window.location.href = "finsh_index.html";
- }
-
- } else {
- mui.toast(data.message);
- }
- }
- });
- } else {
- mui.toast("取消");
- }
- })
- })
- //催单
- $(".reminder").click(function(){
- $(".pop_up_bj").fadeIn();
- $(".pop_up_div5").fadeIn();
- })
- $(".pop_up_bj" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div5").hide();
- })
- $(".pop_up_div5 .btn .fl" ).click(function(){
- $(".pop_up_bj").hide();
- $(".pop_up_div5").hide();
- })
- $(".pop_up_div5 .btn .fr" ).click(function(){
- // $("#cont").text("");
- $(".pop_up_bj").hide();
- $(".pop_up_div5").hide();
- if($(".textcont").val()=="") {
- mui.alert("请输入催单内容");
- }else{
- $(".pop_up_bj").hide();
- $(".pop_up_div5").hide();
- $.ajax({
- type: "post",
- dataType: 'json',
- url: huayi.config.callcenter_url + '/WxLogin/RemindWorkOrder',
- async: true,
- data: {
- orderid: id, //否 strubg 工单编号
- cont: $(".reminder_con").val(), //否 int 处理内容
- openid: openid, //微信openid,
- //openid: 'oXF5e1mWpX5DajW5_yjNLPKb8ThE', //微信openid 测试用
- },
- success: function(data) {
- if(data.state == "success") {
- // debugger
- mui.toast('催单成功');
- window.location.href = "pend_index.html?id=" + id+'&itype='+itype;
- } else {
- mui.toast(data.message);
- }
- }
- });
- }
-
- })
-
- $("#qita").click(function(){
- $("#order_source").show();
- })
- // if (!$('.font-color6').text()=='') {
- // $('.font-color6').parent().parent().remove();
- // }
-
- // $(".font-color6").text('')
- // $('.mui-input-row div label').remove();
- //$('.mui-input-row div label').find('.font-color6:last').remove();
- // if ($('.font-color6').is(":empty")) {
- // $('.mui-input-row div label').show();
- // }
- </script>
- </body>
- </html>
|