Nessuna descrizione

widgets.html 44KB

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