PingAnYeXianSZCG_Web 前端代码

index.html 78KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677
  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. <meta name="renderer" content="webkit|ie-comp|ie-stand" />
  7. <meta http-equiv="Cache-Control" content="no-siteapp" />
  8. <title>叶县社情民意调查中心
  9. </title>
  10. <script src="./Script/Common/huayi.load.js"></script>
  11. <script src="./Script/Common/huayi.config.js"></script>
  12. <link rel="shortcut icon" href="img/32.ico" />
  13. <link href="./css/wh.css" rel="stylesheet">
  14. <link href="./css/plugins/iCheck/custom.css" rel="stylesheet">
  15. <link rel="stylesheet" href="./css/call.css" />
  16. <link rel="stylesheet" href="./css/personal.css" />
  17. <link rel="stylesheet" href="./js/zTree/zTreeStyle.css" />
  18. <link href="./css/plugins/cropper/cropper.min.css" rel="stylesheet">
  19. <link href="./css/plugins/jasny/jasny-bootstrap.min.css" rel="stylesheet">
  20. <style>
  21. @font-face {
  22. font-family: 'iconfont';
  23. src: url('./fonts/iconfont.eot');
  24. /* IE9*/
  25. src: url('./fonts/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  26. url('./fonts/iconfont.woff') format('woff'), /* chrome、firefox */
  27. url('./fonts/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  28. url('./fonts/iconfont.svg#iconfont') format('svg');
  29. /* iOS 4.1- */
  30. }
  31. body {
  32. font-family: "微软雅黑";
  33. }
  34. ul li {
  35. list-style: none;
  36. overflow: hidden;
  37. }
  38. .iconfont {
  39. font-family: "iconfont";
  40. font-style: normal;
  41. color: #FFFFFF;
  42. }
  43. .fr {
  44. float: right;
  45. }
  46. .fl {
  47. float: left;
  48. }
  49. .size-12 {
  50. font-size: 12px;
  51. }
  52. .title-box {
  53. margin-top: 5px;
  54. }
  55. .title-box li {
  56. margin-left: 30px;
  57. }
  58. .title-box li:hover {
  59. cursor: pointer;
  60. }
  61. .HoverColor {
  62. color: #f8ac59;
  63. }
  64. .FailureColor {
  65. color: #f95f5e;
  66. }
  67. .navbar-header {
  68. width: 100%;
  69. background-color: #2f4050;
  70. padding-top: 10px;
  71. }
  72. .title-box li p {
  73. color: #FFFFFF;
  74. font-size: 14px;
  75. font-weight: bold;
  76. letter-spacing: 2px;
  77. margin-top: 5px;
  78. }
  79. .size-14 {
  80. font-size: 14px;
  81. color: #FFFFFF !important;
  82. }
  83. .img-circle {
  84. width: 58px;
  85. }
  86. .xian {
  87. border: 1px solid #FFFFFF;
  88. display: inline-block;
  89. width: 15%;
  90. margin: 5px;
  91. }
  92. .ss {
  93. margin-left: 20px;
  94. }
  95. .fe-3 {
  96. font-size: 3em;
  97. }
  98. .title-box p {
  99. text-align: center;
  100. }
  101. .closed {
  102. display: inline-block;
  103. /* margin-left: 5%;*/
  104. cursor: pointer;
  105. color: #FFFFFF;
  106. float: right;
  107. margin-right: 5%;
  108. }
  109. .closed div {
  110. overflow: hidden;
  111. }
  112. .closed ul {
  113. margin-bottom: 0px;
  114. }
  115. .closed li {
  116. float: left;
  117. margin-right: 20px;
  118. }
  119. .closed i {
  120. display: inline-block;
  121. background: url(./img/chilun.png) no-repeat;
  122. margin-right: 5px;
  123. width: 14px;
  124. height: 16px;
  125. vertical-align: middle;
  126. }
  127. .ga {
  128. background-position: 0 0 !important;
  129. }
  130. .sz {
  131. background-position: 0 -15px !important;
  132. }
  133. .tc {
  134. background-position: 0 -33px !important;
  135. }
  136. .zhuangtai {
  137. display: block;
  138. width: 30%;
  139. margin-left: 10px;
  140. font-size: 14px;
  141. font-weight: 800;
  142. }
  143. .wq {
  144. color: #f95f5e;
  145. }
  146. #top-search li:hover {
  147. color: #eaeaea;
  148. }
  149. .content-tabs1 ul {
  150. padding-left: 0;
  151. }
  152. .content-tabs1 li {
  153. list-style: none;
  154. float: left;
  155. height: 5px;
  156. }
  157. .top1 {
  158. background-color: #68adfe;
  159. }
  160. .top2 {
  161. background-color: #9897f0;
  162. }
  163. .top3 {
  164. background-color: #87eebf;
  165. }
  166. .top4 {
  167. background-color: #68b0fe;
  168. }
  169. .top5 {
  170. background-color: #f95a83;
  171. }
  172. .top6 {
  173. background-color: #eb76dd;
  174. }
  175. .top7 {
  176. background-color: #69cbd0;
  177. }
  178. .top8 {
  179. background-color: #69cbd0;
  180. }
  181. .top9 {
  182. background-color: #aaf58d;
  183. }
  184. .top10 {
  185. background-color: #f76a53;
  186. }
  187. .top11 {
  188. background-color: #eb76dd;
  189. }
  190. .top12 {
  191. background-color: #6c77da;
  192. }
  193. .top13 {
  194. background: -webkit-linear-gradient(left, #f073db, #65abfc);
  195. background: -moz-linear-gradient(left, #f073db, #65abfc);
  196. background: -o-linear-gradient(left, #f073db, #65abfc);
  197. background: -webkit-gradient(linear, 100% 0, 0 0, from(#65abfc), to(#f073db));
  198. background: linear-gradient(left, #f073db, #65abfc);
  199. /* Opera 11.1 - 12.0 */
  200. /* Firefox 3.6 - 15 */
  201. /* 标准的语法 */
  202. }
  203. .zts {
  204. height: 30px;
  205. margin-left: 2%;
  206. line-height: 30px;
  207. padding-top: 15px;
  208. }
  209. .zts li {
  210. height: 20px;
  211. line-height: 20px;
  212. font-weight: bold;
  213. letter-spacing: 2px;
  214. }
  215. .quan {
  216. width: 15px;
  217. height: 15px !important;
  218. border-radius: 50%;
  219. margin-right: 2%;
  220. margin-left: 5px;
  221. margin-top: 2px;
  222. }
  223. .lx {
  224. background: #6a6d69;
  225. }
  226. .br {
  227. background: red;
  228. }
  229. .bl {
  230. background: #7ab85b;
  231. }
  232. .LH {
  233. line-height: 35px;
  234. }
  235. .zts span {
  236. line-height: 20px;
  237. margin-right: 50px;
  238. font-size: 12px;
  239. }
  240. .photo {
  241. width: 40px;
  242. height: 40px;
  243. border-width: 2px;
  244. border-style: solid;
  245. border-radius: 50%;
  246. border-color: #ffb400 #fc3c04 #fdfc01 #00e3c0;
  247. margin-bottom: 1px;
  248. }
  249. .photo img {
  250. display: block;
  251. width: 100%;
  252. height: 100%;
  253. }
  254. .ls {
  255. /*margin-left: 20px;*/
  256. text-align: center;
  257. }
  258. .ls span {
  259. margin-right: 10px;
  260. }
  261. .min-right {
  262. margin-right: 10px;
  263. }
  264. .navbar-top-links i {
  265. width: 24px;
  266. height: 21px;
  267. display: block;
  268. background: url(./img/topIcon.png) no-repeat;
  269. background-position: center center;
  270. margin: 0 auto;
  271. }
  272. /*挂断*/
  273. .DropCall {
  274. background-position: 0px 0 !important;
  275. }
  276. /*外呼*/
  277. .MakeCall {
  278. background-position: 0px -20px !important;
  279. }
  280. /*置忙*/
  281. .SayBusy {
  282. background-position: 0px -42px !important;
  283. }
  284. /*置闲*/
  285. .SayFree {
  286. background-position: 0px -65px !important;
  287. }
  288. /*多方通话*/
  289. .Meeting {
  290. background-position: 0px -85px !important;
  291. }
  292. /*转移*/
  293. .Transfer {
  294. background-position: 0px -108px !important;
  295. }
  296. /*保持*/
  297. .Hold {
  298. background-position: 0px -131px !important;
  299. }
  300. /*接回*/
  301. .Retrieve {
  302. background-position: 0px -153px !important;
  303. }
  304. /*签入*/
  305. .Login {
  306. background-position: 0px -197px !important;
  307. }
  308. /*签出*/
  309. .Logout {
  310. background-position: 0px -175px !important;
  311. }
  312. .navbar-top-links .active {
  313. background-position-x: -23px !important;
  314. }
  315. .ldcr-bottom .detail-con ul li .active a {
  316. color: #f95a83 !important;
  317. }
  318. .ldcr-bottom .detail-con ul li .active em {
  319. color: #f95a83 !important;
  320. }
  321. .ldcr-bottom .detail-con ul li .active+.explancon {
  322. display: block !important;
  323. }
  324. .searchbtn {
  325. width: 2.5em;
  326. height: 24px;
  327. border-radius: 5px;
  328. position: absolute;
  329. background-color: #f8ac59;
  330. background-image: url(./img/searIcon.png);
  331. background-repeat: no-repeat;
  332. background-position: center center;
  333. cursor: pointer;
  334. }
  335. .max-box {
  336. height: 42px;
  337. width: 100%;
  338. }
  339. .laydate_body .laydate_bottom,
  340. .laydate_body .laydate_top {
  341. height: 31px !important;
  342. }
  343. .laydate_body .laydate_y .laydate_yms ul li {
  344. width: 59px !important;
  345. }
  346. .col-sm-1 {
  347. padding-right: 0;
  348. line-height: 22px;
  349. }
  350. ul.ztree {
  351. border: 1px solid #617775;
  352. background: #f0f6e4;
  353. overflow-y: scroll;
  354. overflow-x: auto;
  355. }
  356. .minBacha {
  357. position: absolute;
  358. top: 0;
  359. right: 80px;
  360. z-index: 10;
  361. overflow: hidden;
  362. }
  363. .minBacha>div {
  364. float: left;
  365. height: 35px;
  366. width: 35px;
  367. margin-left: 2px;
  368. }
  369. .minBacha>div a {
  370. display: block;
  371. height: 100%;
  372. width: 100%;
  373. text-align: center;
  374. background-position: center center;
  375. background-color: #2f4050;
  376. opacity: .5;
  377. }
  378. .minBacha>div a:hover {
  379. opacity: 1;
  380. }
  381. .minClosed>a {
  382. background: url("./img/min.png") no-repeat;
  383. }
  384. .Bacha>a {
  385. background: url("./img/gb.png") no-repeat;
  386. }
  387. .lblcount {
  388. position: absolute;
  389. right: 5px;
  390. top: 7px;
  391. }
  392. .first {
  393. z-index: 1000;
  394. }
  395. .khzl {
  396. font-size: 12px;
  397. border: 0;
  398. margin: 35px auto;
  399. color: #fff;
  400. }
  401. .khzl tr {
  402. border: 0;
  403. }
  404. .khzl th {
  405. padding: 5px 8px 5px 0;
  406. text-align: right;
  407. width: 40%;
  408. font-weight: normal;
  409. border: 0;
  410. }
  411. .khzl tbody>tr>td,
  412. .khzl tbody>tr>th {
  413. border: 0;
  414. }
  415. .khzl tbody>tr>td input {
  416. border: 0;
  417. outline: none;
  418. background: #243747;
  419. padding-left: 5px;
  420. width: 100%;
  421. }
  422. .khbtn {
  423. /*background: #97a0a8;*/
  424. color: #1ab394;
  425. font-size: 14px;
  426. vertical-align: middle;
  427. }
  428. .hei-list {
  429. width: 400px;
  430. margin: 0 auto;
  431. }
  432. .heiTop {
  433. height: 35px;
  434. background: #1ab394;
  435. color: #fff;
  436. line-height: 35px;
  437. padding: 0 15px;
  438. border-top-left-radius: 3px;
  439. border-top-right-radius: 3px;
  440. }
  441. .heiTop .htl {
  442. float: left;
  443. margin: 0;
  444. }
  445. .heiTop .bacha {
  446. float: right;
  447. font-size: 18px;
  448. cursor: pointer;
  449. margin: 0;
  450. }
  451. .heiCon {
  452. width: 100%;
  453. background: #fff;
  454. text-align: center;
  455. padding: 25px 15px;
  456. height: auto;
  457. overflow-y: auto;
  458. border: 1px solid #eee;
  459. }
  460. #time-word {
  461. border: 1px solid #1ab394;
  462. padding: 5px 0 5px 10px;
  463. width: 120px;
  464. outline: none;
  465. color: #000;
  466. }
  467. .chooses {
  468. margin-top: 10px;
  469. }
  470. .btns {
  471. background: #1ab394;
  472. color: #fff;
  473. padding: 3px 10px;
  474. outline: none;
  475. font-size: 12px;
  476. margin-left: 15px;
  477. border: 0;
  478. border-radius: 3px;
  479. box-sizing: border-box;
  480. }
  481. .bianji {
  482. display: inline-block;
  483. height: 16px;
  484. width: 16px;
  485. vertical-align: middle;
  486. margin-right: 5px;
  487. }
  488. .bianji.edi {
  489. background: url(img/xgai.png) no-repeat;
  490. }
  491. .bianji.sav {
  492. background: url(img/bbc.png) no-repeat;
  493. }
  494. .bianji.canc {
  495. background: url(img/quxi.png) no-repeat;
  496. }
  497. .t-shade {
  498. position: fixed;
  499. top: 0;
  500. left: 0;
  501. width: 100%;
  502. height: 100%;
  503. background: rgba(0, 0, 0, 0.48);
  504. z-index: 10004;
  505. display: none;
  506. }
  507. .shade_k {
  508. z-index: 10005;
  509. width: 40%;
  510. margin: 10% auto;
  511. background-color: #fff;
  512. box-shadow: 1px 1px 50px rgba(0, 0, 0, .3);
  513. border-radius: 5px;
  514. }
  515. .shade_title {
  516. padding: 0 80px 0 20px;
  517. height: 42px;
  518. line-height: 42px;
  519. border-bottom: 1px solid #eee;
  520. font-size: 16px;
  521. color: #FFFFFF;
  522. overflow: hidden;
  523. background-color: rgb(26, 179, 148);
  524. border-radius: 2px 2px 0 0;
  525. position: relative;
  526. }
  527. .setwin {
  528. position: absolute;
  529. right: 15px;
  530. top: 5px;
  531. font-size: 20px;
  532. line-height: initial;
  533. }
  534. .setwin a {
  535. font-size: 20px;
  536. color: #fff;
  537. }
  538. .shade_content {
  539. overflow-y: auto;
  540. position: relative;
  541. padding-bottom: 50px;
  542. padding: 10px;
  543. }
  544. .wh_btn {
  545. width: 80%;
  546. text-align: center;
  547. padding-top: 20px;
  548. margin: 0 auto;
  549. margin-bottom: 20px;
  550. }
  551. .wh_btn input {
  552. padding: 7px 20px;
  553. color: #FFF;
  554. border-radius: 5px;
  555. margin-right: 30px;
  556. border: 1px solid #999;
  557. border-color: rgb(26, 179, 148);
  558. }
  559. .sc_btn {
  560. color: rgb(255, 255, 255);
  561. font-size: 12px;
  562. margin-left: 15px;
  563. box-sizing: border-box;
  564. background: rgb(26, 179, 148);
  565. padding: 6px 10px;
  566. outline: none;
  567. border-width: 0px;
  568. border-style: initial;
  569. border-color: initial;
  570. border-image: initial;
  571. border-radius: 3px;
  572. }
  573. .sc_btn:hover {
  574. color: #fff !important;
  575. }
  576. .cx {
  577. display: block;
  578. }
  579. </style>
  580. </head>
  581. <body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
  582. <div id="wrapper">
  583. <!--左侧导航开始-->
  584. <nav class="navbar-default navbar-static-side" role="navigation">
  585. <div class="nav-close">
  586. <i class="fa fa-times-circle"></i>
  587. </div>
  588. <div class="sidebar-collapse">
  589. <ul class="nav" id="side-menu">
  590. <li class="nav-header">
  591. <div class="dropdown profile-element text-center">
  592. <span>
  593. <img alt="image" class="img-circle yhtx" src="./img/zxPhone.png" onerror="this.src = './img/zxPhone.png'" />
  594. <input type="file" name="upFile" id="upFile" accept="image/jpeg,image/jpg,image/png" style="display: none;">
  595. </span>
  596. <a data-toggle="dropdown" class="dropdown-toggle" href="#">
  597. <span class="clear">
  598. <span class="block m-t-xs">
  599. <b class="xian"></b>
  600. <strong class="font-bold username">张三</strong>
  601. <b class="xian"></b>
  602. </span>
  603. <span class="text-muted text-xs block size-14 rolename">
  604. 超级管理员
  605. </span>
  606. <span class="text-muted text-xs block size-12 Gnum " style="color: #fff;">
  607. 1516
  608. </span>
  609. </span>
  610. </a>
  611. </div>
  612. <div class="logo-element">
  613. </div>
  614. </li>
  615. </ul>
  616. </div>
  617. </nav>
  618. <!--左侧导航结束-->
  619. <!--右侧部分开始-->
  620. <div id="page-wrapper" class="gray-bg dashbard-1">
  621. <div class="row border-bottom">
  622. <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
  623. <div class="navbar-header">
  624. <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
  625. <div class="nav navbar-top-links navbar-left">
  626. <ul class="title-box" id="top-search" style="padding-left: 0; display:none;">
  627. <li datafun="DropCall">
  628. <i class="iconfont fa-5x DropCall"></i>
  629. <p>挂断</p>
  630. </li>
  631. <li datafun="MakeCall">
  632. <i class="iconfont fa-5x MakeCall"></i>
  633. <p>外呼</p>
  634. </li>
  635. <li datafun="SayBusy">
  636. <i class="iconfont fa-5x SayBusy"></i>
  637. <p>置忙</p>
  638. </li>
  639. <li datafun="SayFree">
  640. <i class="iconfont fa-5x SayFree"></i>
  641. <p>置闲</p>
  642. </li>
  643. <li datafun="Meeting">
  644. <i class="iconfont fa-5x Meeting"></i>
  645. <p>多方通话</p>
  646. </li>
  647. <li datafun="Transfer">
  648. <i class="iconfont fa-5x Transfer"></i>
  649. <p>转移</p>
  650. </li>
  651. <li datafun="Hold">
  652. <i class="iconfont fa-5x Hold"></i>
  653. <p>保持</p>
  654. </li>
  655. <li datafun="Retrieve">
  656. <i class="iconfont fa-5x Retrieve"></i>
  657. <p>接回</p>
  658. </li>
  659. <li datafun="Login">
  660. <i class="iconfont fa-5x Login"></i>
  661. <p>签入</p>
  662. </li>
  663. <li datafun="Logout">
  664. <i class="iconfont fa-5x Logout"></i>
  665. <p>签出</p>
  666. </li>
  667. </ul>
  668. </div>
  669. <div class="nav closed">
  670. <!--左边-->
  671. <div class="text-center max-box">
  672. <ul class="fl maxOpen animated" style="display: none;">
  673. <li>
  674. <h3 class="size-12 ldname">未知</h3>
  675. <h3 class="size-12 ldtel" style="margin-bottom: 0;"></h3>
  676. </li>
  677. <li>
  678. <div class="photo">
  679. <img src="" alt="" />
  680. </div>
  681. </li>
  682. </ul>
  683. </div>
  684. <div class="ls">
  685. <span class="size-12 min-right" onclick="Jumps()">
  686. <i class="ga"></i>&nbsp;管理中心
  687. </span>
  688. <span class="size-12 shezhi">
  689. <i class="sz"></i>&nbsp;设置
  690. </span>
  691. <span class="size-12" onclick="logout()">
  692. <i class="tc"></i>退出
  693. </span>
  694. </div>
  695. </div>
  696. </div>
  697. </nav>
  698. </div>
  699. <div class="row content-tabs1">
  700. <ul>
  701. <li class="top1" style="width: 5%;"></li>
  702. <li class="top2" style="width: 8%;"></li>
  703. <li class="top3" style="width: 10%;"></li>
  704. <li class="top4" style="width: 13%;"></li>
  705. <li class="top5" style="width: 10%;"></li>
  706. <li class="top6" style="width: 5%;"></li>
  707. <li class="top7" style="width: 13%;"></li>
  708. <li class="top8" style="width: 10%;"></li>
  709. <li class="top9" style="width: 11.2%;"></li>
  710. <li class="top10" style="width: 6%;"></li>
  711. <li class="top11" style="width: 3%;"></li>
  712. <li class="top12" style="width: 5%;"></li>
  713. </ul>
  714. </div>
  715. <div class="row J_mainContent" id="content-main">
  716. <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="widgets.html" frameborder="0" data-id="index_v1.html" seamless></iframe>
  717. </div>
  718. <div class="row content-tabs1 LH">
  719. <ul>
  720. <li class="top13" style="width: 100%;"></li>
  721. </ul>
  722. <span class="fr">Copyright © 华谊科技 All Rights Reserved</span>
  723. <ul class="zts" style="display:none;">
  724. <li>话机状态: </li>
  725. <li class="quan fwzt lx br"> </li>
  726. <li>坐席状态: </li>
  727. <li class="quan zxzt lx br"></li>
  728. <li><span class="hwzt" style="color:red;"></span></li>
  729. </ul>
  730. </div>
  731. </div>
  732. </div>
  733. <!--==========================================================================================-->
  734. <!--来电弹屏开始-->
  735. <div class="ldtp-con clearfix animated fadeInDown ">
  736. <div class="minBacha clearfix">
  737. <div class="minClosed">
  738. <a href="javaScript:;" title="最小化"></a>
  739. </div>
  740. <div class="Bacha">
  741. <a href="javaScript:;" title="关闭"></a>
  742. </div>
  743. </div>
  744. <!--左侧内容-->
  745. <!--黑名单弹出内容-->
  746. <!--<div class="hei-list ">
  747. <i class="bacha">X</i>
  748. <form class="form-inline">
  749. <label class="radio-inline">
  750. <input type="radio" name="time" value="1" checked="checked"> 天
  751. </label>
  752. <label class="radio-inline">
  753. <input type="radio" name="time" value="2"> 时
  754. </label>
  755. <label class="radio-inline">
  756. <input type="radio" name="time" value="3">分
  757. </label>
  758. <label class="radio-inline">
  759. <input type="radio" name="time" value="4">永久
  760. </label>
  761. <label class="radio-inline">
  762. <input type="button" id="bc" value="保存">
  763. </label>
  764. </form>
  765. </div>-->
  766. <div class="hei-list">
  767. <div class="heiTop clearFix">
  768. <p class="htl">黑名单</p>
  769. <p class="bacha" title="关闭">x</p>
  770. </div>
  771. <div class="heiCon">
  772. <div class="heit">
  773. <span style="font-size: 14px;">输入拉黑时长:</span>
  774. <input type="text" id="time-word" />
  775. </div>
  776. <div class="chooses">
  777. <label class="radio-inline">
  778. <input type="radio" name="time" value="1" checked="checked" style="margin-top: 3px;"> 天
  779. </label>
  780. <label class="radio-inline">
  781. <input type="radio" name="time" value="2" style="margin-top: 3px;" />时
  782. </label>
  783. <label class="radio-inline">
  784. <input type="radio" name="time" value="3" style="margin-top: 3px;" />分
  785. </label>
  786. <label class="radio-inline">
  787. <input type="radio" name="time" value="4" style="margin-top: 3px;" />永久
  788. </label>
  789. </div>
  790. <p style="margin-top: 15px;"><button id="bc" class="btns">保存</button></p>
  791. </div>
  792. </div>
  793. <!--最小化按钮-->
  794. <!--<div class="minClosed">
  795. <a href="javaScript:;" title="最小化"></a>
  796. </div>-->
  797. <!--左侧内容-->
  798. <div class="ldtp-cl col-sm-3">
  799. <div class="head-pic">
  800. <div class="hp-box">
  801. <img src="./img/txpic.png" alt="头像好像去了外星球!" style="width: 100%;height: 100%;" />
  802. <input type="hidden" class="hidTel" value="" />
  803. <input type="hidden" class="hidCallID" />
  804. </div>
  805. <ul>
  806. <li><span style="font-size: 25px;" class="tel"></span></li>
  807. <li><span style="font-size: 15px;" class="khgsd"></span></li>
  808. <!--<li class="nikeName"><i></i><span class="ldname">未知</span><i></i></li>-->
  809. <li style="color: #4cd964;">当前通话时长:<span class="thsc">00:00</span></li>
  810. <li class="lahei">
  811. <div class="la-before"><i class="push"></i> 移至黑名单</div>
  812. <div class="la-after" style="display: none;">
  813. <p class="la-time">拉黑时间:<span>2017/05/13</span></p>
  814. <p class="la-shichang">拉黑截止时间:<span class="blackTime"></span></p>
  815. </div>
  816. <div class="retur" style="display: none;"><i class="qxlh"></i> 取消黑名单</div>
  817. </li>
  818. <li class="td-call clearfix" style="display:none;">
  819. <a class="take" style="float:none;" href="javascript:;"><i></i></a>
  820. <!--<a class="drop" href="javascript:;"><i></i></a>-->
  821. </li>
  822. </ul>
  823. </div>
  824. <!--<ul class="come-detail">
  825. <li>姓名:<span class="ldname">未知</span></li>
  826. <li>归属地:<span class="ldlocation">未知</span></li>
  827. <li>联系电话1:<span class="ldtel1"></span></li>
  828. <li>联系电话2:<span class="ldtel2"></span></li>
  829. <li>联系电话3:<span class="ldtel3"></span></li>
  830. <li>售后负责人:<span>孙嘉一</span></li>
  831. <li>来电时间:<span class="ldtime"></span></li>
  832. </ul>-->
  833. <table class="table khzl">
  834. <tr>
  835. <th>姓名:</th>
  836. <td><input type="text" value="未知" class="ldname khmc" /><input type="hidden" value="" id="khid" /></td>
  837. </tr>
  838. <tr>
  839. <th>客户编号:</th>
  840. <td><input type="text" value="" class="khbh" /></td>
  841. </tr>
  842. <tr>
  843. <th>归属地:</th>
  844. <td><span class="ldlocation" style="padding-left: 5px;">未知</span></td>
  845. </tr>
  846. <tr>
  847. <th>联系电话1:</th>
  848. <td><input type="text" value="" class="ldtel1" /></td>
  849. </tr>
  850. <tr>
  851. <th>联系电话2:</th>
  852. <td><input type="text" value="" class="ldtel2" /></td>
  853. </tr>
  854. <tr>
  855. <th>联系电话2:</th>
  856. <td><input type="text" value="" class="ldtel3" /></td>
  857. </tr>
  858. <tr>
  859. <th>来电时间:</th>
  860. <td><span class="ldtime" style="padding-left: 5px;"></span></td>
  861. </tr>
  862. <tr>
  863. <td></td>
  864. <td><span class="edit"><i class="bianji edi"></i><a class="khbtn">编辑</a></span><span class="save"> <i class="bianji sav"></i><a class="khbtn">保存</a></span><span class="cancel"><i class="bianji canc"></i><a class="khbtn">取消</a></span></td>
  865. </tr>
  866. </table>
  867. </div>
  868. <!--右侧内容-->
  869. <div class="ldtp-cr col-sm-9">
  870. <ul class="ld-service clearfix">
  871. <li style="border-bottom:1px solid #243747;" itemtype="0" class="cr-click">历史记录</li>
  872. <li style="border-bottom:1px solid #69cbd0;" itemtype="1" >咨询</li>
  873. <!--<--<li style="border-bottom:1px solid #f95a83;" itemtype="2">保修服务</li>-->
  874. <li style="border-bottom:1px solid #243747;" itemtype="3">投诉建议</li>
  875. </ul>
  876. <div class="ld-sercon">
  877. <div class="complain" style="display:block;">
  878. <div class="ld-sercon-con clearfix">
  879. <div class="Ps-chaxun">
  880. <span>查询: <input type="text" id="old_startTime" class="laydate-icon" />&nbsp;——&nbsp;<input type="text" id="old_endTime" class="laydate-icon" /></span>
  881. <span class="searchbtn"></span>
  882. </div>
  883. <div class="table-responsive col-sm-12 tbold" style="padding-left: 0;">
  884. <table id="oldlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  885. <thead>
  886. <tr>
  887. <th data-field="CallNumber">电话号码</th>
  888. <th data-field="CallState" data-formatter="GetCallState">呼叫状态</th>
  889. <!--<th data-field="IsDeal" data-formatter="GetDealState">是否处理</th>-->
  890. <th data-field="UserCode">坐席工号</th>
  891. <th data-field="UserName">坐席姓名</th>
  892. <th data-field="BeginTime">开始时间</th>
  893. <th data-field="TalkStartTime">通话开始时间</th>
  894. <th data-field="TalkEndTime">通话结束时间</th>
  895. <th data-field="TalkLongTime">通话时长(s)</th>
  896. <th data-field="FilePath" data-formatter="setCode">录音</th>
  897. </tr>
  898. </thead>
  899. <tbody class="list"></tbody>
  900. </table>
  901. </div>
  902. </div>
  903. </div>
  904. <div class="complain" style="display:none;">
  905. <div class="ld-sercon-con clearfix">
  906. <div class="Ps-chaxun">
  907. <span>查询: <input type="text" id="con_startTime" class="laydate-icon" />&nbsp;——&nbsp;<input type="text" id="con_endTime" class="laydate-icon" /></span>
  908. <span class="searchbtn"></span>
  909. <span class="addjl g" style="margin-left:5em;">新增工单</span>
  910. </div>
  911. <div id="zxlbs" class="table-responsive col-sm-12 tbold" style="padding-left: 0;">
  912. <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  913. <thead>
  914. <tr>
  915. <th data-field="WorkOrderID">工单编号</th>
  916. <th data-field="State" data-formatter="GetStateName">工单状态</th>
  917. <th data-field="Customer">客户姓名</th>
  918. <th data-field="CustomerTel">客户电话</th>
  919. <th data-field="Detail" data-formatter="GetCont">工单内容</th>
  920. <th data-field="CreateUser">坐席工号</th>
  921. <th data-field="CreateTime">创建时间</th>
  922. </tr>
  923. </thead>
  924. <tbody class="list"></tbody>
  925. </table>
  926. </div>
  927. </div>
  928. <div class="Pre-second second-con addgd" style="display:none;">
  929. <form>
  930. <div class="form-group clearfix">
  931. <span class="col-sm-1">
  932. 投诉类型:
  933. </span>
  934. <span class="col-sm-3">
  935. <select id="tslx">
  936. <option selected="selected" value=""></option>
  937. </select>
  938. </span>
  939. <span class="col-sm-1">
  940. 投诉客户:
  941. </span>
  942. <span class="col-sm-3">
  943. <input type="text" id="tskh" />
  944. </span>
  945. <span class="col-sm-1">
  946. 联系电话:
  947. </span>
  948. <span class="col-sm-3">
  949. <input type="text" id="tsdh" />
  950. </span>
  951. </div>
  952. <div class="form-group clearfix">
  953. <span class="col-sm-1">
  954. 投诉部门:
  955. </span>
  956. <span class="col-sm-3">
  957. <!--<select name="" id="zrbm"></select>-->
  958. <input type="text" id="zrbmname" readonly="readonly" />
  959. <input type="hidden" id="zrbm" />
  960. <div class="zrbmmenu" style="display: none; position: absolute; z-index: 100;">
  961. <ul id="zrbmtree" class="ztree"></ul>
  962. </div>
  963. </span>
  964. <span class="col-sm-1">
  965. 被投诉人:
  966. </span>
  967. <span class="col-sm-3">
  968. <select name="" id="zrid">
  969. <option selected="selected" value=""></option>
  970. </select>
  971. </span>
  972. </div>
  973. <div class="form-group clearfix">
  974. <span class="col-sm-1">
  975. 接收部门:
  976. </span>
  977. <span class="col-sm-3">
  978. <!--<select name="" id="clbm"></select>-->
  979. <input type="text" id="clbmname" readonly="readonly" />
  980. <input type="hidden" id="clbm" />
  981. <div class="clbmmenu" style="display: none; position: absolute; z-index: 100;">
  982. <ul id="clbmtree" class="ztree"></ul>
  983. </div>
  984. </span>
  985. <span class="col-sm-1">
  986. 接收人:
  987. </span>
  988. <span class="col-sm-3">
  989. <select name="" id="clid">
  990. <option selected="selected" value=""></option>
  991. </select>
  992. </span>
  993. </div>
  994. <div class="form-group clearfix">
  995. <span class="col-sm-1">咨询内容:</span>
  996. <span class="col-sm-11">
  997. <textarea rows="5" id="cont"></textarea>
  998. </span>
  999. </div>
  1000. <!--<div class="form-group" style="padding-left: 15px;">
  1001. <span>解答内容:</span>
  1002. <textarea rows="5"></textarea>
  1003. </div>-->
  1004. <div class="bton addts">创建</div>
  1005. </form>
  1006. </div>
  1007. <div class="Pre-second second-con zxbg " style="display: none;">
  1008. <form>
  1009. <div class="form-group clearfix">
  1010. <span class="col-sm-1">
  1011. 咨询人:
  1012. </span>
  1013. <span class="col-sm-3">
  1014. <input type="text" id="zxr_" />
  1015. </span>
  1016. <span class="col-sm-1">
  1017. 咨询电话:
  1018. </span>
  1019. <span class="col-sm-3">
  1020. <input type="text" id="zxdh_"/>
  1021. </span>
  1022. </div>
  1023. <div class="form-group clearfix">
  1024. <span class="col-sm-1">咨询内容:</span>
  1025. <span class="col-sm-11">
  1026. <textarea rows="5" id="zxnr_" style="resize: none;"></textarea>
  1027. </span>
  1028. </div>
  1029. <div class="form-group clearfix">
  1030. <span class="col-sm-1">处理内容:</span>
  1031. <span class="col-sm-11">
  1032. <textarea rows="5" style="resize: none;" id="clnr_"></textarea>
  1033. </span>
  1034. </div>
  1035. <div class="bton add_">创建</div>
  1036. </form>
  1037. </div>
  1038. </div>
  1039. </div>
  1040. <!--右侧下方内容区-->
  1041. <div class="ldcr-bottom" style="margin-top:10px;">
  1042. <div class="ldcrb-top clearfix">
  1043. <ul class="clearfix">
  1044. <li style="border-bottom:1px solid #69cbd0; background: #000;color: #fff;">知识库</li>
  1045. <!--<li style="border-bottom:1px solid #f95a83;border-top:1px solid #000;border-right:1px solid #000;">更多内容</li>-->
  1046. </ul>
  1047. <div class="ld-search">
  1048. <div class="sear-inp">
  1049. <input type="text" class="search" placeholder="搜索问题、内容或者标题" />
  1050. </div>
  1051. <div class="searIcon">
  1052. </div>
  1053. </div>
  1054. </div>
  1055. <div class="detail-con">
  1056. <ul></ul>
  1057. </div>
  1058. </div>
  1059. </div>
  1060. </div>
  1061. <!--来电弹屏结束-->
  1062. <!--外呼键盘-->
  1063. <div class="WH animated fadeInDown hidens ">
  1064. <!--top-->
  1065. <div class="clearflow Color">
  1066. <div class="WH-top">
  1067. <span>外呼信息</span>
  1068. <span class="closes"><a>X</a></span>
  1069. </div>
  1070. <div class="Cotent_box clearflow">
  1071. <!--左边键盘-->
  1072. <div class="KeyWord col-sm-4">
  1073. <div class="WH_input clearflow">
  1074. <div class="clearflow WH_Itop">
  1075. <input id="Result" type="text" class="fl" value="" maxlength="18" autofocus="autofocus" />
  1076. <input id="hidwhtype" type="hidden" value="" />
  1077. <i class="img fl hidens"></i>
  1078. </div>
  1079. </div>
  1080. <div class="Num_box clearflow">
  1081. <ul class="Num_ul clearflow">
  1082. <li>
  1083. <div>
  1084. <a>1</a>
  1085. </div>
  1086. </li>
  1087. <li>
  1088. <div>
  1089. <a>2</a>
  1090. </div>
  1091. </li>
  1092. <li>
  1093. <div>
  1094. <a>3</a>
  1095. </div>
  1096. </li>
  1097. <li>
  1098. <div>
  1099. <a>4</a>
  1100. </div>
  1101. </li>
  1102. <li>
  1103. <div>
  1104. <a>5</a>
  1105. </div>
  1106. </li>
  1107. <li>
  1108. <div>
  1109. <a>6</a>
  1110. </div>
  1111. </li>
  1112. <li>
  1113. <div>
  1114. <a>7</a>
  1115. </div>
  1116. </li>
  1117. <li>
  1118. <div>
  1119. <a>8</a>
  1120. </div>
  1121. </li>
  1122. <li>
  1123. <div>
  1124. <a>9</a>
  1125. </div>
  1126. </li>
  1127. <li>
  1128. <div>
  1129. <a>*</a>
  1130. </div>
  1131. </li>
  1132. <li>
  1133. <div>
  1134. <a>0</a>
  1135. </div>
  1136. </li>
  1137. <li>
  1138. <div>
  1139. <a>#</a>
  1140. </div>
  1141. </li>
  1142. <li class="Last_phone">
  1143. <div>
  1144. <a class="CallOut"></a>
  1145. </div>
  1146. </li>
  1147. </ul>
  1148. </div>
  1149. </div>
  1150. <!--右边图表-->
  1151. <div class="col-sm-8 Rbg">
  1152. <div class="bg bg_cotent">
  1153. <ul class="bg_title clearflow">
  1154. <li class="lactive" itemid="0">最近电话</li>
  1155. <li itemid="1">公司电话</li>
  1156. <li itemid="2">客户电话</li>
  1157. </ul>
  1158. <div class="bg_box phonediv">
  1159. <div class="cx">
  1160. <span class="blanks">
  1161. 电话号码:
  1162. <input type="text" id="lastphone" />
  1163. </span>
  1164. <span class="ty">搜索</span>
  1165. <!--<span class="ty">重置</span>-->
  1166. </div>
  1167. <div class="phone_bg" style="width: 100%;padding: 10px;">
  1168. <!--<table class="table table-bordered text-center">
  1169. <thead>
  1170. <tr>
  1171. <td class="tbth">电话号码</td>
  1172. <td class="tbth">呼叫状态</td>
  1173. <td class="tbth">是否处理</td>
  1174. <td class="tbth">坐席工号</td>
  1175. <td class="tbth">坐席姓名</td>
  1176. <td class="tbth">通话开始时间</td>
  1177. <td class="tbth">通话结束时间</td>
  1178. <td class="tbth">通话时长(s)</td>
  1179. <td class="tbth">录音</td>
  1180. </tr>
  1181. </thead>
  1182. <tbody class="phonelist"></tbody>
  1183. </table>-->
  1184. <table class="phonelist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  1185. <thead>
  1186. <tr>
  1187. <th data-field="CallNumber" data-formatter="view">电话号码</th>
  1188. <th data-field="CallState" data-formatter="GetCallState">呼叫状态</th>
  1189. <!--<th data-field="IsDeal" data-formatter="GetDealState">是否处理</th>-->
  1190. <th data-field="UserCode">坐席工号</th>
  1191. <th data-field="UserName">坐席姓名</th>
  1192. <th data-field="BeginTime">开始时间</th>
  1193. <th data-field="TalkStartTime">通话开始时间</th>
  1194. <th data-field="TalkEndTime">通话结束时间</th>
  1195. <th data-field="TalkLongTime">通话时长(s)</th>
  1196. <!--<th data-field="FilePath">录音</th>-->
  1197. </tr>
  1198. </thead>
  1199. </table>
  1200. </div>
  1201. </div>
  1202. <div class="bg_box phonediv " style="display:none;">
  1203. <div class="cx">
  1204. <span class="blanks">
  1205. 电话号码:
  1206. <input type="text" id="gsphone" />
  1207. </span>
  1208. <span class="blanks">
  1209. 名称:
  1210. <input type="text" id="gsname" />
  1211. </span>
  1212. <span class="ty">搜索</span>
  1213. <!--<span class="ty">重置</span>-->
  1214. </div>
  1215. <div class="phone_bg" style="width: 100%;padding: 10px;">
  1216. <!--<table class="table table-bordered text-center">
  1217. <thead>
  1218. <tr>
  1219. <td class="tbth">坐席工号</td>
  1220. <td class="tbth">坐席姓名</td>
  1221. <td class="tbth">分机号</td>
  1222. <td class="tbth">电话号码1</td>
  1223. <td class="tbth">电话号码2</td>
  1224. <td class="tbth">电话号码3</td>
  1225. </tr>
  1226. </thead>
  1227. <tbody class="phonelist"></tbody>
  1228. </table>-->
  1229. <table class="phonelist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  1230. <thead>
  1231. <tr>
  1232. <th data-field="F_UserCode">坐席工号</th>
  1233. <th data-field="F_UserName">坐席姓名</th>
  1234. <th data-field="F_WorkNumber" data-formatter="view">分机号</th>
  1235. <th data-field="F_Telephone" data-formatter="view">电话号码1</th>
  1236. <th data-field="F_Mobile" data-formatter="view">电话号码2</th>
  1237. <th data-field="F_HomePhone" data-formatter="view">电话号码3</th>
  1238. </tr>
  1239. </thead>
  1240. </table>
  1241. </div>
  1242. </div>
  1243. <div class="bg_box phonediv" style="display:none;">
  1244. <div class="cx">
  1245. <span class="blanks">
  1246. 电话号码:
  1247. <input type="text" id="khphone" />
  1248. </span>
  1249. <span class="blanks">
  1250. 名称:
  1251. <input type="text" id="khname" />
  1252. </span>
  1253. <span class="ty">搜索</span>
  1254. <!--<span class="ty">重置</span>-->
  1255. </div>
  1256. <div class="phone_bg" style="width: 100%;padding: 10px;">
  1257. <!--<table class="table table-bordered text-center">
  1258. <thead>
  1259. <tr>
  1260. <td class="tbth">名称</td>
  1261. <td class="tbth">电话号码1</td>
  1262. <td class="tbth">电话号码2</td>
  1263. <td class="tbth">电话号码3</td>
  1264. </tr>
  1265. </thead>
  1266. <tbody class="phonelist"></tbody>
  1267. </table>-->
  1268. <table class="phonelist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  1269. <thead>
  1270. <tr>
  1271. <th data-field="F_CustomerName">名称</th>
  1272. <th data-field="F_Telephone" data-formatter="view">电话号码1</th>
  1273. <th data-field="F_Mobile" data-formatter="view">电话号码2</th>
  1274. <th data-field="F_ChargeTelephone" data-formatter="view">电话号码3</th>
  1275. </tr>
  1276. </thead>
  1277. </table>
  1278. </div>
  1279. </div>
  1280. </div>
  1281. </div>
  1282. </div>
  1283. </div>
  1284. </div>
  1285. <!--下载框-->
  1286. <div class="t-shade">
  1287. <div class="shade_k">
  1288. <div class="shade_title">
  1289. <span>录音播放与下载<srong class="cknum"></srong></span>
  1290. <span class="setwin"><a>x</a></span>
  1291. </div>
  1292. <div class="shade_content">
  1293. <div class="Ly_box audiojs">
  1294. </div>
  1295. </div>
  1296. </div>
  1297. </div>
  1298. <!--修改密码开始-->
  1299. <div class="personal" id="box">
  1300. <div class="ptop clearFix">
  1301. <p class="ptl">个人中心</p>
  1302. <p class="ptr" title="关闭">x</p>
  1303. </div>
  1304. <div class="perBox " style="height:500px;">
  1305. <ul class="perTab clearFix">
  1306. <li class="sel">个人资料</li>
  1307. <li>修改头像</li>
  1308. </ul>
  1309. <div class="perTab_con">
  1310. <div class="geRen" style="display: block;">
  1311. <div class="grt clearFix">
  1312. <p class="grtl">基本资料</p>
  1313. <p class="grtr">
  1314. <i class="grqx" title="取消编辑"></i>
  1315. <i class="grbj" title="编辑资料"></i>
  1316. </p>
  1317. </div>
  1318. <table class="table grzl">
  1319. <tr>
  1320. <th>我的工号:</th>
  1321. <td><input type="text" class="mgh" readonly="readonly" /></td>
  1322. </tr>
  1323. <tr>
  1324. <th>我的姓名:</th>
  1325. <td><input type="text" class="mn" readonly="readonly" /></td>
  1326. </tr>
  1327. <tr>
  1328. <th>分机号:</th>
  1329. <td><input type="text" class="fenji" readonly="readonly" /></td>
  1330. </tr>
  1331. <!--<tr>
  1332. <th>外线号码:</th>
  1333. <td><input type="text" class="wxno" readonly="readonly" /></td>
  1334. </tr>-->
  1335. <tr>
  1336. <th>原密码:</th>
  1337. <td><input type="password" class="spwd zhidu" /></td>
  1338. </tr>
  1339. <tr>
  1340. <th>新密码:</th>
  1341. <td><input type="password" class="npwd zhidu" /></td>
  1342. </tr>
  1343. <tr>
  1344. <th>确认密码:</th>
  1345. <td><input type="password" class="epwd zhidu" /><span class="wrong">*密码不一致</span></td>
  1346. </tr>
  1347. <tr>
  1348. <th>手机号:</th>
  1349. <td><input type="text" class="mobile zhidu" /></td>
  1350. </tr>
  1351. <tr>
  1352. <th></th>
  1353. <td><button class="btnn grbtn">保存修改</button></td>
  1354. </tr>
  1355. </table>
  1356. </div>
  1357. <div class="crop ">
  1358. <div class="clearFix" style="margin-top: 45px;">
  1359. <div class="crop_left">
  1360. <div class="image-crop">
  1361. <img src="./img/gaga.jpg">
  1362. </div>
  1363. </div>
  1364. <div class="crop_right">
  1365. <h4>图片预览:</h4>
  1366. <div class="img-preview img-preview-sm"></div>
  1367. </div>
  1368. </div>
  1369. <!--<div class="btn-group">
  1370. <label title="上传图片" for="inputImage" class="btn btn-primary">
  1371. <input type="file" accept="image/*" name="file" id="inputImage" class="hide"> 本地上传
  1372. </label>-->
  1373. <!--<label title="下载图片" id="download" class="btn btn-primary">下载</label>-->
  1374. <!--</div>
  1375. <div class="btn-group">-->
  1376. <!--<button class="btn btn-white" id="zoomIn" type="button">放大</button>-->
  1377. <!--<button class="btn btn-white" id="zoomOut" type="button">缩小</button>-->
  1378. <!--<button class="btn btn-white" id="rotateLeft" type="button">左旋转</button>-->
  1379. <!--<button class="btn btn-white" id="rotateRight" type="button">右旋转</button>-->
  1380. <!--<button class="btn btn-warning " id="setDrag" type="button">裁剪</button>
  1381. </div>-->
  1382. <div class="anniu" style="margin-top: 75px;text-align: center;">
  1383. <label title="上传图片" for="inputImage" class="btnn" style="margin-right: 100px;">
  1384. <input type="file" accept="image/jpeg,image/jpg,image/png" name="file" id="inputImage" class="hide"> 本地上传
  1385. </label>
  1386. <!--<button class="btn btn-warning " id="setDrag" type="button">裁剪</button>-->
  1387. <button class="btnn" id="zoomIn" type="button">放大</button>
  1388. <button class="btnn" id="zoomOut" type="button">缩小</button>
  1389. <button class="btnn" id="rotateLeft" type="button">左旋转</button>
  1390. <button class="btnn" id="rotateRight" type="button">右旋转</button>
  1391. <button class="btnn" id="setDrag" type="button">确定保存</button>
  1392. </div>
  1393. </div>
  1394. </div>
  1395. </div>
  1396. </div>
  1397. <!--修改密码结束-->
  1398. <script src="./js/plugins/pace/pace.min.js"></script>
  1399. <script src="./js/plugins/iCheck/icheck.min.js"></script>
  1400. <script src="./css/laydate/laydate.js"></script>
  1401. <script src="./js/main.js?v=1.5"></script>
  1402. <script src="./js/zTree/jquery.ztree.core.js"></script>
  1403. <script src="./js/plugins/datapicker/bootstrap-datepicker.js"></script>
  1404. <script src="./js/plugins/cropper/cropper.min.js"></script>
  1405. <script src="./js/guid.js"></script>
  1406. <script>
  1407. $(document).ready(function() {
  1408. if(/mobile/i.test(navigator.userAgent) || /android/i.test(navigator.userAgent)) {
  1409. $(".title-box").hide();
  1410. }
  1411. if($.cookie("token") == null) {
  1412. window.location.href = "login.html";
  1413. }
  1414. obj.AgentExten = $.cookie("extno");
  1415. $(".Gnum").text('(' + obj.AgentExten + ')');
  1416. $.getJSON(huayi.config.callcenter_url + 'UserAccount/GetNowUser', {
  1417. "token": $.cookie("token")
  1418. }, function(result) {
  1419. if(result.state.toLowerCase() == "success") {
  1420. console.log(result);
  1421. $(".username").text(result.data.user.F_UserName);
  1422. if(result.data.role) {
  1423. console.log(result.data);
  1424. $(".rolename").text(result.data.role.F_RoleName);
  1425. }
  1426. $(".yhtx").attr("src", huayi.config.callcenter_url.substr(0, huayi.config.callcenter_url.length - 1) + result.data.user.F_See);
  1427. obj.AgentGroup = result.data.user.F_SeartGroupID;
  1428. obj.AgentID = result.data.user.F_UserCode;
  1429. //obj.AgentExten = result.data.user.F_WorkNumber;
  1430. if(result.data.user.F_SeatFlag) {
  1431. Connect();
  1432. $("#top-search").show();
  1433. $(".zts").show();
  1434. }
  1435. }
  1436. })
  1437. //分机号
  1438. //话务相关
  1439. $("#top-search li").click(function() {
  1440. if($(this).find("i").hasClass("active")) {
  1441. if(obj.AgentID) {
  1442. var fun = $(this).attr("datafun");
  1443. obj.Type = fun;
  1444. switch(fun) {
  1445. case "Login":
  1446. // obj.AgentGroup = "364";
  1447. obj.AgentType = "0";
  1448. Send();
  1449. break; //签入
  1450. case "MakeCall":
  1451. obj.Type = "SayFree";
  1452. Send(); //备注:用户要求外呼立刻置闲
  1453. $(".hidCallID").val("");
  1454. $("#hidwhtype").val(fun);
  1455. whtp();
  1456. //obj.DestinationNumber = "1012";
  1457. break; //外呼
  1458. case "Meeting":
  1459. $("#hidwhtype").val(fun);
  1460. whtp();
  1461. //obj.DestinationNumber = "1012";
  1462. break; //多方通话
  1463. case "Transfer":
  1464. $("#hidwhtype").val(fun);
  1465. whtp();
  1466. //obj.DestinationNumber = "1012";
  1467. break; //转移
  1468. default:
  1469. Send();
  1470. break;
  1471. }
  1472. }
  1473. }
  1474. });
  1475. //知识库查询
  1476. $(".searIcon").click(function() {
  1477. loadZSK();
  1478. })
  1479. //历史记录查询
  1480. $(".searchbtn").click(function() {
  1481. loadOld();
  1482. })
  1483. //新增记录
  1484. $(".addjl").click(function() {
  1485. var type = $(".ldtp-cr ul.ld-service .cr-click").attr("itemtype");
  1486. if(type == '3') {
  1487. $(".addgd").show();
  1488. $(".tbold").hide();
  1489. } else if(type == '1') {
  1490. $(".zxbg").show();
  1491. $(".tbold").hide();
  1492. }
  1493. })
  1494. //关闭外呼弹屏
  1495. $(".closes").click(function() {
  1496. $(".WH").removeClass("fadeInDown").addClass("fadeOutUp");
  1497. $(".WH").addClass("hidens");
  1498. })
  1499. //键盘事件外呼
  1500. document.onkeydown = function(e) {
  1501. var theEvent = window.event || e;
  1502. var code = theEvent.keyCode || theEvent.which;
  1503. if(code == 13) {
  1504. $(".CallOut").click();
  1505. }
  1506. }
  1507. //外呼呼出
  1508. $(".CallOut").click(function(event) {
  1509. event.stopPropagation();
  1510. if($("#Result").val()) {
  1511. $.ajax({
  1512. type: "get",
  1513. url: huayi.config.callcenter_url + "CallOutOpt/GetCallOutprefix",
  1514. async: true,
  1515. dataType: 'json',
  1516. data: {
  1517. token: $.cookie("token"),
  1518. phone: $("#Result").val()
  1519. },
  1520. success: function(result) {
  1521. // result = $.parseJSON(result);
  1522. if(result.state.toLowerCase() == "success") {
  1523. var guid = uuid();
  1524. obj.Type = $("#hidwhtype").val();
  1525. obj.DestinationNumber = result.data.phone;
  1526. obj.Header = result.data.fix;
  1527. obj.TaskType = "0"; //0:拨号外呼;1:点击外呼;
  1528. obj.TaskPhoneID = ""; //回访的电话ID
  1529. obj.TaskID = guid; //回访记录编号
  1530. Send();
  1531. $('#Result').val('');
  1532. $(".WH").addClass("hidens");
  1533. }
  1534. }
  1535. });
  1536. // obj.Type = $("#hidwhtype").val();
  1537. // obj.DestinationNumber = $("#Result").val();
  1538. // Send();
  1539. }
  1540. })
  1541. //外呼弹屏数字键盘样式
  1542. $(".Num_ul div").mousedown(function() {
  1543. $(this).addClass("actives");
  1544. $(".img").removeClass("hidens");
  1545. }).mouseup(function() {
  1546. $(this).removeClass("actives");
  1547. })
  1548. //外呼弹屏数字键盘号码输入
  1549. $(".Num_ul li div").click(function() {
  1550. var rt = $("#Result").val() + "";
  1551. if(rt.length < 18) {
  1552. rt = rt + $(this).find("a").text();
  1553. $("#Result").val(rt);
  1554. }
  1555. });
  1556. //外呼弹屏数字键盘号码截取
  1557. $(".img").click(function() {
  1558. var Result = $("#Result").val() + "";
  1559. Result = Result.substr(0, Result.length - 1);
  1560. $("#Result").val(Result);
  1561. if(Result.length == 0) {
  1562. $(".img").addClass("hidens");
  1563. }
  1564. })
  1565. ////上传头像
  1566. //$(".yhtx").click(function () {
  1567. // $("#upFile").trigger("click");
  1568. //})
  1569. //$("#upFile").change(function () {
  1570. // uploadtx();
  1571. //})
  1572. //外呼电话列表
  1573. $(".bg_title li").click(function() {
  1574. $(this).addClass("lactive").siblings().removeClass("lactive");
  1575. loadWH();
  1576. })
  1577. $(".ty").click(function() {
  1578. loadWH();
  1579. })
  1580. //加载部门人员
  1581. $("#zrbmname").click(function() {
  1582. if($(".zrbmmenu").is(":hidden")) {
  1583. $(".zrbmmenu").show();
  1584. } else {
  1585. $(".zrbmmenu").hide();
  1586. }
  1587. })
  1588. $("#clbmname").click(function() {
  1589. if($(".clbmmenu").is(":hidden")) {
  1590. $(".clbmmenu").show();
  1591. } else {
  1592. $(".clbmmenu").hide();
  1593. }
  1594. })
  1595. $(".col-sm-3").mouseleave(function() {
  1596. $(".ztree").parent().hide();
  1597. })
  1598. //$("#zrbm").change(function () {
  1599. // getRY($("#zrid"), $("#zrbm").val());
  1600. //})
  1601. //$("#clbm").change(function () {
  1602. // getRY($("#clid"), $("#clbm").val());
  1603. //})
  1604. //创建投诉工单
  1605. $(".addts").click(function() {
  1606. var tslx = $("#tslx").val();
  1607. var tskh = $("#tskh").val();
  1608. var tsdh = $("#tsdh").val();
  1609. var zrbm = $("#zrbm").val();
  1610. var zrid = $("#zrid").val();
  1611. var clbm = $("#clbm").val();
  1612. var clid = $("#clid").val();
  1613. var khid = $("#khid").val();
  1614. var type = "3";
  1615. var cont = $("#cont").val();
  1616. var callid = $(".hidCallID").val();
  1617. if(!tslx) {
  1618. layer.confirm('请选择投诉类型!', {
  1619. btn: ['确定']
  1620. });
  1621. return;
  1622. }
  1623. if(!tskh) {
  1624. layer.confirm('请输入客户名称!', {
  1625. btn: ['确定']
  1626. });
  1627. return;
  1628. }
  1629. if(!tsdh) {
  1630. layer.confirm('请输入客户电话!', {
  1631. btn: ['确定']
  1632. });
  1633. return;
  1634. }
  1635. if(!cont) {
  1636. layer.confirm('请输入工单内容!', {
  1637. btn: ['确定']
  1638. });
  1639. return;
  1640. }
  1641. $.post(huayi.config.callcenter_url + 'CallInScreen/AddWorkOrder', {
  1642. tslx: tslx,
  1643. tskh: tskh,
  1644. tsdh: tsdh,
  1645. zrbm: zrbm,
  1646. zrid: zrid,
  1647. khid: khid,
  1648. clbm: clbm,
  1649. clid: clid,
  1650. type: type,
  1651. cont: cont,
  1652. callid: callid,
  1653. "token": $.cookie("token")
  1654. }, function(result) {
  1655. result = $.parseJSON(result);
  1656. if(result.state.toLowerCase() == "success") {
  1657. loadOld();
  1658. $("#zrbmname").val("");
  1659. $("#zrbm").val("");
  1660. $("#zrid").empty()
  1661. $("#clbmname").val("");
  1662. $("#clbm").val("");
  1663. $("#clid").empty()
  1664. $("#cont").val("");
  1665. layer.msg("创建工单成功");
  1666. }
  1667. })
  1668. })
  1669. //加载知识库
  1670. loadZSK();
  1671. //加载左侧导航菜单
  1672. loadMenu();
  1673. //l来电弹屏
  1674. $(".J_menuItem").click(function() {
  1675. if($(this).text() == "来电弹屏") {
  1676. $('.maxOpen').trigger("click");
  1677. $('.head-pic .lahei .la-before').show();
  1678. $('.head-pic .lahei .la-after').hide();
  1679. }
  1680. })
  1681. // workcount();
  1682. setInterval(function() {
  1683. workcount();
  1684. }, huayi.config.menuworktime);
  1685. //客户资料
  1686. $('.khzl tbody>tr>td input').attr('readonly', true);
  1687. $('.save').hide();
  1688. $('.cancel').hide();
  1689. $('.edit').click(function() {
  1690. $('.save').show();
  1691. $('.cancel').show();
  1692. $('.edit').hide();
  1693. $('.khzl tbody>tr>td input').attr('readonly', false);
  1694. $('.khzl tbody>tr>td input').css('border-bottom', "1px solid #b3b3b3");
  1695. })
  1696. $('.cancel').click(function() {
  1697. $('.khzl tbody>tr>td input').attr('readonly', true);
  1698. $('.khzl tbody>tr>td input').css('border', "0");
  1699. $('.save').hide();
  1700. $('.cancel').hide();
  1701. $('.edit').show();
  1702. })
  1703. //保存客户
  1704. $(".save").click(function() {
  1705. var khid = $("#khid").val();
  1706. var khmc = $(".khmc").val();
  1707. var khbh = $(".khbh").val();
  1708. var tel1 = $(".ldtel1").val();
  1709. var tel2 = $(".ldtel2").val();
  1710. var tel3 = $(".ldtel3").val();
  1711. if(!khmc) {
  1712. layer.confirm('请输入客户名称!', {
  1713. btn: ['确定']
  1714. });
  1715. return;
  1716. }
  1717. $.post(huayi.config.callcenter_url + 'Customer/AddCustomer', {
  1718. cid: khid,
  1719. name: khmc,
  1720. code: khbh,
  1721. mobile: tel1,
  1722. telphone: tel2,
  1723. chargetelephone: tel3,
  1724. "token": $.cookie("token")
  1725. }, function(result) {
  1726. result = $.parseJSON(result);
  1727. if(result.state.toLowerCase() == "success") {
  1728. $("#khid").val(result.data);
  1729. $("#tskh").val(khmc);
  1730. layer.msg("保存成功");
  1731. $('.save').hide();
  1732. $('.cancel').hide();
  1733. $('.edit').show();
  1734. }
  1735. })
  1736. })
  1737. //关闭录音弹出
  1738. $(".setwin").click(function() {
  1739. $(".t-shade").removeClass("cx");
  1740. $('audio')[0].pause();
  1741. });
  1742. })
  1743. //菜单数字
  1744. function workcount() {
  1745. $.getJSON(huayi.config.callcenter_url + 'Index/GetWorkOrderCount', {
  1746. "token": $.cookie("token")
  1747. }, function(result) {
  1748. if(result.state.toLowerCase() == "success") {
  1749. $(".dpd").text(result.data.dpd);
  1750. $(".djd").text(result.data.djd);
  1751. $(".dcl").text(result.data.dcl);
  1752. }
  1753. })
  1754. }
  1755. //上传头像
  1756. function uploadtx() {
  1757. if(document.getElementById("upFile").files.length > 0) {
  1758. var formData = new FormData();
  1759. formData.append("upFile", document.getElementById("upFile").files[0]);
  1760. formData.append("token", $.cookie("token"));
  1761. $.ajax({
  1762. url: huayi.config.callcenter_url + "Index/UploadTX",
  1763. type: "POST",
  1764. data: formData,
  1765. /**
  1766. *必须false才会自动加上正确的Content-Type
  1767. */
  1768. contentType: false,
  1769. /**
  1770. * 必须false才会避开jQuery对 formdata 的默认处理
  1771. * XMLHttpRequest会对 formdata 进行正确的处理
  1772. */
  1773. processData: false,
  1774. success: function(result) {
  1775. document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
  1776. $("#upFile").change(function() {
  1777. uploadtx();
  1778. });
  1779. var r = $.parseJSON(result);
  1780. if(r.state.toLowerCase() == "success") {
  1781. $(".yhtx").attr("src", huayi.config.callcenter_url.substr(0, huayi.config.callcenter_url.length - 1) + r.data);
  1782. layer.msg("上传成功");
  1783. }
  1784. }
  1785. });
  1786. } else {
  1787. layer.confirm('请上传文件!', {
  1788. btn: ['确定']
  1789. });
  1790. }
  1791. }
  1792. //获取历史记录
  1793. function loadOld() {
  1794. $(".addgd").hide();
  1795. $(".tbold").show();
  1796. $(".zxbg").hide();
  1797. var type = $(".ldtp-cr ul.ld-service .cr-click").attr("itemtype");
  1798. if(type != '0') {
  1799. $(".complain").hide();
  1800. $(".complain").eq(1).show();
  1801. //先销毁表格
  1802. $('#orderlist').bootstrapTable('destroy');
  1803. //初始化表格,动态从服务器加载数据
  1804. $("#orderlist").bootstrapTable({
  1805. method: "get", //使用get请求到服务器获取数据
  1806. url: huayi.config.callcenter_url + "WorkOrder/GetListAll", //获取数据的Servlet地址
  1807. striped: true, //表格显示条纹
  1808. pagination: true, //启动分页
  1809. pageSize: 5, //每页显示的记录数
  1810. pageNumber: 1, //当前第几页
  1811. pageList: [5, 10, 50, 100], //记录数可选列表
  1812. search: false, //是否启用查询
  1813. showColumns: false, //显示下拉框勾选要显示的列
  1814. showRefresh: false, //显示刷新按钮
  1815. sidePagination: "server", //表示服务端请求
  1816. //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
  1817. //设置为limit可以获取limit, offset, search, sort, order
  1818. queryParamsType: "undefined",
  1819. queryParams: function queryParams(params) { //设置查询参数
  1820. var param = {
  1821. page: params.pageNumber,
  1822. pagesize: params.pageSize,
  1823. tel: $(".hidTel").val(),
  1824. type: type,
  1825. starttime: $("#con_startTime").val(),
  1826. endtime: $("#con_endTime").val(),
  1827. token: $.cookie("token")
  1828. };
  1829. return param;
  1830. },
  1831. onLoadSuccess: function() { //加载成功时执行
  1832. //layer.msg("加载成功");
  1833. },
  1834. onLoadError: function() { //加载失败时执行
  1835. //layer.msg("加载数据失败", { time: 1500, icon: 2 });
  1836. }
  1837. });
  1838. } else {
  1839. $(".complain").hide();
  1840. $(".complain").eq(0).show();
  1841. //先销毁表格
  1842. $('#oldlist').bootstrapTable('destroy');
  1843. //初始化表格,动态从服务器加载数据
  1844. $("#oldlist").bootstrapTable({
  1845. method: "get", //使用get请求到服务器获取数据
  1846. url: huayi.config.callcenter_url + "CallInScreen/GetOldList", //获取数据的Servlet地址
  1847. striped: true, //表格显示条纹
  1848. pagination: true, //启动分页
  1849. pageSize: 5, //每页显示的记录数
  1850. pageNumber: 1, //当前第几页
  1851. pageList: [5, 10, 50, 100], //记录数可选列表
  1852. search: false, //是否启用查询
  1853. showColumns: false, //显示下拉框勾选要显示的列
  1854. showRefresh: false, //显示刷新按钮
  1855. sidePagination: "server", //表示服务端请求
  1856. //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
  1857. //设置为limit可以获取limit, offset, search, sort, order
  1858. queryParamsType: "undefined",
  1859. queryParams: function queryParams(params) { //设置查询参数
  1860. var param = {
  1861. page: params.pageNumber,
  1862. pagesize: params.pageSize,
  1863. tel: $(".hidTel").val(),
  1864. starttime: $("#old_startTime").val(),
  1865. endtime: $("#old_endTime").val(),
  1866. token: $.cookie("token")
  1867. };
  1868. return param;
  1869. },
  1870. onLoadSuccess: function() { //加载成功时执行
  1871. //layer.msg("加载成功");
  1872. },
  1873. onLoadError: function() { //加载失败时执行
  1874. //layer.msg("加载数据失败", { time: 1500, icon: 2 });
  1875. }
  1876. });
  1877. }
  1878. if(type == '3') {
  1879. getLX($("#tslx"), "TSLX");
  1880. getBM($("#zrbmtree"));
  1881. getBM($("#clbmtree"));
  1882. }
  1883. }
  1884. function GetCallState(val) {
  1885. if(val == '1') {
  1886. return '已接通';
  1887. } else {
  1888. return '未接通';
  1889. }
  1890. }
  1891. //音频
  1892. function setCode(val) {
  1893. if(val) {
  1894. return '<div class="imgs" style="cursor: pointer;">' +
  1895. '<img src="./img/vice.png" alt="" onclick= ck(this) item="' + val + '" />' +
  1896. '</div>';
  1897. } else {
  1898. return '';
  1899. }
  1900. }
  1901. //录音
  1902. function ck(val) {
  1903. var path = $(val).attr("item");
  1904. $(".t-shade").addClass("cx");
  1905. $(".Ly_box").empty();
  1906. $(".down").attr("href", path);
  1907. $('<audio style="width: 100%;"class=" " src="' + path + '" loop="loop" controls="controls" ></audio>').appendTo(".Ly_box");
  1908. }
  1909. function GetDealState(val) {
  1910. if(val == '1') {
  1911. return '已处理';
  1912. } else {
  1913. return '未处理';
  1914. }
  1915. }
  1916. function GetStateName(val) {
  1917. var str = '';
  1918. switch(val + '') {
  1919. case '0':
  1920. str = "待指派";
  1921. break;
  1922. case '1':
  1923. str = "处理中";
  1924. break;
  1925. case '2':
  1926. str = "已完结";
  1927. break;
  1928. }
  1929. return str;
  1930. }
  1931. function GetCont(val) {
  1932. var str = '<div '
  1933. if(val.length > 20) {
  1934. str = str + ' title="' + val + '" ';
  1935. val = val.substr(0, 20) + "...";
  1936. }
  1937. return str + '>' + val + '</div>';
  1938. }
  1939. //获取知识库
  1940. function loadZSK() {
  1941. $.getJSON(huayi.config.callcenter_url + 'CallInScreen/GetZSKList', {
  1942. "keywords": $(".search").val(),
  1943. "token": $.cookie("token")
  1944. }, function(result) {
  1945. if(result.state.toLowerCase() == "success") {
  1946. $(".ldcr-bottom .detail-con ul").empty();
  1947. $(result.data).each(function(i, n) {
  1948. var html = '<li>' +
  1949. ' <div class="zhishi-title clearfix">' +
  1950. ' <a href="javascript:void(0);" >' + n.F_Title + '</a>' +
  1951. ' <em >' + n.F_CreateOn + '</em>' +
  1952. ' </div>' +
  1953. ' <div class="explancon">' +
  1954. n.F_Content +
  1955. ' </div>' +
  1956. '</li>';
  1957. $(html).appendTo($(".ldcr-bottom .detail-con ul")).find(".zhishi-title").click(function(event) {
  1958. event.stopPropagation();
  1959. if($(this).hasClass("active")) {
  1960. $(this).removeClass("active")
  1961. } else {
  1962. $(".zhishi-title").removeClass("active");
  1963. $(this).addClass("active");
  1964. }
  1965. })
  1966. })
  1967. }
  1968. })
  1969. }
  1970. //获取类型
  1971. function getLX(obj, type) {
  1972. obj.empty();
  1973. $.getJSON(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByFlag', {
  1974. "flag": type,
  1975. "token": $.cookie("token")
  1976. }, function(result) {
  1977. if(result.state.toLowerCase() == "success") {
  1978. $(result.data).each(function(i, n) {
  1979. obj.append('<option value="' + n.F_DictionaryValueId + '">' + n.F_Name + '</option>');
  1980. })
  1981. }
  1982. })
  1983. }
  1984. //获取部门
  1985. var setting = {
  1986. data: {
  1987. key: {
  1988. name: "F_DeptName"
  1989. },
  1990. simpleData: {
  1991. enable: true,
  1992. idKey: "F_DeptId",
  1993. pIdKey: "F_ParentId",
  1994. rootPId: 0
  1995. }
  1996. },
  1997. callback: {
  1998. onClick: zTreeOnClick
  1999. }
  2000. };
  2001. function getBM(obj) {
  2002. $.getJSON(huayi.config.callcenter_url + 'Department/GetAllList', {
  2003. "token": $.cookie("token")
  2004. }, function(result) {
  2005. if(result.state.toLowerCase() == "success") {
  2006. $.fn.zTree.init(obj, setting, result.data);
  2007. }
  2008. })
  2009. }
  2010. function zTreeOnClick(event, treeId, treeNode) {
  2011. var obj = $("#" + event.data.treeId).parent();
  2012. obj.parent().find("input").eq(0).val(treeNode.F_DeptName);
  2013. obj.parent().find("input").eq(1).val(treeNode.F_DeptId);
  2014. obj.hide();
  2015. if(event.data.treeId == "zrbmtree") {
  2016. getRY($("#zrid"), $("#zrbm").val());
  2017. }
  2018. if(event.data.treeId == "clbmtree") {
  2019. getRY($("#clid"), $("#clbm").val());
  2020. }
  2021. };
  2022. //获取人员
  2023. function getRY(obj, deptid) {
  2024. obj.empty();
  2025. obj.append('<option value="">--请选择--</option>');
  2026. $.getJSON(huayi.config.callcenter_url + 'UserAccount/GetDeptUserList', {
  2027. "deptid": deptid,
  2028. "token": $.cookie("token")
  2029. }, function(result) {
  2030. if(result.state.toLowerCase() == "success") {
  2031. $(result.data).each(function(i, n) {
  2032. obj.append('<option value="' + n.F_UserId + '">' + n.F_UserName + '</option>');
  2033. })
  2034. }
  2035. })
  2036. }
  2037. //外呼弹屏
  2038. function whtp() {
  2039. $("#Result").val("");
  2040. if($(".WH").hasClass("fadeOutUp")) {
  2041. $(".WH").removeClass("fadeOutUp").addClass("fadeInDown");
  2042. }
  2043. $(".WH").removeClass("hidens");
  2044. $('.first').removeClass('first');
  2045. $('.WH').addClass('first');
  2046. loadWH();
  2047. }
  2048. //加载外呼电话列表
  2049. function loadWH() {
  2050. $(".phonediv").hide();
  2051. var n = $(".bg_title .lactive").attr("itemid");
  2052. switch(n) {
  2053. case '0':
  2054. var obj = $(".phonediv").eq(0);
  2055. obj.show();
  2056. //先销毁表格
  2057. var table = obj.find(".phonelist");
  2058. table.bootstrapTable('destroy');
  2059. //初始化表格,动态从服务器加载数据
  2060. table.bootstrapTable({
  2061. method: "get", //使用get请求到服务器获取数据
  2062. url: huayi.config.callcenter_url + "CallOutScreen/GetPhoneList", //获取数据的Servlet地址
  2063. striped: true, //表格显示条纹
  2064. pagination: true, //启动分页
  2065. pageSize: 10, //每页显示的记录数
  2066. pageNumber: 1, //当前第几页
  2067. pageList: [10, 20, 50, 100], //记录数可选列表
  2068. search: false, //是否启用查询
  2069. showColumns: false, //显示下拉框勾选要显示的列
  2070. showRefresh: false, //显示刷新按钮
  2071. sidePagination: "server", //表示服务端请求
  2072. //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
  2073. //设置为limit可以获取limit, offset, search, sort, order
  2074. queryParamsType: "undefined",
  2075. queryParams: function queryParams(params) { //设置查询参数
  2076. var param = {
  2077. page: params.pageNumber,
  2078. pagesize: params.pageSize,
  2079. tel: $("#lastphone").val(),
  2080. token: $.cookie("token")
  2081. };
  2082. return param;
  2083. },
  2084. onLoadSuccess: function() { //加载成功时执行
  2085. //layer.msg("加载成功");
  2086. },
  2087. onLoadError: function() { //加载失败时执行
  2088. //layer.msg("加载数据失败", { time: 1500, icon: 2 });
  2089. }
  2090. });
  2091. break;
  2092. case '1':
  2093. var obj = $(".phonediv").eq(1);
  2094. obj.show();
  2095. var table = obj.find(".phonelist");
  2096. table.bootstrapTable('destroy');
  2097. //初始化表格,动态从服务器加载数据
  2098. table.bootstrapTable({
  2099. method: "get", //使用get请求到服务器获取数据
  2100. url: huayi.config.callcenter_url + "CallOutScreen/GetUserList", //获取数据的Servlet地址
  2101. striped: true, //表格显示条纹
  2102. pagination: true, //启动分页
  2103. pageSize: 10, //每页显示的记录数
  2104. pageNumber: 1, //当前第几页
  2105. pageList: [10, 20, 50, 100], //记录数可选列表
  2106. search: false, //是否启用查询
  2107. showColumns: false, //显示下拉框勾选要显示的列
  2108. showRefresh: false, //显示刷新按钮
  2109. sidePagination: "server", //表示服务端请求
  2110. //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
  2111. //设置为limit可以获取limit, offset, search, sort, order
  2112. queryParamsType: "undefined",
  2113. queryParams: function queryParams(params) { //设置查询参数
  2114. var param = {
  2115. page: params.pageNumber,
  2116. pagesize: params.pageSize,
  2117. tel: $("#gsphone").val(),
  2118. name: $("#gsname").val(),
  2119. token: $.cookie("token")
  2120. };
  2121. return param;
  2122. },
  2123. onLoadSuccess: function() { //加载成功时执行
  2124. //layer.msg("加载成功");
  2125. },
  2126. onLoadError: function() { //加载失败时执行
  2127. //layer.msg("加载数据失败", { time: 1500, icon: 2 });
  2128. }
  2129. });
  2130. break;
  2131. case '2':
  2132. var obj = $(".phonediv").eq(2);
  2133. obj.show();
  2134. var table = obj.find(".phonelist");
  2135. table.bootstrapTable('destroy');
  2136. //初始化表格,动态从服务器加载数据
  2137. table.bootstrapTable({
  2138. method: "get", //使用get请求到服务器获取数据
  2139. url: huayi.config.callcenter_url + "CallOutScreen/GetCustomerList", //获取数据的Servlet地址
  2140. striped: true, //表格显示条纹
  2141. pagination: true, //启动分页
  2142. pageSize: 10, //每页显示的记录数
  2143. pageNumber: 1, //当前第几页
  2144. pageList: [10, 20, 50, 100], //记录数可选列表
  2145. search: false, //是否启用查询
  2146. showColumns: false, //显示下拉框勾选要显示的列
  2147. showRefresh: false, //显示刷新按钮
  2148. sidePagination: "server", //表示服务端请求
  2149. //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
  2150. //设置为limit可以获取limit, offset, search, sort, order
  2151. queryParamsType: "undefined",
  2152. queryParams: function queryParams(params) { //设置查询参数
  2153. var param = {
  2154. page: params.pageNumber,
  2155. pagesize: params.pageSize,
  2156. tel: $("#khphone").val(),
  2157. name: $("#khname").val(),
  2158. token: $.cookie("token")
  2159. };
  2160. return param;
  2161. },
  2162. onLoadSuccess: function() { //加载成功时执行
  2163. //layer.msg("加载成功");
  2164. },
  2165. onLoadError: function() { //加载失败时执行
  2166. //layer.msg("加载数据失败", { time: 1500, icon: 2 });
  2167. }
  2168. });
  2169. break;
  2170. }
  2171. }
  2172. function view(val) {
  2173. var str = '';
  2174. if(val) {
  2175. str = '<a onclick="call(\'' + val + '\')">' + val + '</a>';
  2176. }
  2177. return str;
  2178. }
  2179. function call(val) {
  2180. $("#Result").val(val);
  2181. $(".img").removeClass("hidens");
  2182. }
  2183. function logout() {
  2184. $.ajax({
  2185. url: huayi.config.callcenter_url + "Login/Logout",
  2186. data: {
  2187. token: $.cookie("token")
  2188. },
  2189. dataType: "json",
  2190. success: function(res) {
  2191. if(res.state) {
  2192. location.href = "./login.html";
  2193. }
  2194. }
  2195. });
  2196. }
  2197. //加载左侧导航菜单
  2198. function loadMenu() {
  2199. $.ajaxSettings.async = false;
  2200. $.getJSON(huayi.config.callcenter_url + 'Index/GetMenu', {
  2201. "token": $.cookie("token")
  2202. }, function(result) {
  2203. $.ajaxSettings.async = true;
  2204. if(result.state.toLowerCase() == "success") {
  2205. var data = result.data;
  2206. var _html = "";
  2207. $.each(data, function(i) {
  2208. var row = data[i];
  2209. if(row.F_ParentID == "0") {
  2210. _html += '<li>';
  2211. _html += '<a class="Click"data-id="Menu_' + row.F_ModuleId + '" href="' + row.F_OptUrl + '"><i class="fa iconfont">' + row.F_ImgUrl + '</i><span class="nav-label">' + row.F_ModuleName + '</span><span class="fa arrow"></span></a>';
  2212. var childNodes = row.ChildNodes; //二级
  2213. if(childNodes.length > 0) {
  2214. _html += '<ul class="nav nav-second-level">';
  2215. $.each(childNodes, function(i) {
  2216. var subrow = childNodes[i];
  2217. var childNodsThird = subrow.ChildNodes; //三级
  2218. if(childNodsThird.length > 0) {
  2219. _html += '<li>';
  2220. _html += '<a href="' + subrow.F_OptUrl + '">';
  2221. _html += '<span class="nav-label">' + subrow.F_ModuleName + '</span>';
  2222. _html += '<span class="fa arrow"></span>';
  2223. _html += '</a>';
  2224. _html += '<ul class="nav nav-third-level">';
  2225. $.each(childNodsThird, function(i) {
  2226. var subrowThird = childNodsThird[i];
  2227. _html += '<li>';
  2228. _html += '<a class="J_menuItem" data-id="Menu_' + subrowThird.F_ModuleId + '" href="' + subrowThird.F_OptUrl + '" >' + subrowThird.F_ModuleName + '</a>';
  2229. _html += '</li>';
  2230. });
  2231. _html += '</ul>';
  2232. } else {
  2233. _html += '<li>';
  2234. _html += '<a class="J_menuItem" data-id="Menu_' + subrow.F_ModuleId + '" href="' + subrow.F_OptUrl + '" >' + subrow.F_ModuleName + '</a>';
  2235. // if(subrow.F_Button != '') {
  2236. // _html += '<span class="' + subrow.F_Button + '"></span>';
  2237. // }
  2238. _html += '</li>';
  2239. }
  2240. });
  2241. _html += '</ul>';
  2242. }
  2243. _html += '</li>';
  2244. }
  2245. });
  2246. // $("#sidebar-nav ul").prepend(_html);
  2247. $(_html).appendTo("#side-menu");
  2248. } else {
  2249. window.location.href = "/login.html";
  2250. }
  2251. })
  2252. }
  2253. $(".J_menuItem").click(function() {
  2254. if($(this).text() == "来电弹屏") {
  2255. // $('.maxOpen').trigger("click");
  2256. // $('.head-pic .lahei .la-before').show();
  2257. // $('.head-pic .lahei .la-after').hide();
  2258. alert("87498");
  2259. }
  2260. })
  2261. //修改密码开始
  2262. $('.shezhi').click(function() {
  2263. $('.personal').show();
  2264. $.ajax({
  2265. type: "get",
  2266. url: huayi.config.callcenter_url + "UserAccount/GetNowUser",
  2267. async: true,
  2268. dataType: 'json',
  2269. data: {
  2270. token: $.cookie("token")
  2271. },
  2272. success: function(result) {
  2273. if(result.state.toLowerCase() == "success") {
  2274. var con = result.data.user;
  2275. console.log(con)
  2276. $('.mgh').val(con.F_UserId);
  2277. $('.mn').val(con.F_UserName);
  2278. $('.mobile').val(con.F_Mobile);
  2279. $('.fenji').val($.cookie("extno"));
  2280. //$('.wxno').val(con.F_WXNo);
  2281. // $('.spwd').val(con.F_Password);
  2282. }
  2283. }
  2284. });
  2285. })
  2286. //tab切换
  2287. $('.perTab li').click(function() {
  2288. $(this).addClass('sel').siblings().removeClass('sel');
  2289. var index = $(this).index();
  2290. $('.perTab_con').children('div').eq(index).show().siblings().hide();
  2291. })
  2292. //编辑个人资料
  2293. $('.grzl tbody>tr>td input.zhidu').attr('readonly', true);
  2294. $('.grbj').click(function() {
  2295. $('.grzl tbody>tr>td input.zhidu').attr('readonly', false);
  2296. $('.grzl tbody>tr>td input.zhidu').css('border-bottom', "1px solid #b3b3b3");
  2297. })
  2298. //取消编辑
  2299. $('.grqx').click(function() {
  2300. $('.grzl tbody>tr>td input.zhidu').attr('readonly', true);
  2301. $('.grzl tbody>tr>td input.zhidu').css('border-bottom', "none");
  2302. })
  2303. //关闭按钮
  2304. $('.ptr').click(function() {
  2305. $('.personal').hide();
  2306. })
  2307. $('.grbtn').click(function() {
  2308. var gh = $('.mgh').val();
  2309. var xm = $('.mn').val();
  2310. var ymm = $('.spwd').val();
  2311. var xmm = $('.npwd').val();
  2312. var qmm = $('.epwd').val();
  2313. if(xmm !== qmm) {
  2314. $('.wrong').show();
  2315. $('.npwd').val('')
  2316. $('.epwd').val('')
  2317. } else if(xmm == '') {
  2318. layer.msg("密码不允许为空!");
  2319. } else {
  2320. $('.wrong').hide();
  2321. $('.grzl tbody>tr>td input').attr('readonly', true);
  2322. $('.grzl tbody>tr>td input').css('border-bottom', "none");
  2323. $.ajax({
  2324. type: "post",
  2325. url: huayi.config.callcenter_url + "UserAccount/UpdatePwd",
  2326. async: true,
  2327. dataType: 'json',
  2328. data: {
  2329. token: $.cookie("token"),
  2330. usercode: gh,
  2331. pwd: xmm,
  2332. oldpwd: ymm,
  2333. mobile: $('.mobile').val()
  2334. },
  2335. success: function(result) {
  2336. // result = $.parseJSON(result);
  2337. if(result.state.toLowerCase() == "success") {
  2338. layer.msg("修改成功!");
  2339. }
  2340. }
  2341. });
  2342. }
  2343. })
  2344. //图片裁剪
  2345. var o = $(".image-crop > img");
  2346. $(o).cropper({
  2347. aspectRatio: 1 / 1,
  2348. resizable: false,
  2349. dragCrop: false,
  2350. preview: ".img-preview",
  2351. done: function() {}
  2352. });
  2353. var r = $("#inputImage");
  2354. if(window.FileReader) {
  2355. r.change(function() {
  2356. var e, i = new FileReader,
  2357. t = this.files;
  2358. if(t.length && (e = t[0], /^image\/\w+$/.test(e.type))) {
  2359. i.readAsDataURL(e);
  2360. i.onload = function() {
  2361. r.val("");
  2362. o.cropper("reset", !0).cropper("replace", this.result);
  2363. }
  2364. } else {
  2365. alert("请选择图片文件");
  2366. }
  2367. });
  2368. $("#setDrag").click(function() {
  2369. o.cropper("setDragMode", "crop");
  2370. var img = o.cropper("getDataURL");
  2371. $.post(huayi.config.callcenter_url + "Index/UploadTX64", {
  2372. dataurl: encodeURIComponent(img),
  2373. "token": $.cookie("token")
  2374. }, function(result) {
  2375. result = $.parseJSON(result);
  2376. if(result.state.toLowerCase() == "success") {
  2377. $(".yhtx").attr("src", huayi.config.callcenter_url.substr(0, huayi.config.callcenter_url.length - 1) + result.data);
  2378. layer.msg("上传成功");
  2379. $('.personal').hide();
  2380. }
  2381. })
  2382. });
  2383. $("#zoomIn").click(function() {
  2384. o.cropper("zoom", .1)
  2385. });
  2386. $("#zoomOut").click(function() {
  2387. o.cropper("zoom", -.1)
  2388. });
  2389. $("#rotateLeft").click(function() {
  2390. o.cropper("rotate", 45)
  2391. });
  2392. $("#rotateRight").click(function() {
  2393. o.cropper("rotate", -45)
  2394. });
  2395. } else {
  2396. r.addClass("hide");
  2397. }
  2398. ////跳转
  2399. function Jumps() {
  2400. //window.parent.frames[ "iframe0"].location.reload();
  2401. $("iframe:visible")[0].src = "widgets.html"
  2402. }
  2403. $(".add_").click(function() {
  2404. var tskh = $("#zxr_").val(); //咨询人:
  2405. var tsdh = $("#zxdh_").val(); //咨询电话
  2406. var cont = $("#zxnr_").val(); //咨询内容
  2407. var clcont = $("#clnr_").val(); //内容
  2408. var type = "1";
  2409. if(!clcont) {
  2410. layer.confirm('请输入处理内容!', {
  2411. btn: ['确定']
  2412. });
  2413. return;
  2414. }
  2415. $.post(huayi.config.callcenter_url + 'CallInScreen/AddWorkOrder', {
  2416. tskh: tskh,
  2417. tsdh: tsdh,
  2418. cont: cont,
  2419. clcont: clcont,
  2420. type: type,
  2421. "token": $.cookie("token")
  2422. }, function(result) {
  2423. result = $.parseJSON(result);
  2424. if(result.state.toLowerCase() == "success") {
  2425. loadOld();
  2426. $("#zxr_").val(''); //咨询人:
  2427. $("#zxdh_").val(''); //咨询电话
  2428. $("#zxnr_").val(''); //咨询内容
  2429. $("#clnr_").val(''); //内容
  2430. layer.msg("创建工单成功");
  2431. }
  2432. })
  2433. })
  2434. //拖动事件
  2435. var box = document.getElementById("box");
  2436. //鼠标按下的函数
  2437. box.onmousedown = function(ev) {
  2438. var oEvent = ev || event;
  2439. //求出鼠标和box的位置差值
  2440. var x = oEvent.clientX - box.offsetLeft;
  2441. var y = oEvent.clientY - box.offsetTop;
  2442. console.log(x);
  2443. //鼠标移动的函数
  2444. //把事件加在document上,解决因为鼠标移动太快时,
  2445. //鼠标超过box后就没有了拖拽的效果的问题
  2446. document.onmousemove = function(ev) {
  2447. var oEvent = ev || event;
  2448. //保证拖拽框一直保持在浏览器窗口内部,不能被拖出的浏览器窗口的范围
  2449. var l = oEvent.clientX - x;
  2450. var t = oEvent.clientY - y;
  2451. if(l < 0) {
  2452. l = 0;
  2453. } else if(l > document.documentElement.clientWidth - box.offsetWidth) {
  2454. l = document.documentElement.clientWidth - box.offsetWidth;
  2455. }
  2456. if(t < 0) {
  2457. t = 0;
  2458. } else if(t > document.documentElement.clientHeight - box.offsetHeight) {
  2459. t = document.documentElement.clientHeight - box.offsetHeight;
  2460. }
  2461. box.style.left = l + "px";
  2462. box.style.top = t + "px";
  2463. }
  2464. //鼠标抬起的函数
  2465. document.onmouseup = function() {
  2466. document.onmousemove = null;
  2467. document.onmouseup = null;
  2468. }
  2469. //火狐浏览器在拖拽空div时会出现bug
  2470. //return false阻止默认事件,解决火狐的bug
  2471. return false;
  2472. }
  2473. </script>
  2474. <script src="./js/plugins/metisMenu/jquery.metisMenu.js"></script>
  2475. <script src="./js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
  2476. <script src="./js/plugins/layer/layer.min.js"></script>
  2477. <script src="./js/hplus.min.js?v=4.1.0"></script>
  2478. <script src="./js/contabs.min.js"></script>
  2479. </body>
  2480. </html>