client_home.php
29.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
<!DOCTYPE html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html>
<head>
<meta charset="UTF-8">
<title>永保电销系统</title>
<link rel="stylesheet" type="text/css" href="/assets/common/css/themes/gray/easyui.css" />
<link rel="stylesheet" type="text/css" href="/assets/common/css/themes/gray/menu.css" />
<link rel="stylesheet" type="text/css" href="/assets/common/css/themes/icon.css" />
<link rel="stylesheet" type="text/css" href="/assets/web/css/jitnry.css" />
<script type="text/javascript" src="/assets/common/js/jquery.min.1.9.4.js"></script>
<script type="text/javascript" src="/assets/common/js/jquery.easyui.min.1.9.4.js"></script>
<script type="text/javascript" src="/assets/common/js/jquery.cookie.1.4.1.js"></script>
<!-- 插件调用 --->
<script type="text/javascript" src="/assets/common/js/datagrid-detailview.js"></script>
<script type="text/javascript" src="/assets/common/locale/easyui-lang-zh_CN.js"></script>
<!-- 基础 JS 调用 -->
<script type="text/javascript" src="/assets/web/js/src/easyui.base.js"></script>
<script type="text/javascript" src="/assets/web/js/src/common.menu.js"></script>
<script type="text/javascript">
var oltTarget, logTarget, logGridTarget;
var num = 0;
var iCount;
$(function () {
oltTarget = $("#operation_log_txt");
logTarget = $("#operation_log");
logGridTarget = $("#operation_log_grid");
/* 获得窗口大小 */
function onResize() {
logTarget.window({
left:$(window).width() - 705,
top:$(window).height() - 425,
closed:true
});
};
window.onresize = onResize;
onResize();
/*
$(document).unbind('.commoditygrid').bind('mousedown.commoditygrid', function(e){
var p = $(e.target).closest('table.datagrid-btable,div.combo-panel');
if (p.length) { return; }
});
*/
$('#main_tabs').tabs('update', {
tab: $('#main_tabs').tabs('getTab', 1),
options: {
id: 'ClientIndex',
title: '客户管理'
}
});
$('#main_iframe').attr('src','__MODEL__/client/client_edit_main');
$.h.index.setOperateInfo(null, false);
$("<div class=\"datagrid-mask\"></div>").css({
display: "none",
position: "absolute",
width: "100%",
height: "100%"
}).appendTo("#Loading");
$("<div class=\"loading\"></div>").html("<div><img src='/assets/web/img/loading.gif' style='width:80px;height:80px;'></div><div style='font-size:12px;color:#666;'>正在加载主框架数据……</div>").css({
position: "relative",
left: $(window).width() / 2 - $(window).width() * 0.1,
top: $(window).height() / 2 - 100,
width: $(window).width() * 0.2
}).appendTo("#Loading").css({display: "block"});
setTimeout(function () {
$("#Loading").fadeOut("normal", function () {
$(this).remove();
});
}, 800)
});
$.h.index = {
refresh : function(e) {
var objMainTabs = $('#main_tabs');
var objMainTabsOptions = objMainTabs.tabs('getSelected').panel('options');
if (objMainTabs.tabs('getTabIndex',objMainTabs.tabs('getSelected')) == 0) {
$('#main_iframe').attr('src',$('#main_iframe').attr('src'));
return;
}
objMainTabs.tabs('update', {
tab: objMainTabs.tabs('getSelected'),
options: {
title: objMainTabsOptions.title,
href: objMainTabsOptions.href
}
});
objMainTabs.tabs('getSelected').panel('refresh');
},
onCloseAll : function() {
var objTabs = $('#main_tabs');
var mTabs = objTabs.tabs('tabs');
for (var i = 0; i < mTabs.length; i++) {
if (i == 0) continue;
objTabs.tabs("close", i);
}
},
sendMainMsg : function(msg) {
if ($("#main_msg").is(":hidden")) {
$('#main_msg').html(msg);
var mainMsgWidth = $('#main_msg').width() / 2;
$('#main_msg').offset({top:0,left:((document.documentElement.clientWidth || document.body.clientWidth) / 2 - mainMsgWidth)});
$('#main_msg').show();
} else {
$('#main_msg').html('');
$('#main_msg').offset({top:0,left:0});
$('#main_msg').hide();
}
},
/**
* 如果 info 为 null 并且 b 为 false,只读取数组中第一条记录并显示
* 如果 info 不是 null 并且 b 为 false,只显示信息,不写入数组中
* 如果 info 不是 null 并且 b 为 true,显示信息,并写入数组中
*/
setOperateInfo : function(info, b) {
if (info == null || b) {
var mCookieData = $.cookie('SysOperateInfo');
if (!mCookieData) {
mCookieData = '[]';
}
mCookieData = JSON.parse(mCookieData);
if (mCookieData.length >= 10) {
mCookieData.splice(9, 1);
}
/* 为 true 时,写入 Cookie */
if (b) {
info.id = mCookieData.length;
mCookieData.unshift(info);
$.cookie('SysOperateInfo',JSON.stringify(mCookieData));
}
if (info == null) {
if (mCookieData.length == 0) return;
info = mCookieData[0];
}
if (!logTarget.window('options').closed) {
logGridTarget.datagrid('loadData', mCookieData);
}
}
var strHtml = '<strong>【{R_Module}】【{R_Operate}】:</strong>{R_Content}';
strHtml = strHtml.replace('{R_Module}',info.module).replace('{R_Operate}',info.operate).replace('{R_Content}',info.content);
$(oltTarget.children()[0]).html(strHtml);
clearInterval(iCount);
if (info.icon == 'hr-warn' || info.icon == 'hr-error') {
this.sendMainMsg(strHtml);
iCount = window.setInterval(txtTwinkle, 1300);
}
if (!$(oltTarget.children()[1]).hasClass(info.icon)) {
strHtml = "l-btn-icon " + info.icon;
$(oltTarget.children()[1]).attr("class","l-btn-icon " + info.icon);
}
}
};
function txtTwinkle() {
num++;
if (num == 6) {
num = 0;
$.h.index.sendMainMsg(null);
clearInterval(iCount);
} else {
setTimeout("oltTarget.css('color','blue')",500);
setTimeout("oltTarget.css('color','#000')",800);
}
}
</script>
</head>
<body>
<div id='Loading' style="position:absolute;z-index:1000;top:0px;left:0px;width:100%;height:100%;background-color:#fff;text-align:center;"></div>
<div class="easyui-layout" data-options="fit:true">
<div data-options="region:'north',border:false" style="display:flex;justify-content:space-between;height:60px;line-height:60px;overflow:hidden;background-image:linear-gradient(90deg, #dee, #fff);">
<div style="display:flex;align-items:center;">
<div slot="header-logo" style="float:left;width:180px;">
<img src="/assets/web/img/Logo.png" style="margin-left: 20px;height: 30px;">
</div>
<div>
<a href="#" class="easyui-menubutton" data-options="menu:'#mobile',hasDownArrow:false,iconCls:'hr-database',iconAlign:'top',width:60,plain:false">电话</a>
<div id="mobile" style="width:100px;">
<div data-options="iconCls:'icon-ok'">签入</div>
<div data-options="iconCls:'icon-cancel'">空闲</div>
<div data-options="iconCls:'icon-cancel'">忙碌</div>
</div>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'hr-cart',iconAlign:'top',width:60,plain:true">签入</a>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'hr-user',iconAlign:'top',width:60,plain:true">空闲</a>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'hr-law',iconAlign:'top',width:60,plain:true">忙碌</a>
<span style="color:#E7E7E7;height:50px;margin: 0 5px;border-left: 1px solid #ddd;border-right: 1px solid #fff;"></span>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'hr-admin',iconAlign:'top',width:60,plain:true">内呼</a>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'hr-076',iconAlign:'top',width:60,plain:true">外呼</a>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'hr-user4add',iconAlign:'top',width:60,plain:true">保持</a>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'hr-imageadd',iconAlign:'top',width:60,plain:true">满意度</a>
<span style="color:#E7E7E7;height:55px;margin: 0 5px;border-left: 1px solid #ddd;border-right: 1px solid #fff;"></span>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'hr-flag2add',iconAlign:'top',width:75,plain:true">咨询坐席</a>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'hr-turn-on',iconAlign:'top',width:75,plain:true">咨询外线</a>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'hr-creditcards',iconAlign:'top',width:60,plain:true">转接</a>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'hr-report_user',iconAlign:'top',width:60,plain:true">三方</a>
<a href="#" class="easyui-linkbutton" data-options="iconCls:'hr-report_link',iconAlign:'top',width:75,plain:true">三方接回</a>
</div>
</div>
<div style="display:flex;align-items:center;margin-right:5px;">
<a href="javascript:void(0)" class="easyui-menubutton" data-options="menu:'#sysButton',height:50,hasDownArrow:false">系统设置</a>
<div id="sysButton" style="width:150px;">
<div data-options="iconCls:'hr-loading'">组织机构</div>
<div class="menu-sep"></div>
<div data-options="iconCls:'icon-organisation'">权限管理</div>
<div data-options="iconCls:'icon-bolt'">版本管理</div>
</div>
<span style="color:#E7E7E7;height:20px;margin: 0 5px;border-left: 1px solid #ccc;border-right: 1px solid #fff;"></span>
<a href="javascript:void(0)" class="easyui-menubutton" data-options="menu:'#meButton',iconCls:'hr-settings',height:50,menuAlign:'right'">王二小</a>
<div id="meButton" style="width:150px;">
<div data-options="iconCls:'hr-view'">江西查查</div>
<div class="menu-sep"></div>
<div data-options="iconCls:'hr-warn'">退出</div>
</div>
</div>
<div id="main_msg" style="display:black;position:absolute;top:0;left:50%;transform:translate(-50%,0);height:40px;line-height:30px;font-size:14px;color:#fff;padding:5px 20px;border-radius:0 0 .5em .5em;background-color:rgba(0,0,0,0.5)">~~这是一条提示消息~~</div>
</div>
<div data-options="region:'west',split:true,hideCollapsedContent:false,collapsed:false,title:'菜单',dataType:'json'" style="width:180px;min-width:160px;">
<div class="easyui-menu" data-options="inline:true,fit:true,itemHeight:40" style="border:0px;">
<div data-options="iconCls:'icon-cancel'">
<span>客户管理</span>
<div style="width:180px;">
<div data-options="iconCls:'icon-clear'"><b>客户管理</b></div>
<div data-options="iconCls:'icon-edit'">客户导入</div>
<div data-options="iconCls:'icon-remove'">客户调配</div>
<div data-options="iconCls:'icon-save'">数据处理</div>
<div class="menu-sep"></div>
<div data-options="iconCls:'icon-cut'">招聘管理</div>
<div data-options="iconCls:'icon-ok'">下发回收</div>
<div data-options="iconCls:'icon-no'">故障报修</div>
</div>
</div>
<div class="menu-selected" data-options="iconCls:'hr-loading'">
<span>我的助手</span>
<div style="width:180px;">
<div><b>我的消息</b></div>
<div>消息提醒</div>
<div>通话记录</div>
<div>未接来电</div>
<div>公告管理</div>
<div>通讯录</div>
<div>个人设置</div>
<div>帮助向导</div>
</div>
</div>
<div data-options="iconCls:'icon-reload'">
<span>保单管理</span>
<div style="width:180px;">
<div><b>保单管理</b></div>
<div>中英保单号管理</div>
<div>百年支付</div>
<div>支付页面</div>
<div class="menu-sep"></div>
<div>生命保单管理</div>
<div>支付结果查询</div>
<div>支付明细查询</div>
</div>
</div>
<div data-options="iconCls:'icon-print',disabled:true">短信管理</div>
<div data-options="iconCls:'icon-search'">客服服务</div>
<div data-options="iconCls:'hr-settings'">产品管理</div>
<div data-options="iconCls:'icon-help'">订单管理</div>
<div data-options="iconCls:'icon-undo'">统计分析</div>
<div data-options="iconCls:'icon-redo'">系统监控</div>
<div class="menu-sep"></div>
<div data-options="iconCls:'hr-settings'">系统管理</div>
</div>
</div>
<div data-options="region:'center',border:false" style="overflow:hidden;">
<div id="main_tabs" class="easyui-tabs" data-options="fit:true,border:true,tools:'#tab-tools',tabWidth:120">
<!-- <div title="首页" style="overflow:hidden;padding:4px;">-->
<!-- <div id="main_layout" class="easyui-layout" data-options="fit:true">-->
<!-- <div data-options="region:'center',hideCollapsedContent:false,border:false">-->
<!-- <div class="easyui-layout" data-options="fit:true,border:false">-->
<!-- <div style="height:260px;padding:5px;"-->
<!-- data-options="-->
<!-- region:'north',-->
<!-- title:'关键业务指标',-->
<!-- split:true,-->
<!-- collapsible: false,-->
<!-- tools:[{-->
<!-- iconCls:'hr-settings',-->
<!-- handler:function() {-->
<!-- alert('设置')-->
<!-- }-->
<!-- }]">-->
<!-- </div>-->
<!-- <div style="width:50%;padding:5px;"-->
<!-- data-options="-->
<!-- region:'west',-->
<!-- title:'常用表单',-->
<!-- split:true,-->
<!-- collapsible: false,-->
<!-- tools:[{-->
<!-- iconCls:'hr-settings',-->
<!-- handler:function() {-->
<!-- alert('设置')-->
<!-- }-->
<!-- }]">-->
<!-- </div>-->
<!-- <div style="padding:5px;" data-options="region:'center',title:'流程与提醒'"></div>-->
<!-- <div style="height:320px;padding:5px;"-->
<!-- data-options="-->
<!-- region:'south',-->
<!-- title:'南',-->
<!-- split:true,-->
<!-- collapsible: false,-->
<!-- tools:[{-->
<!-- iconCls:'hr-settings',-->
<!-- handler:function() {-->
<!-- alert('设置')-->
<!-- }-->
<!-- }]">-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- -->
<!-- <div data-options="region:'east',split:true,title:'客户'" style="overflow:hidden;width:420px;-moz-user-select:none;-webkit-user-select:none;">-->
<!-- <div class="easyui-panel"-->
<!-- data-options="-->
<!-- fit:true,-->
<!-- title:' ',-->
<!-- border:false-->
<!-- ">-->
<!-- <header style="height:33px;padding:1px;">-->
<!-- <div style="float:left;">-->
<!-- <a id="btn_search" class="easyui-linkbutton"-->
<!-- data-options="-->
<!-- iconCls:'icon-search',-->
<!-- plain:true,-->
<!-- onClick:function(e) {-->
<!-- var p = $('#list_layout');-->
<!-- if (p.layout('panel','north').panel('options').closed) {-->
<!-- p.layout('show','north');-->
<!-- } else {-->
<!-- p.layout('hide','north');-->
<!-- }-->
<!-- }-->
<!-- ">查询</a>-->
<!-- </div>-->
<!-- <div style="float:right;">-->
<!-- <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',toggle:true,group:'g1',selected:true,plain:true,status:-1" style="color:blue;font-weight:bold">全部</a>-->
<!-- <a class="easyui-linkbutton" data-options="toggle:true,group:'g1',plain:true,status:0">挂起</a>-->
<!-- <a class="easyui-linkbutton" data-options="toggle:true,group:'g1',plain:true,status:1">撤销</a>-->
<!-- <a class="easyui-linkbutton" data-options="toggle:true,group:'g1',plain:true,status:9">完成</a>-->
<!-- </div>-->
<!-- </header>-->
<!-- <div id="list_layout" class="easyui-layout" data-options="fit:true">-->
<!-- <div style="height:172px;background-color:#eee;padding:10px 10px 0px 10px;border-bottom: 1px solid #ccc;"-->
<!-- data-options="-->
<!-- region:'north',-->
<!-- border:false,-->
<!-- closed:true-->
<!-- ">-->
<!-- <form id="list_search_form" method="post">-->
<!-- <div class="kbi_column">-->
<!-- <div class="kbi_column_left_100 a">-->
<!-- <div class="kbi_column_t"><strong>日期</strong> 从:</div>-->
<!-- <div class="kbi_column_i">-->
<!-- <input name="search_date_begin" class="easyui-datebox" style="width:45%;" /input>-->
<!-- 至:-->
<!-- <input name="search_date_end" class="easyui-datebox" style="width:45%;" /input>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="kbi_column_left_100 a">-->
<!-- <div class="kbi_column_t">姓名:</div>-->
<!-- <div class="kbi_column_i">-->
<!-- <input name="sreach_supplier_name" class="easyui-textbox" style="width:100%;" /input>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="kbi_column_left_100 a">-->
<!-- <div class="kbi_column_t">单号:</div>-->
<!-- <div class="kbi_column_i">-->
<!-- <input name="search_orders_code" class="easyui-textbox" style="width:100%;" /input>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="kbi_column_left_100 a" style="text-align:right;">-->
<!-- <a class="easyui-linkbutton" style="width:70px;margin-right:15px;"-->
<!-- data-options="-->
<!-- iconCls:'icon-clear',-->
<!-- onClick:function(e) {-->
<!-- $('#list_layout').layout('hide','north');-->
<!-- }-->
<!-- ">关闭</a>-->
<!-- <a class="easyui-linkbutton" style="width:70px;margin-right:15px;"-->
<!-- data-options="-->
<!-- iconCls:'icon-reload',-->
<!-- onClick:function(e) {-->
<!-- $('#list_search_form').form('reset');-->
<!-- }-->
<!-- ">重置</a>-->
<!-- <a class="easyui-linkbutton" data-options="iconCls:'icon-search'" style="width:100px;margin-right:15px;">查询</a>-->
<!-- </div>-->
<!-- </div>-->
<!-- </form>-->
<!-- </div>-->
<!-- <div data-options="region:'center',border:false">-->
<!-- <table id="orders_list" class="easyui-datagrid"-->
<!-- data-options="-->
<!-- fit: true,-->
<!-- fitColumns:true,-->
<!-- border: false,-->
<!-- rownumbers:true,-->
<!-- singleSelect:true,-->
<!-- method:'post',-->
<!-- pagination: true,-->
<!-- pageSize: 25,-->
<!-- showPageList: false,-->
<!-- displayMsg: '共 {total} 行',-->
<!-- data: {'total':28,'rows':[-->
<!-- {'orders_id':1,'orders_date':'2020-05-01 11:20','supplier_name':'王小明','orders_status':0},-->
<!-- {'orders_id':1,'orders_date':'2020-05-01 11:20','supplier_name':'二嘎子','orders_status':1},-->
<!-- {'orders_id':1,'orders_date':'2020-05-01 11:20','supplier_name':'普拉多','orders_status':9},-->
<!-- {'orders_id':1,'orders_date':'2020-05-01 11:20','supplier_name':'曹孟德','orders_status':1}-->
<!-- ]}-->
<!-- ">-->
<!-- <thead>-->
<!-- <tr>-->
<!-- <th data-options="field:'orders_id',checkbox:true"></th>-->
<!-- <th data-options="-->
<!-- field:'orders_date',-->
<!-- align:'left',-->
<!-- width:160-->
<!-- "><strong>日期</strong></th>-->
<!-- <th data-options="field:'supplier_name',align:'left',width:100"><strong>姓名</strong></th>-->
<!-- <th data-options="-->
<!-- field:'orders_status',-->
<!-- align:'center',-->
<!-- fixed:true,-->
<!-- width:60,-->
<!-- formatter: function(value,row,index) {-->
<!-- switch(parseInt(value)) {-->
<!-- case 0:-->
<!-- return '<font color=blue>挂起</font>';-->
<!-- case 9:-->
<!-- return '<font color=green><b>完成</b></font>';-->
<!-- case 1:-->
<!-- return '<font color=#aaa><b>撤销</b></font>';-->
<!-- }-->
<!-- }-->
<!-- "><strong>状态</strong></th>-->
<!-- </tr>-->
<!-- </thead>-->
<!-- </table>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div title="客户管理" style="overflow:hidden;padding:4px;" data-options="id:'ClientListMain1',closable:true,dataType:'json',href:'/web/client/client_list_main'"></div>-->
<!-- <div title="客户管理" style="overflow:hidden;padding:4px;" data-options="id:'ClientListMain1',closable:true,selected:true,dataType:'json',href:'/web/indata/indata_list_main'"></div>-->
<!--div title="添加客户" style="overflow:hidden;padding:4px;" data-options="id:'ClientEditMain2',closable:true,dataType:'json',href:'/web/client/client_edit_main'"></div>
<div title="业务受理" style="overflow:hidden;padding:4px;" data-options="id:'ClientEditMain3',closable:true,selected:true,dataType:'json',href:'/web/work/work_accept_main'"></div-->
</div>
<div id="tab-tools" style="border-right:0px;">
<a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-clear',onClick:$.h.index.onCloseAll" title="关闭所有"></a>
<a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-reload',onClick:$.h.index.refresh" title="刷新当前"></a>
</div>
</div>
<div data-options="region:'east',split:true,hideCollapsedContent:false,collapsed:true,title:'快捷',dataType:'json',href:'/web/index/quick_menu'" style="width:100px;min-width:100px;"></div>
<div data-options="region:'south'" style="height:30px;overflow:hidden;">
<div style="float:left;line-height:30px;width:50%;">
<a href="javascript:void(0)" class="hr-award" style="padding:16px;" title="公司名称"></a>
<span>坐席号:1001</span>
<span style="margin:0 5px;color:#eee;">|</span>
<span>分机号:8499</span>
<span style="margin:0 5px;color:#ddd;">|</span>
<span>坐席状态:未签入</span>
<span style="margin:0 5px;color:#ddd;">|</span>
<span>队列状态:未签入</span>
</div>
<div style="float:right;line-height:30px;padding:1px;">
<a id='btn_menu' class="easyui-linkbutton" data-options="iconCls:'hr-menu',plain:true,height:26,
onClick:function() {
logTarget.window(logTarget.window('options').closed ? 'open' : 'close');
}"></a>
</div>
<div style="float:right;line-height:30px;">
<span id="operation_log_txt" class="l-btn-left l-btn-icon-left"><span class="l-btn-text">兵临城下提供技术支持</span></span>
</div>
</div>
</div>
<!-- 操作日志 -->
<div id="operation_log" class="easyui-window" style="width:700px;height:392px;"
data-options="
title:'操作日志',
modal:false,
closed:true,
collapsible:false,
minimizable:false,
maximizable:false,
resizable:false,
draggable:false,
noheader:false,
onOpen:function() {
$('#btn_menu').linkbutton('select');
var mCookieData = $.cookie('SysOperateInfo');
if (mCookieData) {
mCookieData = JSON.parse(mCookieData);
logGridTarget.datagrid('loadData', mCookieData);
}
},
onClose:function() {
$('#btn_menu').linkbutton('unselect');
}">
<table id="operation_log_grid" class="easyui-datagrid" style="width:100%;" title=""
data-options="
fit:true,
fitColumns:true,
rownumbers:true,
iconCls:'hr-record',
singleSelect:true,
rownumbers:true,
border:false,
method:'get',
checkOnSelect:false,
selectOnCheck:false
">
<thead>
<tr>
<th data-options="field:'id',hidden:true"></th>
<th data-options="
field:'icon',
align:'center',
formatter:function(value,row,index) {
switch(value) {
case 'hr-warn':
return '<img src=/static/manage/themes/icons/warn.png />';
case 'hr-error':
return '<img src=/static/manage/themes/icons/error.png />';
case 'icon-ok':
return '<img src=/static/manage/themes/icons/ok.png />';
case 'icon-save':
return '<img src=/static/manage/themes/icons/filesave.png />';
}
}
"> </th>
<th data-options="field:'module',align:'center',width:50"><b>单据</b></th>
<th data-options="field:'operate',align:'center',width:40"><b>操作</b></th>
<th data-options="field:'content',width:200"><b>说明</b></th>
</tr>
</thead>
</table>
</div>
</body>
</html>