暂无描述

widgets.html 46KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <script src="./Script/Common/huayi.load.js"></script>
  7. <script src="./Script/Common/huayi.config.js"></script>
  8. <style>
  9. * {
  10. font-family: "微软雅黑";
  11. }
  12. @font-face {
  13. font-family: "iconfont";
  14. src: url("fonts/iconfont.eot");
  15. /* IE9*/
  16. src: url("fonts/iconfont.eot?#iefix")
  17. format("embedded-opentype"),
  18. /* IE6-IE8 */ url("fonts/iconfont.woff") format("woff"),
  19. /* chrome、firefox */ url("fonts/iconfont.ttf")
  20. format("truetype"),
  21. /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  22. url("fonts/iconfont.svg#iconfont") format("svg");
  23. /* iOS 4.1- */
  24. }
  25. .iconfont {
  26. font-family: "iconfont";
  27. font-size: 25px;
  28. font-style: normal;
  29. }
  30. .fl {
  31. float: left;
  32. }
  33. .fr {
  34. float: right;
  35. }
  36. .bc {
  37. background-color: #f5f5f5;
  38. border: 2px solid #ebebeb;
  39. padding: 25px 20px;
  40. }
  41. .size-14 {
  42. font-size: 14px;
  43. font-weight: normal;
  44. }
  45. .ba {
  46. background-color: #f5f5f5;
  47. border: 2px solid #ebebeb;
  48. padding: 0px;
  49. }
  50. .left_box {
  51. background-color: #ffffff;
  52. }
  53. .rows {
  54. display: -webkit-box;
  55. }
  56. .lazur {
  57. color: #23c6c8;
  58. }
  59. .bottom_line {
  60. border-bottom: 2px solid #cccccc;
  61. }
  62. .clear {
  63. margin: 0;
  64. padding: 0;
  65. margin-top: 2%;
  66. }
  67. .widgets {
  68. padding: 15px 0px;
  69. margin-bottom: 25px;
  70. margin-top: 25px;
  71. }
  72. /*.ss{
  73. background: url(img/huan.png) no-repeat;
  74. background-size: contain;
  75. background-position: center;
  76. margin-left: 20px;
  77. }*/
  78. .fenxian {
  79. border: 2px solid #cccccc;
  80. margin-bottom: 10px;
  81. display: inherit;
  82. position: absolute;
  83. width: 100%;
  84. top: 50%;
  85. }
  86. .left1 {
  87. left: 15px;
  88. }
  89. .left2 {
  90. right: 15px;
  91. }
  92. .rowTitle {
  93. position: absolute;
  94. font-size: 16px;
  95. top: 40px;
  96. left: 45px;
  97. font-weight: 800;
  98. padding-bottom: 10px;
  99. border-bottom: 2px solid #cccccc;
  100. letter-spacing: 4px;
  101. }
  102. .num_box {
  103. background-color: #fefefe;
  104. border: 1px solid #ebebeb;
  105. border-radius: 5px;
  106. margin-top: 10px;
  107. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  108. height: 318px;
  109. }
  110. .size-16 {
  111. font-size: 16px !important;
  112. }
  113. .size-14 {
  114. font-size: 14px !important;
  115. }
  116. .size-15 {
  117. font-size: 15px !important;
  118. }
  119. .size-12 {
  120. font-size: 12px !important;
  121. }
  122. .min_bottom {
  123. margin-bottom: 5px !important;
  124. }
  125. .fa-4x {
  126. font-size: 3em;
  127. color: #ffffff;
  128. background-color: #67cdcb;
  129. padding: 10px;
  130. border-radius: 5px;
  131. }
  132. .bg_green {
  133. background: -webkit-linear-gradient(left, #accafd, #b8dcfc);
  134. background: -moz-linear-gradient(left, #accafd, #b8dcfc);
  135. background: -o-linear-gradient(left, #accafd, #b8dcfc);
  136. background: -webkit-gradient(
  137. linear,
  138. 100% 0,
  139. 0 0,
  140. from(#b8dcfc),
  141. to(#accafd)
  142. );
  143. background: linear-gradient(left, #accafd, #b8dcfc);
  144. /* Opera 11.1 - 12.0 */
  145. /* Firefox 3.6 - 15 */
  146. /* 标准的语法 */
  147. }
  148. .bg_blue {
  149. /* Safari 5.1 - 6.0 */
  150. background: -webkit-linear-gradient(left, #f26997, #f080ce);
  151. background: -moz-linear-gradient(left, #f26997, #f080ce);
  152. background: -o-linear-gradient(left, #f26997, #f080ce);
  153. background: -webkit-gradient(
  154. linear,
  155. 100% 0,
  156. 0 0,
  157. from(#f080ce),
  158. to(#f26997)
  159. );
  160. background: linear-gradient(left, #f26997, #f080ce);
  161. /* Opera 11.1 - 12.0 */
  162. /* Firefox 3.6 - 15 */
  163. /* 标准的语法 */
  164. }
  165. .bg_red {
  166. background: -webkit-linear-gradient(left, #fbc356, #fa9182);
  167. background: -moz-linear-gradient(left, #fbc356, #fa9182);
  168. background: -o-linear-gradient(left, #fbc356, #fa9182);
  169. background: -webkit-gradient(
  170. linear,
  171. 100% 0,
  172. 0 0,
  173. from(#fa9182),
  174. to(#fbc356)
  175. );
  176. background: linear-gradient(left, #fbc356, #fa9182);
  177. /* Opera 11.1 - 12.0 */
  178. /* Firefox 3.6 - 15 */
  179. /* 标准的语法 */
  180. }
  181. .bg_black {
  182. background: -webkit-linear-gradient(left, #88eec0, #8bdedd);
  183. background: -moz-linear-gradient(left, #88eec0, #8bdedd);
  184. background: -o-linear-gradient(left, #88eec0, #8bdedd);
  185. background: -webkit-gradient(
  186. linear,
  187. 100% 0,
  188. 0 0,
  189. from(#8bdedd),
  190. to(#88eec0)
  191. );
  192. background: linear-gradient(left, #88eec0, #8bdedd);
  193. /* Opera 11.1 - 12.0 */
  194. /* Firefox 3.6 - 15 */
  195. /* 标准的语法 */
  196. }
  197. .bg_wj {
  198. background: -webkit-linear-gradient(left, #6c77da, #7351ac);
  199. background: -moz-linear-gradient(left, #6c77da, #7351ac);
  200. background: -o-linear-gradient(left, #6c77da, #7351ac);
  201. background: -webkit-gradient(
  202. linear,
  203. 100% 0,
  204. 0 0,
  205. from(#7351ac),
  206. to(#6c77da)
  207. );
  208. background: linear-gradient(left, #6c77da, #7351ac);
  209. /* Opera 11.1 - 12.0 */
  210. /* Firefox 3.6 - 15 */
  211. /* 标准的语法 */
  212. }
  213. .jg {
  214. letter-spacing: 2px;
  215. margin-top: -3px;
  216. font-weight: bolder;
  217. }
  218. .mt {
  219. margin-top: 10px;
  220. }
  221. .ibox-content {
  222. padding: 20px 20px 95px;
  223. background-color: #fefefe;
  224. border: 1px solid #ebebeb;
  225. border-radius: 5px;
  226. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  227. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  228. }
  229. .size-20 {
  230. font-size: 20px;
  231. color: #4078ad;
  232. }
  233. .border_top {
  234. border-top: none;
  235. }
  236. /*.margin-tops{
  237. margin-top:-50px;
  238. }*/
  239. .padding-left-min {
  240. padding-left: 0;
  241. padding-top: 5px;
  242. }
  243. .mins-left {
  244. padding-left: 30px;
  245. padding-right: 0;
  246. }
  247. .widget h2,
  248. .widget h3 {
  249. margin-top: 0px;
  250. }
  251. .col-sm-2 {
  252. width: 20%;
  253. }
  254. .col-sm-4 {
  255. width: 30%;
  256. }
  257. .min_right {
  258. margin-right: 15px;
  259. }
  260. .col-xs-3 {
  261. padding-left: 5px;
  262. }
  263. .huan {
  264. background: url(./img/huan.png) no-repeat;
  265. }
  266. .min-padding {
  267. padding-bottom: 10px;
  268. padding-top: 10px;
  269. border-bottom-width: 1px;
  270. border-radius: 5px !important;
  271. padding-left: 10px;
  272. padding-right: 5px;
  273. }
  274. .progress {
  275. height: 5px;
  276. background-color: #cccccc;
  277. }
  278. .progress-bar-ff {
  279. background-color: #fff;
  280. }
  281. .ff {
  282. color: #ffffff;
  283. }
  284. .c-bottom {
  285. margin-top: 5px;
  286. }
  287. .bg-purple {
  288. background: -ms-linear-gradient(right, #ea76dd, #8a9cf4);
  289. background: -webkit-gradient(
  290. linear,
  291. 100% 0,
  292. 0 0,
  293. from(#ea76dd),
  294. to(#8a9cf4)
  295. );
  296. background: -webkit-linear-gradient(right, #ea76dd, #8a9cf4);
  297. background: -moz-linear-gradient(right, #ea76dd, #8a9cf4);
  298. background: -o-linear-gradient(right, #ea76dd, #8a9cf4);
  299. background: linear-gradient(right, #ea76dd, #8a9cf4);
  300. background: #ea76dd;
  301. /* Opera 11.1 - 12.0 */
  302. /* Firefox 3.6 - 15 */
  303. /* 标准的语法 */
  304. }
  305. .bg-blues {
  306. background: -ms-linear-gradient(right, #67aefe, #67aefe);
  307. background: -webkit-linear-gradient(right, #67aefe, #67aefe);
  308. background: -moz-linear-gradient(right, #67aefe, #7bd7fe);
  309. background: -o-linear-gradient(right, #67aefe, #7bd7fe);
  310. background: -webkit-gradient(
  311. linear,
  312. 100% 0,
  313. 0 0,
  314. from(#67aefe),
  315. to(#7bd7fe)
  316. );
  317. background: linear-gradient(right, #67aefe, #7bd7fe);
  318. background: #67aefe;
  319. /* Opera 11.1 - 12.0 */
  320. /* Firefox 3.6 - 15 */
  321. /* 标准的语法 */
  322. }
  323. .bg-yellow {
  324. background: -ms-linear-gradient(right, #f95a84, #f86953);
  325. background: -webkit-linear-gradient(right, #f95a84, #f86953);
  326. background: -moz-linear-gradient(right, #f95a84, #f86953);
  327. background: -o-linear-gradient(right, #f95a84, #f86953);
  328. background: -webkit-gradient(
  329. linear,
  330. 100% 0,
  331. 0 0,
  332. from(#f95a84),
  333. to(#f86953)
  334. );
  335. background: linear-gradient(right, #f95a84, #f86953);
  336. background: #f95a84;
  337. /* Opera 11.1 - 12.0 */
  338. /* Firefox 3.6 - 15 */
  339. /* 标准的语法 */
  340. }
  341. /*.p-xl{
  342. border-width: 5px;
  343. border-style: solid;
  344. border-color: #69cbd0 #69cbd0 #be8bd6 #47bde3 ;
  345. border-radius: 50%;
  346. }*/
  347. .c-bottom {
  348. width: 29%;
  349. overflow: hidden;
  350. margin-right: 5px;
  351. float: left;
  352. }
  353. .c-bottom ul {
  354. overflow: hidden;
  355. width: 100%;
  356. padding-left: 0px;
  357. list-style: none;
  358. margin-top: 3px;
  359. cursor: pointer;
  360. }
  361. .Text {
  362. width: 100%;
  363. padding-bottom: 30px;
  364. position: relative;
  365. }
  366. .c-b-ul {
  367. list-style: none;
  368. padding-left: 0;
  369. }
  370. .c-b-ul span {
  371. position: absolute;
  372. left: 20px;
  373. top: 62px;
  374. font-weight: 600;
  375. font-size: 15px;
  376. color: #676a6c;
  377. }
  378. .c-b-ul #jrdwcl {
  379. top: 112px;
  380. }
  381. .c-b-ul #dydwcl {
  382. top: 162px;
  383. }
  384. .Announcement_title span {
  385. font-size: 16px;
  386. font-weight: 800;
  387. line-height: 80px;
  388. }
  389. .rl {
  390. float: right;
  391. }
  392. .Announcement_common {
  393. font-size: 14px;
  394. }
  395. .Announcement_common li {
  396. margin-bottom: 10px;
  397. }
  398. .At_time {
  399. padding-right: 25px;
  400. }
  401. .Announcement_common li a {
  402. color: #000;
  403. }
  404. .Announcement_common li a:hover {
  405. color: #00a1cb;
  406. }
  407. .new_title {
  408. height: 100%;
  409. line-height: 30px;
  410. padding: 0 15px;
  411. }
  412. .new_title h1 {
  413. margin: 0;
  414. padding: 0;
  415. font-weight: normal;
  416. line-height: 30px;
  417. white-space: nowrap;
  418. overflow: hidden;
  419. text-overflow: ellipsis;
  420. float: left;
  421. width: 55%;
  422. }
  423. .new_list li {
  424. height: 30px;
  425. }
  426. li {
  427. list-style-type: none;
  428. }
  429. .new_title a {
  430. color: #000;
  431. display: block;
  432. width: 100%;
  433. color: #666;
  434. white-space: nowrap;
  435. overflow: hidden;
  436. text-overflow: ellipsis;
  437. }
  438. .s-14 {
  439. font-size: 14px;
  440. }
  441. .new_title em {
  442. font-style: normal;
  443. }
  444. .Widths {
  445. width: 50%;
  446. margin-top: 8%;
  447. }
  448. </style>
  449. </head>
  450. <body class="gray-bg">
  451. <div class="wrapper wrapper-content animated fadeInRight">
  452. <div class="row LISTS" style="display: none">
  453. <div class="col-sm-2">
  454. <div class="widget style1 bc">
  455. <div class="row">
  456. <div class="col-xs-3 text-center">
  457. <i class="fa iconfont fa-4x bg_black"
  458. >&#xe732;</i
  459. >
  460. </div>
  461. <div class="col-xs-9 text-left mins-left">
  462. <h2 class="size-16 jg min_bottom">今日来电</h2>
  463. <h2 class="font-bold size-15 min_bottom">0</h2>
  464. <h3 class="font-bold size-12">总时长:0M</h3>
  465. </div>
  466. </div>
  467. </div>
  468. </div>
  469. <div class="col-sm-2">
  470. <div class="widget style1 bc">
  471. <div class="row">
  472. <div class="col-xs-3">
  473. <i class="fa iconfont fa-4x bg_green"
  474. >&#xe735;</i
  475. >
  476. </div>
  477. <div class="col-xs-9 text-left mins-left">
  478. <h2 class="size-16 jg min_bottom">今日去电</h2>
  479. <h2 class="font-bold size-15 min_bottom">0</h2>
  480. <h3 class="font-bold size-12">总时长:0M</h3>
  481. </div>
  482. </div>
  483. </div>
  484. </div>
  485. <div class="col-sm-2">
  486. <div class="widget style1 bc">
  487. <div class="row">
  488. <div class="col-xs-3">
  489. <i class="fa iconfont fa-4x bg_blue"
  490. >&#xe606;</i
  491. >
  492. </div>
  493. <div class="col-xs-9 text-left mins-left">
  494. <h2 class="size-16 jg min_bottom">本月来电</h2>
  495. <h2 class="font-bold size-15 min_bottom">0</h2>
  496. <h3 class="font-bold size-12">总时长:0M</h3>
  497. </div>
  498. </div>
  499. </div>
  500. </div>
  501. <div class="col-sm-2">
  502. <div class="widget style1 bc">
  503. <div class="row">
  504. <div class="col-xs-3">
  505. <i class="fa iconfont fa-4x bg_red">&#xe61f;</i>
  506. </div>
  507. <div class="col-xs-9 text-left mins-left">
  508. <h2 class="size-16 jg min_bottom">本月去电</h2>
  509. <h2 class="font-bold size-15 min_bottom">0</h2>
  510. <h3 class="font-bold size-12">总时长:0M</h3>
  511. </div>
  512. </div>
  513. </div>
  514. </div>
  515. <div class="col-sm-2">
  516. <div class="widget style1 bc">
  517. <div class="row">
  518. <div class="col-xs-3">
  519. <i class="fa iconfont fa-4x bg_wj">&#xe61f;</i>
  520. </div>
  521. <div class="col-xs-9 text-left mins-left">
  522. <h2 class="size-16 jg min_bottom">未接来电</h2>
  523. <h2 class="font-bold size-15 min_bottom">0</h2>
  524. </div>
  525. </div>
  526. </div>
  527. </div>
  528. </div>
  529. <div class="row LISTS" style="display: none">
  530. <div class="col-sm-12">
  531. <div class="ibox-content">
  532. <div>实时统计</div>
  533. <div>
  534. <span>后台排队:<b id="backstageQueue">0</b></span>
  535. <!-- <ul class="tjcount">
  536. <li>后台排队:<b>0</b></li>
  537. <li>登录坐席:<b>0</b></li>
  538. <li>离线人数:<b>0</b></li>
  539. <li>空闲人数:<b>0</b></li>
  540. <li>通话人数:<b>0</b></li>
  541. <li>系统呼入:<b>0</b></li>
  542. <li>置忙坐席:<b>0</b></li>
  543. <li>签出坐席:<b>100</b></li>
  544. <li>全部坐席:<b>0</b></li>
  545. </ul> -->
  546. </div>
  547. <!-- <div class="ibox float-e-margins">
  548. <div class="ibox-title border_top padding-left-min">
  549. <div class="ibox-tools margin-tops">
  550. <h3>
  551. 去年同月相比<strong> ↑ 4.3%</strong>
  552. </h3>
  553. <h3 class="size-20">↑ <strong>4.3%</strong></h3>
  554. </div>
  555. </div>
  556. <div style="width: 100%">
  557. <div
  558. class="flot-chart-content"
  559. id="flot-line-chart"
  560. style="height: 400px"
  561. ></div>
  562. </div>
  563. <input type="hidden" id="RoleCode" />
  564. </div> -->
  565. </div>
  566. </div>
  567. </div>
  568. <div class="row" style="margin-bottom: 20px">
  569. <div class="col-sm-4 LIST_">
  570. <div class="left_box rows num_box">
  571. <div class="Announcement_box" style="width: 100%">
  572. <div class="Announcement_title clearfix">
  573. <span class="fl" style="padding-left: 25px"
  574. >通知公告</span
  575. >
  576. <!-- <span class="rl" style="padding-right: 25px">
  577. <a href="Announcement/NoAnnManagement.html"
  578. >更多&gt;&gt;</a
  579. >
  580. </span> -->
  581. </div>
  582. <div class="Announcement_common">
  583. <ul style="padding: 0" class="Ann">
  584. <!--<li>
  585. <div class="new_title clearfix">
  586. <h1 class="fl s-14">
  587. <a ><strong>·</strong> &nbsp;&nbsp;关于有关政策落实情况汇报</a>
  588. </h1>
  589. <em class="rl s-14">2017-5-21</em>
  590. </div>
  591. </li>
  592. <li>
  593. <div class="new_title clearfix">
  594. <h1 class="fl s-14">
  595. <a ><strong>·</strong> &nbsp;&nbsp;关于有关政策落实情况汇报</a>
  596. </h1>
  597. <em class="rl s-14">2017-5-21</em>
  598. </div>
  599. </li>
  600. <li>
  601. <div class="new_title clearfix">
  602. <h1 class="fl s-14">
  603. <a ><strong>·</strong> &nbsp;&nbsp;关于有关政策落实情况汇报</a>
  604. </h1>
  605. <em class="rl s-14">2017-5-21</em>
  606. </div>
  607. </li>
  608. <li>
  609. <div class="new_title clearfix">
  610. <h1 class="fl s-14">
  611. <a ><strong>·</strong> &nbsp;&nbsp;关于有关政策落实情况汇报</a>
  612. </h1>
  613. <em class="rl s-14">2017-5-21</em>
  614. </div>
  615. </li>
  616. <li>
  617. <div class="new_title clearfix">
  618. <h1 class="fl s-14">
  619. <a ><strong>·</strong> &nbsp;&nbsp;关于有关政策落实情况汇报</a>
  620. </h1>
  621. <em class="rl s-14">2017-5-21</em>
  622. </div>
  623. </li>-->
  624. </ul>
  625. </div>
  626. </div>
  627. </div>
  628. </div>
  629. <div class="col-sm-4 LIST_">
  630. <div class="left_box rows num_box">
  631. <div style="margin-top: 30px; width: 100%">
  632. <div
  633. style="
  634. padding-left: 25px;
  635. font-size: 16px;
  636. font-weight: 800;
  637. "
  638. >
  639. <span>工单信息</span>
  640. </div>
  641. <div class="col-md-7 clear">
  642. <div
  643. class="widgets p-xl ss"
  644. id="hx"
  645. style="height: 300px"
  646. ></div>
  647. </div>
  648. <div class="col-md-5 clear">
  649. <div
  650. class="widgets p-xl border_left"
  651. style="margin-top: 26px"
  652. >
  653. <ul class="c-b-ul clearfix">
  654. <li class="fl Text">今日完成量:</li>
  655. <span id="jrwcl"></span>
  656. <li class="fl Text">今日待完成量:</li>
  657. <span id="jrdwcl"></span>
  658. <li class="fl Text">当月待完成量:</li>
  659. <span id="dydwcl"></span>
  660. </ul>
  661. </div>
  662. </div>
  663. </div>
  664. </div>
  665. </div>
  666. <div class="col-sm-4 LISTS" style="width: 40%; display: none">
  667. <div class="ibox float-e-margins mt">
  668. <div class="ibox-content">
  669. <div class="flot-chart">
  670. <div
  671. class="flot-chart-content"
  672. id="flot-pie-chart"
  673. style="height: 295px; width: 100%"
  674. ></div>
  675. </div>
  676. </div>
  677. </div>
  678. </div>
  679. </div>
  680. <div class="row LISTS" style="display: none">
  681. <div class="col-sm-12">
  682. <div class="ibox-content">
  683. <div class="ibox float-e-margins">
  684. <div class="ibox-title border_top padding-left-min">
  685. <div class="ibox-tools margin-tops">
  686. <h3>
  687. 去年同月相比<strong> ↑ 4.3%</strong>
  688. </h3>
  689. <!-- <h3 class="size-20">↑ <strong>4.3%</strong></h3>-->
  690. </div>
  691. </div>
  692. <div style="width: 100%">
  693. <div
  694. class="flot-chart-content"
  695. id="flot-line-chart"
  696. style="height: 400px"
  697. ></div>
  698. </div>
  699. <input type="hidden" id="RoleCode" />
  700. </div>
  701. </div>
  702. </div>
  703. </div>
  704. </div>
  705. <script src="./js/content.min.js?v=1.0.0"></script>
  706. <script src="./js/echarts.common.min.js"></script>
  707. <script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
  708. <script src="https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"></script>
  709. <script src="./js/main.js"></script>
  710. <!--<script src="./js/highcharts.js"></script>-->
  711. <script>
  712. var inval;
  713. $(document).ready(function () {
  714. if (!top.ws) {
  715. top.Connect();
  716. }
  717. teltotal();
  718. telhour();
  719. telday();
  720. worktotal();
  721. Ann();
  722. DL();
  723. if (inval) {
  724. clearInterval(inval);
  725. }
  726. inval = setInterval(function () {
  727. teltotal();
  728. telhour();
  729. telday();
  730. worktotal();
  731. }, huayi.config.indextime);
  732. });
  733. if ($.cookie("token") == null) {
  734. window.location.href = "login.html";
  735. }
  736. function DL() {
  737. $.getJSON(
  738. huayi.config.callcenter_url + "UserAccount/GetNowUser",
  739. {
  740. token: $.cookie("token"),
  741. },
  742. function (result) {
  743. if (result.state.toLowerCase() == "success") {
  744. $("#RoleCode").val(result.data.user.F_RoleCode);
  745. if (result.data.user.F_RoleCode == "WLDW") {
  746. //改为除网络单位看不到,其他都能看到
  747. $(".LISTS").hide();
  748. $(".LIST_").addClass("Widths");
  749. } else {
  750. $(".LISTS").show();
  751. }
  752. }
  753. }
  754. );
  755. }
  756. function Ann() {
  757. $.getJSON(
  758. huayi.config.callcenter_url + "Notice/GetListTop",
  759. {
  760. top: 5,
  761. token: $.cookie("token"),
  762. },
  763. function (result) {
  764. //console.log(result);
  765. var a;
  766. $(result.rows).each(function (i, n) {
  767. //console.log(n.F_CreateOn);
  768. var T = n.F_CreateOn.substring(
  769. 0,
  770. n.F_CreateOn.indexOf(" ")
  771. );
  772. a =
  773. "<li>" +
  774. '<div class="new_title clearfix">' +
  775. '<h1 class="fl s-14">' +
  776. '<a href="Announcement/AnnD.html?wid=' +
  777. n.F_NoticeId +
  778. '"><strong>·</strong> &nbsp;&nbsp;' +
  779. n.F_Title +
  780. "</a>" +
  781. "</h1>" +
  782. '<em class="rl s-14">' +
  783. T +
  784. "</em>" +
  785. "</div>" +
  786. "</li>";
  787. $(a).appendTo($(".Ann"));
  788. });
  789. }
  790. );
  791. }
  792. function teltotal() {
  793. $.getJSON(
  794. huayi.config.callcenter_url + "Index/GetTelRecordsTotal",
  795. {
  796. token: $.cookie("token"),
  797. },
  798. function (result) {
  799. if (result.state.toLowerCase() == "success") {
  800. $(".style1")
  801. .eq(0)
  802. .find("h2")
  803. .eq(1)
  804. .text(result.data.dayin.count);
  805. $(".style1")
  806. .eq(0)
  807. .find("h3")
  808. .text(
  809. "总时长:" + result.data.dayin.totaltime + ""
  810. );
  811. $(".style1")
  812. .eq(1)
  813. .find("h2")
  814. .eq(1)
  815. .text(result.data.dayout.count);
  816. $(".style1")
  817. .eq(1)
  818. .find("h3")
  819. .text(
  820. "总时长:" +
  821. result.data.dayout.totaltime +
  822. ""
  823. );
  824. $(".style1")
  825. .eq(2)
  826. .find("h2")
  827. .eq(1)
  828. .text(result.data.monin.count);
  829. $(".style1")
  830. .eq(2)
  831. .find("h3")
  832. .text(
  833. "总时长:" + result.data.monin.totaltime + ""
  834. );
  835. $(".style1")
  836. .eq(3)
  837. .find("h2")
  838. .eq(1)
  839. .text(result.data.monout.count);
  840. $(".style1")
  841. .eq(3)
  842. .find("h3")
  843. .text(
  844. "总时长:" +
  845. result.data.monout.totaltime +
  846. ""
  847. );
  848. $(".style1")
  849. .eq(4)
  850. .find("h2")
  851. .eq(1)
  852. .text(result.data.daynocon);
  853. }
  854. }
  855. );
  856. }
  857. function telhour() {
  858. $.getJSON(
  859. huayi.config.callcenter_url + "Index/GetTelRecordsByHour",
  860. {
  861. token: $.cookie("token"),
  862. },
  863. function (result) {
  864. if (result.state.toLowerCase() == "success") {
  865. // option1.series[0].data = result.data.total;
  866. // option1.series[1].data = result.data.count;
  867. // myChart1.setOptions(option1);
  868. //图一
  869. $("#flot-pie-chart").highcharts({
  870. chart: {
  871. type: "column",
  872. },
  873. credits: {
  874. enabled: false, // 禁用版权信息
  875. },
  876. exporting: {
  877. enabled: false,
  878. },
  879. title: {
  880. text: "",
  881. },
  882. xAxis: {
  883. //categories: ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", ],
  884. categories: result.data.col,
  885. crosshair: true,
  886. },
  887. yAxis: {
  888. min: 0,
  889. title: {
  890. text: "",
  891. },
  892. },
  893. tooltip: {
  894. headerFormat:
  895. '<span style="font-size:10px">{point.key}</span><table>',
  896. pointFormat:
  897. '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
  898. '<td style="padding:0"><b>{point.y} </b></td></tr>',
  899. footerFormat: "</table>",
  900. shared: true,
  901. useHTML: true,
  902. },
  903. series: [
  904. {
  905. name: "来电数量",
  906. data: result.data.total,
  907. },
  908. {
  909. name: "接通数量",
  910. data: result.data.count,
  911. },
  912. ],
  913. });
  914. }
  915. }
  916. );
  917. }
  918. //myChart.setOption(option);
  919. //图3
  920. var option3 = {
  921. title: {
  922. text: "本月话务量及工单量折线图",
  923. x: -20,
  924. },
  925. xAxis: {
  926. labels: {
  927. style: {
  928. color: "#19a0f5", //颜色
  929. fontSize: "12px", //字体
  930. },
  931. },
  932. categories: [
  933. "01日",
  934. "02日",
  935. "03日",
  936. "04日",
  937. "05日",
  938. "06日",
  939. "07日",
  940. "08日",
  941. "09日",
  942. "10日",
  943. "11日",
  944. "12日",
  945. "13日",
  946. "14日",
  947. "15日",
  948. "16日",
  949. "17日",
  950. "18日",
  951. "19日",
  952. "20日",
  953. "21日",
  954. "22日",
  955. "23日",
  956. "24日",
  957. "25日",
  958. "26日",
  959. "27日",
  960. "28日",
  961. "29日",
  962. "30日",
  963. "31日",
  964. ],
  965. },
  966. yAxis: {
  967. title: {
  968. text: "单位",
  969. rotation: 0,
  970. y: -180,
  971. style: {
  972. color: "#19a0f5", //颜色
  973. fontSize: "16px", //字体
  974. },
  975. },
  976. labels: {
  977. style: {
  978. color: "#19a0f5", //颜色
  979. fontSize: "14px", //字体
  980. },
  981. },
  982. plotLines: [
  983. {
  984. value: 0,
  985. width: 1,
  986. color: "#808080",
  987. },
  988. ],
  989. },
  990. tooltip: {
  991. valueSuffix: "单",
  992. },
  993. legend: {
  994. align: "right",
  995. verticalAlign: "top",
  996. x: 0,
  997. y: 0,
  998. },
  999. credits: {
  1000. enabled: false,
  1001. },
  1002. series: [
  1003. {
  1004. name: "工单量",
  1005. data: [
  1006. 7.0,
  1007. 6.9,
  1008. 9.5,
  1009. 14.5,
  1010. 18.2,
  1011. 21.5,
  1012. 25.2,
  1013. 26.5,
  1014. 23.3,
  1015. 18.3,
  1016. 13.9,
  1017. 9.6,
  1018. 21.5,
  1019. 25.2,
  1020. 26.5,
  1021. 23.3,
  1022. 6.9,
  1023. 9.5,
  1024. 14.5,
  1025. 18.2,
  1026. 14.5,
  1027. 18.2,
  1028. 21.5,
  1029. 25.2,
  1030. 26.5,
  1031. 23.3,
  1032. 18.3,
  1033. 9.6,
  1034. 21.5,
  1035. 25.2,
  1036. ],
  1037. color: "#ffaaac",
  1038. },
  1039. {
  1040. name: "话务量",
  1041. data: [
  1042. 2,
  1043. 0.8,
  1044. 5.7,
  1045. 11.3,
  1046. 17.0,
  1047. 22.0,
  1048. 24.8,
  1049. 24.1,
  1050. 20.1,
  1051. 14.1,
  1052. 8.6,
  1053. 2.5,
  1054. 14.5,
  1055. 18.2,
  1056. 21.5,
  1057. 25.2,
  1058. 26.5,
  1059. 23.3,
  1060. 18.3,
  1061. 9.6,
  1062. 13.9,
  1063. 9.6,
  1064. 21.5,
  1065. 25.2,
  1066. 26.5,
  1067. 23.3,
  1068. 6.9,
  1069. 9.5,
  1070. 18.2,
  1071. 21.5,
  1072. 25.2,
  1073. ],
  1074. color: "#d8e7ef",
  1075. },
  1076. ],
  1077. };
  1078. function telday() {
  1079. $.getJSON(
  1080. huayi.config.callcenter_url + "Index/GetWorkTelByDay",
  1081. {
  1082. token: $.cookie("token"),
  1083. },
  1084. function (result) {
  1085. if (result.state.toLowerCase() == "success") {
  1086. $(".ibox-tools h3 strong").text(result.data.bl);
  1087. option3.xAxis.categories = result.data.col;
  1088. option3.series[0].data = result.data.worktotal;
  1089. option3.series[1].data = result.data.teltotal;
  1090. var chart3 = new Highcharts.Chart(
  1091. "flot-line-chart",
  1092. option3
  1093. );
  1094. }
  1095. }
  1096. );
  1097. }
  1098. //图2
  1099. var myChart2 = echarts.init(document.getElementById("hx"));
  1100. var option2 = {
  1101. title: {
  1102. text: "总计",
  1103. subtext: "10000",
  1104. x: "center",
  1105. y: 60,
  1106. textStyle: {
  1107. fontWeight: "normal",
  1108. fontSize: 16,
  1109. },
  1110. },
  1111. color: ["#bf8bd5", "#68cbcf"],
  1112. series: [
  1113. {
  1114. type: "pie",
  1115. radius: ["40%", "60%"],
  1116. center: ["50%", "30%"],
  1117. avoidLabelOverlap: false,
  1118. hoverAnimation: false,
  1119. label: {
  1120. normal: {
  1121. show: false,
  1122. position: "center",
  1123. formatter: "",
  1124. },
  1125. emphasis: {
  1126. show: true,
  1127. textStyle: {
  1128. fontSize: "14",
  1129. fontWeight: "bold",
  1130. },
  1131. },
  1132. },
  1133. labelLine: {
  1134. normal: {
  1135. show: false,
  1136. },
  1137. },
  1138. data: [
  1139. {
  1140. value: 335,
  1141. name: "直接访问",
  1142. },
  1143. {
  1144. value: 210,
  1145. name: "邮件营销",
  1146. },
  1147. ],
  1148. },
  1149. ],
  1150. };
  1151. function worktotal() {
  1152. $.getJSON(
  1153. huayi.config.callcenter_url + "Index/GetWorkTotal",
  1154. {
  1155. token: $.cookie("token"),
  1156. },
  1157. function (result) {
  1158. if (result.state.toLowerCase() == "success") {
  1159. option2.title.subtext =
  1160. result.data.daywc * 1 + result.data.daywwc * 1;
  1161. option2.series[0].data = [
  1162. {
  1163. value: result.data.daywwc,
  1164. name: "今日待完成量",
  1165. },
  1166. {
  1167. value: result.data.daywc,
  1168. name: "今日完成量",
  1169. },
  1170. ];
  1171. $("#jrwcl").text(result.data.daywc);
  1172. $("#jrdwcl").text(result.data.daywwc);
  1173. $("#dydwcl").text(result.data.monwwc);
  1174. // $(".bg-blues h3").find("span").text(result.data.daywc);
  1175. // $(".bg-purple h3").find("span").text(result.data.daywwc);
  1176. // $(".bg-yellow h3").find("span").text(result.data.monwwc);
  1177. myChart2.setOption(option2);
  1178. }
  1179. }
  1180. );
  1181. }
  1182. function realTimeMonitorQueue(data) {
  1183. $("#backstageQueue").text(data)
  1184. }
  1185. </script>
  1186. </body>
  1187. <!-- Mirrored from www.zi-han.net/theme/hplus/widgets.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:01 GMT -->
  1188. </html>