|
|
@@ -224,12 +224,7 @@ function BindLDdep(obj1,obj2,obj3,obj4,res1) {
|
|
224
|
224
|
//客服部保存
|
|
225
|
225
|
console.log(window.name)
|
|
226
|
226
|
function saveCustomer() {
|
|
227
|
|
- console.log(parent.layer.getFrameIndex);
|
|
228
|
|
- //var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
|
|
229
|
|
- //parent.layer.close(); //再执行关闭
|
|
230
|
227
|
|
|
231
|
|
- parent.$('#list').bootstrapTable('refresh');
|
|
232
|
|
- return
|
|
233
|
228
|
if($('#name').val() == '') {
|
|
234
|
229
|
layer.confirm('请输入姓名!', {
|
|
235
|
230
|
icon: 2,
|
|
|
@@ -308,7 +303,6 @@ function saveCustomer() {
|
|
308
|
303
|
success: function(data) {
|
|
309
|
304
|
if(data.state.toLowerCase() == 'success') {
|
|
310
|
305
|
if (id) {
|
|
311
|
|
-
|
|
312
|
306
|
var savemsgs = '保存成功';
|
|
313
|
307
|
clear();
|
|
314
|
308
|
$('.customerSubmit').attr("disabled", false);
|