AI销管
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

details2.vue 86 KiB

2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
1 年之前
1 年之前
1 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
1 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
2 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
1 年之前
2 年之前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431
  1. <template>
  2. <view class="box" @click="cancelBeast">
  3. <view class="headbox">
  4. <!-- 顶部时间 -->
  5. <view class="headboxhead">
  6. <view class="boxhead1">{{luyinList.receptionTime}}</view>
  7. </view>
  8. <!-- 标记顾问 -->
  9. <view class="headboxbott">
  10. <view class="headovfu">
  11. <view class="mytab" v-for="(item,index) in tablist" :key="index" @click="tapspagek(item, index)">
  12. <view class="tab-item" :class="{tabActive: item.select}">{{item.name}}</view>
  13. </view>
  14. </view>
  15. <view v-if="permissions.bjgw" class="headpade">
  16. <view class="biaoji" @tap="tagtap">标记</view>
  17. </view>
  18. </view>
  19. </view>
  20. <scroll-view lower-threshold='100px' @scrolltolower="ltolower" upper-threshold='40px'
  21. @scrolltoupper="rolltoupper" :scroll-into-view="scrollId" scroll-y="true" class="zhuti text scroll-Y">
  22. <!-- 聊天记录-->
  23. <view :id="'dialog'" class="fileName">录音文件</view>
  24. <view class="dialog-block" @click="close()" v-for="(item, index) in dialogList" :key="index">
  25. <view class="text"
  26. :class="{active: Math.floor(item.bg/1000) <= playNow && Math.floor(item.ed/1000) > playNow, isGreen: item.isShow == 0}"
  27. :data-guwen="item.isShow" :data-speaker="item.speaker" :id="'dialogtext'+item.bg">
  28. <template v-if="refined">
  29. <view class="checkbox" :class="{select: item.checked}" @click="cbChange(item)">
  30. <template v-if="item.checked">
  31. <u-icon name="checkbox-mark" color="#fff" />
  32. </template>
  33. </view>
  34. </template>
  35. <view class="avatar">
  36. <view>
  37. <image v-if="item.isShow == 0"
  38. src="https://static.quhouse.com/b11a7e1ccf914020b3ee23d3e4862637.png" mode="widthFix">
  39. </image>
  40. <text v-else :style="[borderColor(item.speaker)]">{{ item.speaker | toCapital }}</text>
  41. </view>
  42. </view>
  43. <view class="contentInfo">
  44. <view class="info">
  45. {{ item.speaker | toCapital }} {{conversionTiame(item.bg/1000)}}
  46. </view>
  47. <view class="contentMain" @click.stop>
  48. <view class="content">
  49. <view @longpress.stop="changanxiaoguo(item,index)" v-html="item.onebest"></view>
  50. <template v-if="item.isshow">
  51. <view class="tankuangcss" :class="{bottoms:index == 0}">
  52. <view class="tankuangcss-items" @click="clickcopy">
  53. <image src="@/static/images/detail/icon1.png" mode=""></image>
  54. <text>复制</text>
  55. </view>
  56. <view v-if="permissions.ccc" class="tankuangcss-items"
  57. @click="Oftenthewrongword">
  58. <image src="@/static/images/detail/icon2.png" mode=""></image>
  59. <text>常错词</text>
  60. </view>
  61. <view v-if="permissions.swyxal" class="tankuangcss-items"
  62. @click="publicEvents('sureRefinement')">
  63. <image src="@/static/images/detail/icon3.png" mode=""></image>
  64. <text>加精华</text>
  65. </view>
  66. <view class="tankuangcss-items" @click="publicEvents('showRoleisshaw')">
  67. <image src="@/static/images/detail/icon4.png" mode=""></image>
  68. <text>修改角色</text>
  69. </view>
  70. </view>
  71. </template>
  72. </view>
  73. <image v-if="Math.floor(item.bg/1000) <= playNow && Math.floor(item.ed/1000) > playNow"
  74. class="play" src="https://static.quhouse.com/ce73a5225f7f44be9f313b0e4e4c2c0e.png">
  75. </image>
  76. <image v-else @click="clickbofang(item)" class="play"
  77. src="https://static.quhouse.com/1b6ac53247e043a1bdc59ecfb2167eba.png"></image>
  78. </view>
  79. <!-- ----------对话下方新加话术标签标识------------ -->
  80. <!-- 1 客户画像 2销讲词 3违禁 4 需求挖掘 -->
  81. <view class="newmark" v-if="item.types">
  82. <view class="mark-item" v-for="(subitem,i) in dealTypes(item.types)" :key="i">
  83. <image v-if="dealword(subitem)[0]==1" class="markicon"
  84. src="https://static.quhouse.com/37e0de3f8d1c421dac8bf699d5e7992d.png"></image>
  85. <image v-if="dealword(subitem)[0]==2" class="markicon"
  86. src="https://static.quhouse.com/b106e8e75db24a59a579a15a78830a76.png"></image>
  87. <image v-if="dealword(subitem)[0]==3" class="markicon"
  88. src="https://static.quhouse.com/8443a2ecb81d4639991ab29c422e9949.png"></image>
  89. <image v-if="dealword(subitem)[0]==4" class="markicon"
  90. src="https://static.quhouse.com/1cd794cb6c974d9dad948a6dd444518b.png"></image>
  91. <view class="marktext" :style="dealword(subitem)[0]==3?'color:#E7483C':'color:#3E50E8'">
  92. {{dealword(subitem)[1]}}
  93. </view>
  94. </view>
  95. </view>
  96. </view>
  97. </view>
  98. </view>
  99. </scroll-view>
  100. <view class="bottombox" v-if="!refined">
  101. <!-- 播放块 -->
  102. <zaudio @checkPlaybackRate="checkPlaybackRate" :duration="duration" theme="theme4"></zaudio>
  103. <!-- 底部弹框 -->
  104. <view class="botbotmm">
  105. <view class="tmmchen" @click="guanjiancishifo()">
  106. <image src='https://static.quhouse.com/226d5e0b97e6407a9901273c3f582ee7.png' mode=""></image>
  107. <view class="text">关键词</view>
  108. </view>
  109. <view class="fill"></view>
  110. <view class="tmmchen" @click="Receivedetailsabouttab('intention')">
  111. <image src="https://static.quhouse.com/19f555ae422b4285b5102875579e61d6.png" mode=""></image>
  112. <view class="text">客户意向</view>
  113. </view>
  114. <view class="fill"></view>
  115. <view class="tmmchen" @click="Receivedetailsabouttab('Pinspeak')">
  116. <image src="https://static.quhouse.com/ce369b09d7be4305990dacdeb84a91f6.png" mode=""></image>
  117. <view class="text">销讲执行</view>
  118. </view>
  119. <view class="fill"></view>
  120. <view class="tmmchen" @click.stop="moreClick">
  121. <image src="https://static.quhouse.com/8807fbe8d7204b4da7c2e0209d8ec8ea.png" mode=""></image>
  122. <view class="text">更多</view>
  123. </view>
  124. </view>
  125. </view>
  126. <template v-else>
  127. <view class="bottomboxs">
  128. <view class="bottomboxs-item" @click="surePublic">确定</view>
  129. <view class="bottomboxs-item" @click="cancelAllAdd">取消</view>
  130. </view>
  131. </template>
  132. <!-- 更多弹框 -->
  133. <view class="moremodal" v-if="Thetapeidisshow">
  134. <view class="more-cont">
  135. <view class="more-title">更多功能
  136. <image class="close-icon" @click="Thetapeidisshow=false"
  137. src="https://static.quhouse.com/4a977a0ecb594f2ebfd5f020b29dcc79.png" mode=""></image>
  138. </view>
  139. <view class="more-btn">
  140. <view v-if="permissions.xgxjyw" class="btn-item"
  141. @click.stop="showTemplate = !showTemplate; Thetapeidisshow=false">
  142. <!-- <image class="icon" v-if="userlistobj.validInvalidName"
  143. src="https://static.quhouse.com/868b0eba0f7c44eca63e3b4fa782f14d.png" mode=""></image>
  144. <image class="icon" v-else src="https://static.quhouse.com/480e572bf43c48558ad9febe5426f439.png"
  145. mode=""></image> -->
  146. 更换销讲业务
  147. </view>
  148. <view class="btn-item" v-if="permissions.bjyx" @click.stop="alllogo">
  149. <image class="icon" v-if="userlistobj.validInvalidName"
  150. src="https://static.quhouse.com/868b0eba0f7c44eca63e3b4fa782f14d.png" mode=""></image>
  151. <image class="icon" v-else src="https://static.quhouse.com/480e572bf43c48558ad9febe5426f439.png"
  152. mode=""></image>
  153. {{ userlistobj.validInvalidName }}
  154. </view>
  155. <view class="btn-item" v-if="permissions.swyxal" @click="jiajing()">
  156. <image class="icon" v-if="status==0"
  157. src="https://static.quhouse.com/47ae5b25cc804bf38e98d2816aef2514.png" mode=""></image>
  158. <image class="icon" v-else src="https://static.quhouse.com/4f1b60d9842146e9bd3e43fae42665bc.png"
  159. mode=""></image>
  160. 优秀案例
  161. </view>
  162. <template v-if="permissions.sbrz">
  163. <view class="btn-item" @click="eqLogClick">
  164. <image class="icon" src="https://static.quhouse.com/ff65fd92c742469594ac85f8bc721964.png"
  165. mode=""></image>
  166. 设备日志
  167. </view>
  168. </template>
  169. <template
  170. v-if="(userlistobj.visitRecord == 1 || userlistobj.visitFlag == 1) && CHECKAUTHORITY('xgdfcs')">
  171. <view class="btn-item" @click="showVisit = true;Thetapeidisshow=false">
  172. <image class="icon" src="../../static/images/users.png" mode=""></image>
  173. 到访次数
  174. </view>
  175. </template>
  176. </view>
  177. </view>
  178. </view>
  179. <!-- 标记 -->
  180. <template v-if="biojiisshow">
  181. <view class="zhezhao" @tap="unmarktap()"></view>
  182. <view class="bounced">
  183. <view class="jiajinghuatit">标记为顾问</view>
  184. <view
  185. style="width: 95%;display: flex;flex-wrap: wrap;margin: 0 auto;padding-top: 30rpx;padding-bottom: 30rpx;">
  186. <view class="viewclace" v-for="(item,index) in tablists" :class="{bosdttom: item.checked}"
  187. :key="item.name" @tap.stop="biaojixuanze(item)">
  188. <view>{{item.name}}</view>
  189. </view>
  190. </view>
  191. <view class="bounced3" style="margin-top: 20rpx;">
  192. <view class="bounced3-1" @tap="unmarktap()">取消</view>
  193. <view class="bounced3-2" @tap="Confirmthetag()">确认</view>
  194. </view>
  195. </view>
  196. </template>
  197. <!-- 加入常错词 -->
  198. <u-modal v-model="isshow2" title="添加常错词" :show-cancel-button="true" @cancel="Cancelout"
  199. @confirm="Confirmtheexit">
  200. <view class="tian-view">
  201. <viwe class="tian-view-t1"></viwe>
  202. <viwe class="tian-view-t2">常错词:</viwe>
  203. <viwe class="tian-view-t3">
  204. <u-input :auto-height="false" height="30" :disabled="isNum" type="textarea" v-model="thewrongword"
  205. :custom-style="customStyle" :border="false" class="tian-input" placeholder="请输入" />
  206. </viwe>
  207. </view>
  208. <view class="tian-view" style="margin-bottom: 74rpx;">
  209. <viwe class="tian-view-t1"></viwe>
  210. <viwe class="tian-view-t2">正确词:</viwe>
  211. <viwe class="tian-view-t3">
  212. <u-input class="tian-input" height="30" type="textarea" v-model="reswrongword" :border="false"
  213. :custom-style="customStyle" placeholder="请输入" />
  214. </viwe>
  215. </view>
  216. </u-modal>
  217. <!-- 加精华 -->
  218. <template v-if="isshow3">
  219. <view class="zhezhao" @tap="Cancelout2"></view>
  220. <view class="bounced">
  221. <view class="jiajinghuatit">加精华</view>
  222. <view style="width: 100%;text-indent: 20rpx;font-size: 28rpx;">选择标签</view>
  223. <view class="jiajinghuaview">
  224. <view class="jighuaview2" v-for="(item,index) in biaoqianlist" :key="index"
  225. :class="biaoqianindex == index ? 'biaoqiantom' : ''">
  226. <view class="view1-text" @click="tapbiaoqianclisck(index)">{{item.name}}</view>
  227. </view>
  228. </view>
  229. <view class="bounced3">
  230. <view class="bounced3-1" @tap="Cancelout2">取消</view>
  231. <view class="bounced3-2" @tap="Confirmtheexit2">确认</view>
  232. </view>
  233. </view>
  234. </template>
  235. <!-- 接待详情 -->
  236. <template v-if="Receivedetailsabout">
  237. <view class="zhezhao" @click="clenReceivedetailsabout()"></view>
  238. <view class="followingpop-up">
  239. <view class="guanbibox">
  240. <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../static/images/Shutdown.png"
  241. mode=""></image>
  242. <view class="cenisboxtab">
  243. <view class="cenisboxtabview">
  244. <view>接待详情</view>
  245. </view>
  246. </view>
  247. </view>
  248. <view class="cenisbox">
  249. <view
  250. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  251. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待顾问</view>
  252. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.agentName}}</view>
  253. </view>
  254. <view
  255. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  256. <view style="width: 25%;color: #666666;font-size: 26rpx;">意向项目</view>
  257. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.projectName}}</view>
  258. </view>
  259. <view
  260. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  261. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待开始时间</view>
  262. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.staTime}}</view>
  263. </view>
  264. <view
  265. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  266. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待结束时间</view>
  267. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.endTime1}}</view>
  268. </view>
  269. <view
  270. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  271. <view style="width: 25%;color: #666666;font-size: 26rpx;">录音时长</view>
  272. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.mm}}分钟</view>
  273. </view>
  274. </view>
  275. </view>
  276. </template>
  277. <!-- 销讲执行 -->
  278. <template v-if="Pinspeak">
  279. <view class="zhezhao" @click="clenReceivedetailsabout()"></view>
  280. <view class="followingpop-up">
  281. <view class="guanbibox">
  282. <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../static/images/Shutdown.png"
  283. mode=""></image>
  284. <view class="cenisboxtab">
  285. <view class="cenisboxtabview">
  286. <view>销讲执行</view>
  287. </view>
  288. </view>
  289. </view>
  290. <view class="pingfenbox">
  291. <view style="overflow: hidden;" :class="{ activecllasscet: zhixingcenterindex == 0 }"
  292. @click="recordclick(0)">销讲总执行率{{totalRate}}%
  293. </view>
  294. <view v-if="permissions.ckwjzx" :class="{ activecllasscet: zhixingcenterindex == 1 }"
  295. @click="recordclick(1)">禁忌执行</view>
  296. <view :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="recordclick(2)">需求挖掘率</view>
  297. </view>
  298. <view v-if="zhixingcenterindex == 0" class="cenisbox">
  299. <view
  300. style="width: 100%;height: 80rpx;border-bottom: 1rpx solid #E0E0E0;display: flex;align-items: center;">
  301. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 20rpx;">指标
  302. </view>
  303. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 170rpx;">执行率
  304. </view>
  305. </view>
  306. <view class="Level-box" v-for="(item,index) in ratelist" :key="index">
  307. <view class="Level1che" @click="changeshow(item,1)">
  308. <view class="title1">{{item.name.substring(0,8)}}</view>
  309. <view class="leve1-jindu">
  310. <view class="jindutiao">
  311. <view class="huanxing" :style="{width: item.ratepercent/item.rate*100+'%'}"></view>
  312. <view class="text">{{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%
  313. </view>
  314. </view>
  315. </view>
  316. <view class="jiantobox">
  317. <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png"
  318. mode="" />
  319. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  320. </view>
  321. </view>
  322. <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i">
  323. <view class="Level2che" @click="changeshow2(subitem,1)">
  324. <view class="title1">{{subitem.name.substring(0,8)}}</view>
  325. <view class="leve1-jindu">
  326. <view class="zhixing" v-if="!subitem.selected">已执行</view>
  327. <view class="zhixing2" v-else>未执行</view>
  328. </view>
  329. <view class="jiantobox">
  330. <image v-if="!subitem.show" class="arrow rotatearrow" src="/static/images/down.png"
  331. mode="" />
  332. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  333. </view>
  334. </view>
  335. <view class="hsnrtest" v-if="subitem.show">话术内容</view>
  336. <view class="Level3che" @tap="clickaudeopal(che)" v-if="subitem.show"
  337. v-for="(che,inc) in subitem.children" :key='inc'>
  338. <view class="title1">{{inc+1}}.{{che.name}}</view>
  339. <view class="jiantobox">
  340. <image v-if="che.selected==0" class="arrow" src="/static/images/rate-checked.png"
  341. mode="" />
  342. </view>
  343. </view>
  344. <view v-if="subitem.show" style="width: 100%;height: 30rpx;"></view>
  345. </view>
  346. </view>
  347. </view>
  348. <view v-if="zhixingcenterindex == 1">
  349. <template v-if="prohibitedlist.guwen.length > 0">
  350. <view style="font-size: 30rpx;padding: 12rpx 24rpx;">顾问</view>
  351. <view v-if="prohibitedlist.length!=0" class="title1-12" @click="tapbadge(item)"
  352. v-for="(item,index) in prohibitedlist.guwen" :key='index'>
  353. {{index+1}}.{{item}}
  354. </view>
  355. </template>
  356. <template v-if="prohibitedlist.kehu.length > 0">
  357. <view style="font-size: 30rpx;padding: 12rpx 24rpx;">客户</view>
  358. <view v-if="prohibitedlist.length!=0" class="title1-12" @click="tapbadge(item)"
  359. v-for="(item,index) in prohibitedlist.kehu" :key='index'>
  360. {{index+1}}.{{item}}
  361. </view>
  362. </template>
  363. <view v-if="prohibitedlist.guwen.length == 0 && prohibitedlist.kehu.length == 0" style="width: 100%;text-align: center;margin-top: 60rpx;">
  364. 暂无数据
  365. </view>
  366. </view>
  367. <!-- 需求挖掘率 -->
  368. <view v-if="zhixingcenterindex == 2" class="cenisbox">
  369. <view class="top-box">
  370. <view style="width:50%;text-align:center">挖掘执行:{{wordFraction||0}}%</view>
  371. <view style="width:50%;text-align:center">挖掘成功:{{percent||0}}%</view>
  372. </view>
  373. <view
  374. style="width: 100%;height: 80rpx;border-bottom: 1rpx solid #E0E0E0;display: flex;align-items: center;">
  375. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 28rpx;">指标
  376. </view>
  377. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-align:center">执行率
  378. </view>
  379. <view style="flex: 1;color: #333333;font-weight: 600;text-align:center;text-indent:28rpx">挖掘成功
  380. </view>
  381. <view style="flex: 0 0 30rpx"></view>
  382. </view>
  383. <view class="Level-box" v-for="(item,index) in KeyWordsfractionList" :key="index">
  384. <view class="Level1che" @click="hangeshow2(item,1)">
  385. <view class="title1" style="flex:1">{{item.name}}</view>
  386. <view class="Level1-middle" style="flex:2;display:flex;">
  387. <view class="item" style="flex:1;text-align:center;">执行{{item.fraction || 0}}%</view>
  388. <view class="item" style="flex:1;text-align:center;color:#2671E2"
  389. v-if="item.keywordsList&&item.keywordsList.length">已完成({{
  390. item.keywordsList.length
  391. }})</view>
  392. <view class="item" v-else style="flex:1;text-align:center;">未完成</view>
  393. </view>
  394. <view class="jiantobox">
  395. <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png"
  396. mode="" />
  397. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  398. </view>
  399. </view>
  400. <!-- 话术在一级下 -->
  401. <view v-if="item.children&&item.children.length==0">
  402. <view class="hhhbox" v-if="item.show" style="padding: 30rpx;">
  403. <view class="hsnrtest" style="font-size:30rpx;color: #333;line-height: 42rpx;">
  404. 客户标签:{{ getKeywordsList(item.keywordsList) }}</view>
  405. <view class="hsnrtest" style="margin-top:10rpx">话术内容:</view>
  406. <view v-if="item.modelList.length==0">暂无话术</view>
  407. <view class="Level3che" @click="clickWajue(che)" v-for="(che,inc) in item.modelList"
  408. :key='inc'>
  409. <view class="title1"
  410. :style="che.isAskQuestions==2?'color:#FF8C13':che.isAskQuestions==0?'':'color: #666'">
  411. {{inc+1}}.{{che.showFormatExpression}}
  412. </view>
  413. <view class="jiantobox">
  414. <!-- 0本次选中 1未选中 2上次选中 -->
  415. <image v-if="che.isAskQuestions==0" class="arrow"
  416. src="/static/images/rate-checked.png" mode="" />
  417. <image v-else-if="che.isAskQuestions==2" class="arrow"
  418. src="/static/images/checked-yellow.png" mode="" />
  419. <image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
  420. </view>
  421. </view>
  422. </view>
  423. </view>
  424. <!-- 话术二级下 -->
  425. <view v-if="item.children&&item.children.length">
  426. <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i">
  427. <view class="Level2che" @click="hangeshow2(subitem,1)">
  428. <view class="title1 u-line-1">{{subitem.name}}</view>
  429. <view class="leve1-jindu">
  430. <view class="zhixing" v-if="subitem.isAskQuestions==0">已执行</view>
  431. <view class="zhixing2" v-else>未执行</view>
  432. </view>
  433. <view class="leve1-jindu">
  434. <view class="zhixing" v-if="subitem.selected==0">已完成</view>
  435. <view class="zhixing2" v-else>未完成</view>
  436. </view>
  437. <view class="jiantobox">
  438. <image v-if="!subitem.show" class="arrow rotatearrow"
  439. src="/static/images/down.png" mode="" />
  440. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  441. </view>
  442. </view>
  443. <view v-if="subitem.show" style="padding: 30rpx 0;">
  444. <view class="hsnrtest" style="font-size:30rpx;color: #333;line-height: 42rpx;">
  445. 客户标签:{{ getKeywordsList(subitem.keywordsList) }}</view>
  446. <view class="hsnrtest" style="margin-top: 10rpx">话术内容:</view>
  447. <view v-if="subitem.modelList.length==0">暂无话术</view>
  448. <view class="Level3che" @click="clickWajue(che)"
  449. v-for="(che,inc) in subitem.modelList" :key='inc'>
  450. <view class="title1"
  451. :style="che.isAskQuestions==2?'color:#FF8C13':che.isAskQuestions==0?'':'color: #666'">
  452. {{inc+1}}.{{che.showFormatExpression}}
  453. </view>
  454. <view class="jiantobox">
  455. <!-- 0本次选中 1未选中 2上次选中 -->
  456. <image v-if="che.isAskQuestions==0" class="arrow"
  457. src="/static/images/rate-checked.png" mode="" />
  458. <image v-else-if="che.isAskQuestions==2" class="arrow"
  459. src="/static/images/checked-yellow.png" mode="" />
  460. <image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
  461. </view>
  462. </view>
  463. </view>
  464. </view>
  465. </view>
  466. </view>
  467. </view>
  468. </view>
  469. </template>
  470. <!-- 客户意向 -->
  471. <template v-if="intention">
  472. <view class="zhezhao" @click="clenReceivedetailsabout()"></view>
  473. <view class="followingpop-up">
  474. <view class="guanbibox">
  475. <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../static/images/Shutdown.png"
  476. mode=""></image>
  477. <view class="cenisboxtab">
  478. <view class="cenisboxtabview">
  479. <view>客户意向</view>
  480. </view>
  481. </view>
  482. </view>
  483. <view class="pingfenbox">
  484. <view :class="{ activecllasscet: kehuyixiangcenterindex == 0 }" @click="customerofintention(0)">系统分析
  485. </view>
  486. <view :class="{ activecllasscet: kehuyixiangcenterindex == 1 }" @click="customerofintention(1)">人工校准
  487. </view>
  488. </view>
  489. <view class="cenisbox" v-if="kehuyixiangcenterindex==0">
  490. <view style="width: 100%;height: 100%;text-align: center;margin-top: 200rpx;"
  491. v-if="Acquirecustomerintentlist.length==0">
  492. 暂无数据
  493. </view>
  494. <view class="jianbox" v-if="Acquirecustomerintentlist.length!=0"
  495. v-for="(item,index) in Acquirecustomerintentlist" :key='index'>
  496. <view class="jianbox-cen">
  497. <view class="jianboxtext">{{item.name}}</view>
  498. <view class="jianboxjian" @click="Acquishow(index)">
  499. <image v-if="item.isshow==false" class="jiantop" src="../../static/images/jiantop.png"
  500. mode=""></image>
  501. <image v-if="item.isshow==true" class="jiantop1"
  502. src="../../static/images/jianbutton.png" mode=""></image>
  503. </view>
  504. </view>
  505. <view style="width: 690rpx;margin: 0 auto;display: flex;flex-wrap: wrap;"
  506. v-if="item.isshow==true">
  507. <view class="sdfsaf" v-if="chend.showType==0" @click="argece(chend)"
  508. v-for="(chend,i) in item.children" :key='i'>
  509. <view class="jiangshang sdfsaf">{{chend.text}}</view>
  510. </view>
  511. <view class="sdfsaf" v-if="chend.showType==1" @click="argece(chend)"
  512. v-for="(chend,i) in item.children" :key='i'>
  513. <view class="jiangshang1 sdfsaf">{{chend.text}}</view>
  514. </view>
  515. </view>
  516. </view>
  517. </view>
  518. <view class="cenisbox" v-if="kehuyixiangcenterindex==1">
  519. <view style="width: 100%;height: 100%;text-align: center;margin-top: 200rpx;"
  520. v-if="Acquirecustomerintentlist2.length==0">
  521. 暂无数据
  522. </view>
  523. <view class="jianbox" v-if="Acquirecustomerintentlist2.length"
  524. v-for="(item,index) in Acquirecustomerintentlist2" :key='index'>
  525. <view class="jianbox-cen">
  526. <view class="jianboxtext">{{item.name}}</view>
  527. <view class="jianboxjian" @click="Acquishow2(index)">
  528. <image v-if="item.isshow==false" class="jiantop" src="../../static/images/jiantop.png"
  529. mode=""></image>
  530. <image v-if="item.isshow==true" class="jiantop1"
  531. src="../../static/images/jianbutton.png" mode=""></image>
  532. </view>
  533. </view>
  534. <view class="bioqianwayl" v-if="item.isshow==true">
  535. <view class="jiangshang" v-for="(chend,i) in item.children" :key='i'
  536. v-if="chend.selected==0">
  537. {{chend.text}}
  538. </view>
  539. </view>
  540. </view>
  541. </view>
  542. <view class="calibration" v-if="permissions.xz" @click="tocalibration()">校准</view>
  543. </view>
  544. </template>
  545. <!-- 请选择无效原因 -->
  546. <template v-if="effective">
  547. <view class="zhezhao"></view>
  548. <view class="bounced">
  549. <view class="jiajinghuatit">请选择无效原因</view>
  550. <view class="uni-list"
  551. style="margin: 20rpx 0;padding: 0 40rpx;display: flex;justify-content: center;height: 90rpx;"
  552. @tap="effectiveIndexShow = true">
  553. <view
  554. style="width: 100%;padding: 10rpx 20rpx;display: flex;align-items: center;justify-content: space-between;border: 1rpx solid #E0E0E0;border-radius: 4rpx;color: #333333;">
  555. {{ effectiveIndexText }}
  556. <image style="width: 20rpx;height: 12rpx;" src="@/static/images/downs.png" mode=""></image>
  557. </view>
  558. </view>
  559. <view v-if="effectiveindex == 5" style="margin: 20rpx 0;padding: 0 40rpx;">
  560. <textarea class="ffectivetext" v-model="effectiveitext" placeholder="请填写无效原因" />
  561. </view>
  562. <view class="bounced3">
  563. <view class="bounced3-1" @click="effective=false">取消</view>
  564. <view class="bounced3-2" @click="$noMultipleClicks(effectiveAdd)">确认</view>
  565. </view>
  566. </view>
  567. </template>
  568. <!-- 修改角色 -->
  569. <template v-if="roleisshaw">
  570. <view class="zhezhao" @tap="unmarktap()"></view>
  571. <view class="bounced">
  572. <view class="jiajinghuatit">修改角色</view>
  573. <view
  574. style="width: 95%;display: flex;flex-wrap: wrap;margin: 0 auto;padding-top: 30rpx;padding-bottom: 30rpx;">
  575. <view class="viewclace" :class="roleindexrow == index ? 'bosdttom' : ''" @click="rolexuanze(index)"
  576. v-for="(item,index) in tablist.slice(1,tablist.length)" :key="index">
  577. <view>{{item.name}}</view>
  578. </view>
  579. <view class="headpade" style="border: none;">
  580. <view class="biaoji" @tap="addRole">新增角色</view>
  581. </view>
  582. </view>
  583. <view class="bounced3" style="margin-top: 20rpx;">
  584. <view class="bounced3-1" @tap="unmarktap()">取消</view>
  585. <view class="bounced3-2" @tap="roletab()">确认</view>
  586. </view>
  587. </view>
  588. </template>
  589. <!-- 消息提示组件 -->
  590. <u-toast ref="uToast" />
  591. <!-- 销讲业务 -->
  592. <u-select :mask-close-able="false" label-name="templateName" value-name="id" v-model="showTemplate"
  593. mode="single-column" :list="templateList" @cancel="templateCancel" @confirm="templateConfirm"></u-select>
  594. <!-- 加载组件 -->
  595. <u-loadings v-model="LOADING"></u-loadings>
  596. <!-- 无效接待原因 -->
  597. <u-select :mask-close-able="false" label-name="name" value-name="id" v-model="effectiveIndexShow"
  598. mode="single-column" :list="effectiveitems" @cancel="effectiveIndexCancel" @confirm="effectiveIndexConfirm">
  599. </u-select>
  600. <!-- 本次属于客户第几次到访 -->
  601. <u-popup v-model="showVisit" mode="center" border-radius="16" width="600rpx">
  602. <view class="show-visit-content">
  603. <view class="visit-title">
  604. 修改次数
  605. </view>
  606. <view class="visit-box">
  607. <view class="v-t">本次属于客户第几次到访</view>
  608. <view class="visit-step">
  609. <view class="mitems" style="border-right: 1rpx solid #999;" @tap="reduce">
  610. -
  611. </view>
  612. <input class="input" type="number" disabled v-model="visitParams.visitRecordNum">
  613. <view class="mitems" style="border-left: 1rpx solid #999;" @tap="add">
  614. +
  615. </view>
  616. </view>
  617. <view class="tips">
  618. 注意:客户没有第一次到访记录,该客户所有的接待销讲执行率,不参与统计
  619. </view>
  620. </view>
  621. <view class="visit-btns">
  622. <view class="btn-item" @tap="cancelVisitRecord">取消</view>
  623. <view class="btn-item" @tap="changeVisitRecord" style="border-left: none;">确认</view>
  624. </view>
  625. </view>
  626. </u-popup>
  627. </view>
  628. </template>
  629. <script>
  630. var util = require("../../utils/util.js");
  631. var config = require("../../config");
  632. import zaudio from '@/components/uniapp-zaudio/zaudio';
  633. export default {
  634. components: {
  635. zaudio
  636. },
  637. data() {
  638. return {
  639. KeyWordsfractionList: [], // 客户详情需求挖掘话术列表
  640. customStyle: { // 输入框自定义样式
  641. 'width': '320rpx',
  642. 'font-size': '34rpx',
  643. 'border-bottom': '1px solid #ccc'
  644. },
  645. noClick: true, // 防重点击
  646. kehuyixiangcenterindex: 0, // 系统分析人工校准选项卡
  647. calibration: 0, // 不知道是个啥
  648. Acquirecustomerintentlist2: [], // 人工校准数组
  649. Acquirecustomerintentlist: [], // 系统分析数组
  650. zhixingcenterindex: 0, // 销讲总执行率 && 禁忌执行 && 需求挖掘率 选项卡下标
  651. prohibitedlist: {
  652. guwen: [], // 顾问违禁词
  653. kehu: [], // 客户违禁词
  654. }, // 禁忌执行
  655. tablist: [], // 角色列表
  656. tablists: [], // 标记顾问的角色列表
  657. roleSelectArr: [0], // 当前选中的角色标记点
  658. customerId: "", // 客户id
  659. luyinList: {}, // 录音文件详情(obj形式)
  660. dialogList: [], // 录音识别列表
  661. scrollId: "", // scroll-view的锚点 id
  662. playNow: 0, // 当前录音播放时间戳
  663. ratelist: [], //评分列表
  664. totalRate: "", // 销讲总执行率
  665. thewrongword: "", //错误词
  666. reswrongword: "", //正确词
  667. isshow2: false, // 修改常错词弹出层控制变量
  668. messagelisy: [], // /corpus/addCorrectWord 加入常错词接口 入参translateHtmlContent
  669. isshow3: false, // 加精弹窗
  670. biaoqianlist: [], // 加精华 标签的列表
  671. biaoqianindex: 0, // 选中标签下标
  672. biaoqianid: "", // 选择加精的标签id
  673. status: 0, // 不知道是啥
  674. itemobj: {}, // uni.getStorageSync('searchobj') 估计是其他页面存的筛选条件
  675. biojiisshow: false, // 标记弹窗
  676. userlistobj: {}, // 用户信息
  677. Receivedetailsabout: false, // 接待详情弹窗
  678. Pinspeak: false, // 销讲执行弹窗
  679. intention: false, // 客户意向弹窗
  680. buildingID: uni.getStorageSync('buildingID').id || '', // 当前选中的项目id
  681. Thetapeidisshow: false, // 底部菜单更多弹框
  682. effective: false, // 无效原因弹窗
  683. effectiveindex: '0', // 无效原因id
  684. effectiveitems: [], // 无效原因数组
  685. effectiveIndexShow: false, // 无效原因select弹窗
  686. effectiveIndexText: '请选择', // 无效原因展示文字
  687. effectiveitext: '', // 无效原因备注文字
  688. textItself: '', // 存储修改的常错字对话
  689. argtextindex2: 0, // 长按单次选中的对话下标
  690. permissions: {}, // 权限菜单
  691. roleisshaw: false, // 修改角色弹窗
  692. roleindexrow: 0, // 选中需要修改的角色下标
  693. roletiaoshu: 0,
  694. ACTION: Symbol('zaudio'), // 唯一值区分每个页面的方法
  695. isPageHide: false, // 是否息屏
  696. duration: '', // 总时长
  697. refresh: false, // 默认false
  698. isNum: false, // 常错词输入框是否禁用
  699. eqLog: 0,
  700. refined: false, // 多选加精;
  701. nowPlaying: 0, // 当前播放位置
  702. stepPosition: 0, // 需要跳转的播放位置
  703. templateList: [], // 销讲业务
  704. showTemplate: false, // 展示选择销讲业务弹窗
  705. templateName: '', // 销讲业务类型文字
  706. percent: 0, // 挖掘成功
  707. wordFraction: 0, // 挖掘执行
  708. showVisit: false, // 操作框
  709. visitParams: {
  710. id: '',
  711. projectId: uni.getStorageSync('buildingID').id, // 当前项目id
  712. visitRecordNum: 1, // 默认到访次数
  713. },
  714. eventParams: '', // 触发的事件
  715. consultant: '', // 顾问身份id字符串
  716. };
  717. },
  718. computed: {
  719. conversionTiame() {
  720. return (e) => {
  721. return util.formatSecond(e)
  722. }
  723. },
  724. },
  725. onLoad(options) {
  726. this.LOADING = true
  727. this.status = options.status;
  728. this.customerId = options.customerId;
  729. this.itemobj = uni.getStorageSync('searchobj');
  730. this.stateisshow = options.stateisshow;
  731. this.wordFraction = options.wordFraction == 'undefined' ? 0 : options.wordFraction;
  732. this.addLookingCount(options.customerId)
  733. this.visitParams.id = options.customerId;
  734. this.$zaudio.autoPlay = true
  735. if (options.refresh) this.refresh = options.refresh
  736. this.$zaudio.on('seek', this.ACTION, (time) => {
  737. this.sliderChangeComplate(this.TIMEEVENT(time))
  738. })
  739. this.$zaudio.on('playing', this.ACTION, (obj) => {
  740. //实时渲染当前的播放状态
  741. this.$zaudio.syncRender()
  742. this.duration = obj.duration
  743. this.nowPlaying = obj.current_value
  744. this.TimeUpdate(this.TIMEEVENT(obj.current))
  745. })
  746. // 获取销讲业务
  747. this.$zaudio.on('ended', this.ACTION, e => {
  748. this.$zaudio.stop()
  749. this.$nextTick(() => {
  750. this.init(this.itemobj)
  751. })
  752. })
  753. this.getInvalidList()
  754. uni.$on('DETAILS2INIT', (info) => {
  755. this.itemobj = info
  756. this.init(info)
  757. });
  758. // 当前页面状态
  759. uni.$on('newobjStatus', status => {
  760. this.status = status
  761. })
  762. this.firstInPage = false
  763. },
  764. onShow() {
  765. //实时渲染当前的播放状态
  766. this.$zaudio.syncRender()
  767. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  768. this.permissions = {
  769. ...newmenulist,
  770. ...this.permissions
  771. }
  772. this.intention = false;
  773. this.kehuyixiangcenterindex = 0;
  774. if (this.stateisshow == 2) {
  775. var info = this.itemobj;
  776. }!this.isPageHide && this.init(info);
  777. this.getMarketingBusiness()
  778. },
  779. onHide() {
  780. this.isPageHide = true
  781. },
  782. onUnload() {
  783. uni.$off('DETAILS2INIT')
  784. uni.$off('newobjStatus')
  785. // uni.$off('consumerDetail')
  786. //卸载不需要的业务和获取播放状态的业务,提高页面性能
  787. this.$zaudio.off('seek', this.ACTION);
  788. this.$zaudio.off('playing', this.ACTION);
  789. this.$zaudio.off('ended', this.ACTION);
  790. },
  791. methods: {
  792. // 客户第几次到访 -
  793. reduce() {
  794. if (this.visitParams.visitRecordNum == 1) {
  795. uni.showToast({
  796. title: '不能再减了~',
  797. icon: "none",
  798. duration: 2000
  799. });
  800. return
  801. }
  802. this.visitParams.visitRecordNum--
  803. },
  804. // 客户第几次到访+
  805. add() {
  806. this.visitParams.visitRecordNum++
  807. },
  808. // 取消
  809. cancelVisitRecord() {
  810. this.visitParams.visitRecordNum = 1
  811. this.showVisit = false
  812. },
  813. // 客户第几次到访 修改
  814. changeVisitRecord() {
  815. this.$u.post('/customer/updateVisitRecord', this.visitParams).then(res => {
  816. this.cancelVisitRecord()
  817. }).catch(res => {
  818. uni.showToast({
  819. title: '操作失败,请稍候重试!',
  820. duration: 2000
  821. });
  822. })
  823. },
  824. // 获取接待类型列表
  825. getInvalidList() {
  826. this.$u.post('/customer/invalidList', {
  827. houseId: this.buildingID,
  828. }).then(res => {
  829. console.log(res)
  830. this.effectiveitems = res.filter(item => item.id != 6 && item.id != 7)
  831. })
  832. },
  833. // 无效接待原因 取消
  834. effectiveIndexCancel() {
  835. this.effectiveitext = "";
  836. },
  837. // 无效接待原因 确认
  838. effectiveIndexConfirm(e) {
  839. this.effectiveIndexText = e[0].label
  840. this.effectiveindex = e[0].value
  841. },
  842. // 获取销讲业务
  843. getMarketingBusiness() {
  844. this.$u.get('/customer/marketingBusiness', {
  845. houseId: this.buildingID,
  846. status: 0,
  847. }).then(res => {
  848. this.templateList = res
  849. })
  850. },
  851. // 执行 不知道干嘛的
  852. hangeshow2(item, type) {
  853. item.show = !item.show;
  854. },
  855. //挖掘率话术客户标签展示
  856. getKeywordsList(list) {
  857. let keywords = [];
  858. if (list && list.length) {
  859. keywords = list.map((item) => item.name);
  860. } else {
  861. return "--";
  862. }
  863. return keywords.join(",");
  864. },
  865. // 计算挖掘执行的完成率
  866. getPercent() {
  867. let countArr = this.KeyWordsfractionList.filter(item => item.selected == 0)
  868. this.percent = (countArr.length / this.KeyWordsfractionList.length) * 100
  869. this.percent = this.percent.toFixed(0)
  870. },
  871. // 客户详情需求挖掘话术
  872. getfindKeyWordsBycusId() {
  873. this.$u.get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId).then(res => {
  874. // console.log(res)
  875. if (res.length) {
  876. res.forEach((item, index) => {
  877. item.show = false
  878. if (index == 0) {
  879. item.show = true
  880. }
  881. item.children.forEach((obj, i) => {
  882. obj.show = false
  883. if (i == 0 && index == 0) {
  884. obj.show = true;
  885. }
  886. })
  887. })
  888. this.KeyWordsfractionList = res
  889. this.getPercent()
  890. } else {
  891. this.KeyWordsfractionList = []
  892. }
  893. })
  894. },
  895. // 挖掘话术点击
  896. clickWajue(item) {
  897. if (item.isAskQuestions == 0) {
  898. this.Pinspeak = false
  899. uni.navigateTo({
  900. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item
  901. .showFormatExpression +
  902. "&skpl=" + "2" + '&UpDateEvent=DETAILS2INIT'
  903. })
  904. }
  905. },
  906. // 对话加命中标签
  907. dealTypes(type) {
  908. if (type) {
  909. // let tem = type.split(',')
  910. let tem = type.substring(1).split(',')
  911. return tem
  912. } else {
  913. return []
  914. }
  915. },
  916. // 对话加命中标签
  917. dealword(type) {
  918. if (type) {
  919. let a = type.split('-')
  920. let rest = type.substring(2).split('-').join(',')
  921. let arr = [a[0], rest]
  922. return arr
  923. } else {
  924. return []
  925. }
  926. },
  927. // 跳转设备日志页面
  928. eqLogClick() {
  929. uni.navigateTo({
  930. url: `./equipmentLog?id=${this.customerId}`
  931. })
  932. },
  933. // 销讲业务方法
  934. templateCancel() {
  935. this.showTemplate = false;
  936. },
  937. // 确认选择销讲业务
  938. templateConfirm(e) {
  939. this.showTemplate = false;
  940. this.$u.post('/customer/updateMarketingBusiness', {
  941. marketingBusiness: e[0].value,
  942. id: this.userlistobj.id
  943. }).then(res => {
  944. uni.showToast({
  945. title: '操作成功',
  946. icon: 'none',
  947. duration: 2000
  948. })
  949. this.init(this.infos);
  950. this.gituserlist()
  951. this.getMarketingBusiness()
  952. }).catch(e => {
  953. uni.showToast({
  954. title: e.data.message,
  955. icon: 'none',
  956. duration: 2000
  957. })
  958. })
  959. },
  960. // 角色身份颜色
  961. borderColor(index) {
  962. let obj = {
  963. color: '',
  964. borderRadius: '8rpx',
  965. border: ''
  966. }
  967. switch (index) {
  968. case 1:
  969. obj.color = '#E6625B';
  970. obj.border = '2rpx solid #E6625B';
  971. break;
  972. case 2:
  973. obj.color = '#FF981E';
  974. obj.border = '2rpx solid #FF981E';
  975. break;
  976. case 3:
  977. obj.color = '#F6BD16';
  978. obj.border = '2rpx solid #F6BD16';
  979. break;
  980. case 5:
  981. obj.color = '#4980C8';
  982. obj.border = '2rpx solid #4980C8';
  983. break;
  984. case 6:
  985. obj.color = '#60CBEC';
  986. obj.border = '2rpx solid #60CBEC';
  987. break;
  988. case 7:
  989. obj.color = '##FF981E';
  990. obj.border = '2rpx solid #FF981E';
  991. break;
  992. case 8:
  993. obj.color = '#4F861E';
  994. obj.border = '2rpx solid #4F861E';
  995. break;
  996. default:
  997. obj.color = '#9F61C8';
  998. obj.border = '2rpx solid #9F61C8';
  999. break;
  1000. }
  1001. return obj
  1002. },
  1003. // 关闭弹窗
  1004. close() {
  1005. this.cancelBeast()
  1006. this.$forceUpdate();
  1007. },
  1008. // 添加角色
  1009. addRole() {
  1010. this.tablist.push({
  1011. name: String.fromCharCode(this.tablist.length + 64),
  1012. checked: false,
  1013. })
  1014. },
  1015. // 选择角色
  1016. rolexuanze(index) {
  1017. this.roleindexrow = index;
  1018. },
  1019. // 修改角色弹窗
  1020. showRoleisshaw() {
  1021. this.roleisshaw = true
  1022. },
  1023. // 修改角色
  1024. roletab() {
  1025. this.$u.post("/corpus/batchUpdateRole", {
  1026. corpusId: this.luyinList.id,
  1027. transferContent: JSON.stringify(this.dialogList),
  1028. speaker: this.roleindexrow + 1,
  1029. customerId: this.customerId
  1030. }).then(res => {
  1031. uni.showToast({
  1032. title: '修改成功',
  1033. duration: 2000
  1034. });
  1035. this.roleisshaw = false;
  1036. this.cancelBeast()
  1037. this.cancelAllAdd()
  1038. //
  1039. this.dialogList.forEach(item => {
  1040. if (item.checked) {
  1041. item.speaker = this.roleindexrow + 1
  1042. }
  1043. })
  1044. }).catch(e => {
  1045. uni.showToast({
  1046. title: '修改失败,请重试!',
  1047. duration: 2000
  1048. });
  1049. this.roleisshaw = false;
  1050. this.cancelBeast()
  1051. this.cancelAllAdd()
  1052. })
  1053. },
  1054. // 跳转匹配标签页面
  1055. argece(item) {
  1056. if (item.selected == 0) {
  1057. // 关闭当前页面弹窗
  1058. this.Pinspeak = false
  1059. uni.navigateTo({
  1060. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  1061. .keywordsId + "&type=" + 1 + '&UpDateEvent=DETAILS2INIT'
  1062. })
  1063. }
  1064. },
  1065. //关键词点击
  1066. tapbadge(item) {
  1067. //进搜索页面
  1068. uni.navigateTo({
  1069. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item +
  1070. "&skpl=" + "2" + '&UpDateEvent=DETAILS2INIT'
  1071. })
  1072. },
  1073. // 销讲总执行率 && 禁忌执行 && 需求挖掘率 选项卡
  1074. recordclick(i) {
  1075. this.zhixingcenterindex = i;
  1076. if (i == 0) {
  1077. this.getRatelist()
  1078. } else if (i == 1) {
  1079. this.huoqujinji()
  1080. } else {
  1081. this.getfindKeyWordsBycusId()
  1082. }
  1083. },
  1084. //获取禁忌
  1085. huoqujinji() {
  1086. uni.showLoading({
  1087. title: '加载中'
  1088. });
  1089. this.$u.get("/customer/findTabooWordsByCusId", {
  1090. cusId: this.customerId
  1091. }).then(res => {
  1092. if (res) {
  1093. this.prohibitedlist = res;
  1094. }
  1095. setTimeout(function() {
  1096. uni.hideLoading();
  1097. }, 1000);
  1098. })
  1099. },
  1100. //评分点击
  1101. clickaudeopal(item) {
  1102. if (item.selected == 0) {
  1103. // 关闭当前页面弹窗
  1104. this.Pinspeak = false
  1105. uni.navigateTo({
  1106. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  1107. .marketingId + "&type=" + 0 + '&UpDateEvent=DETAILS2INIT'
  1108. })
  1109. }
  1110. },
  1111. //获取用户信息
  1112. gituserlist() {
  1113. this.$u.get("/matchKeywords/personalReceptionRecord", {
  1114. customerId: this.customerId
  1115. }).then(res => {
  1116. res.endTime1 = res.endTime.substring(0, 19);
  1117. this.visitParams.visitRecordNum = res.visitRecord || 1
  1118. this.userlistobj = res;
  1119. })
  1120. },
  1121. // 点击更多
  1122. moreClick() {
  1123. this.gituserlist()
  1124. this.Thetapeidisshow = true
  1125. },
  1126. // 跳转系统校准页面
  1127. tocalibration() {
  1128. uni.navigateTo({
  1129. url: '/pages/mine/calibration?id=' + this.customerId
  1130. });
  1131. },
  1132. // 切换 系统分析||人工校准
  1133. customerofintention(i) {
  1134. this.kehuyixiangcenterindex = i;
  1135. if (i == 0) {
  1136. this.Acquirecustomerintent()
  1137. } else {
  1138. this.Acquirecustomerintent2()
  1139. }
  1140. },
  1141. //获取人工校准意向信息
  1142. Acquirecustomerintent2() {
  1143. this.Acquirecustomerintentlist2 = [];
  1144. this.$u.get("/matchKeywords/findManualCalibration", {
  1145. customerId: this.customerId,
  1146. type: 1
  1147. }).then(res => {
  1148. res.forEach(item => {
  1149. item.isshow = true;
  1150. item.children.forEach(chend => {
  1151. if (chend.isInterval == 0) {
  1152. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  1153. .unit
  1154. } else {
  1155. chend.text = chend.name
  1156. }
  1157. })
  1158. })
  1159. this.Acquirecustomerintentlist2 = res;
  1160. })
  1161. },
  1162. //获取系统意向信息
  1163. Acquirecustomerintent() {
  1164. this.Acquirecustomerintentlist = [];
  1165. this.$u.get("/matchKeywords/findSystemAnalysis", {
  1166. customerId: this.customerId
  1167. }).then(res => {
  1168. res.forEach(item => {
  1169. item.isshow = true;
  1170. item.children.forEach(chend => {
  1171. if (chend.isInterval == 0) {
  1172. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  1173. .unit
  1174. } else {
  1175. chend.text = chend.name
  1176. }
  1177. })
  1178. })
  1179. this.Acquirecustomerintentlist = res;
  1180. })
  1181. },
  1182. // 客户意向 不知道是干啥的
  1183. Acquishow(i) {
  1184. this.Acquirecustomerintentlist[i].isshow = !this.Acquirecustomerintentlist[i].isshow;
  1185. },
  1186. // 客户意向 不知道是干啥的
  1187. Acquishow2(i) {
  1188. this.Acquirecustomerintentlist2[i].isshow = !this.Acquirecustomerintentlist2[i].isshow;
  1189. },
  1190. //取消接待详情
  1191. clenReceivedetailsabout() {
  1192. this.Receivedetailsabout = false;
  1193. this.Pinspeak = false;
  1194. this.intention = false;
  1195. this.Thetapeidisshow = false;
  1196. },
  1197. Receivetap() {
  1198. this.Receivedetailsabout = true;
  1199. },
  1200. //标记
  1201. alllogo() {
  1202. var that = this;
  1203. let msg = '';
  1204. if (this.userlistobj.validInvalid != 0) {
  1205. if (this.userlistobj.validInvalid == 0 || this.userlistobj.validInvalid == 1) {
  1206. msg = '是否标记为"有效录音"?';
  1207. } else {
  1208. msg = '是否撤销"无效(待审核)"?';
  1209. }
  1210. uni.showModal({
  1211. title: '提示',
  1212. content: msg,
  1213. success: (res) => {
  1214. if (this.noClick) {
  1215. this.noClick = false;
  1216. if (res.confirm) {
  1217. let parames = {
  1218. id: this.customerId,
  1219. validInvalid: '',
  1220. invalidReason: 0
  1221. }
  1222. if (this.userlistobj.validInvalid == 0) {
  1223. parames.validInvalid = 1;
  1224. } else if (this.userlistobj.validInvalid == 1) {
  1225. parames.validInvalid = 0;
  1226. } else if (this.userlistobj.validInvalid == 2) {
  1227. parames.auditReception = 1
  1228. parames.validInvalid = 1;
  1229. }
  1230. this.$u.post("/customer/updateValidInvalid", parames).then(res => {
  1231. this.Thetapeidisshow = false;
  1232. })
  1233. }
  1234. setTimeout(() => {
  1235. this.noClick = true;
  1236. }, 2000)
  1237. } else {
  1238. // 这里是重复点击的判断
  1239. }
  1240. }
  1241. });
  1242. } else {
  1243. this.effective = true;
  1244. this.Thetapeidisshow = false
  1245. }
  1246. },
  1247. // 无效原因
  1248. effectiveAdd() {
  1249. if (this.effectiveindex == 5) {
  1250. if (this.effectiveitext.length == 0) {
  1251. uni.showToast({
  1252. title: '备注不能为空',
  1253. icon: "none",
  1254. duration: 2000
  1255. });
  1256. return
  1257. }
  1258. }
  1259. if (this.effectiveIndexText == "请选择") {
  1260. uni.showToast({
  1261. title: '请选择无效原因',
  1262. icon: "none",
  1263. duration: 2000
  1264. });
  1265. return
  1266. }
  1267. this.effective = false;
  1268. let parames = {
  1269. id: this.customerId,
  1270. validInvalid: 1,
  1271. invalidReason: this.effectiveindex,
  1272. invalidNote: this.effectiveitext
  1273. }
  1274. this.$u.post("/customer/updateValidInvalid", parames).then(res => {
  1275. this.Thetapeidisshow = false;
  1276. })
  1277. },
  1278. radioChange(evt) {
  1279. this.effectiveitext = "";
  1280. for (let i = 0; i < this.effectiveitems.length; i++) {
  1281. if (this.effectiveitems[i].value === evt.detail.value) {
  1282. this.effectiveindex = i;
  1283. break;
  1284. }
  1285. }
  1286. },
  1287. //接待详情点击
  1288. Receivedetailsabouttab(stringa) {
  1289. if (stringa == 'Receivedetailsabout') {
  1290. this.gituserlist()
  1291. this.Thetapeidisshow = false;
  1292. this.Receivedetailsabout = true;
  1293. } else if (stringa == 'Pinspeak') {
  1294. this.getRatelist()
  1295. this.Pinspeak = true;
  1296. } else {
  1297. if (this.kehuyixiangcenterindex == 0) {
  1298. this.Acquirecustomerintent()
  1299. } else {
  1300. this.Acquirecustomerintent2()
  1301. }
  1302. this.intention = true;
  1303. }
  1304. },
  1305. // 关键词菜单
  1306. guanjiancishifo() {
  1307. this.stateisshow = 1;
  1308. uni.navigateTo({
  1309. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  1310. "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT&types=1'
  1311. })
  1312. },
  1313. //标记选择角色
  1314. biaojixuanze(item) {
  1315. item.checked = !item.checked
  1316. this.$forceUpdate()
  1317. },
  1318. //标记顾问
  1319. tagtap() {
  1320. this.tablists = this.tablist.slice(1, this.tablist.length)
  1321. this.biojiisshow = !this.biojiisshow;
  1322. },
  1323. //取消标记
  1324. unmarktap() {
  1325. this.biojiisshow = false;
  1326. this.roleisshaw = false
  1327. },
  1328. //确认标记
  1329. Confirmthetag() {
  1330. let arr = this.tablists.filter(item => item.checked)
  1331. if (arr.lenght == 0) {
  1332. uni.showToast({
  1333. title: '请选择标记角色~',
  1334. duration: 2000
  1335. });
  1336. return
  1337. }
  1338. let params = {
  1339. id: this.luyinList.id,
  1340. speaker: arr.map(item => {
  1341. return item.speaker
  1342. }).join(","),
  1343. customerId: this.customerId
  1344. }
  1345. this.$u.get(config.service.markConsultant, params).then((data) => {
  1346. this.biojiisshow = false;
  1347. this.biaojiyuyi()
  1348. this.fenjiaoseunfo('refresh')
  1349. uni.showToast({
  1350. title: '标记成功',
  1351. duration: 2000
  1352. });
  1353. })
  1354. },
  1355. //标记语义词
  1356. biaojiyuyi() {
  1357. let parames = {
  1358. carId: this.customerId
  1359. }
  1360. this.$u.post("/matchKeywords/toMatchKeywords", parames).then(res => {})
  1361. },
  1362. // 筛选展示的角色
  1363. tapspagek(data, index) {
  1364. if (index == 0) this.resetTabList();
  1365. else this.resetAll();
  1366. data.select = !data.select
  1367. this.roleSelectArr = []
  1368. if (index != 0) {
  1369. this.tablist.forEach(item => {
  1370. if (item.select) {
  1371. this.roleSelectArr.push(item.speaker)
  1372. }
  1373. })
  1374. } else {
  1375. this.roleSelectArr.push(0)
  1376. }
  1377. this.dialogList = []
  1378. this.fenjiaoseunfo()
  1379. },
  1380. // 选中全部时互斥全部选项与角色选项
  1381. resetTabList() {
  1382. this.tablist.forEach(item => {
  1383. item.select = false
  1384. })
  1385. },
  1386. // 选中角色时将全部反选
  1387. resetAll() {
  1388. this.tablist[0].select = false
  1389. },
  1390. // 生成角色列表
  1391. creatTabList(num) {
  1392. for (var i = 0; i <= num; i++) {
  1393. if (i === 0) {
  1394. this.tablist.push({
  1395. name: '全部',
  1396. select: false,
  1397. speaker: i,
  1398. checked: false,
  1399. })
  1400. } else {
  1401. this.tablist.push({
  1402. name: String.fromCharCode(i + 64),
  1403. select: false,
  1404. speaker: i,
  1405. checked: false,
  1406. })
  1407. }
  1408. }
  1409. },
  1410. // 获取flag
  1411. getVoFlagValue() {
  1412. return this.roleSelectArr.findIndex(item => item == 0) == -1 ? 1 : 0
  1413. },
  1414. // 筛选展示角色刷新
  1415. fenjiaoseunfo(type) {
  1416. let str =
  1417. `?corpusId=${this.luyinList.id}&bg=${this.playNow * 1000}&speaker=0&voFlag=${this.getVoFlagValue()}&num=50`
  1418. if (this.roleSelectArr.findIndex(item => item == 0) == -1) {
  1419. str += `&speakerStr=${this.roleSelectArr.join(',')}`
  1420. }
  1421. uni.request({
  1422. url: `${config.service.getCorpusAnal}${str}`,
  1423. method: "GET",
  1424. header: {
  1425. 'content-type': 'application/json',
  1426. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  1427. },
  1428. success: (data) => {
  1429. let res = data.data.data
  1430. // 当页面标记重新刷新时
  1431. if (type == 'refresh') {
  1432. this.tablist = []
  1433. this.roleSelectArr = this.$options.data().roleSelectArr // 重置
  1434. this.creatTabList(res.speakerNum)
  1435. this.tablist[0].select = true
  1436. this.consultant = res.speaker
  1437. this.setConsultant()
  1438. }
  1439. if (this.roleSelectArr.length == 0) {
  1440. this.tablist[0].select = true
  1441. }
  1442. const info = {
  1443. seek: 1,
  1444. bg: this.playNow * 1000,
  1445. voFlag: this.getVoFlagValue(),
  1446. }
  1447. if (this.roleSelectArr.findIndex(item => item == 0) == -1) {
  1448. info.speakerStr = this.roleSelectArr.join(',');
  1449. }
  1450. this.getFindAudioContent(info)
  1451. }
  1452. })
  1453. },
  1454. // 设置顾问
  1455. setConsultant() {
  1456. let arr = this.consultant.split(',') || []
  1457. this.tablist.map(obj => {
  1458. if (arr.includes(obj.speaker.toString())) {
  1459. obj.name += '顾问'
  1460. }
  1461. })
  1462. },
  1463. // 播放时定位到下面的位置
  1464. TimeUpdate(currentTime) {
  1465. this.playNow = Number(currentTime)
  1466. if (this.dialogList.length > 0) {
  1467. const message = this.dialogList;
  1468. if (!message) return
  1469. for (let i = 0; i < message.length; i++) {
  1470. if ((Math.floor(message[i].bg / 1000) <= this.playNow && this.playNow < Math.floor(message[i].ed /
  1471. 1000))) {
  1472. this.scrollId = "dialogtext" + message[i].bg;
  1473. break;
  1474. }
  1475. if (i < message.length - 1 && Math.floor(message[i].ed / 1000) < this.playNow && this.playNow <
  1476. Math.floor(message[i + 1].bg / 1000)) {
  1477. this.scrollId = "dialogtext" + message[i].bg;
  1478. break;
  1479. }
  1480. }
  1481. }
  1482. this.$forceUpdate()
  1483. },
  1484. init(info) {
  1485. const parames = {
  1486. pageNum: 1,
  1487. pageSize: 100,
  1488. query: {
  1489. customerId: this.customerId
  1490. }
  1491. }
  1492. this.$u.post("/corpus/findByPage", parames).then(res => {
  1493. if (res && res.length) {
  1494. let alltime = 1 + res[0].recordDuration;
  1495. this.calibration = res[0].calibration;
  1496. if (this.calibration == 0) {
  1497. this.kehuyixiangcenterindex = 0;
  1498. } else {
  1499. this.kehuyixiangcenterindex = 1;
  1500. }
  1501. if (info.bg != 0) {
  1502. this.luyinList = res[0];
  1503. this.getCorpusAnalysis(info);
  1504. } else {
  1505. this.luyinList = res[0];
  1506. this.getCorpusAnalysis(info);
  1507. this.zyAudio()
  1508. }
  1509. if (this.refresh) this.zyAudio()
  1510. }
  1511. })
  1512. },
  1513. //下一页 seek 往后seek传1
  1514. ltolower() {
  1515. if (this.dialogList.length == 0) return
  1516. console.log('ltolower')
  1517. const info = {
  1518. seek: 1,
  1519. bg: this.dialogList[this.dialogList.length - 1].bg,
  1520. voFlag: this.getVoFlagValue(),
  1521. }
  1522. if (this.roleSelectArr.findIndex(item => item == 0) == -1) {
  1523. info.speakerStr = this.roleSelectArr.join(',');
  1524. }
  1525. this.getFindAudioContent(info)
  1526. },
  1527. //上一页 seek 往前seek传-1
  1528. rolltoupper() {
  1529. console.log('rolltoupper')
  1530. if (this.dialogList.length == 0) return
  1531. const info = {
  1532. bg: this.dialogList[0].bg,
  1533. seek: -1,
  1534. voFlag: this.getVoFlagValue(),
  1535. }
  1536. if (this.roleSelectArr.findIndex(item => item == 0) == -1) {
  1537. info.speakerStr = this.roleSelectArr.join(',');
  1538. }
  1539. this.getFindAudioContent(info)
  1540. },
  1541. // 加精
  1542. jiajing() {
  1543. if (this.status == 1) { // 加精
  1544. this.tappick()
  1545. } else { // 取消加精
  1546. this.notappick()
  1547. }
  1548. },
  1549. // 取消全部加精
  1550. notappick() {
  1551. console.log('quxiao')
  1552. var that = this;
  1553. uni.showModal({
  1554. title: '提示',
  1555. content: '确认取消加精?',
  1556. success: function(res) {
  1557. if (res.confirm) {
  1558. that.$u.get(config.service.delATD, {
  1559. carId: that.customerId,
  1560. itemId: that.buildingID
  1561. }).then(data => {
  1562. console.log(data)
  1563. if (!data || data.code == 10000) {
  1564. that.status = 1
  1565. uni.showToast({
  1566. title: '取消成功',
  1567. duration: 2000
  1568. });
  1569. }
  1570. }).catch(e => {
  1571. uni.showToast({
  1572. title: e.message,
  1573. duration: 2000
  1574. });
  1575. })
  1576. } else if (res.cancel) {
  1577. console.log('用户点击取消');
  1578. }
  1579. }
  1580. });
  1581. },
  1582. //全部加精
  1583. tappick() {
  1584. uni.showModal({
  1585. title: '提示',
  1586. content: '确认加精?',
  1587. success: (res) => {
  1588. if (res.confirm) {
  1589. console.log('用户点击确定');
  1590. let objdata = {
  1591. "carId": this.customerId, //客户id
  1592. "status": 0,
  1593. "itemId": this.buildingID,
  1594. }
  1595. this.$u.post(config.service.addATD, objdata).then(data => {
  1596. console.log(data)
  1597. if (!data || data.code == 10000) {
  1598. this.status = 0
  1599. uni.showToast({
  1600. title: '加精成功',
  1601. duration: 2000
  1602. });
  1603. }
  1604. }).catch(e => {
  1605. uni.showToast({
  1606. title: e.message,
  1607. duration: 2000
  1608. });
  1609. })
  1610. } else if (res.cancel) {
  1611. console.log('用户点击取消');
  1612. }
  1613. }
  1614. });
  1615. },
  1616. //标签选择
  1617. tapbiaoqianclisck(index) {
  1618. this.biaoqianindex = index;
  1619. this.biaoqianid = this.biaoqianlist[index].id
  1620. },
  1621. //复制
  1622. clickcopy() {
  1623. uni.setClipboardData({
  1624. data: this.thewrongword,
  1625. success: () => {
  1626. this.cancelBeast()
  1627. this.$forceUpdate();
  1628. }
  1629. });
  1630. },
  1631. //确认加入常错词
  1632. Confirmtheexit() {
  1633. if (this.reswrongword.length > 8 || this.thewrongword.length > 8) {
  1634. this.$refs.uToast.show({
  1635. title: '正确词错误词不能超过8个字',
  1636. type: 'warning',
  1637. })
  1638. this.isshow2 = true;
  1639. } else {
  1640. let reg = /^[0-9]+$/
  1641. if (reg.test(this.thewrongword)) {
  1642. this.$refs.uToast.show({
  1643. title: '错误词不能为纯数字',
  1644. type: 'warning',
  1645. })
  1646. this.isshow2 = true;
  1647. } else {
  1648. if (this.thewrongword) {
  1649. if (this.reswrongword) {
  1650. let parames = {
  1651. customerId: this.customerId,
  1652. cupid: this.luyinList.id,
  1653. wrongWord: this.thewrongword, //错误词
  1654. correctWord: this.reswrongword, //正确词
  1655. translateHtmlContent: this.messagelisy,
  1656. }
  1657. this.isshow2 = false;
  1658. this.dialogList[this.argtextindex2].onebest = this.textItself.replace(this.thewrongword,
  1659. this.reswrongword)
  1660. this.cancelBeast()
  1661. this.$u.post("/corpus/addCorrectWord", parames).then(data => {
  1662. this.thewrongword = "";
  1663. this.reswrongword = "";
  1664. })
  1665. } else {
  1666. this.$refs.uToast.show({
  1667. title: '正确值不能为空',
  1668. type: 'warning',
  1669. })
  1670. this.isshow2 = true;
  1671. return
  1672. }
  1673. } else {
  1674. this.$refs.uToast.show({
  1675. title: '错误词不能为空',
  1676. type: 'warning',
  1677. })
  1678. this.isshow2 = true;
  1679. return
  1680. }
  1681. }
  1682. }
  1683. },
  1684. //取消加入常错词
  1685. Cancelout() {
  1686. this.isshow2 = false;
  1687. this.cancelBeast()
  1688. },
  1689. //加入长错词
  1690. Oftenthewrongword() {
  1691. this.isNum = false;
  1692. this.reswrongword = "";
  1693. this.isshow2 = true;
  1694. let reg = /^[0-9]+$/
  1695. if (reg.test(this.thewrongword)) {
  1696. this.isNum = true
  1697. }
  1698. },
  1699. // 选中取反
  1700. cbChange(item) {
  1701. item.checked = !item.checked
  1702. this.$forceUpdate()
  1703. },
  1704. // 隐藏长按提示框
  1705. cancelBeast() {
  1706. this.dialogList.forEach(asd => {
  1707. asd.isshow = false;
  1708. })
  1709. },
  1710. // 触发事件
  1711. publicEvents(params) {
  1712. this.eventParams = params
  1713. this.refined = true
  1714. this.cancelBeast()
  1715. },
  1716. surePublic() {
  1717. this[this.eventParams]()
  1718. },
  1719. // 重置选择的内容
  1720. cancelAllAdd() {
  1721. console.log('chufa')
  1722. this.dialogList.forEach(items => {
  1723. items.checked = false
  1724. })
  1725. this.refined = false
  1726. // this.$forceUpdate()
  1727. },
  1728. // 确认批量加精
  1729. sureRefinement() {
  1730. this.isshow3 = true;
  1731. this.biaoqianlist = []
  1732. let parames = {
  1733. "itemId": this.buildingID
  1734. }
  1735. this.$u.post("/addtodigest/findAllYi", parames).then(data => {
  1736. this.biaoqianlist = data
  1737. this.biaoqianlist.unshift({
  1738. name: "逼单话术",
  1739. id: 0
  1740. })
  1741. })
  1742. },
  1743. // 取消加精
  1744. Cancelout2() {
  1745. this.isshow3 = false;
  1746. this.cancelBeast()
  1747. },
  1748. // 确认加精
  1749. Confirmtheexit2() {
  1750. if (this.biaoqianid) {
  1751. this.biaoqianid = this.biaoqianid
  1752. } else {
  1753. this.biaoqianid = 0
  1754. }
  1755. this.isshow3 = false;
  1756. this.cancelBeast()
  1757. let objdata = {
  1758. itemId: this.buildingID,
  1759. carId: this.customerId, //客户id
  1760. status: 1,
  1761. startFile: this.luyinList.id, //对话所在录音文件id
  1762. marketingId: this.biaoqianid, //对应一级父id
  1763. toDigestList: [], // 加精多选的内容
  1764. }
  1765. // 将数据筛选出来并排序并且翻转数据让后端获取第一条加精的数据在分点加精的学习列表使用
  1766. this.dialogList.forEach(item => {
  1767. if (item.checked) {
  1768. objdata.toDigestList.push({
  1769. jjTransfer: item.onebest,
  1770. startTime: item.bg,
  1771. endTime: item.ed,
  1772. })
  1773. }
  1774. })
  1775. objdata.toDigestList.sort((a, b) => {
  1776. return Number(a.startTime) - Number(b.startTime)
  1777. }).reverse()
  1778. this.isshow3 = false;
  1779. this.$u.post(config.service.addATD, objdata).then(res => {
  1780. console.log(res)
  1781. uni.showToast({
  1782. title: '加精成功',
  1783. duration: 2000
  1784. });
  1785. this.cancelAllAdd()
  1786. }).catch(e => {
  1787. uni.showToast({
  1788. title: '网络异常,请稍候重试~',
  1789. duration: 2000
  1790. });
  1791. this.cancelAllAdd()
  1792. })
  1793. },
  1794. //长按对话
  1795. changanxiaoguo(item, index) {
  1796. this.messagelisy = [];
  1797. this.cancelBeast()
  1798. this.dialogList[index].isshow = !this.dialogList[index].isshow;
  1799. this.textItself = item.onebest;
  1800. let onebest = item.onebest;
  1801. this.thewrongword = onebest.replace(/<.*?>/ig, "");
  1802. this.messagelisy = this.dialogList
  1803. this.argtextindex2 = index;
  1804. },
  1805. //评分上下显隐
  1806. changeshow(item, type) {
  1807. item.show = !item.show;
  1808. },
  1809. changeshow2(item, type) {
  1810. item.show = !item.show;
  1811. },
  1812. // 获取评分
  1813. getRatelist() {
  1814. if (this.ratelist.length == 0) {
  1815. uni.showLoading({
  1816. title: '加载中'
  1817. });
  1818. this.$u.get("/customer/findzkMByCusId", {
  1819. cusId: this.customerId
  1820. }).then(res => {
  1821. if (res.length) {
  1822. let level1 = []
  1823. let level2rate = 0
  1824. res.forEach(item => {
  1825. if (item.pid == 0) {
  1826. level1.push({
  1827. id: item.marketingId,
  1828. rate: item.fraction,
  1829. name: item.name,
  1830. sort: item.sort,
  1831. show: false,
  1832. ratepercent: 0,
  1833. children: []
  1834. })
  1835. } else {
  1836. if (item.selected == 0) {
  1837. level2rate += item.fraction
  1838. }
  1839. }
  1840. })
  1841. this.totalRate = level2rate;
  1842. res.forEach(subitem => {
  1843. let subitempid = subitem.pid
  1844. level1.forEach(item => {
  1845. if (subitempid == item.id) {
  1846. if (subitem.selected == 0) {
  1847. item.ratepercent += subitem.fraction
  1848. }
  1849. item.children.push({
  1850. id: subitem.id,
  1851. rate: subitem.fraction,
  1852. selected: subitem.selected,
  1853. name: subitem.name,
  1854. show: false,
  1855. marketingId: subitem.marketingId,
  1856. children: []
  1857. })
  1858. }
  1859. })
  1860. })
  1861. res.forEach(subitem => {
  1862. let subitempid = subitem.pid
  1863. level1.forEach(chen => {
  1864. chen.children.forEach(zxc => {
  1865. if (subitempid == zxc.marketingId) {
  1866. zxc.children.push({
  1867. id: subitem.id,
  1868. rate: subitem.fraction,
  1869. selected: subitem.selected,
  1870. name: subitem.name,
  1871. marketingId: subitem.marketingId,
  1872. })
  1873. }
  1874. })
  1875. })
  1876. })
  1877. level1[0].show = true;
  1878. level1[0].children[0].show = true;
  1879. this.ratelist = level1
  1880. }
  1881. setTimeout(function() {
  1882. uni.hideLoading();
  1883. }, 1000);
  1884. })
  1885. }
  1886. },
  1887. // 获取转义后的对话结果
  1888. getCorpusAnalysis(info) {
  1889. console.log("getCorpusAnalysis")
  1890. uni.request({
  1891. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList.id +
  1892. "&bg=" + info.bg + "&speaker=0" + '&num=50', //仅为示例,并非真实接口地址。
  1893. method: "GET",
  1894. header: {
  1895. 'content-type': 'application/json',
  1896. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  1897. },
  1898. success: (data) => {
  1899. this.LOADING = false
  1900. this.tablist = [];
  1901. this.creatTabList(data.data.data.speakerNum)
  1902. this.tablist[0].select = true // 默认选中第一个
  1903. // 设置顾问
  1904. if (data.data.data.speaker) {
  1905. this.consultant = data.data.data.speaker
  1906. this.setConsultant()
  1907. }
  1908. this.getFindAudioContent(info);
  1909. this.stepPlay(Math.floor(info.bg / 1000))
  1910. },
  1911. fail: () => {
  1912. this.LOADING = false
  1913. }
  1914. })
  1915. },
  1916. // 获取录音内容
  1917. getFindAudioContent(info) {
  1918. const params = {
  1919. corpusId: this.luyinList.id,
  1920. speaker: 0,
  1921. bg: info.bg || 0,
  1922. num: 50,
  1923. seek: info.seek || 1,
  1924. }
  1925. if (info.speakerStr) {
  1926. params.speakerStr = info.speakerStr
  1927. }
  1928. this.$u.get(config.service.findAudioContent, params).then(res => {
  1929. res.forEach(che => {
  1930. if (che.onebest == info.onebest) {
  1931. che.onebest =
  1932. `<font style='color: red'>${che.onebest}</font>`;
  1933. }
  1934. })
  1935. if (info.reset) {
  1936. this.dialogList = res
  1937. } else {
  1938. if (info.seek > 0) {
  1939. this.dialogList = [...this.dialogList, ...res];
  1940. } else {
  1941. this.dialogList = [...res, ...this.dialogList];
  1942. }
  1943. }
  1944. }).catch(e => {
  1945. console.log(e, 'catch')
  1946. })
  1947. },
  1948. // 音频前进回退
  1949. sliderChangeComplate(currentTime) {
  1950. const info = {
  1951. bg: (currentTime * 1000) || 0,
  1952. seek: 1,
  1953. reset: true
  1954. }
  1955. this.getFindAudioContent(info)
  1956. },
  1957. // 点击播放
  1958. clickbofang(item) {
  1959. this.cancelBeast()
  1960. this.$forceUpdate()
  1961. let platetime = item.bg;
  1962. let newtime = Math.floor(item.bg / 1000);
  1963. uni.request({
  1964. url: config.service.fastForward + '?corpusId=' + this.luyinList.id +
  1965. "&bg=" + platetime || 0, //仅为示例,并非真实接口地址。
  1966. method: "GET",
  1967. header: {
  1968. 'content-type': 'application/json',
  1969. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  1970. },
  1971. success: (data) => {
  1972. this.stepPlay(newtime);
  1973. }
  1974. })
  1975. },
  1976. formatTime(num) {
  1977. //格式化时间格式
  1978. num = num.toFixed(0);
  1979. let second = num % 60;
  1980. if (second < 10) second = '0' + second;
  1981. let min = Math.floor(num / 60);
  1982. if (min < 10) min = '0' + min;
  1983. return min + ":" + second;
  1984. },
  1985. // 迅速切换音频源并切换回来
  1986. checkPlaybackRate() {
  1987. this.stepPosition = this.nowPlaying
  1988. //
  1989. let data = [{
  1990. src: 'https://static.quhouse.com/record/prop/2022-12-13/1670905992910-00066.mp3',
  1991. title: '录音音频',
  1992. singer: '',
  1993. coverImgUrl: ''
  1994. }]
  1995. this.$zaudio.setAudio(data)
  1996. //渲染第一首音频
  1997. this.$zaudio.setRender(0)
  1998. if (!this.refresh) {
  1999. setTimeout(() => {
  2000. this.$zaudio.operate()
  2001. }, 150)
  2002. }
  2003. setTimeout(() => {
  2004. this.zyAudio()
  2005. }, 500)
  2006. },
  2007. //录音实例
  2008. zyAudio() {
  2009. let data = [{
  2010. src: this.luyinList.recordPath,
  2011. title: '录音音频',
  2012. singer: '',
  2013. coverImgUrl: ''
  2014. }]
  2015. this.$zaudio.setAudio(data)
  2016. //渲染第一首音频
  2017. this.$zaudio.setRender(0)
  2018. if (!this.refresh) {
  2019. setTimeout(() => {
  2020. this.$zaudio.operate()
  2021. }, 150)
  2022. }
  2023. if (this.stepPosition != 0) {
  2024. setTimeout(() => {
  2025. this.stepPlay(this.stepPosition)
  2026. }, 1500)
  2027. }
  2028. },
  2029. // 跳转指定位置播放
  2030. stepPlay(t) {
  2031. this.$zaudio.seek(t)
  2032. if (this.$zaudio.paused) {
  2033. this.$zaudio.operate()
  2034. }
  2035. }
  2036. },
  2037. }
  2038. </script>
  2039. <style lang="scss" scoped>
  2040. .contentInfo .newmark {
  2041. margin: 30rpx 0 10rpx 30rpx;
  2042. .mark-item {
  2043. display: flex;
  2044. flex-wrap: wrap;
  2045. margin-bottom: 12rpx;
  2046. .markicon {
  2047. width: 30rpx;
  2048. height: 30rpx;
  2049. margin-right: 12rpx;
  2050. }
  2051. .marktext {
  2052. font-size: 24rpx;
  2053. font-family: PingFangSC-Regular, PingFang SC;
  2054. font-weight: 400;
  2055. color: #3E50E8;
  2056. min-height: 30rpx;
  2057. line-height: 30rpx;
  2058. max-width: 420rpx;
  2059. text-align: left;
  2060. word-break: break-all;
  2061. }
  2062. }
  2063. }
  2064. .scroll-Y .text[data-speaker="2"] .newmark,
  2065. .scroll-Y .text[data-speaker="4"] .newmark,
  2066. .scroll-Y .text[data-speaker="8"] .newmark,
  2067. .scroll-Y .text[data-speaker="6"] .newmark {
  2068. // margin-left: 84rpx;
  2069. }
  2070. .box {
  2071. width: 100%;
  2072. height: 100vh;
  2073. display: flex;
  2074. flex-direction: column;
  2075. .pingfenbox {
  2076. width: 100%;
  2077. height: 60rpx;
  2078. line-height: 60rpx;
  2079. border-bottom: 1px solid #E0E0E0;
  2080. display: flex;
  2081. justify-content: space-around;
  2082. }
  2083. .pingfenbox view {
  2084. flex-grow: 1;
  2085. flex-shrink: 0;
  2086. text-align: center;
  2087. font-size: 28rpx;
  2088. padding: 0 18rpx;
  2089. }
  2090. .activecllasscet {
  2091. background: #2671E2;
  2092. color: #FFFFFF;
  2093. }
  2094. .title1-12 {
  2095. font-size: 28rpx;
  2096. color: #2671E2;
  2097. font-weight: 400;
  2098. text-indent: 30rpx;
  2099. margin-top: 18rpx;
  2100. }
  2101. .headbox {
  2102. width: 100%;
  2103. min-height: 173rpx;
  2104. }
  2105. .zhuti {
  2106. flex: 1;
  2107. overflow: auto;
  2108. }
  2109. .bottombox {
  2110. width: 100%;
  2111. // min-height: 170rpx;
  2112. border-top: 1rpx solid #E0E0E0;
  2113. padding-bottom: 60rpx;
  2114. .bottomhead {
  2115. width: 100%;
  2116. height: 81rpx;
  2117. border-bottom: 1rpx solid #E0E0E0;
  2118. display: flex;
  2119. justify-content: space-between;
  2120. align-items: center;
  2121. .audio-slider {
  2122. width: 87%;
  2123. display: flex;
  2124. justify-content: space-between;
  2125. align-items: center;
  2126. padding-right: 30rpx;
  2127. }
  2128. .audio-slider .slider {
  2129. width: 100%;
  2130. padding: 0px 15rpx;
  2131. box-sizing: border-box;
  2132. }
  2133. .audio-time {
  2134. width: 110rpx;
  2135. text-align: right;
  2136. font-size: 26rpx;
  2137. line-height: 28rpx;
  2138. color: #70798D;
  2139. display: flex;
  2140. justify-content: space-between;
  2141. }
  2142. .audio-play {
  2143. width: 48rpx;
  2144. height: 48rpx;
  2145. flex-shrink: 0;
  2146. }
  2147. .audio-play .image {
  2148. width: 100%;
  2149. height: 100%;
  2150. margin-left: 30rpx;
  2151. }
  2152. }
  2153. .botbotmm {
  2154. width: 100%;
  2155. height: 88rpx;
  2156. display: flex;
  2157. align-items: center;
  2158. }
  2159. }
  2160. .bottomboxs {
  2161. width: 100%;
  2162. height: 90rpx;
  2163. display: flex;
  2164. justify-content: space-around;
  2165. .bottomboxs-item {
  2166. width: 45%;
  2167. height: 100%;
  2168. display: flex;
  2169. justify-content: center;
  2170. align-items: center;
  2171. color: #fff;
  2172. background: #008EF2;
  2173. font-size: 36rpx;
  2174. font-weight: bold;
  2175. }
  2176. }
  2177. }
  2178. .moremodal {
  2179. position: fixed;
  2180. top: 0;
  2181. bottom: 0;
  2182. left: 0;
  2183. right: 0;
  2184. background: rgba(0, 0, 0, 0.5);
  2185. display: flex;
  2186. flex-direction: column;
  2187. justify-content: flex-end;
  2188. z-index: 1000000;
  2189. .more-cont {
  2190. width: 690rpx;
  2191. padding: 30rpx;
  2192. background: #fff;
  2193. box-sizing: content-box;
  2194. border-radius: 20rpx 20rpx 0 0;
  2195. .more-title {
  2196. width: 100%;
  2197. display: flex;
  2198. justify-content: space-between;
  2199. height: 50rpx;
  2200. font-size: 36rpx;
  2201. font-family: PingFangSC-Medium, PingFang SC;
  2202. font-weight: 500;
  2203. color: #333333;
  2204. align-items: center;
  2205. .close-icon {
  2206. width: 32rpx;
  2207. height: 32rpx;
  2208. }
  2209. }
  2210. .more-btn {
  2211. display: flex;
  2212. flex-wrap: wrap;
  2213. margin-top: 30rpx;
  2214. padding-bottom: 30rpx;
  2215. // border-bottom: 1rpx solid #e0e0e0;
  2216. .btn-item {
  2217. margin-bottom: 10rpx;
  2218. width: 284rpx;
  2219. height: 72rpx;
  2220. display: flex;
  2221. justify-content: center;
  2222. align-items: center;
  2223. background: #FFFFFF;
  2224. border-radius: 8rpx;
  2225. font-size: 30rpx;
  2226. border: 1rpx solid #000;
  2227. font-family: PingFangSC-Regular, PingFang SC;
  2228. font-weight: 400;
  2229. color: #333333;
  2230. margin-right: 30rpx;
  2231. .icon {
  2232. width: 30rpx;
  2233. height: 30rpx;
  2234. margin-right: 12rpx;
  2235. }
  2236. }
  2237. }
  2238. .other-btn {
  2239. .btn-item {
  2240. display: flex;
  2241. align-items: center;
  2242. font-size: 30rpx;
  2243. font-family: PingFangSC-Regular, PingFang SC;
  2244. font-weight: 400;
  2245. color: #333333;
  2246. line-height: 42rpx;
  2247. padding: 30rpx 0;
  2248. border-bottom: 1rpx solid #e0e0e0;
  2249. .icon {
  2250. width: 30rpx;
  2251. height: 30rpx;
  2252. margin-right: 12rpx;
  2253. }
  2254. }
  2255. }
  2256. }
  2257. }
  2258. .headboxhead {
  2259. width: 100%;
  2260. height: 84rpx;
  2261. // border-bottom: 1px solid #E0E0E0;
  2262. display: flex;
  2263. .boxhead1 {
  2264. margin-left: 30rpx;
  2265. height: 84rpx;
  2266. font-size: 30rpx;
  2267. font-family: PingFangSC-Medium, PingFang SC;
  2268. font-weight: 500;
  2269. color: #303030;
  2270. line-height: 84rpx;
  2271. }
  2272. .boxhead2 {
  2273. width: 46%;
  2274. height: 84rpx;
  2275. text-align: right;
  2276. }
  2277. }
  2278. .boxhead2 image {
  2279. width: 36rpx;
  2280. height: 36rpx;
  2281. margin-top: 24rpx;
  2282. }
  2283. .headboxbott {
  2284. width: 100%;
  2285. height: 88rpx;
  2286. display: flex;
  2287. align-items: center;
  2288. border-top: 1rpx solid #E0E0E0;
  2289. border-bottom: 1rpx solid #E0E0E0;
  2290. .headovfu {
  2291. flex: 1;
  2292. height: 88rpx;
  2293. overflow-x: scroll;
  2294. display: flex;
  2295. align-items: center;
  2296. .mytab {
  2297. margin-left: 20rpx;
  2298. flex-shrink: 0;
  2299. .tab-item {
  2300. padding: 0 20rpx;
  2301. height: 52rpx;
  2302. line-height: 52rpx;
  2303. background: #FFFFFF;
  2304. border-radius: 8rpx;
  2305. border: 1rpx solid #E0E0E0;
  2306. font-size: 26rpx;
  2307. font-family: PingFangSC-Regular, PingFang SC;
  2308. font-weight: 400;
  2309. color: #999999;
  2310. }
  2311. .tabActive {
  2312. background: #2671E2;
  2313. color: #fff;
  2314. }
  2315. }
  2316. &::-webkit-scrollbar {
  2317. width: 0;
  2318. height: 0;
  2319. color: transparent;
  2320. }
  2321. }
  2322. .headpade {
  2323. width: 160rpx;
  2324. height: 88rpx;
  2325. display: flex;
  2326. justify-content: center;
  2327. align-items: center;
  2328. box-shadow: -4rpx 0px 8rpx -4rpx rgba(0, 0, 0, 0.2);
  2329. .biaoji {
  2330. text-align: center;
  2331. line-height: 52rpx;
  2332. color: #FFFFFF;
  2333. font-size: 26rpx;
  2334. width: 100rpx;
  2335. height: 52rpx;
  2336. background: #E6625B;
  2337. border-radius: 26rpx;
  2338. }
  2339. }
  2340. }
  2341. .fill {
  2342. width: 2rpx;
  2343. height: 41rpx;
  2344. background: #E0E0E0;
  2345. }
  2346. .tmmchen {
  2347. width: 25%;
  2348. height: 88rpx;
  2349. text-align: center;
  2350. color: #666666;
  2351. font-size: 24rpx;
  2352. position: relative;
  2353. .allimg {
  2354. position: absolute;
  2355. width: 168rpx;
  2356. top: -152rpx;
  2357. border: 1px solid #E0E0E0;
  2358. background: #FFFFFF;
  2359. font-size: 26rpx;
  2360. color: #333333;
  2361. text-align: center;
  2362. box-shadow: 10rpx 10rpx 5rpx #888888;
  2363. }
  2364. }
  2365. .tmmchen image {
  2366. width: 44rpx;
  2367. height: 44rpx;
  2368. margin-bottom: 10rpx;
  2369. }
  2370. .tmmchen .text {
  2371. height: 32rx;
  2372. font-size: 24rpx;
  2373. font-family: PingFangSC-Regular, PingFang SC;
  2374. font-weight: 400;
  2375. color: #666666;
  2376. line-height: 32rpx;
  2377. }
  2378. .zhezhao {
  2379. position: fixed;
  2380. top: 0;
  2381. left: 0;
  2382. z-index: 999;
  2383. width: 100%;
  2384. height: 100vh;
  2385. opacity: 0.5;
  2386. background-color: #666666;
  2387. }
  2388. .followingpop-up {
  2389. width: 100%;
  2390. height: 75vh;
  2391. background: #FFFFFF;
  2392. position: fixed;
  2393. background: #FFFFFF;
  2394. left: 0px;
  2395. bottom: 0px;
  2396. z-index: 1000;
  2397. display: flex;
  2398. flex-direction: column;
  2399. // position: absolute;
  2400. .calibration {
  2401. width: 90rpx;
  2402. height: 90rpx;
  2403. background: #2671E2;
  2404. text-align: center;
  2405. line-height: 90rpx;
  2406. border-radius: 50%;
  2407. color: #FFFFFF;
  2408. position: absolute;
  2409. right: 30rpx;
  2410. bottom: 100rpx;
  2411. }
  2412. .guanbibox {
  2413. width: 100%;
  2414. padding-bottom: 20rpx;
  2415. margin-top: 20rpx;
  2416. border-bottom: 1px solid #E0E0E0;
  2417. position: relative;
  2418. .guanbixen {
  2419. width: 30rpx;
  2420. height: 30rpx;
  2421. position: absolute;
  2422. right: 30rpx;
  2423. top: 6rpx;
  2424. }
  2425. .cenisboxtab {
  2426. width: 100%;
  2427. display: flex;
  2428. .cenisboxtabview {
  2429. flex: 1;
  2430. display: flex;
  2431. align-items: center;
  2432. justify-content: center;
  2433. color: #333333;
  2434. font-size: 30rpx;
  2435. font-weight: 600;
  2436. }
  2437. }
  2438. }
  2439. .cenisbox {
  2440. flex: 1;
  2441. overflow: auto;
  2442. .top-box {
  2443. height: 80rpx;
  2444. line-height: 80rpx;
  2445. display: flex;
  2446. color: #2671E2;
  2447. border-bottom: 1rpx solid #ccc;
  2448. }
  2449. .jianbox {
  2450. width: 100%;
  2451. border-bottom: 1px solid #E0E0E0;
  2452. padding-top: 24rpx;
  2453. padding-bottom: 24rpx;
  2454. .jianbox-cen {
  2455. width: 100%;
  2456. height: 78rpx;
  2457. // border-bottom: 1px solid #E0E0E0;
  2458. display: flex;
  2459. .jianboxtext {
  2460. flex: 1;
  2461. height: 100%;
  2462. font-size: 30rpx;
  2463. font-weight: 600;
  2464. line-height: 78rpx;
  2465. color: #333333;
  2466. text-indent: 30rpx;
  2467. }
  2468. .jianboxjian {
  2469. width: 80rpx;
  2470. height: 100%;
  2471. line-height: 78rpx;
  2472. text-align: center;
  2473. }
  2474. }
  2475. .bioqianwayl {
  2476. width: 690rpx;
  2477. margin: 0 auto;
  2478. display: flex;
  2479. flex-wrap: wrap;
  2480. }
  2481. .bioqianwayl view {
  2482. padding-left: 24rpx;
  2483. padding-right: 24rpx;
  2484. padding-top: 10rpx;
  2485. padding-bottom: 10rpx;
  2486. margin-right: 24rpx;
  2487. margin-top: 20rpx;
  2488. border-radius: 8rpx;
  2489. font-size: 26rpx;
  2490. }
  2491. }
  2492. }
  2493. }
  2494. .jiantop {
  2495. width: 14rpx;
  2496. height: 24rpx;
  2497. }
  2498. .jiantop1 {
  2499. width: 20rpx;
  2500. height: 14rpx;
  2501. }
  2502. .sdfsaf {
  2503. padding-left: 24rpx;
  2504. padding-right: 24rpx;
  2505. padding-top: 10rpx;
  2506. padding-bottom: 10rpx;
  2507. border-radius: 8rpx;
  2508. font-size: 26rpx;
  2509. }
  2510. .yixingindexclass {
  2511. border-bottom: 3px solid #2671E2;
  2512. }
  2513. .cenisboxdspl {
  2514. width: 94%;
  2515. margin: 0 auto;
  2516. padding-bottom: 24rpx;
  2517. display: flex;
  2518. flex-wrap: wrap;
  2519. .cenisboxdsplview {
  2520. padding-left: 24rpx;
  2521. padding-right: 24rpx;
  2522. padding-top: 10rpx;
  2523. padding-bottom: 10rpx;
  2524. background: #F4F8FD;
  2525. color: #2671E2;
  2526. font-size: 26rpx;
  2527. margin-right: 24rpx;
  2528. margin-top: 24rpx;
  2529. }
  2530. }
  2531. .bounced {
  2532. width: 570rpx;
  2533. background: #FFFFFF;
  2534. z-index: 1000;
  2535. border-radius: 10rpx;
  2536. position: fixed;
  2537. left: 50%;
  2538. top: 50%;
  2539. transform: translate(-50%, -50%);
  2540. .headpade {
  2541. margin-top: 10rpx;
  2542. padding: 8rpx 8rpx 8rpx 8rpx;
  2543. background: #108ee9;
  2544. color: #fff;
  2545. border-radius: 16rpx;
  2546. }
  2547. /* 50%为自身尺寸的一半 */
  2548. .jiajinghuatit {
  2549. width: 100%;
  2550. height: 68rpx;
  2551. font-size: 30rpx;
  2552. text-align: center;
  2553. line-height: 68rpx;
  2554. }
  2555. .jiajinghuaview {
  2556. padding: 18rpx 18rpx 18rpx 18rpx;
  2557. display: flex;
  2558. flex-wrap: wrap;
  2559. .jiajinghuaview1 {
  2560. padding: 8rpx 8rpx 8rpx 8rpx;
  2561. font-size: 26rpx;
  2562. border-radius: 12rpx;
  2563. border: 1px solid #979797;
  2564. margin-left: 8rpx;
  2565. }
  2566. .jighuaview2 {
  2567. padding: 8rpx 18rpx 8rpx 18rpx;
  2568. font-size: 26rpx;
  2569. border-radius: 12rpx;
  2570. border: 1px solid #979797;
  2571. margin-left: 20rpx;
  2572. margin-top: 10rpx;
  2573. display: flex;
  2574. .view1-text {
  2575. text-align: center;
  2576. }
  2577. .view1-img {
  2578. width: 50rpx;
  2579. }
  2580. }
  2581. }
  2582. .bounced3 {
  2583. height: 100rpx;
  2584. width: 100%;
  2585. margin-top: 40rpx;
  2586. border-top: 1px solid #dddddd;
  2587. display: flex;
  2588. }
  2589. .bounced3-1 {
  2590. width: 50%;
  2591. height: 100%;
  2592. text-align: center;
  2593. line-height: 100rpx;
  2594. border-right: 1px solid #dddddd;
  2595. font-size: 36rpx;
  2596. color: #999999;
  2597. }
  2598. .bounced3-2 {
  2599. width: 50%;
  2600. height: 100%;
  2601. text-align: center;
  2602. line-height: 100rpx;
  2603. font-size: 36rpx;
  2604. color: #108ee9;
  2605. }
  2606. }
  2607. .viewclace {
  2608. width: 100rpx;
  2609. height: 40rpx;
  2610. text-align: center;
  2611. line-height: 40rpx;
  2612. border-radius: 14rpx;
  2613. margin-right: 34rpx;
  2614. margin-top: 16rpx;
  2615. font-size: 24rpx;
  2616. background: #eee;
  2617. }
  2618. .bosdttom {
  2619. color: #FFFFFF;
  2620. background-color: #2671E2;
  2621. }
  2622. .fileName {
  2623. max-width: 200rpx;
  2624. text-align: center;
  2625. margin: 10rpx auto;
  2626. font-size: 28rpx;
  2627. font-weight: 400;
  2628. color: #666;
  2629. height: 52rpx;
  2630. line-height: 52rpx;
  2631. background: #F8F8F8;
  2632. border-radius: 4rpx;
  2633. padding: 0 20rpx;
  2634. }
  2635. .dialog-block {
  2636. margin: 20rpx 0;
  2637. }
  2638. .scroll-Y {
  2639. font-size: 36rpx;
  2640. color: #999999;
  2641. background: #FFFFFF;
  2642. margin-top: 30rpx;
  2643. flex: 1;
  2644. overflow-y: scroll;
  2645. width: 100%;
  2646. }
  2647. // 顾问默认在右边显示
  2648. .scroll-Y .text[data-guwen="0"] {
  2649. flex-direction: row-reverse;
  2650. text-align: right;
  2651. .contentInfo {
  2652. .info {
  2653. color: #666;
  2654. font-size: 22rpx;
  2655. padding: 0 28rpx;
  2656. height: 62rpx;
  2657. }
  2658. .contentMain {
  2659. display: flex;
  2660. flex-direction: row-reverse;
  2661. align-items: center;
  2662. .content {
  2663. margin-left: 0;
  2664. margin-right: 30rpx;
  2665. }
  2666. .play {
  2667. width: 50rpx;
  2668. height: 50rpx;
  2669. margin-right: 20rpx;
  2670. }
  2671. }
  2672. }
  2673. }
  2674. .scroll-Y .text[data-guwen="0"] {
  2675. .contentInfo {
  2676. .info {
  2677. .AudioUserName {
  2678. margin-left: 10rpx;
  2679. }
  2680. display: flex;
  2681. flex-direction: row-reverse;
  2682. }
  2683. }
  2684. }
  2685. .scroll-Y .text {
  2686. position: relative;
  2687. margin: 30rpx;
  2688. line-height: 80rpx;
  2689. display: flex;
  2690. .contentInfo {
  2691. .info {
  2692. .AudioUserName {
  2693. margin-right: 10rpx;
  2694. }
  2695. }
  2696. }
  2697. }
  2698. .scroll-Y .text .avatar {
  2699. text {
  2700. display: block;
  2701. width: 72rpx;
  2702. height: 72rpx;
  2703. line-height: 72rpx;
  2704. text-align: center;
  2705. background: #FFFFFF;
  2706. border-radius: 8rpx;
  2707. font-size: 30rpx;
  2708. font-family: PingFangSC-Medium, PingFang SC;
  2709. font-weight: 500;
  2710. box-sizing: border-box;
  2711. }
  2712. image {
  2713. width: 72rpx;
  2714. height: 72rpx;
  2715. }
  2716. }
  2717. .scroll-Y .text .contentInfo .info {
  2718. color: #666;
  2719. font-size: 22rpx;
  2720. padding: 0 28rpx;
  2721. height: 50rpx;
  2722. line-height: 50rpx;
  2723. }
  2724. .scroll-Y .text .contentInfo .contentMain {
  2725. display: flex;
  2726. align-items: center;
  2727. }
  2728. .scroll-Y .text .contentInfo .contentMain .content {
  2729. margin-left: 30rpx;
  2730. line-height: 42rpx;
  2731. text-align: left;
  2732. padding: 15rpx 20rpx;
  2733. border-radius: 8rpx;
  2734. max-width: 442rpx;
  2735. background: #F8F8F8;
  2736. font-size: 30rpx;
  2737. font-family: PingFangSC-Regular, PingFang SC;
  2738. font-weight: 400;
  2739. color: #505050;
  2740. .tankuangcss {
  2741. position: absolute;
  2742. top: -140rpx;
  2743. left: 50%;
  2744. transform: translateX(-50%);
  2745. z-index: 1000;
  2746. min-width: 150rpx;
  2747. height: 140rpx;
  2748. display: flex;
  2749. background: rgba(48, 48, 48, 0.8);
  2750. border-radius: 15rpx;
  2751. .tankuangcss-items {
  2752. width: 150rpx;
  2753. display: flex;
  2754. flex-direction: column;
  2755. justify-content: center;
  2756. align-items: center;
  2757. image {
  2758. width: 36rpx;
  2759. height: 36rpx;
  2760. }
  2761. text {
  2762. margin: 12rpx 0 0 0;
  2763. font-size: 24rpx;
  2764. color: #fff;
  2765. }
  2766. }
  2767. }
  2768. .bottoms {
  2769. top: unset;
  2770. bottom: -140rpx;
  2771. }
  2772. }
  2773. .scroll-Y .text .contentInfo .contentMain .play {
  2774. width: 50rpx;
  2775. height: 50rpx;
  2776. margin-left: 20rpx;
  2777. }
  2778. .backTop {
  2779. width: 60rpx;
  2780. height: 60rpx;
  2781. background: rgba(211, 235, 253, 1);
  2782. box-shadow: 0rpx 0rpx 2rpx 4rpx rgba(38, 161, 255, 0.04);
  2783. border-radius: 50%;
  2784. position: fixed;
  2785. bottom: 200rpx;
  2786. right: 8rpx;
  2787. display: flex;
  2788. justify-content: center;
  2789. align-items: center;
  2790. image {
  2791. width: 26rpx;
  2792. height: 34rpx;
  2793. }
  2794. }
  2795. .jiangshang {
  2796. color: #fff;
  2797. background: #2671E2;
  2798. }
  2799. .jiangshang1 {
  2800. color: #FFFFFF;
  2801. background: #999999;
  2802. }
  2803. // 表单
  2804. .tian-view {
  2805. width: 570rpx;
  2806. background-color: #FFFFFF;
  2807. border-bottom: 1px solid #ededee;
  2808. display: flex;
  2809. min-height: 96rpx;
  2810. .tian-view-t1 {
  2811. width: 20rpx;
  2812. font-size: 34rpx;
  2813. height: 34rpx;
  2814. line-height: 110rpx;
  2815. letter-spacing: 0px;
  2816. color: red;
  2817. }
  2818. .tian-view-t2 {
  2819. width: 30%;
  2820. min-height: 96rpx;
  2821. line-height: 96rpx;
  2822. font-size: 34rpx;
  2823. color: #333;
  2824. }
  2825. .tian-view-t3 {
  2826. width: 61%;
  2827. padding-top: 31rpx;
  2828. padding-bottom: 31rpx;
  2829. display: flex;
  2830. .tian-input {
  2831. width: 98%;
  2832. font-size: 34rpx;
  2833. border: none;
  2834. }
  2835. }
  2836. }
  2837. .inputbox {
  2838. width: 100%;
  2839. height: 100rpx;
  2840. display: flex;
  2841. align-items: center;
  2842. justify-content: center;
  2843. border-bottom: 1px solid #E0E0E0;
  2844. .thisinput {
  2845. width: 94%;
  2846. height: 52rpx;
  2847. background: #FFFFFF;
  2848. border-radius: 8rpx;
  2849. border: 1px solid #C9C9C9;
  2850. color: #333333;
  2851. font-size: 26rpx;
  2852. text-indent: 26rpx;
  2853. line-height: 52rpx;
  2854. }
  2855. }
  2856. .biaoqiantom {
  2857. background-color: #008EF2;
  2858. color: #FFFFFF;
  2859. border: none;
  2860. }
  2861. .Level-box {
  2862. padding-bottom: 2rpx;
  2863. .hhhbox {
  2864. width: 100%;
  2865. padding-left: 30rpx;
  2866. padding-right: 30rpx;
  2867. border-bottom: 1rpx solid #E0E0E0;
  2868. background: #FFFFFF;
  2869. .hsnrtest {
  2870. font-size: 24rpx;
  2871. font-weight: 400;
  2872. color: #666666;
  2873. line-height: 24rpx;
  2874. }
  2875. .Level3che {
  2876. width: 100%;
  2877. height: 28rpx;
  2878. display: flex;
  2879. line-height: 28rpx;
  2880. align-items: center;
  2881. margin-top: 30rpx;
  2882. .title1 {
  2883. flex: 1;
  2884. font-size: 28rpx;
  2885. color: #2671E2;
  2886. font-weight: 400;
  2887. }
  2888. .jiantobox {
  2889. width: 30rpx;
  2890. height: 30rpx;
  2891. display: flex;
  2892. align-items: center;
  2893. .arrow {
  2894. width: 28rpx;
  2895. height: 28rpx;
  2896. }
  2897. }
  2898. }
  2899. }
  2900. .Level2che {
  2901. width: 100%;
  2902. height: 88rpx;
  2903. display: flex;
  2904. line-height: 88rpx;
  2905. align-items: center;
  2906. .title1 {
  2907. flex: 2;
  2908. font-size: 28rpx;
  2909. color: #333333;
  2910. font-weight: 400;
  2911. }
  2912. .leve1-jindu {
  2913. flex: 3;
  2914. display: flex;
  2915. justify-content: center;
  2916. align-items: center;
  2917. .zhixing {
  2918. width: 108rpx;
  2919. height: 44rpx;
  2920. background: #2671E2;
  2921. border-radius: 4rpx;
  2922. font-size: 28rpx;
  2923. text-align: center;
  2924. line-height: 44rpx;
  2925. color: #FFFFFF;
  2926. }
  2927. .zhixing2 {
  2928. width: 108rpx;
  2929. height: 44rpx;
  2930. background: #F8F8F8;
  2931. border-radius: 4rpx;
  2932. font-size: 28rpx;
  2933. text-align: center;
  2934. line-height: 44rpx;
  2935. color: #999999;
  2936. }
  2937. }
  2938. .jiantobox {
  2939. width: 30rpx;
  2940. height: 30rpx;
  2941. display: flex;
  2942. align-items: center;
  2943. .arrow {
  2944. width: 30rpx;
  2945. height: 18rpx;
  2946. }
  2947. }
  2948. }
  2949. .Level1che {
  2950. width: 100%;
  2951. height: 94rpx;
  2952. background: #F5F5F5;
  2953. display: flex;
  2954. line-height: 94rpx;
  2955. align-items: center;
  2956. padding-left: 30rpx;
  2957. padding-right: 30rpx;
  2958. .title1 {
  2959. flex: 2;
  2960. font-size: 30rpx;
  2961. color: #333333;
  2962. font-weight: 400;
  2963. }
  2964. .leve1-jindu {
  2965. flex: 3;
  2966. .jindutiao {
  2967. width: 96%;
  2968. height: 28rpx;
  2969. background: #D5EEE2;
  2970. line-height: 28rpx;
  2971. border-radius: 14rpx;
  2972. position: relative;
  2973. .huanxing {
  2974. height: 100%;
  2975. background: #4FC78F;
  2976. border-radius: 14rpx;
  2977. }
  2978. .text {
  2979. position: absolute;
  2980. top: 0rpx;
  2981. right: 0rpx;
  2982. font-size: 28rpx;
  2983. font-weight: 400;
  2984. color: #333333;
  2985. }
  2986. }
  2987. }
  2988. .jiantobox {
  2989. width: 30rpx;
  2990. height: 30rpx;
  2991. display: flex;
  2992. align-items: center;
  2993. .arrow {
  2994. width: 30rpx;
  2995. height: 18rpx;
  2996. }
  2997. }
  2998. }
  2999. }
  3000. .rotatearrow {
  3001. transform: rotate(270deg);
  3002. }
  3003. .ffectivetext {
  3004. width: 85%;
  3005. margin: 10rpx auto;
  3006. height: 100rpx;
  3007. padding: 20rpx;
  3008. border: 1rpx solid #E4F0FF;
  3009. }
  3010. .scroll-Y .text.active .content {
  3011. color: #2671E2 !important;
  3012. // position: relative;
  3013. }
  3014. .scroll-Y .text.active .info {
  3015. color: #2671E2 !important;
  3016. // position: relative;
  3017. }
  3018. .scroll-Y .text.active[data-speaker] .content,
  3019. .scroll-Y .text.active[data-speaker="2"] .content,
  3020. .scroll-Y .text.active[data-speaker="4"] .content,
  3021. .scroll-Y .text.active[data-speaker="6"] .content {
  3022. color: #2671E2 !important;
  3023. // position: relative;
  3024. }
  3025. /deep/ .u-model-title {
  3026. padding: 34rpx 0 16rpx !important;
  3027. }
  3028. .checkbox {
  3029. margin: 0 10rpx 0 0;
  3030. width: 48rpx;
  3031. height: 48rpx;
  3032. display: flex;
  3033. justify-content: center;
  3034. align-items: center;
  3035. border-radius: 50%;
  3036. border: 1rpx solid #70798D;
  3037. &.select {
  3038. border-color: #008EF2;
  3039. background: #008EF2;
  3040. color: #fff;
  3041. }
  3042. }
  3043. .show-visit-content {
  3044. width: 100%;
  3045. height: 100%;
  3046. display: flex;
  3047. flex-direction: column;
  3048. .visit-title {
  3049. font-size: 32rpx;
  3050. font-weight: bold;
  3051. line-height: 70rpx;
  3052. text-align: center;
  3053. }
  3054. .visit-box {
  3055. flex-grow: 1;
  3056. display: flex;
  3057. flex-direction: column;
  3058. align-items: center;
  3059. .visit-step {
  3060. margin: 20rpx 0 0 0;
  3061. display: flex;
  3062. justify-content: center;
  3063. align-items: center;
  3064. border: 1rpx solid #999;
  3065. .mitems {
  3066. flex-shrink: 0;
  3067. width: 70rpx;
  3068. height: 70rpx;
  3069. background-color: #F2F2F2;
  3070. display: flex;
  3071. align-items: center;
  3072. justify-content: center;
  3073. }
  3074. .input {
  3075. width: 100rpx;
  3076. font-size: 32rpx;
  3077. text-align: center;
  3078. }
  3079. }
  3080. .tips {
  3081. padding: 20rpx 0;
  3082. width: 80%;
  3083. font-size: 26rpx;
  3084. }
  3085. }
  3086. .visit-btns {
  3087. width: 100%;
  3088. height: 88rpx;
  3089. display: flex;
  3090. .btn-item {
  3091. flex-grow: 1;
  3092. height: 100%;
  3093. display: flex;
  3094. align-items: center;
  3095. justify-content: center;
  3096. border: 1rpx solid #999;
  3097. }
  3098. }
  3099. }
  3100. /deep/textarea {
  3101. height: 70rpx;
  3102. }
  3103. </style>