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.
 
 
 

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