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

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