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.
 
 
 

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