monitor.blade.php 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. @extends('base.base')
  2. @section('base')
  3. <!-- 内容区域 -->
  4. <style type="text/css">
  5. .table th{
  6. padding: 0.8375rem;
  7. vertical-align: top;
  8. border-top: 1px solid #ebedf2;
  9. }
  10. </style>
  11. <div class="main-panel">
  12. <div class="content-wrapper">
  13. <div class="page-header">
  14. <h3 class="page-title">
  15. <span class="page-title-icon bg-gradient-primary text-white mr-2">
  16. <i class="mdi mdi-settings"></i>
  17. </span>
  18. {{ __('auto.单控池监控') }}
  19. </h3>
  20. <nav aria-label="breadcrumb">
  21. <ol class="breadcrumb">
  22. <li class="breadcrumb-item"><a href="#">{{ __('auto.单控池监控') }}</a></li>
  23. <li class="breadcrumb-item active" aria-current="page">{{ __('auto.用户控制') }}</li>
  24. </ol>
  25. </nav>
  26. </div>
  27. <div class="row">
  28. <div class="col-lg-12 grid-margin stretch-card">
  29. <div class="card">
  30. <div class="card-body">
  31. <h4 class="card-title">{{ __('auto.单控池监控') }}</h4>
  32. <form class="well form-inline margin-top-20" method="post" action='/admin/control/monitor'>
  33. @csrf
  34. <spen style="padding-left: 10px" >{{ __('auto.选择时间:') }}</spen>
  35. <input type="date" step="01" name="start_time" class="form-control" value="{{$start_time}}"/>&nbsp;&nbsp;
  36. <input type="date" step="01" name="end_time" class="form-control" value="{{$end_time}}"/>&nbsp;&nbsp;
  37. <select class="form-control" name="date" style="color: black">
  38. <option value="">{{ __('auto.选择时间') }}</option>
  39. <option value="1" >{{ __('auto.今日') }}</option>
  40. <option value="2" >{{ __('auto.昨日') }}</option>
  41. <option value="3" >{{ __('auto.本周') }}</option>
  42. <option value="4" >{{ __('auto.本月') }}</option>
  43. </select>
  44. <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="{{ __('auto.查询') }}"/>&nbsp;&nbsp;
  45. <a href="/admin/control/monitor" class="btn btn-sm btn-gradient-warning btn-icon-text">{{ __('auto.清空') }}</a>&nbsp;&nbsp;
  46. <a href="/admin/control/monitor?excel=1&start_time={{$start_time}}&end_time={{$end_time}}" class="btn btn-sm btn-gradient-dark btn-icon-text">{{ __('auto.导出') }}</a>&nbsp;&nbsp;
  47. </form>
  48. <table class="table table-bordered">
  49. <thead>
  50. <tr>
  51. <th width="6%">{{ __('auto.单控池总库存:') }}{{$total->TotalPool}}</th>
  52. <th width="6%">{{ __('auto.单控池累计成功回收:') }}{{$total->TotalIncome}}</th>
  53. <th width="6%">{{ __('auto.单控池累计成功吐分:') }}{{$total->TotalExpend}}</th>
  54. </tr>
  55. <tr>
  56. <th width="6%">TP{{ __('auto.单控池总库存:') }}{{$tp->TotalPool}}</th>
  57. <th width="6%">TP{{ __('auto.单控池累计成功回收:') }}{{$tp->TotalIncome}}</th>
  58. <th width="6%">TP{{ __('auto.单控池累计成功吐分:') }}{{$tp->TotalExpend}}</th>
  59. </tr>
  60. <tr>
  61. <th width="6%">RM{{ __('auto.单控池总库存:') }}{{$rm->TotalPool}}</th>
  62. <th width="6%">RM{{ __('auto.单控池累计成功回收:') }}{{$rm->TotalIncome}}</th>
  63. <th width="6%">RM{{ __('auto.单控池累计成功吐分:') }}{{$rm->TotalExpend}}</th>
  64. </tr>
  65. </thead>
  66. </table>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. @endsection