提交后自动退回列表。

dev
曾超新 5 years ago
parent 3ce84da5cf
commit 6541a0e472
  1. 4
      frontend/views/insurer/office-mng-edit.php

@ -293,7 +293,7 @@ use common\models\PriceT;
$.post('/insurer/office-mng-save',params,function(obj){ $.post('/insurer/office-mng-save',params,function(obj){
parent.layer.msg(obj.msg); parent.layer.msg(obj.msg);
if(obj.success && status_id>2) { if(obj.success && status_id>2) {
$('.btn-back') $('.back-btn').click();
} }
},'json'); },'json');
} }
@ -312,7 +312,7 @@ use common\models\PriceT;
},function(obj){ },function(obj){
parent.layer.msg(obj.msg); parent.layer.msg(obj.msg);
if(obj.success) { if(obj.success) {
$('#back-btn').click(); $('.back-btn').click();
} }
},'json'); },'json');
}); });

Loading…
Cancel
Save