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.
 
 
 

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