cnhis-design-vue 0.2.29-beta → 0.2.33-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/es/age/index.js +2 -2
  2. package/es/big-table/index.js +45 -44
  3. package/es/big-table/style.css +1 -1
  4. package/es/button/index.js +2 -2
  5. package/es/captcha/index.js +3 -3
  6. package/es/checkbox/index.js +1 -1
  7. package/es/color-picker/index.js +1 -1
  8. package/es/drag-layout/index.js +50 -45
  9. package/es/drag-layout/style.css +1 -1
  10. package/es/editor/index.js +297 -25
  11. package/es/editor/style.css +1 -1
  12. package/es/fabric-chart/index.js +9 -9
  13. package/es/index/index.js +486 -343
  14. package/es/index/style.css +1 -1
  15. package/es/input/index.js +1 -1
  16. package/es/map/index.js +1 -1
  17. package/es/multi-chat/index.js +79 -53
  18. package/es/multi-chat-client/index.js +73 -47
  19. package/es/multi-chat-history/index.js +4 -4
  20. package/es/multi-chat-record/index.js +4 -4
  21. package/es/multi-chat-setting/index.js +75 -49
  22. package/es/multi-chat-sip/index.js +1 -1
  23. package/es/radio/index.js +1 -1
  24. package/es/scale-view/index.js +112 -97
  25. package/es/scale-view/style.css +1 -1
  26. package/es/select/index.js +3 -3
  27. package/es/select-label/index.js +58 -48
  28. package/es/select-label/style.css +1 -1
  29. package/es/select-person/index.js +2 -2
  30. package/es/table-filter/index.js +42 -28
  31. package/es/tag/index.js +1 -1
  32. package/es/utils/utils-map.js +16 -4
  33. package/es/utils/vexutils.js +15 -1
  34. package/es/verification-code/index.js +2 -2
  35. package/lib/cui.common.js +668 -505
  36. package/lib/cui.umd.js +668 -505
  37. package/lib/cui.umd.min.js +31 -31
  38. package/package.json +1 -1
  39. package/packages/big-table/src/BigTable.vue +1 -0
  40. package/packages/drag-layout/drag-layout.vue +4 -0
  41. package/packages/editor/src/Editor.vue +76 -9
  42. package/packages/multi-chat/store/actions.js +22 -4
  43. package/packages/scale-view/scaleView.vue +13 -6
  44. package/packages/select-label/labelFormContent.vue +23 -14
  45. package/packages/select-label/select-label.vue +1 -1
  46. package/packages/table-filter/src/components/multi-select/multi-select.vue +1 -1
  47. package/packages/table-filter/src/mixins/mixins.js +13 -1
  48. package/src/utils/utils-map.js +15 -3
  49. package/src/utils/vexutils.js +13 -1
@@ -280,7 +280,7 @@ module.exports = require("core-js/modules/es.array.find.js");
280
280
 
281
281
  "use strict";
282
282
 
283
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-describe.vue?vue&type=template&id=4b76a796&scoped=true&
283
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-describe.vue?vue&type=template&id=4b76a796&scoped=true&
284
284
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"msg-describe"},[_c('div',{staticClass:"msg-describe__header"},[_vm._v(_vm._s(_vm.content.title || ''))]),_c('div',{staticClass:"msg-describe__content"},[_c('div',{ref:"wrapper",class:_vm.isOpen ? '' : 'wrapper'},_vm._l((_vm.contentParams),function(item,i){return _c('div',{key:i,staticClass:"desc-item"},[_c('div',{staticClass:"desc-title"},[_vm._v(" "+_vm._s(item.p_name)+" ")]),_c('div',{staticClass:"desc-txt"},[_vm._v(" "+_vm._s(item.p_value)+" ")])])}),0),(_vm.foldVisible)?_c('div',{staticClass:"fold-btn",on:{"click":_vm.toggleOpen}},[_vm._v(" "+_vm._s(_vm.isOpen ? _vm.i18nText('1.4.9.33') : _vm.i18nText('1.10.233') + _vm.i18nText('1.10.149'))+" "),_c('a-icon',{attrs:{"type":_vm.isOpen ? 'up' : 'down'}})],1):_vm._e()])])}
285
285
  var staticRenderFns = []
286
286
 
@@ -914,7 +914,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABz
914
914
 
915
915
  "use strict";
916
916
 
917
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/audio.vue?vue&type=template&id=d99c71a2&scoped=true&
917
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/audio.vue?vue&type=template&id=d99c71a2&scoped=true&
918
918
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"single-audio",style:({ width: _vm.size === 'big' ? '414px' : '207px' }),on:{"mousedown":_vm.handleMove}},[_c('div',{staticClass:"header",style:({
919
919
  height: _vm.size === 'big' ? '40px' : '30px',
920
920
  lineHeight: _vm.size === 'big' ? '40px' : '30px',
@@ -2196,7 +2196,7 @@ function _slicedToArray(arr, i) {
2196
2196
 
2197
2197
  "use strict";
2198
2198
 
2199
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-prescription.vue?vue&type=template&id=a9aa04b2&scoped=true&
2199
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-prescription.vue?vue&type=template&id=a9aa04b2&scoped=true&
2200
2200
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['msg-prescription', _vm.theme],on:{"click":_vm.handleTemplateDetail}},[_c('div',{staticClass:"prescription_header"},[_c('span',{staticClass:"prescription_header-title"},[_vm._v(_vm._s(_vm.content.title))]),(_vm.topRightButton)?_c('span',{staticClass:"prescription_header-btn",on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, _vm.topRightButton)}}},[_vm._v(" "+_vm._s(_vm.topRightButton.title)+" ")]):(_vm.showArrow)?_c('a-icon',{attrs:{"type":"right","color":"#969696"}}):_vm._e()],1),_c('div',{staticClass:"prescription_wrapper"},[(_vm.content.icon)?_c('svg-icon',{staticClass:"prescription_logo",attrs:{"icon-class":_vm.content.icon}}):(_vm.content.image)?_c('img',{staticClass:"prescription_logo",attrs:{"src":_vm.content.image}}):_vm._e(),_c('bodyComp',{staticClass:"prescription_body",attrs:{"body":_vm.body}})],1),(_vm.toolbarButton.length)?_c('div',{staticClass:"prescription_btn-group"},_vm._l((_vm.toolbarButton),function(btn,index){return _c('a-button',{key:index,attrs:{"type":"primary","shape":"round","ghost":""},on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, btn)}}},[_vm._v(" "+_vm._s(btn.title)+" ")])}),1):_vm._e(),(_vm.bottomButton)?_c('div',{staticClass:"prescription_footer"},[_c('span',{staticClass:"prescription_footer-btn",on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, _vm.bottomButton)}}},[_vm._v(" "+_vm._s(_vm.bottomButton.title)+" ")])]):_vm._e()])}
2201
2201
  var staticRenderFns = []
2202
2202
 
