cmdbauditlist.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. <div ng-controller="cmdbauditlistCtrl" class="">
  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">配置安全审计
  7. <i tooltip='配置安全审计列表,点击操作处理任务' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i>
  8. </h1>
  9. </div>
  10. </div>
  11. </section>
  12. <div class="listbote">
  13. <div style="background: #F9F9F9 !important;padding-left: 16px;padding-right: 0px;">
  14. <div class="row wt_searchlistback" id="searchid">
  15. <div class="col-xs-10" style="padding-right: 0px !important">
  16. <div class=" inspectlistsearch pull-left">
  17. <div>
  18. <div class="control-label pull-left" style="padding-top:4px;font-size:14px">审计日期:</div>
  19. <input type="text" class="pull-right incidentsearchsize iptSize" datepicker-popuptime="yyyy-MM-dd" ng-model="searchkeys.startDate" max-date="searchkeys.endDate" is-open="startOpened"
  20. hour-time=true ng-init="startOpened = false" close-text="关闭" ng-click="startOpen($event)" placeholder="" />
  21. </div>
  22. </div>
  23. <div class=" inspectlistsearch pull-left">
  24. <div>
  25. <div class="control-label pull-left" style="padding-top:4px;font-size:14px">至:</div>
  26. <input type="text" class="pull-right incidentsearchsize iptSize" datepicker-popuptime="yyyy-MM-dd" ng-model="searchkeys.endDate" hour-time=true min-date="searchkeys.startDate"
  27. is-open="endOpened" ng-init="endOpened = false" close-text="关闭" ng-click="endOpen($event)" placeholder="" />
  28. </div>
  29. </div>
  30. <div class=" inspectlistsearch pull-left">
  31. <div class="pull-left" style="padding-top:4px;font-size:14px">审计执行人:</div>
  32. <ui-select class="pull-right iptSize" ng-model="searchkeys.user" theme="bootstrap">
  33. <ui-select-match placeholder="">
  34. {{$select.selected.name}}
  35. </ui-select-match>
  36. <ui-select-choices repeat="item in handlingPersonnelUser" refresh="onChangehandling($select.search)">
  37. <div ng-bind-html="item.name | highlight: $select.search"></div>
  38. </ui-select-choices>
  39. </ui-select>
  40. </div>
  41. <div class=" inspectlistsearch pull-left">
  42. <div class="pull-left" style="padding-top:4px;font-size:14px">审计状态:</div>
  43. <ui-select class="pull-right iptSize" ng-model="searchkeys.status" theme="bootstrap">
  44. <ui-select-match placeholder="">
  45. {{$select.selected.name}}
  46. </ui-select-match>
  47. <ui-select-choices repeat="item in state | filter: $select.search">
  48. <div ng-bind-html="item.name | highlight: $select.search"></div>
  49. </ui-select-choices>
  50. </ui-select>
  51. </div>
  52. <div class=" inspectlistsearch pull-left">
  53. <div class="pull-left" style="padding-top:4px;font-size:14px">审计单号:</div>
  54. <input class="pull-right iptSize" type="text" ng-model="searchkeys.orderId" placeholder="" />
  55. </div>
  56. <!-- <form class="form-inline incidentsearchsize" style='padding-top: 8px'>
  57. <div class="form-group ">
  58. <div class="pull-right" style="width:200px">
  59. <div class="control-label pull-left ctlpadding">审计日期:</div>
  60. <input type="text" class=" selectzise wt_width1 wt_width3 pull-right incidentsearchsize" style="height: 28px;border-color: #dedede;" datepicker-popuptime="yyyy-MM-dd" ng-model="searchkeys.startDate" max-date="searchkeys.endDate" is-open="startOpened"
  61. hour-time=true ng-init="startOpened = false" close-text="关闭" ng-click="startOpen($event)" placeholder="" />
  62. </div>
  63. </div>
  64. <div class="form-group incidentsearch wt_width">
  65. <div>
  66. <div class="control-label pull-left ctlpadding">至</div>
  67. <input type="text" class=" selectzise wt_width1 wt_width3 pull-right incidentsearchsize" style="height: 28px;border-color: #dedede;" datepicker-popuptime="yyyy-MM-dd" ng-model="searchkeys.endDate" hour-time=true min-date="searchkeys.startDate"
  68. is-open="endOpened" ng-init="endOpened = false" close-text="关闭" ng-click="endOpen($event)" placeholder="" />
  69. </div>
  70. </div>
  71. <div class="form-group incidentsearch wt_width">
  72. <div class="">
  73. <div class="control-label pull-left ctlpadding"><span class="pull-right">审计执行人:</span></div>
  74. <ui-select class="pull-left" style="width:120px" ng-model="searchkeys.user" theme="bootstrap">
  75. <ui-select-match placeholder="">
  76. {{$select.selected.name}}
  77. </ui-select-match>
  78. <ui-select-choices repeat="item in handlingPersonnelUser" refresh="onChangehandling($select.search)">
  79. <div ng-bind-html="item.name | highlight: $select.search"></div>
  80. </ui-select-choices>
  81. </ui-select>
  82. </div>
  83. </div>
  84. <div class="form-group incidentsearch wt_width">
  85. <div class="">
  86. <div class="control-label pull-left ctlpadding"><span class="pull-right">审计状态:</span></div>
  87. <ui-select class="pull-right selectzise wt_width1 wt_width3 incidentsearchsize" style="width: 120px" ng-model="searchkeys.status" theme="bootstrap">
  88. <ui-select-match placeholder="">
  89. {{$select.selected.name}}
  90. </ui-select-match>
  91. <ui-select-choices repeat="item in state | filter: $select.search">
  92. <div ng-bind-html="item.name | highlight: $select.search"></div>
  93. </ui-select-choices>
  94. </ui-select>
  95. </div>
  96. </div>
  97. <div class="form-group incidentsearch wt_width">
  98. <div class="">
  99. <div class="control-label pull-left ctlpadding">审计单号:</div>
  100. <input class="inputcolor wt_width1 wt_width3 pull-right incidentsearchsize" type="text" ng-model="searchkeys.orderId" placeholder="" />
  101. </div>
  102. </div>
  103. </form> -->
  104. </div>
  105. <div class="col-xs-2 wt_pad searchBtnBox">
  106. <div class="btn btn_search" ng-click="chiceIncident(searchkeys)"><span>搜索</span></div>
  107. <div class="btn btn_clean" ng-click="reset()">重置</div>
  108. <!-- <div class="btn btn_other" ng-click="clear()"><span>刷新</span></div> -->
  109. <div class="btn btn_other" ng-click="newaudit()"><span>新增配置审计</span></div>
  110. </div>
  111. </div>
  112. </div>
  113. <!-- <div class="panel">
  114. <div class="panel-heading px-nested-panel-heading clearfix">
  115. <h3 ng-click="export()" class="panel-title text-secondhead pull-right bluefont pointfont"><i class="icon iconfont icon-daochu daochulist"></i>导出列表</h3>
  116. </div>
  117. </div> -->
  118. <div class="wt_list">
  119. <div ui-i18n="{{lang}} " style="background: #fff;">
  120. <div id="grid" style="border-radius: 2px !important;" ui-grid="gridOptions " ui-grid-pagination external-scopes="$scope " ui-grid-resize-columns ui-grid-auto-resize class="grid "></div>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. <style>
  126. .inspectlistsearch{
  127. width: 30%!important;
  128. margin-right: 16px
  129. }
  130. .iptSize{
  131. width: 60%!important;
  132. height: 28px!important;
  133. }
  134. .tree-control .tree-input{
  135. min-height:28px!important
  136. }
  137. .btn{
  138. margin-top: 4px
  139. }
  140. .ctlpadding {
  141. padding: 2px;
  142. }
  143. @media screen and (max-width: 1750px) {
  144. .wt_width {
  145. width: 30%!important;
  146. }
  147. .wt_width1 {
  148. width: 60% !important;
  149. }
  150. .wt_width4 {
  151. width: 27% !important;
  152. }
  153. .wt_width5 {
  154. width: 60% !important;
  155. border-color: #dedede;
  156. float: right;
  157. }
  158. .wt_width7 {
  159. width: 15%;
  160. }
  161. }
  162. .incidentsearch{
  163. margin-right: 16px;
  164. }
  165. .selectzise {
  166. width: 160px;
  167. }
  168. .wt_width {
  169. width: 17%;
  170. /* margin-right: 16px; */
  171. }
  172. .wt_width1 {
  173. width: 160px;
  174. }
  175. .wt_margin-top {
  176. margin-top: 35px !important;
  177. }
  178. .form-inline .form-control {
  179. border-radius: 2px;
  180. }
  181. .wt_width3 {
  182. width: 130px;
  183. height: 28px!important;
  184. border-radius: 2px !important;
  185. }
  186. .wt_width4 {
  187. width: 20%;
  188. }
  189. .wt_width5 {
  190. width: 160px;
  191. border-color: #dedede;
  192. float: right;
  193. height: 28px;
  194. border-radius: 2px !important;
  195. }
  196. .wt_width6 {
  197. display: inline-block;
  198. padding-top: 0px;
  199. position: relative;
  200. top: 4px;
  201. /* left: 10px; */
  202. /* width: 8.2%; */
  203. text-align: center;
  204. }
  205. .ui-select-bootstrap .ui-select-toggle {
  206. height: 28px;
  207. padding: 3px 4px;
  208. }
  209. /*
  210. .wt_width {
  211. width: 20%;
  212. margin-right: 1%;
  213. padding: 0px;
  214. }
  215. .wt_width1 {
  216. width: 100% !important;
  217. padding: 0px;
  218. } */
  219. .wt_width2 {
  220. width: 50% !important;
  221. }
  222. .wt_pad {
  223. padding: 0px;
  224. }
  225. .wt_btns {
  226. display: inline-block;
  227. margin-right: 8px;
  228. }
  229. .wt_btn1 {
  230. width: 80px;
  231. height: 28px !important;
  232. border-radius: 2px;
  233. line-height: 28px;
  234. font-size: 14px;
  235. padding: 0px!important;
  236. font-size: 14px!important;
  237. }
  238. .btn.steelbutton.wt_btn1 {
  239. padding: 0px!important;
  240. }
  241. .wt_btnColor {
  242. background: #4A90E2 !important;
  243. }
  244. /* .btn{
  245. padding: 0px!important;
  246. } */
  247. .wt_btnColor:hover {
  248. background: #fff !important;
  249. color: #2B5EB8 !important;
  250. border: 1px solid #2B5EB8;
  251. }
  252. .wt_btnColor2:hover {
  253. background: #fff !important;
  254. color: #2B5EB8 !important;
  255. border: 1px solid #2B5EB8;
  256. }
  257. .wt_btn2 {
  258. width: 100px;
  259. height: 34px!important;
  260. border-radius: 2px !important;
  261. }
  262. .wt_list {
  263. padding: 15px;
  264. background: #F9F9F9;
  265. }
  266. .ui-grid-render-container:hover {
  267. background: #fff !important;
  268. }
  269. .wt_btnColor1 {
  270. background: #fff !important;
  271. color: #2B5EB8 !important;
  272. border: 1px solid #2B5EB8;
  273. }
  274. .wt_btnColor1:hover {
  275. background: #4A90E2 !important;
  276. color: #fff !important;
  277. border: 1px solid #4A90E2 !important;
  278. }
  279. div.ui-grid-row.ng-scope:hover {
  280. cursor: pointer;
  281. background: #fff !important;
  282. }
  283. .wt_searchlistback {
  284. margin-top: 1px;
  285. margin-bottom: 8px;
  286. padding: 8px 0 10px 0;
  287. border-top-left-radius: 0px !important;
  288. border-top-right-radius: 8px !important;
  289. border-bottom-left-radius: 8px !important;
  290. border-bottom-right-radius: 8px !important;
  291. }
  292. .ui-grid-row:nth-child(even) .ui-grid-cell {
  293. background: #fafafa !important;
  294. }
  295. .searchBtnBox{
  296. padding-top: 14px;
  297. }
  298. .searchBtnBox>.btn{
  299. margin: 0 8px 10px 0;
  300. }
  301. </style>