You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

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