You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

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