MsgShowAndClose.cshtml 503 B

12345678910111213141516171819
  1. @{
  2. ViewBag.Title = "系统提示";
  3. }
  4. @section scripts{
  5. <script type="text/javascript">
  6. function encodeURL(s) {
  7. return s.replace(/&amp;/g, "&");
  8. }
  9. $(function () {
  10. $.messager.alert('系统提示', '@ViewBag.msg', 'info', function () {
  11. var windowID = '@ViewBag.WindowID';
  12. top.$('#' + windowID).window('close');
  13. });
  14. $(".panel-tool-close").css("display", "none");
  15. })
  16. </script>
  17. }