@@ -2448,7 +2448,7 @@ module.exports = function (it) {
2448
2448
 
2449
2449
  "use strict";
2450
2450
 
2451
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/chatMain.vue?vue&type=template&id=744a9a49&scoped=true&
2451
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/chatMain.vue?vue&type=template&id=744a9a49&scoped=true&
2452
2452
  var render = function () {
2453
2453
  var this$1 = this;
2454
2454
  var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"message-wrapper"},[(_vm.isServer && _vm.enable)?_c('chat-header',{attrs:{"hideHeader":_vm.hideHeader},on:{"openPortraitPanel":_vm.handleOpenPortraitPanel}}):_vm._e(),_c('a-layout-content',[_vm._t("default"),(_vm.showBroadcast)?_c('div',{staticClass:"broadcast-wrap"},[(_vm.broadcastCarousel)?_c('div',{staticClass:"carousel-item",class:{ 'has-link': _vm.assemblySetting.broadcast.PC.list[0].url },on:{"click":function($event){return _vm.goToBroadcastLink(_vm.assemblySetting.broadcast.PC.list[0])}}},[_c('a-icon',{attrs:{"type":"sound"}}),_c('span',{staticClass:"ellips"},[_vm._v(" "+_vm._s(_vm.assemblySetting.broadcast.PC.list[0].content)+" ")])],1):[_c('a-carousel',{attrs:{"dotPosition":"right","autoplay":"","dots":false}},_vm._l((_vm.assemblySetting.broadcast.PC.list),function(item,i){return _c('div',{key:i,staticClass:"carousel-item",class:{ 'has-link': item.url },on:{"click":function($event){return _vm.goToBroadcastLink(item)}}},[_c('a-icon',{attrs:{"type":"sound"}}),_c('span',{staticClass:"ellips"},[_vm._v(_vm._s(item.content))])],1)}),0)]],2):_vm._e(),(_vm.sessionHistoryList.length > 1 && !(!_vm.onChating && _vm.currentTab === 'end') && !_vm.sessionEnd)?_c('div',{staticStyle:{"position":"absolute","top":"0","left":"20px","z-index":"1"}},[_c('a-radio-group',{attrs:{"value":_vm.selectedSession,"buttonStyle":"solid"},on:{"change":_vm.handleSessionIdChange}},_vm._l((_vm.sessionHistoryList),function(item){return _c('a-radio-button',{key:item.id + item.fromId,attrs:{"value":item.id + '-' + item.fromId}},[_vm._v(_vm._s(item.fromName))])}),1)],1):_vm._e(),_c('div',{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:(_vm.handleInfiniteOnLoad),expression:"handleInfiniteOnLoad"}],ref:"message-wrapper",staticClass:"online-message"},[_vm._l((_vm.msgList),function(item,index){return [(item)?_c('div',{key:index},[(_vm.isNeedShowTime(item, index))?_c('p',{staticClass:"message-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime))+" ")]):_vm._e(),(item.recallFlag)?_c('div',{staticStyle:{"margin":"10px 0"}},[(_vm.handleRecallFlag(item))?[_vm._v(" "+_vm._s(_vm.getRecallText(item, _vm.isServer))+" "),([0, 4].includes(item.content && item.content.type) && _vm.onChating && _vm.isServer)?_c('a',{staticStyle:{"text-decoration":"underline"},on:{"click":function($event){return _vm.reEditMessage(item)}}},[_vm._v(","+_vm._s(_vm.i18nText('1.9.368')))]):_vm._e()]:[_vm._v(" "+_vm._s(_vm.getRecallText(item) || ((item.fromName) + " " + (_vm.i18nText('1.9.365'))))+" ")]],2):(_vm.isSystemMsg(item))?_c('div',{staticClass:"system-msg"},[_c('a-icon',{staticClass:"system-icon",attrs:{"theme":"filled","type":"exclamation-circle"}}),_c('div',[_c('span',{domProps:{"innerHTML":_vm._s(_vm.getSystemMsgContent(item))}}),_vm._l((_vm.getTemplateButton(item)),function(btn,index){return _c('span',{key:index,staticClass:"system-btn",on:{"click":function($event){return _vm.handleTemplateButton(btn)}}},[_vm._v(_vm._s(btn.title))])})],2)],1):(!item.recallFlag)?_c('div',{staticClass:"message-item",class:[_vm.getMessageItemClass(item), { 'read-status': _vm.enableReadRecord && item.readStatus }],attrs:{"data-rid":item.readStatus === 'N' ? item.id : ''}},[(!_vm.isServer && item.fromPortrait)?_c('img',{staticClass:"msg-avatar",attrs:{"src":item.fromPortrait}}):(!_vm.isServer && item.fromName)?_c('div',{staticClass:"first-name"},[_vm._v(" "+_vm._s(item.fromName && item.fromName.slice(0, 2))+" ")]):(!_vm.isServer)?_c('img',{staticClass:"msg-avatar",attrs:{"src":_vm.getAvatar(item),"width":"40","height":"40"}}):[(item.fromId === 'SYSTEM')?_c('img',{staticClass:"msg-avatar",attrs:{"src":_vm.customerStaffIcon,"width":"40","height":"40"}}):(item.content && item.content.source === 1)?_c('img',{staticClass:"msg-avatar",attrs:{"src":__webpack_require__("6753"),"width":"40","height":"40"}}):(item.portrait)?_c('img',{staticClass:"msg-avatar",attrs:{"src":item.portrait}}):_c('div',{staticClass:"first-name"},[_vm._v(" "+_vm._s(item.fromName && item.fromName.slice(0, 2))+" ")])],_c('div',{staticStyle:{"display":"flex"},on:{"contextmenu":function($event){return _vm.handleContextmenu($event, item)}}},[(item.sending)?_c('a-spin',[_c('a-icon',{staticStyle:{"font-size":"24px"},attrs:{"slot":"indicator","type":"loading","spin":""},slot:"indicator"})],1):_vm._e(),_c('a-popconfirm',{attrs:{"okText":_vm.i18nText('1.1.1.1.3'),"cancelText":_vm.i18nText('2.7.1.14')},on:{"confirm":function($event){return _vm.handleSendFail(item)}}},[_c('a-icon',{attrs:{"slot":"icon","type":"exclamation-circle"},slot:"icon"}),_c('div',{attrs:{"slot":"title"},slot:"title"},[_c('span',[_vm._v("确认重新发送该消息?")])]),(item.fail)?_c('a-icon',{staticStyle:{"font-size":"16px","display":"flex","align-items":"center","color":"red"},attrs:{"theme":"filled","type":"exclamation-circle"}}):_vm._e()],1),(item.content.type === 0)?_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('div',{class:{
@@ -2525,7 +2525,7 @@ module.exports = {};
2525
2525
 
2526
2526
  "use strict";
2527
2527
 
2528
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/chatHeader.vue?vue&type=template&id=08d0d81b&scoped=true&
2528
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/chatHeader.vue?vue&type=template&id=08d0d81b&scoped=true&
2529
2529
  var render = function () {
2530
2530
  var this$1 = this;
2531
2531
  var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layout-header',[(!_vm.hideHeader)?_c('div',{staticClass:"chat-header-wrapper"},[_c('div',{staticClass:"chat-header-title",on:{"click":function($event){return _vm.$emit('openPortraitPanel', { fromId: _vm.clientId })}}},[(_vm.clientParams.name)?_c('Avatar',{attrs:{"src":_vm.curScrollItem && _vm.curScrollItem.portrait,"size":30,"name":_vm.clientParams.name,"len":2}}):_vm._e(),_c('span',{staticClass:"chat-header-username"},[_vm._v(_vm._s(_vm.clientParams.name))]),(_vm.curScrollItem)?[(_vm.curScrollItem.sendName)?_c('a-tooltip',{attrs:{"placement":"topLeft"}},[_c('template',{slot:"title"},[_vm._v(_vm._s(_vm.curScrollItem.sendName + '转接给了你'))]),_c('span',{staticClass:"zhuanjie"},[_c('svg-icon',{staticStyle:{"font-size":"16px"},attrs:{"icon-class":"liaotian-zhuanchu"}}),_vm._v(" "+_vm._s(_vm.curScrollItem.sendName)+" ")],1)],2):_vm._e(),(_vm.curScrollItem.receiveName)?_c('a-tooltip',{attrs:{"placement":"topLeft"}},[_c('template',{slot:"title"},[_vm._v(_vm._s('你转接给了' + _vm.curScrollItem.receiveName))]),_c('span',{staticClass:"zhuanchu"},[_c('svg-icon',{staticStyle:{"font-size":"16px"},attrs:{"icon-class":"liaotian-zhuanru"}}),_vm._v(" "+_vm._s(_vm.curScrollItem.receiveName)+" ")],1)],2):_vm._e()]:_vm._e()],2),_c('div',[(_vm.isShow('TRANSFER') && _vm.sessionType == 1 && _vm.onChating)?_c('a-button',{attrs:{"disabled":!_vm.onChating && !!_vm.convertButtonTitle},on:{"click":_vm.handleConvertShow}},[_vm._v(_vm._s(_vm.convertButtonTitle))]):_vm._e(),_c('UserStatus'),(_vm.isSessionOwner && !_vm.isStaff)?_c('a-button',{attrs:{"disabled":!_vm.onChating},on:{"click":_vm.handleConfirm}},[_vm._v(_vm._s(_vm.endSessionTitle))]):_vm._e()],1)]):_vm._e(),(_vm.sessionTimer)?_c('a-alert',{staticClass:"session-time",attrs:{"type":"success"},scopedSlots:_vm._u([{key:"message",fn:function(){return [_vm._v(" "+_vm._s(_vm.i18nText('1.9.324'))+": "+_vm._s(_vm.formatedSessionTime)+" ")]},proxy:true}],null,false,3826010762)}):_vm._e(),_c('a-modal',{attrs:{"title":_vm.convertButtonTitle,"visible":_vm.convertShow,"maskClosable":false,"mask":true,"width":400,"destroyOnClose":"","okText":_vm.i18nText('1.9.326')},on:{"cancel":function () {
@@ -4049,7 +4049,7 @@ var store = __webpack_require__("c6cd");
4049
4049
 
4050
4050
  "use strict";
4051
4051
 
4052
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/video.vue?vue&type=template&id=5e1d7bf5&scoped=true&
4052
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/video.vue?vue&type=template&id=5e1d7bf5&scoped=true&
4053
4053
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"video",staticClass:"video-popover"},[_c('div',{staticClass:"video-header"},[_c('span',{staticClass:"video-title"},[_c('span',[_vm._v("视频通话")]),(_vm.sipName)?_c('a-tooltip',{attrs:{"placement":"bottom","overlayStyle":{ maxWidth: 'auto', fontSize: '12px' }}},[_c('span',{attrs:{"slot":"title"},slot:"title"},[_vm._v(" 当前设备"+_vm._s(_vm.sipName)),_c('br'),_vm._v(" 若要更换音视频设备,请点击设置进行更改 ")]),_c('svg-icon',{attrs:{"icon-class":"xitongtubiaodaohangtubiaowenti"}})],1):_vm._e()],1),_c('a-icon',{staticClass:"icon-item",attrs:{"type":_vm.size === 'big' ? 'shrink' : 'arrows-alt'},on:{"click":_vm.handleSize}}),_c('a-popconfirm',{attrs:{"okText":_vm.i18nText('1.1.1.1.3'),"cancelText":_vm.i18nText('2.7.1.14')},on:{"confirm":_vm.handleClose}},[_c('a-icon',{staticStyle:{"color":"red"},attrs:{"slot":"icon","type":"question-circle-o"},slot:"icon"}),_c('div',{attrs:{"slot":"title"},slot:"title"},[_c('span',[_vm._v(_vm._s(_vm.i18nText('1.9.384')))]),_c('br'),_c('span',[_vm._v(_vm._s(_vm.i18nText('1.9.385'))+"?")])]),_c('a-icon',{staticClass:"icon-item",attrs:{"type":"close"}})],1)],1),_c('div',{style:(_vm.remoteVideoWrapStyle),attrs:{"id":"remote-video-wrap"}},[_c('div',{staticClass:"video-placeholder",style:(_vm.localStreamStyle),attrs:{"id":"local_stream"}})]),_c('div',{staticClass:"panel-wrapper",style:(_vm.panelWrapperStyle)},[_c('ul',{staticClass:"operation-panel"},[_c('li',{staticClass:"panel-item",on:{"click":_vm.handleAudio}},[_c('img',{attrs:{"src":__webpack_require__("46bb")("./" + (_vm.muteAudio ? 'muted-audio' : 'audio') + ".png"),"width":_vm.size === 'big' ? 40 : 24}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '14px' : '12px' })},[_vm._v("静音")])]),_c('li',{staticClass:"panel-item",on:{"click":_vm.handleReject}},[_c('img',{attrs:{"src":__webpack_require__("73ff"),"width":_vm.size === 'big' ? 40 : 24}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '14px' : '12px' })},[_vm._v("挂断")])]),_c('li',{staticClass:"panel-item",on:{"click":_vm.handleVideo}},[_c('img',{attrs:{"src":__webpack_require__("46bb")("./" + (_vm.muteVideo ? 'muted-video' : 'normal-video') + ".png"),"width":_vm.size === 'big' ? 40 : 24}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '14px' : '12px' })},[_vm._v("视频")])]),_c('li',{staticClass:"panel-item",on:{"click":_vm.handleScreenToggle}},[_c('img',{attrs:{"src":__webpack_require__("46bb")("./" + (_vm.screen ? 'normal-screen' : 'muted-screen') + ".png"),"width":_vm.size === 'big' ? 40 : 24}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '14px' : '12px' })},[_vm._v("屏幕共享")])])])])])}
4054
4054
  var staticRenderFns = []
4055
4055
 
@@ -5545,7 +5545,7 @@ module.exports = !$assign || fails(function () {
5545
5545
 
5546
5546
  "use strict";
5547
5547
 
5548
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/chatFooter.vue?vue&type=template&id=86732388&scoped=true&
5548
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/chatFooter.vue?vue&type=template&id=86732388&scoped=true&
5549
5549
  var render = function () {
5550
5550
  var this$1 = this;
5551
5551
  var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layout-footer',{directives:[{name:"show",rawName:"v-show",value:(!_vm.queueItem || !_vm.hideQueueBtns),expression:"!queueItem || !hideQueueBtns"}],staticStyle:{"position":"relative","cursor":"pointer"}},[_c('div',{staticClass:"message-operate"},[(_vm.isShow('PICTURE'))?_c('a-upload',{directives:[{name:"decorator",rawName:"v-decorator",value:([
@@ -6011,7 +6011,7 @@ function getPanelSetting(params, setting, clientParams) {
6011
6011
  // EXTERNAL MODULE: ./packages/multi-chat/store/helper.js
6012
6012
  var helper = __webpack_require__("e3c5");
6013
6013
 
6014
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/quickReply.vue?vue&type=template&id=428cfe0f&
6014
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/quickReply.vue?vue&type=template&id=428cfe0f&
6015
6015
  var quickReplyvue_type_template_id_428cfe0f_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"quick-reply"},[_c('div',{staticClass:"quick-search"},[_c('a-input',{attrs:{"allowClear":""},on:{"change":_vm.handleSearch},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}})],1),_c('a-tabs',{model:{value:(_vm.quickReplyKey),callback:function ($$v) {_vm.quickReplyKey=$$v},expression:"quickReplyKey"}},_vm._l((_vm.validQuick),function(data){return _c('a-tab-pane',{key:data.category},[_c('template',{slot:"tab"},[_vm._v(_vm._s(data.category))]),(data.list.length > 0)?_c('ul',{ref:"quick-reply",refInFor:true,staticClass:"quick-reply-wrapper"},[_vm._l((data.list),function(item,index){return [(item.content !== undefined)?_c('li',{key:index,staticClass:"quick-reply-item",class:{ 'quick-input': item.edit }},[(!item.edit)?_c('div',{staticClass:"text",on:{"click":function($event){return _vm.setFooterMessage(item.content)}}},[_vm._v(" "+_vm._s(item.content)+" "),_c('span',{staticClass:"operate"},[_c('svg-icon',{staticStyle:{"font-size":"16px"},attrs:{"icon-class":"fasong"},on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickEdit(item, 'send')}}}),(_vm.quickReplyKey === "个人")?_c('a-icon',{attrs:{"type":"edit"},on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickEdit(item, 'show')}}}):_vm._e(),(_vm.quickReplyKey === "个人")?_c('a-icon',{attrs:{"type":"delete"},on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickDelete(item)}}}):_vm._e()],1)]):_c('div',{staticClass:"input"},[_c('a-textarea',{attrs:{"placeholder":_vm.i18nText('1.9.40') + '...',"autosize":"","maxLength":200},on:{"change":_vm.handleChange},model:{value:(item.editValue),callback:function ($$v) {_vm.$set(item, "editValue", $$v)},expression:"item.editValue"}}),_c('div',{staticClass:"confirm"},[_c('span',{staticStyle:{"color":"#969696"},on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickEdit(item, 'cancel')}}},[_vm._v(_vm._s(_vm.i18nText('1.1.1.1.4')))]),_vm._v(" | "),_c('span',{staticStyle:{"color":"#5585F5"},on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickEdit(item, 'ok')}}},[_vm._v(_vm._s(_vm.i18nText('1.1.1.1.3')))])])],1)]):_vm._e()]}),_c('div',{staticStyle:{"text-align":"center","margin-top":"10px"}},[_vm._v(" "+_vm._s(_vm.i18nText('3.5.13'))+"~ ")])],2):_c('div',{staticClass:"quick-reply-no-wrapper"},[_c('img',{attrs:{"src":__webpack_require__("1caa")}}),_c('span',{staticStyle:{"display":"inline-block","margin-top":"20px","font-size":"20px"}},[_vm._v(_vm._s(_vm.i18nText('1.1.6.11')))])])],2)}),1),(_vm.isOrgAdmin || _vm.quickReplyKey === "个人")?_c('div',{staticClass:"quick-add",on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickAdd.apply(null, arguments)}}},[_c('a-icon',{attrs:{"type":"plus"}}),_vm._v(" "+_vm._s(_vm.i18nText('1.9.355'))+" ")],1):_vm._e()],1)}
