|
|
@@ -356,10 +356,9 @@
|
|
356
|
356
|
<td class="text-center" style="min-width:100px;">操作时间</td>
|
|
357
|
357
|
<td class="text-center" style="min-width:100px;">回访号码</td>
|
|
358
|
358
|
<td class="text-center" style="min-width:100px;">录音</td>
|
|
359
|
|
- <td class="text-center authority" style="min-width:100px;">操作</td>
|
|
360
|
359
|
</tr>
|
|
361
|
360
|
</theard>
|
|
362
|
|
- <tbody class="HGXX">
|
|
|
361
|
+ <tbody class="HGXX1">
|
|
363
|
362
|
</tbody>
|
|
364
|
363
|
</table>
|
|
365
|
364
|
</div>
|
|
|
@@ -745,6 +744,9 @@
|
|
745
|
744
|
<!--回访信息-->
|
|
746
|
745
|
<div class="complain DCL">
|
|
747
|
746
|
<div style="width: 100%;padding: 10px;">
|
|
|
747
|
+ <div class="btn_box visitLimit" style="text-align: right; margin: 5px; display: none;">
|
|
|
748
|
+ <button class="btns" onclick="visitHandle()">添加回访记录</button>
|
|
|
749
|
+ </div>
|
|
748
|
750
|
<table class="Table" border="" cellspacing="0" cellpadding="0">
|
|
749
|
751
|
<theard>
|
|
750
|
752
|
<tr>
|
|
|
@@ -756,7 +758,7 @@
|
|
756
|
758
|
<td class="text-center" style="min-width:100px;">操作时间</td>
|
|
757
|
759
|
<td class="text-center" style="min-width:100px;">回访号码</td>
|
|
758
|
760
|
<td class="text-center" style="min-width:100px;">录音</td>
|
|
759
|
|
- <!-- <td class="text-center authority" style="min-width:100px;">操作</td> -->
|
|
|
761
|
+ <td class="text-center visitLimit" style="min-width:100px; display: none">操作</td>
|
|
760
|
762
|
</tr>
|
|
761
|
763
|
</theard>
|
|
762
|
764
|
<tbody class="HGXX">
|
|
|
@@ -908,7 +910,7 @@
|
|
908
|
910
|
<script src="../js/sm2/sm2.js"></script>
|
|
909
|
911
|
<script src="../js/sm2/decrypt.js"></script>
|
|
910
|
912
|
<script src="../js/WorkOrder/CommonOperation.js"></script>
|
|
911
|
|
-
|
|
|
913
|
+ <script src="./js/orderDetail.js"></script>
|
|
912
|
914
|
<script>
|
|
913
|
915
|
var wid = helper.request.queryString("wid");
|
|
914
|
916
|
var check = helper.request.queryString("check");
|
|
|
@@ -1036,26 +1038,215 @@
|
|
1036
|
1038
|
$(".content-wrapper").hide();
|
|
1037
|
1039
|
}
|
|
1038
|
1040
|
|
|
1039
|
|
- //操作
|
|
1040
|
|
- function Dispose(val, row,buttons) {
|
|
1041
|
|
- var Rows = buttons;
|
|
1042
|
|
- var html = "";
|
|
1043
|
|
- for(var i = 0; i < Rows.length; i++) {
|
|
1044
|
|
- var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
|
|
1045
|
|
- if(html1) {
|
|
1046
|
|
- html1 = html1.replace("data", val);
|
|
1047
|
|
- html1 = html1.replace("isProtect", row.F_IsProtect);
|
|
1048
|
|
- html1 = html1.replace("row", row.F_MainDeptId);
|
|
1049
|
|
- html1 = html1.replace("state", row.F_WorkState);
|
|
1050
|
|
- html1 = html1.replace("zhcxtit", row.F_ComTitle);
|
|
1051
|
|
- html1 = html1.replace("zhcxcon", row.F_Result);
|
|
|
1041
|
+
|
|
|
1042
|
+
|
|
|
1043
|
+
|
|
|
1044
|
+ //修改交办意见
|
|
|
1045
|
+ $('.XGXX').click(function() {
|
|
|
1046
|
+ var index = $(this).attr('index');
|
|
|
1047
|
+ layer.open({
|
|
|
1048
|
+ type: 2,
|
|
|
1049
|
+ content: "../CommonHtml/XGjiaoban.html?wid=" +
|
|
|
1050
|
+ index, //iframe的url,no代表不显示滚动条
|
|
|
1051
|
+ title: '修改交办信息',
|
|
|
1052
|
+ area: ['48%', '40%'], //宽高
|
|
|
1053
|
+ });
|
|
|
1054
|
+
|
|
|
1055
|
+ })
|
|
|
1056
|
+ //修改回访意见
|
|
|
1057
|
+ $(".HFXG").click(function() {
|
|
|
1058
|
+ var index = $(this).attr('index');
|
|
|
1059
|
+ layer.open({
|
|
|
1060
|
+ type: 2,
|
|
|
1061
|
+ content: "../CommonHtml/XGHF.html?wid=" +
|
|
|
1062
|
+ index, //iframe的url,no代表不显示滚动条
|
|
|
1063
|
+ title: '修改回访信息',
|
|
|
1064
|
+ area: ['58%', '60%'], //宽高
|
|
|
1065
|
+ });
|
|
|
1066
|
+ });
|
|
|
1067
|
+ //领导批示
|
|
|
1068
|
+ $(".LDPSS").click(function() {
|
|
|
1069
|
+ var index = $(this).attr('index'); //批示ID
|
|
|
1070
|
+ var superuser = $(this).attr('superuser'); //批示人
|
|
|
1071
|
+ var superopinion = $(this).attr("superopinion"); //批示内容
|
|
|
1072
|
+ var type = $(this).attr("type"); //批示类型
|
|
|
1073
|
+ layer.open({
|
|
|
1074
|
+ type: 2,
|
|
|
1075
|
+ content: "../CommonHtml/LDPS.html?wid=" +
|
|
|
1076
|
+ index + "&type=" +
|
|
|
1077
|
+ type, //iframe的url,no代表不显示滚动条
|
|
|
1078
|
+ title: '修改领导批示信息',
|
|
|
1079
|
+ area: ['58%', '60%'], //宽高
|
|
|
1080
|
+ })
|
|
|
1081
|
+ });
|
|
|
1082
|
+
|
|
|
1083
|
+ //修改回退信息
|
|
|
1084
|
+ $(".HtxxBtn").click(function() {
|
|
|
1085
|
+ var index = $(this).attr('index');
|
|
|
1086
|
+ layer.open({
|
|
|
1087
|
+ type: 2,
|
|
|
1088
|
+ content: "../CommonHtml/BackDatil.html?wid=" +
|
|
|
1089
|
+ index + '&tab=0', //iframe的url,no代表不显示滚动条
|
|
|
1090
|
+ title: '修改回退信息',
|
|
|
1091
|
+ area: ['58%', '60%'], //宽高
|
|
|
1092
|
+ })
|
|
|
1093
|
+ })
|
|
|
1094
|
+ //修改审核延时
|
|
|
1095
|
+ $(".LYSSH").click(function() {
|
|
|
1096
|
+ var index = $(this).attr('index');
|
|
|
1097
|
+ layer.open({
|
|
|
1098
|
+ type: 2,
|
|
|
1099
|
+ content: "../CommonHtml/YSSH.html?wid=" +
|
|
|
1100
|
+ index, //iframe的url,no代表不显示滚动条
|
|
|
1101
|
+ title: '修改延时审核',
|
|
|
1102
|
+ area: ['58%', '60%'], //宽高
|
|
|
1103
|
+ })
|
|
|
1104
|
+ })
|
|
|
1105
|
+ //修改退回审核
|
|
|
1106
|
+ $(".LTHSH").click(function() {
|
|
|
1107
|
+ var index = $(this).attr('index');
|
|
|
1108
|
+ layer.open({
|
|
|
1109
|
+ type: 2,
|
|
|
1110
|
+ content: "../CommonHtml/lSHTH.html?wid=" +
|
|
|
1111
|
+ index, //iframe的url,no代表不显示滚动条
|
|
|
1112
|
+ title: '修改退回审核',
|
|
|
1113
|
+ area: ['58%', '60%'], //宽高
|
|
|
1114
|
+ })
|
|
|
1115
|
+ })
|
|
|
1116
|
+
|
|
|
1117
|
+ //转公开
|
|
|
1118
|
+ $('.publicTransfer').click(function() {
|
|
|
1119
|
+ layer.open({
|
|
|
1120
|
+ content: '是否要转公开?',
|
|
|
1121
|
+ btn: ['是', '否'],
|
|
|
1122
|
+ yes: function(index, layero) {
|
|
|
1123
|
+ $.post(huayi.config.callcenter_url + "WorkOrder/ReleaseWorkOrder", {
|
|
|
1124
|
+ workorderid: wid, //工单编号
|
|
|
1125
|
+ isrelease: 1, //(0撤回,1转媒体)
|
|
|
1126
|
+ isopen: 1,
|
|
|
1127
|
+ token: $.cookie("token")
|
|
|
1128
|
+ }, function(result) {
|
|
|
1129
|
+ var data = JSON.parse(result);
|
|
|
1130
|
+ if(data.state == "success") {
|
|
|
1131
|
+ $(".publicTransfer").hide();
|
|
|
1132
|
+ var index = parent.layer.getFrameIndex(window
|
|
|
1133
|
+ .name); //先得到当前iframe层的索引
|
|
|
1134
|
+ parent.layer.close(index); //再执行关闭
|
|
|
1135
|
+ parent.$('#orderlist').bootstrapTable('refresh');
|
|
|
1136
|
+ parent.layer.msg("转公开成功");
|
|
|
1137
|
+ }
|
|
|
1138
|
+ })
|
|
|
1139
|
+ }
|
|
|
1140
|
+ })
|
|
|
1141
|
+ });
|
|
|
1142
|
+
|
|
|
1143
|
+ //转媒体
|
|
|
1144
|
+ $('.mediaTransfer').click(function() {
|
|
|
1145
|
+ layer.open({
|
|
|
1146
|
+ content: '是否要转媒体?',
|
|
|
1147
|
+ btn: ['是', '否'],
|
|
|
1148
|
+ yes: function(index, layero) {
|
|
|
1149
|
+ $.post(huayi.config.callcenter_url + "WorkOrder/MediaWorkOrder", {
|
|
|
1150
|
+ workorderid: wid, //工单编号
|
|
|
1151
|
+ isrelease: 1, //(0撤回,1转媒体)
|
|
|
1152
|
+ token: $.cookie("token")
|
|
|
1153
|
+ }, function(result) {
|
|
|
1154
|
+ var data = JSON.parse(result);
|
|
|
1155
|
+ if(data.state == "success") {
|
|
|
1156
|
+ $(".mediaTransfer").hide();
|
|
|
1157
|
+ var index = parent.layer.getFrameIndex(window
|
|
|
1158
|
+ .name); //先得到当前iframe层的索引
|
|
|
1159
|
+ parent.layer.close(index); //再执行关闭
|
|
|
1160
|
+ parent.$('#orderlist').bootstrapTable('refresh');
|
|
|
1161
|
+ parent.layer.msg("操作成功");
|
|
|
1162
|
+ }
|
|
|
1163
|
+ })
|
|
1052
|
1164
|
}
|
|
1053
|
|
- html += html1;
|
|
|
1165
|
+ })
|
|
|
1166
|
+ });
|
|
|
1167
|
+
|
|
|
1168
|
+ // 撤销子工单
|
|
|
1169
|
+ $('.cancelChildWorkOrder').click(function() {
|
|
|
1170
|
+ layer.open({
|
|
|
1171
|
+ content: '是否要撤销?',
|
|
|
1172
|
+ btn: ['是', '否'],
|
|
|
1173
|
+ yes: function(index, layero) {
|
|
|
1174
|
+ $.post(huayi.config.callcenter_url + "WorkOrder/DisassociateWorkOrder", {
|
|
|
1175
|
+ workorderid: wid, //工单编号
|
|
|
1176
|
+ token: $.cookie("token")
|
|
|
1177
|
+ }, function(result) {
|
|
|
1178
|
+ var data = JSON.parse(result);
|
|
|
1179
|
+ if(data.state == "success") {
|
|
|
1180
|
+ $(".cancelChildWorkOrder").hide();
|
|
|
1181
|
+ var index = parent.layer.getFrameIndex(window
|
|
|
1182
|
+ .name); //先得到当前iframe层的索引
|
|
|
1183
|
+ parent.layer.close(index); //再执行关闭
|
|
|
1184
|
+ parent.$('#orderlist').bootstrapTable('refresh');
|
|
|
1185
|
+ parent.layer.msg("操作成功");
|
|
|
1186
|
+ }
|
|
|
1187
|
+ })
|
|
|
1188
|
+ }
|
|
|
1189
|
+ })
|
|
|
1190
|
+ });
|
|
|
1191
|
+
|
|
|
1192
|
+ //修改
|
|
|
1193
|
+ $(".change").click(function() {
|
|
|
1194
|
+
|
|
|
1195
|
+ var str = $("#Change").val();
|
|
|
1196
|
+ layer.open({
|
|
|
1197
|
+ type: 2,
|
|
|
1198
|
+ content: "../CommonHtml/XGwordel.html?wid=" + str, //iframe的url,no代表不显示滚动条
|
|
|
1199
|
+ title: '修改交办信息',
|
|
|
1200
|
+ area: ['80%', '80%'], //宽高
|
|
|
1201
|
+ })
|
|
|
1202
|
+ })
|
|
|
1203
|
+ //退回
|
|
|
1204
|
+ $(".return").click(function() {
|
|
|
1205
|
+ layer.open({
|
|
|
1206
|
+ type: 2,
|
|
|
1207
|
+ content: "../CommonHtml/tuihuisq.html?wid=" + wid, //iframe的url,no代表不显示滚动条
|
|
|
1208
|
+ title: "申请退回工单",
|
|
|
1209
|
+ area: ["60%", "80%"], //宽高
|
|
|
1210
|
+ });
|
|
|
1211
|
+ })
|
|
|
1212
|
+
|
|
|
1213
|
+ $(".applicationDelay").click(function() {
|
|
|
1214
|
+ layer.open({
|
|
|
1215
|
+ type: 2,
|
|
|
1216
|
+ content: "../CommonHtml/Timesq.html?wid=" + wid, //iframe的url,no代表不显示滚动条
|
|
|
1217
|
+ title: "申请延时",
|
|
|
1218
|
+ area: ["60%", "80%"], //宽高
|
|
|
1219
|
+ });
|
|
|
1220
|
+ })
|
|
|
1221
|
+ $(".handle").click(function() {
|
|
|
1222
|
+ layer.open({
|
|
|
1223
|
+ type: 2,
|
|
|
1224
|
+ content: "../CommonHtml/banli.html?wid=" + wid + "&isProtect=" +
|
|
|
1225
|
+ isProtect, //iframe的url,no代表不显示滚动条
|
|
|
1226
|
+ title: "办理工单",
|
|
|
1227
|
+ area: ["60%", "80%"], //宽高
|
|
|
1228
|
+ });
|
|
|
1229
|
+ })
|
|
|
1230
|
+ });
|
|
|
1231
|
+ //操作
|
|
|
1232
|
+ function Dispose(val, row,buttons) {
|
|
|
1233
|
+ var Rows = buttons;
|
|
|
1234
|
+ var html = "";
|
|
|
1235
|
+ for(var i = 0; i < Rows.length; i++) {
|
|
|
1236
|
+ var html1 = huayi.config.arr[Rows[i].key * 1 - 1];
|
|
|
1237
|
+ if(html1) {
|
|
|
1238
|
+ html1 = html1.replace("data", val);
|
|
|
1239
|
+ html1 = html1.replace("isProtect", row.F_IsProtect);
|
|
|
1240
|
+ html1 = html1.replace("row", row.F_MainDeptId);
|
|
|
1241
|
+ html1 = html1.replace("state", row.F_WorkState);
|
|
|
1242
|
+ html1 = html1.replace("zhcxtit", row.F_ComTitle);
|
|
|
1243
|
+ html1 = html1.replace("zhcxcon", row.F_Result);
|
|
1054
|
1244
|
}
|
|
1055
|
|
- $(".btnsall").html(html)
|
|
|
1245
|
+ html += html1;
|
|
1056
|
1246
|
}
|
|
1057
|
|
-
|
|
1058
|
|
- function load(type) {
|
|
|
1247
|
+ $(".btnsall").html(html)
|
|
|
1248
|
+ }
|
|
|
1249
|
+ function load(type) {
|
|
1059
|
1250
|
$.ajax({
|
|
1060
|
1251
|
type: "get",
|
|
1061
|
1252
|
url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrderNew",
|
|
|
@@ -1235,6 +1426,7 @@
|
|
1235
|
1426
|
$list.append($liFile);
|
|
1236
|
1427
|
}
|
|
1237
|
1428
|
})
|
|
|
1429
|
+
|
|
1238
|
1430
|
// layer.photos({
|
|
1239
|
1431
|
// photos: '.FJ',
|
|
1240
|
1432
|
// anim: 5, //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数)
|
|
|
@@ -1266,6 +1458,7 @@
|
|
1266
|
1458
|
// '#layui-layer-photos', pic, layero);
|
|
1267
|
1459
|
// },
|
|
1268
|
1460
|
// });
|
|
|
1461
|
+
|
|
1269
|
1462
|
if(State == 0) {
|
|
1270
|
1463
|
var entryTimeDate = new Date(Date.parse(Data[0]
|
|
1271
|
1464
|
.F_CreateTime));
|
|
|
@@ -1544,21 +1737,14 @@
|
|
1544
|
1737
|
str += '<td class="gallerys">'
|
|
1545
|
1738
|
var FileHtml;
|
|
1546
|
1739
|
$(n.File).each(function(j, m) {
|
|
1547
|
|
- if(m.F_FileType == ".jpg" || m
|
|
1548
|
|
- .F_FileType ==
|
|
1549
|
|
- ".png") {
|
|
|
1740
|
+ if(m.F_FileType == ".jpg" || m.F_FileType ==".png") {
|
|
1550
|
1741
|
FileHtml =
|
|
1551
|
1742
|
'<img class="gallery-pic" style="width:60px; height:60px" border="0" ondblclick="$.openPhotoGallery(this)" src="' +
|
|
1552
|
|
- m.F_FileUrl + '" alt="' + m
|
|
1553
|
|
- .F_FileName +
|
|
1554
|
|
- '" fileId="' + m.F_FileId + '">'
|
|
|
1743
|
+ m.F_FileUrl + '" alt="' + m.F_FileName +'" fileId="' + m.F_FileId + '">'
|
|
1555
|
1744
|
} else {
|
|
1556
|
1745
|
FileHtml +=
|
|
1557
|
1746
|
'<a style="margin-right:5px;" target="view_window" href="' +
|
|
1558
|
|
- m.F_FileUrl + '" download="' + m
|
|
1559
|
|
- .F_FileUrl + '">' + m.F_FileName
|
|
1560
|
|
- .substring(19) + '</a>';
|
|
1561
|
|
-
|
|
|
1747
|
+ m.F_FileUrl + '" download="' + m.F_FileUrl + '">' + m.F_FileName.substring(19) + '</a>';
|
|
1562
|
1748
|
}
|
|
1563
|
1749
|
str += FileHtml
|
|
1564
|
1750
|
})
|
|
|
@@ -1802,10 +1988,7 @@
|
|
1802
|
1988
|
".png") {
|
|
1803
|
1989
|
FileHtmls =
|
|
1804
|
1990
|
'<img style="width:60px; height:60px" border="0" ondblclick="$.openPhotoGallery(this)" src="' +
|
|
1805
|
|
- m.F_FileUrl + '" alt="' + m
|
|
1806
|
|
- .F_FileName +
|
|
1807
|
|
- '" fileId="' + m.F_FileId +
|
|
1808
|
|
- '">';
|
|
|
1991
|
+ m.F_FileUrl + '" alt="' + m.F_FileName +'" fileId="' + m.F_FileId +'">';
|
|
1809
|
1992
|
} else {
|
|
1810
|
1993
|
FileHtmls =
|
|
1811
|
1994
|
'<div><a style="margin-right:5px;" target="view_window" href="' +
|
|
|
@@ -2004,10 +2187,7 @@
|
|
2004
|
2187
|
} else {
|
|
2005
|
2188
|
FileHtml +=
|
|
2006
|
2189
|
'<div><a style="margin-right:5px;" target="view_window" href="' +
|
|
2007
|
|
- m.F_FileUrl + '" download="' + m
|
|
2008
|
|
- .F_FileName + '">' + m
|
|
2009
|
|
- .F_FileName.substring(
|
|
2010
|
|
- 19) + '</a></div>';
|
|
|
2190
|
+ m.F_FileUrl + '" download="' + m.F_FileName + '">' + m.F_FileName.substring(19) + '</a></div>';
|
|
2011
|
2191
|
}
|
|
2012
|
2192
|
SJhtmls += FileHtml
|
|
2013
|
2193
|
})
|
|
|
@@ -2066,76 +2246,7 @@
|
|
2066
|
2246
|
$(Ysh).appendTo($(".YSSHS"));
|
|
2067
|
2247
|
break;
|
|
2068
|
2248
|
case '6':
|
|
2069
|
|
- //回访信息
|
|
2070
|
|
- var htmlss = '';
|
|
2071
|
|
- if(result.data.length < 0) {
|
|
2072
|
|
- htmlss = '<tr>' +
|
|
2073
|
|
- '<td class="text-center">' + n.UserName + '</td>' +
|
|
2074
|
|
- '</tr>';
|
|
2075
|
|
- } else {
|
|
2076
|
|
- $(".HGXX").empty();
|
|
2077
|
|
- $(result.data).each(function(i, n) {
|
|
2078
|
|
- var a;
|
|
2079
|
|
- var b;
|
|
2080
|
|
- if(String(n.F_IsSatisfie) === "0") {
|
|
2081
|
|
- a = "不满意";
|
|
2082
|
|
- } else if(String(n.F_IsSatisfie) == "1") {
|
|
2083
|
|
- a = "满意";
|
|
2084
|
|
- }
|
|
2085
|
|
- if(n.F_Type == 0) {
|
|
2086
|
|
- b = "电话";
|
|
2087
|
|
- } else if(n.F_Type == 1) {
|
|
2088
|
|
- b = "微信";
|
|
2089
|
|
- } else if(n.F_Type == 2) {
|
|
2090
|
|
- b = "智能回访";
|
|
2091
|
|
- } else if(n.F_Type == 3) {
|
|
2092
|
|
- b = "网站";
|
|
2093
|
|
- } else if(n.F_Type == 4) {
|
|
2094
|
|
- b = "微博";
|
|
2095
|
|
- } else if(n.F_Type == 5) {
|
|
2096
|
|
- b = "信箱";
|
|
2097
|
|
- }
|
|
2098
|
|
-
|
|
2099
|
|
- htmlss += '<tr>' +
|
|
2100
|
|
- '<td class="text-center">' + (i + 1) +
|
|
2101
|
|
- '</td>' +
|
|
2102
|
|
- '<td class="text-center">' + n.F_VisitUser +
|
|
2103
|
|
- '</td>' +
|
|
2104
|
|
- '<td class="text-center">' + b + '</td>' +
|
|
2105
|
|
- '<td class="text-center">' + n.F_Result +
|
|
2106
|
|
- '</td>' +
|
|
2107
|
|
- '<td class="text-center">' + a + '</td>' +
|
|
2108
|
|
- '<td class="text-center">' + n
|
|
2109
|
|
- .F_CreateTime +
|
|
2110
|
|
- '</td>' +
|
|
2111
|
|
- '<td class="text-center phoneTitle3"><a href="#">' + encryptPhoneNumber +
|
|
2112
|
|
- '</a></td>' +
|
|
2113
|
|
- '<td class="text-center">'
|
|
2114
|
|
- var audioFile = '';
|
|
2115
|
|
- if(n.FilePath) {
|
|
2116
|
|
- audioFile += '<div class="imgs">' +
|
|
2117
|
|
- '<img src="../img/vice.png" alt="" onclick="recordingFun(this)" item="' +
|
|
2118
|
|
- n.FilePath + '" />' +
|
|
2119
|
|
- '</div></td>';
|
|
2120
|
|
- }
|
|
2121
|
|
- htmlss += audioFile + '</tr>'
|
|
2122
|
|
- })
|
|
2123
|
|
- $(htmlss).appendTo($(".HGXX"));
|
|
2124
|
|
- $(".phoneTitle3").click(function() {
|
|
2125
|
|
- var isSecret
|
|
2126
|
|
- if ($('.MJ').text()=="普通") {
|
|
2127
|
|
- isSecret = 1
|
|
2128
|
|
- } else{
|
|
2129
|
|
- isSecret = 2
|
|
2130
|
|
- }
|
|
2131
|
|
- layer.open({
|
|
2132
|
|
- type: 2,
|
|
2133
|
|
- content: "./callerNumber.html?phoneNumber=" + encodeURIComponent(phoneNumber)+"&wid="+wid+"&isSecret="+isSecret+"&type=1", //iframe的url,no代表不显示滚动条
|
|
2134
|
|
- title: "回访号码",
|
|
2135
|
|
- area: ["40%", "25%"], //宽高
|
|
2136
|
|
- });
|
|
2137
|
|
- })
|
|
2138
|
|
- }
|
|
|
2249
|
+ detialVisit(result)
|
|
2139
|
2250
|
break;
|
|
2140
|
2251
|
case '7':
|
|
2141
|
2252
|
//督办信息
|
|
|
@@ -2158,8 +2269,7 @@
|
|
2158
|
2269
|
'</td>' +
|
|
2159
|
2270
|
'<td class="text-center">' + n.F_Content +
|
|
2160
|
2271
|
'</td>' +
|
|
2161
|
|
- '<td class="text-center">' + n
|
|
2162
|
|
- .F_CreateTime +
|
|
|
2272
|
+ '<td class="text-center">' + n.F_CreateTime +
|
|
2163
|
2273
|
'</td>' +
|
|
2164
|
2274
|
'</tr>';
|
|
2165
|
2275
|
})
|
|
|
@@ -2293,194 +2403,6 @@
|
|
2293
|
2403
|
})
|
|
2294
|
2404
|
}
|
|
2295
|
2405
|
|
|
2296
|
|
- //修改交办意见
|
|
2297
|
|
- $('.XGXX').click(function() {
|
|
2298
|
|
- var index = $(this).attr('index');
|
|
2299
|
|
- layer.open({
|
|
2300
|
|
- type: 2,
|
|
2301
|
|
- content: "../CommonHtml/XGjiaoban.html?wid=" +
|
|
2302
|
|
- index, //iframe的url,no代表不显示滚动条
|
|
2303
|
|
- title: '修改交办信息',
|
|
2304
|
|
- area: ['48%', '40%'], //宽高
|
|
2305
|
|
- });
|
|
2306
|
|
-
|
|
2307
|
|
- })
|
|
2308
|
|
- //修改回访意见
|
|
2309
|
|
- $(".HFXG").click(function() {
|
|
2310
|
|
- var index = $(this).attr('index');
|
|
2311
|
|
- layer.open({
|
|
2312
|
|
- type: 2,
|
|
2313
|
|
- content: "../CommonHtml/XGHF.html?wid=" +
|
|
2314
|
|
- index, //iframe的url,no代表不显示滚动条
|
|
2315
|
|
- title: '修改回访信息',
|
|
2316
|
|
- area: ['58%', '60%'], //宽高
|
|
2317
|
|
- });
|
|
2318
|
|
- });
|
|
2319
|
|
- //领导批示
|
|
2320
|
|
- $(".LDPSS").click(function() {
|
|
2321
|
|
- var index = $(this).attr('index'); //批示ID
|
|
2322
|
|
- var superuser = $(this).attr('superuser'); //批示人
|
|
2323
|
|
- var superopinion = $(this).attr("superopinion"); //批示内容
|
|
2324
|
|
- var type = $(this).attr("type"); //批示类型
|
|
2325
|
|
- layer.open({
|
|
2326
|
|
- type: 2,
|
|
2327
|
|
- content: "../CommonHtml/LDPS.html?wid=" +
|
|
2328
|
|
- index + "&type=" +
|
|
2329
|
|
- type, //iframe的url,no代表不显示滚动条
|
|
2330
|
|
- title: '修改领导批示信息',
|
|
2331
|
|
- area: ['58%', '60%'], //宽高
|
|
2332
|
|
- })
|
|
2333
|
|
- });
|
|
2334
|
|
-
|
|
2335
|
|
- //修改回退信息
|
|
2336
|
|
- $(".HtxxBtn").click(function() {
|
|
2337
|
|
- var index = $(this).attr('index');
|
|
2338
|
|
- layer.open({
|
|
2339
|
|
- type: 2,
|
|
2340
|
|
- content: "../CommonHtml/BackDatil.html?wid=" +
|
|
2341
|
|
- index + '&tab=0', //iframe的url,no代表不显示滚动条
|
|
2342
|
|
- title: '修改回退信息',
|
|
2343
|
|
- area: ['58%', '60%'], //宽高
|
|
2344
|
|
- })
|
|
2345
|
|
- })
|
|
2346
|
|
- //修改审核延时
|
|
2347
|
|
- $(".LYSSH").click(function() {
|
|
2348
|
|
- var index = $(this).attr('index');
|
|
2349
|
|
- layer.open({
|
|
2350
|
|
- type: 2,
|
|
2351
|
|
- content: "../CommonHtml/YSSH.html?wid=" +
|
|
2352
|
|
- index, //iframe的url,no代表不显示滚动条
|
|
2353
|
|
- title: '修改延时审核',
|
|
2354
|
|
- area: ['58%', '60%'], //宽高
|
|
2355
|
|
- })
|
|
2356
|
|
- })
|
|
2357
|
|
- //修改退回审核
|
|
2358
|
|
- $(".LTHSH").click(function() {
|
|
2359
|
|
- var index = $(this).attr('index');
|
|
2360
|
|
- layer.open({
|
|
2361
|
|
- type: 2,
|
|
2362
|
|
- content: "../CommonHtml/lSHTH.html?wid=" +
|
|
2363
|
|
- index, //iframe的url,no代表不显示滚动条
|
|
2364
|
|
- title: '修改退回审核',
|
|
2365
|
|
- area: ['58%', '60%'], //宽高
|
|
2366
|
|
- })
|
|
2367
|
|
- })
|
|
2368
|
|
-
|
|
2369
|
|
- //转公开
|
|
2370
|
|
- $('.publicTransfer').click(function() {
|
|
2371
|
|
- layer.open({
|
|
2372
|
|
- content: '是否要转公开?',
|
|
2373
|
|
- btn: ['是', '否'],
|
|
2374
|
|
- yes: function(index, layero) {
|
|
2375
|
|
- $.post(huayi.config.callcenter_url + "WorkOrder/ReleaseWorkOrder", {
|
|
2376
|
|
- workorderid: wid, //工单编号
|
|
2377
|
|
- isrelease: 1, //(0撤回,1转媒体)
|
|
2378
|
|
- isopen: 1,
|
|
2379
|
|
- token: $.cookie("token")
|
|
2380
|
|
- }, function(result) {
|
|
2381
|
|
- var data = JSON.parse(result);
|
|
2382
|
|
- if(data.state == "success") {
|
|
2383
|
|
- $(".publicTransfer").hide();
|
|
2384
|
|
- var index = parent.layer.getFrameIndex(window
|
|
2385
|
|
- .name); //先得到当前iframe层的索引
|
|
2386
|
|
- parent.layer.close(index); //再执行关闭
|
|
2387
|
|
- parent.$('#orderlist').bootstrapTable('refresh');
|
|
2388
|
|
- parent.layer.msg("转公开成功");
|
|
2389
|
|
- }
|
|
2390
|
|
- })
|
|
2391
|
|
- }
|
|
2392
|
|
- })
|
|
2393
|
|
- });
|
|
2394
|
|
-
|
|
2395
|
|
- //转媒体
|
|
2396
|
|
- $('.mediaTransfer').click(function() {
|
|
2397
|
|
- layer.open({
|
|
2398
|
|
- content: '是否要转媒体?',
|
|
2399
|
|
- btn: ['是', '否'],
|
|
2400
|
|
- yes: function(index, layero) {
|
|
2401
|
|
- $.post(huayi.config.callcenter_url + "WorkOrder/MediaWorkOrder", {
|
|
2402
|
|
- workorderid: wid, //工单编号
|
|
2403
|
|
- isrelease: 1, //(0撤回,1转媒体)
|
|
2404
|
|
- token: $.cookie("token")
|
|
2405
|
|
- }, function(result) {
|
|
2406
|
|
- var data = JSON.parse(result);
|
|
2407
|
|
- if(data.state == "success") {
|
|
2408
|
|
- $(".mediaTransfer").hide();
|
|
2409
|
|
- var index = parent.layer.getFrameIndex(window
|
|
2410
|
|
- .name); //先得到当前iframe层的索引
|
|
2411
|
|
- parent.layer.close(index); //再执行关闭
|
|
2412
|
|
- parent.$('#orderlist').bootstrapTable('refresh');
|
|
2413
|
|
- parent.layer.msg("操作成功");
|
|
2414
|
|
- }
|
|
2415
|
|
- })
|
|
2416
|
|
- }
|
|
2417
|
|
- })
|
|
2418
|
|
- });
|
|
2419
|
|
-
|
|
2420
|
|
- // 撤销子工单
|
|
2421
|
|
- $('.cancelChildWorkOrder').click(function() {
|
|
2422
|
|
- layer.open({
|
|
2423
|
|
- content: '是否要撤销?',
|
|
2424
|
|
- btn: ['是', '否'],
|
|
2425
|
|
- yes: function(index, layero) {
|
|
2426
|
|
- $.post(huayi.config.callcenter_url + "WorkOrder/DisassociateWorkOrder", {
|
|
2427
|
|
- workorderid: wid, //工单编号
|
|
2428
|
|
- token: $.cookie("token")
|
|
2429
|
|
- }, function(result) {
|
|
2430
|
|
- var data = JSON.parse(result);
|
|
2431
|
|
- if(data.state == "success") {
|
|
2432
|
|
- $(".cancelChildWorkOrder").hide();
|
|
2433
|
|
- var index = parent.layer.getFrameIndex(window
|
|
2434
|
|
- .name); //先得到当前iframe层的索引
|
|
2435
|
|
- parent.layer.close(index); //再执行关闭
|
|
2436
|
|
- parent.$('#orderlist').bootstrapTable('refresh');
|
|
2437
|
|
- parent.layer.msg("操作成功");
|
|
2438
|
|
- }
|
|
2439
|
|
- })
|
|
2440
|
|
- }
|
|
2441
|
|
- })
|
|
2442
|
|
- });
|
|
2443
|
|
-
|
|
2444
|
|
- //修改
|
|
2445
|
|
- $(".change").click(function() {
|
|
2446
|
|
-
|
|
2447
|
|
- var str = $("#Change").val();
|
|
2448
|
|
- layer.open({
|
|
2449
|
|
- type: 2,
|
|
2450
|
|
- content: "../CommonHtml/XGwordel.html?wid=" + str, //iframe的url,no代表不显示滚动条
|
|
2451
|
|
- title: '修改交办信息',
|
|
2452
|
|
- area: ['80%', '80%'], //宽高
|
|
2453
|
|
- })
|
|
2454
|
|
- })
|
|
2455
|
|
- //退回
|
|
2456
|
|
- $(".return").click(function() {
|
|
2457
|
|
- layer.open({
|
|
2458
|
|
- type: 2,
|
|
2459
|
|
- content: "../CommonHtml/tuihuisq.html?wid=" + wid, //iframe的url,no代表不显示滚动条
|
|
2460
|
|
- title: "申请退回工单",
|
|
2461
|
|
- area: ["60%", "80%"], //宽高
|
|
2462
|
|
- });
|
|
2463
|
|
- })
|
|
2464
|
|
-
|
|
2465
|
|
- $(".applicationDelay").click(function() {
|
|
2466
|
|
- layer.open({
|
|
2467
|
|
- type: 2,
|
|
2468
|
|
- content: "../CommonHtml/Timesq.html?wid=" + wid, //iframe的url,no代表不显示滚动条
|
|
2469
|
|
- title: "申请延时",
|
|
2470
|
|
- area: ["60%", "80%"], //宽高
|
|
2471
|
|
- });
|
|
2472
|
|
- })
|
|
2473
|
|
- $(".handle").click(function() {
|
|
2474
|
|
- layer.open({
|
|
2475
|
|
- type: 2,
|
|
2476
|
|
- content: "../CommonHtml/banli.html?wid=" + wid + "&isProtect=" +
|
|
2477
|
|
- isProtect, //iframe的url,no代表不显示滚动条
|
|
2478
|
|
- title: "办理工单",
|
|
2479
|
|
- area: ["60%", "80%"], //宽高
|
|
2480
|
|
- });
|
|
2481
|
|
- })
|
|
2482
|
|
- });
|
|
2483
|
|
-
|
|
2484
|
2406
|
$(".provincialApplicationDelay").click(function(){
|
|
2485
|
2407
|
provincialPlatformApplicationDelay(wid,0)
|
|
2486
|
2408
|
})
|
|
|
@@ -2586,17 +2508,7 @@
|
|
2586
|
2508
|
});
|
|
2587
|
2509
|
}
|
|
2588
|
2510
|
|
|
2589
|
|
- function recordingFun(htmlstr) {
|
|
2590
|
|
- var path = $(htmlstr).attr("item");
|
|
2591
|
|
- layer.open({
|
|
2592
|
|
- type: 2,
|
|
2593
|
|
- content: "../CommonHtml/recording.html?path=" + path, //iframe的url,no代表不显示滚动条
|
|
2594
|
|
- title: '录音',
|
|
2595
|
|
- area: ['30%', '20%'], //宽高
|
|
2596
|
|
- maxmin: true,
|
|
2597
|
|
- shade: 0
|
|
2598
|
|
- });
|
|
2599
|
|
- }
|
|
|
2511
|
+
|
|
2600
|
2512
|
|
|
2601
|
2513
|
function GetLink(val) {
|
|
2602
|
2514
|
if(val) {
|