cnhis-design-vue 2.1.19 → 2.1.22
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 +51 -0
- package/es/age/index.js +2 -2
- package/es/big-table/index.js +109 -122
- package/es/big-table/style.css +1 -1
- package/es/button/index.js +35 -38
- package/es/captcha/index.js +3 -3
- package/es/checkbox/index.js +1 -1
- package/es/color-picker/index.js +1 -1
- package/es/drag-layout/index.js +36 -39
- package/es/editor/index.js +11 -31
- package/es/fabric-chart/index.js +254 -231
- package/es/form-table/index.js +62 -85
- package/es/index/index.js +689 -592
- package/es/index/style.css +1 -1
- package/es/input/index.js +1 -1
- package/es/map/index.js +1 -1
- package/es/multi-chat/index.js +210 -196
- package/es/multi-chat/style.css +1 -1
- package/es/multi-chat-client/index.js +203 -189
- package/es/multi-chat-client/style.css +1 -1
- package/es/multi-chat-history/index.js +37 -40
- package/es/multi-chat-record/index.js +37 -40
- package/es/multi-chat-setting/index.js +54 -57
- package/es/multi-chat-sip/index.js +1 -1
- package/es/radio/index.js +1 -1
- package/es/scale-view/index.js +70 -93
- package/es/select/index.js +36 -39
- package/es/select-label/index.js +47 -70
- package/es/select-person/index.js +35 -38
- package/es/table-filter/index.js +149 -145
- package/es/table-filter/style.css +1 -1
- package/es/tag/index.js +34 -37
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +783 -682
- package/lib/cui.umd.js +783 -682
- package/lib/cui.umd.min.js +24 -24
- package/package.json +1 -1
- package/packages/big-table/src/BigTable.vue +6 -1
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +81 -50
- package/packages/multi-chat/chat/chatFooter.vue +1 -5
- package/packages/multi-chat/chat/chatMain.vue +29 -5
- package/packages/table-filter/src/const/dataOptions.js +10 -10
- package/packages/table-filter/src/quick-search/QuickSearch.vue +26 -0
|
@@ -266,17 +266,6 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
266
266
|
});
|
|
267
267
|
|
|
268
268
|
|
|
269
|
-
/***/ }),
|
|
270
|
-
|
|
271
|
-
/***/ "0d21":
|
|
272
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
273
|
-
|
|
274
|
-
"use strict";
|
|
275
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
|
|
276
|
-
function _arrayWithHoles(arr) {
|
|
277
|
-
if (Array.isArray(arr)) return arr;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
269
|
/***/ }),
|
|
281
270
|
|
|
282
271
|
/***/ "0d58":
|
|
@@ -302,7 +291,7 @@ module.exports = require("core-js/modules/es.array.find.js");
|
|
|
302
291
|
|
|
303
292
|
"use strict";
|
|
304
293
|
|
|
305
|
-
// 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":"44f1b572-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&
|
|
306
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()])])}
|
|
307
296
|
var staticRenderFns = []
|
|
308
297
|
|
|
@@ -922,7 +911,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABz
|
|
|
922
911
|
|
|
923
912
|
"use strict";
|
|
924
913
|
|
|
925
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
914
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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=d12da2a6&scoped=true&
|
|
926
915
|
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:({
|
|
927
916
|
height: _vm.size === 'big' ? '40px' : '30px',
|
|
928
917
|
lineHeight: _vm.size === 'big' ? '40px' : '30px',
|
|
@@ -1641,9 +1630,38 @@ var arrayLikeToArray = __webpack_require__("6b75");
|
|
|
1641
1630
|
function _arrayWithoutHoles(arr) {
|
|
1642
1631
|
if (Array.isArray(arr)) return Object(arrayLikeToArray["a" /* default */])(arr);
|
|
1643
1632
|
}
|
|
1644
|
-
// EXTERNAL MODULE:
|
|
1645
|
-
var
|
|
1633
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
1634
|
+
var es_symbol_js_ = __webpack_require__("9b22");
|
|
1635
|
+
|
|
1636
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.description.js"
|
|
1637
|
+
var es_symbol_description_js_ = __webpack_require__("4933");
|
|
1638
|
+
|
|
1639
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
|
|
1640
|
+
var es_object_to_string_js_ = __webpack_require__("97d3");
|
|
1641
|
+
|
|
1642
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.iterator.js"
|
|
1643
|
+
var es_symbol_iterator_js_ = __webpack_require__("2ff9");
|
|
1644
|
+
|
|
1645
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.iterator.js"
|
|
1646
|
+
var es_string_iterator_js_ = __webpack_require__("9bb5");
|
|
1647
|
+
|
|
1648
|
+
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
|
|
1649
|
+
var web_dom_collections_iterator_js_ = __webpack_require__("1a25");
|
|
1650
|
+
|
|
1651
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.from.js"
|
|
1652
|
+
var es_array_from_js_ = __webpack_require__("4362");
|
|
1653
|
+
|
|
1654
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
1655
|
+
|
|
1656
|
+
|
|
1646
1657
|
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
function _iterableToArray(iter) {
|
|
1663
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
1664
|
+
}
|
|
1647
1665
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
1648
1666
|
var unsupportedIterableToArray = __webpack_require__("06c5");
|
|
1649
1667
|
|
|
@@ -1657,7 +1675,7 @@ function _nonIterableSpread() {
|
|
|
1657
1675
|
|
|
1658
1676
|
|
|
1659
1677
|
function _toConsumableArray(arr) {
|
|
1660
|
-
return _arrayWithoutHoles(arr) ||
|
|
1678
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || Object(unsupportedIterableToArray["a" /* default */])(arr) || _nonIterableSpread();
|
|
1661
1679
|
}
|
|
1662
1680
|
|
|
1663
1681
|
/***/ }),
|
|
@@ -2075,6 +2093,17 @@ module.exports = function (it) {
|
|
|
2075
2093
|
};
|
|
2076
2094
|
|
|
2077
2095
|
|
|
2096
|
+
/***/ }),
|
|
2097
|
+
|
|
2098
|
+
/***/ "377e":
|
|
2099
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2100
|
+
|
|
2101
|
+
"use strict";
|
|
2102
|
+
/* 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_chatFooter_vue_vue_type_style_index_1_id_c3a886ac_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f36a");
|
|
2103
|
+
/* 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_chatFooter_vue_vue_type_style_index_1_id_c3a886ac_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_chatFooter_vue_vue_type_style_index_1_id_c3a886ac_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2104
|
+
/* unused harmony reexport * */
|
|
2105
|
+
|
|
2106
|
+
|
|
2078
2107
|
/***/ }),
|
|
2079
2108
|
|
|
2080
2109
|
/***/ "37e8":
|
|
@@ -2109,9 +2138,10 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
|
|
|
2109
2138
|
// EXPORTS
|
|
2110
2139
|
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _slicedToArray; });
|
|
2111
2140
|
|
|
2112
|
-
//
|
|
2113
|
-
|
|
2114
|
-
|
|
2141
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
2142
|
+
function _arrayWithHoles(arr) {
|
|
2143
|
+
if (Array.isArray(arr)) return arr;
|
|
2144
|
+
}
|
|
2115
2145
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
2116
2146
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
2117
2147
|
|
|
@@ -2169,16 +2199,17 @@ function _iterableToArrayLimit(arr, i) {
|
|
|
2169
2199
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
2170
2200
|
var unsupportedIterableToArray = __webpack_require__("06c5");
|
|
2171
2201
|
|
|
2172
|
-
//
|
|
2173
|
-
|
|
2174
|
-
|
|
2202
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
2203
|
+
function _nonIterableRest() {
|
|
2204
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2205
|
+
}
|
|
2175
2206
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
|
|
2176
2207
|
|
|
2177
2208
|
|
|
2178
2209
|
|
|
2179
2210
|
|
|
2180
2211
|
function _slicedToArray(arr, i) {
|
|
2181
|
-
return
|
|
2212
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || Object(unsupportedIterableToArray["a" /* default */])(arr, i) || _nonIterableRest();
|
|
2182
2213
|
}
|
|
2183
2214
|
|
|
2184
2215
|
/***/ }),
|
|
@@ -2188,7 +2219,7 @@ function _slicedToArray(arr, i) {
|
|
|
2188
2219
|
|
|
2189
2220
|
"use strict";
|
|
2190
2221
|
|
|
2191
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2222
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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&
|
|
2192
2223
|
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()])}
|
|
2193
2224
|
var staticRenderFns = []
|
|
2194
2225
|
|
|
@@ -2440,28 +2471,24 @@ module.exports = function (it) {
|
|
|
2440
2471
|
|
|
2441
2472
|
"use strict";
|
|
2442
2473
|
|
|
2443
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2444
|
-
var render = function () {
|
|
2445
|
-
var this$1 = this;
|
|
2446
|
-
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:{
|
|
2474
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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=f2490ce6&scoped=true&
|
|
2475
|
+
var render = function () {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:{
|
|
2447
2476
|
content: true,
|
|
2448
2477
|
'has-dictionary': item.dictionaryValues && item.dictionaryValues.length,
|
|
2449
2478
|
'has-intention': item.intentionList && item.intentionList.length
|
|
2450
|
-
}},[_c('p',{domProps:{"innerHTML":_vm._s(_vm.getContentHtml(item))}}),(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":
|
|
2451
|
-
this$1.modalShow = false;
|
|
2452
|
-
}}},[(_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)}
|
|
2479
|
+
}},[_c('p',{domProps:{"innerHTML":_vm._s(_vm.getContentHtml(item))}}),(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":_vm.handleClose}},[(_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)}
|
|
2453
2480
|
var staticRenderFns = []
|
|
2454
2481
|
|
|
2455
2482
|
|
|
2456
|
-
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=template&id=
|
|
2483
|
+
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=template&id=f2490ce6&scoped=true&
|
|
2457
2484
|
|
|
2458
2485
|
// 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&
|
|
2459
2486
|
var chatMainvue_type_script_lang_js_ = __webpack_require__("dba2");
|
|
2460
2487
|
|
|
2461
2488
|
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=script&lang=js&
|
|
2462
2489
|
/* harmony default export */ var chat_chatMainvue_type_script_lang_js_ = (chatMainvue_type_script_lang_js_["a" /* default */]);
|
|
2463
|
-
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=style&index=0&id=
|
|
2464
|
-
var
|
|
2490
|
+
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=style&index=0&id=f2490ce6&lang=less&scoped=true&
|
|
2491
|
+
var chatMainvue_type_style_index_0_id_f2490ce6_lang_less_scoped_true_ = __webpack_require__("6a44");
|
|
2465
2492
|
|
|
2466
2493
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
2467
2494
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -2481,7 +2508,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
2481
2508
|
staticRenderFns,
|
|
2482
2509
|
false,
|
|
2483
2510
|
null,
|
|
2484
|
-
"
|
|
2511
|
+
"f2490ce6",
|
|
2485
2512
|
null
|
|
2486
2513
|
|
|
2487
2514
|
)
|
|
@@ -2490,17 +2517,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
2490
2517
|
|
|
2491
2518
|
/***/ }),
|
|
2492
2519
|
|
|
2493
|
-
/***/ "3d8c":
|
|
2494
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2495
|
-
|
|
2496
|
-
"use strict";
|
|
2497
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; });
|
|
2498
|
-
function _nonIterableRest() {
|
|
2499
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2500
|
-
}
|
|
2501
|
-
|
|
2502
|
-
/***/ }),
|
|
2503
|
-
|
|
2504
2520
|
/***/ "3dbc":
|
|
2505
2521
|
/***/ (function(module, exports) {
|
|
2506
2522
|
|
|
@@ -2535,7 +2551,7 @@ module.exports = {};
|
|
|
2535
2551
|
|
|
2536
2552
|
"use strict";
|
|
2537
2553
|
|
|
2538
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2554
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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=079f6956&scoped=true&
|
|
2539
2555
|
var render = function () {
|
|
2540
2556
|
var this$1 = this;
|
|
2541
2557
|
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 () {
|
|
@@ -3715,13 +3731,6 @@ module.exports = function (input, pref) {
|
|
|
3715
3731
|
};
|
|
3716
3732
|
|
|
3717
3733
|
|
|
3718
|
-
/***/ }),
|
|
3719
|
-
|
|
3720
|
-
/***/ "48cb":
|
|
3721
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3722
|
-
|
|
3723
|
-
// extracted by mini-css-extract-plugin
|
|
3724
|
-
|
|
3725
3734
|
/***/ }),
|
|
3726
3735
|
|
|
3727
3736
|
/***/ "4930":
|
|
@@ -4040,7 +4049,7 @@ var store = __webpack_require__("c6cd");
|
|
|
4040
4049
|
|
|
4041
4050
|
"use strict";
|
|
4042
4051
|
|
|
4043
|
-
// 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":"44f1b572-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=772db65b&scoped=true&
|
|
4044
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("屏幕共享")])])])])])}
|
|
4045
4054
|
var staticRenderFns = []
|
|
4046
4055
|
|
|
@@ -5574,7 +5583,7 @@ module.exports = !$assign || fails(function () {
|
|
|
5574
5583
|
|
|
5575
5584
|
"use strict";
|
|
5576
5585
|
|
|
5577
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5586
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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=c3a886ac&scoped=true&
|
|
5578
5587
|
var render = function () {
|
|
5579
5588
|
var this$1 = this;
|
|
5580
5589
|
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:([
|
|
@@ -5582,17 +5591,15 @@ var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layo
|
|
|
5582
5591
|
{
|
|
5583
5592
|
valuePropName: 'fileList'
|
|
5584
5593
|
}
|
|
5585
|
-
]),expression:"[\n 'upload',\n {\n valuePropName: 'fileList'\n }\n ]"}],staticClass:"operate-icon",attrs:{"beforeUpload":_vm.beforeUpload}},[_c('a-tooltip',{attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_vm._v(_vm._s(_vm.i18nText('1.9.181')))]),_c('svg-icon',{staticClass:"toolbar",attrs:{"icon-class":"liaotiantupian1"}})],2)],1):_vm._e(),_c('a-popover',{attrs:{"title":_vm.i18nText('1.9.354'),"trigger":"click"},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_c('a',{attrs:{"slot":"content"},slot:"content"},[_c('div',{staticClass:"emoji-wrapper"},_vm._l((_vm.emojiList),function(item,index){return _c('p',{key:index,class:['twa', 'emoji', item],on:{"click":function () { return _vm.handleEmojiClick(item); }}})}),0)]),_c('a-tooltip',{attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_vm._v(_vm._s(_vm.i18nText('1.9.354')))]),(_vm.isShow('SMILINEFACE'))?_c('svg-icon',{staticClass:"toolbar",attrs:{"icon-class":"liaotianbiaoqing1"},on:{"click":_vm.showEmoji}}):_vm._e()],2)],1),_vm._l((_vm.toolbar),function(item,index){return [_c('a-tooltip',{key:index,attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_vm._v(_vm._s(item.name))]),_c('svg-icon',{staticClass:"toolbar",class:{ 'closed-toolbar': _vm.closedSession },attrs:{"icon-class":item.icon},on:{"click":function($event){return _vm.handleToolBarClick(item)}}})],2)]}),_c('a-tooltip',{attrs:{"placement":"top","title":'快捷回复'}},[_c('a-popover',{attrs:{"trigger":"click","overlayClassName":"quick-reply","placement":"topLeft"},model:{value:(_vm.quickShow),callback:function ($$v) {_vm.quickShow=$$v},expression:"quickShow"}},[_c('template',{slot:"content"},[_c('quick-reply',{attrs:{"quickShow":_vm.quickShow,"quickData":_vm.quickData},on:{"update:quickShow":function($event){_vm.quickShow=$event},"update:quick-show":function($event){_vm.quickShow=$event}}})],1),(_vm.isShow('FASTREPLY') && _vm.isServer)?_c('svg-icon',{staticClass:"toolbar",attrs:{"icon-class":"liaotiankuaijiehuifu1"},on:{"click":_vm.openQuickData}}):_vm._e()],2)],1),_c('a-tooltip',{attrs:{"title":'语音通话'}},[(_vm.isShow('VOICE_CALL'))?_c('svg-icon',{staticClass:"toolbar",attrs:{"icon-class":"liaotianyuyindianhua"},on:{"click":function($event){return _vm.handleVideoClick('voice')}}}):_vm._e()],1),_c('a-tooltip',{attrs:{"title":'发送语音'}},[(_vm.isShow('VOICE'))?_c('svg-icon',{staticClass:"toolbar",class:{ 'click-voice': _vm.showVoice },attrs:{"icon-class":"liaotianyuyin1"},on:{"click":function($event){return _vm.handleVoice(true)}}}):_vm._e()],1),_c('a-tooltip',{attrs:{"title":'视频通话'}},[(_vm.isShow('VIDEO'))?_c('svg-icon',{staticClass:"toolbar",attrs:{"icon-class":"liaotianshipin1"},on:{"click":function($event){return _vm.handleVideoClick('video')}}}):_vm._e()],1)],2),_c('div',{staticClass:"message",staticStyle:{"text-align":"left"}},[_c('div',{staticClass:"content-edit"},[_c('div',{ref:"contentEdit",attrs:{"contenteditable":"true"},on:{"click":_vm.saveRange,"keyup":function($event){if($event.ctrlKey||$event.shiftKey||$event.altKey||$event.metaKey){ return null; }return _vm.saveRange.apply(null, arguments)},"change":_vm.changeData,"input":_vm.handleInput,"compositionstart":function () { return (this$1.ping = true); },"compositionend":function () { return (this$1.ping = false); },"keydown":_vm.handleKeyDown,"paste":_vm.handlePaste}})]),_c('span',{staticClass:"prompt"},[_vm._v("Enter "+_vm._s(_vm.i18nText('1.2.1.11.6'))+", Ctrl + Enter "+_vm._s(_vm.i18nText('1.9.356')))]),_c('a-button',{staticClass:"message-send",attrs:{"disabled":_vm.sendDisabled},on:{"click":_vm.handleMsgSend}},[_vm._v(_vm._s(_vm.i18nText('1.2.1.11.6')))])],1),_c('div',{staticStyle:{"display":"none"},attrs:{"id":"canvas-wrapper"}},[_c('canvas',{attrs:{"id":"canvas"}})]),(_vm.showOverlay)?[((!_vm.onChating || _vm.sessionEnd) && !_vm.queueItem)?_c('div',{staticClass:"overlay"}):_vm._e()]:_vm._e(),(_vm.queueItem)?_c('div',{staticClass:"queue-page"},[(_vm.accessDesc)?_c('div',{staticClass:"queue-tips"},[_vm._v(_vm._s(_vm.accessDesc))]):_vm._e(),_c('div',{staticClass:"queue-btns"},[(_vm.enableTransfer)?_c('div',{staticClass:"toSession",on:{"click":_vm.handleOpenTransfer}},[_vm._v(" "+_vm._s(_vm.i18nText('1.10.201'))+" ")]):_vm._e(),_c('div',{staticClass:"toSession primary",on:{"click":_vm.handleAccess}},[_vm._v(" "+_vm._s(_vm.accessText || _vm.i18nText('1.9.352'))+" ")]),(_vm.enableRefuse)?_c('div',{staticClass:"toSession danger",on:{"click":_vm.openRefuseReason}},[_vm._v(" "+_vm._s(_vm.i18nText('1.9.353'))+" ")]):_vm._e()])]):_vm._e(),_c('a-modal',{attrs:{"wrapClassName":_vm.isFullScreen ? 'chat-footer-modal-big' : 'chat-footer-modal-small',"title":_vm.modalData.name,"visible":_vm.modalShow,"maskClosable":false,"mask":true,"width":_vm.isFullScreen ? '100%' : '80%',"destroyOnClose":"","okText":_vm.i18nText('1.2.1.11.6'),"footer":null},on:{"cancel":function () {
|
|
5586
|
-
this$1.modalShow = false;
|
|
5587
|
-
},"ok":_vm.handleOk}},[(_vm.modalData.targetType === 'LINK_ADDRESS')?_c('iframe',{attrs:{"id":"toolbarIframe","width":"100%","height":"100%","frameborder":"0","src":_vm.modalData.address,"allow":"camera;midi"}}):_vm._e()]),_c('a-modal',{attrs:{"title":_vm.accessInterceptTitle,"visible":_vm.accessIntercept,"maskClosable":false,"mask":true,"footer":null,"destroyOnClose":"","width":600,"bodyStyle":{ height: '280px' }},on:{"cancel":function () {
|
|
5594
|
+
]),expression:"[\n 'upload',\n {\n valuePropName: 'fileList'\n }\n ]"}],staticClass:"operate-icon",attrs:{"beforeUpload":_vm.beforeUpload}},[_c('a-tooltip',{attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_vm._v(_vm._s(_vm.i18nText('1.9.181')))]),_c('svg-icon',{staticClass:"toolbar",attrs:{"icon-class":"liaotiantupian1"}})],2)],1):_vm._e(),_c('a-popover',{attrs:{"title":_vm.i18nText('1.9.354'),"trigger":"click"},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_c('a',{attrs:{"slot":"content"},slot:"content"},[_c('div',{staticClass:"emoji-wrapper"},_vm._l((_vm.emojiList),function(item,index){return _c('p',{key:index,class:['twa', 'emoji', item],on:{"click":function () { return _vm.handleEmojiClick(item); }}})}),0)]),_c('a-tooltip',{attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_vm._v(_vm._s(_vm.i18nText('1.9.354')))]),(_vm.isShow('SMILINEFACE'))?_c('svg-icon',{staticClass:"toolbar",attrs:{"icon-class":"liaotianbiaoqing1"},on:{"click":_vm.showEmoji}}):_vm._e()],2)],1),_vm._l((_vm.toolbar),function(item,index){return [_c('a-tooltip',{key:index,attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_vm._v(_vm._s(item.name))]),_c('svg-icon',{staticClass:"toolbar",class:{ 'closed-toolbar': _vm.closedSession },attrs:{"icon-class":item.icon},on:{"click":function($event){return _vm.handleToolBarClick(item)}}})],2)]}),_c('a-tooltip',{attrs:{"placement":"top","title":'快捷回复'}},[_c('a-popover',{attrs:{"trigger":"click","overlayClassName":"quick-reply","placement":"topLeft"},model:{value:(_vm.quickShow),callback:function ($$v) {_vm.quickShow=$$v},expression:"quickShow"}},[_c('template',{slot:"content"},[_c('quick-reply',{attrs:{"quickShow":_vm.quickShow,"quickData":_vm.quickData},on:{"update:quickShow":function($event){_vm.quickShow=$event},"update:quick-show":function($event){_vm.quickShow=$event}}})],1),(_vm.isShow('FASTREPLY') && _vm.isServer)?_c('svg-icon',{staticClass:"toolbar",attrs:{"icon-class":"liaotiankuaijiehuifu1"},on:{"click":_vm.openQuickData}}):_vm._e()],2)],1),_c('a-tooltip',{attrs:{"title":'语音通话'}},[(_vm.isShow('VOICE_CALL'))?_c('svg-icon',{staticClass:"toolbar",attrs:{"icon-class":"liaotianyuyindianhua"},on:{"click":function($event){return _vm.handleVideoClick('voice')}}}):_vm._e()],1),_c('a-tooltip',{attrs:{"title":'发送语音'}},[(_vm.isShow('VOICE'))?_c('svg-icon',{staticClass:"toolbar",class:{ 'click-voice': _vm.showVoice },attrs:{"icon-class":"liaotianyuyin1"},on:{"click":function($event){return _vm.handleVoice(true)}}}):_vm._e()],1),_c('a-tooltip',{attrs:{"title":'视频通话'}},[(_vm.isShow('VIDEO'))?_c('svg-icon',{staticClass:"toolbar",attrs:{"icon-class":"liaotianshipin1"},on:{"click":function($event){return _vm.handleVideoClick('video')}}}):_vm._e()],1)],2),_c('div',{staticClass:"message",staticStyle:{"text-align":"left"}},[_c('div',{staticClass:"content-edit"},[_c('div',{ref:"contentEdit",attrs:{"contenteditable":"true"},on:{"click":_vm.saveRange,"keyup":function($event){if($event.ctrlKey||$event.shiftKey||$event.altKey||$event.metaKey){ return null; }return _vm.saveRange.apply(null, arguments)},"change":_vm.changeData,"input":_vm.handleInput,"compositionstart":function () { return (this$1.ping = true); },"compositionend":function () { return (this$1.ping = false); },"keydown":_vm.handleKeyDown,"paste":_vm.handlePaste}})]),_c('span',{staticClass:"prompt"},[_vm._v("Enter "+_vm._s(_vm.i18nText('1.2.1.11.6'))+", Ctrl + Enter "+_vm._s(_vm.i18nText('1.9.356')))]),_c('a-button',{staticClass:"message-send",attrs:{"disabled":_vm.sendDisabled},on:{"click":_vm.handleMsgSend}},[_vm._v(_vm._s(_vm.i18nText('1.2.1.11.6')))])],1),_c('div',{staticStyle:{"display":"none"},attrs:{"id":"canvas-wrapper"}},[_c('canvas',{attrs:{"id":"canvas"}})]),(_vm.showOverlay)?[((!_vm.onChating || _vm.sessionEnd) && !_vm.queueItem)?_c('div',{staticClass:"overlay"}):_vm._e()]:_vm._e(),(_vm.queueItem)?_c('div',{staticClass:"queue-page"},[(_vm.accessDesc)?_c('div',{staticClass:"queue-tips"},[_vm._v(_vm._s(_vm.accessDesc))]):_vm._e(),_c('div',{staticClass:"queue-btns"},[(_vm.enableTransfer)?_c('div',{staticClass:"toSession",on:{"click":_vm.handleOpenTransfer}},[_vm._v(" "+_vm._s(_vm.i18nText('1.10.201'))+" ")]):_vm._e(),_c('div',{staticClass:"toSession primary",on:{"click":_vm.handleAccess}},[_vm._v(" "+_vm._s(_vm.accessText || _vm.i18nText('1.9.352'))+" ")]),(_vm.enableRefuse)?_c('div',{staticClass:"toSession danger",on:{"click":_vm.openRefuseReason}},[_vm._v(" "+_vm._s(_vm.i18nText('1.9.353'))+" ")]):_vm._e()])]):_vm._e(),_c('a-modal',{attrs:{"wrapClassName":_vm.isFullScreen ? 'chat-footer-modal-big' : 'chat-footer-modal-small',"title":_vm.modalData.name,"visible":_vm.modalShow,"maskClosable":false,"mask":true,"width":_vm.isFullScreen ? '100%' : '80%',"destroyOnClose":"","okText":_vm.i18nText('1.2.1.11.6'),"footer":null},on:{"cancel":_vm.handleClose,"ok":_vm.handleOk}},[(_vm.modalData.targetType === 'LINK_ADDRESS')?_c('iframe',{attrs:{"id":"toolbarIframe","width":"100%","height":"100%","frameborder":"0","src":_vm.modalData.address,"allow":"camera;midi"}}):_vm._e()]),_c('a-modal',{attrs:{"title":_vm.accessInterceptTitle,"visible":_vm.accessIntercept,"maskClosable":false,"mask":true,"footer":null,"destroyOnClose":"","width":600,"bodyStyle":{ height: '280px' }},on:{"cancel":function () {
|
|
5588
5595
|
this$1.accessIntercept = false;
|
|
5589
5596
|
}}},[_c('iframe',{attrs:{"width":"100%","height":"100%","frameborder":"0","src":_vm.accessInterceptUrl}})]),(_vm.showVoice)?_c('voice',{attrs:{"showVoice":_vm.showVoice},on:{"closeVoice":_vm.handleVoice}}):_vm._e(),(_vm.enableTransfer)?_c('ModalUserTransfer',{attrs:{"title":_vm.i18nText('1.10.201'),"visible":_vm.transferVisible,"assemblyId":_vm.assemblyId},on:{"update:visible":function($event){_vm.transferVisible=$event},"ok":_vm.handleTransfer}}):_vm._e(),(_vm.refuseVisible)?_c('ModalRefuseReason',{attrs:{"visible":_vm.refuseVisible,"reasonList":_vm.refuseReasonList},on:{"update:visible":function($event){_vm.refuseVisible=$event},"ok":_vm.handleRefuse}}):_vm._e()],2)}
|
|
5590
5597
|
var staticRenderFns = []
|
|
5591
5598
|
|
|
5592
5599
|
|
|
5593
|
-
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatFooter.vue?vue&type=template&id=
|
|
5600
|
+
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatFooter.vue?vue&type=template&id=c3a886ac&scoped=true&
|
|
5594
5601
|
|
|
5595
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js +
|
|
5602
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
|
|
5596
5603
|
var slicedToArray = __webpack_require__("3835");
|
|
5597
5604
|
|
|
5598
5605
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
@@ -6040,7 +6047,7 @@ function getPanelSetting(params, setting, clientParams) {
|
|
|
6040
6047
|
// EXTERNAL MODULE: ./packages/multi-chat/store/helper.js
|
|
6041
6048
|
var helper = __webpack_require__("e3c5");
|
|
6042
6049
|
|
|
6043
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6050
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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=6df19346&
|
|
6044
6051
|
var quickReplyvue_type_template_id_6df19346_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"},[(_vm.quickReplyKey === "个人")?_c('svg-icon',{staticClass:"quick-replay-to-top",staticStyle:{"font-size":"16px"},attrs:{"icon-class":"a-xitongtubiaoliaotianzhiding"},on:{"click":function($event){$event.stopPropagation();return _vm.handleQuickEdit(item, 'top', data.list, index, _vm.k)}}}):_vm._e(),_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)}
|
|
6045
6052
|
var quickReplyvue_type_template_id_6df19346_staticRenderFns = []
|
|
6046
6053
|
|
|
@@ -6486,7 +6493,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
6486
6493
|
)
|
|
6487
6494
|
|
|
6488
6495
|
/* harmony default export */ var quickReply = (component.exports);
|
|
6489
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6496
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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&
|
|
6490
6497
|
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}})])])}
|
|
6491
6498
|
var voicevue_type_template_id_7e851a0c_scoped_true_staticRenderFns = []
|
|
6492
6499
|
|
|
@@ -6928,7 +6935,7 @@ var voice_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6928
6935
|
)
|
|
6929
6936
|
|
|
6930
6937
|
/* harmony default export */ var voice = (voice_component.exports);
|
|
6931
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6938
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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&
|
|
6932
6939
|
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)}
|
|
6933
6940
|
var modal_user_transfervue_type_template_id_f50a4f90_staticRenderFns = []
|
|
6934
6941
|
|
|
@@ -7063,7 +7070,7 @@ var modal_user_transfer_component = Object(componentNormalizer["a" /* default */
|
|
|
7063
7070
|
)
|
|
7064
7071
|
|
|
7065
7072
|
/* harmony default export */ var modal_user_transfer = (modal_user_transfer_component.exports);
|
|
7066
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7073
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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&
|
|
7067
7074
|
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)}
|
|
7068
7075
|
var modal_refuse_reasonvue_type_template_id_375e05a7_scoped_true_staticRenderFns = []
|
|
7069
7076
|
|
|
@@ -8775,8 +8782,8 @@ var chatFootervue_type_script_lang_js_components;
|
|
|
8775
8782
|
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatFooter.vue?vue&type=style&index=0&lang=less&
|
|
8776
8783
|
var chatFootervue_type_style_index_0_lang_less_ = __webpack_require__("99aa");
|
|
8777
8784
|
|
|
8778
|
-
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatFooter.vue?vue&type=style&index=1&id=
|
|
8779
|
-
var
|
|
8785
|
+
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatFooter.vue?vue&type=style&index=1&id=c3a886ac&lang=less&scoped=true&
|
|
8786
|
+
var chatFootervue_type_style_index_1_id_c3a886ac_lang_less_scoped_true_ = __webpack_require__("377e");
|
|
8780
8787
|
|
|
8781
8788
|
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatFooter.vue
|
|
8782
8789
|
|
|
@@ -8794,7 +8801,7 @@ var chatFooter_component = Object(componentNormalizer["a" /* default */])(
|
|
|
8794
8801
|
staticRenderFns,
|
|
8795
8802
|
false,
|
|
8796
8803
|
null,
|
|
8797
|
-
"
|
|
8804
|
+
"c3a886ac",
|
|
8798
8805
|
null
|
|
8799
8806
|
|
|
8800
8807
|
)
|
|
@@ -8956,6 +8963,17 @@ module.exports = {
|
|
|
8956
8963
|
};
|
|
8957
8964
|
|
|
8958
8965
|
|
|
8966
|
+
/***/ }),
|
|
8967
|
+
|
|
8968
|
+
/***/ "6a44":
|
|
8969
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8970
|
+
|
|
8971
|
+
"use strict";
|
|
8972
|
+
/* 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_f2490ce6_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f70b");
|
|
8973
|
+
/* 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_f2490ce6_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_f2490ce6_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
8974
|
+
/* unused harmony reexport * */
|
|
8975
|
+
|
|
8976
|
+
|
|
8959
8977
|
/***/ }),
|
|
8960
8978
|
|
|
8961
8979
|
/***/ "6b75":
|
|
@@ -8996,13 +9014,6 @@ module.exports = require("core-js/modules/es.object.get-own-property-descriptor.
|
|
|
8996
9014
|
|
|
8997
9015
|
/***/ }),
|
|
8998
9016
|
|
|
8999
|
-
/***/ "6ea0":
|
|
9000
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9001
|
-
|
|
9002
|
-
// extracted by mini-css-extract-plugin
|
|
9003
|
-
|
|
9004
|
-
/***/ }),
|
|
9005
|
-
|
|
9006
9017
|
/***/ "6eeb":
|
|
9007
9018
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9008
9019
|
|
|
@@ -9747,7 +9758,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACN
|
|
|
9747
9758
|
|
|
9748
9759
|
"use strict";
|
|
9749
9760
|
|
|
9750
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9761
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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&
|
|
9751
9762
|
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) {
|
|
9752
9763
|
return triggerNode.parentNode || _vm.document.body;
|
|
9753
9764
|
}}},[(_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){
|
|
@@ -10961,7 +10972,7 @@ var es_array_slice_js_ = __webpack_require__("ea12");
|
|
|
10961
10972
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
10962
10973
|
var asyncToGenerator = __webpack_require__("1da1");
|
|
10963
10974
|
|
|
10964
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +
|
|
10975
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
10965
10976
|
var toConsumableArray = __webpack_require__("2909");
|
|
10966
10977
|
|
|
10967
10978
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
@@ -12069,7 +12080,7 @@ module.exports = require("core-js/modules/es.string.iterator.js");
|
|
|
12069
12080
|
|
|
12070
12081
|
"use strict";
|
|
12071
12082
|
|
|
12072
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
12083
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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&
|
|
12073
12084
|
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)])])])}
|
|
12074
12085
|
var staticRenderFns = []
|
|
12075
12086
|
|
|
@@ -13141,17 +13152,6 @@ if (!IS_PURE && typeof NativePromise == 'function') {
|
|
|
13141
13152
|
}
|
|
13142
13153
|
|
|
13143
13154
|
|
|
13144
|
-
/***/ }),
|
|
13145
|
-
|
|
13146
|
-
/***/ "a8d5":
|
|
13147
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13148
|
-
|
|
13149
|
-
"use strict";
|
|
13150
|
-
/* 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_chatFooter_vue_vue_type_style_index_1_id_54252e2e_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6ea0");
|
|
13151
|
-
/* 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_chatFooter_vue_vue_type_style_index_1_id_54252e2e_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_chatFooter_vue_vue_type_style_index_1_id_54252e2e_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
13152
|
-
/* unused harmony reexport * */
|
|
13153
|
-
|
|
13154
|
-
|
|
13155
13155
|
/***/ }),
|
|
13156
13156
|
|
|
13157
13157
|
/***/ "a8e9":
|
|
@@ -13274,17 +13274,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAAS
|
|
|
13274
13274
|
/* unused harmony reexport * */
|
|
13275
13275
|
|
|
13276
13276
|
|
|
13277
|
-
/***/ }),
|
|
13278
|
-
|
|
13279
|
-
/***/ "b012":
|
|
13280
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13281
|
-
|
|
13282
|
-
"use strict";
|
|
13283
|
-
/* 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_d96c1ba2_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("48cb");
|
|
13284
|
-
/* 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_d96c1ba2_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_d96c1ba2_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
13285
|
-
/* unused harmony reexport * */
|
|
13286
|
-
|
|
13287
|
-
|
|
13288
13277
|
/***/ }),
|
|
13289
13278
|
|
|
13290
13279
|
/***/ "b102":
|
|
@@ -14169,7 +14158,7 @@ var es_promise_finally = __webpack_require__("a79d");
|
|
|
14169
14158
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
14170
14159
|
var es_function_name_js_ = __webpack_require__("db0a");
|
|
14171
14160
|
|
|
14172
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14161
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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&
|
|
14173
14162
|
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)}
|
|
14174
14163
|
var staticRenderFns = []
|
|
14175
14164
|
|
|
@@ -14207,7 +14196,7 @@ var create = __webpack_require__("8aef");
|
|
|
14207
14196
|
// EXTERNAL MODULE: ./packages/multi-chat/store/helper.js
|
|
14208
14197
|
var helper = __webpack_require__("e3c5");
|
|
14209
14198
|
|
|
14210
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14199
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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=22885828&scoped=true&
|
|
14211
14200
|
var clientChatvue_type_template_id_22885828_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)}
|
|
14212
14201
|
var clientChatvue_type_template_id_22885828_scoped_true_staticRenderFns = []
|
|
14213
14202
|
|
|
@@ -14221,7 +14210,7 @@ var layout_style_ = __webpack_require__("e7cc");
|
|
|
14221
14210
|
var layout_ = __webpack_require__("52b9");
|
|
14222
14211
|
var layout_default = /*#__PURE__*/__webpack_require__.n(layout_);
|
|
14223
14212
|
|
|
14224
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +
|
|
14213
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
14225
14214
|
var toConsumableArray = __webpack_require__("2909");
|
|
14226
14215
|
|
|
14227
14216
|
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
@@ -14260,7 +14249,7 @@ var chatFooter = __webpack_require__("61f8");
|
|
|
14260
14249
|
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatMain.vue + 3 modules
|
|
14261
14250
|
var chatMain = __webpack_require__("3cee");
|
|
14262
14251
|
|
|
14263
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14252
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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&
|
|
14264
14253
|
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)}
|
|
14265
14254
|
var evaluatevue_type_template_id_018624f2_scoped_true_staticRenderFns = []
|
|
14266
14255
|
|
|
@@ -15479,7 +15468,7 @@ var clientChat_component = Object(componentNormalizer["a" /* default */])(
|
|
|
15479
15468
|
)
|
|
15480
15469
|
|
|
15481
15470
|
/* harmony default export */ var clientChat = (clientChat_component.exports);
|
|
15482
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15471
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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&
|
|
15483
15472
|
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)}
|
|
15484
15473
|
var robotvue_type_template_id_c7d05068_scoped_true_staticRenderFns = []
|
|
15485
15474
|
|
|
@@ -16175,7 +16164,7 @@ module.exports = require("core-js/modules/es.typed-array.uint8-array.js");
|
|
|
16175
16164
|
|
|
16176
16165
|
"use strict";
|
|
16177
16166
|
|
|
16178
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16167
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"44f1b572-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&
|
|
16179
16168
|
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}})])}
|
|
16180
16169
|
var staticRenderFns = []
|
|
16181
16170
|
|
|
@@ -16332,38 +16321,6 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
16332
16321
|
|
|
16333
16322
|
/***/ }),
|
|
16334
16323
|
|
|
16335
|
-
/***/ "db90":
|
|
16336
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16337
|
-
|
|
16338
|
-
"use strict";
|
|
16339
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
|
|
16340
|
-
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9b22");
|
|
16341
|
-
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
16342
|
-
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("4933");
|
|
16343
|
-
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
16344
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("97d3");
|
|
16345
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
16346
|
-
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("2ff9");
|
|
16347
|
-
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
16348
|
-
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("9bb5");
|
|
16349
|
-
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
16350
|
-
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("1a25");
|
|
16351
|
-
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
16352
|
-
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("4362");
|
|
16353
|
-
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
16354
|
-
|
|
16355
|
-
|
|
16356
|
-
|
|
16357
|
-
|
|
16358
|
-
|
|
16359
|
-
|
|
16360
|
-
|
|
16361
|
-
function _iterableToArray(iter) {
|
|
16362
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
16363
|
-
}
|
|
16364
|
-
|
|
16365
|
-
/***/ }),
|
|
16366
|
-
|
|
16367
16324
|
/***/ "dba2":
|
|
16368
16325
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16369
16326
|
|
|
@@ -16949,6 +16906,8 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16949
16906
|
},
|
|
16950
16907
|
// 处理模板按钮,详情等跳转
|
|
16951
16908
|
handleTemplate: function handleTemplate(data) {
|
|
16909
|
+
var _this4 = this;
|
|
16910
|
+
|
|
16952
16911
|
var dispatch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
16953
16912
|
var targetType = data.targetType,
|
|
16954
16913
|
address = data.address,
|
|
@@ -16982,10 +16941,51 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16982
16941
|
this.modalData = Object.assign({}, data, {
|
|
16983
16942
|
address: address
|
|
16984
16943
|
});
|
|
16944
|
+
this.$nextTick().then(function () {
|
|
16945
|
+
window.addEventListener('message', _this4.iframeEvent);
|
|
16946
|
+
});
|
|
16985
16947
|
return;
|
|
16986
16948
|
}
|
|
16987
16949
|
}
|
|
16988
16950
|
},
|
|
16951
|
+
iframeEvent: function iframeEvent(event) {
|
|
16952
|
+
var _event$data, _this$method;
|
|
16953
|
+
|
|
16954
|
+
var method = event === null || event === void 0 ? void 0 : (_event$data = event.data) === null || _event$data === void 0 ? void 0 : _event$data.method;
|
|
16955
|
+
(_this$method = this[method]) === null || _this$method === void 0 ? void 0 : _this$method.call(this, event);
|
|
16956
|
+
},
|
|
16957
|
+
// 发送
|
|
16958
|
+
handleParentMessageSend: function handleParentMessageSend(_ref3) {
|
|
16959
|
+
var data = _ref3.data,
|
|
16960
|
+
source = _ref3.source,
|
|
16961
|
+
origin = _ref3.origin;
|
|
16962
|
+
var params = {
|
|
16963
|
+
assemblyId: this.assemblyId,
|
|
16964
|
+
sessionId: this.sessionId,
|
|
16965
|
+
orgId: this.orgId
|
|
16966
|
+
};
|
|
16967
|
+
params = Object.assign(params, data.data);
|
|
16968
|
+
return _utils_chatFetch__WEBPACK_IMPORTED_MODULE_42___default.a.post('/chat/access/sendToolBarData', _utils_chatFetch__WEBPACK_IMPORTED_MODULE_42__["qs"].stringify(params)).then(function (_ref4) {
|
|
16969
|
+
var data = _ref4.data;
|
|
16970
|
+
|
|
16971
|
+
if (data.result === 'SUCCESS') {
|
|
16972
|
+
source.postMessage({
|
|
16973
|
+
status: 0,
|
|
16974
|
+
resultMsg: data.resultMsg
|
|
16975
|
+
}, origin);
|
|
16976
|
+
} else {
|
|
16977
|
+
source.postMessage({
|
|
16978
|
+
status: 1,
|
|
16979
|
+
resultMsg: data.resultMsg
|
|
16980
|
+
}, origin);
|
|
16981
|
+
}
|
|
16982
|
+
});
|
|
16983
|
+
},
|
|
16984
|
+
// 关闭
|
|
16985
|
+
handleClose: function handleClose() {
|
|
16986
|
+
this.modalShow = false;
|
|
16987
|
+
window.removeEventListener('message', this.iframeEvent);
|
|
16988
|
+
},
|
|
16989
16989
|
handleTemplateDetail: function handleTemplateDetail(item) {
|
|
16990
16990
|
var content = this.getContent(item) || {};
|
|
16991
16991
|
var setting = content.customerSetting || {};
|
|
@@ -17005,7 +17005,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17005
17005
|
var _item$content6,
|
|
17006
17006
|
_this$userInfo3,
|
|
17007
17007
|
_this$userInfo3$sysPa,
|
|
17008
|
-
|
|
17008
|
+
_this5 = this;
|
|
17009
17009
|
|
|
17010
17010
|
var params = {
|
|
17011
17011
|
assemblyId: this.assemblyId,
|
|
@@ -17014,39 +17014,39 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17014
17014
|
messageType: (_item$content6 = item.content) === null || _item$content6 === void 0 ? void 0 : _item$content6.type,
|
|
17015
17015
|
userId: ((_this$userInfo3 = this.userInfo) === null || _this$userInfo3 === void 0 ? void 0 : (_this$userInfo3$sysPa = _this$userInfo3.sysParams) === null || _this$userInfo3$sysPa === void 0 ? void 0 : _this$userInfo3$sysPa.userId) || ''
|
|
17016
17016
|
};
|
|
17017
|
-
_utils_chatFetch__WEBPACK_IMPORTED_MODULE_42___default.a.post('/chat/service/recallMessage', _utils_chatFetch__WEBPACK_IMPORTED_MODULE_42__["qs"].stringify(params)).then(function (
|
|
17018
|
-
var data =
|
|
17017
|
+
_utils_chatFetch__WEBPACK_IMPORTED_MODULE_42___default.a.post('/chat/service/recallMessage', _utils_chatFetch__WEBPACK_IMPORTED_MODULE_42__["qs"].stringify(params)).then(function (_ref5) {
|
|
17018
|
+
var data = _ref5.data;
|
|
17019
17019
|
|
|
17020
17020
|
if (data.result === 'SUCCESS') {
|
|
17021
|
-
var
|
|
17021
|
+
var _this5$getContent;
|
|
17022
17022
|
|
|
17023
|
-
|
|
17023
|
+
_this5.dispatchEvent('msg_recallSuccess', Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({
|
|
17024
17024
|
message: Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({}, item)
|
|
17025
17025
|
}, params));
|
|
17026
17026
|
|
|
17027
|
-
|
|
17027
|
+
_this5.$set(item, 'recallFlag', 1); // 撤回成功提示
|
|
17028
17028
|
|
|
17029
17029
|
|
|
17030
|
-
var title = (
|
|
17030
|
+
var title = (_this5$getContent = _this5.getContent(item)) === null || _this5$getContent === void 0 ? void 0 : _this5$getContent.title;
|
|
17031
17031
|
var text = title ? "\u5DF2\u64A4\u56DE[".concat(title, "]") : '已撤回';
|
|
17032
17032
|
|
|
17033
|
-
|
|
17033
|
+
_this5.$message.success(text);
|
|
17034
17034
|
|
|
17035
|
-
if (!
|
|
17035
|
+
if (!_this5.isLastMessage(item.id)) return;
|
|
17036
17036
|
|
|
17037
|
-
|
|
17037
|
+
_this5.setIsScrollListChange(true);
|
|
17038
17038
|
|
|
17039
|
-
|
|
17039
|
+
_this5.setListChangeItem({
|
|
17040
17040
|
opt: 1,
|
|
17041
|
-
from:
|
|
17042
|
-
sessionId:
|
|
17041
|
+
from: _this5.clientId,
|
|
17042
|
+
sessionId: _this5.sessionId,
|
|
17043
17043
|
msgCount: 0,
|
|
17044
17044
|
lastContentRecallFlag: 1,
|
|
17045
17045
|
lastContent: _utils_vexutils__WEBPACK_IMPORTED_MODULE_51___default.a.clone(item.content, true),
|
|
17046
17046
|
lastTime: new Date().getTime()
|
|
17047
17047
|
});
|
|
17048
17048
|
} else {
|
|
17049
|
-
|
|
17049
|
+
_this5.$message.error(data.resultMsg);
|
|
17050
17050
|
}
|
|
17051
17051
|
});
|
|
17052
17052
|
},
|
|
@@ -17094,15 +17094,15 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17094
17094
|
this.setFooterMessage(this.footerMessage + item.content.content.slice(5, -6));
|
|
17095
17095
|
},
|
|
17096
17096
|
observeMsg: function observeMsg() {
|
|
17097
|
-
var
|
|
17097
|
+
var _this6 = this;
|
|
17098
17098
|
|
|
17099
17099
|
if (this.enableReadRecord) {
|
|
17100
17100
|
if (!this._observer) {
|
|
17101
17101
|
this._observer = new _utils_observer_scroll__WEBPACK_IMPORTED_MODULE_52__[/* default */ "a"](this.$refs['message-wrapper'], this.readMsg);
|
|
17102
17102
|
this.$on('hook:beforeDestroy', function () {
|
|
17103
|
-
|
|
17103
|
+
_this6._observer.remove();
|
|
17104
17104
|
|
|
17105
|
-
|
|
17105
|
+
_this6._observer = null;
|
|
17106
17106
|
});
|
|
17107
17107
|
}
|
|
17108
17108
|
|
|
@@ -17110,9 +17110,9 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17110
17110
|
|
|
17111
17111
|
if (this.msgList.length) {
|
|
17112
17112
|
this.$nextTick(function () {
|
|
17113
|
-
var el =
|
|
17113
|
+
var el = _this6.$refs['message-wrapper'];
|
|
17114
17114
|
var els = el === null || el === void 0 ? void 0 : el.querySelectorAll('.message-item.left');
|
|
17115
|
-
els &&
|
|
17115
|
+
els && _this6._observer.observe(Array.from(els).filter(function (item) {
|
|
17116
17116
|
return item.getAttribute('data-rid');
|
|
17117
17117
|
}));
|
|
17118
17118
|
});
|
|
@@ -17120,7 +17120,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17120
17120
|
}
|
|
17121
17121
|
},
|
|
17122
17122
|
readMsg: function readMsg(ids) {
|
|
17123
|
-
var
|
|
17123
|
+
var _this7 = this;
|
|
17124
17124
|
|
|
17125
17125
|
var enableVaid = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
17126
17126
|
var notify = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
@@ -17142,9 +17142,9 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17142
17142
|
var jumpType = ",6,1,";
|
|
17143
17143
|
if (jumpType.includes(type)) return false;
|
|
17144
17144
|
|
|
17145
|
-
if (type == 4 && !
|
|
17146
|
-
var content =
|
|
17147
|
-
var setting = (
|
|
17145
|
+
if (type == 4 && !_this7.isDescribeMsg(item)) {
|
|
17146
|
+
var content = _this7.getContent(item) || {};
|
|
17147
|
+
var setting = (_this7.isServer ? content.serverSetting : content.customerSetting) || {};
|
|
17148
17148
|
return !(setting !== null && setting !== void 0 && setting.address);
|
|
17149
17149
|
}
|
|
17150
17150
|
|
|
@@ -17200,7 +17200,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17200
17200
|
this.readRecordList = [];
|
|
17201
17201
|
},
|
|
17202
17202
|
openReadRecord: function openReadRecord(event, item) {
|
|
17203
|
-
var
|
|
17203
|
+
var _this8 = this;
|
|
17204
17204
|
|
|
17205
17205
|
var readStatus = item.readStatus;
|
|
17206
17206
|
|
|
@@ -17224,9 +17224,9 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17224
17224
|
var _res$data;
|
|
17225
17225
|
|
|
17226
17226
|
var list = ((_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.list) || [];
|
|
17227
|
-
|
|
17228
|
-
|
|
17229
|
-
|
|
17227
|
+
_this8.readRecordStyle = "top:".concat(top, "px;left:").concat(left, "px;position:fixed;z-index:10");
|
|
17228
|
+
_this8.readRecordVisible = list.length > 0;
|
|
17229
|
+
_this8.readRecordList = Object.freeze(list);
|
|
17230
17230
|
|
|
17231
17231
|
if (item.readStatus && list.length) {
|
|
17232
17232
|
var unread = list.filter(function (item) {
|
|
@@ -17254,17 +17254,17 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17254
17254
|
return this.getContent(item).styleId == '3';
|
|
17255
17255
|
},
|
|
17256
17256
|
handleOpenPortraitPanel: function handleOpenPortraitPanel(item) {
|
|
17257
|
-
var
|
|
17257
|
+
var _this9 = this;
|
|
17258
17258
|
|
|
17259
17259
|
return Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_17__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
17260
|
-
var
|
|
17260
|
+
var _this9$assemblySettin;
|
|
17261
17261
|
|
|
17262
17262
|
var portraitPanelParams, clientParams, panelSetting;
|
|
17263
17263
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
17264
17264
|
while (1) {
|
|
17265
17265
|
switch (_context.prev = _context.next) {
|
|
17266
17266
|
case 0:
|
|
17267
|
-
if (!(!
|
|
17267
|
+
if (!(!_this9.showPanel || item.fromId === _this9.serviceId || !_this9.isServer || !_this9.isShowPortraitPanel)) {
|
|
17268
17268
|
_context.next = 2;
|
|
17269
17269
|
break;
|
|
17270
17270
|
}
|
|
@@ -17272,10 +17272,10 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17272
17272
|
return _context.abrupt("return");
|
|
17273
17273
|
|
|
17274
17274
|
case 2:
|
|
17275
|
-
portraitPanelParams =
|
|
17276
|
-
panelSetting = (
|
|
17275
|
+
portraitPanelParams = _this9.portraitPanelParams, clientParams = _this9.clientParams;
|
|
17276
|
+
panelSetting = (_this9$assemblySettin = _this9.assemblySetting) === null || _this9$assemblySettin === void 0 ? void 0 : _this9$assemblySettin.portraitPanelSetting;
|
|
17277
17277
|
|
|
17278
|
-
|
|
17278
|
+
_this9.dispatchEvent('open_portraitPanel', {
|
|
17279
17279
|
panelSetting: panelSetting,
|
|
17280
17280
|
clientParams: clientParams,
|
|
17281
17281
|
panelParams: portraitPanelParams,
|
|
@@ -17315,19 +17315,19 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17315
17315
|
|
|
17316
17316
|
/* 事件绑定 */
|
|
17317
17317
|
attachEvent: function attachEvent() {
|
|
17318
|
-
var
|
|
17318
|
+
var _this10 = this;
|
|
17319
17319
|
|
|
17320
17320
|
this.scrollEvent = _utils_vexutils__WEBPACK_IMPORTED_MODULE_51___default.a.debounce(this.scrollEvent, 800);
|
|
17321
17321
|
|
|
17322
17322
|
var handleClick = function handleClick() {
|
|
17323
|
-
|
|
17323
|
+
_this10.contextMenuShow = false;
|
|
17324
17324
|
};
|
|
17325
17325
|
|
|
17326
17326
|
var handleRasize = function handleRasize() {
|
|
17327
|
-
if (
|
|
17327
|
+
if (_this10.readRecordVisible) {
|
|
17328
17328
|
var _style$match, _style$match2;
|
|
17329
17329
|
|
|
17330
|
-
var style =
|
|
17330
|
+
var style = _this10.readRecordStyle;
|
|
17331
17331
|
var top = (_style$match = style.match(topReg)) === null || _style$match === void 0 ? void 0 : _style$match[1];
|
|
17332
17332
|
var topReg = /top:([\d.]+)/;
|
|
17333
17333
|
var maxH = document.body.clientHeight - 360;
|
|
@@ -17344,7 +17344,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17344
17344
|
style = style.replace(leftReg, "left:".concat(maxW));
|
|
17345
17345
|
}
|
|
17346
17346
|
|
|
17347
|
-
|
|
17347
|
+
_this10.readRecordStyle = style;
|
|
17348
17348
|
}
|
|
17349
17349
|
};
|
|
17350
17350
|
|
|
@@ -17353,9 +17353,9 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17353
17353
|
this.registerEvent('openPortraitPanel', this.handleOpenPortraitPanel);
|
|
17354
17354
|
|
|
17355
17355
|
var readMessage = function readMessage(data) {
|
|
17356
|
-
|
|
17356
|
+
_this10.readMsg(data.ids.split(','), false, false, false);
|
|
17357
17357
|
|
|
17358
|
-
|
|
17358
|
+
_this10.postReadMessage(data);
|
|
17359
17359
|
};
|
|
17360
17360
|
|
|
17361
17361
|
this.registerEvent('readMessage', readMessage);
|
|
@@ -17363,9 +17363,9 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17363
17363
|
window.removeEventListener('resize', handleRasize);
|
|
17364
17364
|
document.removeEventListener('click', handleClick);
|
|
17365
17365
|
|
|
17366
|
-
|
|
17366
|
+
_this10.unregisterEvent('openPortraitPanel', _this10.handleOpenPortraitPanel);
|
|
17367
17367
|
|
|
17368
|
-
|
|
17368
|
+
_this10.unregisterEvent('readMessage', readMessage);
|
|
17369
17369
|
});
|
|
17370
17370
|
},
|
|
17371
17371
|
goToBroadcastLink: function goToBroadcastLink(item) {
|
|
@@ -17397,20 +17397,20 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17397
17397
|
}));
|
|
17398
17398
|
},
|
|
17399
17399
|
reCall: function reCall(type) {
|
|
17400
|
-
var
|
|
17400
|
+
var _this11 = this;
|
|
17401
17401
|
|
|
17402
17402
|
this.setShowAudio(true);
|
|
17403
17403
|
this.setVideoMode(type === 'voice' ? 1 : 2);
|
|
17404
17404
|
this.$nextTick(function () {
|
|
17405
|
-
|
|
17405
|
+
_this11.setVideoMembers([]);
|
|
17406
17406
|
});
|
|
17407
17407
|
},
|
|
17408
17408
|
playAudio: function playAudio(item) {
|
|
17409
|
-
var
|
|
17409
|
+
var _this12 = this;
|
|
17410
17410
|
|
|
17411
|
-
var
|
|
17412
|
-
|
|
17413
|
-
content =
|
|
17411
|
+
var _ref6 = (item === null || item === void 0 ? void 0 : item.content) || {},
|
|
17412
|
+
_ref6$content = _ref6.content,
|
|
17413
|
+
content = _ref6$content === void 0 ? '' : _ref6$content;
|
|
17414
17414
|
|
|
17415
17415
|
if (!content) return;
|
|
17416
17416
|
|
|
@@ -17422,8 +17422,8 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17422
17422
|
this.lastAudioItem = item;
|
|
17423
17423
|
this.$set(item.content, 'isPlay', !item.content.isPlay);
|
|
17424
17424
|
this.$nextTick(function () {
|
|
17425
|
-
|
|
17426
|
-
var audioRef =
|
|
17425
|
+
_this12.curAudioUrl = content;
|
|
17426
|
+
var audioRef = _this12.$refs['audio'];
|
|
17427
17427
|
if (!audioRef) return;
|
|
17428
17428
|
audioRef.load();
|
|
17429
17429
|
setTimeout(function () {
|
|
@@ -17437,7 +17437,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17437
17437
|
}
|
|
17438
17438
|
} else {
|
|
17439
17439
|
audioRef.pause();
|
|
17440
|
-
|
|
17440
|
+
_this12.curAudioUrl = '';
|
|
17441
17441
|
}
|
|
17442
17442
|
});
|
|
17443
17443
|
});
|
|
@@ -18444,6 +18444,13 @@ module.exports = require("ant-design-vue/es/message/style");
|
|
|
18444
18444
|
|
|
18445
18445
|
/***/ }),
|
|
18446
18446
|
|
|
18447
|
+
/***/ "f36a":
|
|
18448
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
18449
|
+
|
|
18450
|
+
// extracted by mini-css-extract-plugin
|
|
18451
|
+
|
|
18452
|
+
/***/ }),
|
|
18453
|
+
|
|
18447
18454
|
/***/ "f3b0":
|
|
18448
18455
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
18449
18456
|
|
|
@@ -18548,6 +18555,13 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
18548
18555
|
};
|
|
18549
18556
|
|
|
18550
18557
|
|
|
18558
|
+
/***/ }),
|
|
18559
|
+
|
|
18560
|
+
/***/ "f70b":
|
|
18561
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
18562
|
+
|
|
18563
|
+
// extracted by mini-css-extract-plugin
|
|
18564
|
+
|
|
18551
18565
|
/***/ }),
|
|
18552
18566
|
|
|
18553
18567
|
/***/ "f772":
|