25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

details2.vue 70 KiB

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