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.
 
 
 

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