6016
6016
  var quickReplyvue_type_template_id_428cfe0f_staticRenderFns = []
6017
6017
 
@@ -6361,7 +6361,7 @@ var component = Object(componentNormalizer["a" /* default */])(
6361
6361
  )
6362
6362
 
6363
6363
  /* harmony default export */ var quickReply = (component.exports);
6364
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/voice.vue?vue&type=template&id=7e851a0c&scoped=true&
6364
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/voice.vue?vue&type=template&id=7e851a0c&scoped=true&
6365
6365
  var voicevue_type_template_id_7e851a0c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.canRecordering),expression:"canRecordering"}],staticClass:"voice-page"},[_c('div',{staticClass:"voice-containter"},[_c('a-icon',{staticClass:"close-icon",attrs:{"type":"close"},on:{"click":_vm.closeVoice}}),_c('div',{staticClass:"img-wrap"},[(!_vm.isEndRecord)?_c('div',{staticClass:"end-wrap"},[_c('img',{attrs:{"src":__webpack_require__("fdf2"),"alt":""}}),_c('a-progress',{staticClass:"progress-ele",attrs:{"type":"circle","percent":_vm.percent,"showInfo":false,"width":122,"strokeWidth":2,"showText":false,"strokeColor":'#C80606'},nativeOn:{"click":function($event){return _vm.stopRecored.apply(null, arguments)}}})],1):_c('div',{staticClass:"play-wrap"},[(!_vm.isRecordPlay)?_c('img',{attrs:{"src":__webpack_require__("c2ae"),"alt":""},on:{"click":function($event){return _vm.toggleVoice(true)}}}):_c('img',{attrs:{"src":__webpack_require__("320f"),"alt":""},on:{"click":function($event){return _vm.toggleVoice(false)}}})])]),_c('p',[_vm._v(_vm._s(_vm.voiceText))]),_c('div',{staticClass:"time-wrap"},[_vm._v(_vm._s(_vm.handleVoiceTime))]),_c('div',{staticClass:"btn-wrap"},[_c('span',{on:{"click":_vm.deleteVoice}},[_vm._v("删除")]),_c('span',{staticClass:"send-btn",on:{"click":_vm.uploadFile}},[_vm._v("发送")])])],1),_c('div',{staticStyle:{"display":"none"}},[_c('audio',{ref:"audio",attrs:{"controls":"","autoplay":"","preload":"auto","crossOrigin":"anonymous","media-player":"audioPlayer","src":_vm.curAudioUrl},on:{"ended":_vm.audioEnd}})])])}
