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.
 
 
 

2659 lines
69 KiB

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