| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="renderer" content="webkit|ie-comp|ie-stand" />
- <meta http-equiv="Cache-Control" content="no-siteapp" />
- <title>叶县社情民意调查中心
- <!--华谊科技呼叫中心管理系统-->
- </title>
- <script src="./Script/Common/huayi.load.js"></script>
- <script src="./Script/Common/huayi.config.js"></script>
- <link rel="shortcut icon" href="img/32.ico" />
- <link href="./css/wh.css" rel="stylesheet">
- <link href="./css/plugins/iCheck/custom.css" rel="stylesheet">
- <link rel="stylesheet" href="./css/call.css" />
- <link rel="stylesheet" href="./css/personal.css" />
- <link rel="stylesheet" href="./js/zTree/zTreeStyle.css" />
- <link href="./css/plugins/cropper/cropper.min.css" rel="stylesheet">
- <link href="./css/plugins/jasny/jasny-bootstrap.min.css" rel="stylesheet">
- <style>
- @font-face {
- font-family: 'iconfont';
- src: url('./fonts/iconfont.eot');
- /* IE9*/
- src: url('./fonts/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
- url('./fonts/iconfont.woff') format('woff'), /* chrome、firefox */
- url('./fonts/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
- url('./fonts/iconfont.svg#iconfont') format('svg');
- /* iOS 4.1- */
- }
-
- body {
- font-family: "微软雅黑";
- }
-
- ul li {
- list-style: none;
- overflow: hidden;
- }
-
- .iconfont {
- font-family: "iconfont";
- font-style: normal;
- color: #FFFFFF;
- }
-
- .fr {
- float: right;
- }
-
- .fl {
- float: left;
- }
-
- .size-12 {
- font-size: 12px;
- }
-
- .title-box {
- margin-top: 5px;
- }
-
- .title-box li {
- margin-left: 30px;
- }
-
- .title-box li:hover {
- cursor: pointer;
- }
-
- .HoverColor {
- color: #f8ac59;
- }
-
- .FailureColor {
- color: #f95f5e;
- }
-
- .navbar-header {
- width: 100%;
- background-color: #2f4050;
- padding-top: 10px;
- }
-
- .title-box li p {
- color: #FFFFFF;
- font-size: 14px;
- font-weight: bold;
- letter-spacing: 2px;
- margin-top: 5px;
- }
-
- .size-14 {
- font-size: 14px;
- color: #FFFFFF !important;
- }
-
- .img-circle {
- width: 58px;
- }
-
- .xian {
- border: 1px solid #FFFFFF;
- display: inline-block;
- width: 15%;
- margin: 5px;
- }
-
- .ss {
- margin-left: 20px;
- }
-
- .fe-3 {
- font-size: 3em;
- }
-
- .title-box p {
- text-align: center;
- }
-
- .closed {
- display: inline-block;
- /* margin-left: 5%;*/
- cursor: pointer;
- color: #FFFFFF;
- float: right;
- margin-right: 5%;
- }
-
- .closed div {
- overflow: hidden;
- }
-
- .closed ul {
- margin-bottom: 0px;
- }
-
- .closed li {
- float: left;
- margin-right: 20px;
- }
-
- .closed i {
- display: inline-block;
- background: url(./img/chilun.png) no-repeat;
- margin-right: 5px;
- width: 14px;
- height: 16px;
- vertical-align: middle;
- }
-
- .ga {
- background-position: 0 0 !important;
- }
-
- .sz {
- background-position: 0 -15px !important;
- }
-
- .tc {
- background-position: 0 -33px !important;
- }
-
- .zhuangtai {
- display: block;
- width: 30%;
- margin-left: 10px;
- font-size: 14px;
- font-weight: 800;
- }
-
- .wq {
- color: #f95f5e;
- }
-
- #top-search li:hover {
- color: #eaeaea;
- }
-
- .content-tabs1 ul {
- padding-left: 0;
- }
-
- .content-tabs1 li {
- list-style: none;
- float: left;
- height: 5px;
- }
-
- .top1 {
- background-color: #68adfe;
- }
-
- .top2 {
- background-color: #9897f0;
- }
-
- .top3 {
- background-color: #87eebf;
- }
-
- .top4 {
- background-color: #68b0fe;
- }
-
- .top5 {
- background-color: #f95a83;
- }
-
- .top6 {
- background-color: #eb76dd;
- }
-
- .top7 {
- background-color: #69cbd0;
- }
-
- .top8 {
- background-color: #69cbd0;
- }
-
- .top9 {
- background-color: #aaf58d;
- }
-
- .top10 {
- background-color: #f76a53;
- }
-
- .top11 {
- background-color: #eb76dd;
- }
-
- .top12 {
- background-color: #6c77da;
- }
-
- .top13 {
- background: -webkit-linear-gradient(left, #f073db, #65abfc);
- background: -moz-linear-gradient(left, #f073db, #65abfc);
- background: -o-linear-gradient(left, #f073db, #65abfc);
- background: -webkit-gradient(linear, 100% 0, 0 0, from(#65abfc), to(#f073db));
- background: linear-gradient(left, #f073db, #65abfc);
- /* Opera 11.1 - 12.0 */
- /* Firefox 3.6 - 15 */
- /* 标准的语法 */
- }
-
- .zts {
- height: 30px;
- margin-left: 2%;
- line-height: 30px;
- padding-top: 15px;
- }
-
- .zts li {
- height: 20px;
- line-height: 20px;
- font-weight: bold;
- letter-spacing: 2px;
- }
-
- .quan {
- width: 15px;
- height: 15px !important;
- border-radius: 50%;
- margin-right: 2%;
- margin-left: 5px;
- margin-top: 2px;
- }
-
- .lx {
- background: #6a6d69;
- }
-
- .br {
- background: red;
- }
-
- .bl {
- background: #7ab85b;
- }
-
- .LH {
- line-height: 35px;
- }
-
- .zts span {
- line-height: 20px;
- margin-right: 50px;
- font-size: 12px;
- }
-
- .photo {
- width: 40px;
- height: 40px;
- border-width: 2px;
- border-style: solid;
- border-radius: 50%;
- border-color: #ffb400 #fc3c04 #fdfc01 #00e3c0;
- margin-bottom: 1px;
- }
-
- .photo img {
- display: block;
- width: 100%;
- height: 100%;
- }
-
- .ls {
- /*margin-left: 20px;*/
- text-align: center;
- }
-
- .ls span {
- margin-right: 10px;
- }
-
- .min-right {
- margin-right: 10px;
- }
-
- .navbar-top-links i {
- width: 24px;
- height: 21px;
- display: block;
- background: url(./img/topIcon.png) no-repeat;
- background-position: center center;
- margin: 0 auto;
- }
- /*挂断*/
-
- .DropCall {
- background-position: 0px 0 !important;
- }
- /*外呼*/
-
- .MakeCall {
- background-position: 0px -20px !important;
- }
- /*置忙*/
-
- .SayBusy {
- background-position: 0px -42px !important;
- }
- /*置闲*/
-
- .SayFree {
- background-position: 0px -65px !important;
- }
- /*多方通话*/
-
- .Meeting {
- background-position: 0px -85px !important;
- }
- /*转移*/
-
- .Transfer {
- background-position: 0px -108px !important;
- }
- /*保持*/
-
- .Hold {
- background-position: 0px -131px !important;
- }
- /*接回*/
-
- .Retrieve {
- background-position: 0px -153px !important;
- }
- /*签入*/
-
- .Login {
- background-position: 0px -197px !important;
- }
- /*签出*/
-
- .Logout {
- background-position: 0px -175px !important;
- }
-
- .navbar-top-links .active {
- background-position-x: -23px !important;
- }
-
- .ldcr-bottom .detail-con ul li .active a {
- color: #f95a83 !important;
- }
-
- .ldcr-bottom .detail-con ul li .active em {
- color: #f95a83 !important;
- }
-
- .ldcr-bottom .detail-con ul li .active+.explancon {
- display: block !important;
- }
-
- .searchbtn {
- width: 2.5em;
- height: 24px;
- border-radius: 5px;
- position: absolute;
- background-color: #f8ac59;
- background-image: url(./img/searIcon.png);
- background-repeat: no-repeat;
- background-position: center center;
- cursor: pointer;
- }
-
- .max-box {
- height: 42px;
- width: 100%;
- }
-
- .laydate_body .laydate_bottom,
- .laydate_body .laydate_top {
- height: 31px !important;
- }
-
- .laydate_body .laydate_y .laydate_yms ul li {
- width: 59px !important;
- }
-
- .col-sm-1 {
- padding-right: 0;
- line-height: 22px;
- }
-
- ul.ztree {
- border: 1px solid #617775;
- background: #f0f6e4;
- overflow-y: scroll;
- overflow-x: auto;
- }
-
- .minBacha {
- position: absolute;
- top: 0;
- right: 80px;
- z-index: 10;
- overflow: hidden;
- }
-
- .minBacha>div {
- float: left;
- height: 35px;
- width: 35px;
- margin-left: 2px;
- }
-
- .minBacha>div a {
- display: block;
- height: 100%;
- width: 100%;
- text-align: center;
- background-position: center center;
- background-color: #2f4050;
- opacity: .5;
- }
-
- .minBacha>div a:hover {
- opacity: 1;
- }
-
- .minClosed>a {
- background: url("./img/min.png") no-repeat;
- }
-
- .Bacha>a {
- background: url("./img/gb.png") no-repeat;
- }
-
- .lblcount {
- position: absolute;
- right: 5px;
- top: 7px;
- }
-
- .first {
- z-index: 1000;
- }
-
- .khzl {
- font-size: 12px;
- border: 0;
- margin: 35px auto;
- color: #fff;
- }
-
- .khzl tr {
- border: 0;
- }
-
- .khzl th {
- padding: 5px 8px 5px 0;
- text-align: right;
- width: 40%;
- font-weight: normal;
- border: 0;
- }
-
- .khzl tbody>tr>td,
- .khzl tbody>tr>th {
- border: 0;
- }
-
- .khzl tbody>tr>td input {
- border: 0;
- outline: none;
- background: #243747;
- padding-left: 5px;
- width: 100%;
- }
-
- .khbtn {
- /*background: #97a0a8;*/
- color: #1ab394;
- font-size: 14px;
- vertical-align: middle;
- }
-
- .hei-list {
- width: 400px;
- margin: 0 auto;
- }
-
- .heiTop {
- height: 35px;
- background: #1ab394;
- color: #fff;
- line-height: 35px;
- padding: 0 15px;
- border-top-left-radius: 3px;
- border-top-right-radius: 3px;
- }
-
- .heiTop .htl {
- float: left;
- margin: 0;
- }
-
- .heiTop .bacha {
- float: right;
- font-size: 18px;
- cursor: pointer;
- margin: 0;
- }
-
- .heiCon {
- width: 100%;
- background: #fff;
- text-align: center;
- padding: 25px 15px;
- height: auto;
- overflow-y: auto;
- border: 1px solid #eee;
- }
-
- #time-word {
- border: 1px solid #1ab394;
- padding: 5px 0 5px 10px;
- width: 120px;
- outline: none;
- color: #000;
- }
-
- .chooses {
- margin-top: 10px;
- }
-
- .btns {
- background: #1ab394;
- color: #fff;
- padding: 3px 10px;
- outline: none;
- font-size: 12px;
- margin-left: 15px;
- border: 0;
- border-radius: 3px;
- box-sizing: border-box;
- }
-
- .bianji {
- display: inline-block;
- height: 16px;
- width: 16px;
- vertical-align: middle;
- margin-right: 5px;
- }
-
- .bianji.edi {
- background: url(img/xgai.png) no-repeat;
- }
-
- .bianji.sav {
- background: url(img/bbc.png) no-repeat;
- }
-
- .bianji.canc {
- background: url(img/quxi.png) no-repeat;
- }
-
- .t-shade {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.48);
- z-index: 10004;
- display: none;
- }
-
- .shade_k {
- z-index: 10005;
- width: 40%;
- margin: 10% auto;
- background-color: #fff;
- box-shadow: 1px 1px 50px rgba(0, 0, 0, .3);
- border-radius: 5px;
- }
-
- .shade_title {
- padding: 0 80px 0 20px;
- height: 42px;
- line-height: 42px;
- border-bottom: 1px solid #eee;
- font-size: 16px;
- color: #FFFFFF;
- overflow: hidden;
- background-color: rgb(26, 179, 148);
- border-radius: 2px 2px 0 0;
- position: relative;
- }
-
- .setwin {
- position: absolute;
- right: 15px;
- top: 5px;
- font-size: 20px;
- line-height: initial;
- }
-
- .setwin a {
- font-size: 20px;
- color: #fff;
- }
-
- .shade_content {
- overflow-y: auto;
- position: relative;
- padding-bottom: 50px;
- padding: 10px;
- }
-
- .wh_btn {
- width: 80%;
- text-align: center;
- padding-top: 20px;
- margin: 0 auto;
- margin-bottom: 20px;
- }
-
- .wh_btn input {
- padding: 7px 20px;
- color: #FFF;
- border-radius: 5px;
- margin-right: 30px;
- border: 1px solid #999;
- border-color: rgb(26, 179, 148);
- }
-
- .sc_btn {
- color: rgb(255, 255, 255);
- font-size: 12px;
- margin-left: 15px;
- box-sizing: border-box;
- background: rgb(26, 179, 148);
- padding: 6px 10px;
- outline: none;
- border-width: 0px;
- border-style: initial;
- border-color: initial;
- border-image: initial;
- border-radius: 3px;
- }
-
- .sc_btn:hover {
- color: #fff !important;
- }
-
- .cx {
- display: block;
- }
- </style>
- </head>
- <body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
- <div id="wrapper">
- <!--左侧导航开始-->
- <nav class="navbar-default navbar-static-side" role="navigation">
- <div class="nav-close">
- <i class="fa fa-times-circle"></i>
- </div>
- <div class="sidebar-collapse">
- <ul class="nav" id="side-menu">
- <li class="nav-header">
- <div class="dropdown profile-element text-center">
- <span>
- <img alt="image" class="img-circle yhtx" src="./img/zxPhone.png" onerror="this.src = './img/zxPhone.png'" />
- <input type="file" name="upFile" id="upFile" accept="image/jpeg,image/jpg,image/png" style="display: none;">
- </span>
- <a data-toggle="dropdown" class="dropdown-toggle" href="#">
- <span class="clear">
- <span class="block m-t-xs">
- <b class="xian"></b>
- <strong class="font-bold username">张三</strong>
- <b class="xian"></b>
- </span>
- <span class="text-muted text-xs block size-14 rolename">
- 超级管理员
- </span>
- <span class="text-muted text-xs block size-12 Gnum " style="color: #fff;">
- 1516
- </span>
- </span>
- </a>
- </div>
- <div class="logo-element">
- </div>
- </li>
- </ul>
- </div>
- </nav>
- <!--左侧导航结束-->
- <!--右侧部分开始-->
- <div id="page-wrapper" class="gray-bg dashbard-1">
- <div class="row border-bottom">
- <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
- <div class="navbar-header">
- <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
- <div class="nav navbar-top-links navbar-left">
- <ul class="title-box" id="top-search" style="padding-left: 0; display:none;">
- <li datafun="DropCall">
- <i class="iconfont fa-5x DropCall"></i>
- <p>挂断</p>
- </li>
- <li datafun="MakeCall">
- <i class="iconfont fa-5x MakeCall"></i>
- <p>外呼</p>
- </li>
- <li datafun="SayBusy">
- <i class="iconfont fa-5x SayBusy"></i>
- <p>置忙</p>
- </li>
- <li datafun="SayFree">
- <i class="iconfont fa-5x SayFree"></i>
- <p>置闲</p>
- </li>
- <li datafun="Meeting">
- <i class="iconfont fa-5x Meeting"></i>
- <p>多方通话</p>
- </li>
- <li datafun="Transfer">
- <i class="iconfont fa-5x Transfer"></i>
- <p>转移</p>
- </li>
- <li datafun="Hold">
- <i class="iconfont fa-5x Hold"></i>
- <p>保持</p>
- </li>
- <li datafun="Retrieve">
- <i class="iconfont fa-5x Retrieve"></i>
- <p>接回</p>
- </li>
- <li datafun="Login">
- <i class="iconfont fa-5x Login"></i>
- <p>签入</p>
- </li>
- <li datafun="Logout">
- <i class="iconfont fa-5x Logout"></i>
- <p>签出</p>
- </li>
- </ul>
- </div>
- <div class="nav closed">
- <!--左边-->
- <div class="text-center max-box">
- <ul class="fl maxOpen animated" style="display: none;">
- <li>
- <h3 class="size-12 ldname">未知</h3>
- <h3 class="size-12 ldtel" style="margin-bottom: 0;"></h3>
- </li>
- <li>
- <div class="photo">
- <img src="" alt="" />
- </div>
- </li>
- </ul>
- </div>
- <div class="ls">
- <span class="size-12 min-right" onclick="Jumps()">
- <i class="ga"></i> 管理中心
- </span>
- <span class="size-12 shezhi">
- <i class="sz"></i> 设置
- </span>
- <span class="size-12" onclick="logout()">
- <i class="tc"></i>退出
- </span>
- </div>
- </div>
- </div>
- </nav>
- </div>
- <div class="row content-tabs1">
- <ul>
- <li class="top1" style="width: 5%;"></li>
- <li class="top2" style="width: 8%;"></li>
- <li class="top3" style="width: 10%;"></li>
- <li class="top4" style="width: 13%;"></li>
- <li class="top5" style="width: 10%;"></li>
- <li class="top6" style="width: 5%;"></li>
- <li class="top7" style="width: 13%;"></li>
- <li class="top8" style="width: 10%;"></li>
- <li class="top9" style="width: 11.2%;"></li>
- <li class="top10" style="width: 6%;"></li>
- <li class="top11" style="width: 3%;"></li>
- <li class="top12" style="width: 5%;"></li>
- </ul>
- </div>
- <div class="row J_mainContent" id="content-main">
- <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="widgets.html" frameborder="0" data-id="index_v1.html" seamless></iframe>
- </div>
- <div class="row content-tabs1 LH">
- <ul>
- <li class="top13" style="width: 100%;"></li>
- </ul>
- <span class="fr">Copyright © 华谊科技 All Rights Reserved</span>
- <ul class="zts" style="display:none;">
- <li>话机状态: </li>
- <li class="quan fwzt lx br"> </li>
- <li>坐席状态: </li>
- <li class="quan zxzt lx br"></li>
- <li><span class="hwzt" style="color:red;"></span></li>
- </ul>
- </div>
- </div>
- </div>
- <!--==========================================================================================-->
- <!--来电弹屏开始-->
- <div class="ldtp-con clearfix animated fadeInDown ">
- <div class="minBacha clearfix">
- <div class="minClosed">
- <a href="javaScript:;" title="最小化"></a>
- </div>
- <div class="Bacha">
- <a href="javaScript:;" title="关闭"></a>
- </div>
- </div>
- <!--左侧内容-->
- <!--黑名单弹出内容-->
- <!--<div class="hei-list ">
- <i class="bacha">X</i>
- <form class="form-inline">
- <label class="radio-inline">
- <input type="radio" name="time" value="1" checked="checked"> 天
- </label>
- <label class="radio-inline">
- <input type="radio" name="time" value="2"> 时
- </label>
- <label class="radio-inline">
- <input type="radio" name="time" value="3">分
- </label>
- <label class="radio-inline">
- <input type="radio" name="time" value="4">永久
- </label>
- <label class="radio-inline">
- <input type="button" id="bc" value="保存">
- </label>
- </form>
- </div>-->
- <div class="hei-list">
- <div class="heiTop clearFix">
- <p class="htl">黑名单</p>
- <p class="bacha" title="关闭">x</p>
- </div>
- <div class="heiCon">
- <div class="heit">
- <span style="font-size: 14px;">输入拉黑时长:</span>
- <input type="text" id="time-word" />
- </div>
- <div class="chooses">
- <label class="radio-inline">
- <input type="radio" name="time" value="1" checked="checked" style="margin-top: 3px;"> 天
- </label>
- <label class="radio-inline">
- <input type="radio" name="time" value="2" style="margin-top: 3px;" />时
- </label>
- <label class="radio-inline">
- <input type="radio" name="time" value="3" style="margin-top: 3px;" />分
- </label>
- <label class="radio-inline">
- <input type="radio" name="time" value="4" style="margin-top: 3px;" />永久
- </label>
- </div>
- <p style="margin-top: 15px;"><button id="bc" class="btns">保存</button></p>
- </div>
- </div>
- <!--最小化按钮-->
- <!--<div class="minClosed">
- <a href="javaScript:;" title="最小化"></a>
- </div>-->
- <!--左侧内容-->
- <div class="ldtp-cl col-sm-3">
- <div class="head-pic">
- <div class="hp-box">
- <img src="./img/txpic.png" alt="头像好像去了外星球!" style="width: 100%;height: 100%;" />
- <input type="hidden" class="hidTel" value="" />
- <input type="hidden" class="hidCallID" />
- </div>
- <ul>
- <li><span style="font-size: 25px;" class="tel"></span></li>
- <li><span style="font-size: 15px;" class="khgsd"></span></li>
- <!--<li class="nikeName"><i></i><span class="ldname">未知</span><i></i></li>-->
- <li style="color: #4cd964;">当前通话时长:<span class="thsc">00:00</span></li>
- <li class="lahei">
- <div class="la-before"><i class="push"></i> 移至黑名单</div>
- <div class="la-after" style="display: none;">
- <p class="la-time">拉黑时间:<span>2017/05/13</span></p>
- <p class="la-shichang">拉黑截止时间:<span class="blackTime"></span></p>
- </div>
- <div class="retur" style="display: none;"><i class="qxlh"></i> 取消黑名单</div>
- </li>
- <li class="td-call clearfix" style="display:none;">
- <a class="take" style="float:none;" href="javascript:;"><i></i></a>
- <!--<a class="drop" href="javascript:;"><i></i></a>-->
- </li>
- </ul>
- </div>
- <!--<ul class="come-detail">
- <li>姓名:<span class="ldname">未知</span></li>
- <li>归属地:<span class="ldlocation">未知</span></li>
- <li>联系电话1:<span class="ldtel1"></span></li>
- <li>联系电话2:<span class="ldtel2"></span></li>
- <li>联系电话3:<span class="ldtel3"></span></li>
- <li>售后负责人:<span>孙嘉一</span></li>
- <li>来电时间:<span class="ldtime"></span></li>
- </ul>-->
- <table class="table khzl">
- <tr>
- <th>姓名:</th>
- <td><input type="text" value="未知" class="ldname khmc" /><input type="hidden" value="" id="khid" /></td>
- </tr>
- <tr>
- <th>客户编号:</th>
- <td><input type="text" value="" class="khbh" /></td>
- </tr>
- <tr>
- <th>归属地:</th>
- <td><span class="ldlocation" style="padding-left: 5px;">未知</span></td>
- </tr>
- <tr>
- <th>联系电话1:</th>
- <td><input type="text" value="" class="ldtel1" /></td>
- </tr>
- <tr>
- <th>联系电话2:</th>
- <td><input type="text" value="" class="ldtel2" /></td>
- </tr>
- <tr>
- <th>联系电话2:</th>
- <td><input type="text" value="" class="ldtel3" /></td>
- </tr>
- <tr>
- <th>来电时间:</th>
- <td><span class="ldtime" style="padding-left: 5px;"></span></td>
- </tr>
- <tr>
- <td></td>
- <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>
- </tr>
- </table>
- </div>
- <!--右侧内容-->
- <div class="ldtp-cr col-sm-9">
- <ul class="ld-service clearfix">
- <li style="border-bottom:1px solid #243747;" itemtype="0" class="cr-click">历史记录</li>
- <!--<li style="border-bottom:1px solid #69cbd0;" itemtype="1" >咨询</li>-->
- <!--<--<li style="border-bottom:1px solid #f95a83;" itemtype="2">保修服务</li>-->
- <li style="border-bottom:1px solid #243747;" itemtype="3">投诉建议</li>
- </ul>
- <div class="ld-sercon">
- <div class="complain" style="display:block;">
- <div class="ld-sercon-con clearfix">
- <div class="Ps-chaxun">
- <span>查询: <input type="text" id="old_startTime" class="laydate-icon" /> —— <input type="text" id="old_endTime" class="laydate-icon" /></span>
- <span class="searchbtn"></span>
- </div>
- <div class="table-responsive col-sm-12 tbold" style="padding-left: 0;">
- <table id="oldlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
- <thead>
- <tr>
- <th data-field="CallNumber">电话号码</th>
- <th data-field="CallState" data-formatter="GetCallState">呼叫状态</th>
- <!--<th data-field="IsDeal" data-formatter="GetDealState">是否处理</th>-->
- <th data-field="UserCode">坐席工号</th>
- <th data-field="UserName">坐席姓名</th>
- <th data-field="BeginTime">开始时间</th>
- <th data-field="TalkStartTime">通话开始时间</th>
- <th data-field="TalkEndTime">通话结束时间</th>
- <th data-field="TalkLongTime">通话时长(s)</th>
- <th data-field="FilePath" data-formatter="setCode">录音</th>
- </tr>
- </thead>
- <tbody class="list"></tbody>
- </table>
- </div>
- </div>
- </div>
- <div class="complain" style="display:none;">
- <div class="ld-sercon-con clearfix">
- <div class="Ps-chaxun">
- <span>查询: <input type="text" id="con_startTime" class="laydate-icon" /> —— <input type="text" id="con_endTime" class="laydate-icon" /></span>
- <span class="searchbtn"></span>
- <span class="addjl g" style="margin-left:5em;">新增工单</span>
- </div>
- <div id="zxlbs" class="table-responsive col-sm-12 tbold" style="padding-left: 0;">
- <table id="orderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
- <thead>
- <tr>
- <th data-field="WorkOrderID">工单编号</th>
- <th data-field="State" data-formatter="GetStateName">工单状态</th>
- <th data-field="Customer">客户姓名</th>
- <th data-field="CustomerTel">客户电话</th>
- <th data-field="Detail" data-formatter="GetCont">工单内容</th>
- <th data-field="CreateUser">坐席工号</th>
- <th data-field="CreateTime">创建时间</th>
- </tr>
- </thead>
- <tbody class="list"></tbody>
- </table>
- </div>
- </div>
- <div class="Pre-second second-con addgd" style="display:none;">
- <form>
- <div class="form-group clearfix">
- <span class="col-sm-1">
- 投诉类型:
- </span>
- <span class="col-sm-3">
- <select id="tslx">
- <option selected="selected" value=""></option>
- </select>
- </span>
- <span class="col-sm-1">
- 投诉客户:
- </span>
- <span class="col-sm-3">
- <input type="text" id="tskh" />
- </span>
- <span class="col-sm-1">
- 联系电话:
- </span>
- <span class="col-sm-3">
- <input type="text" id="tsdh" />
- </span>
- </div>
- <div class="form-group clearfix">
- <span class="col-sm-1">
- 投诉部门:
- </span>
- <span class="col-sm-3">
- <!--<select name="" id="zrbm"></select>-->
- <input type="text" id="zrbmname" readonly="readonly" />
- <input type="hidden" id="zrbm" />
- <div class="zrbmmenu" style="display: none; position: absolute; z-index: 100;">
- <ul id="zrbmtree" class="ztree"></ul>
- </div>
- </span>
- <span class="col-sm-1">
- 被投诉人:
- </span>
- <span class="col-sm-3">
- <select name="" id="zrid">
- <option selected="selected" value=""></option>
- </select>
- </span>
- </div>
- <div class="form-group clearfix">
- <span class="col-sm-1">
- 接收部门:
- </span>
- <span class="col-sm-3">
- <!--<select name="" id="clbm"></select>-->
- <input type="text" id="clbmname" readonly="readonly" />
- <input type="hidden" id="clbm" />
- <div class="clbmmenu" style="display: none; position: absolute; z-index: 100;">
- <ul id="clbmtree" class="ztree"></ul>
- </div>
- </span>
- <span class="col-sm-1">
- 接收人:
- </span>
- <span class="col-sm-3">
- <select name="" id="clid">
- <option selected="selected" value=""></option>
- </select>
- </span>
- </div>
- <div class="form-group clearfix">
- <span class="col-sm-1">咨询内容:</span>
- <span class="col-sm-11">
- <textarea rows="5" id="cont"></textarea>
- </span>
- </div>
- <!--<div class="form-group" style="padding-left: 15px;">
- <span>解答内容:</span>
- <textarea rows="5"></textarea>
- </div>-->
- <div class="bton addts">创建</div>
- </form>
- </div>
- <div class="Pre-second second-con zxbg " style="display: none;">
- <form>
- <div class="form-group clearfix">
- <span class="col-sm-1">
- 咨询人:
- </span>
- <span class="col-sm-3">
- <input type="text" id="zxr_" />
- </span>
- <span class="col-sm-1">
- 咨询电话:
- </span>
- <span class="col-sm-3">
- <input type="text" id="zxdh_"/>
- </span>
- </div>
- <div class="form-group clearfix">
- <span class="col-sm-1">咨询内容:</span>
- <span class="col-sm-11">
- <textarea rows="5" id="zxnr_" style="resize: none;"></textarea>
- </span>
- </div>
- <div class="form-group clearfix">
- <span class="col-sm-1">处理内容:</span>
- <span class="col-sm-11">
- <textarea rows="5" style="resize: none;" id="clnr_"></textarea>
- </span>
- </div>
- <div class="bton add_">创建</div>
- </form>
- </div>
- </div>
- </div>
- <!--右侧下方内容区-->
- <div class="ldcr-bottom" style="margin-top:10px;">
- <div class="ldcrb-top clearfix">
- <ul class="clearfix">
- <li style="border-bottom:1px solid #69cbd0; background: #000;color: #fff;">知识库</li>
- <!--<li style="border-bottom:1px solid #f95a83;border-top:1px solid #000;border-right:1px solid #000;">更多内容</li>-->
- </ul>
- <div class="ld-search">
- <div class="sear-inp">
- <input type="text" class="search" placeholder="搜索问题、内容或者标题" />
- </div>
- <div class="searIcon">
- </div>
- </div>
- </div>
- <div class="detail-con">
- <ul></ul>
- </div>
- </div>
- </div>
- </div>
- <!--来电弹屏结束-->
- <!--外呼键盘-->
- <div class="WH animated fadeInDown hidens ">
- <!--top-->
- <div class="clearflow Color">
- <div class="WH-top">
- <span>外呼信息</span>
- <span class="closes"><a>X</a></span>
- </div>
- <div class="Cotent_box clearflow">
- <!--左边键盘-->
- <div class="KeyWord col-sm-4">
- <div class="WH_input clearflow">
- <div class="clearflow WH_Itop">
- <input id="Result" type="text" class="fl" value="" maxlength="18" autofocus="autofocus" />
- <input id="hidwhtype" type="hidden" value="" />
- <i class="img fl hidens"></i>
- </div>
- </div>
- <div class="Num_box clearflow">
- <ul class="Num_ul clearflow">
- <li>
- <div>
- <a>1</a>
- </div>
- </li>
- <li>
- <div>
- <a>2</a>
- </div>
- </li>
- <li>
- <div>
- <a>3</a>
- </div>
- </li>
- <li>
- <div>
- <a>4</a>
- </div>
- </li>
- <li>
- <div>
- <a>5</a>
- </div>
- </li>
- <li>
- <div>
- <a>6</a>
- </div>
- </li>
- <li>
- <div>
- <a>7</a>
- </div>
- </li>
- <li>
- <div>
- <a>8</a>
- </div>
- </li>
- <li>
- <div>
- <a>9</a>
- </div>
- </li>
- <li>
- <div>
- <a>*</a>
- </div>
- </li>
- <li>
- <div>
- <a>0</a>
- </div>
- </li>
- <li>
- <div>
- <a>#</a>
- </div>
- </li>
- <li class="Last_phone">
- <div>
- <a class="CallOut"></a>
- </div>
- </li>
- </ul>
- </div>
- </div>
- <!--右边图表-->
- <div class="col-sm-8 Rbg">
- <div class="bg bg_cotent">
- <ul class="bg_title clearflow">
- <li class="lactive" itemid="0">最近电话</li>
- <li itemid="1">公司电话</li>
- <li itemid="2">客户电话</li>
- </ul>
- <div class="bg_box phonediv">
- <div class="cx">
- <span class="blanks">
- 电话号码:
- <input type="text" id="lastphone" />
- </span>
- <span class="ty">搜索</span>
- <!--<span class="ty">重置</span>-->
- </div>
- <div class="phone_bg" style="width: 100%;padding: 10px;">
- <!--<table class="table table-bordered text-center">
- <thead>
- <tr>
- <td class="tbth">电话号码</td>
- <td class="tbth">呼叫状态</td>
- <td class="tbth">是否处理</td>
- <td class="tbth">坐席工号</td>
- <td class="tbth">坐席姓名</td>
- <td class="tbth">通话开始时间</td>
- <td class="tbth">通话结束时间</td>
- <td class="tbth">通话时长(s)</td>
- <td class="tbth">录音</td>
- </tr>
- </thead>
- <tbody class="phonelist"></tbody>
- </table>-->
- <table class="phonelist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
- <thead>
- <tr>
- <th data-field="CallNumber" data-formatter="view">电话号码</th>
- <th data-field="CallState" data-formatter="GetCallState">呼叫状态</th>
- <!--<th data-field="IsDeal" data-formatter="GetDealState">是否处理</th>-->
- <th data-field="UserCode">坐席工号</th>
- <th data-field="UserName">坐席姓名</th>
- <th data-field="BeginTime">开始时间</th>
- <th data-field="TalkStartTime">通话开始时间</th>
- <th data-field="TalkEndTime">通话结束时间</th>
- <th data-field="TalkLongTime">通话时长(s)</th>
- <!--<th data-field="FilePath">录音</th>-->
- </tr>
- </thead>
- </table>
- </div>
- </div>
- <div class="bg_box phonediv " style="display:none;">
- <div class="cx">
- <span class="blanks">
- 电话号码:
- <input type="text" id="gsphone" />
- </span>
- <span class="blanks">
- 名称:
- <input type="text" id="gsname" />
- </span>
- <span class="ty">搜索</span>
- <!--<span class="ty">重置</span>-->
- </div>
- <div class="phone_bg" style="width: 100%;padding: 10px;">
- <!--<table class="table table-bordered text-center">
- <thead>
- <tr>
- <td class="tbth">坐席工号</td>
- <td class="tbth">坐席姓名</td>
- <td class="tbth">分机号</td>
- <td class="tbth">电话号码1</td>
- <td class="tbth">电话号码2</td>
- <td class="tbth">电话号码3</td>
- </tr>
- </thead>
- <tbody class="phonelist"></tbody>
- </table>-->
- <table class="phonelist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
- <thead>
- <tr>
- <th data-field="F_UserCode">坐席工号</th>
- <th data-field="F_UserName">坐席姓名</th>
- <th data-field="F_WorkNumber" data-formatter="view">分机号</th>
- <th data-field="F_Telephone" data-formatter="view">电话号码1</th>
- <th data-field="F_Mobile" data-formatter="view">电话号码2</th>
- <th data-field="F_HomePhone" data-formatter="view">电话号码3</th>
- </tr>
- </thead>
- </table>
- </div>
- </div>
- <div class="bg_box phonediv" style="display:none;">
- <div class="cx">
- <span class="blanks">
- 电话号码:
- <input type="text" id="khphone" />
- </span>
- <span class="blanks">
- 名称:
- <input type="text" id="khname" />
- </span>
- <span class="ty">搜索</span>
- <!--<span class="ty">重置</span>-->
- </div>
- <div class="phone_bg" style="width: 100%;padding: 10px;">
- <!--<table class="table table-bordered text-center">
- <thead>
- <tr>
- <td class="tbth">名称</td>
- <td class="tbth">电话号码1</td>
- <td class="tbth">电话号码2</td>
- <td class="tbth">电话号码3</td>
- </tr>
- </thead>
- <tbody class="phonelist"></tbody>
- </table>-->
- <table class="phonelist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
- <thead>
- <tr>
- <th data-field="F_CustomerName">名称</th>
- <th data-field="F_Telephone" data-formatter="view">电话号码1</th>
- <th data-field="F_Mobile" data-formatter="view">电话号码2</th>
- <th data-field="F_ChargeTelephone" data-formatter="view">电话号码3</th>
- </tr>
- </thead>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--下载框-->
- <div class="t-shade">
- <div class="shade_k">
- <div class="shade_title">
- <span>录音播放与下载<srong class="cknum"></srong></span>
- <span class="setwin"><a>x</a></span>
- </div>
- <div class="shade_content">
- <div class="Ly_box audiojs">
- </div>
- </div>
- </div>
- </div>
- <!--修改密码开始-->
- <div class="personal">
- <div class="ptop clearFix">
- <p class="ptl">个人中心</p>
- <p class="ptr" title="关闭">x</p>
- </div>
- <div class="perBox " style="height:500px;">
- <ul class="perTab clearFix">
- <li class="sel">个人资料</li>
- <li>修改头像</li>
- </ul>
- <div class="perTab_con">
- <div class="geRen" style="display: block;">
- <div class="grt clearFix">
- <p class="grtl">基本资料</p>
- <p class="grtr">
- <i class="grqx" title="取消编辑"></i>
- <i class="grbj" title="编辑资料"></i>
- </p>
- </div>
- <table class="table grzl">
- <tr>
- <th>我的工号:</th>
- <td><input type="text" class="mgh" readonly="readonly" /></td>
- </tr>
- <tr>
- <th>我的姓名:</th>
- <td><input type="text" class="mn" readonly="readonly" /></td>
- </tr>
- <tr>
- <th>分机号:</th>
- <td><input type="text" class="fenji" readonly="readonly" /></td>
- </tr>
- <!--<tr>
- <th>外线号码:</th>
- <td><input type="text" class="wxno" readonly="readonly" /></td>
- </tr>-->
- <tr>
- <th>原密码:</th>
- <td><input type="password" class="spwd zhidu" /></td>
- </tr>
- <tr>
- <th>新密码:</th>
- <td><input type="password" class="npwd zhidu" /></td>
- </tr>
- <tr>
- <th>确认密码:</th>
- <td><input type="password" class="epwd zhidu" /><span class="wrong">*密码不一致</span></td>
- </tr>
- <tr>
- <th>手机号:</th>
- <td><input type="text" class="mobile zhidu" /></td>
- </tr>
- <tr>
- <th></th>
- <td><button class="btnn grbtn">保存修改</button></td>
- </tr>
- </table>
- </div>
- <div class="crop ">
- <div class="clearFix" style="margin-top: 45px;">
- <div class="crop_left">
- <div class="image-crop">
- <img src="./img/gaga.jpg">
- </div>
- </div>
- <div class="crop_right">
- <h4>图片预览:</h4>
- <div class="img-preview img-preview-sm"></div>
- </div>
- </div>
- <!--<div class="btn-group">
- <label title="上传图片" for="inputImage" class="btn btn-primary">
- <input type="file" accept="image/*" name="file" id="inputImage" class="hide"> 本地上传
- </label>-->
- <!--<label title="下载图片" id="download" class="btn btn-primary">下载</label>-->
- <!--</div>
- <div class="btn-group">-->
- <!--<button class="btn btn-white" id="zoomIn" type="button">放大</button>-->
- <!--<button class="btn btn-white" id="zoomOut" type="button">缩小</button>-->
- <!--<button class="btn btn-white" id="rotateLeft" type="button">左旋转</button>-->
- <!--<button class="btn btn-white" id="rotateRight" type="button">右旋转</button>-->
- <!--<button class="btn btn-warning " id="setDrag" type="button">裁剪</button>
- </div>-->
- <div class="anniu" style="margin-top: 75px;text-align: center;">
- <label title="上传图片" for="inputImage" class="btnn" style="margin-right: 100px;">
- <input type="file" accept="image/jpeg,image/jpg,image/png" name="file" id="inputImage" class="hide"> 本地上传
- </label>
- <!--<button class="btn btn-warning " id="setDrag" type="button">裁剪</button>-->
- <button class="btnn" id="zoomIn" type="button">放大</button>
- <button class="btnn" id="zoomOut" type="button">缩小</button>
- <button class="btnn" id="rotateLeft" type="button">左旋转</button>
- <button class="btnn" id="rotateRight" type="button">右旋转</button>
- <button class="btnn" id="setDrag" type="button">确定保存</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--修改密码结束-->
- <script src="./js/plugins/pace/pace.min.js"></script>
- <script src="./js/plugins/iCheck/icheck.min.js"></script>
- <script src="./css/laydate/laydate.js"></script>
- <script src="./js/main.js?v=1.5"></script>
- <script src="./js/zTree/jquery.ztree.core.js"></script>
- <script src="./js/plugins/datapicker/bootstrap-datepicker.js"></script>
- <script src="./js/plugins/cropper/cropper.min.js"></script>
- <script src="./js/guid.js"></script>
- <script>
- $(document).ready(function() {
- if(/mobile/i.test(navigator.userAgent) || /android/i.test(navigator.userAgent)) {
- $(".title-box").hide();
- }
- if($.cookie("token") == null) {
- window.location.href = "login.html";
- }
- obj.AgentExten = $.cookie("extno");
- $(".Gnum").text('(' + obj.AgentExten + ')');
- $.getJSON(huayi.config.callcenter_url + 'UserAccount/GetNowUser', {
- "token": $.cookie("token")
- }, function(result) {
- if(result.state.toLowerCase() == "success") {
- console.log(result);
- $(".username").text(result.data.user.F_UserName);
- if(result.data.role) {
- console.log(result.data);
- $(".rolename").text(result.data.role.F_RoleName);
- }
- $(".yhtx").attr("src", huayi.config.callcenter_url.substr(0, huayi.config.callcenter_url.length - 1) + result.data.user.F_See);
- obj.AgentGroup = result.data.user.F_SeartGroupID;
- obj.AgentID = result.data.user.F_UserCode;
- //obj.AgentExten = result.data.user.F_WorkNumber;
- if(result.data.user.F_SeatFlag) {
- Connect();
- $("#top-search").show();
- $(".zts").show();
- }
- }
- })
- //分机号
- //话务相关
- $("#top-search li").click(function() {
- if($(this).find("i").hasClass("active")) {
- if(obj.AgentID) {
- var fun = $(this).attr("datafun");
- obj.Type = fun;
- switch(fun) {
- case "Login":
- // obj.AgentGroup = "364";
- obj.AgentType = "0";
- Send();
- break; //签入
- case "MakeCall":
- obj.Type = "SayFree";
- Send(); //备注:用户要求外呼立刻置闲
- $(".hidCallID").val("");
- $("#hidwhtype").val(fun);
- whtp();
- //obj.DestinationNumber = "1012";
- break; //外呼
- case "Meeting":
- $("#hidwhtype").val(fun);
- whtp();
- //obj.DestinationNumber = "1012";
- break; //多方通话
- case "Transfer":
- $("#hidwhtype").val(fun);
- whtp();
- //obj.DestinationNumber = "1012";
- break; //转移
- default:
- Send();
- break;
- }
- }
- }
- });
- //知识库查询
- $(".searIcon").click(function() {
- loadZSK();
- })
- //历史记录查询
- $(".searchbtn").click(function() {
- loadOld();
- })
- //新增记录
- $(".addjl").click(function() {
- var type = $(".ldtp-cr ul.ld-service .cr-click").attr("itemtype");
- if(type == '3') {
- $(".addgd").show();
- $(".tbold").hide();
- } else if(type == '1') {
- $(".zxbg").show();
- $(".tbold").hide();
- }
- })
- //关闭外呼弹屏
- $(".closes").click(function() {
- $(".WH").removeClass("fadeInDown").addClass("fadeOutUp");
- $(".WH").addClass("hidens");
- })
- //键盘事件外呼
- document.onkeydown = function(e) {
- var theEvent = window.event || e;
- var code = theEvent.keyCode || theEvent.which;
- if(code == 13) {
- $(".CallOut").click();
- }
- }
- //外呼呼出
- $(".CallOut").click(function(event) {
- event.stopPropagation();
- if($("#Result").val()) {
- $.ajax({
- type: "get",
- url: huayi.config.callcenter_url + "CallOutOpt/GetCallOutprefix",
- async: true,
- dataType: 'json',
- data: {
- token: $.cookie("token"),
- phone: $("#Result").val()
- },
- success: function(result) {
- // result = $.parseJSON(result);
- if(result.state.toLowerCase() == "success") {
- var guid = uuid();
- obj.Type = $("#hidwhtype").val();
- obj.DestinationNumber = result.data.phone;
- obj.Header = result.data.fix;
- obj.TaskType = "0"; //0:拨号外呼;1:95005回访外呼;2:电销回访外呼
- obj.TaskPhoneID = ""; //回访的电话ID
- obj.TaskID = guid; //回访记录编号
- Send();
- $('#Result').val('');
- $(".WH").addClass("hidens");
- }
- }
- });
- // obj.Type = $("#hidwhtype").val();
- // obj.DestinationNumber = $("#Result").val();
- // Send();
- }
- })
- //外呼弹屏数字键盘样式
- $(".Num_ul div").mousedown(function() {
- $(this).addClass("actives");
- $(".img").removeClass("hidens");
- }).mouseup(function() {
- $(this).removeClass("actives");
- })
- //外呼弹屏数字键盘号码输入
- $(".Num_ul li div").click(function() {
- var rt = $("#Result").val() + "";
- if(rt.length < 18) {
- rt = rt + $(this).find("a").text();
- $("#Result").val(rt);
- }
- });
- //外呼弹屏数字键盘号码截取
- $(".img").click(function() {
- var Result = $("#Result").val() + "";
- Result = Result.substr(0, Result.length - 1);
- $("#Result").val(Result);
- if(Result.length == 0) {
- $(".img").addClass("hidens");
- }
- })
- ////上传头像
- //$(".yhtx").click(function () {
- // $("#upFile").trigger("click");
- //})
- //$("#upFile").change(function () {
- // uploadtx();
- //})
- //外呼电话列表
- $(".bg_title li").click(function() {
- $(this).addClass("lactive").siblings().removeClass("lactive");
- loadWH();
- })
- $(".ty").click(function() {
- loadWH();
- })
- //加载部门人员
- $("#zrbmname").click(function() {
- if($(".zrbmmenu").is(":hidden")) {
- $(".zrbmmenu").show();
- } else {
- $(".zrbmmenu").hide();
- }
- })
- $("#clbmname").click(function() {
- if($(".clbmmenu").is(":hidden")) {
- $(".clbmmenu").show();
- } else {
- $(".clbmmenu").hide();
- }
- })
- $(".col-sm-3").mouseleave(function() {
- $(".ztree").parent().hide();
- })
- //$("#zrbm").change(function () {
- // getRY($("#zrid"), $("#zrbm").val());
- //})
- //$("#clbm").change(function () {
- // getRY($("#clid"), $("#clbm").val());
- //})
- //创建投诉工单
- $(".addts").click(function() {
- var tslx = $("#tslx").val();
- var tskh = $("#tskh").val();
- var tsdh = $("#tsdh").val();
- var zrbm = $("#zrbm").val();
- var zrid = $("#zrid").val();
- var clbm = $("#clbm").val();
- var clid = $("#clid").val();
- var khid = $("#khid").val();
- var type = "3";
- var cont = $("#cont").val();
- var callid = $(".hidCallID").val();
- if(!tslx) {
- layer.confirm('请选择投诉类型!', {
- btn: ['确定']
- });
- return;
- }
- if(!tskh) {
- layer.confirm('请输入客户名称!', {
- btn: ['确定']
- });
- return;
- }
- if(!tsdh) {
- layer.confirm('请输入客户电话!', {
- btn: ['确定']
- });
- return;
- }
- if(!cont) {
- layer.confirm('请输入工单内容!', {
- btn: ['确定']
- });
- return;
- }
- $.post(huayi.config.callcenter_url + 'CallInScreen/AddWorkOrder', {
- tslx: tslx,
- tskh: tskh,
- tsdh: tsdh,
- zrbm: zrbm,
- zrid: zrid,
- khid: khid,
- clbm: clbm,
- clid: clid,
- type: type,
- cont: cont,
- callid: callid,
- "token": $.cookie("token")
- }, function(result) {
- result = $.parseJSON(result);
- if(result.state.toLowerCase() == "success") {
- loadOld();
- $("#zrbmname").val("");
- $("#zrbm").val("");
- $("#zrid").empty()
- $("#clbmname").val("");
- $("#clbm").val("");
- $("#clid").empty()
- $("#cont").val("");
- layer.msg("创建工单成功");
- }
- })
- })
- //加载知识库
- loadZSK();
- //加载左侧导航菜单
- loadMenu();
- //l来电弹屏
- $(".J_menuItem").click(function() {
- if($(this).text() == "来电弹屏") {
- $('.maxOpen').trigger("click");
- $('.head-pic .lahei .la-before').show();
- $('.head-pic .lahei .la-after').hide();
-
- }
- })
- workcount();
- setInterval(function() {
- workcount();
- }, huayi.config.menuworktime);
- //客户资料
- $('.khzl tbody>tr>td input').attr('readonly', true);
- $('.save').hide();
- $('.cancel').hide();
- $('.edit').click(function() {
- $('.save').show();
- $('.cancel').show();
- $('.edit').hide();
- $('.khzl tbody>tr>td input').attr('readonly', false);
- $('.khzl tbody>tr>td input').css('border-bottom', "1px solid #b3b3b3");
- })
- $('.cancel').click(function() {
- $('.khzl tbody>tr>td input').attr('readonly', true);
- $('.khzl tbody>tr>td input').css('border', "0");
- $('.save').hide();
- $('.cancel').hide();
- $('.edit').show();
- })
- //保存客户
- $(".save").click(function() {
- var khid = $("#khid").val();
- var khmc = $(".khmc").val();
- var khbh = $(".khbh").val();
- var tel1 = $(".ldtel1").val();
- var tel2 = $(".ldtel2").val();
- var tel3 = $(".ldtel3").val();
- if(!khmc) {
- layer.confirm('请输入客户名称!', {
- btn: ['确定']
- });
- return;
- }
- $.post(huayi.config.callcenter_url + 'Customer/AddCustomer', {
- cid: khid,
- name: khmc,
- code: khbh,
- mobile: tel1,
- telphone: tel2,
- chargetelephone: tel3,
- "token": $.cookie("token")
- }, function(result) {
- result = $.parseJSON(result);
- if(result.state.toLowerCase() == "success") {
- $("#khid").val(result.data);
- $("#tskh").val(khmc);
- layer.msg("保存成功");
- $('.save').hide();
- $('.cancel').hide();
- $('.edit').show();
- }
- })
- })
- //关闭录音弹出
- $(".setwin").click(function() {
- $(".t-shade").removeClass("cx");
- $('audio')[0].pause();
- });
- })
- //菜单数字
- function workcount() {
- $.getJSON(huayi.config.callcenter_url + 'Index/GetWorkOrderCount', {
- "token": $.cookie("token")
- }, function(result) {
- if(result.state.toLowerCase() == "success") {
- $(".dpd").text(result.data.dpd);
- $(".djd").text(result.data.djd);
- $(".dcl").text(result.data.dcl);
- }
- })
- }
- //上传头像
- function uploadtx() {
- if(document.getElementById("upFile").files.length > 0) {
- var formData = new FormData();
- formData.append("upFile", document.getElementById("upFile").files[0]);
- formData.append("token", $.cookie("token"));
- $.ajax({
- url: huayi.config.callcenter_url + "Index/UploadTX",
- type: "POST",
- data: formData,
- /**
- *必须false才会自动加上正确的Content-Type
- */
- contentType: false,
- /**
- * 必须false才会避开jQuery对 formdata 的默认处理
- * XMLHttpRequest会对 formdata 进行正确的处理
- */
- processData: false,
- success: function(result) {
- document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
- $("#upFile").change(function() {
- uploadtx();
- });
- var r = $.parseJSON(result);
- if(r.state.toLowerCase() == "success") {
- $(".yhtx").attr("src", huayi.config.callcenter_url.substr(0, huayi.config.callcenter_url.length - 1) + r.data);
- layer.msg("上传成功");
- }
- }
- });
- } else {
- layer.confirm('请上传文件!', {
- btn: ['确定']
- });
- }
- }
- //获取历史记录
- function loadOld() {
- $(".addgd").hide();
- $(".tbold").show();
- $(".zxbg").hide();
- var type = $(".ldtp-cr ul.ld-service .cr-click").attr("itemtype");
- if(type != '0') {
- $(".complain").hide();
- $(".complain").eq(1).show();
- //先销毁表格
- $('#orderlist').bootstrapTable('destroy');
- //初始化表格,动态从服务器加载数据
- $("#orderlist").bootstrapTable({
- method: "get", //使用get请求到服务器获取数据
- url: huayi.config.callcenter_url + "WorkOrder/GetListAll", //获取数据的Servlet地址
- striped: true, //表格显示条纹
- pagination: true, //启动分页
- pageSize: 5, //每页显示的记录数
- pageNumber: 1, //当前第几页
- pageList: [5, 10, 50, 100], //记录数可选列表
- search: false, //是否启用查询
- showColumns: false, //显示下拉框勾选要显示的列
- showRefresh: false, //显示刷新按钮
- sidePagination: "server", //表示服务端请求
- //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
- //设置为limit可以获取limit, offset, search, sort, order
- queryParamsType: "undefined",
- queryParams: function queryParams(params) { //设置查询参数
- var param = {
- page: params.pageNumber,
- pagesize: params.pageSize,
- tel: $(".hidTel").val(),
- type: type,
- starttime: $("#con_startTime").val(),
- endtime: $("#con_endTime").val(),
- token: $.cookie("token")
- };
- return param;
- },
- onLoadSuccess: function() { //加载成功时执行
- //layer.msg("加载成功");
- },
- onLoadError: function() { //加载失败时执行
- //layer.msg("加载数据失败", { time: 1500, icon: 2 });
- }
- });
- } else {
- $(".complain").hide();
- $(".complain").eq(0).show();
- //先销毁表格
- $('#oldlist').bootstrapTable('destroy');
- //初始化表格,动态从服务器加载数据
- $("#oldlist").bootstrapTable({
- method: "get", //使用get请求到服务器获取数据
- url: huayi.config.callcenter_url + "CallInScreen/GetOldList", //获取数据的Servlet地址
- striped: true, //表格显示条纹
- pagination: true, //启动分页
- pageSize: 5, //每页显示的记录数
- pageNumber: 1, //当前第几页
- pageList: [5, 10, 50, 100], //记录数可选列表
- search: false, //是否启用查询
- showColumns: false, //显示下拉框勾选要显示的列
- showRefresh: false, //显示刷新按钮
- sidePagination: "server", //表示服务端请求
- //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
- //设置为limit可以获取limit, offset, search, sort, order
- queryParamsType: "undefined",
- queryParams: function queryParams(params) { //设置查询参数
- var param = {
- page: params.pageNumber,
- pagesize: params.pageSize,
- tel: $(".hidTel").val(),
- starttime: $("#old_startTime").val(),
- endtime: $("#old_endTime").val(),
- token: $.cookie("token")
- };
- return param;
- },
- onLoadSuccess: function() { //加载成功时执行
- //layer.msg("加载成功");
- },
- onLoadError: function() { //加载失败时执行
- //layer.msg("加载数据失败", { time: 1500, icon: 2 });
- }
- });
- }
- if(type == '3') {
- getLX($("#tslx"), "TSLX");
- getBM($("#zrbmtree"));
- getBM($("#clbmtree"));
- }
- }
- function GetCallState(val) {
- if(val == '1') {
- return '已接通';
- } else {
- return '未接通';
- }
- }
- //音频
- function setCode(val) {
- if(val) {
- return '<div class="imgs" style="cursor: pointer;">' +
- '<img src="./img/vice.png" alt="" onclick= ck(this) item="' + val + '" />' +
- '</div>';
- } else {
- return '';
- }
- }
- //录音
- function ck(val) {
- var path = $(val).attr("item");
- $(".t-shade").addClass("cx");
- $(".Ly_box").empty();
- $(".down").attr("href", path);
- $('<audio style="width: 100%;"class=" " src="' + path + '" loop="loop" controls="controls" ></audio>').appendTo(".Ly_box");
- }
- function GetDealState(val) {
- if(val == '1') {
- return '已处理';
- } else {
- return '未处理';
- }
- }
- function GetStateName(val) {
- var str = '';
- switch(val + '') {
- case '0':
- str = "待指派";
- break;
- case '1':
- str = "处理中";
- break;
- case '2':
- str = "已完结";
- break;
- }
- return str;
- }
- function GetCont(val) {
- var str = '<div '
- if(val.length > 20) {
- str = str + ' title="' + val + '" ';
- val = val.substr(0, 20) + "...";
- }
- return str + '>' + val + '</div>';
- }
- //获取知识库
- function loadZSK() {
- $.getJSON(huayi.config.callcenter_url + 'CallInScreen/GetZSKList', {
- "keywords": $(".search").val(),
- "token": $.cookie("token")
- }, function(result) {
- if(result.state.toLowerCase() == "success") {
- $(".ldcr-bottom .detail-con ul").empty();
- $(result.data).each(function(i, n) {
- var html = '<li>' +
- ' <div class="zhishi-title clearfix">' +
- ' <a href="javascript:void(0);" >' + n.F_Title + '</a>' +
- ' <em >' + n.F_CreateOn + '</em>' +
- ' </div>' +
- ' <div class="explancon">' +
- n.F_Content +
- ' </div>' +
- '</li>';
- $(html).appendTo($(".ldcr-bottom .detail-con ul")).find(".zhishi-title").click(function(event) {
- event.stopPropagation();
- if($(this).hasClass("active")) {
- $(this).removeClass("active")
- } else {
- $(".zhishi-title").removeClass("active");
- $(this).addClass("active");
- }
- })
- })
- }
- })
- }
- //获取类型
- function getLX(obj, type) {
- obj.empty();
- $.getJSON(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByFlag', {
- "flag": type,
- "token": $.cookie("token")
- }, function(result) {
- if(result.state.toLowerCase() == "success") {
- $(result.data).each(function(i, n) {
- obj.append('<option value="' + n.F_DictionaryValueId + '">' + n.F_Name + '</option>');
- })
- }
- })
- }
- //获取部门
- var setting = {
- data: {
- key: {
- name: "F_DeptName"
- },
- simpleData: {
- enable: true,
- idKey: "F_DeptId",
- pIdKey: "F_ParentId",
- rootPId: 0
- }
- },
- callback: {
- onClick: zTreeOnClick
- }
- };
- function getBM(obj) {
- $.getJSON(huayi.config.callcenter_url + 'Department/GetAllList', {
- "token": $.cookie("token")
- }, function(result) {
- if(result.state.toLowerCase() == "success") {
- $.fn.zTree.init(obj, setting, result.data);
- }
- })
- }
- function zTreeOnClick(event, treeId, treeNode) {
- var obj = $("#" + event.data.treeId).parent();
- obj.parent().find("input").eq(0).val(treeNode.F_DeptName);
- obj.parent().find("input").eq(1).val(treeNode.F_DeptId);
- obj.hide();
- if(event.data.treeId == "zrbmtree") {
- getRY($("#zrid"), $("#zrbm").val());
- }
- if(event.data.treeId == "clbmtree") {
- getRY($("#clid"), $("#clbm").val());
- }
- };
- //获取人员
- function getRY(obj, deptid) {
- obj.empty();
- obj.append('<option value="">--请选择--</option>');
- $.getJSON(huayi.config.callcenter_url + 'UserAccount/GetDeptUserList', {
- "deptid": deptid,
- "token": $.cookie("token")
- }, function(result) {
- if(result.state.toLowerCase() == "success") {
- $(result.data).each(function(i, n) {
- obj.append('<option value="' + n.F_UserId + '">' + n.F_UserName + '</option>');
- })
- }
- })
- }
- //外呼弹屏
- function whtp() {
- $("#Result").val("");
- if($(".WH").hasClass("fadeOutUp")) {
- $(".WH").removeClass("fadeOutUp").addClass("fadeInDown");
- }
- $(".WH").removeClass("hidens");
- $('.first').removeClass('first');
- $('.WH').addClass('first');
- loadWH();
- }
- //加载外呼电话列表
- function loadWH() {
- $(".phonediv").hide();
- var n = $(".bg_title .lactive").attr("itemid");
- switch(n) {
- case '0':
- var obj = $(".phonediv").eq(0);
- obj.show();
- //先销毁表格
- var table = obj.find(".phonelist");
- table.bootstrapTable('destroy');
- //初始化表格,动态从服务器加载数据
- table.bootstrapTable({
- method: "get", //使用get请求到服务器获取数据
- url: huayi.config.callcenter_url + "CallOutScreen/GetPhoneList", //获取数据的Servlet地址
- striped: true, //表格显示条纹
- pagination: true, //启动分页
- pageSize: 10, //每页显示的记录数
- pageNumber: 1, //当前第几页
- pageList: [10, 20, 50, 100], //记录数可选列表
- search: false, //是否启用查询
- showColumns: false, //显示下拉框勾选要显示的列
- showRefresh: false, //显示刷新按钮
- sidePagination: "server", //表示服务端请求
- //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
- //设置为limit可以获取limit, offset, search, sort, order
- queryParamsType: "undefined",
- queryParams: function queryParams(params) { //设置查询参数
- var param = {
- page: params.pageNumber,
- pagesize: params.pageSize,
- tel: $("#lastphone").val(),
- token: $.cookie("token")
- };
- return param;
- },
- onLoadSuccess: function() { //加载成功时执行
- //layer.msg("加载成功");
- },
- onLoadError: function() { //加载失败时执行
- //layer.msg("加载数据失败", { time: 1500, icon: 2 });
- }
- });
- break;
- case '1':
- var obj = $(".phonediv").eq(1);
- obj.show();
- var table = obj.find(".phonelist");
- table.bootstrapTable('destroy');
- //初始化表格,动态从服务器加载数据
- table.bootstrapTable({
- method: "get", //使用get请求到服务器获取数据
- url: huayi.config.callcenter_url + "CallOutScreen/GetUserList", //获取数据的Servlet地址
- striped: true, //表格显示条纹
- pagination: true, //启动分页
- pageSize: 10, //每页显示的记录数
- pageNumber: 1, //当前第几页
- pageList: [10, 20, 50, 100], //记录数可选列表
- search: false, //是否启用查询
- showColumns: false, //显示下拉框勾选要显示的列
- showRefresh: false, //显示刷新按钮
- sidePagination: "server", //表示服务端请求
- //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
- //设置为limit可以获取limit, offset, search, sort, order
- queryParamsType: "undefined",
- queryParams: function queryParams(params) { //设置查询参数
- var param = {
- page: params.pageNumber,
- pagesize: params.pageSize,
- tel: $("#gsphone").val(),
- name: $("#gsname").val(),
- token: $.cookie("token")
- };
- return param;
- },
- onLoadSuccess: function() { //加载成功时执行
- //layer.msg("加载成功");
- },
- onLoadError: function() { //加载失败时执行
- //layer.msg("加载数据失败", { time: 1500, icon: 2 });
- }
- });
- break;
- case '2':
- var obj = $(".phonediv").eq(2);
- obj.show();
- var table = obj.find(".phonelist");
- table.bootstrapTable('destroy');
- //初始化表格,动态从服务器加载数据
- table.bootstrapTable({
- method: "get", //使用get请求到服务器获取数据
- url: huayi.config.callcenter_url + "CallOutScreen/GetCustomerList", //获取数据的Servlet地址
- striped: true, //表格显示条纹
- pagination: true, //启动分页
- pageSize: 10, //每页显示的记录数
- pageNumber: 1, //当前第几页
- pageList: [10, 20, 50, 100], //记录数可选列表
- search: false, //是否启用查询
- showColumns: false, //显示下拉框勾选要显示的列
- showRefresh: false, //显示刷新按钮
- sidePagination: "server", //表示服务端请求
- //设置为undefined可以获取pageNumber,pageSize,searchText,sortName,sortOrder
- //设置为limit可以获取limit, offset, search, sort, order
- queryParamsType: "undefined",
- queryParams: function queryParams(params) { //设置查询参数
- var param = {
- page: params.pageNumber,
- pagesize: params.pageSize,
- tel: $("#khphone").val(),
- name: $("#khname").val(),
- token: $.cookie("token")
- };
- return param;
- },
- onLoadSuccess: function() { //加载成功时执行
- //layer.msg("加载成功");
- },
- onLoadError: function() { //加载失败时执行
- //layer.msg("加载数据失败", { time: 1500, icon: 2 });
- }
- });
- break;
- }
- }
- function view(val) {
- var str = '';
- if(val) {
- str = '<a onclick="call(\'' + val + '\')">' + val + '</a>';
- }
- return str;
- }
- function call(val) {
- $("#Result").val(val);
- $(".img").removeClass("hidens");
- }
- function logout() {
- $.ajax({
- url: huayi.config.callcenter_url + "Login/Logout",
- data: {
- token: $.cookie("token")
- },
- dataType: "json",
- success: function(res) {
- if(res.state) {
- location.href = "./login.html";
- }
- }
- });
- }
- //加载左侧导航菜单
- function loadMenu() {
- $.ajaxSettings.async = false;
- $.getJSON(huayi.config.callcenter_url + 'Index/GetMenu', {
- "token": $.cookie("token")
- }, function(result) {
- $.ajaxSettings.async = true;
- if(result.state.toLowerCase() == "success") {
- var data = result.data;
- var _html = "";
- $.each(data, function(i) {
- var row = data[i];
- if(row.F_ParentID == "0") {
- _html += '<li>';
- _html += '<a class="Click"data-id="Menu_' + row.F_ModuleId + '" href="' + row.F_OptUrl + '"><i class="fa iconfont">' + row.F_ImgUrl + '</i><span class="nav-label">' + row.F_ModuleName + '</span><span class="fa arrow"></span></a>';
- var childNodes = row.ChildNodes; //二级
- if(childNodes.length > 0) {
- _html += '<ul class="nav nav-second-level">';
- $.each(childNodes, function(i) {
- var subrow = childNodes[i];
- var childNodsThird = subrow.ChildNodes; //三级
- if(childNodsThird.length > 0) {
- _html += '<li>';
- _html += '<a href="' + subrow.F_OptUrl + '">';
- _html += '<span class="nav-label">' + subrow.F_ModuleName + '</span>';
- _html += '<span class="fa arrow"></span>';
- _html += '</a>';
- _html += '<ul class="nav nav-third-level">';
- $.each(childNodsThird, function(i) {
- var subrowThird = childNodsThird[i];
- _html += '<li>';
- _html += '<a class="J_menuItem" data-id="Menu_' + subrowThird.F_ModuleId + '" href="' + subrowThird.F_OptUrl + '" >' + subrowThird.F_ModuleName + '</a>';
- _html += '</li>';
- });
- _html += '</ul>';
- } else {
- _html += '<li>';
- _html += '<a class="J_menuItem" data-id="Menu_' + subrow.F_ModuleId + '" href="' + subrow.F_OptUrl + '" >' + subrow.F_ModuleName + '</a>';
- if(subrow.F_Button != '') {
- _html += '<span class="' + subrow.F_Button + '"></span>';
- }
- _html += '</li>';
- }
- });
- _html += '</ul>';
- }
- _html += '</li>';
- }
- });
- // $("#sidebar-nav ul").prepend(_html);
- $(_html).appendTo("#side-menu");
- } else {
- window.location.href = "/login.html";
- }
- })
- }
- $(".J_menuItem").click(function() {
- if($(this).text() == "来电弹屏") {
- // $('.maxOpen').trigger("click");
- // $('.head-pic .lahei .la-before').show();
- // $('.head-pic .lahei .la-after').hide();
- alert("87498");
- }
- })
- //修改密码开始
- $('.shezhi').click(function() {
- $('.personal').show();
- $.ajax({
- type: "get",
- url: huayi.config.callcenter_url + "UserAccount/GetNowUser",
- async: true,
- dataType: 'json',
- data: {
- token: $.cookie("token")
- },
- success: function(result) {
- if(result.state.toLowerCase() == "success") {
- var con = result.data.user;
- console.log(con)
- $('.mgh').val(con.F_UserId);
- $('.mn').val(con.F_UserName);
- $('.mobile').val(con.F_Mobile);
- $('.fenji').val($.cookie("extno"));
- //$('.wxno').val(con.F_WXNo);
- // $('.spwd').val(con.F_Password);
- }
- }
- });
- })
- //tab切换
- $('.perTab li').click(function() {
- $(this).addClass('sel').siblings().removeClass('sel');
- var index = $(this).index();
- $('.perTab_con').children('div').eq(index).show().siblings().hide();
- })
- //编辑个人资料
- $('.grzl tbody>tr>td input.zhidu').attr('readonly', true);
- $('.grbj').click(function() {
- $('.grzl tbody>tr>td input.zhidu').attr('readonly', false);
- $('.grzl tbody>tr>td input.zhidu').css('border-bottom', "1px solid #b3b3b3");
- })
- //取消编辑
- $('.grqx').click(function() {
- $('.grzl tbody>tr>td input.zhidu').attr('readonly', true);
- $('.grzl tbody>tr>td input.zhidu').css('border-bottom', "none");
- })
- //关闭按钮
- $('.ptr').click(function() {
- $('.personal').hide();
- })
- $('.grbtn').click(function() {
- var gh = $('.mgh').val();
- var xm = $('.mn').val();
- var ymm = $('.spwd').val();
- var xmm = $('.npwd').val();
- var qmm = $('.epwd').val();
- if(xmm !== qmm) {
- $('.wrong').show();
- $('.npwd').val('')
- $('.epwd').val('')
- } else if(xmm == '') {
- layer.msg("密码不允许为空!");
- } else {
- $('.wrong').hide();
- $('.grzl tbody>tr>td input').attr('readonly', true);
- $('.grzl tbody>tr>td input').css('border-bottom', "none");
- $.ajax({
- type: "post",
- url: huayi.config.callcenter_url + "UserAccount/UpdatePwd",
- async: true,
- dataType: 'json',
- data: {
- token: $.cookie("token"),
- usercode: gh,
- pwd: ymm,
- oldpwd: xmm,
- mobile: $('.mobile').val()
- },
- success: function(result) {
- // result = $.parseJSON(result);
- if(result.state.toLowerCase() == "success") {
- layer.msg("修改成功!");
- }
- }
- });
- }
- })
- //图片裁剪
- var o = $(".image-crop > img");
- $(o).cropper({
- aspectRatio: 1 / 1,
- resizable: false,
- dragCrop: false,
- preview: ".img-preview",
- done: function() {}
- });
- var r = $("#inputImage");
- if(window.FileReader) {
- r.change(function() {
- var e, i = new FileReader,
- t = this.files;
- if(t.length && (e = t[0], /^image\/\w+$/.test(e.type))) {
- i.readAsDataURL(e);
- i.onload = function() {
- r.val("");
- o.cropper("reset", !0).cropper("replace", this.result);
- }
- } else {
- alert("请选择图片文件");
- }
- });
- $("#setDrag").click(function() {
- o.cropper("setDragMode", "crop");
- var img = o.cropper("getDataURL");
- $.post(huayi.config.callcenter_url + "Index/UploadTX64", {
- dataurl: encodeURIComponent(img),
- "token": $.cookie("token")
- }, function(result) {
- result = $.parseJSON(result);
- if(result.state.toLowerCase() == "success") {
- $(".yhtx").attr("src", huayi.config.callcenter_url.substr(0, huayi.config.callcenter_url.length - 1) + result.data);
- layer.msg("上传成功");
- $('.personal').hide();
- }
- })
- });
- $("#zoomIn").click(function() {
- o.cropper("zoom", .1)
- });
- $("#zoomOut").click(function() {
- o.cropper("zoom", -.1)
- });
- $("#rotateLeft").click(function() {
- o.cropper("rotate", 45)
- });
- $("#rotateRight").click(function() {
- o.cropper("rotate", -45)
- });
- } else {
- r.addClass("hide");
- }
- ////跳转
- function Jumps() {
- //window.parent.frames[ "iframe0"].location.reload();
- $("iframe:visible")[0].src = "widgets.html"
- }
- $(".add_").click(function() {
- var tskh = $("#zxr_").val(); //咨询人:
- var tsdh = $("#zxdh_").val(); //咨询电话
- var cont = $("#zxnr_").val(); //咨询内容
- var clcont = $("#clnr_").val(); //内容
- var type = "1";
- if(!clcont) {
- layer.confirm('请输入处理内容!', {
- btn: ['确定']
- });
- return;
- }
- $.post(huayi.config.callcenter_url + 'CallInScreen/AddWorkOrder', {
- tskh: tskh,
- tsdh: tsdh,
- cont: cont,
- clcont: clcont,
- type: type,
- "token": $.cookie("token")
- }, function(result) {
- result = $.parseJSON(result);
- if(result.state.toLowerCase() == "success") {
- loadOld();
- $("#zxr_").val(''); //咨询人:
- $("#zxdh_").val(''); //咨询电话
- $("#zxnr_").val(''); //咨询内容
- $("#clnr_").val(''); //内容
- layer.msg("创建工单成功");
- }
- })
- })
- //来电号码
- </script>
- <script src="./js/plugins/metisMenu/jquery.metisMenu.js"></script>
- <script src="./js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
- <script src="./js/plugins/layer/layer.min.js"></script>
- <script src="./js/hplus.min.js?v=4.1.0"></script>
- <script src="./js/contabs.min.js"></script>
- </body>
- </html>
|