AI销管
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

2540 lines
65 KiB

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