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 89 KiB

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