Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

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