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
1 year ago
1 year 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
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year 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
1 year 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
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
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
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
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
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
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
1 year ago
1 year ago
1 year 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
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
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
1 year 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
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
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
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
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
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528
  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. if (this.userlistobj.validInvalid == 0 || this.userlistobj.validInvalid == 1) {
  1252. msg = '是否标记为"有效录音"?';
  1253. } else {
  1254. msg = '是否撤销"无效(待审核)"?';
  1255. }
  1256. uni.showModal({
  1257. title: '提示',
  1258. content: msg,
  1259. success: (res) => {
  1260. if (this.noClick) {
  1261. this.noClick = false;
  1262. if (res.confirm) {
  1263. let parames = {
  1264. id: this.customerId,
  1265. validInvalid: '',
  1266. invalidReason: 0
  1267. }
  1268. if (this.userlistobj.validInvalid == 0) {
  1269. parames.validInvalid = 1;
  1270. } else if (this.userlistobj.validInvalid == 1) {
  1271. parames.validInvalid = 0;
  1272. } else if (this.userlistobj.validInvalid == 2) {
  1273. parames.auditReception = 1
  1274. parames.validInvalid = 1;
  1275. }
  1276. this.$u.post("/customer/updateValidInvalid", parames).then(res => {
  1277. this.Thetapeidisshow = false;
  1278. })
  1279. }
  1280. setTimeout(() => {
  1281. this.noClick = true;
  1282. }, 2000)
  1283. } else {
  1284. // 这里是重复点击的判断
  1285. }
  1286. }
  1287. });
  1288. } else {
  1289. this.effective = true;
  1290. this.Thetapeidisshow = false
  1291. }
  1292. },
  1293. effectiveAdd() {
  1294. if (this.effectiveindex == 5) {
  1295. if (this.effectiveitext.length == 0) {
  1296. uni.showToast({
  1297. title: '备注不能为空',
  1298. icon: "none",
  1299. duration: 2000
  1300. });
  1301. return
  1302. }
  1303. }
  1304. if (this.effectiveIndexText == "请选择") {
  1305. uni.showToast({
  1306. title: '请选择无效原因',
  1307. icon: "none",
  1308. duration: 2000
  1309. });
  1310. return
  1311. }
  1312. this.effective = false;
  1313. let parames = {
  1314. id: this.customerId,
  1315. validInvalid: '',
  1316. validInvalid: 1,
  1317. invalidReason: this.effectiveindex,
  1318. invalidNote: this.effectiveitext
  1319. }
  1320. this.$u.post("/customer/updateValidInvalid", parames).then(res => {
  1321. this.Thetapeidisshow = false;
  1322. })
  1323. },
  1324. radioChange(evt) {
  1325. this.effectiveitext = "";
  1326. for (let i = 0; i < this.effectiveitems.length; i++) {
  1327. if (this.effectiveitems[i].value === evt.detail.value) {
  1328. this.effectiveindex = i;
  1329. break;
  1330. }
  1331. }
  1332. },
  1333. //接待详情点击
  1334. Receivedetailsabouttab(stringa) {
  1335. if (stringa == 'Receivedetailsabout') {
  1336. this.gituserlist()
  1337. this.Thetapeidisshow = false;
  1338. this.Receivedetailsabout = true;
  1339. } else if (stringa == 'Pinspeak') {
  1340. this.getRatelist()
  1341. this.Pinspeak = true;
  1342. } else {
  1343. if (this.kehuyixiangcenterindex == 0) {
  1344. this.Acquirecustomerintent()
  1345. } else {
  1346. this.Acquirecustomerintent2()
  1347. }
  1348. this.intention = true;
  1349. }
  1350. },
  1351. guanjiancishifo() {
  1352. // this.guanjianciishow=!this.guanjianciishow;
  1353. this.stateisshow = 1;
  1354. uni.navigateTo({
  1355. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  1356. "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT&types=1'
  1357. })
  1358. },
  1359. //标记选择角色
  1360. biaojixuanze(index) {
  1361. this.roleindexbiaoji = index;
  1362. },
  1363. //标记顾问
  1364. tagtap() {
  1365. this.biojiisshow = !this.biojiisshow;
  1366. },
  1367. //取消标记
  1368. unmarktap() {
  1369. this.biojiisshow = false;
  1370. this.roleindexbiaoji = this.dshfkjsdkksodofydwfkhwdfkjh;
  1371. this.roleisshaw = false
  1372. },
  1373. //确认标记
  1374. Confirmthetag() {
  1375. if (this.roleindexbiaoji == -1) {
  1376. uni.showToast({
  1377. title: '请选择标记角色~',
  1378. duration: 2000
  1379. });
  1380. return
  1381. }
  1382. let params = {
  1383. id: this.luyinList[this.csdFileindex].id,
  1384. speaker: this.roleindexbiaoji + 1,
  1385. customerId: this.customerId
  1386. }
  1387. this.$u.get(config.service.markConsultant, params).then((data) => {
  1388. this.biojiisshow = false;
  1389. this.biaojiyuyi()
  1390. this.fenjiaoseunfo('refresh')
  1391. uni.showToast({
  1392. title: '标记成功',
  1393. duration: 2000
  1394. });
  1395. })
  1396. },
  1397. //标记语义词
  1398. biaojiyuyi() {
  1399. let parames = {
  1400. carId: this.customerId
  1401. }
  1402. this.$u.post("/matchKeywords/toMatchKeywords", parames).then(res => {})
  1403. },
  1404. //分角色
  1405. tapspagek(data, index) {
  1406. if (index == 0) this.resetTabList();
  1407. else this.resetAll();
  1408. data.select = !data.select
  1409. this.roleSelectArr = []
  1410. if (index != 0) {
  1411. this.tablist.forEach(item => {
  1412. if (item.select) {
  1413. this.roleSelectArr.push(item.speaker)
  1414. }
  1415. })
  1416. } else {
  1417. this.roleSelectArr.push(0)
  1418. }
  1419. this.fenjiaoseunfo()
  1420. },
  1421. // 选中全部时互斥全部选项与角色选项
  1422. resetTabList() {
  1423. this.tablist.forEach(item => {
  1424. item.select = false
  1425. })
  1426. },
  1427. // 选中角色时将全部反选
  1428. resetAll() {
  1429. this.tablist[0].select = false
  1430. },
  1431. // 生成角色列表
  1432. creatTabList(num) {
  1433. for (var i = 0; i <= num; i++) {
  1434. if (i === 0) {
  1435. this.tablist.push({
  1436. name: '全部',
  1437. select: false,
  1438. speaker: i
  1439. })
  1440. } else {
  1441. this.tablist.push({
  1442. name: String.fromCharCode(i + 64),
  1443. select: false,
  1444. speaker: i
  1445. })
  1446. }
  1447. }
  1448. },
  1449. // 获取flag
  1450. getVoFlagValue() {
  1451. return this.roleSelectArr.findIndex(item => item == 0) == -1 ? 1 : 0
  1452. },
  1453. //分角色标记刷新
  1454. fenjiaoseunfo(type) {
  1455. this.newluyinList = [];
  1456. this.dialogList = [];
  1457. let str =
  1458. `?corpusId=${this.luyinList[this.csdFileindex].id}&bg=${this.playNow * 1000}&speaker=0&voFlag=${this.getVoFlagValue()}&num=50`
  1459. if (this.roleSelectArr.findIndex(item => item == 0) == -1) {
  1460. str += `&speakerStr=${this.roleSelectArr.join(',')}`
  1461. }
  1462. uni.request({
  1463. url: `${config.service.getCorpusAnal}${str}`,
  1464. method: "GET",
  1465. header: {
  1466. 'content-type': 'application/json',
  1467. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  1468. },
  1469. success: (data) => {
  1470. let res = data.data.data
  1471. let jsonInfo = JSON.parse(res.audioContent);
  1472. //上拉标记点
  1473. this.textindex = res.index;
  1474. //下拉标记点
  1475. this.toptextindex = res.index;
  1476. jsonInfo.forEach(item => {
  1477. item.message = JSON.parse(item.onebest)
  1478. item.backindex = this.csdFileindex
  1479. item.message.forEach(info => {
  1480. info.checked = false
  1481. })
  1482. })
  1483. // 当页面标记重新刷新时
  1484. if (type == 'refresh') {
  1485. this.tablist = []
  1486. this.roleSelectArr = [0]
  1487. this.creatTabList(res.speakerNum)
  1488. this.tablist[0].select = true
  1489. this.tablist[res.speaker].name = this.tablist[res.speaker].name + "顾问";
  1490. }
  1491. if (this.roleSelectArr.length == 0) {
  1492. this.tablist[0].select = true
  1493. }
  1494. this.newluyinList = jsonInfo;
  1495. if (this.textindex == null) {
  1496. return
  1497. } else {
  1498. this.dialogList.push(jsonInfo[this.textindex]);
  1499. }
  1500. }
  1501. })
  1502. },
  1503. toKeywordsearch() {
  1504. this.stateisshow = 1;
  1505. uni.navigateTo({
  1506. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  1507. "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT'
  1508. })
  1509. },
  1510. TimeUpdate(currentTime) {
  1511. this.playNow = Number(currentTime)
  1512. if (this.dialogList.length == 0) {
  1513. return
  1514. } else {
  1515. const message = this.dialogList[0].message;
  1516. if (!message) return
  1517. for (let i = 0; i < message.length; i++) {
  1518. if ((Math.floor(message[i].bg / 1000) <= this.playNow && this.playNow < Math.floor(message[i].ed /
  1519. 1000))) {
  1520. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  1521. break;
  1522. }
  1523. if (i < message.length - 1 && Math.floor(message[i].ed / 1000) < this.playNow && this.playNow <
  1524. Math.floor(message[i + 1].bg / 1000)) {
  1525. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  1526. break;
  1527. }
  1528. }
  1529. }
  1530. this.$forceUpdate()
  1531. },
  1532. init(info) {
  1533. const parames = {
  1534. pageNum: 1,
  1535. pageSize: 100,
  1536. query: {
  1537. customerId: this.customerId
  1538. }
  1539. }
  1540. this.$u.post("/corpus/findByPage", parames).then(res => {
  1541. if (res && res.length) {
  1542. let alltime = 1 + res[0].recordDuration;
  1543. this.calibration = res[0].calibration;
  1544. if (this.calibration == 0) {
  1545. this.kehuyixiangcenterindex = 0;
  1546. } else {
  1547. this.kehuyixiangcenterindex = 1;
  1548. }
  1549. if (info.bg != 0) {
  1550. this.luyinList = res;
  1551. this.recordPath = res[0].recordPath
  1552. this.date = res[0].receptionTime;
  1553. this.getCorpusAnalysis(info);
  1554. } else {
  1555. this.luyinList = res;
  1556. this.recordPath = res[0].recordPath
  1557. this.date = res[0].receptionTime;
  1558. this.getCorpusAnalysis(info);
  1559. this.zyAudio()
  1560. }
  1561. if (this.refresh) this.zyAudio()
  1562. }
  1563. })
  1564. },
  1565. //搜索跳转 定位到选择
  1566. adasdasdasd(e) {
  1567. this.stepPlay(e)
  1568. },
  1569. //下一页
  1570. ltolower() {
  1571. var lengthcz = this.newluyinList.length - 1;
  1572. if (this.textindex >= lengthcz) {
  1573. uni.showToast({
  1574. title: '到底了',
  1575. icon: 'none',
  1576. duration: 2000
  1577. });
  1578. return
  1579. } else {
  1580. this.textindex = this.textindex + 1;
  1581. this.newluyinList[this.textindex].message.forEach(item => {
  1582. this.dialogList[0].message.push(item)
  1583. })
  1584. }
  1585. },
  1586. //下一页
  1587. ltolower() {
  1588. var lengthcz = this.newluyinList.length - 1;
  1589. if (this.textindex >= lengthcz) {
  1590. uni.showToast({
  1591. title: '到底了',
  1592. icon: 'none',
  1593. duration: 2000
  1594. });
  1595. return
  1596. } else {
  1597. this.textindex = this.textindex + 1;
  1598. this.newluyinList[this.textindex].message.forEach(item => {
  1599. this.dialogList[0].message.push(item)
  1600. })
  1601. }
  1602. console.log("下一页", this.textindex)
  1603. },
  1604. //上一页
  1605. rolltoupper() {
  1606. if (this.toptextindex == 0) {
  1607. // uni.showToast({
  1608. // title: '到头了',
  1609. // duration: 2000
  1610. // });
  1611. return
  1612. } else {
  1613. if (this.dialogList[0] == undefined) {
  1614. return
  1615. } else {
  1616. this.toptextindex = this.toptextindex - 1;
  1617. let reverselist = this.newluyinList[this.toptextindex].message;
  1618. let runlist = reverselist.reverse();
  1619. runlist.forEach(item => {
  1620. this.dialogList[0].message.unshift(item)
  1621. })
  1622. }
  1623. }
  1624. console.log("上一页", this.toptextindex)
  1625. },
  1626. jiajing() {
  1627. if (this.status == 1) { // 加精
  1628. this.tappick()
  1629. } else { // 取消加精
  1630. this.notappick()
  1631. }
  1632. },
  1633. // 取消全部加精
  1634. notappick() {
  1635. console.log('quxiao')
  1636. var that = this;
  1637. uni.showModal({
  1638. title: '提示',
  1639. content: '确认取消加精?',
  1640. success: function(res) {
  1641. if (res.confirm) {
  1642. that.$u.get(config.service.delATD, {
  1643. carId: that.customerId,
  1644. itemId: that.buildingID
  1645. }).then(data => {
  1646. console.log(data)
  1647. if (!data || data.code == 10000) {
  1648. that.status = 1
  1649. uni.showToast({
  1650. title: '取消成功',
  1651. duration: 2000
  1652. });
  1653. }
  1654. }).catch(e => {
  1655. uni.showToast({
  1656. title: e.message,
  1657. duration: 2000
  1658. });
  1659. })
  1660. } else if (res.cancel) {
  1661. console.log('用户点击取消');
  1662. }
  1663. }
  1664. });
  1665. },
  1666. //全部加精
  1667. tappick() {
  1668. var that = this;
  1669. uni.showModal({
  1670. title: '提示',
  1671. content: '确认加精?',
  1672. success: function(res) {
  1673. if (res.confirm) {
  1674. console.log('用户点击确定');
  1675. let objdata = {
  1676. "carId": that.customerId, //客户id
  1677. "status": 0,
  1678. "itemId": that.buildingID,
  1679. }
  1680. that.$u.post(config.service.addATD, objdata).then(data => {
  1681. console.log(data)
  1682. if (!data || data.code == 10000) {
  1683. that.status = 0
  1684. uni.showToast({
  1685. title: '加精成功',
  1686. duration: 2000
  1687. });
  1688. }
  1689. }).catch(e => {
  1690. uni.showToast({
  1691. title: e.message,
  1692. duration: 2000
  1693. });
  1694. })
  1695. } else if (res.cancel) {
  1696. console.log('用户点击取消');
  1697. }
  1698. }
  1699. });
  1700. },
  1701. //标签选择
  1702. tapbiaoqianclisck(index) {
  1703. this.biaoqianindex = index;
  1704. this.biaoqianid = this.biaoqianlist[index].id
  1705. },
  1706. //复制
  1707. clickcopy() {
  1708. var that = this;
  1709. uni.setClipboardData({
  1710. data: that.thewrongword,
  1711. success: function() {
  1712. that.dialogList.forEach(res => {
  1713. res.message.forEach(asd => {
  1714. asd.isshow = false;
  1715. })
  1716. })
  1717. that.$forceUpdate();
  1718. }
  1719. });
  1720. },
  1721. //确认加入常错词
  1722. Confirmtheexit() {
  1723. if (this.reswrongword.length > 8 || this.thewrongword.length > 8) {
  1724. this.$refs.uToast.show({
  1725. title: '正确词错误词不能超过8个字',
  1726. type: 'warning',
  1727. })
  1728. this.isshow2 = true;
  1729. } else {
  1730. let reg = /^[0-9]+$/
  1731. if (reg.test(this.thewrongword)) {
  1732. this.$refs.uToast.show({
  1733. title: '错误词不能为纯数字',
  1734. type: 'warning',
  1735. })
  1736. this.isshow2 = true;
  1737. } else {
  1738. if (this.thewrongword) {
  1739. if (this.reswrongword) {
  1740. let parames = {
  1741. customerId: this.customerId,
  1742. cupid: this.luyinList[this.csdFileindex].id,
  1743. wrongWord: this.thewrongword, //错误词
  1744. correctWord: this.reswrongword, //正确词
  1745. translateHtmlContent: this.messagelisy,
  1746. }
  1747. this.isshow2 = false;
  1748. let sas = this.textItself.replace(this.thewrongword, this.reswrongword)
  1749. this.dialogList[this.argtextindex1].message[this.argtextindex2].onebest = sas
  1750. this.cancelBeast()
  1751. this.$u.post("/corpus/addCorrectWord", parames).then(data => {
  1752. this.thewrongword = "";
  1753. this.reswrongword = "";
  1754. })
  1755. } else {
  1756. this.$refs.uToast.show({
  1757. title: '正确值不能为空',
  1758. type: 'warning',
  1759. })
  1760. this.isshow2 = true;
  1761. return
  1762. }
  1763. } else {
  1764. this.$refs.uToast.show({
  1765. title: '错误词不能为空',
  1766. type: 'warning',
  1767. })
  1768. this.isshow2 = true;
  1769. return
  1770. }
  1771. }
  1772. }
  1773. },
  1774. //取消加入常错词
  1775. Cancelout() {
  1776. this.isshow2 = false;
  1777. this.cancelBeast()
  1778. },
  1779. //加入长错词
  1780. Oftenthewrongword() {
  1781. this.isNum = false;
  1782. this.reswrongword = "";
  1783. this.isshow2 = true;
  1784. let reg = /^[0-9]+$/
  1785. if (reg.test(this.thewrongword)) {
  1786. this.isNum = true
  1787. }
  1788. },
  1789. // 选中取反
  1790. cbChange(item) {
  1791. item.checked = !item.checked
  1792. this.$forceUpdate()
  1793. },
  1794. // 隐藏长按提示框
  1795. cancelBeast() {
  1796. this.dialogList.forEach(res => {
  1797. res.message.forEach(asd => {
  1798. asd.isshow = false;
  1799. })
  1800. })
  1801. },
  1802. //加精华
  1803. Addtheessence() {
  1804. this.refined = true
  1805. this.cancelBeast()
  1806. },
  1807. // 重置选择加精的内容
  1808. cancelAllAdd() {
  1809. console.log('chufa')
  1810. this.dialogList.forEach(item => {
  1811. if (item.message && item.message.length > 0) {
  1812. item.message.forEach(items => {
  1813. items.checked = false
  1814. })
  1815. }
  1816. })
  1817. this.refined = false
  1818. // this.$forceUpdate()
  1819. },
  1820. // 确认批量加精
  1821. sureRefinement() {
  1822. this.isshow3 = true;
  1823. this.biaoqianlist = []
  1824. let parames = {
  1825. "itemId": this.buildingID
  1826. }
  1827. this.$u.post("/addtodigest/findAllYi", parames).then(data => {
  1828. this.biaoqianlist = data
  1829. this.biaoqianlist.unshift({
  1830. name: "逼单话术",
  1831. id: 0
  1832. })
  1833. })
  1834. },
  1835. // 取消加精
  1836. Cancelout2() {
  1837. this.isshow3 = false;
  1838. this.cancelBeast()
  1839. },
  1840. // 确认加精
  1841. Confirmtheexit2() {
  1842. if (this.biaoqianid) {
  1843. this.biaoqianid = this.biaoqianid
  1844. } else {
  1845. this.biaoqianid = 0
  1846. }
  1847. this.isshow3 = false;
  1848. this.cancelBeast()
  1849. let objdata = {
  1850. itemId: this.buildingID,
  1851. carId: this.customerId, //客户id
  1852. status: 1,
  1853. startFile: this.duihuawenjianid, //对话所在录音文件id
  1854. marketingId: this.biaoqianid, //对应一级父id
  1855. // jjTransfer: this.changanitem.onebest, //选中对话
  1856. // endTime: this.changanitem.ed, //结束时间
  1857. // startTime: this.changanitem.bg, //开始时间
  1858. toDigestList: [], // 加精多选的内容
  1859. // jjTransfer: this.changanitem.onebest, //选中对话
  1860. // endTime: this.changanitem.ed, //结束时间
  1861. // startTime: this.changanitem.bg, //开始时间
  1862. }
  1863. // 将数据筛选出来并排序并且翻转数据让后端获取第一条加精的数据在分点加精的学习列表使用
  1864. this.dialogList.forEach(items => {
  1865. if (items.message && items.message.length > 0) {
  1866. items.message.forEach(item => {
  1867. if (item.checked) {
  1868. objdata.toDigestList.push({
  1869. jjTransfer: item.onebest,
  1870. startTime: item.bg,
  1871. endTime: item.ed,
  1872. })
  1873. }
  1874. })
  1875. }
  1876. })
  1877. objdata.toDigestList.sort((a, b) => {
  1878. return Number(a.startTime) - Number(b.startTime)
  1879. }).reverse()
  1880. this.isshow3 = false;
  1881. this.$u.post(config.service.addATD, objdata).then(res => {
  1882. console.log(res)
  1883. uni.showToast({
  1884. title: '加精成功',
  1885. duration: 2000
  1886. });
  1887. this.cancelAllAdd()
  1888. }).catch(e => {
  1889. uni.showToast({
  1890. title: '网络异常,请稍候重试~',
  1891. duration: 2000
  1892. });
  1893. this.cancelAllAdd()
  1894. })
  1895. },
  1896. //长按对话
  1897. changanxiaoguo(item, index, i) {
  1898. this.messagelisy = [];
  1899. this.changanitem = {};
  1900. this.duihuawenjianid = "";
  1901. this.cancelBeast()
  1902. this.changanitem = item;
  1903. this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
  1904. this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow;
  1905. this.textItself = item.onebest;
  1906. let onebest = item.onebest;
  1907. this.thewrongword = onebest.replace(/<.*?>/ig, "");
  1908. this.messagelisy = this.dialogList[i].message
  1909. this.argtextindex1 = i;
  1910. this.argtextindex2 = index;
  1911. },
  1912. //回到顶部
  1913. gotoTop() {
  1914. this.scrollId = null;
  1915. this.$nextTick(() => {
  1916. this.scrollId = "top";
  1917. })
  1918. },
  1919. //切换tab
  1920. changeTab(type) {
  1921. if (type == 0) {
  1922. this.tab = 0
  1923. } else {
  1924. this.tab = 1;
  1925. this.getRatelist();
  1926. }
  1927. },
  1928. //评分上下显隐
  1929. changeshow(item, type) {
  1930. item.show = !item.show;
  1931. },
  1932. changeshow2(item, type) {
  1933. item.show = !item.show;
  1934. },
  1935. // 获取评分
  1936. getRatelist() {
  1937. if (this.ratelist.length == 0) {
  1938. uni.showLoading({
  1939. title: '加载中'
  1940. });
  1941. this.$u.get("/customer/findzkMByCusId", {
  1942. cusId: this.customerId
  1943. }).then(res => {
  1944. if (res.length) {
  1945. let level1 = []
  1946. let level2rate = 0
  1947. res.forEach(item => {
  1948. if (item.pid == 0) {
  1949. level1.push({
  1950. id: item.marketingId,
  1951. rate: item.fraction,
  1952. name: item.name,
  1953. sort: item.sort,
  1954. show: false,
  1955. ratepercent: 0,
  1956. children: []
  1957. })
  1958. } else {
  1959. if (item.selected == 0) {
  1960. level2rate += item.fraction
  1961. }
  1962. }
  1963. })
  1964. this.totalRate = level2rate;
  1965. res.forEach(subitem => {
  1966. let subitempid = subitem.pid
  1967. level1.forEach(item => {
  1968. if (subitempid == item.id) {
  1969. if (subitem.selected == 0) {
  1970. item.ratepercent += subitem.fraction
  1971. }
  1972. item.children.push({
  1973. id: subitem.id,
  1974. rate: subitem.fraction,
  1975. selected: subitem.selected,
  1976. name: subitem.name,
  1977. show: false,
  1978. marketingId: subitem.marketingId,
  1979. children: []
  1980. })
  1981. }
  1982. })
  1983. })
  1984. res.forEach(subitem => {
  1985. let subitempid = subitem.pid
  1986. level1.forEach(chen => {
  1987. chen.children.forEach(zxc => {
  1988. if (subitempid == zxc.marketingId) {
  1989. zxc.children.push({
  1990. id: subitem.id,
  1991. rate: subitem.fraction,
  1992. selected: subitem.selected,
  1993. name: subitem.name,
  1994. marketingId: subitem.marketingId,
  1995. })
  1996. }
  1997. })
  1998. })
  1999. })
  2000. level1[0].show = true;
  2001. level1[0].children[0].show = true;
  2002. this.ratelist = level1
  2003. }
  2004. setTimeout(function() {
  2005. uni.hideLoading();
  2006. }, 1000);
  2007. })
  2008. }
  2009. },
  2010. // 获取转义后的对话结果
  2011. getCorpusAnalysis(info) {
  2012. this.dialogList = [];
  2013. this.newluyinList = []
  2014. uni.request({
  2015. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  2016. "&bg=" + info.bg + "&speaker=" + this.roleindex + '&num=50', //仅为示例,并非真实接口地址。
  2017. method: "GET",
  2018. header: {
  2019. 'content-type': 'application/json',
  2020. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  2021. },
  2022. success: (data) => {
  2023. this.LOADING = false
  2024. this.tablist = [];
  2025. let jsonInfo = JSON.parse(data.data.data.audioContent);
  2026. this.creatTabList(data.data.data.speakerNum)
  2027. this.tablist[0].select = true // 默认选中第一个
  2028. if (data.data.data.speaker == null) {
  2029. this.roleindexbiaoji = -1;
  2030. this.dshfkjsdkksodofydwfkhwdfkjh = -1;
  2031. } else {
  2032. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data.speaker]
  2033. .name + "顾问";
  2034. this.roleindexbiaoji = data.data.data.speaker - 1;
  2035. this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1;
  2036. }
  2037. //上拉标记点
  2038. this.textindex = data.data.data.index;
  2039. //下拉标记点
  2040. this.toptextindex = data.data.data.index;
  2041. jsonInfo.forEach(item => {
  2042. item.message = JSON.parse(item.onebest)
  2043. item.backindex = this.csdFileindex;
  2044. if (info.onebest) {
  2045. item.message.forEach(che => {
  2046. if (che.onebest == info.onebest) {
  2047. che.onebest =
  2048. `<font style='color: red'>${che.onebest}</font>`;
  2049. }
  2050. })
  2051. }
  2052. })
  2053. this.dialogList = [];
  2054. this.newluyinList = []
  2055. this.newluyinList = jsonInfo;
  2056. this.dialogList.push(jsonInfo[this.textindex]);
  2057. this.adasdasdasd(Math.floor(info.bg / 1000))
  2058. },
  2059. fail: () => {
  2060. this.LOADING = false
  2061. }
  2062. })
  2063. },
  2064. getTime(time) {
  2065. return util.formatSecond(time)
  2066. },
  2067. // 音频前进回退
  2068. sliderChangeComplate(currentTime) {
  2069. this.dialogList = []
  2070. this.$u.get(config.service.fastForward, {
  2071. corpusId: this.luyinList[this.csdFileindex].id,
  2072. bg: (currentTime * 1000) || 0
  2073. }).then(data => {
  2074. this.textindex = data.index;
  2075. this.toptextindex = data.index;
  2076. if (data.index > this.newluyinList.length) {
  2077. this.dialogList.push(this.newluyinList[0])
  2078. } else {
  2079. this.dialogList.push(this.newluyinList[data.index])
  2080. }
  2081. })
  2082. },
  2083. //长按点击播放
  2084. clickbofang(dialog, item) {
  2085. this.cancelBeast()
  2086. this.$forceUpdate()
  2087. let platetime = item.bg;
  2088. let newtime = Math.floor(item.bg / 1000);
  2089. this.dialogList = []
  2090. uni.request({
  2091. url: config.service.fastForward + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  2092. "&bg=" + platetime || 0, //仅为示例,并非真实接口地址。
  2093. method: "GET",
  2094. header: {
  2095. 'content-type': 'application/json',
  2096. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  2097. },
  2098. success: (data) => {
  2099. this.textindex = data.data.data.index;
  2100. this.toptextindex = data.data.data.index;
  2101. this.dialogList.push(this.newluyinList[data.data.data.index])
  2102. this.stepPlay(newtime);
  2103. }
  2104. })
  2105. },
  2106. formatTime(num) {
  2107. //格式化时间格式
  2108. num = num.toFixed(0);
  2109. let second = num % 60;
  2110. if (second < 10) second = '0' + second;
  2111. let min = Math.floor(num / 60);
  2112. if (min < 10) min = '0' + min;
  2113. return min + ":" + second;
  2114. },
  2115. changeEditing() {
  2116. this.dialogListres[0].message.forEach(asd => {
  2117. asd.isshow = false;
  2118. })
  2119. },
  2120. // 迅速切换音频源并切换回来
  2121. checkPlaybackRate() {
  2122. this.stepPosition = this.nowPlaying
  2123. //
  2124. let data = [{
  2125. src: 'https://static.quhouse.com/record/prop/2022-12-13/1670905992910-00066.mp3',
  2126. title: '录音音频',
  2127. singer: '',
  2128. coverImgUrl: ''
  2129. }]
  2130. this.$zaudio.setAudio(data)
  2131. //渲染第一首音频
  2132. this.$zaudio.setRender(0)
  2133. if (!this.refresh) {
  2134. setTimeout(() => {
  2135. this.$zaudio.operate()
  2136. }, 150)
  2137. }
  2138. setTimeout(() => {
  2139. this.zyAudio()
  2140. }, 500)
  2141. },
  2142. //录音实例
  2143. zyAudio() {
  2144. let data = [{
  2145. src: this.recordPath,
  2146. title: '录音音频',
  2147. singer: '',
  2148. coverImgUrl: ''
  2149. }]
  2150. this.$zaudio.setAudio(data)
  2151. //渲染第一首音频
  2152. this.$zaudio.setRender(0)
  2153. if (!this.refresh) {
  2154. setTimeout(() => {
  2155. this.$zaudio.operate()
  2156. }, 150)
  2157. }
  2158. if (this.stepPosition != 0) {
  2159. setTimeout(() => {
  2160. this.stepPlay(this.stepPosition)
  2161. }, 1500)
  2162. }
  2163. },
  2164. // 跳转指定位置播放
  2165. stepPlay(t) {
  2166. this.$zaudio.seek(t)
  2167. if (this.$zaudio.paused) {
  2168. this.$zaudio.operate()
  2169. }
  2170. }
  2171. },
  2172. }
  2173. </script>
  2174. <style lang="scss" scoped>
  2175. .contentInfo .newmark {
  2176. margin: 30rpx 0 10rpx 30rpx;
  2177. .mark-item {
  2178. display: flex;
  2179. flex-wrap: wrap;
  2180. margin-bottom: 12rpx;
  2181. .markicon {
  2182. width: 30rpx;
  2183. height: 30rpx;
  2184. margin-right: 12rpx;
  2185. }
  2186. .marktext {
  2187. font-size: 24rpx;
  2188. font-family: PingFangSC-Regular, PingFang SC;
  2189. font-weight: 400;
  2190. color: #3E50E8;
  2191. min-height: 30rpx;
  2192. line-height: 30rpx;
  2193. max-width: 420rpx;
  2194. text-align: left;
  2195. word-break: break-all;
  2196. }
  2197. }
  2198. }
  2199. .scroll-Y .text[data-speaker="2"] .newmark,
  2200. .scroll-Y .text[data-speaker="4"] .newmark,
  2201. .scroll-Y .text[data-speaker="8"] .newmark,
  2202. .scroll-Y .text[data-speaker="6"] .newmark {
  2203. // margin-left: 84rpx;
  2204. }
  2205. .box {
  2206. width: 100%;
  2207. height: 100vh;
  2208. display: flex;
  2209. flex-direction: column;
  2210. .pingfenbox {
  2211. width: 100%;
  2212. height: 60rpx;
  2213. line-height: 60rpx;
  2214. border-bottom: 1px solid #E0E0E0;
  2215. display: flex;
  2216. justify-content: space-around;
  2217. }
  2218. .pingfenbox view {
  2219. width: 100%;
  2220. height: 100%;
  2221. text-align: center;
  2222. font-size: 28rpx;
  2223. padding: 0 18rpx;
  2224. }
  2225. .activecllasscet {
  2226. background: #2671E2;
  2227. color: #FFFFFF;
  2228. }
  2229. .title1-12 {
  2230. font-size: 28rpx;
  2231. color: #2671E2;
  2232. font-weight: 400;
  2233. text-indent: 30rpx;
  2234. margin-top: 18rpx;
  2235. }
  2236. .headbox {
  2237. width: 100%;
  2238. min-height: 173rpx;
  2239. }
  2240. .zhuti {
  2241. flex: 1;
  2242. overflow: auto;
  2243. }
  2244. .bottombox {
  2245. width: 100%;
  2246. // min-height: 170rpx;
  2247. border-top: 1rpx solid #E0E0E0;
  2248. padding-bottom: 60rpx;
  2249. .bottomhead {
  2250. width: 100%;
  2251. height: 81rpx;
  2252. border-bottom: 1rpx solid #E0E0E0;
  2253. display: flex;
  2254. justify-content: space-between;
  2255. align-items: center;
  2256. .audio-slider {
  2257. width: 87%;
  2258. display: flex;
  2259. justify-content: space-between;
  2260. align-items: center;
  2261. padding-right: 30rpx;
  2262. }
  2263. .audio-slider .slider {
  2264. width: 100%;
  2265. padding: 0px 15rpx;
  2266. box-sizing: border-box;
  2267. }
  2268. .audio-time {
  2269. width: 110rpx;
  2270. text-align: right;
  2271. font-size: 26rpx;
  2272. line-height: 28rpx;
  2273. color: #70798D;
  2274. display: flex;
  2275. justify-content: space-between;
  2276. }
  2277. .audio-play {
  2278. width: 48rpx;
  2279. height: 48rpx;
  2280. flex-shrink: 0;
  2281. }
  2282. .audio-play .image {
  2283. width: 100%;
  2284. height: 100%;
  2285. margin-left: 30rpx;
  2286. }
  2287. }
  2288. .botbotmm {
  2289. width: 100%;
  2290. height: 88rpx;
  2291. display: flex;
  2292. align-items: center;
  2293. }
  2294. }
  2295. .bottomboxs {
  2296. width: 100%;
  2297. height: 90rpx;
  2298. display: flex;
  2299. justify-content: space-around;
  2300. .bottomboxs-item {
  2301. width: 45%;
  2302. height: 100%;
  2303. display: flex;
  2304. justify-content: center;
  2305. align-items: center;
  2306. color: #fff;
  2307. background: #008EF2;
  2308. font-size: 36rpx;
  2309. font-weight: bold;
  2310. }
  2311. }
  2312. }
  2313. .moremodal {
  2314. position: fixed;
  2315. top: 0;
  2316. bottom: 0;
  2317. left: 0;
  2318. right: 0;
  2319. background: rgba(0, 0, 0, 0.5);
  2320. display: flex;
  2321. flex-direction: column;
  2322. justify-content: flex-end;
  2323. z-index: 1000000;
  2324. .more-cont {
  2325. width: 690rpx;
  2326. padding: 30rpx;
  2327. background: #fff;
  2328. box-sizing: content-box;
  2329. border-radius: 20rpx 20rpx 0 0;
  2330. .more-title {
  2331. width: 100%;
  2332. display: flex;
  2333. justify-content: space-between;
  2334. height: 50rpx;
  2335. font-size: 36rpx;
  2336. font-family: PingFangSC-Medium, PingFang SC;
  2337. font-weight: 500;
  2338. color: #333333;
  2339. align-items: center;
  2340. .close-icon {
  2341. width: 32rpx;
  2342. height: 32rpx;
  2343. }
  2344. }
  2345. .more-btn {
  2346. display: flex;
  2347. flex-wrap: wrap;
  2348. margin-top: 30rpx;
  2349. padding-bottom: 30rpx;
  2350. // border-bottom: 1rpx solid #e0e0e0;
  2351. .btn-item {
  2352. margin-bottom: 10rpx;
  2353. width: 284rpx;
  2354. height: 72rpx;
  2355. display: flex;
  2356. justify-content: center;
  2357. align-items: center;
  2358. background: #FFFFFF;
  2359. border-radius: 8rpx;
  2360. font-size: 30rpx;
  2361. border: 1rpx solid #000;
  2362. font-family: PingFangSC-Regular, PingFang SC;
  2363. font-weight: 400;
  2364. color: #333333;
  2365. margin-right: 30rpx;
  2366. .icon {
  2367. width: 30rpx;
  2368. height: 30rpx;
  2369. margin-right: 12rpx;
  2370. }
  2371. }
  2372. }
  2373. .other-btn {
  2374. .btn-item {
  2375. display: flex;
  2376. align-items: center;
  2377. font-size: 30rpx;
  2378. font-family: PingFangSC-Regular, PingFang SC;
  2379. font-weight: 400;
  2380. color: #333333;
  2381. line-height: 42rpx;
  2382. padding: 30rpx 0;
  2383. border-bottom: 1rpx solid #e0e0e0;
  2384. .icon {
  2385. width: 30rpx;
  2386. height: 30rpx;
  2387. margin-right: 12rpx;
  2388. }
  2389. }
  2390. }
  2391. }
  2392. }
  2393. .headboxhead {
  2394. width: 100%;
  2395. height: 84rpx;
  2396. // border-bottom: 1px solid #E0E0E0;
  2397. display: flex;
  2398. .boxhead1 {
  2399. margin-left: 30rpx;
  2400. height: 84rpx;
  2401. font-size: 30rpx;
  2402. font-family: PingFangSC-Medium, PingFang SC;
  2403. font-weight: 500;
  2404. color: #303030;
  2405. line-height: 84rpx;
  2406. }
  2407. .boxhead2 {
  2408. width: 46%;
  2409. height: 84rpx;
  2410. text-align: right;
  2411. }
  2412. }
  2413. .boxhead2 image {
  2414. width: 36rpx;
  2415. height: 36rpx;
  2416. margin-top: 24rpx;
  2417. }
  2418. .headboxbott {
  2419. width: 100%;
  2420. height: 88rpx;
  2421. display: flex;
  2422. align-items: center;
  2423. border-top: 1rpx solid #E0E0E0;
  2424. border-bottom: 1rpx solid #E0E0E0;
  2425. .headovfu {
  2426. flex: 1;
  2427. height: 88rpx;
  2428. overflow-x: scroll;
  2429. display: flex;
  2430. align-items: center;
  2431. .mytab {
  2432. margin-left: 20rpx;
  2433. flex-shrink: 0;
  2434. .tab-item {
  2435. padding: 0 20rpx;
  2436. height: 52rpx;
  2437. line-height: 52rpx;
  2438. background: #FFFFFF;
  2439. border-radius: 8rpx;
  2440. border: 1rpx solid #E0E0E0;
  2441. font-size: 26rpx;
  2442. font-family: PingFangSC-Regular, PingFang SC;
  2443. font-weight: 400;
  2444. color: #999999;
  2445. }
  2446. .tabActive {
  2447. background: #2671E2;
  2448. color: #fff;
  2449. }
  2450. }
  2451. &::-webkit-scrollbar {
  2452. width: 0;
  2453. height: 0;
  2454. color: transparent;
  2455. }
  2456. }
  2457. .headpade {
  2458. width: 160rpx;
  2459. height: 88rpx;
  2460. display: flex;
  2461. justify-content: center;
  2462. align-items: center;
  2463. box-shadow: -4rpx 0px 8rpx -4rpx rgba(0, 0, 0, 0.2);
  2464. .biaoji {
  2465. text-align: center;
  2466. line-height: 52rpx;
  2467. color: #FFFFFF;
  2468. font-size: 26rpx;
  2469. width: 100rpx;
  2470. height: 52rpx;
  2471. background: #E6625B;
  2472. border-radius: 26rpx;
  2473. }
  2474. }
  2475. }
  2476. .fill {
  2477. width: 2rpx;
  2478. height: 41rpx;
  2479. background: #E0E0E0;
  2480. }
  2481. .tmmchen {
  2482. width: 25%;
  2483. height: 88rpx;
  2484. text-align: center;
  2485. color: #666666;
  2486. font-size: 24rpx;
  2487. position: relative;
  2488. .allimg {
  2489. position: absolute;
  2490. width: 168rpx;
  2491. top: -152rpx;
  2492. border: 1px solid #E0E0E0;
  2493. background: #FFFFFF;
  2494. font-size: 26rpx;
  2495. color: #333333;
  2496. text-align: center;
  2497. box-shadow: 10rpx 10rpx 5rpx #888888;
  2498. }
  2499. }
  2500. .tmmchen image {
  2501. width: 44rpx;
  2502. height: 44rpx;
  2503. margin-bottom: 10rpx;
  2504. }
  2505. .tmmchen .text {
  2506. height: 32rx;
  2507. font-size: 24rpx;
  2508. font-family: PingFangSC-Regular, PingFang SC;
  2509. font-weight: 400;
  2510. color: #666666;
  2511. line-height: 32rpx;
  2512. }
  2513. .zhezhao {
  2514. position: fixed;
  2515. top: 0;
  2516. left: 0;
  2517. z-index: 999;
  2518. width: 100%;
  2519. height: 100vh;
  2520. opacity: 0.5;
  2521. background-color: #666666;
  2522. }
  2523. .followingpop-up {
  2524. width: 100%;
  2525. height: 75vh;
  2526. background: #FFFFFF;
  2527. position: fixed;
  2528. background: #FFFFFF;
  2529. left: 0px;
  2530. bottom: 0px;
  2531. z-index: 1000;
  2532. display: flex;
  2533. flex-direction: column;
  2534. // position: absolute;
  2535. .calibration {
  2536. width: 90rpx;
  2537. height: 90rpx;
  2538. background: #2671E2;
  2539. text-align: center;
  2540. line-height: 90rpx;
  2541. border-radius: 50%;
  2542. color: #FFFFFF;
  2543. position: absolute;
  2544. right: 30rpx;
  2545. bottom: 100rpx;
  2546. }
  2547. .guanbibox {
  2548. width: 100%;
  2549. padding-bottom: 20rpx;
  2550. margin-top: 20rpx;
  2551. border-bottom: 1px solid #E0E0E0;
  2552. position: relative;
  2553. .guanbixen {
  2554. width: 30rpx;
  2555. height: 30rpx;
  2556. position: absolute;
  2557. right: 30rpx;
  2558. top: 6rpx;
  2559. }
  2560. .cenisboxtab {
  2561. width: 100%;
  2562. display: flex;
  2563. .cenisboxtabview {
  2564. flex: 1;
  2565. display: flex;
  2566. align-items: center;
  2567. justify-content: center;
  2568. color: #333333;
  2569. font-size: 30rpx;
  2570. font-weight: 600;
  2571. }
  2572. }
  2573. }
  2574. .cenisbox {
  2575. flex: 1;
  2576. overflow: auto;
  2577. .top-box {
  2578. height: 80rpx;
  2579. line-height: 80rpx;
  2580. display: flex;
  2581. color: #2671E2;
  2582. border-bottom: 1rpx solid #ccc;
  2583. }
  2584. .jianbox {
  2585. width: 100%;
  2586. border-bottom: 1px solid #E0E0E0;
  2587. padding-top: 24rpx;
  2588. padding-bottom: 24rpx;
  2589. .jianbox-cen {
  2590. width: 100%;
  2591. height: 78rpx;
  2592. // border-bottom: 1px solid #E0E0E0;
  2593. display: flex;
  2594. .jianboxtext {
  2595. flex: 1;
  2596. height: 100%;
  2597. font-size: 30rpx;
  2598. font-weight: 600;
  2599. line-height: 78rpx;
  2600. color: #333333;
  2601. text-indent: 30rpx;
  2602. }
  2603. .jianboxjian {
  2604. width: 80rpx;
  2605. height: 100%;
  2606. line-height: 78rpx;
  2607. text-align: center;
  2608. }
  2609. }
  2610. .bioqianwayl {
  2611. width: 690rpx;
  2612. margin: 0 auto;
  2613. display: flex;
  2614. flex-wrap: wrap;
  2615. }
  2616. .bioqianwayl view {
  2617. padding-left: 24rpx;
  2618. padding-right: 24rpx;
  2619. padding-top: 10rpx;
  2620. padding-bottom: 10rpx;
  2621. margin-right: 24rpx;
  2622. margin-top: 20rpx;
  2623. border-radius: 8rpx;
  2624. font-size: 26rpx;
  2625. }
  2626. }
  2627. }
  2628. }
  2629. .jiantop {
  2630. width: 14rpx;
  2631. height: 24rpx;
  2632. }
  2633. .jiantop1 {
  2634. width: 20rpx;
  2635. height: 14rpx;
  2636. }
  2637. .sdfsaf {
  2638. padding-left: 24rpx;
  2639. padding-right: 24rpx;
  2640. padding-top: 10rpx;
  2641. padding-bottom: 10rpx;
  2642. border-radius: 8rpx;
  2643. font-size: 26rpx;
  2644. }
  2645. .yixingindexclass {
  2646. border-bottom: 3px solid #2671E2;
  2647. }
  2648. .cenisboxdspl {
  2649. width: 94%;
  2650. margin: 0 auto;
  2651. padding-bottom: 24rpx;
  2652. display: flex;
  2653. flex-wrap: wrap;
  2654. .cenisboxdsplview {
  2655. padding-left: 24rpx;
  2656. padding-right: 24rpx;
  2657. padding-top: 10rpx;
  2658. padding-bottom: 10rpx;
  2659. background: #F4F8FD;
  2660. color: #2671E2;
  2661. font-size: 26rpx;
  2662. margin-right: 24rpx;
  2663. margin-top: 24rpx;
  2664. }
  2665. }
  2666. .bounced {
  2667. width: 570rpx;
  2668. background: #FFFFFF;
  2669. z-index: 1000;
  2670. border-radius: 10rpx;
  2671. position: fixed;
  2672. left: 50%;
  2673. top: 50%;
  2674. transform: translate(-50%, -50%);
  2675. .headpade {
  2676. margin-top: 10rpx;
  2677. padding: 8rpx 8rpx 8rpx 8rpx;
  2678. background: #108ee9;
  2679. color: #fff;
  2680. border-radius: 16rpx;
  2681. }
  2682. /* 50%为自身尺寸的一半 */
  2683. .jiajinghuatit {
  2684. width: 100%;
  2685. height: 68rpx;
  2686. font-size: 30rpx;
  2687. text-align: center;
  2688. line-height: 68rpx;
  2689. }
  2690. .jiajinghuaview {
  2691. padding: 18rpx 18rpx 18rpx 18rpx;
  2692. display: flex;
  2693. flex-wrap: wrap;
  2694. .jiajinghuaview1 {
  2695. padding: 8rpx 8rpx 8rpx 8rpx;
  2696. font-size: 26rpx;
  2697. border-radius: 12rpx;
  2698. border: 1px solid #979797;
  2699. margin-left: 8rpx;
  2700. }
  2701. .jighuaview2 {
  2702. padding: 8rpx 18rpx 8rpx 18rpx;
  2703. font-size: 26rpx;
  2704. border-radius: 12rpx;
  2705. border: 1px solid #979797;
  2706. margin-left: 20rpx;
  2707. margin-top: 10rpx;
  2708. display: flex;
  2709. .view1-text {
  2710. text-align: center;
  2711. }
  2712. .view1-img {
  2713. width: 50rpx;
  2714. }
  2715. }
  2716. }
  2717. .bounced3 {
  2718. height: 100rpx;
  2719. width: 100%;
  2720. margin-top: 40rpx;
  2721. border-top: 1px solid #dddddd;
  2722. display: flex;
  2723. }
  2724. .bounced3-1 {
  2725. width: 50%;
  2726. height: 100%;
  2727. text-align: center;
  2728. line-height: 100rpx;
  2729. border-right: 1px solid #dddddd;
  2730. font-size: 36rpx;
  2731. color: #999999;
  2732. }
  2733. .bounced3-2 {
  2734. width: 50%;
  2735. height: 100%;
  2736. text-align: center;
  2737. line-height: 100rpx;
  2738. font-size: 36rpx;
  2739. color: #108ee9;
  2740. }
  2741. }
  2742. .viewclace {
  2743. width: 100rpx;
  2744. height: 40rpx;
  2745. text-align: center;
  2746. line-height: 40rpx;
  2747. border-radius: 14rpx;
  2748. margin-right: 34rpx;
  2749. margin-top: 16rpx;
  2750. font-size: 24rpx;
  2751. background: #eee;
  2752. }
  2753. .bosdttom {
  2754. color: #FFFFFF;
  2755. background-color: #2671E2;
  2756. }
  2757. .dialog-block {
  2758. margin: 20rpx 0;
  2759. border-bottom: 1px solid #ccc;
  2760. .fileName {
  2761. max-width: 200rpx;
  2762. text-align: center;
  2763. margin: 10rpx auto;
  2764. font-size: 28rpx;
  2765. font-weight: 400;
  2766. color: #666;
  2767. height: 52rpx;
  2768. line-height: 52rpx;
  2769. background: #F8F8F8;
  2770. border-radius: 4rpx;
  2771. padding: 0 20rpx;
  2772. }
  2773. }
  2774. .scroll-Y {
  2775. font-size: 36rpx;
  2776. color: #999999;
  2777. background: #FFFFFF;
  2778. margin-top: 30rpx;
  2779. flex: 1;
  2780. overflow-y: scroll;
  2781. width: 100%;
  2782. }
  2783. // 顾问默认在右边显示
  2784. .scroll-Y .text[data-guwen="0"] {
  2785. flex-direction: row-reverse;
  2786. text-align: right;
  2787. .contentInfo {
  2788. .info {
  2789. color: #666;
  2790. font-size: 22rpx;
  2791. padding: 0 28rpx;
  2792. height: 62rpx;
  2793. }
  2794. .contentMain {
  2795. display: flex;
  2796. flex-direction: row-reverse;
  2797. align-items: center;
  2798. .content {
  2799. margin-left: 0;
  2800. margin-right: 30rpx;
  2801. }
  2802. .play {
  2803. width: 50rpx;
  2804. height: 50rpx;
  2805. margin-right: 20rpx;
  2806. }
  2807. }
  2808. }
  2809. }
  2810. .scroll-Y .text[data-guwen="0"] {
  2811. .contentInfo {
  2812. .info {
  2813. .AudioUserName {
  2814. margin-left: 10rpx;
  2815. }
  2816. display: flex;
  2817. flex-direction: row-reverse;
  2818. }
  2819. }
  2820. }
  2821. .scroll-Y .text {
  2822. position: relative;
  2823. margin: 30rpx;
  2824. line-height: 80rpx;
  2825. display: flex;
  2826. .contentInfo {
  2827. .info {
  2828. .AudioUserName {
  2829. margin-right: 10rpx;
  2830. }
  2831. }
  2832. }
  2833. }
  2834. .scroll-Y .text .avatar {
  2835. text {
  2836. display: block;
  2837. width: 72rpx;
  2838. height: 72rpx;
  2839. line-height: 72rpx;
  2840. text-align: center;
  2841. background: #FFFFFF;
  2842. border-radius: 8rpx;
  2843. font-size: 30rpx;
  2844. font-family: PingFangSC-Medium, PingFang SC;
  2845. font-weight: 500;
  2846. box-sizing: border-box;
  2847. }
  2848. image {
  2849. width: 72rpx;
  2850. height: 72rpx;
  2851. }
  2852. }
  2853. .scroll-Y .text .contentInfo .info {
  2854. color: #666;
  2855. font-size: 22rpx;
  2856. padding: 0 28rpx;
  2857. height: 50rpx;
  2858. line-height: 50rpx;
  2859. }
  2860. .scroll-Y .text .contentInfo .contentMain {
  2861. display: flex;
  2862. align-items: center;
  2863. }
  2864. .scroll-Y .text .contentInfo .contentMain .content {
  2865. margin-left: 30rpx;
  2866. line-height: 42rpx;
  2867. text-align: left;
  2868. padding: 15rpx 20rpx;
  2869. border-radius: 8rpx;
  2870. max-width: 442rpx;
  2871. background: #F8F8F8;
  2872. font-size: 30rpx;
  2873. font-family: PingFangSC-Regular, PingFang SC;
  2874. font-weight: 400;
  2875. color: #505050;
  2876. .tankuangcss {
  2877. position: absolute;
  2878. top: -140rpx;
  2879. left: 50%;
  2880. transform: translateX(-50%);
  2881. z-index: 1000;
  2882. min-width: 150rpx;
  2883. height: 140rpx;
  2884. display: flex;
  2885. background: rgba(48, 48, 48, 0.8);
  2886. border-radius: 15rpx;
  2887. .tankuangcss-items {
  2888. width: 150rpx;
  2889. display: flex;
  2890. flex-direction: column;
  2891. justify-content: center;
  2892. align-items: center;
  2893. image {
  2894. width: 36rpx;
  2895. height: 36rpx;
  2896. }
  2897. text {
  2898. margin: 12rpx 0 0 0;
  2899. font-size: 24rpx;
  2900. color: #fff;
  2901. }
  2902. }
  2903. }
  2904. .bottoms {
  2905. top: unset;
  2906. bottom: -140rpx;
  2907. }
  2908. }
  2909. .scroll-Y .text .contentInfo .contentMain .play {
  2910. width: 50rpx;
  2911. height: 50rpx;
  2912. margin-left: 20rpx;
  2913. }
  2914. .backTop {
  2915. width: 60rpx;
  2916. height: 60rpx;
  2917. background: rgba(211, 235, 253, 1);
  2918. box-shadow: 0rpx 0rpx 2rpx 4rpx rgba(38, 161, 255, 0.04);
  2919. border-radius: 50%;
  2920. position: fixed;
  2921. bottom: 200rpx;
  2922. right: 8rpx;
  2923. display: flex;
  2924. justify-content: center;
  2925. align-items: center;
  2926. image {
  2927. width: 26rpx;
  2928. height: 34rpx;
  2929. }
  2930. }
  2931. .jiangshang {
  2932. color: #fff;
  2933. background: #2671E2;
  2934. }
  2935. .jiangshang1 {
  2936. color: #FFFFFF;
  2937. background: #999999;
  2938. }
  2939. // 表单
  2940. .tian-view {
  2941. width: 570rpx;
  2942. background-color: #FFFFFF;
  2943. border-bottom: 1px solid #ededee;
  2944. display: flex;
  2945. min-height: 96rpx;
  2946. .tian-view-t1 {
  2947. width: 20rpx;
  2948. font-size: 34rpx;
  2949. height: 34rpx;
  2950. line-height: 110rpx;
  2951. letter-spacing: 0px;
  2952. color: red;
  2953. }
  2954. .tian-view-t2 {
  2955. width: 30%;
  2956. min-height: 96rpx;
  2957. line-height: 96rpx;
  2958. font-size: 34rpx;
  2959. color: #333;
  2960. }
  2961. .tian-view-t3 {
  2962. width: 61%;
  2963. padding-top: 31rpx;
  2964. padding-bottom: 31rpx;
  2965. display: flex;
  2966. .tian-input {
  2967. width: 98%;
  2968. font-size: 34rpx;
  2969. border: none;
  2970. }
  2971. }
  2972. }
  2973. .inputbox {
  2974. width: 100%;
  2975. height: 100rpx;
  2976. display: flex;
  2977. align-items: center;
  2978. justify-content: center;
  2979. border-bottom: 1px solid #E0E0E0;
  2980. .thisinput {
  2981. width: 94%;
  2982. height: 52rpx;
  2983. background: #FFFFFF;
  2984. border-radius: 8rpx;
  2985. border: 1px solid #C9C9C9;
  2986. color: #333333;
  2987. font-size: 26rpx;
  2988. text-indent: 26rpx;
  2989. line-height: 52rpx;
  2990. }
  2991. }
  2992. .biaoqiantom {
  2993. background-color: #008EF2;
  2994. color: #FFFFFF;
  2995. border: none;
  2996. }
  2997. .Level-box {
  2998. padding-bottom: 2rpx;
  2999. .hhhbox {
  3000. width: 100%;
  3001. padding-left: 30rpx;
  3002. padding-right: 30rpx;
  3003. border-bottom: 1rpx solid #E0E0E0;
  3004. background: #FFFFFF;
  3005. .hsnrtest {
  3006. font-size: 24rpx;
  3007. font-weight: 400;
  3008. color: #666666;
  3009. line-height: 24rpx;
  3010. }
  3011. .Level3che {
  3012. width: 100%;
  3013. height: 28rpx;
  3014. display: flex;
  3015. line-height: 28rpx;
  3016. align-items: center;
  3017. margin-top: 30rpx;
  3018. .title1 {
  3019. flex: 1;
  3020. font-size: 28rpx;
  3021. color: #2671E2;
  3022. font-weight: 400;
  3023. }
  3024. .jiantobox {
  3025. width: 30rpx;
  3026. height: 30rpx;
  3027. display: flex;
  3028. align-items: center;
  3029. .arrow {
  3030. width: 28rpx;
  3031. height: 28rpx;
  3032. }
  3033. }
  3034. }
  3035. }
  3036. .Level2che {
  3037. width: 100%;
  3038. height: 88rpx;
  3039. display: flex;
  3040. line-height: 88rpx;
  3041. align-items: center;
  3042. .title1 {
  3043. flex: 2;
  3044. font-size: 28rpx;
  3045. color: #333333;
  3046. font-weight: 400;
  3047. }
  3048. .leve1-jindu {
  3049. flex: 3;
  3050. display: flex;
  3051. justify-content: center;
  3052. align-items: center;
  3053. .zhixing {
  3054. width: 108rpx;
  3055. height: 44rpx;
  3056. background: #2671E2;
  3057. border-radius: 4rpx;
  3058. font-size: 28rpx;
  3059. text-align: center;
  3060. line-height: 44rpx;
  3061. color: #FFFFFF;
  3062. }
  3063. .zhixing2 {
  3064. width: 108rpx;
  3065. height: 44rpx;
  3066. background: #F8F8F8;
  3067. border-radius: 4rpx;
  3068. font-size: 28rpx;
  3069. text-align: center;
  3070. line-height: 44rpx;
  3071. color: #999999;
  3072. }
  3073. }
  3074. .jiantobox {
  3075. width: 30rpx;
  3076. height: 30rpx;
  3077. display: flex;
  3078. align-items: center;
  3079. .arrow {
  3080. width: 30rpx;
  3081. height: 18rpx;
  3082. }
  3083. }
  3084. }
  3085. .Level1che {
  3086. width: 100%;
  3087. height: 94rpx;
  3088. background: #F5F5F5;
  3089. display: flex;
  3090. line-height: 94rpx;
  3091. align-items: center;
  3092. padding-left: 30rpx;
  3093. padding-right: 30rpx;
  3094. .title1 {
  3095. flex: 2;
  3096. font-size: 30rpx;
  3097. color: #333333;
  3098. font-weight: 400;
  3099. }
  3100. .leve1-jindu {
  3101. flex: 3;
  3102. .jindutiao {
  3103. width: 96%;
  3104. height: 28rpx;
  3105. background: #D5EEE2;
  3106. line-height: 28rpx;
  3107. border-radius: 14rpx;
  3108. position: relative;
  3109. .huanxing {
  3110. height: 100%;
  3111. background: #4FC78F;
  3112. border-radius: 14rpx;
  3113. }
  3114. .text {
  3115. position: absolute;
  3116. top: 0rpx;
  3117. right: 0rpx;
  3118. font-size: 28rpx;
  3119. font-weight: 400;
  3120. color: #333333;
  3121. }
  3122. }
  3123. }
  3124. .jiantobox {
  3125. width: 30rpx;
  3126. height: 30rpx;
  3127. display: flex;
  3128. align-items: center;
  3129. .arrow {
  3130. width: 30rpx;
  3131. height: 18rpx;
  3132. }
  3133. }
  3134. }
  3135. }
  3136. .rotatearrow {
  3137. transform: rotate(270deg);
  3138. }
  3139. .ffectivetext {
  3140. width: 85%;
  3141. margin: 10rpx auto;
  3142. height: 100rpx;
  3143. padding: 20rpx;
  3144. border: 1rpx solid #E4F0FF;
  3145. }
  3146. .scroll-Y .text.active .content {
  3147. color: #2671E2 !important;
  3148. // position: relative;
  3149. }
  3150. .scroll-Y .text.active .info {
  3151. color: #2671E2 !important;
  3152. // position: relative;
  3153. }
  3154. .scroll-Y .text.active[data-speaker] .content,
  3155. .scroll-Y .text.active[data-speaker="2"] .content,
  3156. .scroll-Y .text.active[data-speaker="4"] .content,
  3157. .scroll-Y .text.active[data-speaker="6"] .content {
  3158. color: #2671E2 !important;
  3159. // position: relative;
  3160. }
  3161. /deep/ .u-model-title {
  3162. padding: 34rpx 0 16rpx !important;
  3163. }
  3164. .checkbox {
  3165. margin: 0 10rpx 0 0;
  3166. width: 48rpx;
  3167. height: 48rpx;
  3168. display: flex;
  3169. justify-content: center;
  3170. align-items: center;
  3171. border-radius: 50%;
  3172. border: 1rpx solid #70798D;
  3173. &.select {
  3174. border-color: #008EF2;
  3175. background: #008EF2;
  3176. color: #fff;
  3177. }
  3178. }
  3179. .show-visit-content {
  3180. width: 100%;
  3181. height: 100%;
  3182. display: flex;
  3183. flex-direction: column;
  3184. .visit-title {
  3185. font-size: 32rpx;
  3186. font-weight: bold;
  3187. line-height: 70rpx;
  3188. text-align: center;
  3189. }
  3190. .visit-box {
  3191. flex-grow: 1;
  3192. display: flex;
  3193. flex-direction: column;
  3194. align-items: center;
  3195. .visit-step {
  3196. margin: 20rpx 0 0 0;
  3197. display: flex;
  3198. justify-content: center;
  3199. align-items: center;
  3200. border: 1rpx solid #999;
  3201. .mitems {
  3202. flex-shrink: 0;
  3203. width: 70rpx;
  3204. height: 70rpx;
  3205. background-color: #F2F2F2;
  3206. display: flex;
  3207. align-items: center;
  3208. justify-content: center;
  3209. }
  3210. .input {
  3211. width: 100rpx;
  3212. font-size: 32rpx;
  3213. text-align: center;
  3214. }
  3215. }
  3216. .tips {
  3217. padding: 20rpx 0;
  3218. width: 80%;
  3219. font-size: 26rpx;
  3220. }
  3221. }
  3222. .visit-btns {
  3223. width: 100%;
  3224. height: 88rpx;
  3225. display: flex;
  3226. .btn-item {
  3227. flex-grow: 1;
  3228. height: 100%;
  3229. display: flex;
  3230. align-items: center;
  3231. justify-content: center;
  3232. border: 1rpx solid #999;
  3233. }
  3234. }
  3235. }
  3236. </style>