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.
 
 
 

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