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

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