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.
 
 
 

2952 line
78 KiB

  1. <template>
  2. <view class="box" @click="cancelBeast">
  3. <view class="headbox">
  4. <!-- 顶部时间 -->
  5. <view class="headboxhead">
  6. <view class="boxhead1">{{date}}</view>
  7. <view class="boxhead2" v-if="jiaoseshow">
  8. <image v-if="status==1" @click="tappick()" src="../../static/images/pike.png" mode=""></image>
  9. <image v-if="status==0" @click="notappick()" src="../../static/images/nopike.png" mode=""></image>
  10. </view>
  11. </view>
  12. <view class="headboxbott">
  13. <view class="headovfu">
  14. <u-tabs ref="tabs" font-size="30" :bold="true" swiper-width="600" :current="roleindex"
  15. @change="tapspagek" inactive-color="#b1b1b1" active-color="#008ef2" :list="tablist"
  16. :is-scroll="true">
  17. </u-tabs>
  18. </view>
  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" @click.stop>
  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 v-model="wajueshow" title="新增挖掘话术" :show-cancel-button="true" @cancel="CancelAdd" @confirm="wajueConfirm()">
  150. <view class="tian-view" style="margin-left: 20rpx;">
  151. <viwe class="tian-view-t3">
  152. 话术分类:<input class="huashu-input" disabled @click="treeshow=true" v-model="wordBiao.wordBiaoqian" type="text" placeholder="请选择" />
  153. </viwe>
  154. </view>
  155. <view class="tian-view" style="margin-left: 20rpx;">
  156. <viwe class="tian-view-t2">
  157. 话术内容:<textarea :auto-height="true" type="text" v-model="thewrongword" class="tian-input" placeholder="请输入" />
  158. </viwe>
  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. <viwe class="tian-view-t2" style="margin-left: 20rpx;">
  166. 常错词:<textarea :auto-height="true" type="text" v-model="thewrongword" :disabled="isNum" class="tian-input" placeholder="请输入" />
  167. </viwe>
  168. </view>
  169. <view class="tian-view">
  170. <viwe class="tian-view-t3" style="margin-left: 20rpx;">正确词:<input class="huashu-input" v-model="reswrongword" type="text" placeholder="请输入" /></viwe>
  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. this.$u.post("/corpus/addWordMining", {
  733. "houseId":this.buildingID,// 楼盘id
  734. "cusId":this.customerId, //客户id
  735. "question":this.thewrongword,// 问题
  736. "keywordsId":this.wordBiao.wordBiaoqianId,// 标签id
  737. "level":this.wordBiao.level // 标签等级
  738. })
  739. .then((res) => {
  740. console.log(res)
  741. this.wajueItem.isshow = false
  742. })
  743. },
  744. // 挖掘话术分类树的选择
  745. confirmTree(e){
  746. console.log(e)
  747. if(e[1].label=='--'){
  748. this.wordBiao.wordBiaoqian = e[0].label
  749. this.wordBiao.wordBiaoqianId = e[0].value
  750. this.wordBiao.level = 1
  751. }else{
  752. this.wordBiao.wordBiaoqian = e[0].label + '/' + e[1].label
  753. this.wordBiao.wordBiaoqianId= e[1].value
  754. this.wordBiao.level = 2
  755. }
  756. console.log(this.wordBiao.wordBiaoqian)
  757. },
  758. CancelAdd(){
  759. this.wajueshow = false
  760. this.wajueItem.isshow= false
  761. },
  762. // 选中取反
  763. cbChange(item) {
  764. item.checked = !item.checked
  765. this.$forceUpdate()
  766. },
  767. // 隐藏长按提示框
  768. cancelBeast() {
  769. this.dialogList.forEach(res => {
  770. res.message.forEach(asd => {
  771. asd.isshow = false;
  772. })
  773. })
  774. },
  775. // 重置选择加精的内容
  776. cancelAllAdd() {
  777. console.log('chufa')
  778. this.dialogList.forEach(item => {
  779. if (item.message && item.message.length > 0) {
  780. item.message.forEach(items => {
  781. items.checked = false
  782. })
  783. }
  784. })
  785. this.refined = false
  786. // this.$forceUpdate()
  787. },
  788. hangeshow2(item, type) {
  789. item.show = !item.show;
  790. },
  791. eqLogClick() {
  792. uni.navigateTo({
  793. url: `./equipmentLog?id=${this.customerId}`
  794. })
  795. },
  796. rolexuanze(index) {
  797. this.roleindexrow = index;
  798. },
  799. Modifyrole(dialog, item) {
  800. this.roleisshaw = true;
  801. this.roletiaoshu = dialog;
  802. this.roleindexrow = this.dialogList[this.csdFileindex].message[this.roletiaoshu].speaker - 1;
  803. },
  804. roletab() {
  805. // let itso=this.dialogList[this.csdFileindex].message[this.roletiaoshu];
  806. let itso = Object.assign({}, this.dialogList[this.csdFileindex].message[this.roletiaoshu]);
  807. itso.onebest = itso.onebest.replace(/<.*?>/ig, "");
  808. this.$u.post("/corpus/updateRole", {
  809. corpusId: this.luyinList[this.csdFileindex].id,
  810. transferContent: [itso],
  811. speaker: this.roleindexrow + 1,
  812. customerId: this.customerId
  813. }).then(res => {
  814. this.dialogList[this.csdFileindex].message[this.roletiaoshu].speaker = this.roleindexrow + 1
  815. this.roleisshaw = false;
  816. this.cancelBeast()
  817. uni.showToast({
  818. title: '修改成功',
  819. duration: 2000
  820. });
  821. })
  822. },
  823. argece(item) {
  824. console.log(item)
  825. if (item.selected == 0) {
  826. console.log(item)
  827. this.Pinspeak = false
  828. uni.navigateTo({
  829. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  830. .keywordsId + "&type=" + 1 + '&UpDateEvent=DETAILS2INIT'
  831. })
  832. }
  833. },
  834. //关键词点击
  835. tapbadge(item) {
  836. this.Pinspeak = false
  837. //进搜索页面
  838. uni.navigateTo({
  839. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item +
  840. "&skpl=" + "2" + '&UpDateEvent=DETAILS2INIT'
  841. })
  842. },
  843. recordclick(i) {
  844. this.zhixingcenterindex = i;
  845. if (i == 0) {
  846. this.getRatelist()
  847. } else if (i == 1) {
  848. this.huoqujinji()
  849. } else {
  850. this.getfindKeyWordsBycusId()
  851. }
  852. },
  853. //获取禁忌
  854. huoqujinji() {
  855. uni.showLoading({
  856. title: '加载中'
  857. });
  858. this.$u.get("/customer/findTabooWordsByCusId", {
  859. cusId: this.customerId
  860. }).then(res => {
  861. if (res.length) {
  862. this.prohibitedlist = res;
  863. }
  864. setTimeout(function() {
  865. uni.hideLoading();
  866. }, 1000);
  867. })
  868. },
  869. //评分点击
  870. clickaudeopal(item) {
  871. if (item.selected == 0 && item.viewFlag != 1) {
  872. // console.log(item)
  873. this.Pinspeak = false
  874. uni.navigateTo({
  875. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  876. .marketingId + "&type=" + 0 + '&UpDateEvent=DETAILS2INIT'
  877. })
  878. }
  879. },
  880. //获取用户信息
  881. gituserlist() {
  882. this.$u.get("/matchKeywords/personalReceptionRecord", {
  883. customerId: this.customerId
  884. }).then(res => {
  885. res.endTime1 = res.endTime.substring(0, 19);
  886. this.userlistobj = res;
  887. })
  888. },
  889. Acquishow2(i) {
  890. this.Acquirecustomerintentlist2[i].isshow = !this.Acquirecustomerintentlist2[i].isshow;
  891. },
  892. tocalibration() {
  893. uni.navigateTo({
  894. url: '/pages/mine/calibration?id=' + this.customerId
  895. });
  896. },
  897. customerofintention(i) {
  898. this.kehuyixiangcenterindex = i;
  899. if (i == 0) {
  900. this.Acquirecustomerintent()
  901. } else {
  902. this.Acquirecustomerintent2()
  903. }
  904. },
  905. //获取人工校准意向信息
  906. Acquirecustomerintent2() {
  907. this.Acquirecustomerintentlist2 = [];
  908. this.$u.get("/matchKeywords/findManualCalibration", {
  909. customerId: this.customerId,
  910. type: 1
  911. }).then(res => {
  912. res.forEach(item => {
  913. item.isshow = true;
  914. item.children.forEach(chend => {
  915. if (chend.isInterval == 0) {
  916. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  917. .unit
  918. } else {
  919. chend.text = chend.name
  920. }
  921. })
  922. })
  923. this.Acquirecustomerintentlist2 = res;
  924. })
  925. },
  926. //获取系统意向信息
  927. Acquirecustomerintent() {
  928. this.Acquirecustomerintentlist = [];
  929. this.$u.get("/matchKeywords/findSystemAnalysis", {
  930. customerId: this.customerId
  931. }).then(res => {
  932. res.forEach(item => {
  933. item.isshow = true;
  934. item.children.forEach(chend => {
  935. if (chend.isInterval == 0) {
  936. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  937. .unit
  938. } else {
  939. chend.text = chend.name
  940. }
  941. })
  942. })
  943. this.Acquirecustomerintentlist = res;
  944. })
  945. },
  946. Acquishow(i) {
  947. this.Acquirecustomerintentlist[i].isshow = !this.Acquirecustomerintentlist[i].isshow;
  948. },
  949. Edittag(item, chend, index, i) {
  950. var selected = '';
  951. if (chend.selected == 0) {
  952. selected = 1;
  953. this.Acquirecustomerintentlist[index].children[i].selected = 1;
  954. } else {
  955. selected = 0;
  956. this.Acquirecustomerintentlist[index].children[i].selected = 0;
  957. }
  958. this.$u.post("/matchKeywords/updatePersonalMatchData", {
  959. carId: this.customerId,
  960. selected: selected,
  961. name: chend.name,
  962. pid: chend.pid,
  963. level: chend.level,
  964. endName: chend.endName,
  965. keywordsId: chend.keywordsId
  966. }).then(res => {
  967. })
  968. },
  969. //取消接待详情
  970. clenReceivedetailsabout() {
  971. this.Receivedetailsabout = false;
  972. this.Pinspeak = false;
  973. this.intention = false;
  974. this.Thetapeidisshow = false;
  975. },
  976. //意向统计切换
  977. Intentiontoswitch(i) {
  978. this.yixingindex = i;
  979. if (i == 1) {
  980. this.statistical()
  981. }
  982. },
  983. statistical() {
  984. this.$u.get("/matchKeywords/findCARKeywords", {
  985. customerId: this.customerId
  986. }).then(res => {
  987. res.forEach(item => {
  988. if (item.isInterval == 0) {
  989. item.name = item.name + item.unit + '-' + item.endName + item.unit;
  990. }
  991. })
  992. this.options1 = res;
  993. })
  994. },
  995. Receivetap() {
  996. this.Receivedetailsabout = true;
  997. },
  998. //标记
  999. alllogo() {
  1000. var that = this;
  1001. let msg = '';
  1002. if (this.userlistobj.validInvalid != 0) {
  1003. msg = '是否标记为"有效录音"?';
  1004. uni.showModal({
  1005. title: '提示',
  1006. content: msg,
  1007. success: function(res) {
  1008. that.isBand = true
  1009. if (that.noClick) {
  1010. that.noClick = false;
  1011. if (res.confirm) {
  1012. let parames = {
  1013. id: that.customerId,
  1014. validInvalid: '',
  1015. invalidReason: 0
  1016. }
  1017. if (that.userlistobj.validInvalid == 0) {
  1018. parames.validInvalid = 1;
  1019. } else {
  1020. parames.validInvalid = 0;
  1021. }
  1022. that.$u.post("/customer/updateValidInvalid", parames).then(res => {
  1023. console.log(res)
  1024. that.isBand = false
  1025. that.Thetapeidisshow = false;
  1026. }).catch(e => {
  1027. that.isBand = false
  1028. })
  1029. }
  1030. setTimeout(() => {
  1031. that.noClick = true;
  1032. }, 2000)
  1033. } else {
  1034. // 这里是重复点击的判断
  1035. }
  1036. }
  1037. });
  1038. } else {
  1039. this.effective = true;
  1040. }
  1041. },
  1042. effectiveAdd() {
  1043. if (this.effectiveindex == 4) {
  1044. if (this.effectiveitext.length == 0) {
  1045. uni.showToast({
  1046. title: '备注不能为空',
  1047. icon: "none",
  1048. duration: 2000
  1049. });
  1050. return
  1051. }
  1052. }
  1053. this.effective = false;
  1054. this.isBand = true
  1055. let parames = {
  1056. id: this.customerId,
  1057. validInvalid: '',
  1058. validInvalid: 1,
  1059. invalidReason: Number(this.effectiveindex) + 1,
  1060. invalidNote: this.effectiveitext
  1061. }
  1062. this.$u.post("/customer/updateValidInvalid", parames).then(res => {
  1063. console.log(res)
  1064. this.Thetapeidisshow = false;
  1065. }).catch(e => {
  1066. this.isBand = false
  1067. })
  1068. },
  1069. radioChange(evt) {
  1070. this.effectiveitext = "";
  1071. for (let i = 0; i < this.effectiveitems.length; i++) {
  1072. if (this.effectiveitems[i].value === evt.detail.value) {
  1073. this.effectiveindex = i;
  1074. break;
  1075. }
  1076. }
  1077. },
  1078. //接待详情点击
  1079. Receivedetailsabouttab(stringa) {
  1080. if (stringa == 'Receivedetailsabout') {
  1081. this.Thetapeidisshow = !this.Thetapeidisshow;
  1082. this.gituserlist()
  1083. } else if (stringa == 'Pinspeak') {
  1084. this.getRatelist()
  1085. this.getfindKeyWordsBycusId()
  1086. this.Pinspeak = true;
  1087. } else {
  1088. if (this.kehuyixiangcenterindex == 0) {
  1089. this.Acquirecustomerintent()
  1090. } else {
  1091. this.Acquirecustomerintent2()
  1092. }
  1093. this.intention = true;
  1094. }
  1095. },
  1096. guanjiancishifo() {
  1097. // this.guanjianciishow=!this.guanjianciishow;
  1098. this.stateisshow = 1;
  1099. uni.navigateTo({
  1100. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  1101. "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT'
  1102. })
  1103. },
  1104. // 添加角色
  1105. addRole() {
  1106. this.tablist.push({
  1107. name: String.fromCharCode(this.tablist.length + 64)
  1108. })
  1109. },
  1110. //标记选择角色
  1111. biaojixuanze(index) {
  1112. this.roleindexbiaoji = index;
  1113. },
  1114. //标记顾问
  1115. tagtap() {
  1116. this.biojiisshow = !this.biojiisshow;
  1117. },
  1118. //取消标记
  1119. unmarktap() {
  1120. this.biojiisshow = false;
  1121. this.roleindexbiaoji = this.dshfkjsdkksodofydwfkhwdfkjh;
  1122. this.roleisshaw = false
  1123. this.cancelBeast()
  1124. },
  1125. //确认标记
  1126. Confirmthetag() {
  1127. var num = this.roleindexbiaoji + 1;
  1128. uni.request({
  1129. url: config.service.markConsultant + '?id=' + this.luyinList[this.csdFileindex].id +
  1130. "&speaker=" + num + '&customerId=' + this.customerId, //仅为示例,并非真实接口地址。
  1131. method: "GET",
  1132. header: {
  1133. 'content-type': 'application/json',
  1134. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1135. },
  1136. success: (data) => {
  1137. this.biojiisshow = false;
  1138. this.biaojiyuyi()
  1139. this.fenjiaoseunfo()
  1140. uni.showToast({
  1141. title: '标记成功',
  1142. duration: 2000
  1143. });
  1144. },
  1145. })
  1146. },
  1147. //标记语义词
  1148. biaojiyuyi() {
  1149. let parames = {
  1150. carId: this.customerId
  1151. }
  1152. this.$u.post("/matchKeywords/toMatchKeywords", parames).then(res => {
  1153. console.log(res)
  1154. })
  1155. },
  1156. //分角色
  1157. tapspagek(index) {
  1158. this.roleindex = index;
  1159. this.newluyinList = [];
  1160. this.fenjiaoseunfo()
  1161. this.$forceUpdate()
  1162. },
  1163. //------------------------------------分角色标记刷新
  1164. fenjiaoseunfo() {
  1165. var bgcd = this.playNow * 1000;
  1166. this.newluyinList = [];
  1167. this.dialogList = [];
  1168. let voFlagValue;
  1169. if (this.roleindex == 0) {
  1170. voFlagValue = 0
  1171. } else {
  1172. voFlagValue = 1
  1173. }
  1174. let tempRoleIndex;
  1175. if (this.isSw) {
  1176. if (this.roleindex == this.tablist.length - 1) {
  1177. tempRoleIndex = 0
  1178. } else {
  1179. tempRoleIndex = this.roleindex
  1180. }
  1181. } else {
  1182. tempRoleIndex = this.roleindex
  1183. }
  1184. uni.request({
  1185. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  1186. "&bg=" + bgcd + "&speaker=" + tempRoleIndex + "&voFlag=" + voFlagValue +
  1187. '&num=50', //仅为示例,并非真实接口地址。
  1188. method: "GET",
  1189. header: {
  1190. 'content-type': 'application/json',
  1191. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1192. },
  1193. success: (data) => {
  1194. this.tablist = [];
  1195. let jsonInfo = JSON.parse(data.data.data.audioContent);
  1196. for (var i = 0; i <= data.data.data.speakerNum; i++) {
  1197. if (i === 0) {
  1198. this.tablist.push({
  1199. name: '全部'
  1200. })
  1201. } else {
  1202. this.tablist.push({
  1203. name: String.fromCharCode(i + 64)
  1204. })
  1205. }
  1206. }
  1207. if (data.data.data.speaker == null) {
  1208. this.roleindexbiaoji = 0;
  1209. this.dshfkjsdkksodofydwfkhwdfkjh = 0;
  1210. } else {
  1211. if (data.data.data.viewNameFlag == 1) {
  1212. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data
  1213. .speaker]
  1214. .name;
  1215. } else {
  1216. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data
  1217. .speaker]
  1218. .name + "顾问";
  1219. }
  1220. this.roleindexbiaoji = data.data.data.speaker - 1;
  1221. this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1;
  1222. }
  1223. if (data.data.data.viewNameFlag == 1) {
  1224. let p = [{
  1225. name: '顾问'
  1226. }]
  1227. this.tablist = [...this.tablist, ...p]
  1228. }
  1229. if (this.roleindex > this.tablist.length - 1) {
  1230. this.roleindex = this.tablist.length - 1
  1231. this.fenjiaoseunfo()
  1232. }
  1233. this.speaker = data.data.data.speaker;
  1234. //上拉标记点
  1235. this.textindex = data.data.data.index;
  1236. //下拉标记点
  1237. this.toptextindex = data.data.data.index;
  1238. this.isShowMark = data.data.data.viewNameFlag;
  1239. jsonInfo.forEach(item => {
  1240. item.message = JSON.parse(item.onebest)
  1241. item.backindex = this.csdFileindex
  1242. console.log(item.message, '123u8123u89i123io')
  1243. item.message.forEach(info => {
  1244. info.checked = false
  1245. })
  1246. })
  1247. this.newluyinList = jsonInfo;
  1248. if (this.textindex == null) {
  1249. return
  1250. } else {
  1251. this.dialogList.push(jsonInfo[this.textindex]);
  1252. }
  1253. }
  1254. })
  1255. },
  1256. toKeywordsearch() {
  1257. this.stateisshow = 1;
  1258. uni.navigateTo({
  1259. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  1260. "&skpl=" + "1" + '&UpDateEvent=DETAILS2INIT'
  1261. })
  1262. },
  1263. TimeUpdate(currentTime) {
  1264. this.playNow = Math.ceil(currentTime)
  1265. if (this.dialogList.length == 0) {
  1266. return
  1267. } else {
  1268. const message = this.dialogList[0].message;
  1269. if (!message) return
  1270. for (let i = 0; i < message.length; i++) {
  1271. if (Math.floor(message[i].bg / 1000) <= this.playNow && this.playNow < Math.floor(message[i].ed /
  1272. 1000)) {
  1273. console.log(message[i].bg, '我是active', message[i].ed, '我是currentTime', this.playNow)
  1274. console.log(message[i].onebest)
  1275. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  1276. break;
  1277. }
  1278. if (i < message.length - 1 && Math.floor(message[i].ed / 1000) < this.playNow && this.playNow <
  1279. Math.floor(message[i + 1].bg / 1000)) {
  1280. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  1281. break;
  1282. }
  1283. }
  1284. }
  1285. this.$forceUpdate()
  1286. },
  1287. init(info) {
  1288. this.sliderMax = 0; //进度条最大值
  1289. this.timeStr = "00:00"; //总的时间
  1290. const parames = {
  1291. pageNum: 1,
  1292. pageSize: 100,
  1293. query: {
  1294. customerId: this.customerId
  1295. }
  1296. }
  1297. this.$u.post("/corpus/findByPage", parames).then(res => {
  1298. if (res && res.length) {
  1299. let alltime = 1 + res[0].recordDuration;
  1300. this.calibration = res[0].calibration;
  1301. if (this.calibration == 0) {
  1302. this.kehuyixiangcenterindex = 0;
  1303. } else {
  1304. this.kehuyixiangcenterindex = 1;
  1305. }
  1306. this.alltimeStr = this.getTime(alltime)
  1307. if (info.bg != 0) {
  1308. this.luyinList = res;
  1309. this.recordPath = res[0].recordPath
  1310. this.date = res[0].receptionTime;
  1311. this.getCorpusAnalysis(info);
  1312. } else {
  1313. this.luyinList = res;
  1314. this.recordPath = res[0].recordPath
  1315. this.date = res[0].receptionTime;
  1316. this.getCorpusAnalysis(info);
  1317. this.zyAudio()
  1318. }
  1319. }
  1320. })
  1321. },
  1322. //搜索跳转
  1323. adasdasdasd(e) {
  1324. this.stepPlay(e)
  1325. },
  1326. //下一页
  1327. ltolower() {
  1328. var lengthcz = this.newluyinList.length - 1;
  1329. if (this.textindex >= lengthcz) {
  1330. uni.showToast({
  1331. title: '到底了',
  1332. duration: 2000
  1333. });
  1334. return
  1335. } else {
  1336. this.textindex = this.textindex + 1;
  1337. this.newluyinList[this.textindex].message.forEach(item => {
  1338. this.dialogList[0].message.push(item)
  1339. })
  1340. }
  1341. console.log("下一页", this.textindex)
  1342. },
  1343. //上一页
  1344. rolltoupper() {
  1345. if (this.toptextindex == 0) {
  1346. // uni.showToast({
  1347. // title: '到头了',
  1348. // duration: 2000
  1349. // });
  1350. return
  1351. } else {
  1352. if (this.dialogList[0] == undefined) {
  1353. return
  1354. } else {
  1355. this.toptextindex = this.toptextindex - 1;
  1356. let reverselist = this.newluyinList[this.toptextindex].message;
  1357. let runlist = reverselist.reverse();
  1358. runlist.forEach(item => {
  1359. this.dialogList[0].message.unshift(item)
  1360. })
  1361. }
  1362. }
  1363. },
  1364. // 取消全部加精
  1365. notappick() {
  1366. var that = this;
  1367. uni.showModal({
  1368. title: '提示',
  1369. content: '确认取消加精?',
  1370. success: function(res) {
  1371. if (res.confirm) {
  1372. console.log('用户点击确定');
  1373. uni.request({
  1374. url: config.service.delATD + "?carId=" + that.customerId + '&itemId=' +
  1375. that.buildingID,
  1376. method: "GET",
  1377. header: {
  1378. 'content-type': 'application/json',
  1379. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  1380. .token
  1381. },
  1382. success: (data) => {
  1383. if (data.data.code == 10000) {
  1384. that.status = 1
  1385. uni.showToast({
  1386. title: '取消成功',
  1387. duration: 2000
  1388. });
  1389. } else {
  1390. uni.showToast({
  1391. title: data.data.message,
  1392. duration: 2000
  1393. });
  1394. }
  1395. }
  1396. })
  1397. } else if (res.cancel) {
  1398. console.log('用户点击取消');
  1399. }
  1400. }
  1401. });
  1402. },
  1403. //全部加精
  1404. tappick(i) {
  1405. var that = this;
  1406. uni.showModal({
  1407. title: '提示',
  1408. content: '确认加精?',
  1409. success: function(res) {
  1410. if (res.confirm) {
  1411. console.log('用户点击确定');
  1412. let objdata = {
  1413. "carId": that.customerId, //客户id
  1414. "status": 0,
  1415. "itemId": that.buildingID,
  1416. }
  1417. uni.request({
  1418. url: config.service.addATD,
  1419. method: "POST",
  1420. header: {
  1421. 'content-type': 'application/json',
  1422. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  1423. .token
  1424. },
  1425. data: objdata,
  1426. success: (data) => {
  1427. if (data.data.code == 10000) {
  1428. that.status = 0
  1429. uni.showToast({
  1430. title: '加精成功',
  1431. duration: 2000
  1432. });
  1433. } else {
  1434. uni.showToast({
  1435. title: data.data.message,
  1436. duration: 2000
  1437. });
  1438. }
  1439. }
  1440. })
  1441. } else if (res.cancel) {
  1442. console.log('用户点击取消');
  1443. }
  1444. }
  1445. });
  1446. },
  1447. //标签选择
  1448. tapbiaoqianclisck(index) {
  1449. this.biaoqianindex = index;
  1450. this.biaoqianid = this.biaoqianlist[index].id
  1451. },
  1452. //复制
  1453. clickcopy() {
  1454. var that = this;
  1455. uni.setClipboardData({
  1456. data: that.thewrongword,
  1457. success: () => {
  1458. this.cancelBeast()
  1459. this.$forceUpdate();
  1460. console.log('success');
  1461. }
  1462. });
  1463. },
  1464. //确认加入常错词
  1465. Confirmtheexit() {
  1466. if (this.reswrongword.length > 8 || this.thewrongword.length > 8) {
  1467. this.$refs.uToast.show({
  1468. title: '正确词错误词不能超过8个字',
  1469. type: 'warning',
  1470. })
  1471. this.isshow2 = true;
  1472. } else {
  1473. let reg = /^[0-9]+$/
  1474. if (reg.test(this.thewrongword)) {
  1475. this.$refs.uToast.show({
  1476. title: '错误词不能为纯数字',
  1477. type: 'warning',
  1478. })
  1479. this.isshow2 = true;
  1480. } else {
  1481. if (this.thewrongword) {
  1482. if (this.reswrongword) {
  1483. let parames = {
  1484. customerId: this.customerId,
  1485. cupid: this.luyinList[this.csdFileindex].id,
  1486. wrongWord: this.thewrongword, //错误词
  1487. correctWord: this.reswrongword, //正确词
  1488. translateHtmlContent: this.messagelisy,
  1489. id: uni.getStorageSync('buildingID').id
  1490. }
  1491. this.isshow2 = false;
  1492. let sas = this.textItself.replace(this.thewrongword, this.reswrongword)
  1493. this.dialogList[this.argtextindex1].message[this.argtextindex2].onebest = sas
  1494. this.cancelBeast()
  1495. this.$u.post("/corpus/addCorrectWord", parames).then(data => {
  1496. this.thewrongword = "";
  1497. this.reswrongword = "";
  1498. })
  1499. } else {
  1500. this.$refs.uToast.show({
  1501. title: '正确值不能为空',
  1502. type: 'warning',
  1503. })
  1504. this.isshow2 = true;
  1505. return
  1506. }
  1507. } else {
  1508. this.$refs.uToast.show({
  1509. title: '错误词不能为空',
  1510. type: 'warning',
  1511. })
  1512. this.isshow2 = true;
  1513. return
  1514. }
  1515. }
  1516. }
  1517. },
  1518. //取消加入常错词
  1519. Cancelout() {
  1520. this.isshow2 = false;
  1521. this.cancelBeast()
  1522. },
  1523. //加入长错词
  1524. Oftenthewrongword() {
  1525. this.reswrongword = "";
  1526. this.isshow2 = true;
  1527. },
  1528. //加入挖掘话术
  1529. openwajue(item) {
  1530. this.wajueItem = item
  1531. this.wajueshow = true;
  1532. },
  1533. //加精华
  1534. Addtheessence() {
  1535. this.refined = true
  1536. this.cancelBeast()
  1537. },
  1538. // 确认批量加精
  1539. sureRefinement() {
  1540. this.isshow3 = true;
  1541. this.biaoqianlist = []
  1542. let parames = {
  1543. "itemId": this.buildingID
  1544. }
  1545. this.$u.post("/addtodigest/findAllYi", parames).then(data => {
  1546. this.biaoqianlist = data
  1547. this.biaoqianlist.unshift({
  1548. name: "逼单话术",
  1549. id: 0
  1550. })
  1551. })
  1552. },
  1553. // 取消加精
  1554. Cancelout2() {
  1555. this.isshow3 = false;
  1556. this.cancelBeast()
  1557. },
  1558. // 确认加精
  1559. Confirmtheexit2() {
  1560. let objdata = {
  1561. itemId: this.buildingID,
  1562. carId: this.customerId, //客户id
  1563. startFile: this.duihuawenjianid, //对话所在录音文件id
  1564. marketingId: this.biaoqianid || 0, //对应一级父id
  1565. status: 1,
  1566. toDigestList: [], // 加精多选的内容
  1567. // jjTransfer: this.changanitem.onebest, //选中对话
  1568. // endTime: this.changanitem.ed, //结束时间
  1569. // startTime: this.changanitem.bg, //开始时间
  1570. }
  1571. this.dialogList.forEach(items => {
  1572. if (items.message && items.message.length > 0) {
  1573. items.message.forEach(item => {
  1574. if (item.checked) {
  1575. objdata.toDigestList.push({
  1576. jjTransfer: item.onebest,
  1577. startTime: item.bg,
  1578. endTime: item.ed,
  1579. })
  1580. }
  1581. })
  1582. }
  1583. })
  1584. this.isshow3 = false;
  1585. this.$u.post(config.service.addATD, objdata).then(res => {
  1586. console.log(res)
  1587. if (res) {
  1588. uni.showToast({
  1589. title: '加精成功',
  1590. duration: 2000
  1591. });
  1592. } else {
  1593. uni.showToast({
  1594. title: '加精失败',
  1595. duration: 2000
  1596. });
  1597. }
  1598. this.cancelAllAdd()
  1599. }).catch(e => {
  1600. uni.showToast({
  1601. title: '网络异常,请稍候重试~',
  1602. duration: 2000
  1603. });
  1604. this.cancelAllAdd()
  1605. })
  1606. },
  1607. //长按对话
  1608. changanxiaoguo(item, index, i) {
  1609. this.messagelisy = [];
  1610. this.changanitem = {};
  1611. this.duihuawenjianid = "";
  1612. this.cancelBeast()
  1613. this.changanitem = item;
  1614. this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
  1615. this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow;
  1616. this.textItself = item.onebest;
  1617. let onebest = item.onebest;
  1618. this.thewrongword = onebest.replace(/<.*?>/ig, "");
  1619. this.messagelisy = this.dialogList[i].message
  1620. this.argtextindex1 = i;
  1621. this.argtextindex2 = index;
  1622. },
  1623. //回到顶部
  1624. gotoTop() {
  1625. this.scrollId = null;
  1626. this.$nextTick(() => {
  1627. this.scrollId = "top";
  1628. })
  1629. },
  1630. // 客户详情需求挖掘话术
  1631. getfindKeyWordsBycusId() {
  1632. this.$u.get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId).then(res => {
  1633. // console.log(res)
  1634. if (res.length) {
  1635. // this.KeyWordsfraction = 0
  1636. res.forEach(item => {
  1637. // if(item.selected==0){
  1638. // this.KeyWordsfraction += +item.fraction // 总执行率
  1639. // }
  1640. item.show = false
  1641. item.children.forEach(obj => {
  1642. obj.show = false
  1643. if (obj.questionList.length) {
  1644. obj.questionList.forEach(subobj => {
  1645. subobj.show = false
  1646. })
  1647. }
  1648. })
  1649. if (item.questionList.length) {
  1650. item.questionList.forEach(obj => {
  1651. obj.show = false
  1652. })
  1653. }
  1654. })
  1655. this.KeyWordsfractionList = res
  1656. } else {
  1657. this.KeyWordsfractionList = []
  1658. }
  1659. })
  1660. },
  1661. getRatelist() {
  1662. this.$u.get("/customer/findzkMByCusId", {
  1663. cusId: this.customerId
  1664. }).then(res => {
  1665. if (res.length) {
  1666. let level1 = []
  1667. let level2rate = 0
  1668. res.forEach(item => {
  1669. if (item.pid == 0) {
  1670. level1.push({
  1671. id: item.marketingId,
  1672. rate: item.fraction,
  1673. name: item.name,
  1674. sort: item.sort,
  1675. show: false,
  1676. ratepercent: 0,
  1677. children: [],
  1678. viewFlag: item.viewFlag
  1679. })
  1680. } else {
  1681. if (item.selected == 0) {
  1682. level2rate += item.fraction
  1683. }
  1684. }
  1685. })
  1686. this.totalRate = level2rate;
  1687. res.forEach(subitem => {
  1688. let subitempid = subitem.pid
  1689. level1.forEach(item => {
  1690. if (subitempid == item.id) {
  1691. if (subitem.selected == 0) {
  1692. item.ratepercent += subitem.fraction
  1693. }
  1694. item.children.push({
  1695. id: subitem.id,
  1696. rate: subitem.fraction,
  1697. selected: subitem.selected,
  1698. name: subitem.name,
  1699. show: false,
  1700. marketingId: subitem.marketingId,
  1701. children: [],
  1702. viewFlag: subitem.viewFlag,
  1703. })
  1704. }
  1705. })
  1706. })
  1707. res.forEach(subitem => {
  1708. let subitempid = subitem.pid
  1709. level1.forEach(chen => {
  1710. chen.children.forEach(zxc => {
  1711. if (subitempid == zxc.marketingId) {
  1712. zxc.children.push({
  1713. id: subitem.id,
  1714. rate: subitem.fraction,
  1715. selected: subitem.selected,
  1716. name: subitem.name,
  1717. marketingId: subitem.marketingId,
  1718. viewFlag: subitem.viewFlag,
  1719. })
  1720. }
  1721. })
  1722. })
  1723. })
  1724. level1[0].show = true;
  1725. level1[0].children[0].show = true;
  1726. this.ratelist = level1
  1727. }
  1728. setTimeout(function() {
  1729. uni.hideLoading();
  1730. }, 1000);
  1731. })
  1732. },
  1733. //--------------------------------- 获取转义后的对话结果
  1734. getCorpusAnalysis(info) {
  1735. this.dialogList = [];
  1736. this.newluyinList = []
  1737. uni.request({
  1738. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  1739. "&bg=" + info.bg + "&speaker=" + this.roleindex + '&voFlag=0' +
  1740. '&num=50', //仅为示例,并非真实接口地址。
  1741. method: "GET",
  1742. header: {
  1743. 'content-type': 'application/json',
  1744. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1745. },
  1746. success: (data) => {
  1747. this.LOADING = false
  1748. this.isShowMark = data.data.data.viewNameFlag
  1749. this.tablist = [];
  1750. this.roleindexbiaoji = 0;
  1751. let jsonInfo = JSON.parse(data.data.data.audioContent);
  1752. for (var i = 0; i <= data.data.data.speakerNum; i++) {
  1753. if (i === 0) {
  1754. this.tablist.push({
  1755. name: '全部'
  1756. })
  1757. } else {
  1758. this.tablist.push({
  1759. name: String.fromCharCode(i + 64)
  1760. })
  1761. }
  1762. }
  1763. if (data.data.data.speaker == null) {
  1764. this.dshfkjsdkksodofydwfkhwdfkjh = 0;
  1765. } else {
  1766. if (data.data.data.viewNameFlag == 1) {
  1767. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data
  1768. .speaker].name;
  1769. } else {
  1770. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data
  1771. .speaker].name + "顾问";
  1772. }
  1773. this.roleindexbiaoji = data.data.data.speaker - 1;
  1774. this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1;
  1775. }
  1776. if (data.data.data.viewNameFlag == 1) {
  1777. let p = [{
  1778. name: '顾问'
  1779. }]
  1780. this.tablist = [...this.tablist, ...p]
  1781. this.isSw = true
  1782. } else {
  1783. this.isSw = false
  1784. }
  1785. this.speaker = data.data.data.speaker;
  1786. //上拉标记点
  1787. this.textindex = data.data.data.index;
  1788. //下拉标记点
  1789. this.toptextindex = data.data.data.index;
  1790. jsonInfo.forEach(item => {
  1791. item.message = JSON.parse(item.onebest)
  1792. item.backindex = this.csdFileindex;
  1793. item.message.forEach(che => {
  1794. che.checked = false
  1795. if (che.onebest == info.onebest) {
  1796. che.onebest =
  1797. `<font style='color: red'>${che.onebest}</font>`;
  1798. }
  1799. })
  1800. })
  1801. this.newluyinList = jsonInfo;
  1802. console.log(this.newluyinList)
  1803. this.dialogList.push(jsonInfo[this.textindex]);
  1804. var itc = parseInt(info.bg / 1000)
  1805. this.adasdasdasd(itc)
  1806. },
  1807. fail: () => {
  1808. this.LOADING = false
  1809. }
  1810. })
  1811. },
  1812. getTime(time) {
  1813. return util.formatSecond(time)
  1814. },
  1815. //音频前进回退
  1816. sliderChangeComplate(currentTime) {
  1817. this.dialogList = []
  1818. for (let i = 0; i < this.newluyinList.length; i++) {
  1819. let message = this.newluyinList[i].message
  1820. if (!message) return
  1821. if (Math.floor(this.newluyinList[i].bg / 1000) <= currentTime && currentTime <= Math.floor(this
  1822. .newluyinList[i].ed / 1000)) {
  1823. for (let j = 0; j < message.length; j++) {
  1824. let item = message[j]
  1825. if (Math.floor(item.bg / 1000) <= currentTime && currentTime <= Math.floor(item.ed / 1000)) {
  1826. this.scrollId = "dialog" + this.csdFileindex + "text" + item.bg;
  1827. break;
  1828. }
  1829. if (j < message.length - 1 && Math.floor(item.ed / 1000) <= currentTime && currentTime <= Math
  1830. .floor(item.bg / 1000)) {
  1831. this.scrollId = "dialog" + this.csdFileindex + "text" + item.bg;
  1832. break;
  1833. }
  1834. }
  1835. this.textindex = i;
  1836. this.toptextindex = i;
  1837. this.dialogList.push(this.newluyinList[i])
  1838. }
  1839. }
  1840. },
  1841. //长按点击播放
  1842. clickbofang(dialog, item) {
  1843. this.cancelBeast()
  1844. this.$forceUpdate()
  1845. let platetime = item.bg;
  1846. let newtime = item.bg / 1000;
  1847. this.dialogList = []
  1848. uni.request({
  1849. url: config.service.fastForward + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  1850. "&bg=" + platetime || 0, //仅为示例,并非真实接口地址。
  1851. method: "GET",
  1852. header: {
  1853. 'content-type': 'application/json',
  1854. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  1855. },
  1856. success: (data) => {
  1857. this.textindex = data.data.data.index;
  1858. this.toptextindex = data.data.data.index;
  1859. this.dialogList.push(this.newluyinList[data.data.data.index])
  1860. console.log(newtime)
  1861. this.stepPlay(newtime);
  1862. }
  1863. })
  1864. },
  1865. formatTime(num) {
  1866. //格式化时间格式
  1867. num = num.toFixed(0);
  1868. let second = num % 60;
  1869. if (second < 10) second = '0' + second;
  1870. let min = Math.floor(num / 60);
  1871. if (min < 10) min = '0' + min;
  1872. return min + ":" + second;
  1873. },
  1874. changeEditing() {
  1875. this.dialogListres[0].message.forEach(asd => {
  1876. asd.isshow = false;
  1877. })
  1878. },
  1879. //录音实例
  1880. zyAudio() {
  1881. let data = [{
  1882. src: this.recordPath,
  1883. title: '录音音频',
  1884. singer: '',
  1885. coverImgUrl: ''
  1886. }]
  1887. this.$zaudio.setAudio(data)
  1888. //渲染第一首音频
  1889. this.$zaudio.setRender(0)
  1890. setTimeout(() => {
  1891. this.$zaudio.operate()
  1892. }, 150)
  1893. },
  1894. // 跳转指定位置播放
  1895. stepPlay(t) {
  1896. this.$zaudio.seek(t)
  1897. if (this.$zaudio.paused) {
  1898. this.$zaudio.operate()
  1899. }
  1900. }
  1901. },
  1902. }
  1903. </script>
  1904. <style lang="scss" scoped>
  1905. .box {
  1906. width: 100%;
  1907. height: 100vh;
  1908. display: flex;
  1909. flex-direction: column;
  1910. .pingfenbox {
  1911. width: 100%;
  1912. height: 60rpx;
  1913. line-height: 60rpx;
  1914. border-bottom: 1px solid #E0E0E0;
  1915. display: flex;
  1916. }
  1917. .pingfenbox view {
  1918. flex: 1;
  1919. text-align: center;
  1920. font-size: 28rpx;
  1921. text-indent: 20rpx;
  1922. }
  1923. .activecllasscet {
  1924. background: #2671E2;
  1925. color: #FFFFFF;
  1926. }
  1927. .title1-12 {
  1928. font-size: 28rpx;
  1929. color: #2671E2;
  1930. font-weight: 400;
  1931. text-indent: 30rpx;
  1932. margin-top: 18rpx;
  1933. }
  1934. .headbox {
  1935. width: 100%;
  1936. min-height: 173rpx;
  1937. border-bottom: 1px solid #E0E0E0;
  1938. }
  1939. .zhuti {
  1940. flex: 1;
  1941. overflow: auto;
  1942. }
  1943. .bottombox {
  1944. width: 100%;
  1945. height: 170rpx;
  1946. border-top: 1px solid #E0E0E0;
  1947. .bottomhead {
  1948. width: 100%;
  1949. height: 81rpx;
  1950. border-bottom: 1px solid #E0E0E0;
  1951. display: flex;
  1952. justify-content: space-between;
  1953. align-items: center;
  1954. .audio-slider {
  1955. width: 87%;
  1956. display: flex;
  1957. justify-content: space-between;
  1958. align-items: center;
  1959. padding-right: 30rpx;
  1960. }
  1961. .audio-slider .slider {
  1962. width: 100%;
  1963. padding: 0px 15rpx;
  1964. box-sizing: border-box;
  1965. }
  1966. .audio-time {
  1967. width: 110rpx;
  1968. text-align: right;
  1969. font-size: 26rpx;
  1970. line-height: 28rpx;
  1971. color: #70798D;
  1972. display: flex;
  1973. justify-content: space-between;
  1974. }
  1975. .audio-play {
  1976. width: 48rpx;
  1977. height: 48rpx;
  1978. flex-shrink: 0;
  1979. }
  1980. .audio-play .image {
  1981. width: 100%;
  1982. height: 100%;
  1983. margin-left: 30rpx;
  1984. }
  1985. }
  1986. .botbotmm {
  1987. width: 100%;
  1988. height: 88rpx;
  1989. display: flex;
  1990. align-items: center;
  1991. }
  1992. }
  1993. .bottomboxs {
  1994. width: 100%;
  1995. height: 90rpx;
  1996. display: flex;
  1997. justify-content: space-around;
  1998. .bottomboxs-item {
  1999. width: 45%;
  2000. height: 100%;
  2001. display: flex;
  2002. justify-content: center;
  2003. align-items: center;
  2004. color: #fff;
  2005. background: #008EF2;
  2006. font-size: 36rpx;
  2007. font-weight: bold;
  2008. }
  2009. }
  2010. }
  2011. .headboxhead {
  2012. width: 100%;
  2013. height: 84rpx;
  2014. border-bottom: 1px solid #E0E0E0;
  2015. display: flex;
  2016. .boxhead1 {
  2017. width: 50%;
  2018. color: #303030;
  2019. height: 84rpx;
  2020. line-height: 84rpx;
  2021. font-size: 28rpx;
  2022. text-indent: 30rpx;
  2023. }
  2024. .boxhead2 {
  2025. width: 46%;
  2026. height: 84rpx;
  2027. text-align: right;
  2028. }
  2029. }
  2030. .boxhead2 image {
  2031. width: 36rpx;
  2032. height: 36rpx;
  2033. margin-top: 24rpx;
  2034. }
  2035. .headboxbott {
  2036. width: 100%;
  2037. height: 88rpx;
  2038. display: flex;
  2039. align-items: center;
  2040. .headovfu {
  2041. flex: 1;
  2042. height: 88rpx;
  2043. overflow: hidden;
  2044. }
  2045. .headpade {
  2046. width: 160rpx;
  2047. height: 60rpx;
  2048. display: flex;
  2049. justify-content: center;
  2050. align-items: center;
  2051. border-left: 1px solid #D6D6D6;
  2052. .biaoji {
  2053. min-width: 120rpx;
  2054. height: 48rpx;
  2055. background: #E6625B;
  2056. border-radius: 24rpx;
  2057. text-align: center;
  2058. line-height: 48rpx;
  2059. color: #FFFFFF;
  2060. font-size: 26rpx;
  2061. }
  2062. }
  2063. }
  2064. .fill {
  2065. width: 2rpx;
  2066. height: 41rpx;
  2067. background: #E0E0E0;
  2068. }
  2069. .tmmchen {
  2070. width: 25%;
  2071. height: 88rpx;
  2072. text-align: center;
  2073. color: #666666;
  2074. font-size: 18rpx;
  2075. position: relative;
  2076. .allimg {
  2077. position: absolute;
  2078. width: 168rpx;
  2079. min-height: 210rpx;
  2080. top: -240rpx;
  2081. border: 1px solid #E0E0E0;
  2082. background: #FFFFFF;
  2083. font-size: 26rpx;
  2084. color: #333333;
  2085. text-align: center;
  2086. box-shadow: 10rpx 10rpx 5rpx #888888;
  2087. }
  2088. }
  2089. .tmmchen image {
  2090. width: 40rpx;
  2091. height: 40rpx;
  2092. margin-top: 10rpx;
  2093. margin-bottom: 2rpx;
  2094. }
  2095. .zhezhao {
  2096. position: fixed;
  2097. top: 0;
  2098. left: 0;
  2099. z-index: 999;
  2100. width: 100%;
  2101. height: 100vh;
  2102. opacity: 0.5;
  2103. background-color: #666666;
  2104. }
  2105. .followingpop-up {
  2106. width: 100%;
  2107. height: 75vh;
  2108. background: #FFFFFF;
  2109. position: fixed;
  2110. background: #FFFFFF;
  2111. left: 0px;
  2112. bottom: 0px;
  2113. z-index: 1000;
  2114. display: flex;
  2115. flex-direction: column;
  2116. // position: absolute;
  2117. .calibration {
  2118. width: 90rpx;
  2119. height: 90rpx;
  2120. background: #2671E2;
  2121. text-align: center;
  2122. line-height: 90rpx;
  2123. border-radius: 50%;
  2124. color: #FFFFFF;
  2125. position: absolute;
  2126. right: 30rpx;
  2127. bottom: 100rpx;
  2128. }
  2129. .guanbibox {
  2130. width: 100%;
  2131. padding-bottom: 20rpx;
  2132. margin-top: 20rpx;
  2133. border-bottom: 1px solid #E0E0E0;
  2134. position: relative;
  2135. .guanbixen {
  2136. width: 30rpx;
  2137. height: 30rpx;
  2138. position: absolute;
  2139. right: 30rpx;
  2140. top: 6rpx;
  2141. }
  2142. .cenisboxtab {
  2143. width: 100%;
  2144. display: flex;
  2145. .cenisboxtabview {
  2146. flex: 1;
  2147. display: flex;
  2148. align-items: center;
  2149. justify-content: center;
  2150. color: #333333;
  2151. font-size: 30rpx;
  2152. font-weight: 600;
  2153. }
  2154. }
  2155. }
  2156. .cenisbox {
  2157. flex: 1;
  2158. overflow: auto;
  2159. .jianbox {
  2160. width: 100%;
  2161. border-bottom: 1px solid #E0E0E0;
  2162. padding-top: 24rpx;
  2163. padding-bottom: 24rpx;
  2164. .jianbox-cen {
  2165. width: 100%;
  2166. height: 78rpx;
  2167. // border-bottom: 1px solid #E0E0E0;
  2168. display: flex;
  2169. .jianboxtext {
  2170. flex: 1;
  2171. height: 100%;
  2172. font-size: 30rpx;
  2173. font-weight: 600;
  2174. line-height: 78rpx;
  2175. color: #333333;
  2176. text-indent: 30rpx;
  2177. }
  2178. .jianboxjian {
  2179. width: 80rpx;
  2180. height: 100%;
  2181. line-height: 78rpx;
  2182. text-align: center;
  2183. }
  2184. }
  2185. .bioqianwayl {
  2186. width: 690rpx;
  2187. margin: 0 auto;
  2188. display: flex;
  2189. flex-wrap: wrap;
  2190. }
  2191. .bioqianwayl view {
  2192. padding-left: 24rpx;
  2193. padding-right: 24rpx;
  2194. padding-top: 10rpx;
  2195. padding-bottom: 10rpx;
  2196. margin-right: 24rpx;
  2197. margin-top: 20rpx;
  2198. border-radius: 8rpx;
  2199. font-size: 26rpx;
  2200. }
  2201. }
  2202. }
  2203. }
  2204. .jiantop {
  2205. width: 14rpx;
  2206. height: 24rpx;
  2207. }
  2208. .jiantop1 {
  2209. width: 20rpx;
  2210. height: 14rpx;
  2211. }
  2212. .sdfsaf {
  2213. padding-left: 24rpx;
  2214. padding-right: 24rpx;
  2215. padding-top: 10rpx;
  2216. padding-bottom: 10rpx;
  2217. border-radius: 8rpx;
  2218. font-size: 26rpx;
  2219. }
  2220. .yixingindexclass {
  2221. border-bottom: 3px solid #2671E2;
  2222. }
  2223. .cenisboxdspl {
  2224. width: 94%;
  2225. margin: 0 auto;
  2226. padding-bottom: 24rpx;
  2227. display: flex;
  2228. flex-wrap: wrap;
  2229. .cenisboxdsplview {
  2230. padding-left: 24rpx;
  2231. padding-right: 24rpx;
  2232. padding-top: 10rpx;
  2233. padding-bottom: 10rpx;
  2234. background: #F4F8FD;
  2235. color: #2671E2;
  2236. font-size: 26rpx;
  2237. margin-right: 24rpx;
  2238. margin-top: 24rpx;
  2239. }
  2240. }
  2241. .bounced {
  2242. width: 570upx;
  2243. background: #FFFFFF;
  2244. z-index: 1000;
  2245. border-radius: 10upx;
  2246. position: fixed;
  2247. left: 50%;
  2248. top: 50%;
  2249. transform: translate(-50%, -50%);
  2250. .headpade {
  2251. margin-top: 10rpx;
  2252. padding: 8rpx 8rpx 8rpx 8rpx;
  2253. background: #108ee9;
  2254. color: #fff;
  2255. border-radius: 16rpx;
  2256. }
  2257. /* 50%为自身尺寸的一半 */
  2258. .jiajinghuatit {
  2259. width: 100%;
  2260. height: 68rpx;
  2261. font-size: 30rpx;
  2262. text-align: center;
  2263. line-height: 68rpx;
  2264. }
  2265. .jiajinghuaview {
  2266. padding: 18rpx 18rpx 18rpx 18rpx;
  2267. display: flex;
  2268. flex-wrap: wrap;
  2269. .jiajinghuaview1 {
  2270. padding: 8rpx 8rpx 8rpx 8rpx;
  2271. font-size: 26rpx;
  2272. border-radius: 12rpx;
  2273. border: 1px solid #979797;
  2274. margin-left: 8rpx;
  2275. }
  2276. .jighuaview2 {
  2277. padding: 8rpx 18rpx 8rpx 18rpx;
  2278. font-size: 26rpx;
  2279. border-radius: 12rpx;
  2280. border: 1px solid #979797;
  2281. margin-left: 20rpx;
  2282. margin-top: 10rpx;
  2283. display: flex;
  2284. .view1-text {
  2285. text-align: center;
  2286. }
  2287. .view1-img {
  2288. width: 50rpx;
  2289. }
  2290. }
  2291. }
  2292. .bounced3 {
  2293. height: 100upx;
  2294. width: 100%;
  2295. margin-top: 40upx;
  2296. border-top: 1px solid #dddddd;
  2297. display: flex;
  2298. }
  2299. .bounced3-1 {
  2300. width: 50%;
  2301. height: 100%;
  2302. text-align: center;
  2303. line-height: 100upx;
  2304. border-right: 1px solid #dddddd;
  2305. font-size: 36upx;
  2306. color: #999999;
  2307. }
  2308. .bounced3-2 {
  2309. width: 50%;
  2310. height: 100%;
  2311. text-align: center;
  2312. line-height: 100upx;
  2313. font-size: 36upx;
  2314. color: #108ee9;
  2315. }
  2316. }
  2317. .viewclace {
  2318. width: 100rpx;
  2319. height: 40rpx;
  2320. text-align: center;
  2321. line-height: 40rpx;
  2322. border-radius: 14rpx;
  2323. margin-right: 34rpx;
  2324. margin-top: 16rpx;
  2325. font-size: 24rpx;
  2326. }
  2327. .bosdttom {
  2328. color: #FFFFFF;
  2329. background-color: #2671E2;
  2330. }
  2331. .dialog-block {
  2332. margin: 20rpx 0;
  2333. border-bottom: 1px solid #ccc;
  2334. .fileName {
  2335. text-align: center;
  2336. margin: 10rpx auto;
  2337. width: 115rpx;
  2338. height: 42rpx;
  2339. line-height: 42rpx;
  2340. background: #EFEFEF;
  2341. border-radius: 4rpx;
  2342. font-size: 20rpx;
  2343. font-weight: 400;
  2344. color: #333333;
  2345. }
  2346. }
  2347. .scroll-Y {
  2348. font-size: 36upx;
  2349. color: #999999;
  2350. background: #FFFFFF;
  2351. margin-top: 30upx;
  2352. flex: 1;
  2353. overflow-y: scroll;
  2354. width: 100%;
  2355. }
  2356. .scroll-Y .text {
  2357. margin: 50upx 30upx;
  2358. line-height: 80upx;
  2359. display: flex;
  2360. align-items: center;
  2361. }
  2362. .scroll-Y .text[data-speaker="2"],
  2363. .scroll-Y .text[data-speaker="4"],
  2364. .scroll-Y .text[data-speaker="6"] {
  2365. flex-direction: row-reverse;
  2366. text-align: right;
  2367. .contentInfo {
  2368. .info {
  2369. color: #ccc;
  2370. font-size: 18rpx;
  2371. font-size: 30rpx;
  2372. padding: 0 28rpx;
  2373. }
  2374. .contentMain {
  2375. display: flex;
  2376. flex-direction: row-reverse;
  2377. align-items: center;
  2378. .content {
  2379. margin-left: 0;
  2380. margin-right: 30upx;
  2381. }
  2382. .play {
  2383. width: 50rpx;
  2384. height: 50rpx;
  2385. margin-right: 20rpx;
  2386. }
  2387. }
  2388. }
  2389. }
  2390. .scroll-Y .text[data-speaker="2"],
  2391. .scroll-Y .text[data-speaker="4"],
  2392. .scroll-Y .text[data-speaker="6"] {
  2393. .contentInfo {
  2394. .info {
  2395. .AudioUserName {
  2396. margin-left: 10rpx;
  2397. }
  2398. display: flex;
  2399. flex-direction: row-reverse;
  2400. }
  2401. }
  2402. }
  2403. .scroll-Y .text {
  2404. .contentInfo {
  2405. .info {
  2406. .AudioUserName {
  2407. margin-right: 10rpx;
  2408. }
  2409. }
  2410. }
  2411. }
  2412. .scroll-Y .text .avatar {
  2413. margin-top: 80rpx;
  2414. width: 64upx;
  2415. height: 64upx;
  2416. line-height: 64upx;
  2417. text-align: center;
  2418. font-size: 36rpx;
  2419. border-radius: 50%;
  2420. background: #F2F2F2;
  2421. color: #008EF2;
  2422. image {
  2423. width: 40upx;
  2424. }
  2425. }
  2426. .checkbox {
  2427. margin: 80rpx 20rpx 0;
  2428. width: 48rpx;
  2429. height: 48rpx;
  2430. display: flex;
  2431. justify-content: center;
  2432. align-items: center;
  2433. border-radius: 50%;
  2434. border: 1rpx solid #70798D;
  2435. &.select {
  2436. border-color: #008EF2;
  2437. background: #008EF2;
  2438. color: #fff;
  2439. }
  2440. }
  2441. .scroll-Y .text .contentInfo .info {
  2442. color: #ccc;
  2443. font-size: 18rpx;
  2444. font-size: 30rpx;
  2445. padding: 0 28rpx;
  2446. }
  2447. .scroll-Y .text .contentInfo .contentMain {
  2448. display: flex;
  2449. align-items: center;
  2450. }
  2451. .scroll-Y .text .contentInfo .contentMain .content {
  2452. margin-left: 30upx;
  2453. line-height: 60rpx;
  2454. text-align: left;
  2455. padding: 0 5px;
  2456. border-radius: 8upx;
  2457. max-width: 442rpx;
  2458. background: #F6F6F6;
  2459. color: #999999;
  2460. position: relative;
  2461. .tankuangcss {
  2462. position: absolute;
  2463. top: -140rpx;
  2464. left: -120rpx;
  2465. width: 308rpx;
  2466. height: 130rpx;
  2467. background-color: #333333;
  2468. font-size: 24rpx;
  2469. color: #FFFFFF;
  2470. padding-top: 4rpx;
  2471. padding-bottom: 4rpx;
  2472. display: flex;
  2473. flex-wrap: wrap;
  2474. border-radius: 15rpx;
  2475. z-index: 1000;
  2476. }
  2477. .bottoms {
  2478. top: unset;
  2479. bottom: -140rpx;
  2480. }
  2481. }
  2482. .scroll-Y .text .contentInfo .contentMain .play {
  2483. width: 50rpx;
  2484. height: 50rpx;
  2485. margin-left: 20rpx;
  2486. }
  2487. .backTop {
  2488. width: 60upx;
  2489. height: 60upx;
  2490. background: rgba(211, 235, 253, 1);
  2491. box-shadow: 0upx 0upx 2upx 4upx rgba(38, 161, 255, 0.04);
  2492. border-radius: 50%;
  2493. position: fixed;
  2494. bottom: 200upx;
  2495. right: 8upx;
  2496. display: flex;
  2497. justify-content: center;
  2498. align-items: center;
  2499. image {
  2500. width: 26upx;
  2501. height: 34upx;
  2502. }
  2503. }
  2504. .jiangshang {
  2505. color: #fff;
  2506. background: #2671E2;
  2507. }
  2508. .jiangshang1 {
  2509. color: #FFFFFF;
  2510. background: #999999;
  2511. }
  2512. // 表单
  2513. .tian-view {
  2514. width: 570rpx;
  2515. background-color: #FFFFFF;
  2516. display: flex;
  2517. margin-bottom:30rpx;
  2518. .tian-view-t2 {
  2519. width: 100%;
  2520. font-size: 34rpx;
  2521. display: flex;
  2522. align-items: center;
  2523. color: #333;
  2524. .tian-input {
  2525. width: 384rpx;
  2526. font-size: 34rpx;
  2527. padding: 0 10rpx;
  2528. border: none;
  2529. border-bottom: 1px solid #e0e0e0;
  2530. }
  2531. }
  2532. .tian-view-t3 {
  2533. width: 100%;
  2534. display: flex;
  2535. font-size: 34rpx;
  2536. align-items: center;
  2537. .huashu-input{
  2538. width: 384rpx;
  2539. height: 60rpx;
  2540. padding: 0 10rpx;
  2541. font-size: 34rpx;
  2542. border-bottom: 1px solid #E0E0E0;
  2543. }
  2544. }
  2545. }
  2546. .inputbox {
  2547. width: 100%;
  2548. height: 100rpx;
  2549. display: flex;
  2550. align-items: center;
  2551. justify-content: center;
  2552. border-bottom: 1px solid #E0E0E0;
  2553. .thisinput {
  2554. width: 94%;
  2555. height: 52rpx;
  2556. background: #FFFFFF;
  2557. border-radius: 8rpx;
  2558. border: 1px solid #C9C9C9;
  2559. color: #333333;
  2560. font-size: 26rpx;
  2561. text-indent: 26rpx;
  2562. line-height: 52rpx;
  2563. }
  2564. }
  2565. .biaoqiantom {
  2566. background-color: #008EF2;
  2567. color: #FFFFFF;
  2568. border: none;
  2569. }
  2570. .Level-box {
  2571. padding-bottom: 2rpx;
  2572. .hhhbox {
  2573. width: 100%;
  2574. padding-left: 30rpx;
  2575. padding-right: 30rpx;
  2576. border-bottom: 1rpx solid #E0E0E0;
  2577. background: #FFFFFF;
  2578. // padding-bottom: 32rpx;
  2579. .hsnrtest {
  2580. height: 24rpx;
  2581. font-size: 24rpx;
  2582. font-weight: 400;
  2583. color: #666666;
  2584. line-height: 24rpx;
  2585. }
  2586. .Level3che {
  2587. width: 100%;
  2588. height: 28rpx;
  2589. display: flex;
  2590. line-height: 28rpx;
  2591. align-items: center;
  2592. margin-top: 30rpx;
  2593. .title1 {
  2594. flex: 1;
  2595. font-size: 28rpx;
  2596. color: #2671E2;
  2597. font-weight: 400;
  2598. }
  2599. .gray {
  2600. color: #979797 !important;
  2601. }
  2602. .jiantobox {
  2603. width: 30rpx;
  2604. height: 30rpx;
  2605. display: flex;
  2606. align-items: center;
  2607. .arrow {
  2608. width: 28rpx;
  2609. height: 28rpx;
  2610. }
  2611. }
  2612. }
  2613. }
  2614. .Level2che {
  2615. width: 100%;
  2616. height: 88rpx;
  2617. display: flex;
  2618. line-height: 88rpx;
  2619. align-items: center;
  2620. .title1 {
  2621. flex: 2;
  2622. font-size: 28rpx;
  2623. color: #333333;
  2624. font-weight: 400;
  2625. }
  2626. .leve1-jindu {
  2627. flex: 3;
  2628. display: flex;
  2629. justify-content: center;
  2630. align-items: center;
  2631. .zhixing {
  2632. width: 108rpx;
  2633. height: 44rpx;
  2634. background: #2671E2;
  2635. border-radius: 4rpx;
  2636. font-size: 28rpx;
  2637. text-align: center;
  2638. line-height: 44rpx;
  2639. color: #FFFFFF;
  2640. }
  2641. .zhixing2 {
  2642. width: 108rpx;
  2643. height: 44rpx;
  2644. background: #F8F8F8;
  2645. border-radius: 4rpx;
  2646. font-size: 28rpx;
  2647. text-align: center;
  2648. line-height: 44rpx;
  2649. color: #999999;
  2650. }
  2651. }
  2652. .jiantobox {
  2653. width: 30rpx;
  2654. height: 30rpx;
  2655. display: flex;
  2656. align-items: center;
  2657. .arrow {
  2658. width: 30rpx;
  2659. height: 18rpx;
  2660. }
  2661. }
  2662. }
  2663. .Level1che {
  2664. width: 100%;
  2665. height: 94rpx;
  2666. background: #F5F5F5;
  2667. display: flex;
  2668. line-height: 94rpx;
  2669. align-items: center;
  2670. padding-left: 30rpx;
  2671. padding-right: 30rpx;
  2672. .title1 {
  2673. flex: 2;
  2674. font-size: 30rpx;
  2675. color: #333333;
  2676. font-weight: 400;
  2677. }
  2678. .leve1-jindu {
  2679. flex: 3;
  2680. .jindutiao {
  2681. width: 96%;
  2682. height: 28rpx;
  2683. background: #D5EEE2;
  2684. line-height: 28rpx;
  2685. border-radius: 14rpx;
  2686. position: relative;
  2687. .huanxing {
  2688. height: 100%;
  2689. background: #4FC78F;
  2690. border-radius: 14rpx;
  2691. }
  2692. .text {
  2693. position: absolute;
  2694. top: 0rpx;
  2695. right: 0rpx;
  2696. font-size: 28rpx;
  2697. font-weight: 400;
  2698. color: #333333;
  2699. }
  2700. }
  2701. }
  2702. .jiantobox {
  2703. width: 30rpx;
  2704. height: 30rpx;
  2705. display: flex;
  2706. align-items: center;
  2707. .arrow {
  2708. width: 30rpx;
  2709. height: 18rpx;
  2710. }
  2711. }
  2712. }
  2713. }
  2714. .rotatearrow {
  2715. transform: rotate(270deg);
  2716. }
  2717. .ffectivetext {
  2718. width: 85%;
  2719. margin: 10rpx auto;
  2720. height: 100rpx;
  2721. padding: 20rpx;
  2722. border: 1rpx solid #E4F0FF;
  2723. }
  2724. /deep/ .u-model-title {
  2725. padding: 34rpx 0 16rpx !important;
  2726. }
  2727. .scroll-Y .text.active .content {
  2728. color: #FF7538 !important;
  2729. position: relative;
  2730. }
  2731. .scroll-Y .text.active[data-speaker] .content,
  2732. .scroll-Y .text.active[data-speaker="2"] .content,
  2733. .scroll-Y .text.active[data-speaker="4"] .content,
  2734. .scroll-Y .text.active[data-speaker="6"] .content {
  2735. color: #FF7538 !important;
  2736. position: relative;
  2737. }
  2738. .scroll-Y .isGreen .contentInfo .contentMain .content {
  2739. background: #2BC805 !important;
  2740. color: #FFFFFF;
  2741. }
  2742. </style>