Нет описания

widgets.html 44KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233
  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. console.log(helper.init.isload)
  718. helper.init.isload = 0
  719. teltotal();
  720. telhour();
  721. telday();
  722. worktotal();
  723. Ann();
  724. DL();
  725. if (inval) {
  726. clearInterval(inval);
  727. }
  728. inval = setInterval(function () {
  729. teltotal();
  730. telhour();
  731. telday();
  732. worktotal();
  733. }, huayi.config.indextime);
  734. });
  735. if ($.cookie("token") == null) {
  736. window.location.href = "login.html";
  737. }
  738. function DL() {
  739. $.getJSON(
  740. huayi.config.callcenter_url + "UserAccount/GetNowUser",
  741. {
  742. token: $.cookie("token"),
  743. },
  744. function (result) {
  745. if (result.state.toLowerCase() == "success") {
  746. $("#RoleCode").val(result.data.user.F_RoleCode);
  747. if (result.data.user.F_RoleCode == "WLDW") {
  748. //改为除网络单位看不到,其他都能看到
  749. $(".LISTS").hide();
  750. $(".LIST_").addClass("Widths");
  751. } else {
  752. $(".LISTS").show();
  753. }
  754. }
  755. }
  756. );
  757. }
  758. function Ann() {
  759. $.getJSON(
  760. huayi.config.callcenter_url + "Notice/GetListTop",
  761. {
  762. top: 5,
  763. token: $.cookie("token"),
  764. },
  765. function (result) {
  766. //console.log(result);
  767. var a;
  768. $(result.rows).each(function (i, n) {
  769. //console.log(n.F_CreateOn);
  770. var T = n.F_CreateOn.substring(
  771. 0,
  772. n.F_CreateOn.indexOf(" ")
  773. );
  774. a =
  775. "<li>" +
  776. '<div class="new_title clearfix">' +
  777. '<h1 class="fl s-14">' +
  778. '<a href="Announcement/AnnD.html?wid=' +
  779. n.F_NoticeId +
  780. '"><strong>·</strong> &nbsp;&nbsp;' +
  781. n.F_Title +
  782. "</a>" +
  783. "</h1>" +
  784. '<em class="rl s-14">' +
  785. T +
  786. "</em>" +
  787. "</div>" +
  788. "</li>";
  789. $(a).appendTo($(".Ann"));
  790. });
  791. }
  792. );
  793. }
  794. function teltotal() {
  795. // helper.init.isload = 0
  796. $.ajax({
  797. type: "GET",
  798. url: huayi.config.callcenter_url + "Index/GetTelRecordsTotal",
  799. isload: 0,
  800. dataType: "json",
  801. data:{token: $.cookie("token")},
  802. success: function (result) {
  803. $(".style1").eq(0).find("h2").eq(1).text(result.data.dayin.count);
  804. $(".style1").eq(0).find("h3").text("总时长:" + result.data.dayin.totaltime + "");
  805. $(".style1").eq(1).find("h2").eq(1).text(result.data.dayout.count);
  806. $(".style1").eq(1).find("h3").text("总时长:" +result.data.dayout.totaltime +"");
  807. $(".style1").eq(2).find("h2").eq(1).text(result.data.monin.count);
  808. $(".style1").eq(2).find("h3").text("总时长:" + result.data.monin.totaltime + "");
  809. $(".style1").eq(3).find("h2").eq(1).text(result.data.monout.count);
  810. $(".style1").eq(3).find("h3").text("总时长:" +result.data.monout.totaltime +"");
  811. $(".style1").eq(4).find("h2").eq(1).text(result.data.daynocon);
  812. }
  813. });
  814. }
  815. function telhour() {
  816. $.getJSON(
  817. huayi.config.callcenter_url + "Index/GetTelRecordsByHour",
  818. {
  819. token: $.cookie("token"),
  820. },
  821. function (result) {
  822. if (result.state.toLowerCase() == "success") {
  823. // option1.series[0].data = result.data.total;
  824. // option1.series[1].data = result.data.count;
  825. // myChart1.setOptions(option1);
  826. //图一
  827. $("#flot-pie-chart").highcharts({
  828. chart: {
  829. type: "column",
  830. },
  831. credits: {
  832. enabled: false, // 禁用版权信息
  833. },
  834. exporting: {
  835. enabled: false,
  836. },
  837. title: {
  838. text: "",
  839. },
  840. xAxis: {
  841. //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", ],
  842. categories: result.data.col,
  843. crosshair: true,
  844. },
  845. yAxis: {
  846. min: 0,
  847. title: {
  848. text: "",
  849. },
  850. },
  851. tooltip: {
  852. headerFormat:
  853. '<span style="font-size:10px">{point.key}</span><table>',
  854. pointFormat:
  855. '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
  856. '<td style="padding:0"><b>{point.y} </b></td></tr>',
  857. footerFormat: "</table>",
  858. shared: true,
  859. useHTML: true,
  860. },
  861. series: [
  862. {
  863. name: "来电数量",
  864. data: result.data.total,
  865. },
  866. {
  867. name: "接通数量",
  868. data: result.data.count,
  869. },
  870. ],
  871. });
  872. }
  873. }
  874. );
  875. }
  876. //myChart.setOption(option);
  877. //图3
  878. var option3 = {
  879. title: {
  880. text: "本月话务量及工单量折线图",
  881. x: -20,
  882. },
  883. xAxis: {
  884. labels: {
  885. style: {
  886. color: "#19a0f5", //颜色
  887. fontSize: "12px", //字体
  888. },
  889. },
  890. categories: [
  891. "01日",
  892. "02日",
  893. "03日",
  894. "04日",
  895. "05日",
  896. "06日",
  897. "07日",
  898. "08日",
  899. "09日",
  900. "10日",
  901. "11日",
  902. "12日",
  903. "13日",
  904. "14日",
  905. "15日",
  906. "16日",
  907. "17日",
  908. "18日",
  909. "19日",
  910. "20日",
  911. "21日",
  912. "22日",
  913. "23日",
  914. "24日",
  915. "25日",
  916. "26日",
  917. "27日",
  918. "28日",
  919. "29日",
  920. "30日",
  921. "31日",
  922. ],
  923. },
  924. yAxis: {
  925. title: {
  926. text: "单位",
  927. rotation: 0,
  928. y: -180,
  929. style: {
  930. color: "#19a0f5", //颜色
  931. fontSize: "16px", //字体
  932. },
  933. },
  934. labels: {
  935. style: {
  936. color: "#19a0f5", //颜色
  937. fontSize: "14px", //字体
  938. },
  939. },
  940. plotLines: [
  941. {
  942. value: 0,
  943. width: 1,
  944. color: "#808080",
  945. },
  946. ],
  947. },
  948. tooltip: {
  949. valueSuffix: "单",
  950. },
  951. legend: {
  952. align: "right",
  953. verticalAlign: "top",
  954. x: 0,
  955. y: 0,
  956. },
  957. credits: {
  958. enabled: false,
  959. },
  960. series: [
  961. {
  962. name: "工单量",
  963. data: [
  964. 7.0,
  965. 6.9,
  966. 9.5,
  967. 14.5,
  968. 18.2,
  969. 21.5,
  970. 25.2,
  971. 26.5,
  972. 23.3,
  973. 18.3,
  974. 13.9,
  975. 9.6,
  976. 21.5,
  977. 25.2,
  978. 26.5,
  979. 23.3,
  980. 6.9,
  981. 9.5,
  982. 14.5,
  983. 18.2,
  984. 14.5,
  985. 18.2,
  986. 21.5,
  987. 25.2,
  988. 26.5,
  989. 23.3,
  990. 18.3,
  991. 9.6,
  992. 21.5,
  993. 25.2,
  994. ],
  995. color: "#ffaaac",
  996. },
  997. {
  998. name: "话务量",
  999. data: [
  1000. 2,
  1001. 0.8,
  1002. 5.7,
  1003. 11.3,
  1004. 17.0,
  1005. 22.0,
  1006. 24.8,
  1007. 24.1,
  1008. 20.1,
  1009. 14.1,
  1010. 8.6,
  1011. 2.5,
  1012. 14.5,
  1013. 18.2,
  1014. 21.5,
  1015. 25.2,
  1016. 26.5,
  1017. 23.3,
  1018. 18.3,
  1019. 9.6,
  1020. 13.9,
  1021. 9.6,
  1022. 21.5,
  1023. 25.2,
  1024. 26.5,
  1025. 23.3,
  1026. 6.9,
  1027. 9.5,
  1028. 18.2,
  1029. 21.5,
  1030. 25.2,
  1031. ],
  1032. color: "#d8e7ef",
  1033. },
  1034. ],
  1035. };
  1036. function telday() {
  1037. $.getJSON(
  1038. huayi.config.callcenter_url + "Index/GetWorkTelByDay",
  1039. {
  1040. token: $.cookie("token"),
  1041. },
  1042. function (result) {
  1043. if (result.state.toLowerCase() == "success") {
  1044. $(".ibox-tools h3 strong").text(result.data.bl);
  1045. option3.xAxis.categories = result.data.col;
  1046. option3.series[0].data = result.data.worktotal;
  1047. option3.series[1].data = result.data.teltotal;
  1048. var chart3 = new Highcharts.Chart(
  1049. "flot-line-chart",
  1050. option3
  1051. );
  1052. }
  1053. }
  1054. );
  1055. }
  1056. //图2
  1057. var myChart2 = echarts.init(document.getElementById("hx"));
  1058. var option2 = {
  1059. title: {
  1060. text: "总计",
  1061. subtext: "10000",
  1062. x: "center",
  1063. y: 60,
  1064. textStyle: {
  1065. fontWeight: "normal",
  1066. fontSize: 16,
  1067. },
  1068. },
  1069. color: ["#bf8bd5", "#68cbcf"],
  1070. series: [
  1071. {
  1072. type: "pie",
  1073. radius: ["40%", "60%"],
  1074. center: ["50%", "30%"],
  1075. avoidLabelOverlap: false,
  1076. hoverAnimation: false,
  1077. label: {
  1078. normal: {
  1079. show: false,
  1080. position: "center",
  1081. formatter: "",
  1082. },
  1083. emphasis: {
  1084. show: true,
  1085. textStyle: {
  1086. fontSize: "14",
  1087. fontWeight: "bold",
  1088. },
  1089. },
  1090. },
  1091. labelLine: {
  1092. normal: {
  1093. show: false,
  1094. },
  1095. },
  1096. data: [
  1097. {
  1098. value: 335,
  1099. name: "直接访问",
  1100. },
  1101. {
  1102. value: 210,
  1103. name: "邮件营销",
  1104. },
  1105. ],
  1106. },
  1107. ],
  1108. };
  1109. function worktotal() {
  1110. $.getJSON(
  1111. huayi.config.callcenter_url + "Index/GetWorkTotal",
  1112. {
  1113. token: $.cookie("token"),
  1114. },
  1115. function (result) {
  1116. if (result.state.toLowerCase() == "success") {
  1117. option2.title.subtext =
  1118. result.data.daywc * 1 + result.data.daywwc * 1;
  1119. option2.series[0].data = [
  1120. {
  1121. value: result.data.daywwc,
  1122. name: "今日待完成量",
  1123. },
  1124. {
  1125. value: result.data.daywc,
  1126. name: "今日完成量",
  1127. },
  1128. ];
  1129. $("#jrwcl").text(result.data.daywc);
  1130. $("#jrdwcl").text(result.data.daywwc);
  1131. $("#dydwcl").text(result.data.monwwc);
  1132. // $(".bg-blues h3").find("span").text(result.data.daywc);
  1133. // $(".bg-purple h3").find("span").text(result.data.daywwc);
  1134. // $(".bg-yellow h3").find("span").text(result.data.monwwc);
  1135. myChart2.setOption(option2);
  1136. }
  1137. }
  1138. );
  1139. }
  1140. function realTimeMonitorQueue(data) {
  1141. $("#backstageQueue").text(data)
  1142. }
  1143. </script>
  1144. </body>
  1145. <!-- 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 -->
  1146. </html>