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.
 
 
 

2847 lines
76 KiB

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