AI销管
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

2550 lignes
65 KiB

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