suorce.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. <section id="page-title">
  2. <div class="row">
  3. <div class="col-sm-8">
  4. <h1 class="mainTitle">事件来源报表<i tooltip='请查看事件来源报表相关数据。' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i></h1>
  5. </div>
  6. </div>
  7. </section>
  8. <!-- end: PAGE TITLE -->
  9. <!-- start: BOOTSRAP NAV TREE -->
  10. <style>
  11. .bodybackground {
  12. background: #eee;
  13. }
  14. .know-text-group {
  15. display: inline-block;
  16. box-sizing: border-box;
  17. border-radius: 2px;
  18. /* border: 1px solid #fff; */
  19. /* padding-top: 5px; */
  20. width: 100%;
  21. /* padding-bottom: 5px; */
  22. }
  23. .know-text-group-div {
  24. display: inline-block;
  25. width: 12%;
  26. padding-top: 5px;
  27. padding-bottom: 5px;
  28. overflow: hidden;
  29. white-space: nowrap;
  30. text-overflow: ellipsis;
  31. }
  32. .know-text-group-div:hover {
  33. background-color: #005395 !important;
  34. color: #fff;
  35. }
  36. .know-text-group-div.active,
  37. .know-text-group-div:focus,
  38. .know-text-group-div:hover {
  39. background-color: #005395 !important;
  40. color: #fff;
  41. }
  42. .know-text-color {
  43. padding-left: 14px;
  44. font-size: 14px;
  45. color: #93989e;
  46. }
  47. .know-span {
  48. display: inline-block;
  49. text-align: center;
  50. }
  51. .know-num {
  52. width: 28px;
  53. height: 20px;
  54. line-height: 20px;
  55. font-size: 12px;
  56. border-radius: 10px;
  57. margin-right: 10px;
  58. color: white;
  59. }
  60. .bg-yellow {
  61. background: #005395;
  62. }
  63. .bg-green {
  64. background: #2edbb8;
  65. }
  66. .bg-blue {
  67. background: #6f9ad4;
  68. }
  69. .leftBorder {
  70. border-left: 1px solid #eeeeee;
  71. }
  72. .leftBorder.active,
  73. .leftBorder:focus,
  74. .leftBorder:hover {
  75. border-left: 0px solid #005395;
  76. }
  77. .divRight {
  78. float: right;
  79. }
  80. input[type="text"] {}
  81. .searchInput {
  82. border: none !important;
  83. }
  84. /*
  85. input:focus {
  86. box-shadow: none !important;
  87. border: none !important;
  88. background-color: white !important;
  89. } */
  90. .know-left-div {
  91. width: 706px;
  92. /* margin-top: 15px; */
  93. /* display: inline-block; */
  94. float: left;
  95. margin-right: 20px;
  96. }
  97. .know-right-div {
  98. /* margin-top: 15px; */
  99. /* display: inline-block; */
  100. overflow: hidden;
  101. }
  102. .know-left-up-div {
  103. margin-bottom: 20px;
  104. }
  105. .know-left-div-head {
  106. height: 34px;
  107. line-height: 34px;
  108. background: #e9eff8;
  109. font-size: 14px;
  110. color: #606367;
  111. border-radius: 8px 8px 0 0;
  112. padding-left: 10px;
  113. }
  114. /* .listheight {}
  115. */
  116. .gobutton {
  117. color: 005395;
  118. font-family: "microsoft yahei";
  119. }
  120. .gobutton:hover {
  121. color: #1b3651;
  122. }
  123. .gobutton:focus,
  124. .gobutton:hover {
  125. color: #1b3651;
  126. }
  127. .dash_head {
  128. font-size: 14px;
  129. }
  130. .dash_headborder {
  131. height: 260px;
  132. border: 1px solid #dedede;
  133. border-radius: 2px;
  134. }
  135. .dashheadcolor {
  136. border-bottom: 1px solid #dedede;
  137. border-radius: 2px;
  138. }
  139. .dash_mapborder {
  140. height: 320px;
  141. border: 1px solid #dedede;
  142. border-radius: 2px;
  143. }
  144. .disablecolor {
  145. color: #f3f3f3 !important;
  146. }
  147. .onlyaline {
  148. overflow: hidden;
  149. white-space: nowrap;
  150. text-overflow: ellipsis;
  151. }
  152. .newcolor {
  153. color: #79a3c4;
  154. }
  155. .form-controldash {
  156. color: #93989e;
  157. height: 20px;
  158. border-radius: 2px;
  159. border: 1px solid #d1d1d1;
  160. }
  161. .iconcolorjingji {
  162. color: #BE2636 !important;
  163. }
  164. .iconcoloryanzhong {
  165. color: #f5a623 !important;
  166. }
  167. .iconcoloryiban {
  168. color: #005396 !important;
  169. }
  170. .iconfontkill {
  171. font-family: iconfont!important;
  172. font-size: 18px;
  173. color: #000;
  174. z-index: 1;
  175. -webkit-font-smoothing: antialiased;
  176. -webkit-text-stroke-width: .2px;
  177. }
  178. .monthchoice {
  179. height: 200px;
  180. overflow-x: hidden;
  181. overflow-y: scroll;
  182. line-height: 30px;
  183. text-align: center;
  184. }
  185. .dropdown-menu.monthchoice {
  186. min-width: 30px !important;
  187. }
  188. .backcopycolor {
  189. background: #f9f9f9;
  190. }
  191. .backcolor {
  192. background: #fff;
  193. border: 1px solid #ddd;
  194. }
  195. .table>tbody>tr>th {
  196. vertical-align: middle;
  197. text-align: center;
  198. background: #fafafa;
  199. }
  200. .table>tbody>tr>td {
  201. vertical-align: middle;
  202. text-align: center;
  203. }
  204. .bottomcat {
  205. border-bottom: 1px solid #eaeaea;
  206. }
  207. .table.table-bordered tr {
  208. white-space: inherit;
  209. }
  210. .cs-skin-slide>span {
  211. height: 34px;
  212. }
  213. </style>
  214. <div ng-style="bodyheight">
  215. <div class="backcopycolor col-xs-12 padding-15">
  216. <div ng-controller="reportsuorceCtrl" class="backcolor padding-left-15 padding-right-15">
  217. <div class="listbote dashheadcolor">
  218. <div class="list-controls clearfix">
  219. <div class="know-text-group">
  220. <form class="col-xs-12 col-sm-12 form-inline schesearchsize">
  221. <div class="row">
  222. <div class="">选择日期:</div>
  223. <div class="form-group">
  224. <input type="text" class="form-control" datepicker-popuptime="yyyy-MM-dd" ng-change="changeForm(parameters.paramDateFrom)" ng-model="parameters.paramDateFrom" max-date="parameters.paramDateTo" is-open="startOpened" hour-time=true ng-init="startOpened = false"
  225. close-text="关闭" ng-click="startOpen($event)" />
  226. </div>
  227. <span>-</span>
  228. <div class="form-group">
  229. <input type="text" class="form-control" datepicker-popuptime="yyyy-MM-dd" ng-change="changeTo(parameters.paramDateTo)" ng-model="parameters.paramDateTo" hour-time=true min-date="parameters.paramDateFrom" is-open="endOpened" ng-init="endOpened = false"
  230. close-text="关闭" ng-click="endOpen($event)" />
  231. </div>
  232. <!-- <div class="form-group">
  233. <select class="form-control" ng-model="phone" ng-change="phoneChange(phone)">
  234. <option ng-repeat="x in runNumber" value="{{x.name}}">{{x.name}}</option>
  235. </select>
  236. </div> -->
  237. <!-- <div class="form-group" style="min-width:158px;">
  238. <select ng-model="searchTypes" class="cs-select cs-skin-slide">
  239. <option value="">近7天</option>
  240. <option value="todo" ng-attr-class="{searchTypes=='todo'?'cs-selected':''}">最近30天</option>
  241. <option value="create" ng-attr-class="{searchTypes=='create'?'cs-selected':''}">最近30天</option>
  242. <option value="done" ng-attr-class="{searchTypes=='done'?'cs-selected':''}">最近半年</option>
  243. </select>
  244. </div> -->
  245. <div class="form-group">
  246. <ui-select class="pull-left" style="width:158px" ng-model="searchkeys.quikly" theme="bootstrap" ng-change="onChangetime(searchkeys.quikly)">
  247. <ui-select-match placeholder="">
  248. {{$select.selected.name}}
  249. </ui-select-match>
  250. <ui-select-choices repeat="item in quikly" refresh="onChangehandling($select.search)">
  251. <div ng-bind-html="item.name | highlight: $select.search"></div>
  252. </ui-select-choices>
  253. </ui-select>
  254. </div>
  255. <div class="form-group pull-right">
  256. <a class="btn btn-default defaultheight" ng-click="restData()" ng-disabled="disabledParentGroup" type="button">重置</a>
  257. </div>
  258. <div class="form-group pull-right margin-right-10">
  259. <button class="btn btn-searchbutton" ng-click="mdxquery('all')" type="button">搜索</button>
  260. </div>
  261. </div>
  262. </form>
  263. </div>
  264. </div>
  265. </div>
  266. <div class="row margin-top-15 margin-bottom-15" style="margin-left:-7px;margin-right:-7px">
  267. <div class="col-xs-6" style="padding-left:8px;padding-right:8px">
  268. <div class="listheight dash_mapborder">
  269. <div class="fenlei col-xs-12 fontsizes-14">
  270. <div class="col-xs-12 bottomcat">
  271. <div class="row fontcolor-two padding-top-15 padding-bottom-15">
  272. <div class="fenleifont pull-left">事件来源总数及占比</div>
  273. <div class="fenleifont pull-right fontcolor-ten fontsizes-14"></div>
  274. </div>
  275. </div>
  276. <div id="reportsuorce" style="width: 100%;height: 200px"></div>
  277. </div>
  278. </div>
  279. </div>
  280. <div class="col-xs-6" style="padding-left:8px;padding-right:8px">
  281. <div class="listheight dash_mapborder">
  282. <div class="fenlei col-xs-12 fontsizes-14">
  283. <div class="col-xs-12 bottomcat">
  284. <div class="row fontcolor-two padding-top-15 padding-bottom-15">
  285. <div class="fenleifont pull-left">事件来源趋势分析</div>
  286. <div class="fenleifont pull-right fontcolor-ten fontsizes-14"></div>
  287. </div>
  288. </div>
  289. <div id="liuliangsuorce" style="width: 100%;height: 260px"></div>
  290. </div>
  291. </div>
  292. </div>
  293. </div>
  294. <table class="table table-bordered " cellspacing="0" cellpadding="20" style="font-weight:normal !important;margin-bottom: 15px;">
  295. <thread>
  296. <tr>
  297. <th>
  298. 序号
  299. </th>
  300. <th>
  301. 事件来源
  302. </th>
  303. <th>
  304. 事件总数(件)
  305. </th>
  306. <th>
  307. 事件占比(%)
  308. </th>
  309. </tr>
  310. </thread>
  311. <tbody class="tbody-hover">
  312. <tr ng-repeat="rowData in rRowssuorce">
  313. <td>
  314. <div>{{$index+1}}</div>
  315. </td>
  316. <td>
  317. <div>{{rowData._name}}</div>
  318. </td>
  319. <td>
  320. <div>{{rowData._count}}</div>
  321. </td>
  322. <td>
  323. <div>{{rowData.percentage}}%</div>
  324. </td>
  325. <!-- <td ng-repeat="fieldData in rowData">
  326. <div>{{fieldData.value.value}}</div>
  327. </td> -->
  328. </tr>
  329. </tbody>
  330. </table>
  331. </div>
  332. </div>
  333. </div>
  334. <!-- end: BOOTSRAP NAV TREE