Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

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