6366
6366
  var voicevue_type_template_id_7e851a0c_scoped_true_staticRenderFns = []
6367
6367
 
@@ -6803,7 +6803,7 @@ var voice_component = Object(componentNormalizer["a" /* default */])(
6803
6803
  )
6804
6804
 
6805
6805
  /* harmony default export */ var voice = (voice_component.exports);
6806
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/modal-user-transfer.vue?vue&type=template&id=f50a4f90&
6806
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/modal-user-transfer.vue?vue&type=template&id=f50a4f90&
6807
6807
  var modal_user_transfervue_type_template_id_f50a4f90_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"title":_vm.title,"visible":_vm.visible,"maskClosable":false,"mask":true,"width":400,"destroyOnClose":"","okText":_vm.i18nText('1.9.326')},on:{"cancel":_vm.handleCancel,"ok":_vm.handleOk}},[_c('img',{attrs:{"src":__webpack_require__("a703"),"width":"20"}}),_vm._v(" "+_vm._s(_vm.i18nText('1.9.392'))+": "),_c('br'),_c('a-select',{staticStyle:{"width":"100%","margin":"10px 0"},attrs:{"placeholder":_vm.i18nText('1.9.327'),"showSearch":"","filterOption":_vm.filterOption},model:{value:(_vm.converUserId),callback:function ($$v) {_vm.converUserId=$$v},expression:"converUserId"}},_vm._l((_vm.serviceList),function(item,index){return _c('a-select-option',{key:index,attrs:{"value":item.userId}},[_vm._v(_vm._s(item.userName))])}),1),_c('br'),_vm._v(" "+_vm._s(_vm.i18nText('1.9.328'))+": "),_c('a-textarea',{staticStyle:{"margin":"10px 0"},model:{value:(_vm.converMark),callback:function ($$v) {_vm.converMark=$$v},expression:"converMark"}})],1)}
6808
6808
  var modal_user_transfervue_type_template_id_f50a4f90_staticRenderFns = []
6809
6809
 
@@ -6938,7 +6938,7 @@ var modal_user_transfer_component = Object(componentNormalizer["a" /* default */
6938
6938
  )
6939
6939
 
6940
6940
  /* harmony default export */ var modal_user_transfer = (modal_user_transfer_component.exports);
6941
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/modal-refuse-reason.vue?vue&type=template&id=375e05a7&scoped=true&
6941
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/modal-refuse-reason.vue?vue&type=template&id=375e05a7&scoped=true&
6942
6942
  var modal_refuse_reasonvue_type_template_id_375e05a7_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"wrapClassName":"standard-modal standard-modal-white has-mask","title":_vm.i18nText('1.9.678'),"visible":_vm.visible,"maskClosable":false,"width":400,"destroyOnClose":"","okText":_vm.i18nText('1.9.326')},on:{"cancel":_vm.handleCancel,"ok":_vm.handleOk}},[_c('div',{staticClass:"reason-tips"},[_vm._v(_vm._s(_vm.i18nText('1.1.6.7') + _vm.i18nText('1.9.678')))]),_c('a-radio-group',{staticClass:"reason-options",model:{value:(_vm.reason),callback:function ($$v) {_vm.reason=$$v},expression:"reason"}},[_vm._l((_vm.reasonList),function(item,i){return _c('a-radio',{key:i,attrs:{"value":i}},[_vm._v(" "+_vm._s(item.text)+" ")])}),_c('a-radio',{key:"-1",attrs:{"value":-1}},[_vm._v(_vm._s(_vm.i18nText('1.9.679')))])],2),_c('div',{staticClass:"reason-remark"},[_c('a-textarea',{attrs:{"disabled":_vm.reason != -1,"placeholder":_vm.i18nText('1.9.40') + _vm.i18nText('1.9.679'),"maxLength":100,"auto-size":{ minRows: 3, maxRows: 5 }},model:{value:(_vm.remark),callback:function ($$v) {_vm.remark=$$v},expression:"remark"}}),_c('div',{staticClass:"word-count"},[_vm._v(_vm._s(_vm.i18nText('1.9.272'))+_vm._s(_vm.remarkLen)+"/100")])],1)],1)}
6943
6943
  var modal_refuse_reasonvue_type_template_id_375e05a7_scoped_true_staticRenderFns = []
6944
6944
 
@@ -9620,7 +9620,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACN
9620
9620
 
9621
9621
  "use strict";
9622
9622
 
9623
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/user-status.vue?vue&type=template&id=492ed1ae&scoped=true&
9623
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/user-status.vue?vue&type=template&id=492ed1ae&scoped=true&
9624
9624
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-dropdown',{attrs:{"placement":_vm.placement,"getPopupContainer":function (triggerNode) {
9625
9625
  return triggerNode.parentNode || _vm.document.body;
