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

details2.vue 65 KiB

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