cnhis-design-vue 0.2.28-beta → 0.2.32-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +89 -88
- 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 +50 -45
- package/es/drag-layout/style.css +1 -1
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +297 -25
- 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/index/index.js +672 -525
- 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 +130 -104
- package/es/multi-chat-client/index.js +124 -98
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +14 -14
- package/es/multi-chat-setting/index.js +77 -51
- 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 +114 -95
- package/es/scale-view/style.css +1 -1
- package/es/select/index.js +11 -11
- package/es/select-label/index.js +66 -56
- package/es/select-label/style.css +1 -1
- package/es/select-person/index.js +2 -2
- 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 +74 -60
- 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/utils/utils-map.js +16 -4
- package/es/utils/vexutils.js +15 -1
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +778 -611
- package/lib/cui.umd.js +778 -611
- package/lib/cui.umd.min.js +69 -69
- package/package.json +2 -2
- package/packages/big-table/src/BigTable.vue +1 -0
- package/packages/drag-layout/drag-layout.vue +4 -0
- package/packages/editor/src/Editor.vue +76 -9
- package/packages/multi-chat/store/actions.js +22 -4
- package/packages/scale-view/scaleView.vue +13 -6
- package/packages/select-label/labelFormContent.vue +23 -14
- package/packages/select-label/select-label.vue +1 -1
- package/packages/table-filter/src/components/multi-select/multi-select.vue +1 -1
- package/packages/table-filter/src/mixins/mixins.js +13 -1
- package/src/utils/utils-map.js +15 -3
- package/src/utils/vexutils.js +13 -1
|
@@ -280,7 +280,7 @@ module.exports = require("core-js/modules/es.array.find.js");
|
|
|
280
280
|
|
|
281
281
|
"use strict";
|
|
282
282
|
|
|
283
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
283
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-describe.vue?vue&type=template&id=4b76a796&scoped=true&
|
|
284
284
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"msg-describe"},[_c('div',{staticClass:"msg-describe__header"},[_vm._v(_vm._s(_vm.content.title || ''))]),_c('div',{staticClass:"msg-describe__content"},[_c('div',{ref:"wrapper",class:_vm.isOpen ? '' : 'wrapper'},_vm._l((_vm.contentParams),function(item,i){return _c('div',{key:i,staticClass:"desc-item"},[_c('div',{staticClass:"desc-title"},[_vm._v(" "+_vm._s(item.p_name)+" ")]),_c('div',{staticClass:"desc-txt"},[_vm._v(" "+_vm._s(item.p_value)+" ")])])}),0),(_vm.foldVisible)?_c('div',{staticClass:"fold-btn",on:{"click":_vm.toggleOpen}},[_vm._v(" "+_vm._s(_vm.isOpen ? _vm.i18nText('1.4.9.33') : _vm.i18nText('1.10.233') + _vm.i18nText('1.10.149'))+" "),_c('a-icon',{attrs:{"type":_vm.isOpen ? 'up' : 'down'}})],1):_vm._e()])])}
|
|
285
285
|
var staticRenderFns = []
|
|
286
286
|
|
|
@@ -914,7 +914,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABz
|
|
|
914
914
|
|
|
915
915
|
"use strict";
|
|
916
916
|
|
|
917
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
917
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/audio.vue?vue&type=template&id=d99c71a2&scoped=true&
|
|
918
918
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"single-audio",style:({ width: _vm.size === 'big' ? '414px' : '207px' }),on:{"mousedown":_vm.handleMove}},[_c('div',{staticClass:"header",style:({
|
|
919
919
|
height: _vm.size === 'big' ? '40px' : '30px',
|
|
920
920
|
lineHeight: _vm.size === 'big' ? '40px' : '30px',
|
|
@@ -2196,7 +2196,7 @@ function _slicedToArray(arr, i) {
|
|
|
2196
2196
|
|
|
2197
2197
|
"use strict";
|
|
2198
2198
|
|
|
2199
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2199
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-prescription.vue?vue&type=template&id=a9aa04b2&scoped=true&
|
|
2200
2200
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['msg-prescription', _vm.theme],on:{"click":_vm.handleTemplateDetail}},[_c('div',{staticClass:"prescription_header"},[_c('span',{staticClass:"prescription_header-title"},[_vm._v(_vm._s(_vm.content.title))]),(_vm.topRightButton)?_c('span',{staticClass:"prescription_header-btn",on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, _vm.topRightButton)}}},[_vm._v(" "+_vm._s(_vm.topRightButton.title)+" ")]):(_vm.showArrow)?_c('a-icon',{attrs:{"type":"right","color":"#969696"}}):_vm._e()],1),_c('div',{staticClass:"prescription_wrapper"},[(_vm.content.icon)?_c('svg-icon',{staticClass:"prescription_logo",attrs:{"icon-class":_vm.content.icon}}):(_vm.content.image)?_c('img',{staticClass:"prescription_logo",attrs:{"src":_vm.content.image}}):_vm._e(),_c('bodyComp',{staticClass:"prescription_body",attrs:{"body":_vm.body}})],1),(_vm.toolbarButton.length)?_c('div',{staticClass:"prescription_btn-group"},_vm._l((_vm.toolbarButton),function(btn,index){return _c('a-button',{key:index,attrs:{"type":"primary","shape":"round","ghost":""},on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, btn)}}},[_vm._v(" "+_vm._s(btn.title)+" ")])}),1):_vm._e(),(_vm.bottomButton)?_c('div',{staticClass:"prescription_footer"},[_c('span',{staticClass:"prescription_footer-btn",on:{"click":function($event){$event.stopPropagation();return _vm.handleTemplateButton($event, _vm.bottomButton)}}},[_vm._v(" "+_vm._s(_vm.bottomButton.title)+" ")])]):_vm._e()])}
|
|
2201
2201
|
var staticRenderFns = []
|
|
2202
2202
|
|
|
@@ -2448,7 +2448,7 @@ module.exports = function (it) {
|
|
|
2448
2448
|
|
|
2449
2449
|
"use strict";
|
|
2450
2450
|
|
|
2451
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2451
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/chatMain.vue?vue&type=template&id=744a9a49&scoped=true&
|
|
2452
2452
|
var render = function () {
|
|
2453
2453
|
var this$1 = this;
|
|
2454
2454
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"message-wrapper"},[(_vm.isServer && _vm.enable)?_c('chat-header',{attrs:{"hideHeader":_vm.hideHeader},on:{"openPortraitPanel":_vm.handleOpenPortraitPanel}}):_vm._e(),_c('a-layout-content',[_vm._t("default"),(_vm.showBroadcast)?_c('div',{staticClass:"broadcast-wrap"},[(_vm.broadcastCarousel)?_c('div',{staticClass:"carousel-item",class:{ 'has-link': _vm.assemblySetting.broadcast.PC.list[0].url },on:{"click":function($event){return _vm.goToBroadcastLink(_vm.assemblySetting.broadcast.PC.list[0])}}},[_c('a-icon',{attrs:{"type":"sound"}}),_c('span',{staticClass:"ellips"},[_vm._v(" "+_vm._s(_vm.assemblySetting.broadcast.PC.list[0].content)+" ")])],1):[_c('a-carousel',{attrs:{"dotPosition":"right","autoplay":"","dots":false}},_vm._l((_vm.assemblySetting.broadcast.PC.list),function(item,i){return _c('div',{key:i,staticClass:"carousel-item",class:{ 'has-link': item.url },on:{"click":function($event){return _vm.goToBroadcastLink(item)}}},[_c('a-icon',{attrs:{"type":"sound"}}),_c('span',{staticClass:"ellips"},[_vm._v(_vm._s(item.content))])],1)}),0)]],2):_vm._e(),(_vm.sessionHistoryList.length > 1 && !(!_vm.onChating && _vm.currentTab === 'end') && !_vm.sessionEnd)?_c('div',{staticStyle:{"position":"absolute","top":"0","left":"20px","z-index":"1"}},[_c('a-radio-group',{attrs:{"value":_vm.selectedSession,"buttonStyle":"solid"},on:{"change":_vm.handleSessionIdChange}},_vm._l((_vm.sessionHistoryList),function(item){return _c('a-radio-button',{key:item.id + item.fromId,attrs:{"value":item.id + '-' + item.fromId}},[_vm._v(_vm._s(item.fromName))])}),1)],1):_vm._e(),_c('div',{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:(_vm.handleInfiniteOnLoad),expression:"handleInfiniteOnLoad"}],ref:"message-wrapper",staticClass:"online-message"},[_vm._l((_vm.msgList),function(item,index){return [(item)?_c('div',{key:index},[(_vm.isNeedShowTime(item, index))?_c('p',{staticClass:"message-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime))+" ")]):_vm._e(),(item.recallFlag)?_c('div',{staticStyle:{"margin":"10px 0"}},[(_vm.handleRecallFlag(item))?[_vm._v(" "+_vm._s(_vm.getRecallText(item, _vm.isServer))+" "),([0, 4].includes(item.content && item.content.type) && _vm.onChating && _vm.isServer)?_c('a',{staticStyle:{"text-decoration":"underline"},on:{"click":function($event){return _vm.reEditMessage(item)}}},[_vm._v(","+_vm._s(_vm.i18nText('1.9.368')))]):_vm._e()]:[_vm._v(" "+_vm._s(_vm.getRecallText(item) || ((item.fromName) + " " + (_vm.i18nText('1.9.365'))))+" ")]],2):(_vm.isSystemMsg(item))?_c('div',{staticClass:"system-msg"},[_c('a-icon',{staticClass:"system-icon",attrs:{"theme":"filled","type":"exclamation-circle"}}),_c('div',[_c('span',{domProps:{"innerHTML":_vm._s(_vm.getSystemMsgContent(item))}}),_vm._l((_vm.getTemplateButton(item)),function(btn,index){return _c('span',{key:index,staticClass:"system-btn",on:{"click":function($event){return _vm.handleTemplateButton(btn)}}},[_vm._v(_vm._s(btn.title))])})],2)],1):(!item.recallFlag)?_c('div',{staticClass:"message-item",class:[_vm.getMessageItemClass(item), { 'read-status': _vm.enableReadRecord && item.readStatus }],attrs:{"data-rid":item.readStatus === 'N' ? item.id : ''}},[(!_vm.isServer && item.fromPortrait)?_c('img',{staticClass:"msg-avatar",attrs:{"src":item.fromPortrait}}):(!_vm.isServer && item.fromName)?_c('div',{staticClass:"first-name"},[_vm._v(" "+_vm._s(item.fromName && item.fromName.slice(0, 2))+" ")]):(!_vm.isServer)?_c('img',{staticClass:"msg-avatar",attrs:{"src":_vm.getAvatar(item),"width":"40","height":"40"}}):[(item.fromId === 'SYSTEM')?_c('img',{staticClass:"msg-avatar",attrs:{"src":_vm.customerStaffIcon,"width":"40","height":"40"}}):(item.content && item.content.source === 1)?_c('img',{staticClass:"msg-avatar",attrs:{"src":__webpack_require__("6753"),"width":"40","height":"40"}}):(item.portrait)?_c('img',{staticClass:"msg-avatar",attrs:{"src":item.portrait}}):_c('div',{staticClass:"first-name"},[_vm._v(" "+_vm._s(item.fromName && item.fromName.slice(0, 2))+" ")])],_c('div',{staticStyle:{"display":"flex"},on:{"contextmenu":function($event){return _vm.handleContextmenu($event, item)}}},[(item.sending)?_c('a-spin',[_c('a-icon',{staticStyle:{"font-size":"24px"},attrs:{"slot":"indicator","type":"loading","spin":""},slot:"indicator"})],1):_vm._e(),_c('a-popconfirm',{attrs:{"okText":_vm.i18nText('1.1.1.1.3'),"cancelText":_vm.i18nText('2.7.1.14')},on:{"confirm":function($event){return _vm.handleSendFail(item)}}},[_c('a-icon',{attrs:{"slot":"icon","type":"exclamation-circle"},slot:"icon"}),_c('div',{attrs:{"slot":"title"},slot:"title"},[_c('span',[_vm._v("确认重新发送该消息?")])]),(item.fail)?_c('a-icon',{staticStyle:{"font-size":"16px","display":"flex","align-items":"center","color":"red"},attrs:{"theme":"filled","type":"exclamation-circle"}}):_vm._e()],1),(item.content.type === 0)?_c('div',{staticClass:"content-wrap"},[_c('span',{staticClass:"right-time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.createdTime || item.sendTime, true))+" ")]),_c('div',{class:{
|
|
@@ -2525,7 +2525,7 @@ module.exports = {};
|
|
|
2525
2525
|
|
|
2526
2526
|
"use strict";
|
|
2527
2527
|
|
|
2528
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2528
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/chatHeader.vue?vue&type=template&id=08d0d81b&scoped=true&
|
|
2529
2529
|
var render = function () {
|
|
2530
2530
|
var this$1 = this;
|
|
2531
2531
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layout-header',[(!_vm.hideHeader)?_c('div',{staticClass:"chat-header-wrapper"},[_c('div',{staticClass:"chat-header-title",on:{"click":function($event){return _vm.$emit('openPortraitPanel', { fromId: _vm.clientId })}}},[(_vm.clientParams.name)?_c('Avatar',{attrs:{"src":_vm.curScrollItem && _vm.curScrollItem.portrait,"size":30,"name":_vm.clientParams.name,"len":2}}):_vm._e(),_c('span',{staticClass:"chat-header-username"},[_vm._v(_vm._s(_vm.clientParams.name))]),(_vm.curScrollItem)?[(_vm.curScrollItem.sendName)?_c('a-tooltip',{attrs:{"placement":"topLeft"}},[_c('template',{slot:"title"},[_vm._v(_vm._s(_vm.curScrollItem.sendName + '转接给了你'))]),_c('span',{staticClass:"zhuanjie"},[_c('svg-icon',{staticStyle:{"font-size":"16px"},attrs:{"icon-class":"liaotian-zhuanchu"}}),_vm._v(" "+_vm._s(_vm.curScrollItem.sendName)+" ")],1)],2):_vm._e(),(_vm.curScrollItem.receiveName)?_c('a-tooltip',{attrs:{"placement":"topLeft"}},[_c('template',{slot:"title"},[_vm._v(_vm._s('你转接给了' + _vm.curScrollItem.receiveName))]),_c('span',{staticClass:"zhuanchu"},[_c('svg-icon',{staticStyle:{"font-size":"16px"},attrs:{"icon-class":"liaotian-zhuanru"}}),_vm._v(" "+_vm._s(_vm.curScrollItem.receiveName)+" ")],1)],2):_vm._e()]:_vm._e()],2),_c('div',[(_vm.isShow('TRANSFER') && _vm.sessionType == 1 && _vm.onChating)?_c('a-button',{attrs:{"disabled":!_vm.onChating && !!_vm.convertButtonTitle},on:{"click":_vm.handleConvertShow}},[_vm._v(_vm._s(_vm.convertButtonTitle))]):_vm._e(),_c('UserStatus'),(_vm.isSessionOwner && !_vm.isStaff)?_c('a-button',{attrs:{"disabled":!_vm.onChating},on:{"click":_vm.handleConfirm}},[_vm._v(_vm._s(_vm.endSessionTitle))]):_vm._e()],1)]):_vm._e(),(_vm.sessionTimer)?_c('a-alert',{staticClass:"session-time",attrs:{"type":"success"},scopedSlots:_vm._u([{key:"message",fn:function(){return [_vm._v(" "+_vm._s(_vm.i18nText('1.9.324'))+": "+_vm._s(_vm.formatedSessionTime)+" ")]},proxy:true}],null,false,3826010762)}):_vm._e(),_c('a-modal',{attrs:{"title":_vm.convertButtonTitle,"visible":_vm.convertShow,"maskClosable":false,"mask":true,"width":400,"destroyOnClose":"","okText":_vm.i18nText('1.9.326')},on:{"cancel":function () {
|
|
@@ -3583,7 +3583,7 @@ webpackContext.id = "46bb";
|
|
|
3583
3583
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3584
3584
|
|
|
3585
3585
|
"use strict";
|
|
3586
|
-
/* harmony import */ var
|
|
3586
|
+
/* 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");
|
|
3587
3587
|
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("4391");
|
|
3588
3588
|
/* 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__);
|
|
3589
3589
|
/* harmony import */ var _store_helper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("e3c5");
|
|
@@ -3591,12 +3591,12 @@ webpackContext.id = "46bb";
|
|
|
3591
3591
|
|
|
3592
3592
|
|
|
3593
3593
|
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
3594
|
-
computed: Object(
|
|
3594
|
+
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'])),
|
|
3595
3595
|
data: function data() {
|
|
3596
3596
|
return {// outing: [],
|
|
3597
3597
|
};
|
|
3598
3598
|
},
|
|
3599
|
-
methods: Object(
|
|
3599
|
+
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'])), {}, {
|
|
3600
3600
|
checkStatus: function checkStatus(targetList) {
|
|
3601
3601
|
var deviceTokens = targetList.map(function (v) {
|
|
3602
3602
|
return v.deviceToken;
|
|
@@ -4049,7 +4049,7 @@ var store = __webpack_require__("c6cd");
|
|
|
4049
4049
|
|
|
4050
4050
|
"use strict";
|
|
4051
4051
|
|
|
4052
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4052
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/video.vue?vue&type=template&id=5e1d7bf5&scoped=true&
|
|
4053
4053
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"video",staticClass:"video-popover"},[_c('div',{staticClass:"video-header"},[_c('span',{staticClass:"video-title"},[_c('span',[_vm._v("视频通话")]),(_vm.sipName)?_c('a-tooltip',{attrs:{"placement":"bottom","overlayStyle":{ maxWidth: 'auto', fontSize: '12px' }}},[_c('span',{attrs:{"slot":"title"},slot:"title"},[_vm._v(" 当前设备"+_vm._s(_vm.sipName)),_c('br'),_vm._v(" 若要更换音视频设备,请点击设置进行更改 ")]),_c('svg-icon',{attrs:{"icon-class":"xitongtubiaodaohangtubiaowenti"}})],1):_vm._e()],1),_c('a-icon',{staticClass:"icon-item",attrs:{"type":_vm.size === 'big' ? 'shrink' : 'arrows-alt'},on:{"click":_vm.handleSize}}),_c('a-popconfirm',{attrs:{"okText":_vm.i18nText('1.1.1.1.3'),"cancelText":_vm.i18nText('2.7.1.14')},on:{"confirm":_vm.handleClose}},[_c('a-icon',{staticStyle:{"color":"red"},attrs:{"slot":"icon","type":"question-circle-o"},slot:"icon"}),_c('div',{attrs:{"slot":"title"},slot:"title"},[_c('span',[_vm._v(_vm._s(_vm.i18nText('1.9.384')))]),_c('br'),_c('span',[_vm._v(_vm._s(_vm.i18nText('1.9.385'))+"?")])]),_c('a-icon',{staticClass:"icon-item",attrs:{"type":"close"}})],1)],1),_c('div',{style:(_vm.remoteVideoWrapStyle),attrs:{"id":"remote-video-wrap"}},[_c('div',{staticClass:"video-placeholder",style:(_vm.localStreamStyle),attrs:{"id":"local_stream"}})]),_c('div',{staticClass:"panel-wrapper",style:(_vm.panelWrapperStyle)},[_c('ul',{staticClass:"operation-panel"},[_c('li',{staticClass:"panel-item",on:{"click":_vm.handleAudio}},[_c('img',{attrs:{"src":__webpack_require__("46bb")("./" + (_vm.muteAudio ? 'muted-audio' : 'audio') + ".png"),"width":_vm.size === 'big' ? 40 : 24}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '14px' : '12px' })},[_vm._v("静音")])]),_c('li',{staticClass:"panel-item",on:{"click":_vm.handleReject}},[_c('img',{attrs:{"src":__webpack_require__("73ff"),"width":_vm.size === 'big' ? 40 : 24}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '14px' : '12px' })},[_vm._v("挂断")])]),_c('li',{staticClass:"panel-item",on:{"click":_vm.handleVideo}},[_c('img',{attrs:{"src":__webpack_require__("46bb")("./" + (_vm.muteVideo ? 'muted-video' : 'normal-video') + ".png"),"width":_vm.size === 'big' ? 40 : 24}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '14px' : '12px' })},[_vm._v("视频")])]),_c('li',{staticClass:"panel-item",on:{"click":_vm.handleScreenToggle}},[_c('img',{attrs:{"src":__webpack_require__("46bb")("./" + (_vm.screen ? 'normal-screen' : 'muted-screen') + ".png"),"width":_vm.size === 'big' ? 40 : 24}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '14px' : '12px' })},[_vm._v("屏幕共享")])])])])])}
|
|
4054
4054
|
var staticRenderFns = []
|
|
4055
4055
|
|
|
@@ -5257,9 +5257,9 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/
|
|
|
5257
5257
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5258
5258
|
|
|
5259
5259
|
"use strict";
|
|
5260
|
-
/* harmony import */ var
|
|
5261
|
-
/* harmony import */ var
|
|
5262
|
-
/* harmony import */ var
|
|
5260
|
+
/* 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");
|
|
5261
|
+
/* 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");
|
|
5262
|
+
/* 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");
|
|
5263
5263
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("13e3");
|
|
5264
5264
|
/* 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__);
|
|
5265
5265
|
/* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("4692");
|
|
@@ -5291,26 +5291,26 @@ var ChatSock = /*#__PURE__*/function () {
|
|
|
5291
5291
|
* @param {Number} options.reconnectMaxCount 重连最大次数
|
|
5292
5292
|
*/
|
|
5293
5293
|
function ChatSock(url, options) {
|
|
5294
|
-
Object(
|
|
5294
|
+
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);
|
|
5295
5295
|
|
|
5296
|
-
Object(
|
|
5296
|
+
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);
|
|
5297
5297
|
|
|
5298
|
-
Object(
|
|
5298
|
+
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);
|
|
5299
5299
|
|
|
5300
|
-
Object(
|
|
5300
|
+
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);
|
|
5301
5301
|
|
|
5302
|
-
Object(
|
|
5302
|
+
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);
|
|
5303
5303
|
|
|
5304
|
-
Object(
|
|
5304
|
+
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", {});
|
|
5305
5305
|
|
|
5306
|
-
Object(
|
|
5306
|
+
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", '');
|
|
5307
5307
|
|
|
5308
5308
|
this.url = url;
|
|
5309
5309
|
this.options = options;
|
|
5310
5310
|
this.connection();
|
|
5311
5311
|
}
|
|
5312
5312
|
|
|
5313
|
-
Object(
|
|
5313
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(ChatSock, [{
|
|
5314
5314
|
key: "connection",
|
|
5315
5315
|
value: function connection() {
|
|
5316
5316
|
var _this = this;
|
|
@@ -5545,7 +5545,7 @@ module.exports = !$assign || fails(function () {
|
|
|
5545
5545
|
|
|
5546
5546
|
"use strict";
|
|
5547
5547
|
|
|
5548
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5548
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/chatFooter.vue?vue&type=template&id=86732388&scoped=true&
|
|
5549
5549
|
var render = function () {
|
|
5550
5550
|
var this$1 = this;
|
|
5551
5551
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layout-footer',{directives:[{name:"show",rawName:"v-show",value:(!_vm.queueItem || !_vm.hideQueueBtns),expression:"!queueItem || !hideQueueBtns"}],staticStyle:{"position":"relative","cursor":"pointer"}},[_c('div',{staticClass:"message-operate"},[(_vm.isShow('PICTURE'))?_c('a-upload',{directives:[{name:"decorator",rawName:"v-decorator",value:([
|
|
@@ -6011,7 +6011,7 @@ function getPanelSetting(params, setting, clientParams) {
|
|
|
6011
6011
|
// EXTERNAL MODULE: ./packages/multi-chat/store/helper.js
|
|
6012
6012
|
var helper = __webpack_require__("e3c5");
|
|
6013
6013
|
|
|
6014
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6014
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/quickReply.vue?vue&type=template&id=428cfe0f&
|
|
6015
6015
|
var quickReplyvue_type_template_id_428cfe0f_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"quick-reply"},[_c('div',{staticClass:"quick-search"},[_c('a-input',{attrs:{"allowClear":""},on:{"change":_vm.handleSearch},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}})],1),_c('a-tabs',{model:{value:(_vm.quickReplyKey),callback:function ($$v) {_vm.quickReplyKey=$$v},expression:"quickReplyKey"}},_vm._l((_vm.validQuick),function(data){return _c('a-tab-pane',{key:data.category},[_c('template',{slot:"tab"},[_vm._v(_vm._s(data.category))]),(data.list.length > 0)?_c('ul',{ref:"quick-reply",refInFor:true,staticClass:"quick-reply-wrapper"},[_vm._l((data.list),function(item,index){return [(item.content !== undefined)?_c('li',{key:index,staticClass:"quick-reply-item",class:{ 'quick-input': item.edit }},[(!item.edit)?_c('div',{staticClass:"text",on:{"click":function($event){return _vm.setFooterMessage(item.content)}}},[_vm._v(" "+_vm._s(item.content)+" "),_c('span',{staticClass:"operate"},[_c('svg-icon',{staticStyle:{"font-size":"16px"},attrs:{"icon-class":"fasong"},on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickEdit(item, 'send')}}}),(_vm.quickReplyKey === "个人")?_c('a-icon',{attrs:{"type":"edit"},on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickEdit(item, 'show')}}}):_vm._e(),(_vm.quickReplyKey === "个人")?_c('a-icon',{attrs:{"type":"delete"},on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickDelete(item)}}}):_vm._e()],1)]):_c('div',{staticClass:"input"},[_c('a-textarea',{attrs:{"placeholder":_vm.i18nText('1.9.40') + '...',"autosize":"","maxLength":200},on:{"change":_vm.handleChange},model:{value:(item.editValue),callback:function ($$v) {_vm.$set(item, "editValue", $$v)},expression:"item.editValue"}}),_c('div',{staticClass:"confirm"},[_c('span',{staticStyle:{"color":"#969696"},on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickEdit(item, 'cancel')}}},[_vm._v(_vm._s(_vm.i18nText('1.1.1.1.4')))]),_vm._v(" | "),_c('span',{staticStyle:{"color":"#5585F5"},on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickEdit(item, 'ok')}}},[_vm._v(_vm._s(_vm.i18nText('1.1.1.1.3')))])])],1)]):_vm._e()]}),_c('div',{staticStyle:{"text-align":"center","margin-top":"10px"}},[_vm._v(" "+_vm._s(_vm.i18nText('3.5.13'))+"~ ")])],2):_c('div',{staticClass:"quick-reply-no-wrapper"},[_c('img',{attrs:{"src":__webpack_require__("1caa")}}),_c('span',{staticStyle:{"display":"inline-block","margin-top":"20px","font-size":"20px"}},[_vm._v(_vm._s(_vm.i18nText('1.1.6.11')))])])],2)}),1),(_vm.isOrgAdmin || _vm.quickReplyKey === "个人")?_c('div',{staticClass:"quick-add",on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickAdd.apply(null, arguments)}}},[_c('a-icon',{attrs:{"type":"plus"}}),_vm._v(" "+_vm._s(_vm.i18nText('1.9.355'))+" ")],1):_vm._e()],1)}
|
|
6016
6016
|
var quickReplyvue_type_template_id_428cfe0f_staticRenderFns = []
|
|
6017
6017
|
|
|
@@ -6361,7 +6361,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
6361
6361
|
)
|
|
6362
6362
|
|
|
6363
6363
|
/* harmony default export */ var quickReply = (component.exports);
|
|
6364
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6364
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/voice.vue?vue&type=template&id=7e851a0c&scoped=true&
|
|
6365
6365
|
var voicevue_type_template_id_7e851a0c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.canRecordering),expression:"canRecordering"}],staticClass:"voice-page"},[_c('div',{staticClass:"voice-containter"},[_c('a-icon',{staticClass:"close-icon",attrs:{"type":"close"},on:{"click":_vm.closeVoice}}),_c('div',{staticClass:"img-wrap"},[(!_vm.isEndRecord)?_c('div',{staticClass:"end-wrap"},[_c('img',{attrs:{"src":__webpack_require__("fdf2"),"alt":""}}),_c('a-progress',{staticClass:"progress-ele",attrs:{"type":"circle","percent":_vm.percent,"showInfo":false,"width":122,"strokeWidth":2,"showText":false,"strokeColor":'#C80606'},nativeOn:{"click":function($event){return _vm.stopRecored.apply(null, arguments)}}})],1):_c('div',{staticClass:"play-wrap"},[(!_vm.isRecordPlay)?_c('img',{attrs:{"src":__webpack_require__("c2ae"),"alt":""},on:{"click":function($event){return _vm.toggleVoice(true)}}}):_c('img',{attrs:{"src":__webpack_require__("320f"),"alt":""},on:{"click":function($event){return _vm.toggleVoice(false)}}})])]),_c('p',[_vm._v(_vm._s(_vm.voiceText))]),_c('div',{staticClass:"time-wrap"},[_vm._v(_vm._s(_vm.handleVoiceTime))]),_c('div',{staticClass:"btn-wrap"},[_c('span',{on:{"click":_vm.deleteVoice}},[_vm._v("删除")]),_c('span',{staticClass:"send-btn",on:{"click":_vm.uploadFile}},[_vm._v("发送")])])],1),_c('div',{staticStyle:{"display":"none"}},[_c('audio',{ref:"audio",attrs:{"controls":"","autoplay":"","preload":"auto","crossOrigin":"anonymous","media-player":"audioPlayer","src":_vm.curAudioUrl},on:{"ended":_vm.audioEnd}})])])}
|
|
6366
6366
|
var voicevue_type_template_id_7e851a0c_scoped_true_staticRenderFns = []
|
|
6367
6367
|
|
|
@@ -6803,7 +6803,7 @@ var voice_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6803
6803
|
)
|
|
6804
6804
|
|
|
6805
6805
|
/* harmony default export */ var voice = (voice_component.exports);
|
|
6806
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6806
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/modal-user-transfer.vue?vue&type=template&id=f50a4f90&
|
|
6807
6807
|
var modal_user_transfervue_type_template_id_f50a4f90_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"title":_vm.title,"visible":_vm.visible,"maskClosable":false,"mask":true,"width":400,"destroyOnClose":"","okText":_vm.i18nText('1.9.326')},on:{"cancel":_vm.handleCancel,"ok":_vm.handleOk}},[_c('img',{attrs:{"src":__webpack_require__("a703"),"width":"20"}}),_vm._v(" "+_vm._s(_vm.i18nText('1.9.392'))+": "),_c('br'),_c('a-select',{staticStyle:{"width":"100%","margin":"10px 0"},attrs:{"placeholder":_vm.i18nText('1.9.327'),"showSearch":"","filterOption":_vm.filterOption},model:{value:(_vm.converUserId),callback:function ($$v) {_vm.converUserId=$$v},expression:"converUserId"}},_vm._l((_vm.serviceList),function(item,index){return _c('a-select-option',{key:index,attrs:{"value":item.userId}},[_vm._v(_vm._s(item.userName))])}),1),_c('br'),_vm._v(" "+_vm._s(_vm.i18nText('1.9.328'))+": "),_c('a-textarea',{staticStyle:{"margin":"10px 0"},model:{value:(_vm.converMark),callback:function ($$v) {_vm.converMark=$$v},expression:"converMark"}})],1)}
|
|
6808
6808
|
var modal_user_transfervue_type_template_id_f50a4f90_staticRenderFns = []
|
|
6809
6809
|
|
|
@@ -6938,7 +6938,7 @@ var modal_user_transfer_component = Object(componentNormalizer["a" /* default */
|
|
|
6938
6938
|
)
|
|
6939
6939
|
|
|
6940
6940
|
/* harmony default export */ var modal_user_transfer = (modal_user_transfer_component.exports);
|
|
6941
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6941
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/modal-refuse-reason.vue?vue&type=template&id=375e05a7&scoped=true&
|
|
6942
6942
|
var modal_refuse_reasonvue_type_template_id_375e05a7_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"wrapClassName":"standard-modal standard-modal-white has-mask","title":_vm.i18nText('1.9.678'),"visible":_vm.visible,"maskClosable":false,"width":400,"destroyOnClose":"","okText":_vm.i18nText('1.9.326')},on:{"cancel":_vm.handleCancel,"ok":_vm.handleOk}},[_c('div',{staticClass:"reason-tips"},[_vm._v(_vm._s(_vm.i18nText('1.1.6.7') + _vm.i18nText('1.9.678')))]),_c('a-radio-group',{staticClass:"reason-options",model:{value:(_vm.reason),callback:function ($$v) {_vm.reason=$$v},expression:"reason"}},[_vm._l((_vm.reasonList),function(item,i){return _c('a-radio',{key:i,attrs:{"value":i}},[_vm._v(" "+_vm._s(item.text)+" ")])}),_c('a-radio',{key:"-1",attrs:{"value":-1}},[_vm._v(_vm._s(_vm.i18nText('1.9.679')))])],2),_c('div',{staticClass:"reason-remark"},[_c('a-textarea',{attrs:{"disabled":_vm.reason != -1,"placeholder":_vm.i18nText('1.9.40') + _vm.i18nText('1.9.679'),"maxLength":100,"auto-size":{ minRows: 3, maxRows: 5 }},model:{value:(_vm.remark),callback:function ($$v) {_vm.remark=$$v},expression:"remark"}}),_c('div',{staticClass:"word-count"},[_vm._v(_vm._s(_vm.i18nText('1.9.272'))+_vm._s(_vm.remarkLen)+"/100")])],1)],1)}
|
|
6943
6943
|
var modal_refuse_reasonvue_type_template_id_375e05a7_scoped_true_staticRenderFns = []
|
|
6944
6944
|
|
|
@@ -8948,7 +8948,7 @@ module.exports = require("core-js/modules/es.typed-array.find-index.js");
|
|
|
8948
8948
|
/* unused harmony export chatUidUp */
|
|
8949
8949
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getRecallText; });
|
|
8950
8950
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return chatAuthentication; });
|
|
8951
|
-
/* harmony import */ var
|
|
8951
|
+
/* 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");
|
|
8952
8952
|
/* harmony import */ var ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("f2f7");
|
|
8953
8953
|
/* 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__);
|
|
8954
8954
|
/* harmony import */ var ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("23a4");
|
|
@@ -9081,7 +9081,7 @@ function checkTalkingEnv(_x, _x2, _x3) {
|
|
|
9081
9081
|
}
|
|
9082
9082
|
|
|
9083
9083
|
function _checkTalkingEnv() {
|
|
9084
|
-
_checkTalkingEnv = Object(
|
|
9084
|
+
_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) {
|
|
9085
9085
|
var _sips;
|
|
9086
9086
|
|
|
9087
9087
|
var mediaConstraints, getSips, getDeviceAuth, chooseSip, _status, sip, sips, id, status, value;
|
|
@@ -9620,7 +9620,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACN
|
|
|
9620
9620
|
|
|
9621
9621
|
"use strict";
|
|
9622
9622
|
|
|
9623
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9623
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/user-status.vue?vue&type=template&id=492ed1ae&scoped=true&
|
|
9624
9624
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-dropdown',{attrs:{"placement":_vm.placement,"getPopupContainer":function (triggerNode) {
|
|
9625
9625
|
return triggerNode.parentNode || _vm.document.body;
|
|
9626
9626
|
}}},[(_vm.placement === 'bottomCenter')?_c('a-button',[(_vm.statusIcon)?_c('svg-icon',{staticStyle:{"font-size":"16px"},attrs:{"icon-class":_vm.statusIcon}}):_c('img',{attrs:{"src":_vm.getImg(_vm.status),"height":"16"}}),_vm._v(" "+_vm._s(_vm.statusDesc)+" "),_c('a-icon',{attrs:{"type":"down"}})],1):_c('div',{staticClass:"status-btn"},[(_vm.statusIcon)?_c('svg-icon',{staticStyle:{"font-size":"16px"},attrs:{"icon-class":_vm.statusIcon}}):_c('img',{attrs:{"src":_vm.getImg(_vm.status),"height":"16"}}),_vm._v(" "+_vm._s(_vm.statusDesc)+" "),_c('a-icon',{attrs:{"type":"up"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},_vm._l((_vm.statusList),function(ref){
|
|
@@ -11350,7 +11350,7 @@ var actions_deepClone = function deepClone(source) {
|
|
|
11350
11350
|
},
|
|
11351
11351
|
initUniRTC: function initUniRTC(_ref14, obj) {
|
|
11352
11352
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
11353
|
-
var commit, state, uniAppId, uniSecretKey, params, uniRTC, getLoginToken;
|
|
11353
|
+
var commit, state, uniAppId, uniSecretKey, params, uniRTC, getLoginToken, timer, n, registerDeviceToken;
|
|
11354
11354
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
11355
11355
|
while (1) {
|
|
11356
11356
|
switch (_context3.prev = _context3.next) {
|
|
@@ -11442,37 +11442,63 @@ var actions_deepClone = function deepClone(source) {
|
|
|
11442
11442
|
}
|
|
11443
11443
|
};
|
|
11444
11444
|
|
|
11445
|
-
|
|
11446
|
-
|
|
11447
|
-
|
|
11448
|
-
|
|
11449
|
-
var
|
|
11450
|
-
|
|
11451
|
-
|
|
11452
|
-
|
|
11453
|
-
|
|
11454
|
-
|
|
11455
|
-
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
|
|
11468
|
-
|
|
11469
|
-
|
|
11445
|
+
timer = null;
|
|
11446
|
+
n = 0;
|
|
11447
|
+
|
|
11448
|
+
registerDeviceToken = /*#__PURE__*/function () {
|
|
11449
|
+
var _ref16 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
11450
|
+
var _res$data;
|
|
11451
|
+
|
|
11452
|
+
var res;
|
|
11453
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
11454
|
+
while (1) {
|
|
11455
|
+
switch (_context2.prev = _context2.next) {
|
|
11456
|
+
case 0:
|
|
11457
|
+
_context2.next = 2;
|
|
11458
|
+
return chatFetch_default.a.post('/chat/service/registerDeviceToken', chatFetch_["qs"].stringify(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, params), {}, {
|
|
11459
|
+
deviceToken: uniRTC.deviceToken
|
|
11460
|
+
})));
|
|
11461
|
+
|
|
11462
|
+
case 2:
|
|
11463
|
+
res = _context2.sent;
|
|
11464
|
+
|
|
11465
|
+
if (((_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.result) !== 'SUCCESS') {
|
|
11466
|
+
console.log(res.data.resultMsg);
|
|
11467
|
+
}
|
|
11468
|
+
|
|
11469
|
+
case 4:
|
|
11470
|
+
case "end":
|
|
11471
|
+
return _context2.stop();
|
|
11472
|
+
}
|
|
11470
11473
|
}
|
|
11474
|
+
}, _callee2);
|
|
11475
|
+
}));
|
|
11476
|
+
|
|
11477
|
+
return function registerDeviceToken() {
|
|
11478
|
+
return _ref16.apply(this, arguments);
|
|
11479
|
+
};
|
|
11480
|
+
}();
|
|
11481
|
+
|
|
11482
|
+
timer && clearInterval(timer);
|
|
11483
|
+
timer = setInterval(function () {
|
|
11484
|
+
console.log('轮询本机设备token->', uniRTC.deviceToken);
|
|
11485
|
+
n++;
|
|
11486
|
+
|
|
11487
|
+
if (!uniRTC.deviceToken) {
|
|
11488
|
+
if (n > 60) {
|
|
11489
|
+
timer && clearInterval(timer);
|
|
11490
|
+
return;
|
|
11471
11491
|
}
|
|
11472
|
-
}, _callee2);
|
|
11473
|
-
})), 1500);
|
|
11474
11492
|
|
|
11475
|
-
|
|
11493
|
+
uniRTC.reconnect();
|
|
11494
|
+
} else {
|
|
11495
|
+
timer && clearInterval(timer);
|
|
11496
|
+
registerDeviceToken();
|
|
11497
|
+
}
|
|
11498
|
+
}, 1000);
|
|
11499
|
+
commit("setUniRTC", uniRTC);
|
|
11500
|
+
|
|
11501
|
+
case 14:
|
|
11476
11502
|
case "end":
|
|
11477
11503
|
return _context3.stop();
|
|
11478
11504
|
}
|
|
@@ -11870,7 +11896,7 @@ module.exports = require("core-js/modules/es.string.iterator.js");
|
|
|
11870
11896
|
|
|
11871
11897
|
"use strict";
|
|
11872
11898
|
|
|
11873
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11899
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/read-record.vue?vue&type=template&id=7034bfab&
|
|
11874
11900
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.handleClickOutside),expression:"handleClickOutside"}],staticClass:"chat-read-record"},[_c('div',{staticClass:"chat-read-record__title"},[_c('span',[_vm._v("消息接收人列表")]),_c('a-icon',{attrs:{"type":"close"},on:{"click":_vm.handleClickOutside}})],1),_c('div',[_c('div',{staticClass:"chat-read-record__col"},[_c('div',{staticClass:"chat-read-record__total"},[_c('span',{staticClass:"chat-read-record__num"},[_vm._v(_vm._s(_vm.record.unread.length))]),_vm._v(" 人未读 ")]),_c('div',{staticClass:"chat-read-record__users"},_vm._l((_vm.record.unread),function(item){return _c('div',{key:item.userId,staticClass:"chat-read-record__user"},[_c('Avatar',{attrs:{"customStyle":"font-size:12px","src":item.portrait,"size":24,"name":item.name,"len":2}}),_c('div',{staticClass:"chat-read-record__username"},[_vm._v(_vm._s(item.name))])],1)}),0)]),_c('div',{staticClass:"chat-read-record__col"},[_c('div',{staticClass:"chat-read-record__total"},[_c('span',{staticClass:"chat-read-record__num"},[_vm._v(_vm._s(_vm.record.readed.length))]),_vm._v(" 人已读 ")]),_c('div',{staticClass:"chat-read-record__users"},_vm._l((_vm.record.readed),function(item){return _c('div',{key:item.userId,staticClass:"chat-read-record__user"},[_c('Avatar',{attrs:{"customStyle":"font-size:12px","src":item.portrait,"size":24,"name":item.name,"len":2}}),_c('div',{staticClass:"chat-read-record__username"},[_vm._v(_vm._s(item.name))])],1)}),0)])])])}
|
|
11875
11901
|
var staticRenderFns = []
|
|
11876
11902
|
|
|
@@ -12049,10 +12075,10 @@ module.exports = require("ant-design-vue/es/popover/style");
|
|
|
12049
12075
|
|
|
12050
12076
|
"use strict";
|
|
12051
12077
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RtcClient; });
|
|
12052
|
-
/* harmony import */ var
|
|
12053
|
-
/* harmony import */ var
|
|
12054
|
-
/* harmony import */ var
|
|
12055
|
-
/* harmony import */ var
|
|
12078
|
+
/* 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");
|
|
12079
|
+
/* 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");
|
|
12080
|
+
/* 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");
|
|
12081
|
+
/* 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");
|
|
12056
12082
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("d16b");
|
|
12057
12083
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
12058
12084
|
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("f989");
|
|
@@ -12086,7 +12112,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12086
12112
|
function RtcClient(options) {
|
|
12087
12113
|
var _this = this;
|
|
12088
12114
|
|
|
12089
|
-
Object(
|
|
12115
|
+
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);
|
|
12090
12116
|
|
|
12091
12117
|
this.sdkAppId_ = options.sdkAppId;
|
|
12092
12118
|
this.userId_ = options.userId;
|
|
@@ -12119,10 +12145,10 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12119
12145
|
});
|
|
12120
12146
|
}
|
|
12121
12147
|
|
|
12122
|
-
Object(
|
|
12148
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(RtcClient, [{
|
|
12123
12149
|
key: "join",
|
|
12124
12150
|
value: function () {
|
|
12125
|
-
var _join = Object(
|
|
12151
|
+
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() {
|
|
12126
12152
|
var _document$getElementB;
|
|
12127
12153
|
|
|
12128
12154
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -12253,7 +12279,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12253
12279
|
}, {
|
|
12254
12280
|
key: "leave",
|
|
12255
12281
|
value: function () {
|
|
12256
|
-
var _leave = Object(
|
|
12282
|
+
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() {
|
|
12257
12283
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
12258
12284
|
while (1) {
|
|
12259
12285
|
switch (_context2.prev = _context2.next) {
|
|
@@ -12317,7 +12343,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12317
12343
|
}, {
|
|
12318
12344
|
key: "publish",
|
|
12319
12345
|
value: function () {
|
|
12320
|
-
var _publish = Object(
|
|
12346
|
+
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() {
|
|
12321
12347
|
var sip;
|
|
12322
12348
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
12323
12349
|
while (1) {
|
|
@@ -12387,7 +12413,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12387
12413
|
}, {
|
|
12388
12414
|
key: "unpublish",
|
|
12389
12415
|
value: function () {
|
|
12390
|
-
var _unpublish = Object(
|
|
12416
|
+
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) {
|
|
12391
12417
|
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
12392
12418
|
while (1) {
|
|
12393
12419
|
switch (_context4.prev = _context4.next) {
|
|
@@ -12565,7 +12591,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12565
12591
|
}, {
|
|
12566
12592
|
key: "toggleScreen",
|
|
12567
12593
|
value: function () {
|
|
12568
|
-
var _toggleScreen = Object(
|
|
12594
|
+
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) {
|
|
12569
12595
|
var _this$localStream_, client_, stream;
|
|
12570
12596
|
|
|
12571
12597
|
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
@@ -12657,7 +12683,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12657
12683
|
|
|
12658
12684
|
case 34:
|
|
12659
12685
|
this.screen = flag;
|
|
12660
|
-
return _context5.abrupt("return", new RtcClient(Object(
|
|
12686
|
+
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), {}, {
|
|
12661
12687
|
options: options,
|
|
12662
12688
|
openVideo: true,
|
|
12663
12689
|
screen: this.screen
|
|
@@ -13214,9 +13240,9 @@ module.exports = require("ant-design-vue/es/menu");
|
|
|
13214
13240
|
|
|
13215
13241
|
"use strict";
|
|
13216
13242
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ObserverScroll; });
|
|
13217
|
-
/* harmony import */ var
|
|
13218
|
-
/* harmony import */ var
|
|
13219
|
-
/* harmony import */ var
|
|
13243
|
+
/* 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");
|
|
13244
|
+
/* 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");
|
|
13245
|
+
/* 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");
|
|
13220
13246
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("97d3");
|
|
13221
13247
|
/* 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__);
|
|
13222
13248
|
/* harmony import */ var core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("8535");
|
|
@@ -13241,11 +13267,11 @@ module.exports = require("ant-design-vue/es/menu");
|
|
|
13241
13267
|
|
|
13242
13268
|
var ObserverScroll = /*#__PURE__*/function () {
|
|
13243
13269
|
function ObserverScroll(root, cb) {
|
|
13244
|
-
Object(
|
|
13270
|
+
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);
|
|
13245
13271
|
|
|
13246
|
-
Object(
|
|
13272
|
+
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());
|
|
13247
13273
|
|
|
13248
|
-
Object(
|
|
13274
|
+
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);
|
|
13249
13275
|
|
|
13250
13276
|
this.once = true;
|
|
13251
13277
|
this.cb = cb;
|
|
@@ -13255,7 +13281,7 @@ var ObserverScroll = /*#__PURE__*/function () {
|
|
|
13255
13281
|
});
|
|
13256
13282
|
}
|
|
13257
13283
|
|
|
13258
|
-
Object(
|
|
13284
|
+
Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(ObserverScroll, [{
|
|
13259
13285
|
key: "handler",
|
|
13260
13286
|
value: function handler(entries) {
|
|
13261
13287
|
var _this = this;
|
|
@@ -13932,7 +13958,7 @@ var es_promise_finally = __webpack_require__("a79d");
|
|
|
13932
13958
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
13933
13959
|
var es_function_name_js_ = __webpack_require__("db0a");
|
|
13934
13960
|
|
|
13935
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13961
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/client/index.vue?vue&type=template&id=25007efe&scoped=true&
|
|
13936
13962
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"clientIndex"},[_c('a-spin',{staticStyle:{"width":"100%","height":"100%"},attrs:{"tip":((_vm.i18nText('3.2.8')) + "..."),"spinning":_vm.spinning}},[(!_vm.spinning)?[(_vm.isRobot)?_c('robotChat',{attrs:{"chatURL":_vm.chatURL},on:{"goCustomServe":_vm.goCustomServe}}):_c('clientChat',_vm._b({attrs:{"chatURL":_vm.chatURL,"isCustomServe":_vm.isCustomServe}},'clientChat',_vm.$attrs,false))]:_vm._e()],2)],1)}
|
|
13937
13963
|
var staticRenderFns = []
|
|
13938
13964
|
|
|
@@ -13970,7 +13996,7 @@ var create = __webpack_require__("8aef");
|
|
|
13970
13996
|
// EXTERNAL MODULE: ./packages/multi-chat/store/helper.js
|
|
13971
13997
|
var helper = __webpack_require__("e3c5");
|
|
13972
13998
|
|
|
13973
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13999
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/client/clientChat.vue?vue&type=template&id=f1389824&scoped=true&
|
|
13974
14000
|
var clientChatvue_type_template_id_f1389824_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"online-chat client-chat"},[_c('a-layout',[_c('a-layout-header',[_vm._v(" "+_vm._s(_vm.chatTitle)+" "),(_vm.sessionTimer)?_c('span',{staticClass:"session-time",staticStyle:{"flex":"1","text-align":"center","color":"red"}},[_vm._v(" "+_vm._s(_vm.i18nText('1.9.324'))+": "+_vm._s(_vm.formatedSessionTime)+" ")]):_vm._e()]),_c('chat-main'),(_vm.queueMsg)?_c('div',{staticClass:"notice-bottom"},[_c('svg-icon',{attrs:{"icon-class":"anniuyuyue"}}),_c('span',{domProps:{"innerHTML":_vm._s(_vm.queueMsg)}})],1):_vm._e(),_c('chat-footer',{attrs:{"validTalkingEnv":_vm.validTalkingEnv}})],1),(_vm.evaluateModal)?_c('Evaluate',{attrs:{"orgId":_vm.accessParams.orgId,"evaluateSetting":_vm.evaluateSetting},on:{"closeEvaluate":_vm.closeEvaluate}}):_vm._e(),(_vm.showVideo)?_c('ChatVideo'):_vm._e(),(_vm.showAudio)?_c('ChatAudio',{attrs:{"validTalkingEnv":_vm.validTalkingEnv}}):_vm._e()],1)}
|
|
13975
14001
|
var clientChatvue_type_template_id_f1389824_scoped_true_staticRenderFns = []
|
|
13976
14002
|
|
|
@@ -14023,7 +14049,7 @@ var chatFooter = __webpack_require__("61f8");
|
|
|
14023
14049
|
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatMain.vue + 3 modules
|
|
14024
14050
|
var chatMain = __webpack_require__("3cee");
|
|
14025
14051
|
|
|
14026
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14052
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/evaluate.vue?vue&type=template&id=018624f2&scoped=true&
|
|
14027
14053
|
var evaluatevue_type_template_id_018624f2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"evaluate-page"},[_c('a-modal',{staticClass:"evaluate-modal",attrs:{"visible":_vm.isEvaluate,"maskClosable":false,"width":'60%',"okText":_vm.i18nText('1.10.138'),"cancelText":_vm.i18nText('1.1.1.1.4')},on:{"ok":_vm.submitEvaluate,"cancel":function($event){return _vm.$emit('closeEvaluate', false)}}},[_c('div',[_c('p',{staticStyle:{"font-size":"16px","color":"#000"}},[_vm._v(_vm._s(_vm.i18nText("3.11.62")))]),(_vm.starCount > 2)?_c('span',{staticClass:"rate-wrap"},[_c('a-rate',{attrs:{"count":_vm.starCount,"allowClear":false},on:{"change":_vm.changeRate},model:{value:(_vm.star),callback:function ($$v) {_vm.star=$$v},expression:"star"}}),_c('span',{staticClass:"ant-rate-text ellips"},[_vm._v(_vm._s(_vm.starTitle))])],1):_c('span',{staticClass:"rate-two"},[_c('div',[(_vm.setting.starSetting[1].star == 2)?_c('a-icon',{class:{ 'rate-checked': _vm.star == _vm.setting.starSetting[1].star },attrs:{"type":"like","theme":_vm.star == _vm.setting.starSetting[1].star ? 'filled' : 'outlined'},on:{"click":function($event){return _vm.changeRate(_vm.setting.starSetting[1].star)}}}):_vm._e(),_c('span',{staticClass:"ellips",staticStyle:{"margin-top":"8px"}},[_vm._v(_vm._s(_vm.setting.starSetting[1].title))])],1),_c('div',[(_vm.setting.starSetting[0].star == 1)?_c('a-icon',{class:{ 'rate-checked': _vm.star == _vm.setting.starSetting[0].star },attrs:{"type":"dislike","theme":_vm.star == _vm.setting.starSetting[0].star ? 'filled' : 'outlined'},on:{"click":function($event){return _vm.changeRate(_vm.setting.starSetting[0].star)}}}):_vm._e(),_c('span',{staticClass:"ellips",staticStyle:{"margin-top":"8px"}},[_vm._v(_vm._s(_vm.setting.starSetting[0].title))])],1)])]),(_vm.rateTags.length > 0)?_c('div',[_c('p',[_vm._v(_vm._s(_vm.i18nText("1.9.393")))]),_vm._l((_vm.rateTags),function(tag){return [_c('a-checkable-tag',{key:tag,attrs:{"checked":_vm.selectedTags.indexOf(tag) > -1},on:{"change":function (checked) { return _vm.changeTag(tag, checked); }}},[_vm._v(_vm._s(tag))])]})],2):_vm._e(),(_vm.usageMode != 'form')?_vm._t("default",function(){return [(_vm.problemSolved === 'Y')?_c('div',[_c('p',[_vm._v(_vm._s(_vm.i18nText("1.9.347")))]),_c('a-radio-group',{model:{value:(_vm.solved),callback:function ($$v) {_vm.solved=$$v},expression:"solved"}},[_c('a-radio',{attrs:{"value":"N"}},[_vm._v(_vm._s(_vm.i18nText("1.9.394")))]),_c('a-radio',{attrs:{"value":"Y"}},[_vm._v(_vm._s(_vm.i18nText("1.9.395")))])],1)],1):_vm._e()]}):_vm._e(),_c('div',{staticStyle:{"margin-top":"16px"}},[_c('a-textarea',{staticClass:"remark-input",attrs:{"placeholder":_vm.i18nText('1.9.396')},model:{value:(_vm.remark),callback:function ($$v) {_vm.remark=$$v},expression:"remark"}})],1)],2)],1)}
|
|
14028
14054
|
var evaluatevue_type_template_id_018624f2_scoped_true_staticRenderFns = []
|
|
14029
14055
|
|
|
@@ -15229,7 +15255,7 @@ var clientChat_component = Object(componentNormalizer["a" /* default */])(
|
|
|
15229
15255
|
)
|
|
15230
15256
|
|
|
15231
15257
|
/* harmony default export */ var clientChat = (clientChat_component.exports);
|
|
15232
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15258
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/chat/robot/index.vue?vue&type=template&id=c7d05068&scoped=true&
|
|
15233
15259
|
var robotvue_type_template_id_c7d05068_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"online-chat robot-chat"},[_c('a-layout',[_c('a-layout-header',[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.chatTitle))]),(_vm.showCustomServe)?_c('span',{staticClass:"custom-serve",on:{"click":function($event){return _vm.$emit('goCustomServe')}}},[_vm._v(" 转人工客服 ")]):_vm._e()]),_c('chat-main',_vm._g({attrs:{"curChatType":'robot',"robotAvatar":_vm.robotAvatar},on:{"sendQuestion":_vm.sendQuestion,"sendIntention":_vm.sendIntention,"sendDictionary":_vm.sendDictionary}},_vm.$listeners),[(_vm.stompStatus)?_c('a-alert',{attrs:{"type":"warning","message":_vm.stompStatus,"show-icon":""}},[_c('a-icon',{attrs:{"slot":"icon","type":"exclamation-circle"},slot:"icon"})],1):_vm._e()],1),_c('chat-footer',{attrs:{"curChatType":'robot',"clientFinish":_vm.clientFinish}})],1),(_vm.evaluateModal)?_c('Evaluate',{attrs:{"orgId":_vm.accessParams.orgId,"evaluateSetting":_vm.evaluateSetting},on:{"closeEvaluate":_vm.closeEvaluate}}):_vm._e()],1)}
|
|
15234
15260
|
var robotvue_type_template_id_c7d05068_scoped_true_staticRenderFns = []
|
|
15235
15261
|
|
|
@@ -15918,7 +15944,7 @@ module.exports = require("core-js/modules/es.typed-array.uint8-array.js");
|
|
|
15918
15944
|
|
|
15919
15945
|
"use strict";
|
|
15920
15946
|
|
|
15921
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15947
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ce6d452c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/component/svg/index.vue?vue&type=template&id=116546f7&scoped=true&
|
|
15922
15948
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',_vm._g({class:_vm.svgClass,attrs:{"aria-hidden":"true"}},_vm.$listeners),[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e(),_c('use',{attrs:{"xlink:href":_vm.iconName}})])}
|
|
15923
15949
|
var staticRenderFns = []
|
|
15924
15950
|
|
|
@@ -16079,8 +16105,8 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
16079
16105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16080
16106
|
|
|
16081
16107
|
"use strict";
|
|
16082
|
-
/* harmony import */ var
|
|
16083
|
-
/* harmony import */ var
|
|
16108
|
+
/* 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");
|
|
16109
|
+
/* 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");
|
|
16084
16110
|
/* harmony import */ var ant_design_vue_es_carousel_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("7442");
|
|
16085
16111
|
/* 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__);
|
|
16086
16112
|
/* harmony import */ var ant_design_vue_es_carousel__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("34fc");
|
|
@@ -16109,9 +16135,9 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
16109
16135
|
/* 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__);
|
|
16110
16136
|
/* harmony import */ var ant_design_vue_es_modal__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("929f");
|
|
16111
16137
|
/* 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__);
|
|
16112
|
-
/* harmony import */ var
|
|
16113
|
-
/* harmony import */ var
|
|
16114
|
-
/* harmony import */ var
|
|
16138
|
+
/* 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");
|
|
16139
|
+
/* 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");
|
|
16140
|
+
/* 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");
|
|
16115
16141
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("d16b");
|
|
16116
16142
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
16117
16143
|
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("0d58");
|
|
@@ -16275,7 +16301,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16275
16301
|
readRecordList: []
|
|
16276
16302
|
};
|
|
16277
16303
|
},
|
|
16278
|
-
computed: Object(
|
|
16304
|
+
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'])), {}, {
|
|
16279
16305
|
orgId: function orgId() {
|
|
16280
16306
|
var _this$userInfo, _this$userInfo$sysPar;
|
|
16281
16307
|
|
|
@@ -16398,7 +16424,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16398
16424
|
created: function created() {
|
|
16399
16425
|
this.attachEvent();
|
|
16400
16426
|
},
|
|
16401
|
-
methods: Object(
|
|
16427
|
+
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"])({
|
|
16402
16428
|
getEarlierMsg: 'setMsgList',
|
|
16403
16429
|
handleBotChat: 'handleBotChat',
|
|
16404
16430
|
sendMessage: 'sendMessage'
|
|
@@ -16648,7 +16674,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16648
16674
|
_data$params = data.params,
|
|
16649
16675
|
params = _data$params === void 0 ? [] : _data$params,
|
|
16650
16676
|
openMode = data.openMode;
|
|
16651
|
-
dispatch && this.dispatchEvent('click_templateCard', Object(
|
|
16677
|
+
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));
|
|
16652
16678
|
if (!address) return;
|
|
16653
16679
|
|
|
16654
16680
|
if (targetType === 'LINK_ADDRESS') {
|
|
@@ -16713,8 +16739,8 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16713
16739
|
if (data.result === 'SUCCESS') {
|
|
16714
16740
|
var _this4$getContent;
|
|
16715
16741
|
|
|
16716
|
-
_this4.dispatchEvent('msg_recallSuccess', Object(
|
|
16717
|
-
message: Object(
|
|
16742
|
+
_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"])({
|
|
16743
|
+
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)
|
|
16718
16744
|
}, params));
|
|
16719
16745
|
|
|
16720
16746
|
_this4.$set(item, 'recallFlag', 1); // 撤回成功提示
|
|
@@ -16874,7 +16900,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16874
16900
|
});
|
|
16875
16901
|
},
|
|
16876
16902
|
postReadMessage: function postReadMessage(data) {
|
|
16877
|
-
_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(
|
|
16903
|
+
_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"])({
|
|
16878
16904
|
assemblyId: this.assemblyId,
|
|
16879
16905
|
orgId: this.orgId,
|
|
16880
16906
|
userId: this.userId,
|
|
@@ -16949,7 +16975,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16949
16975
|
handleOpenPortraitPanel: function handleOpenPortraitPanel(item) {
|
|
16950
16976
|
var _this8 = this;
|
|
16951
16977
|
|
|
16952
|
-
return Object(
|
|
16978
|
+
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() {
|
|
16953
16979
|
var _this8$assemblySettin;
|
|
16954
16980
|
|
|
16955
16981
|
var portraitPanelParams, clientParams, panelSetting;
|
|
@@ -17065,7 +17091,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17065
17091
|
*/
|
|
17066
17092
|
handleSessionIdChange: function handleSessionIdChange(e) {
|
|
17067
17093
|
var _e$target$value$split = e.target.value.split('-'),
|
|
17068
|
-
_e$target$value$split2 = Object(
|
|
17094
|
+
_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),
|
|
17069
17095
|
sessionId = _e$target$value$split2[0],
|
|
17070
17096
|
serviceId = _e$target$value$split2[1];
|
|
17071
17097
|
|
|
@@ -17143,7 +17169,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17143
17169
|
},
|
|
17144
17170
|
components: (_components = {
|
|
17145
17171
|
AModal: ant_design_vue_es_modal__WEBPACK_IMPORTED_MODULE_15___default.a
|
|
17146
|
-
}, Object(
|
|
17172
|
+
}, 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"]), Object(E_project_cnhis_design_vue_chat_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "Viewer", v_viewer_src_component_vue__WEBPACK_IMPORTED_MODULE_50___default.a), _components),
|
|
17147
17173
|
watch: {
|
|
17148
17174
|
msgList: function msgList() {
|
|
17149
17175
|
this.observeMsg();
|
|
@@ -17155,9 +17181,9 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17155
17181
|
var newArr = [];
|
|
17156
17182
|
|
|
17157
17183
|
if (_utils_vexutils__WEBPACK_IMPORTED_MODULE_52___default.a.isPlainObject(this.message)) {
|
|
17158
|
-
newArr = [].concat(Object(
|
|
17184
|
+
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]);
|
|
17159
17185
|
} else if (_utils_vexutils__WEBPACK_IMPORTED_MODULE_52___default.a.isArray(this.message)) {
|
|
17160
|
-
newArr = [].concat(Object(
|
|
17186
|
+
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));
|
|
17161
17187
|
}
|
|
17162
17188
|
|
|
17163
17189
|
this.setMsgList(newArr);
|