Index.cshtml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. @{
  2. ViewData["TitleController"] = "运维管理";
  3. ViewData["TitleAction"] = "";
  4. ViewData["TitleActionDescription"] = "数据维护处理";
  5. ViewData["Title"] = "运维管理";
  6. }
  7. <div id="app" class="row" style="padding-left: 10px;">
  8. <div class="col-md-12" style="background-color:#142131; padding: 10px 10px 20px 10px; border-radius: 5px; color: #fff;">
  9. <h3>CIM 密码管理</h3>
  10. <div class="col-md-6">
  11. <h3>自动化</h3>
  12. <label style="width: 80px">是否启用:</label>
  13. <input type="checkbox" v-model="password1enabled" />
  14. <br />
  15. <label style="width: 80px">密&nbsp;&nbsp;码:</label>
  16. <input type="text" id="password1" name="password1" style="color:black" v-model="password1" />
  17. <br />
  18. <button class="btn btn-default" style="color:black" v-on:click="savePassword1()">保存</button>
  19. </div>
  20. <div class="col-md-6">
  21. <h3>临时密码</h3>
  22. <label style="width: 80px">是否启用:</label>
  23. <input type="checkbox" v-model="password2enabled" />
  24. <br />
  25. <label style="width: 80px">密&nbsp;&nbsp;码:</label>
  26. <input type="text" id="password1" name="password1" style="color:black" v-model="password2" />
  27. <br />
  28. <button class="btn btn-default" style="color:black" v-on:click="savePassword2()">保存</button>
  29. </div>
  30. </div>
  31. <div class="col-md-12" style="background-color:#142131; padding: 10px 10px 20px 10px; border-radius: 5px; color: #fff;">
  32. <h3>能耗监控模块</h3>
  33. <div class="col-md-3">
  34. <button class="btn btn-default" style="color:black" v-on:click="initElectricEnergyList()">初始化能耗列表</button>
  35. <button class="btn btn-default" style="color:black" v-on:click="clearElectricEnergyCache()">清空能耗监控模块缓存</button>
  36. </div>
  37. </div>
  38. <div class="col-md-12" style="background-color:#142131; padding: 10px 10px 20px 10px; border-radius: 5px; color: #fff;">
  39. <h3>设备报警对照表</h3>
  40. <form action="/UploadAlarmFile" , method="post" enctype="multipart/form-data">
  41. <input type="file" name="file" />
  42. <input type="submit" value="上传" />
  43. </form>
  44. </div>
  45. </div>
  46. @section footer{
  47. <script src="~/js/devops/devops.js" asp-append-version="true"></script>
  48. }