Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

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