中鑫之宝5.0前端

index.html 88KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892
  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">
  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. <li>
  616. <a href="#">
  617. <i class="fa iconfont">&#xe669;</i>
  618. <span class="nav-label">话务管理</span>
  619. <span class="fa arrow"></span>
  620. </a>
  621. <ul class="nav nav-second-level">
  622. <li>
  623. <a class="tantan" href="javascript:;" data-index="0">来电弹屏</a>
  624. </li>
  625. <li>
  626. <a class="J_menuItem" href="./TelCall/CallRecord.html">通话记录管理</a>
  627. </li>
  628. <li>
  629. <a class="J_menuItem" href="./TelCall/VoiceMail.html">语音留言管理</a>
  630. </li>
  631. <li>
  632. <a class="J_menuItem" href="./TelCall/BlackList.html">黑名单管理</a>
  633. </li>
  634. <li>
  635. <a class="J_menuItem" href="./TelCall/NumberAssignment.html">号码归属地</a>
  636. </li>
  637. <!--<li>
  638. <a class="J_menuItem" href="./TelCall/WorkTime.html">上班时间设置</a>
  639. </li>-->
  640. <li>
  641. <a class="J_menuItem" href="./TelCall/SeatMonitor.html">坐席监控管理</a>
  642. </li>
  643. <li>
  644. <a class="J_menuItem" href="./OnDuty/Duty.html">值班电话管理</a>
  645. </li>
  646. <li>
  647. <a class="J_menuItem" href="./OnDuty/SeatsMessage.html">坐席组管理</a>
  648. </li>
  649. </ul>
  650. </li>
  651. <li>
  652. <a href="#">
  653. <i class="fa iconfont">&#xe649;</i>
  654. <span class="nav-label">质检管理</span>
  655. <span class="fa arrow"></span>
  656. </a>
  657. <ul class="nav nav-second-level">
  658. <li>
  659. <a class="J_menuItem" href="./Quality/zhibiaoguanli.html" data-index="0">指标管理</a>
  660. </li>
  661. <li>
  662. <a class="J_menuItem" href="./Quality/zjpf.html">质检评分</a>
  663. </li>
  664. <li>
  665. <a class="J_menuItem" href="./Quality/qualityControl.html">质检结果</a>
  666. </li>
  667. </ul>
  668. </li>
  669. <li>
  670. <a href="#">
  671. <i class="fa iconfont">&#xe614;</i>
  672. <span class="nav-label">回访管理</span>
  673. <span class="fa arrow"></span>
  674. </a>
  675. <ul class="nav nav-second-level">
  676. <li>
  677. <a class="J_menuItem" href="./visit/fp.html">回访号码导入</a>
  678. </li>
  679. <li>
  680. <a class="J_menuItem" href="./visit/allocation.html">回访分配</a>
  681. </li>
  682. <li>
  683. <a class="J_menuItem" href="./visit/MyVisitTask.html" data-index="0">我的回访任务</a>
  684. </li>
  685. <li>
  686. <a class="J_menuItem" href="./visit/myvisitlistresult.html" data-index="0">我的回访结果</a>
  687. </li>
  688. <li>
  689. <a class="J_menuItem" href="./visit/visitlistresult.html">回访结果数据</a>
  690. </li>
  691. <li>
  692. <a class="J_menuItem" href="./visit/ReturnReport.html">回访报表</a>
  693. </li>
  694. </ul>
  695. </li>
  696. <!--<li>
  697. <a href="#">
  698. <i class="fa iconfont">&#xe62b;</i>
  699. <span class="nav-label">外呼管理</span>
  700. <span class="fa arrow"></span>
  701. </a>
  702. <ul class="nav nav-second-level">
  703. <li>
  704. <a class="J_menuItem" href="./Call.html">外呼计划</a>
  705. </li>
  706. <li>
  707. <a class="J_menuItem" href="./Whfp.html">外呼分配</a>
  708. </li>
  709. <li>
  710. <a class="J_menuItem" href="./MyCallTask.html">我的任务</a>
  711. </li>
  712. <li>
  713. <a class="J_menuItem" href="./MyRuselt.html">我的任务结果</a>
  714. </li>
  715. <li>
  716. <a class="J_menuItem" href="./ResultCx.html">任务结果查询</a>
  717. </li>
  718. <li>
  719. <a class="J_menuItem" href="./ResultXj.html">任务结果数据</a>
  720. </li>
  721. </ul>
  722. </li>-->
  723. <!--<li>
  724. <a href="mailbox.html">
  725. <i class="fa iconfont">&#xe645;</i>
  726. <span class="nav-label">问卷调查</span>
  727. <span class="fa arrow"></span>
  728. </a>
  729. <ul class="nav nav-second-level">
  730. <li>
  731. <a class="J_menuItem" href="./shiTiManger.html">试题管理</a>
  732. </li>
  733. <li>
  734. <a class="J_menuItem" href="./wenJuanSheZhi.html">查问卷设置</a>
  735. </li>
  736. </ul>
  737. </li>-->
  738. <li>
  739. <a href="#"><i class="fa iconfont">&#xe610;</i> <span class="nav-label">工单管理</span><span class="fa arrow"></span></a>
  740. <ul class="nav nav-second-level">
  741. <li>
  742. <a class="J_menuItem" href="./WorkOrder/AddWorkOrder.html">手工制单</a>
  743. </li>
  744. <li>
  745. <a class="J_menuItem" href="./WorkOrder/WorkOrderAppoint.html">待派单工单</a>
  746. <span class="label label-warning pull-right lblcount dpd">15</span>
  747. </li>
  748. <li>
  749. <a class="J_menuItem" href="./WorkOrder/WorkOrderReceive.html">待接单工单</a>
  750. <span class="label label-warning pull-right lblcount djd">15</span>
  751. </li>
  752. <li>
  753. <a class="J_menuItem" href="./WorkOrder/WorkOrderDispose.html">待处理工单</a>
  754. <span class="label label-warning pull-right lblcount dcl">15</span>
  755. </li>
  756. <li>
  757. <a class="J_menuItem" href="./WorkOrder/WorkOrderParty.html">已参与工单</a>
  758. </li>
  759. <li>
  760. <a class="J_menuItem" href="./WorkOrder/WorkOrderExpedite.html">工单催办</a>
  761. </li>
  762. <li>
  763. <a class="J_menuItem" href="./WorkOrder/WorkOrderSearch.html">综合查询</a>
  764. </li>
  765. </ul>
  766. </li>
  767. <li>
  768. <a href="#"><i class="fa iconfont">&#xe610;</i> <span class="nav-label">短信管理</span><span class="fa arrow"></span></a>
  769. <ul class="nav nav-second-level">
  770. <li>
  771. <a class="J_menuItem" href="./Message/MessageType.html">短信类型管理</a>
  772. </li>
  773. <!--<li>
  774. <a class="J_menuItem" href="./Message/MessageRecovery.html">短信类型回收站</a>
  775. </li>-->
  776. <li>
  777. <a class="J_menuItem" href="./Message/MessageSend.html">短信发送</a>
  778. </li>
  779. <li>
  780. <a class="J_menuItem" href="./Message/SendManagement.html">短信发送管理</a>
  781. </li>
  782. <li>
  783. <a class="J_menuItem" href="./Message/FixedTime.html">定时短信管理</a>
  784. </li>
  785. <li>
  786. <a class="J_menuItem" href="./Message/SendError.html">发送失败管理</a>
  787. </li>
  788. <li>
  789. <a class="J_menuItem" href="./Message/MessagReceiving.html">短信接收</a>
  790. </li>
  791. </ul>
  792. </li>
  793. <li>
  794. <a href="#"><i class="fa fa-picture-o"></i> <span class="nav-label">客户管理</span><span class="fa arrow"></span></a>
  795. <ul class="nav nav-second-level">
  796. <li>
  797. <a class="J_menuItem" href="./keHuManager/ContactPersonManger.html">客户档案管理</a>
  798. </li>
  799. </ul>
  800. </li>
  801. <li>
  802. <a href="#">
  803. <i class="fa iconfont">&#xe605;</i>
  804. <span class="nav-label">知识库管理</span>
  805. <span class="fa arrow"></span>
  806. </a>
  807. <ul class="nav nav-second-level">
  808. <li>
  809. <a class="J_menuItem" href="./zhiShiKu/zhiShiKuFenLei.html">知识库分类</a>
  810. </li>
  811. <li>
  812. <a class="J_menuItem" href="./zhiShiKu/zhiShiKuManger.html">知识库管理</a>
  813. </li>
  814. <li>
  815. <a class="J_menuItem" href="./zhiShiKu/zhiShiKuChaXun.html">知识库查询</a>
  816. </li>
  817. </ul>
  818. </li>
  819. <li>
  820. <a href="#"><i class="fa iconfont ">&#xe651;</i> <span class="nav-label">报表分析</span><span class="fa arrow"></span></a>
  821. <ul class="nav nav-second-level">
  822. <li>
  823. <a href="">
  824. <span class="nav-label">话务运营分析</span>
  825. <span class="fa arrow"></span>
  826. </a>
  827. <ul class="nav nav-third-level">
  828. <li>
  829. <a class="J_menuItem" href="./huTotal.html">总呼叫量统计</a>
  830. </li>
  831. <li>
  832. <a class="J_menuItem" href="./ShuJuDuiBi.html">呼叫数据图形分析</a>
  833. </li>
  834. <li>
  835. <a class="J_menuItem" href="./callTime.html">通话时长统计</a>
  836. </li>
  837. <li>
  838. <a class="J_menuItem" href="./jthusuan.html">接通呼损统计</a>
  839. </li>
  840. <!--<li>
  841. <a class="J_menuItem" href="./huawuKPI.html">话务KPI数据统计</a>
  842. </li>-->
  843. <li>
  844. <a class="J_menuItem" href="./riTongHuaTime.html">日通话时长统计</a>
  845. </li>
  846. </ul>
  847. </li>
  848. <li>
  849. <a href="">
  850. <span class="nav-label">员工考核分析</span>
  851. <span class="fa arrow"></span>
  852. </a>
  853. <ul class="nav nav-third-level">
  854. <li>
  855. <a class="J_menuItem" href="./zuoXiTable.html">坐席工作报表</a>
  856. </li>
  857. <li>
  858. <a class="J_menuItem" href="./khShujuDuiBi.html">年呼叫数据对比</a>
  859. </li>
  860. <li>
  861. <a class="J_menuItem" href="./zhiJian.html">质检数据报表</a>
  862. </li>
  863. <li>
  864. <a class="J_menuItem" href="./zuoXiCompent.html">坐席满意度评价情况报表</a>
  865. </li>
  866. <li>
  867. <a class="J_menuItem" href="./zuoXiTime.html">坐席日通话时长报表</a>
  868. </li>
  869. </ul>
  870. </li>
  871. <!--<li>
  872. <a href="">
  873. <span class="nav-label">业务数据分析</span>
  874. <span class="fa arrow"></span>
  875. </a>
  876. <ul class="nav nav-third-level">
  877. <li>
  878. <a class="J_menuItem" href="./Report/Business/WorkEfficiency.html">工单流程执行效率分析</a>
  879. </li>
  880. <li>
  881. <a class="J_menuItem" href="./Report/Business/WorkDept.html">工单部门分布分析</a>
  882. </li>
  883. <li>
  884. <a class="J_menuItem" href="./Report/Business/WorkPeriod.html">工单时间点分布分析</a>
  885. </li>
  886. <li>
  887. <a class="J_menuItem" href="./zhiShiChenDian.html">知识沉淀情况分析</a>
  888. </li>
  889. <li>
  890. <a class="J_menuItem" href="./laiDianRenYuan.html">来电人员分布分析</a>
  891. </li>
  892. <li>
  893. <a class="J_menuItem" href="./keFuLaiDian.html">客服部来电分布情况报表</a>
  894. </li>
  895. </ul>
  896. </li>-->
  897. </ul>
  898. </li>
  899. <li>
  900. <a href="#"><i class="fa iconfont">&#xe71d;</i> <span class="nav-label">系统管理</span><span class="fa arrow"></span></a>
  901. <ul class="nav nav-second-level">
  902. <li>
  903. <a href="">
  904. <span class="nav-label">系统设置</span>
  905. <span class="fa arrow"></span>
  906. </a>
  907. <ul class="nav nav-third-level">
  908. <li>
  909. <a class="J_menuItem" href="./SystemManager/shuJuZiDian.html">数据字典</a>
  910. </li>
  911. <li>
  912. <a class="J_menuItem" href="./SystemManager/jiChuShuJu.html">基础数据</a>
  913. </li>
  914. </ul>
  915. </li>
  916. <li>
  917. <a href="">
  918. <span class="nav-label">权限管理</span>
  919. <span class="fa arrow"></span>
  920. </a>
  921. <ul class="nav nav-third-level">
  922. <li>
  923. <a class="J_menuItem" href="./SystemManager/buMenManger.html">部门管理</a>
  924. </li>
  925. <li>
  926. <a class="J_menuItem" href="./SystemManager/yongHuManger.html">用户管理</a>
  927. </li>
  928. <li>
  929. <a class="J_menuItem" href="./SystemManager/jueSeQuanXian.html">角色权限</a>
  930. </li>
  931. </ul>
  932. </li>
  933. <li>
  934. <a href="">
  935. <span class="nav-label">日志管理</span>
  936. <span class="fa arrow"></span>
  937. </a>
  938. <ul class="nav nav-third-level">
  939. <li>
  940. <a class="J_menuItem" href="./SystemManager/dengLuRiZhi.html">登录日志</a>
  941. </li>
  942. <!--<li>
  943. <a class="J_menuItem" href="./SystemManager/caoZuoRiZhi.html">操作日志</a>
  944. </li>
  945. <li>
  946. <a class="J_menuItem" href="./SystemManager/huaWuRiZhi.html">话务日志</a>
  947. </li>-->
  948. </ul>
  949. </li>
  950. </ul>
  951. </li>
  952. <!--<li>
  953. <a href="#"><i class="fa iconfont">&#xe71d;</i> <span class="nav-label">电销一呼百应</span><span class="fa arrow"></span></a>
  954. <ul class="nav nav-second-level">
  955. <li>
  956. <a href="">
  957. <span class="nav-label">呼叫管理</span>
  958. <span class="fa arrow"></span>
  959. </a>
  960. <ul class="nav nav-third-level">
  961. <li>
  962. <a class="J_menuItem" href="./dianXiao/tanPing.html">来电弹屏</a>
  963. </li>
  964. <li>
  965. <a class="J_menuItem" href="./dianXiao/huJiaoManger/renWuManger.html">呼叫任务管理</a>
  966. </li>
  967. <li>
  968. <a class="J_menuItem" href="./dianXiao/huJiaoManger/zxKong.html">坐席监控</a>
  969. </li>
  970. <li>
  971. <a class="J_menuItem" href="./dianXiao/huJiaoManger/huaWuFenXi.html">话务分析</a>
  972. </li>
  973. <li>
  974. <a class="J_menuItem" href="./dianXiao/huJiaoManger/haoDuanChaXun.html">已呼号段查询</a>
  975. </li>
  976. <li>
  977. <a class="J_menuItem" href="./dianXiao/huJiaoManger/yuYinFiel.html">语音文件管理</a>
  978. </li>
  979. <li>
  980. <a class="J_menuItem" href="./dianXiao/huJiaoManger/huaDanChaXun.html">话单查询</a>
  981. </li>
  982. </ul>
  983. </li>
  984. <li>
  985. <a href="">
  986. <span class="nav-label">营销管理</span>
  987. <span class="fa arrow"></span>
  988. </a>
  989. <ul class="nav nav-third-level">
  990. <li>
  991. <a class="J_menuItem" href="./dianXiao/yingXiaoManger/dingDanChaXun.html">订单查询</a>
  992. </li>
  993. <li>
  994. <a class="J_menuItem" href="./dianXiao/yingXiaoManger/zhiJian.html">质检</a>
  995. </li>
  996. </ul>
  997. </li>
  998. </ul>
  999. </li>-->
  1000. </ul>
  1001. </div>
  1002. </nav>
  1003. <!--左侧导航结束-->
  1004. <!--右侧部分开始-->
  1005. <div id="page-wrapper" class="gray-bg dashbard-1">
  1006. <div class="row border-bottom">
  1007. <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
  1008. <div class="navbar-header">
  1009. <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
  1010. <div class="nav navbar-top-links navbar-left">
  1011. <ul class="title-box" id="top-search" style="padding-left: 0;display:none;">
  1012. <li datafun="DropCall">
  1013. <i class="iconfont fa-5x DropCall"></i>
  1014. <p>挂断</p>
  1015. </li>
  1016. <li datafun="MakeCall">
  1017. <i class="iconfont fa-5x MakeCall"></i>
  1018. <p>外呼</p>
  1019. </li>
  1020. <li datafun="SayBusy">
  1021. <i class="iconfont fa-5x SayBusy"></i>
  1022. <p>置忙</p>
  1023. </li>
  1024. <li datafun="SayFree">
  1025. <i class="iconfont fa-5x SayFree"></i>
  1026. <p>置闲</p>
  1027. </li>
  1028. <li datafun="Meeting">
  1029. <i class="iconfont fa-5x Meeting"></i>
  1030. <p>多方通话</p>
  1031. </li>
  1032. <li datafun="Transfer">
  1033. <i class="iconfont fa-5x Transfer"></i>
  1034. <p>转移</p>
  1035. </li>
  1036. <li datafun="Hold">
  1037. <i class="iconfont fa-5x Hold"></i>
  1038. <p>保持</p>
  1039. </li>
  1040. <li datafun="Retrieve">
  1041. <i class="iconfont fa-5x Retrieve"></i>
  1042. <p>接回</p>
  1043. </li>
  1044. <li datafun="Login">
  1045. <i class="iconfont fa-5x Login"></i>
  1046. <p>签入</p>
  1047. </li>
  1048. <li datafun="Logout">
  1049. <i class="iconfont fa-5x Logout"></i>
  1050. <p>签出</p>
  1051. </li>
  1052. </ul>
  1053. </div>
  1054. <div class="nav closed">
  1055. <!--左边-->
  1056. <div class="text-center max-box">
  1057. <ul class="fl maxOpen animated" style="display: none;">
  1058. <li>
  1059. <h3 class="size-12 ldname">未知</h3>
  1060. <h3 class="size-12 ldtel" style="margin-bottom: 0;"></h3>
  1061. </li>
  1062. <li>
  1063. <div class="photo">
  1064. <img src="" alt="" />
  1065. </div>
  1066. </li>
  1067. </ul>
  1068. </div>
  1069. <div class="ls">
  1070. <span class="size-12 min-right" onclick="Jumps()">
  1071. <i class="ga"></i>&nbsp;管理中心
  1072. </span>
  1073. <span class="size-12 shezhi">
  1074. <i class="sz"></i>&nbsp;设置
  1075. </span>
  1076. <span class="size-12" onclick="logout()">
  1077. <i class="tc"></i>退出
  1078. </span>
  1079. </div>
  1080. </div>
  1081. </div>
  1082. </nav>
  1083. </div>
  1084. <div class="row content-tabs1">
  1085. <ul>
  1086. <li class="top1" style="width: 5%;"></li>
  1087. <li class="top2" style="width: 8%;"></li>
  1088. <li class="top3" style="width: 10%;"></li>
  1089. <li class="top4" style="width: 13%;"></li>
  1090. <li class="top5" style="width: 10%;"></li>
  1091. <li class="top6" style="width: 5%;"></li>
  1092. <li class="top7" style="width: 13%;"></li>
  1093. <li class="top8" style="width: 10%;"></li>
  1094. <li class="top9" style="width: 11.2%;"></li>
  1095. <li class="top10" style="width: 6%;"></li>
  1096. <li class="top11" style="width: 3%;"></li>
  1097. <li class="top12" style="width: 5%;"></li>
  1098. </ul>
  1099. </div>
  1100. <div class="row J_mainContent" id="content-main">
  1101. <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="widgets.html" frameborder="0" data-id="index_v1.html" seamless></iframe>
  1102. </div>
  1103. <div class="row content-tabs1 LH">
  1104. <ul>
  1105. <li class="top13" style="width: 100%;"></li>
  1106. </ul>
  1107. <span class="fr">Copyright © 华谊科技 All Rights Reserved</span>
  1108. <ul class="zts" style="display:none;">
  1109. <li>服务状态: </li>
  1110. <li class="quan fwzt lx"> </li>
  1111. <li>坐席状态: </li>
  1112. <li class="quan zxzt lx"></li>
  1113. </ul>
  1114. </div>
  1115. </div>
  1116. </div>
  1117. <!--==========================================================================================-->
  1118. <!--来电弹屏开始-->
  1119. <div class="ldtp-con clearfix animated fadeInDown ">
  1120. <div class="minBacha clearfix">
  1121. <div class="minClosed">
  1122. <a href="javaScript:;" title="最小化"></a>
  1123. </div>
  1124. <div class="Bacha">
  1125. <a href="javaScript:;" title="关闭"></a>
  1126. </div>
  1127. </div>
  1128. <!--左侧内容-->
  1129. <!--黑名单弹出内容-->
  1130. <!--<div class="hei-list ">
  1131. <i class="bacha">X</i>
  1132. <form class="form-inline">
  1133. <label class="radio-inline">
  1134. <input type="radio" name="time" value="1" checked="checked"> 天
  1135. </label>
  1136. <label class="radio-inline">
  1137. <input type="radio" name="time" value="2"> 时
  1138. </label>
  1139. <label class="radio-inline">
  1140. <input type="radio" name="time" value="3">分
  1141. </label>
  1142. <label class="radio-inline">
  1143. <input type="radio" name="time" value="4">永久
  1144. </label>
  1145. <label class="radio-inline">
  1146. <input type="button" id="bc" value="保存">
  1147. </label>
  1148. </form>
  1149. </div>-->
  1150. <div class="hei-list">
  1151. <div class="heiTop clearFix">
  1152. <p class="htl">黑名单</p>
  1153. <p class="bacha" title="关闭">x</p>
  1154. </div>
  1155. <div class="heiCon">
  1156. <div class="heit">
  1157. <span style="font-size: 14px;">输入拉黑时长:</span>
  1158. <input type="text" id="time-word" />
  1159. </div>
  1160. <div class="chooses">
  1161. <label class="radio-inline">
  1162. <input type="radio" name="time" value="1" checked="checked" style="margin-top: 3px;"> 天
  1163. </label>
  1164. <label class="radio-inline">
  1165. <input type="radio" name="time" value="2" style="margin-top: 3px;" />时
  1166. </label>
  1167. <label class="radio-inline">
  1168. <input type="radio" name="time" value="3" style="margin-top: 3px;" />分
  1169. </label>
  1170. <label class="radio-inline">
  1171. <input type="radio" name="time" value="4" style="margin-top: 3px;" />永久
  1172. </label>
  1173. </div>
  1174. <p style="margin-top: 15px;"><button id="bc" class="btns">保存</button></p>
  1175. </div>
  1176. </div>
  1177. <!--最小化按钮-->
  1178. <!--<div class="minClosed">
  1179. <a href="javaScript:;" title="最小化"></a>
  1180. </div>-->
  1181. <!--左侧内容-->
  1182. <div class="ldtp-cl col-sm-3">
  1183. <div class="head-pic">
  1184. <div class="hp-box">
  1185. <img src="./img/txpic.png" alt="头像好像去了外星球!" style="width: 100%;height: 100%;" />
  1186. <input type="hidden" class="hidTel" value="" />
  1187. <input type="hidden" class="hidCallID" />
  1188. </div>
  1189. <ul>
  1190. <li class="nikeName"><i></i><span class="ldname">未知</span><i></i></li>
  1191. <li style="color: #4cd964;">当前通话时长:<span class="thsc">00:00</span></li>
  1192. <li class="lahei">
  1193. <div class="la-before"><i class="push"></i> 移至黑名单</div>
  1194. <div class="la-after" style="display: none;">
  1195. <p class="la-time">拉黑时间:<span>2017/05/13</span></p>
  1196. <p class="la-shichang">拉黑截止时间:<span class="blackTime"></span></p>
  1197. </div>
  1198. <div class="retur" style="display: none;"><i class="qxlh"></i> 取消黑名单</div>
  1199. </li>
  1200. <li class="td-call clearfix" style="display:none;">
  1201. <a class="take" style="float:none;" href="javascript:;"><i></i></a>
  1202. <!--<a class="drop" href="javascript:;"><i></i></a>-->
  1203. </li>
  1204. </ul>
  1205. </div>
  1206. <!--<ul class="come-detail">
  1207. <li>姓名:<span class="ldname">未知</span></li>
  1208. <li>归属地:<span class="ldlocation">未知</span></li>
  1209. <li>联系电话1:<span class="ldtel1"></span></li>
  1210. <li>联系电话2:<span class="ldtel2"></span></li>
  1211. <li>联系电话3:<span class="ldtel3"></span></li>
  1212. <li>售后负责人:<span>孙嘉一</span></li>
  1213. <li>来电时间:<span class="ldtime"></span></li>
  1214. </ul>-->
  1215. <table class="table khzl">
  1216. <tr>
  1217. <th>姓名:</th>
  1218. <td><input type="text" value="未知" class="ldname khmc" /><input type="hidden" value="" id="khid" /></td>
  1219. </tr>
  1220. <tr>
  1221. <th>客户编号:</th>
  1222. <td><input type="text" value="" class="khbh" /></td>
  1223. </tr>
  1224. <tr>
  1225. <th>归属地:</th>
  1226. <td><span class="ldlocation" style="padding-left: 5px;">未知</span></td>
  1227. </tr>
  1228. <tr>
  1229. <th>联系电话1:</th>
  1230. <td><input type="text" value="" class="ldtel1" /></td>
  1231. </tr>
  1232. <tr>
  1233. <th>联系电话2:</th>
  1234. <td><input type="text" value="" class="ldtel2" /></td>
  1235. </tr>
  1236. <tr>
  1237. <th>联系电话2:</th>
  1238. <td><input type="text" value="" class="ldtel3" /></td>
  1239. </tr>
  1240. <tr>
  1241. <th>来电时间:</th>
  1242. <td><span class="ldtime" style="padding-left: 5px;"></span></td>
  1243. </tr>
  1244. <tr>
  1245. <td></td>
  1246. <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>
  1247. </tr>
  1248. </table>
  1249. </div>
  1250. <!--右侧内容-->
  1251. <div class="ldtp-cr col-sm-9">
  1252. <ul class="ld-service clearfix">
  1253. <li style="border-bottom:1px solid #243747;" itemtype="0" class="cr-click">历史记录</li>
  1254. <!--<li style="border-bottom:1px solid #69cbd0;" itemtype="1" >售前咨询</li>
  1255. <li style="border-bottom:1px solid #f95a83;" itemtype="2">保修服务</li>-->
  1256. <li style="border-bottom:1px solid #243747;" itemtype="3">投诉建议</li>
  1257. </ul>
  1258. <div class="ld-sercon">
  1259. <div class="complain" style="display:block;">
  1260. <div class="ld-sercon-con clearfix">
  1261. <div class="Ps-chaxun">
  1262. <span>查询: <input type="text" id="old_startTime" class="laydate-icon" />&nbsp;——&nbsp;<input type="text" id="old_endTime" class="laydate-icon" /></span>
  1263. <span class="searchbtn"></span>
  1264. </div>
  1265. <div class="table-responsive col-sm-12 tbold" style="padding-left: 0;">
  1266. <table id="oldlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  1267. <thead>
  1268. <tr>
  1269. <th data-field="CallNumber">电话号码</th>
  1270. <th data-field="CallState" data-formatter="GetCallState">呼叫状态</th>
  1271. <!--<th data-field="IsDeal" data-formatter="GetDealState">是否处理</th>-->
  1272. <th data-field="UserCode">坐席工号</th>
  1273. <th data-field="UserName">坐席姓名</th>
  1274. <th data-field="TalkStartTime">通话开始时间</th>
  1275. <th data-field="TalkEndTime">通话结束时间</th>
  1276. <th data-field="TalkLongTime">通话时长(s)</th>
  1277. <th data-field="FilePath" data-formatter="setCode">录音</th>
  1278. </tr>
  1279. </thead>
  1280. <tbody class="list"></tbody>
  1281. </table>
  1282. </div>
  1283. </div>
  1284. </div>
  1285. <div class="complain" style="display:none;">
  1286. <div class="ld-sercon-con clearfix">
  1287. <div class="Ps-chaxun">
  1288. <span>查询: <input type="text" id="con_startTime" class="laydate-icon" />&nbsp;——&nbsp;<input type="text" id="con_endTime" class="laydate-icon" /></span>
  1289. <span class="searchbtn"></span>
  1290. <span class="addjl g" style="margin-left:5em;">新增工单</span>
  1291. </div>
  1292. <div class="table-responsive col-sm-12 tbold" style="padding-left: 0;">
  1293. <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  1294. <thead>
  1295. <tr>
  1296. <th data-field="WorkOrderID">工单编号</th>
  1297. <th data-field="State" data-formatter="GetStateName">工单状态</th>
  1298. <th data-field="Customer">客户姓名</th>
  1299. <th data-field="CustomerTel">客户电话</th>
  1300. <th data-field="Detail" data-formatter="GetCont">工单内容</th>
  1301. <th data-field="CreateUser">坐席工号</th>
  1302. <th data-field="CreateTime">创建时间</th>
  1303. </tr>
  1304. </thead>
  1305. <tbody class="list"></tbody>
  1306. </table>
  1307. </div>
  1308. </div>
  1309. <div class="Pre-second second-con addgd" style="display:none;">
  1310. <form>
  1311. <div class="form-group clearfix">
  1312. <span class="col-sm-1">
  1313. 投诉类型:
  1314. </span>
  1315. <span class="col-sm-3">
  1316. <select id="tslx">
  1317. <option selected="selected" value=""></option>
  1318. </select>
  1319. </span>
  1320. <span class="col-sm-1">
  1321. 投诉客户:
  1322. </span>
  1323. <span class="col-sm-3">
  1324. <input type="text" id="tskh" />
  1325. </span>
  1326. <span class="col-sm-1">
  1327. 联系电话:
  1328. </span>
  1329. <span class="col-sm-3">
  1330. <input type="text" id="tsdh" />
  1331. </span>
  1332. </div>
  1333. <div class="form-group clearfix">
  1334. <span class="col-sm-1">
  1335. 投诉部门:
  1336. </span>
  1337. <span class="col-sm-3">
  1338. <!--<select name="" id="zrbm"></select>-->
  1339. <input type="text" id="zrbmname" readonly="readonly" />
  1340. <input type="hidden" id="zrbm" />
  1341. <div class="zrbmmenu" style="display: none; position: absolute; z-index: 100;">
  1342. <ul id="zrbmtree" class="ztree"></ul>
  1343. </div>
  1344. </span>
  1345. <span class="col-sm-1">
  1346. 被投诉人:
  1347. </span>
  1348. <span class="col-sm-3">
  1349. <select name="" id="zrid">
  1350. <option selected="selected" value=""></option>
  1351. </select>
  1352. </span>
  1353. <!--<span class="col-sm-4">
  1354. 联系电话: <input type="text" />
  1355. </span>-->
  1356. </div>
  1357. <div class="form-group clearfix">
  1358. <span class="col-sm-1">
  1359. 接收部门:
  1360. </span>
  1361. <span class="col-sm-3">
  1362. <!--<select name="" id="clbm"></select>-->
  1363. <input type="text" id="clbmname" readonly="readonly" />
  1364. <input type="hidden" id="clbm" />
  1365. <div class="clbmmenu" style="display: none; position: absolute; z-index: 100;">
  1366. <ul id="clbmtree" class="ztree"></ul>
  1367. </div>
  1368. </span>
  1369. <span class="col-sm-1">
  1370. 接收人:
  1371. </span>
  1372. <span class="col-sm-3">
  1373. <select name="" id="clid">
  1374. <option selected="selected" value=""></option>
  1375. </select>
  1376. </span>
  1377. </div>
  1378. <div class="form-group clearfix">
  1379. <span class="col-sm-1">咨询内容:</span>
  1380. <span class="col-sm-11">
  1381. <textarea rows="5" id="cont"></textarea>
  1382. </span>
  1383. </div>
  1384. <!--<div class="form-group" style="padding-left: 15px;">
  1385. <span>解答内容:</span>
  1386. <textarea rows="5"></textarea>
  1387. </div>-->
  1388. <div class="bton addts">创建</div>
  1389. </form>
  1390. </div>
  1391. </div>
  1392. </div>
  1393. <!--右侧下方内容区-->
  1394. <div class="ldcr-bottom" style="margin-top:10px;">
  1395. <div class="ldcrb-top clearfix">
  1396. <ul class="clearfix">
  1397. <li style="border-bottom:1px solid #69cbd0; background: #000;color: #fff;">知识库</li>
  1398. <!--<li style="border-bottom:1px solid #f95a83;border-top:1px solid #000;border-right:1px solid #000;">更多内容</li>-->
  1399. </ul>
  1400. <div class="ld-search">
  1401. <div class="sear-inp">
  1402. <input type="text" class="search" placeholder="搜索问题、内容或者标题" />
  1403. </div>
  1404. <div class="searIcon">
  1405. </div>
  1406. </div>
  1407. </div>
  1408. <div class="detail-con">
  1409. <ul></ul>
  1410. </div>
  1411. </div>
  1412. </div>
  1413. </div>
  1414. <!--来电弹屏结束-->
  1415. <!--外呼键盘-->
  1416. <div class="WH animated fadeInDown hidens">
  1417. <!--top-->
  1418. <div class="clearflow Color">
  1419. <div class="WH-top">
  1420. <span>外呼信息</span>
  1421. <span class="closes"><a>X</a></span>
  1422. </div>
  1423. <div class="Cotent_box clearflow">
  1424. <!--左边键盘-->
  1425. <div class="KeyWord col-sm-4">
  1426. <div class="WH_input clearflow">
  1427. <div class="clearflow WH_Itop">
  1428. <input id="Result" type="text" class="fl" value="" maxlength="18" autofocus="autofocus" />
  1429. <input id="hidwhtype" type="hidden" value="" />
  1430. <i class="img fl hidens"></i>
  1431. </div>
  1432. </div>
  1433. <div class="Num_box clearflow">
  1434. <ul class="Num_ul clearflow">
  1435. <li>
  1436. <div>
  1437. <a>1</a>
  1438. </div>
  1439. </li>
  1440. <li>
  1441. <div>
  1442. <a>2</a>
  1443. </div>
  1444. </li>
  1445. <li>
  1446. <div>
  1447. <a>3</a>
  1448. </div>
  1449. </li>
  1450. <li>
  1451. <div>
  1452. <a>4</a>
  1453. </div>
  1454. </li>
  1455. <li>
  1456. <div>
  1457. <a>5</a>
  1458. </div>
  1459. </li>
  1460. <li>
  1461. <div>
  1462. <a>6</a>
  1463. </div>
  1464. </li>
  1465. <li>
  1466. <div>
  1467. <a>7</a>
  1468. </div>
  1469. </li>
  1470. <li>
  1471. <div>
  1472. <a>8</a>
  1473. </div>
  1474. </li>
  1475. <li>
  1476. <div>
  1477. <a>9</a>
  1478. </div>
  1479. </li>
  1480. <li>
  1481. <div>
  1482. <a>*</a>
  1483. </div>
  1484. </li>
  1485. <li>
  1486. <div>
  1487. <a>0</a>
  1488. </div>
  1489. </li>
  1490. <li>
  1491. <div>
  1492. <a>#</a>
  1493. </div>
  1494. </li>
  1495. <li class="Last_phone">
  1496. <div>
  1497. <a class="CallOut"></a>
  1498. </div>
  1499. </li>
  1500. </ul>
  1501. </div>
  1502. </div>
  1503. <!--右边图表-->
  1504. <div class="col-sm-8 Rbg">
  1505. <div class="bg bg_cotent">
  1506. <ul class="bg_title clearflow">
  1507. <li class="lactive" itemid="0">最近电话</li>
  1508. <li itemid="1">公司电话</li>
  1509. <li itemid="2">客户电话</li>
  1510. </ul>
  1511. <div class="bg_box phonediv">
  1512. <div class="cx">
  1513. <span class="blanks">
  1514. 电话号码:
  1515. <input type="text" id="lastphone" />
  1516. </span>
  1517. <span class="ty">搜索</span>
  1518. <!--<span class="ty">重置</span>-->
  1519. </div>
  1520. <div class="phone_bg" style="width: 100%;padding: 10px;">
  1521. <!--<table class="table table-bordered text-center">
  1522. <thead>
  1523. <tr>
  1524. <td class="tbth">电话号码</td>
  1525. <td class="tbth">呼叫状态</td>
  1526. <td class="tbth">是否处理</td>
  1527. <td class="tbth">坐席工号</td>
  1528. <td class="tbth">坐席姓名</td>
  1529. <td class="tbth">通话开始时间</td>
  1530. <td class="tbth">通话结束时间</td>
  1531. <td class="tbth">通话时长(s)</td>
  1532. <td class="tbth">录音</td>
  1533. </tr>
  1534. </thead>
  1535. <tbody class="phonelist"></tbody>
  1536. </table>-->
  1537. <table class="phonelist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  1538. <thead>
  1539. <tr>
  1540. <th data-field="CallNumber" data-formatter="view">电话号码</th>
  1541. <th data-field="CallState" data-formatter="GetCallState">呼叫状态</th>
  1542. <!--<th data-field="IsDeal" data-formatter="GetDealState">是否处理</th>-->
  1543. <th data-field="UserCode">坐席工号</th>
  1544. <th data-field="UserName">坐席姓名</th>
  1545. <th data-field="TalkStartTime">通话开始时间</th>
  1546. <th data-field="TalkEndTime">通话结束时间</th>
  1547. <th data-field="TalkLongTime">通话时长(s)</th>
  1548. <!--<th data-field="FilePath">录音</th>-->
  1549. </tr>
  1550. </thead>
  1551. </table>
  1552. </div>
  1553. </div>
  1554. <div class="bg_box phonediv " style="display:none;">
  1555. <div class="cx">
  1556. <span class="blanks">
  1557. 电话号码:
  1558. <input type="text" id="gsphone" />
  1559. </span>
  1560. <span class="blanks">
  1561. 名称:
  1562. <input type="text" id="gsname" />
  1563. </span>
  1564. <span class="ty">搜索</span>
  1565. <!--<span class="ty">重置</span>-->
  1566. </div>
  1567. <div class="phone_bg" style="width: 100%;padding: 10px;">
  1568. <!--<table class="table table-bordered text-center">
  1569. <thead>
  1570. <tr>
  1571. <td class="tbth">坐席工号</td>
  1572. <td class="tbth">坐席姓名</td>
  1573. <td class="tbth">分机号</td>
  1574. <td class="tbth">电话号码1</td>
  1575. <td class="tbth">电话号码2</td>
  1576. <td class="tbth">电话号码3</td>
  1577. </tr>
  1578. </thead>
  1579. <tbody class="phonelist"></tbody>
  1580. </table>-->
  1581. <table class="phonelist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  1582. <thead>
  1583. <tr>
  1584. <th data-field="F_UserCode">坐席工号</th>
  1585. <th data-field="F_UserName">坐席姓名</th>
  1586. <th data-field="F_WorkNumber" data-formatter="view">分机号</th>
  1587. <th data-field="F_Telephone" data-formatter="view">电话号码1</th>
  1588. <th data-field="F_Mobile" data-formatter="view">电话号码2</th>
  1589. <th data-field="F_HomePhone" data-formatter="view">电话号码3</th>
  1590. </tr>
  1591. </thead>
  1592. </table>
  1593. </div>
  1594. </div>
  1595. <div class="bg_box phonediv" style="display:none;">
  1596. <div class="cx">
  1597. <span class="blanks">
  1598. 电话号码:
  1599. <input type="text" id="khphone" />
  1600. </span>
  1601. <span class="blanks">
  1602. 名称:
  1603. <input type="text" id="khname" />
  1604. </span>
  1605. <span class="ty">搜索</span>
  1606. <!--<span class="ty">重置</span>-->
  1607. </div>
  1608. <div class="phone_bg" style="width: 100%;padding: 10px;">
  1609. <!--<table class="table table-bordered text-center">
  1610. <thead>
  1611. <tr>
  1612. <td class="tbth">名称</td>
  1613. <td class="tbth">电话号码1</td>
  1614. <td class="tbth">电话号码2</td>
  1615. <td class="tbth">电话号码3</td>
  1616. </tr>
  1617. </thead>
  1618. <tbody class="phonelist"></tbody>
  1619. </table>-->
  1620. <table class="phonelist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  1621. <thead>
  1622. <tr>
  1623. <th data-field="F_CustomerName">名称</th>
  1624. <th data-field="F_Telephone" data-formatter="view">电话号码1</th>
  1625. <th data-field="F_Mobile" data-formatter="view">电话号码2</th>
  1626. <th data-field="F_ChargeTelephone" data-formatter="view">电话号码3</th>
  1627. </tr>
  1628. </thead>
  1629. </table>
  1630. </div>
  1631. </div>
  1632. </div>
  1633. </div>
  1634. </div>
  1635. </div>
  1636. </div>
  1637. <!--下载框-->
  1638. <div class="t-shade">
  1639. <div class="shade_k">
  1640. <div class="shade_title">
  1641. <span>录音播放与下载<srong class="cknum"></srong></span>
  1642. <span class="setwin"><a>x</a></span>
  1643. </div>
  1644. <div class="shade_content">
  1645. <div class="Ly_box audiojs">
  1646. </div>
  1647. </div>
  1648. </div>
  1649. </div>
  1650. <!--修改密码开始-->
  1651. <div class="personal">
  1652. <div class="ptop clearFix">
  1653. <p class="ptl">个人中心</p>
  1654. <p class="ptr" title="关闭">x</p>
  1655. </div>
  1656. <div class="perBox " style="height:500px;">
  1657. <ul class="perTab clearFix">
  1658. <li class="sel">个人资料</li>
  1659. <li>修改头像</li>
  1660. </ul>
  1661. <div class="perTab_con">
  1662. <div class="geRen" style="display: block;">
  1663. <div class="grt clearFix">
  1664. <p class="grtl">基本资料</p>
  1665. <p class="grtr">
  1666. <i class="grqx" title="取消编辑"></i>
  1667. <i class="grbj" title="编辑资料"></i>
  1668. </p>
  1669. </div>
  1670. <table class="table grzl">
  1671. <tr>
  1672. <th>我的工号:</th>
  1673. <td><input type="text" class="mgh" readonly="readonly" /></td>
  1674. </tr>
  1675. <tr>
  1676. <th>我的姓名:</th>
  1677. <td><input type="text" class="mn" readonly="readonly" /></td>
  1678. </tr>
  1679. <tr>
  1680. <th>分机号:</th>
  1681. <td><input type="text" class="fenji" readonly="readonly" /></td>
  1682. </tr>
  1683. <!--<tr>
  1684. <th>外线号码:</th>
  1685. <td><input type="text" class="wxno" readonly="readonly" /></td>
  1686. </tr>-->
  1687. <tr>
  1688. <th>原密码:</th>
  1689. <td><input type="password" class="spwd zhidu" /></td>
  1690. </tr>
  1691. <tr>
  1692. <th>新密码:</th>
  1693. <td><input type="password" class="npwd zhidu" /></td>
  1694. </tr>
  1695. <tr>
  1696. <th>确认密码:</th>
  1697. <td><input type="password" class="epwd zhidu" /><span class="wrong">*密码不一致</span></td>
  1698. </tr>
  1699. <tr>
  1700. <th>手机号:</th>
  1701. <td><input type="text" class="mobile zhidu" /></td>
  1702. </tr>
  1703. <tr>
  1704. <th></th>
  1705. <td><button class="btnn grbtn">保存修改</button></td>
  1706. </tr>
  1707. </table>
  1708. </div>
  1709. <div class="crop ">
  1710. <div class="clearFix" style="margin-top: 45px;">
  1711. <div class="crop_left">
  1712. <div class="image-crop">
  1713. <img src="./img/gaga.jpg">
  1714. </div>
  1715. </div>
  1716. <div class="crop_right">
  1717. <h4>图片预览:</h4>
  1718. <div class="img-preview img-preview-sm"></div>
  1719. </div>
  1720. </div>
  1721. <!--<div class="btn-group">
  1722. <label title="上传图片" for="inputImage" class="btn btn-primary">
  1723. <input type="file" accept="image/*" name="file" id="inputImage" class="hide"> 本地上传
  1724. </label>-->
  1725. <!--<label title="下载图片" id="download" class="btn btn-primary">下载</label>-->
  1726. <!--</div>
  1727. <div class="btn-group">-->
  1728. <!--<button class="btn btn-white" id="zoomIn" type="button">放大</button>-->
  1729. <!--<button class="btn btn-white" id="zoomOut" type="button">缩小</button>-->
  1730. <!--<button class="btn btn-white" id="rotateLeft" type="button">左旋转</button>-->
  1731. <!--<button class="btn btn-white" id="rotateRight" type="button">右旋转</button>-->
  1732. <!--<button class="btn btn-warning " id="setDrag" type="button">裁剪</button>
  1733. </div>-->
  1734. <div class="anniu" style="margin-top: 75px;text-align: center;">
  1735. <label title="上传图片" for="inputImage" class="btnn" style="margin-right: 100px;">
  1736. <input type="file" accept="image/jpeg,image/jpg,image/png" name="file" id="inputImage" class="hide"> 本地上传
  1737. </label>
  1738. <!--<button class="btn btn-warning " id="setDrag" type="button">裁剪</button>-->
  1739. <button class="btnn" id="zoomIn" type="button">放大</button>
  1740. <button class="btnn" id="zoomOut" type="button">缩小</button>
  1741. <button class="btnn" id="rotateLeft" type="button">左旋转</button>
  1742. <button class="btnn" id="rotateRight" type="button">右旋转</button>
  1743. <button class="btnn" id="setDrag" type="button">确定保存</button>
  1744. </div>
  1745. </div>
  1746. </div>
  1747. </div>
  1748. </div>
  1749. <!--修改密码结束-->
  1750. <script src="./js/plugins/metisMenu/jquery.metisMenu.js"></script>
  1751. <script src="./js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
  1752. <script src="./js/plugins/layer/layer.min.js"></script>
  1753. <script src="./js/hplus.min.js?v=4.1.0"></script>
  1754. <script src="./js/contabs.min.js"></script>
  1755. <script src="./js/plugins/pace/pace.min.js"></script>
  1756. <script src="./js/plugins/iCheck/icheck.min.js"></script>
  1757. <script src="./css/laydate/laydate.js"></script>
  1758. <script src="./audiojs/audio.min.js"></script>
  1759. <script src="./js/main.js"></script>
  1760. <script src="./js/zTree/jquery.ztree.core.js"></script>
  1761. <script src="./js/plugins/datapicker/bootstrap-datepicker.js"></script>
  1762. <script src="./js/plugins/cropper/cropper.min.js"></script>
  1763. <script>
  1764. $(document).ready(function() {
  1765. if(/mobile/i.test(navigator.userAgent) || /android/i.test(navigator.userAgent)) {
  1766. $(".title-box").hide();
  1767. }
  1768. obj.AgentExten = $.cookie("extno");
  1769. $(".Gnum").text('(' + obj.AgentExten + ')');
  1770. $.getJSON(huayi.config.callcenter_url + 'UserAccount/GetNowUser', {
  1771. "token": $.cookie("token")
  1772. }, function(result) {
  1773. if(result.state.toLowerCase() == "success") {
  1774. $(".username").text(result.data.user.F_UserName);
  1775. if(result.data.role) {
  1776. console.log(result.data);
  1777. $(".rolename").text(result.data.role.F_RoleName);
  1778. }
  1779. $(".yhtx").attr("src", huayi.config.callcenter_url.substr(0, huayi.config.callcenter_url.length - 1) + result.data.user.F_See);
  1780. obj.AgentID = result.data.user.F_UserCode;
  1781. //obj.AgentExten = result.data.user.F_WorkNumber;
  1782. if (result.data.user.F_SeatFlag) {
  1783. Connect();
  1784. heartbeat = setInterval(function () { Heart() }, 60000);
  1785. $("#top-search").show();
  1786. $(".zts").show();
  1787. }
  1788. }
  1789. })
  1790. //分机号
  1791. //话务相关
  1792. $("#top-search li").click(function() {
  1793. if($(this).find("i").hasClass("active")) {
  1794. if(obj.AgentID) {
  1795. var fun = $(this).attr("datafun");
  1796. obj.Type = fun;
  1797. switch(fun) {
  1798. case "Login":
  1799. obj.AgentGroup = "364";
  1800. obj.AgentType = "0";
  1801. Send();
  1802. break; //签入
  1803. case "MakeCall":
  1804. $("#hidwhtype").val(fun);
  1805. whtp();
  1806. //obj.DestinationNumber = "1012";
  1807. break; //外呼
  1808. case "Meeting":
  1809. $("#hidwhtype").val(fun);
  1810. whtp();
  1811. //obj.DestinationNumber = "1012";
  1812. break; //多方通话
  1813. case "Transfer":
  1814. $("#hidwhtype").val(fun);
  1815. whtp();
  1816. //obj.DestinationNumber = "1012";
  1817. break; //转移
  1818. default:
  1819. Send();
  1820. break;
  1821. }
  1822. }
  1823. }
  1824. });
  1825. //知识库查询
  1826. $(".searIcon").click(function() {
  1827. loadZSK();
  1828. })
  1829. //历史记录查询
  1830. $(".searchbtn").click(function() {
  1831. loadOld();
  1832. })
  1833. //新增记录
  1834. $(".addjl").click(function() {
  1835. var type = $(".ldtp-cr ul.ld-service .cr-click").attr("itemtype");
  1836. if(type == '3') {
  1837. $(".addgd").show();
  1838. $(".tbold").hide();
  1839. }
  1840. })
  1841. //关闭外呼弹屏
  1842. $(".closes").click(function() {
  1843. $(".WH").removeClass("fadeInDown").addClass("fadeOutUp");
  1844. $(".WH").addClass("hidens");
  1845. })
  1846. //外呼呼出
  1847. $(".CallOut").click(function(event) {
  1848. event.stopPropagation();
  1849. if($("#Result").val()) {
  1850. obj.Type = $("#hidwhtype").val();
  1851. obj.DestinationNumber = $("#Result").val();
  1852. Send();
  1853. }
  1854. })
  1855. //外呼弹屏数字键盘样式
  1856. $(".Num_ul div").mousedown(function() {
  1857. $(this).addClass("actives");
  1858. $(".img").removeClass("hidens");
  1859. }).mouseup(function() {
  1860. $(this).removeClass("actives");
  1861. })
  1862. //外呼弹屏数字键盘号码输入
  1863. $(".Num_ul li div").click(function() {
  1864. var rt = $("#Result").val() + "";
  1865. if(rt.length < 18) {
  1866. rt = rt + $(this).find("a").text();
  1867. $("#Result").val(rt);
  1868. }
  1869. });
  1870. //外呼弹屏数字键盘号码截取
  1871. $(".img").click(function() {
  1872. var Result = $("#Result").val() + "";
  1873. Result = Result.substr(0, Result.length - 1);
  1874. $("#Result").val(Result);
  1875. if(Result.length == 0) {
  1876. $(".img").addClass("hidens");
  1877. }
  1878. })
  1879. ////上传头像
  1880. //$(".yhtx").click(function () {
  1881. // $("#upFile").trigger("click");
  1882. //})
  1883. //$("#upFile").change(function () {
  1884. // uploadtx();
  1885. //})
  1886. //外呼电话列表
  1887. $(".bg_title li").click(function() {
  1888. $(this).addClass("lactive").siblings().removeClass("lactive");
  1889. loadWH();
  1890. })
  1891. $(".ty").click(function() {
  1892. loadWH();
  1893. })
  1894. //加载部门人员
  1895. $("#zrbmname").click(function() {
  1896. if($(".zrbmmenu").is(":hidden")) {
  1897. $(".zrbmmenu").show();
  1898. } else {
  1899. $(".zrbmmenu").hide();
  1900. }
  1901. })
  1902. $("#clbmname").click(function() {
  1903. if($(".clbmmenu").is(":hidden")) {
  1904. $(".clbmmenu").show();
  1905. } else {
  1906. $(".clbmmenu").hide();
  1907. }
  1908. })
  1909. $(".col-sm-3").mouseleave(function() {
  1910. $(".ztree").parent().hide();
  1911. })
  1912. //$("#zrbm").change(function () {
  1913. // getRY($("#zrid"), $("#zrbm").val());
  1914. //})
  1915. //$("#clbm").change(function () {
  1916. // getRY($("#clid"), $("#clbm").val());
  1917. //})
  1918. //创建投诉工单
  1919. $(".addts").click(function() {
  1920. var tslx = $("#tslx").val();
  1921. var tskh = $("#tskh").val();
  1922. var tsdh = $("#tsdh").val();
  1923. var zrbm = $("#zrbm").val();
  1924. var zrid = $("#zrid").val();
  1925. var clbm = $("#clbm").val();
  1926. var clid = $("#clid").val();
  1927. var khid = $("#khid").val();
  1928. var type = "3";
  1929. var cont = $("#cont").val();
  1930. var callid = $(".hidCallID").val();
  1931. if(!tslx) {
  1932. layer.confirm('请选择投诉类型!', {
  1933. btn: ['确定']
  1934. });
  1935. return;
  1936. }
  1937. if(!tskh) {
  1938. layer.confirm('请输入客户名称!', {
  1939. btn: ['确定']
  1940. });
  1941. return;
  1942. }
  1943. if(!tsdh) {
  1944. layer.confirm('请输入客户电话!', {
  1945. btn: ['确定']
  1946. });
  1947. return;
  1948. }
  1949. if(!cont) {
  1950. layer.confirm('请输入工单内容!', {
  1951. btn: ['确定']
  1952. });
  1953. return;
  1954. }
  1955. $.post(huayi.config.callcenter_url + 'CallInScreen/AddWorkOrder', {
  1956. tslx: tslx,
  1957. tskh: tskh,
  1958. tsdh: tsdh,
  1959. zrbm: zrbm,
  1960. zrid: zrid,
  1961. khid: khid,
  1962. clbm: clbm,
  1963. clid: clid,
  1964. type: type,
  1965. cont: cont,
  1966. callid: callid,
  1967. "token": $.cookie("token")
  1968. }, function(result) {
  1969. result = $.parseJSON(result);
  1970. if(result.state.toLowerCase() == "success") {
  1971. loadOld();
  1972. $("#zrbmname").val("");
  1973. $("#zrbm").val("");
  1974. $("#zrid").empty()
  1975. $("#clbmname").val("");
  1976. $("#clbm").val("");
  1977. $("#clid").empty()
  1978. $("#cont").val("");
  1979. layer.msg("创建工单成功");
  1980. }
  1981. })
  1982. })
  1983. //加载知识库
  1984. loadZSK();
  1985. //加载左侧导航菜单
  1986. //loadMenu();
  1987. workcount();
  1988. setInterval(function() {
  1989. workcount();
  1990. }, huayi.config.menuworktime);
  1991. //客户资料
  1992. $('.khzl tbody>tr>td input').attr('readonly', true);
  1993. $('.save').hide();
  1994. $('.cancel').hide();
  1995. $('.edit').click(function() {
  1996. $('.save').show();
  1997. $('.cancel').show();
  1998. $('.edit').hide();
  1999. $('.khzl tbody>tr>td input').attr('readonly', false);
  2000. $('.khzl tbody>tr>td input').css('border-bottom', "1px solid #b3b3b3");
  2001. })
  2002. $('.cancel').click(function() {
  2003. $('.khzl tbody>tr>td input').attr('readonly', true);
  2004. $('.khzl tbody>tr>td input').css('border', "0");
  2005. $('.save').hide();
  2006. $('.cancel').hide();
  2007. $('.edit').show();
  2008. })
  2009. //保存客户
  2010. $(".save").click(function() {
  2011. var khid = $("#khid").val();
  2012. var khmc = $(".khmc").val();
  2013. var khbh = $(".khbh").val();
  2014. var tel1 = $(".ldtel1").val();
  2015. var tel2 = $(".ldtel2").val();
  2016. var tel3 = $(".ldtel3").val();
  2017. if(!khmc) {
  2018. layer.confirm('请输入客户名称!', {
  2019. btn: ['确定']
  2020. });
  2021. return;
  2022. }
  2023. $.post(huayi.config.callcenter_url + 'Customer/AddCustomer', {
  2024. cid: khid,
  2025. name: khmc,
  2026. code: khbh,
  2027. mobile: tel1,
  2028. telphone: tel2,
  2029. chargetelephone: tel3,
  2030. "token": $.cookie("token")
  2031. }, function(result) {
  2032. result = $.parseJSON(result);
  2033. if(result.state.toLowerCase() == "success") {
  2034. $("#khid").val(result.data);
  2035. $("#tskh").val(khmc);
  2036. layer.msg("保存成功");
  2037. $('.save').hide();
  2038. $('.cancel').hide();
  2039. $('.edit').show();
  2040. }
  2041. })
  2042. })
  2043. //关闭录音弹出
  2044. $(".setwin").click(function() {
  2045. $(".t-shade").removeClass("cx");
  2046. $('audio')[0].pause();
  2047. });
  2048. })
  2049. //菜单数字
  2050. function workcount() {
  2051. $.getJSON(huayi.config.callcenter_url + 'Index/GetWorkOrderCount', {
  2052. "token": $.cookie("token")
  2053. }, function(result) {
  2054. if(result.state.toLowerCase() == "success") {
  2055. $(".dpd").text(result.data.dpd);
  2056. $(".djd").text(result.data.djd);
  2057. $(".dcl").text(result.data.dcl);
  2058. }
  2059. })
  2060. }
  2061. //上传头像
  2062. function uploadtx() {
  2063. if(document.getElementById("upFile").files.length > 0) {
  2064. var formData = new FormData();
  2065. formData.append("upFile", document.getElementById("upFile").files[0]);
  2066. formData.append("token", $.cookie("token"));
  2067. $.ajax({
  2068. url: huayi.config.callcenter_url + "Index/UploadTX",
  2069. type: "POST",
  2070. data: formData,
  2071. /**
  2072. *必须false才会自动加上正确的Content-Type
  2073. */
  2074. contentType: false,
  2075. /**
  2076. * 必须false才会避开jQuery对 formdata 的默认处理
  2077. * XMLHttpRequest会对 formdata 进行正确的处理
  2078. */
  2079. processData: false,
  2080. success: function(result) {
  2081. document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
  2082. $("#upFile").change(function() {
  2083. uploadtx();
  2084. });
  2085. var r = $.parseJSON(result);
  2086. if(r.state.toLowerCase() == "success") {
  2087. $(".yhtx").attr("src", huayi.config.callcenter_url.substr(0, huayi.config.callcenter_url.length - 1) + r.data);
  2088. layer.msg("上传成功");
  2089. }
  2090. }
  2091. });
  2092. } else {
  2093. layer.confirm('请上传文件!', {
  2094. btn: ['确定']
  2095. });
  2096. }
  2097. }
  2098. //获取历史记录
  2099. function loadOld() {
  2100. $(".addgd").hide();
  2101. $(".tbold").show();
  2102. var type = $(".ldtp-cr ul.ld-service .cr-click").attr("itemtype");
  2103. if(type != '0') {
  2104. $(".complain").hide();
  2105. $(".complain").eq(1).show();
  2106. //先销毁表格
  2107. $('#orderlist').bootstrapTable('destroy');
  2108. //初始化表格,动态从服务器加载数据
  2109. $("#orderlist").bootstrapTable({
  2110. method: "get", //使用get请求到服务器获取数据
  2111. url: huayi.config.callcenter_url + "WorkOrder/GetListAll", //获取数据的Servlet地址
  2112. striped: true, //表格显示条纹
  2113. pagination: true, //启动分页
  2114. pageSize: 5, //每页显示的记录数
  2115. pageNumber: 1, //当前第几页
  2116. pageList: [5, 10, 50, 100], //记录数可选列表
  2117. search: false, //是否启用查询
  2118. showColumns: false, //显示下拉框勾选要显示的列
  2119. showRefresh: false, //显示刷新按钮
  2120. sidePagination: "server", //表示服务端请求
  2121. //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
  2122. //设置为limit可以获取limit, offset, search, sort, order
  2123. queryParamsType: "undefined",
  2124. queryParams: function queryParams(params) { //设置查询参数
  2125. var param = {
  2126. page: params.pageNumber,
  2127. pagesize: params.pageSize,
  2128. tel: $(".hidTel").val(),
  2129. type: type,
  2130. starttime: $("#con_startTime").val(),
  2131. endtime: $("#con_endTime").val(),
  2132. token: $.cookie("token")
  2133. };
  2134. return param;
  2135. },
  2136. onLoadSuccess: function() { //加载成功时执行
  2137. //layer.msg("加载成功");
  2138. },
  2139. onLoadError: function() { //加载失败时执行
  2140. //layer.msg("加载数据失败", { time: 1500, icon: 2 });
  2141. }
  2142. });
  2143. } else {
  2144. $(".complain").hide();
  2145. $(".complain").eq(0).show();
  2146. //先销毁表格
  2147. $('#oldlist').bootstrapTable('destroy');
  2148. //初始化表格,动态从服务器加载数据
  2149. $("#oldlist").bootstrapTable({
  2150. method: "get", //使用get请求到服务器获取数据
  2151. url: huayi.config.callcenter_url + "CallInScreen/GetOldList", //获取数据的Servlet地址
  2152. striped: true, //表格显示条纹
  2153. pagination: true, //启动分页
  2154. pageSize: 5, //每页显示的记录数
  2155. pageNumber: 1, //当前第几页
  2156. pageList: [5, 10, 50, 100], //记录数可选列表
  2157. search: false, //是否启用查询
  2158. showColumns: false, //显示下拉框勾选要显示的列
  2159. showRefresh: false, //显示刷新按钮
  2160. sidePagination: "server", //表示服务端请求
  2161. //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
  2162. //设置为limit可以获取limit, offset, search, sort, order
  2163. queryParamsType: "undefined",
  2164. queryParams: function queryParams(params) { //设置查询参数
  2165. var param = {
  2166. page: params.pageNumber,
  2167. pagesize: params.pageSize,
  2168. tel: $(".hidTel").val(),
  2169. starttime: $("#old_startTime").val(),
  2170. endtime: $("#old_endTime").val(),
  2171. token: $.cookie("token")
  2172. };
  2173. return param;
  2174. },
  2175. onLoadSuccess: function() { //加载成功时执行
  2176. //layer.msg("加载成功");
  2177. },
  2178. onLoadError: function() { //加载失败时执行
  2179. //layer.msg("加载数据失败", { time: 1500, icon: 2 });
  2180. }
  2181. });
  2182. }
  2183. if(type == '3') {
  2184. getLX($("#tslx"), "TSLX");
  2185. getBM($("#zrbmtree"));
  2186. getBM($("#clbmtree"));
  2187. }
  2188. }
  2189. function GetCallState(val) {
  2190. if(val == '1') {
  2191. return '已接通';
  2192. } else {
  2193. return '未接通';
  2194. }
  2195. }
  2196. //音频
  2197. function setCode(val) {
  2198. if(val) {
  2199. return '<div class="imgs" style="cursor: pointer;">' +
  2200. '<img src="./img/vice.png" alt="" onclick= ck(this) item="' + val + '" />' +
  2201. '</div>';
  2202. } else {
  2203. return '';
  2204. }
  2205. }
  2206. //录音
  2207. function ck(val) {
  2208. var path = $(val).attr("item");
  2209. $(".t-shade").addClass("cx");
  2210. $(".Ly_box").empty();
  2211. $(".down").attr("href", path);
  2212. $('<audio style="width: 100%;"class=" " src="' + path + '" loop="loop" controls="controls" ></audio>').appendTo(".Ly_box");
  2213. }
  2214. function GetDealState(val) {
  2215. if(val == '1') {
  2216. return '已处理';
  2217. } else {
  2218. return '未处理';
  2219. }
  2220. }
  2221. function GetStateName(val) {
  2222. var str = '';
  2223. switch(val + '') {
  2224. case '0':
  2225. str = "待指派";
  2226. break;
  2227. case '1':
  2228. str = "处理中";
  2229. break;
  2230. case '2':
  2231. str = "已完结";
  2232. break;
  2233. }
  2234. return str;
  2235. }
  2236. function GetCont(val) {
  2237. var str = '<div '
  2238. if(val.length > 20) {
  2239. str = str + ' title="' + val + '" ';
  2240. val = val.substr(0, 20) + "...";
  2241. }
  2242. return str + '>' + val + '</div>';
  2243. }
  2244. //获取知识库
  2245. function loadZSK() {
  2246. $.getJSON(huayi.config.callcenter_url + 'CallInScreen/GetZSKList', {
  2247. "keywords": $(".search").val(),
  2248. "token": $.cookie("token")
  2249. }, function(result) {
  2250. if(result.state.toLowerCase() == "success") {
  2251. $(".ldcr-bottom .detail-con ul").empty();
  2252. $(result.data).each(function(i, n) {
  2253. var html = '<li>' +
  2254. ' <div class="zhishi-title clearfix">' +
  2255. ' <a href="javascript:void(0);" >' + n.F_Title + '</a>' +
  2256. ' <em >' + n.F_CreateOn + '</em>' +
  2257. ' </div>' +
  2258. ' <div class="explancon">' +
  2259. n.F_Content +
  2260. ' </div>' +
  2261. '</li>';
  2262. $(html).appendTo($(".ldcr-bottom .detail-con ul")).find(".zhishi-title").click(function(event) {
  2263. event.stopPropagation();
  2264. if($(this).hasClass("active")) {
  2265. $(this).removeClass("active")
  2266. } else {
  2267. $(".zhishi-title").removeClass("active");
  2268. $(this).addClass("active");
  2269. }
  2270. })
  2271. })
  2272. }
  2273. })
  2274. }
  2275. //获取类型
  2276. function getLX(obj, type) {
  2277. obj.empty();
  2278. $.getJSON(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByFlag', {
  2279. "flag": type,
  2280. "token": $.cookie("token")
  2281. }, function(result) {
  2282. if(result.state.toLowerCase() == "success") {
  2283. $(result.data).each(function(i, n) {
  2284. obj.append('<option value="' + n.F_DictionaryValueId + '">' + n.F_Name + '</option>');
  2285. })
  2286. }
  2287. })
  2288. }
  2289. //获取部门
  2290. var setting = {
  2291. data: {
  2292. key: {
  2293. name: "F_DeptName"
  2294. },
  2295. simpleData: {
  2296. enable: true,
  2297. idKey: "F_DeptId",
  2298. pIdKey: "F_ParentId",
  2299. rootPId: 0
  2300. }
  2301. },
  2302. callback: {
  2303. onClick: zTreeOnClick
  2304. }
  2305. };
  2306. function getBM(obj) {
  2307. $.getJSON(huayi.config.callcenter_url + 'Department/GetAllList', {
  2308. "token": $.cookie("token")
  2309. }, function(result) {
  2310. if(result.state.toLowerCase() == "success") {
  2311. $.fn.zTree.init(obj, setting, result.data);
  2312. }
  2313. })
  2314. }
  2315. function zTreeOnClick(event, treeId, treeNode) {
  2316. var obj = $("#" + event.data.treeId).parent();
  2317. obj.parent().find("input").eq(0).val(treeNode.F_DeptName);
  2318. obj.parent().find("input").eq(1).val(treeNode.F_DeptId);
  2319. obj.hide();
  2320. if(event.data.treeId == "zrbmtree") {
  2321. getRY($("#zrid"), $("#zrbm").val());
  2322. }
  2323. if(event.data.treeId == "clbmtree") {
  2324. getRY($("#clid"), $("#clbm").val());
  2325. }
  2326. };
  2327. //获取人员
  2328. function getRY(obj, deptid) {
  2329. obj.empty();
  2330. obj.append('<option value="">--请选择--</option>');
  2331. $.getJSON(huayi.config.callcenter_url + 'UserAccount/GetDeptUserList', {
  2332. "deptid": deptid,
  2333. "token": $.cookie("token")
  2334. }, function(result) {
  2335. if(result.state.toLowerCase() == "success") {
  2336. $(result.data).each(function(i, n) {
  2337. obj.append('<option value="' + n.F_UserId + '">' + n.F_UserName + '</option>');
  2338. })
  2339. }
  2340. })
  2341. }
  2342. //外呼弹屏
  2343. function whtp() {
  2344. $("#Result").val("");
  2345. if($(".WH").hasClass("fadeOutUp")) {
  2346. $(".WH").removeClass("fadeOutUp").addClass("fadeInDown");
  2347. }
  2348. $(".WH").removeClass("hidens");
  2349. $('.first').removeClass('first');
  2350. $('.WH').addClass('first');
  2351. loadWH();
  2352. }
  2353. //加载外呼电话列表
  2354. function loadWH() {
  2355. $(".phonediv").hide();
  2356. var n = $(".bg_title .lactive").attr("itemid");
  2357. switch(n) {
  2358. case '0':
  2359. var obj = $(".phonediv").eq(0);
  2360. obj.show();
  2361. //先销毁表格
  2362. var table = obj.find(".phonelist");
  2363. table.bootstrapTable('destroy');
  2364. //初始化表格,动态从服务器加载数据
  2365. table.bootstrapTable({
  2366. method: "get", //使用get请求到服务器获取数据
  2367. url: huayi.config.callcenter_url + "CallOutScreen/GetPhoneList", //获取数据的Servlet地址
  2368. striped: true, //表格显示条纹
  2369. pagination: true, //启动分页
  2370. pageSize: 10, //每页显示的记录数
  2371. pageNumber: 1, //当前第几页
  2372. pageList: [10, 20, 50, 100], //记录数可选列表
  2373. search: false, //是否启用查询
  2374. showColumns: false, //显示下拉框勾选要显示的列
  2375. showRefresh: false, //显示刷新按钮
  2376. sidePagination: "server", //表示服务端请求
  2377. //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
  2378. //设置为limit可以获取limit, offset, search, sort, order
  2379. queryParamsType: "undefined",
  2380. queryParams: function queryParams(params) { //设置查询参数
  2381. var param = {
  2382. page: params.pageNumber,
  2383. pagesize: params.pageSize,
  2384. tel: $("#lastphone").val(),
  2385. token: $.cookie("token")
  2386. };
  2387. return param;
  2388. },
  2389. onLoadSuccess: function() { //加载成功时执行
  2390. //layer.msg("加载成功");
  2391. },
  2392. onLoadError: function() { //加载失败时执行
  2393. //layer.msg("加载数据失败", { time: 1500, icon: 2 });
  2394. }
  2395. });
  2396. break;
  2397. case '1':
  2398. var obj = $(".phonediv").eq(1);
  2399. obj.show();
  2400. var table = obj.find(".phonelist");
  2401. table.bootstrapTable('destroy');
  2402. //初始化表格,动态从服务器加载数据
  2403. table.bootstrapTable({
  2404. method: "get", //使用get请求到服务器获取数据
  2405. url: huayi.config.callcenter_url + "CallOutScreen/GetUserList", //获取数据的Servlet地址
  2406. striped: true, //表格显示条纹
  2407. pagination: true, //启动分页
  2408. pageSize: 10, //每页显示的记录数
  2409. pageNumber: 1, //当前第几页
  2410. pageList: [10, 20, 50, 100], //记录数可选列表
  2411. search: false, //是否启用查询
  2412. showColumns: false, //显示下拉框勾选要显示的列
  2413. showRefresh: false, //显示刷新按钮
  2414. sidePagination: "server", //表示服务端请求
  2415. //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
  2416. //设置为limit可以获取limit, offset, search, sort, order
  2417. queryParamsType: "undefined",
  2418. queryParams: function queryParams(params) { //设置查询参数
  2419. var param = {
  2420. page: params.pageNumber,
  2421. pagesize: params.pageSize,
  2422. tel: $("#gsphone").val(),
  2423. name: $("#gsname").val(),
  2424. token: $.cookie("token")
  2425. };
  2426. return param;
  2427. },
  2428. onLoadSuccess: function() { //加载成功时执行
  2429. //layer.msg("加载成功");
  2430. },
  2431. onLoadError: function() { //加载失败时执行
  2432. //layer.msg("加载数据失败", { time: 1500, icon: 2 });
  2433. }
  2434. });
  2435. break;
  2436. case '2':
  2437. var obj = $(".phonediv").eq(2);
  2438. obj.show();
  2439. var table = obj.find(".phonelist");
  2440. table.bootstrapTable('destroy');
  2441. //初始化表格,动态从服务器加载数据
  2442. table.bootstrapTable({
  2443. method: "get", //使用get请求到服务器获取数据
  2444. url: huayi.config.callcenter_url + "CallOutScreen/GetCustomerList", //获取数据的Servlet地址
  2445. striped: true, //表格显示条纹
  2446. pagination: true, //启动分页
  2447. pageSize: 10, //每页显示的记录数
  2448. pageNumber: 1, //当前第几页
  2449. pageList: [10, 20, 50, 100], //记录数可选列表
  2450. search: false, //是否启用查询
  2451. showColumns: false, //显示下拉框勾选要显示的列
  2452. showRefresh: false, //显示刷新按钮
  2453. sidePagination: "server", //表示服务端请求
  2454. //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
  2455. //设置为limit可以获取limit, offset, search, sort, order
  2456. queryParamsType: "undefined",
  2457. queryParams: function queryParams(params) { //设置查询参数
  2458. var param = {
  2459. page: params.pageNumber,
  2460. pagesize: params.pageSize,
  2461. tel: $("#khphone").val(),
  2462. name: $("#khname").val(),
  2463. token: $.cookie("token")
  2464. };
  2465. return param;
  2466. },
  2467. onLoadSuccess: function() { //加载成功时执行
  2468. //layer.msg("加载成功");
  2469. },
  2470. onLoadError: function() { //加载失败时执行
  2471. //layer.msg("加载数据失败", { time: 1500, icon: 2 });
  2472. }
  2473. });
  2474. break;
  2475. }
  2476. }
  2477. function view(val) {
  2478. var str = '';
  2479. if(val) {
  2480. str = '<a onclick="call(\'' + val + '\')">' + val + '</a>';
  2481. }
  2482. return str;
  2483. }
  2484. function call(val) {
  2485. $("#Result").val(val);
  2486. $(".img").removeClass("hidens");
  2487. }
  2488. function logout() {
  2489. $.ajax({
  2490. url: huayi.config.callcenter_url + "Login/Logout",
  2491. data: {
  2492. token: $.cookie("token")
  2493. },
  2494. dataType: "json",
  2495. success: function(res) {
  2496. if(res.state) {
  2497. location.href = "./login.html";
  2498. }
  2499. }
  2500. });
  2501. }
  2502. //加载左侧导航菜单
  2503. //function loadMenu() {
  2504. // $.getJSON(huayi.config.callcenter_url+'Index/GetMenu', { "token": $.cookie("token") }, function (result) {
  2505. // if (result.state.toLowerCase() == "success") {
  2506. // var json = res.data;
  2507. // var menu = [];
  2508. // var page = [];
  2509. // //遍历加载菜单和页面
  2510. // for (var i in json) {
  2511. // if (json[i].Type == 1) {
  2512. // menu.push(json[i]);
  2513. // } else if (json[i].Type == 0) {
  2514. // page.push(json[i]);
  2515. // }
  2516. // }
  2517. // for (var fir in menu) {
  2518. // var second;
  2519. // for (var sec in menu) {
  2520. // if (menu[fir].Id == menu[sec].ParentId) {
  2521. // second = menu[sec];
  2522. // }
  2523. // }
  2524. // if (second) {
  2525. // } else {
  2526. // $("#side-menu").append("<li><a href='#'><i class='fa iconfont'>&#xe669;</i><span class='nav-label'>" + menu[fir].Name + "</span><span class='fa arrow'></span></a></li>")
  2527. // if (page.length > 0) {
  2528. // $("#side-menu li:last").append("<ul class='nav nav-second-level'></ul>");
  2529. // for (var p in page) {
  2530. // if (page[p].ParentId == menu[fir].Id) {
  2531. // var item = page[p];
  2532. // var href = item.Controller.length <= 0 || item.Action.length <= 0 ?
  2533. // "#" : "/" + item.Controller + "/" + item.Action;
  2534. // $("#side-menu li:last .nav-second-level")
  2535. // .append("<li><a class='J_menuItem' href='" + href + "'>" + item.Name + "</a></li>")
  2536. // }
  2537. // }
  2538. // }
  2539. // }
  2540. // }
  2541. // }
  2542. // else {
  2543. // window.location.href = "/login.html";
  2544. // }
  2545. // })
  2546. //}
  2547. //修改密码开始
  2548. $('.shezhi').click(function() {
  2549. $('.personal').show();
  2550. $.ajax({
  2551. type: "get",
  2552. url: huayi.config.callcenter_url + "UserAccount/GetNowUser",
  2553. async: true,
  2554. dataType: 'json',
  2555. data: {
  2556. token: $.cookie("token")
  2557. },
  2558. success: function(result) {
  2559. if(result.state.toLowerCase() == "success") {
  2560. var con = result.data.user;
  2561. console.log(con)
  2562. $('.mgh').val(con.F_UserId);
  2563. $('.mn').val(con.F_UserName);
  2564. $('.mobile').val(con.F_Mobile);
  2565. $('.fenji').val($.cookie("extno"));
  2566. //$('.wxno').val(con.F_WXNo);
  2567. // $('.spwd').val(con.F_Password);
  2568. }
  2569. }
  2570. });
  2571. })
  2572. //tab切换
  2573. $('.perTab li').click(function() {
  2574. $(this).addClass('sel').siblings().removeClass('sel');
  2575. var index = $(this).index();
  2576. $('.perTab_con').children('div').eq(index).show().siblings().hide();
  2577. })
  2578. //编辑个人资料
  2579. $('.grzl tbody>tr>td input.zhidu').attr('readonly', true);
  2580. $('.grbj').click(function() {
  2581. $('.grzl tbody>tr>td input.zhidu').attr('readonly', false);
  2582. $('.grzl tbody>tr>td input.zhidu').css('border-bottom', "1px solid #b3b3b3");
  2583. })
  2584. //取消编辑
  2585. $('.grqx').click(function() {
  2586. $('.grzl tbody>tr>td input.zhidu').attr('readonly', true);
  2587. $('.grzl tbody>tr>td input.zhidu').css('border-bottom', "none");
  2588. })
  2589. //关闭按钮
  2590. $('.ptr').click(function() {
  2591. $('.personal').hide();
  2592. })
  2593. $('.grbtn').click(function() {
  2594. var gh = $('.mgh').val();
  2595. var xm = $('.mn').val();
  2596. var ymm = $('.spwd').val();
  2597. var xmm = $('.npwd').val();
  2598. var qmm = $('.epwd').val();
  2599. if(xmm !== qmm) {
  2600. $('.wrong').show();
  2601. $('.npwd').val('')
  2602. $('.epwd').val('')
  2603. } else if(xmm == '') {
  2604. layer.msg("密码不允许为空!");
  2605. } else {
  2606. $('.wrong').hide();
  2607. $('.grzl tbody>tr>td input').attr('readonly', true);
  2608. $('.grzl tbody>tr>td input').css('border-bottom', "none");
  2609. $.ajax({
  2610. type: "post",
  2611. url: huayi.config.callcenter_url + "UserAccount/UpdatePwd",
  2612. async: true,
  2613. dataType: 'json',
  2614. data: {
  2615. token: $.cookie("token"),
  2616. usercode: gh,
  2617. pwd: ymm,
  2618. oldpwd: xmm
  2619. },
  2620. success: function(result) {
  2621. // result = $.parseJSON(result);
  2622. if(result.state.toLowerCase() == "success") {
  2623. layer.msg("修改成功!");
  2624. }
  2625. }
  2626. });
  2627. }
  2628. })
  2629. //图片裁剪
  2630. var o = $(".image-crop > img");
  2631. $(o).cropper({
  2632. aspectRatio: 1 / 1,
  2633. resizable: false,
  2634. dragCrop: false,
  2635. preview: ".img-preview",
  2636. done: function() {}
  2637. });
  2638. var r = $("#inputImage");
  2639. if(window.FileReader) {
  2640. r.change(function() {
  2641. var e, i = new FileReader,
  2642. t = this.files;
  2643. if(t.length && (e = t[0], /^image\/\w+$/.test(e.type))) {
  2644. i.readAsDataURL(e);
  2645. i.onload = function() {
  2646. r.val("");
  2647. o.cropper("reset", !0).cropper("replace", this.result);
  2648. }
  2649. } else {
  2650. alert("请选择图片文件");
  2651. }
  2652. });
  2653. $("#setDrag").click(function() {
  2654. o.cropper("setDragMode", "crop");
  2655. var img = o.cropper("getDataURL");
  2656. $.post(huayi.config.callcenter_url + "Index/UploadTX64", {
  2657. dataurl: encodeURIComponent(img),
  2658. "token": $.cookie("token")
  2659. }, function(result) {
  2660. result = $.parseJSON(result);
  2661. if(result.state.toLowerCase() == "success") {
  2662. $(".yhtx").attr("src", huayi.config.callcenter_url.substr(0, huayi.config.callcenter_url.length - 1) + result.data);
  2663. layer.msg("上传成功");
  2664. $('.personal').hide();
  2665. }
  2666. })
  2667. });
  2668. $("#zoomIn").click(function() {
  2669. o.cropper("zoom", .1)
  2670. });
  2671. $("#zoomOut").click(function() {
  2672. o.cropper("zoom", -.1)
  2673. });
  2674. $("#rotateLeft").click(function() {
  2675. o.cropper("rotate", 45)
  2676. });
  2677. $("#rotateRight").click(function() {
  2678. o.cropper("rotate", -45)
  2679. });
  2680. } else {
  2681. r.addClass("hide");
  2682. }
  2683. ////跳转
  2684. function Jumps() {
  2685. //window.parent.frames[ "iframe0"].location.reload();
  2686. $("iframe:visible")[0].src = "widgets.html"
  2687. }
  2688. </script>
  2689. </body>
  2690. </html>