cnhis-design-vue 2.0.2 → 2.0.5
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.
- package/CHANGELOG.md +25 -4
- package/es/affix/index.js +8 -8
- package/es/age/index.js +10 -10
- package/es/alert/index.js +8 -8
- package/es/anchor/index.js +8 -8
- package/es/auto-complete/index.js +8 -8
- package/es/avatar/index.js +8 -8
- package/es/back-top/index.js +8 -8
- package/es/badge/index.js +8 -8
- package/es/base/index.js +8 -8
- package/es/big-table/index.js +311 -283
- package/es/big-table/style.css +1 -1
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +28 -28
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/carousel/index.js +8 -8
- package/es/cascader/index.js +8 -8
- package/es/checkbox/index.js +9 -9
- package/es/col/index.js +8 -8
- package/es/collapse/index.js +8 -8
- package/es/color-picker/index.js +1 -1
- package/es/comment/index.js +8 -8
- package/es/config-provider/index.js +8 -8
- package/es/date-picker/index.js +8 -8
- package/es/descriptions/index.js +8 -8
- package/es/divider/index.js +8 -8
- package/es/drag-layout/index.js +3 -3
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +51 -24
- package/es/editor/style.css +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +9 -9
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +62 -62
- package/es/index/index.js +939 -863
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/layout/index.js +8 -8
- package/es/list/index.js +8 -8
- package/es/locale-provider/index.js +8 -8
- package/es/map/index.js +9 -9
- package/es/mentions/index.js +8 -8
- package/es/menu/index.js +8 -8
- package/es/message/index.js +8 -8
- package/es/multi-chat/index.js +141 -125
- package/es/multi-chat/style.css +1 -1
- package/es/multi-chat-client/index.js +108 -92
- package/es/multi-chat-client/style.css +1 -1
- package/es/multi-chat-history/index.js +27 -27
- package/es/multi-chat-history/style.css +1 -1
- package/es/multi-chat-record/index.js +37 -37
- package/es/multi-chat-record/style.css +1 -1
- package/es/multi-chat-setting/index.js +61 -45
- package/es/multi-chat-setting/style.css +1 -1
- package/es/multi-chat-sip/index.js +1 -1
- package/es/notification/index.js +8 -8
- package/es/page-header/index.js +8 -8
- package/es/pagination/index.js +8 -8
- package/es/popconfirm/index.js +8 -8
- package/es/popover/index.js +8 -8
- package/es/progress/index.js +8 -8
- package/es/radio/index.js +9 -9
- package/es/rate/index.js +8 -8
- package/es/result/index.js +8 -8
- package/es/row/index.js +8 -8
- package/es/scale-view/index.js +24 -24
- package/es/select/index.js +11 -11
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +169 -143
- package/es/select-person/style.css +1 -1
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/space/index.js +8 -8
- package/es/spin/index.js +8 -8
- package/es/statistic/index.js +8 -8
- package/es/steps/index.js +8 -8
- package/es/switch/index.js +8 -8
- package/es/table-filter/index.js +53 -53
- package/es/tabs/index.js +8 -8
- package/es/tag/index.js +9 -9
- package/es/time-picker/index.js +8 -8
- package/es/timeline/index.js +8 -8
- package/es/tooltip/index.js +8 -8
- package/es/transfer/index.js +8 -8
- package/es/tree/index.js +8 -8
- package/es/tree-select/index.js +8 -8
- package/es/upload/index.js +8 -8
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +4825 -7064
- package/lib/cui.umd.js +4825 -7064
- package/lib/cui.umd.min.js +85 -85
- package/package.json +4 -2
- package/packages/big-table/src/BigTable.vue +13 -1
- package/packages/editor/src/Editor.vue +6 -1
- package/packages/multi-chat/chat/chatHistory.vue +1 -1
- package/packages/multi-chat/chat/chatMain.vue +1 -1
- package/packages/multi-chat/chat/messageRecord.vue +1 -1
- package/packages/multi-chat/chat/mixins/base.js +5 -0
- package/packages/multi-chat/setting/sessionList/messageRecord.vue +1 -1
- package/packages/select-person/select-person.vue +73 -56
|
@@ -291,7 +291,7 @@ module.exports = require("core-js/modules/es.array.find.js");
|
|
|
291
291
|
|
|
292
292
|
"use strict";
|
|
293
293
|
|
|
294
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
294
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
295
295
|
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()])])}
|
|
296
296
|
var staticRenderFns = []
|
|
297
297
|
|
|
@@ -932,7 +932,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABz
|
|
|
932
932
|
|
|
933
933
|
"use strict";
|
|
934
934
|
|
|
935
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
935
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
936
936
|
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:({
|
|
937
937
|
height: _vm.size === 'big' ? '40px' : '30px',
|
|
938
938
|
lineHeight: _vm.size === 'big' ? '40px' : '30px',
|
|
@@ -2190,7 +2190,7 @@ function _slicedToArray(arr, i) {
|
|
|
2190
2190
|
|
|
2191
2191
|
"use strict";
|
|
2192
2192
|
|
|
2193
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2193
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
2194
2194
|
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()])}
|
|
2195
2195
|
var staticRenderFns = []
|
|
2196
2196
|
|
|
@@ -2403,17 +2403,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7
|
|
|
2403
2403
|
|
|
2404
2404
|
module.exports = require("core-js/modules/es.typed-array.to-locale-string.js");
|
|
2405
2405
|
|
|
2406
|
-
/***/ }),
|
|
2407
|
-
|
|
2408
|
-
/***/ "39f0":
|
|
2409
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2410
|
-
|
|
2411
|
-
"use strict";
|
|
2412
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chatMain_vue_vue_type_style_index_0_id_398e8b36_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ac1a");
|
|
2413
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chatMain_vue_vue_type_style_index_0_id_398e8b36_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chatMain_vue_vue_type_style_index_0_id_398e8b36_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2414
|
-
/* unused harmony reexport * */
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
2406
|
/***/ }),
|
|
2418
2407
|
|
|
2419
2408
|
/***/ "3a8d":
|
|
@@ -2453,28 +2442,28 @@ module.exports = function (it) {
|
|
|
2453
2442
|
|
|
2454
2443
|
"use strict";
|
|
2455
2444
|
|
|
2456
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2445
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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=bfc2e530&scoped=true&
|
|
2457
2446
|
var render = function () {
|
|
2458
2447
|
var this$1 = this;
|
|
2459
2448
|
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",on:{"scroll":_vm.scrollEvent}},[_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:{
|
|
2460
2449
|
content: true,
|
|
2461
2450
|
'has-dictionary': item.dictionaryValues && item.dictionaryValues.length,
|
|
2462
2451
|
'has-intention': item.intentionList && item.intentionList.length
|
|
2463
|
-
}},[_c('p',{domProps:{"innerHTML":_vm._s(item.content.content)}}),(item.content.attachments && item.content.attachments.length > 0)?_vm._l((item.content.attachments),function(v,index){return _c('div',{key:index,staticClass:"robot-item"},[(v.type == 1)?_c('a',{attrs:{"href":v.url,"target":"_blank"}},[_vm._v(" "+_vm._s(v.desc)+"(超链) ")]):_vm._e(),(v.type == 2 || v.type == 3)?_c('a',{attrs:{"href":"javascript:void(0);"},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.$emit('sendQuestion', v, item)}}},[_vm._v(" "+_vm._s(v.desc)+" ")]):_vm._e()])}):_vm._e(),(item.intentionList && item.intentionList.length)?_c('div',{staticClass:"intention-wrap"},_vm._l((item.intentionList),function(v,index){return _c('div',{key:index,on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.$emit('sendIntention', v)}}},[_c('svg-icon',{staticStyle:{"font-size":"26px"},attrs:{"icon-class":v.icon || 'moren'}}),_c('span',[_vm._v(_vm._s(v.name))])],1)}),0):_vm._e()],2),(item.dictionaryValues && item.dictionaryValues.length)?_c('ul',{staticClass:"dictionary-ul"},_vm._l((item.dictionaryValues),function(v,i){return _c('li',{key:i,on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.$emit('sendDictionary', v, item)}}},[_vm._v(" "+_vm._s(v)+" ")])}),0):_vm._e(),(item.autoAccess && item.autoAccess === 'false')?_c('div',{staticClass:"client-btn"},[_c('svg-icon',{attrs:{"icon-class":"kefu"}}),_c('span',{on:{"click":function($event){return _vm.$emit('goCustomServe')}}},[_vm._v("转人工客服")])],1):_vm._e()]):(item.content.type === 1)?_c('div',{staticClass:"upload-image"},[_c('MsgPicture',{staticStyle:{"max-width":"345px"},attrs:{"image":item.content.content},on:{"click":function($event){return _vm.show(item)}}})],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","margin-right":"8px"},attrs:{"src":__webpack_require__("c7ba")}}),_vm._v(" "+_vm._s(item.content.content)+" "),(item.content.isRefuse == 1)?_c('span',{staticClass:"re-call",on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.reCall(item, 'video')}}},[_vm._v(" "+_vm._s(_vm.handleReCall(item))+" ")]):_vm._e()])]):(item.content.type === 5)?_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","margin-right":"8px"},attrs:{"src":__webpack_require__("38c5")}}),_vm._v(" "+_vm._s(item.content.content)+" "),(item.content.isRefuse == 1)?_c('span',{staticClass:"re-call",on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.reCall(item, 'voice')}}},[_vm._v(" "+_vm._s(_vm.handleReCall(item))+" ")]):_vm._e()])]):(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.isDescribeMsg(item))?_c('msg-describe',{attrs:{"item":item}}):_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('MsgPrescription',{attrs:{"data":item,"isServer":_vm.isServer,"theme":_vm.isServer ? '' : 'customer'},on:{"handleTemplateDetail":_vm.handleTemplateDetail,"handleTemplateButton":_vm.handleTemplateButton}})],1)]:_vm._e()],2),(_vm.enableReadRecord)?_c('ReadStatus',{attrs:{"status":item.readStatus},on:{"click":function($event){return _vm.openReadRecord($event, item)}}}):_vm._e()],2):_vm._e()]):_vm._e()]}),(_vm.contextMenuShow)?_c('ul',{ref:"contextMenu",staticClass:"menu-main",style:(_vm.contextMenuStyle)},[_vm._l((_vm.rightClickSetting),function(item,index){return [_c('li',{key:index,staticClass:"menu-item",on:{"click":function () { return _vm.handleRightClick(_vm.contextMenuItem, item); }}},[_vm._v(" "+_vm._s(item.rightClickName)+" ")])]})],2):_vm._e(),(_vm.sessionEnd && !_vm.isServer)?_c('div',{staticClass:"session-end"},[_c('span',{staticClass:"end"},[_vm._v(_vm._s(_vm.i18nText('1.9.370')))])]):_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.images,"options":_vm.options},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('a-modal',{attrs:{"wrapClassName":"chat-footer-modal-small","title":_vm.modalData.title || _vm.i18nText('1.1.1.10'),"visible":_vm.modalShow,"maskClosable":false,"mask":true,"width":"80%","destroyOnClose":"","okText":_vm.i18nText('1.2.1.11.6'),"footer":null},on:{"cancel":function () {
|
|
2452
|
+
}},[_c('p',{domProps:{"innerHTML":_vm._s(_vm.$xss(item.content.content))}}),(item.content.attachments && item.content.attachments.length > 0)?_vm._l((item.content.attachments),function(v,index){return _c('div',{key:index,staticClass:"robot-item"},[(v.type == 1)?_c('a',{attrs:{"href":v.url,"target":"_blank"}},[_vm._v(" "+_vm._s(v.desc)+"(超链) ")]):_vm._e(),(v.type == 2 || v.type == 3)?_c('a',{attrs:{"href":"javascript:void(0);"},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.$emit('sendQuestion', v, item)}}},[_vm._v(" "+_vm._s(v.desc)+" ")]):_vm._e()])}):_vm._e(),(item.intentionList && item.intentionList.length)?_c('div',{staticClass:"intention-wrap"},_vm._l((item.intentionList),function(v,index){return _c('div',{key:index,on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.$emit('sendIntention', v)}}},[_c('svg-icon',{staticStyle:{"font-size":"26px"},attrs:{"icon-class":v.icon || 'moren'}}),_c('span',[_vm._v(_vm._s(v.name))])],1)}),0):_vm._e()],2),(item.dictionaryValues && item.dictionaryValues.length)?_c('ul',{staticClass:"dictionary-ul"},_vm._l((item.dictionaryValues),function(v,i){return _c('li',{key:i,on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.$emit('sendDictionary', v, item)}}},[_vm._v(" "+_vm._s(v)+" ")])}),0):_vm._e(),(item.autoAccess && item.autoAccess === 'false')?_c('div',{staticClass:"client-btn"},[_c('svg-icon',{attrs:{"icon-class":"kefu"}}),_c('span',{on:{"click":function($event){return _vm.$emit('goCustomServe')}}},[_vm._v("转人工客服")])],1):_vm._e()]):(item.content.type === 1)?_c('div',{staticClass:"upload-image"},[_c('MsgPicture',{staticStyle:{"max-width":"345px"},attrs:{"image":item.content.content},on:{"click":function($event){return _vm.show(item)}}})],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","margin-right":"8px"},attrs:{"src":__webpack_require__("c7ba")}}),_vm._v(" "+_vm._s(item.content.content)+" "),(item.content.isRefuse == 1)?_c('span',{staticClass:"re-call",on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.reCall(item, 'video')}}},[_vm._v(" "+_vm._s(_vm.handleReCall(item))+" ")]):_vm._e()])]):(item.content.type === 5)?_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","margin-right":"8px"},attrs:{"src":__webpack_require__("38c5")}}),_vm._v(" "+_vm._s(item.content.content)+" "),(item.content.isRefuse == 1)?_c('span',{staticClass:"re-call",on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.reCall(item, 'voice')}}},[_vm._v(" "+_vm._s(_vm.handleReCall(item))+" ")]):_vm._e()])]):(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.isDescribeMsg(item))?_c('msg-describe',{attrs:{"item":item}}):_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('MsgPrescription',{attrs:{"data":item,"isServer":_vm.isServer,"theme":_vm.isServer ? '' : 'customer'},on:{"handleTemplateDetail":_vm.handleTemplateDetail,"handleTemplateButton":_vm.handleTemplateButton}})],1)]:_vm._e()],2),(_vm.enableReadRecord)?_c('ReadStatus',{attrs:{"status":item.readStatus},on:{"click":function($event){return _vm.openReadRecord($event, item)}}}):_vm._e()],2):_vm._e()]):_vm._e()]}),(_vm.contextMenuShow)?_c('ul',{ref:"contextMenu",staticClass:"menu-main",style:(_vm.contextMenuStyle)},[_vm._l((_vm.rightClickSetting),function(item,index){return [_c('li',{key:index,staticClass:"menu-item",on:{"click":function () { return _vm.handleRightClick(_vm.contextMenuItem, item); }}},[_vm._v(" "+_vm._s(item.rightClickName)+" ")])]})],2):_vm._e(),(_vm.sessionEnd && !_vm.isServer)?_c('div',{staticClass:"session-end"},[_c('span',{staticClass:"end"},[_vm._v(_vm._s(_vm.i18nText('1.9.370')))])]):_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.images,"options":_vm.options},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('a-modal',{attrs:{"wrapClassName":"chat-footer-modal-small","title":_vm.modalData.title || _vm.i18nText('1.1.1.10'),"visible":_vm.modalShow,"maskClosable":false,"mask":true,"width":"80%","destroyOnClose":"","okText":_vm.i18nText('1.2.1.11.6'),"footer":null},on:{"cancel":function () {
|
|
2464
2453
|
this$1.modalShow = false;
|
|
2465
2454
|
}}},[(_vm.modalData.targetType === 'LINK_ADDRESS')?_c('iframe',{attrs:{"id":"chat-footer-modal","width":"100%","height":"100%","frameborder":"0","src":_vm.modalData.address,"allow":"camera;midi"}}):_vm._e()])],2),_c('audio',{ref:"audio",staticStyle:{"display":"none"},attrs:{"controls":"","autoplay":"","preload":"auto","crossOrigin":"anonymous","media-player":"audioPlayer","src":_vm.curAudioUrl},on:{"ended":_vm.audioEnd}}),(_vm.readRecordVisible)?_c('ReadRecord',{style:(_vm.readRecordStyle),attrs:{"list":_vm.readRecordList},on:{"close":_vm.closeReadRecord}}):_vm._e()],1)}
|
|
2466
2455
|
var staticRenderFns = []
|
|
2467
2456
|
|
|
2468
2457
|
|
|
2469
|
-
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=template&id=
|
|
2458
|
+
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=template&id=bfc2e530&scoped=true&
|
|
2470
2459
|
|
|
2471
2460
|
// EXTERNAL MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./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=script&lang=js&
|
|
2472
2461
|
var chatMainvue_type_script_lang_js_ = __webpack_require__("dba2");
|
|
2473
2462
|
|
|
2474
2463
|
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=script&lang=js&
|
|
2475
2464
|
/* harmony default export */ var chat_chatMainvue_type_script_lang_js_ = (chatMainvue_type_script_lang_js_["a" /* default */]);
|
|
2476
|
-
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=style&index=0&id=
|
|
2477
|
-
var
|
|
2465
|
+
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=style&index=0&id=bfc2e530&lang=less&scoped=true&
|
|
2466
|
+
var chatMainvue_type_style_index_0_id_bfc2e530_lang_less_scoped_true_ = __webpack_require__("d884");
|
|
2478
2467
|
|
|
2479
2468
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
2480
2469
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -2494,7 +2483,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
2494
2483
|
staticRenderFns,
|
|
2495
2484
|
false,
|
|
2496
2485
|
null,
|
|
2497
|
-
"
|
|
2486
|
+
"bfc2e530",
|
|
2498
2487
|
null
|
|
2499
2488
|
|
|
2500
2489
|
)
|
|
@@ -2528,6 +2517,13 @@ module.exports = require("ant-design-vue/es/popconfirm/style");
|
|
|
2528
2517
|
|
|
2529
2518
|
/***/ }),
|
|
2530
2519
|
|
|
2520
|
+
/***/ "3f08":
|
|
2521
|
+
/***/ (function(module, exports) {
|
|
2522
|
+
|
|
2523
|
+
module.exports = require("vue-xss");
|
|
2524
|
+
|
|
2525
|
+
/***/ }),
|
|
2526
|
+
|
|
2531
2527
|
/***/ "3f8c":
|
|
2532
2528
|
/***/ (function(module, exports) {
|
|
2533
2529
|
|
|
@@ -2541,7 +2537,7 @@ module.exports = {};
|
|
|
2541
2537
|
|
|
2542
2538
|
"use strict";
|
|
2543
2539
|
|
|
2544
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2540
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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=4be1a9a6&scoped=true&
|
|
2545
2541
|
var render = function () {
|
|
2546
2542
|
var this$1 = this;
|
|
2547
2543
|
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',{staticClass:"chat-header-opt"},[(_vm.isShow('TRANSFER') && _vm.sessionType == 1 && _vm.onChating)?_c('a-button',{staticClass:"chat-header-opt-btn",attrs:{"disabled":!_vm.onChating && !!_vm.convertButtonTitle},on:{"click":_vm.handleConvertShow}},[_vm._v(_vm._s(_vm.convertButtonTitle))]):_vm._e(),_c('UserStatus',{staticClass:"chat-header-opt-btn"}),(_vm.isSessionOwner && !_vm.isStaff)?_c('a-button',{staticClass:"chat-header-opt-btn",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 () {
|
|
@@ -3588,7 +3584,7 @@ webpackContext.id = "46bb";
|
|
|
3588
3584
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3589
3585
|
|
|
3590
3586
|
"use strict";
|
|
3591
|
-
/* harmony import */ var
|
|
3587
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5530");
|
|
3592
3588
|
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("4391");
|
|
3593
3589
|
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
3594
3590
|
/* harmony import */ var _store_helper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("e3c5");
|
|
@@ -3596,12 +3592,12 @@ webpackContext.id = "46bb";
|
|
|
3596
3592
|
|
|
3597
3593
|
|
|
3598
3594
|
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
3599
|
-
computed: Object(
|
|
3595
|
+
computed: Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, Object(_store_helper__WEBPACK_IMPORTED_MODULE_2__[/* mapGetters */ "b"])(['uniRTC', 'incoming', 'outing'])),
|
|
3600
3596
|
data: function data() {
|
|
3601
3597
|
return {// outing: [],
|
|
3602
3598
|
};
|
|
3603
3599
|
},
|
|
3604
|
-
methods: Object(
|
|
3600
|
+
methods: Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, Object(_store_helper__WEBPACK_IMPORTED_MODULE_2__[/* mapMutations */ "c"])(['setIncoming', 'setOuting'])), {}, {
|
|
3605
3601
|
checkStatus: function checkStatus(targetList) {
|
|
3606
3602
|
var deviceTokens = targetList.map(function (v) {
|
|
3607
3603
|
return v.deviceToken;
|
|
@@ -4043,7 +4039,7 @@ var store = __webpack_require__("c6cd");
|
|
|
4043
4039
|
|
|
4044
4040
|
"use strict";
|
|
4045
4041
|
|
|
4046
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4042
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
4047
4043
|
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("屏幕共享")])])])])])}
|
|
4048
4044
|
var staticRenderFns = []
|
|
4049
4045
|
|
|
@@ -5252,9 +5248,9 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/
|
|
|
5252
5248
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5253
5249
|
|
|
5254
5250
|
"use strict";
|
|
5255
|
-
/* harmony import */ var
|
|
5256
|
-
/* harmony import */ var
|
|
5257
|
-
/* harmony import */ var
|
|
5251
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d4ec");
|
|
5252
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
|
5253
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("ade3");
|
|
5258
5254
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("13e3");
|
|
5259
5255
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
5260
5256
|
/* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("4692");
|
|
@@ -5286,26 +5282,26 @@ var ChatSock = /*#__PURE__*/function () {
|
|
|
5286
5282
|
* @param {Number} options.reconnectMaxCount 重连最大次数
|
|
5287
5283
|
*/
|
|
5288
5284
|
function ChatSock(url, options) {
|
|
5289
|
-
Object(
|
|
5285
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, ChatSock);
|
|
5290
5286
|
|
|
5291
|
-
Object(
|
|
5287
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "stompClient", void 0);
|
|
5292
5288
|
|
|
5293
|
-
Object(
|
|
5289
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "reconnectTimer", void 0);
|
|
5294
5290
|
|
|
5295
|
-
Object(
|
|
5291
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "reconnectionCount", 0);
|
|
5296
5292
|
|
|
5297
|
-
Object(
|
|
5293
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "heartbeatTimer", void 0);
|
|
5298
5294
|
|
|
5299
|
-
Object(
|
|
5295
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "options", {});
|
|
5300
5296
|
|
|
5301
|
-
Object(
|
|
5297
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "url", '');
|
|
5302
5298
|
|
|
5303
5299
|
this.url = url;
|
|
5304
5300
|
this.options = options;
|
|
5305
5301
|
this.connection();
|
|
5306
5302
|
}
|
|
5307
5303
|
|
|
5308
|
-
Object(
|
|
5304
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(ChatSock, [{
|
|
5309
5305
|
key: "connection",
|
|
5310
5306
|
value: function connection() {
|
|
5311
5307
|
var _this = this;
|
|
@@ -5540,7 +5536,7 @@ module.exports = !$assign || fails(function () {
|
|
|
5540
5536
|
|
|
5541
5537
|
"use strict";
|
|
5542
5538
|
|
|
5543
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5539
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
5544
5540
|
var render = function () {
|
|
5545
5541
|
var this$1 = this;
|
|
5546
5542
|
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:([
|
|
@@ -6006,7 +6002,7 @@ function getPanelSetting(params, setting, clientParams) {
|
|
|
6006
6002
|
// EXTERNAL MODULE: ./packages/multi-chat/store/helper.js
|
|
6007
6003
|
var helper = __webpack_require__("e3c5");
|
|
6008
6004
|
|
|
6009
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6005
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
6010
6006
|
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)}
|
|
6011
6007
|
var quickReplyvue_type_template_id_428cfe0f_staticRenderFns = []
|
|
6012
6008
|
|
|
@@ -6356,7 +6352,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
6356
6352
|
)
|
|
6357
6353
|
|
|
6358
6354
|
/* harmony default export */ var quickReply = (component.exports);
|
|
6359
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6355
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
6360
6356
|
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}})])])}
|
|
6361
6357
|
var voicevue_type_template_id_7e851a0c_scoped_true_staticRenderFns = []
|
|
6362
6358
|
|
|
@@ -6798,7 +6794,7 @@ var voice_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6798
6794
|
)
|
|
6799
6795
|
|
|
6800
6796
|
/* harmony default export */ var voice = (voice_component.exports);
|
|
6801
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6797
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
6802
6798
|
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)}
|
|
6803
6799
|
var modal_user_transfervue_type_template_id_f50a4f90_staticRenderFns = []
|
|
6804
6800
|
|
|
@@ -6933,7 +6929,7 @@ var modal_user_transfer_component = Object(componentNormalizer["a" /* default */
|
|
|
6933
6929
|
)
|
|
6934
6930
|
|
|
6935
6931
|
/* harmony default export */ var modal_user_transfer = (modal_user_transfer_component.exports);
|
|
6936
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6932
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
6937
6933
|
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)}
|
|
6938
6934
|
var modal_refuse_reasonvue_type_template_id_375e05a7_scoped_true_staticRenderFns = []
|
|
6939
6935
|
|
|
@@ -8710,6 +8706,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABW
|
|
|
8710
8706
|
|
|
8711
8707
|
/***/ }),
|
|
8712
8708
|
|
|
8709
|
+
/***/ "65b6":
|
|
8710
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
8711
|
+
|
|
8712
|
+
// extracted by mini-css-extract-plugin
|
|
8713
|
+
|
|
8714
|
+
/***/ }),
|
|
8715
|
+
|
|
8713
8716
|
/***/ "65c7":
|
|
8714
8717
|
/***/ (function(module, exports) {
|
|
8715
8718
|
|
|
@@ -8936,7 +8939,7 @@ module.exports = require("core-js/modules/es.typed-array.find-index.js");
|
|
|
8936
8939
|
/* unused harmony export chatUidUp */
|
|
8937
8940
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getRecallText; });
|
|
8938
8941
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return chatAuthentication; });
|
|
8939
|
-
/* harmony import */ var
|
|
8942
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1da1");
|
|
8940
8943
|
/* harmony import */ var ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("f2f7");
|
|
8941
8944
|
/* harmony import */ var ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_1__);
|
|
8942
8945
|
/* harmony import */ var ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("23a4");
|
|
@@ -9069,7 +9072,7 @@ function checkTalkingEnv(_x, _x2, _x3) {
|
|
|
9069
9072
|
}
|
|
9070
9073
|
|
|
9071
9074
|
function _checkTalkingEnv() {
|
|
9072
|
-
_checkTalkingEnv = Object(
|
|
9075
|
+
_checkTalkingEnv = Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(assemblyId, sdkInfo, constraints) {
|
|
9073
9076
|
var _sips;
|
|
9074
9077
|
|
|
9075
9078
|
var mediaConstraints, getSips, getDeviceAuth, chooseSip, _status, sip, sips, id, status, value;
|
|
@@ -9619,7 +9622,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACN
|
|
|
9619
9622
|
|
|
9620
9623
|
"use strict";
|
|
9621
9624
|
|
|
9622
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9625
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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
9626
|
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) {
|
|
9624
9627
|
return triggerNode.parentNode || _vm.document.body;
|
|
9625
9628
|
}}},[(_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){
|
|
@@ -11589,10 +11592,16 @@ store_Store.prototype.actions = actions;
|
|
|
11589
11592
|
// EXTERNAL MODULE: ./packages/multi-chat/store/helper.js
|
|
11590
11593
|
var helper = __webpack_require__("e3c5");
|
|
11591
11594
|
|
|
11595
|
+
// EXTERNAL MODULE: external "vue-xss"
|
|
11596
|
+
var external_vue_xss_ = __webpack_require__("3f08");
|
|
11597
|
+
var external_vue_xss_default = /*#__PURE__*/__webpack_require__.n(external_vue_xss_);
|
|
11598
|
+
|
|
11592
11599
|
// CONCATENATED MODULE: ./packages/multi-chat/chat/mixins/base.js
|
|
11593
11600
|
|
|
11594
11601
|
|
|
11595
11602
|
|
|
11603
|
+
|
|
11604
|
+
|
|
11596
11605
|
/* harmony default export */ var base = __webpack_exports__["a"] = ({
|
|
11597
11606
|
provide: function provide() {
|
|
11598
11607
|
return {
|
|
@@ -11604,6 +11613,9 @@ var helper = __webpack_require__("e3c5");
|
|
|
11604
11613
|
i18nText: this.i18nText
|
|
11605
11614
|
};
|
|
11606
11615
|
},
|
|
11616
|
+
beforeCreate: function beforeCreate() {
|
|
11617
|
+
!this.$xss && external_vue_default.a.use(external_vue_xss_default.a);
|
|
11618
|
+
},
|
|
11607
11619
|
props: {
|
|
11608
11620
|
getI18nText: {
|
|
11609
11621
|
type: Function
|
|
@@ -11900,7 +11912,7 @@ module.exports = require("core-js/modules/es.string.iterator.js");
|
|
|
11900
11912
|
|
|
11901
11913
|
"use strict";
|
|
11902
11914
|
|
|
11903
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11915
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
11904
11916
|
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)])])])}
|
|
11905
11917
|
var staticRenderFns = []
|
|
11906
11918
|
|
|
@@ -12079,10 +12091,10 @@ module.exports = require("ant-design-vue/es/popover/style");
|
|
|
12079
12091
|
|
|
12080
12092
|
"use strict";
|
|
12081
12093
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RtcClient; });
|
|
12082
|
-
/* harmony import */ var
|
|
12083
|
-
/* harmony import */ var
|
|
12084
|
-
/* harmony import */ var
|
|
12085
|
-
/* harmony import */ var
|
|
12094
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5530");
|
|
12095
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1da1");
|
|
12096
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("d4ec");
|
|
12097
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("bee2");
|
|
12086
12098
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("d16b");
|
|
12087
12099
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
12088
12100
|
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("f989");
|
|
@@ -12116,7 +12128,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12116
12128
|
function RtcClient(options) {
|
|
12117
12129
|
var _this = this;
|
|
12118
12130
|
|
|
12119
|
-
Object(
|
|
12131
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, RtcClient);
|
|
12120
12132
|
|
|
12121
12133
|
// this.sdkAppId_ = options.sdkAppId;
|
|
12122
12134
|
this.sdkAppId_ = options.vendor == 2 ? options.sdkAppId : Number(options.sdkAppId);
|
|
@@ -12150,10 +12162,10 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12150
12162
|
});
|
|
12151
12163
|
}
|
|
12152
12164
|
|
|
12153
|
-
Object(
|
|
12165
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(RtcClient, [{
|
|
12154
12166
|
key: "join",
|
|
12155
12167
|
value: function () {
|
|
12156
|
-
var _join = Object(
|
|
12168
|
+
var _join = Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
12157
12169
|
var _document$getElementB;
|
|
12158
12170
|
|
|
12159
12171
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -12284,7 +12296,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12284
12296
|
}, {
|
|
12285
12297
|
key: "leave",
|
|
12286
12298
|
value: function () {
|
|
12287
|
-
var _leave = Object(
|
|
12299
|
+
var _leave = Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
12288
12300
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
12289
12301
|
while (1) {
|
|
12290
12302
|
switch (_context2.prev = _context2.next) {
|
|
@@ -12348,7 +12360,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12348
12360
|
}, {
|
|
12349
12361
|
key: "publish",
|
|
12350
12362
|
value: function () {
|
|
12351
|
-
var _publish = Object(
|
|
12363
|
+
var _publish = Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
12352
12364
|
var sip;
|
|
12353
12365
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
12354
12366
|
while (1) {
|
|
@@ -12418,7 +12430,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12418
12430
|
}, {
|
|
12419
12431
|
key: "unpublish",
|
|
12420
12432
|
value: function () {
|
|
12421
|
-
var _unpublish = Object(
|
|
12433
|
+
var _unpublish = Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(isLeaving) {
|
|
12422
12434
|
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
12423
12435
|
while (1) {
|
|
12424
12436
|
switch (_context4.prev = _context4.next) {
|
|
@@ -12596,7 +12608,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12596
12608
|
}, {
|
|
12597
12609
|
key: "toggleScreen",
|
|
12598
12610
|
value: function () {
|
|
12599
|
-
var _toggleScreen = Object(
|
|
12611
|
+
var _toggleScreen = Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(flag, options) {
|
|
12600
12612
|
var _this$localStream_, client_, stream;
|
|
12601
12613
|
|
|
12602
12614
|
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
@@ -12688,7 +12700,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12688
12700
|
|
|
12689
12701
|
case 34:
|
|
12690
12702
|
this.screen = flag;
|
|
12691
|
-
return _context5.abrupt("return", new RtcClient(Object(
|
|
12703
|
+
return _context5.abrupt("return", new RtcClient(Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, this.options), {}, {
|
|
12692
12704
|
options: options,
|
|
12693
12705
|
openVideo: true,
|
|
12694
12706
|
screen: this.screen
|
|
@@ -12969,13 +12981,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABz
|
|
|
12969
12981
|
|
|
12970
12982
|
/***/ }),
|
|
12971
12983
|
|
|
12972
|
-
/***/ "ac1a":
|
|
12973
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
12974
|
-
|
|
12975
|
-
// extracted by mini-css-extract-plugin
|
|
12976
|
-
|
|
12977
|
-
/***/ }),
|
|
12978
|
-
|
|
12979
12984
|
/***/ "ade3":
|
|
12980
12985
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12981
12986
|
|
|
@@ -13252,9 +13257,9 @@ module.exports = require("ant-design-vue/es/menu");
|
|
|
13252
13257
|
|
|
13253
13258
|
"use strict";
|
|
13254
13259
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ObserverScroll; });
|
|
13255
|
-
/* harmony import */ var
|
|
13256
|
-
/* harmony import */ var
|
|
13257
|
-
/* harmony import */ var
|
|
13260
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d4ec");
|
|
13261
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
|
13262
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("ade3");
|
|
13258
13263
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("97d3");
|
|
13259
13264
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
13260
13265
|
/* harmony import */ var core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("8535");
|
|
@@ -13279,11 +13284,11 @@ module.exports = require("ant-design-vue/es/menu");
|
|
|
13279
13284
|
|
|
13280
13285
|
var ObserverScroll = /*#__PURE__*/function () {
|
|
13281
13286
|
function ObserverScroll(root, cb) {
|
|
13282
|
-
Object(
|
|
13287
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, ObserverScroll);
|
|
13283
13288
|
|
|
13284
|
-
Object(
|
|
13289
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "list", new Set());
|
|
13285
13290
|
|
|
13286
|
-
Object(
|
|
13291
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "timer", 0);
|
|
13287
13292
|
|
|
13288
13293
|
this.once = true;
|
|
13289
13294
|
this.cb = cb;
|
|
@@ -13293,7 +13298,7 @@ var ObserverScroll = /*#__PURE__*/function () {
|
|
|
13293
13298
|
});
|
|
13294
13299
|
}
|
|
13295
13300
|
|
|
13296
|
-
Object(
|
|
13301
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(ObserverScroll, [{
|
|
13297
13302
|
key: "handler",
|
|
13298
13303
|
value: function handler(entries) {
|
|
13299
13304
|
var _this = this;
|
|
@@ -13970,7 +13975,7 @@ var es_promise_finally = __webpack_require__("a79d");
|
|
|
13970
13975
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
13971
13976
|
var es_function_name_js_ = __webpack_require__("db0a");
|
|
13972
13977
|
|
|
13973
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13978
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
13974
13979
|
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)}
|
|
13975
13980
|
var staticRenderFns = []
|
|
13976
13981
|
|
|
@@ -14008,7 +14013,7 @@ var create = __webpack_require__("8aef");
|
|
|
14008
14013
|
// EXTERNAL MODULE: ./packages/multi-chat/store/helper.js
|
|
14009
14014
|
var helper = __webpack_require__("e3c5");
|
|
14010
14015
|
|
|
14011
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14016
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
14012
14017
|
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)}
|
|
14013
14018
|
var clientChatvue_type_template_id_f1389824_scoped_true_staticRenderFns = []
|
|
14014
14019
|
|
|
@@ -14061,7 +14066,7 @@ var chatFooter = __webpack_require__("61f8");
|
|
|
14061
14066
|
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatMain.vue + 3 modules
|
|
14062
14067
|
var chatMain = __webpack_require__("3cee");
|
|
14063
14068
|
|
|
14064
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14069
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
14065
14070
|
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)}
|
|
14066
14071
|
var evaluatevue_type_template_id_018624f2_scoped_true_staticRenderFns = []
|
|
14067
14072
|
|
|
@@ -15267,7 +15272,7 @@ var clientChat_component = Object(componentNormalizer["a" /* default */])(
|
|
|
15267
15272
|
)
|
|
15268
15273
|
|
|
15269
15274
|
/* harmony default export */ var clientChat = (clientChat_component.exports);
|
|
15270
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15275
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
15271
15276
|
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)}
|
|
15272
15277
|
var robotvue_type_template_id_c7d05068_scoped_true_staticRenderFns = []
|
|
15273
15278
|
|
|
@@ -15956,7 +15961,7 @@ module.exports = require("core-js/modules/es.typed-array.uint8-array.js");
|
|
|
15956
15961
|
|
|
15957
15962
|
"use strict";
|
|
15958
15963
|
|
|
15959
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15964
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"143341b0-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&
|
|
15960
15965
|
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}})])}
|
|
15961
15966
|
var staticRenderFns = []
|
|
15962
15967
|
|
|
@@ -16066,6 +16071,17 @@ module.exports = require("ant-design-vue/es/radio");
|
|
|
16066
16071
|
/* unused harmony reexport * */
|
|
16067
16072
|
|
|
16068
16073
|
|
|
16074
|
+
/***/ }),
|
|
16075
|
+
|
|
16076
|
+
/***/ "d884":
|
|
16077
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16078
|
+
|
|
16079
|
+
"use strict";
|
|
16080
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chatMain_vue_vue_type_style_index_0_id_bfc2e530_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("65b6");
|
|
16081
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chatMain_vue_vue_type_style_index_0_id_bfc2e530_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_chatMain_vue_vue_type_style_index_0_id_bfc2e530_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
16082
|
+
/* unused harmony reexport * */
|
|
16083
|
+
|
|
16084
|
+
|
|
16069
16085
|
/***/ }),
|
|
16070
16086
|
|
|
16071
16087
|
/***/ "d9b5":
|
|
@@ -16149,8 +16165,8 @@ function _iterableToArray(iter) {
|
|
|
16149
16165
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16150
16166
|
|
|
16151
16167
|
"use strict";
|
|
16152
|
-
/* harmony import */ var
|
|
16153
|
-
/* harmony import */ var
|
|
16168
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2909");
|
|
16169
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("ade3");
|
|
16154
16170
|
/* harmony import */ var ant_design_vue_es_carousel_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("7442");
|
|
16155
16171
|
/* harmony import */ var ant_design_vue_es_carousel_style__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_carousel_style__WEBPACK_IMPORTED_MODULE_2__);
|
|
16156
16172
|
/* harmony import */ var ant_design_vue_es_carousel__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("34fc");
|
|
@@ -16179,9 +16195,9 @@ function _iterableToArray(iter) {
|
|
|
16179
16195
|
/* harmony import */ var ant_design_vue_es_modal_style__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_modal_style__WEBPACK_IMPORTED_MODULE_14__);
|
|
16180
16196
|
/* harmony import */ var ant_design_vue_es_modal__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("929f");
|
|
16181
16197
|
/* harmony import */ var ant_design_vue_es_modal__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_modal__WEBPACK_IMPORTED_MODULE_15__);
|
|
16182
|
-
/* harmony import */ var
|
|
16183
|
-
/* harmony import */ var
|
|
16184
|
-
/* harmony import */ var
|
|
16198
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("3835");
|
|
16199
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("1da1");
|
|
16200
|
+
/* harmony import */ var E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("5530");
|
|
16185
16201
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("d16b");
|
|
16186
16202
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
16187
16203
|
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("f989");
|
|
@@ -16343,7 +16359,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16343
16359
|
readRecordList: []
|
|
16344
16360
|
};
|
|
16345
16361
|
},
|
|
16346
|
-
computed: Object(
|
|
16362
|
+
computed: Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])(Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({}, Object(_store_helper__WEBPACK_IMPORTED_MODULE_41__[/* mapGetters */ "b"])(['userInfo', 'currentTab', 'isAppendMsg', 'message', 'msgList', 'sessionId', 'serviceId', 'scrollTo', 'isServer', 'clientId', 'sessionEnd', 'assemblyId', 'footerMessage', 'portraitPanelParams', 'assemblySetting', 'clientParams', 'onChating', 'classify', 'collapsed', 'barStatus', 'sessionHistoryList', 'enable', 'appendList', 'queueItem', 'isRecorderVoice'])), {}, {
|
|
16347
16363
|
orgId: function orgId() {
|
|
16348
16364
|
var _this$userInfo, _this$userInfo$sysPar;
|
|
16349
16365
|
|
|
@@ -16479,7 +16495,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16479
16495
|
created: function created() {
|
|
16480
16496
|
this.attachEvent();
|
|
16481
16497
|
},
|
|
16482
|
-
methods: Object(
|
|
16498
|
+
methods: Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])(Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])(Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({}, Object(_store_helper__WEBPACK_IMPORTED_MODULE_41__[/* mapMutations */ "c"])(['setIsAppendMsg', 'setMsgList', 'setScrollTo', 'setFooterMessage', 'setIsScrollListChange', 'setListChangeItem', 'setSessionId', 'setOnChating', 'setServiceId', 'setShowAudio', 'setVideoMode', 'setVideoMembers', 'setIsRecorderVoice'])), Object(_store_helper__WEBPACK_IMPORTED_MODULE_41__[/* mapActions */ "a"])({
|
|
16483
16499
|
getEarlierMsg: 'setMsgList',
|
|
16484
16500
|
handleBotChat: 'handleBotChat',
|
|
16485
16501
|
sendMessage: 'sendMessage'
|
|
@@ -16733,7 +16749,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16733
16749
|
_data$params = data.params,
|
|
16734
16750
|
params = _data$params === void 0 ? [] : _data$params,
|
|
16735
16751
|
openMode = data.openMode;
|
|
16736
|
-
dispatch && this.dispatchEvent('click_templateCard', Object(
|
|
16752
|
+
dispatch && this.dispatchEvent('click_templateCard', Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({}, data));
|
|
16737
16753
|
if (!address) return;
|
|
16738
16754
|
|
|
16739
16755
|
if (targetType === 'LINK_ADDRESS') {
|
|
@@ -16798,8 +16814,8 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16798
16814
|
if (data.result === 'SUCCESS') {
|
|
16799
16815
|
var _this4$getContent;
|
|
16800
16816
|
|
|
16801
|
-
_this4.dispatchEvent('msg_recallSuccess', Object(
|
|
16802
|
-
message: Object(
|
|
16817
|
+
_this4.dispatchEvent('msg_recallSuccess', Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({
|
|
16818
|
+
message: Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({}, item)
|
|
16803
16819
|
}, params));
|
|
16804
16820
|
|
|
16805
16821
|
_this4.$set(item, 'recallFlag', 1); // 撤回成功提示
|
|
@@ -16959,7 +16975,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16959
16975
|
});
|
|
16960
16976
|
},
|
|
16961
16977
|
postReadMessage: function postReadMessage(data) {
|
|
16962
|
-
_utils_chatFetch__WEBPACK_IMPORTED_MODULE_42___default.a.post("/chat/".concat(this.isServer ? 'service' : 'access', "/readMessage"), _utils_chatFetch__WEBPACK_IMPORTED_MODULE_42__["qs"].stringify(Object(
|
|
16978
|
+
_utils_chatFetch__WEBPACK_IMPORTED_MODULE_42___default.a.post("/chat/".concat(this.isServer ? 'service' : 'access', "/readMessage"), _utils_chatFetch__WEBPACK_IMPORTED_MODULE_42__["qs"].stringify(Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({
|
|
16963
16979
|
assemblyId: this.assemblyId,
|
|
16964
16980
|
orgId: this.orgId,
|
|
16965
16981
|
userId: this.userId,
|
|
@@ -17034,7 +17050,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17034
17050
|
handleOpenPortraitPanel: function handleOpenPortraitPanel(item) {
|
|
17035
17051
|
var _this8 = this;
|
|
17036
17052
|
|
|
17037
|
-
return Object(
|
|
17053
|
+
return Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_17__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
17038
17054
|
var _this8$assemblySettin;
|
|
17039
17055
|
|
|
17040
17056
|
var portraitPanelParams, clientParams, panelSetting;
|
|
@@ -17156,7 +17172,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17156
17172
|
*/
|
|
17157
17173
|
handleSessionIdChange: function handleSessionIdChange(e) {
|
|
17158
17174
|
var _e$target$value$split = e.target.value.split('-'),
|
|
17159
|
-
_e$target$value$split2 = Object(
|
|
17175
|
+
_e$target$value$split2 = Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_16__[/* default */ "a"])(_e$target$value$split, 2),
|
|
17160
17176
|
sessionId = _e$target$value$split2[0],
|
|
17161
17177
|
serviceId = _e$target$value$split2[1];
|
|
17162
17178
|
|
|
@@ -17234,7 +17250,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17234
17250
|
},
|
|
17235
17251
|
components: (_components = {
|
|
17236
17252
|
AModal: ant_design_vue_es_modal__WEBPACK_IMPORTED_MODULE_15___default.a
|
|
17237
|
-
}, Object(
|
|
17253
|
+
}, Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_layout__WEBPACK_IMPORTED_MODULE_13___default.a.Content.name, ant_design_vue_es_layout__WEBPACK_IMPORTED_MODULE_13___default.a.Content), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_spin__WEBPACK_IMPORTED_MODULE_11___default.a.name, ant_design_vue_es_spin__WEBPACK_IMPORTED_MODULE_11___default.a), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_icon__WEBPACK_IMPORTED_MODULE_9___default.a.name, ant_design_vue_es_icon__WEBPACK_IMPORTED_MODULE_9___default.a), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_popconfirm__WEBPACK_IMPORTED_MODULE_7___default.a.name, ant_design_vue_es_popconfirm__WEBPACK_IMPORTED_MODULE_7___default.a), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_radio__WEBPACK_IMPORTED_MODULE_5___default.a.Button.name, ant_design_vue_es_radio__WEBPACK_IMPORTED_MODULE_5___default.a.Button), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_radio__WEBPACK_IMPORTED_MODULE_5___default.a.Group.name, ant_design_vue_es_radio__WEBPACK_IMPORTED_MODULE_5___default.a.Group), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_carousel__WEBPACK_IMPORTED_MODULE_3___default.a.name, ant_design_vue_es_carousel__WEBPACK_IMPORTED_MODULE_3___default.a), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "SvgIcon", _component_svg_index_vue__WEBPACK_IMPORTED_MODULE_39__[/* default */ "a"]), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "MsgPrescription", _components_msg_prescription__WEBPACK_IMPORTED_MODULE_45__[/* default */ "a"]), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "ReadStatus", _components_read_status__WEBPACK_IMPORTED_MODULE_46__[/* default */ "a"]), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "ReadRecord", _components_read_record__WEBPACK_IMPORTED_MODULE_47__[/* default */ "a"]), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "MsgPicture", _components_msg_picture__WEBPACK_IMPORTED_MODULE_44__[/* default */ "a"]), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "MsgDescribe", _components_msg_describe__WEBPACK_IMPORTED_MODULE_43__[/* default */ "a"]), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "chatHeader", _chatHeader__WEBPACK_IMPORTED_MODULE_48__[/* default */ "a"]), _components),
|
|
17238
17254
|
watch: {
|
|
17239
17255
|
msgList: function msgList() {
|
|
17240
17256
|
this.observeMsg();
|
|
@@ -17246,9 +17262,9 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17246
17262
|
var newArr = [];
|
|
17247
17263
|
|
|
17248
17264
|
if (_utils_vexutils__WEBPACK_IMPORTED_MODULE_51___default.a.isPlainObject(this.message)) {
|
|
17249
|
-
newArr = [].concat(Object(
|
|
17265
|
+
newArr = [].concat(Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this.msgList), [this.message]);
|
|
17250
17266
|
} else if (_utils_vexutils__WEBPACK_IMPORTED_MODULE_51___default.a.isArray(this.message)) {
|
|
17251
|
-
newArr = [].concat(Object(
|
|
17267
|
+
newArr = [].concat(Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this.msgList), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this.message));
|
|
17252
17268
|
}
|
|
17253
17269
|
|
|
17254
17270
|
this.setMsgList(newArr);
|