No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

2880 líneas
76 KiB

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