AI销管
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

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