| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501 |
- //查看详情1
- function ckxq(str) {
- console.log(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) {
- console.log(str)
- if(str[0] !== '频'){
- layer.open({
- type: 2,
- content: "../Appeal/AddAppeal.html?wid=" + str, //iframe的url,no代表不显示滚动条
- title: "编辑工单",
- area: ["96%", "80%"], //宽高
- });
- }else{
- layer.open({
- type: 2,
- content: "../Appeal/AddAppealPF.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") {
- 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) {
- console.log(str)
- if(str[0] !== '频'){
- layer.open({
- type: 2,
- content: "../CommonHtml/jiaoban.html?wid=" + str, //iframe的url,no代表不显示滚动条
- title: "工单交办",
- area: ["87%", "80%"], //宽高
- });
- }else{
- layer.open({
- type: 2,
- content: "../CommonHtml/jiaobanPF.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, supervision) {
- layer.open({
- type: 2,
- state: 1,
- content: "../CommonHtml/Supervision_.html?wid=" + str + '&type=1' + '&state=1' + '&depId=' +
- supervision + "&pageName=superviseUpcoming", //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/Back.html?wid=" + str, //iframe的url,no代表不显示滚动条
- title: "工单审核",
- area: ["60%", "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: "../Appeal/AddAppeal.html?wid=" + str + "&workType=cb", //iframe的url,no代表不显示滚动条
- title: "重办工单",
- area: ["95%", "95%"], //宽高
- });
- }
- //结案19
- function Lawsuit(str) {
- layer.open({
- type: 2,
- content: "../CommonHtml/StrongLawsuit.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/WithdrawWorkOrder", {
- 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 gdhc(str){
- layer.open({
- type: 2,
- content: "../CommonHtml/huichuan.html?wid=" + str, //iframe的url,no代表不显示滚动条
- title: '回传',
- area: ['70%', '80%'], //宽高
- });
- }
- //编辑办理35
- function editProcessingResult(str) {
- layer.open({
- type: 2,
- content: "../CommonHtml/editProcessingResult.html?wid=" + str, //iframe的url,no代表不显示滚动条
- title: "修改",
- area: ["50%", "70%"], //宽高
- });
- }
- //扫描件上传36
- function updatingFiles(str){
- layer.open({
- type: 2,
- content: "../CommonHtml/updatingFiles.html?wid=" + str, //iframe的url,no代表不显示滚动条
- title: '扫描件上传',
- area: ['50%', '40%'], //宽高
- });
- }
- //备注37
- function remarks(str){
- layer.open({
- type: 2,
- content: "../CommonHtml/remarks.html?wid=" + str, //iframe的url,no代表不显示滚动条
- title: '备注',
- area: ['60%', '45%'], //宽高
- });
- }
- //二次转派38
- function Runsend(str){
- layer.open({
- type: 2,
- content: "../CommonHtml/jiaoban.html?wid=" + str + "&secondTurnFlag=1", //iframe的url,no代表不显示滚动条
- title: '二次转派',
- area: ['87%', '80%'], //宽高
- });
- }
- //提交重办39
- function Reloadsuber(str){
- layer.open({
- type: 2,
- content: "../CommonHtml/reasonCB.html?wid=" + str + "&reasonCBFlag=1", //iframe的url,no代表不显示滚动条
- title: '提交重办工单',
- area: ['60%', '80%'], //宽高
- });
- }
- //催办40
- function remindBtn(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") {
- layer.msg("催办成功");
- $("#orderlist").bootstrapTable('refresh');
- }
- })
- });
- }
- //退回郑州市41
- function backCity(str){
- layer.open({
- type: 2,
- content: "../CommonHtml/backcity.html?wid=" + str, //iframe的url,no代表不显示滚动条
- title: '退回',
- area: ['60%', '45%'], //宽高
- });
- }
- // 打开新窗口
- function openWindow (url){
- window.open(url);
- }
|