AI销管
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

1605 řádky
38 KiB

  1. <template>
  2. <view class="translation">
  3. <!-- 暂时注释,暂缓使用 -->
  4. <!-- <view style="width: 690rpx;height: 64rpx;margin: 0 auto;margin-top: 30rpx;background: #F2F2F2;border-radius: 32rpx;
  5. display: flex;align-items: center;" @tap="toKeywordsearch()">
  6. <image style="width: 28rpx;height: 28rpx;margin-left: 30rpx;" src="/static/images/search.png" mode=""></image>
  7. <text style="margin-left: 10rpx;color: #999999;font-size: 24rpx;">请输入关键字</text>
  8. </view> -->
  9. <view class="top" style="margin-top: 30rpx;">
  10. <view class="title">
  11. <view class="call_record_time">{{date}}</view>
  12. </view>
  13. <view class="call_record_time_one">接待时长 {{alltimeStr}}
  14. <u-icon name="list-dot" color="#333" size="48" @click="showFile"></u-icon>
  15. <view class="audoioyouxiao" @click="alllogo()" v-if="permissions.commonly2">
  16. {{userlistobj.validInvalidName||''}}
  17. </view>
  18. <view class="file-change" v-if="isshowFile">
  19. <view class="file-item" @click="filechange(item, index)"
  20. :class="csdFileindex == index ? 'fileactive' : ''" v-for="(item,index) in luyinList"
  21. :key="index">录音文件{{index+1}}</view>
  22. </view>
  23. <view class="diangweitupian" v-if="jiaoseshow">
  24. <image v-if="status==1" @click="tappick()" style="width: 100%;height: 100%;"
  25. src="../../static/images/pike.png" mode=""></image>
  26. <image v-if="status==0" @click="notappick()" style="width: 100%;height: 100%;"
  27. src="../../static/images/nopike.png" mode=""></image>
  28. </view>
  29. </view>
  30. <zaudio theme="theme4"></zaudio>
  31. </view>
  32. <scroll-view :scroll-top="scrollTop" lower-threshold='20px' @scrolltolower="ltolower()"
  33. :scroll-into-view="scrollId" scroll-y="true" class="text scroll-Y">
  34. <!-- tab 栏切换 -->
  35. <view class="tab-box" id="top">
  36. <view class="yinpinshibie" @click="changeTab(0)" :class="{active: tab==0}">
  37. 音频识别
  38. </view>
  39. <view class="rate" @click="changeTab(1)" :class="{active: tab==1}">
  40. 评分
  41. </view>
  42. </view>
  43. <!-- 音频识别模块 -->
  44. <view v-if="tab==0">
  45. <!-- 聊天记录-->
  46. <view class="dialog-block" v-for="(dialog,i) in dialogList" :key="i">
  47. <view :id="'dialog'+i" class="fileName">录音文件
  48. <!-- {{i+1}} -->
  49. </view>
  50. <view class="text" :id="'dialog'+csdFileindex+'text'+item.bg"
  51. :class="{active: Math.floor(item.bg/1000) <= playNow && Math.floor(item.ed/1000) > playNow && i==0}"
  52. v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker">
  53. <view class="avatar">
  54. <text :style="[SPEAKERSTYLE(item.speaker)]">{{ item.speaker | toCapital }}</text>
  55. </view>
  56. <view class="content">
  57. <view @longpress="changanxiaoguo(item,index,i)" v-html="item.onebest"></view>
  58. <view class="tankuangcss" v-if="item.isshow">
  59. <view @click="clickcopy()"
  60. style="width: 60rpx;font-size: 24rpx;text-align: center;margin-left: 24rpx;">复制
  61. </view>
  62. <view @click="Oftenthewrongword()" v-if="permissions.commonly4"
  63. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">常错词
  64. </view>
  65. <view @click="Addtheessence()" v-if="permissions.commonly3"
  66. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">加精华
  67. </view>
  68. <view @click="clickbofang(dialog.backindex,item)"
  69. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 14rpx;">播放
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. <!-- 评分模块 -->
  77. <view v-if="tab==1" class="rate-box">
  78. <view class="title">总执行率 {{totalRate}}%</view>
  79. <view v-for="(item,index) in ratelist" :key="index" class="u-m-b-14">
  80. <view class="level1">
  81. <view class="level-name u-line-1">
  82. {{item.name}}
  83. </view>
  84. <view class="level-progress">
  85. <view class="color" :style="{width: item.ratepercent/item.rate*100+'%'}"></view>
  86. </view>
  87. <view class="level-rate">{{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%</view>
  88. <image v-if="!item.show" class="arrow rotatearrow" @click="changeshow(item,1)"
  89. src="/static/images/down.png" mode="" />
  90. <image v-else class="arrow" @click="changeshow(item,0)" src="/static/images/up.png" mode="" />
  91. </view>
  92. <view class="level1-subbox" v-if="item.show">
  93. <view class="sub-name" v-for="(subitem,i) in item.children" :key="i">
  94. <view class="subitem-name u-line-1">{{subitem.name}}</view>
  95. <image class="checkimg" v-if="!subitem.selected" src="/static/images/rate-checked.png"
  96. mode="" />
  97. <image class="checkimg" v-else src="/static/images/rate-nocheck.png" mode="" />
  98. </view>
  99. </view>
  100. </view>
  101. </view>
  102. </scroll-view>
  103. <!-- 回到顶部 -->
  104. <view class="backTop" @click="gotoTop">
  105. <image src="/static/images/backTop.png" mode=""></image>
  106. </view>
  107. <!-- 加入常错词 -->
  108. <view class="zhezhoa" v-if="isshow2" @tap="Cancelout"></view>
  109. <u-modal v-model="isshow2" title="添加常错词" :show-cancel-button="true" @cancel="Cancelout" @confirm="Confirmtheexit">
  110. <view class="tian-view">
  111. <viwe class="tian-view-t1"></viwe>
  112. <viwe class="tian-view-t2">常错词:</viwe>
  113. <viwe class="tian-view-t3">
  114. <textarea :auto-height="true" type="text" v-model="thewrongword" :disabled="isNum" class="tian-input" placeholder="请输入" />
  115. </viwe>
  116. </view>
  117. <view class="tian-view" style="margin-bottom: 74rpx;">
  118. <viwe class="tian-view-t1"></viwe>
  119. <viwe class="tian-view-t2">正确词:</viwe>
  120. <viwe class="tian-view-t3">
  121. <input class="tian-input" v-model="reswrongword" type="text" placeholder="请输入" />
  122. </viwe>
  123. </view>
  124. </u-modal>
  125. <!-- <view class="bounced" v-if="isshow2">
  126. <view class="tian-view">
  127. <viwe class="tian-view-t1"></viwe>
  128. <viwe class="tian-view-t2">常错词:</viwe>
  129. <viwe class="tian-view-t3">
  130. <input type="text" v-model="thewrongword" :disabled="isNum" class="tian-input" placeholder="请输入" />
  131. </viwe>
  132. </view>
  133. <view class="tian-view">
  134. <viwe class="tian-view-t1"></viwe>
  135. <viwe class="tian-view-t2">正确词:</viwe>
  136. <viwe class="tian-view-t3">
  137. <input class="tian-input" v-model="reswrongword" type="text" placeholder="请输入" />
  138. </viwe>
  139. </view>
  140. <view class="bounced3">
  141. <view class="bounced3-1" @tap="Cancelout">取消</view>
  142. <view class="bounced3-2" @tap="Confirmtheexit">确认</view>
  143. </view>
  144. </view> -->
  145. <!-- 加精华 -->
  146. <view class="zhezhoa" v-if="isshow3" @tap="Cancelout2"></view>
  147. <view class="bounced" v-if="isshow3">
  148. <view class="jiajinghuatit">加精华</view>
  149. <view style="width: 100%;text-indent: 20rpx;font-size: 28rpx;">选择标签</view>
  150. <view class="jiajinghuaview">
  151. <view class="jighuaview2" v-for="(item,index) in biaoqianlist" :key="index"
  152. :class="biaoqianindex == index ? 'biaoqiantom' : ''">
  153. <view class="view1-text" @click="tapbiaoqianclisck(index)">{{item.name}}</view>
  154. </view>
  155. </view>
  156. <view class="bounced3">
  157. <view class="bounced3-1" @tap="Cancelout2">取消</view>
  158. <view class="bounced3-2" @tap="Confirmtheexit2">确认</view>
  159. </view>
  160. </view>
  161. <view class="zhezhoa" v-if="effective"></view>
  162. <view class="bounced" v-if="effective">
  163. <view class="jiajinghuatit">选择</view>
  164. <view>
  165. <view class="uni-list">
  166. <radio-group @change="radioChange">
  167. <label style="display: flex;align-items: center;font-size: 30rpx;
  168. width: 94%;height: 80rpx;margin: 0 auto;" v-for="(item, index) in effectiveitems" :key="item.value">
  169. <view style="margin-top: 2rpx;flex: 1; text-indent: 20rpx;">{{item.name}}</view>
  170. <view style="width: 80rpx;">
  171. <radio :value="item.value" :checked="index == effectiveindex" />
  172. </view>
  173. </label>
  174. </radio-group>
  175. </view>
  176. <view v-if="effectiveindex==4">
  177. <textarea class="ffectivetext" v-model="effectiveitext" placeholder="备注" />
  178. </view>
  179. </view>
  180. <view class="bounced3">
  181. <view class="bounced3-1" @click="effective=false">取消</view>
  182. <view class="bounced3-2" @click="$noMultipleClicks(effectiveAdd)">确认</view>
  183. </view>
  184. </view>
  185. <u-toast ref="uToast" />
  186. </view>
  187. </template>
  188. <script>
  189. var util = require("../../utils/util.js");
  190. var config = require("../../config");
  191. import zaudio from '@/components/uniapp-zaudio/zaudio';
  192. export default {
  193. components: {
  194. zaudio
  195. },
  196. data() {
  197. return {
  198. noClick: true,
  199. recordPath: "",
  200. customerId: "",
  201. luyinList: [], //录音文件
  202. dialogList: [], //录音识别列表
  203. csdFileindex: 0,
  204. isshowFile: false, //录音列表隐藏
  205. date: "", //年月日
  206. tab: 0, // 默认是音频识别
  207. scrollTop: 0,
  208. scrollId: "",
  209. playNow: 0,
  210. alltimeStr: "00:00:00",
  211. ratelist: [], //评分列表
  212. totalRate: "",
  213. thewrongword: "", //错误词
  214. reswrongword: "", //正确词
  215. isshow2: false,
  216. messagelisy: [],
  217. isshow3: false,
  218. biaoqianlist: [],
  219. biaoqianindex: 0,
  220. changanitem: {},
  221. duihuawenjianid: "",
  222. biaoqianid: "",
  223. status: 0,
  224. num: 0, //上拉 转写文件下标
  225. Bnum: 0, //下拉 转写文件下标
  226. itemobj: {},
  227. buildingID: '',
  228. userlistobj: {},
  229. effective: false,
  230. effectiveindex: '0',
  231. effectiveitems: [{
  232. value: '1',
  233. name: '没电指派无录音',
  234. checked: true
  235. },
  236. {
  237. value: '2',
  238. name: '离线指派无录音',
  239. },
  240. {
  241. value: '3',
  242. name: '系统测试误操作'
  243. },
  244. {
  245. value: '4',
  246. name: '非接访场景录音'
  247. },
  248. {
  249. value: '5',
  250. name: '其他'
  251. }
  252. ],
  253. effectiveitext: '',
  254. textItself: '',
  255. argtextindex1: 0,
  256. argtextindex2: 0,
  257. permissions: {
  258. commonly2: false,
  259. commonly3: false,
  260. commonly4: false,
  261. },
  262. ACTION: Symbol('zaudios'), // 唯一值区分每个页面的方法
  263. isPageHide: false, // 是否息屏
  264. isNum:false
  265. };
  266. },
  267. onLoad(options) {
  268. this.status = options.status;
  269. this.customerId = options.customerId;
  270. this.itemobj = uni.getStorageSync('searchobj');
  271. this.stateisshow = options.stateisshow;
  272. this.$zaudio.autoPlay = true
  273. //注意: 不同的回调方法, 相同的业务函数方法名, 不会相互影响;
  274. this.$zaudio.on('stop', this.ACTION, () => {
  275. console.log('我是强制暂停或关闭小程序音频浮窗触发的')
  276. })
  277. this.$zaudio.on('seek', this.ACTION, (time) => {
  278. this.sliderChangeComplate(this.TIMEEVENT(time))
  279. })
  280. this.$zaudio.on('playing', this.ACTION, (obj) => {
  281. this.TimeUpdate(this.TIMEEVENT(obj.current))
  282. })
  283. this.$zaudio.on('ended', this.ACTION, e => {
  284. this.$nextTick(() => {
  285. this.scrollId = "";
  286. })
  287. this.qeihuanwenjian()
  288. })
  289. this.$zaudio.on('error', this.ACTION, e => {
  290. })
  291. uni.$on('DETAILSINIT', info => {
  292. this.init(info)
  293. })
  294. },
  295. onShow() {
  296. //实时渲染当前的播放状态
  297. this.$zaudio.syncRender()
  298. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  299. this.permissions.commonly2 = newmenulist.jdwxbj; //1 接待无效标记 jdwxbj
  300. this.permissions.commonly3 = newmenulist.swyxal; //1 设为优秀案例 swyxal
  301. this.permissions.commonly4 = newmenulist.ccc; // 常错词 ccc
  302. this.buildingID = uni.getStorageSync('buildingID').id;
  303. if (this.stateisshow == 2) {
  304. var info = this.itemobj;
  305. }
  306. this.gituserlist()
  307. !this.isPageHide && this.init(info)
  308. },
  309. onHide() {
  310. this.isPageHide = true
  311. },
  312. onUnload() {
  313. //卸载不需要的业务和获取播放状态的业务,提高页面性能
  314. this.$zaudio.off('seek', this.ACTION);
  315. this.$zaudio.off('stop', this.ACTION);
  316. this.$zaudio.off('playing', this.ACTION);
  317. this.$zaudio.off('ended', this.ACTION);
  318. this.$zaudio.off('error', this.ACTION);
  319. },
  320. methods: {
  321. effectiveAdd() {
  322. if (this.effectiveindex == 4) {
  323. if (this.effectiveitext.length == 0) {
  324. uni.showToast({
  325. title: '备注不能为空',
  326. icon: "none",
  327. duration: 2000
  328. });
  329. return
  330. }
  331. }
  332. this.effective = false;
  333. let parames = {
  334. id: this.customerId,
  335. validInvalid: '',
  336. validInvalid: 1,
  337. invalidReason: Number(this.effectiveindex) + 1,
  338. invalidNote: this.effectiveitext
  339. }
  340. this.$u.post("/customer/updateValidInvalid", parames).then(res => {
  341. console.log(res)
  342. this.gituserlist()
  343. })
  344. },
  345. radioChange(evt) {
  346. this.effectiveitext = "";
  347. for (let i = 0; i < this.effectiveitems.length; i++) {
  348. if (this.effectiveitems[i].value === evt.detail.value) {
  349. this.effectiveindex = i;
  350. break;
  351. }
  352. }
  353. },
  354. //标记
  355. alllogo() {
  356. let msg = '';
  357. var that = this;
  358. if (this.userlistobj.validInvalid != 0) {
  359. msg = '是否标记为"有效录音"?';
  360. uni.showModal({
  361. title: '提示',
  362. content: msg,
  363. success: (res) => {
  364. if (that.noClick) {
  365. that.noClick= false;
  366. if (res.confirm) {
  367. let parames = {
  368. id: this.customerId,
  369. validInvalid: '',
  370. invalidReason: 0
  371. }
  372. if (this.userlistobj.validInvalid == 0) {
  373. parames.validInvalid = 1;
  374. } else {
  375. parames.validInvalid = 0;
  376. }
  377. this.$u.post("/customer/updateValidInvalid", parames).then(res => {
  378. console.log(res)
  379. this.gituserlist()
  380. })
  381. }
  382. setTimeout(()=> {
  383. that.noClick= true;
  384. }, 2000)
  385. }
  386. }
  387. });
  388. } else {
  389. this.effective = true;
  390. }
  391. },
  392. //获取用户信息
  393. gituserlist() {
  394. this.$u.get("/matchKeywords/personalReceptionRecord", {
  395. customerId: this.customerId
  396. }).then(res => {
  397. try {
  398. res.endTime1 = res.endTime.substring(0, 19);
  399. this.userlistobj = res;
  400. } catch(e) {
  401. console.log(e)
  402. }
  403. })
  404. },
  405. toKeywordsearch() {
  406. this.stateisshow = 1;
  407. uni.navigateTo({
  408. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  409. "&skpl=" + "1" + '$UpDateEvent=DETAILSINIT'
  410. })
  411. },
  412. TimeUpdate(currentTime) {
  413. this.playNow = Number(currentTime)
  414. if (this.dialogList.length == 0) {
  415. return
  416. } else {
  417. const message = this.dialogList[0].message;
  418. if (!message) return
  419. for (let i = 0; i < message.length; i++) {
  420. if ((Math.floor(message[i].bg / 1000) <= this.playNow && this.playNow < Math.floor(message[i].ed / 1000))) {
  421. console.log(message[i])
  422. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  423. break;
  424. }
  425. if (i < message.length - 1 && Math.floor(message[i].ed / 1000) < this.playNow && this.playNow < Math.floor(message[i + 1].bg / 1000)) {
  426. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  427. break;
  428. }
  429. }
  430. }
  431. this.$forceUpdate()
  432. },
  433. init(info) {
  434. const parames = {
  435. pageNum: 1,
  436. pageSize: 100,
  437. query: {
  438. customerId: this.customerId
  439. }
  440. }
  441. this.$u.post("/corpus/findByPage", parames).then(res => {
  442. if (res && res.length) {
  443. let alltime = 1;
  444. res.forEach(item => {
  445. item.recordDuration = item.recordDuration / 1
  446. alltime += item.recordDuration
  447. })
  448. this.recordDuration = this.getTime(res[0].recordDuration)
  449. this.alltimeStr = this.getTime(alltime)
  450. if (info) {
  451. res.forEach((item, index) => {
  452. // console.log(item, '打印音频列表内容')
  453. if (item.id == info.id) {
  454. this.luyinList = res;
  455. this.csdFileindex = index;
  456. this.recordPath = res[index].recordPath
  457. this.date = res[index].receptionTime;
  458. this.isshowFile = false;
  459. this.getCorpusAnalysis(info);
  460. var itc = info.bg / 1000
  461. this.adasdasdasd(itc)
  462. }
  463. })
  464. } else {
  465. this.recordPath = res[0].recordPath
  466. this.date = res[0].receptionTime
  467. this.luyinList = res;
  468. this.getCorpusAnalysis()
  469. }
  470. this.zyAudio()
  471. }
  472. })
  473. },
  474. //搜索跳转
  475. adasdasdasd(e) {
  476. this.stepPlay(e)
  477. },
  478. //下一页
  479. ltolower() {
  480. var lengthcz = this.luyinList.length - 1;
  481. if (this.num >= lengthcz) {
  482. uni.showToast({
  483. title: '到底了',
  484. icon: 'none',
  485. duration: 2000
  486. });
  487. return
  488. } else {
  489. this.num = this.num + 1;
  490. let obj = {
  491. corpusId: this.luyinList[this.num].id,
  492. customerId: this.customerId,
  493. }
  494. this.$u.get(config.service.getCorpusAnalysis, obj).then(data => {
  495. console.log(data)
  496. if (!data.audioContent) {
  497. setTimeout(function() {}, 2000);
  498. } else {
  499. const jsonInfo = JSON.parse(data.audioContent);
  500. this.dialogList.push({
  501. message: jsonInfo,
  502. backindex: this.num
  503. });
  504. this.dialogList.forEach((asd, idx) => {
  505. asd.message.forEach((qwe, inde) => {
  506. qwe.isshow = false;
  507. })
  508. })
  509. }
  510. uni.hideLoading();
  511. }).catch(e => {
  512. uni.hideLoading();
  513. })
  514. }
  515. },
  516. // 取消全部加精
  517. notappick() {
  518. uni.showModal({
  519. title: '提示',
  520. content: '确认取消加精?',
  521. success: (res) => {
  522. if (res.confirm) {
  523. let params = {
  524. carId: this.customerId,
  525. }
  526. this.$u.get(config.service.delATD, params).then(data => {
  527. console.log(data)
  528. this.status = 1
  529. uni.showToast({
  530. title: data.message,
  531. duration: 2000
  532. });
  533. })
  534. } else if (res.cancel) {
  535. console.log('用户点击取消');
  536. }
  537. }
  538. });
  539. },
  540. //全部加精
  541. tappick(i) {
  542. uni.showModal({
  543. title: '提示',
  544. content: '确认加精?',
  545. success: (res) => {
  546. if (res.confirm) {
  547. let objdata = {
  548. "carId": that.customerId, //客户id
  549. "status": 0,
  550. "itemId": that.buildingID,
  551. }
  552. this.$u.post(config.service.addATD, objdata).then(data => {
  553. this.status = 0
  554. uni.showToast({
  555. title: data.message,
  556. duration: 2000
  557. });
  558. })
  559. } else if (res.cancel) {
  560. console.log('用户点击取消');
  561. }
  562. }
  563. });
  564. },
  565. //标签选择
  566. tapbiaoqianclisck(index) {
  567. this.biaoqianindex = index;
  568. this.biaoqianid = this.biaoqianlist[index].id
  569. },
  570. //复制
  571. clickcopy() {
  572. var that = this;
  573. uni.setClipboardData({
  574. data: that.thewrongword,
  575. success: function() {
  576. that.dialogList.forEach(res => {
  577. res.message.forEach(asd => {
  578. asd.isshow = false;
  579. })
  580. })
  581. that.$forceUpdate();
  582. }
  583. });
  584. },
  585. //确认加入常错词
  586. Confirmtheexit() {
  587. if(this.reswrongword.length>8 || this.thewrongword.length>8){
  588. this.$refs.uToast.show({
  589. title: '正确词错误词不能超过8个字',
  590. type: 'warning',
  591. })
  592. }else{
  593. let reg = /^[0-9]+$/
  594. if(reg.test(this.thewrongword)){
  595. this.$refs.uToast.show({
  596. title: '错误词不能为纯数字',
  597. type: 'warning',
  598. })
  599. }else{
  600. if (this.thewrongword) {
  601. if (this.reswrongword) {
  602. let parames = {
  603. customerId: this.customerId,
  604. cupid: this.luyinList[this.csdFileindex].id,
  605. wrongWord: this.thewrongword, //错误词
  606. correctWord: this.reswrongword, //正确词
  607. translateHtmlContent: this.messagelisy,
  608. }
  609. this.isshow2 = false;
  610. let sas = this.textItself.replace(this.thewrongword, this.reswrongword)
  611. this.dialogList[this.argtextindex1].message[this.argtextindex2].onebest = sas
  612. this.dialogList.forEach(res => {
  613. res.message.forEach(asd => {
  614. asd.isshow = false;
  615. })
  616. })
  617. this.$u.post("/corpus/addCorrectWord", parames).then(data => {
  618. this.thewrongword = "";
  619. this.reswrongword = "";
  620. })
  621. } else {
  622. uni.showToast({
  623. title: '正确值不能为空',
  624. duration: 2000
  625. });
  626. return
  627. }
  628. } else {
  629. uni.showToast({
  630. title: '错误词不能为空',
  631. duration: 2000
  632. });
  633. return
  634. }
  635. }
  636. }
  637. },
  638. //取消加入常错词
  639. Cancelout() {
  640. this.isshow2 = false;
  641. this.dialogList.forEach(res => {
  642. res.message.forEach(asd => {
  643. asd.isshow = false;
  644. })
  645. })
  646. },
  647. //加入长错词
  648. Oftenthewrongword() {
  649. this.isNum = false;
  650. this.reswrongword = "";
  651. this.isshow2 = true;
  652. let reg = /^[0-9]+$/
  653. if (reg.test(this.thewrongword)) {
  654. this.isNum = true
  655. }
  656. },
  657. //加精华
  658. Addtheessence() {
  659. this.isshow3 = true;
  660. this.biaoqianlist = []
  661. this.$u.post('/addtodigest/findAllYi', {}).then(data => {
  662. this.biaoqianlist = data
  663. this.biaoqianlist.unshift({
  664. name: "逼单话术",
  665. id: 0
  666. })
  667. })
  668. },
  669. // 取消加精
  670. Cancelout2() {
  671. this.isshow3 = false;
  672. this.dialogList.forEach(res => {
  673. res.message.forEach(asd => {
  674. asd.isshow = false;
  675. })
  676. })
  677. },
  678. // 确认加精
  679. Confirmtheexit2() {
  680. if (this.biaoqianid) {
  681. this.biaoqianid = this.biaoqianid
  682. } else {
  683. this.biaoqianid = 0
  684. }
  685. this.isshow3 = false;
  686. this.dialogList.forEach(res => {
  687. res.message.forEach(asd => {
  688. asd.isshow = false;
  689. })
  690. })
  691. let objdata = {
  692. "carId": this.customerId, //客户id
  693. "startTime": this.changanitem.bg, //开始时间
  694. "startFile": this.duihuawenjianid, //对话所在录音文件id
  695. "endTime": this.changanitem.ed, //结束时间
  696. "marketingId": this.biaoqianid, //对应一级父id
  697. "jjTransfer": this.changanitem.onebest, //选中对话
  698. "status": 1
  699. }
  700. this.$u.post(config.service.addATD, objdata).then(data => {
  701. uni.showToast({
  702. title: '加精成功',
  703. duration: 2000
  704. });
  705. }).catch(e => {
  706. uni.showToast({
  707. title: e.message,
  708. icon: 'none',
  709. duration: 2000
  710. });
  711. })
  712. },
  713. //长按对话
  714. changanxiaoguo(item, index, i) {
  715. this.messagelisy = [];
  716. this.changanitem = {};
  717. this.duihuawenjianid = "",
  718. this.dialogList.forEach(res => {
  719. res.message.forEach(asd => {
  720. asd.isshow = false;
  721. })
  722. })
  723. this.changanitem = item;
  724. this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
  725. this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow;
  726. this.textItself = item.onebest;
  727. let onebest = item.onebest;
  728. this.thewrongword = onebest.replace(/<.*?>/ig, "");
  729. this.thewrongword = item.onebest;
  730. this.messagelisy = this.dialogList[i].message
  731. this.argtextindex1 = i;
  732. this.argtextindex2 = index;
  733. },
  734. //回到顶部
  735. gotoTop() {
  736. this.scrollId = null;
  737. this.$nextTick(() => {
  738. this.scrollId = "top";
  739. })
  740. },
  741. //切换tab
  742. changeTab(type) {
  743. if (type == 0) {
  744. this.tab = 0
  745. } else {
  746. this.tab = 1;
  747. this.getRatelist();
  748. }
  749. },
  750. //录音列表显示隐藏
  751. showFile() {
  752. this.isshowFile = !this.isshowFile;
  753. },
  754. //评分上下显隐
  755. changeshow(item, type) {
  756. if (type == 1) {
  757. item.show = true
  758. } else {
  759. item.show = false
  760. }
  761. },
  762. // 获取评分
  763. getRatelist() {
  764. if (this.ratelist.length == 0) {
  765. this.$u.get("/customer/findzkMByCusId", {
  766. cusId: this.customerId
  767. }).then(res => {
  768. if (res.length) {
  769. let level1 = []
  770. let level2rate = 0
  771. res.forEach(item => {
  772. if (item.pid == 0) {
  773. level1.push({
  774. id: item.marketingId,
  775. rate: item.fraction,
  776. name: item.name,
  777. sort: item.sort,
  778. show: false,
  779. ratepercent: 0,
  780. children: []
  781. })
  782. } else {
  783. if (item.selected == 0) {
  784. level2rate += item.fraction
  785. }
  786. }
  787. })
  788. this.totalRate = level2rate
  789. res.forEach(subitem => {
  790. let subitempid = subitem.pid
  791. level1.forEach(item => {
  792. if (subitempid == item.id) {
  793. if (subitem.selected == 0) {
  794. item.ratepercent += subitem.fraction
  795. }
  796. item.children.push({
  797. id: subitem.id,
  798. rate: subitem.fraction,
  799. selected: subitem.selected,
  800. name: subitem.name
  801. })
  802. }
  803. })
  804. })
  805. level1[0].show = true;
  806. this.ratelist = level1
  807. }
  808. setTimeout(function() {
  809. uni.hideLoading();
  810. }, 1000);
  811. })
  812. }
  813. },
  814. // 获取转义后的对话结果
  815. getCorpusAnalysis(info) {
  816. this.dialogList = [];
  817. let obj = {
  818. corpusId: this.luyinList[this.csdFileindex].id,
  819. customerId: this.customerId
  820. }
  821. this.$u.get(config.service.getCorpusAnalysis, obj).then(data => {
  822. try {
  823. const jsonInfo = JSON.parse(data.audioContent);
  824. // console.log(jsonInfo)
  825. if (this.luyinList[this.csdFileindex].recordDuration > 360) {
  826. //拿到总条数
  827. var stusnum = jsonInfo.length;
  828. this.dialogList.push({
  829. message: jsonInfo.splice(0, 80),
  830. backindex: this.csdFileindex
  831. });
  832. var auth_timetimer = setInterval(() => {
  833. stusnum -= 100;
  834. // console.log("还剩下" + stusnum)
  835. if (stusnum <= 0) {
  836. clearInterval(auth_timetimer);
  837. } else {
  838. var newlistwang = [];
  839. newlistwang = jsonInfo.splice(0, 100);
  840. newlistwang.forEach(item => {
  841. this.dialogList[0].message.push(item)
  842. })
  843. }
  844. }, 1000);
  845. } else {
  846. this.dialogList.push({
  847. message: jsonInfo,
  848. backindex: this.csdFileindex
  849. });
  850. }
  851. this.dialogList.forEach((asd, idx) => {
  852. asd.message.forEach((qwe, inde) => {
  853. qwe.isshow = false;
  854. })
  855. })
  856. } catch(e) {
  857. if (data.whetherFinishName == '转写中') {
  858. uni.showModal({
  859. title: '提示',
  860. content: '录音正在转写中,请稍后重试!',
  861. showCancel: false
  862. });
  863. }
  864. }
  865. }).catch(e => {
  866. // if (e.da)
  867. uni.showModal({
  868. title: '提示',
  869. content: '请求数据失败,请重新尝试',
  870. showCancel: false
  871. });
  872. })
  873. },
  874. getTime(time) {
  875. return util.formatSecond(time)
  876. },
  877. //音频前进回退
  878. sliderChangeComplate(currentTime) {
  879. // 暂时没有处理
  880. // this.$refs.zyAudio.seek(e.detail.value);
  881. // this.$refs.zyAudio.play();
  882. },
  883. //长按点击播放
  884. clickbofang(dialog, item) {
  885. this.dialogList.forEach(res => {
  886. res.message.forEach(asd => {
  887. asd.isshow = false;
  888. })
  889. })
  890. this.$forceUpdate()
  891. if (dialog == this.csdFileindex) {
  892. let time = item.bg / 1000
  893. this.stepPlay(time);
  894. return
  895. } else {
  896. let time = item.bg / 1000
  897. this.csdFileindex = dialog;
  898. this.recordPath = this.luyinList[dialog].recordPath;
  899. this.date = this.luyinList[dialog].receptionTime;
  900. this.getCorpusAnalysis()
  901. this.stepPlay(time);
  902. }
  903. },
  904. // 文件切换播放
  905. filechange(item, i) {
  906. this.num = i; //下拉起始位置
  907. this.Bnum = i;
  908. this.csdFileindex = i;
  909. this.recordPath = item.recordPath;
  910. this.date = item.receptionTime;
  911. this.isshowFile = false;
  912. setTimeout(() => {
  913. this.$zaudio.operate(i)
  914. }, 50)
  915. this.getCorpusAnalysis()
  916. },
  917. // 自动播放下一个文件
  918. qeihuanwenjian() {
  919. // this.$zaudio.paused()
  920. let index = this.csdFileindex + 1;
  921. if (index < this.luyinList.length) {
  922. this.csdFileindex = index;
  923. this.getCorpusAnalysis()
  924. let item = this.luyinList[this.csdFileindex];
  925. let i = this.csdFileindex;
  926. this.filechange(item, i)
  927. }
  928. },
  929. formatTime(num) {
  930. //格式化时间格式
  931. num = num.toFixed(0);
  932. let second = num % 60;
  933. if (second < 10) second = '0' + second;
  934. let min = Math.floor(num / 60);
  935. if (min < 10) min = '0' + min;
  936. return min + ":" + second;
  937. },
  938. changeEditing() {
  939. this.dialogList.forEach(res => {
  940. res.message.forEach(asd => {
  941. asd.isshow = false;
  942. })
  943. })
  944. },
  945. //录音实例
  946. zyAudio() {
  947. let data = this.luyinList.map((item, index) => {
  948. return {
  949. src: item.recordPath,
  950. title: `录音文件${index + 1}`,
  951. singer: '',
  952. coverImgUrl: ''
  953. }
  954. })
  955. this.$zaudio.setAudio(data)
  956. //渲染第一首音频
  957. this.$zaudio.setRender(0)
  958. setTimeout(() => {
  959. this.$zaudio.operate()
  960. }, 150)
  961. this.$forceUpdate()
  962. },
  963. // 跳转指定位置播放
  964. stepPlay(t) {
  965. this.$zaudio.seek(t)
  966. if (this.$zaudio.paused) {
  967. this.$zaudio.operate()
  968. }
  969. },
  970. }
  971. }
  972. </script>
  973. <style lang="scss" scoped>
  974. .ffectivetext {
  975. width: 85%;
  976. margin: 10rpx auto;
  977. height: 100rpx;
  978. padding: 20rpx;
  979. border: 1rpx solid #E4F0FF;
  980. }
  981. .biaoqiantom {
  982. background-color: #008EF2;
  983. color: #FFFFFF;
  984. border: none;
  985. }
  986. // 表单
  987. .tian-view {
  988. width: 570rpx;
  989. background-color: #FFFFFF;
  990. border-bottom: 1px solid #ededee;
  991. display: flex;
  992. min-height: 96rpx;
  993. .tian-view-t1 {
  994. width: 20rpx;
  995. font-size: 34rpx;
  996. height: 34rpx;
  997. line-height: 110rpx;
  998. letter-spacing: 0px;
  999. color: red;
  1000. }
  1001. .tian-view-t2 {
  1002. width: 30%;
  1003. min-height: 96rpx;
  1004. line-height: 96rpx;
  1005. font-size: 34rpx;
  1006. color: #333;
  1007. }
  1008. .tian-view-t3 {
  1009. width: 61%;
  1010. padding-top: 31rpx;
  1011. padding-bottom: 31rpx;
  1012. display: flex;
  1013. .tian-input {
  1014. width: 98%;
  1015. font-size: 34rpx;
  1016. border: none;
  1017. }
  1018. }
  1019. }
  1020. .zhezhoa {
  1021. position: fixed;
  1022. top: 0;
  1023. left: 0;
  1024. z-index: 999;
  1025. width: 100%;
  1026. height: 100vh;
  1027. opacity: 0.5;
  1028. background-color: #666666;
  1029. }
  1030. .bounced {
  1031. width: 570rpx;
  1032. background: #FFFFFF;
  1033. z-index: 1000;
  1034. border-radius: 10rpx;
  1035. position: fixed;
  1036. left: 50%;
  1037. top: 50%;
  1038. transform: translate(-50%, -50%);
  1039. /* 50%为自身尺寸的一半 */
  1040. .jiajinghuatit {
  1041. width: 100%;
  1042. height: 68rpx;
  1043. font-size: 30rpx;
  1044. text-align: center;
  1045. line-height: 68rpx;
  1046. }
  1047. .jiajinghuaview {
  1048. padding: 18rpx 18rpx 18rpx 18rpx;
  1049. display: flex;
  1050. flex-wrap: wrap;
  1051. height: 50vh;
  1052. overflow-y: scroll;
  1053. .jiajinghuaview1 {
  1054. padding: 8rpx 8rpx 8rpx 8rpx;
  1055. font-size: 26rpx;
  1056. border-radius: 12rpx;
  1057. border: 1px solid #979797;
  1058. margin-left: 8rpx;
  1059. }
  1060. .jighuaview2 {
  1061. padding: 8rpx 18rpx 8rpx 18rpx;
  1062. font-size: 26rpx;
  1063. border-radius: 12rpx;
  1064. border: 1px solid #979797;
  1065. margin-left: 20rpx;
  1066. margin-top: 10rpx;
  1067. display: flex;
  1068. .view1-text {
  1069. text-align: center;
  1070. }
  1071. .view1-img {
  1072. width: 50rpx;
  1073. }
  1074. }
  1075. }
  1076. .bounced3 {
  1077. height: 100rpx;
  1078. width: 100%;
  1079. margin-top: 40rpx;
  1080. border-top: 1px solid #dddddd;
  1081. display: flex;
  1082. }
  1083. .bounced3-1 {
  1084. width: 50%;
  1085. height: 100%;
  1086. text-align: center;
  1087. line-height: 100rpx;
  1088. border-right: 1px solid #dddddd;
  1089. font-size: 36rpx;
  1090. color: #999999;
  1091. }
  1092. .bounced3-2 {
  1093. width: 50%;
  1094. height: 100%;
  1095. text-align: center;
  1096. line-height: 100rpx;
  1097. font-size: 36rpx;
  1098. color: #108ee9;
  1099. }
  1100. }
  1101. .translation {
  1102. padding-left: 30rpx;
  1103. padding-right: 30rpx;
  1104. background: #FFFFFF;
  1105. display: flex;
  1106. flex-direction: column;
  1107. height: 100vh;
  1108. }
  1109. .translation .top {
  1110. margin: 0 -30rpx;
  1111. padding: 0 30rpx;
  1112. background: #ffffff;
  1113. border-bottom: 1rpx solid #F2F2F2;
  1114. padding-bottom: 10rpx;
  1115. }
  1116. .translation .top .title {
  1117. display: flex;
  1118. justify-content: space-between;
  1119. .hash {
  1120. color: rgba(21, 144, 233, 1);
  1121. font-size: 24rpx;
  1122. }
  1123. }
  1124. .call_record_time {
  1125. height: 44rpx;
  1126. font-size: 28rpx;
  1127. font-weight: 600;
  1128. color: #008EF2;
  1129. line-height: 44rpx;
  1130. }
  1131. .call_record_time_one {
  1132. height: 48rpx;
  1133. font-size: 24rpx;
  1134. font-weight: 500;
  1135. color: #70798d;
  1136. line-height: 48rpx;
  1137. display: flex;
  1138. justify-content: space-between;
  1139. position: relative;
  1140. .audoioyouxiao {
  1141. height: 46rpx;
  1142. position: absolute;
  1143. top: 0rpx;
  1144. right: 140rpx;
  1145. font-size: 30rpx;
  1146. }
  1147. .diangweitupian {
  1148. width: 46rpx;
  1149. height: 46rpx;
  1150. position: absolute;
  1151. top: 0rpx;
  1152. right: 75rpx;
  1153. }
  1154. .file-change {
  1155. position: absolute;
  1156. top: 50rpx;
  1157. right: 0rpx;
  1158. width: 184rpx;
  1159. background: #FFFFFF;
  1160. box-shadow: 0rpx 0rpx 6rpx 2rpx rgba(230, 230, 230, 0.5);
  1161. border-radius: 4rpx;
  1162. z-index: 99;
  1163. height: auto;
  1164. max-height: 600rpx;
  1165. overflow: auto;
  1166. }
  1167. .file-item {
  1168. width: 184rpx;
  1169. height: 60rpx;
  1170. line-height: 60rpx;
  1171. text-align: center;
  1172. font-size: 30rpx;
  1173. font-weight: 400;
  1174. color: #333333;
  1175. border-bottom: 1rpx solid #E2E2E2;
  1176. }
  1177. .file-item:last-child {
  1178. border: 0
  1179. }
  1180. .fileactive {
  1181. color: #008EF2
  1182. }
  1183. }
  1184. .audio-container {
  1185. width: 100%;
  1186. display: flex;
  1187. justify-content: space-between;
  1188. align-items: center;
  1189. .audio-head {
  1190. width: 60rpx;
  1191. height: 60rpx;
  1192. flex-shrink: 0;
  1193. }
  1194. .audio-head .image {
  1195. width: 100%;
  1196. height: 100%;
  1197. }
  1198. .audio-slider {
  1199. width: 96%;
  1200. position: relative;
  1201. padding: 2px 0rpx 0px 20px;
  1202. display: flex;
  1203. justify-content: space-between;
  1204. align-items: center;
  1205. }
  1206. .audio-slider .slider {
  1207. width: 100%;
  1208. padding: 0px 15rpx;
  1209. box-sizing: border-box;
  1210. }
  1211. .audio-time {
  1212. width: 110rpx;
  1213. text-align: right;
  1214. font-size: 24rpx;
  1215. line-height: 28rpx;
  1216. color: #70798D;
  1217. display: flex;
  1218. justify-content: space-between;
  1219. }
  1220. .audio-play {
  1221. width: 40rpx;
  1222. height: 40rpx;
  1223. flex-shrink: 0;
  1224. }
  1225. .audio-play .image {
  1226. width: 100%;
  1227. height: 100%;
  1228. }
  1229. }
  1230. .scroll-Y {
  1231. font-size: 36rpx;
  1232. color: #999999;
  1233. background: #FFFFFF;
  1234. margin-top: 30rpx;
  1235. flex: 1;
  1236. overflow-y: scroll;
  1237. width: 100%;
  1238. }
  1239. .scroll-Y .text {
  1240. margin: 50rpx 30rpx;
  1241. line-height: 80rpx;
  1242. display: flex;
  1243. align-items: center;
  1244. }
  1245. .scroll-Y .text[data-speaker="2"],
  1246. .scroll-Y .text[data-speaker="4"],
  1247. .scroll-Y .text[data-speaker="6"] {
  1248. flex-direction: row-reverse;
  1249. text-align: right;
  1250. .content {
  1251. margin-left: 0;
  1252. margin-right: 30rpx;
  1253. }
  1254. }
  1255. .scroll-Y .text .avatar {
  1256. width: 64rpx;
  1257. height: 64rpx;
  1258. line-height: 64rpx;
  1259. text-align: center;
  1260. font-size: 36rpx;
  1261. border-radius: 50%;
  1262. background: #F2F2F2;
  1263. color: #008EF2;
  1264. }
  1265. .scroll-Y .text .content {
  1266. margin-left: 30rpx;
  1267. line-height: 60rpx;
  1268. text-align: left;
  1269. padding: 0 5px;
  1270. background: #F6F6F6;
  1271. border-radius: 8rpx;
  1272. max-width: 442rpx;
  1273. color: #999;
  1274. position: relative;
  1275. .tankuangcss {
  1276. position: absolute;
  1277. top: -140rpx;
  1278. left: -120rpx;
  1279. width: 308rpx;
  1280. height: 130rpx;
  1281. background-color: #333333;
  1282. font-size: 24rpx;
  1283. color: #FFFFFF;
  1284. padding-top: 4rpx;
  1285. padding-bottom: 4rpx;
  1286. display: flex;
  1287. flex-wrap: wrap;
  1288. border-radius: 15rpx;
  1289. z-index: 1000;
  1290. }
  1291. }
  1292. .scroll-Y .text.active .content {
  1293. color: #FF7538 !important;
  1294. position: relative;
  1295. }
  1296. .scroll-Y .text.active[data-speaker="2"] .content,
  1297. .scroll-Y .text.active[data-speaker="4"] .content,
  1298. .scroll-Y .text.active[data-speaker="6"] .content {
  1299. color: #FF7538 !important;
  1300. position: relative;
  1301. }
  1302. .scroll-Y .isGreen .contentInfo .contentMain .content {
  1303. background: #2BC805 !important;
  1304. color: #FFFFFF;
  1305. }
  1306. .tab-box {
  1307. width: 100%;
  1308. display: flex;
  1309. justify-content: center;
  1310. align-items: center;
  1311. .yinpinshibie {
  1312. width: 156rpx;
  1313. height: 50rpx;
  1314. font-size: 36rpx;
  1315. font-weight: 400;
  1316. color: #333333;
  1317. text-align: center;
  1318. line-height: 50rpx;
  1319. letter-spacing: 2rpx;
  1320. margin-right: 188rpx;
  1321. &.active {
  1322. position: relative;
  1323. &::after {
  1324. position: absolute;
  1325. content: '';
  1326. width: 119rpx;
  1327. height: 8rpx;
  1328. background: #008EF2;
  1329. border-radius: 4rpx;
  1330. top: 50rpx;
  1331. right: 0;
  1332. left: 0;
  1333. margin: 0 auto;
  1334. }
  1335. }
  1336. }
  1337. .rate {
  1338. width: 156rpx;
  1339. height: 50rpx;
  1340. font-size: 36rpx;
  1341. font-weight: 400;
  1342. color: #333333;
  1343. line-height: 50rpx;
  1344. letter-spacing: 2rpx;
  1345. text-align: center;
  1346. &.active {
  1347. position: relative;
  1348. &::after {
  1349. position: absolute;
  1350. content: '';
  1351. width: 119rpx;
  1352. height: 8rpx;
  1353. background: #008EF2;
  1354. border-radius: 4rpx;
  1355. top: 50rpx;
  1356. right: 0;
  1357. left: 0;
  1358. margin: 0 auto;
  1359. }
  1360. }
  1361. }
  1362. }
  1363. .backTop {
  1364. width: 60rpx;
  1365. height: 60rpx;
  1366. background: rgba(211, 235, 253, 1);
  1367. box-shadow: 0rpx 0rpx 2rpx 4rpx rgba(38, 161, 255, 0.04);
  1368. border-radius: 50%;
  1369. position: fixed;
  1370. bottom: 200rpx;
  1371. right: 8rpx;
  1372. display: flex;
  1373. justify-content: center;
  1374. align-items: center;
  1375. image {
  1376. width: 26rpx;
  1377. height: 34rpx;
  1378. }
  1379. }
  1380. // 评分
  1381. .rate-box {
  1382. padding: 10rpx 20rpx;
  1383. .date {
  1384. width: 300rpx;
  1385. height: 33rpx;
  1386. font-size: 24rpx;
  1387. font-weight: 400;
  1388. color: #333333;
  1389. line-height: 33rpx;
  1390. letter-spacing: 1rpx;
  1391. margin-bottom: 8rpx;
  1392. }
  1393. .title {
  1394. width: 100%;
  1395. height: 42rpx;
  1396. font-size: 30rpx;
  1397. font-weight: 500;
  1398. color: #333333;
  1399. line-height: 42rpx;
  1400. letter-spacing: 2rpx;
  1401. margin-bottom: 20rpx;
  1402. }
  1403. .level1 {
  1404. display: flex;
  1405. align-items: center;
  1406. .level-name {
  1407. width: 104rpx;
  1408. height: 33rpx;
  1409. font-size: 24rpx;
  1410. font-weight: 500;
  1411. color: #333333;
  1412. line-height: 33rpx;
  1413. letter-spacing: 1rpx;
  1414. margin-right: 10rpx;
  1415. }
  1416. .level-progress {
  1417. flex: 1;
  1418. border-radius: 11rpx;
  1419. height: 21rpx;
  1420. background-color: #BEE4FF;
  1421. position: relative;
  1422. .color {
  1423. width: 0;
  1424. position: absolute;
  1425. top: 0;
  1426. left: 0;
  1427. height: 21rpx;
  1428. border-radius: 11rpx 0 0 11rpx;
  1429. background-color: #008EF2;
  1430. }
  1431. }
  1432. .level-rate {
  1433. width: 65rpx;
  1434. height: 33rpx;
  1435. font-size: 24rpx;
  1436. font-weight: 500;
  1437. color: #333333;
  1438. line-height: 33rpx;
  1439. letter-spacing: 1rpx;
  1440. margin: 0 20rpx 0 15rpx;
  1441. }
  1442. .arrow {
  1443. width: 37rpx;
  1444. height: 21rpx;
  1445. padding: 5rpx 20rpx;
  1446. }
  1447. .rotatearrow {
  1448. transform: rotate(270deg);
  1449. }
  1450. }
  1451. .level1-subbox {
  1452. display: flex;
  1453. margin-top: 20rpx;
  1454. flex-wrap: wrap;
  1455. .sub-name {
  1456. width: 50%;
  1457. display: flex;
  1458. margin-bottom: 18rpx;
  1459. .subitem-name {
  1460. width: 104rpx;
  1461. height: 33rpx;
  1462. font-size: 24rpx;
  1463. font-weight: 400;
  1464. color: #999999;
  1465. line-height: 33rpx;
  1466. letter-spacing: 1rpx;
  1467. margin-right: 12rpx;
  1468. }
  1469. .checkimg {
  1470. width: 27rpx;
  1471. height: 27rpx;
  1472. }
  1473. }
  1474. }
  1475. }
  1476. .dialog-block {
  1477. margin: 20rpx 0;
  1478. border-bottom: 1px solid #ccc;
  1479. .fileName {
  1480. text-align: center;
  1481. margin: 10rpx auto;
  1482. width: 115rpx;
  1483. height: 42rpx;
  1484. line-height: 42rpx;
  1485. background: #EFEFEF;
  1486. border-radius: 4rpx;
  1487. font-size: 20rpx;
  1488. font-weight: 400;
  1489. color: #333333;
  1490. }
  1491. }
  1492. /deep/ .u-model-title{
  1493. padding: 34rpx 0 16rpx !important;
  1494. }
  1495. </style>