您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

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