|
|
@@ -53,11 +53,9 @@ function initTable() {
|
|
53
|
53
|
};
|
|
54
|
54
|
},
|
|
55
|
55
|
onLoadSuccess: function() { //加载成功时执行
|
|
56
|
|
- authorizeOperateButton();
|
|
57
|
|
- //layer.msg("加载成功");
|
|
|
56
|
+ // authorizeOperateButton();
|
|
58
|
57
|
},
|
|
59
|
58
|
onLoadError: function() { //加载失败时执行
|
|
60
|
|
- //layer.msg("加载数据失败", { time: 1500, icon: 2 });
|
|
61
|
59
|
}
|
|
62
|
60
|
});
|
|
63
|
61
|
}
|
|
|
@@ -69,6 +67,7 @@ function authorizeOperateButton() {
|
|
69
|
67
|
switch(userRoleCode) {
|
|
70
|
68
|
case "XTGLY": // 坐席班长 派单(分配)、处理、接单、删除、催办
|
|
71
|
69
|
$('.tool_downs').find('#GL_delete').show();
|
|
|
70
|
+ $('.tool_downs').find('#GL_watch').show();
|
|
72
|
71
|
break;
|
|
73
|
72
|
case "JG": // JG-监管 删除/借阅、归还、入库、出库
|
|
74
|
73
|
$('.tool_downs').find('#GL_delete').show();
|
|
|
@@ -76,9 +75,9 @@ function authorizeOperateButton() {
|
|
76
|
75
|
$('.tool_downs').find('#GL_EXwarehouse').show();
|
|
77
|
76
|
$('.tool_downs').find('#GL_Borrowing').show();
|
|
78
|
77
|
$('.tool_downs').find('#GL_giveBack').show();
|
|
|
78
|
+ $('.tool_downs').find('#GL_watch').show();
|
|
79
|
79
|
break;
|
|
80
|
80
|
default:
|
|
81
|
|
- $('.tool_downs').find('#GL_watch').show();
|
|
82
|
81
|
break;
|
|
83
|
82
|
}
|
|
84
|
83
|
|
|
|
@@ -278,6 +277,6 @@ $('.btn_export1').click(function() {
|
|
278
|
277
|
|
|
279
|
278
|
function btn_export1(obj) {
|
|
280
|
279
|
var url = huayi.config.callcenter_url + "archives/ExportExcelarchives?token=" + $.cookie("token");
|
|
281
|
|
- url += "&A_archiveName=" + $("#sc_contel").val();
|
|
|
280
|
+ url += "&A_archiveName=" + $("#companyNameS").val();
|
|
282
|
281
|
obj.href = url;
|
|
283
|
282
|
}
|