Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

730 строки
38 KiB

  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta name=”renderer” content=”webkit|ie-comp|ie-stand” />
  5. <meta name="viewport" content="width=device-width" />
  6. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  7. <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge">
  8. <meta name="renderer" content="webkit">
  9. <title> </title>
  10. <link href="/Content/font/css/font-awesome.min.css" rel="stylesheet" />
  11. <link href="/Content/bootstrap/bootstrap.min.css" rel="stylesheet" />
  12. <style>
  13. html {
  14. width: 100%;
  15. height: 100%
  16. }
  17. body {
  18. margin: 0;
  19. padding: 0;
  20. width: 100%;
  21. height: 100%;
  22. font-family: PingFangSC-Regular,Microsoft YaHei,SimSun,Arial,Helvetica,Verdana,sans-serif !important;
  23. color: #333;
  24. font-size: 12px;
  25. background-color: initial;
  26. overflow: hidden
  27. }
  28. ul, li {
  29. list-style: none;
  30. margin: 0;
  31. padding: 0
  32. }
  33. a {
  34. color: #000;
  35. text-decoration: none
  36. }
  37. a:hover {
  38. color: #000;
  39. text-decoration: none
  40. }
  41. a:focus {
  42. outline: 0;
  43. -moz-outline: 0;
  44. color: #000;
  45. text-decoration: none
  46. }
  47. .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
  48. background-color: #fff;
  49. opacity: 1
  50. }
  51. .btn-primary {
  52. color: #fff;
  53. background-color: #3286ed;
  54. border-color: #3286ed
  55. }
  56. .btn-primary:hover {
  57. color: #fff;
  58. background-color: #156edb;
  59. border-color: #156edb
  60. }
  61. .btn-primary:focus, .btn-primary.focus {
  62. color: #fff;
  63. background-color: #027dcb;
  64. border-color: #0277c1
  65. }
  66. .btn-primary:active, .btn-primary.active, .open > .btn-primary.dropdown-toggle {
  67. color: #fff;
  68. background-color: #027dcb;
  69. border-color: #0277c1;
  70. background-image: none
  71. }
  72. .btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus, .open > .btn-primary.dropdown-toggle:hover, .open > .btn-primary.dropdown-toggle:focus, .open > .btn-primary.dropdown-toggle.focus {
  73. color: #fff;
  74. background-color: #0167a8;
  75. border-color: #014e7f
  76. }
  77. .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary:disabled:focus, .btn-primary:disabled.focus {
  78. background-color: #039cfd;
  79. border-color: #039cfd
  80. }
  81. .btn-primary.disabled:hover, .btn-primary:disabled:hover {
  82. background-color: #039cfd;
  83. border-color: #039cfd
  84. }
  85. .btn-default {
  86. color: #373a3c;
  87. background-color: #fff;
  88. border-color: #ccc
  89. }
  90. .btn-default:hover {
  91. color: #373a3c;
  92. background-color: #e6e6e6;
  93. border-color: #adadad
  94. }
  95. .btn-default:focus, .btn-default.focus {
  96. color: #373a3c;
  97. background-color: #e6e6e6;
  98. border-color: #adadad
  99. }
  100. .btn-default:active, .btn-default.active, .open > .btn-default.dropdown-toggle {
  101. color: #373a3c;
  102. background-color: #e6e6e6;
  103. border-color: #adadad;
  104. background-image: none
  105. }
  106. .btn-default:active:hover, .btn-default:active:focus, .btn-default:active.focus, .btn-default.active:hover, .btn-default.active:focus, .btn-default.active.focus, .open > .btn-default.dropdown-toggle:hover, .open > .btn-default.dropdown-toggle:focus, .open > .btn-default.dropdown-toggle.focus {
  107. color: #373a3c;
  108. background-color: #d4d4d4;
  109. border-color: #8c8c8c
  110. }
  111. .btn-default.disabled:focus, .btn-default.disabled.focus, .btn-default:disabled:focus, .btn-default:disabled.focus {
  112. background-color: #fff;
  113. border-color: #ccc
  114. }
  115. .btn-default.disabled:hover, .btn-default:disabled:hover {
  116. background-color: #fff;
  117. border-color: #ccc
  118. }
  119. .btn-success {
  120. color: #fff;
  121. background-color: #1bb99a;
  122. border-color: #1bb99a
  123. }
  124. .btn-success:hover {
  125. color: #fff;
  126. background-color: #158c75;
  127. border-color: #13846e
  128. }
  129. .btn-success:focus, .btn-success.focus {
  130. color: #fff;
  131. background-color: #158c75;
  132. border-color: #13846e
  133. }
  134. .btn-success:active, .btn-success.active, .open > .btn-success.dropdown-toggle {
  135. color: #fff;
  136. background-color: #158c75;
  137. border-color: #13846e;
  138. background-image: none
  139. }
  140. .btn-success:active:hover, .btn-success:active:focus, .btn-success:active.focus, .btn-success.active:hover, .btn-success.active:focus, .btn-success.active.focus, .open > .btn-success.dropdown-toggle:hover, .open > .btn-success.dropdown-toggle:focus, .open > .btn-success.dropdown-toggle.focus {
  141. color: #fff;
  142. background-color: #106d5b;
  143. border-color: #0b4a3d
  144. }
  145. .btn-success.disabled:focus, .btn-success.disabled.focus, .btn-success:disabled:focus, .btn-success:disabled.focus {
  146. background-color: #1bb99a;
  147. border-color: #1bb99a
  148. }
  149. .btn-success.disabled:hover, .btn-success:disabled:hover {
  150. background-color: #1bb99a;
  151. border-color: #1bb99a
  152. }
  153. .btn-warning {
  154. color: #fff;
  155. background-color: #f1b53d;
  156. border-color: #f1b53d
  157. }
  158. .btn-warning:hover {
  159. color: #fff;
  160. background-color: #eaa211;
  161. border-color: #e19b10
  162. }
  163. .btn-warning:focus, .btn-warning.focus {
  164. color: #fff;
  165. background-color: #eaa211;
  166. border-color: #e19b10
  167. }
  168. .btn-warning:active, .btn-warning.active, .open > .btn-warning.dropdown-toggle {
  169. color: #fff;
  170. background-color: #eaa211;
  171. border-color: #e19b10;
  172. background-image: none
  173. }
  174. .btn-warning:active:hover, .btn-warning:active:focus, .btn-warning:active.focus, .btn-warning.active:hover, .btn-warning.active:focus, .btn-warning.active.focus, .open > .btn-warning.dropdown-toggle:hover, .open > .btn-warning.dropdown-toggle:focus, .open > .btn-warning.dropdown-toggle.focus {
  175. color: #fff;
  176. background-color: #c98b0e;
  177. border-color: #a3700c
  178. }
  179. .btn-warning.disabled:focus, .btn-warning.disabled.focus, .btn-warning:disabled:focus, .btn-warning:disabled.focus {
  180. background-color: #f1b53d;
  181. border-color: #f1b53d
  182. }
  183. .btn-warning.disabled:hover, .btn-warning:disabled:hover {
  184. background-color: #f1b53d;
  185. border-color: #f1b53d
  186. }
  187. .btn-danger {
  188. color: #fff;
  189. background-color: #ff5d48;
  190. border-color: #ff5d48
  191. }
  192. .btn-danger:hover {
  193. color: #fff;
  194. background-color: #ff3015;
  195. border-color: #ff270b
  196. }
  197. .btn-danger:focus, .btn-danger.focus {
  198. color: #fff;
  199. background-color: #ff3015;
  200. border-color: #ff270b
  201. }
  202. .btn-danger:active, .btn-danger.active, .open > .btn-danger.dropdown-toggle {
  203. color: #fff;
  204. background-color: #ff3015;
  205. border-color: #ff270b;
  206. background-image: none
  207. }
  208. .btn-danger:active:hover, .btn-danger:active:focus, .btn-danger:active.focus, .btn-danger.active:hover, .btn-danger.active:focus, .btn-danger.active.focus, .open > .btn-danger.dropdown-toggle:hover, .open > .btn-danger.dropdown-toggle:focus, .open > .btn-danger.dropdown-toggle.focus {
  209. color: #fff;
  210. background-color: #f01c00;
  211. border-color: #c81700
  212. }
  213. .btn-danger.disabled:focus, .btn-danger.disabled.focus, .btn-danger:disabled:focus, .btn-danger:disabled.focus {
  214. background-color: #ff5d48;
  215. border-color: #ff5d48
  216. }
  217. .btn-danger.disabled:hover, .btn-danger:disabled:hover {
  218. background-color: #ff5d48;
  219. border-color: #ff5d48
  220. }
  221. .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
  222. padding: 0
  223. }
  224. .form-control {
  225. color: #000;
  226. border-radius: 0;
  227. box-shadow: none;
  228. font-size: 9pt;
  229. height: 28px;
  230. padding-top: 0;
  231. padding-bottom: 1px;
  232. padding-right: 0;
  233. padding-left: 5px;
  234. resize: none;
  235. border-radius: 2px
  236. }
  237. .form-control:focus {
  238. border-color: #039cfd;
  239. box-shadow: none
  240. }
  241. .btn.disabled, .btn[disabled], fieldset[disabled] .btn {
  242. pointer-events: none;
  243. cursor: not-allowed;
  244. filter: alpha(opacity=65);
  245. -webkit-box-shadow: none;
  246. box-shadow: none;
  247. opacity: .65
  248. }
  249. .dropdown-menu a {
  250. cursor: pointer
  251. }
  252. .lr-rblock {
  253. position: relative;
  254. width: 100%;
  255. height: 100%
  256. }
  257. .lr-layout-tool-right .btn-default:hover {
  258. color: #fff;
  259. background-color: #3286ed;
  260. border-color: transparent
  261. }
  262. .lr-scroll-wrap {
  263. position: relative;
  264. overflow: hidden;
  265. height: 70%;
  266. width: 100%
  267. }
  268. .lr-scroll-box {
  269. position: relative;
  270. top: 0;
  271. left: 0;
  272. min-height: 100%;
  273. min-width: 100%;
  274. overflow: hidden;
  275. zoom: 1
  276. }
  277. .lr-scroll-vertical {
  278. position: absolute;
  279. width: 4px;
  280. height: 100%;
  281. top: 0;
  282. right: 0;
  283. display: none;
  284. z-index: 100
  285. }
  286. .lr-scroll-wrap:hover > .lr-scroll-vertical, .lr-scroll-active > .lr-scroll-vertical {
  287. display: block
  288. }
  289. .lr-scroll-vertical-block {
  290. position: absolute;
  291. width: 100%;
  292. height: 0;
  293. top: 0;
  294. left: 0;
  295. background-color: #B3B3B3;
  296. cursor: pointer;
  297. -webkit-border-radius: 16px;
  298. -moz-border-radius: 16px;
  299. border-radius: 16px;
  300. -webkit-transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
  301. -moz-transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
  302. -o-transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
  303. transition: opacity .2s ease-in-out,background-color .2s ease-in-out
  304. }
  305. .lr-scroll-horizontal {
  306. position: absolute;
  307. width: 100%;
  308. height: 4px;
  309. bottom: 0;
  310. right: 0;
  311. display: none;
  312. z-index: 100
  313. }
  314. .lr-scroll-wrap:hover > .lr-scroll-horizontal, .lr-scroll-active > .lr-scroll-horizontal {
  315. display: block
  316. }
  317. .lr-scroll-horizontal-block {
  318. position: absolute;
  319. height: 100%;
  320. width: 0;
  321. top: 0;
  322. left: 0;
  323. background-color: #B3B3B3;
  324. cursor: pointer;
  325. -webkit-border-radius: 16px;
  326. -moz-border-radius: 16px;
  327. border-radius: 16px;
  328. -webkit-transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
  329. -moz-transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
  330. -o-transition: opacity .2s ease-in-out,background-color .2s ease-in-out;
  331. transition: opacity .2s ease-in-out,background-color .2s ease-in-out
  332. }
  333. .lr-desktop-panel {
  334. position: relative;
  335. width: 100%;
  336. height: 100%;
  337. background-color: #F8F8F8;
  338. padding-right: 380px
  339. }
  340. .lr-desktop-panel-left {
  341. position: relative;
  342. width: 100%;
  343. height: 100%;
  344. padding: 20px
  345. }
  346. .lr-desktop-panel-right {
  347. position: absolute;
  348. top: 0;
  349. right: 0;
  350. width: 380px;
  351. height: 100%;
  352. padding: 20px 0
  353. }
  354. .lr-desktop-panel-right-content {
  355. position: relative;
  356. width: 100%;
  357. height: 100%
  358. }
  359. .lr-desktop-panel-right-content > .lr-scroll-box {
  360. padding-right: 20px
  361. }
  362. .title {
  363. position: relative;
  364. width: 100%;
  365. height: 22px;
  366. font-size: 16px;
  367. color: #333;
  368. margin-bottom: 12px
  369. }
  370. .content {
  371. position: relative;
  372. width: 100%;
  373. background: #FFF !important;
  374. border: 1px solid #E5E5E5;
  375. border-radius: 3px
  376. }
  377. .lr-target {
  378. position: relative;
  379. height: 265px;
  380. width: 100%;
  381. margin-bottom: 20px
  382. }
  383. .lr-target > .content {
  384. position: relative;
  385. width: 100%;
  386. height: 231px;
  387. padding: 0 20px
  388. }
  389. .lr-target > .content > div {
  390. position: relative;
  391. width: 100%;
  392. height: 100%
  393. }
  394. .lr-target > .content > div:after {
  395. position: absolute;
  396. content: '';
  397. width: 100%;
  398. left: 0;
  399. height: 1px;
  400. background: #E5E5E5;
  401. top: 115px
  402. }
  403. .lr-target .lr-scroll-box {
  404. width: 645px
  405. }
  406. .lr-target .target-item {
  407. position: relative;
  408. width: 129px;
  409. height: 100%;
  410. float: left;
  411. color: #999;
  412. text-align: center;
  413. cursor: pointer
  414. }
  415. .lr-target .target-item .count {
  416. margin-top: 37px;
  417. margin-bottom: 29px;
  418. height: 44px;
  419. line-height: 44px;
  420. font-size: 20px;
  421. position: relative;
  422. color: #333
  423. }
  424. .lr-target .target-item:hover {
  425. color: #3285ED
  426. }
  427. .lr-target .target-item:hover .count {
  428. color: #3285ED
  429. }
  430. .lr-target .target-item:hover .count > span {
  431. background: #3285ED;
  432. border-radius: 3px;
  433. color: #fff;
  434. padding: 5px
  435. }
  436. .lr-target .target-item .count:after {
  437. content: '';
  438. position: absolute;
  439. bottom: -6px;
  440. left: 45%;
  441. width: 0;
  442. height: 0;
  443. display: inline-block;
  444. border: 5px solid transparent;
  445. border-top-color: #3285ED;
  446. display: none
  447. }
  448. .lr-target .target-item:hover .count:after {
  449. display: block
  450. }
  451. .lr-target .target-item .point {
  452. width: 12px;
  453. height: 12px;
  454. border-radius: 50%;
  455. position: relative;
  456. margin: 0 auto 16px;
  457. background: #fff;
  458. border: 1px solid transparent
  459. }
  460. .lr-target .target-item .point span {
  461. position: absolute;
  462. top: 50%;
  463. left: 50%;
  464. margin-left: -4px;
  465. margin-top: -4px;
  466. border-radius: 50%;
  467. width: 8px;
  468. height: 8px;
  469. background: #3285ED;
  470. display: none
  471. }
  472. .lr-target .target-item:hover .point {
  473. border: 1px solid #3285ED;
  474. z-index: 10
  475. }
  476. .lr-target .target-item:hover .point span {
  477. display: block
  478. }
  479. .lr-target .target-item .content {
  480. border: 0;
  481. font-size: 14px
  482. }
  483. .lr-target .target-item .content i {
  484. margin-bottom: 17px;
  485. font-size: 24px
  486. }
  487. .lr-target .target-item .content .text {
  488. margin-bottom: 30px
  489. }
  490. .lr-desktop-chart {
  491. position: relative;
  492. width: 100%;
  493. height: 400px
  494. }
  495. .lr-desktop-chart .content {
  496. position: relative;
  497. width: 100%;
  498. height: 366px
  499. }
  500. .lr-desktop-chart-list > div:nth-of-type(2n+1) .lr-desktop-chart {
  501. padding-right: 10px
  502. }
  503. .lr-desktop-chart-list > div:nth-of-type(2n) .lr-desktop-chart {
  504. padding-left: 10px
  505. }
  506. .lr-desktop-list {
  507. position: relative;
  508. width: 100%;
  509. min-height: 270px;
  510. margin-bottom: 20px;
  511. padding-right: 20px
  512. }
  513. .lr-desktop-list .content {
  514. min-height: 236px;
  515. padding: 20px;
  516. padding-top: 0
  517. }
  518. .lr-list-line {
  519. position: relative;
  520. width: 100%;
  521. height: 42px;
  522. font-size: 12px;
  523. color: #333;
  524. padding: 16px 70px 8px 0;
  525. border-bottom: 1px solid #E5E5E5;
  526. cursor: pointer
  527. }
  528. .lr-list-line .date {
  529. position: absolute;
  530. top: 16px;
  531. right: 0
  532. }
  533. .lr-desktop-list .title .menu {
  534. float: right;
  535. display: flex;
  536. margin-top: 12px;
  537. margin-right: 5px;
  538. width: 26px;
  539. background: transparent;
  540. justify-content: space-between;
  541. cursor: pointer
  542. }
  543. .lr-desktop-list .menu .point {
  544. display: inline-block;
  545. width: 4px;
  546. height: 4px;
  547. border: 1px solid #979797;
  548. border-radius: 50%
  549. }
  550. </style>
  551. <!--[if lt IE 9]>
  552. <script src="~/Content/bootstrap/html5shiv.min.js"></script>
  553. <script src="~/Content/bootstrap/respond.min.js"></script>
  554. <![endif]-->
  555. <script src="/Content/jquery/jquery-1.10.2.min.js"></script>
  556. <script src="/Content/echarts/echarts.min.js"></script>
  557. </head>
  558. <body class="Chrome 69.0 lr-uitheme-top">
  559. <div class="lr-desktop-panel">
  560. <div class="lr-desktop-panel-left">
  561. <div class="col-xs-12">
  562. <div class="lr-target">
  563. <div class="title">统计指标</div>
  564. <div class="content">
  565. <div id="lr_target_content">
  566. </div>
  567. </div>
  568. </div>
  569. </div>
  570. <div class="lr-desktop-chart-list" id="lr_desktop_chart">
  571. </div>
  572. </div>
  573. <div class="lr-desktop-panel-right">
  574. <div class="lr-desktop-panel-right-content" id="lr_desktop_list">
  575. </div>
  576. </div>
  577. </div>
  578. <script>(function (l, t, o) { var m = l([]), q = l.resize = l.extend(l.resize, {}), u, w = "setTimeout", v = "resize", p = v + "-special-event", n = "delay", r = "throttleWindow"; q[n] = 250; q[r] = true; l.event.special[v] = { setup: function () { if (!q[r] && this[w]) { return false } var a = l(this); m = m.add(a); l.data(this, p, { w: a.width(), h: a.height() }); if (m.length === 1) { s() } }, teardown: function () { if (!q[r] && this[w]) { return false } var a = l(this); m = m.not(a); a.removeData(p); if (!m.length) { clearTimeout(u) } }, add: function (a) { if (!q[r] && this[w]) { return false } var c; function b(h, d, e) { var f = l(this), g = l.data(this, p); g.w = d !== o ? d : f.width(); g.h = e !== o ? e : f.height(); c.apply(this, arguments) } if (l.isFunction(a)) { c = a; return b } else { c = a.handler; a.handler = b } } }; function s() { u = t[w](function () { m.each(function () { var c = l(this), b = c.width(), a = c.height(), d = l.data(this, p); if (b !== d.w || a !== d.h) { c.trigger(v, [d.w = b, d.h = a]) } }); s() }, q[n]) } })(jQuery, this); (function (a) { var l = ["wheel", "mousewheel", "DOMMouseScroll", "MozMousePixelScroll"], k = ("onwheel" in document || document.documentMode >= 9) ? ["wheel"] : ["mousewheel", "DomMouseScroll", "MozMousePixelScroll"], h = Array.prototype.slice, f, d; if (a.event.fixHooks) { for (var c = l.length; c;){ a.event.fixHooks[l[--c]] = a.event.mouseHooks } } var j = a.event.special.mousewheel = { setup: function () { if (this.addEventListener) { for (var m = k.length; m;){ this.addEventListener(k[--m], b, false) } } else { this.onmousewheel = b } a.data(this, "mousewheel-line-height", j.getLineHeight(this)); a.data(this, "mousewheel-page-height", j.getPageHeight(this)) }, teardown: function () { if (this.removeEventListener) { for (var m = k.length; m;){ this.removeEventListener(k[--m], b, false) } } else { this.onmousewheel = null } }, getLineHeight: function (i) { return parseInt(a(i)["offsetParent" in a.fn ? "offsetParent" : "parent"]().css("fontSize"), 10) }, getPageHeight: function (i) { return a(i).height() }, settings: { adjustOldDeltas: true } }; a.fn.extend({ mousewheel: function (i) { return i ? this.bind("mousewheel", i) : this.trigger("mousewheel") }, unmousewheel: function (i) { return this.unbind("mousewheel", i) } }); function b(q) { var s = q || window.event, m = h.call(arguments, 1), n = 0, o = 0, p = 0, i = 0; q = a.event.fix(s); q.type = "mousewheel"; if ("detail" in s) { p = s.detail * -1 } if ("wheelDelta" in s) { p = s.wheelDelta } if ("wheelDeltaY" in s) { p = s.wheelDeltaY } if ("wheelDeltaX" in s) { o = s.wheelDeltaX * -1 } if ("axis" in s && s.axis === s.HORIZONTAL_AXIS) { o = p * -1; p = 0 } n = p === 0 ? o : p; if ("deltaY" in s) { p = s.deltaY * -1; n = p } if ("deltaX" in s) { o = s.deltaX; if (p === 0) { n = o * -1 } } if (p === 0 && o === 0) { return } if (s.deltaMode === 1) { var r = a.data(this, "mousewheel-line-height"); n *= r; p *= r; o *= r } else { if (s.deltaMode === 2) { var t = a.data(this, "mousewheel-page-height"); n *= t; p *= t; o *= t } } i = Math.max(Math.abs(p), Math.abs(o)); if (!d || i < d) { d = i; if (g(s, i)) { d /= 40 } } if (g(s, i)) { n /= 40; o /= 40; p /= 40 } n = Math[n >= 1 ? "floor" : "ceil"](n / d); o = Math[o >= 1 ? "floor" : "ceil"](o / d); p = Math[p >= 1 ? "floor" : "ceil"](p / d); q.deltaX = o; q.deltaY = p; q.deltaFactor = d; q.deltaMode = 0; m.unshift(q, n, o, p); if (f) { clearTimeout(f) } f = setTimeout(e, 200); return (a.event.dispatch || a.event.handle).apply(this, m) } function e() { d = null } function g(m, i) { return j.settings.adjustOldDeltas && m.type === "mousewheel" && i % 120 === 0 } })(window.jQuery); (function (a, c, e) { var b = null; var d = { init: function (j, l) { var o = j.attr("id"); if (!o) { o = "LR_" + c.newGuid(); j.attr("id", o) } j.addClass("lr-scroll-wrap"); var f = j.children(); var i = a('<div class="lr-scroll-box" id="' + o + '_box" ></div>'); j.append(i); i.append(f); var k = a('<div class="lr-scroll-vertical" ><div class="lr-scroll-vertical-block" id="' + o + '_vertical"></div></div>'); j.append(k); var g = a('<div class="lr-scroll-horizontal" ><div class="lr-scroll-horizontal-block" id="' + o + '_horizontal"></div></div>'); j.append(g); if (b === null) { b = a('<div style="-moz-user-select: none;-webkit-user-select: none;-ms-user-select: none;-khtml-user-select: none;user-select: none;display: none;position: fixed;top: 0;left: 0;width: 100%;height: 100%;z-index: 9999;cursor: pointer;" ></div>'); a("body").append(b) } var p = i.innerHeight(); var q = i.innerWidth(); var n = j.height(); var r = j.width(); var m = { id: o, sy: 0, sx: 0, sh: p, sw: q, h: n, w: r, yh: 0, xw: 0, callback: l }; j[0].op = m; d.update(j); d.bindEvent(j, i, k, g); i = null; f = null; k = null; g = null; j = null }, bindEvent: function (h, g, i, f) { h.resize(function () { var j = a(this); var l = j[0].op; var k = j.height(); var m = j.width(); if (k != l.h) { l.h = k; d.updateY(j) } if (m != l.w) { l.w = m; d.updateX(j) } j = null }); g.resize(function () { var k = a(this); var j = k.parent(); var l = j[0].op; var m = k.innerHeight(); var n = k.innerWidth(); if (m != l.sh) { l.sh = m; d.updateY(j) } if (n != l.sw) { l.sw = n; d.updateX(j) } k = null; j = null }); h.mousewheel(function (p, m, n, o) { var k = 4 + (Math.abs(m) - 1) * 0.8; var j = a(this); var q = j[0].op; var l = m * k; if (q.sh > q.h) { q.oldsy = q.sy; q.sy = q.sy - l; d.moveY(j, true); j = null; return false } else { if (q.sw > q.w) { q.oldsx = q.sx; q.sx = q.sx - l; d.moveX(j, true); j = null; return false } } }); i.find(".lr-scroll-vertical-block").on("mousedown", function (k) { b.show(); var j = a(this).parent().parent(); var l = j[0].op; l.isYMousedown = true; l.yMousedown = k.pageY; j.addClass("lr-scroll-active"); j = null }); f.find(".lr-scroll-horizontal-block").on("mousedown", function (k) { b.show(); var j = a(this).parent().parent(); var l = j[0].op; l.isXMousedown = true; l.xMousedown = k.pageX; j.addClass("lr-scroll-active"); j = null }); top.$(document).on("mousemove", { $obj: h }, function (l) { var m = l.data.$obj[0].op; if (m.isYMousedown) { var o = l.pageY; var k = o - m.yMousedown; m.yMousedown = o; m.oldsy = m.sy; m.blockY = m.blockY + k; if ((m.blockY + m.yh) > m.h) { m.blockY = m.h - m.yh } if (m.blockY < 0) { m.blockY = 0 } d.getY(m); d.moveY(l.data.$obj) } else { if (m.isXMousedown) { var m = l.data.$obj[0].op; var n = l.pageX; var j = n - m.xMousedown; m.xMousedown = n; m.oldsx = m.sx; m.blockX = m.blockX + j; if ((m.blockX + m.xw) > m.w) { m.blockX = m.w - m.xw } if (m.blockX < 0) { m.blockX = 0 } d.getX(m); d.moveX(l.data.$obj) } } }).on("mouseup", { $obj: h }, function (j) { j.data.$obj[0].op.isYMousedown = false; j.data.$obj[0].op.isXMousedown = false; b.hide(); j.data.$obj.removeClass("lr-scroll-active") }) }, update: function (f) { d.updateY(f); d.updateX(f) }, updateY: function (g) { var k = g[0].op; var f = g.find("#" + k.id + "_box"); var h = g.find("#" + k.id + "_vertical"); if (k.sh > k.h) { if ((k.sh - k.sy) < k.h) { var i = 0; k.sy = k.sh - k.h; if (k.sy < 0) { k.sy = 0 } else { i = 0 - k.sy } f.css("top", i + "px") } var l = parseInt(k.h * k.h / k.sh); l = (l < 30 ? 30 : l); k.yh = l; var j = parseInt(k.sy * (k.h - l) / (k.sh - k.h)); if ((j + l) > k.h) { j = k.h - l } if (j < 0) { j = 0 } k.blockY = j; h.css({ top: j + "px", height: l + "px" }) } else { k.blockY = 0; k.sy = 0; f.css("top", "0px"); h.css({ top: "0px", height: "0px" }) } k.callback && k.callback(k.sx, k.sy); f = null; h = null }, updateX: function (h) { var k = h[0].op; var g = h.find("#" + k.id + "_box"); var f = h.find("#" + k.id + "_horizontal"); if (k.sw > k.w) { if ((k.sw - k.sx) < k.w) { var i = 0; k.sx = k.sw - k.w; if (k.sx < 0) { k.sx = 0 } else { i = 0 - k.sx } g.css("left", i + "px") } var l = parseInt(k.w * k.w / k.sw); l = (l < 30 ? 30 : l); k.xw = l; var j = parseInt(k.sx * (k.w - l) / (k.sw - k.w)); if ((j + l) > k.w) { j = k.w - l } if (j < 0) { j = 0 } k.blockX = j; f.css({ left: j + "px", width: l + "px" }) } else { k.sx = 0; k.blockX = 0; g.css("left", "0px"); f.css({ left: "0px", width: "0px" }) } k.callback && k.callback(k.sx, k.sy); g = null; f = null }, moveY: function (g, k) { var l = g[0].op; var f = g.find("#" + l.id + "_box"); var h = g.find("#" + l.id + "_vertical"); var i = 0; if (l.sy < 0) { l.sy = 0 } else { if (l.sy + l.h > l.sh) { l.sy = l.sh - l.h; i = 0 - l.sy } else { i = 0 - l.sy } } if (k) { var j = d.getBlockY(l); if (j == 0 && l.sy != 0) { l.sy = 0; i = 0 } l.blockY = j; f.css({ top: i + "px" }); h.css({ top: j + "px" }) } else { f.css({ top: i + "px" }); h.css({ top: l.blockY + "px" }) } l.callback && l.callback(l.sx, l.sy); f = null; h = null }, moveX: function (h, k) { var l = h[0].op; var g = h.find("#" + l.id + "_box"); var f = h.find("#" + l.id + "_horizontal"); var i = 0; if (l.sx < 0) { l.sx = 0 } else { if (l.sx + l.w > l.sw) { l.sx = l.sw - l.w; i = 0 - l.sx } else { i = 0 - l.sx } } if (k) { var j = d.getBlockX(l); if (j == 0 && l.sx != 0) { l.sx = 0; i = 0 } l.blockX = j; g.css({ left: i + "px" }); f.css({ left: j + "px" }) } else { g.css({ left: i + "px" }); f.css({ left: l.blockX + "px" }) } l.callback && l.callback(l.sx, l.sy); g = null; f = null }, getBlockY: function (g) { var f = parseFloat(g.sy * (g.h - g.yh) / (g.sh - g.h)); if ((f + g.yh) > g.h) { f = g.h - g.yh } if (f < 0) { f = 0 } return f }, getY: function (f) { f.sy = parseInt(f.blockY * (f.sh - f.h) / (f.h - f.yh)); if ((f.sy + f.h) > f.sh) { f.sy = f.sh - f.h } if (f.sy < 0) { f.sy = 0 } }, getBlockX: function (g) { var f = parseFloat(g.sx * (g.w - g.xw) / (g.sw - g.w)); if ((f + g.xw) > g.w) { f = g.w - g.xw } if (f < 0) { f = 0 } return f }, getX: function (f) { f.sx = parseInt(f.blockX * (f.sw - f.w) / (f.w - f.xw)); if ((f.sx + f.w) > f.sw) { f.sx = f.sw - f.w } if (f.sx < 0) { f.sx = 0 } }, }; a.fn.lrscroll = function (f) { a(this).each(function () { var g = a(this); d.init(g, f) }) }; a.fn.lrscrollSet = function (h, g) { switch (h) { case "moveRight": var f = a(this); setTimeout(function () { var i = f[0].op; i.oldsx = i.sx; i.sx = i.sw - i.w; d.moveX(f, true); f = null }, 250); break; case "moveBottom": var f = a(this); setTimeout(function () { var i = f[0].op; i.oldsy = i.sx; i.sy = i.sh - i.h; d.moveY(f, true); f = null }, 250); break } } })(window.jQuery, top.learun, window); $(function () {
  579. var f = {}; var d = {}; function e(h) { if (h.length > 0) { $("#lr_target_content").lrscroll(); var g = $("#lr_target_content .lr-scroll-box"); $.each(h, function (j, k) { f[k.F_Id] = k; var i = ' <div class="target-item" data-Id="' + k.F_Id + '"> <div class="count"><span data-value="' + k.F_Id + '"></span></div> <div class="point"><span></span></div> <div class="content"> <i class="' + k.F_Icon + '"></i> <div class="text">' + k.F_Name + "</div> </div> </div>"; g.append(i); top.learun.httpAsync("GET", top.$.rootUrl + "/LR_Desktop/DTTarget/GetSqlData", { Id: k.F_Id }, function (l) { if (l) { g.find('[data-value="' + l.Id + '"]').text(l.value) } }) }); g.find(".target-item").on("click", function () { var i = $(this).attr("data-Id"); top.learun.frameTab.open({ F_ModuleId: i, F_FullName: f[i].F_Name, F_UrlAddress: f[i].F_Url }); return false }) } } function c(h) {
  580. if (h.length > 0) {
  581. $("#lr_desktop_list").lrscroll(); var g = $("#lr_desktop_list .lr-scroll-box"); $.each(h, function (j, k) {
  582. d[k.F_Id] = k; var i = ' <div class="lr-desktop-list" data-Id="' + k.F_Id + '"> <div class="title"> ' + k.F_Name + ' <span class="menu" title="更多"> <span class="point"></span> <span class="point"></span> <span class="point"></span> </span> </div> <div class="content" data-value="' + k.F_Id + '"> </div> </div>'; g.append(i); top.learun.httpAsync("GET", top.$.rootUrl + "/LR_Desktop/DTList/GetSqlData", { Id: k.F_Id }, function (m) {
  583. if (m) {
  584. var l = g.find('[data-value="' + m.Id + '"]'); $.each(m.value, function (p, q) { var o = ' <div class="lr-list-line"> <div class="point"></div> <div class="text">' + q.f_title + '</div> <div class="date">' + q.f_time + "</div> </div>"; var n = $(o); n[0].item = q; l.append(n) }); l.find(".lr-list-line").on("click", function () {
  585. var n = $(this).parent();
  586. var o = n.attr("data-value");
  587. var p = $(this)[0].item;
  588. if (d[o].F_ItemUrl) {
  589. top.learun.frameTab.open({
  590. F_ModuleId: "dtlist" + p.f_id,
  591. F_FullName: p.f_title,
  592. F_UrlAddress: d[o].F_ItemUrl + p.f_id
  593. })
  594. } else {
  595. //判断点击项是否为‘待办’的子项
  596. if (d[o].F_Id == "33d50f1a-a64d-4b86-a6d4-2d937226de95") {
  597. if (p.f_tasktype != 2) {
  598. top.learun.frameTab.open({ F_ModuleId: p.f_id, F_Icon: 'fa magic', F_FullName: '审核流程【' + p.f_processname + '/' + p.f_content + '】', F_UrlAddress: '/LR_WorkFlowModule/WfMyTask/CustmerWorkFlowForm?tabIframeId=' + p.f_id + '&type=' + p.f_tasktype + '' + "&processId=" + p.f_processid + "&taskId=" + p.f_id });
  599. }
  600. } else {
  601. top["dtlist" + p.f_id] = p;
  602. top.learun.frameTab.open({
  603. F_ModuleId: "dtlist" + p.f_id,
  604. F_FullName: p.f_title,
  605. F_UrlAddress: "/Utility/ListContentIndex?id=" + p.f_id
  606. })
  607. }
  608. } return false
  609. })
  610. }
  611. })
  612. }); g.find(".lr-desktop-list .menu").on("click", function () { var i = $(this).parents(".lr-desktop-list"); var j = i.attr("data-Id"); top.learun.frameTab.open({ F_ModuleId: j, F_FullName: d[j].F_Name, F_UrlAddress: d[j].F_Url }); return false })
  613. }
  614. } var b = {}; function a(h) { if (h.length > 0) { $("#lr_desktop_chart").lrscroll(); var g = $("#lr_desktop_chart>.lr-scroll-box"); $.each(h, function (j, k) { var i = ' <div class="col-xs-' + (12 / parseInt(k.F_Proportion1)) + '"> <div class="lr-desktop-chart"> <div class="title">' + k.F_Name + '</div> <div class="content" id="' + k.F_Id + '" data-type="' + k.F_Type + '"></div> </div> </div>'; g.append(i); b[k.F_Id] = echarts.init(document.getElementById(k.F_Id)); top.learun.httpAsync("GET", top.$.rootUrl + "/LR_Desktop/DTChart/GetSqlData", { Id: k.F_Id }, function (l) { if (l) { var o = $("#" + l.Id).attr("data-type"); var m = []; var p = []; $.each(l.value, function (q, r) { m.push(r.name); p.push(r.value) }); var n = {}; switch (o) { case "0": n.tooltip = { trigger: "item", formatter: "{a} <br/>{b} : {c} ({d}%)" }; n.legend = { bottom: "bottom", data: m }; n.series = [{ name: "占比", type: "pie", radius: "75%", center: ["50%", "50%"], label: { normal: { formatter: "{b}:{c}: ({d}%)", textStyle: { fontWeight: "normal", fontSize: 12, color: "#333" } } }, data: l.value, itemStyle: { emphasis: { shadowBlur: 10, shadowOffsetX: 0, shadowColor: "rgba(0, 0, 0, 0.5)" } } }]; n.color = ["#df4d4b", "#304552", "#52bbc8", "rgb(224,134,105)", "#8dd5b4", "#5eb57d", "#d78d2f"]; break; case "1": n.tooltip = { trigger: "axis" }; n.grid = { bottom: "8%", containLabel: true }; n.xAxis = { type: "category", boundaryGap: false, data: m }; n.yAxis = { type: "value" }; n.series = [{ type: "line", data: p }]; break; case "2": n.tooltip = { trigger: "axis" }; n.grid = { bottom: "8%", containLabel: true }; n.xAxis = { type: "category", boundaryGap: false, data: m }; n.yAxis = { type: "value" }; n.series = [{ type: "bar", data: p }]; break }b[l.Id].setOption(n) } }) }); window.onresize = function (i) { $.each(b, function (j, k) { k.resize(i) }) } } } top.learun.clientdata.getAsync("desktop", { callback: function (g) { console.log(g); e(g.target || []); c(g.list || []); a(g.chart || []) } })
  615. });</script>
  616. </body>
  617. </html>