mainindex.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <div class="card">
  2. <div class="body" style="display:flex;">
  3. <!--<div style="font-size:16px;border: 1px solid #e4eaf1;">
  4. <div class="home_title"><span class="glyphicon glyphicon-calendar" aria-hidden="true"></span><span style="padding-left:10px;">调度日记</span></div>
  5. <div cd-option="cdOption" gt-calendar></div>
  6. </div>
  7. <div style="font-size:16px;border: 1px solid #e4eaf1;margin-left:15px;width:calc(100% - 50px">
  8. <div class="home_title">
  9. <span class="glyphicon glyphicon-volume-up" aria-hidden="true"></span>
  10. <span style="padding-left:10px;">待办公告</span>
  11. <span class="home_more" ng-click="moreNotice()">更多</span>
  12. </div>
  13. <div style="padding:10px;" ng-show="noticeList.length>0">
  14. <div ng-repeat="it in noticeList">
  15. <div ng-show="it.Type == 1" class="home_row" ng-click="selectRow(it)" ng-mousemove="selectRow(it)">
  16. <i class="glyphicon glyphicon-option-vertical" style="padding-right:6px;"></i>
  17. <span>[{{it.TypeDesc}}]</span>
  18. <span ng-click="showContent(it)">{{it.Title}}</span><span ng-show="it.IsTop" class="label label-danger">置顶</span>
  19. <span style="float:right;padding-right:10px;">{{it.CreateTime|date:'yyyy-MM-dd'}}</span>
  20. </div>
  21. <p ng-show="it.select && it.Type == 1" class="home_panel" style="padding-left: 12px; padding-right: 12px;">{{it.htmlContent}}</p>
  22. <div ng-show="it.Type == 2" class="home_row" ng-mousemove="selectRow(it)">
  23. <i class="glyphicon glyphicon-option-vertical" style="padding-right:6px;"></i>
  24. <span>[{{it.TypeDesc}}]</span>
  25. <span><a ng-if="it.Url!=null" ng-click="openToDo(it.Url, it.PID, it.FID, it.KID)">{{it.Title}}</a></span>
  26. <span style="float: right; padding-right: 10px; z-index: 10;">{{it.CreateTime|date:'yyyy-MM-dd'}}</span>
  27. </div>
  28. <div ng-show="it.Type == 3" class="home_row" ng-mousemove="selectRow(it)">
  29. <i class="glyphicon glyphicon-option-vertical" style="padding-right:6px;"></i>
  30. <span>[{{it.TypeDesc}}]</span>
  31. <span>{{it.Title}}</span>
  32. <span style="float:right;padding-right:10px;">{{it.CreateTime|date:'yyyy-MM-dd'}}</span>
  33. </div>
  34. </div>
  35. </div>
  36. <div style="padding-left:30px;padding-top:20px;" ng-show="announcementList.length==0">&nbsp;暂无待办公告信息</div>
  37. </div>-->
  38. </div>
  39. <!-- <div class="body">
  40. <div panel-title data-title="'最近每日调度数量'">
  41. </div>
  42. <div e-chart ec-data="pieOption"
  43. style='min-height: 300px; max-width: 100%; width: 100%;'></div>
  44. </div>-->
  45. <div style="display:flex">
  46. <!--<div style="width:50%;flex:1;margin-left:10px;">
  47. <div panel-title data-title="'拖轮作业量统计'">
  48. </div>
  49. <div e-chart ec-data="tugboatOption"
  50. style='min-height: 300px; width: 100%;'></div>
  51. </div>
  52. <div style="width:50%">
  53. <div panel-title data-title="'计费时目标完成情况'">
  54. </div>
  55. <div e-chart ec-data="tugboatUsageOption"
  56. style='min-height: 300px; width: 100%;'></div>
  57. </div>-->
  58. </div>
  59. </div>
  60. <script type="text/ng-template" id="tmpShow.html">
  61. <div class="modal" tabindex="-1" role="dialog">
  62. <div class="modal-dialog" style="width:80%;">
  63. <div class="card">
  64. <div class="header">
  65. <button type="button" class="close" ng-click="$hide()">&times;</button>
  66. <h4 class="modal-title">{{params.Title}}</h4>
  67. </div>
  68. <div activate-input activate-select class="body">
  69. <p ng-bind-html="params.Content|trustAsHtml" style="padding:10px 40px;"></p>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </script>
  75. <style type="text/css">
  76. .home_title {
  77. padding: 10px;
  78. font-size: 16px;
  79. background-color: #F4F7FA
  80. }
  81. .home_row {
  82. background-color: #f8f7f7;
  83. width: 100%;
  84. padding: 5px 0px;
  85. margin-bottom: 5px;
  86. cursor: pointer;
  87. font-size: 12px;
  88. }
  89. .home_more {
  90. float: right;
  91. font-size: 12px;
  92. cursor: pointer;
  93. }
  94. .home_panel {
  95. width: 100%;
  96. overflow: hidden;
  97. height: 35px;
  98. font-size: 12px;
  99. }
  100. </style>