| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>工单详情</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <script src="../Script/Common/huayi.load.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
- <link href="../css/WorkOrder/Search.css" rel="stylesheet">
- <link href="../css/init.css" rel="stylesheet" />
- <script src="../css/laydate/laydate.js"></script>
- <link href="../css/WorkOrder/seeProjectDetail.css" rel="stylesheet" />
- <script src="../My97DatePicker/WdatePicker.js"></script>
- <style>
- .ld-service li {
- float: left;
- font-size: 14px;
- color: #000;
- padding: 5px 15px;
- cursor: pointer;
- }
-
- .cr-click {
- border-bottom: 2px solid #00a1cb;
- }
-
- .Shows {
- display: block !important;
- }
-
- .complain {
- display: none;
- }
-
- .Borders {
- border: 1px solid #d7d7d7;
- }
-
- .form-group {
- margin-top: 10px;
- }
-
- .Table {
- width: 100%;
- }
-
- tbody {
- border: 1px solid #ccc;
- }
-
- .Table th {
- width: 7%;
- padding: 5px 8px 10px 0;
- text-align: right;
- }
-
- .Table td {
- padding: 6px;
- }
-
- .bor_bootm {
- border-bottom: 1px solid #ccc;
- }
-
- .datil_ul {
- padding-left: 0;
- }
-
- .datil_ul li {
- width: 25%;
- padding: 5px;
- float: left;
- }
-
- .wh_btn input {
- background: #2E70BA;
- }
-
- .XGXX {
- margin-left: 0;
- }
- /*.authority{
- display: none;
- }*/
- /*.layui-layer-phimg img{
- width: 100% !important;
- height: auto !important;
- }*/
-
- .layui-layer-imguide {
- display: block !important;
- }
-
- .gray-bg {
- overflow: auto;
- }
-
- .img-box .img_mask i {
- position: absolute;
- right: 5px;
- top: 5px;
- display: inline-block;
- width: 13px;
- height: 12px;
- cursor: pointer;
- color: #fff;
- }
-
- .tdWidth td {
- width: 20%;
- }
-
- .assignFlagDiv {
- display: none;
- }
- </style>
- </head>
- <body class="gray-bg">
- <div class="wrapper wrapper-content animated fadeInRight">
- <ul class="ld-service clearfix">
- <li itemtype="0" class="cr-click" itemtype="0">工单信息</li>
- <li itemtype="2" itemtype="2">领导关注</li>
- <li itemtype="3" itemtype="3">延时审核</li>
- <li itemtype="3" itemtype="3">退回审核</li>
- <li itemtype="7" itemtype="7">办理过程</li>
- </ul>
- <div class="Content_box">
- <!--诉求信息-->
- <div class="complain Shows DCL">
- <div style="width: 100%;padding: 10px;">
- <table class="Table" border="0" cellspacing="0" cellpadding="0">
- <tbody>
- <tr class="bor_bootm tdWidth">
- <th>案件编号:</th>
- <td><span class="F_OldWorkOrderId"></span></td>
- <th>作者:</th>
- <td><span class="F_CusName"></span></td>
- <th>来源:</th>
- <td><span class="F_Event"></span></td>
- <th>信息属性:</th>
- <td><span class="infopropertyname"></span></td>
-
- </tr>
- <tr>
- <th>题目:</th>
- <td colspan="7">
- <span class="F_ComTitle"></span>
- </td>
- </tr>
- <tr>
- <th>内容简介:</th>
- <td colspan="7">
- <span class="F_ComContent"></span>
- </td>
- </tr>
- <tr>
- <th>主要网址:</th>
- <td colspan="7">
- <a>
- <span class="F_CusAddress"></span>
- </a>
- </td>
- </tr>
-
- <tr>
- <th>附件:</th>
- <td colspan="7">
- <div class="FJ file_imgs">
- </div>
- </td>
- </tr>
- <tr class="bor_bootm">
- <th>事件地址:</th>
- <td colspan="3">
- <span class="AreaName" style="margin-right: 10px;"></span>
- </td>
- <th>网络发布时间:</th>
- <td colspan="3">
- <span class="F_Hcdatetime"></span>
- </td>
- </tr>
- <!--<tr class="tdWidth">
- <th>舆情类型:</th>
- <td>
- <span class="LX"></span>
- </td>
- </tr>-->
-
- </tbody>
- </table>
- </div>
- <div class="assignFlagDiv">
- <div style="font-weight: bold;"> 交办信息</div>
- <div style="width: 100%;padding: 10px;">
- <table class="Table" border="" cellspacing="0" cellpadding="0">
- <theard>
- <tr>
- <td class="text-center" style="width:60px;">次数</td>
- <td class="text-center" style="width:114px;">交办时间</td>
- <td class="text-center" style="width:114px;">办理时限</td>
- <td class="text-center" style="min-width:80px;">承办单位</td>
- <td class="text-center" style="min-width: 200px;">交办意见</td>
- <td class="text-center authority" style="min-width: 100px;">操作</td>
- </tr>
- </theard>
- <tbody class="JBXX">
- </tbody>
- </table>
- </div>
- </div>
- <div style="font-weight: bold;"> 办理情况</div>
- <div style="width: 100%;padding: 10px;">
- <table class="Table" border="" cellspacing="0" cellpadding="0">
- <theard>
- <tr>
- <td class="text-center" style="min-width:80px;">办理责任人</td>
- <td class="text-center" style="min-width:80px;">联系方式</td>
- <td class="text-center" style="min-width:80px;">职务</td>
- <td class="text-center" style="min-width:80px;">二级单位处理结果</td>
- <td class="text-center" style="min-width:80px;">处理结果</td>
- <td class="text-center" style="min-width:80px;">单位</td>
- <td class="text-center" style="min-width:80px;">办理时间</td>
- <td class="text-center" style="min-width:80px;">附件</td>
- <td class="text-center" style="min-width:80px;">修改附件</td>
- </tr>
- </theard>
- <tbody class="BLQK">
- </tbody>
- </table>
- </div>
- </div>
- <!--领导关注-->
- <div class="complain DCL">
- <div style="width: 100%;padding: 10px;">
- <div style="text-align: center; ">
- <table class="Table" border="" cellspacing="0" cellpadding="0">
- <theard>
- <tr>
- <td class="text-center" style="min-width:100px;">备注人</td>
- <td class="text-center" style="min-width:100px;">备注</td>
- <td class="text-center" style="min-width:100px;">备注时间</td>
- </tr>
- </theard>
- <tbody class="LDPS">
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <!--延时情况-->
- <div class="complain DCL ">
- <div style="width: 100%;padding: 10px;">
- <table class="Table" border="" cellspacing="0" cellpadding="0">
- <theard>
- <tr>
- <td class="text-center" style="min-width:100px;">次数</td>
- <td class="text-center" style="min-width:100px;">状态</td>
- <td class="text-center" style="min-width:100px;">申请时间</td>
- <td class="text-center" style="min-width:100px;">申请原因</td>
- <td class="text-center" style="min-width:100px;">审核时间</td>
- <td class="text-center" style="min-width:80px;">审核意见</td>
- <td class="text-center authority" style="min-width:100px;">操作</td>
- </tr>
- </theard>
- <tbody class="YSSHS">
- </tbody>
- </table>
- </div>
- </div>
- <!--退回审核-->
- <div class="complain DCL ">
- <div style="width: 100%;padding: 10px;">
- <table class="Table" border="" cellspacing="0" cellpadding="0">
- <theard>
- <tr>
- <td class="text-center" style="min-width:100px;">次数</td>
- <td class="text-center" style="min-width:100px;">申请时间</td>
- <td class="text-center" style="min-width:100px;">申请单位</td>
- <td class="text-center" style="min-width:100px;">申请原因</td>
- <td class="text-center" style="min-width:100px;">状态</td>
- <td class="text-center" style="min-width:100px;">审核时间</td>
- <td class="text-center" style="min-width:80px;">审核意见</td>
- <td class="text-center authority" style="min-width:100px;">操作</td>
- </tr>
- </theard>
- <tbody class="YTHHS">
- </tbody>
- </table>
- </div>
- </div>
- <!--办理过程-->
- <div class="complain DCL " id="BLGC">
- <div style="width: 100%;padding: 10px;">
- <table class="Table" border="" cellspacing="0" cellpadding="0">
- <theard>
- <tr>
- <td class="text-center" style="min-width:50px;">序号</td>
- <td class="text-center" style="min-width:100px;">操作人</td>
- <td class="text-center" style="min-width:100px;">事项</td>
- <td class="text-center" style="min-width:100px;">操作时间</td>
- </tr>
- </theard>
- <tbody id="BLGC_">
- </tbody>
- </table>
- </div>
- </div>
-
- <div class="clearfix">
- <ul class="clearfix datil_ul">
- <li>
- 单号:
- <span class="DH"></span>
- </li>
- <li>
- 状态:
- <span class='ZT'></span>
- </li>
- <li>
- 受理人:
- <span class="SL"></span>
- </li>
- <li>
- 处理方式:
- <span class="CLFS"></span>
- </li>
- <li>
- 舆情等级:
- <span class="CD"></span>
- </li>
-
- <li>
- 提交时间:
- <span class="submitTime"></span>
- </li>
- <li>
- 办理时间:
- <span class="SLHJ"></span>
- </li>
- <li>
- 结案时间:
- <span class="lawsuitTime"></span>
- </li>
- </ul>
- <div class="clearfix wh_btn" style="width:100%;text-align:center;margin:10px 0;">
- <input type="hidden" class="hidWid" />
- <!--<input type="button" class="change release authority" value="修改" /> -->
- <input type="button" value="打印预览" class="print" />
- <input type="button" value="关闭" class="closexq" />
- </div>
- <input type="hidden" id="Change" />
- </div>
- </div>
- </div>
- <script src="https://api.map.baidu.com/api?v=2.0&ak=ZG4gLQZUD6Eq1K11cqlYAR4by8CKgLyu&callback=mapinit"></script>
- <script src="../js/mousewheel/jquery.mousewheel.min.js"></script>
- <script src="../js/WorkOrder/jquery.drag.js"></script>
- <script>
- var wid = helper.request.queryString("wid");
- var printType = helper.request.queryString("printType");
- $(document).ready(function() {
- console.log(decodeURI(wid))
- if($.cookie("code") == "WLDW") {
- $(".xtRemark").hide()
- $(".assignFlagDiv").hide()
- } else {
- $(".xtRemark").show()
- $(".assignFlagDiv").show()
- }
- if(wid) {
- load();
- $("#Change").val(wid);
- //预览
- $(".print").click(function() {
-
- // if(PrintClick[0] !== '频'){
- // layer.open({
- // type: 2,
- // content: "../CommonHtml/PrintPreview-1.html?wid=" + PrintClick, //iframe的url,no代表不显示滚动条
- // title: '打印/导出',
- // area: ['788.8px', '90%'], //宽高
- // });
- // }else{
- // layer.open({
- // type: 2,
- // content: "../CommonHtml/PrintPreview-1PF.html?wid=" + PrintClick, //iframe的url,no代表不显示滚动条
- // title: '打印/导出',
- // area: ['788.8px', '90%'], //宽高
- // });
- // }
-
- if(decodeURI(wid)[0] !== '频'){
- layer.open({
- type: 2,
- content: "PrintPreview-1.html?wid=" + wid + "&printType=" + printType, //iframe的url,no代表不显示滚动条
- title: '打印/导出',
- area: ['788.8px', '90%'], //宽高
- });
- }else{
- layer.open({
- type: 2,
- content: "PrintPreview-1PF.html?wid=" + wid + "&printType=" + printType, //iframe的url,no代表不显示滚动条
- title: '打印/导出',
- area: ['788.8px', '90%'], //宽高
- });
- }
-
-
-
-
-
-
- //window.location.href = "PrintPreview-1.html?wid=" + wid;
- })
- //关闭
- $(".closexq").click(function() {
- var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
- parent.layer.close(index); //再执行关闭
- })
- }
- //弹屏右侧切换效果
- $(".ld-service li").click(function() {
- $(this).addClass("cr-click").siblings().removeClass("cr-click");
- var index = $(this).index();
- var ss = $(this).attr("itemtype");
- $(".Content_box").find(".complain").eq(index).addClass("Shows").siblings().removeClass(
- "Shows");
- });
- //转媒体
- $('.mediaTransfer').click(function() {
- layer.open({
- content: '是否要转媒体?',
- btn: ['是', '否'],
- yes: function(index, layero) {
- $.post(huayi.config.callcenter_url + "WorkOrder/ReleaseWorkOrder", {
- workorderid: wid, //工单编号
- isrelease: 1, //(0撤回,1转媒体)
- token: $.cookie("token")
- }, function(result) {
- var data = JSON.parse(result);
- if(data.state == "success") {
- $(".mediaTransfer").hide();
- var index = parent.layer.getFrameIndex(window
- .name); //先得到当前iframe层的索引
- parent.layer.close(index); //再执行关闭
- parent.$('#orderlist').bootstrapTable('refresh');
- parent.layer.msg("转媒体成功");
- }
- })
- }
- })
- });
- //修改
- $(".change").click(function() {
- var str = $("#Change").val();
- layer.open({
- type: 2,
- content: "../CommonHtml/XGwordel.html?wid=" + str, //iframe的url,no代表不显示滚动条
- title: '修改交办信息',
- area: ['80%', '80%'], //宽高
- })
- })
- });
- function load() {
- $.ajax({
- type: "get",
- url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrder",
- dataType: 'json',
- async: false,
- data: {
- workorderid: wid,
- token: $.cookie("token")
- },
- success: function(result) {
- if(result.state.toLowerCase() == "success") {
- if($.cookie("code") == "WLDW") {
- if(result.data.data[0].F_WorkState == '2' || result.data.data[0].F_WorkState == '8') {
- $.post(huayi.config.callcenter_url + "WorkOrder/ReceiveWorkOrder", {
- workorderid: result.data.data[0].F_WorkOrderId,
- token: $.cookie("token")
- }, function(result) {
- result = JSON.parse(result);
- if(result.state.toLowerCase() == "success") {
- layer.msg("查收成功");
- load();
- window.parent.load();
- }
- })
- }
- }
- var Data = result.data.data;
- var State = Data[0].F_WorkState;
- var CLFS = Data[0].F_IsResult;
- var isprotect = Data[0].isprotect;
- var level = Data[0].F_Level;
-
- $(".F_OldWorkOrderId").text(Data[0].F_WorkOrderId);
-
-
- $(".F_CusName").text(Data[0].F_CusName);
- $(".F_ConPhone").text(Data[0].F_CusPhone);
- $(".F_CusPhone").text(Data[0].F_ConPhone);
-
- $(".F_Event").text(Data[0].F_Event);
- $(".F_ComTitle").text(Data[0].F_ComTitle);
- $('.F_ComContent').text(Data[0].F_ComContent);
- $(".F_CusAddress").text(Data[0].F_CusAddress)
- $(".F_Hcdatetime").text(Data[0].F_Hcdatetime)
- $(".infopropertyname").text(Data[0].infopropertyname)
-
- $('.F_SourceAddress').text(Data[0].F_SourceAddress);
- $(".store_Lng").val(Data[0].F_Longitude);
- $(".store_Lat").val(Data[0].F_Latitude);
- $('.F_Remarks').text(Data[0].F_NewRemarks);
- $('.xtF_Remarks').text(Data[0].F_WorkRemarks);
- $('.backreason').text(Data[0].F_Backreason);
- $('.LRSJ').text(Data[0].F_CreateTime); //录入时间
- $('.submitTime').text(Data[0].F_SubmitTime); //提交时间
- $('.SLHJ').text(Data[0].F_DealTime); //办理时间
- $('.lawsuitTime').text(Data[0].F_CloseTime); //结案时间
- $('.SL').text(Data[0].UserName);
- $(".DH").text(Data[0].F_WorkOrderId);
- $(".LY").text(Data[0].SourceName);
- $(".subjectWords").text(Data[0].KeyName);
- $(".LX").text(Data[0].TypeName1);
- $(".Result").text(Data[0].F_Result);
-
- Data[0].AreaName ? $(".AreaName").text(Data[0].AreaName + "--" + Data[0].F_SourceAddress) : ''
-
- if(Data[0].F_Satisfaction === 0) {
- $(".satisfaction").text("不满意")
- } else if(Data[0].F_Satisfaction === 1) {
- $(".satisfaction").text("基本满意")
- } else if(Data[0].F_Satisfaction === 2) {
- $(".satisfaction").text("满意")
- } else {
- $(".satisfaction").text("")
- }
- //附件
- var HTML;
- $(Data[0].File).each(function(i, v) {
- var $list = $(".FJ");
- if(v.F_FileType == ".jpg" || v.F_FileType == ".png" || v
- .F_FileType == ".image") {
- //原来的图片
- var $li = $(
- '<li><span class="img_mask"><a href="' + v
- .F_FileUrl +
- '" download="w3logo" title="点击下载"></a></span>' +
- '<img layer-src="' + v.F_FileUrl + '" alt="' + v
- .F_FileName + '" src="' + v.F_FileUrl +
- '" title="图片"/>' +
- '</li>'
- );
- $list.append($li);
- } else {
- var $liFile = $(
- '<li><span class="img_mask"><a href="' + v
- .F_FileUrl +
- '" download="w3logo" title="点击下载"> <i class="fa fa-download" aria-hidden="true"></i></a></span>' +
- '<div class="noThumb" title="文件"><i class="glyphicon glyphicon-paperclip"></i><p>无法预览</p></div>' +
- '</li>'
- );
- $list.append($liFile);
- }
- })
- layer.photos({
- photos: '.FJ',
- anim: 5, //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数)
- title: '查看图片',
- move: '.layui-layer-title',
- shadeClose: false,
- closeBtn: 1,
- area: ['80%', '90%'],
- tab: function(pic, layero) {
- $('.layui-layer-content').on("mousewheel",
- function(e, d) {
- helper.methods.zoomImg($(
- '#layui-layer-photos').find(
- 'img[alt="' + pic.alt + '"]'
- ), d);
- $('#layui-layer-photos').find(
- 'img[alt="' + pic.alt + '"]')
- .dragging({
- move: "both", //拖动方向,x y both
- randomPosition: false //初始位置是否随机
- });
- return false;
- });
- helper.methods.initLayerPhotos(
- '#layui-layer-photos', pic, layero);
- },
- });
- if(State == 0) {
- $('.ZT').text("新工单");
- } else if(State == 1) {
- $('.ZT').text("待交办");
- } else if(State == 2) {
- $('.ZT').text("待查收");
- } else if(State == 3) {
- $('.ZT').text("退回审核中");
- } else if(State == 4) {
- $('.ZT').text("办理中");
- } else if(State == 5) {
- $('.ZT').text("延时审核中");
- } else if(State == 6) {
- $('.ZT').text("已办理");
- } else if(State == 7) {
- $('.ZT').text("待结案");
- } else if(State == 8) {
- $('.ZT').text("重办中");
- } else if(State == 9) {
- $('.ZT').text("已结案");
- } else if(State == 10) {
- $('.ZT').text("待审核");
- } else if(State == 11) {
- $('.ZT').text("重办待交办");
- } else if(State == 13) {
- $('.ZT').text("重办驳回");
- } else if(State == 14) {
- $('.ZT').text("已结案");
- }
- //办理方式
- if(CLFS == 0) {
- $('.CLFS').text("网络转办");
- } else {
- $('.CLFS').text("当即办理");
- }
- //密级程度
- if(Data[0].F_IsProtect == 0) {
- $('.MJ').text("普通");
- } else {
- $('.MJ').text("保密");
- }
- //紧急程度
- if(Data[0].F_Level == 1) {
- $('.CD').text("普通");
- } else if(Data[0].F_Level == 2) {
- $('.CD').text("紧急");
- }
- //办理情况
- var htmls = '';
- if(result.data.bldata.length < 0) {
- htmls = '<tr>' +
- '<td class="text-center">' + n.UserName + '</td>' +
- '</tr>';
- }
- $(".BLQK").empty();
- //console.log(result.data.bldata);
- $(result.data.bldata).each(function(i, n) {
- //类型
- var bval = n.F_Type;
- switch(bval + '') {
- case '1':
- bval = '主办';
- break;
- case '2':
- bval = '协办';
- break;
- }
- //是和否有处理结果
- var isProResultValue = n.F_IsProResult + "";
- switch(isProResultValue) {
- case "0":
- isProResultValue = "默认";
- break;
- case "1":
- isProResultValue = "是";
- break;
- case "2":
- isProResultValue = "否";
- break;
- }
- //是否满意
- var isSatisfiedValue = n.F_IsSatisfied + "";
- switch(isSatisfiedValue) {
- case "0":
- isSatisfiedValue = "未评价";
- break;
- case "1":
- isSatisfiedValue = "满意";
- break;
- case "2":
- isSatisfiedValue = "基本满意";
- break;
- case "3":
- isSatisfiedValue = "不满意";
- break;
- }
- //沟通时间
- var connectTimeValue = n.F_ConnectTime;
- switch(connectTimeValue) {
- case null:
- connectTimeValue = "";
- break;
- default:
- connectTimeValue = n.F_ConnectTime;
- }
- //职务
- var dutiesValue
- switch(n.F_Duties) {
- case "":
- dutiesValue = ""
- break;
- case null:
- dutiesValue = ""
- break;
- default:
- dutiesValue = n.F_Duties
- break;
- }
- //处理情况
- var situationValue
- switch(n.F_Situation) {
- case "":
- situationValue = ""
- break;
- case null:
- situationValue = ""
- break;
- default:
- situationValue = n.F_Situation
- break;
- }
- htmls += '<tr>' +
- '<td class="text-center">' + n.F_DealUser + '</td>' +
- '<td class="text-center">' + n.F_DealUserContact +
- '</td>' +
- '<td class="text-center">' + dutiesValue + '</td>' +
- '<td class="text-center">' + situationValue + '</td>' +
- '<td class="text-center">' + n.F_ClosingResult + '</td>' +
- // '<td class="text-center">' + result.data.data[0]
- // .F_NewResult + '</td>' +
- '<td class="text-center">' + n.DeptName + '</td>' +
- '<td class="text-center">' + n.F_CreateTime + '</td>' +
- '<td class="text-center">'
- //办理情况附件
- var FileHtml;
- $(n.File).each(function(j, m) {
- if(m.F_FileType == ".jpg" || m.F_FileType == ".png") {
- FileHtml =
- '<img style="width:15px; height:15px" border="0" src="' +
- m.F_FileUrl + '" alt="' + m.F_FileName +
- '"></td>';
- } else {
- FileHtml = m.F_FileName.substring(19);
- }
- htmls +=
- '<div><a style="margin-right:5px;" target="view_window" href="' +
- m.F_FileUrl + '" download="' + m
- .F_FileName + '">' + m.F_FileName.substring(19) + '</a></div>'
- })
- htmls += '</td><td class="text-center"><botton class="btns editFile" index="' +
- n.F_Id + '">修改</botton>' +
- '</td><td class="text-center">'
-
- var scanFileHtml
- $(result.data.data[0].Files).each(function(j, m) {
- if(m.F_FileType == ".jpg" || m.F_FileType ==
- ".png") {
- scanFileHtml =
- '<img style="width:15px; height:15px" border="0" src="' +
- m.F_FileUrl + '" alt="' + m.F_FileName +
- '"></td>';
- } else {
- scanFileHtml = m.F_FileName.substring(19);
- }
- htmls +=
- '<div><a style="margin-right:5px;" target="view_window" href="' +
- m.F_FileUrl + '" download="' + m
- .F_FileName + '">' + m.F_FileName.substring(19) + '</a></div>'
- })
- // 隐藏修改扫描件功能
- // htmls += '</td><td class="text-center"><botton class="btns editScanFile" index="' +
- // n.F_Id + '">修改</botton></td></tr>';
- })
- $(htmls).appendTo($(".BLQK"));
- //三级办理情况
- var SJhtmls = '';
- if(result.data.ejbldata.length < 0) {
- SJhtmls = '<tr>' +
- '<td class="text-center">' + n.UserName + '</td>' +
- '</tr>';
- }
- $(result.data.ejbldata).each(function(i, n) {
- var bval = n.F_Type;
- switch(bval + '') {
- case '1':
- bval = '主办';
- break;
- case '2':
- bval = '协办';
- break;
- }
- //是否有处理结果
- var isProResultValue = n.F_IsProResult + "";
- switch(isProResultValue) {
- case "0":
- isProResultValue = "默认";
- break;
- case "1":
- isProResultValue = "是";
- break;
- case "2":
- isProResultValue = "否";
- break;
- }
- //是否满意
- var isSatisfiedValue = n.F_IsSatisfied + "";
- switch(isSatisfiedValue) {
- case "0":
- isSatisfiedValue = "未评价";
- break;
- case "1":
- isSatisfiedValue = "满意";
- break;
- case "2":
- isSatisfiedValue = "基本满意";
- break;
- case "3":
- isSatisfiedValue = "不满意";
- break;
- }
- //沟通时间
- var connectTimeValue = n.F_ConnectTime;
- switch(connectTimeValue) {
- case null:
- connectTimeValue = "";
- break;
- default:
- connectTimeValue = n.F_ConnectTime;
- }
- //职务
- var dutiesValue
- switch(n.F_Duties) {
- case "":
- dutiesValue = ""
- break;
- case null:
- dutiesValue = ""
- break;
- default:
- dutiesValue = n.F_Duties
- break;
- }
- //处理情况
- var situationValue
- switch(n.F_Situation) {
- case "":
- situationValue = ""
- break;
- case null:
- situationValue = ""
- break;
- default:
- situationValue = n.F_Situation
- break;
- }
- SJhtmls += '<tr>' +
- '<td class="text-center">' + n.F_DealUser + '</td>' +
- '<td class="text-center">' + n.F_DealUserContact +
- '</td>' +
- '<td class="text-center">' + dutiesValue + '</td>' +
- '<td class="text-center">' + situationValue + '</td>' +
- '<td class="text-center">' + n.DeptName + '</td>' +
- '<td class="text-center" data-formatter="shtype">' +
- bval + '</td>' +
- '<td class="text-center">' + n.F_Result + '</td>' +
- '<td class="text-center">' + n.F_CreateTime + '</td>' +
- '<td class="text-center">' + isProResultValue +
- '</td>' +
- '<td class="text-center">' + n.F_ProSituation +
- '</td>' +
- '<td class="text-center">' + connectTimeValue +
- '</td>' +
- '<td class="text-center">' + n.F_ConnectMode + '</td>' +
- '<td class="text-center">' + isSatisfiedValue +
- '</td>' +
- '<td class="text-center">'
- //办理情况附件
- var FileHtml;
- $(n.File).each(function(j, m) {
- if(m.F_FileType == ".jpg" || m.F_FileType ==
- ".png") {
- FileHtml =
- '<img style="width:15px; height:15px" border="0" src="' +
- m.F_FileUrl + '" alt="' + m.F_FileName +
- '">'
- } else {
- FileHtml = m.F_FileName.substring(19)
- }
- SJhtmls +=
- '<div><a style="margin-right:5px;" target="view_window" href="' +
- m.F_FileUrl + '" download="' + m
- .F_FileName + '">' + m.F_FileName.substring(
- 19) + '</a></div>';
- })
- SJhtmls += '</tr>'
- })
- $(SJhtmls).appendTo($(".SJBLQK"));
- //回访内容
- var htmlss = '';
- if(result.data.hfdata.length < 0) {
- htmlss = '<tr>' +
- '<td class="text-center">' + n.UserName + '</td>' +
- '</tr>';
- } else {
- $(".HGXX").empty();
- $(result.data.hfdata).each(function(i, n) {
- var a;
- var b;
- if(n.F_IsSatisfie == 0) {
- a = "不满意";
- } else if(n.F_IsSatisfie == 1) {
- a = "满意";
- } else if(n.F_IsSatisfie == 2) {
- a = "基本满意";
- }
- if(n.F_Type == 0) {
- b = "电话";
- } else if(n.F_Type == 1) {
- b = "微信";
- } else if(n.F_Type == 2) {
- b = "APP";
- } else if(n.F_Type == 3) {
- b = "网站";
- } else if(n.F_Type == 4) {
- b = "微博";
- } else if(n.F_Type == 5) {
- b = "信箱";
- }
- htmlss += '<tr>' +
- '<td class="text-center">' + (i + 1) + '</td>' +
- '<td class="text-center">' + n.F_VisitUser +
- '</td>' +
- '<td class="text-center">' + b + '</td>' +
- '<td class="text-center">' + n.F_Result + '</td>' +
- '<td class="text-center">' + a + '</td>' +
- '<td class="text-center">' + n.F_CreateTime +
- '</td>' +
- '<td class="text-center authority">' +
- '<botton class="btns HFXG " index="' + n.F_Id +
- '" visituser="' + n.F_VisitUser + '"' +
- 'result="' + n.F_Result + '" callid="" type="' + n
- .F_Type + '" issatisfie="' + n.F_IsSatisfie +
- '">修改</botton>' +
- '</td>' +
- '</tr>';
- })
- $(htmlss).appendTo($(".HGXX"));
- //交办信息
- var jbxx = '';
- $(".JBXX").empty();
- $(result.data.jbdata).each(function(i, n) {
- var OtherDeptName = n.OtherDeptName == null ? '-' : n
- .OtherDeptName;
- var StandardNames = n.StandardNames == null ? '-' : n
- .StandardNames;
- jbxx += '<tr>' +
- '<td class="text-center">' + (i + 1) + '</td>' +
- '<td class="text-center">' + n.F_CreateTime +
- '</td>' +
- '<td class="text-center">' + n.F_LimitTime +
- '</td>' +
- '<td class="text-center">' + n.DeptName + '</td>' +
- '<td class="text-center">' + n.F_AssignedOpinion +
- '</td>' +
- '<td class="text-center authority"><botton class="btns XGXX " data_time="' +
- n.F_LimitTime + '" data_Opinio="' + n
- .F_AssignedOpinion + '" index="' + n.F_Id +
- '">修改</botton></td>' +
- '</tr>';
- })
- $(jbxx).appendTo($(".JBXX"));
- //领导关注
- $(".LDPS").empty();
- $(result.data.psdata).each(function(i, n) {
- var str = '<tr>' +
- '<td class="text-center">' + n.F_BatchReason +
- '</td>' +
- '<td class="text-center">' + n.F_SuperOpinion +
- '</td>' +
- '<td class="text-center">' + n.F_CreateTime
- str += '</td>' +
- '</tr>';
- $(str).appendTo($(".LDPS"));
- })
- //督办信息
- var htmlsss = '';
- if(result.data.dbdata.length < 0) {
- htmlsss = '<tr>' +
- '<td class="text-center">' + n.UserName + '</td>' +
- '</tr>';
- } else {
- $(".DBXX").empty();
- $(result.data.dbdata).each(function(i, n) {
- htmlsss = htmlsss + '<tr>' +
- '<td class="text-center">' + (i + 1) + '</td>' +
- '<td class="text-center">' + n.UserName +
- '</td>' +
- '<td class="text-center">' + n.F_Content +
- '</td>' +
- '<td class="text-center">' + n.F_CreateTime +
- '</td>' +
- '</tr>';
- })
- $(htmlsss).appendTo($(".DBXX"));
- //监察
- var html_ = '';
- $(".JC").empty();
- $(result.data.jcdata).each(function(i, n) {
- html_ += '<tr>' +
- '<td class="text-center">' + (i + 1) + '</td>' +
- '<td class="text-center">' + n.UserName +
- '</td>' +
- '<td class="text-center">' + n.F_Content +
- '</td>' +
- '<td class="text-center">' + n.F_CreateTime +
- '</td>' +
- '</tr>';
- })
- $(html_).appendTo($(".JC"));
- //延时审核
- var Ysh = '';
- $(".YSSHS").empty();
- $(result.data.ysdata).each(function(i, n) {
- var a = '未审核';
- if(n.F_IsAudit == '1') {
- a = '同意';
- }
- if(n.F_IsAudit == '2') {
- a = '拒绝';
- }
- Ysh += '<tr>' +
- '<td class="text-center">' + (i + 1) + '</td>' +
- '<td class="text-center">' + a + '</td>' +
- '<td class="text-center">' + n.F_NewTime +
- '</td>' +
- '<td class="text-center">' + n.F_Reason +
- '</td>' +
- '<td class="text-center">' + n.F_AgreeTime +
- '</td>' +
- '<td class="text-center">' + n.F_RefuseReason +
- '</td>' +
- '<td class="text-center authority"><botton class="btns LYSSH " index="' +
- n.F_Id + '" reason="' + n.F_RefuseReason +
- '" >修改</botton></td>' +
- '</tr>';
- })
- $(Ysh).appendTo($(".YSSHS"));
- //退回审核
- var Ths = '';
- $(".YTHHS").empty();
- $(result.data.thdata).each(function(i, n) {
- var a = '未审核';
- var AuditTime;
- var AuditReason;
- if(n.F_IsAudit == '1') {
- a = '同意';
- }
- if(n.F_IsAudit == '2') {
- a = '拒绝';
- }
- if(n.F_AuditTime == null) {
- AuditTime = "";
- } else {
- AuditTime = n.F_AuditTime
- }
- if(n.F_AuditReason == null) {
- AuditReason = '';
- } else {
- AuditReason = n.F_AuditReason
- }
- Ths += '<tr>' +
- '<td class="text-center">' + (i + 1) + '</td>' +
- '<td class="text-center">' + n.F_CreateTime +
- '</td>' +
- '<td class="text-center">' + n.DeptName +
- '</td>' +
- '<td class="text-center">' + n.F_Result +
- '</td>' +
- '<td class="text-center">' + a + '</td>' +
- '<td class="text-center">' + AuditTime +
- '</td>' +
- '<td class="text-center">' + AuditReason +
- '</td>' +
- '<td class="text-center authority"><botton class="btns LTHSH " index="' +
- n.F_Id + '" reason="' + n.F_AuditReason +
- '" >修改</botton></td>' +
- '</tr>';
- })
- $(Ths).appendTo($(".YTHHS"));
- //办理过程
- $("#BLGC_").empty();
- if($.cookie('code') != 'WLDW' && $.cookie('code') !=
- 'EJWLDW') {
- $(result.data.gcdata).each(function(i, n) {
- var html = '<tr>' +
- '<td class="text-center">' + (i + 1) +
- '</td>' +
- '<td class="text-center">' + n.czusername +
- '</td>' +
- '<td class="text-center">' + n.msginfos +
- '</td>' +
- '<td class="text-center">' + n
- .F_CreateTime + '</td>' +
- '</tr>';
- $(html).appendTo($("#BLGC_"));
- });
- }
- }
- }
- //转媒体按钮显示或隐藏
- if(result.data.issend == '1') {
- $(".mediaTransfer").show();
- } else {
- $(".mediaTransfer").hide();
- }
- //修改按钮显示或隐藏
- if(result.data.isedit == '1' || $.cookie("code") == "ZXLD") {
- $(".authority").show();
- } else {
- $(".authority").hide();
- }
- //修改交办意见
- $('.XGXX').click(function() {
- var index = $(this).attr('index');
- layer.open({
- type: 2,
- content: "../CommonHtml/XGjiaoban.html?wid=" +
- index, //iframe的url,no代表不显示滚动条
- title: '修改交办信息',
- area: ['48%', '60%'], //宽高
- });
- })
- //修改回访意见
- $(".HFXG").click(function() {
- var index = $(this).attr('index');
- layer.open({
- type: 2,
- content: "../CommonHtml/XGHF.html?wid=" +
- index, //iframe的url,no代表不显示滚动条
- title: '修改回访信息',
- area: ['58%', '60%'], //宽高
- });
- });
- //修改回访意见
- $(".editFile").click(function() {
- var index = $(this).attr('index');
- layer.open({
- type: 2,
- content: "../CommonHtml/updatingFiles.html?wid=" + index + "&fileType=1", //iframe的url,no代表不显示滚动条
- title: '修改附件',
- area: ['58%', '60%'], //宽高
- });
- });
- //修改回访意见
- $(".editScanFile").click(function() {
- var index = $(".DH").text();
- layer.open({
- type: 2,
- content: "../CommonHtml/updatingFiles.html?wid=" + index + "&fileType=2", //iframe的url,no代表不显示滚动条
- title: '修改扫描件',
- area: ['58%', '60%'], //宽高
- });
- });
- //修改回退信息
- $(".HtxxBtn").click(function() {
- var index = $(this).attr('index');
- layer.open({
- type: 2,
- content: "../CommonHtml/BackDatil.html?wid=" +
- index + '&tab=0', //iframe的url,no代表不显示滚动条
- title: '修改回退信息',
- area: ['58%', '60%'], //宽高
- })
- })
- //修改审核延时
- $(".LYSSH").click(function() {
- var index = $(this).attr('index');
- layer.open({
- type: 2,
- content: "../CommonHtml/YSSH.html?wid=" +
- index, //iframe的url,no代表不显示滚动条
- title: '修改延时审核',
- area: ['58%', '60%'], //宽高
- })
- })
- //修改退回审核
- $(".LTHSH").click(function() {
- var index = $(this).attr('index');
- layer.open({
- type: 2,
- content: "../CommonHtml/lSHTH.html?wid=" +
- index, //iframe的url,no代表不显示滚动条
- title: '修改退回审核',
- area: ['58%', '60%'], //宽高
- })
- })
- $('.F_CusAddress').click((ev)=>{
- console.dir(ev.target)
- window.open(ev.target.innerText);
- })
- }
- }
- })
- }
- </script>
- </body>
- </html>
|