cnhis-design-vue 2.1.29 → 2.1.31
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 +34 -16
- package/es/affix/index.js +8 -8
- package/es/age/index.js +10 -10
- package/es/alert/index.js +8 -8
- package/es/anchor/index.js +8 -8
- package/es/auto-complete/index.js +8 -8
- package/es/avatar/index.js +8 -8
- package/es/back-top/index.js +8 -8
- package/es/badge/index.js +8 -8
- package/es/base/index.js +8 -8
- package/es/big-table/index.js +68 -68
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +22 -22
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/carousel/index.js +8 -8
- package/es/cascader/index.js +8 -8
- package/es/checkbox/index.js +9 -9
- package/es/col/index.js +8 -8
- package/es/collapse/index.js +8 -8
- package/es/color-picker/index.js +1 -1
- package/es/comment/index.js +8 -8
- package/es/config-provider/index.js +8 -8
- package/es/date-picker/index.js +8 -8
- package/es/descriptions/index.js +8 -8
- package/es/divider/index.js +8 -8
- package/es/drag-layout/index.js +3 -3
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +21 -30
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +94 -92
- package/es/form-table/style.css +1 -1
- package/es/index/index.js +1247 -1008
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/layout/index.js +8 -8
- package/es/list/index.js +8 -8
- package/es/locale-provider/index.js +8 -8
- package/es/map/index.js +9 -9
- package/es/mentions/index.js +8 -8
- package/es/menu/index.js +8 -8
- package/es/message/index.js +8 -8
- package/es/multi-chat/index.js +772 -559
- package/es/multi-chat/style.css +1 -1
- package/es/multi-chat-client/index.js +368 -220
- package/es/multi-chat-client/style.css +1 -1
- package/es/multi-chat-history/index.js +292 -39
- package/es/multi-chat-history/style.css +1 -1
- package/es/multi-chat-record/index.js +114 -40
- package/es/multi-chat-record/style.css +1 -1
- package/es/multi-chat-setting/index.js +132 -57
- package/es/multi-chat-setting/style.css +1 -1
- package/es/multi-chat-sip/index.js +1 -1
- package/es/notification/index.js +8 -8
- package/es/page-header/index.js +8 -8
- package/es/pagination/index.js +8 -8
- package/es/popconfirm/index.js +8 -8
- package/es/popover/index.js +8 -8
- package/es/progress/index.js +8 -8
- package/es/radio/index.js +9 -9
- package/es/rate/index.js +8 -8
- package/es/result/index.js +8 -8
- package/es/row/index.js +8 -8
- package/es/scale-view/index.js +24 -24
- package/es/select/index.js +11 -11
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +36 -28
- package/es/select-person/style.css +1 -1
- package/es/shortcut-setter/index.js +10 -10
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/space/index.js +8 -8
- package/es/spin/index.js +8 -8
- package/es/statistic/index.js +8 -8
- package/es/steps/index.js +8 -8
- package/es/switch/index.js +8 -8
- package/es/table-filter/index.js +47 -47
- package/es/tabs/index.js +8 -8
- package/es/tag/index.js +9 -9
- package/es/time-picker/index.js +8 -8
- package/es/timeline/index.js +8 -8
- package/es/tooltip/index.js +8 -8
- package/es/transfer/index.js +8 -8
- package/es/tree/index.js +8 -8
- package/es/tree-select/index.js +8 -8
- package/es/upload/index.js +8 -8
- package/es/utils/UniRTCv2.js +89 -13
- package/es/utils/trtc.js +19025 -0
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +26238 -6114
- package/lib/cui.umd.js +26238 -6114
- package/lib/cui.umd.min.js +150 -148
- package/package.json +2 -2
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +3 -11
- package/packages/form-table/src/FormTable.vue +4 -1
- package/packages/multi-chat/chat/audio.vue +22 -6
- package/packages/multi-chat/chat/chatHeader.vue +4 -1
- package/packages/multi-chat/chat/chatHistory.vue +16 -2
- package/packages/multi-chat/chat/chatMain.vue +5 -0
- package/packages/multi-chat/chat/index.vue +31 -1
- package/packages/multi-chat/chat/mixins/uniRTCAPI.js +10 -7
- package/packages/multi-chat/chat/multiVideo.vue +16 -4
- package/packages/multi-chat/chat/scrollList.vue +9 -3
- package/packages/multi-chat/components/avatar.vue +63 -26
- package/packages/multi-chat/img/replay.png +0 -0
- package/packages/multi-chat/setting/sessionList/messageRecord.vue +9 -0
- package/packages/multi-chat/store/actions.js +8 -4
- package/packages/multi-chat/store/getters.js +3 -0
- package/packages/multi-chat/store/mutation.js +3 -0
- package/packages/multi-chat/store/state.js +2 -1
- package/packages/multi-chat/utils/index.js +25 -0
- package/packages/multi-chat/utils/rtc-client.js +23 -3
- package/packages/select-person/select-person.vue +9 -4
- package/src/utils/UniRTCv2.js +53 -15
- package/src/utils/trtc.js +1 -0
|
@@ -159,6 +159,13 @@ module.exports = function (fn, that, length) {
|
|
|
159
159
|
};
|
|
160
160
|
|
|
161
161
|
|
|
162
|
+
/***/ }),
|
|
163
|
+
|
|
164
|
+
/***/ "03ec":
|
|
165
|
+
/***/ (function(module, exports) {
|
|
166
|
+
|
|
167
|
+
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAoRJREFUOE+tlEtIVGEUx3//uS0i0WwRQlA+5kEQRFDQohYV9CBqEWYQBAVBq6KHd3pS2La5aooUuLEgiowKCqJNBBFBVFhRgTkjSpBUSA9RAvWeuNPMOKOjuehbnnvO7/t/53/OFf/56D/zmBFY7dryEGxHRGSUGAxIPB0yHnzxNFxMTFFgzTGLhUK0ApuBn8B7xLAZSwQxYNDgfMpT22ToFGD4uK2Xzx3gm8Spsp/ce9Wu0Wxh7KjV+A4ngf2Czp5+9nBL49nvBcCMsueIF46o7b6goel6HI1brRk3TFxKJXSkKDDi2kOgxgmxciZYtjgat8NmNPnjrO5t1ssgnlMYGODAG4mdPQndzhZV7bO5zkLWpRIKLis8deZEKnkneN3jaXcBMOzaGUF8/i8W5vcsGrcVZnQhHuNzMNmoD/nUsGtnZbjJUhbQID+nMBy3DhmxpKc1+QU54N/gKEbryBDnPrdrJAhE47bNjPujYyzqv6iBHDDiWieiPJnQphmAGHzH2Jhq1KsgL+zaBsEjGyeaalZyQqFrLcHcpTwtnQboA1cNTqY8fc3mhOttr0THPCh962l4QmHc6jBuhsaJfGxWb7agut4qHXHVfE6nmvRssi9R14LRiSUTWllgSoVrJaXQB9xNejowmx3PzO07jBPJRjUXADP9OChokdiVPzrF4GkB4gk+5WODLOu7ot9TgGnXgidArUS8p4+2/LXKgtPKHG5gRB1Y2+3pbdFNSQfrzAlX0SjjEPDR4HpIdPnGCMbikNgSXIjxyRE78mFFFeZUHLVVjkO9GVsRZZm4IbrwuTY2yOXsM/Nb8u8fbIOFKn9QMUeUlDgMBKMxk2H/Bs7G7rycP54yBiQoalV8AAAAAElFTkSuQmCC"
|
|
168
|
+
|
|
162
169
|
/***/ }),
|
|
163
170
|
|
|
164
171
|
/***/ "06c5":
|
|
@@ -236,6 +243,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABz
|
|
|
236
243
|
|
|
237
244
|
/***/ }),
|
|
238
245
|
|
|
246
|
+
/***/ "0a57":
|
|
247
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
248
|
+
|
|
249
|
+
// extracted by mini-css-extract-plugin
|
|
250
|
+
|
|
251
|
+
/***/ }),
|
|
252
|
+
|
|
239
253
|
/***/ "0c93":
|
|
240
254
|
/***/ (function(module, exports) {
|
|
241
255
|
|
|
@@ -273,17 +287,6 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
273
287
|
|
|
274
288
|
module.exports = require("core-js/modules/es.array.find.js");
|
|
275
289
|
|
|
276
|
-
/***/ }),
|
|
277
|
-
|
|
278
|
-
/***/ "0d94":
|
|
279
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
280
|
-
|
|
281
|
-
"use strict";
|
|
282
|
-
/* 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_audio_vue_vue_type_style_index_0_id_d12da2a6_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5d17");
|
|
283
|
-
/* 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_audio_vue_vue_type_style_index_0_id_d12da2a6_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_audio_vue_vue_type_style_index_0_id_d12da2a6_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
284
|
-
/* unused harmony reexport * */
|
|
285
|
-
|
|
286
|
-
|
|
287
290
|
/***/ }),
|
|
288
291
|
|
|
289
292
|
/***/ "0f41":
|
|
@@ -291,7 +294,7 @@ module.exports = require("core-js/modules/es.array.find.js");
|
|
|
291
294
|
|
|
292
295
|
"use strict";
|
|
293
296
|
|
|
294
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
297
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/components/msg-describe.vue?vue&type=template&id=4b76a796&scoped=true&
|
|
295
298
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"msg-describe"},[_c('div',{staticClass:"msg-describe__header"},[_vm._v(_vm._s(_vm.content.title || ''))]),_c('div',{staticClass:"msg-describe__content"},[_c('div',{ref:"wrapper",class:_vm.isOpen ? '' : 'wrapper'},_vm._l((_vm.contentParams),function(item,i){return _c('div',{key:i,staticClass:"desc-item"},[_c('div',{staticClass:"desc-title"},[_vm._v(" "+_vm._s(item.p_name)+" ")]),_c('div',{staticClass:"desc-txt"},[_vm._v(" "+_vm._s(item.p_value)+" ")])])}),0),(_vm.foldVisible)?_c('div',{staticClass:"fold-btn",on:{"click":_vm.toggleOpen}},[_vm._v(" "+_vm._s(_vm.isOpen ? _vm.i18nText('1.4.9.33') : _vm.i18nText('1.10.233') + _vm.i18nText('1.10.149'))+" "),_c('a-icon',{attrs:{"type":_vm.isOpen ? 'up' : 'down'}})],1):_vm._e()])])}
|
|
296
299
|
var staticRenderFns = []
|
|
297
300
|
|
|
@@ -911,7 +914,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABz
|
|
|
911
914
|
|
|
912
915
|
"use strict";
|
|
913
916
|
|
|
914
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
917
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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=50602294&scoped=true&
|
|
915
918
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"single-audio",style:({ width: _vm.size === 'big' ? '414px' : '207px' }),on:{"mousedown":_vm.handleMove}},[_c('div',{staticClass:"header",style:({
|
|
916
919
|
height: _vm.size === 'big' ? '40px' : '30px',
|
|
917
920
|
lineHeight: _vm.size === 'big' ? '40px' : '30px',
|
|
@@ -923,14 +926,14 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
|
|
|
923
926
|
})},[_c('div',{staticClass:"top"},[_c('img',{staticClass:"user-logo",attrs:{"src":__webpack_require__("683c"),"width":_vm.size === 'big' ? 80 : 40}}),_c('div',{staticClass:"user",style:({
|
|
924
927
|
height: _vm.size === 'big' ? '80px' : '40px',
|
|
925
928
|
padding: _vm.size === 'big' ? '24px 18px 7px' : '0 0 0 6px'
|
|
926
|
-
})},[_c('span',{style:({ fontSize: _vm.size === 'big' ? '24px' : '14px' })},[_vm._v(_vm._s(_vm.name))]),_c('span',{staticClass:"status",style:({
|
|
929
|
+
})},[_c('span',{style:({ fontSize: _vm.size === 'big' ? '24px' : '14px' })},[_vm._v(" "+_vm._s(_vm.name)+" "),(_vm.sdkInfo.vendor == 3)?_c('span',[_vm._v("("+_vm._s(_vm.callerStatus)+")")]):_vm._e()]),_c('span',{staticClass:"status",style:({
|
|
927
930
|
fontSize: _vm.size === 'big' ? '16px' : '12px',
|
|
928
931
|
marginTop: _vm.size === 'big' ? '16px' : '0px'
|
|
929
932
|
})},[_vm._v(_vm._s(_vm.status))])])]),_c('div',{staticClass:"bottom"},[(_vm.videoData.isCaller || _vm.videoData.inviteResult == 1)?_c('div',{staticClass:"item",style:({ marginRight: _vm.size === 'big' ? '70px' : '45px' }),on:{"click":_vm.handleAudio}},[_c('img',{attrs:{"src":__webpack_require__("46bb")("./" + (_vm.muteAudio ? 'muted-audio' : 'audio') + ".png"),"width":_vm.size === 'big' ? 82 : 48}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '18px' : '14px' })},[_vm._v("静音")])]):_vm._e(),_c('div',{staticClass:"item",on:{"click":function($event){return _vm.handleReject('0')}}},[_c('img',{attrs:{"src":__webpack_require__("43fa"),"width":_vm.size === 'big' ? 82 : 48}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '18px' : '14px' })},[_vm._v(_vm._s(_vm.videoData.isCaller || _vm.videoData.inviteResult == 1 ? '挂断' : '拒接'))])]),(_vm.videoData.isCaller === 0 && _vm.videoData.inviteResult != 1)?_c('div',{staticClass:"item",on:{"click":function($event){return _vm.handleReject('1')}}},[_c('img',{attrs:{"src":__webpack_require__("46bb")("./" + (_vm.videoMode == 2 ? 'video-accept' : 'accept') + ".png"),"width":_vm.size === 'big' ? 82 : 48}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '18px' : '14px' })},[_vm._v("接听")])]):_vm._e()])]),_c('div',{staticClass:"video-view",attrs:{"id":'uid_' + _vm.videoData.caller}}),_c('div',{staticClass:"video-view",attrs:{"id":'uid_' + _vm.videoData.callee}})])}
|
|
930
933
|
var staticRenderFns = []
|
|
931
934
|
|
|
932
935
|
|
|
933
|
-
// CONCATENATED MODULE: ./packages/multi-chat/chat/audio.vue?vue&type=template&id=
|
|
936
|
+
// CONCATENATED MODULE: ./packages/multi-chat/chat/audio.vue?vue&type=template&id=50602294&scoped=true&
|
|
934
937
|
|
|
935
938
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
936
939
|
var objectSpread2 = __webpack_require__("5530");
|
|
@@ -1001,6 +1004,9 @@ var sip_device_ = __webpack_require__("64b9");
|
|
|
1001
1004
|
// EXTERNAL MODULE: ./packages/multi-chat/chat/mixins/uniRTCAPI.js
|
|
1002
1005
|
var uniRTCAPI = __webpack_require__("4810");
|
|
1003
1006
|
|
|
1007
|
+
// EXTERNAL MODULE: ./packages/multi-chat/utils/index.js
|
|
1008
|
+
var utils = __webpack_require__("71a8");
|
|
1009
|
+
|
|
1004
1010
|
// CONCATENATED 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/audio.vue?vue&type=script&lang=js&
|
|
1005
1011
|
|
|
1006
1012
|
|
|
@@ -1027,6 +1033,7 @@ var _components;
|
|
|
1027
1033
|
|
|
1028
1034
|
|
|
1029
1035
|
|
|
1036
|
+
|
|
1030
1037
|
/* harmony default export */ var audiovue_type_script_lang_js_ = ({
|
|
1031
1038
|
inject: ['store', 'i18nText'],
|
|
1032
1039
|
mixins: [uniRTCAPI["a" /* default */]],
|
|
@@ -1046,7 +1053,7 @@ var _components;
|
|
|
1046
1053
|
expireTimer: null
|
|
1047
1054
|
};
|
|
1048
1055
|
},
|
|
1049
|
-
computed: Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, Object(helper["b" /* mapGetters */])(['userInfo'])), Object(helper["b" /* mapGetters */])(['videoMembers', 'videoMode', 'assemblyId', 'sessionId', 'showAudio', 'videoData', 'recordId', 'sdkAppId', 'sdkInfo', 'serviceId', 'clientId', 'isServer', 'accessParams', 'queryParams', 'chatUserId', 'muteAudio'])), {}, {
|
|
1056
|
+
computed: Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, Object(helper["b" /* mapGetters */])(['userInfo'])), Object(helper["b" /* mapGetters */])(['videoMembers', 'videoMode', 'assemblyId', 'sessionId', 'showAudio', 'videoData', 'recordId', 'sdkAppId', 'sdkInfo', 'serviceId', 'clientId', 'isServer', 'accessParams', 'queryParams', 'chatUserId', 'muteAudio', 'curScrollItem', 'outing', 'callerStatus'])), {}, {
|
|
1050
1057
|
mySipName: function mySipName() {
|
|
1051
1058
|
var videoData = this.videoData;
|
|
1052
1059
|
return videoData.isCaller ? videoData.callerSipName : videoData.calleeSipName;
|
|
@@ -1236,13 +1243,29 @@ var _components;
|
|
|
1236
1243
|
|
|
1237
1244
|
|
|
1238
1245
|
if (_this2.uniRTC || ((_data$map = data.map) === null || _data$map === void 0 ? void 0 : _data$map.vendor) == 3) {
|
|
1239
|
-
var
|
|
1246
|
+
var _this2$curScrollItem;
|
|
1240
1247
|
|
|
1241
|
-
|
|
1248
|
+
console.log('this.curScrollItem', _this2.curScrollItem);
|
|
1249
|
+
var curScrollItemParams = JSON.parse((_this2$curScrollItem = _this2.curScrollItem) === null || _this2$curScrollItem === void 0 ? void 0 : _this2$curScrollItem.params);
|
|
1250
|
+
Object(utils["d" /* getClientDeviceToken */])(curScrollItemParams.customerId).then(function (tokenRes) {
|
|
1251
|
+
var _data$map2;
|
|
1252
|
+
|
|
1253
|
+
if (!tokenRes) {
|
|
1254
|
+
return;
|
|
1255
|
+
}
|
|
1242
1256
|
|
|
1243
|
-
|
|
1257
|
+
var targetInfo = ((_data$map2 = data.map) === null || _data$map2 === void 0 ? void 0 : _data$map2.targetList) || []; // const targetList = data.map?.targetList || [];
|
|
1244
1258
|
|
|
1245
|
-
|
|
1259
|
+
var targetList = [{
|
|
1260
|
+
deviceToken: tokenRes.deviceToken,
|
|
1261
|
+
username: targetInfo[0].username,
|
|
1262
|
+
token: targetInfo[0].token
|
|
1263
|
+
}];
|
|
1264
|
+
|
|
1265
|
+
_this2.checkStatus(targetList);
|
|
1266
|
+
|
|
1267
|
+
_this2.startCall(targetList);
|
|
1268
|
+
});
|
|
1246
1269
|
}
|
|
1247
1270
|
} else {
|
|
1248
1271
|
_this2.$message.warning(data.resultMsg);
|
|
@@ -1335,7 +1358,9 @@ var _components;
|
|
|
1335
1358
|
|
|
1336
1359
|
|
|
1337
1360
|
if (_this4.uniRTC) {
|
|
1338
|
-
if (
|
|
1361
|
+
if (accept === '0') {
|
|
1362
|
+
console.log('this.outing', _this4.outing);
|
|
1363
|
+
|
|
1339
1364
|
_this4.stopCall();
|
|
1340
1365
|
} else {
|
|
1341
1366
|
// 拒接
|
|
@@ -1466,8 +1491,8 @@ var _components;
|
|
|
1466
1491
|
});
|
|
1467
1492
|
// CONCATENATED MODULE: ./packages/multi-chat/chat/audio.vue?vue&type=script&lang=js&
|
|
1468
1493
|
/* harmony default export */ var chat_audiovue_type_script_lang_js_ = (audiovue_type_script_lang_js_);
|
|
1469
|
-
// EXTERNAL MODULE: ./packages/multi-chat/chat/audio.vue?vue&type=style&index=0&id=
|
|
1470
|
-
var
|
|
1494
|
+
// EXTERNAL MODULE: ./packages/multi-chat/chat/audio.vue?vue&type=style&index=0&id=50602294&lang=less&scoped=true&
|
|
1495
|
+
var audiovue_type_style_index_0_id_50602294_lang_less_scoped_true_ = __webpack_require__("c208");
|
|
1471
1496
|
|
|
1472
1497
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1473
1498
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -1487,7 +1512,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
1487
1512
|
staticRenderFns,
|
|
1488
1513
|
false,
|
|
1489
1514
|
null,
|
|
1490
|
-
"
|
|
1515
|
+
"50602294",
|
|
1491
1516
|
null
|
|
1492
1517
|
|
|
1493
1518
|
)
|
|
@@ -1786,6 +1811,14 @@ var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
|
1786
1811
|
name: {
|
|
1787
1812
|
type: String,
|
|
1788
1813
|
default: ''
|
|
1814
|
+
},
|
|
1815
|
+
status: {
|
|
1816
|
+
type: String,
|
|
1817
|
+
default: ''
|
|
1818
|
+
},
|
|
1819
|
+
isShowStatus: {
|
|
1820
|
+
type: Boolean,
|
|
1821
|
+
default: false
|
|
1789
1822
|
}
|
|
1790
1823
|
},
|
|
1791
1824
|
render: function render(_h, _ref) {
|
|
@@ -1795,19 +1828,27 @@ var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
|
1795
1828
|
var size = props.size + 'px';
|
|
1796
1829
|
var className = props.className;
|
|
1797
1830
|
var customStyle = props.customStyle;
|
|
1831
|
+
var isShowStatus = props.isShowStatus;
|
|
1832
|
+
var onlineStatus = props.status === 'ON-LINE' ? 'online' : 'offline';
|
|
1798
1833
|
var name = '';
|
|
1799
1834
|
|
|
1800
1835
|
if (!src) {
|
|
1801
1836
|
name = (props.name || '').slice(-1 * props.len);
|
|
1802
1837
|
}
|
|
1803
1838
|
|
|
1804
|
-
return src ? h("
|
|
1839
|
+
return src ? h("div", {
|
|
1840
|
+
"class": "avatar-wrap"
|
|
1841
|
+
}, [h("img", {
|
|
1805
1842
|
"class": ['avatar-logo', className],
|
|
1806
1843
|
"attrs": {
|
|
1807
1844
|
"src": src
|
|
1808
1845
|
},
|
|
1809
1846
|
"style": "width:".concat(size, ";height:").concat(size, ";").concat(customStyle)
|
|
1810
|
-
})
|
|
1847
|
+
}), isShowStatus ? h("span", {
|
|
1848
|
+
"class": ['user-status', onlineStatus]
|
|
1849
|
+
}) : '']) : h("div", {
|
|
1850
|
+
"class": "avatar-wrap"
|
|
1851
|
+
}, [h("div", {
|
|
1811
1852
|
"class": ['avatar-logo', className],
|
|
1812
1853
|
"style": "width:".concat(size, ";").concat(customStyle)
|
|
1813
1854
|
}, [h("div", {
|
|
@@ -1815,13 +1856,15 @@ var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
|
1815
1856
|
"attrs": {
|
|
1816
1857
|
"data-name": name
|
|
1817
1858
|
}
|
|
1818
|
-
})])
|
|
1859
|
+
})]), isShowStatus ? h("span", {
|
|
1860
|
+
"class": ['user-status', onlineStatus]
|
|
1861
|
+
}) : '']);
|
|
1819
1862
|
}
|
|
1820
1863
|
});
|
|
1821
1864
|
// CONCATENATED MODULE: ./packages/multi-chat/components/avatar.vue?vue&type=script&lang=js&
|
|
1822
1865
|
/* harmony default export */ var components_avatarvue_type_script_lang_js_ = (avatarvue_type_script_lang_js_);
|
|
1823
|
-
// EXTERNAL MODULE: ./packages/multi-chat/components/avatar.vue?vue&type=style&index=0&id=
|
|
1824
|
-
var
|
|
1866
|
+
// EXTERNAL MODULE: ./packages/multi-chat/components/avatar.vue?vue&type=style&index=0&id=1b5b3fd8&lang=less&scoped=true&
|
|
1867
|
+
var avatarvue_type_style_index_0_id_1b5b3fd8_lang_less_scoped_true_ = __webpack_require__("fb40");
|
|
1825
1868
|
|
|
1826
1869
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1827
1870
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -1841,7 +1884,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
1841
1884
|
staticRenderFns,
|
|
1842
1885
|
false,
|
|
1843
1886
|
null,
|
|
1844
|
-
"
|
|
1887
|
+
"1b5b3fd8",
|
|
1845
1888
|
null
|
|
1846
1889
|
|
|
1847
1890
|
)
|
|
@@ -2219,7 +2262,7 @@ function _slicedToArray(arr, i) {
|
|
|
2219
2262
|
|
|
2220
2263
|
"use strict";
|
|
2221
2264
|
|
|
2222
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2265
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
2223
2266
|
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()])}
|
|
2224
2267
|
var staticRenderFns = []
|
|
2225
2268
|
|
|
@@ -2471,7 +2514,7 @@ module.exports = function (it) {
|
|
|
2471
2514
|
|
|
2472
2515
|
"use strict";
|
|
2473
2516
|
|
|
2474
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2517
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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=d8de5f46&scoped=true&
|
|
2475
2518
|
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:{
|
|
2476
2519
|
content: true,
|
|
2477
2520
|
'has-dictionary': item.dictionaryValues && item.dictionaryValues.length,
|
|
@@ -2480,15 +2523,15 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
|
|
|
2480
2523
|
var staticRenderFns = []
|
|
2481
2524
|
|
|
2482
2525
|
|
|
2483
|
-
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=template&id=
|
|
2526
|
+
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=template&id=d8de5f46&scoped=true&
|
|
2484
2527
|
|
|
2485
2528
|
// 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&
|
|
2486
2529
|
var chatMainvue_type_script_lang_js_ = __webpack_require__("dba2");
|
|
2487
2530
|
|
|
2488
2531
|
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=script&lang=js&
|
|
2489
2532
|
/* harmony default export */ var chat_chatMainvue_type_script_lang_js_ = (chatMainvue_type_script_lang_js_["a" /* default */]);
|
|
2490
|
-
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=style&index=0&id=
|
|
2491
|
-
var
|
|
2533
|
+
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatMain.vue?vue&type=style&index=0&id=d8de5f46&lang=less&scoped=true&
|
|
2534
|
+
var chatMainvue_type_style_index_0_id_d8de5f46_lang_less_scoped_true_ = __webpack_require__("8639");
|
|
2492
2535
|
|
|
2493
2536
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
2494
2537
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -2508,7 +2551,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
2508
2551
|
staticRenderFns,
|
|
2509
2552
|
false,
|
|
2510
2553
|
null,
|
|
2511
|
-
"
|
|
2554
|
+
"d8de5f46",
|
|
2512
2555
|
null
|
|
2513
2556
|
|
|
2514
2557
|
)
|
|
@@ -2551,7 +2594,7 @@ module.exports = {};
|
|
|
2551
2594
|
|
|
2552
2595
|
"use strict";
|
|
2553
2596
|
|
|
2554
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2597
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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=bb1e65e0&scoped=true&
|
|
2555
2598
|
var render = function () {
|
|
2556
2599
|
var this$1 = this;
|
|
2557
2600
|
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 () {
|
|
@@ -2560,7 +2603,7 @@ var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layo
|
|
|
2560
2603
|
var staticRenderFns = []
|
|
2561
2604
|
|
|
2562
2605
|
|
|
2563
|
-
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatHeader.vue?vue&type=template&id=
|
|
2606
|
+
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatHeader.vue?vue&type=template&id=bb1e65e0&scoped=true&
|
|
2564
2607
|
|
|
2565
2608
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
2566
2609
|
var objectSpread2 = __webpack_require__("5530");
|
|
@@ -3121,8 +3164,8 @@ var _components;
|
|
|
3121
3164
|
});
|
|
3122
3165
|
// CONCATENATED MODULE: ./packages/multi-chat/chat/chatHeader.vue?vue&type=script&lang=js&
|
|
3123
3166
|
/* harmony default export */ var chat_chatHeadervue_type_script_lang_js_ = (chatHeadervue_type_script_lang_js_);
|
|
3124
|
-
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatHeader.vue?vue&type=style&index=0&id=
|
|
3125
|
-
var
|
|
3167
|
+
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatHeader.vue?vue&type=style&index=0&id=bb1e65e0&lang=less&scoped=true&
|
|
3168
|
+
var chatHeadervue_type_style_index_0_id_bb1e65e0_lang_less_scoped_true_ = __webpack_require__("93ed");
|
|
3126
3169
|
|
|
3127
3170
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
3128
3171
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -3142,7 +3185,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
3142
3185
|
staticRenderFns,
|
|
3143
3186
|
false,
|
|
3144
3187
|
null,
|
|
3145
|
-
"
|
|
3188
|
+
"bb1e65e0",
|
|
3146
3189
|
null
|
|
3147
3190
|
|
|
3148
3191
|
)
|
|
@@ -3559,6 +3602,7 @@ var map = {
|
|
|
3559
3602
|
"./receive.png": "755d",
|
|
3560
3603
|
"./reject.png": "43fa",
|
|
3561
3604
|
"./remove.png": "bf73",
|
|
3605
|
+
"./replay.png": "03ec",
|
|
3562
3606
|
"./required.png": "a703",
|
|
3563
3607
|
"./screen.png": "00f1",
|
|
3564
3608
|
"./send_prescription.png": "9036",
|
|
@@ -3605,20 +3649,23 @@ webpackContext.id = "46bb";
|
|
|
3605
3649
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3606
3650
|
|
|
3607
3651
|
"use strict";
|
|
3608
|
-
/* harmony import */ var
|
|
3652
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5530");
|
|
3609
3653
|
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("4391");
|
|
3610
3654
|
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
3611
|
-
/* harmony import */ var
|
|
3655
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("f989");
|
|
3656
|
+
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
3657
|
+
/* harmony import */ var _store_helper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("e3c5");
|
|
3658
|
+
|
|
3612
3659
|
|
|
3613
3660
|
|
|
3614
3661
|
|
|
3615
3662
|
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
3616
|
-
computed: Object(
|
|
3663
|
+
computed: Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, Object(_store_helper__WEBPACK_IMPORTED_MODULE_3__[/* mapGetters */ "b"])(['uniRTC', 'incoming', 'outing', 'sdkAppId'])),
|
|
3617
3664
|
data: function data() {
|
|
3618
3665
|
return {// outing: [],
|
|
3619
3666
|
};
|
|
3620
3667
|
},
|
|
3621
|
-
methods: Object(
|
|
3668
|
+
methods: Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, Object(_store_helper__WEBPACK_IMPORTED_MODULE_3__[/* mapMutations */ "c"])(['setIncoming', 'setOuting'])), {}, {
|
|
3622
3669
|
checkStatus: function checkStatus(targetList) {
|
|
3623
3670
|
var deviceTokens = targetList.map(function (v) {
|
|
3624
3671
|
return v.deviceToken;
|
|
@@ -3638,17 +3685,19 @@ webpackContext.id = "46bb";
|
|
|
3638
3685
|
for (var i = 0; i < targetList.length; i++) {
|
|
3639
3686
|
var item = targetList[i];
|
|
3640
3687
|
|
|
3641
|
-
var outing = _this.uniRTC.startCall(item.deviceToken, '
|
|
3642
|
-
sdkAppId: _this.
|
|
3643
|
-
userId: _this.
|
|
3688
|
+
var outing = _this.uniRTC.startCall(item.deviceToken, '腾讯视频', 'tencent', {
|
|
3689
|
+
sdkAppId: Number(_this.sdkAppId),
|
|
3690
|
+
userId: _this.isServer ? _this.serviceId : _this.clientId,
|
|
3644
3691
|
userSig: _this.videoData.token,
|
|
3645
|
-
roomId: _this.videoData.roomId
|
|
3692
|
+
roomId: Number(_this.videoData.roomId),
|
|
3693
|
+
videoData: _this.videoData // privateMapKey
|
|
3646
3694
|
|
|
3647
3695
|
}, {
|
|
3648
|
-
sdkAppId: _this.
|
|
3696
|
+
sdkAppId: Number(_this.sdkAppId),
|
|
3649
3697
|
userId: item.username,
|
|
3650
3698
|
userSig: item.token,
|
|
3651
|
-
roomId: _this.videoData.roomId
|
|
3699
|
+
roomId: Number(_this.videoData.roomId),
|
|
3700
|
+
videoData: _this.videoData // privateMapKey
|
|
3652
3701
|
|
|
3653
3702
|
});
|
|
3654
3703
|
|
|
@@ -3660,7 +3709,8 @@ webpackContext.id = "46bb";
|
|
|
3660
3709
|
},
|
|
3661
3710
|
stopCall: function stopCall() {
|
|
3662
3711
|
for (var i = 0; i < this.outing.length; i++) {
|
|
3663
|
-
var item = this.outing[i];
|
|
3712
|
+
var item = this.outing[i];
|
|
3713
|
+
console.log('江苏省主动挂断', item); // 江苏省主动挂断
|
|
3664
3714
|
|
|
3665
3715
|
this.uniRTC.stopCall(item);
|
|
3666
3716
|
}
|
|
@@ -4049,7 +4099,7 @@ var store = __webpack_require__("c6cd");
|
|
|
4049
4099
|
|
|
4050
4100
|
"use strict";
|
|
4051
4101
|
|
|
4052
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4102
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
4053
4103
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"video",staticClass:"video-popover"},[_c('div',{staticClass:"video-header"},[_c('span',{staticClass:"video-title"},[_c('span',[_vm._v("视频通话")]),(_vm.sipName)?_c('a-tooltip',{attrs:{"placement":"bottom","overlayStyle":{ maxWidth: 'auto', fontSize: '12px' }}},[_c('span',{attrs:{"slot":"title"},slot:"title"},[_vm._v(" 当前设备"+_vm._s(_vm.sipName)),_c('br'),_vm._v(" 若要更换音视频设备,请点击设置进行更改 ")]),_c('svg-icon',{attrs:{"icon-class":"xitongtubiaodaohangtubiaowenti"}})],1):_vm._e()],1),_c('a-icon',{staticClass:"icon-item",attrs:{"type":_vm.size === 'big' ? 'shrink' : 'arrows-alt'},on:{"click":_vm.handleSize}}),_c('a-popconfirm',{attrs:{"okText":_vm.i18nText('1.1.1.1.3'),"cancelText":_vm.i18nText('2.7.1.14')},on:{"confirm":_vm.handleClose}},[_c('a-icon',{staticStyle:{"color":"red"},attrs:{"slot":"icon","type":"question-circle-o"},slot:"icon"}),_c('div',{attrs:{"slot":"title"},slot:"title"},[_c('span',[_vm._v(_vm._s(_vm.i18nText('1.9.384')))]),_c('br'),_c('span',[_vm._v(_vm._s(_vm.i18nText('1.9.385'))+"?")])]),_c('a-icon',{staticClass:"icon-item",attrs:{"type":"close"}})],1)],1),_c('div',{style:(_vm.remoteVideoWrapStyle),attrs:{"id":"remote-video-wrap"}},[_c('div',{staticClass:"video-placeholder",style:(_vm.localStreamStyle),attrs:{"id":"local_stream"}})]),_c('div',{staticClass:"panel-wrapper",style:(_vm.panelWrapperStyle)},[_c('ul',{staticClass:"operation-panel"},[_c('li',{staticClass:"panel-item",on:{"click":_vm.handleAudio}},[_c('img',{attrs:{"src":__webpack_require__("46bb")("./" + (_vm.muteAudio ? 'muted-audio' : 'audio') + ".png"),"width":_vm.size === 'big' ? 40 : 24}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '14px' : '12px' })},[_vm._v("静音")])]),_c('li',{staticClass:"panel-item",on:{"click":_vm.handleReject}},[_c('img',{attrs:{"src":__webpack_require__("73ff"),"width":_vm.size === 'big' ? 40 : 24}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '14px' : '12px' })},[_vm._v("挂断")])]),_c('li',{staticClass:"panel-item",on:{"click":_vm.handleVideo}},[_c('img',{attrs:{"src":__webpack_require__("46bb")("./" + (_vm.muteVideo ? 'muted-video' : 'normal-video') + ".png"),"width":_vm.size === 'big' ? 40 : 24}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '14px' : '12px' })},[_vm._v("视频")])]),_c('li',{staticClass:"panel-item",on:{"click":_vm.handleScreenToggle}},[_c('img',{attrs:{"src":__webpack_require__("46bb")("./" + (_vm.screen ? 'normal-screen' : 'muted-screen') + ".png"),"width":_vm.size === 'big' ? 40 : 24}}),_c('span',{style:({ fontSize: _vm.size === 'big' ? '14px' : '12px' })},[_vm._v("屏幕共享")])])])])])}
|
|
4054
4104
|
var staticRenderFns = []
|
|
4055
4105
|
|
|
@@ -4173,9 +4223,24 @@ var rtc_client_RtcClient = /*#__PURE__*/function () {
|
|
|
4173
4223
|
this.localStream_ = null;
|
|
4174
4224
|
this.remoteStreams_ = [];
|
|
4175
4225
|
this.options = options;
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4226
|
+
|
|
4227
|
+
function getSDKJS() {
|
|
4228
|
+
if (options.vendor == 2) {
|
|
4229
|
+
return __webpack_require__("73f9");
|
|
4230
|
+
} else if (options.vendor == 3) {
|
|
4231
|
+
// 对接江苏省sdk
|
|
4232
|
+
return {
|
|
4233
|
+
default: __webpack_require__("fb9c")
|
|
4234
|
+
}; // return { default: require('trtc-js-sdk')}
|
|
4235
|
+
} else {
|
|
4236
|
+
return {
|
|
4237
|
+
default: __webpack_require__("b1ed")
|
|
4238
|
+
};
|
|
4239
|
+
}
|
|
4240
|
+
}
|
|
4241
|
+
|
|
4242
|
+
var sdkjs = Promise.resolve(getSDKJS());
|
|
4243
|
+
console.log('sdkjs', sdkjs);
|
|
4179
4244
|
sdkjs.then(function (res) {
|
|
4180
4245
|
TRTC = res.default; // check if browser is compatible with TRTC
|
|
4181
4246
|
|
|
@@ -4258,27 +4323,29 @@ var rtc_client_RtcClient = /*#__PURE__*/function () {
|
|
|
4258
4323
|
userId: this.userId_ // cameraId: getCameraId(),
|
|
4259
4324
|
// microphoneId: getMicrophoneId()
|
|
4260
4325
|
|
|
4261
|
-
}, this.client_);
|
|
4326
|
+
}, this.client_);
|
|
4327
|
+
console.log('单人this.userId_', this.userId_);
|
|
4328
|
+
console.log('单人创建本地流:', this.localStream_); // 设置视频分辨率帧率和码率
|
|
4262
4329
|
// console.log,暂时注释
|
|
4263
4330
|
|
|
4264
4331
|
this.localStream_.setVideoProfile(this.screen ? '1080p' : '720p');
|
|
4265
|
-
_context.prev =
|
|
4266
|
-
_context.next =
|
|
4332
|
+
_context.prev = 25;
|
|
4333
|
+
_context.next = 28;
|
|
4267
4334
|
return this.localStream_.initialize();
|
|
4268
4335
|
|
|
4269
|
-
case
|
|
4336
|
+
case 28:
|
|
4270
4337
|
console.log('initialize local stream success');
|
|
4271
|
-
_context.next =
|
|
4338
|
+
_context.next = 36;
|
|
4272
4339
|
break;
|
|
4273
4340
|
|
|
4274
|
-
case
|
|
4275
|
-
_context.prev =
|
|
4276
|
-
_context.t1 = _context["catch"](
|
|
4341
|
+
case 31:
|
|
4342
|
+
_context.prev = 31;
|
|
4343
|
+
_context.t1 = _context["catch"](25);
|
|
4277
4344
|
console.error('failed to initialize local stream because: ' + _context.t1);
|
|
4278
4345
|
this.$emit('initializeError', _context.t1);
|
|
4279
4346
|
return _context.abrupt("return");
|
|
4280
4347
|
|
|
4281
|
-
case
|
|
4348
|
+
case 36:
|
|
4282
4349
|
this.localStream_.on('player-state-changed', function (event) {
|
|
4283
4350
|
console.log("local stream ".concat(event.type, " player is ").concat(event.state));
|
|
4284
4351
|
|
|
@@ -4288,10 +4355,10 @@ var rtc_client_RtcClient = /*#__PURE__*/function () {
|
|
|
4288
4355
|
});
|
|
4289
4356
|
this.addSceenEvent(this.localStream_); // publish local stream by default after join the room
|
|
4290
4357
|
|
|
4291
|
-
_context.next =
|
|
4358
|
+
_context.next = 40;
|
|
4292
4359
|
return this.publish();
|
|
4293
4360
|
|
|
4294
|
-
case
|
|
4361
|
+
case 40:
|
|
4295
4362
|
// 在名为 ‘local_stream’ 的 div 容器上播放本地音视频
|
|
4296
4363
|
this.playStream(this.localStream_, localBox);
|
|
4297
4364
|
|
|
@@ -4299,12 +4366,12 @@ var rtc_client_RtcClient = /*#__PURE__*/function () {
|
|
|
4299
4366
|
this.localStream_.muteAudio();
|
|
4300
4367
|
}
|
|
4301
4368
|
|
|
4302
|
-
case
|
|
4369
|
+
case 42:
|
|
4303
4370
|
case "end":
|
|
4304
4371
|
return _context.stop();
|
|
4305
4372
|
}
|
|
4306
4373
|
}
|
|
4307
|
-
}, _callee, this, [[6, 13], [
|
|
4374
|
+
}, _callee, this, [[6, 13], [25, 31]]);
|
|
4308
4375
|
}));
|
|
4309
4376
|
|
|
4310
4377
|
function join() {
|
|
@@ -4321,54 +4388,56 @@ var rtc_client_RtcClient = /*#__PURE__*/function () {
|
|
|
4321
4388
|
while (1) {
|
|
4322
4389
|
switch (_context2.prev = _context2.next) {
|
|
4323
4390
|
case 0:
|
|
4391
|
+
console.log('单人leave: 离开房间');
|
|
4392
|
+
|
|
4324
4393
|
if (this.isJoined_) {
|
|
4325
|
-
_context2.next =
|
|
4394
|
+
_context2.next = 4;
|
|
4326
4395
|
break;
|
|
4327
4396
|
}
|
|
4328
4397
|
|
|
4329
4398
|
console.warn('leave() - leave without join()d observed');
|
|
4330
4399
|
return _context2.abrupt("return");
|
|
4331
4400
|
|
|
4332
|
-
case
|
|
4401
|
+
case 4:
|
|
4333
4402
|
if (!this.isPublished_) {
|
|
4334
|
-
_context2.next =
|
|
4403
|
+
_context2.next = 7;
|
|
4335
4404
|
break;
|
|
4336
4405
|
}
|
|
4337
4406
|
|
|
4338
|
-
_context2.next =
|
|
4407
|
+
_context2.next = 7;
|
|
4339
4408
|
return this.unpublish(true);
|
|
4340
4409
|
|
|
4341
|
-
case
|
|
4342
|
-
_context2.prev =
|
|
4343
|
-
_context2.next =
|
|
4410
|
+
case 7:
|
|
4411
|
+
_context2.prev = 7;
|
|
4412
|
+
_context2.next = 10;
|
|
4344
4413
|
return this.client_.leave();
|
|
4345
4414
|
|
|
4346
|
-
case
|
|
4415
|
+
case 10:
|
|
4347
4416
|
this.isJoined_ = false;
|
|
4348
|
-
_context2.next =
|
|
4417
|
+
_context2.next = 17;
|
|
4349
4418
|
break;
|
|
4350
4419
|
|
|
4351
|
-
case
|
|
4352
|
-
_context2.prev =
|
|
4353
|
-
_context2.t0 = _context2["catch"](
|
|
4420
|
+
case 13:
|
|
4421
|
+
_context2.prev = 13;
|
|
4422
|
+
_context2.t0 = _context2["catch"](7);
|
|
4354
4423
|
console.error('failed to leave the room because ' + _context2.t0);
|
|
4355
4424
|
location.reload();
|
|
4356
4425
|
|
|
4357
|
-
case
|
|
4358
|
-
_context2.prev =
|
|
4426
|
+
case 17:
|
|
4427
|
+
_context2.prev = 17;
|
|
4359
4428
|
// 停止本地流,关闭本地流内部的音视频播放器
|
|
4360
4429
|
this.localStream_.stop(); // 关闭本地流,释放摄像头和麦克风访问权限
|
|
4361
4430
|
|
|
4362
4431
|
this.localStream_.close();
|
|
4363
4432
|
this.localStream_ = null;
|
|
4364
|
-
return _context2.finish(
|
|
4433
|
+
return _context2.finish(17);
|
|
4365
4434
|
|
|
4366
|
-
case
|
|
4435
|
+
case 22:
|
|
4367
4436
|
case "end":
|
|
4368
4437
|
return _context2.stop();
|
|
4369
4438
|
}
|
|
4370
4439
|
}
|
|
4371
|
-
}, _callee2, this, [[
|
|
4440
|
+
}, _callee2, this, [[7, 13, 17, 22]]);
|
|
4372
4441
|
}));
|
|
4373
4442
|
|
|
4374
4443
|
function leave() {
|
|
@@ -4481,20 +4550,32 @@ var rtc_client_RtcClient = /*#__PURE__*/function () {
|
|
|
4481
4550
|
}
|
|
4482
4551
|
|
|
4483
4552
|
this.dropSip();
|
|
4484
|
-
_context4.next =
|
|
4553
|
+
_context4.next = 18;
|
|
4485
4554
|
break;
|
|
4486
4555
|
|
|
4487
4556
|
case 11:
|
|
4488
|
-
|
|
4557
|
+
console.log('单人unpublish: 释放本地流:', this.localStream_);
|
|
4558
|
+
|
|
4559
|
+
if (!(this.options.vendor === 3)) {
|
|
4560
|
+
_context4.next = 16;
|
|
4561
|
+
break;
|
|
4562
|
+
}
|
|
4563
|
+
|
|
4564
|
+
this.localStream_.close();
|
|
4565
|
+
_context4.next = 18;
|
|
4566
|
+
break;
|
|
4567
|
+
|
|
4568
|
+
case 16:
|
|
4569
|
+
_context4.next = 18;
|
|
4489
4570
|
return this.client_.unpublish(this.localStream_);
|
|
4490
4571
|
|
|
4491
|
-
case
|
|
4572
|
+
case 18:
|
|
4492
4573
|
this.isPublished_ = false;
|
|
4493
|
-
_context4.next =
|
|
4574
|
+
_context4.next = 25;
|
|
4494
4575
|
break;
|
|
4495
4576
|
|
|
4496
|
-
case
|
|
4497
|
-
_context4.prev =
|
|
4577
|
+
case 21:
|
|
4578
|
+
_context4.prev = 21;
|
|
4498
4579
|
_context4.t0 = _context4["catch"](6);
|
|
4499
4580
|
console.error('failed to unpublish local stream because ' + _context4.t0);
|
|
4500
4581
|
|
|
@@ -4503,12 +4584,12 @@ var rtc_client_RtcClient = /*#__PURE__*/function () {
|
|
|
4503
4584
|
this.leave();
|
|
4504
4585
|
}
|
|
4505
4586
|
|
|
4506
|
-
case
|
|
4587
|
+
case 25:
|
|
4507
4588
|
case "end":
|
|
4508
4589
|
return _context4.stop();
|
|
4509
4590
|
}
|
|
4510
4591
|
}
|
|
4511
|
-
}, _callee4, this, [[6,
|
|
4592
|
+
}, _callee4, this, [[6, 21]]);
|
|
4512
4593
|
}));
|
|
4513
4594
|
|
|
4514
4595
|
function unpublish(_x) {
|
|
@@ -5288,9 +5369,9 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAIAAAD/
|
|
|
5288
5369
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5289
5370
|
|
|
5290
5371
|
"use strict";
|
|
5291
|
-
/* harmony import */ var
|
|
5292
|
-
/* harmony import */ var
|
|
5293
|
-
/* harmony import */ var
|
|
5372
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d4ec");
|
|
5373
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
|
5374
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("ade3");
|
|
5294
5375
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("13e3");
|
|
5295
5376
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
5296
5377
|
/* harmony import */ var stompjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("4692");
|
|
@@ -5322,26 +5403,26 @@ var ChatSock = /*#__PURE__*/function () {
|
|
|
5322
5403
|
* @param {Number} options.reconnectMaxCount 重连最大次数
|
|
5323
5404
|
*/
|
|
5324
5405
|
function ChatSock(url, options) {
|
|
5325
|
-
Object(
|
|
5406
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, ChatSock);
|
|
5326
5407
|
|
|
5327
|
-
Object(
|
|
5408
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "stompClient", void 0);
|
|
5328
5409
|
|
|
5329
|
-
Object(
|
|
5410
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "reconnectTimer", void 0);
|
|
5330
5411
|
|
|
5331
|
-
Object(
|
|
5412
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "reconnectionCount", 0);
|
|
5332
5413
|
|
|
5333
|
-
Object(
|
|
5414
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "heartbeatTimer", void 0);
|
|
5334
5415
|
|
|
5335
|
-
Object(
|
|
5416
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "options", {});
|
|
5336
5417
|
|
|
5337
|
-
Object(
|
|
5418
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "url", '');
|
|
5338
5419
|
|
|
5339
5420
|
this.url = url;
|
|
5340
5421
|
this.options = options;
|
|
5341
5422
|
this.connection();
|
|
5342
5423
|
}
|
|
5343
5424
|
|
|
5344
|
-
Object(
|
|
5425
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(ChatSock, [{
|
|
5345
5426
|
key: "connection",
|
|
5346
5427
|
value: function connection() {
|
|
5347
5428
|
var _this = this;
|
|
@@ -5476,13 +5557,6 @@ module.exports = function (bitmap, value) {
|
|
|
5476
5557
|
|
|
5477
5558
|
/***/ }),
|
|
5478
5559
|
|
|
5479
|
-
/***/ "5d17":
|
|
5480
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5481
|
-
|
|
5482
|
-
// extracted by mini-css-extract-plugin
|
|
5483
|
-
|
|
5484
|
-
/***/ }),
|
|
5485
|
-
|
|
5486
5560
|
/***/ "5d3b":
|
|
5487
5561
|
/***/ (function(module, exports) {
|
|
5488
5562
|
|
|
@@ -5583,7 +5657,7 @@ module.exports = !$assign || fails(function () {
|
|
|
5583
5657
|
|
|
5584
5658
|
"use strict";
|
|
5585
5659
|
|
|
5586
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5660
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
5587
5661
|
var render = function () {
|
|
5588
5662
|
var this$1 = this;
|
|
5589
5663
|
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:([
|
|
@@ -6047,7 +6121,7 @@ function getPanelSetting(params, setting, clientParams) {
|
|
|
6047
6121
|
// EXTERNAL MODULE: ./packages/multi-chat/store/helper.js
|
|
6048
6122
|
var helper = __webpack_require__("e3c5");
|
|
6049
6123
|
|
|
6050
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6124
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
6051
6125
|
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)}
|
|
6052
6126
|
var quickReplyvue_type_template_id_6df19346_staticRenderFns = []
|
|
6053
6127
|
|
|
@@ -6493,7 +6567,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
6493
6567
|
)
|
|
6494
6568
|
|
|
6495
6569
|
/* harmony default export */ var quickReply = (component.exports);
|
|
6496
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6570
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
6497
6571
|
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}})])])}
|
|
6498
6572
|
var voicevue_type_template_id_7e851a0c_scoped_true_staticRenderFns = []
|
|
6499
6573
|
|
|
@@ -6935,7 +7009,7 @@ var voice_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6935
7009
|
)
|
|
6936
7010
|
|
|
6937
7011
|
/* harmony default export */ var voice = (voice_component.exports);
|
|
6938
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7012
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
6939
7013
|
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)}
|
|
6940
7014
|
var modal_user_transfervue_type_template_id_f50a4f90_staticRenderFns = []
|
|
6941
7015
|
|
|
@@ -7070,7 +7144,7 @@ var modal_user_transfer_component = Object(componentNormalizer["a" /* default */
|
|
|
7070
7144
|
)
|
|
7071
7145
|
|
|
7072
7146
|
/* harmony default export */ var modal_user_transfer = (modal_user_transfer_component.exports);
|
|
7073
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7147
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
7074
7148
|
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)}
|
|
7075
7149
|
var modal_refuse_reasonvue_type_template_id_375e05a7_scoped_true_staticRenderFns = []
|
|
7076
7150
|
|
|
@@ -8963,17 +9037,6 @@ module.exports = {
|
|
|
8963
9037
|
};
|
|
8964
9038
|
|
|
8965
9039
|
|
|
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
|
-
|
|
8977
9040
|
/***/ }),
|
|
8978
9041
|
|
|
8979
9042
|
/***/ "6b75":
|
|
@@ -9079,14 +9142,15 @@ module.exports = require("core-js/modules/es.typed-array.find-index.js");
|
|
|
9079
9142
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9080
9143
|
|
|
9081
9144
|
"use strict";
|
|
9145
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getClientDeviceToken; });
|
|
9082
9146
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return fmtRobotMessage; });
|
|
9083
9147
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return checkTalkingEnv; });
|
|
9084
9148
|
/* unused harmony export chatUid */
|
|
9085
9149
|
/* unused harmony export chatUids */
|
|
9086
9150
|
/* unused harmony export chatUidUp */
|
|
9087
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
9151
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return getRecallText; });
|
|
9088
9152
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return chatAuthentication; });
|
|
9089
|
-
/* harmony import */ var
|
|
9153
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1da1");
|
|
9090
9154
|
/* harmony import */ var ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("f2f7");
|
|
9091
9155
|
/* harmony import */ var ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_1__);
|
|
9092
9156
|
/* harmony import */ var ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("23a4");
|
|
@@ -9107,6 +9171,9 @@ module.exports = require("core-js/modules/es.typed-array.find-index.js");
|
|
|
9107
9171
|
/* harmony import */ var _utils_sip_device__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_utils_sip_device__WEBPACK_IMPORTED_MODULE_9__);
|
|
9108
9172
|
/* harmony import */ var _utils_chatFetch__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("cd9f");
|
|
9109
9173
|
/* harmony import */ var _utils_chatFetch__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_utils_chatFetch__WEBPACK_IMPORTED_MODULE_10__);
|
|
9174
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("cebe");
|
|
9175
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_11__);
|
|
9176
|
+
|
|
9110
9177
|
|
|
9111
9178
|
|
|
9112
9179
|
|
|
@@ -9125,6 +9192,32 @@ var chatUidUp = function chatUidUp() {
|
|
|
9125
9192
|
chatUids.push("multiChat-".concat(chatUid, "/assemblyId"));
|
|
9126
9193
|
chatUid++;
|
|
9127
9194
|
};
|
|
9195
|
+
|
|
9196
|
+
var getClientDeviceToken = function getClientDeviceToken(params) {
|
|
9197
|
+
return axios__WEBPACK_IMPORTED_MODULE_11___default()({
|
|
9198
|
+
method: "get",
|
|
9199
|
+
baseURL: "",
|
|
9200
|
+
url: "/ihcrm/rest/callEsb/util/get",
|
|
9201
|
+
params: {
|
|
9202
|
+
customerId: params,
|
|
9203
|
+
interface: 'getDeviceTokenByCustomerId'
|
|
9204
|
+
}
|
|
9205
|
+
}).then(function (_ref) {
|
|
9206
|
+
var data = _ref.data;
|
|
9207
|
+
|
|
9208
|
+
if (data.status === "success" || data.code === "00000") {
|
|
9209
|
+
var result = JSON.parse(data.result);
|
|
9210
|
+
|
|
9211
|
+
if (result.data) {
|
|
9212
|
+
return result.data;
|
|
9213
|
+
}
|
|
9214
|
+
} else {
|
|
9215
|
+
return false;
|
|
9216
|
+
}
|
|
9217
|
+
}).catch(function (error) {
|
|
9218
|
+
console.error(error);
|
|
9219
|
+
});
|
|
9220
|
+
};
|
|
9128
9221
|
/**
|
|
9129
9222
|
* 获取撤回文案
|
|
9130
9223
|
* @param ctx Vue
|
|
@@ -9132,7 +9225,6 @@ var chatUidUp = function chatUidUp() {
|
|
|
9132
9225
|
* @param flag true:我方|false:对方
|
|
9133
9226
|
*/
|
|
9134
9227
|
|
|
9135
|
-
|
|
9136
9228
|
function getRecallText(ctx, item) {
|
|
9137
9229
|
var flag = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
9138
9230
|
var value = flag ? ctx.i18nText('1.9.366') : ctx.i18nText('1.9.367');
|
|
@@ -9173,8 +9265,8 @@ function chatAuthentication(token) {
|
|
|
9173
9265
|
params: {
|
|
9174
9266
|
token: token
|
|
9175
9267
|
}
|
|
9176
|
-
}).then(function (
|
|
9177
|
-
var data =
|
|
9268
|
+
}).then(function (_ref2) {
|
|
9269
|
+
var data = _ref2.data;
|
|
9178
9270
|
var r = data.result === 'SUCCESS';
|
|
9179
9271
|
|
|
9180
9272
|
if (r) {
|
|
@@ -9219,7 +9311,7 @@ function checkTalkingEnv(_x, _x2, _x3) {
|
|
|
9219
9311
|
}
|
|
9220
9312
|
|
|
9221
9313
|
function _checkTalkingEnv() {
|
|
9222
|
-
_checkTalkingEnv = Object(
|
|
9314
|
+
_checkTalkingEnv = Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(assemblyId, sdkInfo, constraints) {
|
|
9223
9315
|
var _sips;
|
|
9224
9316
|
|
|
9225
9317
|
var mediaConstraints, getSips, getDeviceAuth, chooseSip, _status, sip, sips, id, status, value;
|
|
@@ -9758,7 +9850,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACN
|
|
|
9758
9850
|
|
|
9759
9851
|
"use strict";
|
|
9760
9852
|
|
|
9761
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9853
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
9762
9854
|
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) {
|
|
9763
9855
|
return triggerNode.parentNode || _vm.document.body;
|
|
9764
9856
|
}}},[(_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){
|
|
@@ -9969,6 +10061,17 @@ module.exports = function (it) {
|
|
|
9969
10061
|
};
|
|
9970
10062
|
|
|
9971
10063
|
|
|
10064
|
+
/***/ }),
|
|
10065
|
+
|
|
10066
|
+
/***/ "8639":
|
|
10067
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10068
|
+
|
|
10069
|
+
"use strict";
|
|
10070
|
+
/* 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_d8de5f46_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c985");
|
|
10071
|
+
/* 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_d8de5f46_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_d8de5f46_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
10072
|
+
/* unused harmony reexport * */
|
|
10073
|
+
|
|
10074
|
+
|
|
9972
10075
|
/***/ }),
|
|
9973
10076
|
|
|
9974
10077
|
/***/ "863b":
|
|
@@ -10063,13 +10166,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACL
|
|
|
10063
10166
|
|
|
10064
10167
|
/***/ }),
|
|
10065
10168
|
|
|
10066
|
-
/***/ "8be8":
|
|
10067
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10068
|
-
|
|
10069
|
-
// extracted by mini-css-extract-plugin
|
|
10070
|
-
|
|
10071
|
-
/***/ }),
|
|
10072
|
-
|
|
10073
10169
|
/***/ "8d16":
|
|
10074
10170
|
/***/ (function(module, exports, __webpack_require__) {
|
|
10075
10171
|
|
|
@@ -10248,7 +10344,9 @@ var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
|
10248
10344
|
userStatus: '',
|
|
10249
10345
|
uniRTC: null,
|
|
10250
10346
|
incoming: null,
|
|
10251
|
-
outing: []
|
|
10347
|
+
outing: [],
|
|
10348
|
+
callerStatus: '' // 呼叫人在线离线状态(江苏通)
|
|
10349
|
+
|
|
10252
10350
|
};
|
|
10253
10351
|
});
|
|
10254
10352
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
@@ -10685,6 +10783,9 @@ var es_array_slice_js_ = __webpack_require__("ea12");
|
|
|
10685
10783
|
},
|
|
10686
10784
|
outing: function outing(state) {
|
|
10687
10785
|
return state.outing;
|
|
10786
|
+
},
|
|
10787
|
+
callerStatus: function callerStatus(state) {
|
|
10788
|
+
return state.callerStatus;
|
|
10688
10789
|
}
|
|
10689
10790
|
});
|
|
10690
10791
|
// CONCATENATED MODULE: ./packages/multi-chat/store/mutation.js
|
|
@@ -10967,6 +11068,9 @@ var es_array_slice_js_ = __webpack_require__("ea12");
|
|
|
10967
11068
|
},
|
|
10968
11069
|
setOuting: function setOuting(state, outing) {
|
|
10969
11070
|
state.outing = outing;
|
|
11071
|
+
},
|
|
11072
|
+
setCallerStatus: function setCallerStatus(state, callerStatus) {
|
|
11073
|
+
state.callerStatus = callerStatus;
|
|
10970
11074
|
}
|
|
10971
11075
|
});
|
|
10972
11076
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
@@ -11514,13 +11618,13 @@ var actions_deepClone = function deepClone(source) {
|
|
|
11514
11618
|
},
|
|
11515
11619
|
initUniRTC: function initUniRTC(_ref14, obj) {
|
|
11516
11620
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
11517
|
-
var commit, state, uniAppId, uniSecretKey, params, uniRTC, getLoginToken, timer, n, registerDeviceToken;
|
|
11621
|
+
var commit, state, uniAppId, uniSecretKey, params, vueSelf, uniRTC, getLoginToken, timer, n, registerDeviceToken;
|
|
11518
11622
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
11519
11623
|
while (1) {
|
|
11520
11624
|
switch (_context3.prev = _context3.next) {
|
|
11521
11625
|
case 0:
|
|
11522
11626
|
commit = _ref14.commit, state = _ref14.state;
|
|
11523
|
-
uniAppId = obj.uniAppId, uniSecretKey = obj.uniSecretKey, params = obj.params;
|
|
11627
|
+
uniAppId = obj.uniAppId, uniSecretKey = obj.uniSecretKey, params = obj.params, vueSelf = obj.vueSelf;
|
|
11524
11628
|
uniRTC = null;
|
|
11525
11629
|
|
|
11526
11630
|
getLoginToken = /*#__PURE__*/function () {
|
|
@@ -11534,8 +11638,12 @@ var actions_deepClone = function deepClone(source) {
|
|
|
11534
11638
|
paramsData = {
|
|
11535
11639
|
clientType: '1',
|
|
11536
11640
|
deviceToken: uniRTC.deviceToken,
|
|
11537
|
-
appId: uniAppId,
|
|
11538
|
-
secretKey: uniSecretKey
|
|
11641
|
+
// appId: uniAppId,
|
|
11642
|
+
// secretKey: uniSecretKey
|
|
11643
|
+
appId: 'hangchuang',
|
|
11644
|
+
// 测试(9997)账号
|
|
11645
|
+
secretKey: 'hangchuang' // // 测试(9997)秘钥
|
|
11646
|
+
|
|
11539
11647
|
};
|
|
11540
11648
|
_context.prev = 1;
|
|
11541
11649
|
_context.next = 4;
|
|
@@ -11576,9 +11684,11 @@ var actions_deepClone = function deepClone(source) {
|
|
|
11576
11684
|
return function getLoginToken() {
|
|
11577
11685
|
return _ref15.apply(this, arguments);
|
|
11578
11686
|
};
|
|
11579
|
-
}();
|
|
11687
|
+
}(); // uniRTC = new UniRTCObject(uniAppId, getLoginToken);
|
|
11688
|
+
|
|
11580
11689
|
|
|
11581
|
-
uniRTC = new UniRTCv2_default.a(
|
|
11690
|
+
uniRTC = new UniRTCv2_default.a('hangchuang', getLoginToken, vueSelf);
|
|
11691
|
+
console.log('uniRTC', uniRTC);
|
|
11582
11692
|
|
|
11583
11693
|
uniRTC.onCallComing = function (incoming) {
|
|
11584
11694
|
commit("setIncoming", incoming);
|
|
@@ -11662,7 +11772,7 @@ var actions_deepClone = function deepClone(source) {
|
|
|
11662
11772
|
}, 1000);
|
|
11663
11773
|
commit("setUniRTC", uniRTC);
|
|
11664
11774
|
|
|
11665
|
-
case
|
|
11775
|
+
case 15:
|
|
11666
11776
|
case "end":
|
|
11667
11777
|
return _context3.stop();
|
|
11668
11778
|
}
|
|
@@ -11942,17 +12052,6 @@ module.exports = DESCRIPTORS ? function (object, key, value) {
|
|
|
11942
12052
|
|
|
11943
12053
|
module.exports = require("ant-design-vue/es/modal");
|
|
11944
12054
|
|
|
11945
|
-
/***/ }),
|
|
11946
|
-
|
|
11947
|
-
/***/ "92eb":
|
|
11948
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11949
|
-
|
|
11950
|
-
"use strict";
|
|
11951
|
-
/* 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_chatHeader_vue_vue_type_style_index_0_id_079f6956_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d3f5");
|
|
11952
|
-
/* 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_chatHeader_vue_vue_type_style_index_0_id_079f6956_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_chatHeader_vue_vue_type_style_index_0_id_079f6956_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
11953
|
-
/* unused harmony reexport * */
|
|
11954
|
-
|
|
11955
|
-
|
|
11956
12055
|
/***/ }),
|
|
11957
12056
|
|
|
11958
12057
|
/***/ "934f":
|
|
@@ -11962,12 +12061,12 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARCAYAAADU
|
|
|
11962
12061
|
|
|
11963
12062
|
/***/ }),
|
|
11964
12063
|
|
|
11965
|
-
/***/ "
|
|
12064
|
+
/***/ "93ed":
|
|
11966
12065
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11967
12066
|
|
|
11968
12067
|
"use strict";
|
|
11969
|
-
/* harmony import */ var
|
|
11970
|
-
/* harmony import */ var
|
|
12068
|
+
/* 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_chatHeader_vue_vue_type_style_index_0_id_bb1e65e0_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("aa24");
|
|
12069
|
+
/* 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_chatHeader_vue_vue_type_style_index_0_id_bb1e65e0_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_chatHeader_vue_vue_type_style_index_0_id_bb1e65e0_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
11971
12070
|
/* unused harmony reexport * */
|
|
11972
12071
|
|
|
11973
12072
|
|
|
@@ -12080,7 +12179,7 @@ module.exports = require("core-js/modules/es.string.iterator.js");
|
|
|
12080
12179
|
|
|
12081
12180
|
"use strict";
|
|
12082
12181
|
|
|
12083
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
12182
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
12084
12183
|
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)])])])}
|
|
12085
12184
|
var staticRenderFns = []
|
|
12086
12185
|
|
|
@@ -12259,10 +12358,10 @@ module.exports = require("ant-design-vue/es/popover/style");
|
|
|
12259
12358
|
|
|
12260
12359
|
"use strict";
|
|
12261
12360
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return RtcClient; });
|
|
12262
|
-
/* harmony import */ var
|
|
12263
|
-
/* harmony import */ var
|
|
12264
|
-
/* harmony import */ var
|
|
12265
|
-
/* harmony import */ var
|
|
12361
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5530");
|
|
12362
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("1da1");
|
|
12363
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("d4ec");
|
|
12364
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("bee2");
|
|
12266
12365
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("d16b");
|
|
12267
12366
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
12268
12367
|
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("f989");
|
|
@@ -12296,7 +12395,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12296
12395
|
function RtcClient(options) {
|
|
12297
12396
|
var _this = this;
|
|
12298
12397
|
|
|
12299
|
-
Object(
|
|
12398
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, RtcClient);
|
|
12300
12399
|
|
|
12301
12400
|
// this.sdkAppId_ = options.sdkAppId;
|
|
12302
12401
|
this.sdkAppId_ = options.vendor == 2 ? options.sdkAppId : Number(options.sdkAppId);
|
|
@@ -12330,10 +12429,10 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12330
12429
|
});
|
|
12331
12430
|
}
|
|
12332
12431
|
|
|
12333
|
-
Object(
|
|
12432
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])(RtcClient, [{
|
|
12334
12433
|
key: "join",
|
|
12335
12434
|
value: function () {
|
|
12336
|
-
var _join = Object(
|
|
12435
|
+
var _join = Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
12337
12436
|
var _document$getElementB;
|
|
12338
12437
|
|
|
12339
12438
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -12466,7 +12565,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12466
12565
|
}, {
|
|
12467
12566
|
key: "leave",
|
|
12468
12567
|
value: function () {
|
|
12469
|
-
var _leave = Object(
|
|
12568
|
+
var _leave = Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
12470
12569
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
12471
12570
|
while (1) {
|
|
12472
12571
|
switch (_context2.prev = _context2.next) {
|
|
@@ -12530,7 +12629,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12530
12629
|
}, {
|
|
12531
12630
|
key: "publish",
|
|
12532
12631
|
value: function () {
|
|
12533
|
-
var _publish = Object(
|
|
12632
|
+
var _publish = Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
12534
12633
|
var sip;
|
|
12535
12634
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
12536
12635
|
while (1) {
|
|
@@ -12600,7 +12699,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12600
12699
|
}, {
|
|
12601
12700
|
key: "unpublish",
|
|
12602
12701
|
value: function () {
|
|
12603
|
-
var _unpublish = Object(
|
|
12702
|
+
var _unpublish = Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(isLeaving) {
|
|
12604
12703
|
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
12605
12704
|
while (1) {
|
|
12606
12705
|
switch (_context4.prev = _context4.next) {
|
|
@@ -12802,7 +12901,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12802
12901
|
}, {
|
|
12803
12902
|
key: "toggleScreen",
|
|
12804
12903
|
value: function () {
|
|
12805
|
-
var _toggleScreen = Object(
|
|
12904
|
+
var _toggleScreen = Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(flag, options) {
|
|
12806
12905
|
var _this$localStream_, client_, stream;
|
|
12807
12906
|
|
|
12808
12907
|
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
@@ -12894,7 +12993,7 @@ var RtcClient = /*#__PURE__*/function () {
|
|
|
12894
12993
|
|
|
12895
12994
|
case 34:
|
|
12896
12995
|
this.screen = flag;
|
|
12897
|
-
return _context5.abrupt("return", new RtcClient(Object(
|
|
12996
|
+
return _context5.abrupt("return", new RtcClient(Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({}, this.options), {}, {
|
|
12898
12997
|
options: options,
|
|
12899
12998
|
openVideo: true,
|
|
12900
12999
|
screen: this.screen
|
|
@@ -13175,6 +13274,13 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABz
|
|
|
13175
13274
|
|
|
13176
13275
|
/***/ }),
|
|
13177
13276
|
|
|
13277
|
+
/***/ "aa24":
|
|
13278
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13279
|
+
|
|
13280
|
+
// extracted by mini-css-extract-plugin
|
|
13281
|
+
|
|
13282
|
+
/***/ }),
|
|
13283
|
+
|
|
13178
13284
|
/***/ "ade3":
|
|
13179
13285
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13180
13286
|
|
|
@@ -13451,9 +13557,9 @@ module.exports = require("ant-design-vue/es/menu");
|
|
|
13451
13557
|
|
|
13452
13558
|
"use strict";
|
|
13453
13559
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ObserverScroll; });
|
|
13454
|
-
/* harmony import */ var
|
|
13455
|
-
/* harmony import */ var
|
|
13456
|
-
/* harmony import */ var
|
|
13560
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d4ec");
|
|
13561
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
|
13562
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("ade3");
|
|
13457
13563
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("97d3");
|
|
13458
13564
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
13459
13565
|
/* harmony import */ var core_js_modules_es_set_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("8535");
|
|
@@ -13478,11 +13584,11 @@ module.exports = require("ant-design-vue/es/menu");
|
|
|
13478
13584
|
|
|
13479
13585
|
var ObserverScroll = /*#__PURE__*/function () {
|
|
13480
13586
|
function ObserverScroll(root, cb) {
|
|
13481
|
-
Object(
|
|
13587
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, ObserverScroll);
|
|
13482
13588
|
|
|
13483
|
-
Object(
|
|
13589
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "list", new Set());
|
|
13484
13590
|
|
|
13485
|
-
Object(
|
|
13591
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "timer", 0);
|
|
13486
13592
|
|
|
13487
13593
|
this.once = true;
|
|
13488
13594
|
this.cb = cb;
|
|
@@ -13492,7 +13598,7 @@ var ObserverScroll = /*#__PURE__*/function () {
|
|
|
13492
13598
|
});
|
|
13493
13599
|
}
|
|
13494
13600
|
|
|
13495
|
-
Object(
|
|
13601
|
+
Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(ObserverScroll, [{
|
|
13496
13602
|
key: "handler",
|
|
13497
13603
|
value: function handler(entries) {
|
|
13498
13604
|
var _this = this;
|
|
@@ -13698,6 +13804,17 @@ module.exports = function (input, pref) {
|
|
|
13698
13804
|
|
|
13699
13805
|
// extracted by mini-css-extract-plugin
|
|
13700
13806
|
|
|
13807
|
+
/***/ }),
|
|
13808
|
+
|
|
13809
|
+
/***/ "c208":
|
|
13810
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13811
|
+
|
|
13812
|
+
"use strict";
|
|
13813
|
+
/* 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_audio_vue_vue_type_style_index_0_id_50602294_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0a57");
|
|
13814
|
+
/* 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_audio_vue_vue_type_style_index_0_id_50602294_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_audio_vue_vue_type_style_index_0_id_50602294_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
13815
|
+
/* unused harmony reexport * */
|
|
13816
|
+
|
|
13817
|
+
|
|
13701
13818
|
/***/ }),
|
|
13702
13819
|
|
|
13703
13820
|
/***/ "c2ae":
|
|
@@ -13893,6 +14010,13 @@ try {
|
|
|
13893
14010
|
module.exports = g;
|
|
13894
14011
|
|
|
13895
14012
|
|
|
14013
|
+
/***/ }),
|
|
14014
|
+
|
|
14015
|
+
/***/ "c985":
|
|
14016
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14017
|
+
|
|
14018
|
+
// extracted by mini-css-extract-plugin
|
|
14019
|
+
|
|
13896
14020
|
/***/ }),
|
|
13897
14021
|
|
|
13898
14022
|
/***/ "c9f2":
|
|
@@ -14035,6 +14159,20 @@ module.exports = function (key, value) {
|
|
|
14035
14159
|
};
|
|
14036
14160
|
|
|
14037
14161
|
|
|
14162
|
+
/***/ }),
|
|
14163
|
+
|
|
14164
|
+
/***/ "cebe":
|
|
14165
|
+
/***/ (function(module, exports) {
|
|
14166
|
+
|
|
14167
|
+
module.exports = require("axios");
|
|
14168
|
+
|
|
14169
|
+
/***/ }),
|
|
14170
|
+
|
|
14171
|
+
/***/ "cf22":
|
|
14172
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14173
|
+
|
|
14174
|
+
// extracted by mini-css-extract-plugin
|
|
14175
|
+
|
|
14038
14176
|
/***/ }),
|
|
14039
14177
|
|
|
14040
14178
|
/***/ "cf96":
|
|
@@ -14158,7 +14296,7 @@ var es_promise_finally = __webpack_require__("a79d");
|
|
|
14158
14296
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
14159
14297
|
var es_function_name_js_ = __webpack_require__("db0a");
|
|
14160
14298
|
|
|
14161
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14299
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
14162
14300
|
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)}
|
|
14163
14301
|
var staticRenderFns = []
|
|
14164
14302
|
|
|
@@ -14196,7 +14334,7 @@ var create = __webpack_require__("8aef");
|
|
|
14196
14334
|
// EXTERNAL MODULE: ./packages/multi-chat/store/helper.js
|
|
14197
14335
|
var helper = __webpack_require__("e3c5");
|
|
14198
14336
|
|
|
14199
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14337
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
14200
14338
|
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)}
|
|
14201
14339
|
var clientChatvue_type_template_id_22885828_scoped_true_staticRenderFns = []
|
|
14202
14340
|
|
|
@@ -14249,7 +14387,7 @@ var chatFooter = __webpack_require__("61f8");
|
|
|
14249
14387
|
// EXTERNAL MODULE: ./packages/multi-chat/chat/chatMain.vue + 3 modules
|
|
14250
14388
|
var chatMain = __webpack_require__("3cee");
|
|
14251
14389
|
|
|
14252
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14390
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
14253
14391
|
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)}
|
|
14254
14392
|
var evaluatevue_type_template_id_018624f2_scoped_true_staticRenderFns = []
|
|
14255
14393
|
|
|
@@ -15468,7 +15606,7 @@ var clientChat_component = Object(componentNormalizer["a" /* default */])(
|
|
|
15468
15606
|
)
|
|
15469
15607
|
|
|
15470
15608
|
/* harmony default export */ var clientChat = (clientChat_component.exports);
|
|
15471
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15609
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
15472
15610
|
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)}
|
|
15473
15611
|
var robotvue_type_template_id_c7d05068_scoped_true_staticRenderFns = []
|
|
15474
15612
|
|
|
@@ -16101,13 +16239,6 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
16101
16239
|
}() : undefined);
|
|
16102
16240
|
|
|
16103
16241
|
|
|
16104
|
-
/***/ }),
|
|
16105
|
-
|
|
16106
|
-
/***/ "d3f5":
|
|
16107
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
16108
|
-
|
|
16109
|
-
// extracted by mini-css-extract-plugin
|
|
16110
|
-
|
|
16111
16242
|
/***/ }),
|
|
16112
16243
|
|
|
16113
16244
|
/***/ "d44e":
|
|
@@ -16164,7 +16295,7 @@ module.exports = require("core-js/modules/es.typed-array.uint8-array.js");
|
|
|
16164
16295
|
|
|
16165
16296
|
"use strict";
|
|
16166
16297
|
|
|
16167
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16298
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2cf6338a-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&
|
|
16168
16299
|
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}})])}
|
|
16169
16300
|
var staticRenderFns = []
|
|
16170
16301
|
|
|
@@ -16325,8 +16456,8 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
16325
16456
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16326
16457
|
|
|
16327
16458
|
"use strict";
|
|
16328
|
-
/* harmony import */ var
|
|
16329
|
-
/* harmony import */ var
|
|
16459
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2909");
|
|
16460
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("ade3");
|
|
16330
16461
|
/* harmony import */ var ant_design_vue_es_carousel_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("7442");
|
|
16331
16462
|
/* harmony import */ var ant_design_vue_es_carousel_style__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_carousel_style__WEBPACK_IMPORTED_MODULE_2__);
|
|
16332
16463
|
/* harmony import */ var ant_design_vue_es_carousel__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("34fc");
|
|
@@ -16355,9 +16486,9 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
16355
16486
|
/* harmony import */ var ant_design_vue_es_modal_style__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_modal_style__WEBPACK_IMPORTED_MODULE_14__);
|
|
16356
16487
|
/* harmony import */ var ant_design_vue_es_modal__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("929f");
|
|
16357
16488
|
/* harmony import */ var ant_design_vue_es_modal__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_modal__WEBPACK_IMPORTED_MODULE_15__);
|
|
16358
|
-
/* harmony import */ var
|
|
16359
|
-
/* harmony import */ var
|
|
16360
|
-
/* harmony import */ var
|
|
16489
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("3835");
|
|
16490
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("1da1");
|
|
16491
|
+
/* harmony import */ var F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("5530");
|
|
16361
16492
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("d16b");
|
|
16362
16493
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
16363
16494
|
/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("f989");
|
|
@@ -16519,7 +16650,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16519
16650
|
readRecordList: []
|
|
16520
16651
|
};
|
|
16521
16652
|
},
|
|
16522
|
-
computed: Object(
|
|
16653
|
+
computed: Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])(Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({}, Object(_store_helper__WEBPACK_IMPORTED_MODULE_41__[/* mapGetters */ "b"])(['userInfo', 'currentTab', 'isAppendMsg', 'message', 'msgList', 'sessionId', 'serviceId', 'scrollTo', 'isServer', 'clientId', 'sessionEnd', 'assemblyId', 'footerMessage', 'portraitPanelParams', 'assemblySetting', 'clientParams', 'onChating', 'classify', 'collapsed', 'barStatus', 'sessionHistoryList', 'enable', 'appendList', 'queueItem', 'isRecorderVoice'])), {}, {
|
|
16523
16654
|
orgId: function orgId() {
|
|
16524
16655
|
var _this$userInfo, _this$userInfo$sysPar;
|
|
16525
16656
|
|
|
@@ -16655,7 +16786,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16655
16786
|
created: function created() {
|
|
16656
16787
|
this.attachEvent();
|
|
16657
16788
|
},
|
|
16658
|
-
methods: Object(
|
|
16789
|
+
methods: Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])(Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])(Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({}, Object(_store_helper__WEBPACK_IMPORTED_MODULE_41__[/* mapMutations */ "c"])(['setIsAppendMsg', 'setMsgList', 'setScrollTo', 'setFooterMessage', 'setIsScrollListChange', 'setListChangeItem', 'setSessionId', 'setOnChating', 'setServiceId', 'setShowAudio', 'setVideoMode', 'setVideoMembers', 'setIsRecorderVoice'])), Object(_store_helper__WEBPACK_IMPORTED_MODULE_41__[/* mapActions */ "a"])({
|
|
16659
16790
|
getEarlierMsg: 'setMsgList',
|
|
16660
16791
|
handleBotChat: 'handleBotChat',
|
|
16661
16792
|
sendMessage: 'sendMessage'
|
|
@@ -16914,7 +17045,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16914
17045
|
_data$params = data.params,
|
|
16915
17046
|
params = _data$params === void 0 ? [] : _data$params,
|
|
16916
17047
|
openMode = data.openMode;
|
|
16917
|
-
dispatch && this.dispatchEvent('click_templateCard', Object(
|
|
17048
|
+
dispatch && this.dispatchEvent('click_templateCard', Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({}, data));
|
|
16918
17049
|
if (!address) return;
|
|
16919
17050
|
|
|
16920
17051
|
if (targetType === 'LINK_ADDRESS') {
|
|
@@ -16937,6 +17068,12 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
16937
17068
|
}
|
|
16938
17069
|
|
|
16939
17070
|
if (openMode === 'EJECT') {
|
|
17071
|
+
// 打开云his页面需要从cookie内获取最新的jsessionids
|
|
17072
|
+
if (address.includes('jsessionidsFlag=1')) {
|
|
17073
|
+
var jsessionids = _utils_vexutils__WEBPACK_IMPORTED_MODULE_51___default.a.cookie.get('jsessionids');
|
|
17074
|
+
address = address + "&jsessionids=".concat(jsessionids);
|
|
17075
|
+
}
|
|
17076
|
+
|
|
16940
17077
|
this.modalShow = true;
|
|
16941
17078
|
this.modalData = Object.assign({}, data, {
|
|
16942
17079
|
address: address
|
|
@@ -17020,8 +17157,8 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17020
17157
|
if (data.result === 'SUCCESS') {
|
|
17021
17158
|
var _this5$getContent;
|
|
17022
17159
|
|
|
17023
|
-
_this5.dispatchEvent('msg_recallSuccess', Object(
|
|
17024
|
-
message: Object(
|
|
17160
|
+
_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"])({
|
|
17161
|
+
message: Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({}, item)
|
|
17025
17162
|
}, params));
|
|
17026
17163
|
|
|
17027
17164
|
_this5.$set(item, 'recallFlag', 1); // 撤回成功提示
|
|
@@ -17181,7 +17318,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17181
17318
|
});
|
|
17182
17319
|
},
|
|
17183
17320
|
postReadMessage: function postReadMessage(data) {
|
|
17184
|
-
_utils_chatFetch__WEBPACK_IMPORTED_MODULE_42___default.a.post("/chat/".concat(this.isServer ? 'service' : 'access', "/readMessage"), _utils_chatFetch__WEBPACK_IMPORTED_MODULE_42__["qs"].stringify(Object(
|
|
17321
|
+
_utils_chatFetch__WEBPACK_IMPORTED_MODULE_42___default.a.post("/chat/".concat(this.isServer ? 'service' : 'access', "/readMessage"), _utils_chatFetch__WEBPACK_IMPORTED_MODULE_42__["qs"].stringify(Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_18__[/* default */ "a"])({
|
|
17185
17322
|
assemblyId: this.assemblyId,
|
|
17186
17323
|
orgId: this.orgId,
|
|
17187
17324
|
userId: this.userId,
|
|
@@ -17256,7 +17393,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17256
17393
|
handleOpenPortraitPanel: function handleOpenPortraitPanel(item) {
|
|
17257
17394
|
var _this9 = this;
|
|
17258
17395
|
|
|
17259
|
-
return Object(
|
|
17396
|
+
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
17397
|
var _this9$assemblySettin;
|
|
17261
17398
|
|
|
17262
17399
|
var portraitPanelParams, clientParams, panelSetting;
|
|
@@ -17378,7 +17515,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17378
17515
|
*/
|
|
17379
17516
|
handleSessionIdChange: function handleSessionIdChange(e) {
|
|
17380
17517
|
var _e$target$value$split = e.target.value.split('-'),
|
|
17381
|
-
_e$target$value$split2 = Object(
|
|
17518
|
+
_e$target$value$split2 = Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_16__[/* default */ "a"])(_e$target$value$split, 2),
|
|
17382
17519
|
sessionId = _e$target$value$split2[0],
|
|
17383
17520
|
serviceId = _e$target$value$split2[1];
|
|
17384
17521
|
|
|
@@ -17448,7 +17585,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17448
17585
|
},
|
|
17449
17586
|
getRecallText: function getRecallText(item) {
|
|
17450
17587
|
var flag = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
17451
|
-
return Object(_utils__WEBPACK_IMPORTED_MODULE_50__[/* getRecallText */ "
|
|
17588
|
+
return Object(_utils__WEBPACK_IMPORTED_MODULE_50__[/* getRecallText */ "e"])(this, item, flag);
|
|
17452
17589
|
}
|
|
17453
17590
|
}),
|
|
17454
17591
|
directives: {
|
|
@@ -17456,7 +17593,7 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17456
17593
|
},
|
|
17457
17594
|
components: (_components = {
|
|
17458
17595
|
AModal: ant_design_vue_es_modal__WEBPACK_IMPORTED_MODULE_15___default.a
|
|
17459
|
-
}, Object(
|
|
17596
|
+
}, Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_layout__WEBPACK_IMPORTED_MODULE_13___default.a.Content.name, ant_design_vue_es_layout__WEBPACK_IMPORTED_MODULE_13___default.a.Content), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_spin__WEBPACK_IMPORTED_MODULE_11___default.a.name, ant_design_vue_es_spin__WEBPACK_IMPORTED_MODULE_11___default.a), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_icon__WEBPACK_IMPORTED_MODULE_9___default.a.name, ant_design_vue_es_icon__WEBPACK_IMPORTED_MODULE_9___default.a), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_popconfirm__WEBPACK_IMPORTED_MODULE_7___default.a.name, ant_design_vue_es_popconfirm__WEBPACK_IMPORTED_MODULE_7___default.a), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_radio__WEBPACK_IMPORTED_MODULE_5___default.a.Button.name, ant_design_vue_es_radio__WEBPACK_IMPORTED_MODULE_5___default.a.Button), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_radio__WEBPACK_IMPORTED_MODULE_5___default.a.Group.name, ant_design_vue_es_radio__WEBPACK_IMPORTED_MODULE_5___default.a.Group), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, ant_design_vue_es_carousel__WEBPACK_IMPORTED_MODULE_3___default.a.name, ant_design_vue_es_carousel__WEBPACK_IMPORTED_MODULE_3___default.a), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "SvgIcon", _component_svg_index_vue__WEBPACK_IMPORTED_MODULE_39__[/* default */ "a"]), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "MsgPrescription", _components_msg_prescription__WEBPACK_IMPORTED_MODULE_45__[/* default */ "a"]), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "ReadStatus", _components_read_status__WEBPACK_IMPORTED_MODULE_46__[/* default */ "a"]), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "ReadRecord", _components_read_record__WEBPACK_IMPORTED_MODULE_47__[/* default */ "a"]), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "MsgPicture", _components_msg_picture__WEBPACK_IMPORTED_MODULE_44__[/* default */ "a"]), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "MsgDescribe", _components_msg_describe__WEBPACK_IMPORTED_MODULE_43__[/* default */ "a"]), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(_components, "chatHeader", _chatHeader__WEBPACK_IMPORTED_MODULE_48__[/* default */ "a"]), _components),
|
|
17460
17597
|
watch: {
|
|
17461
17598
|
msgList: function msgList() {
|
|
17462
17599
|
this.observeMsg();
|
|
@@ -17468,9 +17605,9 @@ var _customerStaffIcon = __webpack_require__("5b6c");
|
|
|
17468
17605
|
var newArr = [];
|
|
17469
17606
|
|
|
17470
17607
|
if (_utils_vexutils__WEBPACK_IMPORTED_MODULE_51___default.a.isPlainObject(this.message)) {
|
|
17471
|
-
newArr = [].concat(Object(
|
|
17608
|
+
newArr = [].concat(Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this.msgList), [this.message]);
|
|
17472
17609
|
} else if (_utils_vexutils__WEBPACK_IMPORTED_MODULE_51___default.a.isArray(this.message)) {
|
|
17473
|
-
newArr = [].concat(Object(
|
|
17610
|
+
newArr = [].concat(Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this.msgList), Object(F_project_crm_high_cnhis_design_vue_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this.message));
|
|
17474
17611
|
}
|
|
17475
17612
|
|
|
17476
17613
|
this.setMsgList(newArr);
|
|
@@ -18555,13 +18692,6 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
18555
18692
|
};
|
|
18556
18693
|
|
|
18557
18694
|
|
|
18558
|
-
/***/ }),
|
|
18559
|
-
|
|
18560
|
-
/***/ "f70b":
|
|
18561
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
18562
|
-
|
|
18563
|
-
// extracted by mini-css-extract-plugin
|
|
18564
|
-
|
|
18565
18695
|
/***/ }),
|
|
18566
18696
|
|
|
18567
18697
|
/***/ "f772":
|
|
@@ -18600,6 +18730,24 @@ module.exports = require("core-js/modules/es.number.constructor.js");
|
|
|
18600
18730
|
|
|
18601
18731
|
/***/ }),
|
|
18602
18732
|
|
|
18733
|
+
/***/ "fb40":
|
|
18734
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
18735
|
+
|
|
18736
|
+
"use strict";
|
|
18737
|
+
/* 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_avatar_vue_vue_type_style_index_0_id_1b5b3fd8_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cf22");
|
|
18738
|
+
/* 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_avatar_vue_vue_type_style_index_0_id_1b5b3fd8_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_avatar_vue_vue_type_style_index_0_id_1b5b3fd8_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
18739
|
+
/* unused harmony reexport * */
|
|
18740
|
+
|
|
18741
|
+
|
|
18742
|
+
/***/ }),
|
|
18743
|
+
|
|
18744
|
+
/***/ "fb9c":
|
|
18745
|
+
/***/ (function(module, exports) {
|
|
18746
|
+
|
|
18747
|
+
module.exports = require("cnhis-design-vue/es/utils/trtc");
|
|
18748
|
+
|
|
18749
|
+
/***/ }),
|
|
18750
|
+
|
|
18603
18751
|
/***/ "fbec":
|
|
18604
18752
|
/***/ (function(module, exports) {
|
|
18605
18753
|
|