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.
 
 
 

2281 lines
62 KiB

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