Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 

2863 рядки
76 KiB

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