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.
 
 
 

2909 lines
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. };
  596. },
  597. computed: {
  598. conversionTiame() {
  599. return (e) => {
  600. return this.getTime(e);
  601. }
  602. },
  603. },
  604. filters: {
  605. // ASCII码转换 大写字母A是65 演讲人是从1开始所以num+64
  606. toCapital(num) {
  607. let str = ''
  608. if (num) {
  609. str = String.fromCharCode(num + 64)
  610. }
  611. return str
  612. }
  613. },
  614. onLoad: function(options) {
  615. console.log('audioList', audioList, audioList.length % 100)
  616. console.log(this.pagination(this.pageIndex, this.pageSize, audioList))
  617. this.status = options.status;
  618. this.customerId = options.customerId;
  619. this.itemobj = uni.getStorageSync('searchobj');
  620. console.log(this.itemobj)
  621. this.stateisshow = options.stateisshow;
  622. uni.$on("playNows", (val) => {
  623. this.playNow = val;
  624. })
  625. uni.$on("scrollIds", (val) => {
  626. this.scrollId = val;
  627. })
  628. },
  629. onShow() {
  630. this.Menulist = uni.getStorageSync('weapp_session_Menu_data');
  631. this.Menulist.forEach(item => {
  632. if (item.name == '标记有效无效接待') {
  633. this.Menulistisshow = true;
  634. }
  635. })
  636. this.intention = false;
  637. this.kehuyixiangcenterindex = 0;
  638. this.buildingID = uni.getStorageSync('buildingID').id;
  639. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  640. if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) {
  641. this.methodsisshow = false;
  642. } else {
  643. this.methodsisshow = true;
  644. }
  645. if (this.userInfo.dataCode == 6) {
  646. this.jiaoseshow = false
  647. }
  648. this.roleindex = 0;
  649. if (this.stateisshow == 2) {
  650. this.infos = this.itemobj;
  651. } else {
  652. var pages = getCurrentPages();
  653. var currPage = pages[pages.length - 1]; //当前页面
  654. this.infos = currPage.data.info;
  655. }
  656. this.gituserlist()
  657. this.innerAudioContext = uni.createInnerAudioContext();
  658. this.innerAudioContext.autoplay = false;
  659. this.innerAudioContext.title = '音频';
  660. this.onPlay()
  661. this.onPause()
  662. this.onCanplay()
  663. this.onEnded()
  664. this.onSeeking()
  665. this.onSeeked()
  666. this.TimeUpdate()
  667. this.init(this.infos)
  668. },
  669. onUnload() {
  670. //暂停
  671. this.innerAudioContext.pause()
  672. // 销毁
  673. // this.innerAudioContext.destroy();
  674. },
  675. methods: {
  676. // 分页
  677. pagination(pageNo, pageSize, array) {
  678. var offset = (pageNo - 1) * pageSize;
  679. return (offset + pageSize >= array.length) ? array.slice(offset, array.length) : array.slice(offset,
  680. offset + pageSize);
  681. },
  682. // 上一页
  683. prePageSize() {
  684. // 判断是否为开始的条数
  685. if (this.pageIndex == 1) {
  686. uni.showToast({
  687. title: '没有上一页了~'
  688. })
  689. return
  690. }
  691. this.pagination(this.pageIndex--, this.pageSize, audioList)
  692. },
  693. // 下一页
  694. nextPageSize() {
  695. if (this.pageIndex == this.audioListSize) {
  696. uni.showToast({
  697. title: '没有下一页了~'
  698. })
  699. return
  700. }
  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. console.log('暂停播放!');
  1238. this.audioPlay = false
  1239. });
  1240. },
  1241. onCanplay() {
  1242. this.innerAudioContext.onCanplay((callback) => {
  1243. console.log("缓冲回调", this.innerAudioContext.duration);
  1244. })
  1245. },
  1246. onEnded() {
  1247. this.innerAudioContext.onEnded(() => {
  1248. // 结束播放监听
  1249. console.log('播放结束!');
  1250. this.audioPlay = false;
  1251. });
  1252. },
  1253. onSeeking() {
  1254. this.innerAudioContext.onSeeking((res) => {
  1255. console.log("进行跳转", res);
  1256. })
  1257. },
  1258. onSeeked() {
  1259. this.innerAudioContext.onSeeked((res) => {
  1260. console.log("结束跳转", res);
  1261. this.$forceUpdate()
  1262. });
  1263. },
  1264. TimeUpdate() {
  1265. this.innerAudioContext.onTimeUpdate(() => {
  1266. // var pages = getCurrentPages();
  1267. // if(pages[pages.length-1].route!="pages/mine/details2"){
  1268. // this.innerAudioContext.destroy();
  1269. // }
  1270. const {
  1271. currentTime,
  1272. duration
  1273. } = this.innerAudioContext;
  1274. console.log(currentTime, 'TimeUpdate, currentTime')
  1275. this.playNow = parseInt(currentTime * 1000)
  1276. console.log(this.playNow)
  1277. if (this.dialogList.length == 0) {
  1278. return
  1279. } else {
  1280. const message = this.dialogList[0].message;
  1281. for (let i = 0; i < message.length; i++) {
  1282. if (Number(message[i].bg) < this.playNow && Number(message[i].ed) > this.playNow) {
  1283. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  1284. break;
  1285. }
  1286. }
  1287. }
  1288. const currTimeStr = this.formatTime(currentTime);
  1289. this.sliderValue = parseInt(currentTime);
  1290. // 变动的时间
  1291. this.currentTimeStr = currTimeStr;
  1292. //进度条最大值
  1293. this.sliderMax = this.luyinList[this.csdFileindex].recordDuration;
  1294. this.$forceUpdate()
  1295. });
  1296. },
  1297. init(info) {
  1298. this.sliderMax = 0; //进度条最大值
  1299. this.timeStr = "00:00"; //总的时间
  1300. const parames = {
  1301. pageNum: 1,
  1302. pageSize: 100,
  1303. query: {
  1304. customerId: this.customerId
  1305. }
  1306. }
  1307. this.$u.post("/corpus/findByPage", parames).then(res => {
  1308. if (res && res.length) {
  1309. let alltime = 1 + res[0].recordDuration;
  1310. this.calibration = res[0].calibration;
  1311. if (this.calibration == 0) {
  1312. this.kehuyixiangcenterindex = 0;
  1313. } else {
  1314. this.kehuyixiangcenterindex = 1;
  1315. }
  1316. this.alltimeStr = this.getTime(alltime)
  1317. if (info.bg != 0) {
  1318. this.luyinList = res;
  1319. this.recordPath = res[0].recordPath
  1320. this.sliderMax = this.getTime(res[0].recordDuration)
  1321. this.timeStr = this.getTime(res[0].recordDuration)
  1322. this.date = res[0].receptionTime;
  1323. this.getCorpusAnalysis(info);
  1324. this.creatAudio()
  1325. } else {
  1326. this.luyinList = res;
  1327. this.recordPath = res[0].recordPath
  1328. this.sliderMax = this.getTime(res[0].recordDuration)
  1329. this.timeStr = this.getTime(res[0].recordDuration)
  1330. this.date = res[0].receptionTime;
  1331. this.getCorpusAnalysis(info);
  1332. this.creatAudio()
  1333. }
  1334. }
  1335. })
  1336. },
  1337. //搜索跳转
  1338. adasdasdasd(e) {
  1339. const currTimeStr = this.formatTime(e)
  1340. this.currentTimeStr = currTimeStr
  1341. this.innerAudioContext.seek(e);
  1342. if (uni.getStorageSync('entrance') == 1) {
  1343. return
  1344. } else {
  1345. this.innerAudioContext.play();
  1346. }
  1347. },
  1348. //下一页
  1349. ltolower() {
  1350. var lengthcz = this.newluyinList.length - 1;
  1351. if (this.textindex >= lengthcz) {
  1352. uni.showToast({
  1353. title: '到底了',
  1354. duration: 2000
  1355. });
  1356. return
  1357. } else {
  1358. this.textindex = this.textindex + 1;
  1359. this.newluyinList[this.textindex].message.forEach(item => {
  1360. this.dialogList[0].message.push(item)
  1361. })
  1362. }
  1363. console.log("下一页", this.textindex)
  1364. },
  1365. //上一页
  1366. rolltoupper() {
  1367. if (this.toptextindex == 0) {
  1368. // uni.showToast({
  1369. // title: '到头了',
  1370. // duration: 2000
  1371. // });
  1372. return
  1373. } else {
  1374. if (this.dialogList[0] == undefined) {
  1375. return
  1376. } else {
  1377. this.toptextindex = this.toptextindex - 1;
  1378. let reverselist = this.newluyinList[this.toptextindex].message;
  1379. let runlist = reverselist.reverse();
  1380. runlist.forEach(item => {
  1381. this.dialogList[0].message.unshift(item)
  1382. })
  1383. }
  1384. }
  1385. console.log("上一页", this.toptextindex)
  1386. },
  1387. // 取消全部加精
  1388. notappick() {
  1389. var that = this;
  1390. uni.showModal({
  1391. title: '提示',
  1392. content: '确认取消加精?',
  1393. success: function(res) {
  1394. if (res.confirm) {
  1395. console.log('用户点击确定');
  1396. uni.request({
  1397. url: config.service.delATD + "?carId=" + that.customerId + '&itemId=' +
  1398. that.buildingID,
  1399. method: "GET",
  1400. header: {
  1401. 'content-type': 'application/json',
  1402. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  1403. .token
  1404. },
  1405. success: (data) => {
  1406. if (data.data.code == 10000) {
  1407. that.status = 1
  1408. uni.showToast({
  1409. title: '取消成功',
  1410. duration: 2000
  1411. });
  1412. } else {
  1413. uni.showToast({
  1414. title: data.data.message,
  1415. duration: 2000
  1416. });
  1417. }
  1418. }
  1419. })
  1420. } else if (res.cancel) {
  1421. console.log('用户点击取消');
  1422. }
  1423. }
  1424. });
  1425. },
  1426. //全部加精
  1427. tappick(i) {
  1428. var that = this;
  1429. uni.showModal({
  1430. title: '提示',
  1431. content: '确认加精?',
  1432. success: function(res) {
  1433. if (res.confirm) {
  1434. console.log('用户点击确定');
  1435. let objdata = {
  1436. "carId": that.customerId, //客户id
  1437. "status": 0,
  1438. "itemId": that.buildingID,
  1439. }
  1440. uni.request({
  1441. url: config.service.addATD,
  1442. method: "POST",
  1443. header: {
  1444. 'content-type': 'application/json',
  1445. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  1446. .token
  1447. },
  1448. data: objdata,
  1449. success: (data) => {
  1450. if (data.data.code == 10000) {
  1451. that.status = 0
  1452. uni.showToast({
  1453. title: '加精成功',
  1454. duration: 2000
  1455. });
  1456. } else {
  1457. uni.showToast({
  1458. title: data.data.message,
  1459. duration: 2000
  1460. });
  1461. }
  1462. }
  1463. })
  1464. } else if (res.cancel) {
  1465. console.log('用户点击取消');
  1466. }
  1467. }
  1468. });
  1469. },
  1470. //标签选择
  1471. tapbiaoqianclisck(index) {
  1472. this.biaoqianindex = index;
  1473. this.biaoqianid = this.biaoqianlist[index].id
  1474. },
  1475. //复制
  1476. clickcopy() {
  1477. var that = this;
  1478. uni.setClipboardData({
  1479. data: that.thewrongword,
  1480. success: function() {
  1481. that.dialogList.forEach(res => {
  1482. res.message.forEach(asd => {
  1483. asd.isshow = false;
  1484. })
  1485. })
  1486. that.$forceUpdate();
  1487. console.log('success');
  1488. }
  1489. });
  1490. },
  1491. //确认加入常错词
  1492. Confirmtheexit() {
  1493. if(this.reswrongword.length>8 || this.thewrongword.length>8){
  1494. this.$refs.uToast.show({
  1495. title: '正确词错误词不能超过8个字',
  1496. type: 'warning',
  1497. })
  1498. }else{
  1499. let reg = /^[0-9]+$/
  1500. if (reg.test(this.thewrongword)) {
  1501. this.$refs.uToast.show({
  1502. title: '错误词不能为纯数字',
  1503. type: 'warning',
  1504. })
  1505. } else {
  1506. if (this.thewrongword) {
  1507. if (this.reswrongword) {
  1508. let parames = {
  1509. customerId: this.customerId,
  1510. cupid: this.luyinList[this.csdFileindex].id,
  1511. wrongWord: this.thewrongword, //错误词
  1512. correctWord: this.reswrongword, //正确词
  1513. translateHtmlContent: this.messagelisy,
  1514. }
  1515. this.isshow2 = false;
  1516. let sas = this.textItself.replace(this.thewrongword, this.reswrongword)
  1517. this.dialogList[this.argtextindex1].message[this.argtextindex2].onebest = sas
  1518. this.dialogList.forEach(res => {
  1519. res.message.forEach(asd => {
  1520. asd.isshow = false;
  1521. })
  1522. })
  1523. this.$u.post("/corpus/addCorrectWord", parames).then(data => {
  1524. this.thewrongword = "";
  1525. this.reswrongword = "";
  1526. })
  1527. } else {
  1528. uni.showToast({
  1529. title: '正确值不能为空',
  1530. duration: 2000
  1531. });
  1532. return
  1533. }
  1534. } else {
  1535. uni.showToast({
  1536. title: '错误词不能为空',
  1537. duration: 2000
  1538. });
  1539. return
  1540. }
  1541. }
  1542. }
  1543. },
  1544. //取消加入常错词
  1545. Cancelout() {
  1546. this.isshow2 = false;
  1547. this.dialogList.forEach(res => {
  1548. res.message.forEach(asd => {
  1549. asd.isshow = false;
  1550. })
  1551. })
  1552. },
  1553. //加入长错词
  1554. Oftenthewrongword() {
  1555. this.isNum = false;
  1556. this.reswrongword = "";
  1557. this.isshow2 = true;
  1558. let reg = /^[0-9]+$/
  1559. if (reg.test(this.thewrongword)) {
  1560. this.isNum = true
  1561. }
  1562. },
  1563. //加精华
  1564. Addtheessence() {
  1565. this.isshow3 = true;
  1566. this.biaoqianlist = []
  1567. let parames = {
  1568. "itemId": this.buildingID
  1569. }
  1570. this.$u.post("/addtodigest/findAllYi", parames).then(data => {
  1571. this.biaoqianlist = data
  1572. this.biaoqianlist.unshift({
  1573. name: "逼单话术",
  1574. id: 0
  1575. })
  1576. })
  1577. // util.getRequestPromise(config.service.findAllYi, {"itemId":this.buildingID}, false).then(data => {
  1578. // this.biaoqianlist = data
  1579. // this.biaoqianlist.unshift({
  1580. // name: "逼单话术",
  1581. // id: 0
  1582. // })
  1583. // });
  1584. },
  1585. // 取消加精
  1586. Cancelout2() {
  1587. this.isshow3 = false;
  1588. this.dialogList.forEach(res => {
  1589. res.message.forEach(asd => {
  1590. asd.isshow = false;
  1591. })
  1592. })
  1593. },
  1594. // 确认加精
  1595. Confirmtheexit2() {
  1596. if (this.biaoqianid) {
  1597. this.biaoqianid = this.biaoqianid
  1598. } else {
  1599. this.biaoqianid = 0
  1600. }
  1601. this.isshow3 = false;
  1602. this.dialogList.forEach(res => {
  1603. res.message.forEach(asd => {
  1604. asd.isshow = false;
  1605. })
  1606. })
  1607. let objdata = {
  1608. "itemId": this.buildingID,
  1609. "carId": this.customerId, //客户id
  1610. "startTime": this.changanitem.bg, //开始时间
  1611. "startFile": this.duihuawenjianid, //对话所在录音文件id
  1612. "endTime": this.changanitem.ed, //结束时间
  1613. "marketingId": this.biaoqianid, //对应一级父id
  1614. "jjTransfer": this.changanitem.onebest, //选中对话
  1615. "status": 1
  1616. }
  1617. uni.request({
  1618. url: config.service.addATD,
  1619. method: "POST",
  1620. header: {
  1621. 'content-type': 'application/json',
  1622. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1623. },
  1624. data: objdata,
  1625. success: (data) => {
  1626. if (data.data.code == 10000) {
  1627. uni.showToast({
  1628. title: '加精成功',
  1629. duration: 2000
  1630. });
  1631. } else {
  1632. uni.showToast({
  1633. title: data.data.message,
  1634. duration: 2000
  1635. });
  1636. }
  1637. }
  1638. })
  1639. },
  1640. //长按对话
  1641. changanxiaoguo(item, index, i) {
  1642. this.messagelisy = [];
  1643. this.changanitem = {};
  1644. this.duihuawenjianid = "",
  1645. this.dialogList.forEach(res => {
  1646. res.message.forEach(asd => {
  1647. asd.isshow = false;
  1648. })
  1649. })
  1650. this.changanitem = item;
  1651. this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
  1652. this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow;
  1653. this.textItself = item.onebest;
  1654. let onebest = item.onebest;
  1655. this.thewrongword = onebest.replace(/<.*?>/ig, "");
  1656. this.messagelisy = this.dialogList[i].message
  1657. this.argtextindex1 = i;
  1658. this.argtextindex2 = index;
  1659. },
  1660. //回到顶部
  1661. gotoTop() {
  1662. this.scrollId = null;
  1663. this.$nextTick(() => {
  1664. this.scrollId = "top";
  1665. })
  1666. },
  1667. //切换tab
  1668. changeTab(type) {
  1669. if (type == 0) {
  1670. this.tab = 0
  1671. } else {
  1672. this.tab = 1;
  1673. this.getRatelist();
  1674. }
  1675. },
  1676. //评分上下显隐
  1677. changeshow(item, type) {
  1678. item.show = !item.show;
  1679. },
  1680. changeshow2(item, type) {
  1681. item.show = !item.show;
  1682. },
  1683. // 获取评分
  1684. getRatelist() {
  1685. if (this.ratelist.length == 0) {
  1686. uni.showLoading({
  1687. title: '加载中'
  1688. });
  1689. this.$u.get("/customer/findzkMByCusId", {
  1690. cusId: this.customerId
  1691. }).then(res => {
  1692. if (res.length) {
  1693. let level1 = []
  1694. let level2rate = 0
  1695. res.forEach(item => {
  1696. if (item.pid == 0) {
  1697. level1.push({
  1698. id: item.marketingId,
  1699. rate: item.fraction,
  1700. name: item.name,
  1701. sort: item.sort,
  1702. show: false,
  1703. ratepercent: 0,
  1704. children: []
  1705. })
  1706. } else {
  1707. if (item.selected == 0) {
  1708. level2rate += item.fraction
  1709. }
  1710. }
  1711. })
  1712. this.totalRate = level2rate;
  1713. res.forEach(subitem => {
  1714. let subitempid = subitem.pid
  1715. level1.forEach(item => {
  1716. if (subitempid == item.id) {
  1717. if (subitem.selected == 0) {
  1718. item.ratepercent += subitem.fraction
  1719. }
  1720. item.children.push({
  1721. id: subitem.id,
  1722. rate: subitem.fraction,
  1723. selected: subitem.selected,
  1724. name: subitem.name,
  1725. show: false,
  1726. marketingId: subitem.marketingId,
  1727. children: []
  1728. })
  1729. }
  1730. })
  1731. })
  1732. res.forEach(subitem => {
  1733. let subitempid = subitem.pid
  1734. level1.forEach(chen => {
  1735. chen.children.forEach(zxc => {
  1736. if (subitempid == zxc.marketingId) {
  1737. zxc.children.push({
  1738. id: subitem.id,
  1739. rate: subitem.fraction,
  1740. selected: subitem.selected,
  1741. name: subitem.name,
  1742. marketingId: subitem.marketingId,
  1743. })
  1744. }
  1745. })
  1746. })
  1747. })
  1748. level1[0].show = true;
  1749. level1[0].children[0].show = true;
  1750. this.ratelist = level1
  1751. }
  1752. setTimeout(function() {
  1753. uni.hideLoading();
  1754. }, 1000);
  1755. })
  1756. }
  1757. },
  1758. //--------------------------------- 获取转义后的对话结果
  1759. getCorpusAnalysis(info) {
  1760. this.dialogList = [];
  1761. this.newluyinList = []
  1762. uni.request({
  1763. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  1764. "&bg=" + info.bg + "&speaker=" + this.roleindex + '&voFlag=0', //仅为示例,并非真实接口地址。
  1765. method: "GET",
  1766. header: {
  1767. 'content-type': 'application/json',
  1768. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1769. },
  1770. success: (data) => {
  1771. this.isShowMark = data.data.data.viewNameFlag
  1772. this.tablist = [];
  1773. this.roleindexbiaoji = 0;
  1774. let jsonInfo = JSON.parse(data.data.data.audioContent);
  1775. for (var i = 0; i <= data.data.data.speakerNum; i++) {
  1776. if (i === 0) {
  1777. this.tablist.push({
  1778. name: '全部'
  1779. })
  1780. } else {
  1781. this.tablist.push({
  1782. name: String.fromCharCode(i + 64)
  1783. })
  1784. }
  1785. }
  1786. if (data.data.data.speaker == null) {
  1787. this.dshfkjsdkksodofydwfkhwdfkjh = 0;
  1788. } else {
  1789. if (data.data.data.viewNameFlag == 1) {
  1790. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data
  1791. .speaker]
  1792. .name;
  1793. } else {
  1794. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data
  1795. .speaker]
  1796. .name + "顾问";
  1797. }
  1798. this.roleindexbiaoji = data.data.data.speaker - 1;
  1799. this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1;
  1800. }
  1801. if (data.data.data.viewNameFlag == 1) {
  1802. let p = [{
  1803. name: '顾问'
  1804. }]
  1805. this.tablist = [...this.tablist, ...p]
  1806. this.isSw = true
  1807. } else {
  1808. this.isSw = false
  1809. }
  1810. this.speaker = data.data.data.speaker;
  1811. //上拉标记点
  1812. this.textindex = data.data.data.index;
  1813. //下拉标记点
  1814. this.toptextindex = data.data.data.index;
  1815. jsonInfo.forEach(item => {
  1816. item.message = JSON.parse(item.onebest)
  1817. item.backindex = this.csdFileindex;
  1818. if (info.onebest) {
  1819. item.message.forEach(che => {
  1820. if (che.onebest == info.onebest) {
  1821. che.onebest =
  1822. `<font style='color: red'>${che.onebest}</font>`;
  1823. }
  1824. })
  1825. }
  1826. })
  1827. this.newluyinList = jsonInfo;
  1828. this.dialogList.push(jsonInfo[this.textindex]);
  1829. var itc = parseInt(info.bg / 1000)
  1830. this.adasdasdasd(itc)
  1831. }
  1832. })
  1833. },
  1834. getTime(time) {
  1835. return util.formatSecond(time)
  1836. },
  1837. // 录音暂停播放
  1838. changePlayState() {
  1839. if (this.audioPlay == false) {
  1840. this.innerAudioContext.play();
  1841. } else {
  1842. this.innerAudioContext.pause()
  1843. }
  1844. },
  1845. //音频前进回退
  1846. sliderChangeComplate(e) {
  1847. let platetime = e.detail.value * 1000;
  1848. this.dialogList = []
  1849. uni.request({
  1850. url: config.service.fastForward + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  1851. "&bg=" + platetime, //仅为示例,并非真实接口地址。
  1852. method: "GET",
  1853. header: {
  1854. 'content-type': 'application/json',
  1855. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1856. },
  1857. success: (data) => {
  1858. this.textindex = data.data.data.index;
  1859. this.toptextindex = data.data.data.index;
  1860. if (data.data.data.index > this.newluyinList.length) {
  1861. this.dialogList.push(this.newluyinList[0])
  1862. } else {
  1863. this.dialogList.push(this.newluyinList[data.data.data.index])
  1864. }
  1865. console.log(e.detail, '1233333333333333333333333333333333333333333333333333333333333')
  1866. const currTimeStr = this.formatTime(e.detail.value)
  1867. this.currentTimeStr = currTimeStr
  1868. this.innerAudioContext.seek(e.detail.value);
  1869. this.innerAudioContext.play();
  1870. }
  1871. })
  1872. },
  1873. //长按点击播放
  1874. clickbofang(dialog, item) {
  1875. this.innerAudioContext.pause()
  1876. this.dialogList.forEach(res => {
  1877. res.message.forEach(asd => {
  1878. asd.isshow = false;
  1879. })
  1880. })
  1881. this.$forceUpdate()
  1882. let platetime = item.bg;
  1883. let newtime = item.bg / 1000;
  1884. console.log(newtime, 'newTime')
  1885. this.dialogList = []
  1886. uni.request({
  1887. url: config.service.fastForward + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  1888. "&bg=" + platetime, //仅为示例,并非真实接口地址。
  1889. method: "GET",
  1890. header: {
  1891. 'content-type': 'application/json',
  1892. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1893. },
  1894. success: (data) => {
  1895. this.textindex = data.data.data.index;
  1896. this.toptextindex = data.data.data.index;
  1897. this.dialogList.push(this.newluyinList[data.data.data.index])
  1898. const currTimeStr = this.formatTime(newtime)
  1899. console.log(currTimeStr, 'currTimeStr')
  1900. this.currentTimeStr = currTimeStr
  1901. this.innerAudioContext.seek(newtime);
  1902. this.innerAudioContext.play();
  1903. }
  1904. })
  1905. },
  1906. //录音实例
  1907. creatAudio() {
  1908. this.innerAudioContext = uni.createInnerAudioContext();
  1909. if (uni.getStorageSync('entrance') == 1) {
  1910. this.innerAudioContext.autoplay = false;
  1911. } else {
  1912. this.innerAudioContext.autoplay = true;
  1913. }
  1914. this.innerAudioContext.src = this.recordPath;
  1915. this.innerAudioContext.title = '音频';
  1916. this.onPlay()
  1917. this.onPause()
  1918. this.onCanplay()
  1919. this.onEnded()
  1920. this.onSeeking()
  1921. this.onSeeked()
  1922. this.TimeUpdate()
  1923. },
  1924. formatTime(num) {
  1925. //格式化时间格式
  1926. num = num.toFixed(0);
  1927. let second = num % 60;
  1928. if (second < 10) second = '0' + second;
  1929. let min = Math.floor(num / 60);
  1930. if (min < 10) min = '0' + min;
  1931. return min + ":" + second;
  1932. },
  1933. changeEditing() {
  1934. this.dialogListres[0].message.forEach(asd => {
  1935. asd.isshow = false;
  1936. })
  1937. }
  1938. },
  1939. }
  1940. </script>
  1941. <style lang="scss" scoped>
  1942. .box {
  1943. width: 100%;
  1944. height: 100vh;
  1945. display: flex;
  1946. flex-direction: column;
  1947. .pingfenbox {
  1948. width: 100%;
  1949. height: 60rpx;
  1950. line-height: 60rpx;
  1951. border-bottom: 1px solid #E0E0E0;
  1952. display: flex;
  1953. }
  1954. .pingfenbox view {
  1955. flex: 1;
  1956. text-align: center;
  1957. font-size: 28rpx;
  1958. text-indent: 20rpx;
  1959. }
  1960. .activecllasscet {
  1961. background: #2671E2;
  1962. color: #FFFFFF;
  1963. }
  1964. .title1-12 {
  1965. font-size: 28rpx;
  1966. color: #2671E2;
  1967. font-weight: 400;
  1968. text-indent: 30rpx;
  1969. margin-top: 18rpx;
  1970. }
  1971. .headbox {
  1972. width: 100%;
  1973. min-height: 173rpx;
  1974. border-bottom: 1px solid #E0E0E0;
  1975. }
  1976. .zhuti {
  1977. flex: 1;
  1978. overflow: auto;
  1979. }
  1980. .bottombox {
  1981. width: 100%;
  1982. height: 170rpx;
  1983. border-top: 1px solid #E0E0E0;
  1984. .bottomhead {
  1985. width: 100%;
  1986. height: 81rpx;
  1987. border-bottom: 1px solid #E0E0E0;
  1988. display: flex;
  1989. justify-content: space-between;
  1990. align-items: center;
  1991. .audio-slider {
  1992. width: 87%;
  1993. display: flex;
  1994. justify-content: space-between;
  1995. align-items: center;
  1996. padding-right: 30rpx;
  1997. }
  1998. .audio-slider .slider {
  1999. width: 100%;
  2000. padding: 0px 15rpx;
  2001. box-sizing: border-box;
  2002. }
  2003. .audio-time {
  2004. width: 110rpx;
  2005. text-align: right;
  2006. font-size: 26rpx;
  2007. line-height: 28rpx;
  2008. color: #70798D;
  2009. display: flex;
  2010. justify-content: space-between;
  2011. }
  2012. .audio-play {
  2013. width: 48rpx;
  2014. height: 48rpx;
  2015. flex-shrink: 0;
  2016. }
  2017. .audio-play .image {
  2018. width: 100%;
  2019. height: 100%;
  2020. margin-left: 30rpx;
  2021. }
  2022. }
  2023. .botbotmm {
  2024. width: 100%;
  2025. height: 88rpx;
  2026. display: flex;
  2027. align-items: center;
  2028. }
  2029. }
  2030. }
  2031. .headboxhead {
  2032. width: 100%;
  2033. height: 84rpx;
  2034. border-bottom: 1px solid #E0E0E0;
  2035. display: flex;
  2036. .boxhead1 {
  2037. width: 50%;
  2038. color: #303030;
  2039. height: 84rpx;
  2040. line-height: 84rpx;
  2041. font-size: 28rpx;
  2042. text-indent: 30rpx;
  2043. }
  2044. .boxhead2 {
  2045. width: 46%;
  2046. height: 84rpx;
  2047. text-align: right;
  2048. }
  2049. }
  2050. .boxhead2 image {
  2051. width: 36rpx;
  2052. height: 36rpx;
  2053. margin-top: 24rpx;
  2054. }
  2055. .headboxbott {
  2056. width: 100%;
  2057. height: 88rpx;
  2058. display: flex;
  2059. align-items: center;
  2060. .headovfu {
  2061. flex: 1;
  2062. height: 88rpx;
  2063. overflow: hidden;
  2064. }
  2065. .headpade {
  2066. width: 160rpx;
  2067. height: 60rpx;
  2068. display: flex;
  2069. justify-content: center;
  2070. align-items: center;
  2071. border-left: 1px solid #D6D6D6;
  2072. .biaoji {
  2073. min-width: 120rpx;
  2074. height: 48rpx;
  2075. background: #E6625B;
  2076. border-radius: 24rpx;
  2077. text-align: center;
  2078. line-height: 48rpx;
  2079. color: #FFFFFF;
  2080. font-size: 26rpx;
  2081. }
  2082. }
  2083. }
  2084. .fill {
  2085. width: 2rpx;
  2086. height: 41rpx;
  2087. background: #E0E0E0;
  2088. }
  2089. .tmmchen {
  2090. width: 25%;
  2091. height: 88rpx;
  2092. text-align: center;
  2093. color: #666666;
  2094. font-size: 18rpx;
  2095. position: relative;
  2096. .allimg {
  2097. position: absolute;
  2098. width: 168rpx;
  2099. top: -152rpx;
  2100. border: 1px solid #E0E0E0;
  2101. background: #FFFFFF;
  2102. font-size: 26rpx;
  2103. color: #333333;
  2104. text-align: center;
  2105. }
  2106. }
  2107. .tmmchen image {
  2108. width: 40rpx;
  2109. height: 40rpx;
  2110. margin-top: 10rpx;
  2111. margin-bottom: 2rpx;
  2112. }
  2113. .zhezhoa {
  2114. position: fixed;
  2115. top: 0;
  2116. left: 0;
  2117. z-index: 999;
  2118. width: 100%;
  2119. height: 100vh;
  2120. opacity: 0.5;
  2121. background-color: #666666;
  2122. }
  2123. .followingpop-up {
  2124. width: 100%;
  2125. height: 75vh;
  2126. background: #FFFFFF;
  2127. position: fixed;
  2128. background: #FFFFFF;
  2129. left: 0px;
  2130. bottom: 0px;
  2131. z-index: 1000;
  2132. display: flex;
  2133. flex-direction: column;
  2134. // position: absolute;
  2135. .calibration {
  2136. width: 90rpx;
  2137. height: 90rpx;
  2138. background: #2671E2;
  2139. text-align: center;
  2140. line-height: 90rpx;
  2141. border-radius: 50%;
  2142. color: #FFFFFF;
  2143. position: absolute;
  2144. right: 30rpx;
  2145. bottom: 100rpx;
  2146. }
  2147. .guanbibox {
  2148. width: 100%;
  2149. padding-bottom: 20rpx;
  2150. margin-top: 20rpx;
  2151. border-bottom: 1px solid #E0E0E0;
  2152. position: relative;
  2153. .guanbixen {
  2154. width: 30rpx;
  2155. height: 30rpx;
  2156. position: absolute;
  2157. right: 30rpx;
  2158. top: 6rpx;
  2159. }
  2160. .cenisboxtab {
  2161. width: 100%;
  2162. display: flex;
  2163. .cenisboxtabview {
  2164. flex: 1;
  2165. display: flex;
  2166. align-items: center;
  2167. justify-content: center;
  2168. color: #333333;
  2169. font-size: 30rpx;
  2170. font-weight: 600;
  2171. }
  2172. }
  2173. }
  2174. .cenisbox {
  2175. flex: 1;
  2176. overflow: auto;
  2177. .jianbox {
  2178. width: 100%;
  2179. border-bottom: 1px solid #E0E0E0;
  2180. padding-top: 24rpx;
  2181. padding-bottom: 24rpx;
  2182. .jianbox-cen {
  2183. width: 100%;
  2184. height: 78rpx;
  2185. // border-bottom: 1px solid #E0E0E0;
  2186. display: flex;
  2187. .jianboxtext {
  2188. flex: 1;
  2189. height: 100%;
  2190. font-size: 30rpx;
  2191. font-weight: 600;
  2192. line-height: 78rpx;
  2193. color: #333333;
  2194. text-indent: 30rpx;
  2195. }
  2196. .jianboxjian {
  2197. width: 80rpx;
  2198. height: 100%;
  2199. line-height: 78rpx;
  2200. text-align: center;
  2201. }
  2202. }
  2203. .bioqianwayl {
  2204. width: 690rpx;
  2205. margin: 0 auto;
  2206. display: flex;
  2207. flex-wrap: wrap;
  2208. }
  2209. .bioqianwayl view {
  2210. padding-left: 24rpx;
  2211. padding-right: 24rpx;
  2212. padding-top: 10rpx;
  2213. padding-bottom: 10rpx;
  2214. margin-right: 24rpx;
  2215. margin-top: 20rpx;
  2216. border-radius: 8rpx;
  2217. font-size: 26rpx;
  2218. }
  2219. }
  2220. }
  2221. }
  2222. .jiantop {
  2223. width: 14rpx;
  2224. height: 24rpx;
  2225. }
  2226. .jiantop1 {
  2227. width: 20rpx;
  2228. height: 14rpx;
  2229. }
  2230. .sdfsaf {
  2231. padding-left: 24rpx;
  2232. padding-right: 24rpx;
  2233. padding-top: 10rpx;
  2234. padding-bottom: 10rpx;
  2235. border-radius: 8rpx;
  2236. font-size: 26rpx;
  2237. }
  2238. .yixingindexclass {
  2239. border-bottom: 3px solid #2671E2;
  2240. }
  2241. .cenisboxdspl {
  2242. width: 94%;
  2243. margin: 0 auto;
  2244. padding-bottom: 24rpx;
  2245. display: flex;
  2246. flex-wrap: wrap;
  2247. .cenisboxdsplview {
  2248. padding-left: 24rpx;
  2249. padding-right: 24rpx;
  2250. padding-top: 10rpx;
  2251. padding-bottom: 10rpx;
  2252. background: #F4F8FD;
  2253. color: #2671E2;
  2254. font-size: 26rpx;
  2255. margin-right: 24rpx;
  2256. margin-top: 24rpx;
  2257. }
  2258. }
  2259. .bounced {
  2260. width: 570upx;
  2261. background: #FFFFFF;
  2262. z-index: 1000;
  2263. border-radius: 10upx;
  2264. position: fixed;
  2265. left: 50%;
  2266. top: 50%;
  2267. transform: translate(-50%, -50%);
  2268. .headpade {
  2269. margin-top: 10rpx;
  2270. padding: 8rpx 8rpx 8rpx 8rpx;
  2271. background: #108ee9;
  2272. color: #fff;
  2273. border-radius: 16rpx;
  2274. }
  2275. /* 50%为自身尺寸的一半 */
  2276. .jiajinghuatit {
  2277. width: 100%;
  2278. height: 68rpx;
  2279. font-size: 30rpx;
  2280. text-align: center;
  2281. line-height: 68rpx;
  2282. }
  2283. .jiajinghuaview {
  2284. padding: 18rpx 18rpx 18rpx 18rpx;
  2285. display: flex;
  2286. flex-wrap: wrap;
  2287. .jiajinghuaview1 {
  2288. padding: 8rpx 8rpx 8rpx 8rpx;
  2289. font-size: 26rpx;
  2290. border-radius: 12rpx;
  2291. border: 1px solid #979797;
  2292. margin-left: 8rpx;
  2293. }
  2294. .jighuaview2 {
  2295. padding: 8rpx 18rpx 8rpx 18rpx;
  2296. font-size: 26rpx;
  2297. border-radius: 12rpx;
  2298. border: 1px solid #979797;
  2299. margin-left: 20rpx;
  2300. margin-top: 10rpx;
  2301. display: flex;
  2302. .view1-text {
  2303. text-align: center;
  2304. }
  2305. .view1-img {
  2306. width: 50rpx;
  2307. }
  2308. }
  2309. }
  2310. .bounced3 {
  2311. height: 100upx;
  2312. width: 100%;
  2313. margin-top: 40upx;
  2314. border-top: 1px solid #dddddd;
  2315. display: flex;
  2316. }
  2317. .bounced3-1 {
  2318. width: 50%;
  2319. height: 100%;
  2320. text-align: center;
  2321. line-height: 100upx;
  2322. border-right: 1px solid #dddddd;
  2323. font-size: 36upx;
  2324. color: #999999;
  2325. }
  2326. .bounced3-2 {
  2327. width: 50%;
  2328. height: 100%;
  2329. text-align: center;
  2330. line-height: 100upx;
  2331. font-size: 36upx;
  2332. color: #108ee9;
  2333. }
  2334. }
  2335. .viewclace {
  2336. width: 100rpx;
  2337. height: 40rpx;
  2338. text-align: center;
  2339. line-height: 40rpx;
  2340. border-radius: 14rpx;
  2341. margin-right: 34rpx;
  2342. margin-top: 16rpx;
  2343. font-size: 24rpx;
  2344. }
  2345. .bosdttom {
  2346. color: #FFFFFF;
  2347. background-color: #2671E2;
  2348. }
  2349. .dialog-block {
  2350. margin: 20rpx 0;
  2351. border-bottom: 1px solid #ccc;
  2352. .fileName {
  2353. text-align: center;
  2354. margin: 10rpx auto;
  2355. width: 115rpx;
  2356. height: 42rpx;
  2357. line-height: 42rpx;
  2358. background: #EFEFEF;
  2359. border-radius: 4rpx;
  2360. font-size: 20rpx;
  2361. font-weight: 400;
  2362. color: #333333;
  2363. }
  2364. }
  2365. .scroll-Y {
  2366. font-size: 36upx;
  2367. color: #999999;
  2368. background: #FFFFFF;
  2369. margin-top: 30upx;
  2370. flex: 1;
  2371. overflow-y: scroll;
  2372. width: 100%;
  2373. }
  2374. .scroll-Y .text {
  2375. margin: 50upx 30upx;
  2376. line-height: 80upx;
  2377. display: flex;
  2378. align-items: center;
  2379. }
  2380. .scroll-Y .text[data-speaker="2"],
  2381. .scroll-Y .text[data-speaker="4"],
  2382. .scroll-Y .text[data-speaker="6"] {
  2383. flex-direction: row-reverse;
  2384. text-align: right;
  2385. .content {
  2386. margin-left: 0;
  2387. margin-right: 30upx;
  2388. background: #F6F6F6;
  2389. color: #999999;
  2390. }
  2391. }
  2392. .scroll-Y .text[data-speaker="2"],
  2393. .scroll-Y .text[data-speaker="4"],
  2394. .scroll-Y .text[data-speaker="6"] {
  2395. .contentInfo {
  2396. .info {
  2397. .AudioUserName {
  2398. margin-left: 10rpx;
  2399. }
  2400. display: flex;
  2401. flex-direction: row-reverse;
  2402. }
  2403. }
  2404. }
  2405. .scroll-Y .text {
  2406. .contentInfo {
  2407. .info {
  2408. .AudioUserName {
  2409. margin-right: 10rpx;
  2410. }
  2411. }
  2412. }
  2413. }
  2414. .scroll-Y .text .avatar {
  2415. width: 64upx;
  2416. height: 64upx;
  2417. line-height: 64upx;
  2418. text-align: center;
  2419. // border: 1rpx solid red;
  2420. font-size: 36rpx;
  2421. border-radius: 50%;
  2422. background: #F2F2F2;
  2423. color: #008EF2;
  2424. // display: flex;
  2425. // justify-content: center;
  2426. // align-items: center;
  2427. image {
  2428. width: 40upx;
  2429. }
  2430. }
  2431. .scroll-Y .text .contentInfo .info {
  2432. color: #ccc;
  2433. font-size: 18rpx;
  2434. font-size: 30rpx;
  2435. padding: 0 28rpx;
  2436. }
  2437. .scroll-Y .text .contentInfo .content {
  2438. margin-left: 30upx;
  2439. line-height: 60rpx;
  2440. text-align: left;
  2441. padding: 0 5px;
  2442. background: #2BC805;
  2443. border-radius: 8upx;
  2444. max-width: 442rpx;
  2445. color: #FFFFFF;
  2446. position: relative;
  2447. .tankuangcss {
  2448. position: absolute;
  2449. top: -140rpx;
  2450. left: -120rpx;
  2451. width: 308rpx;
  2452. height: 130rpx;
  2453. background-color: #333333;
  2454. font-size: 24rpx;
  2455. color: #FFFFFF;
  2456. padding-top: 4rpx;
  2457. padding-bottom: 4rpx;
  2458. display: flex;
  2459. flex-wrap: wrap;
  2460. border-radius: 15rpx;
  2461. z-index: 1000;
  2462. }
  2463. .bottoms {
  2464. top: unset;
  2465. bottom: -140rpx;
  2466. }
  2467. }
  2468. .scroll-Y .text.active .content {
  2469. color: #38FFF1;
  2470. position: relative;
  2471. }
  2472. .scroll-Y .text.active[data-speaker="2"] .content,
  2473. .scroll-Y .text.active[data-speaker="4"] .content,
  2474. .scroll-Y .text.active[data-speaker="6"] .content {
  2475. color: #FF7538;
  2476. position: relative;
  2477. }
  2478. .backTop {
  2479. width: 60upx;
  2480. height: 60upx;
  2481. background: rgba(211, 235, 253, 1);
  2482. box-shadow: 0upx 0upx 2upx 4upx rgba(38, 161, 255, 0.04);
  2483. border-radius: 50%;
  2484. position: fixed;
  2485. bottom: 200upx;
  2486. right: 8upx;
  2487. display: flex;
  2488. justify-content: center;
  2489. align-items: center;
  2490. image {
  2491. width: 26upx;
  2492. height: 34upx;
  2493. }
  2494. }
  2495. .jiangshang {
  2496. color: #2671E2;
  2497. background: #F4F8FD;
  2498. }
  2499. .jiangshang1 {
  2500. color: #FFFFFF;
  2501. background: #999999;
  2502. }
  2503. // 表单
  2504. .tian-view {
  2505. width: 570upx;
  2506. background-color: #FFFFFF;
  2507. border-bottom: 1px solid #ededee;
  2508. display: flex;
  2509. min-height: 96rpx;
  2510. .tian-view-t1 {
  2511. width: 20rpx;
  2512. font-size: 34rpx;
  2513. height: 34rpx;
  2514. line-height: 110rpx;
  2515. letter-spacing: 0px;
  2516. color: red;
  2517. }
  2518. .tian-view-t2 {
  2519. width: 30%;
  2520. min-height: 96rpx;
  2521. line-height: 96rpx;
  2522. font-size: 34rpx;
  2523. color: #333;
  2524. }
  2525. .tian-view-t3 {
  2526. width: 61%;
  2527. padding-top: 31rpx;
  2528. padding-bottom: 31rpx;
  2529. display: flex;
  2530. .tian-input {
  2531. width: 98%;
  2532. font-size: 34rpx;
  2533. border: none;
  2534. }
  2535. }
  2536. }
  2537. .inputbox {
  2538. width: 100%;
  2539. height: 100rpx;
  2540. display: flex;
  2541. align-items: center;
  2542. justify-content: center;
  2543. border-bottom: 1px solid #E0E0E0;
  2544. .thisinput {
  2545. width: 94%;
  2546. height: 52rpx;
  2547. background: #FFFFFF;
  2548. border-radius: 8rpx;
  2549. border: 1px solid #C9C9C9;
  2550. color: #333333;
  2551. font-size: 26rpx;
  2552. text-indent: 26rpx;
  2553. line-height: 52rpx;
  2554. }
  2555. }
  2556. .biaoqiantom {
  2557. background-color: #008EF2;
  2558. color: #FFFFFF;
  2559. border: none;
  2560. }
  2561. .Level-box {
  2562. padding-bottom: 2rpx;
  2563. .hhhbox {
  2564. width: 100%;
  2565. padding-left: 30rpx;
  2566. padding-right: 30rpx;
  2567. border-bottom: 1rpx solid #E0E0E0;
  2568. background: #FFFFFF;
  2569. // padding-bottom: 32rpx;
  2570. .hsnrtest {
  2571. height: 24rpx;
  2572. font-size: 24rpx;
  2573. font-weight: 400;
  2574. color: #666666;
  2575. line-height: 24rpx;
  2576. }
  2577. .Level3che {
  2578. width: 100%;
  2579. height: 28rpx;
  2580. display: flex;
  2581. line-height: 28rpx;
  2582. align-items: center;
  2583. margin-top: 30rpx;
  2584. .title1 {
  2585. flex: 1;
  2586. font-size: 28rpx;
  2587. color: #2671E2;
  2588. font-weight: 400;
  2589. }
  2590. .jiantobox {
  2591. width: 30rpx;
  2592. height: 30rpx;
  2593. display: flex;
  2594. align-items: center;
  2595. .arrow {
  2596. width: 28rpx;
  2597. height: 28rpx;
  2598. }
  2599. }
  2600. }
  2601. }
  2602. .Level2che {
  2603. width: 100%;
  2604. height: 88rpx;
  2605. display: flex;
  2606. line-height: 88rpx;
  2607. align-items: center;
  2608. .title1 {
  2609. flex: 2;
  2610. font-size: 28rpx;
  2611. color: #333333;
  2612. font-weight: 400;
  2613. }
  2614. .leve1-jindu {
  2615. flex: 3;
  2616. display: flex;
  2617. justify-content: center;
  2618. align-items: center;
  2619. .zhixing {
  2620. width: 108rpx;
  2621. height: 44rpx;
  2622. background: #2671E2;
  2623. border-radius: 4rpx;
  2624. font-size: 28rpx;
  2625. text-align: center;
  2626. line-height: 44rpx;
  2627. color: #FFFFFF;
  2628. }
  2629. .zhixing2 {
  2630. width: 108rpx;
  2631. height: 44rpx;
  2632. background: #F8F8F8;
  2633. border-radius: 4rpx;
  2634. font-size: 28rpx;
  2635. text-align: center;
  2636. line-height: 44rpx;
  2637. color: #999999;
  2638. }
  2639. }
  2640. .jiantobox {
  2641. width: 30rpx;
  2642. height: 30rpx;
  2643. display: flex;
  2644. align-items: center;
  2645. .arrow {
  2646. width: 30rpx;
  2647. height: 18rpx;
  2648. }
  2649. }
  2650. }
  2651. .Level1che {
  2652. width: 100%;
  2653. height: 94rpx;
  2654. background: #F5F5F5;
  2655. display: flex;
  2656. line-height: 94rpx;
  2657. align-items: center;
  2658. padding-left: 30rpx;
  2659. padding-right: 30rpx;
  2660. .title1 {
  2661. flex: 2;
  2662. font-size: 30rpx;
  2663. color: #333333;
  2664. font-weight: 400;
  2665. }
  2666. .leve1-jindu {
  2667. flex: 3;
  2668. .jindutiao {
  2669. width: 96%;
  2670. height: 28rpx;
  2671. background: #D5EEE2;
  2672. line-height: 28rpx;
  2673. border-radius: 14rpx;
  2674. position: relative;
  2675. .huanxing {
  2676. height: 100%;
  2677. background: #4FC78F;
  2678. border-radius: 14rpx;
  2679. }
  2680. .text {
  2681. position: absolute;
  2682. top: 0rpx;
  2683. right: 0rpx;
  2684. font-size: 28rpx;
  2685. font-weight: 400;
  2686. color: #333333;
  2687. }
  2688. }
  2689. }
  2690. .jiantobox {
  2691. width: 30rpx;
  2692. height: 30rpx;
  2693. display: flex;
  2694. align-items: center;
  2695. .arrow {
  2696. width: 30rpx;
  2697. height: 18rpx;
  2698. }
  2699. }
  2700. }
  2701. }
  2702. .rotatearrow {
  2703. transform: rotate(270deg);
  2704. }
  2705. .ffectivetext {
  2706. width: 85%;
  2707. margin: 10rpx auto;
  2708. height: 100rpx;
  2709. padding: 20rpx;
  2710. border: 1rpx solid #E4F0FF;
  2711. }
  2712. </style>