AI销管
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

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