選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

details2.vue 71 KiB

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