AI销管
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

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