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.
 
 
 

2895 lines
76 KiB

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