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.
 
 
 

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