|
|
@@ -136,7 +136,7 @@
|
|
136
|
136
|
$(".remove").click(function() {
|
|
137
|
137
|
var ids = $.map($('#list').bootstrapTable('getSelections'),
|
|
138
|
138
|
function(row) {
|
|
139
|
|
- return row.F_ZBID;
|
|
|
139
|
+ return row.F_ID;
|
|
140
|
140
|
});
|
|
141
|
141
|
/*判断长度*/
|
|
142
|
142
|
if(ids.length <= 0) {
|
|
|
@@ -152,8 +152,9 @@
|
|
152
|
152
|
$(".xg").click(function() {
|
|
153
|
153
|
var blackid = $.map($('#list').bootstrapTable('getSelections'),
|
|
154
|
154
|
function(row) {
|
|
155
|
|
- return row.F_ZBID;
|
|
|
155
|
+ return row.F_ID;
|
|
156
|
156
|
});
|
|
|
157
|
+
|
|
157
|
158
|
if(blackid.length != 1) {
|
|
158
|
159
|
layer.confirm('请选择一行进行修改?', {
|
|
159
|
160
|
btn: ['确定'] //按钮
|
|
|
@@ -171,7 +172,7 @@
|
|
171
|
172
|
area: ['30%', '38%'], //宽高
|
|
172
|
173
|
content: html
|
|
173
|
174
|
});
|
|
174
|
|
- $("#ID").val(result.data.F_ZBID);
|
|
|
175
|
+ $("#ID").val(result.data.F_ID);
|
|
175
|
176
|
$("#TelNum").val(result.data.F_ZBDH);
|
|
176
|
177
|
if(result.data.F_Groupid) {
|
|
177
|
178
|
getDepts($('#t_department')).then(function() {
|
|
|
@@ -247,7 +248,7 @@
|
|
247
|
248
|
/*执行删除*/
|
|
248
|
249
|
var ids = $.map($('#list').bootstrapTable('getSelections'),
|
|
249
|
250
|
function(row) {
|
|
250
|
|
- return row.F_ZBID;
|
|
|
251
|
+ return row.F_ID;
|
|
251
|
252
|
});
|
|
252
|
253
|
/*发送请求*/
|
|
253
|
254
|
$.post(huayi.config.callcenter_url + "DutyPhone/DelDutyPhone", {
|