Commit c2a87919 authored by agping's avatar agping

alert

parent afc4fbfe
......@@ -1530,19 +1530,19 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
$('#addmaid_input_shop').val(obj.district_name+'-'+obj.store_name);
});
} else {
layerTipsX(_data['msg']);
alert(_data['msg']);
}
} else {
layerTipsX('数据错误');
alert('数据错误');
};
},
error: function() {
layerTipsX('enter error');
alert('enter error');
},
complete: function(xhr, textStatus){
if(textStatus === 'timeout') {
//处理超时的逻辑
layerTipsX('请求超时,请重试');
alert('请求超时,请重试');
};
}
});
......@@ -1652,10 +1652,10 @@ define(['doT', 'text!temp/reportList_office_template_tpl.html', 'css!style/home.
alert('编辑成功!请在离开页面时点击【保存】按钮');
bargain.maidShow();
} else {
layerTipsX(_data['msg']);
alert(_data['msg']);
}
} else {
layerTipsX('数据错误');
alert('数据错误');
};
},
error: function() {
......
......@@ -1483,7 +1483,7 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
$('#addmaid_input_shop').val(obj.district_name+'-'+obj.store_name);
});
} else {
layerTipsX(_data['msg']);
alert(_data['msg']);
}
} else {
layerTipsX('数据错误');
......@@ -1605,7 +1605,7 @@ define(['doT', 'text!temp/reportList_shop_template_tpl.html', 'css!style/home.cs
alert('编辑成功!请在离开页面时点击【保存】按钮');
bargain.maidShow();
} else {
layerTipsX(_data['msg']);
alert(_data['msg']);
}
} else {
layerTipsX('数据错误');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment