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.
 
 
 

2899 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-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" @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">
  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}}
  112. </view>
  113. </view>
  114. </view>
  115. <view class="tmmchen" @click="Receivetap()" v-if="Menulistisshow==false">
  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 || 0;
  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. console.log(obj)
  646. this.TimeUpdate(this.TIMEEVENT(obj.current))
  647. })
  648. this.$zaudio.on('error', this.ACTION, e => {
  649. console.log(e, '加载失败')
  650. })
  651. this.$zaudio.on('ended', this.ACTION, e => {
  652. this.$zaudio.stop()
  653. this.init({
  654. bg: 0,
  655. customerId: this.customerId
  656. })
  657. })
  658. uni.$on('DETAILS2INIT', (info) => {
  659. this.init(info)
  660. });
  661. },
  662. onShow() {
  663. //实时渲染当前的播放状态
  664. this.$zaudio.syncRender()
  665. this.Menulist = uni.getStorageSync('weapp_session_Menu_data');
  666. this.Menulist.forEach(item => {
  667. if (item.name == '标记有效无效接待') {
  668. this.Menulistisshow = true;
  669. }
  670. })
  671. this.intention = false;
  672. this.kehuyixiangcenterindex = 0;
  673. this.buildingID = uni.getStorageSync('buildingID').id;
  674. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  675. if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) {
  676. this.methodsisshow = false;
  677. } else {
  678. this.methodsisshow = true;
  679. }
  680. if (this.userInfo.dataCode == 6) {
  681. this.jiaoseshow = false
  682. }
  683. this.roleindex = 0;
  684. if (this.stateisshow == 2) {
  685. this.infos = this.itemobj;
  686. }!this.isPageHide && this.init(this.infos);
  687. this.gituserlist()
  688. },
  689. onHide() {
  690. this.isPageHide = true
  691. },
  692. onUnload() {
  693. uni.$off('DETAILS2INIT')
  694. //卸载不需要的业务和获取播放状态的业务,提高页面性能
  695. this.$zaudio.stop()
  696. this.$zaudio.off('seek', this.ACTION);
  697. this.$zaudio.off('stop', this.ACTION);
  698. this.$zaudio.off('playing', this.ACTION);
  699. },
  700. methods: {
  701. // 选中取反
  702. cbChange(item) {
  703. item.checked = !item.checked
  704. this.$forceUpdate()
  705. },
  706. // 隐藏长按提示框
  707. cancelBeast() {
  708. this.dialogList.forEach(res => {
  709. res.message.forEach(asd => {
  710. asd.isshow = false;
  711. })
  712. })
  713. },
  714. // 重置选择加精的内容
  715. cancelAllAdd() {
  716. console.log('chufa')
  717. this.dialogList.forEach(item => {
  718. if (item.message && item.message.length > 0) {
  719. item.message.forEach(items => {
  720. items.checked = false
  721. })
  722. }
  723. })
  724. this.refined = false
  725. // this.$forceUpdate()
  726. },
  727. hangeshow2(item, type) {
  728. item.show = !item.show;
  729. },
  730. eqLogClick() {
  731. uni.navigateTo({
  732. url: `./equipmentLog?id=${this.customerId}`
  733. })
  734. },
  735. rolexuanze(index) {
  736. this.roleindexrow = index;
  737. },
  738. Modifyrole(dialog, item) {
  739. this.roleisshaw = true;
  740. this.roletiaoshu = dialog;
  741. this.roleindexrow = this.dialogList[this.csdFileindex].message[this.roletiaoshu].speaker - 1;
  742. },
  743. roletab() {
  744. // let itso=this.dialogList[this.csdFileindex].message[this.roletiaoshu];
  745. let itso = Object.assign({}, this.dialogList[this.csdFileindex].message[this.roletiaoshu]);
  746. itso.onebest = itso.onebest.replace(/<.*?>/ig, "");
  747. this.$u.post("/corpus/updateRole", {
  748. corpusId: this.luyinList[this.csdFileindex].id,
  749. transferContent: [itso],
  750. speaker: this.roleindexrow + 1,
  751. customerId: this.customerId
  752. }).then(res => {
  753. this.dialogList[this.csdFileindex].message[this.roletiaoshu].speaker = this.roleindexrow + 1
  754. this.roleisshaw = false;
  755. this.cancelBeast()
  756. uni.showToast({
  757. title: '修改成功',
  758. duration: 2000
  759. });
  760. })
  761. },
  762. argece(item) {
  763. console.log(item)
  764. if (item.selected == 0) {
  765. console.log(item)
  766. this.Pinspeak = false
  767. uni.navigateTo({
  768. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  769. .keywordsId + "&type=" + 1 + '&UpDateEvent=DETAILS2INIT'
  770. })
  771. }
  772. },
  773. //关键词点击
  774. tapbadge(item) {
  775. this.Pinspeak = false
  776. //进搜索页面
  777. uni.navigateTo({
  778. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item +
  779. "&skpl=" + "2" + '&UpDateEvent=DETAILS2INIT'
  780. })
  781. },
  782. recordclick(i) {
  783. this.zhixingcenterindex = i;
  784. if (i == 0) {
  785. this.getRatelist()
  786. } else if (i == 1) {
  787. this.huoqujinji()
  788. } else {
  789. this.getfindKeyWordsBycusId()
  790. }
  791. },
  792. //获取禁忌
  793. huoqujinji() {
  794. uni.showLoading({
  795. title: '加载中'
  796. });
  797. this.$u.get("/customer/findTabooWordsByCusId", {
  798. cusId: this.customerId
  799. }).then(res => {
  800. if (res.length) {
  801. this.prohibitedlist = res;
  802. }
  803. setTimeout(function() {
  804. uni.hideLoading();
  805. }, 1000);
  806. })
  807. },
  808. //评分点击
  809. clickaudeopal(item) {
  810. if (item.selected == 0 && item.viewFlag != 1) {
  811. // console.log(item)
  812. this.Pinspeak = false
  813. uni.navigateTo({
  814. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  815. .marketingId + "&type=" + 0 + '&UpDateEvent=DETAILS2INIT'
  816. })
  817. }
  818. },
  819. //获取用户信息
  820. gituserlist() {
  821. this.$u.get("/matchKeywords/personalReceptionRecord", {
  822. customerId: this.customerId
  823. }).then(res => {
  824. res.endTime1 = res.endTime.substring(0, 19);
  825. this.userlistobj = res;
  826. })
  827. },
  828. Acquishow2(i) {
  829. this.Acquirecustomerintentlist2[i].isshow = !this.Acquirecustomerintentlist2[i].isshow;
  830. },
  831. tocalibration() {
  832. uni.navigateTo({
  833. url: '/pages/mine/calibration?id=' + this.customerId
  834. });
  835. },
  836. customerofintention(i) {
  837. this.kehuyixiangcenterindex = i;
  838. if (i == 0) {
  839. this.Acquirecustomerintent()
  840. } else {
  841. this.Acquirecustomerintent2()
  842. }
  843. },
  844. //获取人工校准意向信息
  845. Acquirecustomerintent2() {
  846. this.Acquirecustomerintentlist2 = [];
  847. this.$u.get("/matchKeywords/findManualCalibration", {
  848. customerId: this.customerId,
  849. type: 1
  850. }).then(res => {
  851. res.forEach(item => {
  852. item.isshow = true;
  853. item.children.forEach(chend => {
  854. if (chend.isInterval == 0) {
  855. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  856. .unit
  857. } else {
  858. chend.text = chend.name
  859. }
  860. })
  861. })
  862. this.Acquirecustomerintentlist2 = res;
  863. })
  864. },
  865. //获取系统意向信息
  866. Acquirecustomerintent() {
  867. this.Acquirecustomerintentlist = [];
  868. this.$u.get("/matchKeywords/findSystemAnalysis", {
  869. customerId: this.customerId
  870. }).then(res => {
  871. res.forEach(item => {
  872. item.isshow = true;
  873. item.children.forEach(chend => {
  874. if (chend.isInterval == 0) {
  875. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  876. .unit
  877. } else {
  878. chend.text = chend.name
  879. }
  880. })
  881. })
  882. this.Acquirecustomerintentlist = res;
  883. })
  884. },
  885. Acquishow(i) {
  886. this.Acquirecustomerintentlist[i].isshow = !this.Acquirecustomerintentlist[i].isshow;
  887. },
  888. Edittag(item, chend, index, i) {
  889. var selected = '';
  890. if (chend.selected == 0) {
  891. selected = 1;
  892. this.Acquirecustomerintentlist[index].children[i].selected = 1;
  893. } else {
  894. selected = 0;
  895. this.Acquirecustomerintentlist[index].children[i].selected = 0;
  896. }
  897. this.$u.post("/matchKeywords/updatePersonalMatchData", {
  898. carId: this.customerId,
  899. selected: selected,
  900. name: chend.name,
  901. pid: chend.pid,
  902. level: chend.level,
  903. endName: chend.endName,
  904. keywordsId: chend.keywordsId
  905. }).then(res => {
  906. })
  907. },
  908. //取消接待详情
  909. clenReceivedetailsabout() {
  910. this.Receivedetailsabout = false;
  911. this.Pinspeak = false;
  912. this.intention = false;
  913. this.Thetapeidisshow = false;
  914. },
  915. //意向统计切换
  916. Intentiontoswitch(i) {
  917. this.yixingindex = i;
  918. if (i == 1) {
  919. this.statistical()
  920. }
  921. },
  922. statistical() {
  923. this.$u.get("/matchKeywords/findCARKeywords", {
  924. customerId: this.customerId
  925. }).then(res => {
  926. res.forEach(item => {
  927. if (item.isInterval == 0) {
  928. item.name = item.name + item.unit + '-' + item.endName + item.unit;
  929. }
  930. })
  931. this.options1 = res;
  932. })
  933. },
  934. Receivetap() {
  935. this.Receivedetailsabout = true;
  936. },
  937. //标记
  938. alllogo() {
  939. var that = this;
  940. let msg = '';
  941. if (this.userlistobj.validInvalid != 0) {
  942. msg = '是否标记为"有效录音"?';
  943. uni.showModal({
  944. title: '提示',
  945. content: msg,
  946. success: function(res) {
  947. that.isBand = true
  948. if (that.noClick) {
  949. that.noClick = false;
  950. if (res.confirm) {
  951. let parames = {
  952. id: that.customerId,
  953. validInvalid: '',
  954. invalidReason: 0
  955. }
  956. if (that.userlistobj.validInvalid == 0) {
  957. parames.validInvalid = 1;
  958. } else {
  959. parames.validInvalid = 0;
  960. }
  961. that.$u.post("/customer/updateValidInvalid", parames).then(res => {
  962. console.log(res)
  963. that.isBand = false
  964. that.Thetapeidisshow = false;
  965. }).catch(e => {
  966. that.isBand = false
  967. })
  968. }
  969. setTimeout(() => {
  970. that.noClick = true;
  971. }, 2000)
  972. } else {
  973. // 这里是重复点击的判断
  974. }
  975. }
  976. });
  977. } else {
  978. this.effective = true;
  979. }
  980. },
  981. effectiveAdd() {
  982. if (this.effectiveindex == 4) {
  983. if (this.effectiveitext.length == 0) {
  984. uni.showToast({
  985. title: '备注不能为空',
  986. icon: "none",
  987. duration: 2000
  988. });
  989. return
  990. }
  991. }
  992. this.effective = false;
  993. this.isBand = true
  994. let parames = {
  995. id: this.customerId,
  996. validInvalid: '',
  997. validInvalid: 1,
  998. invalidReason: Number(this.effectiveindex) + 1,
  999. invalidNote: this.effectiveitext
  1000. }
  1001. this.$u.post("/customer/updateValidInvalid", parames).then(res => {
  1002. console.log(res)
  1003. this.Thetapeidisshow = false;
  1004. }).catch(e => {
  1005. this.isBand = false
  1006. })
  1007. },
  1008. radioChange(evt) {
  1009. this.effectiveitext = "";
  1010. for (let i = 0; i < this.effectiveitems.length; i++) {
  1011. if (this.effectiveitems[i].value === evt.detail.value) {
  1012. this.effectiveindex = i;
  1013. break;
  1014. }
  1015. }
  1016. },
  1017. //接待详情点击
  1018. Receivedetailsabouttab(stringa) {
  1019. if (stringa == 'Receivedetailsabout') {
  1020. this.Thetapeidisshow = !this.Thetapeidisshow;
  1021. this.gituserlist()
  1022. } else if (stringa == 'Pinspeak') {
  1023. this.getRatelist()
  1024. this.getfindKeyWordsBycusId()
  1025. this.Pinspeak = true;
  1026. } else {
  1027. if (this.kehuyixiangcenterindex == 0) {
  1028. this.Acquirecustomerintent()
  1029. } else {
  1030. this.Acquirecustomerintent2()
  1031. }
  1032. this.intention = true;
  1033. }
  1034. },
  1035. guanjiancishifo() {
  1036. // this.guanjianciishow=!this.guanjianciishow;
  1037. this.stateisshow = 1;
  1038. uni.navigateTo({
  1039. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  1040. "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT'
  1041. })
  1042. },
  1043. // 添加角色
  1044. addRole() {
  1045. this.tablist.push({
  1046. name: String.fromCharCode(this.tablist.length + 64)
  1047. })
  1048. },
  1049. //标记选择角色
  1050. biaojixuanze(index) {
  1051. this.roleindexbiaoji = index;
  1052. },
  1053. //标记顾问
  1054. tagtap() {
  1055. this.biojiisshow = !this.biojiisshow;
  1056. },
  1057. //取消标记
  1058. unmarktap() {
  1059. this.biojiisshow = false;
  1060. this.roleindexbiaoji = this.dshfkjsdkksodofydwfkhwdfkjh;
  1061. this.roleisshaw = false
  1062. this.cancelBeast()
  1063. },
  1064. //确认标记
  1065. Confirmthetag() {
  1066. var num = this.roleindexbiaoji + 1;
  1067. uni.request({
  1068. url: config.service.markConsultant + '?id=' + this.luyinList[this.csdFileindex].id +
  1069. "&speaker=" + num + '&customerId=' + this.customerId, //仅为示例,并非真实接口地址。
  1070. method: "GET",
  1071. header: {
  1072. 'content-type': 'application/json',
  1073. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1074. },
  1075. success: (data) => {
  1076. this.biojiisshow = false;
  1077. this.biaojiyuyi()
  1078. this.fenjiaoseunfo()
  1079. uni.showToast({
  1080. title: '标记成功',
  1081. duration: 2000
  1082. });
  1083. },
  1084. })
  1085. },
  1086. //标记语义词
  1087. biaojiyuyi() {
  1088. let parames = {
  1089. carId: this.customerId
  1090. }
  1091. this.$u.post("/matchKeywords/toMatchKeywords", parames).then(res => {
  1092. console.log(res)
  1093. })
  1094. },
  1095. //分角色
  1096. tapspagek(index) {
  1097. this.roleindex = index;
  1098. this.newluyinList = [];
  1099. this.fenjiaoseunfo()
  1100. this.$forceUpdate()
  1101. },
  1102. //------------------------------------分角色标记刷新
  1103. fenjiaoseunfo() {
  1104. var bgcd = this.playNow * 1000;
  1105. this.newluyinList = [];
  1106. this.dialogList = [];
  1107. let voFlagValue;
  1108. if (this.roleindex == 0) {
  1109. voFlagValue = 0
  1110. } else {
  1111. voFlagValue = 1
  1112. }
  1113. let tempRoleIndex;
  1114. if (this.isSw) {
  1115. if (this.roleindex == this.tablist.length - 1) {
  1116. tempRoleIndex = 0
  1117. } else {
  1118. tempRoleIndex = this.roleindex
  1119. }
  1120. } else {
  1121. tempRoleIndex = this.roleindex
  1122. }
  1123. uni.request({
  1124. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  1125. "&bg=" + bgcd + "&speaker=" + tempRoleIndex + "&voFlag=" + voFlagValue +
  1126. '&num=50', //仅为示例,并非真实接口地址。
  1127. method: "GET",
  1128. header: {
  1129. 'content-type': 'application/json',
  1130. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1131. },
  1132. success: (data) => {
  1133. this.tablist = [];
  1134. let jsonInfo = JSON.parse(data.data.data.audioContent);
  1135. for (var i = 0; i <= data.data.data.speakerNum; i++) {
  1136. if (i === 0) {
  1137. this.tablist.push({
  1138. name: '全部'
  1139. })
  1140. } else {
  1141. this.tablist.push({
  1142. name: String.fromCharCode(i + 64)
  1143. })
  1144. }
  1145. }
  1146. if (data.data.data.speaker == null) {
  1147. this.roleindexbiaoji = 0;
  1148. this.dshfkjsdkksodofydwfkhwdfkjh = 0;
  1149. } else {
  1150. if (data.data.data.viewNameFlag == 1) {
  1151. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data
  1152. .speaker]
  1153. .name;
  1154. } else {
  1155. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data
  1156. .speaker]
  1157. .name + "顾问";
  1158. }
  1159. this.roleindexbiaoji = data.data.data.speaker - 1;
  1160. this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1;
  1161. }
  1162. if (data.data.data.viewNameFlag == 1) {
  1163. let p = [{
  1164. name: '顾问'
  1165. }]
  1166. this.tablist = [...this.tablist, ...p]
  1167. }
  1168. if (this.roleindex > this.tablist.length - 1) {
  1169. this.roleindex = this.tablist.length - 1
  1170. this.fenjiaoseunfo()
  1171. }
  1172. this.speaker = data.data.data.speaker;
  1173. //上拉标记点
  1174. this.textindex = data.data.data.index;
  1175. //下拉标记点
  1176. this.toptextindex = data.data.data.index;
  1177. this.isShowMark = data.data.data.viewNameFlag;
  1178. jsonInfo.forEach(item => {
  1179. item.message = JSON.parse(item.onebest)
  1180. item.backindex = this.csdFileindex
  1181. console.log(item.message, '123u8123u89i123io')
  1182. item.message.forEach(info => {
  1183. info.checked = false
  1184. })
  1185. })
  1186. this.newluyinList = jsonInfo;
  1187. if (this.textindex == null) {
  1188. return
  1189. } else {
  1190. this.dialogList.push(jsonInfo[this.textindex]);
  1191. }
  1192. }
  1193. })
  1194. },
  1195. toKeywordsearch() {
  1196. this.stateisshow = 1;
  1197. uni.navigateTo({
  1198. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  1199. "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT'
  1200. })
  1201. },
  1202. TimeUpdate(currentTime) {
  1203. this.playNow = Math.ceil(currentTime)
  1204. if (this.dialogList.length == 0) {
  1205. return
  1206. } else {
  1207. const message = this.dialogList[0].message;
  1208. if (!message) return
  1209. for (let i = 0; i < message.length; i++) {
  1210. if (Math.floor(message[i].bg / 1000) <= this.playNow && this.playNow < Math.floor(message[i].ed /
  1211. 1000)) {
  1212. console.log(message[i].bg, '我是active', message[i].ed, '我是currentTime', this.playNow)
  1213. console.log(message[i].onebest)
  1214. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  1215. break;
  1216. }
  1217. if (i < message.length - 1 && Math.floor(message[i].ed / 1000) < this.playNow && this.playNow <
  1218. Math.floor(message[i + 1].bg / 1000)) {
  1219. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  1220. break;
  1221. }
  1222. }
  1223. }
  1224. this.$forceUpdate()
  1225. },
  1226. init(info) {
  1227. this.sliderMax = 0; //进度条最大值
  1228. this.timeStr = "00:00"; //总的时间
  1229. const parames = {
  1230. pageNum: 1,
  1231. pageSize: 100,
  1232. query: {
  1233. customerId: this.customerId
  1234. }
  1235. }
  1236. this.$u.post("/corpus/findByPage", parames).then(res => {
  1237. if (res && res.length) {
  1238. let alltime = 1 + res[0].recordDuration;
  1239. this.calibration = res[0].calibration;
  1240. if (this.calibration == 0) {
  1241. this.kehuyixiangcenterindex = 0;
  1242. } else {
  1243. this.kehuyixiangcenterindex = 1;
  1244. }
  1245. this.alltimeStr = this.getTime(alltime)
  1246. if (info.bg != 0) {
  1247. this.luyinList = res;
  1248. this.recordPath = res[0].recordPath
  1249. this.date = res[0].receptionTime;
  1250. this.getCorpusAnalysis(info);
  1251. } else {
  1252. this.luyinList = res;
  1253. this.recordPath = res[0].recordPath
  1254. this.date = res[0].receptionTime;
  1255. this.getCorpusAnalysis(info);
  1256. this.zyAudio()
  1257. }
  1258. }
  1259. })
  1260. },
  1261. //搜索跳转
  1262. adasdasdasd(e) {
  1263. this.stepPlay(e)
  1264. },
  1265. //下一页
  1266. ltolower() {
  1267. var lengthcz = this.newluyinList.length - 1;
  1268. if (this.textindex >= lengthcz) {
  1269. uni.showToast({
  1270. title: '到底了',
  1271. duration: 2000
  1272. });
  1273. return
  1274. } else {
  1275. this.textindex = this.textindex + 1;
  1276. this.newluyinList[this.textindex].message.forEach(item => {
  1277. this.dialogList[0].message.push(item)
  1278. })
  1279. }
  1280. console.log("下一页", this.textindex)
  1281. },
  1282. //上一页
  1283. rolltoupper() {
  1284. if (this.toptextindex == 0) {
  1285. // uni.showToast({
  1286. // title: '到头了',
  1287. // duration: 2000
  1288. // });
  1289. return
  1290. } else {
  1291. if (this.dialogList[0] == undefined) {
  1292. return
  1293. } else {
  1294. this.toptextindex = this.toptextindex - 1;
  1295. let reverselist = this.newluyinList[this.toptextindex].message;
  1296. let runlist = reverselist.reverse();
  1297. runlist.forEach(item => {
  1298. this.dialogList[0].message.unshift(item)
  1299. })
  1300. }
  1301. }
  1302. },
  1303. // 取消全部加精
  1304. notappick() {
  1305. var that = this;
  1306. uni.showModal({
  1307. title: '提示',
  1308. content: '确认取消加精?',
  1309. success: function(res) {
  1310. if (res.confirm) {
  1311. console.log('用户点击确定');
  1312. uni.request({
  1313. url: config.service.delATD + "?carId=" + that.customerId + '&itemId=' +
  1314. that.buildingID,
  1315. method: "GET",
  1316. header: {
  1317. 'content-type': 'application/json',
  1318. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  1319. .token
  1320. },
  1321. success: (data) => {
  1322. if (data.data.code == 10000) {
  1323. that.status = 1
  1324. uni.showToast({
  1325. title: '取消成功',
  1326. duration: 2000
  1327. });
  1328. } else {
  1329. uni.showToast({
  1330. title: data.data.message,
  1331. duration: 2000
  1332. });
  1333. }
  1334. }
  1335. })
  1336. } else if (res.cancel) {
  1337. console.log('用户点击取消');
  1338. }
  1339. }
  1340. });
  1341. },
  1342. //全部加精
  1343. tappick(i) {
  1344. var that = this;
  1345. uni.showModal({
  1346. title: '提示',
  1347. content: '确认加精?',
  1348. success: function(res) {
  1349. if (res.confirm) {
  1350. console.log('用户点击确定');
  1351. let objdata = {
  1352. "carId": that.customerId, //客户id
  1353. "status": 0,
  1354. "itemId": that.buildingID,
  1355. }
  1356. uni.request({
  1357. url: config.service.addATD,
  1358. method: "POST",
  1359. header: {
  1360. 'content-type': 'application/json',
  1361. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  1362. .token
  1363. },
  1364. data: objdata,
  1365. success: (data) => {
  1366. if (data.data.code == 10000) {
  1367. that.status = 0
  1368. uni.showToast({
  1369. title: '加精成功',
  1370. duration: 2000
  1371. });
  1372. } else {
  1373. uni.showToast({
  1374. title: data.data.message,
  1375. duration: 2000
  1376. });
  1377. }
  1378. }
  1379. })
  1380. } else if (res.cancel) {
  1381. console.log('用户点击取消');
  1382. }
  1383. }
  1384. });
  1385. },
  1386. //标签选择
  1387. tapbiaoqianclisck(index) {
  1388. this.biaoqianindex = index;
  1389. this.biaoqianid = this.biaoqianlist[index].id
  1390. },
  1391. //复制
  1392. clickcopy() {
  1393. var that = this;
  1394. uni.setClipboardData({
  1395. data: that.thewrongword,
  1396. success: () => {
  1397. this.cancelBeast()
  1398. this.$forceUpdate();
  1399. console.log('success');
  1400. }
  1401. });
  1402. },
  1403. //确认加入常错词
  1404. Confirmtheexit() {
  1405. if (this.reswrongword.length > 8 || this.thewrongword.length > 8) {
  1406. this.$refs.uToast.show({
  1407. title: '正确词错误词不能超过8个字',
  1408. type: 'warning',
  1409. })
  1410. this.isshow2 = true;
  1411. } else {
  1412. let reg = /^[0-9]+$/
  1413. if (reg.test(this.thewrongword)) {
  1414. this.$refs.uToast.show({
  1415. title: '错误词不能为纯数字',
  1416. type: 'warning',
  1417. })
  1418. this.isshow2 = true;
  1419. } else {
  1420. if (this.thewrongword) {
  1421. if (this.reswrongword) {
  1422. let parames = {
  1423. customerId: this.customerId,
  1424. cupid: this.luyinList[this.csdFileindex].id,
  1425. wrongWord: this.thewrongword, //错误词
  1426. correctWord: this.reswrongword, //正确词
  1427. translateHtmlContent: this.messagelisy,
  1428. id: uni.getStorageSync('buildingID').id
  1429. }
  1430. this.isshow2 = false;
  1431. let sas = this.textItself.replace(this.thewrongword, this.reswrongword)
  1432. this.dialogList[this.argtextindex1].message[this.argtextindex2].onebest = sas
  1433. this.cancelBeast()
  1434. this.$u.post("/corpus/addCorrectWord", parames).then(data => {
  1435. this.thewrongword = "";
  1436. this.reswrongword = "";
  1437. })
  1438. } else {
  1439. this.$refs.uToast.show({
  1440. title: '正确值不能为空',
  1441. type: 'warning',
  1442. })
  1443. this.isshow2 = true;
  1444. return
  1445. }
  1446. } else {
  1447. this.$refs.uToast.show({
  1448. title: '错误词不能为空',
  1449. type: 'warning',
  1450. })
  1451. this.isshow2 = true;
  1452. return
  1453. }
  1454. }
  1455. }
  1456. },
  1457. //取消加入常错词
  1458. Cancelout() {
  1459. this.isshow2 = false;
  1460. this.cancelBeast()
  1461. },
  1462. //加入长错词
  1463. Oftenthewrongword() {
  1464. this.reswrongword = "";
  1465. this.isshow2 = true;
  1466. },
  1467. //加精华
  1468. Addtheessence() {
  1469. this.refined = true
  1470. this.cancelBeast()
  1471. },
  1472. // 确认批量加精
  1473. sureRefinement() {
  1474. this.isshow3 = true;
  1475. this.biaoqianlist = []
  1476. let parames = {
  1477. "itemId": this.buildingID
  1478. }
  1479. this.$u.post("/addtodigest/findAllYi", parames).then(data => {
  1480. this.biaoqianlist = data
  1481. this.biaoqianlist.unshift({
  1482. name: "逼单话术",
  1483. id: 0
  1484. })
  1485. })
  1486. },
  1487. // 取消加精
  1488. Cancelout2() {
  1489. this.isshow3 = false;
  1490. this.cancelBeast()
  1491. },
  1492. // 确认加精
  1493. Confirmtheexit2() {
  1494. let objdata = {
  1495. itemId: this.buildingID,
  1496. carId: this.customerId, //客户id
  1497. startFile: this.duihuawenjianid, //对话所在录音文件id
  1498. marketingId: this.biaoqianid || 0, //对应一级父id
  1499. status: 1,
  1500. toDigestList: [], // 加精多选的内容
  1501. // jjTransfer: this.changanitem.onebest, //选中对话
  1502. // endTime: this.changanitem.ed, //结束时间
  1503. // startTime: this.changanitem.bg, //开始时间
  1504. }
  1505. this.dialogList.forEach(items => {
  1506. if (items.message && items.message.length > 0) {
  1507. items.message.forEach(item => {
  1508. if (item.checked) {
  1509. objdata.toDigestList.push({
  1510. jjTransfer: item.onebest,
  1511. startTime: item.bg,
  1512. endTime: item.ed,
  1513. })
  1514. }
  1515. })
  1516. }
  1517. })
  1518. this.isshow3 = false;
  1519. this.$u.post(config.service.addATD, objdata).then(res => {
  1520. console.log(res)
  1521. if (res) {
  1522. uni.showToast({
  1523. title: '加精成功',
  1524. duration: 2000
  1525. });
  1526. } else {
  1527. uni.showToast({
  1528. title: '加精失败',
  1529. duration: 2000
  1530. });
  1531. }
  1532. this.cancelAllAdd()
  1533. }).catch(e => {
  1534. uni.showToast({
  1535. title: '网络异常,请稍候重试~',
  1536. duration: 2000
  1537. });
  1538. this.cancelAllAdd()
  1539. })
  1540. },
  1541. //长按对话
  1542. changanxiaoguo(item, index, i) {
  1543. this.messagelisy = [];
  1544. this.changanitem = {};
  1545. this.duihuawenjianid = "",
  1546. this.cancelBeast()
  1547. this.changanitem = item;
  1548. this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
  1549. this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow;
  1550. this.textItself = item.onebest;
  1551. let onebest = item.onebest;
  1552. this.thewrongword = onebest.replace(/<.*?>/ig, "");
  1553. this.messagelisy = this.dialogList[i].message
  1554. this.argtextindex1 = i;
  1555. this.argtextindex2 = index;
  1556. },
  1557. //回到顶部
  1558. gotoTop() {
  1559. this.scrollId = null;
  1560. this.$nextTick(() => {
  1561. this.scrollId = "top";
  1562. })
  1563. },
  1564. // 客户详情需求挖掘话术
  1565. getfindKeyWordsBycusId() {
  1566. this.$u.get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId).then(res => {
  1567. // console.log(res)
  1568. if (res.length) {
  1569. // this.KeyWordsfraction = 0
  1570. res.forEach(item => {
  1571. // if(item.selected==0){
  1572. // this.KeyWordsfraction += +item.fraction // 总执行率
  1573. // }
  1574. item.show = false
  1575. item.children.forEach(obj => {
  1576. obj.show = false
  1577. if (obj.questionList.length) {
  1578. obj.questionList.forEach(subobj => {
  1579. subobj.show = false
  1580. })
  1581. }
  1582. })
  1583. if (item.questionList.length) {
  1584. item.questionList.forEach(obj => {
  1585. obj.show = false
  1586. })
  1587. }
  1588. })
  1589. this.KeyWordsfractionList = res
  1590. } else {
  1591. this.KeyWordsfractionList = []
  1592. }
  1593. })
  1594. },
  1595. getRatelist() {
  1596. this.$u.get("/customer/findzkMByCusId", {
  1597. cusId: this.customerId
  1598. }).then(res => {
  1599. if (res.length) {
  1600. let level1 = []
  1601. let level2rate = 0
  1602. res.forEach(item => {
  1603. if (item.pid == 0) {
  1604. level1.push({
  1605. id: item.marketingId,
  1606. rate: item.fraction,
  1607. name: item.name,
  1608. sort: item.sort,
  1609. show: false,
  1610. ratepercent: 0,
  1611. children: [],
  1612. viewFlag: item.viewFlag,
  1613. })
  1614. } else {
  1615. if (item.selected == 0) {
  1616. level2rate += item.fraction
  1617. }
  1618. }
  1619. })
  1620. this.totalRate = level2rate;
  1621. res.forEach(subitem => {
  1622. let subitempid = subitem.pid
  1623. level1.forEach(item => {
  1624. if (subitempid == item.id) {
  1625. if (subitem.selected == 0) {
  1626. item.ratepercent += subitem.fraction
  1627. }
  1628. item.children.push({
  1629. id: subitem.id,
  1630. rate: subitem.fraction,
  1631. selected: subitem.selected,
  1632. name: subitem.name,
  1633. show: false,
  1634. marketingId: subitem.marketingId,
  1635. children: [],
  1636. viewFlag: subitem.viewFlag,
  1637. })
  1638. }
  1639. })
  1640. })
  1641. res.forEach(subitem => {
  1642. let subitempid = subitem.pid
  1643. level1.forEach(chen => {
  1644. chen.children.forEach(zxc => {
  1645. if (subitempid == zxc.marketingId) {
  1646. zxc.children.push({
  1647. id: subitem.id,
  1648. rate: subitem.fraction,
  1649. selected: subitem.selected,
  1650. name: subitem.name,
  1651. marketingId: subitem.marketingId,
  1652. viewFlag: subitem.viewFlag,
  1653. })
  1654. }
  1655. })
  1656. })
  1657. })
  1658. level1[0].show = true;
  1659. level1[0].children[0].show = true;
  1660. this.ratelist = level1
  1661. }
  1662. setTimeout(function() {
  1663. uni.hideLoading();
  1664. }, 1000);
  1665. })
  1666. },
  1667. //--------------------------------- 获取转义后的对话结果
  1668. getCorpusAnalysis(info) {
  1669. this.dialogList = [];
  1670. this.newluyinList = []
  1671. uni.request({
  1672. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  1673. "&bg=" + info.bg + "&speaker=" + this.roleindex + '&voFlag=0' +
  1674. '&num=50', //仅为示例,并非真实接口地址。
  1675. method: "GET",
  1676. header: {
  1677. 'content-type': 'application/json',
  1678. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1679. },
  1680. success: (data) => {
  1681. this.LOADING = false
  1682. this.isShowMark = data.data.data.viewNameFlag
  1683. this.tablist = [];
  1684. this.roleindexbiaoji = 0;
  1685. let jsonInfo = JSON.parse(data.data.data.audioContent);
  1686. for (var i = 0; i <= data.data.data.speakerNum; i++) {
  1687. if (i === 0) {
  1688. this.tablist.push({
  1689. name: '全部'
  1690. })
  1691. } else {
  1692. this.tablist.push({
  1693. name: String.fromCharCode(i + 64)
  1694. })
  1695. }
  1696. }
  1697. if (data.data.data.speaker == null) {
  1698. this.dshfkjsdkksodofydwfkhwdfkjh = 0;
  1699. } else {
  1700. if (data.data.data.viewNameFlag == 1) {
  1701. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data
  1702. .speaker].name;
  1703. } else {
  1704. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data
  1705. .speaker].name + "顾问";
  1706. }
  1707. this.roleindexbiaoji = data.data.data.speaker - 1;
  1708. this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1;
  1709. }
  1710. if (data.data.data.viewNameFlag == 1) {
  1711. let p = [{
  1712. name: '顾问'
  1713. }]
  1714. this.tablist = [...this.tablist, ...p]
  1715. this.isSw = true
  1716. } else {
  1717. this.isSw = false
  1718. }
  1719. this.speaker = data.data.data.speaker;
  1720. //上拉标记点
  1721. this.textindex = data.data.data.index;
  1722. //下拉标记点
  1723. this.toptextindex = data.data.data.index;
  1724. jsonInfo.forEach(item => {
  1725. item.message = JSON.parse(item.onebest)
  1726. item.backindex = this.csdFileindex;
  1727. item.message.forEach(che => {
  1728. che.checked = false
  1729. if (che.onebest == info.onebest) {
  1730. che.onebest =
  1731. `<font style='color: red'>${che.onebest}</font>`;
  1732. }
  1733. })
  1734. })
  1735. this.newluyinList = jsonInfo;
  1736. console.log(this.newluyinList)
  1737. this.dialogList.push(jsonInfo[this.textindex]);
  1738. var itc = parseInt(info.bg / 1000)
  1739. this.adasdasdasd(itc)
  1740. },
  1741. fail: () => {
  1742. this.LOADING = false
  1743. }
  1744. })
  1745. },
  1746. getTime(time) {
  1747. return util.formatSecond(time)
  1748. },
  1749. //音频前进回退
  1750. sliderChangeComplate(currentTime) {
  1751. this.dialogList = []
  1752. for (let i = 0; i < this.newluyinList.length; i++) {
  1753. let message = this.newluyinList[i].message
  1754. if (!message) return
  1755. if (Math.floor(this.newluyinList[i].bg / 1000) <= currentTime && currentTime <= Math.floor(this
  1756. .newluyinList[i].ed / 1000)) {
  1757. for (let j = 0; j < message.length; j++) {
  1758. let item = message[j]
  1759. if (Math.floor(item.bg / 1000) <= currentTime && currentTime <= Math.floor(item.ed / 1000)) {
  1760. this.scrollId = "dialog" + this.csdFileindex + "text" + item.bg;
  1761. break;
  1762. }
  1763. if (j < message.length - 1 && Math.floor(item.ed / 1000) <= currentTime && currentTime <= Math
  1764. .floor(item.bg / 1000)) {
  1765. this.scrollId = "dialog" + this.csdFileindex + "text" + item.bg;
  1766. break;
  1767. }
  1768. }
  1769. this.textindex = i;
  1770. this.toptextindex = i;
  1771. this.dialogList.push(this.newluyinList[i])
  1772. }
  1773. }
  1774. },
  1775. //长按点击播放
  1776. clickbofang(dialog, item) {
  1777. this.cancelBeast()
  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: space-around;
  1932. .bottomboxs-item {
  1933. width: 45%;
  1934. height: 100%;
  1935. display: flex;
  1936. justify-content: center;
  1937. align-items: center;
  1938. color: #fff;
  1939. background: #008EF2;
  1940. font-size: 36rpx;
  1941. font-weight: bold;
  1942. }
  1943. }
  1944. }
  1945. .headboxhead {
  1946. width: 100%;
  1947. height: 84rpx;
  1948. border-bottom: 1px solid #E0E0E0;
  1949. display: flex;
  1950. .boxhead1 {
  1951. width: 50%;
  1952. color: #303030;
  1953. height: 84rpx;
  1954. line-height: 84rpx;
  1955. font-size: 28rpx;
  1956. text-indent: 30rpx;
  1957. }
  1958. .boxhead2 {
  1959. width: 46%;
  1960. height: 84rpx;
  1961. text-align: right;
  1962. }
  1963. }
  1964. .boxhead2 image {
  1965. width: 36rpx;
  1966. height: 36rpx;
  1967. margin-top: 24rpx;
  1968. }
  1969. .headboxbott {
  1970. width: 100%;
  1971. height: 88rpx;
  1972. display: flex;
  1973. align-items: center;
  1974. .headovfu {
  1975. flex: 1;
  1976. height: 88rpx;
  1977. overflow: hidden;
  1978. }
  1979. .headpade {
  1980. width: 160rpx;
  1981. height: 60rpx;
  1982. display: flex;
  1983. justify-content: center;
  1984. align-items: center;
  1985. border-left: 1px solid #D6D6D6;
  1986. .biaoji {
  1987. min-width: 120rpx;
  1988. height: 48rpx;
  1989. background: #E6625B;
  1990. border-radius: 24rpx;
  1991. text-align: center;
  1992. line-height: 48rpx;
  1993. color: #FFFFFF;
  1994. font-size: 26rpx;
  1995. }
  1996. }
  1997. }
  1998. .fill {
  1999. width: 2rpx;
  2000. height: 41rpx;
  2001. background: #E0E0E0;
  2002. }
  2003. .tmmchen {
  2004. width: 25%;
  2005. height: 88rpx;
  2006. text-align: center;
  2007. color: #666666;
  2008. font-size: 18rpx;
  2009. position: relative;
  2010. .allimg {
  2011. position: absolute;
  2012. width: 168rpx;
  2013. min-height: 210rpx;
  2014. top: -240rpx;
  2015. border: 1px solid #E0E0E0;
  2016. background: #FFFFFF;
  2017. font-size: 26rpx;
  2018. color: #333333;
  2019. text-align: center;
  2020. box-shadow: 10rpx 10rpx 5rpx #888888;
  2021. }
  2022. }
  2023. .tmmchen image {
  2024. width: 40rpx;
  2025. height: 40rpx;
  2026. margin-top: 10rpx;
  2027. margin-bottom: 2rpx;
  2028. }
  2029. .zhezhoa {
  2030. position: fixed;
  2031. top: 0;
  2032. left: 0;
  2033. z-index: 999;
  2034. width: 100%;
  2035. height: 100vh;
  2036. opacity: 0.5;
  2037. background-color: #666666;
  2038. }
  2039. .followingpop-up {
  2040. width: 100%;
  2041. height: 75vh;
  2042. background: #FFFFFF;
  2043. position: fixed;
  2044. background: #FFFFFF;
  2045. left: 0px;
  2046. bottom: 0px;
  2047. z-index: 1000;
  2048. display: flex;
  2049. flex-direction: column;
  2050. // position: absolute;
  2051. .calibration {
  2052. width: 90rpx;
  2053. height: 90rpx;
  2054. background: #2671E2;
  2055. text-align: center;
  2056. line-height: 90rpx;
  2057. border-radius: 50%;
  2058. color: #FFFFFF;
  2059. position: absolute;
  2060. right: 30rpx;
  2061. bottom: 100rpx;
  2062. }
  2063. .guanbibox {
  2064. width: 100%;
  2065. padding-bottom: 20rpx;
  2066. margin-top: 20rpx;
  2067. border-bottom: 1px solid #E0E0E0;
  2068. position: relative;
  2069. .guanbixen {
  2070. width: 30rpx;
  2071. height: 30rpx;
  2072. position: absolute;
  2073. right: 30rpx;
  2074. top: 6rpx;
  2075. }
  2076. .cenisboxtab {
  2077. width: 100%;
  2078. display: flex;
  2079. .cenisboxtabview {
  2080. flex: 1;
  2081. display: flex;
  2082. align-items: center;
  2083. justify-content: center;
  2084. color: #333333;
  2085. font-size: 30rpx;
  2086. font-weight: 600;
  2087. }
  2088. }
  2089. }
  2090. .cenisbox {
  2091. flex: 1;
  2092. overflow: auto;
  2093. .jianbox {
  2094. width: 100%;
  2095. border-bottom: 1px solid #E0E0E0;
  2096. padding-top: 24rpx;
  2097. padding-bottom: 24rpx;
  2098. .jianbox-cen {
  2099. width: 100%;
  2100. height: 78rpx;
  2101. // border-bottom: 1px solid #E0E0E0;
  2102. display: flex;
  2103. .jianboxtext {
  2104. flex: 1;
  2105. height: 100%;
  2106. font-size: 30rpx;
  2107. font-weight: 600;
  2108. line-height: 78rpx;
  2109. color: #333333;
  2110. text-indent: 30rpx;
  2111. }
  2112. .jianboxjian {
  2113. width: 80rpx;
  2114. height: 100%;
  2115. line-height: 78rpx;
  2116. text-align: center;
  2117. }
  2118. }
  2119. .bioqianwayl {
  2120. width: 690rpx;
  2121. margin: 0 auto;
  2122. display: flex;
  2123. flex-wrap: wrap;
  2124. }
  2125. .bioqianwayl view {
  2126. padding-left: 24rpx;
  2127. padding-right: 24rpx;
  2128. padding-top: 10rpx;
  2129. padding-bottom: 10rpx;
  2130. margin-right: 24rpx;
  2131. margin-top: 20rpx;
  2132. border-radius: 8rpx;
  2133. font-size: 26rpx;
  2134. }
  2135. }
  2136. }
  2137. }
  2138. .jiantop {
  2139. width: 14rpx;
  2140. height: 24rpx;
  2141. }
  2142. .jiantop1 {
  2143. width: 20rpx;
  2144. height: 14rpx;
  2145. }
  2146. .sdfsaf {
  2147. padding-left: 24rpx;
  2148. padding-right: 24rpx;
  2149. padding-top: 10rpx;
  2150. padding-bottom: 10rpx;
  2151. border-radius: 8rpx;
  2152. font-size: 26rpx;
  2153. }
  2154. .yixingindexclass {
  2155. border-bottom: 3px solid #2671E2;
  2156. }
  2157. .cenisboxdspl {
  2158. width: 94%;
  2159. margin: 0 auto;
  2160. padding-bottom: 24rpx;
  2161. display: flex;
  2162. flex-wrap: wrap;
  2163. .cenisboxdsplview {
  2164. padding-left: 24rpx;
  2165. padding-right: 24rpx;
  2166. padding-top: 10rpx;
  2167. padding-bottom: 10rpx;
  2168. background: #F4F8FD;
  2169. color: #2671E2;
  2170. font-size: 26rpx;
  2171. margin-right: 24rpx;
  2172. margin-top: 24rpx;
  2173. }
  2174. }
  2175. .bounced {
  2176. width: 570upx;
  2177. background: #FFFFFF;
  2178. z-index: 1000;
  2179. border-radius: 10upx;
  2180. position: fixed;
  2181. left: 50%;
  2182. top: 50%;
  2183. transform: translate(-50%, -50%);
  2184. .headpade {
  2185. margin-top: 10rpx;
  2186. padding: 8rpx 8rpx 8rpx 8rpx;
  2187. background: #108ee9;
  2188. color: #fff;
  2189. border-radius: 16rpx;
  2190. }
  2191. /* 50%为自身尺寸的一半 */
  2192. .jiajinghuatit {
  2193. width: 100%;
  2194. height: 68rpx;
  2195. font-size: 30rpx;
  2196. text-align: center;
  2197. line-height: 68rpx;
  2198. }
  2199. .jiajinghuaview {
  2200. padding: 18rpx 18rpx 18rpx 18rpx;
  2201. display: flex;
  2202. flex-wrap: wrap;
  2203. .jiajinghuaview1 {
  2204. padding: 8rpx 8rpx 8rpx 8rpx;
  2205. font-size: 26rpx;
  2206. border-radius: 12rpx;
  2207. border: 1px solid #979797;
  2208. margin-left: 8rpx;
  2209. }
  2210. .jighuaview2 {
  2211. padding: 8rpx 18rpx 8rpx 18rpx;
  2212. font-size: 26rpx;
  2213. border-radius: 12rpx;
  2214. border: 1px solid #979797;
  2215. margin-left: 20rpx;
  2216. margin-top: 10rpx;
  2217. display: flex;
  2218. .view1-text {
  2219. text-align: center;
  2220. }
  2221. .view1-img {
  2222. width: 50rpx;
  2223. }
  2224. }
  2225. }
  2226. .bounced3 {
  2227. height: 100upx;
  2228. width: 100%;
  2229. margin-top: 40upx;
  2230. border-top: 1px solid #dddddd;
  2231. display: flex;
  2232. }
  2233. .bounced3-1 {
  2234. width: 50%;
  2235. height: 100%;
  2236. text-align: center;
  2237. line-height: 100upx;
  2238. border-right: 1px solid #dddddd;
  2239. font-size: 36upx;
  2240. color: #999999;
  2241. }
  2242. .bounced3-2 {
  2243. width: 50%;
  2244. height: 100%;
  2245. text-align: center;
  2246. line-height: 100upx;
  2247. font-size: 36upx;
  2248. color: #108ee9;
  2249. }
  2250. }
  2251. .viewclace {
  2252. width: 100rpx;
  2253. height: 40rpx;
  2254. text-align: center;
  2255. line-height: 40rpx;
  2256. border-radius: 14rpx;
  2257. margin-right: 34rpx;
  2258. margin-top: 16rpx;
  2259. font-size: 24rpx;
  2260. }
  2261. .bosdttom {
  2262. color: #FFFFFF;
  2263. background-color: #2671E2;
  2264. }
  2265. .dialog-block {
  2266. margin: 20rpx 0;
  2267. border-bottom: 1px solid #ccc;
  2268. .fileName {
  2269. text-align: center;
  2270. margin: 10rpx auto;
  2271. width: 115rpx;
  2272. height: 42rpx;
  2273. line-height: 42rpx;
  2274. background: #EFEFEF;
  2275. border-radius: 4rpx;
  2276. font-size: 20rpx;
  2277. font-weight: 400;
  2278. color: #333333;
  2279. }
  2280. }
  2281. .scroll-Y {
  2282. font-size: 36upx;
  2283. color: #999999;
  2284. background: #FFFFFF;
  2285. margin-top: 30upx;
  2286. flex: 1;
  2287. overflow-y: scroll;
  2288. width: 100%;
  2289. }
  2290. .scroll-Y .text {
  2291. margin: 50upx 30upx;
  2292. line-height: 80upx;
  2293. display: flex;
  2294. align-items: center;
  2295. }
  2296. .scroll-Y .text[data-speaker="2"],
  2297. .scroll-Y .text[data-speaker="4"],
  2298. .scroll-Y .text[data-speaker="6"] {
  2299. flex-direction: row-reverse;
  2300. text-align: right;
  2301. .contentInfo {
  2302. .info {
  2303. color: #ccc;
  2304. font-size: 18rpx;
  2305. font-size: 30rpx;
  2306. padding: 0 28rpx;
  2307. }
  2308. .contentMain {
  2309. display: flex;
  2310. flex-direction: row-reverse;
  2311. align-items: center;
  2312. .content {
  2313. margin-left: 0;
  2314. margin-right: 30upx;
  2315. }
  2316. .play {
  2317. width: 50rpx;
  2318. height: 50rpx;
  2319. margin-right: 20rpx;
  2320. }
  2321. }
  2322. }
  2323. }
  2324. .scroll-Y .text[data-speaker="2"],
  2325. .scroll-Y .text[data-speaker="4"],
  2326. .scroll-Y .text[data-speaker="6"] {
  2327. .contentInfo {
  2328. .info {
  2329. .AudioUserName {
  2330. margin-left: 10rpx;
  2331. }
  2332. display: flex;
  2333. flex-direction: row-reverse;
  2334. }
  2335. }
  2336. }
  2337. .scroll-Y .text {
  2338. .contentInfo {
  2339. .info {
  2340. .AudioUserName {
  2341. margin-right: 10rpx;
  2342. }
  2343. }
  2344. }
  2345. }
  2346. .scroll-Y .text .avatar {
  2347. margin-top: 80rpx;
  2348. width: 64upx;
  2349. height: 64upx;
  2350. line-height: 64upx;
  2351. text-align: center;
  2352. font-size: 36rpx;
  2353. border-radius: 50%;
  2354. background: #F2F2F2;
  2355. color: #008EF2;
  2356. image {
  2357. width: 40upx;
  2358. }
  2359. }
  2360. .checkbox {
  2361. margin: 80rpx 20rpx 0;
  2362. width: 48rpx;
  2363. height: 48rpx;
  2364. display: flex;
  2365. justify-content: center;
  2366. align-items: center;
  2367. border-radius: 50%;
  2368. border: 1rpx solid #70798D;
  2369. &.select {
  2370. border-color: #008EF2;
  2371. background: #008EF2;
  2372. color: #fff;
  2373. }
  2374. }
  2375. .scroll-Y .text .contentInfo .info {
  2376. color: #ccc;
  2377. font-size: 18rpx;
  2378. font-size: 30rpx;
  2379. padding: 0 28rpx;
  2380. }
  2381. .scroll-Y .text .contentInfo .contentMain {
  2382. display: flex;
  2383. align-items: center;
  2384. }
  2385. .scroll-Y .text .contentInfo .contentMain .content {
  2386. margin-left: 30upx;
  2387. line-height: 60rpx;
  2388. text-align: left;
  2389. padding: 0 5px;
  2390. border-radius: 8upx;
  2391. max-width: 442rpx;
  2392. background: #F6F6F6;
  2393. color: #999999;
  2394. position: relative;
  2395. .tankuangcss {
  2396. position: absolute;
  2397. top: -140rpx;
  2398. left: -120rpx;
  2399. width: 308rpx;
  2400. height: 130rpx;
  2401. background-color: #333333;
  2402. font-size: 24rpx;
  2403. color: #FFFFFF;
  2404. padding-top: 4rpx;
  2405. padding-bottom: 4rpx;
  2406. display: flex;
  2407. flex-wrap: wrap;
  2408. border-radius: 15rpx;
  2409. z-index: 1000;
  2410. }
  2411. .bottoms {
  2412. top: unset;
  2413. bottom: -140rpx;
  2414. }
  2415. }
  2416. .scroll-Y .text .contentInfo .contentMain .play {
  2417. width: 50rpx;
  2418. height: 50rpx;
  2419. margin-left: 20rpx;
  2420. }
  2421. .backTop {
  2422. width: 60upx;
  2423. height: 60upx;
  2424. background: rgba(211, 235, 253, 1);
  2425. box-shadow: 0upx 0upx 2upx 4upx rgba(38, 161, 255, 0.04);
  2426. border-radius: 50%;
  2427. position: fixed;
  2428. bottom: 200upx;
  2429. right: 8upx;
  2430. display: flex;
  2431. justify-content: center;
  2432. align-items: center;
  2433. image {
  2434. width: 26upx;
  2435. height: 34upx;
  2436. }
  2437. }
  2438. .jiangshang {
  2439. color: #fff;
  2440. background: #2671E2;
  2441. }
  2442. .jiangshang1 {
  2443. color: #FFFFFF;
  2444. background: #999999;
  2445. }
  2446. // 表单
  2447. .tian-view {
  2448. width: 570upx;
  2449. background-color: #FFFFFF;
  2450. border-bottom: 1px solid #ededee;
  2451. display: flex;
  2452. min-height: 96rpx;
  2453. .tian-view-t1 {
  2454. width: 20rpx;
  2455. font-size: 34rpx;
  2456. height: 34rpx;
  2457. line-height: 110rpx;
  2458. letter-spacing: 0px;
  2459. color: red;
  2460. }
  2461. .tian-view-t2 {
  2462. width: 30%;
  2463. min-height: 96rpx;
  2464. line-height: 96rpx;
  2465. font-size: 34rpx;
  2466. color: #333;
  2467. }
  2468. .tian-view-t3 {
  2469. width: 61%;
  2470. padding-top: 31rpx;
  2471. padding-bottom: 31rpx;
  2472. display: flex;
  2473. .tian-input {
  2474. width: 98%;
  2475. font-size: 34rpx;
  2476. border: none;
  2477. }
  2478. }
  2479. }
  2480. .inputbox {
  2481. width: 100%;
  2482. height: 100rpx;
  2483. display: flex;
  2484. align-items: center;
  2485. justify-content: center;
  2486. border-bottom: 1px solid #E0E0E0;
  2487. .thisinput {
  2488. width: 94%;
  2489. height: 52rpx;
  2490. background: #FFFFFF;
  2491. border-radius: 8rpx;
  2492. border: 1px solid #C9C9C9;
  2493. color: #333333;
  2494. font-size: 26rpx;
  2495. text-indent: 26rpx;
  2496. line-height: 52rpx;
  2497. }
  2498. }
  2499. .biaoqiantom {
  2500. background-color: #008EF2;
  2501. color: #FFFFFF;
  2502. border: none;
  2503. }
  2504. .Level-box {
  2505. padding-bottom: 2rpx;
  2506. .hhhbox {
  2507. width: 100%;
  2508. padding-left: 30rpx;
  2509. padding-right: 30rpx;
  2510. border-bottom: 1rpx solid #E0E0E0;
  2511. background: #FFFFFF;
  2512. // padding-bottom: 32rpx;
  2513. .hsnrtest {
  2514. height: 24rpx;
  2515. font-size: 24rpx;
  2516. font-weight: 400;
  2517. color: #666666;
  2518. line-height: 24rpx;
  2519. }
  2520. .Level3che {
  2521. width: 100%;
  2522. height: 28rpx;
  2523. display: flex;
  2524. line-height: 28rpx;
  2525. align-items: center;
  2526. margin-top: 30rpx;
  2527. .title1 {
  2528. flex: 1;
  2529. font-size: 28rpx;
  2530. color: #2671E2;
  2531. font-weight: 400;
  2532. }
  2533. .gray {
  2534. color: #979797 !important;
  2535. }
  2536. .jiantobox {
  2537. width: 30rpx;
  2538. height: 30rpx;
  2539. display: flex;
  2540. align-items: center;
  2541. .arrow {
  2542. width: 28rpx;
  2543. height: 28rpx;
  2544. }
  2545. }
  2546. }
  2547. }
  2548. .Level2che {
  2549. width: 100%;
  2550. height: 88rpx;
  2551. display: flex;
  2552. line-height: 88rpx;
  2553. align-items: center;
  2554. .title1 {
  2555. flex: 2;
  2556. font-size: 28rpx;
  2557. color: #333333;
  2558. font-weight: 400;
  2559. }
  2560. .leve1-jindu {
  2561. flex: 3;
  2562. display: flex;
  2563. justify-content: center;
  2564. align-items: center;
  2565. .zhixing {
  2566. width: 108rpx;
  2567. height: 44rpx;
  2568. background: #2671E2;
  2569. border-radius: 4rpx;
  2570. font-size: 28rpx;
  2571. text-align: center;
  2572. line-height: 44rpx;
  2573. color: #FFFFFF;
  2574. }
  2575. .zhixing2 {
  2576. width: 108rpx;
  2577. height: 44rpx;
  2578. background: #F8F8F8;
  2579. border-radius: 4rpx;
  2580. font-size: 28rpx;
  2581. text-align: center;
  2582. line-height: 44rpx;
  2583. color: #999999;
  2584. }
  2585. }
  2586. .jiantobox {
  2587. width: 30rpx;
  2588. height: 30rpx;
  2589. display: flex;
  2590. align-items: center;
  2591. .arrow {
  2592. width: 30rpx;
  2593. height: 18rpx;
  2594. }
  2595. }
  2596. }
  2597. .Level1che {
  2598. width: 100%;
  2599. height: 94rpx;
  2600. background: #F5F5F5;
  2601. display: flex;
  2602. line-height: 94rpx;
  2603. align-items: center;
  2604. padding-left: 30rpx;
  2605. padding-right: 30rpx;
  2606. .title1 {
  2607. flex: 2;
  2608. font-size: 30rpx;
  2609. color: #333333;
  2610. font-weight: 400;
  2611. }
  2612. .leve1-jindu {
  2613. flex: 3;
  2614. .jindutiao {
  2615. width: 96%;
  2616. height: 28rpx;
  2617. background: #D5EEE2;
  2618. line-height: 28rpx;
  2619. border-radius: 14rpx;
  2620. position: relative;
  2621. .huanxing {
  2622. height: 100%;
  2623. background: #4FC78F;
  2624. border-radius: 14rpx;
  2625. }
  2626. .text {
  2627. position: absolute;
  2628. top: 0rpx;
  2629. right: 0rpx;
  2630. font-size: 28rpx;
  2631. font-weight: 400;
  2632. color: #333333;
  2633. }
  2634. }
  2635. }
  2636. .jiantobox {
  2637. width: 30rpx;
  2638. height: 30rpx;
  2639. display: flex;
  2640. align-items: center;
  2641. .arrow {
  2642. width: 30rpx;
  2643. height: 18rpx;
  2644. }
  2645. }
  2646. }
  2647. }
  2648. .rotatearrow {
  2649. transform: rotate(270deg);
  2650. }
  2651. .ffectivetext {
  2652. width: 85%;
  2653. margin: 10rpx auto;
  2654. height: 100rpx;
  2655. padding: 20rpx;
  2656. border: 1rpx solid #E4F0FF;
  2657. }
  2658. /deep/ .u-model-title {
  2659. padding: 34rpx 0 16rpx !important;
  2660. }
  2661. .scroll-Y .text.active .content {
  2662. color: #FF7538 !important;
  2663. position: relative;
  2664. }
  2665. .scroll-Y .text.active[data-speaker] .content,
  2666. .scroll-Y .text.active[data-speaker="2"] .content,
  2667. .scroll-Y .text.active[data-speaker="4"] .content,
  2668. .scroll-Y .text.active[data-speaker="6"] .content {
  2669. color: #FF7538 !important;
  2670. position: relative;
  2671. }
  2672. .scroll-Y .isGreen .contentInfo .contentMain .content {
  2673. background: #2BC805 !important;
  2674. color: #FFFFFF;
  2675. }
  2676. </style>