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

2334 rivejä
64 KiB

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