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.
 
 
 

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