You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

94 lines
3.4 KiB

  1. @{
  2. ViewBag.Title = "消息提醒";
  3. Layout = "~/Views/Shared/_Index.cshtml";
  4. }
  5. <div class="lr-layout " >
  6. <div class="lr-layout-center">
  7. <div class="lr-layout-wrap lr-layout-wrap-notitle ">
  8. <div class="lr-layout-tool">
  9. <div class="lr-layout-tool-left">
  10. <div class="lr-layout-tool-item">
  11. <div id="datesearch"></div>
  12. </div>
  13. </div>
  14. <div class="lr-layout-tool-right">
  15. <div class=" btn-group btn-group-sm">
  16. <a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
  17. </div>
  18. <div class=" btn-group btn-group-sm" learun-authorize="yes">
  19. @*<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;新增</a>
  20. <a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
  21. <a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>*@
  22. <a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印</a>
  23. </div>
  24. <div class="layui-btn-container">
  25. </div>
  26. </div>
  27. </div>
  28. <div class="lr-layout-body" id="gridtable"></div>
  29. </div>
  30. </div>
  31. @*<div id="winpop">
  32. <div class="title">您有新的未读消息<span class="close" onclick="tips_pop()">x</span></div>
  33. <div id="notifications">
  34. </div>
  35. </div>*@
  36. </div>
  37. @Html.AppendJsFile("/Areas/LR_Desktop/Views/MessageRind/Index.js");
  38. <script>
  39. //function tips_pop() {
  40. // var MsgPop = document.getElementById("winpop");
  41. // var popH = parseInt(MsgPop.style.height);
  42. // if (popH == 0) {
  43. // MsgPop.style.Height = "block";
  44. // show = setInterval("changeH('up')", 2);
  45. // } else {
  46. // hide = setInterval("changeH('down')", 2);
  47. // }
  48. //}
  49. //function changeH(str) {
  50. // var magPop = document.getElementById("winpop");
  51. // var popH = parseInt(MsgPop.style.Height);
  52. // if (str == "up") {
  53. // if (popH <= 100) {
  54. // msgPop.style.height = (popH + 4).toString() + "px";
  55. // } else {
  56. // clearInterval(show);
  57. // }
  58. // }
  59. // if (str == "down") {
  60. // if (popH >= 4) {
  61. // MsgPop.style.Height = (popH - 4).toString() + "px";
  62. // } else {
  63. // clearInterval(hide);
  64. // MsgPop.style.display = "none";
  65. // }
  66. // }
  67. // window.onload = function() {
  68. // document.getElementById('winpop').style.height = '0px';
  69. // setTimeout("tips_pop()", 800);
  70. // }
  71. //}
  72. //function Winpop() {
  73. // var state = '0';
  74. // //$.get(${ ctx }/ sys /msGetUserMedia/getMsgList?state + "&t=" + new Date().getTime(),function(data) {
  75. // // $("#notifications").html(data);
  76. // //}),
  77. // $.get(${ ctx } / sys / msGetUserMedia / getMsgList ? state + "&t=" + new Date().getTime(), function (data) {
  78. // $("#notifications").html(data);
  79. // });
  80. //}
  81. //winpop();
  82. //setInterval(function() {
  83. // $("#winpop").load(Winpop(), "");
  84. // },
  85. // 1000);
  86. </script>