中鑫之宝5.0前端

index.html 75KB

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