Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

2951 rader
78 KiB

  1. <template>
  2. <view class="box" @click="cancelBeast">
  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="headboxbott">
  13. <view class="headovfu">
  14. <!-- <u-tabs ref="tabs" font-size="30" :bold="true" swiper-width="600" :current="roleindex"
  15. @change="tapspagek" inactive-color="#b1b1b1" active-color="#008ef2" :list="tablist"
  16. :is-scroll="true">
  17. </u-tabs> -->
  18. <view class="mytab" v-for="(item,index) in tablist" :key="index" @click="tapspagek(item, index)">
  19. <view class="tab-item" :class="{tabActive: item.select}">{{item.name}}</view>
  20. </view>
  21. </view>
  22. <view class="headpade">
  23. <view class="biaoji" @tap="tagtap()">标记</view>
  24. </view>
  25. </view>
  26. </view>
  27. <scroll-view :scroll-top="scrollTop" lower-threshold='100px' @scrolltolower="ltolower()" upper-threshold='40px'
  28. @scrolltoupper="rolltoupper()" :scroll-into-view="scrollId" scroll-y="true" class="zhuti text scroll-Y">
  29. <!-- 聊天记录-->
  30. <view class="dialog-block" v-for="(dialog,i) in dialogList" :key="i">
  31. <view :id="'dialog'+i" class="fileName">录音文件</view>
  32. <view class="text" :id="'dialog'+csdFileindex+'text'+item.bg"
  33. :class="{active: Math.floor(item.bg/1000) <= playNow && Math.floor(item.ed/1000) > playNow, isGreen: item.isShow == 0}"
  34. v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker" @click.stop>
  35. <template v-if="refined">
  36. <view class="checkbox" :class="{select: item.checked}" @click="cbChange(item)">
  37. <template v-if="item.checked">
  38. <u-icon name="checkbox-mark" color="#fff" />
  39. </template>
  40. </view>
  41. </template>
  42. <view class="avatar">
  43. <view :style="[SPEAKERSTYLE(item.speaker)]">
  44. <text>{{ item.speaker | toCapital }}</text>
  45. </view>
  46. </view>
  47. <view class="contentInfo">
  48. <view class="info">
  49. <text class="AudioUserName">
  50. <template v-if="item.username">
  51. {{ item.username }}
  52. </template>
  53. <template v-else>
  54. {{ item.speaker | toCapital }}
  55. </template>
  56. </text>
  57. <text>{{conversionTiame(item.bg/1000)}}</text>
  58. </view>
  59. <view class="contentMain" @click.stop>
  60. <view class="content">
  61. <view @longpress="changanxiaoguo(item,index,i)" v-html="item.onebest"></view>
  62. <view class="tankuangcss" :class="{bottoms:index == 0}" v-if="item.isshow">
  63. <view @click="clickcopy()"
  64. style="width: 60rpx;font-size: 24rpx;text-align: center;margin-left: 24rpx;">复制
  65. </view>
  66. <view @click="Oftenthewrongword()"
  67. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">常错词
  68. </view>
  69. <view @click="openwajue(item)"
  70. style="font-size: 24rpx;text-align: center;margin-left: 22rpx;">挖掘话术
  71. </view>
  72. <view v-if="jiaoseshow" @click="Addtheessence()"
  73. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">加精华
  74. </view>
  75. <view @click="Modifyrole(index,item)"
  76. style="font-size: 24rpx;text-align: center;margin-left: 14rpx;">修改角色
  77. </view>
  78. </view>
  79. </view>
  80. <image v-if="!refined" @click="clickbofang(dialog.backindex,item)" class="play"
  81. src="../../static/images/recordingManagement/play.png"></image>
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. </scroll-view>
  87. <view class="bottombox" v-if="!refined">
  88. <!-- 播放块 :src="recordPath" -->
  89. <zaudio :duration="duration" theme="theme4"></zaudio>
  90. <!-- 底部弹框 -->
  91. <view class="botbotmm">
  92. <view class="tmmchen" @click="guanjiancishifo()">
  93. <image src="../../static/images/audioinfo1.png" mode=""></image>
  94. <view>关键词</view>
  95. </view>
  96. <view class="fill"></view>
  97. <view class="tmmchen" @click="Receivedetailsabouttab('intention')">
  98. <image src="../../static/images/audioinfo3.png" mode=""></image>
  99. <view>客户意向</view>
  100. </view>
  101. <view class="fill"></view>
  102. <view class="tmmchen" @click="Receivedetailsabouttab('Pinspeak')">
  103. <image src="../../static/images/audioinfo4.png" mode=""></image>
  104. <view>销讲执行</view>
  105. </view>
  106. <view class="fill"></view>
  107. <!-- audioinfo2 -->
  108. <view class="tmmchen" v-if="Menulistisshow">
  109. <image @click="Receivedetailsabouttab('Receivedetailsabout')" src="../../static/images/allimg.png"
  110. mode=""></image>
  111. <view @click="Receivedetailsabouttab('Receivedetailsabout')">更多</view>
  112. <view class="allimg" v-if="Thetapeidisshow">
  113. <view v-if="eqLog!=-1" @click="eqLogClick()" style="line-height: 70rpx;margin-top: 10rpx;">设备日志
  114. </view>
  115. <view @click="Receivetap()" style="line-height: 70rpx;margin-top: 10rpx;">接待信息</view>
  116. <view @click="alllogo()" style="line-height:70rpx;">
  117. {{userlistobj.validInvalidName}}
  118. </view>
  119. </view>
  120. </view>
  121. <view class="tmmchen" @click="Receivetap()" v-else>
  122. <image @click="Receivedetailsabouttab('Receivedetailsabout')"
  123. src="../../static/images/audioinfo2.png" mode=""></image>
  124. <view @click="Receivedetailsabouttab('Receivedetailsabout')">接待信息</view>
  125. </view>
  126. </view>
  127. </view>
  128. <template v-else>
  129. <view class="bottomboxs">
  130. <view class="bottomboxs-item" @click="sureRefinement">确定</view>
  131. <view class="bottomboxs-item" @click="cancelAllAdd">取消</view>
  132. </view>
  133. </template>
  134. <!-- 标记 -->
  135. <view class="zhezhao" v-if="biojiisshow" @tap="unmarktap()"></view>
  136. <view class="bounced" v-if="biojiisshow">
  137. <view class="jiajinghuatit">标记为顾问</view>
  138. <view
  139. style="width: 95%;display: flex;flex-wrap: wrap;margin: 0 auto;padding-top: 30rpx;padding-bottom: 30rpx;">
  140. <view class="viewclace" :class="roleindexbiaoji == index ? 'bosdttom' : ''" @click="biaojixuanze(index)"
  141. v-for="(item,index) in tablist.slice(1,tablist.length)" :key="index">
  142. <view>{{item.name}}</view>
  143. </view>
  144. </view>
  145. <view class="bounced3" style="margin-top: 20rpx;">
  146. <view class="bounced3-1" @tap="unmarktap()">取消</view>
  147. <view class="bounced3-2" @tap="$noMultipleClicks(Confirmthetag)">确认</view>
  148. </view>
  149. </view>
  150. <!-- 加入挖掘话术 -->
  151. <view class="zhezhao" v-if="wajueshow" @tap="CancelAdd"></view>
  152. <u-modal v-model="wajueshow" title="新增挖掘话术" :show-cancel-button="true" @cancel="CancelAdd" @confirm="wajueConfirm()">
  153. <view class="tian-view" style="margin-left: 20rpx;">
  154. <viwe class="tian-view-t3">
  155. 话术分类:<input class="huashu-input" disabled @click="treeshow=true" v-model="wordBiao.wordBiaoqian" type="text" placeholder="请选择" />
  156. </viwe>
  157. </view>
  158. <view class="tian-view" style="margin-left: 20rpx;">
  159. <viwe class="tian-view-t2">
  160. 话术内容:<textarea :auto-height="true" type="text" v-model="thewrongword" class="tian-input" placeholder="请输入" />
  161. </viwe>
  162. </view>
  163. </u-modal>
  164. <!-- 加入常错词 -->
  165. <view class="zhezhao" v-if="isshow2" @tap="Cancelout"></view>
  166. <u-modal v-model="isshow2" title="添加常错词" :show-cancel-button="true" @cancel="Cancelout" @confirm="$noMultipleClicks(Confirmtheexit)">
  167. <view class="tian-view">
  168. <viwe class="tian-view-t2" style="margin-left: 20rpx;">
  169. 常错词:<textarea :auto-height="true" type="text" v-model="thewrongword" :disabled="isNum" class="tian-input" placeholder="请输入" />
  170. </viwe>
  171. </view>
  172. <view class="tian-view">
  173. <viwe class="tian-view-t3" style="margin-left: 20rpx;">正确词:<input class="huashu-input" v-model="reswrongword" type="text" placeholder="请输入" /></viwe>
  174. </view>
  175. </u-modal>
  176. <!-- 加精华 -->
  177. <view class="zhezhao" v-if="isshow3" @tap="Cancelout2"></view>
  178. <view class="bounced" v-if="isshow3">
  179. <view class="jiajinghuatit">加精华</view>
  180. <view style="width: 100%;text-indent: 20rpx;font-size: 28rpx;">选择标签</view>
  181. <view class="jiajinghuaview">
  182. <view class="jighuaview2" v-for="(item,index) in biaoqianlist" :key="index"
  183. :class="biaoqianindex == index ? 'biaoqiantom' : ''">
  184. <view class="view1-text" @click="tapbiaoqianclisck(index)">{{item.name}}</view>
  185. </view>
  186. </view>
  187. <view class="bounced3">
  188. <view class="bounced3-1" @tap="Cancelout2">取消</view>
  189. <view class="bounced3-2" @tap="$noMultipleClicks(Confirmtheexit2)">确认</view>
  190. </view>
  191. </view>
  192. <!-- 接待详情 -->
  193. <view class="zhezhao" @click="clenReceivedetailsabout()" v-if="Receivedetailsabout"></view>
  194. <view class="followingpop-up" v-if="Receivedetailsabout">
  195. <view class="guanbibox">
  196. <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../static/images/Shutdown.png"
  197. mode=""></image>
  198. <view class="cenisboxtab">
  199. <view class="cenisboxtabview">
  200. <view>接待详情</view>
  201. </view>
  202. </view>
  203. </view>
  204. <view class="cenisbox">
  205. <view
  206. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  207. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待顾问</view>
  208. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.agentName}}</view>
  209. </view>
  210. <view
  211. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  212. <view style="width: 25%;color: #666666;font-size: 26rpx;">意向项目</view>
  213. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.projectName}}</view>
  214. </view>
  215. <view
  216. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  217. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待开始时间</view>
  218. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.staTime}}</view>
  219. </view>
  220. <view
  221. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  222. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待结束时间</view>
  223. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.endTime1}}</view>
  224. </view>
  225. <view
  226. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  227. <view style="width: 25%;color: #666666;font-size: 26rpx;">录音时长</view>
  228. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.mm}}分钟</view>
  229. </view>
  230. </view>
  231. </view>
  232. <!-- 销讲执行 -->
  233. <view class="zhezhao" @click="clenReceivedetailsabout()" v-if="Pinspeak"></view>
  234. <view class="followingpop-up" v-if="Pinspeak">
  235. <view class="guanbibox">
  236. <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../static/images/Shutdown.png"
  237. mode=""></image>
  238. <view class="cenisboxtab">
  239. <view class="cenisboxtabview">
  240. <view>销讲执行</view>
  241. </view>
  242. </view>
  243. </view>
  244. <view class="pingfenbox">
  245. <view :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)">
  246. 销讲总执行率{{totalRate||0}}%</view>
  247. <view v-if="methodsisshow==true" :class="{ activecllasscet: zhixingcenterindex == 1 }"
  248. @click="recordclick(1)">禁忌执行</view>
  249. <view :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="recordclick(2)">
  250. 需求挖掘率{{KeyWordsfraction||0}}%</view>
  251. </view>
  252. <view v-if="zhixingcenterindex == 0" class="cenisbox">
  253. <view
  254. style="width: 100%;height: 80rpx;border-bottom: 1rpx solid #E0E0E0;display: flex;align-items: center;">
  255. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 20rpx;">指标</view>
  256. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 170rpx;">执行率
  257. </view>
  258. </view>
  259. <view class="Level-box" v-for="(item,index) in ratelist" :key="index">
  260. <view class="Level1che" @click="hangeshow2(item,1)">
  261. <view class="title1">{{item.name.substring(0,8)}}</view>
  262. <view class="leve1-jindu">
  263. <view class="jindutiao">
  264. <view class="huanxing" :style="{width: item.ratepercent/item.rate*100+'%'}"></view>
  265. <view class="text">{{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%</view>
  266. </view>
  267. </view>
  268. <view class="jiantobox">
  269. <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png" mode="" />
  270. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  271. </view>
  272. </view>
  273. <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i">
  274. <view class="Level2che" @click="hangeshow2(subitem,1)">
  275. <view class="title1">{{subitem.name.substring(0,8)}}</view>
  276. <view class="leve1-jindu">
  277. <view class="zhixing" v-if="!subitem.selected">已执行</view>
  278. <view class="zhixing2" v-else>未执行</view>
  279. </view>
  280. <view class="jiantobox">
  281. <image v-if="!subitem.show" class="arrow rotatearrow" src="/static/images/down.png"
  282. mode="" />
  283. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  284. </view>
  285. </view>
  286. <view class="hsnrtest" v-if="subitem.show">话术内容</view>
  287. <view class="Level3che" @tap="clickaudeopal(che)" v-if="subitem.show"
  288. v-for="(che,inc) in subitem.children" :key='inc'>
  289. <view class="title1" :class="{gray: che.viewFlag == 1}">{{inc+1}}.{{che.name}}</view>
  290. <view class="jiantobox">
  291. <image v-if="che.selected==0" class="arrow" src="/static/images/rate-checked.png"
  292. mode="" />
  293. <image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
  294. </view>
  295. </view>
  296. <view v-if="subitem.show" style="width: 100%;height: 30rpx;"></view>
  297. </view>
  298. </view>
  299. </view>
  300. <view v-if="zhixingcenterindex == 1">
  301. <view v-if="prohibitedlist.length!=0" class="title1-12" @click="tapbadge(item)"
  302. v-for="(item,index) in prohibitedlist" :key='index'>{{index+1}}.{{item}}</view>
  303. <view v-if="prohibitedlist.length==0" style="width: 100%;text-align: center;margin-top: 60rpx;">暂无数据
  304. </view>
  305. </view>
  306. <view v-if="zhixingcenterindex == 2" class="cenisbox">
  307. <view
  308. style="width: 100%;height: 80rpx;border-bottom: 1rpx solid #E0E0E0;display: flex;align-items: center;">
  309. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 20rpx;">指标</view>
  310. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 170rpx;">执行率
  311. </view>
  312. </view>
  313. <view class="Level-box" v-for="(item,index) in KeyWordsfractionList" :key="index">
  314. <view class="Level1che" @click="hangeshow2(item,1)">
  315. <view class="title1">{{item.name}}</view>
  316. <view class="leve1-jindu">
  317. <view class="jindutiao">
  318. <view class="huanxing" v-if="item.selected==0" :style="{width: item.fraction+'%'}">
  319. </view>
  320. <view class="huanxing" v-else style="width: 0"></view>
  321. <view class="text">{{item.selected==0?item.fraction:0}}%</view>
  322. </view>
  323. </view>
  324. <view class="jiantobox">
  325. <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png" mode="" />
  326. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  327. </view>
  328. </view>
  329. <!-- 话术在一级下 -->
  330. <view v-if="item.showLevel==1">
  331. <view class="hhhbox" v-if="item.show" style="padding: 30rpx;">
  332. <view class="hsnrtest">话术内容</view>
  333. <view class="Level3che" v-for="(che,inc) in item.questionList" :key='inc'>
  334. <view class="title1">{{inc+1}}.{{che.question}}</view>
  335. <view class="jiantobox">
  336. <image v-if="che.selected==0" class="arrow" src="/static/images/rate-checked.png"
  337. mode="" />
  338. <image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
  339. </view>
  340. </view>
  341. </view>
  342. </view>
  343. <!-- 话术在二级下 -->
  344. <view v-if="item.showLevel==2">
  345. <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i">
  346. <view class="Level2che" @click="hangeshow2(subitem,1)">
  347. <view class="title1 u-line-1">{{subitem.name}}</view>
  348. <view class="leve1-jindu">
  349. <view class="zhixing" v-if="!subitem.selected">已执行</view>
  350. <view class="zhixing2" v-else>未执行</view>
  351. </view>
  352. <view class="jiantobox">
  353. <image v-if="!subitem.show" class="arrow rotatearrow" src="/static/images/down.png"
  354. mode="" />
  355. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  356. </view>
  357. </view>
  358. <view v-if="subitem.show" style="padding: 30rpx 0;">
  359. <view class="hsnrtest">话术内容</view>
  360. <view class="Level3che" v-for="(che,inc) in subitem.questionList" :key='inc'>
  361. <view class="title1">{{inc+1}}.{{che.question}}</view>
  362. <view class="jiantobox">
  363. <image v-if="che.selected==0" class="arrow"
  364. src="/static/images/rate-checked.png" mode="" />
  365. <image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
  366. </view>
  367. </view>
  368. </view>
  369. </view>
  370. </view>
  371. </view>
  372. </view>
  373. </view>
  374. <!-- 客户意向 -->
  375. <view class="zhezhao" @click="clenReceivedetailsabout()" v-if="intention"></view>
  376. <view class="followingpop-up" v-if="intention">
  377. <view class="guanbibox">
  378. <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../static/images/Shutdown.png"
  379. mode=""></image>
  380. <view class="cenisboxtab">
  381. <view class="cenisboxtabview">
  382. <view>客户意向</view>
  383. </view>
  384. </view>
  385. </view>
  386. <view class="pingfenbox">
  387. <view :class="{ activecllasscet: kehuyixiangcenterindex == 0 }" @click="customerofintention(0)">系统分析
  388. </view>
  389. <view :class="{ activecllasscet: kehuyixiangcenterindex == 1 }" @click="customerofintention(1)">人工校准
  390. </view>
  391. </view>
  392. <view class="cenisbox" v-if="kehuyixiangcenterindex==0">
  393. <view style="width: 100%;height: 100%;text-align: center;margin-top: 200rpx;"
  394. v-if="Acquirecustomerintentlist.length==0">
  395. 暂无数据
  396. </view>
  397. <view class="jianbox" v-if="Acquirecustomerintentlist.length!=0"
  398. v-for="(item,index) in Acquirecustomerintentlist" :key='index'>
  399. <view class="jianbox-cen">
  400. <view class="jianboxtext">{{item.name}}</view>
  401. <view class="jianboxjian" @click="Acquishow(index)">
  402. <image v-if="item.isshow==false" class="jiantop" src="../../static/images/jiantop.png"
  403. mode=""></image>
  404. <image v-if="item.isshow==true" class="jiantop1" src="../../static/images/jianbutton.png"
  405. mode=""></image>
  406. </view>
  407. </view>
  408. <view style="width: 690rpx;margin: 0 auto;display: flex;flex-wrap: wrap;" v-if="item.isshow==true">
  409. <view class="sdfsaf" v-if="chend.showType==0" @click="argece(chend)"
  410. v-for="(chend,i) in item.children" :key='i'>
  411. <view class="jiangshang sdfsaf">{{chend.text}}</view>
  412. </view>
  413. <view class="sdfsaf" v-if="chend.showType==1" @click="argece(chend)"
  414. v-for="(chend,i) in item.children" :key='i'>
  415. <view class="jiangshang1 sdfsaf">{{chend.text}}</view>
  416. </view>
  417. </view>
  418. </view>
  419. </view>
  420. <!-- @click="Edittag(item,chend,index,i)" -->
  421. <view class="cenisbox" v-if="kehuyixiangcenterindex==1">
  422. <view style="width: 100%;height: 100%;text-align: center;margin-top: 200rpx;"
  423. v-if="Acquirecustomerintentlist2.length==0">
  424. 暂无数据
  425. </view>
  426. <view class="jianbox" v-if="Acquirecustomerintentlist2.length!=0"
  427. v-for="(item,index) in Acquirecustomerintentlist2" :key='index'>
  428. <view class="jianbox-cen">
  429. <view class="jianboxtext">{{item.name}}</view>
  430. <view class="jianboxjian" @click="Acquishow2(index)">
  431. <image v-if="item.isshow==false" class="jiantop" src="../../static/images/jiantop.png"
  432. mode=""></image>
  433. <image v-if="item.isshow==true" class="jiantop1" src="../../static/images/jianbutton.png"
  434. mode=""></image>
  435. </view>
  436. </view>
  437. <view class="bioqianwayl" v-if="item.isshow==true">
  438. <view class="jiangshang" v-for="(chend,i) in item.children" :key='i' v-if="chend.selected==0">
  439. {{chend.text}}
  440. </view>
  441. </view>
  442. </view>
  443. </view>
  444. <view class="calibration" @click="$noMultipleClicks(tocalibration)">校准</view>
  445. </view>
  446. <view class="zhezhao" v-if="effective"></view>
  447. <view class="bounced" v-if="effective">
  448. <view class="jiajinghuatit">选择</view>
  449. <view>
  450. <view class="uni-list">
  451. <radio-group @change="radioChange">
  452. <label style="display: flex;align-items: center;font-size: 30rpx;
  453. width: 94%;height: 80rpx;margin: 0 auto;" v-for="(item, index) in effectiveitems" :key="item.value">
  454. <view style="margin-top: 2rpx;flex: 1; text-indent: 20rpx;">{{item.name}}</view>
  455. <view style="width: 80rpx;">
  456. <radio :value="item.value" :checked="index == effectiveindex" />
  457. </view>
  458. </label>
  459. </radio-group>
  460. </view>
  461. <view v-if="effectiveindex==4">
  462. <textarea class="ffectivetext" v-model="effectiveitext" placeholder="备注" />
  463. </view>
  464. </view>
  465. <view class="bounced3">
  466. <view class="bounced3-1" @click="effective=false">取消</view>
  467. <view class="bounced3-2" @click="$noMultipleClicks(effectiveAdd)">确认</view>
  468. </view>
  469. </view>
  470. <!-- 修改角色 -->
  471. <view class="zhezhao" v-if="roleisshaw" @tap="unmarktap()"></view>
  472. <view class="bounced" v-if="roleisshaw">
  473. <view class="jiajinghuatit">修改角色</view>
  474. <view
  475. style="width: 95%;display: flex;flex-wrap: wrap;margin: 0 auto;padding-top: 30rpx;padding-bottom: 30rpx;">
  476. <view class="viewclace" :class="roleindexrow == index ? 'bosdttom' : ''" @click="rl=rolexuanze(index)"
  477. v-for="(item,index) in tablist.slice(1,tablist.length)" :key="index">
  478. <view>{{item.name}}</view>
  479. </view>
  480. <view class="headpade" style="border: none;">
  481. <view class="biaoji" @tap="addRole">新增角色</view>
  482. </view>
  483. </view>
  484. <view class="bounced3" style="margin-top: 20rpx;">
  485. <view class="bounced3-1" @tap="unmarktap()">取消</view>
  486. <view class="bounced3-2" @tap="$noMultipleClicks(roletab)">确认</view>
  487. </view>
  488. </view>
  489. <u-toast ref="uToast" />
  490. <u-select v-model="treeshow" mode="mutil-column-auto" @confirm="confirmTree" :list="treelist"></u-select>
  491. <!-- 加载组件 -->
  492. <loading v-model="LOADING"></loading>
  493. </view>
  494. </template>
  495. <script>
  496. var util = require("../../utils/util.js");
  497. var config = require("../../config");
  498. import zaudio from '@/components/uniapp-zaudio/zaudio';
  499. import loading from "@/components/loading/index.vue"
  500. export default {
  501. components: {
  502. zaudio,
  503. loading
  504. },
  505. data() {
  506. return {
  507. wordBiao: {
  508. level: 1,
  509. wordBiaoqian: '',
  510. wordBiaoqianId: ''
  511. },// 添加话术
  512. treelist: [],
  513. huaxiangList: [],
  514. treeshow: false,
  515. KeyWordsfraction: 0,
  516. KeyWordsfractionList: [],
  517. noClick: true,
  518. kehuyixiangcenterindex: 0,
  519. Acquirecustomerintentlist2: [],
  520. zhixingcenterindex: 0,
  521. prohibitedlist: [],
  522. guanjianciishow: false,
  523. 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",
  524. tablist: [],
  525. roleindex: 0, // 当前选中的角色标记点(旧版本的)
  526. roleSelectArr: [], // 当前选中的角色标记点
  527. roleindexbiaoji: 0,
  528. audioPlay: false, //当前的播放状态控制
  529. sliderValue: 0, //进度条最小值
  530. sliderMax: 0, //进度条最大值
  531. currentTimeStr: "00:00", //当前进度的时间
  532. timeStr: "00:00", //总的时间
  533. recordPath: "",
  534. customerId: "",
  535. luyinList: [], //录音文件
  536. newluyinList: [],
  537. dialogList: [], //录音识别列表
  538. csdFileindex: 0,
  539. date: "", //年月日
  540. tab: 0, // 默认是音频识别
  541. scrollTop: 0,
  542. scrollId: "",
  543. playNow: 0,
  544. alltimeStr: "00:00:00",
  545. ratelist: [], //评分列表
  546. totalRate: "",
  547. thewrongword: "", //错误词
  548. reswrongword: "", //正确词
  549. isshow2: false,
  550. messagelisy: [],
  551. isshow3: false,
  552. biaoqianlist: [],
  553. biaoqianindex: 0,
  554. changanitem: {},
  555. duihuawenjianid: "",
  556. biaoqianid: "",
  557. status: 0,
  558. userInfo: {},
  559. jiaoseshow: true,
  560. itemobj: {},
  561. textindex: 0, //下拉 转写文件下标
  562. toptextindex: 0, //上拉 转写文件下标
  563. biojiisshow: false,
  564. speaker: '',
  565. dshfkjsdkksodofydwfkhwdfkjh: 0,
  566. userlistobj: {},
  567. Acquirecustomerintentlist: [],
  568. options1: [],
  569. Receivedetailsabout: false,
  570. Pinspeak: false,
  571. intention: false,
  572. yixingindex: 0, //意向,统计切换
  573. buildingID: '',
  574. methodsisshow: false,
  575. Thetapeidisshow: false,
  576. Menulist: [],
  577. Menulistisshow: false,
  578. validInvalid: 0,
  579. calibration: 0,
  580. effective: false,
  581. effectiveindex: '0',
  582. effectiveitems: [{
  583. value: '1',
  584. name: '没电指派无录音',
  585. checked: true
  586. },
  587. {
  588. value: '2',
  589. name: '离线指派无录音',
  590. },
  591. {
  592. value: '3',
  593. name: '系统测试误操作'
  594. },
  595. {
  596. value: '4',
  597. name: '非接访场景录音'
  598. },
  599. {
  600. value: '5',
  601. name: '其他'
  602. }
  603. ],
  604. effectiveitext: '',
  605. textItself: '',
  606. argtextindex1: 0,
  607. argtextindex2: 0,
  608. wajueshow: false,
  609. wajueword: '',
  610. roleisshaw: false,
  611. roleindexrow: 0,
  612. roletiaoshu: 0,
  613. infos: null,
  614. ACTION: Symbol('zaudio'), // 唯一值区分每个页面的方法
  615. isPageHide: false, // 是否息屏
  616. duration: '', // 总时长
  617. isBand: false, // 阻止二次提交
  618. refined: false,
  619. eqLog: 0,
  620. };
  621. },
  622. computed: {
  623. conversionTiame() {
  624. return (e) => {
  625. return this.getTime(e);
  626. }
  627. },
  628. },
  629. onLoad(options) {
  630. this.LOADING = true
  631. let menu = uni.getStorageSync('weapp_session_Menu_data');
  632. this.eqLog = menu.findIndex(item => item.name == '设备日志');
  633. this.status = options.status;
  634. this.customerId = options.customerId;
  635. this.KeyWordsfraction = options.wordFraction == 'undefined' ? 0 : options.wordFraction;
  636. this.itemobj = uni.getStorageSync('searchobj');
  637. this.stateisshow = options.stateisshow;
  638. this.$zaudio.autoPlay = true
  639. //注意: 不同的回调方法, 相同的业务函数方法名, 不会相互影响;
  640. this.$zaudio.on('stop', this.ACTION, () => {
  641. console.log('我是强制暂停或关闭小程序音频浮窗触发的')
  642. })
  643. this.$zaudio.on('seek', this.ACTION, (time) => {
  644. this.sliderChangeComplate(this.TIMEEVENT(time))
  645. })
  646. this.$zaudio.on('playing', this.ACTION, (obj) => {
  647. this.duration = obj.duration
  648. this.TimeUpdate(this.TIMEEVENT(obj.current))
  649. })
  650. this.$zaudio.on('error', this.ACTION, e => {
  651. console.log(e, '加载失败')
  652. })
  653. this.$zaudio.on('ended', this.ACTION, e => {
  654. this.$zaudio.stop()
  655. this.init({
  656. bg: 0,
  657. customerId: this.customerId
  658. })
  659. })
  660. uni.$on('DETAILS2INIT', (info) => {
  661. this.init(info)
  662. });
  663. },
  664. onShow() {
  665. //实时渲染当前的播放状态
  666. this.$zaudio.syncRender()
  667. this.Menulist = uni.getStorageSync('weapp_session_Menu_data');
  668. this.Menulist.forEach(item => {
  669. if (item.name == '标记有效无效接待') {
  670. this.Menulistisshow = true;
  671. }
  672. })
  673. this.intention = false;
  674. this.kehuyixiangcenterindex = 0;
  675. this.buildingID = uni.getStorageSync('buildingID').id;
  676. this.getWordMiningList()
  677. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  678. if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) {
  679. this.methodsisshow = false;
  680. } else {
  681. this.methodsisshow = true;
  682. }
  683. if (this.userInfo.dataCode == 6) {
  684. this.jiaoseshow = false
  685. }
  686. // this.roleindex = 0;
  687. if (this.stateisshow == 2) {
  688. this.infos = this.itemobj;
  689. }
  690. !this.isPageHide && this.init(this.infos);
  691. this.gituserlist()
  692. },
  693. onHide() {
  694. this.isPageHide = true
  695. },
  696. onUnload() {
  697. uni.$off('DETAILS2INIT')
  698. //卸载不需要的业务和获取播放状态的业务,提高页面性能
  699. this.$zaudio.stop()
  700. this.$zaudio.off('seek', this.ACTION);
  701. this.$zaudio.off('stop', this.ACTION);
  702. this.$zaudio.off('playing', this.ACTION);
  703. },
  704. methods: {
  705. //获取画像标签
  706. getWordMiningList() {
  707. this.treelist = [];
  708. this.$u.get("/corpus/findSelectedWordMiningTemplate", {
  709. houseId: this.buildingID,
  710. selected: 0
  711. })
  712. .then((res) => {
  713. // console.log(res)
  714. if(res.length){
  715. res.forEach(item=>{
  716. item.value = item.id;
  717. item.label = item.name;
  718. if(item.children.length){
  719. item.children.forEach(subitem=>{
  720. subitem.value = subitem.id;
  721. subitem.label = subitem.name;
  722. })
  723. }else{
  724. item.children=[{
  725. value: 'default'+ item.id,
  726. label: '--'
  727. }]
  728. }
  729. })
  730. }
  731. this.treelist = res;
  732. });
  733. },
  734. // 添加挖掘词
  735. wajueConfirm(){
  736. this.$u.post("/corpus/addWordMining", {
  737. "houseId":this.buildingID,// 楼盘id
  738. "cusId":this.customerId, //客户id
  739. "question":this.thewrongword,// 问题
  740. "keywordsId":this.wordBiao.wordBiaoqianId,// 标签id
  741. "level":this.wordBiao.level // 标签等级
  742. })
  743. .then((res) => {
  744. console.log(res)
  745. this.wajueItem.isshow = false
  746. })
  747. },
  748. // 挖掘话术分类树的选择
  749. confirmTree(e){
  750. console.log(e)
  751. if(e[1].label=='--'){
  752. this.wordBiao.wordBiaoqian = e[0].label
  753. this.wordBiao.wordBiaoqianId = e[0].value
  754. this.wordBiao.level = 1
  755. }else{
  756. this.wordBiao.wordBiaoqian = e[0].label + '/' + e[1].label
  757. this.wordBiao.wordBiaoqianId= e[1].value
  758. this.wordBiao.level = 2
  759. }
  760. console.log(this.wordBiao.wordBiaoqian)
  761. },
  762. CancelAdd(){
  763. this.wajueshow = false
  764. this.wajueItem.isshow= false
  765. },
  766. // 选中取反
  767. cbChange(item) {
  768. item.checked = !item.checked
  769. this.$forceUpdate()
  770. },
  771. // 隐藏长按提示框
  772. cancelBeast() {
  773. this.dialogList.forEach(res => {
  774. res.message.forEach(asd => {
  775. asd.isshow = false;
  776. })
  777. })
  778. },
  779. // 重置选择加精的内容
  780. cancelAllAdd() {
  781. console.log('chufa')
  782. this.dialogList.forEach(item => {
  783. if (item.message && item.message.length > 0) {
  784. item.message.forEach(items => {
  785. items.checked = false
  786. })
  787. }
  788. })
  789. this.refined = false
  790. // this.$forceUpdate()
  791. },
  792. hangeshow2(item, type) {
  793. item.show = !item.show;
  794. },
  795. eqLogClick() {
  796. uni.navigateTo({
  797. url: `./equipmentLog?id=${this.customerId}`
  798. })
  799. },
  800. rolexuanze(index) {
  801. this.roleindexrow = index;
  802. },
  803. Modifyrole(dialog, item) {
  804. this.roleisshaw = true;
  805. this.roletiaoshu = dialog;
  806. this.roleindexrow = this.dialogList[this.csdFileindex].message[this.roletiaoshu].speaker - 1;
  807. },
  808. roletab() {
  809. // let itso=this.dialogList[this.csdFileindex].message[this.roletiaoshu];
  810. let itso = Object.assign({}, this.dialogList[this.csdFileindex].message[this.roletiaoshu]);
  811. itso.onebest = itso.onebest.replace(/<.*?>/ig, "");
  812. this.$u.post("/corpus/updateRole", {
  813. corpusId: this.luyinList[this.csdFileindex].id,
  814. transferContent: [itso],
  815. speaker: this.roleindexrow + 1,
  816. customerId: this.customerId
  817. }).then(res => {
  818. this.dialogList[this.csdFileindex].message[this.roletiaoshu].speaker = this.roleindexrow + 1
  819. this.roleisshaw = false;
  820. this.cancelBeast()
  821. uni.showToast({
  822. title: '修改成功',
  823. duration: 2000
  824. });
  825. })
  826. },
  827. argece(item) {
  828. console.log(item)
  829. if (item.selected == 0) {
  830. console.log(item)
  831. this.Pinspeak = false
  832. uni.navigateTo({
  833. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  834. .keywordsId + "&type=" + 1 + '&UpDateEvent=DETAILS2INIT'
  835. })
  836. }
  837. },
  838. //关键词点击
  839. tapbadge(item) {
  840. this.Pinspeak = false
  841. //进搜索页面
  842. uni.navigateTo({
  843. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item +
  844. "&skpl=" + "2" + '&UpDateEvent=DETAILS2INIT'
  845. })
  846. },
  847. recordclick(i) {
  848. this.zhixingcenterindex = i;
  849. if (i == 0) {
  850. this.getRatelist()
  851. } else if (i == 1) {
  852. this.huoqujinji()
  853. } else {
  854. this.getfindKeyWordsBycusId()
  855. }
  856. },
  857. //获取禁忌
  858. huoqujinji() {
  859. uni.showLoading({
  860. title: '加载中'
  861. });
  862. this.$u.get("/customer/findTabooWordsByCusId", {
  863. cusId: this.customerId
  864. }).then(res => {
  865. if (res.length) {
  866. this.prohibitedlist = res;
  867. }
  868. setTimeout(function() {
  869. uni.hideLoading();
  870. }, 1000);
  871. })
  872. },
  873. //评分点击
  874. clickaudeopal(item) {
  875. if (item.selected == 0 && item.viewFlag != 1) {
  876. // console.log(item)
  877. this.Pinspeak = false
  878. uni.navigateTo({
  879. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  880. .marketingId + "&type=" + 0 + '&UpDateEvent=DETAILS2INIT'
  881. })
  882. }
  883. },
  884. //获取用户信息
  885. gituserlist() {
  886. this.$u.get("/matchKeywords/personalReceptionRecord", {
  887. customerId: this.customerId
  888. }).then(res => {
  889. res.endTime1 = res.endTime.substring(0, 19);
  890. this.userlistobj = res;
  891. })
  892. },
  893. Acquishow2(i) {
  894. this.Acquirecustomerintentlist2[i].isshow = !this.Acquirecustomerintentlist2[i].isshow;
  895. },
  896. tocalibration() {
  897. uni.navigateTo({
  898. url: '/pages/mine/calibration?id=' + this.customerId
  899. });
  900. },
  901. customerofintention(i) {
  902. this.kehuyixiangcenterindex = i;
  903. if (i == 0) {
  904. this.Acquirecustomerintent()
  905. } else {
  906. this.Acquirecustomerintent2()
  907. }
  908. },
  909. //获取人工校准意向信息
  910. Acquirecustomerintent2() {
  911. this.Acquirecustomerintentlist2 = [];
  912. this.$u.get("/matchKeywords/findManualCalibration", {
  913. customerId: this.customerId,
  914. type: 1
  915. }).then(res => {
  916. res.forEach(item => {
  917. item.isshow = true;
  918. item.children.forEach(chend => {
  919. if (chend.isInterval == 0) {
  920. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  921. .unit
  922. } else {
  923. chend.text = chend.name
  924. }
  925. })
  926. })
  927. this.Acquirecustomerintentlist2 = res;
  928. })
  929. },
  930. //获取系统意向信息
  931. Acquirecustomerintent() {
  932. this.Acquirecustomerintentlist = [];
  933. this.$u.get("/matchKeywords/findSystemAnalysis", {
  934. customerId: this.customerId
  935. }).then(res => {
  936. res.forEach(item => {
  937. item.isshow = true;
  938. item.children.forEach(chend => {
  939. if (chend.isInterval == 0) {
  940. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  941. .unit
  942. } else {
  943. chend.text = chend.name
  944. }
  945. })
  946. })
  947. this.Acquirecustomerintentlist = res;
  948. })
  949. },
  950. Acquishow(i) {
  951. this.Acquirecustomerintentlist[i].isshow = !this.Acquirecustomerintentlist[i].isshow;
  952. },
  953. Edittag(item, chend, index, i) {
  954. var selected = '';
  955. if (chend.selected == 0) {
  956. selected = 1;
  957. this.Acquirecustomerintentlist[index].children[i].selected = 1;
  958. } else {
  959. selected = 0;
  960. this.Acquirecustomerintentlist[index].children[i].selected = 0;
  961. }
  962. this.$u.post("/matchKeywords/updatePersonalMatchData", {
  963. carId: this.customerId,
  964. selected: selected,
  965. name: chend.name,
  966. pid: chend.pid,
  967. level: chend.level,
  968. endName: chend.endName,
  969. keywordsId: chend.keywordsId
  970. }).then(res => {
  971. })
  972. },
  973. //取消接待详情
  974. clenReceivedetailsabout() {
  975. this.Receivedetailsabout = false;
  976. this.Pinspeak = false;
  977. this.intention = false;
  978. this.Thetapeidisshow = false;
  979. },
  980. //意向统计切换
  981. Intentiontoswitch(i) {
  982. this.yixingindex = i;
  983. if (i == 1) {
  984. this.statistical()
  985. }
  986. },
  987. statistical() {
  988. this.$u.get("/matchKeywords/findCARKeywords", {
  989. customerId: this.customerId
  990. }).then(res => {
  991. res.forEach(item => {
  992. if (item.isInterval == 0) {
  993. item.name = item.name + item.unit + '-' + item.endName + item.unit;
  994. }
  995. })
  996. this.options1 = res;
  997. })
  998. },
  999. Receivetap() {
  1000. this.Receivedetailsabout = true;
  1001. },
  1002. //标记
  1003. alllogo() {
  1004. var that = this;
  1005. let msg = '';
  1006. if (this.userlistobj.validInvalid != 0) {
  1007. msg = '是否标记为"有效录音"?';
  1008. uni.showModal({
  1009. title: '提示',
  1010. content: msg,
  1011. success: function(res) {
  1012. that.isBand = true
  1013. if (that.noClick) {
  1014. that.noClick = false;
  1015. if (res.confirm) {
  1016. let parames = {
  1017. id: that.customerId,
  1018. validInvalid: '',
  1019. invalidReason: 0
  1020. }
  1021. if (that.userlistobj.validInvalid == 0) {
  1022. parames.validInvalid = 1;
  1023. } else {
  1024. parames.validInvalid = 0;
  1025. }
  1026. that.$u.post("/customer/updateValidInvalid", parames).then(res => {
  1027. console.log(res)
  1028. that.isBand = false
  1029. that.Thetapeidisshow = false;
  1030. }).catch(e => {
  1031. that.isBand = false
  1032. })
  1033. }
  1034. setTimeout(() => {
  1035. that.noClick = true;
  1036. }, 2000)
  1037. } else {
  1038. // 这里是重复点击的判断
  1039. }
  1040. }
  1041. });
  1042. } else {
  1043. this.effective = true;
  1044. }
  1045. },
  1046. effectiveAdd() {
  1047. if (this.effectiveindex == 4) {
  1048. if (this.effectiveitext.length == 0) {
  1049. uni.showToast({
  1050. title: '备注不能为空',
  1051. icon: "none",
  1052. duration: 2000
  1053. });
  1054. return
  1055. }
  1056. }
  1057. this.effective = false;
  1058. this.isBand = true
  1059. let parames = {
  1060. id: this.customerId,
  1061. validInvalid: '',
  1062. validInvalid: 1,
  1063. invalidReason: Number(this.effectiveindex) + 1,
  1064. invalidNote: this.effectiveitext
  1065. }
  1066. this.$u.post("/customer/updateValidInvalid", parames).then(res => {
  1067. console.log(res)
  1068. this.Thetapeidisshow = false;
  1069. }).catch(e => {
  1070. this.isBand = false
  1071. })
  1072. },
  1073. radioChange(evt) {
  1074. this.effectiveitext = "";
  1075. for (let i = 0; i < this.effectiveitems.length; i++) {
  1076. if (this.effectiveitems[i].value === evt.detail.value) {
  1077. this.effectiveindex = i;
  1078. break;
  1079. }
  1080. }
  1081. },
  1082. //接待详情点击
  1083. Receivedetailsabouttab(stringa) {
  1084. if (stringa == 'Receivedetailsabout') {
  1085. this.Thetapeidisshow = !this.Thetapeidisshow;
  1086. this.gituserlist()
  1087. } else if (stringa == 'Pinspeak') {
  1088. this.getRatelist()
  1089. this.getfindKeyWordsBycusId()
  1090. this.Pinspeak = true;
  1091. } else {
  1092. if (this.kehuyixiangcenterindex == 0) {
  1093. this.Acquirecustomerintent()
  1094. } else {
  1095. this.Acquirecustomerintent2()
  1096. }
  1097. this.intention = true;
  1098. }
  1099. },
  1100. guanjiancishifo() {
  1101. // this.guanjianciishow=!this.guanjianciishow;
  1102. this.stateisshow = 1;
  1103. uni.navigateTo({
  1104. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  1105. "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT'
  1106. })
  1107. },
  1108. // 添加角色
  1109. addRole() {
  1110. this.tablist.push({
  1111. name: String.fromCharCode(this.tablist.length + 64),
  1112. select: false
  1113. })
  1114. },
  1115. //标记选择角色
  1116. biaojixuanze(index) {
  1117. this.roleindexbiaoji = index;
  1118. },
  1119. //标记顾问
  1120. tagtap() {
  1121. this.biojiisshow = !this.biojiisshow;
  1122. },
  1123. //取消标记
  1124. unmarktap() {
  1125. this.biojiisshow = false;
  1126. this.roleindexbiaoji = this.dshfkjsdkksodofydwfkhwdfkjh;
  1127. this.roleisshaw = false
  1128. this.cancelBeast()
  1129. },
  1130. //确认标记
  1131. Confirmthetag() {
  1132. var num = this.roleindexbiaoji + 1;
  1133. uni.request({
  1134. url: config.service.markConsultant + '?id=' + this.luyinList[this.csdFileindex].id +
  1135. "&speaker=" + num + '&customerId=' + this.customerId, //仅为示例,并非真实接口地址。
  1136. method: "GET",
  1137. header: {
  1138. 'content-type': 'application/json',
  1139. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1140. },
  1141. success: (data) => {
  1142. this.biojiisshow = false;
  1143. this.biaojiyuyi()
  1144. this.fenjiaoseunfo()
  1145. uni.showToast({
  1146. title: '标记成功',
  1147. duration: 2000
  1148. });
  1149. },
  1150. })
  1151. },
  1152. //标记语义词
  1153. biaojiyuyi() {
  1154. let parames = {
  1155. carId: this.customerId
  1156. }
  1157. this.$u.post("/matchKeywords/toMatchKeywords", parames).then(res => {
  1158. console.log(res)
  1159. })
  1160. },
  1161. //分角色
  1162. tapspagek(data, index) {
  1163. if (index == 0) this.resetTabList();
  1164. else this.resetAll();
  1165. data.select = !data.select
  1166. this.roleSelectArr = []
  1167. if (index != 0) {
  1168. this.tablist.forEach(item => {
  1169. if (item.select) {
  1170. this.roleSelectArr.push(item.speaker)
  1171. }
  1172. })
  1173. } else {
  1174. this.roleSelectArr.push(0)
  1175. }
  1176. this.fenjiaoseunfo()
  1177. },
  1178. // 选中全部时互斥全部选项与角色选项
  1179. resetTabList() {
  1180. this.tablist.forEach(item => {
  1181. item.select = false
  1182. })
  1183. },
  1184. // 选中角色时将全部反选
  1185. resetAll() {
  1186. this.tablist[0].select = false
  1187. },
  1188. // 生成角色列表
  1189. creatTabList(num) {
  1190. for (var i = 0; i <= num; i++) {
  1191. if (i === 0) {
  1192. this.tablist.push({
  1193. name: '全部',
  1194. select: false,
  1195. speaker: i
  1196. })
  1197. } else {
  1198. this.tablist.push({
  1199. name: String.fromCharCode(i + 64),
  1200. select: false,
  1201. speaker: i
  1202. })
  1203. }
  1204. }
  1205. },
  1206. // 选中选中的标记
  1207. resetTabListChoose() {
  1208. this.tablist.forEach(item => {
  1209. if (this.roleSelectArr.findIndex(obj => obj == item.speaker) != -1) {
  1210. item.select = true
  1211. }
  1212. })
  1213. },
  1214. // 获取flag
  1215. getVoFlagValue() {
  1216. return this.roleSelectArr.findIndex(item => item == 0) == -1 ? 1 : 0
  1217. },
  1218. //分角色标记刷新
  1219. fenjiaoseunfo() {
  1220. this.newluyinList = [];
  1221. this.dialogList = [];
  1222. let speakerStr = ''
  1223. if (this.roleSelectArr.findIndex(item => item == 0) == -1) {
  1224. speakerStr = this.roleSelectArr.join(',')
  1225. }
  1226. let str = `?corpusId=${this.luyinList[this.csdFileindex].id}&bg=${this.playNow * 1000}&speaker=0&voFlag=${this.getVoFlagValue()}&num=50&speakerStr=${speakerStr}`
  1227. this.$u.get(`${config.service.getCorpusAnal}${str}`).then(res => {
  1228. let jsonInfo = JSON.parse(res.audioContent);
  1229. //上拉标记点
  1230. this.textindex = res.index;
  1231. //下拉标记点
  1232. this.toptextindex = res.index;
  1233. jsonInfo.forEach(item => {
  1234. item.message = JSON.parse(item.onebest)
  1235. item.backindex = this.csdFileindex
  1236. item.message.forEach(info => {
  1237. info.checked = false
  1238. })
  1239. })
  1240. this.newluyinList = jsonInfo;
  1241. if (this.textindex == null) {
  1242. return
  1243. } else {
  1244. this.dialogList.push(jsonInfo[this.textindex]);
  1245. }
  1246. }).catch(e => {
  1247. console.log(e)
  1248. })
  1249. },
  1250. // 关键词搜索
  1251. toKeywordsearch() {
  1252. this.stateisshow = 1;
  1253. uni.navigateTo({
  1254. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  1255. "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT'
  1256. })
  1257. },
  1258. // 播放器当前播放时间变化
  1259. TimeUpdate(currentTime) {
  1260. this.playNow = Math.ceil(currentTime)
  1261. if (this.dialogList.length == 0) {
  1262. return
  1263. } else {
  1264. const message = this.dialogList[0].message;
  1265. if (!message) return
  1266. for (let i = 0; i < message.length; i++) {
  1267. if (Math.floor(message[i].bg / 1000) <= this.playNow && this.playNow < Math.floor(message[i].ed /
  1268. 1000)) {
  1269. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  1270. break;
  1271. }
  1272. if (i < message.length - 1 && Math.floor(message[i].ed / 1000) < this.playNow && this.playNow <
  1273. Math.floor(message[i + 1].bg / 1000)) {
  1274. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  1275. break;
  1276. }
  1277. }
  1278. }
  1279. this.$forceUpdate()
  1280. },
  1281. init(info) {
  1282. this.sliderMax = 0; //进度条最大值
  1283. this.timeStr = "00:00"; //总的时间
  1284. const parames = {
  1285. pageNum: 1,
  1286. pageSize: 100,
  1287. query: {
  1288. customerId: this.customerId
  1289. }
  1290. }
  1291. this.$u.post("/corpus/findByPage", parames).then(res => {
  1292. if (res && res.length) {
  1293. let alltime = 1 + res[0].recordDuration;
  1294. this.calibration = res[0].calibration;
  1295. if (this.calibration == 0) {
  1296. this.kehuyixiangcenterindex = 0;
  1297. } else {
  1298. this.kehuyixiangcenterindex = 1;
  1299. }
  1300. this.alltimeStr = this.getTime(alltime)
  1301. if (info.bg != 0) {
  1302. this.luyinList = res;
  1303. this.recordPath = res[0].recordPath
  1304. this.date = res[0].receptionTime;
  1305. this.getCorpusAnalysis(info);
  1306. } else {
  1307. this.luyinList = res;
  1308. this.recordPath = res[0].recordPath
  1309. this.date = res[0].receptionTime;
  1310. this.getCorpusAnalysis(info);
  1311. this.zyAudio()
  1312. }
  1313. }
  1314. })
  1315. },
  1316. //搜索跳转
  1317. adasdasdasd(e) {
  1318. this.stepPlay(e)
  1319. },
  1320. //下一页
  1321. ltolower() {
  1322. var lengthcz = this.newluyinList.length - 1;
  1323. if (this.textindex >= lengthcz) {
  1324. uni.showToast({
  1325. title: '到底了',
  1326. duration: 2000
  1327. });
  1328. return
  1329. } else {
  1330. this.textindex = this.textindex + 1;
  1331. this.newluyinList[this.textindex].message.forEach(item => {
  1332. this.dialogList[0].message.push(item)
  1333. })
  1334. }
  1335. console.log("下一页", this.textindex)
  1336. },
  1337. //上一页
  1338. rolltoupper() {
  1339. if (this.toptextindex == 0) {
  1340. // uni.showToast({
  1341. // title: '到头了',
  1342. // duration: 2000
  1343. // });
  1344. return
  1345. } else {
  1346. if (this.dialogList[0] == undefined) {
  1347. return
  1348. } else {
  1349. this.toptextindex = this.toptextindex - 1;
  1350. let reverselist = this.newluyinList[this.toptextindex].message;
  1351. let runlist = reverselist.reverse();
  1352. runlist.forEach(item => {
  1353. this.dialogList[0].message.unshift(item)
  1354. })
  1355. }
  1356. }
  1357. },
  1358. // 取消全部加精
  1359. notappick() {
  1360. var that = this;
  1361. uni.showModal({
  1362. title: '提示',
  1363. content: '确认取消加精?',
  1364. success: function(res) {
  1365. if (res.confirm) {
  1366. console.log('用户点击确定');
  1367. uni.request({
  1368. url: config.service.delATD + "?carId=" + that.customerId + '&itemId=' +
  1369. that.buildingID,
  1370. method: "GET",
  1371. header: {
  1372. 'content-type': 'application/json',
  1373. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  1374. .token
  1375. },
  1376. success: (data) => {
  1377. if (data.data.code == 10000) {
  1378. that.status = 1
  1379. uni.showToast({
  1380. title: '取消成功',
  1381. duration: 2000
  1382. });
  1383. } else {
  1384. uni.showToast({
  1385. title: data.data.message,
  1386. duration: 2000
  1387. });
  1388. }
  1389. }
  1390. })
  1391. } else if (res.cancel) {
  1392. console.log('用户点击取消');
  1393. }
  1394. }
  1395. });
  1396. },
  1397. //全部加精
  1398. tappick(i) {
  1399. var that = this;
  1400. uni.showModal({
  1401. title: '提示',
  1402. content: '确认加精?',
  1403. success: function(res) {
  1404. if (res.confirm) {
  1405. console.log('用户点击确定');
  1406. let objdata = {
  1407. "carId": that.customerId, //客户id
  1408. "status": 0,
  1409. "itemId": that.buildingID,
  1410. }
  1411. uni.request({
  1412. url: config.service.addATD,
  1413. method: "POST",
  1414. header: {
  1415. 'content-type': 'application/json',
  1416. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  1417. .token
  1418. },
  1419. data: objdata,
  1420. success: (data) => {
  1421. if (data.data.code == 10000) {
  1422. that.status = 0
  1423. uni.showToast({
  1424. title: '加精成功',
  1425. duration: 2000
  1426. });
  1427. } else {
  1428. uni.showToast({
  1429. title: data.data.message,
  1430. duration: 2000
  1431. });
  1432. }
  1433. }
  1434. })
  1435. } else if (res.cancel) {
  1436. console.log('用户点击取消');
  1437. }
  1438. }
  1439. });
  1440. },
  1441. //标签选择
  1442. tapbiaoqianclisck(index) {
  1443. this.biaoqianindex = index;
  1444. this.biaoqianid = this.biaoqianlist[index].id
  1445. },
  1446. //复制
  1447. clickcopy() {
  1448. var that = this;
  1449. uni.setClipboardData({
  1450. data: that.thewrongword,
  1451. success: () => {
  1452. this.cancelBeast()
  1453. this.$forceUpdate();
  1454. console.log('success');
  1455. }
  1456. });
  1457. },
  1458. //确认加入常错词
  1459. Confirmtheexit() {
  1460. if (this.reswrongword.length > 8 || this.thewrongword.length > 8) {
  1461. this.$refs.uToast.show({
  1462. title: '正确词错误词不能超过8个字',
  1463. type: 'warning',
  1464. })
  1465. this.isshow2 = true;
  1466. } else {
  1467. let reg = /^[0-9]+$/
  1468. if (reg.test(this.thewrongword)) {
  1469. this.$refs.uToast.show({
  1470. title: '错误词不能为纯数字',
  1471. type: 'warning',
  1472. })
  1473. this.isshow2 = true;
  1474. } else {
  1475. if (this.thewrongword) {
  1476. if (this.reswrongword) {
  1477. let parames = {
  1478. customerId: this.customerId,
  1479. cupid: this.luyinList[this.csdFileindex].id,
  1480. wrongWord: this.thewrongword, //错误词
  1481. correctWord: this.reswrongword, //正确词
  1482. translateHtmlContent: this.messagelisy,
  1483. id: uni.getStorageSync('buildingID').id
  1484. }
  1485. this.isshow2 = false;
  1486. let sas = this.textItself.replace(this.thewrongword, this.reswrongword)
  1487. this.dialogList[this.argtextindex1].message[this.argtextindex2].onebest = sas
  1488. this.cancelBeast()
  1489. this.$u.post("/corpus/addCorrectWord", parames).then(data => {
  1490. this.thewrongword = "";
  1491. this.reswrongword = "";
  1492. })
  1493. } else {
  1494. this.$refs.uToast.show({
  1495. title: '正确值不能为空',
  1496. type: 'warning',
  1497. })
  1498. this.isshow2 = true;
  1499. return
  1500. }
  1501. } else {
  1502. this.$refs.uToast.show({
  1503. title: '错误词不能为空',
  1504. type: 'warning',
  1505. })
  1506. this.isshow2 = true;
  1507. return
  1508. }
  1509. }
  1510. }
  1511. },
  1512. //取消加入常错词
  1513. Cancelout() {
  1514. this.isshow2 = false;
  1515. this.cancelBeast()
  1516. },
  1517. //加入长错词
  1518. Oftenthewrongword() {
  1519. this.reswrongword = "";
  1520. this.isshow2 = true;
  1521. },
  1522. //加入挖掘话术
  1523. openwajue(item) {
  1524. this.wajueItem = item
  1525. this.wajueshow = true;
  1526. },
  1527. //加精华
  1528. Addtheessence() {
  1529. this.refined = true
  1530. this.cancelBeast()
  1531. },
  1532. // 确认批量加精
  1533. sureRefinement() {
  1534. this.isshow3 = true;
  1535. this.biaoqianlist = []
  1536. let parames = {
  1537. "itemId": this.buildingID
  1538. }
  1539. this.$u.post("/addtodigest/findAllYi", parames).then(data => {
  1540. this.biaoqianlist = data
  1541. this.biaoqianlist.unshift({
  1542. name: "逼单话术",
  1543. id: 0
  1544. })
  1545. })
  1546. },
  1547. // 取消加精
  1548. Cancelout2() {
  1549. this.isshow3 = false;
  1550. this.cancelBeast()
  1551. },
  1552. // 确认加精
  1553. Confirmtheexit2() {
  1554. let objdata = {
  1555. itemId: this.buildingID,
  1556. carId: this.customerId, //客户id
  1557. startFile: this.duihuawenjianid, //对话所在录音文件id
  1558. marketingId: this.biaoqianid || 0, //对应一级父id
  1559. status: 1,
  1560. toDigestList: [], // 加精多选的内容
  1561. // jjTransfer: this.changanitem.onebest, //选中对话
  1562. // endTime: this.changanitem.ed, //结束时间
  1563. // startTime: this.changanitem.bg, //开始时间
  1564. }
  1565. this.dialogList.forEach(items => {
  1566. if (items.message && items.message.length > 0) {
  1567. items.message.forEach(item => {
  1568. if (item.checked) {
  1569. objdata.toDigestList.push({
  1570. jjTransfer: item.onebest,
  1571. startTime: item.bg,
  1572. endTime: item.ed,
  1573. })
  1574. }
  1575. })
  1576. }
  1577. })
  1578. this.isshow3 = false;
  1579. this.$u.post(config.service.addATD, objdata).then(res => {
  1580. console.log(res)
  1581. if (res) {
  1582. uni.showToast({
  1583. title: '加精成功',
  1584. duration: 2000
  1585. });
  1586. } else {
  1587. uni.showToast({
  1588. title: '加精失败',
  1589. duration: 2000
  1590. });
  1591. }
  1592. this.cancelAllAdd()
  1593. }).catch(e => {
  1594. uni.showToast({
  1595. title: '网络异常,请稍候重试~',
  1596. duration: 2000
  1597. });
  1598. this.cancelAllAdd()
  1599. })
  1600. },
  1601. //长按对话
  1602. changanxiaoguo(item, index, i) {
  1603. this.messagelisy = [];
  1604. this.changanitem = {};
  1605. this.duihuawenjianid = "";
  1606. this.cancelBeast()
  1607. this.changanitem = item;
  1608. this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
  1609. this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow;
  1610. this.textItself = item.onebest;
  1611. let onebest = item.onebest;
  1612. this.thewrongword = onebest.replace(/<.*?>/ig, "");
  1613. this.messagelisy = this.dialogList[i].message
  1614. this.argtextindex1 = i;
  1615. this.argtextindex2 = index;
  1616. },
  1617. //回到顶部
  1618. gotoTop() {
  1619. this.scrollId = null;
  1620. this.$nextTick(() => {
  1621. this.scrollId = "top";
  1622. })
  1623. },
  1624. // 客户详情需求挖掘话术
  1625. getfindKeyWordsBycusId() {
  1626. this.$u.get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId).then(res => {
  1627. // console.log(res)
  1628. if (res.length) {
  1629. // this.KeyWordsfraction = 0
  1630. res.forEach(item => {
  1631. // if(item.selected==0){
  1632. // this.KeyWordsfraction += +item.fraction // 总执行率
  1633. // }
  1634. item.show = false
  1635. item.children.forEach(obj => {
  1636. obj.show = false
  1637. if (obj.questionList.length) {
  1638. obj.questionList.forEach(subobj => {
  1639. subobj.show = false
  1640. })
  1641. }
  1642. })
  1643. if (item.questionList.length) {
  1644. item.questionList.forEach(obj => {
  1645. obj.show = false
  1646. })
  1647. }
  1648. })
  1649. this.KeyWordsfractionList = res
  1650. } else {
  1651. this.KeyWordsfractionList = []
  1652. }
  1653. })
  1654. },
  1655. getRatelist() {
  1656. this.$u.get("/customer/findzkMByCusId", {
  1657. cusId: this.customerId
  1658. }).then(res => {
  1659. if (res.length) {
  1660. let level1 = []
  1661. let level2rate = 0
  1662. res.forEach(item => {
  1663. if (item.pid == 0) {
  1664. level1.push({
  1665. id: item.marketingId,
  1666. rate: item.fraction,
  1667. name: item.name,
  1668. sort: item.sort,
  1669. show: false,
  1670. ratepercent: 0,
  1671. children: [],
  1672. viewFlag: item.viewFlag
  1673. })
  1674. } else {
  1675. if (item.selected == 0) {
  1676. level2rate += item.fraction
  1677. }
  1678. }
  1679. })
  1680. this.totalRate = level2rate;
  1681. res.forEach(subitem => {
  1682. let subitempid = subitem.pid
  1683. level1.forEach(item => {
  1684. if (subitempid == item.id) {
  1685. if (subitem.selected == 0) {
  1686. item.ratepercent += subitem.fraction
  1687. }
  1688. item.children.push({
  1689. id: subitem.id,
  1690. rate: subitem.fraction,
  1691. selected: subitem.selected,
  1692. name: subitem.name,
  1693. show: false,
  1694. marketingId: subitem.marketingId,
  1695. children: [],
  1696. viewFlag: subitem.viewFlag,
  1697. })
  1698. }
  1699. })
  1700. })
  1701. res.forEach(subitem => {
  1702. let subitempid = subitem.pid
  1703. level1.forEach(chen => {
  1704. chen.children.forEach(zxc => {
  1705. if (subitempid == zxc.marketingId) {
  1706. zxc.children.push({
  1707. id: subitem.id,
  1708. rate: subitem.fraction,
  1709. selected: subitem.selected,
  1710. name: subitem.name,
  1711. marketingId: subitem.marketingId,
  1712. viewFlag: subitem.viewFlag,
  1713. })
  1714. }
  1715. })
  1716. })
  1717. })
  1718. level1[0].show = true;
  1719. level1[0].children[0].show = true;
  1720. this.ratelist = level1
  1721. }
  1722. setTimeout(function() {
  1723. uni.hideLoading();
  1724. }, 1000);
  1725. })
  1726. },
  1727. //--------------------------------- 获取转义后的对话结果
  1728. getCorpusAnalysis(info) {
  1729. this.dialogList = [];
  1730. this.newluyinList = []
  1731. uni.request({
  1732. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  1733. "&bg=" + info.bg + "&speaker=" + this.roleindex + '&voFlag=0' + '&num=50', //仅为示例,并非真实接口地址。
  1734. method: "GET",
  1735. header: {
  1736. 'content-type': 'application/json',
  1737. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1738. },
  1739. success: (data) => {
  1740. this.LOADING = false
  1741. this.tablist = [];
  1742. this.roleindexbiaoji = 0;
  1743. let jsonInfo = JSON.parse(data.data.data.audioContent);
  1744. this.creatTabList(data.data.data.speakerNum)
  1745. this.tablist[0].select = true // 默认选中第一个
  1746. if (data.data.data.speaker == null) {
  1747. this.dshfkjsdkksodofydwfkhwdfkjh = 0;
  1748. } else {
  1749. if (data.data.data.viewNameFlag != 1) {
  1750. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data
  1751. .speaker].name + "顾问";
  1752. }
  1753. this.roleindexbiaoji = data.data.data.speaker - 1;
  1754. this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1;
  1755. }
  1756. //上拉标记点
  1757. this.textindex = data.data.data.index;
  1758. //下拉标记点
  1759. this.toptextindex = data.data.data.index;
  1760. jsonInfo.forEach(item => {
  1761. item.message = JSON.parse(item.onebest)
  1762. item.backindex = this.csdFileindex;
  1763. item.message.forEach(che => {
  1764. che.checked = false
  1765. if (che.onebest == info.onebest) {
  1766. che.onebest =
  1767. `<font style='color: red'>${che.onebest}</font>`;
  1768. }
  1769. })
  1770. })
  1771. this.newluyinList = jsonInfo;
  1772. console.log(this.newluyinList)
  1773. this.dialogList.push(jsonInfo[this.textindex]);
  1774. var itc = parseInt(info.bg / 1000)
  1775. this.adasdasdasd(itc)
  1776. },
  1777. fail: () => {
  1778. this.LOADING = false
  1779. }
  1780. })
  1781. },
  1782. getTime(time) {
  1783. return util.formatSecond(time)
  1784. },
  1785. //音频前进回退
  1786. sliderChangeComplate(currentTime) {
  1787. this.dialogList = []
  1788. for (let i = 0; i < this.newluyinList.length; i++) {
  1789. let message = this.newluyinList[i].message
  1790. if (!message) return
  1791. if (Math.floor(this.newluyinList[i].bg / 1000) <= currentTime && currentTime <= Math.floor(this
  1792. .newluyinList[i].ed / 1000)) {
  1793. for (let j = 0; j < message.length; j++) {
  1794. let item = message[j]
  1795. if (Math.floor(item.bg / 1000) <= currentTime && currentTime <= Math.floor(item.ed / 1000)) {
  1796. this.scrollId = "dialog" + this.csdFileindex + "text" + item.bg;
  1797. break;
  1798. }
  1799. if (j < message.length - 1 && Math.floor(item.ed / 1000) <= currentTime && currentTime <= Math
  1800. .floor(item.bg / 1000)) {
  1801. this.scrollId = "dialog" + this.csdFileindex + "text" + item.bg;
  1802. break;
  1803. }
  1804. }
  1805. this.textindex = i;
  1806. this.toptextindex = i;
  1807. this.dialogList.push(this.newluyinList[i])
  1808. }
  1809. }
  1810. },
  1811. //长按点击播放
  1812. clickbofang(dialog, item) {
  1813. this.cancelBeast()
  1814. this.$forceUpdate()
  1815. let platetime = item.bg;
  1816. let newtime = item.bg / 1000;
  1817. this.dialogList = []
  1818. uni.request({
  1819. url: config.service.fastForward + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  1820. "&bg=" + platetime || 0, //仅为示例,并非真实接口地址。
  1821. method: "GET",
  1822. header: {
  1823. 'content-type': 'application/json',
  1824. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1825. },
  1826. success: (data) => {
  1827. this.textindex = data.data.data.index;
  1828. this.toptextindex = data.data.data.index;
  1829. this.dialogList.push(this.newluyinList[data.data.data.index])
  1830. console.log(newtime)
  1831. this.stepPlay(newtime);
  1832. }
  1833. })
  1834. },
  1835. formatTime(num) {
  1836. //格式化时间格式
  1837. num = num.toFixed(0);
  1838. let second = num % 60;
  1839. if (second < 10) second = '0' + second;
  1840. let min = Math.floor(num / 60);
  1841. if (min < 10) min = '0' + min;
  1842. return min + ":" + second;
  1843. },
  1844. changeEditing() {
  1845. this.dialogListres[0].message.forEach(asd => {
  1846. asd.isshow = false;
  1847. })
  1848. },
  1849. //录音实例
  1850. zyAudio() {
  1851. let data = [{
  1852. src: this.recordPath,
  1853. title: '录音音频',
  1854. singer: '',
  1855. coverImgUrl: ''
  1856. }]
  1857. this.$zaudio.setAudio(data)
  1858. //渲染第一首音频
  1859. this.$zaudio.setRender(0)
  1860. setTimeout(() => {
  1861. this.$zaudio.operate()
  1862. }, 150)
  1863. },
  1864. // 跳转指定位置播放
  1865. stepPlay(t) {
  1866. this.$zaudio.seek(t)
  1867. if (this.$zaudio.paused) {
  1868. this.$zaudio.operate()
  1869. }
  1870. }
  1871. },
  1872. }
  1873. </script>
  1874. <style lang="scss" scoped>
  1875. .box {
  1876. width: 100%;
  1877. height: 100vh;
  1878. display: flex;
  1879. flex-direction: column;
  1880. .pingfenbox {
  1881. width: 100%;
  1882. height: 60rpx;
  1883. line-height: 60rpx;
  1884. border-bottom: 1px solid #E0E0E0;
  1885. display: flex;
  1886. }
  1887. .pingfenbox view {
  1888. flex: 1;
  1889. text-align: center;
  1890. font-size: 28rpx;
  1891. text-indent: 20rpx;
  1892. }
  1893. .activecllasscet {
  1894. background: #2671E2;
  1895. color: #FFFFFF;
  1896. }
  1897. .title1-12 {
  1898. font-size: 28rpx;
  1899. color: #2671E2;
  1900. font-weight: 400;
  1901. text-indent: 30rpx;
  1902. margin-top: 18rpx;
  1903. }
  1904. .headbox {
  1905. width: 100%;
  1906. min-height: 173rpx;
  1907. border-bottom: 1px solid #E0E0E0;
  1908. }
  1909. .zhuti {
  1910. flex: 1;
  1911. overflow: auto;
  1912. }
  1913. .bottombox {
  1914. width: 100%;
  1915. height: 170rpx;
  1916. border-top: 1px solid #E0E0E0;
  1917. .bottomhead {
  1918. width: 100%;
  1919. height: 81rpx;
  1920. border-bottom: 1px solid #E0E0E0;
  1921. display: flex;
  1922. justify-content: space-between;
  1923. align-items: center;
  1924. .audio-slider {
  1925. width: 87%;
  1926. display: flex;
  1927. justify-content: space-between;
  1928. align-items: center;
  1929. padding-right: 30rpx;
  1930. }
  1931. .audio-slider .slider {
  1932. width: 100%;
  1933. padding: 0px 15rpx;
  1934. box-sizing: border-box;
  1935. }
  1936. .audio-time {
  1937. width: 110rpx;
  1938. text-align: right;
  1939. font-size: 26rpx;
  1940. line-height: 28rpx;
  1941. color: #70798D;
  1942. display: flex;
  1943. justify-content: space-between;
  1944. }
  1945. .audio-play {
  1946. width: 48rpx;
  1947. height: 48rpx;
  1948. flex-shrink: 0;
  1949. }
  1950. .audio-play .image {
  1951. width: 100%;
  1952. height: 100%;
  1953. margin-left: 30rpx;
  1954. }
  1955. }
  1956. .botbotmm {
  1957. width: 100%;
  1958. height: 88rpx;
  1959. display: flex;
  1960. align-items: center;
  1961. }
  1962. }
  1963. .bottomboxs {
  1964. width: 100%;
  1965. height: 90rpx;
  1966. display: flex;
  1967. justify-content: space-around;
  1968. .bottomboxs-item {
  1969. width: 45%;
  1970. height: 100%;
  1971. display: flex;
  1972. justify-content: center;
  1973. align-items: center;
  1974. color: #fff;
  1975. background: #008EF2;
  1976. font-size: 36rpx;
  1977. font-weight: bold;
  1978. }
  1979. }
  1980. }
  1981. .headboxhead {
  1982. width: 100%;
  1983. height: 84rpx;
  1984. border-bottom: 1px solid #E0E0E0;
  1985. display: flex;
  1986. .boxhead1 {
  1987. width: 50%;
  1988. color: #303030;
  1989. height: 84rpx;
  1990. line-height: 84rpx;
  1991. font-size: 28rpx;
  1992. text-indent: 30rpx;
  1993. }
  1994. .boxhead2 {
  1995. width: 46%;
  1996. height: 84rpx;
  1997. text-align: right;
  1998. }
  1999. }
  2000. .boxhead2 image {
  2001. width: 36rpx;
  2002. height: 36rpx;
  2003. margin-top: 24rpx;
  2004. }
  2005. .headboxbott {
  2006. width: 100%;
  2007. height: 88rpx;
  2008. display: flex;
  2009. align-items: center;
  2010. .headovfu {
  2011. flex: 1;
  2012. height: 88rpx;
  2013. overflow: hidden;
  2014. display: flex;
  2015. align-items: center;
  2016. .mytab {
  2017. margin-left: 20rpx;
  2018. .tab-item {
  2019. padding: 0 20rpx;
  2020. height: 52rpx;
  2021. line-height: 52rpx;
  2022. background: #FFFFFF;
  2023. border-radius: 8rpx;
  2024. border: 1rpx solid #E0E0E0;
  2025. font-size: 26rpx;
  2026. font-family: PingFangSC-Regular, PingFang SC;
  2027. font-weight: 400;
  2028. color: #999999;
  2029. }
  2030. .tabActive {
  2031. background: #2671E2;
  2032. color: #fff;
  2033. }
  2034. }
  2035. }
  2036. .headpade {
  2037. width: 160rpx;
  2038. height: 60rpx;
  2039. display: flex;
  2040. justify-content: center;
  2041. align-items: center;
  2042. border-left: 1px solid #D6D6D6;
  2043. .biaoji {
  2044. min-width: 120rpx;
  2045. height: 48rpx;
  2046. background: #E6625B;
  2047. border-radius: 24rpx;
  2048. text-align: center;
  2049. line-height: 48rpx;
  2050. color: #FFFFFF;
  2051. font-size: 26rpx;
  2052. }
  2053. }
  2054. }
  2055. .fill {
  2056. width: 2rpx;
  2057. height: 41rpx;
  2058. background: #E0E0E0;
  2059. }
  2060. .tmmchen {
  2061. width: 25%;
  2062. height: 88rpx;
  2063. text-align: center;
  2064. color: #666666;
  2065. font-size: 18rpx;
  2066. position: relative;
  2067. .allimg {
  2068. position: absolute;
  2069. width: 168rpx;
  2070. min-height: 210rpx;
  2071. top: -240rpx;
  2072. border: 1px solid #E0E0E0;
  2073. background: #FFFFFF;
  2074. font-size: 26rpx;
  2075. color: #333333;
  2076. text-align: center;
  2077. box-shadow: 10rpx 10rpx 5rpx #888888;
  2078. }
  2079. }
  2080. .tmmchen image {
  2081. width: 40rpx;
  2082. height: 40rpx;
  2083. margin-top: 10rpx;
  2084. margin-bottom: 2rpx;
  2085. }
  2086. .zhezhao {
  2087. position: fixed;
  2088. top: 0;
  2089. left: 0;
  2090. z-index: 999;
  2091. width: 100%;
  2092. height: 100vh;
  2093. opacity: 0.5;
  2094. background-color: #666666;
  2095. }
  2096. .followingpop-up {
  2097. width: 100%;
  2098. height: 75vh;
  2099. background: #FFFFFF;
  2100. position: fixed;
  2101. background: #FFFFFF;
  2102. left: 0px;
  2103. bottom: 0px;
  2104. z-index: 1000;
  2105. display: flex;
  2106. flex-direction: column;
  2107. // position: absolute;
  2108. .calibration {
  2109. width: 90rpx;
  2110. height: 90rpx;
  2111. background: #2671E2;
  2112. text-align: center;
  2113. line-height: 90rpx;
  2114. border-radius: 50%;
  2115. color: #FFFFFF;
  2116. position: absolute;
  2117. right: 30rpx;
  2118. bottom: 100rpx;
  2119. }
  2120. .guanbibox {
  2121. width: 100%;
  2122. padding-bottom: 20rpx;
  2123. margin-top: 20rpx;
  2124. border-bottom: 1px solid #E0E0E0;
  2125. position: relative;
  2126. .guanbixen {
  2127. width: 30rpx;
  2128. height: 30rpx;
  2129. position: absolute;
  2130. right: 30rpx;
  2131. top: 6rpx;
  2132. }
  2133. .cenisboxtab {
  2134. width: 100%;
  2135. display: flex;
  2136. .cenisboxtabview {
  2137. flex: 1;
  2138. display: flex;
  2139. align-items: center;
  2140. justify-content: center;
  2141. color: #333333;
  2142. font-size: 30rpx;
  2143. font-weight: 600;
  2144. }
  2145. }
  2146. }
  2147. .cenisbox {
  2148. flex: 1;
  2149. overflow: auto;
  2150. .jianbox {
  2151. width: 100%;
  2152. border-bottom: 1px solid #E0E0E0;
  2153. padding-top: 24rpx;
  2154. padding-bottom: 24rpx;
  2155. .jianbox-cen {
  2156. width: 100%;
  2157. height: 78rpx;
  2158. // border-bottom: 1px solid #E0E0E0;
  2159. display: flex;
  2160. .jianboxtext {
  2161. flex: 1;
  2162. height: 100%;
  2163. font-size: 30rpx;
  2164. font-weight: 600;
  2165. line-height: 78rpx;
  2166. color: #333333;
  2167. text-indent: 30rpx;
  2168. }
  2169. .jianboxjian {
  2170. width: 80rpx;
  2171. height: 100%;
  2172. line-height: 78rpx;
  2173. text-align: center;
  2174. }
  2175. }
  2176. .bioqianwayl {
  2177. width: 690rpx;
  2178. margin: 0 auto;
  2179. display: flex;
  2180. flex-wrap: wrap;
  2181. }
  2182. .bioqianwayl view {
  2183. padding-left: 24rpx;
  2184. padding-right: 24rpx;
  2185. padding-top: 10rpx;
  2186. padding-bottom: 10rpx;
  2187. margin-right: 24rpx;
  2188. margin-top: 20rpx;
  2189. border-radius: 8rpx;
  2190. font-size: 26rpx;
  2191. }
  2192. }
  2193. }
  2194. }
  2195. .jiantop {
  2196. width: 14rpx;
  2197. height: 24rpx;
  2198. }
  2199. .jiantop1 {
  2200. width: 20rpx;
  2201. height: 14rpx;
  2202. }
  2203. .sdfsaf {
  2204. padding-left: 24rpx;
  2205. padding-right: 24rpx;
  2206. padding-top: 10rpx;
  2207. padding-bottom: 10rpx;
  2208. border-radius: 8rpx;
  2209. font-size: 26rpx;
  2210. }
  2211. .yixingindexclass {
  2212. border-bottom: 3px solid #2671E2;
  2213. }
  2214. .cenisboxdspl {
  2215. width: 94%;
  2216. margin: 0 auto;
  2217. padding-bottom: 24rpx;
  2218. display: flex;
  2219. flex-wrap: wrap;
  2220. .cenisboxdsplview {
  2221. padding-left: 24rpx;
  2222. padding-right: 24rpx;
  2223. padding-top: 10rpx;
  2224. padding-bottom: 10rpx;
  2225. background: #F4F8FD;
  2226. color: #2671E2;
  2227. font-size: 26rpx;
  2228. margin-right: 24rpx;
  2229. margin-top: 24rpx;
  2230. }
  2231. }
  2232. .bounced {
  2233. width: 570upx;
  2234. background: #FFFFFF;
  2235. z-index: 1000;
  2236. border-radius: 10upx;
  2237. position: fixed;
  2238. left: 50%;
  2239. top: 50%;
  2240. transform: translate(-50%, -50%);
  2241. .headpade {
  2242. margin-top: 10rpx;
  2243. padding: 8rpx 8rpx 8rpx 8rpx;
  2244. background: #108ee9;
  2245. color: #fff;
  2246. border-radius: 16rpx;
  2247. }
  2248. /* 50%为自身尺寸的一半 */
  2249. .jiajinghuatit {
  2250. width: 100%;
  2251. height: 68rpx;
  2252. font-size: 30rpx;
  2253. text-align: center;
  2254. line-height: 68rpx;
  2255. }
  2256. .jiajinghuaview {
  2257. padding: 18rpx 18rpx 18rpx 18rpx;
  2258. display: flex;
  2259. flex-wrap: wrap;
  2260. .jiajinghuaview1 {
  2261. padding: 8rpx 8rpx 8rpx 8rpx;
  2262. font-size: 26rpx;
  2263. border-radius: 12rpx;
  2264. border: 1px solid #979797;
  2265. margin-left: 8rpx;
  2266. }
  2267. .jighuaview2 {
  2268. padding: 8rpx 18rpx 8rpx 18rpx;
  2269. font-size: 26rpx;
  2270. border-radius: 12rpx;
  2271. border: 1px solid #979797;
  2272. margin-left: 20rpx;
  2273. margin-top: 10rpx;
  2274. display: flex;
  2275. .view1-text {
  2276. text-align: center;
  2277. }
  2278. .view1-img {
  2279. width: 50rpx;
  2280. }
  2281. }
  2282. }
  2283. .bounced3 {
  2284. height: 100upx;
  2285. width: 100%;
  2286. margin-top: 40upx;
  2287. border-top: 1px solid #dddddd;
  2288. display: flex;
  2289. }
  2290. .bounced3-1 {
  2291. width: 50%;
  2292. height: 100%;
  2293. text-align: center;
  2294. line-height: 100upx;
  2295. border-right: 1px solid #dddddd;
  2296. font-size: 36upx;
  2297. color: #999999;
  2298. }
  2299. .bounced3-2 {
  2300. width: 50%;
  2301. height: 100%;
  2302. text-align: center;
  2303. line-height: 100upx;
  2304. font-size: 36upx;
  2305. color: #108ee9;
  2306. }
  2307. }
  2308. .viewclace {
  2309. width: 100rpx;
  2310. height: 40rpx;
  2311. text-align: center;
  2312. line-height: 40rpx;
  2313. border-radius: 14rpx;
  2314. margin-right: 34rpx;
  2315. margin-top: 16rpx;
  2316. font-size: 24rpx;
  2317. }
  2318. .bosdttom {
  2319. color: #FFFFFF;
  2320. background-color: #2671E2;
  2321. }
  2322. .dialog-block {
  2323. margin: 20rpx 0;
  2324. border-bottom: 1px solid #ccc;
  2325. .fileName {
  2326. text-align: center;
  2327. margin: 10rpx auto;
  2328. width: 115rpx;
  2329. height: 42rpx;
  2330. line-height: 42rpx;
  2331. background: #EFEFEF;
  2332. border-radius: 4rpx;
  2333. font-size: 20rpx;
  2334. font-weight: 400;
  2335. color: #333333;
  2336. }
  2337. }
  2338. .scroll-Y {
  2339. font-size: 36upx;
  2340. color: #999999;
  2341. background: #FFFFFF;
  2342. margin-top: 30upx;
  2343. flex: 1;
  2344. overflow-y: scroll;
  2345. width: 100%;
  2346. }
  2347. .scroll-Y .text {
  2348. margin: 50upx 30upx;
  2349. line-height: 80upx;
  2350. display: flex;
  2351. align-items: center;
  2352. }
  2353. .scroll-Y .text[data-speaker="2"],
  2354. .scroll-Y .text[data-speaker="4"],
  2355. .scroll-Y .text[data-speaker="6"] {
  2356. flex-direction: row-reverse;
  2357. text-align: right;
  2358. .contentInfo {
  2359. .info {
  2360. color: #ccc;
  2361. font-size: 18rpx;
  2362. font-size: 30rpx;
  2363. padding: 0 28rpx;
  2364. }
  2365. .contentMain {
  2366. display: flex;
  2367. flex-direction: row-reverse;
  2368. align-items: center;
  2369. .content {
  2370. margin-left: 0;
  2371. margin-right: 30upx;
  2372. }
  2373. .play {
  2374. width: 50rpx;
  2375. height: 50rpx;
  2376. margin-right: 20rpx;
  2377. }
  2378. }
  2379. }
  2380. }
  2381. .scroll-Y .text[data-speaker="2"],
  2382. .scroll-Y .text[data-speaker="4"],
  2383. .scroll-Y .text[data-speaker="6"] {
  2384. .contentInfo {
  2385. .info {
  2386. .AudioUserName {
  2387. margin-left: 10rpx;
  2388. }
  2389. display: flex;
  2390. flex-direction: row-reverse;
  2391. }
  2392. }
  2393. }
  2394. .scroll-Y .text {
  2395. .contentInfo {
  2396. .info {
  2397. .AudioUserName {
  2398. margin-right: 10rpx;
  2399. }
  2400. }
  2401. }
  2402. }
  2403. .scroll-Y .text .avatar {
  2404. margin-top: 80rpx;
  2405. width: 64upx;
  2406. height: 64upx;
  2407. line-height: 64upx;
  2408. text-align: center;
  2409. font-size: 36rpx;
  2410. border-radius: 50%;
  2411. background: #F2F2F2;
  2412. color: #008EF2;
  2413. image {
  2414. width: 40upx;
  2415. }
  2416. }
  2417. .checkbox {
  2418. margin: 80rpx 20rpx 0;
  2419. width: 48rpx;
  2420. height: 48rpx;
  2421. display: flex;
  2422. justify-content: center;
  2423. align-items: center;
  2424. border-radius: 50%;
  2425. border: 1rpx solid #70798D;
  2426. &.select {
  2427. border-color: #008EF2;
  2428. background: #008EF2;
  2429. color: #fff;
  2430. }
  2431. }
  2432. .scroll-Y .text .contentInfo .info {
  2433. color: #ccc;
  2434. font-size: 18rpx;
  2435. font-size: 30rpx;
  2436. padding: 0 28rpx;
  2437. }
  2438. .scroll-Y .text .contentInfo .contentMain {
  2439. display: flex;
  2440. align-items: center;
  2441. }
  2442. .scroll-Y .text .contentInfo .contentMain .content {
  2443. margin-left: 30upx;
  2444. line-height: 60rpx;
  2445. text-align: left;
  2446. padding: 0 5px;
  2447. border-radius: 8upx;
  2448. max-width: 442rpx;
  2449. background: #F6F6F6;
  2450. color: #999999;
  2451. position: relative;
  2452. .tankuangcss {
  2453. position: absolute;
  2454. top: -140rpx;
  2455. left: -120rpx;
  2456. width: 308rpx;
  2457. height: 130rpx;
  2458. background-color: #333333;
  2459. font-size: 24rpx;
  2460. color: #FFFFFF;
  2461. padding-top: 4rpx;
  2462. padding-bottom: 4rpx;
  2463. display: flex;
  2464. flex-wrap: wrap;
  2465. border-radius: 15rpx;
  2466. z-index: 1000;
  2467. }
  2468. .bottoms {
  2469. top: unset;
  2470. bottom: -140rpx;
  2471. }
  2472. }
  2473. .scroll-Y .text .contentInfo .contentMain .play {
  2474. width: 50rpx;
  2475. height: 50rpx;
  2476. margin-left: 20rpx;
  2477. }
  2478. .backTop {
  2479. width: 60upx;
  2480. height: 60upx;
  2481. background: rgba(211, 235, 253, 1);
  2482. box-shadow: 0upx 0upx 2upx 4upx rgba(38, 161, 255, 0.04);
  2483. border-radius: 50%;
  2484. position: fixed;
  2485. bottom: 200upx;
  2486. right: 8upx;
  2487. display: flex;
  2488. justify-content: center;
  2489. align-items: center;
  2490. image {
  2491. width: 26upx;
  2492. height: 34upx;
  2493. }
  2494. }
  2495. .jiangshang {
  2496. color: #fff;
  2497. background: #2671E2;
  2498. }
  2499. .jiangshang1 {
  2500. color: #FFFFFF;
  2501. background: #999999;
  2502. }
  2503. // 表单
  2504. .tian-view {
  2505. width: 570rpx;
  2506. background-color: #FFFFFF;
  2507. display: flex;
  2508. margin-bottom:30rpx;
  2509. .tian-view-t2 {
  2510. width: 100%;
  2511. font-size: 34rpx;
  2512. display: flex;
  2513. align-items: center;
  2514. color: #333;
  2515. .tian-input {
  2516. width: 384rpx;
  2517. font-size: 34rpx;
  2518. padding: 0 10rpx;
  2519. border: none;
  2520. border-bottom: 1px solid #e0e0e0;
  2521. }
  2522. }
  2523. .tian-view-t3 {
  2524. width: 100%;
  2525. display: flex;
  2526. font-size: 34rpx;
  2527. align-items: center;
  2528. .huashu-input{
  2529. width: 384rpx;
  2530. height: 60rpx;
  2531. padding: 0 10rpx;
  2532. font-size: 34rpx;
  2533. border-bottom: 1px solid #E0E0E0;
  2534. }
  2535. }
  2536. }
  2537. .inputbox {
  2538. width: 100%;
  2539. height: 100rpx;
  2540. display: flex;
  2541. align-items: center;
  2542. justify-content: center;
  2543. border-bottom: 1px solid #E0E0E0;
  2544. .thisinput {
  2545. width: 94%;
  2546. height: 52rpx;
  2547. background: #FFFFFF;
  2548. border-radius: 8rpx;
  2549. border: 1px solid #C9C9C9;
  2550. color: #333333;
  2551. font-size: 26rpx;
  2552. text-indent: 26rpx;
  2553. line-height: 52rpx;
  2554. }
  2555. }
  2556. .biaoqiantom {
  2557. background-color: #008EF2;
  2558. color: #FFFFFF;
  2559. border: none;
  2560. }
  2561. .Level-box {
  2562. padding-bottom: 2rpx;
  2563. .hhhbox {
  2564. width: 100%;
  2565. padding-left: 30rpx;
  2566. padding-right: 30rpx;
  2567. border-bottom: 1rpx solid #E0E0E0;
  2568. background: #FFFFFF;
  2569. // padding-bottom: 32rpx;
  2570. .hsnrtest {
  2571. height: 24rpx;
  2572. font-size: 24rpx;
  2573. font-weight: 400;
  2574. color: #666666;
  2575. line-height: 24rpx;
  2576. }
  2577. .Level3che {
  2578. width: 100%;
  2579. height: 28rpx;
  2580. display: flex;
  2581. line-height: 28rpx;
  2582. align-items: center;
  2583. margin-top: 30rpx;
  2584. .title1 {
  2585. flex: 1;
  2586. font-size: 28rpx;
  2587. color: #2671E2;
  2588. font-weight: 400;
  2589. }
  2590. .gray {
  2591. color: #979797 !important;
  2592. }
  2593. .jiantobox {
  2594. width: 30rpx;
  2595. height: 30rpx;
  2596. display: flex;
  2597. align-items: center;
  2598. .arrow {
  2599. width: 28rpx;
  2600. height: 28rpx;
  2601. }
  2602. }
  2603. }
  2604. }
  2605. .Level2che {
  2606. width: 100%;
  2607. height: 88rpx;
  2608. display: flex;
  2609. line-height: 88rpx;
  2610. align-items: center;
  2611. .title1 {
  2612. flex: 2;
  2613. font-size: 28rpx;
  2614. color: #333333;
  2615. font-weight: 400;
  2616. }
  2617. .leve1-jindu {
  2618. flex: 3;
  2619. display: flex;
  2620. justify-content: center;
  2621. align-items: center;
  2622. .zhixing {
  2623. width: 108rpx;
  2624. height: 44rpx;
  2625. background: #2671E2;
  2626. border-radius: 4rpx;
  2627. font-size: 28rpx;
  2628. text-align: center;
  2629. line-height: 44rpx;
  2630. color: #FFFFFF;
  2631. }
  2632. .zhixing2 {
  2633. width: 108rpx;
  2634. height: 44rpx;
  2635. background: #F8F8F8;
  2636. border-radius: 4rpx;
  2637. font-size: 28rpx;
  2638. text-align: center;
  2639. line-height: 44rpx;
  2640. color: #999999;
  2641. }
  2642. }
  2643. .jiantobox {
  2644. width: 30rpx;
  2645. height: 30rpx;
  2646. display: flex;
  2647. align-items: center;
  2648. .arrow {
  2649. width: 30rpx;
  2650. height: 18rpx;
  2651. }
  2652. }
  2653. }
  2654. .Level1che {
  2655. width: 100%;
  2656. height: 94rpx;
  2657. background: #F5F5F5;
  2658. display: flex;
  2659. line-height: 94rpx;
  2660. align-items: center;
  2661. padding-left: 30rpx;
  2662. padding-right: 30rpx;
  2663. .title1 {
  2664. flex: 2;
  2665. font-size: 30rpx;
  2666. color: #333333;
  2667. font-weight: 400;
  2668. }
  2669. .leve1-jindu {
  2670. flex: 3;
  2671. .jindutiao {
  2672. width: 96%;
  2673. height: 28rpx;
  2674. background: #D5EEE2;
  2675. line-height: 28rpx;
  2676. border-radius: 14rpx;
  2677. position: relative;
  2678. .huanxing {
  2679. height: 100%;
  2680. background: #4FC78F;
  2681. border-radius: 14rpx;
  2682. }
  2683. .text {
  2684. position: absolute;
  2685. top: 0rpx;
  2686. right: 0rpx;
  2687. font-size: 28rpx;
  2688. font-weight: 400;
  2689. color: #333333;
  2690. }
  2691. }
  2692. }
  2693. .jiantobox {
  2694. width: 30rpx;
  2695. height: 30rpx;
  2696. display: flex;
  2697. align-items: center;
  2698. .arrow {
  2699. width: 30rpx;
  2700. height: 18rpx;
  2701. }
  2702. }
  2703. }
  2704. }
  2705. .rotatearrow {
  2706. transform: rotate(270deg);
  2707. }
  2708. .ffectivetext {
  2709. width: 85%;
  2710. margin: 10rpx auto;
  2711. height: 100rpx;
  2712. padding: 20rpx;
  2713. border: 1rpx solid #E4F0FF;
  2714. }
  2715. /deep/ .u-model-title {
  2716. padding: 34rpx 0 16rpx !important;
  2717. }
  2718. .scroll-Y .text.active .content {
  2719. color: #FF7538 !important;
  2720. position: relative;
  2721. }
  2722. .scroll-Y .text.active[data-speaker] .content,
  2723. .scroll-Y .text.active[data-speaker="2"] .content,
  2724. .scroll-Y .text.active[data-speaker="4"] .content,
  2725. .scroll-Y .text.active[data-speaker="6"] .content {
  2726. color: #FF7538 !important;
  2727. position: relative;
  2728. }
  2729. .scroll-Y .isGreen .contentInfo .contentMain .content {
  2730. background: #2BC805 !important;
  2731. color: #FFFFFF;
  2732. }
  2733. </style>