|
|
@@ -482,6 +482,7 @@ function authorizeOperateButton(userRoleCode) {
|
|
482
|
482
|
case "JDYBZZX": // 坐席班长 创建 提交
|
|
483
|
483
|
$('.tool_downs').find('[id*="HY_submit"]').show(); //指派
|
|
484
|
484
|
$('.tool_downs').find('[id*="HY_edit"]').show(); // 修改
|
|
|
485
|
+ $('.tool_downs').find('[id*="HY_mark"]').show(); // 标记
|
|
485
|
486
|
$('.tool_downs').find('[id*="HY_delete"]').hide(); //删除
|
|
486
|
487
|
$('.tool_downs').find('[id*="HY_return"]').hide(); //退回
|
|
487
|
488
|
$('.tool_downs').find('[id*="HY_order"]').hide(); //接单
|
|
|
@@ -490,6 +491,7 @@ function authorizeOperateButton(userRoleCode) {
|
|
490
|
491
|
break;
|
|
491
|
492
|
case "BSCJL": // 办事处经理 转派、退回、修改、删除、
|
|
492
|
493
|
$('.tool_downs').find('[id*="HY_transfer"]').show(); //指派
|
|
|
494
|
+ $('.tool_downs').find('[id*="HY_mark"]').show(); // 标记
|
|
493
|
495
|
$('.tool_downs').find('[id*="HY_edit"]').hide(); // 修改
|
|
494
|
496
|
$('.tool_downs').find('[id*="HY_delete"]').hide(); //删除
|
|
495
|
497
|
$('.tool_downs').find('[id*="HY_return"]').show(); //退回
|
|
|
@@ -503,6 +505,7 @@ function authorizeOperateButton(userRoleCode) {
|
|
503
|
505
|
break;
|
|
504
|
506
|
case "YWY": //YWY-业务人员 退回/接单、处理 、修改
|
|
505
|
507
|
$('.tool_downs').find('[id*="HY_transfer"]').hide(); //指派
|
|
|
508
|
+ $('.tool_downs').find('[id*="HY_mark"]').show(); // 标记
|
|
506
|
509
|
$('.tool_downs').find('[id*="HY_delete"]').hide(); //删除
|
|
507
|
510
|
$('.tool_downs').find('[id*="HY_edit"]').hide(); //修改
|
|
508
|
511
|
$('.tool_downs').find('[id*="HY_dealWith"]').show(); //处理
|
|
|
@@ -522,6 +525,7 @@ function authorizeOperateButton(userRoleCode) {
|
|
522
|
525
|
function formatterSubmit(val, row) {
|
|
523
|
526
|
return '<ul class="tool_downs">' +
|
|
524
|
527
|
'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_submit_' + row.F_Id + '" onclick="btn_transfer(\'' + row.F_Id + '\', 1)" title="指派">提交</a></li>' +
|
|
|
528
|
+ '<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_mark_' + row.F_Id + '" onclick="btn_mark(\'' + row.F_Id + '\')" title="标记">标记</a></li>' +
|
|
525
|
529
|
'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_edit_' + row.F_Id + '" onclick="btn_edit(\'' + row.F_Id + '\')" title="修改">修改</a></li>' +
|
|
526
|
530
|
'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_delete_' + row.F_Id + '" onclick="btn_deleteid(\'' + row.F_Id + '\')" title="删除">删除</a></li>' +
|
|
527
|
531
|
'</ul>';
|
|
|
@@ -531,6 +535,7 @@ function formatterSubmit(val, row) {
|
|
531
|
535
|
function formatterDesig(val, row) {
|
|
532
|
536
|
return '<ul class="tool_downs">' +
|
|
533
|
537
|
'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_transfer_' + row.F_Id + '" onclick="btn_transfer(\'' + row.F_Id + '\', 2)" title="指派">指派</a></li>' +
|
|
|
538
|
+ '<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_mark_' + row.F_Id + '" onclick="btn_mark(\'' + row.F_Id + '\')" title="标记">标记</a></li>' +
|
|
534
|
539
|
'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_edit_' + row.F_Id + '" onclick="btn_edit(\'' + row.F_Id + '\')" title="修改">修改</a></li>' +
|
|
535
|
540
|
'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_delete_' + row.F_Id + '" onclick="btn_deleteid(\'' + row.F_Id + '\')" title="删除">删除</a></li>' +
|
|
536
|
541
|
'<li><a href="javascript:;" class="aBtn" authorize="yes" id="HY_return_' + row.F_Id + '" onclick="btn_return(\'' + row.F_Id + '\')" title="退回">退回</a></li>' +
|
|
|
@@ -606,6 +611,18 @@ function btn_edit(val) {
|
|
606
|
611
|
});
|
|
607
|
612
|
}
|
|
608
|
613
|
|
|
|
614
|
+//标记工单
|
|
|
615
|
+function btn_mark(val) {
|
|
|
616
|
+ var id = val;
|
|
|
617
|
+ layer.open({
|
|
|
618
|
+ type: 2,
|
|
|
619
|
+ title: '修改工单',
|
|
|
620
|
+ maxmin: true, //开启最大化最小化按钮
|
|
|
621
|
+ area: ['80%', '90%'],
|
|
|
622
|
+ content: '../WorkOrder/WorkOrderMark.html?id=' + id
|
|
|
623
|
+ });
|
|
|
624
|
+}
|
|
|
625
|
+
|
|
609
|
626
|
//接收工单
|
|
610
|
627
|
function btn_order(id) {
|
|
611
|
628
|
layer.confirm('确认要接单吗?', {
|