9626
9626
  }}},[(_vm.placement === 'bottomCenter')?_c('a-button',[(_vm.statusIcon)?_c('svg-icon',{staticStyle:{"font-size":"16px"},attrs:{"icon-class":_vm.statusIcon}}):_c('img',{attrs:{"src":_vm.getImg(_vm.status),"height":"16"}}),_vm._v(" "+_vm._s(_vm.statusDesc)+" "),_c('a-icon',{attrs:{"type":"down"}})],1):_c('div',{staticClass:"status-btn"},[(_vm.statusIcon)?_c('svg-icon',{staticStyle:{"font-size":"16px"},attrs:{"icon-class":_vm.statusIcon}}):_c('img',{attrs:{"src":_vm.getImg(_vm.status),"height":"16"}}),_vm._v(" "+_vm._s(_vm.statusDesc)+" "),_c('a-icon',{attrs:{"type":"up"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},_vm._l((_vm.statusList),function(ref){
@@ -11350,7 +11350,7 @@ var actions_deepClone = function deepClone(source) {
11350
11350
  },
11351
11351
  initUniRTC: function initUniRTC(_ref14, obj) {
11352
11352
  return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
11353
- var commit, state, uniAppId, uniSecretKey, params, uniRTC, getLoginToken;
11353
+ var commit, state, uniAppId, uniSecretKey, params, uniRTC, getLoginToken, timer, n, registerDeviceToken;
11354
11354
  return regeneratorRuntime.wrap(function _callee3$(_context3) {
11355
11355
  while (1) {
11356
11356
  switch (_context3.prev = _context3.next) {
@@ -11442,37 +11442,63 @@ var actions_deepClone = function deepClone(source) {
11442
11442
  }
11443
11443
  };
11444
11444
 
11445
- commit("setUniRTC", uniRTC);
11446
- setTimeout( /*#__PURE__*/Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
11447
- var _res$data;
11448
-
11449
- var res;
11450
- return regeneratorRuntime.wrap(function _callee2$(_context2) {
11451
- while (1) {
11452
- switch (_context2.prev = _context2.next) {
11453
- case 0:
11454
- console.log('本机设备token->', uniRTC.deviceToken);
11455
- _context2.next = 3;
11456
- return chatFetch_default.a.post('/chat/service/registerDeviceToken', chatFetch_["qs"].stringify(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, params), {}, {
11457
- deviceToken: uniRTC.deviceToken
11458
- })));
11459
-
11460
- case 3:
11461
- res = _context2.sent;
11462
-
11463
- if (((_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.result) !== 'SUCCESS') {
11464
- console.log(res.data.resultMsg);
11465
- }
11466
-
11467
- case 5:
11468
- case "end":
11469
- return _context2.stop();
11445
+ timer = null;
11446
+ n = 0;
11447
+
11448
+ registerDeviceToken = /*#__PURE__*/function () {
11449
+ var _ref16 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
11450
+ var _res$data;
11451
+
11452
+ var res;
11453
+ return regeneratorRuntime.wrap(function _callee2$(_context2) {
11454
+ while (1) {
11455
+ switch (_context2.prev = _context2.next) {
11456
+ case 0:
11457
+ _context2.next = 2;
11458
+ return chatFetch_default.a.post('/chat/service/registerDeviceToken', chatFetch_["qs"].stringify(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, params), {}, {
11459
+ deviceToken: uniRTC.deviceToken
11460
+ })));
11461
+
11462
+ case 2:
11463
+ res = _context2.sent;
11464
+
11465
+ if (((_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.result) !== 'SUCCESS') {
11466
+ console.log(res.data.resultMsg);
11467
+ }
11468
+
11469
+ case 4:
11470
+ case "end":
11471
+ return _context2.stop();
11472
+ }
11470
11473
  }
11474
+ }, _callee2);
11475
+ }));
11476
+
11477
+ return function registerDeviceToken() {
11478
+ return _ref16.apply(this, arguments);
11479
+ };
11480
+ }();
11481
+
11482
+ timer && clearInterval(timer);
11483
+ timer = setInterval(function () {
11484
+ console.log('轮询本机设备token->', uniRTC.deviceToken);
11485
+ n++;
11486
+
11487
+ if (!uniRTC.deviceToken) {
11488
+ if (n > 60) {
11489
+ timer && clearInterval(timer);
11490
+ return;
11471
11491
  }
11472
- }, _callee2);
11473
- })), 1500);
11474
11492
 
11475
- case 10:
11493
+ uniRTC.reconnect();
11494
+ } else {
11495
+ timer && clearInterval(timer);
11496
+ registerDeviceToken();
11497
+ }
11498
+ }, 1000);
11499
+ commit("setUniRTC", uniRTC);
11500
+
11501
+ case 14:
11476
11502
  case "end":
11477
11503
  return _context3.stop();
11478
11504
  }
@@ -11870,7 +11896,7 @@ module.exports = require("core-js/modules/es.string.iterator.js");
11870
11896
 
11871
11897
  "use strict";
11872
11898
 
11873
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/read-record.vue?vue&type=template&id=7034bfab&
11899
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/read-record.vue?vue&type=template&id=7034bfab&
11874
11900
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.handleClickOutside),expression:"handleClickOutside"}],staticClass:"chat-read-record"},[_c('div',{staticClass:"chat-read-record__title"},[_c('span',[_vm._v("消息接收人列表")]),_c('a-icon',{attrs:{"type":"close"},on:{"click":_vm.handleClickOutside}})],1),_c('div',[_c('div',{staticClass:"chat-read-record__col"},[_c('div',{staticClass:"chat-read-record__total"},[_c('span',{staticClass:"chat-read-record__num"},[_vm._v(_vm._s(_vm.record.unread.length))]),_vm._v(" 人未读 ")]),_c('div',{staticClass:"chat-read-record__users"},_vm._l((_vm.record.unread),function(item){return _c('div',{key:item.userId,staticClass:"chat-read-record__user"},[_c('Avatar',{attrs:{"customStyle":"font-size:12px","src":item.portrait,"size":24,"name":item.name,"len":2}}),_c('div',{staticClass:"chat-read-record__username"},[_vm._v(_vm._s(item.name))])],1)}),0)]),_c('div',{staticClass:"chat-read-record__col"},[_c('div',{staticClass:"chat-read-record__total"},[_c('span',{staticClass:"chat-read-record__num"},[_vm._v(_vm._s(_vm.record.readed.length))]),_vm._v(" 人已读 ")]),_c('div',{staticClass:"chat-read-record__users"},_vm._l((_vm.record.readed),function(item){return _c('div',{key:item.userId,staticClass:"chat-read-record__user"},[_c('Avatar',{attrs:{"customStyle":"font-size:12px","src":item.portrait,"size":24,"name":item.name,"len":2}}),_c('div',{staticClass:"chat-read-record__username"},[_vm._v(_vm._s(item.name))])],1)}),0)])])])}
11875
11901
  var staticRenderFns = []
11876
11902
 
@@ -13932,7 +13958,7 @@ var es_promise_finally = __webpack_require__("a79d");
13932
13958
  // EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
13933
13959
  var es_function_name_js_ = __webpack_require__("db0a");
13934
13960
 
13935
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/client/index.vue?vue&type=template&id=25007efe&scoped=true&
13961
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/client/index.vue?vue&type=template&id=25007efe&scoped=true&
13936
13962
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"clientIndex"},[_c('a-spin',{staticStyle:{"width":"100%","height":"100%"},attrs:{"tip":((_vm.i18nText('3.2.8')) + "..."),"spinning":_vm.spinning}},[(!_vm.spinning)?[(_vm.isRobot)?_c('robotChat',{attrs:{"chatURL":_vm.chatURL},on:{"goCustomServe":_vm.goCustomServe}}):_c('clientChat',_vm._b({attrs:{"chatURL":_vm.chatURL,"isCustomServe":_vm.isCustomServe}},'clientChat',_vm.$attrs,false))]:_vm._e()],2)],1)}
13937
13963
  var staticRenderFns = []
13938
13964
 
@@ -13970,7 +13996,7 @@ var create = __webpack_require__("8aef");
13970
13996
  // EXTERNAL MODULE: ./packages/multi-chat/store/helper.js
13971
13997
  var helper = __webpack_require__("e3c5");
13972
13998
 
