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

2641 wiersze
68 KiB

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