Index.cshtml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. @{
  2. ViewData["TitleController"] = "CIM监控";
  3. ViewData["TitleAction"] = "";
  4. ViewData["TitleActionDescription"] = "监控CIM系统运行状态";
  5. ViewData["Title"] = "CIM监控";
  6. }
  7. @section header{
  8. <link rel="stylesheet" href="~/lib/zTree.v3/css/zTreeStyle/zTreeStyle.min.css">
  9. }
  10. <style>
  11. .ztree * {
  12. color: black;
  13. font-size: 14px;
  14. }
  15. </style>
  16. <div class="row">
  17. <div class="col-md-12">
  18. <div class="box box box-primary">
  19. <div class="box-header">
  20. <div class="row">
  21. <div class="col-md-6">
  22. <div class="checkbox" style="padding-left: 10px; color:#FCC439">
  23. <label>
  24. <input id="isShowError" type="checkbox"> 只显示异常状态
  25. &nbsp;&nbsp;&nbsp;&nbsp;
  26. <span>页面自动更新周期为:1min</span>
  27. </label>
  28. </div>
  29. </div>
  30. <div class="col-md-2">
  31. <button class="btn btn-default" onclick="modal_issued_show()">数据下发</button>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="box-body">
  36. <div class="col-md-10">
  37. <div id="cims"></div>
  38. </div>
  39. <div class="col-md-2">
  40. <div class="cim-change-shift-div">
  41. <label id="changeShiftLabel">未换班机台</label>
  42. <div id="changeShift"></div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. <div class="modal fade" id="modal_issued" tabindex="-1" role="dialog" aria-labelledby="modal_user_add_label" data-backdrop="static">
  50. <div class="modal-dialog" role="document" style="width:60%">
  51. <div class="modal-content">
  52. <div class="modal-header">
  53. <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
  54. <h4 class="modal-title">数据下发</h4>
  55. </div>
  56. <div class="modal-body">
  57. <div class="content container-fluid">
  58. <div class="col-md-3">
  59. <div style="width:100%; height:450px; overflow:auto;">
  60. <ul id="productionLineTree" class="ztree"></ul>
  61. </div>
  62. </div>
  63. <div class="col-md-9">
  64. <div class="col-md-12">
  65. <h3>EAP 远程配置</h3>
  66. <div class="col-md-4">
  67. <input id="eapIp" type="text" placeholder="EAP IP"
  68. class="form-control" value="" />
  69. </div>
  70. <div class="col-sm-4">
  71. <input id="eapPort" type="text" placeholder="EAP Port"
  72. class="form-control" value="" />
  73. </div>
  74. <button type="button" class="btn btn-default" onclick="setEap()">设置</button>
  75. </div>
  76. <div class="col-md-12">
  77. <h3>EAP 远程配置(只填写IP地址,Port使用之前上传的Port)</h3>
  78. <div class="col-md-4">
  79. <input id="eapIp1" type="text" placeholder="EAP IP"
  80. class="form-control" value="" />
  81. </div>
  82. <button type="button" class="btn btn-default" onclick="setEapIp()">设置</button>
  83. </div>
  84. <div class="col-md-12">
  85. <h3> 远程升级</h3>
  86. <button type="button" class="btn btn-default" onclick="setUpdateApp()">升级</button>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. <div class="modal-footer">
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. @section footer{
  97. <script src="~/js/cim/cim.js"></script>
  98. <script src="~/lib/zTree.v3/js/jquery.ztree.core.min.js"></script>
  99. <script src="~/lib/ztree.v3/js/jquery.ztree.excheck.min.js"></script>
  100. }