13973
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/client/clientChat.vue?vue&type=template&id=f1389824&scoped=true&
13999
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/client/clientChat.vue?vue&type=template&id=f1389824&scoped=true&
13974
14000
  var clientChatvue_type_template_id_f1389824_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"online-chat client-chat"},[_c('a-layout',[_c('a-layout-header',[_vm._v(" "+_vm._s(_vm.chatTitle)+" "),(_vm.sessionTimer)?_c('span',{staticClass:"session-time",staticStyle:{"flex":"1","text-align":"center","color":"red"}},[_vm._v(" "+_vm._s(_vm.i18nText('1.9.324'))+": "+_vm._s(_vm.formatedSessionTime)+" ")]):_vm._e()]),_c('chat-main'),(_vm.queueMsg)?_c('div',{staticClass:"notice-bottom"},[_c('svg-icon',{attrs:{"icon-class":"anniuyuyue"}}),_c('span',{domProps:{"innerHTML":_vm._s(_vm.queueMsg)}})],1):_vm._e(),_c('chat-footer',{attrs:{"validTalkingEnv":_vm.validTalkingEnv}})],1),(_vm.evaluateModal)?_c('Evaluate',{attrs:{"orgId":_vm.accessParams.orgId,"evaluateSetting":_vm.evaluateSetting},on:{"closeEvaluate":_vm.closeEvaluate}}):_vm._e(),(_vm.showVideo)?_c('ChatVideo'):_vm._e(),(_vm.showAudio)?_c('ChatAudio',{attrs:{"validTalkingEnv":_vm.validTalkingEnv}}):_vm._e()],1)}
13975
14001
  var clientChatvue_type_template_id_f1389824_scoped_true_staticRenderFns = []
13976
14002
 
@@ -14023,7 +14049,7 @@ var chatFooter = __webpack_require__("61f8");
14023
14049
  // EXTERNAL MODULE: ./packages/multi-chat/chat/chatMain.vue + 3 modules
14024
14050
  var chatMain = __webpack_require__("3cee");
14025
14051
 
14026
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/evaluate.vue?vue&type=template&id=018624f2&scoped=true&
14052
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/evaluate.vue?vue&type=template&id=018624f2&scoped=true&
14027
14053
  var evaluatevue_type_template_id_018624f2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"evaluate-page"},[_c('a-modal',{staticClass:"evaluate-modal",attrs:{"visible":_vm.isEvaluate,"maskClosable":false,"width":'60%',"okText":_vm.i18nText('1.10.138'),"cancelText":_vm.i18nText('1.1.1.1.4')},on:{"ok":_vm.submitEvaluate,"cancel":function($event){return _vm.$emit('closeEvaluate', false)}}},[_c('div',[_c('p',{staticStyle:{"font-size":"16px","color":"#000"}},[_vm._v(_vm._s(_vm.i18nText("3.11.62")))]),(_vm.starCount > 2)?_c('span',{staticClass:"rate-wrap"},[_c('a-rate',{attrs:{"count":_vm.starCount,"allowClear":false},on:{"change":_vm.changeRate},model:{value:(_vm.star),callback:function ($$v) {_vm.star=$$v},expression:"star"}}),_c('span',{staticClass:"ant-rate-text ellips"},[_vm._v(_vm._s(_vm.starTitle))])],1):_c('span',{staticClass:"rate-two"},[_c('div',[(_vm.setting.starSetting[1].star == 2)?_c('a-icon',{class:{ 'rate-checked': _vm.star == _vm.setting.starSetting[1].star },attrs:{"type":"like","theme":_vm.star == _vm.setting.starSetting[1].star ? 'filled' : 'outlined'},on:{"click":function($event){return _vm.changeRate(_vm.setting.starSetting[1].star)}}}):_vm._e(),_c('span',{staticClass:"ellips",staticStyle:{"margin-top":"8px"}},[_vm._v(_vm._s(_vm.setting.starSetting[1].title))])],1),_c('div',[(_vm.setting.starSetting[0].star == 1)?_c('a-icon',{class:{ 'rate-checked': _vm.star == _vm.setting.starSetting[0].star },attrs:{"type":"dislike","theme":_vm.star == _vm.setting.starSetting[0].star ? 'filled' : 'outlined'},on:{"click":function($event){return _vm.changeRate(_vm.setting.starSetting[0].star)}}}):_vm._e(),_c('span',{staticClass:"ellips",staticStyle:{"margin-top":"8px"}},[_vm._v(_vm._s(_vm.setting.starSetting[0].title))])],1)])]),(_vm.rateTags.length > 0)?_c('div',[_c('p',[_vm._v(_vm._s(_vm.i18nText("1.9.393")))]),_vm._l((_vm.rateTags),function(tag){return [_c('a-checkable-tag',{key:tag,attrs:{"checked":_vm.selectedTags.indexOf(tag) > -1},on:{"change":function (checked) { return _vm.changeTag(tag, checked); }}},[_vm._v(_vm._s(tag))])]})],2):_vm._e(),(_vm.usageMode != 'form')?_vm._t("default",function(){return [(_vm.problemSolved === 'Y')?_c('div',[_c('p',[_vm._v(_vm._s(_vm.i18nText("1.9.347")))]),_c('a-radio-group',{model:{value:(_vm.solved),callback:function ($$v) {_vm.solved=$$v},expression:"solved"}},[_c('a-radio',{attrs:{"value":"N"}},[_vm._v(_vm._s(_vm.i18nText("1.9.394")))]),_c('a-radio',{attrs:{"value":"Y"}},[_vm._v(_vm._s(_vm.i18nText("1.9.395")))])],1)],1):_vm._e()]}):_vm._e(),_c('div',{staticStyle:{"margin-top":"16px"}},[_c('a-textarea',{staticClass:"remark-input",attrs:{"placeholder":_vm.i18nText('1.9.396')},model:{value:(_vm.remark),callback:function ($$v) {_vm.remark=$$v},expression:"remark"}})],1)],2)],1)}
14028
14054
  var evaluatevue_type_template_id_018624f2_scoped_true_staticRenderFns = []
14029
14055
 
@@ -15229,7 +15255,7 @@ var clientChat_component = Object(componentNormalizer["a" /* default */])(
15229
15255
  )
15230
15256
 
15231
15257
  /* harmony default export */ var clientChat = (clientChat_component.exports);
15232
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/robot/index.vue?vue&type=template&id=c7d05068&scoped=true&
15258
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/robot/index.vue?vue&type=template&id=c7d05068&scoped=true&
15233
15259
  var robotvue_type_template_id_c7d05068_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"online-chat robot-chat"},[_c('a-layout',[_c('a-layout-header',[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.chatTitle))]),(_vm.showCustomServe)?_c('span',{staticClass:"custom-serve",on:{"click":function($event){return _vm.$emit('goCustomServe')}}},[_vm._v(" 转人工客服 ")]):_vm._e()]),_c('chat-main',_vm._g({attrs:{"curChatType":'robot',"robotAvatar":_vm.robotAvatar},on:{"sendQuestion":_vm.sendQuestion,"sendIntention":_vm.sendIntention,"sendDictionary":_vm.sendDictionary}},_vm.$listeners),[(_vm.stompStatus)?_c('a-alert',{attrs:{"type":"warning","message":_vm.stompStatus,"show-icon":""}},[_c('a-icon',{attrs:{"slot":"icon","type":"exclamation-circle"},slot:"icon"})],1):_vm._e()],1),_c('chat-footer',{attrs:{"curChatType":'robot',"clientFinish":_vm.clientFinish}})],1),(_vm.evaluateModal)?_c('Evaluate',{attrs:{"orgId":_vm.accessParams.orgId,"evaluateSetting":_vm.evaluateSetting},on:{"closeEvaluate":_vm.closeEvaluate}}):_vm._e()],1)}
15234
15260
  var robotvue_type_template_id_c7d05068_scoped_true_staticRenderFns = []
15235
15261
 
@@ -15918,7 +15944,7 @@ module.exports = require("core-js/modules/es.typed-array.uint8-array.js");
15918
15944
 
15919
15945
  "use strict";
15920
15946
 
15921
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/component/svg/index.vue?vue&type=template&id=116546f7&scoped=true&
15947
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/component/svg/index.vue?vue&type=template&id=116546f7&scoped=true&
15922
15948
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',_vm._g({class:_vm.svgClass,attrs:{"aria-hidden":"true"}},_vm.$listeners),[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e(),_c('use',{attrs:{"xlink:href":_vm.iconName}})])}
15923
15949
  var staticRenderFns = []
15924
15950
 
