AI销管
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

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