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.
 
 
 

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