AI销管
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

Receivedetailabout.vue 61 KiB

há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
há 2 anos
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378
  1. <template>
  2. <view class="box">
  3. <view class="headbox">
  4. <!-- 顶部时间 -->
  5. <view class="headboxhead">
  6. <view class="boxhead1">{{datetiem}}</view>
  7. <view class="boxhead2" v-if="permissions.commonly3">
  8. <image v-if="Alladdtodigest==1" @click="tappick()" src="../../../../static/images/pike.png" mode="">
  9. </image>
  10. <image v-if="Alladdtodigest==0" @click="notappick()" src="../../../../static/images/nopike.png"
  11. mode=""></image>
  12. </view>
  13. </view>
  14. <!-- <view class="inputbox" v-if="guanjianciishow">
  15. <view class="thisinput" @click="tosearch()">
  16. 请输入或选择
  17. </view>
  18. </view> -->
  19. <!-- 标记顾问 -->
  20. <view class="headboxbott">
  21. <view class="headovfu">
  22. <u-tabs-swiper ref="tabs" font-size="30" :bold="true" swiper-width="600" :current="roleindex"
  23. @change="tapspagek2()" inactive-color="#b1b1b1" active-color="#008ef2" :list="tablist"
  24. :is-scroll="true">
  25. </u-tabs-swiper>
  26. </view>
  27. <view class="headpade" v-if="permissions.commonly1">
  28. <view class="biaoji" @tap="tagtap()">标记</view>
  29. </view>
  30. </view>
  31. </view>
  32. <scroll-view :scroll-top="scrollTop" lower-threshold='100px' @scrolltolower="ltolower()" upper-threshold='40px'
  33. @scrolltoupper="rolltoupper()" :scroll-into-view="scrollId" scroll-y="true" class="zhuti text scroll-Y">
  34. <!-- 聊天记录-->
  35. <view class="dialog-block" v-for="(dialog,i) in dialogList" :key="i">
  36. <view :id="'dialog'+i" class="fileName">录音文件</view>
  37. <view class="text" :id="'dialog'+csdFileindex+'text'+item.bg"
  38. :class="{active: Math.floor(item.bg/1000) <= playNow && Math.floor(item.ed/1000) > playNow, isGreen: item.isShow == 0 }"
  39. v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker">
  40. <view class="avatar">
  41. <view :style="[SPEAKERSTYLE(item.speaker)]">
  42. <image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix">
  43. </image>
  44. <text v-else>{{ item.speaker | toCapital }}</text>
  45. </view>
  46. </view>
  47. <view class="contentInfo">
  48. <view class="info">
  49. <text class="AudioUserName">{{ item.speaker | toCapital }}</text>
  50. <text>{{conversionTiame(item.bg/1000)}}</text>
  51. </view>
  52. <view class="contentMain">
  53. <view class="content">
  54. <view @longpress.stop="changanxiaoguo(item,index,i)" v-html="item.onebest"></view>
  55. <view class="tankuangcss" :class="{bottoms:index == 0}" v-if="item.isshow">
  56. <view @click="clickcopy()"
  57. style="width: 60rpx;font-size: 24rpx;text-align: center;margin-left: 24rpx;">
  58. 复制
  59. </view>
  60. <view @click="Oftenthewrongword()" v-if="permissions.commonly4"
  61. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">
  62. 常错词
  63. </view>
  64. <view v-if="permissions.commonly3" @click="Addtheessence()"
  65. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">
  66. 加精华
  67. </view>
  68. <!-- 暂时注释掉 -->
  69. <!-- <view @click="clickbofang(dialog.backindex,item)"
  70. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 14rpx;">播放
  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 @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">
  85. <!-- 播放块 -->
  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. <view class="tmmchen" @click="Receivedetailsabouttab('Receivedetailsabout')">
  105. <image src="../../../../static/images/audioinfo2.png" mode=""></image>
  106. <view>接待信息</view>
  107. </view>
  108. </view>
  109. </view>
  110. <!-- 回到顶部 -->
  111. <!-- <view class="backTop" @click="gotoTop">
  112. <image src="/static/images/backTop.png" mode=""></image>
  113. </view> -->
  114. <!-- 标记 -->
  115. <view class="zhezhoa" v-if="biojiisshow" @tap="unmarktap()"></view>
  116. <view class="bounced" v-if="biojiisshow">
  117. <view class="jiajinghuatit">标记为顾问</view>
  118. <view
  119. style="width: 95%;display: flex;flex-wrap: wrap;margin: 0 auto;padding-top: 30rpx;padding-bottom: 30rpx;">
  120. <view class="viewclace" :class="roleindexbiaoji == index ? 'bosdttom' : ''" @click="biaojixuanze(index)"
  121. v-for="(item,index) in tablist.slice(1,tablist.length)" :key="index">
  122. <view>{{item.name}}</view>
  123. </view>
  124. </view>
  125. <view class="bounced3" style="margin-top: 20rpx;">
  126. <view class="bounced3-1" @tap="unmarktap()">取消</view>
  127. <view class="bounced3-2" @tap="Confirmthetag()">确认</view>
  128. </view>
  129. </view>
  130. <!-- 接待详情 -->
  131. <view class="zhezhoa" @click="clenReceivedetailsabout()" v-if="Receivedetailsabout"></view>
  132. <view class="followingpop-up" v-if="Receivedetailsabout">
  133. <view class="guanbibox">
  134. <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../../../static/images/Shutdown.png"
  135. mode=""></image>
  136. <view class="cenisboxtab">
  137. <view class="cenisboxtabview">
  138. <view>接待详情</view>
  139. </view>
  140. </view>
  141. </view>
  142. <view class="cenisbox">
  143. <view
  144. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  145. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待顾问</view>
  146. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.agentName}}</view>
  147. </view>
  148. <view
  149. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  150. <view style="width: 25%;color: #666666;font-size: 26rpx;">意向项目</view>
  151. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.projectName}}</view>
  152. </view>
  153. <view
  154. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  155. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待开始时间</view>
  156. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.staTime}}</view>
  157. </view>
  158. <view
  159. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  160. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待结束时间</view>
  161. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.endTime1}}</view>
  162. </view>
  163. <view
  164. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  165. <view style="width: 25%;color: #666666;font-size: 26rpx;">录音时长</view>
  166. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.mm}}分钟</view>
  167. </view>
  168. </view>
  169. </view>
  170. <!-- 销讲执行 -->
  171. <view class="zhezhoa" @click="clenReceivedetailsabout()" v-if="Pinspeak"></view>
  172. <view class="followingpop-up" v-if="Pinspeak">
  173. <view class="guanbibox">
  174. <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../../../static/images/Shutdown.png"
  175. mode=""></image>
  176. <view class="cenisboxtab">
  177. <view class="cenisboxtabview">
  178. <view>销讲执行</view>
  179. </view>
  180. </view>
  181. </view>
  182. <view class="pingfenbox">
  183. <view :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)">销讲总执行率{{totalRate}}%
  184. </view>
  185. <view v-if="permissions.commonly6" :class="{ activecllasscet: zhixingcenterindex == 1 }"
  186. @click="recordclick(1)">禁忌执行</view>
  187. </view>
  188. <view v-if="zhixingcenterindex == 0" class="cenisbox">
  189. <view
  190. style="width: 100%;height: 80rpx;border-bottom: 1rpx solid #E0E0E0;display: flex;align-items: center;">
  191. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 20rpx;">指标</view>
  192. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 170rpx;">执行率
  193. </view>
  194. </view>
  195. <view class="Level-box" v-for="(item,index) in ratelist" :key="index">
  196. <view class="Level1che" @click="changeshow(item,1)">
  197. <view class="title1">{{item.name.substring(0,8)}}</view>
  198. <view class="leve1-jindu">
  199. <view class="jindutiao">
  200. <view class="huanxing" :style="{width: item.ratepercent/item.rate*100+'%'}"></view>
  201. <view class="text">{{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%</view>
  202. </view>
  203. </view>
  204. <view class="jiantobox">
  205. <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png" mode="" />
  206. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  207. </view>
  208. </view>
  209. <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i">
  210. <view class="Level2che" @click="changeshow2(subitem,1)">
  211. <view class="title1">{{subitem.name.substring(0,8)}}</view>
  212. <view class="leve1-jindu">
  213. <view class="zhixing" v-if="!subitem.selected">已执行</view>
  214. <view class="zhixing2" v-else>未执行</view>
  215. </view>
  216. <view class="jiantobox">
  217. <image v-if="!subitem.show" class="arrow rotatearrow" src="/static/images/down.png"
  218. mode="" />
  219. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  220. </view>
  221. </view>
  222. <view class="hsnrtest" v-if="subitem.show">话术内容</view>
  223. <view class="Level3che" @tap="clickaudeopal(che)" v-if="subitem.show"
  224. v-for="(che,inc) in subitem.children" :key='inc'>
  225. <view class="title1">{{inc+1}}.{{che.name}}</view>
  226. <view class="jiantobox">
  227. <image v-if="che.selected==0" class="arrow" src="/static/images/rate-checked.png"
  228. mode="" />
  229. </view>
  230. </view>
  231. <view v-if="subitem.show" style="width: 100%;height: 30rpx;"></view>
  232. </view>
  233. </view>
  234. </view>
  235. <view v-if="zhixingcenterindex == 1">
  236. <view v-if="prohibitedlist.length!=0" class="title1-12" @click="tapbadge(item)"
  237. v-for="(item,index) in prohibitedlist" :key='index'>{{index+1}}.{{item}}</view>
  238. <view v-if="prohibitedlist.length==0" style="width: 100%;text-align: center;margin-top: 60rpx;">暂无数据
  239. </view>
  240. </view>
  241. </view>
  242. <!-- 客户意向 -->
  243. <view class="zhezhoa" @click="clenReceivedetailsabout()" v-if="intention"></view>
  244. <view class="followingpop-up" v-if="intention">
  245. <view class="guanbibox">
  246. <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../../../static/images/Shutdown.png"
  247. mode=""></image>
  248. <view class="cenisboxtab">
  249. <view class="cenisboxtabview">
  250. <view>客户意向</view>
  251. </view>
  252. </view>
  253. </view>
  254. <view class="pingfenbox">
  255. <view :class="{ activecllasscet: kehuyixiangcenterindex == 0 }" @click="customerofintention(0)">系统分析
  256. </view>
  257. <view :class="{ activecllasscet: kehuyixiangcenterindex == 1 }" @click="customerofintention(1)">人工校准
  258. </view>
  259. </view>
  260. <view v-if="kehuyixiangcenterindex==0" class="cenisbox">
  261. <view style="width: 100%;height: 100%;text-align: center;margin-top: 200rpx;"
  262. v-if="Acquirecustomerintentlist.length==0">
  263. 暂无数据
  264. </view>
  265. <view v-if="Acquirecustomerintentlist.length!=0" class="jianbox"
  266. v-for="(item,index) in Acquirecustomerintentlist" :key='index'>
  267. <view class="jianbox-cen">
  268. <view class="jianboxtext">{{item.name}}</view>
  269. <view class="jianboxjian" @click="Acquishow(index)">
  270. <image v-if="item.isshow==false" class="jiantop" src="/static/images/jiantop.png" mode="">
  271. </image>
  272. <image v-if="item.isshow==true" class="jiantop1" src="/static/images/jianbutton.png"
  273. mode=""></image>
  274. </view>
  275. </view>
  276. <view style="width: 690rpx;margin: 0 auto;display: flex;flex-wrap: wrap;" v-if="item.isshow==true">
  277. <view class="sdfsaf" v-if="chend.showType==0" v-for="(chend,i) in item.children" :key='i'
  278. @click="argece(chend)">
  279. <view class="jiangshang sdfsaf">{{chend.text}}</view>
  280. </view>
  281. <view class="sdfsaf" v-if="chend.showType==1" @click="argece(chend)"
  282. v-for="(chend,i) in item.children" :key='i'>
  283. <view class="jiangshang1 sdfsaf">{{chend.text}}</view>
  284. </view>
  285. </view>
  286. </view>
  287. </view>
  288. <view class="cenisbox" v-if="kehuyixiangcenterindex==1">
  289. <view style="width: 100%;height: 100%;text-align: center;margin-top: 200rpx;"
  290. v-if="Acquirecustomerintentlist2.length==0">
  291. 暂无数据
  292. </view>
  293. <view class="jianbox" v-if="Acquirecustomerintentlist2.length!=0"
  294. v-for="(item,index) in Acquirecustomerintentlist2" :key='index'>
  295. <view class="jianbox-cen">
  296. <view class="jianboxtext">{{item.name}}</view>
  297. <view class="jianboxjian" @click="Acquishow2(index)">
  298. <image v-if="item.isshow==false" class="jiantop" src="/static/images/jiantop.png" mode="">
  299. </image>
  300. <image v-if="item.isshow==true" class="jiantop1" src="/static/images/jianbutton.png"
  301. mode=""></image>
  302. </view>
  303. </view>
  304. <view class="bioqianwayl" v-if="item.isshow==true">
  305. <view class="jiangshang" v-for="(chend,i) in item.children" :key='i' v-if="chend.selected==0">
  306. {{chend.text}}
  307. </view>
  308. </view>
  309. </view>
  310. </view>
  311. <view class="calibration" v-if="permissions.commonly5" @click="tocalibration()">校准</view>
  312. </view>
  313. <!-- 加入常错词 -->
  314. <view class="zhezhoa" v-if="isshow2" @tap="Cancelout"></view>
  315. <u-modal v-model="isshow2" title="添加常错词" :show-cancel-button="true" @cancel="Cancelout" @confirm="Confirmtheexit">
  316. <view class="tian-view">
  317. <viwe class="tian-view-t1"></viwe>
  318. <viwe class="tian-view-t2">常错词:</viwe>
  319. <viwe class="tian-view-t3">
  320. <textarea :auto-height="true" type="text" v-model="thewrongword" :disabled="isNum" class="tian-input" placeholder="请输入" />
  321. </viwe>
  322. </view>
  323. <view class="tian-view" style="margin-bottom: 74rpx;">
  324. <viwe class="tian-view-t1"></viwe>
  325. <viwe class="tian-view-t2">正确词:</viwe>
  326. <viwe class="tian-view-t3">
  327. <input class="tian-input" v-model="reswrongword" type="text" placeholder="请输入" />
  328. </viwe>
  329. </view>
  330. </u-modal>
  331. <!-- <view class="bounced" v-if="isshow2">
  332. <view class="tian-view">
  333. <viwe class="tian-view-t1"></viwe>
  334. <viwe class="tian-view-t2">常错词:</viwe>
  335. <viwe class="tian-view-t3">
  336. <input type="text" v-model="thewrongword" class="tian-input" placeholder="请输入" />
  337. </viwe>
  338. </view>
  339. <view class="tian-view">
  340. <viwe class="tian-view-t1"></viwe>
  341. <viwe class="tian-view-t2">正确词:</viwe>
  342. <viwe class="tian-view-t3">
  343. <input class="tian-input" v-model="reswrongword" type="text" placeholder="请输入" />
  344. </viwe>
  345. </view>
  346. <view class="bounced3">
  347. <view class="bounced3-1" @tap="Cancelout">取消</view>
  348. <view class="bounced3-2" @tap="Confirmtheexit">确认</view>
  349. </view>
  350. </view> -->
  351. <!-- 加精华 -->
  352. <view class="zhezhoa" v-if="isshow3" @tap="Cancelout2"></view>
  353. <view class="bounced" v-if="isshow3">
  354. <view class="jiajinghuatit">加精华</view>
  355. <view style="width: 100%;text-indent: 20rpx;font-size: 28rpx;">选择标签</view>
  356. <view class="jiajinghuaview">
  357. <view class="jighuaview2" v-for="(item,index) in biaoqianlist" :key="index"
  358. :class="biaoqianindex == index ? 'biaoqiantom' : ''">
  359. <view class="view1-text" @click="tapbiaoqianclisck(index)">{{item.name}}</view>
  360. </view>
  361. </view>
  362. <view class="bounced3">
  363. <view class="bounced3-1" @tap="Cancelout2">取消</view>
  364. <view class="bounced3-2" @tap="Confirmtheexit2">确认</view>
  365. </view>
  366. </view>
  367. </view>
  368. </template>
  369. <script>
  370. var app = getApp();
  371. var util = require("../../../../utils/util.js");
  372. var config = require("../../../../config");
  373. import zaudio from '@/components/uniapp-zaudio/zaudio';
  374. export default {
  375. components: {
  376. zaudio
  377. },
  378. data() {
  379. return {
  380. kehuyixiangcenterindex: 0,
  381. Acquirecustomerintentlist2: [],
  382. zhixingcenterindex: 0,
  383. prohibitedlist: [],
  384. guanjianciishow: false,
  385. 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",
  386. scrollTop: 0,
  387. scrollId: "",
  388. roleindex: 0,
  389. biojiisshow: false, //标记显隐
  390. roleindexbiaoji: 0, //标记下标
  391. tablist: [], //标记集合
  392. Receivedetailsabout: false, //接待详情显示隐藏
  393. Pinspeak: false,
  394. intention: false,
  395. yixingindex: 0, //意向,统计切换
  396. customerId: '',
  397. luyinList: [],
  398. recordPath: '', //
  399. datetiem: '',
  400. Alladdtodigest: 0,
  401. textindex: 0, //下拉 转写文件下标
  402. toptextindex: 0, //上拉 转写文件下标
  403. dialogList: [], //录音识别列表
  404. csdFileindex: 0,
  405. speaker: '',
  406. newluyinList: [],
  407. playNow: 0,
  408. ratelist: [],
  409. totalRate: '',
  410. userlistobj: {},
  411. Acquirecustomerintentlist: [],
  412. options1: [],
  413. messagelisy: [],
  414. changanitem: {},
  415. duihuawenjianid: "",
  416. thewrongword: "", //错误词
  417. reswrongword: "", //正确词
  418. // jiaoseshow:true,
  419. isshow2: false,
  420. isshow3: false,
  421. biaoqianid: "",
  422. biaoqianlist: [],
  423. biaoqianindex: 0,
  424. dshfkjsdkksodofydwfkhwdfkjh: 0,
  425. buildingID: '',
  426. // methodsisshow:false,
  427. calibration: 0,
  428. textItself: '',
  429. argtextindex1: 0,
  430. argtextindex2: 0,
  431. permissions: {
  432. commonly1: false,
  433. commonly2: false,
  434. commonly3: false,
  435. commonly4: false,
  436. commonly5: false,
  437. },
  438. ACTION: Symbol('zaudio'), // 唯一值区分每个页面的方法
  439. isPageHide: false, // 是否息屏
  440. duration: '', // 总时长
  441. };
  442. },
  443. computed: {
  444. conversionTiame() {
  445. return (e) => {
  446. return this.getTime(e);
  447. }
  448. },
  449. },
  450. onLoad(options) {
  451. this.customerId = options.customerId;
  452. this.$zaudio.autoPlay = true
  453. //注意: 不同的回调方法, 相同的业务函数方法名, 不会相互影响;
  454. this.$zaudio.on('stop', this.ACTION, () => {
  455. console.log('我是强制暂停或关闭小程序音频浮窗触发的')
  456. })
  457. this.$zaudio.on('seek', this.ACTION, (time) => {
  458. this.sliderChangeComplate(this.TIMEEVENT(time))
  459. })
  460. this.$zaudio.on('playing', this.ACTION, (obj) => {
  461. this.duration = obj.duration
  462. this.TimeUpdate(this.TIMEEVENT(obj.current))
  463. })
  464. this.$zaudio.on('error', this.ACTION, e => {
  465. // this.qeihuanwenjian()
  466. console.log(e, '加载失败')
  467. })
  468. this.$zaudio.on('ended', this.ACTION, e => {
  469. this.$zaudio.stop()
  470. this.init({bg: 0, customerId: this.customerId})
  471. })
  472. uni.$on('Receivedetailabout', info => {
  473. this.init(info)
  474. })
  475. },
  476. onShow() {
  477. //实时渲染当前的播放状态
  478. this.$zaudio.syncRender()
  479. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  480. this.permissions.commonly1 = newmenulist.bjgw;
  481. // this.permissions.commonly2=newmenulist.jdwxbj;
  482. this.permissions.commonly3 = newmenulist.swyxal;
  483. this.permissions.commonly4 = newmenulist.ccc;
  484. this.permissions.commonly5 = newmenulist.xz;
  485. this.permissions.commonly6 = newmenulist.ckwjzx;
  486. //1 标记顾问 bjgw
  487. //1 接待无效标记 jdwxbj
  488. //1 设为优秀案例 swyxal
  489. // 常错词 ccc
  490. // 校准 xz
  491. this.intention = false;
  492. this.kehuyixiangcenterindex = 0;
  493. this.buildingID = uni.getStorageSync('buildingID').id;
  494. var pages = getCurrentPages();
  495. var currPage = pages[pages.length - 1]; //当前页面
  496. var info = currPage.data.info;
  497. if (info) {
  498. info = info;
  499. console.log('1')
  500. } else {
  501. info = {
  502. bg: 0
  503. }
  504. }
  505. !this.isPageHide && this.init(info)
  506. },
  507. onHide() {
  508. this.isPageHide = true
  509. },
  510. // 销毁实例
  511. onUnload() {
  512. //卸载不需要的业务和获取播放状态的业务,提高页面性能
  513. this.$zaudio.off('seek', this.ACTION);
  514. this.$zaudio.off('stop', this.ACTION);
  515. this.$zaudio.off('playing', this.ACTION);
  516. },
  517. methods: {
  518. // 跳转详情
  519. argece(item) {
  520. if (item.selected == 0) {
  521. this.Pinspeak = false
  522. uni.navigateTo({
  523. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  524. .keywordsId + "&type=" + 1 + '&UpDateEvent=Receivedetailabout'
  525. })
  526. }
  527. },
  528. //关键词点击
  529. tapbadge(item) {
  530. //进搜索页面
  531. uni.navigateTo({
  532. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item +
  533. "&skpl=" + "2" + '&UpDateEvent=Receivedetailabout'
  534. })
  535. },
  536. recordclick(i) {
  537. this.zhixingcenterindex = i;
  538. if (i == 0) {
  539. this.getRatelist()
  540. } else {
  541. console.log('999')
  542. this.huoqujinji()
  543. }
  544. },
  545. //获取禁忌
  546. huoqujinji() {
  547. uni.showLoading({
  548. title: '加载中'
  549. });
  550. this.$u.get("/customer/findTabooWordsByCusId", {
  551. cusId: this.customerId
  552. }).then(res => {
  553. if (res.length) {
  554. this.prohibitedlist = res;
  555. }
  556. setTimeout(function() {
  557. uni.hideLoading();
  558. }, 1000);
  559. })
  560. },
  561. guanjiancishifo() {
  562. uni.navigateTo({
  563. url: '/pages/center/Piabodata/Customerportrait/Detailsofthesearch?customerId=' + this
  564. .customerId + '&UpDateEvent=Receivedetailabout'
  565. })
  566. },
  567. tosearch() {
  568. uni.navigateTo({
  569. url: '/pages/center/Piabodata/Customerportrait/Detailsofthesearch?customerId=' + this
  570. .customerId + '&UpDateEvent=Receivedetailabout'
  571. })
  572. },
  573. //标签选择
  574. tapbiaoqianclisck(index) {
  575. console.log(index)
  576. this.biaoqianindex = index;
  577. this.biaoqianid = this.biaoqianlist[index].id
  578. },
  579. //加精华
  580. Addtheessence() {
  581. this.isshow3 = true;
  582. this.biaoqianlist = []
  583. let parames = {
  584. "itemId": this.buildingID
  585. }
  586. this.$u.post("/addtodigest/findAllYi", parames).then(data => {
  587. this.biaoqianlist = data
  588. this.biaoqianlist.unshift({
  589. name: "逼单话术",
  590. id: 0
  591. })
  592. })
  593. // util.getRequestPromise(config.service.findAllYi, {}, false).then(data => {
  594. // this.biaoqianlist = data
  595. // this.biaoqianlist.unshift({
  596. // name: "逼单话术",
  597. // id: 0
  598. // })
  599. // });
  600. },
  601. // 取消加精
  602. Cancelout2() {
  603. this.isshow3 = false;
  604. this.dialogList.forEach(res => {
  605. res.message.forEach(asd => {
  606. asd.isshow = false;
  607. })
  608. })
  609. },
  610. // 确认加精
  611. Confirmtheexit2() {
  612. if (this.biaoqianid) {
  613. this.biaoqianid = this.biaoqianid
  614. } else {
  615. this.biaoqianid = 0
  616. }
  617. this.isshow3 = false;
  618. this.dialogList.forEach(res => {
  619. res.message.forEach(asd => {
  620. asd.isshow = false;
  621. })
  622. })
  623. let objdata = {
  624. "itemId": this.buildingID,
  625. "carId": this.customerId, //客户id
  626. "startTime": this.changanitem.bg, //开始时间
  627. "startFile": this.duihuawenjianid, //对话所在录音文件id
  628. "endTime": this.changanitem.ed, //结束时间
  629. "marketingId": this.biaoqianid, //对应一级父id
  630. "jjTransfer": this.changanitem.onebest, //选中对话
  631. "status": 1
  632. }
  633. uni.request({
  634. url: config.service.addATD,
  635. method: "POST",
  636. header: {
  637. 'content-type': 'application/json',
  638. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  639. },
  640. data: objdata,
  641. success: (data) => {
  642. if (data.data.code == 10000) {
  643. uni.showToast({
  644. title: '加精成功',
  645. duration: 2000
  646. });
  647. } else {
  648. uni.showToast({
  649. title: data.data.message,
  650. duration: 2000
  651. });
  652. }
  653. }
  654. })
  655. },
  656. //确认加入常错词
  657. Confirmtheexit() {
  658. if (this.thewrongword) {
  659. if (this.reswrongword) {
  660. let parames = {
  661. customerId: this.customerId,
  662. cupid: this.luyinList[this.csdFileindex].id,
  663. wrongWord: this.thewrongword, //错误词
  664. correctWord: this.reswrongword, //正确词
  665. translateHtmlContent: this.messagelisy,
  666. }
  667. this.isshow2 = false;
  668. let sas = this.textItself.replace(this.thewrongword, this.reswrongword)
  669. this.dialogList[this.argtextindex1].message[this.argtextindex2].onebest = sas;
  670. this.dialogList.forEach(res => {
  671. res.message.forEach(asd => {
  672. asd.isshow = false;
  673. })
  674. })
  675. this.$u.post("/corpus/addCorrectWord", parames).then(data => {
  676. this.thewrongword = "";
  677. this.reswrongword = "";
  678. })
  679. } else {
  680. uni.showToast({
  681. title: '正确值不能为空',
  682. duration: 2000
  683. });
  684. return
  685. }
  686. } else {
  687. uni.showToast({
  688. title: '错误词不能为空',
  689. duration: 2000
  690. });
  691. return
  692. }
  693. },
  694. //取消加入常错词
  695. Cancelout() {
  696. this.isshow2 = false;
  697. this.dialogList.forEach(res => {
  698. res.message.forEach(asd => {
  699. asd.isshow = false;
  700. })
  701. })
  702. },
  703. //加入长错词
  704. Oftenthewrongword() {
  705. this.reswrongword = "";
  706. this.isshow2 = true;
  707. },
  708. //长按对话
  709. changanxiaoguo(item, index, i) {
  710. this.messagelisy = [];
  711. this.changanitem = {};
  712. this.duihuawenjianid = "",
  713. this.dialogList.forEach(res => {
  714. res.message.forEach(asd => {
  715. asd.isshow = false;
  716. })
  717. })
  718. this.changanitem = item;
  719. this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
  720. this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow;
  721. this.textItself = item.onebest;
  722. let onebest = item.onebest;
  723. this.thewrongword = onebest.replace(/<.*?>/ig, "");
  724. this.messagelisy = this.dialogList[i].message
  725. this.argtextindex1 = i;
  726. this.argtextindex2 = index;
  727. this.$forceUpdate()
  728. },
  729. TimeUpdate(currentTime) {
  730. this.playNow = Number(currentTime)
  731. if (this.dialogList.length == 0) {
  732. return
  733. } else {
  734. const message = this.dialogList[0].message;
  735. if (!message) return
  736. for (let i = 0; i < message.length; i++) {
  737. if ((Math.floor(message[i].bg / 1000) <= this.playNow && this.playNow < Math.floor(message[i].ed /
  738. 1000))) {
  739. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  740. break;
  741. }
  742. if (i < message.length - 1 && Math.floor(message[i].ed / 1000) < this.playNow && this.playNow <
  743. Math.floor(message[i + 1].bg / 1000)) {
  744. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  745. break;
  746. }
  747. }
  748. }
  749. this.$forceUpdate()
  750. },
  751. init(info) {
  752. const parames = {
  753. pageNum: 1,
  754. pageSize: 100,
  755. query: {
  756. customerId: this.customerId
  757. }
  758. }
  759. this.$u.post("/corpus/findByPage", parames).then(res => {
  760. if (res && res.length) {
  761. this.luyinList = res;
  762. this.recordPath = res[0].recordPath;
  763. this.calibration = res[0].calibration;
  764. if (this.calibration == 0) {
  765. this.kehuyixiangcenterindex = 0;
  766. } else {
  767. this.kehuyixiangcenterindex = 1;
  768. }
  769. this.datetiem = res[0].receptionTime;
  770. this.Alladdtodigest = res[0].status;
  771. this.getCorpusAnalysis(info)
  772. if (info.bg == 0) this.zyAudio()
  773. }
  774. })
  775. },
  776. // 获取转义后的对话结果
  777. getCorpusAnalysis(info) {
  778. this.dialogList = [];
  779. this.newluyinList = []
  780. uni.request({
  781. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  782. "&bg=" + info.bg + "&speaker=" + this.roleindex, //仅为示例,并非真实接口地址。并非真实接口地址。
  783. method: "GET",
  784. header: {
  785. 'content-type': 'application/json',
  786. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  787. },
  788. success: (data) => {
  789. this.tablist = [];
  790. let jsonInfo = JSON.parse(data.data.data.audioContent);
  791. for (var i = 0; i <= data.data.data.speakerNum; i++) {
  792. if (i === 0) {
  793. this.tablist.push({
  794. name: '全部'
  795. })
  796. } else {
  797. this.tablist.push({
  798. name: String.fromCharCode(i + 64)
  799. })
  800. }
  801. }
  802. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data.speaker].name +
  803. "顾问";
  804. this.roleindexbiaoji = data.data.data.speaker - 1;
  805. this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1;
  806. this.speaker = data.data.data.speaker;
  807. //上拉标记点
  808. this.textindex = data.data.data.index;
  809. //下拉标记点
  810. this.toptextindex = data.data.data.index;
  811. jsonInfo.forEach(item => {
  812. item.message = JSON.parse(item.onebest)
  813. item.backindex = this.csdFileindex;
  814. if (info.onebest) {
  815. item.message.forEach(che => {
  816. if (che.onebest == info.onebest) {
  817. che.onebest =
  818. `<font style='color: red'>${che.onebest}</font>`;
  819. }
  820. })
  821. }
  822. })
  823. this.newluyinList = jsonInfo;
  824. this.dialogList.push(jsonInfo[this.textindex]);
  825. this.dialogList.forEach(res => {
  826. res.message.forEach(asd => {
  827. asd.isshow = false;
  828. })
  829. })
  830. this.adasdasdasd(Math.floor(info.bg / 1000))
  831. }
  832. })
  833. },
  834. //复制
  835. clickcopy() {
  836. var that = this;
  837. uni.setClipboardData({
  838. data: that.thewrongword,
  839. success: function() {
  840. that.dialogList.forEach(res => {
  841. res.message.forEach(asd => {
  842. asd.isshow = false;
  843. })
  844. })
  845. that.$forceUpdate();
  846. console.log('success');
  847. }
  848. });
  849. },
  850. //长按点击播放
  851. clickbofang(dialog, item) {
  852. this.dialogList.forEach(res => {
  853. res.message.forEach(asd => {
  854. asd.isshow = false;
  855. })
  856. })
  857. this.$forceUpdate()
  858. let platetime = item.bg;
  859. let newtime = item.bg / 1000;
  860. this.dialogList = []
  861. uni.request({
  862. url: config.service.fastForward + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  863. "&bg=" + platetime, //仅为示例,并非真实接口地址。
  864. method: "GET",
  865. header: {
  866. 'content-type': 'application/json',
  867. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  868. },
  869. success: (data) => {
  870. this.textindex = data.data.data.index;
  871. this.toptextindex = data.data.data.index;
  872. this.dialogList.push(this.newluyinList[data.data.data.index])
  873. this.stepPlay(newtime);
  874. }
  875. })
  876. },
  877. // 音频前进回退
  878. sliderChangeComplate(currentTime) {
  879. this.dialogList = []
  880. this.$u.get(config.service.fastForward, {
  881. corpusId: this.luyinList[this.csdFileindex].id,
  882. bg: (currentTime * 1000) || 0
  883. }).then(data => {
  884. this.textindex = data.index;
  885. this.toptextindex = data.index;
  886. if (data.index > this.newluyinList.length) {
  887. this.dialogList.push(this.newluyinList[0])
  888. } else {
  889. this.dialogList.push(this.newluyinList[data.index])
  890. }
  891. })
  892. },
  893. //搜索跳转
  894. adasdasdasd(e) {
  895. this.stepPlay(e)
  896. },
  897. formatTime(num) {
  898. //格式化时间格式
  899. num = num.toFixed(0);
  900. let second = num % 60;
  901. if (second < 10) second = '0' + second;
  902. let min = Math.floor(num / 60);
  903. if (min < 10) min = '0' + min;
  904. return min + ":" + second;
  905. },
  906. //意向统计切换
  907. Intentiontoswitch(i) {
  908. this.yixingindex = i;
  909. if (i == 1) {
  910. this.statistical()
  911. }
  912. },
  913. statistical() {
  914. this.$u.get("/matchKeywords/findCARKeywords", {
  915. customerId: this.customerId
  916. }).then(res => {
  917. res.forEach(item => {
  918. if (item.isInterval == 0) {
  919. item.name = item.name + item.unit + '-' + item.endName + item.unit;
  920. }
  921. })
  922. this.options1 = res;
  923. })
  924. },
  925. //接待详情点击
  926. Receivedetailsabouttab(stringa) {
  927. if (stringa == 'Receivedetailsabout') {
  928. this.gituserlist()
  929. this.Receivedetailsabout = true;
  930. } else if (stringa == 'Pinspeak') {
  931. this.getRatelist()
  932. this.Pinspeak = true;
  933. } else {
  934. if (this.kehuyixiangcenterindex == 0) {
  935. this.Acquirecustomerintent()
  936. } else {
  937. this.Acquirecustomerintent2()
  938. }
  939. this.intention = true;
  940. }
  941. },
  942. //获取用户信息
  943. gituserlist() {
  944. this.$u.get("/matchKeywords/personalReceptionRecord", {
  945. customerId: this.customerId
  946. }).then(res => {
  947. res.endTime1 = res.endTime.substring(0, 19);
  948. this.userlistobj = res;
  949. })
  950. },
  951. Acquishow2(i) {
  952. this.Acquirecustomerintentlist2[i].isshow = !this.Acquirecustomerintentlist2[i].isshow;
  953. },
  954. tocalibration() {
  955. uni.navigateTo({
  956. url: '/pages/mine/calibration?id=' + this.customerId
  957. });
  958. },
  959. customerofintention(i) {
  960. this.kehuyixiangcenterindex = i;
  961. if (i == 0) {
  962. this.Acquirecustomerintent()
  963. } else {
  964. this.Acquirecustomerintent2()
  965. }
  966. },
  967. //获取人工校准意向信息
  968. Acquirecustomerintent2() {
  969. this.Acquirecustomerintentlist2 = [];
  970. this.$u.get("/matchKeywords/findManualCalibration", {
  971. customerId: this.customerId,
  972. type: 1
  973. }).then(res => {
  974. res.forEach(item => {
  975. item.isshow = true;
  976. item.children.forEach(chend => {
  977. if (chend.isInterval == 0) {
  978. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  979. .unit
  980. } else {
  981. chend.text = chend.name
  982. }
  983. })
  984. })
  985. this.Acquirecustomerintentlist2 = res;
  986. })
  987. },
  988. //获取意向信息
  989. Acquirecustomerintent() {
  990. this.$u.get("/matchKeywords/findSystemAnalysis", {
  991. customerId: this.customerId
  992. }).then(res => {
  993. res.forEach(item => {
  994. item.isshow = true;
  995. item.children.forEach(chend => {
  996. if (chend.isInterval == 0) {
  997. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  998. .unit
  999. } else {
  1000. chend.text = chend.name
  1001. }
  1002. })
  1003. })
  1004. this.Acquirecustomerintentlist = res;
  1005. })
  1006. },
  1007. Acquishow(i) {
  1008. this.Acquirecustomerintentlist[i].isshow = !this.Acquirecustomerintentlist[i].isshow;
  1009. },
  1010. Edittag(item, chend, index, i) {
  1011. var selected = '';
  1012. if (chend.selected == 0) {
  1013. selected = 1;
  1014. this.Acquirecustomerintentlist[index].children[i].selected = 1;
  1015. } else {
  1016. selected = 0;
  1017. this.Acquirecustomerintentlist[index].children[i].selected = 0;
  1018. }
  1019. this.$u.post("/matchKeywords/updatePersonalMatchData", {
  1020. carId: this.customerId,
  1021. selected: selected,
  1022. name: chend.name,
  1023. pid: chend.pid,
  1024. level: chend.level,
  1025. endName: chend.endName,
  1026. keywordsId: chend.keywordsId
  1027. }).then(res => {
  1028. })
  1029. },
  1030. //取消接待详情
  1031. clenReceivedetailsabout() {
  1032. this.Receivedetailsabout = false;
  1033. this.Pinspeak = false;
  1034. this.intention = false;
  1035. },
  1036. //标记选择角色
  1037. biaojixuanze(index) {
  1038. this.roleindexbiaoji = index;
  1039. },
  1040. //标记顾问
  1041. tagtap() {
  1042. this.biojiisshow = !this.biojiisshow;
  1043. },
  1044. //取消标记
  1045. unmarktap() {
  1046. this.biojiisshow = false;
  1047. this.roleindexbiaoji = this.dshfkjsdkksodofydwfkhwdfkjh;
  1048. },
  1049. //确认标记
  1050. Confirmthetag() {
  1051. var num = this.roleindexbiaoji + 1;
  1052. uni.request({
  1053. url: config.service.markConsultant + '?id=' + this.luyinList[this.csdFileindex].id +
  1054. "&speaker=" + num + '&customerId=' + this.customerId, //仅为示例,并非真实接口地址。
  1055. method: "GET",
  1056. header: {
  1057. 'content-type': 'application/json',
  1058. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  1059. },
  1060. success: (data) => {
  1061. this.biojiisshow = false;
  1062. this.biaojiyuyi()
  1063. this.fenjiaoseunfo()
  1064. uni.showToast({
  1065. title: '标记成功',
  1066. duration: 2000
  1067. });
  1068. },
  1069. })
  1070. },
  1071. //标记语义词
  1072. biaojiyuyi() {
  1073. let parames = {
  1074. carId: this.customerId
  1075. }
  1076. this.$u.post("/matchKeywords/toMatchKeywords", parames).then(res => {
  1077. console.log(res)
  1078. })
  1079. },
  1080. //标记tab切换
  1081. tapspagek2(index) {
  1082. this.roleindex = index;
  1083. this.newluyinList = [];
  1084. this.fenjiaoseunfo()
  1085. },
  1086. //分角色标记刷新
  1087. //分角色标记刷新
  1088. fenjiaoseunfo() {
  1089. var bgcd = this.playNow * 1000;
  1090. this.newluyinList = [];
  1091. this.dialogList = [];
  1092. let obj = {
  1093. corpusId: this.luyinList[this.csdFileindex].id,
  1094. bg: bgcd,
  1095. speaker: this.roleindex
  1096. }
  1097. this.$u.get(config.service.getCorpusAnal, obj).then((data) => {
  1098. this.tablist = [];
  1099. let jsonInfo = JSON.parse(data.audioContent);
  1100. for (var i = 0; i <= data.speakerNum; i++) {
  1101. if (i === 0) {
  1102. this.tablist.push({
  1103. name: '全部'
  1104. })
  1105. } else {
  1106. this.tablist.push({
  1107. name: String.fromCharCode(i + 64)
  1108. })
  1109. }
  1110. }
  1111. if (data.speaker == null) {
  1112. this.roleindexbiaoji = 0;
  1113. this.dshfkjsdkksodofydwfkhwdfkjh = 0;
  1114. } else {
  1115. this.tablist[data.speaker].name = this.tablist[data.speaker]
  1116. .name + "顾问";
  1117. this.roleindexbiaoji = data.speaker - 1;
  1118. this.dshfkjsdkksodofydwfkhwdfkjh = data.speaker - 1;
  1119. }
  1120. if (this.roleindex > this.tablist.length - 1) {
  1121. this.roleindex = this.tablist.length - 1
  1122. this.fenjiaoseunfo()
  1123. }
  1124. this.speaker = data.speaker;
  1125. //上拉标记点
  1126. this.textindex = data.index;
  1127. //下拉标记点
  1128. this.toptextindex = data.index;
  1129. jsonInfo.forEach(item => {
  1130. item.message = JSON.parse(item.onebest)
  1131. item.backindex = this.csdFileindex
  1132. })
  1133. this.newluyinList = jsonInfo;
  1134. if (this.textindex == null) {
  1135. return
  1136. } else {
  1137. this.dialogList.push(jsonInfo[this.textindex]);
  1138. }
  1139. })
  1140. },
  1141. getTime(time) {
  1142. return util.formatSecond(time)
  1143. },
  1144. //回到顶部
  1145. gotoTop() {
  1146. this.scrollId = null;
  1147. this.$nextTick(() => {
  1148. this.scrollId = "top";
  1149. })
  1150. },
  1151. //评分上下显隐
  1152. changeshow(item, type) {
  1153. item.show = !item.show;
  1154. },
  1155. changeshow2(item, type) {
  1156. item.show = !item.show;
  1157. },
  1158. // 获取评分
  1159. getRatelist() {
  1160. if (this.ratelist.length == 0) {
  1161. uni.showLoading({
  1162. title: '加载中'
  1163. });
  1164. this.$u.get("/customer/findzkMByCusId", {
  1165. cusId: this.customerId
  1166. }).then(res => {
  1167. if (res.length) {
  1168. let level1 = []
  1169. let level2rate = 0
  1170. res.forEach(item => {
  1171. if (item.pid == 0) {
  1172. level1.push({
  1173. id: item.marketingId,
  1174. rate: item.fraction,
  1175. name: item.name,
  1176. sort: item.sort,
  1177. show: false,
  1178. ratepercent: 0,
  1179. children: []
  1180. })
  1181. } else {
  1182. if (item.selected == 0) {
  1183. level2rate += item.fraction
  1184. }
  1185. }
  1186. })
  1187. this.totalRate = level2rate;
  1188. res.forEach(subitem => {
  1189. let subitempid = subitem.pid
  1190. level1.forEach(item => {
  1191. if (subitempid == item.id) {
  1192. if (subitem.selected == 0) {
  1193. item.ratepercent += subitem.fraction
  1194. }
  1195. item.children.push({
  1196. id: subitem.id,
  1197. rate: subitem.fraction,
  1198. selected: subitem.selected,
  1199. name: subitem.name,
  1200. show: false,
  1201. marketingId: subitem.marketingId,
  1202. children: []
  1203. })
  1204. }
  1205. })
  1206. })
  1207. res.forEach(subitem => {
  1208. let subitempid = subitem.pid
  1209. level1.forEach(chen => {
  1210. chen.children.forEach(zxc => {
  1211. if (subitempid == zxc.marketingId) {
  1212. zxc.children.push({
  1213. id: subitem.id,
  1214. rate: subitem.fraction,
  1215. selected: subitem.selected,
  1216. name: subitem.name,
  1217. marketingId: subitem.marketingId,
  1218. })
  1219. }
  1220. })
  1221. })
  1222. })
  1223. level1[0].show = true;
  1224. level1[0].children[0].show = true;
  1225. this.ratelist = level1
  1226. }
  1227. setTimeout(function() {
  1228. uni.hideLoading();
  1229. }, 1000);
  1230. })
  1231. }
  1232. },
  1233. //评分点击
  1234. clickaudeopal(item) {
  1235. if (item.selected == 0) {
  1236. this.Pinspeak = false
  1237. uni.navigateTo({
  1238. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  1239. .marketingId + '&type=0' + '&UpDateEvent=Receivedetailabout'
  1240. })
  1241. }
  1242. },
  1243. //下一页
  1244. ltolower() {
  1245. var lengthcz = this.newluyinList.length - 1;
  1246. if (this.textindex >= lengthcz) {
  1247. uni.showToast({
  1248. title: '到底了',
  1249. icon: 'none',
  1250. duration: 2000
  1251. });
  1252. return
  1253. } else {
  1254. this.textindex = this.textindex + 1;
  1255. this.newluyinList[this.textindex].message.forEach(item => {
  1256. this.dialogList[0].message.push(item)
  1257. })
  1258. }
  1259. console.log("下一页", this.textindex)
  1260. },
  1261. //上一页
  1262. rolltoupper() {
  1263. if (this.toptextindex == 0) {
  1264. return
  1265. } else {
  1266. if (this.dialogList[0] == undefined) {
  1267. return
  1268. } else {
  1269. this.toptextindex = this.toptextindex - 1;
  1270. let reverselist = this.newluyinList[this.toptextindex].message;
  1271. let runlist = reverselist.reverse();
  1272. runlist.forEach(item => {
  1273. this.dialogList[0].message.unshift(item)
  1274. })
  1275. }
  1276. }
  1277. console.log("上一页", this.toptextindex)
  1278. },
  1279. // 取消全部加精
  1280. notappick() {
  1281. var that = this;
  1282. uni.showModal({
  1283. title: '提示',
  1284. content: '确认取消加精?',
  1285. success: function(res) {
  1286. if (res.confirm) {
  1287. console.log('用户点击确定');
  1288. uni.request({
  1289. url: config.service.delATD + "?carId=" + that.customerId + '&itemId=' +
  1290. that.buildingID,
  1291. method: "GET",
  1292. header: {
  1293. 'content-type': 'application/json',
  1294. 'Authorization': 'Bearer ' + uni.getStorageSync(
  1295. 'weapp_session_login_data').token
  1296. },
  1297. success: (data) => {
  1298. if (data.data.code == 10000) {
  1299. that.Alladdtodigest = 1
  1300. uni.showToast({
  1301. title: '取消成功',
  1302. duration: 2000
  1303. });
  1304. } else {
  1305. uni.showToast({
  1306. title: data.data.message,
  1307. duration: 2000
  1308. });
  1309. }
  1310. }
  1311. })
  1312. } else if (res.cancel) {
  1313. console.log('用户点击取消');
  1314. }
  1315. }
  1316. });
  1317. },
  1318. //全部加精
  1319. tappick() {
  1320. var that = this;
  1321. uni.showModal({
  1322. title: '提示',
  1323. content: '确认加精?',
  1324. success: function(res) {
  1325. if (res.confirm) {
  1326. console.log('用户点击确定');
  1327. let objdata = {
  1328. "carId": that.customerId, //客户id
  1329. "status": 0,
  1330. "itemId": that.buildingID,
  1331. }
  1332. uni.request({
  1333. url: config.service.addATD,
  1334. method: "POST",
  1335. header: {
  1336. 'content-type': 'application/json',
  1337. 'Authorization': 'Bearer ' + uni.getStorageSync(
  1338. 'weapp_session_login_data').token
  1339. },
  1340. data: objdata,
  1341. success: (data) => {
  1342. if (data.data.code == 10000) {
  1343. that.Alladdtodigest = 0
  1344. uni.showToast({
  1345. title: '加精成功',
  1346. duration: 2000
  1347. });
  1348. } else {
  1349. uni.showToast({
  1350. title: data.data.message,
  1351. duration: 2000
  1352. });
  1353. }
  1354. }
  1355. })
  1356. } else if (res.cancel) {
  1357. console.log('用户点击取消');
  1358. }
  1359. }
  1360. });
  1361. },
  1362. //录音实例
  1363. zyAudio() {
  1364. let data = [{
  1365. src: this.recordPath,
  1366. title: '录音音频',
  1367. singer: '',
  1368. coverImgUrl: ''
  1369. }]
  1370. this.$zaudio.setAudio(data)
  1371. //渲染第一首音频
  1372. this.$zaudio.setRender(0)
  1373. setTimeout(() => {
  1374. this.$zaudio.operate()
  1375. }, 150)
  1376. },
  1377. // 跳转指定位置播放
  1378. stepPlay(t) {
  1379. this.$zaudio.seek(t)
  1380. if (this.$zaudio.paused) {
  1381. this.$zaudio.operate()
  1382. }
  1383. }
  1384. }
  1385. };
  1386. </script>
  1387. <style lang="scss" scoped>
  1388. .box {
  1389. width: 100%;
  1390. height: 100vh;
  1391. display: flex;
  1392. flex-direction: column;
  1393. .pingfenbox {
  1394. width: 100%;
  1395. height: 60rpx;
  1396. line-height: 60rpx;
  1397. border-bottom: 1px solid #E0E0E0;
  1398. display: flex;
  1399. }
  1400. .pingfenbox view {
  1401. flex: 1;
  1402. text-align: center;
  1403. font-size: 28rpx;
  1404. text-indent: 20rpx;
  1405. }
  1406. .activecllasscet {
  1407. background: #2671E2;
  1408. color: #FFFFFF;
  1409. }
  1410. .title1-12 {
  1411. font-size: 28rpx;
  1412. color: #2671E2;
  1413. font-weight: 400;
  1414. text-indent: 30rpx;
  1415. margin-top: 18rpx;
  1416. }
  1417. .headbox {
  1418. width: 100%;
  1419. min-height: 173rpx;
  1420. border-bottom: 1px solid #E0E0E0;
  1421. }
  1422. .zhuti {
  1423. flex: 1;
  1424. overflow: auto;
  1425. }
  1426. .bottombox {
  1427. width: 100%;
  1428. height: 170rpx;
  1429. border-top: 1px solid #E0E0E0;
  1430. .bottomhead {
  1431. width: 100%;
  1432. height: 81rpx;
  1433. border-bottom: 1px solid #E0E0E0;
  1434. display: flex;
  1435. justify-content: space-between;
  1436. align-items: center;
  1437. .audio-slider {
  1438. width: 87%;
  1439. display: flex;
  1440. justify-content: space-between;
  1441. align-items: center;
  1442. padding-right: 30rpx;
  1443. }
  1444. .audio-slider .slider {
  1445. width: 100%;
  1446. padding: 0px 15rpx;
  1447. box-sizing: border-box;
  1448. }
  1449. .audio-time {
  1450. width: 110rpx;
  1451. text-align: right;
  1452. font-size: 26rpx;
  1453. line-height: 28rpx;
  1454. color: #70798D;
  1455. display: flex;
  1456. justify-content: space-between;
  1457. }
  1458. .audio-play {
  1459. width: 48rpx;
  1460. height: 48rpx;
  1461. flex-shrink: 0;
  1462. }
  1463. .audio-play .image {
  1464. width: 100%;
  1465. height: 100%;
  1466. margin-left: 30rpx;
  1467. }
  1468. }
  1469. .botbotmm {
  1470. width: 100%;
  1471. height: 88rpx;
  1472. display: flex;
  1473. align-items: center;
  1474. }
  1475. }
  1476. }
  1477. .headboxhead {
  1478. width: 100%;
  1479. height: 84rpx;
  1480. border-bottom: 1px solid #E0E0E0;
  1481. display: flex;
  1482. .boxhead1 {
  1483. width: 50%;
  1484. color: #303030;
  1485. height: 84rpx;
  1486. line-height: 84rpx;
  1487. font-size: 28rpx;
  1488. text-indent: 30rpx;
  1489. }
  1490. .boxhead2 {
  1491. width: 46%;
  1492. height: 84rpx;
  1493. text-align: right;
  1494. }
  1495. }
  1496. .boxhead2 image {
  1497. width: 36rpx;
  1498. height: 36rpx;
  1499. margin-top: 24rpx;
  1500. }
  1501. .headboxbott {
  1502. width: 100%;
  1503. height: 88rpx;
  1504. display: flex;
  1505. align-items: center;
  1506. .headovfu {
  1507. flex: 1;
  1508. height: 88rpx;
  1509. overflow: hidden;
  1510. }
  1511. .headpade {
  1512. width: 160rpx;
  1513. height: 60rpx;
  1514. display: flex;
  1515. justify-content: center;
  1516. align-items: center;
  1517. border-left: 1px solid #D6D6D6;
  1518. .biaoji {
  1519. width: 100rpx;
  1520. height: 48rpx;
  1521. background: #E6625B;
  1522. border-radius: 24rpx;
  1523. text-align: center;
  1524. line-height: 48rpx;
  1525. color: #FFFFFF;
  1526. font-size: 26rpx;
  1527. }
  1528. }
  1529. }
  1530. .fill {
  1531. width: 2rpx;
  1532. height: 41rpx;
  1533. background: #E0E0E0;
  1534. }
  1535. .tmmchen {
  1536. width: 25%;
  1537. height: 88rpx;
  1538. text-align: center;
  1539. color: #666666;
  1540. font-size: 18rpx;
  1541. }
  1542. .tmmchen image {
  1543. width: 40rpx;
  1544. height: 40rpx;
  1545. margin-top: 10rpx;
  1546. margin-bottom: 2rpx;
  1547. }
  1548. .zhezhoa {
  1549. position: fixed;
  1550. top: 0;
  1551. left: 0;
  1552. z-index: 999;
  1553. width: 100%;
  1554. height: 100vh;
  1555. opacity: 0.5;
  1556. background-color: #666666;
  1557. }
  1558. .followingpop-up {
  1559. width: 100%;
  1560. height: 75vh;
  1561. background: #FFFFFF;
  1562. position: fixed;
  1563. background: #FFFFFF;
  1564. left: 0px;
  1565. bottom: 0px;
  1566. z-index: 1000;
  1567. display: flex;
  1568. flex-direction: column;
  1569. // position: relative;
  1570. .calibration {
  1571. width: 90rpx;
  1572. height: 90rpx;
  1573. background: #2671E2;
  1574. text-align: center;
  1575. line-height: 90rpx;
  1576. border-radius: 50%;
  1577. color: #FFFFFF;
  1578. position: absolute;
  1579. right: 30rpx;
  1580. bottom: 100rpx;
  1581. }
  1582. .guanbibox {
  1583. width: 100%;
  1584. padding-bottom: 20rpx;
  1585. margin-top: 20rpx;
  1586. border-bottom: 1px solid #E0E0E0;
  1587. position: relative;
  1588. .guanbixen {
  1589. width: 30rpx;
  1590. height: 30rpx;
  1591. position: absolute;
  1592. right: 30rpx;
  1593. top: 6rpx;
  1594. }
  1595. .cenisboxtab {
  1596. width: 100%;
  1597. display: flex;
  1598. .cenisboxtabview {
  1599. flex: 1;
  1600. display: flex;
  1601. align-items: center;
  1602. justify-content: center;
  1603. color: #333333;
  1604. font-size: 30rpx;
  1605. font-weight: 600;
  1606. }
  1607. }
  1608. }
  1609. .cenisbox {
  1610. flex: 1;
  1611. overflow: auto;
  1612. .jianbox {
  1613. width: 100%;
  1614. border-bottom: 1px solid #E0E0E0;
  1615. padding-top: 24rpx;
  1616. padding-bottom: 24rpx;
  1617. .jianbox-cen {
  1618. width: 100%;
  1619. height: 78rpx;
  1620. // border-bottom: 1px solid #E0E0E0;
  1621. display: flex;
  1622. .jianboxtext {
  1623. flex: 1;
  1624. height: 100%;
  1625. font-size: 30rpx;
  1626. font-weight: 600;
  1627. line-height: 78rpx;
  1628. color: #333333;
  1629. text-indent: 30rpx;
  1630. }
  1631. .jianboxjian {
  1632. width: 80rpx;
  1633. height: 100%;
  1634. line-height: 78rpx;
  1635. text-align: center;
  1636. }
  1637. }
  1638. .bioqianwayl {
  1639. width: 690rpx;
  1640. margin: 0 auto;
  1641. display: flex;
  1642. flex-wrap: wrap;
  1643. }
  1644. .bioqianwayl view {
  1645. padding-left: 24rpx;
  1646. padding-right: 24rpx;
  1647. padding-top: 10rpx;
  1648. padding-bottom: 10rpx;
  1649. margin-right: 24rpx;
  1650. margin-top: 20rpx;
  1651. border-radius: 8rpx;
  1652. font-size: 26rpx;
  1653. }
  1654. }
  1655. }
  1656. }
  1657. .jiantop {
  1658. width: 14rpx;
  1659. height: 24rpx;
  1660. }
  1661. .jiantop1 {
  1662. width: 20rpx;
  1663. height: 14rpx;
  1664. }
  1665. .sdfsaf {
  1666. padding-left: 24rpx;
  1667. padding-right: 24rpx;
  1668. padding-top: 10rpx;
  1669. padding-bottom: 10rpx;
  1670. border-radius: 8rpx;
  1671. font-size: 26rpx;
  1672. }
  1673. .yixingindexclass {
  1674. border-bottom: 3px solid #2671E2;
  1675. }
  1676. .cenisboxdspl {
  1677. width: 94%;
  1678. margin: 0 auto;
  1679. padding-bottom: 24rpx;
  1680. display: flex;
  1681. flex-wrap: wrap;
  1682. .cenisboxdsplview {
  1683. padding-left: 24rpx;
  1684. padding-right: 24rpx;
  1685. padding-top: 10rpx;
  1686. padding-bottom: 10rpx;
  1687. background: #F4F8FD;
  1688. color: #2671E2;
  1689. font-size: 26rpx;
  1690. margin-right: 24rpx;
  1691. margin-top: 24rpx;
  1692. }
  1693. }
  1694. .bounced {
  1695. width: 570rpx;
  1696. background: #FFFFFF;
  1697. z-index: 1000;
  1698. border-radius: 10rpx;
  1699. position: fixed;
  1700. left: 50%;
  1701. top: 50%;
  1702. transform: translate(-50%, -50%);
  1703. /* 50%为自身尺寸的一半 */
  1704. .jiajinghuatit {
  1705. width: 100%;
  1706. height: 68rpx;
  1707. font-size: 30rpx;
  1708. text-align: center;
  1709. line-height: 68rpx;
  1710. }
  1711. .jiajinghuaview {
  1712. padding: 18rpx 18rpx 18rpx 18rpx;
  1713. display: flex;
  1714. flex-wrap: wrap;
  1715. .jiajinghuaview1 {
  1716. padding: 8rpx 8rpx 8rpx 8rpx;
  1717. font-size: 26rpx;
  1718. border-radius: 12rpx;
  1719. border: 1px solid #979797;
  1720. margin-left: 8rpx;
  1721. }
  1722. .jighuaview2 {
  1723. padding: 8rpx 18rpx 8rpx 18rpx;
  1724. font-size: 26rpx;
  1725. border-radius: 12rpx;
  1726. border: 1px solid #979797;
  1727. margin-left: 20rpx;
  1728. margin-top: 10rpx;
  1729. display: flex;
  1730. .view1-text {
  1731. text-align: center;
  1732. }
  1733. .view1-img {
  1734. width: 50rpx;
  1735. }
  1736. }
  1737. }
  1738. .bounced3 {
  1739. height: 100rpx;
  1740. width: 100%;
  1741. margin-top: 40rpx;
  1742. border-top: 1px solid #dddddd;
  1743. display: flex;
  1744. }
  1745. .bounced3-1 {
  1746. width: 50%;
  1747. height: 100%;
  1748. text-align: center;
  1749. line-height: 100rpx;
  1750. border-right: 1px solid #dddddd;
  1751. font-size: 36rpx;
  1752. color: #999999;
  1753. }
  1754. .bounced3-2 {
  1755. width: 50%;
  1756. height: 100%;
  1757. text-align: center;
  1758. line-height: 100rpx;
  1759. font-size: 36rpx;
  1760. color: #108ee9;
  1761. }
  1762. }
  1763. .viewclace {
  1764. width: 100rpx;
  1765. height: 40rpx;
  1766. text-align: center;
  1767. line-height: 40rpx;
  1768. border-radius: 14rpx;
  1769. margin-right: 34rpx;
  1770. margin-top: 16rpx;
  1771. font-size: 24rpx;
  1772. }
  1773. .bosdttom {
  1774. color: #FFFFFF;
  1775. background-color: #2671E2;
  1776. }
  1777. .dialog-block {
  1778. margin: 20rpx 0;
  1779. border-bottom: 1px solid #ccc;
  1780. .fileName {
  1781. text-align: center;
  1782. margin: 10rpx auto;
  1783. width: 115rpx;
  1784. height: 42rpx;
  1785. line-height: 42rpx;
  1786. background: #EFEFEF;
  1787. border-radius: 4rpx;
  1788. font-size: 20rpx;
  1789. font-weight: 400;
  1790. color: #333333;
  1791. }
  1792. }
  1793. .scroll-Y {
  1794. font-size: 36rpx;
  1795. color: #999999;
  1796. background: #FFFFFF;
  1797. margin-top: 30rpx;
  1798. flex: 1;
  1799. overflow-y: scroll;
  1800. width: 100%;
  1801. }
  1802. .scroll-Y .text {
  1803. margin: 50rpx 30rpx;
  1804. line-height: 80rpx;
  1805. display: flex;
  1806. align-items: center;
  1807. }
  1808. .scroll-Y .text[data-speaker="2"],
  1809. .scroll-Y .text[data-speaker="4"],
  1810. .scroll-Y .text[data-speaker="6"] {
  1811. flex-direction: row-reverse;
  1812. text-align: right;
  1813. .contentInfo {
  1814. .info {
  1815. color: #ccc;
  1816. font-size: 18rpx;
  1817. font-size: 30rpx;
  1818. padding: 0 28rpx;
  1819. display: flex;
  1820. flex-direction: row-reverse;
  1821. .AudioUserName {
  1822. margin-left: 10rpx;
  1823. }
  1824. }
  1825. .contentMain {
  1826. display: flex;
  1827. flex-direction: row-reverse;
  1828. align-items: center;
  1829. .content {
  1830. margin-left: 0;
  1831. margin-right: 30rpx;
  1832. }
  1833. .play {
  1834. width: 50rpx;
  1835. height: 50rpx;
  1836. margin-right: 20rpx;
  1837. }
  1838. }
  1839. }
  1840. }
  1841. .scroll-Y .text .avatar {
  1842. margin-top: 80rpx;
  1843. width: 64rpx;
  1844. height: 64rpx;
  1845. line-height: 64rpx;
  1846. text-align: center;
  1847. // border: 1rpx solid red;
  1848. font-size: 36rpx;
  1849. border-radius: 50%;
  1850. background: #F2F2F2;
  1851. color: #008EF2;
  1852. // display: flex;
  1853. // justify-content: center;
  1854. // align-items: center;
  1855. image {
  1856. width: 40rpx;
  1857. }
  1858. }
  1859. .scroll-Y .text .content {
  1860. margin-left: 30rpx;
  1861. line-height: 60rpx;
  1862. text-align: left;
  1863. padding: 0 5px;
  1864. border-radius: 8rpx;
  1865. max-width: 442rpx;
  1866. position: relative;
  1867. .tankuangcss {
  1868. position: absolute;
  1869. top: -140rpx;
  1870. left: -120rpx;
  1871. width: 308rpx;
  1872. height: 130rpx;
  1873. background-color: #333333;
  1874. font-size: 24rpx;
  1875. color: #FFFFFF;
  1876. padding-top: 4rpx;
  1877. padding-bottom: 4rpx;
  1878. display: flex;
  1879. flex-wrap: wrap;
  1880. border-radius: 15rpx;
  1881. z-index: 1000;
  1882. }
  1883. }
  1884. .scroll-Y .text.active .content {
  1885. color: #FF7538 !important;
  1886. position: relative;
  1887. }
  1888. .scroll-Y .text.active[data-speaker="2"] .content,
  1889. .scroll-Y .text.active[data-speaker="4"] .content,
  1890. .scroll-Y .text.active[data-speaker="6"] .content {
  1891. color: #FF7538 !important;
  1892. position: relative;
  1893. }
  1894. .scroll-Y .text {
  1895. .contentInfo {
  1896. .info {
  1897. .AudioUserName {
  1898. margin-right: 10rpx;
  1899. }
  1900. }
  1901. }
  1902. }
  1903. .scroll-Y .text .avatar {
  1904. width: 64rpx;
  1905. height: 64rpx;
  1906. line-height: 64rpx;
  1907. text-align: center;
  1908. font-size: 36rpx;
  1909. border-radius: 50%;
  1910. background: #F2F2F2;
  1911. color: #008EF2;
  1912. image {
  1913. width: 40rpx;
  1914. }
  1915. }
  1916. .scroll-Y .text .contentInfo .info {
  1917. color: #ccc;
  1918. font-size: 18rpx;
  1919. font-size: 30rpx;
  1920. padding: 0 28rpx;
  1921. }
  1922. .scroll-Y .text .contentInfo .contentMain {
  1923. display: flex;
  1924. align-items: center;
  1925. }
  1926. .scroll-Y .text .contentInfo .contentMain .content {
  1927. margin-left: 30rpx;
  1928. line-height: 60rpx;
  1929. text-align: left;
  1930. padding: 0 5px;
  1931. border-radius: 8rpx;
  1932. max-width: 442rpx;
  1933. background: #F6F6F6;
  1934. color: #999999;
  1935. position: relative;
  1936. .tankuangcss {
  1937. position: absolute;
  1938. top: -140rpx;
  1939. left: -120rpx;
  1940. width: 308rpx;
  1941. height: 130rpx;
  1942. background-color: #333333;
  1943. font-size: 24rpx;
  1944. color: #FFFFFF;
  1945. padding-top: 4rpx;
  1946. padding-bottom: 4rpx;
  1947. display: flex;
  1948. flex-wrap: wrap;
  1949. border-radius: 15rpx;
  1950. z-index: 1000;
  1951. }
  1952. .bottoms {
  1953. top: unset;
  1954. bottom: -140rpx;
  1955. }
  1956. }
  1957. .scroll-Y .text .contentInfo .contentMain .play {
  1958. width: 50rpx;
  1959. height: 50rpx;
  1960. margin-left: 20rpx;
  1961. }
  1962. .backTop {
  1963. width: 60rpx;
  1964. height: 60rpx;
  1965. background: rgba(211, 235, 253, 1);
  1966. box-shadow: 0rpx 0rpx 2rpx 4rpx rgba(38, 161, 255, 0.04);
  1967. border-radius: 50%;
  1968. position: fixed;
  1969. bottom: 200rpx;
  1970. right: 8rpx;
  1971. display: flex;
  1972. justify-content: center;
  1973. align-items: center;
  1974. image {
  1975. width: 26rpx;
  1976. height: 34rpx;
  1977. }
  1978. }
  1979. .jiangshang {
  1980. color: #2671E2;
  1981. background: #F4F8FD;
  1982. }
  1983. .jiangshang1 {
  1984. color: #FFFFFF;
  1985. background: #999999;
  1986. }
  1987. // 表单
  1988. .tian-view {
  1989. width: 570rpx;
  1990. background-color: #FFFFFF;
  1991. border-bottom: 1px solid #ededee;
  1992. display: flex;
  1993. min-height: 96rpx;
  1994. .tian-view-t1 {
  1995. width: 20rpx;
  1996. font-size: 34rpx;
  1997. height: 34rpx;
  1998. line-height: 110rpx;
  1999. letter-spacing: 0px;
  2000. color: red;
  2001. }
  2002. .tian-view-t2 {
  2003. width: 30%;
  2004. min-height: 96rpx;
  2005. line-height: 96rpx;
  2006. font-size: 34rpx;
  2007. color: #333;
  2008. }
  2009. .tian-view-t3 {
  2010. width: 61%;
  2011. padding-top: 31rpx;
  2012. padding-bottom: 31rpx;
  2013. display: flex;
  2014. .tian-input {
  2015. width: 98%;
  2016. font-size: 34rpx;
  2017. border: none;
  2018. }
  2019. }
  2020. }
  2021. .inputbox {
  2022. width: 100%;
  2023. height: 100rpx;
  2024. display: flex;
  2025. align-items: center;
  2026. justify-content: center;
  2027. border-bottom: 1px solid #E0E0E0;
  2028. .thisinput {
  2029. width: 94%;
  2030. height: 52rpx;
  2031. background: #FFFFFF;
  2032. border-radius: 8rpx;
  2033. border: 1px solid #C9C9C9;
  2034. color: #333333;
  2035. font-size: 26rpx;
  2036. text-indent: 26rpx;
  2037. line-height: 52rpx;
  2038. }
  2039. }
  2040. .biaoqiantom {
  2041. background-color: #008EF2;
  2042. color: #FFFFFF;
  2043. border: none;
  2044. }
  2045. .Level-box {
  2046. padding-bottom: 2rpx;
  2047. .hhhbox {
  2048. width: 100%;
  2049. padding-left: 30rpx;
  2050. padding-right: 30rpx;
  2051. border-bottom: 1rpx solid #E0E0E0;
  2052. background: #FFFFFF;
  2053. // padding-bottom: 32rpx;
  2054. .hsnrtest {
  2055. height: 24rpx;
  2056. font-size: 24rpx;
  2057. font-weight: 400;
  2058. color: #666666;
  2059. line-height: 24rpx;
  2060. }
  2061. .Level3che {
  2062. width: 100%;
  2063. height: 28rpx;
  2064. display: flex;
  2065. line-height: 28rpx;
  2066. align-items: center;
  2067. margin-top: 30rpx;
  2068. .title1 {
  2069. flex: 1;
  2070. font-size: 28rpx;
  2071. color: #2671E2;
  2072. font-weight: 400;
  2073. }
  2074. .jiantobox {
  2075. width: 30rpx;
  2076. height: 30rpx;
  2077. display: flex;
  2078. align-items: center;
  2079. .arrow {
  2080. width: 28rpx;
  2081. height: 28rpx;
  2082. }
  2083. }
  2084. }
  2085. }
  2086. .Level2che {
  2087. width: 100%;
  2088. height: 88rpx;
  2089. display: flex;
  2090. line-height: 88rpx;
  2091. align-items: center;
  2092. .title1 {
  2093. flex: 2;
  2094. font-size: 28rpx;
  2095. color: #333333;
  2096. font-weight: 400;
  2097. }
  2098. .leve1-jindu {
  2099. flex: 3;
  2100. display: flex;
  2101. justify-content: center;
  2102. align-items: center;
  2103. .zhixing {
  2104. width: 108rpx;
  2105. height: 44rpx;
  2106. background: #2671E2;
  2107. border-radius: 4rpx;
  2108. font-size: 28rpx;
  2109. text-align: center;
  2110. line-height: 44rpx;
  2111. color: #FFFFFF;
  2112. }
  2113. .zhixing2 {
  2114. width: 108rpx;
  2115. height: 44rpx;
  2116. background: #F8F8F8;
  2117. border-radius: 4rpx;
  2118. font-size: 28rpx;
  2119. text-align: center;
  2120. line-height: 44rpx;
  2121. color: #999999;
  2122. }
  2123. }
  2124. .jiantobox {
  2125. width: 30rpx;
  2126. height: 30rpx;
  2127. display: flex;
  2128. align-items: center;
  2129. .arrow {
  2130. width: 30rpx;
  2131. height: 18rpx;
  2132. }
  2133. }
  2134. }
  2135. .Level1che {
  2136. width: 100%;
  2137. height: 94rpx;
  2138. background: #F5F5F5;
  2139. display: flex;
  2140. line-height: 94rpx;
  2141. align-items: center;
  2142. padding-left: 30rpx;
  2143. padding-right: 30rpx;
  2144. .title1 {
  2145. flex: 2;
  2146. font-size: 30rpx;
  2147. color: #333333;
  2148. font-weight: 400;
  2149. }
  2150. .leve1-jindu {
  2151. flex: 3;
  2152. .jindutiao {
  2153. width: 96%;
  2154. height: 28rpx;
  2155. background: #D5EEE2;
  2156. line-height: 28rpx;
  2157. border-radius: 14rpx;
  2158. position: relative;
  2159. .huanxing {
  2160. height: 100%;
  2161. background: #4FC78F;
  2162. border-radius: 14rpx;
  2163. }
  2164. .text {
  2165. position: absolute;
  2166. top: 0rpx;
  2167. right: 0rpx;
  2168. font-size: 28rpx;
  2169. font-weight: 400;
  2170. color: #333333;
  2171. }
  2172. }
  2173. }
  2174. .jiantobox {
  2175. width: 30rpx;
  2176. height: 30rpx;
  2177. display: flex;
  2178. align-items: center;
  2179. .arrow {
  2180. width: 30rpx;
  2181. height: 18rpx;
  2182. }
  2183. }
  2184. }
  2185. }
  2186. .rotatearrow {
  2187. transform: rotate(270deg);
  2188. }
  2189. .scroll-Y .isGreen .contentInfo .contentMain .content {
  2190. background: #2BC805 !important;
  2191. color: #FFFFFF;
  2192. }
  2193. /deep/ .u-model-title{
  2194. padding: 34rpx 0 16rpx !important;
  2195. }
  2196. </style>