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.
 
 
 

3044 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. if(!this.flag){
  800. this.flag = true
  801. uni.request({
  802. url: config.service.addWordMining,
  803. method: "post",
  804. header: {
  805. 'content-type': 'application/json',
  806. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  807. },
  808. data: {
  809. "houseId": this.buildingID, // 楼盘id
  810. "cusId": this.customerId, //客户id
  811. "question": this.thewrongword, // 问题
  812. "keywordsId": this.wordBiao.wordBiaoqianId, // 标签id
  813. "level": this.wordBiao.level // 标签等级
  814. },
  815. success: (res) => {
  816. // console.log(res)
  817. this.flag = false;
  818. if (res.data.code == 10000) {
  819. uni.showToast({
  820. title: '添加成功',
  821. icon: 'none',
  822. duration: 2000
  823. });
  824. this.wajueshow = false
  825. } else {
  826. uni.showToast({
  827. title: res.data.message,
  828. icon: 'none',
  829. duration: 2000
  830. });
  831. this.wajueshow = false
  832. }
  833. }
  834. })
  835. }
  836. },
  837. // 挖掘话术分类树的选择
  838. confirmTree(e) {
  839. // console.log(e)
  840. if (e[1].label == '--') {
  841. this.wordBiao.wordBiaoqian = e[0].label
  842. this.wordBiao.wordBiaoqianId = e[0].value
  843. this.wordBiao.level = 1
  844. } else {
  845. this.wordBiao.wordBiaoqian = e[0].label + '/' + e[1].label
  846. this.wordBiao.wordBiaoqianId = e[1].value
  847. this.wordBiao.level = 2
  848. }
  849. // console.log(this.wordBiao.wordBiaoqian)
  850. },
  851. CancelAdd() {
  852. this.wajueshow = false
  853. this.wajueItem.isshow = false
  854. this.wordBiao.wordBiaoqian = ''
  855. },
  856. // 选中取反
  857. cbChange(item) {
  858. item.checked = !item.checked
  859. this.$forceUpdate()
  860. },
  861. // 隐藏长按提示框
  862. cancelBeast() {
  863. this.dialogList.forEach(res => {
  864. res.message.forEach(asd => {
  865. asd.isshow = false;
  866. })
  867. })
  868. },
  869. // 重置选择加精的内容
  870. cancelAllAdd() {
  871. console.log('chufa')
  872. this.dialogList.forEach(item => {
  873. if (item.message && item.message.length > 0) {
  874. item.message.forEach(items => {
  875. items.checked = false
  876. })
  877. }
  878. })
  879. this.refined = false
  880. // this.$forceUpdate()
  881. },
  882. hangeshow2(item, type) {
  883. item.show = !item.show;
  884. },
  885. eqLogClick() {
  886. uni.navigateTo({
  887. url: `./equipmentLog?id=${this.customerId}`
  888. })
  889. },
  890. rolexuanze(index) {
  891. this.roleindexrow = index;
  892. },
  893. Modifyrole(dialog, item) {
  894. this.roleisshaw = true;
  895. this.roletiaoshu = dialog;
  896. this.roleindexrow = this.dialogList[this.csdFileindex].message[this.roletiaoshu].speaker - 1;
  897. },
  898. roletab() {
  899. // let itso=this.dialogList[this.csdFileindex].message[this.roletiaoshu];
  900. let itso = Object.assign({}, this.dialogList[this.csdFileindex].message[this.roletiaoshu]);
  901. itso.onebest = itso.onebest.replace(/<.*?>/ig, "");
  902. this.$u.post("/corpus/updateRole", {
  903. corpusId: this.luyinList[this.csdFileindex].id,
  904. transferContent: [itso],
  905. speaker: this.roleindexrow + 1,
  906. customerId: this.customerId
  907. }).then(res => {
  908. this.dialogList[this.csdFileindex].message[this.roletiaoshu].speaker = this.roleindexrow + 1
  909. this.roleisshaw = false;
  910. this.cancelBeast()
  911. uni.showToast({
  912. title: '修改成功',
  913. duration: 2000
  914. });
  915. })
  916. },
  917. argece(item) {
  918. console.log(item)
  919. if (item.selected == 0) {
  920. console.log(item)
  921. this.Pinspeak = false
  922. uni.navigateTo({
  923. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  924. .keywordsId + "&type=" + 1 + '&UpDateEvent=DETAILS2INIT'
  925. })
  926. }
  927. },
  928. //关键词点击
  929. tapbadge(item) {
  930. this.Pinspeak = false
  931. //进搜索页面
  932. uni.navigateTo({
  933. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item +
  934. "&skpl=" + "2" + '&UpDateEvent=DETAILS2INIT'
  935. })
  936. },
  937. recordclick(i) {
  938. this.zhixingcenterindex = i;
  939. if (i == 0) {
  940. this.getRatelist()
  941. } else if (i == 1) {
  942. this.huoqujinji()
  943. } else {
  944. this.getfindKeyWordsBycusId()
  945. }
  946. },
  947. //获取禁忌
  948. huoqujinji() {
  949. uni.showLoading({
  950. title: '加载中'
  951. });
  952. this.$u.get("/customer/findTabooWordsByCusId", {
  953. cusId: this.customerId
  954. }).then(res => {
  955. if (res.length) {
  956. this.prohibitedlist = res;
  957. }
  958. setTimeout(function() {
  959. uni.hideLoading();
  960. }, 1000);
  961. })
  962. },
  963. //评分点击
  964. clickaudeopal(item) {
  965. if (item.selected == 0 && item.viewFlag != 1) {
  966. // console.log(item)
  967. this.Pinspeak = false
  968. uni.navigateTo({
  969. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  970. .marketingId + "&type=" + 0 + '&UpDateEvent=DETAILS2INIT'
  971. })
  972. }
  973. },
  974. //获取用户信息
  975. gituserlist() {
  976. this.$u.get("/matchKeywords/personalReceptionRecord", {
  977. customerId: this.customerId
  978. }).then(res => {
  979. res.endTime1 = res.endTime.substring(0, 19);
  980. this.userlistobj = res;
  981. })
  982. },
  983. Acquishow2(i) {
  984. this.Acquirecustomerintentlist2[i].isshow = !this.Acquirecustomerintentlist2[i].isshow;
  985. },
  986. tocalibration() {
  987. uni.navigateTo({
  988. url: '/pages/mine/calibration?id=' + this.customerId
  989. });
  990. },
  991. customerofintention(i) {
  992. this.kehuyixiangcenterindex = i;
  993. if (i == 0) {
  994. this.Acquirecustomerintent()
  995. } else {
  996. this.Acquirecustomerintent2()
  997. }
  998. },
  999. //获取人工校准意向信息
  1000. Acquirecustomerintent2() {
  1001. this.Acquirecustomerintentlist2 = [];
  1002. this.$u.get("/matchKeywords/findManualCalibration", {
  1003. customerId: this.customerId,
  1004. type: 1
  1005. }).then(res => {
  1006. res.forEach(item => {
  1007. item.isshow = true;
  1008. item.children.forEach(chend => {
  1009. if (chend.isInterval == 0) {
  1010. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  1011. .unit
  1012. } else {
  1013. chend.text = chend.name
  1014. }
  1015. })
  1016. })
  1017. this.Acquirecustomerintentlist2 = res;
  1018. })
  1019. },
  1020. //获取系统意向信息
  1021. Acquirecustomerintent() {
  1022. this.Acquirecustomerintentlist = [];
  1023. this.$u.get("/matchKeywords/findSystemAnalysis", {
  1024. customerId: this.customerId
  1025. }).then(res => {
  1026. res.forEach(item => {
  1027. item.isshow = true;
  1028. item.children.forEach(chend => {
  1029. if (chend.isInterval == 0) {
  1030. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  1031. .unit
  1032. } else {
  1033. chend.text = chend.name
  1034. }
  1035. })
  1036. })
  1037. this.Acquirecustomerintentlist = res;
  1038. })
  1039. },
  1040. Acquishow(i) {
  1041. this.Acquirecustomerintentlist[i].isshow = !this.Acquirecustomerintentlist[i].isshow;
  1042. },
  1043. Edittag(item, chend, index, i) {
  1044. var selected = '';
  1045. if (chend.selected == 0) {
  1046. selected = 1;
  1047. this.Acquirecustomerintentlist[index].children[i].selected = 1;
  1048. } else {
  1049. selected = 0;
  1050. this.Acquirecustomerintentlist[index].children[i].selected = 0;
  1051. }
  1052. this.$u.post("/matchKeywords/updatePersonalMatchData", {
  1053. carId: this.customerId,
  1054. selected: selected,
  1055. name: chend.name,
  1056. pid: chend.pid,
  1057. level: chend.level,
  1058. endName: chend.endName,
  1059. keywordsId: chend.keywordsId
  1060. }).then(res => {
  1061. })
  1062. },
  1063. //取消接待详情
  1064. clenReceivedetailsabout() {
  1065. this.Receivedetailsabout = false;
  1066. this.Pinspeak = false;
  1067. this.intention = false;
  1068. this.Thetapeidisshow = false;
  1069. },
  1070. //意向统计切换
  1071. Intentiontoswitch(i) {
  1072. this.yixingindex = i;
  1073. if (i == 1) {
  1074. this.statistical()
  1075. }
  1076. },
  1077. statistical() {
  1078. this.$u.get("/matchKeywords/findCARKeywords", {
  1079. customerId: this.customerId
  1080. }).then(res => {
  1081. res.forEach(item => {
  1082. if (item.isInterval == 0) {
  1083. item.name = item.name + item.unit + '-' + item.endName + item.unit;
  1084. }
  1085. })
  1086. this.options1 = res;
  1087. })
  1088. },
  1089. Receivetap() {
  1090. this.Receivedetailsabout = true;
  1091. },
  1092. //标记
  1093. alllogo() {
  1094. var that = this;
  1095. let msg = '';
  1096. if (this.userlistobj.validInvalid != 0) {
  1097. msg = '是否标记为"有效录音"?';
  1098. uni.showModal({
  1099. title: '提示',
  1100. content: msg,
  1101. success: function(res) {
  1102. that.isBand = true
  1103. if (that.noClick) {
  1104. that.noClick = false;
  1105. if (res.confirm) {
  1106. let parames = {
  1107. id: that.customerId,
  1108. validInvalid: '',
  1109. invalidReason: 0
  1110. }
  1111. if (that.userlistobj.validInvalid == 0) {
  1112. parames.validInvalid = 1;
  1113. } else {
  1114. parames.validInvalid = 0;
  1115. }
  1116. that.$u.post("/customer/updateValidInvalid", parames).then(res => {
  1117. console.log(res)
  1118. that.isBand = false
  1119. that.Thetapeidisshow = false;
  1120. }).catch(e => {
  1121. that.isBand = false
  1122. })
  1123. }
  1124. setTimeout(() => {
  1125. that.noClick = true;
  1126. }, 2000)
  1127. } else {
  1128. // 这里是重复点击的判断
  1129. }
  1130. }
  1131. });
  1132. } else {
  1133. this.effective = true;
  1134. }
  1135. },
  1136. effectiveAdd() {
  1137. if (this.effectiveindex == 4) {
  1138. if (this.effectiveitext.length == 0) {
  1139. uni.showToast({
  1140. title: '备注不能为空',
  1141. icon: "none",
  1142. duration: 2000
  1143. });
  1144. return
  1145. }
  1146. }
  1147. this.effective = false;
  1148. this.isBand = true
  1149. let parames = {
  1150. id: this.customerId,
  1151. validInvalid: '',
  1152. validInvalid: 1,
  1153. invalidReason: Number(this.effectiveindex) + 1,
  1154. invalidNote: this.effectiveitext
  1155. }
  1156. this.$u.post("/customer/updateValidInvalid", parames).then(res => {
  1157. console.log(res)
  1158. this.Thetapeidisshow = false;
  1159. }).catch(e => {
  1160. this.isBand = false
  1161. })
  1162. },
  1163. radioChange(evt) {
  1164. this.effectiveitext = "";
  1165. for (let i = 0; i < this.effectiveitems.length; i++) {
  1166. if (this.effectiveitems[i].value === evt.detail.value) {
  1167. this.effectiveindex = i;
  1168. break;
  1169. }
  1170. }
  1171. },
  1172. //接待详情点击
  1173. Receivedetailsabouttab(stringa) {
  1174. if (stringa == 'Receivedetailsabout') {
  1175. this.Thetapeidisshow = !this.Thetapeidisshow;
  1176. this.gituserlist()
  1177. } else if (stringa == 'Pinspeak') {
  1178. this.getRatelist()
  1179. this.getfindKeyWordsBycusId()
  1180. this.Pinspeak = true;
  1181. } else {
  1182. if (this.kehuyixiangcenterindex == 0) {
  1183. this.Acquirecustomerintent()
  1184. } else {
  1185. this.Acquirecustomerintent2()
  1186. }
  1187. this.intention = true;
  1188. }
  1189. },
  1190. guanjiancishifo() {
  1191. // this.guanjianciishow=!this.guanjianciishow;
  1192. this.stateisshow = 1;
  1193. uni.navigateTo({
  1194. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  1195. "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT'
  1196. })
  1197. },
  1198. // 添加角色
  1199. addRole() {
  1200. this.tablist.push({
  1201. name: String.fromCharCode(this.tablist.length + 64),
  1202. select: false
  1203. })
  1204. },
  1205. //标记选择角色
  1206. biaojixuanze(index) {
  1207. this.roleindexbiaoji = index;
  1208. },
  1209. //标记顾问
  1210. tagtap() {
  1211. this.biojiisshow = !this.biojiisshow;
  1212. },
  1213. //取消标记
  1214. unmarktap() {
  1215. this.biojiisshow = false;
  1216. this.roleindexbiaoji = this.dshfkjsdkksodofydwfkhwdfkjh;
  1217. this.roleisshaw = false
  1218. this.cancelBeast()
  1219. },
  1220. //确认标记
  1221. Confirmthetag() {
  1222. var num = this.roleindexbiaoji + 1;
  1223. uni.request({
  1224. url: config.service.markConsultant + '?id=' + this.luyinList[this.csdFileindex].id +
  1225. "&speaker=" + num + '&customerId=' + this.customerId, //仅为示例,并非真实接口地址。
  1226. method: "GET",
  1227. header: {
  1228. 'content-type': 'application/json',
  1229. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1230. },
  1231. success: (data) => {
  1232. this.biojiisshow = false;
  1233. this.biaojiyuyi()
  1234. this.fenjiaoseunfo('refresh')
  1235. uni.showToast({
  1236. title: '标记成功',
  1237. duration: 2000
  1238. });
  1239. },
  1240. })
  1241. },
  1242. //标记语义词
  1243. biaojiyuyi() {
  1244. let parames = {
  1245. carId: this.customerId
  1246. }
  1247. this.$u.post("/matchKeywords/toMatchKeywords", parames).then(res => {
  1248. console.log(res)
  1249. })
  1250. },
  1251. //分角色
  1252. tapspagek(data, index) {
  1253. if (index == 0) this.resetTabList();
  1254. else this.resetAll();
  1255. data.select = !data.select
  1256. this.roleSelectArr = []
  1257. if (index != 0) {
  1258. this.tablist.forEach(item => {
  1259. if (item.select) {
  1260. this.roleSelectArr.push(item.speaker)
  1261. }
  1262. })
  1263. } else {
  1264. this.roleSelectArr.push(0)
  1265. }
  1266. this.fenjiaoseunfo()
  1267. },
  1268. // 选中全部时互斥全部选项与角色选项
  1269. resetTabList() {
  1270. this.tablist.forEach(item => {
  1271. item.select = false
  1272. })
  1273. },
  1274. // 选中角色时将全部反选
  1275. resetAll() {
  1276. this.tablist[0].select = false
  1277. },
  1278. // 生成角色列表
  1279. creatTabList(num) {
  1280. for (var i = 0; i <= num; i++) {
  1281. if (i === 0) {
  1282. this.tablist.push({
  1283. name: '全部',
  1284. select: false,
  1285. speaker: i
  1286. })
  1287. } else {
  1288. this.tablist.push({
  1289. name: String.fromCharCode(i + 64),
  1290. select: false,
  1291. speaker: i
  1292. })
  1293. }
  1294. }
  1295. },
  1296. // 获取flag
  1297. getVoFlagValue() {
  1298. return this.roleSelectArr.findIndex(item => item == 0) == -1 ? 1 : 0
  1299. },
  1300. //分角色标记刷新
  1301. fenjiaoseunfo(type) {
  1302. this.newluyinList = [];
  1303. this.dialogList = [];
  1304. let str =
  1305. `?corpusId=${this.luyinList[this.csdFileindex].id}&bg=${this.playNow * 1000}&speaker=0&voFlag=${this.getVoFlagValue()}&num=50`
  1306. if (this.roleSelectArr.findIndex(item => item == 0) == -1) {
  1307. str += `&speakerStr=${this.roleSelectArr.join(',')}`
  1308. }
  1309. uni.request({
  1310. url: `${config.service.getCorpusAnal}${str}`,
  1311. method: "GET",
  1312. header: {
  1313. 'content-type': 'application/json',
  1314. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1315. },
  1316. success: (data) => {
  1317. let res = data.data.data
  1318. let jsonInfo = JSON.parse(res.audioContent);
  1319. //上拉标记点
  1320. this.textindex = res.index;
  1321. //下拉标记点
  1322. this.toptextindex = res.index;
  1323. jsonInfo.forEach(item => {
  1324. item.message = JSON.parse(item.onebest)
  1325. item.backindex = this.csdFileindex
  1326. item.message.forEach(info => {
  1327. info.checked = false
  1328. })
  1329. })
  1330. // 当页面标记重新刷新时
  1331. if (type == 'refresh') {
  1332. this.tablist = []
  1333. this.roleSelectArr = [0]
  1334. this.creatTabList(res.speakerNum)
  1335. this.tablist[0].select = true
  1336. this.tablist[res.speaker].name = this.tablist[res.speaker].name + "顾问";
  1337. }
  1338. this.newluyinList = jsonInfo;
  1339. if (this.textindex == null) {
  1340. return
  1341. } else {
  1342. this.dialogList.push(jsonInfo[this.textindex]);
  1343. }
  1344. }
  1345. })
  1346. },
  1347. // 关键词搜索
  1348. toKeywordsearch() {
  1349. this.stateisshow = 1;
  1350. uni.navigateTo({
  1351. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  1352. "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT'
  1353. })
  1354. },
  1355. // 播放器当前播放时间变化
  1356. TimeUpdate(currentTime) {
  1357. this.playNow = Math.ceil(currentTime)
  1358. if (this.dialogList.length == 0) {
  1359. return
  1360. } else {
  1361. const message = this.dialogList[0].message;
  1362. if (!message) return
  1363. for (let i = 0; i < message.length; i++) {
  1364. if (Math.floor(message[i].bg / 1000) <= this.playNow && this.playNow < Math.floor(message[i].ed /
  1365. 1000)) {
  1366. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  1367. break;
  1368. }
  1369. if (i < message.length - 1 && Math.floor(message[i].ed / 1000) < this.playNow && this.playNow <
  1370. Math.floor(message[i + 1].bg / 1000)) {
  1371. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  1372. break;
  1373. }
  1374. }
  1375. }
  1376. this.$forceUpdate()
  1377. },
  1378. init(info) {
  1379. this.sliderMax = 0; //进度条最大值
  1380. this.timeStr = "00:00"; //总的时间
  1381. const parames = {
  1382. pageNum: 1,
  1383. pageSize: 100,
  1384. query: {
  1385. customerId: this.customerId
  1386. }
  1387. }
  1388. this.$u.post("/corpus/findByPage", parames).then(res => {
  1389. if (res && res.length) {
  1390. let alltime = 1 + res[0].recordDuration;
  1391. this.calibration = res[0].calibration;
  1392. if (this.calibration == 0) {
  1393. this.kehuyixiangcenterindex = 0;
  1394. } else {
  1395. this.kehuyixiangcenterindex = 1;
  1396. }
  1397. this.alltimeStr = this.getTime(alltime)
  1398. if (info.bg != 0) {
  1399. this.luyinList = res;
  1400. this.recordPath = res[0].recordPath
  1401. this.date = res[0].receptionTime;
  1402. this.getCorpusAnalysis(info);
  1403. } else {
  1404. this.luyinList = res;
  1405. this.recordPath = res[0].recordPath
  1406. this.date = res[0].receptionTime;
  1407. this.getCorpusAnalysis(info);
  1408. this.zyAudio()
  1409. }
  1410. }
  1411. })
  1412. },
  1413. //搜索跳转
  1414. adasdasdasd(e) {
  1415. this.stepPlay(e)
  1416. },
  1417. //下一页
  1418. ltolower() {
  1419. var lengthcz = this.newluyinList.length - 1;
  1420. if (this.textindex >= lengthcz) {
  1421. uni.showToast({
  1422. title: '到底了',
  1423. duration: 2000
  1424. });
  1425. return
  1426. } else {
  1427. this.textindex = this.textindex + 1;
  1428. this.newluyinList[this.textindex].message.forEach(item => {
  1429. this.dialogList[0].message.push(item)
  1430. })
  1431. }
  1432. console.log("下一页", this.textindex)
  1433. },
  1434. //上一页
  1435. rolltoupper() {
  1436. if (this.toptextindex == 0) {
  1437. // uni.showToast({
  1438. // title: '到头了',
  1439. // duration: 2000
  1440. // });
  1441. return
  1442. } else {
  1443. if (this.dialogList[0] == undefined) {
  1444. return
  1445. } else {
  1446. this.toptextindex = this.toptextindex - 1;
  1447. let reverselist = this.newluyinList[this.toptextindex].message;
  1448. let runlist = reverselist.reverse();
  1449. runlist.forEach(item => {
  1450. this.dialogList[0].message.unshift(item)
  1451. })
  1452. }
  1453. }
  1454. },
  1455. // 取消全部加精
  1456. notappick() {
  1457. var that = this;
  1458. uni.showModal({
  1459. title: '提示',
  1460. content: '确认取消加精?',
  1461. success: function(res) {
  1462. if (res.confirm) {
  1463. console.log('用户点击确定');
  1464. uni.request({
  1465. url: config.service.delATD + "?carId=" + that.customerId + '&itemId=' +
  1466. that.buildingID,
  1467. method: "GET",
  1468. header: {
  1469. 'content-type': 'application/json',
  1470. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  1471. .token
  1472. },
  1473. success: (data) => {
  1474. if (data.data.code == 10000) {
  1475. that.status = 1
  1476. uni.showToast({
  1477. title: '取消成功',
  1478. duration: 2000
  1479. });
  1480. } else {
  1481. uni.showToast({
  1482. title: data.data.message,
  1483. duration: 2000
  1484. });
  1485. }
  1486. }
  1487. })
  1488. } else if (res.cancel) {
  1489. console.log('用户点击取消');
  1490. }
  1491. }
  1492. });
  1493. },
  1494. //全部加精
  1495. tappick(i) {
  1496. var that = this;
  1497. uni.showModal({
  1498. title: '提示',
  1499. content: '确认加精?',
  1500. success: function(res) {
  1501. if (res.confirm) {
  1502. console.log('用户点击确定');
  1503. let objdata = {
  1504. "carId": that.customerId, //客户id
  1505. "status": 0,
  1506. "itemId": that.buildingID,
  1507. }
  1508. uni.request({
  1509. url: config.service.addATD,
  1510. method: "POST",
  1511. header: {
  1512. 'content-type': 'application/json',
  1513. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  1514. .token
  1515. },
  1516. data: objdata,
  1517. success: (data) => {
  1518. if (data.data.code == 10000) {
  1519. that.status = 0
  1520. uni.showToast({
  1521. title: '加精成功',
  1522. duration: 2000
  1523. });
  1524. } else {
  1525. uni.showToast({
  1526. title: data.data.message,
  1527. duration: 2000
  1528. });
  1529. }
  1530. }
  1531. })
  1532. } else if (res.cancel) {
  1533. console.log('用户点击取消');
  1534. }
  1535. }
  1536. });
  1537. },
  1538. //标签选择
  1539. tapbiaoqianclisck(index) {
  1540. this.biaoqianindex = index;
  1541. this.biaoqianid = this.biaoqianlist[index].id
  1542. },
  1543. //复制
  1544. clickcopy() {
  1545. var that = this;
  1546. uni.setClipboardData({
  1547. data: that.thewrongword,
  1548. success: () => {
  1549. this.cancelBeast()
  1550. this.$forceUpdate();
  1551. console.log('success');
  1552. }
  1553. });
  1554. },
  1555. //确认加入常错词
  1556. Confirmtheexit() {
  1557. if (this.reswrongword.length > 8 || this.thewrongword.length > 8) {
  1558. this.$refs.uToast.show({
  1559. title: '正确词错误词不能超过8个字',
  1560. type: 'warning',
  1561. })
  1562. this.isshow2 = true;
  1563. } else {
  1564. let reg = /^[0-9]+$/
  1565. if (reg.test(this.thewrongword)) {
  1566. this.$refs.uToast.show({
  1567. title: '错误词不能为纯数字',
  1568. type: 'warning',
  1569. })
  1570. this.isshow2 = true;
  1571. } else {
  1572. if (this.thewrongword) {
  1573. if (this.reswrongword) {
  1574. let parames = {
  1575. customerId: this.customerId,
  1576. cupid: this.luyinList[this.csdFileindex].id,
  1577. wrongWord: this.thewrongword, //错误词
  1578. correctWord: this.reswrongword, //正确词
  1579. translateHtmlContent: this.messagelisy,
  1580. id: uni.getStorageSync('buildingID').id
  1581. }
  1582. this.isshow2 = false;
  1583. let sas = this.textItself.replace(this.thewrongword, this.reswrongword)
  1584. this.dialogList[this.argtextindex1].message[this.argtextindex2].onebest = sas
  1585. this.cancelBeast()
  1586. this.$u.post("/corpus/addCorrectWord", parames).then(data => {
  1587. this.thewrongword = "";
  1588. this.reswrongword = "";
  1589. })
  1590. } else {
  1591. this.$refs.uToast.show({
  1592. title: '正确值不能为空',
  1593. type: 'warning',
  1594. })
  1595. this.isshow2 = true;
  1596. return
  1597. }
  1598. } else {
  1599. this.$refs.uToast.show({
  1600. title: '错误词不能为空',
  1601. type: 'warning',
  1602. })
  1603. this.isshow2 = true;
  1604. return
  1605. }
  1606. }
  1607. }
  1608. },
  1609. //取消加入常错词
  1610. Cancelout() {
  1611. this.isshow2 = false;
  1612. this.cancelBeast()
  1613. },
  1614. //加入长错词
  1615. Oftenthewrongword() {
  1616. this.reswrongword = "";
  1617. this.isshow2 = true;
  1618. },
  1619. //加入挖掘话术
  1620. openwajue(item) {
  1621. this.wajueItem = item
  1622. this.wajueshow = true;
  1623. item.isshow = false
  1624. },
  1625. //加精华
  1626. Addtheessence() {
  1627. this.refined = true
  1628. this.cancelBeast()
  1629. },
  1630. // 确认批量加精
  1631. sureRefinement() {
  1632. this.isshow3 = true;
  1633. this.biaoqianlist = []
  1634. let parames = {
  1635. "itemId": this.buildingID
  1636. }
  1637. this.$u.post("/addtodigest/findAllYi", parames).then(data => {
  1638. this.biaoqianlist = data
  1639. this.biaoqianlist.unshift({
  1640. name: "逼单话术",
  1641. id: 0
  1642. })
  1643. })
  1644. },
  1645. // 取消加精
  1646. Cancelout2() {
  1647. this.isshow3 = false;
  1648. this.cancelBeast()
  1649. },
  1650. // 确认加精
  1651. Confirmtheexit2() {
  1652. let objdata = {
  1653. itemId: this.buildingID,
  1654. carId: this.customerId, //客户id
  1655. startFile: this.duihuawenjianid, //对话所在录音文件id
  1656. marketingId: this.biaoqianid || 0, //对应一级父id
  1657. status: 1,
  1658. toDigestList: [], // 加精多选的内容
  1659. // jjTransfer: this.changanitem.onebest, //选中对话
  1660. // endTime: this.changanitem.ed, //结束时间
  1661. // startTime: this.changanitem.bg, //开始时间
  1662. }
  1663. // 将数据筛选出来并排序并且翻转数据让后端获取第一条加精的数据在分点加精的学习列表使用
  1664. this.dialogList.forEach(items => {
  1665. if (items.message && items.message.length > 0) {
  1666. items.message.forEach(item => {
  1667. if (item.checked) {
  1668. objdata.toDigestList.push({
  1669. jjTransfer: item.onebest,
  1670. startTime: item.bg,
  1671. endTime: item.ed,
  1672. })
  1673. }
  1674. })
  1675. }
  1676. })
  1677. objdata.toDigestList.sort((a, b) => {
  1678. return Number(a.startTime) - Number(b.startTime)
  1679. }).reverse()
  1680. this.isshow3 = false;
  1681. this.$u.post(config.service.addATD, objdata).then(res => {
  1682. console.log(res)
  1683. if (res) {
  1684. uni.showToast({
  1685. title: '加精成功',
  1686. duration: 2000
  1687. });
  1688. } else {
  1689. uni.showToast({
  1690. title: '加精失败',
  1691. duration: 2000
  1692. });
  1693. }
  1694. this.cancelAllAdd()
  1695. }).catch(e => {
  1696. uni.showToast({
  1697. title: '网络异常,请稍候重试~',
  1698. duration: 2000
  1699. });
  1700. this.cancelAllAdd()
  1701. })
  1702. },
  1703. //长按对话
  1704. changanxiaoguo(item, index, i) {
  1705. this.messagelisy = [];
  1706. this.changanitem = {};
  1707. this.duihuawenjianid = "";
  1708. this.cancelBeast()
  1709. this.changanitem = item;
  1710. this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
  1711. this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow;
  1712. this.textItself = item.onebest;
  1713. let onebest = item.onebest;
  1714. this.thewrongword = onebest.replace(/<.*?>/ig, "");
  1715. this.messagelisy = this.dialogList[i].message
  1716. this.argtextindex1 = i;
  1717. this.argtextindex2 = index;
  1718. },
  1719. //回到顶部
  1720. gotoTop() {
  1721. this.scrollId = null;
  1722. this.$nextTick(() => {
  1723. this.scrollId = "top";
  1724. })
  1725. },
  1726. // 客户详情需求挖掘话术
  1727. getfindKeyWordsBycusId() {
  1728. this.$u.get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId).then(res => {
  1729. // console.log(res)
  1730. if (res.length) {
  1731. res.forEach(item => {
  1732. item.show = false
  1733. item.children.forEach(obj => {
  1734. obj.show = false
  1735. if (obj.questionList.length) {
  1736. obj.questionList.forEach(subobj => {
  1737. subobj.show = false
  1738. })
  1739. }
  1740. })
  1741. if (item.questionList.length) {
  1742. item.questionList.forEach(obj => {
  1743. obj.show = false
  1744. })
  1745. }
  1746. })
  1747. this.KeyWordsfractionList = res
  1748. } else {
  1749. this.KeyWordsfractionList = []
  1750. }
  1751. })
  1752. },
  1753. getRatelist() {
  1754. this.$u.get("/customer/findzkMByCusId", {
  1755. cusId: this.customerId
  1756. }).then(res => {
  1757. if (res.length) {
  1758. let level1 = []
  1759. let level2rate = 0
  1760. res.forEach(item => {
  1761. if (item.pid == 0) {
  1762. level1.push({
  1763. id: item.marketingId,
  1764. rate: item.fraction,
  1765. name: item.name,
  1766. sort: item.sort,
  1767. show: false,
  1768. ratepercent: 0,
  1769. children: [],
  1770. viewFlag: item.viewFlag
  1771. })
  1772. } else {
  1773. if (item.selected == 0) {
  1774. level2rate += item.fraction
  1775. }
  1776. }
  1777. })
  1778. this.totalRate = level2rate;
  1779. res.forEach(subitem => {
  1780. let subitempid = subitem.pid
  1781. level1.forEach(item => {
  1782. if (subitempid == item.id) {
  1783. if (subitem.selected == 0) {
  1784. item.ratepercent += subitem.fraction
  1785. }
  1786. item.children.push({
  1787. id: subitem.id,
  1788. rate: subitem.fraction,
  1789. selected: subitem.selected,
  1790. name: subitem.name,
  1791. show: false,
  1792. marketingId: subitem.marketingId,
  1793. children: [],
  1794. viewFlag: subitem.viewFlag,
  1795. })
  1796. }
  1797. })
  1798. })
  1799. res.forEach(subitem => {
  1800. let subitempid = subitem.pid
  1801. level1.forEach(chen => {
  1802. chen.children.forEach(zxc => {
  1803. if (subitempid == zxc.marketingId) {
  1804. zxc.children.push({
  1805. id: subitem.id,
  1806. rate: subitem.fraction,
  1807. selected: subitem.selected,
  1808. name: subitem.name,
  1809. marketingId: subitem.marketingId,
  1810. viewFlag: subitem.viewFlag,
  1811. })
  1812. }
  1813. })
  1814. })
  1815. })
  1816. level1[0].show = true;
  1817. level1[0].children[0].show = true;
  1818. this.ratelist = level1
  1819. }
  1820. setTimeout(function() {
  1821. uni.hideLoading();
  1822. }, 1000);
  1823. })
  1824. },
  1825. //--------------------------------- 获取转义后的对话结果
  1826. getCorpusAnalysis(info) {
  1827. this.dialogList = [];
  1828. this.newluyinList = []
  1829. uni.request({
  1830. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  1831. "&bg=" + info.bg + "&speaker=" + this.roleindex + '&voFlag=0' +
  1832. '&num=50',
  1833. method: "GET",
  1834. header: {
  1835. 'content-type': 'application/json',
  1836. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1837. },
  1838. success: (data) => {
  1839. this.LOADING = false
  1840. this.tablist = [];
  1841. this.roleindexbiaoji = 0;
  1842. let jsonInfo = JSON.parse(data.data.data.audioContent);
  1843. this.creatTabList(data.data.data.speakerNum)
  1844. this.tablist[0].select = true // 默认选中第一个
  1845. if (data.data.data.speaker == null) {
  1846. this.dshfkjsdkksodofydwfkhwdfkjh = 0;
  1847. } else {
  1848. if (data.data.data.viewNameFlag != 1) {
  1849. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data
  1850. .speaker].name + "顾问";
  1851. }
  1852. this.roleindexbiaoji = data.data.data.speaker - 1;
  1853. this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1;
  1854. }
  1855. //上拉标记点
  1856. this.textindex = data.data.data.index;
  1857. //下拉标记点
  1858. this.toptextindex = data.data.data.index;
  1859. jsonInfo.forEach(item => {
  1860. item.message = JSON.parse(item.onebest)
  1861. item.backindex = this.csdFileindex;
  1862. item.message.forEach(che => {
  1863. che.checked = false
  1864. if (che.onebest == info.onebest) {
  1865. che.onebest =
  1866. `<font style='color: red'>${che.onebest}</font>`;
  1867. }
  1868. })
  1869. })
  1870. this.newluyinList = jsonInfo;
  1871. console.log(this.newluyinList)
  1872. this.dialogList.push(jsonInfo[this.textindex]);
  1873. var itc = parseInt(info.bg / 1000)
  1874. this.adasdasdasd(itc)
  1875. },
  1876. fail: () => {
  1877. this.LOADING = false
  1878. }
  1879. })
  1880. },
  1881. getTime(time) {
  1882. return util.formatSecond(time)
  1883. },
  1884. //音频前进回退
  1885. sliderChangeComplate(currentTime) {
  1886. this.dialogList = []
  1887. for (let i = 0; i < this.newluyinList.length; i++) {
  1888. let message = this.newluyinList[i].message
  1889. if (!message) return
  1890. if (Math.floor(this.newluyinList[i].bg / 1000) <= currentTime && currentTime <= Math.floor(this
  1891. .newluyinList[i].ed / 1000)) {
  1892. for (let j = 0; j < message.length; j++) {
  1893. let item = message[j]
  1894. if (Math.floor(item.bg / 1000) <= currentTime && currentTime <= Math.floor(item.ed / 1000)) {
  1895. this.scrollId = "dialog" + this.csdFileindex + "text" + item.bg;
  1896. break;
  1897. }
  1898. if (j < message.length - 1 && Math.floor(item.ed / 1000) <= currentTime && currentTime <= Math
  1899. .floor(item.bg / 1000)) {
  1900. this.scrollId = "dialog" + this.csdFileindex + "text" + item.bg;
  1901. break;
  1902. }
  1903. }
  1904. this.textindex = i;
  1905. this.toptextindex = i;
  1906. this.dialogList.push(this.newluyinList[i])
  1907. }
  1908. }
  1909. },
  1910. //长按点击播放
  1911. clickbofang(dialog, item) {
  1912. this.cancelBeast()
  1913. this.$forceUpdate()
  1914. let platetime = item.bg;
  1915. let newtime = item.bg / 1000;
  1916. this.dialogList = []
  1917. uni.request({
  1918. url: config.service.fastForward + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  1919. "&bg=" + platetime || 0, //仅为示例,并非真实接口地址。
  1920. method: "GET",
  1921. header: {
  1922. 'content-type': 'application/json',
  1923. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1924. },
  1925. success: (data) => {
  1926. this.textindex = data.data.data.index;
  1927. this.toptextindex = data.data.data.index;
  1928. this.dialogList.push(this.newluyinList[data.data.data.index])
  1929. console.log(newtime)
  1930. this.stepPlay(newtime);
  1931. }
  1932. })
  1933. },
  1934. formatTime(num) {
  1935. //格式化时间格式
  1936. num = num.toFixed(0);
  1937. let second = num % 60;
  1938. if (second < 10) second = '0' + second;
  1939. let min = Math.floor(num / 60);
  1940. if (min < 10) min = '0' + min;
  1941. return min + ":" + second;
  1942. },
  1943. changeEditing() {
  1944. this.dialogListres[0].message.forEach(asd => {
  1945. asd.isshow = false;
  1946. })
  1947. },
  1948. //录音实例
  1949. zyAudio() {
  1950. let data = [{
  1951. src: this.recordPath,
  1952. title: '录音音频',
  1953. singer: '',
  1954. coverImgUrl: ''
  1955. }]
  1956. this.$zaudio.setAudio(data)
  1957. //渲染第一首音频
  1958. this.$zaudio.setRender(0)
  1959. setTimeout(() => {
  1960. this.$zaudio.operate()
  1961. }, 150)
  1962. },
  1963. // 跳转指定位置播放
  1964. stepPlay(t) {
  1965. this.$zaudio.seek(t)
  1966. if (this.$zaudio.paused) {
  1967. this.$zaudio.operate()
  1968. }
  1969. }
  1970. },
  1971. }
  1972. </script>
  1973. <style lang="scss" scoped>
  1974. .box {
  1975. width: 100%;
  1976. height: 100vh;
  1977. display: flex;
  1978. flex-direction: column;
  1979. .pingfenbox {
  1980. width: 100%;
  1981. height: 60rpx;
  1982. line-height: 60rpx;
  1983. border-bottom: 1px solid #E0E0E0;
  1984. display: flex;
  1985. }
  1986. .pingfenbox view {
  1987. flex: 1;
  1988. text-align: center;
  1989. font-size: 28rpx;
  1990. }
  1991. .activecllasscet {
  1992. background: #2671E2;
  1993. color: #FFFFFF;
  1994. }
  1995. .title1-12 {
  1996. font-size: 28rpx;
  1997. color: #2671E2;
  1998. font-weight: 400;
  1999. text-indent: 30rpx;
  2000. margin-top: 18rpx;
  2001. }
  2002. .headbox {
  2003. width: 100%;
  2004. min-height: 173rpx;
  2005. border-bottom: 1px solid #E0E0E0;
  2006. }
  2007. .zhuti {
  2008. flex: 1;
  2009. overflow: auto;
  2010. }
  2011. .bottombox {
  2012. width: 100%;
  2013. height: 170rpx;
  2014. border-top: 1px solid #E0E0E0;
  2015. .bottomhead {
  2016. width: 100%;
  2017. height: 81rpx;
  2018. border-bottom: 1px solid #E0E0E0;
  2019. display: flex;
  2020. justify-content: space-between;
  2021. align-items: center;
  2022. .audio-slider {
  2023. width: 87%;
  2024. display: flex;
  2025. justify-content: space-between;
  2026. align-items: center;
  2027. padding-right: 30rpx;
  2028. }
  2029. .audio-slider .slider {
  2030. width: 100%;
  2031. padding: 0px 15rpx;
  2032. box-sizing: border-box;
  2033. }
  2034. .audio-time {
  2035. width: 110rpx;
  2036. text-align: right;
  2037. font-size: 26rpx;
  2038. line-height: 28rpx;
  2039. color: #70798D;
  2040. display: flex;
  2041. justify-content: space-between;
  2042. }
  2043. .audio-play {
  2044. width: 48rpx;
  2045. height: 48rpx;
  2046. flex-shrink: 0;
  2047. }
  2048. .audio-play .image {
  2049. width: 100%;
  2050. height: 100%;
  2051. margin-left: 30rpx;
  2052. }
  2053. }
  2054. .botbotmm {
  2055. width: 100%;
  2056. height: 88rpx;
  2057. display: flex;
  2058. align-items: center;
  2059. }
  2060. }
  2061. .bottomboxs {
  2062. width: 100%;
  2063. height: 90rpx;
  2064. display: flex;
  2065. justify-content: space-around;
  2066. .bottomboxs-item {
  2067. width: 45%;
  2068. height: 100%;
  2069. display: flex;
  2070. justify-content: center;
  2071. align-items: center;
  2072. color: #fff;
  2073. background: #008EF2;
  2074. font-size: 36rpx;
  2075. font-weight: bold;
  2076. }
  2077. }
  2078. }
  2079. .headboxhead {
  2080. width: 100%;
  2081. height: 84rpx;
  2082. border-bottom: 1px solid #E0E0E0;
  2083. display: flex;
  2084. .boxhead1 {
  2085. width: 50%;
  2086. color: #303030;
  2087. height: 84rpx;
  2088. line-height: 84rpx;
  2089. font-size: 28rpx;
  2090. text-indent: 30rpx;
  2091. }
  2092. .boxhead2 {
  2093. width: 46%;
  2094. height: 84rpx;
  2095. text-align: right;
  2096. }
  2097. }
  2098. .boxhead2 image {
  2099. width: 36rpx;
  2100. height: 36rpx;
  2101. margin-top: 24rpx;
  2102. }
  2103. .headboxbott {
  2104. width: 100%;
  2105. height: 88rpx;
  2106. display: flex;
  2107. align-items: center;
  2108. .headovfu {
  2109. padding: 0 20rpx 0 0;
  2110. flex: 1;
  2111. height: 88rpx;
  2112. overflow-x: scroll;
  2113. display: flex;
  2114. align-items: center;
  2115. .mytab {
  2116. flex-shrink: 0;
  2117. margin-left: 20rpx;
  2118. .tab-item {
  2119. padding: 0 20rpx;
  2120. height: 52rpx;
  2121. line-height: 52rpx;
  2122. background: #FFFFFF;
  2123. border-radius: 8rpx;
  2124. border: 1rpx solid #E0E0E0;
  2125. font-size: 26rpx;
  2126. font-family: PingFangSC-Regular, PingFang SC;
  2127. font-weight: 400;
  2128. color: #999999;
  2129. }
  2130. .tabActive {
  2131. background: #2671E2;
  2132. color: #fff;
  2133. }
  2134. }
  2135. &::-webkit-scrollbar {
  2136. width: 0;
  2137. height: 0;
  2138. color: transparent;
  2139. }
  2140. }
  2141. .headpade {
  2142. width: 160rpx;
  2143. height: 60rpx;
  2144. display: flex;
  2145. justify-content: center;
  2146. align-items: center;
  2147. border-left: 1px solid #D6D6D6;
  2148. .biaoji {
  2149. min-width: 120rpx;
  2150. height: 48rpx;
  2151. background: #E6625B;
  2152. border-radius: 24rpx;
  2153. text-align: center;
  2154. line-height: 48rpx;
  2155. color: #FFFFFF;
  2156. font-size: 26rpx;
  2157. }
  2158. }
  2159. }
  2160. .fill {
  2161. width: 2rpx;
  2162. height: 41rpx;
  2163. background: #E0E0E0;
  2164. }
  2165. .tmmchen {
  2166. width: 25%;
  2167. height: 88rpx;
  2168. text-align: center;
  2169. color: #666666;
  2170. font-size: 18rpx;
  2171. position: relative;
  2172. .allimg {
  2173. position: absolute;
  2174. width: 168rpx;
  2175. min-height: 210rpx;
  2176. top: -240rpx;
  2177. border: 1px solid #E0E0E0;
  2178. background: #FFFFFF;
  2179. font-size: 26rpx;
  2180. color: #333333;
  2181. text-align: center;
  2182. box-shadow: 10rpx 10rpx 5rpx #888888;
  2183. }
  2184. }
  2185. .tmmchen image {
  2186. width: 40rpx;
  2187. height: 40rpx;
  2188. margin-top: 10rpx;
  2189. margin-bottom: 2rpx;
  2190. }
  2191. .zhezhao {
  2192. position: fixed;
  2193. top: 0;
  2194. left: 0;
  2195. z-index: 999;
  2196. width: 100%;
  2197. height: 100vh;
  2198. opacity: 0.5;
  2199. background-color: #666666;
  2200. }
  2201. .followingpop-up {
  2202. padding: 0 0 40rpx 0;
  2203. width: 100%;
  2204. height: 75vh;
  2205. background: #FFFFFF;
  2206. position: fixed;
  2207. background: #FFFFFF;
  2208. left: 0px;
  2209. bottom: 0px;
  2210. z-index: 1000;
  2211. display: flex;
  2212. flex-direction: column;
  2213. // position: absolute;
  2214. .calibration {
  2215. width: 90rpx;
  2216. height: 90rpx;
  2217. background: #2671E2;
  2218. text-align: center;
  2219. line-height: 90rpx;
  2220. border-radius: 50%;
  2221. color: #FFFFFF;
  2222. position: absolute;
  2223. right: 30rpx;
  2224. bottom: 100rpx;
  2225. }
  2226. .guanbibox {
  2227. width: 100%;
  2228. padding-bottom: 20rpx;
  2229. margin-top: 20rpx;
  2230. border-bottom: 1px solid #E0E0E0;
  2231. position: relative;
  2232. .guanbixen {
  2233. width: 30rpx;
  2234. height: 30rpx;
  2235. position: absolute;
  2236. right: 30rpx;
  2237. top: 6rpx;
  2238. }
  2239. .cenisboxtab {
  2240. width: 100%;
  2241. display: flex;
  2242. .cenisboxtabview {
  2243. flex: 1;
  2244. display: flex;
  2245. align-items: center;
  2246. justify-content: center;
  2247. color: #333333;
  2248. font-size: 30rpx;
  2249. font-weight: 600;
  2250. }
  2251. }
  2252. }
  2253. .cenisbox {
  2254. flex: 1;
  2255. overflow: auto;
  2256. .jianbox {
  2257. width: 100%;
  2258. border-bottom: 1px solid #E0E0E0;
  2259. padding-top: 24rpx;
  2260. padding-bottom: 24rpx;
  2261. .jianbox-cen {
  2262. width: 100%;
  2263. height: 78rpx;
  2264. // border-bottom: 1px solid #E0E0E0;
  2265. display: flex;
  2266. .jianboxtext {
  2267. flex: 1;
  2268. height: 100%;
  2269. font-size: 30rpx;
  2270. font-weight: 600;
  2271. line-height: 78rpx;
  2272. color: #333333;
  2273. text-indent: 30rpx;
  2274. }
  2275. .jianboxjian {
  2276. width: 80rpx;
  2277. height: 100%;
  2278. line-height: 78rpx;
  2279. text-align: center;
  2280. }
  2281. }
  2282. .bioqianwayl {
  2283. width: 690rpx;
  2284. margin: 0 auto;
  2285. display: flex;
  2286. flex-wrap: wrap;
  2287. }
  2288. .bioqianwayl view {
  2289. padding-left: 24rpx;
  2290. padding-right: 24rpx;
  2291. padding-top: 10rpx;
  2292. padding-bottom: 10rpx;
  2293. margin-right: 24rpx;
  2294. margin-top: 20rpx;
  2295. border-radius: 8rpx;
  2296. font-size: 26rpx;
  2297. }
  2298. }
  2299. }
  2300. }
  2301. .jiantop {
  2302. width: 14rpx;
  2303. height: 24rpx;
  2304. }
  2305. .jiantop1 {
  2306. width: 20rpx;
  2307. height: 14rpx;
  2308. }
  2309. .sdfsaf {
  2310. padding-left: 24rpx;
  2311. padding-right: 24rpx;
  2312. padding-top: 10rpx;
  2313. padding-bottom: 10rpx;
  2314. border-radius: 8rpx;
  2315. font-size: 26rpx;
  2316. }
  2317. .yixingindexclass {
  2318. border-bottom: 3px solid #2671E2;
  2319. }
  2320. .cenisboxdspl {
  2321. width: 94%;
  2322. margin: 0 auto;
  2323. padding-bottom: 24rpx;
  2324. display: flex;
  2325. flex-wrap: wrap;
  2326. .cenisboxdsplview {
  2327. padding-left: 24rpx;
  2328. padding-right: 24rpx;
  2329. padding-top: 10rpx;
  2330. padding-bottom: 10rpx;
  2331. background: #F4F8FD;
  2332. color: #2671E2;
  2333. font-size: 26rpx;
  2334. margin-right: 24rpx;
  2335. margin-top: 24rpx;
  2336. }
  2337. }
  2338. .bounced {
  2339. width: 570upx;
  2340. background: #FFFFFF;
  2341. z-index: 1000;
  2342. border-radius: 10upx;
  2343. position: fixed;
  2344. left: 50%;
  2345. top: 50%;
  2346. transform: translate(-50%, -50%);
  2347. .headpade {
  2348. margin-top: 10rpx;
  2349. padding: 8rpx 8rpx 8rpx 8rpx;
  2350. background: #108ee9;
  2351. color: #fff;
  2352. border-radius: 16rpx;
  2353. }
  2354. /* 50%为自身尺寸的一半 */
  2355. .jiajinghuatit {
  2356. width: 100%;
  2357. height: 68rpx;
  2358. font-size: 30rpx;
  2359. text-align: center;
  2360. line-height: 68rpx;
  2361. }
  2362. .jiajinghuaview {
  2363. padding: 18rpx 18rpx 18rpx 18rpx;
  2364. display: flex;
  2365. flex-wrap: wrap;
  2366. .jiajinghuaview1 {
  2367. padding: 8rpx 8rpx 8rpx 8rpx;
  2368. font-size: 26rpx;
  2369. border-radius: 12rpx;
  2370. border: 1px solid #979797;
  2371. margin-left: 8rpx;
  2372. }
  2373. .jighuaview2 {
  2374. padding: 8rpx 18rpx 8rpx 18rpx;
  2375. font-size: 26rpx;
  2376. border-radius: 12rpx;
  2377. border: 1px solid #979797;
  2378. margin-left: 20rpx;
  2379. margin-top: 10rpx;
  2380. display: flex;
  2381. .view1-text {
  2382. text-align: center;
  2383. }
  2384. .view1-img {
  2385. width: 50rpx;
  2386. }
  2387. }
  2388. }
  2389. .bounced3 {
  2390. height: 100upx;
  2391. width: 100%;
  2392. margin-top: 40upx;
  2393. border-top: 1px solid #dddddd;
  2394. display: flex;
  2395. }
  2396. .bounced3-1 {
  2397. width: 50%;
  2398. height: 100%;
  2399. text-align: center;
  2400. line-height: 100upx;
  2401. border-right: 1px solid #dddddd;
  2402. font-size: 36upx;
  2403. color: #999999;
  2404. }
  2405. .bounced3-2 {
  2406. width: 50%;
  2407. height: 100%;
  2408. text-align: center;
  2409. line-height: 100upx;
  2410. font-size: 36upx;
  2411. color: #108ee9;
  2412. }
  2413. }
  2414. .viewclace {
  2415. width: 100rpx;
  2416. height: 40rpx;
  2417. text-align: center;
  2418. line-height: 40rpx;
  2419. border-radius: 14rpx;
  2420. margin-right: 34rpx;
  2421. margin-top: 16rpx;
  2422. font-size: 24rpx;
  2423. }
  2424. .bosdttom {
  2425. color: #FFFFFF;
  2426. background-color: #2671E2;
  2427. }
  2428. .dialog-block {
  2429. margin: 20rpx 0;
  2430. border-bottom: 1px solid #ccc;
  2431. .fileName {
  2432. text-align: center;
  2433. margin: 10rpx auto;
  2434. width: 115rpx;
  2435. height: 42rpx;
  2436. line-height: 42rpx;
  2437. background: #EFEFEF;
  2438. border-radius: 4rpx;
  2439. font-size: 20rpx;
  2440. font-weight: 400;
  2441. color: #333333;
  2442. }
  2443. }
  2444. .scroll-Y {
  2445. font-size: 36upx;
  2446. color: #999999;
  2447. background: #FFFFFF;
  2448. margin-top: 30upx;
  2449. flex: 1;
  2450. overflow-y: scroll;
  2451. width: 100%;
  2452. }
  2453. .scroll-Y .text {
  2454. margin: 50upx 30upx;
  2455. line-height: 80upx;
  2456. display: flex;
  2457. align-items: center;
  2458. }
  2459. .scroll-Y .text[data-speaker="2"],
  2460. .scroll-Y .text[data-speaker="4"],
  2461. .scroll-Y .text[data-speaker="6"] {
  2462. flex-direction: row-reverse;
  2463. text-align: right;
  2464. .contentInfo {
  2465. .info {
  2466. color: #ccc;
  2467. font-size: 18rpx;
  2468. font-size: 30rpx;
  2469. padding: 0 28rpx;
  2470. }
  2471. .contentMain {
  2472. display: flex;
  2473. flex-direction: row-reverse;
  2474. align-items: center;
  2475. .content {
  2476. margin-left: 0;
  2477. margin-right: 30upx;
  2478. }
  2479. .play {
  2480. width: 50rpx;
  2481. height: 50rpx;
  2482. margin-right: 20rpx;
  2483. }
  2484. }
  2485. }
  2486. }
  2487. .scroll-Y .text[data-speaker="2"],
  2488. .scroll-Y .text[data-speaker="4"],
  2489. .scroll-Y .text[data-speaker="6"] {
  2490. .contentInfo {
  2491. .info {
  2492. .AudioUserName {
  2493. margin-left: 10rpx;
  2494. }
  2495. display: flex;
  2496. flex-direction: row-reverse;
  2497. }
  2498. }
  2499. }
  2500. .scroll-Y .text {
  2501. .contentInfo {
  2502. .info {
  2503. .AudioUserName {
  2504. margin-right: 10rpx;
  2505. }
  2506. }
  2507. }
  2508. }
  2509. .scroll-Y .text .avatar {
  2510. margin-top: 80rpx;
  2511. width: 64upx;
  2512. height: 64upx;
  2513. line-height: 64upx;
  2514. text-align: center;
  2515. font-size: 36rpx;
  2516. border-radius: 50%;
  2517. background: #F2F2F2;
  2518. color: #008EF2;
  2519. image {
  2520. width: 40upx;
  2521. }
  2522. }
  2523. .checkbox {
  2524. margin: 80rpx 20rpx 0;
  2525. width: 48rpx;
  2526. height: 48rpx;
  2527. display: flex;
  2528. justify-content: center;
  2529. align-items: center;
  2530. border-radius: 50%;
  2531. border: 1rpx solid #70798D;
  2532. &.select {
  2533. border-color: #008EF2;
  2534. background: #008EF2;
  2535. color: #fff;
  2536. }
  2537. }
  2538. .scroll-Y .text .contentInfo .info {
  2539. color: #ccc;
  2540. font-size: 18rpx;
  2541. font-size: 30rpx;
  2542. padding: 0 28rpx;
  2543. }
  2544. .scroll-Y .text .contentInfo .contentMain {
  2545. display: flex;
  2546. align-items: center;
  2547. }
  2548. .scroll-Y .text .contentInfo .contentMain .content {
  2549. margin-left: 30upx;
  2550. line-height: 60rpx;
  2551. text-align: left;
  2552. padding: 0 5px;
  2553. border-radius: 8upx;
  2554. max-width: 442rpx;
  2555. background: #F6F6F6;
  2556. color: #999999;
  2557. position: relative;
  2558. .tankuangcss {
  2559. position: absolute;
  2560. top: -140rpx;
  2561. left: -120rpx;
  2562. width: 308rpx;
  2563. height: 130rpx;
  2564. background-color: #333333;
  2565. font-size: 24rpx;
  2566. color: #FFFFFF;
  2567. padding-top: 4rpx;
  2568. padding-bottom: 4rpx;
  2569. display: flex;
  2570. flex-wrap: wrap;
  2571. border-radius: 15rpx;
  2572. z-index: 1000;
  2573. }
  2574. .bottoms {
  2575. top: unset;
  2576. bottom: -140rpx;
  2577. }
  2578. }
  2579. .scroll-Y .text .contentInfo .contentMain .play {
  2580. width: 50rpx;
  2581. height: 50rpx;
  2582. margin-left: 20rpx;
  2583. }
  2584. .backTop {
  2585. width: 60upx;
  2586. height: 60upx;
  2587. background: rgba(211, 235, 253, 1);
  2588. box-shadow: 0upx 0upx 2upx 4upx rgba(38, 161, 255, 0.04);
  2589. border-radius: 50%;
  2590. position: fixed;
  2591. bottom: 200upx;
  2592. right: 8upx;
  2593. display: flex;
  2594. justify-content: center;
  2595. align-items: center;
  2596. image {
  2597. width: 26upx;
  2598. height: 34upx;
  2599. }
  2600. }
  2601. .jiangshang {
  2602. color: #fff;
  2603. background: #2671E2;
  2604. }
  2605. .jiangshang1 {
  2606. color: #FFFFFF;
  2607. background: #999999;
  2608. }
  2609. // 表单
  2610. .tian-view {
  2611. width: 570rpx;
  2612. background-color: #FFFFFF;
  2613. display: flex;
  2614. margin-bottom: 30rpx;
  2615. .tian-view-t2 {
  2616. width: 100%;
  2617. font-size: 34rpx;
  2618. display: flex;
  2619. color: #333;
  2620. .word {
  2621. flex: 1;
  2622. border-bottom: 1px solid #ccc;
  2623. }
  2624. .word1 {
  2625. height: 80rpx;
  2626. flex: 1;
  2627. /deep/ textarea {
  2628. max-height: 80rpx !important;
  2629. }
  2630. }
  2631. }
  2632. }
  2633. .inputbox {
  2634. width: 100%;
  2635. height: 100rpx;
  2636. display: flex;
  2637. align-items: center;
  2638. justify-content: center;
  2639. border-bottom: 1px solid #E0E0E0;
  2640. .thisinput {
  2641. width: 94%;
  2642. height: 52rpx;
  2643. background: #FFFFFF;
  2644. border-radius: 8rpx;
  2645. border: 1px solid #C9C9C9;
  2646. color: #333333;
  2647. font-size: 26rpx;
  2648. text-indent: 26rpx;
  2649. line-height: 52rpx;
  2650. }
  2651. }
  2652. .biaoqiantom {
  2653. background-color: #008EF2;
  2654. color: #FFFFFF;
  2655. border: none;
  2656. }
  2657. .Level-box {
  2658. padding-bottom: 2rpx;
  2659. .hhhbox {
  2660. width: 100%;
  2661. padding-left: 30rpx;
  2662. padding-right: 30rpx;
  2663. border-bottom: 1rpx solid #E0E0E0;
  2664. background: #FFFFFF;
  2665. // padding-bottom: 32rpx;
  2666. .hsnrtest {
  2667. height: 24rpx;
  2668. font-size: 24rpx;
  2669. font-weight: 400;
  2670. color: #666666;
  2671. line-height: 24rpx;
  2672. }
  2673. .Level3che {
  2674. width: 100%;
  2675. height: 28rpx;
  2676. display: flex;
  2677. line-height: 28rpx;
  2678. align-items: center;
  2679. margin-top: 30rpx;
  2680. .title1 {
  2681. flex: 1;
  2682. font-size: 28rpx;
  2683. color: #2671E2;
  2684. font-weight: 400;
  2685. }
  2686. .jiantobox {
  2687. width: 30rpx;
  2688. height: 30rpx;
  2689. display: flex;
  2690. align-items: center;
  2691. .arrow {
  2692. width: 28rpx;
  2693. height: 28rpx;
  2694. }
  2695. }
  2696. }
  2697. }
  2698. .Level2che {
  2699. width: 100%;
  2700. height: 88rpx;
  2701. display: flex;
  2702. line-height: 88rpx;
  2703. align-items: center;
  2704. .title1 {
  2705. flex: 2;
  2706. font-size: 28rpx;
  2707. color: #333333;
  2708. font-weight: 400;
  2709. }
  2710. .leve1-jindu {
  2711. flex: 3;
  2712. display: flex;
  2713. justify-content: center;
  2714. align-items: center;
  2715. .zhixing {
  2716. width: 108rpx;
  2717. height: 44rpx;
  2718. background: #2671E2;
  2719. border-radius: 4rpx;
  2720. font-size: 28rpx;
  2721. text-align: center;
  2722. line-height: 44rpx;
  2723. color: #FFFFFF;
  2724. }
  2725. .zhixing2 {
  2726. width: 108rpx;
  2727. height: 44rpx;
  2728. background: #F8F8F8;
  2729. border-radius: 4rpx;
  2730. font-size: 28rpx;
  2731. text-align: center;
  2732. line-height: 44rpx;
  2733. color: #999999;
  2734. }
  2735. }
  2736. .jiantobox {
  2737. width: 30rpx;
  2738. height: 30rpx;
  2739. display: flex;
  2740. align-items: center;
  2741. .arrow {
  2742. width: 30rpx;
  2743. height: 18rpx;
  2744. }
  2745. }
  2746. }
  2747. .Level1che {
  2748. width: 100%;
  2749. height: 94rpx;
  2750. background: #F5F5F5;
  2751. display: flex;
  2752. line-height: 94rpx;
  2753. align-items: center;
  2754. padding-left: 30rpx;
  2755. padding-right: 30rpx;
  2756. .title1 {
  2757. flex: 2;
  2758. font-size: 30rpx;
  2759. color: #333333;
  2760. font-weight: 400;
  2761. }
  2762. .leve1-jindu {
  2763. flex: 3;
  2764. .jindutiao {
  2765. width: 96%;
  2766. height: 28rpx;
  2767. background: #D5EEE2;
  2768. line-height: 28rpx;
  2769. border-radius: 14rpx;
  2770. position: relative;
  2771. .huanxing {
  2772. height: 100%;
  2773. background: #4FC78F;
  2774. border-radius: 14rpx;
  2775. }
  2776. .text {
  2777. position: absolute;
  2778. top: 0rpx;
  2779. right: 0rpx;
  2780. font-size: 28rpx;
  2781. font-weight: 400;
  2782. color: #333333;
  2783. }
  2784. }
  2785. }
  2786. .jiantobox {
  2787. width: 30rpx;
  2788. height: 30rpx;
  2789. display: flex;
  2790. align-items: center;
  2791. .arrow {
  2792. width: 30rpx;
  2793. height: 18rpx;
  2794. }
  2795. }
  2796. }
  2797. }
  2798. .rotatearrow {
  2799. transform: rotate(270deg);
  2800. }
  2801. .ffectivetext {
  2802. width: 85%;
  2803. margin: 10rpx auto;
  2804. height: 100rpx;
  2805. padding: 20rpx;
  2806. border: 1rpx solid #E4F0FF;
  2807. }
  2808. /deep/ .u-model-title {
  2809. padding: 34rpx 0 16rpx !important;
  2810. }
  2811. .scroll-Y .text.active .content {
  2812. color: #FF7538 !important;
  2813. position: relative;
  2814. }
  2815. .scroll-Y .text.active[data-speaker] .content,
  2816. .scroll-Y .text.active[data-speaker="2"] .content,
  2817. .scroll-Y .text.active[data-speaker="4"] .content,
  2818. .scroll-Y .text.active[data-speaker="6"] .content {
  2819. color: #FF7538 !important;
  2820. position: relative;
  2821. }
  2822. .scroll-Y .isGreen .contentInfo .contentMain .content {
  2823. background: #2BC805 !important;
  2824. color: #FFFFFF;
  2825. }
  2826. </style>