|
|
@@ -15,8 +15,8 @@ $(document).ready(function() {
|
|
15
|
15
|
//获取工单类型
|
|
16
|
16
|
helper.getDropList.getlistDropByDic($('#sc_order_type'), 'GDLX');
|
|
17
|
17
|
//获取呼叫结果
|
|
18
|
|
-// helper.getDropList.getlistDropByDic($('#sc_callResult'), 'HJJG');
|
|
19
|
|
-
|
|
|
18
|
+ // helper.getDropList.getlistDropByDic($('#sc_callResult'), 'HJJG');
|
|
|
19
|
+
|
|
20
|
20
|
initTable();
|
|
21
|
21
|
$("#sc_btns").click(function() {
|
|
22
|
22
|
initTable();
|
|
|
@@ -59,7 +59,7 @@ function initTable() {
|
|
59
|
59
|
state = '7';
|
|
60
|
60
|
break;
|
|
61
|
61
|
case "resultVisit.html": //综合查询
|
|
62
|
|
- state = '19';//$('#sc_returnVisit').val();
|
|
|
62
|
+ state = '19'; //$('#sc_returnVisit').val();
|
|
63
|
63
|
break;
|
|
64
|
64
|
default:
|
|
65
|
65
|
break;
|
|
|
@@ -89,7 +89,7 @@ function initTable() {
|
|
89
|
89
|
pagesize: params.pageSize,
|
|
90
|
90
|
state: state, // 是 string 是否回访(0待回访,1已回访,null回访查询)
|
|
91
|
91
|
code: $('#sc_key').val(), // 是 string 工单编号
|
|
92
|
|
- visitResult:$('#sc_Huifang').val(),
|
|
|
92
|
+ visitResult: $('#sc_Huifang').val(),
|
|
93
|
93
|
source: $('#sc_sour').val(), // 是 string 工单来源(字典)
|
|
94
|
94
|
type: $('#sc_type').val(), // 是 string 工单类型(字典)
|
|
95
|
95
|
callresults: $('#sc_callResult').val(), // 呼叫结果
|
|
|
@@ -120,8 +120,8 @@ function btn_delete(id) {
|
|
120
|
120
|
dataType: 'json',
|
|
121
|
121
|
async: true,
|
|
122
|
122
|
data: {
|
|
123
|
|
- orderid:id,
|
|
124
|
|
- isover:1,
|
|
|
123
|
+ orderid: id,
|
|
|
124
|
+ isover: 1,
|
|
125
|
125
|
token: $.cookie("token")
|
|
126
|
126
|
},
|
|
127
|
127
|
success: function(data) {
|
|
|
@@ -136,8 +136,8 @@ function btn_delete(id) {
|
|
136
|
136
|
}
|
|
137
|
137
|
//格式化工单编号
|
|
138
|
138
|
function formatterOrderId(val, row) {
|
|
139
|
|
-// return '<div class="imgs" ><a class="xg" onclick= btn_detail("' + row.F_ID + '") >' + val + '</a></div>';
|
|
140
|
|
- return '<div class="imgs" ><a class="xg" onclick=btn_detail(this) index="'+row.F_ID+'" >' + val + '</a></div>'
|
|
|
139
|
+ // return '<div class="imgs" ><a class="xg" onclick= btn_detail("' + row.F_ID + '") >' + val + '</a></div>';
|
|
|
140
|
+ return '<div class="imgs" ><a class="xg" onclick=btn_detail(this) index="' + row.F_ID + '" >' + val + '</a></div>'
|
|
141
|
141
|
}
|
|
142
|
142
|
|
|
143
|
143
|
//格式化客户电话(待回访)
|
|
|
@@ -234,11 +234,11 @@ function formatterAuditUser(val) {
|
|
234
|
234
|
|
|
235
|
235
|
//查看详情
|
|
236
|
236
|
function btn_detail(oid) {
|
|
237
|
|
-
|
|
|
237
|
+
|
|
238
|
238
|
$(".ckxq").removeClass("Hidens");
|
|
239
|
|
- $(".xg").css("color","#337ab7")
|
|
240
|
|
- $(oid).css("color","red")
|
|
241
|
|
- detailOrderNum=$(oid).attr("index")
|
|
|
239
|
+ $(".xg").css("color", "#337ab7")
|
|
|
240
|
+ $(oid).css("color", "red")
|
|
|
241
|
+ detailOrderNum = $(oid).attr("index")
|
|
242
|
242
|
$(".ckxq ul li").eq(0).trigger("click");
|
|
243
|
243
|
|
|
244
|
244
|
}
|
|
|
@@ -254,6 +254,7 @@ function btn_visit(oid) {
|
|
254
|
254
|
content: '../WorkOrder/commonHtml/LookMessage.html?oid=' + oid
|
|
255
|
255
|
});
|
|
256
|
256
|
}
|
|
|
257
|
+
|
|
257
|
258
|
function formatterOprateDispose(val, row) {
|
|
258
|
259
|
return '<ul class="tool_downs">' +
|
|
259
|
260
|
'<li><a href="javascript:;" class="xg" authorize="yes" id="HY_transfer_' + row.F_ID + '" onclick="btn_deleteT(' + row.F_ID + ')" title="退回" style="font-size: 14px;">退回</a></li>' +
|
|
|
@@ -264,16 +265,16 @@ function formatterOprateDispose(val, row) {
|
|
264
|
265
|
|
|
265
|
266
|
//格式化操作
|
|
266
|
267
|
function formatterOprateT(val, row) {
|
|
267
|
|
- return '<ul class="tool_downs">' +
|
|
|
268
|
+ return '<ul class="tool_downs">' +
|
|
268
|
269
|
'<li><a href="javascript:;" class="xg" authorize="yes" id="HY_transfer_' + row.F_ID + '" onclick="btn_deleteT(' + row.F_ID + ')" title="退回">退回</a></li>' +
|
|
269
|
270
|
'<li><a href="javascript:;" class="xg" authorize="yes" id="HY_back_' + row.ID + '" onclick="btn_zhuei(\'' + row.F_ID + '\')" title="注解">注解</a></li>' +
|
|
270
|
271
|
'</ul>';
|
|
271
|
272
|
}
|
|
272
|
273
|
|
|
273
|
274
|
function formatterzhujieT(val, row) {
|
|
274
|
|
- return '<ul class="tool_downs">' +
|
|
|
275
|
+ return '<ul class="tool_downs">' +
|
|
275
|
276
|
'<li><a href="javascript:;" class="xg" authorize="yes" id="HY_transfer_' + row.F_ID + '" onclick="btn_deleteT(' + row.F_ID + ')" title="退回">退回</a></li>' +
|
|
276
|
|
-
|
|
|
277
|
+
|
|
277
|
278
|
'</ul>';
|
|
278
|
279
|
}
|
|
279
|
280
|
//删除
|
|
|
@@ -289,8 +290,8 @@ function btn_receiv(id) {
|
|
289
|
290
|
dataType: 'json',
|
|
290
|
291
|
async: true,
|
|
291
|
292
|
data: {
|
|
292
|
|
- orderid:id,
|
|
293
|
|
- isover:1,
|
|
|
293
|
+ orderid: id,
|
|
|
294
|
+ isover: 1,
|
|
294
|
295
|
token: $.cookie("token")
|
|
295
|
296
|
},
|
|
296
|
297
|
success: function(data) {
|
|
|
@@ -314,7 +315,7 @@ function btn_zhuei(oid) {
|
|
314
|
315
|
area: ['800px', '240px'] //自定义文本域宽高
|
|
315
|
316
|
}, function(value, index, elem) {
|
|
316
|
317
|
$.post(huayi.config.callcenter_url + 'WorkOrderNew/Annotation', {
|
|
317
|
|
- orderid: oid,// 工单ID
|
|
|
318
|
+ orderid: oid, // 工单ID
|
|
318
|
319
|
cont: value, // 退回原因
|
|
319
|
320
|
token: $.cookie("token")
|
|
320
|
321
|
}, function(result) {
|
|
|
@@ -330,8 +331,23 @@ function btn_zhuei(oid) {
|
|
330
|
331
|
});
|
|
331
|
332
|
}
|
|
332
|
333
|
|
|
|
334
|
+// 回访结果
|
|
|
335
|
+function formatterScore(val) {
|
|
|
336
|
+ console.log(val)
|
|
|
337
|
+ // return val
|
|
|
338
|
+ if(val || val == 0) {
|
|
|
339
|
+ if(val == 9 || val == 10) {
|
|
|
340
|
+ return '非常满意'
|
|
|
341
|
+ } else if(val == 7 || val == 8) {
|
|
|
342
|
+ return '满意'
|
|
|
343
|
+ } else if(val == 6 || val == 5) {
|
|
|
344
|
+ return '一般'
|
|
|
345
|
+ } else {
|
|
|
346
|
+ return '不满意'
|
|
|
347
|
+ }
|
|
|
348
|
+ }
|
|
333
|
349
|
|
|
334
|
|
-
|
|
|
350
|
+}
|
|
335
|
351
|
//退回
|
|
336
|
352
|
function btn_deleteT(oid) {
|
|
337
|
353
|
layer.prompt({
|
|
|
@@ -341,7 +357,7 @@ function btn_deleteT(oid) {
|
|
341
|
357
|
area: ['800px', '240px'] //自定义文本域宽高
|
|
342
|
358
|
}, function(value, index, elem) {
|
|
343
|
359
|
$.post(huayi.config.callcenter_url + 'WorkOrderNew/ReturnVisit', {
|
|
344
|
|
- orderid: oid,// 工单ID
|
|
|
360
|
+ orderid: oid, // 工单ID
|
|
345
|
361
|
cont: value, // 退回原因
|
|
346
|
362
|
token: $.cookie("token")
|
|
347
|
363
|
}, function(result) {
|
|
|
@@ -377,26 +393,26 @@ function getWorkOrderDetails() {
|
|
377
|
393
|
|
|
378
|
394
|
if(result.rows && result.rows.length > 0) {
|
|
379
|
395
|
var data = result.rows[0];
|
|
380
|
|
- $("#xq_gdbh").text(data.F_WorkOrderCode);//工单编号
|
|
|
396
|
+ $("#xq_gdbh").text(data.F_WorkOrderCode); //工单编号
|
|
381
|
397
|
$("#xq_gdlx").text(data.F_StateName); //工单状态
|
|
382
|
398
|
$("#xq_cjsj").text(data.F_SourceName); //工单来源
|
|
383
|
399
|
$("#xq_gdzt").text(data.F_TypeName); //工单类型
|
|
384
|
|
- // 咨询详情模块
|
|
385
|
|
- $("#con_witl").text(data.F_QuestionType); //问题类别
|
|
386
|
|
- $("#con_cpiit").text(data.F_TS_Category); //产品名称
|
|
387
|
|
- $("#con_wtlin").text(data.F_ZX_Quantity); //问题数量
|
|
|
400
|
+ // 咨询详情模块
|
|
|
401
|
+ $("#con_witl").text(data.F_QuestionType); //问题类别
|
|
|
402
|
+ $("#con_cpiit").text(data.F_TS_Category); //产品名称
|
|
|
403
|
+ $("#con_wtlin").text(data.F_ZX_Quantity); //问题数量
|
|
388
|
404
|
$("#con_refer").text(data.F_SalesBase); //销售基地
|
|
389
|
|
- // 投诉详情模块
|
|
390
|
|
- $("#lain_cuse").text(data.F_TS_Category); //产品名称
|
|
391
|
|
- $("#lain_licti").text(data.F_ZX_Quantity); //问题数量
|
|
392
|
|
- $("#lain_citon").text(data.F_SalesBase); //销售基地
|
|
393
|
|
- $("#lain_kicou").text(data.F_BatchNumber); //生产批次号
|
|
394
|
|
- $("#lain_with1").text(data.F_QuestionTypeone); //问题类别1
|
|
|
405
|
+ // 投诉详情模块
|
|
|
406
|
+ $("#lain_cuse").text(data.F_TS_Category); //产品名称
|
|
|
407
|
+ $("#lain_licti").text(data.F_ZX_Quantity); //问题数量
|
|
|
408
|
+ $("#lain_citon").text(data.F_SalesBase); //销售基地
|
|
|
409
|
+ $("#lain_kicou").text(data.F_BatchNumber); //生产批次号
|
|
|
410
|
+ $("#lain_with1").text(data.F_QuestionTypeone); //问题类别1
|
|
395
|
411
|
$("#lain_with2").text(data.F_QuestionTypetwo); //问题类别2
|
|
396
|
412
|
$("#lain_with3").text(data.F_QuestionType); //问题类别3
|
|
397
|
413
|
$("#lain_iunct").text(data.F_TS_Level); //重要级别
|
|
398
|
414
|
$("#Complaints_abou").text(data.F_WorkerBrand); //品牌
|
|
399
|
|
- // 抽检详情模块
|
|
|
415
|
+ // 抽检详情模块
|
|
400
|
416
|
$("#spot_spion").text(data.F_QuestionType); //问题类别
|
|
401
|
417
|
$("#spot_jion").text(data.F_CJ_Level); //抽检级别
|
|
402
|
418
|
$("#spot_danei").text(data.F_CJ_Unit); //抽检单位
|
|
|
@@ -406,14 +422,14 @@ function getWorkOrderDetails() {
|
|
406
|
422
|
$("#spot_unit").text(data.F_CJ_TestUnit); //化验单位
|
|
407
|
423
|
$("#spot_cihao").text(data.F_BatchNumber); //生产批次号
|
|
408
|
424
|
$("#spot_cihicon").text(data.F_CJ_Outlay); //公关费用
|
|
409
|
|
- // 客户编号 物料编号模块
|
|
|
425
|
+ // 客户编号 物料编号模块
|
|
410
|
426
|
$("#client_ciont").text(data.F_CustomerID); //客户编号 ........
|
|
411
|
427
|
$("#client_wich").text(data.F_Salesman); //业务员
|
|
412
|
428
|
$("#client_bnum").text(data.F_SalesPhone); //电话
|
|
413
|
429
|
$("#client_xlx").text(data.client_xlx); //经营品牌
|
|
414
|
430
|
$("#client_uict").text(data.F_AreaName); //大区
|
|
415
|
431
|
$("#client_tyicu").text(data.F_BranchName); //分公司
|
|
416
|
|
-
|
|
|
432
|
+
|
|
417
|
433
|
$("#client_citon").text(data.F_MaterialID); //物料编码
|
|
418
|
434
|
$("#client_ituec").text(data.F_MaterialName); //物料名称
|
|
419
|
435
|
$("#client_uitio").text(data.F_Model); //型号
|
|
|
@@ -426,50 +442,48 @@ function getWorkOrderDetails() {
|
|
426
|
442
|
$("#client_chnpin").text(data.F_Pipeline); //产品线
|
|
427
|
443
|
$("#client_goniy").text(data.F_Craft); //工艺
|
|
428
|
444
|
// 客户姓名 事发地模块
|
|
429
|
|
- $("#xq_khxm").text(data.F_CusName); //客户姓名
|
|
|
445
|
+ $("#xq_khxm").text(data.F_CusName); //客户姓名
|
|
430
|
446
|
$("#xq_khdh").text(data.F_CusPhone); //客户电话
|
|
431
|
447
|
$("#xq_company").text(data.F_CompanyName); //公司名称
|
|
432
|
|
- $("#xq_source").text(data.F_IncidentProvince); //事发地省
|
|
433
|
|
- $('#xq_dieuig').text(data.F_IncidentCity); //事发地市
|
|
434
|
|
- $('#xq_handle').text(data.F_IncidentCountry); //事发地县
|
|
435
|
|
- $("#xq_fkdep").text(data.F_IncidentTownship); //事发地乡
|
|
436
|
|
- $("#xq_responseUser").text(data.F_IncidentDetailed); //事发地详细地址
|
|
|
448
|
+ $("#xq_source").text(data.F_IncidentProvince); //事发地省
|
|
|
449
|
+ $('#xq_dieuig').text(data.F_IncidentCity); //事发地市
|
|
|
450
|
+ $('#xq_handle').text(data.F_IncidentCountry); //事发地县
|
|
|
451
|
+ $("#xq_fkdep").text(data.F_IncidentTownship); //事发地乡
|
|
|
452
|
+ $("#xq_responseUser").text(data.F_IncidentDetailed); //事发地详细地址
|
|
437
|
453
|
$("#xq_description").text(data.F_Description); //问题描述
|
|
438
|
454
|
$("#xq_suggestion").text(data.SuperiorOpinion); //上级处理意见
|
|
439
|
|
- $("#xq_details").text(data.F_DealContent);//处理详情
|
|
|
455
|
+ $("#xq_details").text(data.F_DealContent); //处理详情
|
|
440
|
456
|
$("#xq_bitye").text(data.F_VisitRemarks); //品牌
|
|
441
|
457
|
$("#xq_zhujie").text(data.F_Annotation); //注解
|
|
442
|
|
-
|
|
443
|
|
- if($("#xq_gdzt").text()=="咨询"){
|
|
444
|
|
- $('.zixun1').show();//咨询模块
|
|
|
458
|
+
|
|
|
459
|
+ if($("#xq_gdzt").text() == "咨询") {
|
|
|
460
|
+ $('.zixun1').show(); //咨询模块
|
|
|
461
|
+ $('.kehu1').show(); //客户姓名 事发地
|
|
|
462
|
+ $('.tousu1').hide(); //咨询模块
|
|
|
463
|
+ $('.bianhao1').hide(); //客户 物料编码
|
|
|
464
|
+ $('.choujian1').hide(); //咨询模块
|
|
|
465
|
+ } else if($("#xq_gdzt").text() == "投诉") {
|
|
|
466
|
+ $('.tousu1').show(); //咨询模块
|
|
|
467
|
+ $('.bianhao1').show(); //客户 物料编码
|
|
|
468
|
+ $('.kehu1').show(); //客户姓名 事发地
|
|
|
469
|
+ $('.zixun1').hide(); //咨询模块
|
|
|
470
|
+
|
|
|
471
|
+ $('.choujian1').hide(); //咨询模块
|
|
|
472
|
+ } else if($("#xq_gdzt").text() == "抽检") {
|
|
|
473
|
+ $('.choujian1').show(); //咨询模块
|
|
|
474
|
+ $('.bianhao1').show(); //客户 物料编码
|
|
445
|
475
|
$('.kehu1').show(); //客户姓名 事发地
|
|
446
|
|
- $('.tousu1').hide();//咨询模块
|
|
447
|
|
- $('.bianhao1').hide();//客户 物料编码
|
|
448
|
|
- $('.choujian1').hide();//咨询模块
|
|
449
|
|
- }else if($("#xq_gdzt").text()=="投诉"){
|
|
450
|
|
- $('.tousu1').show();//咨询模块
|
|
451
|
|
- $('.bianhao1').show();//客户 物料编码
|
|
452
|
|
- $('.kehu1').show();//客户姓名 事发地
|
|
453
|
|
- $('.zixun1').hide();//咨询模块
|
|
454
|
|
-
|
|
455
|
|
- $('.choujian1').hide();//咨询模块
|
|
456
|
|
- }else if($("#xq_gdzt").text()=="抽检"){
|
|
457
|
|
- $('.choujian1').show();//咨询模块
|
|
458
|
|
- $('.bianhao1').show();//客户 物料编码
|
|
459
|
|
- $('.kehu1').show();//客户姓名 事发地
|
|
460
|
|
- $('.tousu1').hide();//咨询模块
|
|
461
|
|
- $('.zixun1').hide();//咨询模块
|
|
462
|
|
-
|
|
463
|
|
- }else if($("#xq_gdzt").text()=="咨询"){
|
|
464
|
|
- $('.zixun1').show();//咨询模块
|
|
|
476
|
+ $('.tousu1').hide(); //咨询模块
|
|
|
477
|
+ $('.zixun1').hide(); //咨询模块
|
|
|
478
|
+
|
|
|
479
|
+ } else if($("#xq_gdzt").text() == "咨询") {
|
|
|
480
|
+ $('.zixun1').show(); //咨询模块
|
|
465
|
481
|
$('.kehu1').show(); //客户姓名 事发地
|
|
466
|
|
- $('.tousu1').hide();//咨询模块
|
|
467
|
|
- $('.bianhao1').hide();//客户 物料编码
|
|
468
|
|
- $('.choujian1').hide();//咨询模块
|
|
|
482
|
+ $('.tousu1').hide(); //咨询模块
|
|
|
483
|
+ $('.bianhao1').hide(); //客户 物料编码
|
|
|
484
|
+ $('.choujian1').hide(); //咨询模块
|
|
469
|
485
|
}
|
|
470
|
|
-
|
|
471
|
|
-
|
|
472
|
|
-
|
|
|
486
|
+
|
|
473
|
487
|
// $("#xq_gdnr").html(decodeURIComponent(data.Detail)); //反馈内容
|
|
474
|
488
|
// if(data.IsEffective === 0) {
|
|
475
|
489
|
// $('.xq_notes').hide();
|
|
|
@@ -570,37 +584,37 @@ function initTableLogs() {
|
|
570
|
584
|
|
|
571
|
585
|
//格式化处理详情
|
|
572
|
586
|
function formatterDealDetail(val, row) {
|
|
573
|
|
- var str = '';
|
|
574
|
|
- if (row.F_OptType == 0)
|
|
575
|
|
- str = str + row.F_CreateUser + " 创建工单" + "<br>"; //formatterUserName(row.F_CreateName, row.F_CreateUser)
|
|
576
|
|
- if (row.F_OptType == 1)
|
|
577
|
|
- str = str + row.F_CreateUser + " 指派工单";
|
|
578
|
|
- if (row.F_OptType == 2)
|
|
579
|
|
- str = str + row.F_CreateUser + " 接单" + "<br>";
|
|
580
|
|
- if (row.F_OptType == 3)
|
|
581
|
|
- str = str + row.F_CreateUser + " 处理工单";
|
|
582
|
|
- if (row.F_OptType == 4)
|
|
583
|
|
- str = str + row.F_CreateUser + " 退回工单";
|
|
584
|
|
- if (row.F_OptType == 5)
|
|
585
|
|
- str = str + row.F_CreateUser + " 异常退回";
|
|
586
|
|
- if (row.F_OptType == 6)
|
|
587
|
|
- str = str + row.F_CreateUser + " 催办工单";
|
|
588
|
|
- if (row.F_OptType == 7)
|
|
589
|
|
- str = str + row.F_CreateUser + " 完结工单";
|
|
590
|
|
- if (row.F_OptType == 8)
|
|
591
|
|
- str = str + row.F_CreateUser + " 评价工单";
|
|
592
|
|
- if (row.F_OptType == 9)
|
|
593
|
|
- str = str + row.F_CreateUser + " 修改工单";
|
|
594
|
|
- if (row.F_OptType == 10)
|
|
595
|
|
- str = str + row.F_CreateUser + " 删除工单";
|
|
596
|
|
- if (row.F_OptType == 11)
|
|
597
|
|
- str = str + row.F_CreateUser + " 待办理工单";
|
|
598
|
|
- if (row.F_OptType == 12)
|
|
599
|
|
- str = str + row.F_CreateUser + " 办理工单";
|
|
600
|
|
- if (row.F_OptType == 13)
|
|
601
|
|
- str = str + row.F_CreateUser + " 回访工单";
|
|
602
|
|
- if (row.F_OptType == 14)
|
|
603
|
|
- str = str + row.F_CreateUser + " 延期工单";
|
|
|
587
|
+ var str = '';
|
|
|
588
|
+ if(row.F_OptType == 0)
|
|
|
589
|
+ str = str + row.F_CreateUser + " 创建工单" + "<br>"; //formatterUserName(row.F_CreateName, row.F_CreateUser)
|
|
|
590
|
+ if(row.F_OptType == 1)
|
|
|
591
|
+ str = str + row.F_CreateUser + " 指派工单";
|
|
|
592
|
+ if(row.F_OptType == 2)
|
|
|
593
|
+ str = str + row.F_CreateUser + " 接单" + "<br>";
|
|
|
594
|
+ if(row.F_OptType == 3)
|
|
|
595
|
+ str = str + row.F_CreateUser + " 处理工单";
|
|
|
596
|
+ if(row.F_OptType == 4)
|
|
|
597
|
+ str = str + row.F_CreateUser + " 退回工单";
|
|
|
598
|
+ if(row.F_OptType == 5)
|
|
|
599
|
+ str = str + row.F_CreateUser + " 异常退回";
|
|
|
600
|
+ if(row.F_OptType == 6)
|
|
|
601
|
+ str = str + row.F_CreateUser + " 催办工单";
|
|
|
602
|
+ if(row.F_OptType == 7)
|
|
|
603
|
+ str = str + row.F_CreateUser + " 完结工单";
|
|
|
604
|
+ if(row.F_OptType == 8)
|
|
|
605
|
+ str = str + row.F_CreateUser + " 评价工单";
|
|
|
606
|
+ if(row.F_OptType == 9)
|
|
|
607
|
+ str = str + row.F_CreateUser + " 修改工单";
|
|
|
608
|
+ if(row.F_OptType == 10)
|
|
|
609
|
+ str = str + row.F_CreateUser + " 删除工单";
|
|
|
610
|
+ if(row.F_OptType == 11)
|
|
|
611
|
+ str = str + row.F_CreateUser + " 待办理工单";
|
|
|
612
|
+ if(row.F_OptType == 12)
|
|
|
613
|
+ str = str + row.F_CreateUser + " 办理工单";
|
|
|
614
|
+ if(row.F_OptType == 13)
|
|
|
615
|
+ str = str + row.F_CreateUser + " 回访工单";
|
|
|
616
|
+ if(row.F_OptType == 14)
|
|
|
617
|
+ str = str + row.F_CreateUser + " 延期工单";
|
|
604
|
618
|
|
|
605
|
619
|
//if(!row.IsLast && !row.DealTime && !row.SureUserName && !row.ToDeptName){
|
|
606
|
620
|
// str = str + row.CreateUserName + " 创建了工单。" + "<br>";
|
|
|
@@ -615,7 +629,7 @@ function formatterDealDetail(val, row) {
|
|
615
|
629
|
//if(row.SureUserName) {
|
|
616
|
630
|
// str = str + row.SureUserName + " 接单。" + "<br>";
|
|
617
|
631
|
//}
|
|
618
|
|
-
|
|
|
632
|
+
|
|
619
|
633
|
//if(row.ToDeptName) {
|
|
620
|
634
|
// if(row.State != 6){
|
|
621
|
635
|
// str = str + row.CreateUserName + " 指派工单给 " + row.ToDeptName + ":";
|
|
|
@@ -628,16 +642,13 @@ function formatterDealDetail(val, row) {
|
|
628
|
642
|
// }
|
|
629
|
643
|
// str = str + "<br>";
|
|
630
|
644
|
//}
|
|
631
|
|
-
|
|
|
645
|
+
|
|
632
|
646
|
//if(row.IsStart) {
|
|
633
|
647
|
// str = str + row.CreateUserName + " 重新开启工单。" + "<br>";
|
|
634
|
648
|
//}
|
|
635
|
649
|
return str;
|
|
636
|
650
|
}
|
|
637
|
651
|
|
|
638
|
|
-
|
|
639
|
|
-
|
|
640
|
|
-
|
|
641
|
652
|
//格式化操作 (修改记录)
|
|
642
|
653
|
function formatterOprateLogs(val, row) {
|
|
643
|
654
|
return '<ul class="tool_downs">' +
|