|
|
@@ -34,6 +34,7 @@
|
|
34
|
34
|
<div class="th-bar">
|
|
35
|
35
|
<a class="sc_btn add max-right">添加</a>
|
|
36
|
36
|
<a class="sc_btn remove">删除</a>
|
|
|
37
|
+ <a class="sc_btn export">导出</a>
|
|
37
|
38
|
<div class="seach-box fr">
|
|
38
|
39
|
<ul>
|
|
39
|
40
|
<li>电话号码:<input class="photo x-color" type="text" id="tel" /></li>
|
|
|
@@ -49,9 +50,10 @@
|
|
49
|
50
|
<thead>
|
|
50
|
51
|
<tr>
|
|
51
|
52
|
<th data-field="state" data-checkbox="true"></th>
|
|
52
|
|
- <th data-field="F_Phone">号码</th>
|
|
53
|
|
- <th data-field="F_SetTime">添加时间</th>
|
|
54
|
|
- <th data-field="F_Remark">备注</th>
|
|
|
53
|
+ <th data-field="phone">号码</th>
|
|
|
54
|
+ <th data-field="settime">添加时间</th>
|
|
|
55
|
+ <th data-field="remark">备注</th>
|
|
|
56
|
+ <th data-field="username">添加人</th>
|
|
55
|
57
|
</tr>
|
|
56
|
58
|
</thead>
|
|
57
|
59
|
<tbody id="tbody"></tbody>
|
|
|
@@ -102,6 +104,10 @@
|
|
102
|
104
|
remove();
|
|
103
|
105
|
});
|
|
104
|
106
|
|
|
|
107
|
+ /*删除内容*/
|
|
|
108
|
+ $(".export").click(function () {
|
|
|
109
|
+ window.open(huayi.config.callcenter_url + "BanCallOut/Export?token=" + $.cookie("token"));
|
|
|
110
|
+ });
|
|
105
|
111
|
|
|
106
|
112
|
/*增加弹框*/
|
|
107
|
113
|
$(".add").click(function () {
|
|
|
@@ -162,7 +168,7 @@
|
|
162
|
168
|
/*执行删除*/
|
|
163
|
169
|
var ids = $.map($('#list').bootstrapTable('getSelections'),
|
|
164
|
170
|
function (row) {
|
|
165
|
|
- return row.Id;
|
|
|
171
|
+ return row.id;
|
|
166
|
172
|
});
|
|
167
|
173
|
/*发送请求*/
|
|
168
|
174
|
$.post(huayi.config.callcenter_url + "BanCallOut/Delete", { ids: ids, token: $.cookie("token") }, function (result) {
|