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

details2.vue 80 KiB

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