@@ -224,7 +224,7 @@ module.exports = !DESCRIPTORS && !fails(function () {
224
224
 
225
225
  "use strict";
226
226
 
227
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-describe.vue?vue&type=template&id=4b76a796&scoped=true&
227
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-describe.vue?vue&type=template&id=4b76a796&scoped=true&
228
228
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"msg-describe"},[_c('div',{staticClass:"msg-describe__header"},[_vm._v(_vm._s(_vm.content.title || ''))]),_c('div',{staticClass:"msg-describe__content"},[_c('div',{ref:"wrapper",class:_vm.isOpen ? '' : 'wrapper'},_vm._l((_vm.contentParams),function(item,i){return _c('div',{key:i,staticClass:"desc-item"},[_c('div',{staticClass:"desc-title"},[_vm._v(" "+_vm._s(item.p_name)+" ")]),_c('div',{staticClass:"desc-txt"},[_vm._v(" "+_vm._s(item.p_value)+" ")])])}),0),(_vm.foldVisible)?_c('div',{staticClass:"fold-btn",on:{"click":_vm.toggleOpen}},[_vm._v(" "+_vm._s(_vm.isOpen ? _vm.i18nText('1.4.9.33') : _vm.i18nText('1.10.233') + _vm.i18nText('1.10.149'))+" "),_c('a-icon',{attrs:{"type":_vm.isOpen ? 'up' : 'down'}})],1):_vm._e()])])}
229
229
  var staticRenderFns = []
230
230
 
@@ -897,7 +897,7 @@ var es_promise_finally = __webpack_require__("a79d");
897
897
  // EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
898
898
  var es_function_name_js_ = __webpack_require__("db0a");
899
899
 
900
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/chatHistory.vue?vue&type=template&id=7a52d97d&scoped=true&
900
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/chatHistory.vue?vue&type=template&id=7a52d97d&scoped=true&
901
901
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"chat-history"},[_c('div',{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:(_vm.handleInfiniteOnLoad),expression:"handleInfiniteOnLoad"}],ref:"message-wrapper",staticClass:"online-message"},[_vm._l((_vm.msgList),function(item,index){return [_c('div',{key:index},[(_vm.isNeedShowTime(item, index))?_c('p',{staticClass:"message-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime))+" ")]):_vm._e(),(item.recallFlag)?_c('div',{staticStyle:{"margin":"10px 0"}},[_vm._v(" "+_vm._s(_vm.i18nText('1.9.367'))+" ")]):_vm._e(),(!item.recallFlag)?_c('div',{staticClass:"message-item",class:_vm.getMessageItemClass(item)},[[(item.content.source === 1)?_c('img',{staticClass:"avatar",staticStyle:{"cursor":"pointer"},attrs:{"src":__webpack_require__("6753"),"width":"40","height":"40"}}):_c('div',{staticClass:"first-name"},[_vm._v(" "+_vm._s(item.fromName.slice(0, 1))+" ")])],_c('div',[(item.content.type === 0)?_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('p',{staticClass:"content",domProps:{"innerHTML":_vm._s(item.content.content)}})]):(item.content.type === 1)?_c('div',{staticClass:"upload-image content-wrap",staticStyle:{"margin-bottom":"20px"}},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('MsgPicture',{staticStyle:{"max-height":"250px"},attrs:{"image":item.content.content},on:{"click":function($event){return _vm.showImageDetail(item.content.content)}}})],1):(item.content.type === 2)?_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('div',{staticClass:"content"},[_c('img',{staticStyle:{"width":"16px"},attrs:{"src":__webpack_require__("f974")}}),_vm._v(" "+_vm._s(item.content.content)+" ")])]):(item.content.type === 6)?_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('div',{staticClass:"voice-bg content",on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.playAudio(item)}}},[(item.content.isPlay)?_c('img',{attrs:{"src":__webpack_require__("320f"),"alt":""}}):_c('img',{attrs:{"src":__webpack_require__("c2ae"),"alt":""}}),_c('span',{staticClass:"voice-text",style:(_vm.AudioStyle(item))},[_vm._v(" "+_vm._s(item.content.duration || 1)+"\" ")])])]):(item.content.type === 4)?[(_vm.isSystemMsg(item))?_c('div',{staticClass:"system-msg"},[_c('a-icon',{staticClass:"system-icon",attrs:{"theme":"filled","type":"exclamation-circle"}}),_c('div',[_c('span',{domProps:{"innerHTML":_vm._s(_vm.getSystemMsgContent(item))}}),_vm._l((_vm.getTemplateButton(item)),function(btn,index){return _c('span',{key:index,staticClass:"system-btn",on:{"click":function($event){return _vm.handleTemplateButton(btn)}}},[_vm._v(_vm._s(btn.title))])})],2)],1):(_vm.isDescribeMsg(item))?_c('msg-describe',{attrs:{"item":item}}):_c('div',{staticClass:"content-wrap"},[_c('MsgPrescription',{attrs:{"data":item,"isServer":true},on:{"handleTemplateDetail":_vm.handleTemplateDetail,"handleTemplateButton":_vm.handleTemplateButton}})],1)]:_vm._e()],2)],2):_vm._e()])]}),(_vm.loading)?_c('a-spin',{staticClass:"loading-icon"}):_vm._e()],2),_c('viewer',{ref:"viewer",staticClass:"viewer",staticStyle:{"display":"none"},attrs:{"images":_vm.currentImage},on:{"inited":_vm.inited},scopedSlots:_vm._u([{key:"default",fn:function(scope){return _vm._l((scope.images),function(src){return _c('img',{key:src,attrs:{"src":src}})})}}])}),_c('div',{staticStyle:{"display":"none"}},[_c('audio',{ref:"audio",attrs:{"controls":"","autoplay":"","preload":"auto","crossOrigin":"anonymous","media-player":"audioPlayer","src":_vm.curAudioUrl},on:{"ended":_vm.audioEnd,"error":_vm.audioError}})])],1)}
902
902
  var staticRenderFns = []
903
903
 
@@ -1650,7 +1650,7 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
1650
1650
 
1651
1651
  "use strict";
1652
1652
 
1653
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-prescription.vue?vue&type=template&id=a9aa04b2&scoped=true&
1653
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-prescription.vue?vue&type=template&id=a9aa04b2&scoped=true&
1654
1654
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['msg-prescription', _vm.theme],on:{"click":_vm.handleTemplateDetail}},[_c('div',{staticClass:"prescription_header"},[_c('span',{staticClass:"prescription_header-title"},[_vm._v(_vm._s(_vm.content.title))]),(_vm.topRightButton)?_c('span',{staticClass:"prescription_header-btn",on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, _vm.topRightButton)}}},[_vm._v(" "+_vm._s(_vm.topRightButton.title)+" ")]):(_vm.showArrow)?_c('a-icon',{attrs:{"type":"right","color":"#969696"}}):_vm._e()],1),_c('div',{staticClass:"prescription_wrapper"},[(_vm.content.icon)?_c('svg-icon',{staticClass:"prescription_logo",attrs:{"icon-class":_vm.content.icon}}):(_vm.content.image)?_c('img',{staticClass:"prescription_logo",attrs:{"src":_vm.content.image}}):_vm._e(),_c('bodyComp',{staticClass:"prescription_body",attrs:{"body":_vm.body}})],1),(_vm.toolbarButton.length)?_c('div',{staticClass:"prescription_btn-group"},_vm._l((_vm.toolbarButton),function(btn,index){return _c('a-button',{key:index,attrs:{"type":"primary","shape":"round","ghost":""},on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, btn)}}},[_vm._v(" "+_vm._s(btn.title)+" ")])}),1):_vm._e(),(_vm.bottomButton)?_c('div',{staticClass:"prescription_footer"},[_c('span',{staticClass:"prescription_footer-btn",on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, _vm.bottomButton)}}},[_vm._v(" "+_vm._s(_vm.bottomButton.title)+" ")])]):_vm._e()])}
1655
1655
  var staticRenderFns = []
1656
1656
 
@@ -3692,7 +3692,7 @@ module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefi
3692
3692
 
3693
3693
  "use strict";
3694
3694
 
3695
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/component/svg/index.vue?vue&type=template&id=116546f7&scoped=true&
3695
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/component/svg/index.vue?vue&type=template&id=116546f7&scoped=true&
3696
3696
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',_vm._g({class:_vm.svgClass,attrs:{"aria-hidden":"true"}},_vm.$listeners),[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e(),_c('use',{attrs:{"xlink:href":_vm.iconName}})])}
3697
3697
  var staticRenderFns = []
