Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

2293 linhas
62 KiB

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