//查看详情1 function ckxq(str) { layer.open({ type: 2, // content: "../CommonHtml/lawsuits.html?wid=" + str, //iframe的url,no代表不显示滚动条 content: "../CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "工单详情", area: ["100%", "100%"], //宽高 }); } //编辑2 function bj(str) { layer.open({ type: 2, content: "../CommonHtml/AddAppeal.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "编辑工单", area: ["96%", "80%"], //宽高 }); } //删除3 function move(str) { layer.confirm( "确定删除工单?", { btn: ["是", "否"], //按钮 }, function () { $.post( huayi.config.callcenter_url + "WorkOrder/DelWorkOrder", { ids: str, token: $.cookie("token"), }, function (result) { result = JSON.parse(result); if (result.state.toLowerCase() == "success") { debugger; layer.msg("删除成功"); $("#orderlist").bootstrapTable("refresh"); } } ); } ); } //提交4 function tj(str) { layer.confirm( "确定要提交工单么?", { btn: ["确定", "取消"], //按钮 }, function () { //请求后台数据 /*发送请求*/ $.post( huayi.config.callcenter_url + "WorkOrder/SubmitWorkOrder", { ids: str, token: $.cookie("token"), }, function (result) { result = JSON.parse(result); if (result.state.toLowerCase() == "success") { layer.msg("提交成功"); $("#orderlist").bootstrapTable("refresh"); //load(); } } ); } ); } //交办5 function jb(str) { layer.open({ type: 2, content: "../CommonHtml/jiaoban.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "工单交办", area: ["87%", "80%"], //宽高 }); } //领导批示6 function lader(str) { layer.open({ type: 2, content: "../CommonHtml/Leader.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "领导批示", area: ["60%", "80%"], //宽高 }); } //市长批示7 function city(str) { layer.open({ type: 2, content: "../CommonHtml/shizhang.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "市长批示", area: ["60%", "80%"], //宽高 }); } //督办8 function Supervision(str) { layer.open({ type: 2, // content: "../CommonHtml/Supervision_.html?wid=" + str +"&type=1" + "&state=1" + "&pageName=haveAduit", //iframe的url,no代表不显示滚动条 content: "../CommonHtml/Supervision_.html?wid=" + str + "&type=1" + "&state=1", //iframe的url,no代表不显示滚动条 title: "督办", area: ["90%", "90%"], //宽高 }); } //督查9 function Supervision_(str) { layer.open({ type: 2, content: "../CommonHtml/Supervision_.html?wid=" + str + "&type=2", //iframe的url,no代表不显示滚动条 title: "监察", area: ["60%", "80%"], //宽高 }); } //收回10 function sh(str) { layer.confirm( "确定要回收?", { btn: ["是", "否"], //按钮 }, function () { $.post( huayi.config.callcenter_url + "WorkOrder/TakeBackWorkOrder", { workorderid: str, token: $.cookie("token"), }, function (result) { result = JSON.parse(result); if (result.state.toLowerCase() == "success") { layer.msg("回收"); //load(); $("#orderlist").bootstrapTable("refresh"); } } ); } ); } //查收11 function cs(str) { layer.confirm( "确定要查收?", { btn: ["是", "否"], //按钮 }, function () { $.post( huayi.config.callcenter_url + "WorkOrder/ReceiveWorkOrder", { workorderid: str, token: $.cookie("token"), }, function (result) { result = JSON.parse(result); if (result.state.toLowerCase() == "success") { layer.msg("查收成功"); //load(); $("#orderlist").bootstrapTable("refresh"); } } ); } ); } //退回申请12 function th(str) { layer.open({ type: 2, content: "../CommonHtml/tuihuisq.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: '申请退回工单', area: ['60%', '80%'], //宽高 }); } //办理13 function bl(str, isProtect) { layer.open({ type: 2, content: "../CommonHtml/banli.html?wid=" + str + "&isProtect=" + isProtect, //iframe的url,no代表不显示滚动条 title: "办理工单", area: ["60%", "80%"], //宽高 }); } // 申请延时14 function ys(str) { layer.open({ type: 2, content: "../CommonHtml/Timesq.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "申请延时", area: ["60%", "80%"], //宽高 }); } // 审核退回申请15 function shth(str) { layer.open({ type: 2, content: "../CommonHtml/shth.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "审核退回申请", area: ["60%", "80%"], //宽高 }); } // 审核16 function hf(str) { layer.open({ type: 2, content: "../CommonHtml/auditBack.html?wid=" + str, // title: "工单审核", area: ["80%", "80%"], //宽高 }); } // 审核申请延时17 function shys(str) { layer.open({ type: 2, content: "../CommonHtml/shTime.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "审核延时申请", area: ["60%", "80%"], //宽高 }); } // 重办工单18 function cb(str) { layer.open({ type: 2, content: "../CommonHtml/Cb.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "重办工单", area: ["60%", "80%"], //宽高 }); } // 结案19 function Lawsuit(str) { layer.open({ type: 2, content: "../CommonHtml/lawsuits.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "诉求单结案", area: ["60%", "80%"], //宽高 }); } // 导出20 // 回退BackDtail21 function BackDtail(str) { layer.open({ type: 2, content: "../CommonHtml/BackDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "工单督办", area: ["60%", "80%"], //宽高 }); } // 强制结案22 function StrongLawsuit(str) { layer.open({ type: 2, content: "../CommonHtml/StrongLawsuit.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "强制结案", area: ["60%", "80%"], //宽高 }); } // 派单23 function pd(str) { layer.open({ type: 2, content: "../CommonHtml/handle.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "办理工单", area: ["87%", "80%"], //宽高 }); } // 处理审核24 function auditdeal(str) { layer.open({ type: 2, content: "../CommonHtml/processing_audit.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "处理审核", area: ["80%", "80%"], //宽高 }); } // 签收25 function sign(str) { layer.confirm('确定要签收?', { btn: ['是', '否'] //按钮 }, function() { $.post(huayi.config.callcenter_url + "WorkOrder/SignWorkOrder", { workorderid: str, token: $.cookie("token") }, function(result) { result = JSON.parse(result); if(result.state.toLowerCase() == "success") { layer.msg("签收成功"); load(); } }) }); } // 拒收26 function refuse(str) { layer.open({ type: 2, content: "../CommonHtml/rejection.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: '拒收', area: ['60%', '80%'], //宽高 }); } // 撤单27 function withdraw(str) { layer.confirm( "确定撤回?", { btn: ["是", "否"], //按钮 }, function() { $.post( huayi.config.callcenter_url + "WorkOrder/WithdrawDWorkOrder", { workorderid: str, token: $.cookie("token"), }, function(result) { result = JSON.parse(result); if(result.state.toLowerCase() == "success") { layer.msg("撤回成功"); load(); } } ); } ); } // 审核28 function audit(str) { layer.open({ type: 2, content: "../CommonHtml/AuditDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "审核", area: ["60%", "80%"], //宽高 }); } // 转督办29 function zdb(str, row) { layer.open({ type: 2, content: "../CommonHtml/superTrunl.html?wid=" + str + "&depId=" + row, //iframe的url,no代表不显示滚动条 title: "督办工单", area: ["60%", "80%"], //宽高 }); } // 不督办30 function ndb(str) { layer.open({ type: 2, state: 2, content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1' + '&state=2', //iframe的url,no代表不显示滚动条 title: '督办', area: ['60%', '80%'], //宽高 }); } // 提交重办31 function tjcb(str) { layer.open({ type: 2, content: "../CommonHtml/reasonCB.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "提交重办", area: ["50%", "40%"], //宽高 }); } // 驳回重办32 function bhcb(str) { layer.open({ type: 2, content: "../CommonHtml/rejectionCB.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "驳回重办", area: ["60%", "80%"], //宽高 }); } // 履职界定33 function lzjd(str) { layer.open({ type: 2, content: "../CommonHtml/ResumptionDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: '履职界定', area: ['85%', '80%'], //宽高 }) } //界定审核34 function jdsh(str) { layer.open({ type: 2, content: "../CommonHtml/Define_audit.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: '界定审核', area: ['85%', '60%'], //宽高 }) } //审核35 function refuse(str) { layer.open({ type: 2, content: "../CommonHtml/rejection.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: '拒收', area: ['60%', '80%'], //宽高 }); } //退回36 function returnRedo(str) { layer.open({ type: 2, content: "../CommonHtml/returnRedo.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "退回", area: ["50%", "40%"], //宽高 }); } // //催办37 function messagesUrge(str) { layer.confirm('确定催办吗?', { btn: ['是', '否'] //按钮 }, function() { $.post(huayi.config.callcenter_url + 'WorkOrder/Reminders', { workorderid: str, token: $.cookie("token") }, function(result) { result = JSON.parse(result); if(result.state.toLowerCase() == 'success') { var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index); //再执行关闭 layer.msg('催办成功') parent.load(); } }) }); } //退回38 function returnRedoThreeLevel(str) { layer.open({ type: 2, content: "../CommonHtml/returnRedoThreeLevel.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "退回", area: ["60%", "80%"], //宽高 }); } //退回39 function returnAuditor(str) { layer.open({ type: 2, content: "../CommonHtml/returnAuditor.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "退回", area: ['60%', '80%'], //宽高 }); } //修改40 function editProcessingResult(str) { layer.open({ type: 2, content: "../CommonHtml/editProcessingResult.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "修改", area: ["50%", "70%"], //宽高 }); } // 督办查收41 function superviseCheck(str) { layer.confirm('确定要查收?', { btn: ['是', '否'] //按钮 }, function() { $.post(huayi.config.callcenter_url + "workorder/RemindCheck", { workorderid: str, token: $.cookie("token") }, function(result) { result = JSON.parse(result); if(result.state.toLowerCase() == "success") { var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index); //再执行关闭 layer.msg("查收成功"); parent.load(); } }) }); } //督办审核通过42 function superviseReviewThrough(str) { layer.confirm('确定审核通过?', { btn: ['是', '否'] //按钮 }, function() { $.post(huayi.config.callcenter_url + "workorder/RemindApproved", { workorderid: str, token: $.cookie("token") }, function(result) { result = JSON.parse(result); if(result.state.toLowerCase() == "success") { var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index); //再执行关闭 layer.msg("操作成功"); parent.load(); } }) }); } //督办审核拒绝43 function superviseReviewRefuse(str) { layer.open({ type: 2, content: "../CommonHtml/superviseReview.html?wid=" + str + "&review=1", //iframe的url,no代表不显示滚动条 title: '督办审核', area: ['60%', '80%'], //宽高 }); } // 省平台签收44 function provincialPlatformSignup(str) { layer.confirm( "确定签收吗?", { btn: ["是", "否"], //按钮 }, function() { $.post( huayi.config.callcenter_url + "Affairs/SubmitWorkOrder", { ids: str, token: $.cookie("token"), }, function(result) { result = JSON.parse(result); if(result.state.toLowerCase() == "success") { var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index); //再执行关闭 layer.msg("操作成功"); parent.load(); } } ); } ); } // 省平台退回45 function provincialPlatformReturn(str) { layer.open({ type: 2, content: "../CommonHtml/provincialPlatformReturn.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "省平台退回", area: ["70%", "70%"], //宽高 shade: 0, }); } // 省平台申请延时退回 46 type为1 省平台申请延时 48 type为0 function provincialPlatformApplicationDelay(str, type) { layer.open({ type: 2, content: "../CommonHtml/provincialPlatformApplicationDelay.html?wid=" + str + "&type=" + type, //iframe的url,no代表不显示滚动条 title: "省平台申请延时", area: ["70%", "70%"], //宽高 shade: 0, }); } // 省平台反馈47 function provincialPlatformFeedback(str) { layer.open({ type: 2, content: "../CommonHtml/provincialPlatformFeedback.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "省平台反馈", area: ["70%", "70%"], //宽高 shade: 0, }); } // 服务工单上报49 function reportServiceWorkOrder(str) { layer.open({ type: 2, content: "../CommonHtml/provincialPlatformReport.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "省平台上报", area: ["70%", "70%"], //宽高 shade: 0, }); } // 已办未果50 function unsuccessful(str) { layer.confirm('确认已办未果吗?', { btn: ['是', '否'] //按钮 }, function() { $.post(huayi.config.callcenter_url + 'WorkOrder/Transfer', { workorderid: str, "token": $.cookie("token") }, function(result) { result = JSON.parse(result); if(result.state.toLowerCase() == "success") { var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index); //再执行关闭 layer.msg("操作成功"); $("#orderlist").bootstrapTable('refresh'); } }) }); } //审核通过51 function approved(str) { layer.confirm('确认审核通过吗?', { btn: ['是', '否'] // 按钮 }, function() { layer.confirm('是否发送短信?', { btn: ['是', '否'] // 按钮 }, function() { toExamineWorkOrder(str, 1) }, function() { toExamineWorkOrder(str, 0) }); }); } // function toExamineWorkOrder(str, issmsAudit) { $.post(huayi.config.callcenter_url + 'WorkOrder/ToExamineWorkOrder', { workorderid: str, nexttype: 0, // 0审核通过 1审核不通过 2审核通过转办 issms: issmsAudit, "token": $.cookie("token") }, function(result) { result = JSON.parse(result); if(result.state.toLowerCase() == "success") { layer.msg("操作成功"); $("#orderlist").bootstrapTable('refresh'); } }) } //审核不通过52 function auditFailed(str) { layer.open({ type: 2, content: "../CommonHtml/haveDoneToAuditOperation.html?wid=" + str + "&nexttype=1", //iframe的url,no代表不显示滚动条 title: "审核不通过", area: ["50%", "50%"], //宽高 }); } //审核通过转办53 function approvedComplaint(str) { layer.open({ type: 2, content: "../CommonHtml/haveDoneToAuditOperation.html?wid=" + str + "&nexttype=2", //iframe的url,no代表不显示滚动条 title: "审核通过转办", area: ["50%", "50%"], //宽高 }); } //审核通过54 function auditMultimediaThrough(str) { layer.open({ type: 2, content: "../CommonHtml/auditMultimedia.html?wid=" + str + "&nexttype=0", //iframe的url,no代表不显示滚动条 title: "审核", area: ["80%", "80%"], //宽高 }); } // 审核不通过55 function auditMultimediaNotThrough(str) { layer.open({ type: 2, content: "../CommonHtml/auditMultimedia.html?wid=" + str + "&nexttype=1", //iframe的url,no代表不显示滚动条 title: "审核", area: ["80%", "80%"], //宽高 }); } // 回复56 function replyMultimedia(str) { layer.open({ type: 2, content: "../CommonHtml/replyMultimedia.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "回复", area: ["60%", "60%"], //宽高 }); } //审核57 function auditAll(str) { layer.open({ type: 2, content: "../CommonHtml/haveDoneToAuditOperationAll.html?wid=" + str + "&nexttype=1", //iframe的url,no代表不显示滚动条 title: "审核不通过", area: ["50%", "50%"], //宽高 }); } //重推58 function rePush(str) { layer.confirm('确定重推此工单?', { btn: ['是', '否'] //按钮 }, function() { $.post(huayi.config.callcenter_url + "Affairs/ReFinishWorkOrder", { workorderid: str, token: $.cookie("token") }, function(result) { result = JSON.parse(result); if(result.state.toLowerCase() == "success") { var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index); //再执行关闭 layer.msg("重推成功"); parent.load(); } }) }); } //审核申请延时59 function ysThree(str) { layer.open({ type: 2, content: "../CommonHtml/Timesq.html?wid=" + str + '&level=3', //iframe的url,no代表不显示滚动条 title: '审核延时申请', area: ['60%', '80%'], //宽高 }); } //审核申请延时60 function shysThree(str) { layer.open({ type: 2, content: "../CommonHtml/shtime.html?wid=" + str + '&auditInfoType=4', //iframe的url,no代表不显示滚动条 title: "审核延时申请", area: ["60%", "80%"], //宽高 }); } //转110 61 function transferOneHun(str) { layer.confirm( "确定要转110吗?", { btn: ["是", "否"], //按钮 }, function() { $.post( huayi.config.callcenter_url + "APPS/PushWorkOrder", { workorderid: str, token: $.cookie("token"), }, function(result) { result = JSON.parse(result); if(result.state.toLowerCase() == "success") { var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index); //再执行关闭 layer.msg("操作成功"); parent.load(); } } ); } ); } //市平台申请延期 62 function ysShi(str) { layer.open({ type: 2, content: "../CommonHtml/shiTimesq.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "市平台申请延时", area: ["70%", "70%"], //宽高 shade: 0, }); } //转知识库 63 //function changeknowledge(wid, tit, con) { // console.log(wid, tit, con) // var knowkey = '' // $.ajax({ // type: "get", // url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrderNew", // dataType: 'json', // async: false, // data: { // workorderid: wid, // type: 0, // token: $.cookie("token") // }, // success: function(result) { // if(result.state.toLowerCase() == "success") { // var Data = result.data.data; // knowkey = Data[0].F_Key // changeKnowLayer(tit, con, knowkey) // } // } // }) // console.log(knowkey, 'knowkey') //} //转知识库 63 function changeknowledge(wid, tit, con) { console.log(wid, tit, con) layer.confirm( "确定转知识库?", { btn: ["是", "否"], //按钮 }, function() { $.post( huayi.config.callcenter_url + "Knowledge/AddInfoByGD", { workorderid:wid, token: $.cookie("token"), }, function(result) { result = JSON.parse(result); if(result.state == "success") { layer.msg("操作成功"); load(); } } ); } ); } //转非营商 64 function doNotBusiness(str) { layer.confirm( "确定要转为非营商工单吗?", { btn: ["是", "否"], //按钮 }, function() { $.post( huayi.config.callcenter_url + "WorkOrder/Reseller", { workorderid: str, type: 0, token: $.cookie("token"), }, function(result) { result = JSON.parse(result); if(result.state == "success") { var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index); //再执行关闭 layer.msg("操作成功"); parent.load(); } } ); } ); } //转营商 65 function doBusiness(str) { layer.confirm( "确定要转为营商工单吗?", { btn: ["是", "否"], //按钮 }, function() { $.post( huayi.config.callcenter_url + "WorkOrder/Reseller", { workorderid: str, type: 1, token: $.cookie("token"), }, function(result) { result = JSON.parse(result); if(result.state == "success") { var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 parent.layer.close(index); //再执行关闭 layer.msg("操作成功"); parent.load(); } } ); } ); } // 不计入考核 66 function noExamine(str) { layer.confirm( "确定要不计入考核吗?", { btn: ["是", "否"], //按钮 }, function() { $.post( huayi.config.callcenter_url + "WorkOrder/Examine", { workorderid: str, state: 0, token: $.cookie("token"), }, function(result) { result = JSON.parse(result); if(result.state == "success") { var index = layer.getFrameIndex(window.name); //先得到当前iframe层的索引 layer.close(index); //再执行关闭 layer.msg("操作成功"); load(); } } ); } ); } // 纪委退回 function returnDiscipline(str) { layer.open({ type: 2, content: "../CommonHtml/returnDiscipline.html?wid=" + str, //iframe的url,no代表不显示滚动条 title: "退回", area: ['60%', '80%'], //宽高 }); }