Index: ssts-web/src/main/webapp/systemmanage/orgUnitExtView.js =================================================================== diff -u -r14209 -r14406 --- ssts-web/src/main/webapp/systemmanage/orgUnitExtView.js (.../orgUnitExtView.js) (revision 14209) +++ ssts-web/src/main/webapp/systemmanage/orgUnitExtView.js (.../orgUnitExtView.js) (revision 14406) @@ -84,17 +84,19 @@ }); mask.show(); DataSynchronizationTableManager.syncOrgUnit({ - callback:function(success){ - if (success) { + callback:function(data){ + if (data == 'success') { showResult("同步成功"); + } else if (data == 'error') { + showResult("同步失败"); } else { - showResult("同步失败"); + showResult(data); } mask.hide(); reloadTreeAndTable(); }, errorHandler:function(msg){ - mask.hide(); + mask.hide(); }, timeout:240000//超时时间4分钟 });