AI销管
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

details2.vue 74 KiB

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