3698
3698
 
@@ -238,7 +238,7 @@ module.exports = require("core-js/modules/es.array.find.js");
238
238
 
239
239
  "use strict";
240
240
 
241
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-describe.vue?vue&type=template&id=4b76a796&scoped=true&
241
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-describe.vue?vue&type=template&id=4b76a796&scoped=true&
242
242
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"msg-describe"},[_c('div',{staticClass:"msg-describe__header"},[_vm._v(_vm._s(_vm.content.title || ''))]),_c('div',{staticClass:"msg-describe__content"},[_c('div',{ref:"wrapper",class:_vm.isOpen ? '' : 'wrapper'},_vm._l((_vm.contentParams),function(item,i){return _c('div',{key:i,staticClass:"desc-item"},[_c('div',{staticClass:"desc-title"},[_vm._v(" "+_vm._s(item.p_name)+" ")]),_c('div',{staticClass:"desc-txt"},[_vm._v(" "+_vm._s(item.p_value)+" ")])])}),0),(_vm.foldVisible)?_c('div',{staticClass:"fold-btn",on:{"click":_vm.toggleOpen}},[_vm._v(" "+_vm._s(_vm.isOpen ? _vm.i18nText('1.4.9.33') : _vm.i18nText('1.10.233') + _vm.i18nText('1.10.149'))+" "),_c('a-icon',{attrs:{"type":_vm.isOpen ? 'up' : 'down'}})],1):_vm._e()])])}
243
243
  var staticRenderFns = []
244
244
 
@@ -955,7 +955,7 @@ module.exports = function (iterator) {
955
955
 
956
956
  "use strict";
957
957
 
958
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/sessionList/messageRecord.vue?vue&type=template&id=7d1a552e&scoped=true&
958
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/sessionList/messageRecord.vue?vue&type=template&id=7d1a552e&scoped=true&
959
959
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"message-record",class:{ 'message-record-modal': _vm.source === 'modal' }},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.messageList.length && !_vm.noData),expression:"messageList.length && !noData"},{name:"infinite-scroll",rawName:"v-infinite-scroll",value:(_vm.handleInfiniteOnLoad),expression:"handleInfiniteOnLoad"}],staticClass:"message-list-wrapper wrapper2",attrs:{"infinite-scroll-immediate-check":"immediate","infinite-scroll-distance":10}},[_c('ul',{staticClass:"message-list"},_vm._l((_vm.messageList),function(item){return _c('li',{key:item.id,staticClass:"message-item"},[_c('img',{attrs:{"src":_vm.getAvatar(item),"width":"40"}}),_c('div',{staticClass:"message-content"},[_c('div',{staticClass:"name-time"},[_c('span',{staticClass:"name"},[_vm._v(_vm._s(_vm.getName(item)))]),_c('span',{staticClass:"time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.sendTime || item.createdTime, true))+" ")])]),(item.content.type === 0)?_c('div',{staticClass:"content",domProps:{"innerHTML":_vm._s(item.content.content)}}):_vm._e(),(item.content.type === 1)?_c('MsgPicture',{staticStyle:{"width":"160px"},attrs:{"image":item.content.content},on:{"click":function($event){return _vm.show(item.content.content)}}}):(item.content.type === 2)?_c('p',{staticClass:"content"},[_c('img',{staticStyle:{"width":"16px"},attrs:{"src":__webpack_require__("f974")}}),_vm._v(" "+_vm._s(item.content.content)+" ")]):(item.content.type === 6)?_c('p',{staticClass:"content"},_vm._l((item.content.content),function(item,index){return _c('span',{key:index,staticClass:"bot-message"},[_vm._v(_vm._s(item))])}),0):(item.content.type === 4)?[(_vm.isSystemMsg(item))?_c('div',{staticClass:"system-msg"},[_c('a-icon',{staticClass:"system-icon",attrs:{"theme":"filled","type":"exclamation-circle"}}),_c('div',[_c('span',{domProps:{"innerHTML":_vm._s(_vm.getSystemMsgContent(item))}}),_vm._l((_vm.getTemplateButton(item)),function(btn,index){return _c('span',{key:index,staticClass:"system-btn",on:{"click":function($event){return _vm.handleTemplateButton(btn)}}},[_vm._v(_vm._s(btn.title))])})],2)],1):(_vm.isDescribeMsg(item))?_c('msg-describe',{attrs:{"item":item}}):_c('MsgPrescription',{attrs:{"data":item,"isServer":true},on:{"handleTemplateDetail":_vm.handleTemplateDetail,"handleTemplateButton":_vm.handleTemplateButton}})]:_vm._e()],2)])}),0),(_vm.finished)?_c('div',{staticClass:"immediate"},[_vm._v(_vm._s(_vm.i18nText('1.9.391'))+"~")]):_vm._e(),(_vm.loading)?_c('a-spin',{staticClass:"loading-icon"}):_vm._e()],1),(!_vm.messageList.length && _vm.noData)?_c('div',{staticClass:"message-list-nodata"},[_vm._v(" 无数据 ")]):_vm._e(),_c('viewer',{ref:"viewer",staticClass:"viewer",staticStyle:{"display":"none"},attrs:{"images":_vm.images},on:{"inited":_vm.inited},scopedSlots:_vm._u([{key:"default",fn:function(scope){return _vm._l((scope.images),function(src){return _c('img',{key:src,attrs:{"src":src}})})}}])})],1)}
960
960
  var staticRenderFns = []
961
961
 
@@ -1626,7 +1626,7 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
1626
1626
 
1627
1627
  "use strict";
1628
1628
 
1629
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-prescription.vue?vue&type=template&id=a9aa04b2&scoped=true&
1629
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-prescription.vue?vue&type=template&id=a9aa04b2&scoped=true&
1630
1630
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['msg-prescription', _vm.theme],on:{"click":_vm.handleTemplateDetail}},[_c('div',{staticClass:"prescription_header"},[_c('span',{staticClass:"prescription_header-title"},[_vm._v(_vm._s(_vm.content.title))]),(_vm.topRightButton)?_c('span',{staticClass:"prescription_header-btn",on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, _vm.topRightButton)}}},[_vm._v(" "+_vm._s(_vm.topRightButton.title)+" ")]):(_vm.showArrow)?_c('a-icon',{attrs:{"type":"right","color":"#969696"}}):_vm._e()],1),_c('div',{staticClass:"prescription_wrapper"},[(_vm.content.icon)?_c('svg-icon',{staticClass:"prescription_logo",attrs:{"icon-class":_vm.content.icon}}):(_vm.content.image)?_c('img',{staticClass:"prescription_logo",attrs:{"src":_vm.content.image}}):_vm._e(),_c('bodyComp',{staticClass:"prescription_body",attrs:{"body":_vm.body}})],1),(_vm.toolbarButton.length)?_c('div',{staticClass:"prescription_btn-group"},_vm._l((_vm.toolbarButton),function(btn,index){return _c('a-button',{key:index,attrs:{"type":"primary","shape":"round","ghost":""},on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, btn)}}},[_vm._v(" "+_vm._s(btn.title)+" ")])}),1):_vm._e(),(_vm.bottomButton)?_c('div',{staticClass:"prescription_footer"},[_c('span',{staticClass:"prescription_footer-btn",on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, _vm.bottomButton)}}},[_vm._v(" "+_vm._s(_vm.bottomButton.title)+" ")])]):_vm._e()])}
1631
1631
  var staticRenderFns = []
1632
1632
 
@@ -3966,7 +3966,7 @@ module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefi
3966
3966
 
3967
3967
  "use strict";
3968
3968
 
3969
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"58bc4680-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/component/svg/index.vue?vue&type=template&id=116546f7&scoped=true&
3969
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2270e58-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/component/svg/index.vue?vue&type=template&id=116546f7&scoped=true&
3970
3970
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',_vm._g({class:_vm.svgClass,attrs:{"aria-hidden":"true"}},_vm.$listeners),[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e(),_c('use',{attrs:{"xlink:href":_vm.iconName}})])}
3971
3971
  var staticRenderFns = []
3972
3972