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

2895 wiersze
79 KiB

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