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.
 
 
 

2707 lignes
70 KiB

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