moonTask.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <div ng-controller="moonTaskListCtrl">
  2. <section id="page-title">
  3. <div class="row">
  4. <!-- <i class="iconfont icon-bianji pull-left"></i> -->
  5. <div class="col-sm-8">
  6. <h1 class="mainTitle">月度任务<i tooltip='月度任务列表,点击操作处理任务' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i></h1>
  7. </div>
  8. </div>
  9. </section>
  10. <div class="selectBotBox">
  11. <div class="search_condition">
  12. <div class="search_children">
  13. <span>责任人:</span>
  14. <ui-select class="tab-mainDiv-body-content" style="width:160px" ng-model="personData.data" theme="bootstrap">
  15. <ui-select-match placeholder="">
  16. {{$select.selected.name}}
  17. </ui-select-match>
  18. <ui-select-choices repeat="item in personListData">
  19. <div ng-bind-html="item.name"></div>
  20. </ui-select-choices>
  21. </ui-select>
  22. </div>
  23. <div class="search_children">
  24. <span>开始时间:</span>
  25. <input type="text" class="form-control pull-right incidentsearchsize" style="width:160px !important;border-color: #dedede;"
  26. datepicker-popuptime="yyyy-MM-dd" ng-model="jry_filterdata.taskMonth.strStartTime" max-date="jry_filterdata.taskMonth.strEndTime"
  27. is-open="startOpened" hour-time=true ng-init="startOpened = false" close-text="关闭"
  28. ng-click="startOpen($event)" placeholder="" />
  29. </div>
  30. <div class="search_children">
  31. <span>结束时间:</span>
  32. <input type="text" class="form-control selectzise pull-right incidentsearchsize" style="width:160px !important;border-color: #dedede;"
  33. datepicker-popuptime="yyyy-MM-dd" ng-model="jry_filterdata.taskMonth.strEndTime" hour-time=true
  34. min-date="jry_filterdata.taskMonth.strStartTime" is-open="endOpened" ng-init="endOpened = false"
  35. close-text="关闭" ng-click="endOpen($event)" placeholder="" />
  36. </div>
  37. <div class="search_children">
  38. <span>状态:</span>
  39. <ui-select class="tab-mainDiv-body-content" style="width:160px" ng-model="stateData.data" theme="bootstrap">
  40. <ui-select-match placeholder="">
  41. {{$select.selected.name}}
  42. </ui-select-match>
  43. <ui-select-choices repeat="item in stateListData">
  44. <div ng-bind-html="item.name"></div>
  45. </ui-select-choices>
  46. </ui-select>
  47. </div>
  48. </div>
  49. <div class="search_btn">
  50. <button ng-click="search()">搜索</button>
  51. <button ng-click="clean()">重置</button>
  52. <!-- <button ng-click="export()">导出</button> -->
  53. </div>
  54. </div>
  55. <div ui-i18n="{{lang}}">
  56. <div class="grid_height">
  57. <div id="grid1 " ui-grid="gridOptions" ui-grid-pagination external-scopes="$scope" ui-grid-resize-columns ui-grid-auto-resize class="grid"></div>
  58. </div>
  59. </div>
  60. </div>
  61. <style>
  62. /* 按钮盒子 */
  63. .selectBotBox{
  64. display: flex;
  65. background-color: rgb(249,249,249);
  66. padding:0px 5px 10px 5px;
  67. margin-bottom: 10px
  68. }
  69. .selectBotBox .search_condition{
  70. width: 80%;
  71. display: flex;
  72. flex-wrap:wrap;
  73. }
  74. .selectBotBox .search_condition .search_children{
  75. width: 220px;
  76. height: 28px;
  77. line-height: 28px;
  78. display: flex;
  79. margin-right: 10px;
  80. margin-top: 10px
  81. }
  82. /* .selectBotBox .search_condition .search_children .spa{
  83. width: 70px;
  84. display: inline-block;
  85. text-align: center
  86. } */
  87. .selectBotBox .search_btn{
  88. width: 20%;
  89. display: flex;
  90. justify-content:flex-end;
  91. margin-top: 10px
  92. }
  93. .selectBotBox .search_btn button{
  94. width: 80px;
  95. height: 28px;
  96. border-radius: 2px
  97. }
  98. .selectBotBox .search_btn button:nth-child(1){
  99. background-color: rgb(0,83,149);
  100. border: 1px rgb(0,83,149) solid;
  101. color: white;
  102. margin-right: 10px
  103. }
  104. .selectBotBox .search_btn button:nth-child(2){
  105. border:1px rgb(222,222,222) solid;
  106. color: rgb(132,132,132);
  107. background-color: white;
  108. margin-right: 10px
  109. }
  110. .selectBotBox .search_btn button:nth-child(3){
  111. border:1px rgb(10,165,245) solid;
  112. color: white;
  113. background-color: rgb(10,165,245);
  114. }
  115. </style>