cnhis-design-vue 2.1.35 → 2.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -10
- package/es/age/index.js +2 -2
- package/es/big-table/index.js +70 -54
- package/es/big-table/style.css +1 -1
- package/es/button/index.js +2 -2
- package/es/captcha/index.js +3 -3
- package/es/checkbox/index.js +1 -1
- package/es/color-picker/index.js +1 -1
- package/es/drag-layout/index.js +3 -3
- package/es/editor/index.js +1 -1
- package/es/fabric-chart/index.js +161 -168
- package/es/fabric-chart/style.css +1 -1
- package/es/form-table/index.js +17 -17
- package/es/index/index.js +1005 -656
- package/es/index/style.css +1 -1
- package/es/input/index.js +1 -1
- package/es/map/index.js +1 -1
- package/es/multi-chat/index.js +678 -331
- package/es/multi-chat/style.css +1 -1
- package/es/multi-chat-client/index.js +605 -277
- package/es/multi-chat-client/style.css +1 -1
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +110 -30
- package/es/multi-chat-setting/index.js +152 -47
- package/es/multi-chat-sip/index.js +1 -1
- package/es/radio/index.js +1 -1
- package/es/scale-view/index.js +24 -24
- package/es/select/index.js +3 -3
- package/es/select-label/index.js +3 -3
- package/es/select-person/index.js +2 -2
- package/es/shortcut-setter/index.js +2 -2
- package/es/table-filter/index.js +21 -21
- package/es/tag/index.js +1 -1
- package/es/utils/UniRTCv2.js +50 -15
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +1263 -884
- package/lib/cui.umd.js +1263 -884
- package/lib/cui.umd.min.js +37 -37
- package/package.json +1 -1
- package/packages/big-table/src/BigTable.vue +10 -8
- package/packages/fabric-chart/src/FabricChart.vue +8 -19
- package/packages/fabric-chart/src/fabric-chart/FabricCanvas.vue +3 -3
- package/packages/fabric-chart/src/fabric-chart/FabricLines.vue +1 -1
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +10 -9
- package/packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue +29 -26
- package/packages/fabric-chart/src/mixins/draw.js +24 -5
- package/packages/multi-chat/chat/audio.vue +82 -14
- package/packages/multi-chat/chat/chatFooter.vue +3 -1
- package/packages/multi-chat/chat/chatMain.vue +17 -2
- package/packages/multi-chat/chat/index.vue +23 -3
- package/packages/multi-chat/chat/multiVideo.vue +4 -3
- package/packages/multi-chat/chat/video.vue +2 -1
- package/packages/multi-chat/store/getters.js +12 -0
- package/packages/multi-chat/store/mutation.js +12 -0
- package/packages/multi-chat/store/state.js +5 -1
- package/packages/multi-chat/utils/index.js +53 -0
- package/packages/multi-chat/utils/rtc-client.js +50 -3
- package/src/utils/UniRTCv2.js +40 -12
|
@@ -287,7 +287,7 @@ module.exports = require("core-js/modules/es.array.find.js");
|
|
|
287
287
|
|
|
288
288
|
"use strict";
|
|
289
289
|
|
|
290
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
290
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-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&
|
|
291
291
|
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()])])}
|
|
292
292
|
var staticRenderFns = []
|
|
293
293
|
|
|
@@ -583,7 +583,7 @@ var es_promise_finally = __webpack_require__("a79d");
|
|
|
583
583
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
584
584
|
var es_function_name_js_ = __webpack_require__("db0a");
|
|
585
585
|
|
|
586
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
586
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/page.vue?vue&type=template&id=88a8e8fc&
|
|
587
587
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ChatSetting',_vm._g(_vm._b({},'ChatSetting',_vm.$attrs,false),_vm.$listeners))}
|
|
588
588
|
var staticRenderFns = []
|
|
589
589
|
|
|
@@ -593,7 +593,7 @@ var staticRenderFns = []
|
|
|
593
593
|
// EXTERNAL MODULE: ./packages/multi-chat/chat/mixins/base.js + 5 modules
|
|
594
594
|
var base = __webpack_require__("8ec7");
|
|
595
595
|
|
|
596
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
596
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/index.vue?vue&type=template&id=81b37472&scoped=true&
|
|
597
597
|
var settingvue_type_template_id_81b37472_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-row',{staticClass:"chat-setting"},[_c('a-col',{staticClass:"left-menu",attrs:{"span":5}},[(_vm.isShowGoback)?_c('div',{staticClass:"goback",on:{"click":_vm.handleGoBack}},[_c('a-icon',{staticStyle:{"margin-right":"10px"},attrs:{"type":"left"}}),_vm._v(" "+_vm._s(_vm.i18nText("3.20.50"))+" ")],1):_vm._e(),_c('div',{staticClass:"setting-menu"},[_c('ul',_vm._l((_vm.useMenuList),function(item){return _c('li',{key:item.type,staticClass:"menu-item",class:item.active && ['active'],on:{"click":function () { return _vm.handleMenuClick(item.type); }}},[_c('svg-icon',{attrs:{"icon-class":item.icon}}),_c('span',{staticClass:"menu-name"},[_vm._v(_vm._s(item.name))])],1)}),0)])]),_c('a-col',{staticClass:"right-page",attrs:{"span":19}},[_c(_vm.rightPage,_vm._b({tag:"component",attrs:{"assemblyId":_vm.assemblyId,"isStaff":_vm.isStaff,"userInfo":_vm.userInfo,"i18nText":_vm.i18nText}},'component',_vm.$attrs,false))],1)],1)}
|
|
598
598
|
var settingvue_type_template_id_81b37472_scoped_true_staticRenderFns = []
|
|
599
599
|
|
|
@@ -648,7 +648,7 @@ var es_string_includes_js_ = __webpack_require__("fd22");
|
|
|
648
648
|
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
649
649
|
var es_array_map_js_ = __webpack_require__("4391");
|
|
650
650
|
|
|
651
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
651
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/event/index.vue?vue&type=template&id=dfb8c2fe&scoped=true&
|
|
652
652
|
var eventvue_type_template_id_dfb8c2fe_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"chat-event"},[_c('h3',{staticClass:"page-title"},[_vm._v(_vm._s(_vm.i18nText('1.9.437')))]),(!_vm.noDataTip)?[_c('a-input-search',{attrs:{"placeholder":_vm.i18nText('1.9.432'),"size":"default","allowClear":""},on:{"search":_vm.handleSearch},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}},[_c('a-button',{attrs:{"slot":"enterButton","type":"primary"},slot:"enterButton"},[_c('a-icon',{attrs:{"type":"search"}}),_vm._v(" "+_vm._s(_vm.i18nText('1.2.2.11'))+" ")],1)],1),_c('a-button',{on:{"click":_vm.handleEventAdd}},[_c('a-icon',{attrs:{"type":"plus-circle"}}),_vm._v(" "+_vm._s(_vm.i18nText('1.1.1.1.8'))+" ")],1),_c('a-table',{staticClass:"table-wrapper",attrs:{"bordered":"","columns":_vm.columns,"dataSource":_vm.data,"pagination":_vm.pagination,"rowKey":_vm.getRowkey,"scroll":{ y: 650 }},on:{"change":_vm.handlePageChange},scopedSlots:_vm._u([{key:"status",fn:function(text, record){return [(text === '1')?_c('a-popconfirm',{attrs:{"okText":_vm.i18nText('1.10.138'),"cancelText":_vm.i18nText('1.1.1.1.4')},on:{"confirm":function () { return _vm.confirmStatusClose(record); }}},[_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.438'))+"?")])]),_c('a-switch',{attrs:{"checkedChildren":_vm.i18nText('1.9.422'),"unCheckedChildren":_vm.i18nText('1.1.1.1.7'),"checked":text === '1'}})],1):_c('a-switch',{attrs:{"checkedChildren":_vm.i18nText('1.9.422'),"unCheckedChildren":_vm.i18nText('1.1.1.1.7'),"checked":text === '1'},on:{"change":function () { return _vm.handleStatusChange(record); }}})]}},{key:"operation",fn:function(text, record){return [_c('a',{attrs:{"href":"javascript:;"},on:{"click":function () { return _vm.handleEventEdit(record); }}},[_c('a-icon',{staticStyle:{"margin-right":"8px"},attrs:{"type":"edit"}}),_vm._v(" "+_vm._s(_vm.i18nText('2.5.13'))+" ")],1)]}}],null,false,1962405778)})]:_c('NoData',{attrs:{"noDataImg":_vm.noDataImg,"noDataTip":_vm.noDataTip,"emptyRender":_vm.emptyRender}}),_c('a-drawer',{attrs:{"title":_vm.id ? _vm.i18nText('1.9.439') : _vm.i18nText('1.9.440'),"placement":"right","destroyOnClose":"","maskClosable":false,"visible":_vm.visible,"wrapClassName":"chat-event-drawer","width":"755"},on:{"close":_vm.handleEditClose}},[_c('event-edit',{attrs:{"id":_vm.id,"assemblyId":_vm.assemblyId,"configMap":_vm.configMap},on:{"handleEditClose":_vm.handleEditClose}})],1)],2)}
|
|
653
653
|
var eventvue_type_template_id_dfb8c2fe_scoped_true_staticRenderFns = []
|
|
654
654
|
|
|
@@ -697,7 +697,7 @@ var input_style_ = __webpack_require__("c3aa");
|
|
|
697
697
|
var input_ = __webpack_require__("ae3b");
|
|
698
698
|
var input_default = /*#__PURE__*/__webpack_require__.n(input_);
|
|
699
699
|
|
|
700
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
700
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/event/edit/index.vue?vue&type=template&id=1125c81c&scoped=true&
|
|
701
701
|
var editvue_type_template_id_1125c81c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"chat-event-edit"},[_c('div',{staticClass:"main-content"},[_c('a-form',{attrs:{"form":_vm.form}},[_c('a-form-item',{staticStyle:{"width":"210px"},attrs:{"label":_vm.i18nText('1.9.445')}},[_c('a-input',{directives:[{name:"decorator",rawName:"v-decorator",value:([
|
|
702
702
|
'name',
|
|
703
703
|
{
|
|
@@ -755,14 +755,14 @@ var es_array_splice_js_ = __webpack_require__("f3b8");
|
|
|
755
755
|
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
756
756
|
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
757
757
|
|
|
758
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
758
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/event/edit/strategy.vue?vue&type=template&id=21643a93&scoped=true&
|
|
759
759
|
var strategyvue_type_template_id_21643a93_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"chat-event-strategy"},[_c('div',{staticClass:"strategy-title"},[_vm._v(" "+_vm._s(_vm.i18nText("1.9.461"))+_vm._s(_vm.strategyIndex + 1)+" "),_c('a-icon',{staticClass:"close-icon",attrs:{"type":"close"},on:{"click":_vm.handleStrategyRemove}})],1),_c('div',{staticClass:"strategy-main"},[(_vm.typeList.length > 0)?_c('condition',{ref:"condition",attrs:{"baseSetting":_vm.baseSetting,"typeList":_vm.typeList}}):_vm._e(),_c('a-select',{staticStyle:{"width":"100%","margin-top":"15px"},attrs:{"placeholder":"选择事件"},model:{value:(_vm.triggerAction),callback:function ($$v) {_vm.triggerAction=$$v},expression:"triggerAction"}},[_c('a-select-option',{attrs:{"value":"CLOSE_SESSION"}},[_vm._v("关闭会话")])],1),_c('a-row',{attrs:{"gutter":50}},[_c('a-col',{attrs:{"span":12}},[_c('notice',_vm._b({ref:"service",attrs:{"userSide":"service"}},'notice',_vm.$attrs,false))],1),_c('a-col',{attrs:{"span":12}},[_c('notice',_vm._b({ref:"client",attrs:{"userSide":"client"}},'notice',_vm.$attrs,false))],1)],1)],1)])}
|
|
760
760
|
var strategyvue_type_template_id_21643a93_scoped_true_staticRenderFns = []
|
|
761
761
|
|
|
762
762
|
|
|
763
763
|
// CONCATENATED MODULE: ./packages/multi-chat/setting/event/edit/strategy.vue?vue&type=template&id=21643a93&scoped=true&
|
|
764
764
|
|
|
765
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
765
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/event/edit/condition.vue?vue&type=template&id=194d7d74&scoped=true&
|
|
766
766
|
var conditionvue_type_template_id_194d7d74_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"chat-strategy-condition"},[_c('a-form',{attrs:{"form":_vm.form}},_vm._l((_vm.conditions),function(item){return _c('div',{key:item,staticClass:"condition-item"},[_c('a-form-item',{staticStyle:{"width":"210px"},attrs:{"has-feedback":""}},[_c('a-select',{directives:[{name:"decorator",rawName:"v-decorator",value:([("fieldKey-" + item)]),expression:"[`fieldKey-${item}`]"}],attrs:{"placeholder":_vm.i18nText('1.9.442'),"showSearch":"","filterOption":_vm.filterOption},on:{"change":function () { return _vm.handleFieldKeyChange(item, 'onChange'); }}},_vm._l((_vm.typeList),function(type){return _c('a-select-option',{key:type.specific,attrs:{"value":type.specific}},[_vm._v(_vm._s(type.desc))])}),1)],1),_c('a-form-item',{staticStyle:{"width":"140px"},attrs:{"has-feedback":""}},[_c('a-select',{directives:[{name:"decorator",rawName:"v-decorator",value:([("con-" + item)]),expression:"[`con-${item}`]"}],attrs:{"placeholder":_vm.i18nText('1.9.443'),"showSearch":"","filterOption":_vm.filterOption}},_vm._l((_vm.conList[item]),function(con){return _c('a-select-option',{key:con.con,attrs:{"value":con.con}},[_vm._v(_vm._s(con.desc))])}),1)],1),_c('a-form-item',{staticStyle:{"width":"100px"}},[(_vm.checkedTypeList[item] && _vm.checkedTypeList[item] === 'SERVICE_STAFF_STATUS')?_vm._t("default",function(){return [_c('a-select',{directives:[{name:"decorator",rawName:"v-decorator",value:([("value-" + item)]),expression:"[`value-${item}`]"}]},_vm._l((_vm.statusList),function(item){return _c('a-select-option',{key:item.status,attrs:{"value":item.status}},[_vm._v(" "+_vm._s(item.title)+" ")])}),1)]}):_c('a-input',{directives:[{name:"decorator",rawName:"v-decorator",value:([("value-" + item)]),expression:"[`value-${item}`]"}]})],2),(item !== 1)?_c('a-icon',{attrs:{"type":"close"},on:{"click":function () { return _vm.handleConditionRemove(item); }}}):_vm._e()],1)}),0),_c('a-button',{attrs:{"type":"primary","ghost":""},on:{"click":_vm.handleConditionAdd}},[_c('a-icon',{attrs:{"type":"plus"}}),_vm._v(" "+_vm._s(_vm.i18nText('1.9.444'))+" ")],1)],1)}
|
|
767
767
|
var conditionvue_type_template_id_194d7d74_scoped_true_staticRenderFns = []
|
|
768
768
|
|
|
@@ -963,7 +963,7 @@ var condition_component = Object(componentNormalizer["a" /* default */])(
|
|
|
963
963
|
)
|
|
964
964
|
|
|
965
965
|
/* harmony default export */ var edit_condition = (condition_component.exports);
|
|
966
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
966
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/event/edit/notice.vue?vue&type=template&id=0900fbeb&scoped=true&
|
|
967
967
|
var noticevue_type_template_id_0900fbeb_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"chat-event-notice"},[_c('div',{staticClass:"notice-title"},[_vm._v(_vm._s(_vm.noticeTitle))]),_c('a-form',{attrs:{"form":_vm.form}},[_c('a-form-item',{attrs:{"label":_vm.i18nText('1.9.455')}},[_c('a-checkbox-group',{directives:[{name:"decorator",rawName:"v-decorator",value:(["messageTypes"]),expression:"[`messageTypes`]"}],attrs:{"options":_vm.messageTypeList},on:{"change":_vm.handleTypeChange}})],1),(_vm.includeWx)?_c('a-form-item',[_c('a-select',{directives:[{name:"decorator",rawName:"v-decorator",value:(["templateId"]),expression:"[`templateId`]"}],attrs:{"placeholder":_vm.i18nText('1.9.456'),"showSearch":"","filterOption":_vm.filterOption},on:{"change":_vm.handleTemplateChange}},_vm._l((_vm.templateList),function(template){return _c('a-select-option',{key:template.id,attrs:{"value":template.id}},[_vm._v(_vm._s(template.name))])}),1)],1):_vm._e(),(_vm.includeWx)?_vm._l((_vm.keywords),function(keyword){return _c('a-form-item',{key:keyword,attrs:{"label":keyword}},[_c('a-input',{directives:[{name:"decorator",rawName:"v-decorator",value:([(keyword + "-value")]),expression:"[`${keyword}-value`]"}]})],1)}):_vm._e(),_c('a-form-item',{attrs:{"label":_vm.i18nText('1.9.457')}},[_c('a-textarea',{directives:[{name:"decorator",rawName:"v-decorator",value:(["messageContext"]),expression:"[`messageContext`]"}],attrs:{"placeholder":_vm.i18nText('1.9.40') + '...',"rows":6}})],1)],2)],1)}
|
|
968
968
|
var noticevue_type_template_id_0900fbeb_scoped_true_staticRenderFns = []
|
|
969
969
|
|
|
@@ -2121,7 +2121,7 @@ var event_component = Object(componentNormalizer["a" /* default */])(
|
|
|
2121
2121
|
)
|
|
2122
2122
|
|
|
2123
2123
|
/* harmony default export */ var setting_event = (event_component.exports);
|
|
2124
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2124
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/worktime/index.vue?vue&type=template&id=1c389abb&scoped=true&
|
|
2125
2125
|
var worktimevue_type_template_id_1c389abb_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"chat-worktime"},[_c('h3',{staticClass:"page-title"},[_vm._v(_vm._s(_vm.i18nText('1.9.462')))]),(!_vm.noDataTip)?[_c('a-button',{attrs:{"type":"primary","ghost":""},on:{"click":_vm.handleWorktimeAdd}},[_c('a-icon',{attrs:{"type":"plus"}}),_vm._v(" "+_vm._s(_vm.i18nText('1.9.463'))+" ")],1),_c('a-table',{staticClass:"table-wrapper",attrs:{"bordered":"","columns":_vm.columns,"dataSource":_vm.data,"pagination":_vm.pagination,"rowKey":_vm.getRowkey,"scroll":{ y: 650 }},on:{"change":_vm.handlePageChange},scopedSlots:_vm._u([{key:"operation",fn:function(text, record){return [_c('a',{staticStyle:{"margin-right":"15px"},attrs:{"href":"javascript:;"},on:{"click":function () { return _vm.handleTimeEdit(record); }}},[_c('a-icon',{staticStyle:{"margin-right":"8px"},attrs:{"type":"edit"}}),_vm._v(" "+_vm._s(_vm.i18nText('2.17.5.9'))+" ")],1),_c('a-popconfirm',{staticStyle:{"width":"300px"},attrs:{"okText":_vm.i18nText('1.10.138'),"cancelText":_vm.i18nText('1.1.1.1.4')},on:{"confirm":function () { return _vm.confirmDelete(record); }}},[_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.434'))+"?")])]),_c('a',{staticStyle:{"color":"red"},attrs:{"href":"javascript:;"}},[_c('a-icon',{staticStyle:{"margin-right":"8px"},attrs:{"type":"delete"}}),_vm._v(" "+_vm._s(_vm.i18nText('2.5.15'))+" ")],1)],1)]}}],null,false,2257209113)})]:_c('NoData',{attrs:{"noDataImg":_vm.noDataImg,"noDataTip":_vm.noDataTip,"emptyRender":_vm.emptyRender}}),_c('a-modal',{attrs:{"title":_vm.i18nText('1.9.463'),"maskClosable":false,"destroyOnClose":true,"afterClose":_vm.afterClose},on:{"ok":_vm.handleWorktimeSave},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_c('a-checkbox-group',{staticStyle:{"margin-bottom":"20px"},attrs:{"options":_vm.weekdays},model:{value:(_vm.weekdayList),callback:function ($$v) {_vm.weekdayList=$$v},expression:"weekdayList"}}),_c('a-time-picker',{staticStyle:{"margin-right":"10px"},attrs:{"placeholder":_vm.i18nText('1.1.4.53'),"format":"HH:mm"},model:{value:(_vm.startTime),callback:function ($$v) {_vm.startTime=$$v},expression:"startTime"}}),_c('a-time-picker',{attrs:{"placeholder":_vm.i18nText('1.9.147'),"format":"HH:mm"},model:{value:(_vm.endTime),callback:function ($$v) {_vm.endTime=$$v},expression:"endTime"}})],1)],2)}
|
|
2126
2126
|
var worktimevue_type_template_id_1c389abb_scoped_true_staticRenderFns = []
|
|
2127
2127
|
|
|
@@ -2450,14 +2450,14 @@ var worktime_component = Object(componentNormalizer["a" /* default */])(
|
|
|
2450
2450
|
)
|
|
2451
2451
|
|
|
2452
2452
|
/* harmony default export */ var worktime = (worktime_component.exports);
|
|
2453
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2453
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/customerService/index.vue?vue&type=template&id=4d60db31&scoped=true&
|
|
2454
2454
|
var customerServicevue_type_template_id_4d60db31_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"chat-customer-service"},[_c('h3',{staticClass:"page-title"},[_vm._v(_vm._s(_vm.isStaff ? '用户管理' : _vm.i18nText('1.9.431')))]),(!_vm.noDataTip)?[_c('a-select',{staticClass:"search-role",attrs:{"showSearch":"","allowClear":"","placeholder":"全部角色"},on:{"change":_vm.handleSearch},model:{value:(_vm.roleId),callback:function ($$v) {_vm.roleId=$$v},expression:"roleId"}},_vm._l((_vm.roleList),function(sea){return _c('a-select-option',{key:sea.roleId,attrs:{"value":sea.roleId}},[_vm._v(" "+_vm._s(sea.roleName)+" ")])}),1),_c('a-input-search',{attrs:{"placeholder":_vm.i18nText('1.9.432'),"size":"default","allowClear":""},on:{"search":_vm.handleSearch},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}},[_c('a-button',{attrs:{"slot":"enterButton","type":"primary"},slot:"enterButton"},[_c('a-icon',{attrs:{"type":"search"}}),_vm._v(" "+_vm._s(_vm.i18nText('1.2.2.11'))+" ")],1)],1),_c('a-button',{on:{"click":_vm.handleCustomerAdd}},[_c('a-icon',{attrs:{"type":"plus-circle"}}),_vm._v(" "+_vm._s(_vm.i18nText('1.9.433'))+" ")],1),_c('a-table',{attrs:{"bordered":"","columns":_vm.columns,"dataSource":_vm.tableData,"pagination":_vm.pagination,"rowKey":_vm.getRowkey,"scroll":{ y: 650 }},on:{"change":_vm.handlePageChange},scopedSlots:_vm._u([{key:"operation",fn:function(text, record){return [_c('a-popconfirm',{staticStyle:{"width":"300px"},attrs:{"okText":_vm.i18nText('1.10.138'),"cancelText":_vm.i18nText('1.1.1.1.4')},on:{"confirm":function () { return _vm.confirmDelete(record); }}},[_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.434'))+"?")])]),_c('a',{staticStyle:{"color":"red"},attrs:{"href":"javascript:;"}},[_c('a-icon',{staticStyle:{"margin-right":"8px"},attrs:{"type":"delete"}}),_vm._v(" "+_vm._s(_vm.i18nText('2.5.15'))+" ")],1)],1)]}}],null,false,444838098)})]:_c('NoData',{attrs:{"noDataImg":_vm.noDataImg,"noDataTip":_vm.noDataTip,"emptyRender":_vm.emptyRender}}),_c('a-modal',{attrs:{"title":_vm.customTitle,"maskClosable":false,"destroyOnClose":true,"width":"720px","footer":null,"bodyStyle":{ padding: 0, height: '600px' }},on:{"ok":_vm.handleCustomerAdd},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_c('batch-select',{attrs:{"assemblyId":_vm.assemblyId},on:{"handleBatchResponse":_vm.handleBatchResponse}})],1)],2)}
|
|
2455
2455
|
var customerServicevue_type_template_id_4d60db31_scoped_true_staticRenderFns = []
|
|
2456
2456
|
|
|
2457
2457
|
|
|
2458
2458
|
// CONCATENATED MODULE: ./packages/multi-chat/setting/customerService/index.vue?vue&type=template&id=4d60db31&scoped=true&
|
|
2459
2459
|
|
|
2460
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2460
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/customerService/batchSelect.vue?vue&type=template&id=08d5ff2c&scoped=true&
|
|
2461
2461
|
var batchSelectvue_type_template_id_08d5ff2c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"batch-select"},[_c('a-row',{staticStyle:{"height":"100%"}},[_c('a-col',{staticClass:"left-tree",attrs:{"span":12}},[_c('a-input-search',{attrs:{"placeholder":_vm.i18nText('1.9.432'),"enter-button":_vm.i18nText('1.1.1.5.1'),"size":"default","allowClear":""},on:{"search":_vm.handleSearch},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}},[_c('a-icon',{staticClass:"search-input-icon",attrs:{"slot":"prefix","type":"search"},slot:"prefix"})],1),_c('div',{staticClass:"check-all"},[_c('a-checkbox',{attrs:{"checked":_vm.checkAll},on:{"change":_vm.toggleCheckAll}},[_vm._v(_vm._s(_vm.i18nText("1.10.139")))])],1),_c('a-tree',{ref:"antTree",attrs:{"checkable":"","treeData":_vm.treeData,"expandedKeys":_vm.expandedKeys,"searchPlaceholder":"Please select"},on:{"expand":_vm.onExpand,"check":_vm.onCheck},scopedSlots:_vm._u([{key:"custom",fn:function(item){return [(item.name)?_c('span',{staticClass:"username"},[_c('span',{staticClass:"first-name"},[_vm._v(_vm._s(item.name[0]))]),_c('span',{class:_vm.checkSearchName(item)},[_vm._v(_vm._s(item.name))])]):_c('span',[_vm._v(_vm._s(item.orgName || item.dept_name))])]}}]),model:{value:(_vm.checkedKeys),callback:function ($$v) {_vm.checkedKeys=$$v},expression:"checkedKeys"}})],1),_c('a-col',{staticClass:"right-page",attrs:{"span":12}},[_c('div',{staticClass:"right-top"},_vm._l((_vm.selectedUsers),function(item){return _c('a-tag',{key:item.id,attrs:{"closable":""},on:{"close":function () { return _vm.handleRemove(item); }}},[_vm._v(_vm._s(item.name))])}),1),_c('div',{staticClass:"right-bottom"},[_c('a-button',{staticStyle:{"margin-right":"18px"},attrs:{"type":"primary"},on:{"click":_vm.handleSave}},[_vm._v(" "+_vm._s(_vm.i18nText("1.1.1.1.3"))+" ("+_vm._s(_vm.selectedUsers.length)+"/"+_vm._s(_vm.flatUserList.length)+") ")]),_c('a-button',{on:{"click":_vm.handleCancel}},[_vm._v(_vm._s(_vm.i18nText("1.1.1.1.4")))])],1)])],1)],1)}
|
|
2462
2462
|
var batchSelectvue_type_template_id_08d5ff2c_scoped_true_staticRenderFns = []
|
|
2463
2463
|
|
|
@@ -3193,7 +3193,7 @@ var customerService_component = Object(componentNormalizer["a" /* default */])(
|
|
|
3193
3193
|
)
|
|
3194
3194
|
|
|
3195
3195
|
/* harmony default export */ var customerService = (customerService_component.exports);
|
|
3196
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3196
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/baseInfo/index.vue?vue&type=template&id=5fa2ce48&scoped=true&
|
|
3197
3197
|
var baseInfovue_type_template_id_5fa2ce48_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"chat-base-info"},[_c('h3',{staticClass:"page-title"},[_vm._v(_vm._s(_vm.i18nText('2.4.3.1')))]),_c('div',{staticClass:"main-form"},[_c('a-form',{attrs:{"form":_vm.form}},[(!_vm.isStaff)?_c('div',{staticClass:"functional-module"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.i18nText('1.9.401')))]),_c('a-form-item',[_c('a-checkbox',{attrs:{"checked":_vm.showTimeSetting},on:{"change":_vm.handleTimeSettingShow}},[_vm._v(_vm._s(_vm.i18nText('1.9.402')))]),_c('a-checkbox',{model:{value:(_vm.readStatus),callback:function ($$v) {_vm.readStatus=$$v},expression:"readStatus"}},[_vm._v("已读回执")]),_c('a-checkbox',{model:{value:(_vm.lineUpNotice),callback:function ($$v) {_vm.lineUpNotice=$$v},expression:"lineUpNotice"}},[_vm._v("排队提醒")])],1),(_vm.showTimeSetting)?[_c('a-row',{staticClass:"time-setting"},[_c('a-col',{attrs:{"span":12}},[_c('a-form-item',{attrs:{"label":_vm.i18nText('1.9.403')}},[_c('a-input-number',{directives:[{name:"decorator",rawName:"v-decorator",value:(['timeLengthHours']),expression:"['timeLengthHours']"}],attrs:{"min":0,"max":99}}),_c('span',{staticClass:"setting-hours-text"},[_vm._v("小时")]),_c('a-input-number',{directives:[{name:"decorator",rawName:"v-decorator",value:(['timeLengthMins']),expression:"['timeLengthMins']"}],attrs:{"min":0,"max":59}}),_vm._v(" "+_vm._s(_vm.i18nText('2.2.6.6'))+" ")],1)],1),_c('a-col',{attrs:{"span":8}},[_c('a-form-item',{staticClass:"ASC_DESC",attrs:{"label":_vm.i18nText('1.9.405')}},[_c('a-radio-group',{directives:[{name:"decorator",rawName:"v-decorator",value:(['showMode']),expression:"['showMode']"}]},[_c('a-radio',{attrs:{"value":"ASC"}},[_vm._v(_vm._s(_vm.i18nText('1.9.406')))]),_c('a-radio',{attrs:{"value":"DESC"}},[_vm._v(_vm._s(_vm.i18nText('1.9.407')))])],1)],1)],1)],1),_c('a-form-item',{staticStyle:{"margin-left":"20px"}},[_c('a-checkbox',{attrs:{"checked":_vm.showTimeDelay},on:{"change":_vm.handleTimeDelayShow}},[_vm._v(_vm._s(_vm.i18nText('1.9.408')))])],1),(_vm.showTimeDelay)?[_c('a-row',{staticClass:"delayed-setting"},[_c('a-col',{attrs:{"span":12}},[_c('a-form-item',{attrs:{"label":_vm.i18nText('1.9.409')}},[_c('a-input-number',{directives:[{name:"decorator",rawName:"v-decorator",value:(['delayed-timeLength']),expression:"['delayed-timeLength']"}],staticStyle:{"width":"80px"},attrs:{"precision":0,"min":1}}),_c('span',{staticClass:"unit"},[_vm._v(_vm._s(_vm.i18nText('2.2.6.6')))])],1)],1),_c('a-col',{attrs:{"span":10}},[_c('a-form-item',{attrs:{"label":_vm.i18nText('1.9.410')}},[_c('a-input-number',{directives:[{name:"decorator",rawName:"v-decorator",value:(['rightOffRemindTime']),expression:"['rightOffRemindTime']"}],staticStyle:{"width":"80px"},attrs:{"precision":0,"min":1},on:{"blur":_vm.handleRightOffRemindTimeBlur}}),_c('span',{staticClass:"unit"},[_vm._v(_vm._s(_vm.i18nText('1.9.411')))])],1)],1)],1)]:_vm._e()]:_vm._e()],2):_vm._e(),_c('div',{staticClass:"functional-module"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.i18nText('1.9.412')))]),(!_vm.isStaff)?_c('a-form-item',{staticClass:"server-form-item",attrs:{"label":_vm.i18nText('1.9.413')}},[_vm._l((_vm.serverInfo),function(item){return [(item.type === 'TEXT')?_c('div',{key:item.key,staticClass:"serverinfo-wrapper"},[_c('a-tooltip',{attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_vm._v(_vm._s(item.title))]),_c('span',{staticClass:"serverinfo-label"},[_vm._v(_vm._s(item.title)+":")])],2),_c('a-input',{directives:[{name:"decorator",rawName:"v-decorator",value:([item.key]),expression:"[item.key]"}],staticClass:"title-input",attrs:{"allowClear":""}})],1):_vm._e()]})],2):_vm._e(),(!_vm.isStaff)?_c('a-form-item',{attrs:{"label":_vm.i18nText('1.9.414')}},[_vm._l((_vm.serverInfo),function(item){return [(item.type === 'BUTTON')?_c('div',{key:item.key,staticClass:"serverinfo-wrapper"},[_c('a-tooltip',{attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_vm._v(_vm._s(item.title))]),_c('span',{staticClass:"serverinfo-label"},[_vm._v(_vm._s(item.title)+":")])],2),_c('a-input',{directives:[{name:"decorator",rawName:"v-decorator",value:([item.key]),expression:"[item.key]"}],staticClass:"title-input",attrs:{"allowClear":""}})],1):_vm._e()]})],2):_vm._e(),(_vm.queryTimeSettingList.length > 0)?_c('a-form-item',{attrs:{"label":_vm.i18nText('1.9.415')}},[_c('a-radio-group',{directives:[{name:"decorator",rawName:"v-decorator",value:(["queryTimeSetting"]),expression:"[`queryTimeSetting`]"}],attrs:{"options":_vm.queryTimeSettingList}})],1):_vm._e(),_c('a-form-item',{attrs:{"label":_vm.i18nText('1.9.416')}},[(_vm.isListClassify !== 'Y')?_c('a-checkbox-group',{directives:[{name:"decorator",rawName:"v-decorator",value:(["functionSetting"]),expression:"[`functionSetting`]"}],attrs:{"options":_vm.functionList}}):_vm._e()],1),(_vm.isListClassify === 'Y')?_vm._l((_vm.listClassify),function(item,index){return _c('div',{key:index,staticClass:"classify-wrapper"},[_c('div',{staticClass:"classify-item"},[_c('div',{staticClass:"statistic"},[_c('div',[_c('span',{staticClass:"name"},[_vm._v(_vm._s(_vm.i18nText('1.9.417'))+":")]),_c('svg-icon',{staticStyle:{"font-size":"20px","margin-right":"8px"},attrs:{"icon-class":item.icon}}),_c('a-input',{staticStyle:{"width":"150px"},attrs:{"allowClear":""},model:{value:(item.name),callback:function ($$v) {_vm.$set(item, "name", $$v)},expression:"item.name"}}),(item.isStatistic !== 'NOT')?_c('a-checkbox',{staticStyle:{"width":"100px","margin-left":"10px"},attrs:{"checked":item.isStatistic === 'Y'},on:{"change":function (e) { return _vm.handleStatisticToggle(item, e); }}},[_vm._v(_vm._s(_vm.i18nText('1.9.418')))]):_vm._e(),_c('a-checkbox',{staticStyle:{"width":"100px","margin-left":"10px"},model:{value:(item.enable),callback:function ($$v) {_vm.$set(item, "enable", $$v)},expression:"item.enable"}},[_vm._v("启用")])],1),_c('a-tooltip',{attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_vm._v("上移")]),(_vm.listClassify.length > 1)?_c('a-icon',{staticStyle:{"margin-right":"10px"},attrs:{"type":"up"},on:{"click":function($event){return _vm.handleGroupUp(index)}}}):_vm._e()],2)],1),_c('div',{staticClass:"server"},[_c('span',{staticClass:"name"},[_vm._v(_vm._s(_vm.i18nText('1.9.419')))]),_c('a-checkbox-group',{attrs:{"options":item.serverfunctionList},model:{value:(item.serverfunctions),callback:function ($$v) {_vm.$set(item, "serverfunctions", $$v)},expression:"item.serverfunctions"}})],1),_c('div',{staticClass:"client"},[_c('span',{staticClass:"name"},[_vm._v(_vm._s(_vm.i18nText('1.9.420')))]),_c('a-checkbox-group',{attrs:{"options":item.clientfunctionList},model:{value:(item.clientfunctions),callback:function ($$v) {_vm.$set(item, "clientfunctions", $$v)},expression:"item.clientfunctions"}})],1)])])}):_vm._e(),(!_vm.isStaff)?_c('a-form-item',{attrs:{"label":_vm.i18nText('1.1.8.1.8') + '-' + _vm.i18nText('1.10.232')}},[(_vm.tabBarSetting.mobileSetting && _vm.tabBarSetting.mobileSetting.list)?_vm._l((_vm.tabBarSetting.mobileSetting.list),function(item,index){return _c('a-checkbox',{key:index,attrs:{"disabled":!_vm.tabBarMobileEnable || item.isMsgBar == 'Y',"checked":item.isChecked == 'Y'},on:{"input":function (v) { return _vm.handleCheckInput(v, item); }}},[_vm._v(" "+_vm._s(item.content)+" ")])}):_vm._e()],2):_vm._e(),(!_vm.isStaff)?_c('a-form-item',{attrs:{"label":_vm.i18nText('1.9.421')}},[_c('a-table',{attrs:{"bordered":"","columns":_vm.columns,"dataSource":_vm.serviceState,"pagination":false,"rowKey":_vm.getRowkey},scopedSlots:_vm._u([{key:"operation",fn:function(text, record){return [_c('a-switch',{attrs:{"disabled":['ON-LINE', 'OFF-LINE'].includes(record.status),"checkedChildren":_vm.i18nText('1.9.422'),"unCheckedChildren":_vm.i18nText('1.1.1.1.7'),"checked":record.enable},on:{"change":function () { return _vm.handleStatusChange(record); }}})]}},{key:"icon",fn:function(text, record){return [(record.icon)?_c('svg-icon',{staticStyle:{"font-size":"16px"},attrs:{"icon-class":record.icon}}):_vm._e()]}}],null,false,3990348240)})],1):_vm._e(),(_vm.toolbarList.length > 0)?_c('a-form-item',{attrs:{"label":_vm.i18nText('1.9.698')}},[_c('a-checkbox-group',{directives:[{name:"decorator",rawName:"v-decorator",value:(["toolbar"]),expression:"[`toolbar`]"}]},[_c('a-row',[_c('a-col',[_c('span',{staticStyle:{"display":"inline-block","width":"70px"}},[_vm._v("PC:")]),_vm._l((_vm.toolbarList.filter(function (item) { return item.source === 'PC'; })),function(item,index){return _c('a-checkbox',{key:index,attrs:{"value":item.value},on:{"change":function($event){return _vm.toolbarChange(item, $event)}}},[_vm._v(" "+_vm._s(item.label)+" ")])})],2),_c('a-col',[_c('span',{staticStyle:{"display":"inline-block","width":"70px"}},[_vm._v("MOBILE:")]),_vm._l((_vm.toolbarList.filter(function (item) { return item.source === 'MOBILE'; })),function(item,index){return _c('a-checkbox',{key:index,attrs:{"value":item.value},on:{"change":function($event){return _vm.toolbarChange(item, $event)}}},[_vm._v(" "+_vm._s(item.label)+" ")])})],2)],1)],1)],1):_vm._e(),(_vm.toolbarList.length > 0)?_c('a-form-item',{attrs:{"label":_vm.i18nText('1.9.699')}},[_c('a-checkbox-group',{directives:[{name:"decorator",rawName:"v-decorator",value:(["closedToolbar"]),expression:"[`closedToolbar`]"}]},[_c('a-row',[_c('a-col',[_c('span',{staticStyle:{"display":"inline-block","width":"70px"}},[_vm._v("PC:")]),_vm._l((_vm.closedToolbarList.filter(function (item) { return item.source === 'PC'; })),function(item,index){return _c('a-checkbox',{key:index,attrs:{"value":item.value}},[_vm._v(" "+_vm._s(item.label)+" ")])})],2),_c('a-col',[_c('span',{staticStyle:{"display":"inline-block","width":"70px"}},[_vm._v("MOBILE:")]),_vm._l((_vm.closedToolbarList.filter(function (item) { return item.source === 'MOBILE'; })),function(item,index){return _c('a-checkbox',{key:index,attrs:{"value":item.value}},[_vm._v(" "+_vm._s(item.label)+" ")])})],2)],1)],1)],1):_vm._e()],2),(_vm.isListClassify !== 'Y' && !_vm.isStaff)?_c('div',{staticClass:"functional-module"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.i18nText('1.9.424')))]),_c('a-form-item',{attrs:{"label":_vm.i18nText('1.9.425')}},[_c('a-checkbox-group',{directives:[{name:"decorator",rawName:"v-decorator",value:(["clientFunctionSetting"]),expression:"[`clientFunctionSetting`]"}],attrs:{"options":_vm.clientFunctionList}})],1)],1):_vm._e(),(!_vm.isStaff)?_c('div',{staticClass:"functional-module"},[_c('span',{staticClass:"title",staticStyle:{"display":"inline-block","margin-bottom":"10px"}},[_vm._v(" "+_vm._s(_vm.i18nText('1.9.426'))+" "),_c('a-checkbox',{attrs:{"disabled":!_vm.evaluateId,"checked":_vm.evaluate},on:{"change":_vm.handleEvaluate}})],1)]):_vm._e(),(!_vm.isConference && !_vm.isStaff)?_c('div',{staticClass:"functional-module"},[_c('span',{staticClass:"title",staticStyle:{"display":"inline-block","margin-bottom":"10px"}},[_vm._v(" "+_vm._s(_vm.i18nText('1.9.427'))+" ")]),_c('a-row',{staticClass:"bot-setting"},[_c('a-form-item',{attrs:{"label":"选择机器人"}},[_c('a-select',{directives:[{name:"decorator",rawName:"v-decorator",value:(['robotId']),expression:"['robotId']"}],staticStyle:{"width":"200px"},attrs:{"placeholder":'选择机器人',"allowClear":"","showSearch":"","filterOption":_vm.filterOption}},_vm._l((_vm.robotList),function(robot){return _c('a-select-option',{key:robot.id,attrs:{"value":robot.id}},[_vm._v(_vm._s(robot.name))])}),1)],1)],1),_c('a-row',{staticClass:"bot-setting"},[_c('a-form-item',[_c('a-radio-group',{directives:[{name:"decorator",rawName:"v-decorator",value:(['mode']),expression:"['mode']"}]},[_c('a-radio',{attrs:{"value":"ROBOT_CHAT"}},[_vm._v("机器人和人工客服")]),_c('a-radio',{attrs:{"value":"ROBOT"}},[_vm._v("仅机器人")])],1)],1)],1)],1):_vm._e(),_c('div',{staticClass:"functional-module"},[_c('span',{staticClass:"title",staticStyle:{"display":"block","margin-bottom":"10px"}},[_vm._v(" 公共短语 ")]),_c('a-select',{staticStyle:{"width":"300px","margin-top":"15px"},attrs:{"mode":"multiple","showSearch":"","placeholder":"请选择"},model:{value:(_vm.chatPublicCategory),callback:function ($$v) {_vm.chatPublicCategory=$$v},expression:"chatPublicCategory"}},_vm._l((_vm.chatPublicCategoryList),function(item){return _c('a-select-option',{key:item.id,attrs:{"value":item.id}},[_vm._v(_vm._s(item.name))])}),1)],1),_c('div',{staticClass:"functional-module"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.i18nText('1.9.428')))]),_vm._l((_vm.broadcastList),function(b,key){return _c('div',{key:b.type,staticClass:"broadcaste-wrap"},[_c('div',{staticClass:"broadcaste-title"},[_c('a-switch',{attrs:{"checkedChildren":_vm.i18nText('1.9.422'),"unCheckedChildren":_vm.i18nText('1.1.1.1.7')},model:{value:(b.isChecked),callback:function ($$v) {_vm.$set(b, "isChecked", $$v)},expression:"b.isChecked"}}),_c('span',[_vm._v(_vm._s(key === 'PC' ? _vm.i18nText('1.9.429') : _vm.i18nText('1.1.8.1.8')))]),_c('a-icon',{staticStyle:{"color":"green","fontSize":"18px"},attrs:{"type":"plus-circle","theme":"filled"},on:{"click":function($event){return _vm.addBroadcast(b.type, b.list)}}})],1),_c('ul',_vm._l((b.list),function(v,i){return _c('li',{key:i,staticClass:"broadcaste-item"},[_c('div',[_c('span',{staticClass:"item-title"},[_vm._v(_vm._s(_vm.i18nText('3.19.5')))]),_c('a-input',{attrs:{"allowClear":""},model:{value:(v.content),callback:function ($$v) {_vm.$set(v, "content", $$v)},expression:"v.content"}})],1),_c('div',[_c('span',{staticClass:"item-title"},[_vm._v(_vm._s(_vm.i18nText('2.22.8.2')))]),_c('a-input',{attrs:{"allowClear":""},model:{value:(v.url),callback:function ($$v) {_vm.$set(v, "url", $$v)},expression:"v.url"}})],1),_c('svg-icon',{staticClass:"form-action svg-icon-btn",staticStyle:{"margin-left":"4px"},attrs:{"icon-class":"xitongtubiaoliebiaocaozuoanniushanchushixin"},on:{"click":function($event){return _vm.deleteBroadcast(i, b.list)}}})],1)}),0)])})],2),(!_vm.isStaff)?_c('div',{staticClass:"functional-module"},[_c('span',{staticClass:"title",staticStyle:{"display":"inline-block","margin-bottom":"10px"}},[_vm._v(" "+_vm._s(_vm.i18nText('1.9.678'))+": ")]),_c('ul',_vm._l((_vm.refuseReasonList),function(item,i){return _c('li',{key:i,staticClass:"refuse-item"},[_c('a-input',{attrs:{"maxLength":15},model:{value:(item.text),callback:function ($$v) {_vm.$set(item, "text", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:"item.text"}}),_c('svg-icon',{staticClass:"form-action svg-icon-btn",attrs:{"icon-class":"xitongtubiaoliebiaocaozuoanniushanchushixin"},on:{"click":function($event){return _vm.refuseReasonDel(i)}}})],1)}),0),_c('a-button',{staticClass:"refuse-add-btn",attrs:{"type":"link","size":"small","disabled":_vm.refuseReasonList.length > 4},on:{"click":_vm.refuseReasonAdd}},[_c('svg-icon',{staticStyle:{"margin-right":"6px"},attrs:{"icon-class":"xinzengwenjian"}}),_vm._v(" 添加 ")],1)],1):_vm._e(),(!_vm.isStaff)?_c('div',{staticClass:"functional-module"},[_c('span',{staticClass:"title",staticStyle:{"display":"inline-block","margin-bottom":"10px"}},[_vm._v(" 环境变量设置: ")]),_vm._l((_vm.variableSetting),function(item,index){return _c('a-row',{key:index},[_c('a-col',{attrs:{"span":4}},[_c('a-form-item',{attrs:{"label":"变量名称"}},[_c('a-input',{staticStyle:{"width":"200px"},attrs:{"disabled":""},model:{value:(item.name),callback:function ($$v) {_vm.$set(item, "name", $$v)},expression:"item.name"}})],1)],1),_c('a-col',{attrs:{"span":4}},[_c('a-form-item',{attrs:{"label":"变量值"}},[_c('a-input',{staticStyle:{"width":"200px"},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})],1)],1),_c('a-col',{attrs:{"span":5}},[_c('a-form-item',{attrs:{"label":"备注"}},[_c('a-input',{staticStyle:{"width":"200px"},attrs:{"disabled":""},model:{value:(item.remark),callback:function ($$v) {_vm.$set(item, "remark", $$v)},expression:"item.remark"}})],1)],1)],1)})],2):_vm._e(),_c('div',{staticClass:"functional-module rightClickSetting"},[_c('span',{staticClass:"title",staticStyle:{"display":"inline-block","margin-bottom":"10px"}},[_vm._v(" 右键设置 "),_c('a-icon',{staticStyle:{"color":"green","fontSize":"18px"},attrs:{"type":"plus-circle","theme":"filled"},on:{"click":function($event){return _vm.addRightClick()}}})],1),_vm._l((_vm.rightClickSetting),function(item,index){return _c('a-row',{key:index},[_c('a-col',{attrs:{"span":_vm.handleRightClickSpan(item)}},[_c('a-form-item',{staticClass:"rightClick-form",attrs:{"label":"名称"}},[_c('a-input',{staticStyle:{"width":"98%"},attrs:{"allowClear":""},model:{value:(item.rightClickName),callback:function ($$v) {_vm.$set(item, "rightClickName", $$v)},expression:"item.rightClickName"}})],1)],1),_c('a-col',{attrs:{"span":_vm.handleRightClickSpan(item)}},[_c('a-form-item',{staticClass:"rightClick-form",attrs:{"label":"操作"}},[_c('a-select',{staticStyle:{"width":"98%"},attrs:{"allowClear":"","showSearch":"","filterOption":_vm.filterOption,"placeholder":"请选择"},model:{value:(item.rightClickDo),callback:function ($$v) {_vm.$set(item, "rightClickDo", $$v)},expression:"item.rightClickDo"}},_vm._l((_vm.rightClickDoList),function(i,index){return _c('a-select-option',{key:index,attrs:{"value":i.value}},[_vm._v(_vm._s(i.label))])}),1)],1)],1),(item.rightClickDo === 'jumpUrl')?_c('a-col',{attrs:{"span":11}},[_c('a-form-item',{staticClass:"rightClick-form",attrs:{"label":"外部地址"}},[_c('a-input',{staticStyle:{"width":"100%"},attrs:{"allowClear":""},model:{value:(item.rightClickUrl),callback:function ($$v) {_vm.$set(item, "rightClickUrl", $$v)},expression:"item.rightClickUrl"}})],1)],1):_vm._e(),_c('svg-icon',{staticClass:"form-action svg-icon-btn",staticStyle:{"margin":"8px 0 0 4px"},attrs:{"icon-class":"xitongtubiaoliebiaocaozuoanniushanchushixin"},on:{"click":function($event){return _vm.deleteRightClick(index)}}})],1)})],2),(!_vm.isConference && !_vm.isStaff)?_c('div',{staticClass:"functional-module"},[_c('span',{staticClass:"title",staticStyle:{"display":"inline-block","margin-bottom":"10px"}},[_vm._v(" 聊天客户端接入地址 ")]),_c('a-row',{staticClass:"client-url"},[_c('a-col',{attrs:{"span":3}},[_vm._v("PC端:")]),_c('a-col',{attrs:{"span":20}},[_vm._v(_vm._s(_vm.pcUrl)+" ")])],1),_c('a-row',{staticClass:"client-url"},[_c('a-col',{attrs:{"span":3}},[_vm._v("移动端:")]),_c('a-col',{attrs:{"span":20}},[_vm._v(_vm._s(_vm.mobileUrl)+" ")])],1)],1):_vm._e()])],1),_c('div',{staticClass:"form-bottom"},[_c('a-button',{staticStyle:{"margin-left":"10px"},attrs:{"type":"primary"},on:{"click":_vm.handleSubmit}},[_vm._v(_vm._s(_vm.i18nText('3.5.29')))])],1)])}
|
|
3198
3198
|
var baseInfovue_type_template_id_5fa2ce48_scoped_true_staticRenderFns = []
|
|
3199
3199
|
|
|
@@ -4583,7 +4583,7 @@ var baseInfo_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4583
4583
|
)
|
|
4584
4584
|
|
|
4585
4585
|
/* harmony default export */ var baseInfo = (baseInfo_component.exports);
|
|
4586
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4586
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/sessionList/index.vue?vue&type=template&id=04dfc814&scoped=true&
|
|
4587
4587
|
var sessionListvue_type_template_id_04dfc814_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"session-list"},[_c('div',{staticClass:"search-wrapper"},[_c('a-input-search',{staticStyle:{"width":"250px"},attrs:{"placeholder":_vm.i18nText('2.12.7.5'),"enterButton":_vm.i18nText('2.2.2.14')},on:{"search":_vm.getTableList},model:{value:(_vm.searchCondition.keyword),callback:function ($$v) {_vm.$set(_vm.searchCondition, "keyword", $$v)},expression:"searchCondition.keyword"}}),_c('a-select',{staticStyle:{"width":"120px","margin-left":"10px"},attrs:{"placeholder":'会话状态',"showSearch":"","filterOption":_vm.filterOption},on:{"change":_vm.handleOnlineTypeChange},model:{value:(_vm.searchCondition.onlineType),callback:function ($$v) {_vm.$set(_vm.searchCondition, "onlineType", $$v)},expression:"searchCondition.onlineType"}},_vm._l((_vm.onlineTypeList),function(item,index){return _c('a-select-option',{key:index,attrs:{"value":item.value}},[_vm._v(_vm._s(item.label))])}),1),_c('a-select',{staticStyle:{"width":"120px","margin-left":"10px"},attrs:{"allowClear":"","placeholder":_vm.i18nText('1.9.338'),"showSearch":"","filterOption":_vm.filterOption},on:{"change":_vm.handleClassifyChange}},_vm._l((_vm.classifyList),function(item,index){return _c('a-select-option',{key:index,attrs:{"value":item.value}},[_vm._v(_vm._s(item.label))])}),1),_c('a-select',{staticStyle:{"width":"120px","margin-left":"10px"},attrs:{"allowClear":"","showSearch":"","placeholder":_vm.i18nText('1.9.470'),"filterOption":_vm.filterOption},on:{"change":_vm.handleServiceIdChange}},_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)],1),_c('a-table',{staticClass:"advance-table",attrs:{"data-source":_vm.tableData,"columns":_vm.columns,"row-key":"id","bordered":"","pagination":false,"scroll":{ x: 1260, y: 500 }},scopedSlots:_vm._u([{key:"toName",fn:function(scope, record){return [_c('a',{on:{"click":function($event){return _vm.viewMessageRecord(record)}}},[_vm._v(_vm._s(record.toName))])]}},{key:"status",fn:function(scope){return [_c('div',[_vm._v(_vm._s(_vm.formatStatus(scope)))])]}},{key:"createdTime",fn:function(scope){return [_c('div',[_vm._v(_vm._s(_vm.formatTime(scope)))])]}},{key:"classify",fn:function(scope){return [_c('div',[_vm._v(_vm._s(_vm.formatClassify(scope)))])]}}])}),_c('a-pagination',{attrs:{"current":_vm.pagination.currentPage,"pageSizeOptions":['5', '10', '15', '20'],"pageSize":_vm.pagination.pageSize,"showSizeChanger":"","showQuickJumper":"","total":_vm.pagination.total},on:{"showSizeChange":_vm.handleSizeChange,"change":_vm.handleCurrentChange}}),_c('a-modal',{attrs:{"visible":_vm.visible,"maskClosable":false,"mask":false,"footer":null,"width":"800px","bodyStyle":{
|
|
4588
4588
|
boxSizing: 'content-box',
|
|
4589
4589
|
padding: '10px 10px 10px 24px'
|
|
@@ -5093,7 +5093,7 @@ var sessionList_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5093
5093
|
)
|
|
5094
5094
|
|
|
5095
5095
|
/* harmony default export */ var sessionList = (sessionList_component.exports);
|
|
5096
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5096
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/configuration/index.vue?vue&type=template&id=bb15950c&scoped=true&
|
|
5097
5097
|
var configurationvue_type_template_id_bb15950c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"configuratioin-page"},[_c('div',{staticClass:"configuratioin-wrap"},[_c('div',{staticClass:"page-title"},[_vm._v(" 视频设置 "),(_vm.obj.vendor == 1)?_c('a-tooltip',{attrs:{"arrowPointAtCenter":true,"placement":"bottomRight","overlayStyle":{
|
|
5098
5098
|
width: '360px',
|
|
5099
5099
|
'max-width': '360px'
|
|
@@ -5240,7 +5240,7 @@ var configuration_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5240
5240
|
)
|
|
5241
5241
|
|
|
5242
5242
|
/* harmony default export */ var configuration = (configuration_component.exports);
|
|
5243
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5243
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/userConfig/index.vue?vue&type=template&id=3f949dba&scoped=true&
|
|
5244
5244
|
var userConfigvue_type_template_id_3f949dba_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"user-config"},[_c('div',[_c('div',{staticClass:"page-title"},[_vm._v("本机设备")]),_c('div',{staticClass:"sip-info"},[_c('div',{staticClass:"sip-label"},[_vm._v("当前音视频设备:")]),_c('div',[_c('span',{staticClass:"sip-name"},[_vm._v(_vm._s(_vm.sip ? _vm.sip.name : '本机设备'))]),_c('span',{staticClass:"sip-btn",on:{"click":_vm.setSip}},[_c('a-icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":"swap"}}),_c('span',[_vm._v("切换")])],1)])])])])}
|
|
5245
5245
|
var userConfigvue_type_template_id_3f949dba_scoped_true_staticRenderFns = []
|
|
5246
5246
|
|
|
@@ -5371,14 +5371,14 @@ var userConfig_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5371
5371
|
)
|
|
5372
5372
|
|
|
5373
5373
|
/* harmony default export */ var userConfig = (userConfig_component.exports);
|
|
5374
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5374
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/authority/index.vue?vue&type=template&id=4910a0f6&scoped=true&
|
|
5375
5375
|
var authorityvue_type_template_id_4910a0f6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"chat-customer-service"},[_c('div',[_c('a-input-search',{attrs:{"placeholder":_vm.i18nText('1.9.432'),"allowClear":"","enter-button":""},on:{"search":_vm.handleSearch},model:{value:(_vm.keyword),callback:function ($$v) {_vm.keyword=$$v},expression:"keyword"}}),_c('a-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.roleId),expression:"roleId"}],attrs:{"type":"primary"},on:{"click":_vm.openRoleSetting}},[_vm._v("权限管理")])],1),_c('a-table',{attrs:{"bordered":"","rowKey":"roleId","columns":_vm.columns,"dataSource":_vm.tableData,"pagination":_vm.pagination,"customRow":_vm.customRow,"rowClassName":_vm.rowClassName,"scroll":{ y: 665 }},on:{"change":_vm.handlePageChange}}),_c('RoleSetting',{attrs:{"assemblyId":_vm.assemblyId,"roleId":_vm.roleId},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}})],1)}
|
|
5376
5376
|
var authorityvue_type_template_id_4910a0f6_scoped_true_staticRenderFns = []
|
|
5377
5377
|
|
|
5378
5378
|
|
|
5379
5379
|
// CONCATENATED MODULE: ./packages/multi-chat/setting/authority/index.vue?vue&type=template&id=4910a0f6&scoped=true&
|
|
5380
5380
|
|
|
5381
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5381
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/authority/roleSetting.vue?vue&type=template&id=db34a300&scoped=true&
|
|
5382
5382
|
var roleSettingvue_type_template_id_db34a300_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{staticClass:"standard-modal standard-modal-white",attrs:{"visible":_vm.value,"width":"520px","closable":false,"destroyOnClose":true},on:{"change":_vm.handleInput,"ok":_vm.handleSave},scopedSlots:_vm._u([{key:"title",fn:function(){return [_vm._v(" 权限管理 "),_c('div',{staticClass:"svg-wrap"},[_c('svg-icon',{attrs:{"icon-class":'xitongtubiaodaohangtubiaoguanbi'},on:{"click":_vm.handleCancel}})],1)]},proxy:true}])},[_c('div',{staticClass:"user-role-wrapper"},[_c('div',{staticClass:"wrapper-item"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.toolbarPC.length),expression:"toolbarPC.length"}],staticClass:"setting-item"},[_c('div',{staticClass:"setting-label"},[_vm._v("PC:")]),_c('div',{staticClass:"setting-content"},[_c('a-checkbox',{key:"pc_all_checked",model:{value:(_vm.pcChecked),callback:function ($$v) {_vm.pcChecked=$$v},expression:"pcChecked"}},[_vm._v("全选")]),_c('br'),_vm._l((_vm.toolbarPC),function(item,i){return _c('a-checkbox',{key:i,model:{value:(item.isChecked),callback:function ($$v) {_vm.$set(item, "isChecked", $$v)},expression:"item.isChecked"}},[_vm._v(" "+_vm._s(item.name)+" ")])})],2)]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.toolbarMobile.length),expression:"toolbarMobile.length"}],staticClass:"setting-item"},[_c('div',{staticClass:"setting-label"},[_vm._v("MOBILE:")]),_c('div',{staticClass:"setting-content"},[_c('a-checkbox',{key:"mobile_all_checked",model:{value:(_vm.mobileChecked),callback:function ($$v) {_vm.mobileChecked=$$v},expression:"mobileChecked"}},[_vm._v("全选")]),_c('br'),_vm._l((_vm.toolbarMobile),function(item,i){return _c('a-checkbox',{key:i,model:{value:(item.isChecked),callback:function ($$v) {_vm.$set(item, "isChecked", $$v)},expression:"item.isChecked"}},[_vm._v(" "+_vm._s(item.name)+" ")])})],2)]),(!_vm.toolbarPC.length && !_vm.toolbarMobile.length)?_c('NoData',{attrs:{"emptyRender":_vm.emptyRender,"noDataTip":"暂无可配置权限"}}):_vm._e()],1)])])}
|
|
5383
5383
|
var roleSettingvue_type_template_id_db34a300_scoped_true_staticRenderFns = []
|
|
5384
5384
|
|
|
@@ -6641,7 +6641,7 @@ module.exports = function (iterator) {
|
|
|
6641
6641
|
|
|
6642
6642
|
"use strict";
|
|
6643
6643
|
|
|
6644
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6644
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/multi-chat/setting/sessionList/messageRecord.vue?vue&type=template&id=87dd3d5c&scoped=true&
|
|
6645
6645
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"message-record",class:{ 'message-record-modal': _vm.source === 'modal' }},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.messageList.length && !_vm.noData),expression:"messageList.length && !noData"},{name:"infinite-scroll",rawName:"v-infinite-scroll",value:(_vm.handleInfiniteOnLoad),expression:"handleInfiniteOnLoad"}],staticClass:"message-list-wrapper wrapper2",attrs:{"infinite-scroll-immediate-check":"immediate","infinite-scroll-distance":10}},[_c('ul',{staticClass:"message-list"},_vm._l((_vm.messageList),function(item){return _c('li',{key:item.id,staticClass:"message-item"},[_c('img',{attrs:{"src":_vm.getAvatar(item),"width":"40"}}),_c('div',{staticClass:"message-content"},[_c('div',{staticClass:"name-time"},[_c('span',{staticClass:"name"},[_vm._v(_vm._s(_vm.getName(item)))]),_c('span',{staticClass:"time"},[_vm._v(" "+_vm._s(_vm.formatDate(item.sendTime || item.createdTime, true))+" ")])]),(item.content.type === 0)?_c('div',{staticClass:"content",domProps:{"innerHTML":_vm._s(_vm.$xss(item.content.content))}}):_vm._e(),(item.content.type === 1)?_c('MsgPicture',{staticStyle:{"width":"160px"},attrs:{"image":item.content.content},on:{"click":function($event){return _vm.show(item.content.content)}}}):(item.content.type === 2)?_c('p',{staticClass:"content"},[_c('img',{staticStyle:{"width":"16px"},attrs:{"src":__webpack_require__("f974")}}),_vm._v(" "+_vm._s(item.content.content)+" "),(item.content.name)?_c('img',{staticStyle:{"width":"20px","margin-left":"12px","cursor":"pointer"},attrs:{"src":__webpack_require__("03ec")},on:{"click":function($event){return _vm.openReplayVideo(item.content.name)}}}):_vm._e()]):(item.content.type === 6)?_c('p',{staticClass:"content"},_vm._l((item.content.content),function(item,index){return _c('span',{key:index,staticClass:"bot-message"},[_vm._v(_vm._s(item))])}),0):(item.content.type === 4)?[(_vm.isSystemMsg(item))?_c('div',{staticClass:"system-msg"},[_c('a-icon',{staticClass:"system-icon",attrs:{"theme":"filled","type":"exclamation-circle"}}),_c('div',[_c('span',{domProps:{"innerHTML":_vm._s(_vm.getSystemMsgContent(item))}}),_vm._l((_vm.getTemplateButton(item)),function(btn,index){return _c('span',{key:index,staticClass:"system-btn",on:{"click":function($event){return _vm.handleTemplateButton(btn)}}},[_vm._v(_vm._s(btn.title))])})],2)],1):(_vm.isDescribeMsg(item))?_c('msg-describe',{attrs:{"item":item}}):_c('MsgPrescription',{attrs:{"data":item,"isServer":true},on:{"handleTemplateDetail":_vm.handleTemplateDetail,"handleTemplateButton":_vm.handleTemplateButton}})]:_vm._e()],2)])}),0),(_vm.finished)?_c('div',{staticClass:"immediate"},[_vm._v(_vm._s(_vm.i18nText('1.9.391'))+"~")]):_vm._e(),(_vm.loading)?_c('a-spin',{staticClass:"loading-icon"}):_vm._e()],1),(!_vm.messageList.length && _vm.noData)?_c('div',{staticClass:"message-list-nodata"},[_vm._v(" 无数据 ")]):_vm._e(),_c('viewer',{ref:"viewer",staticClass:"viewer",staticStyle:{"display":"none"},attrs:{"images":_vm.images,"options":_vm.options},on:{"inited":_vm.inited},scopedSlots:_vm._u([{key:"default",fn:function(scope){return _vm._l((scope.images),function(src){return _c('img',{key:src,attrs:{"src":src}})})}}])})],1)}
|
|
6646
6646
|
var staticRenderFns = []
|
|
6647
6647
|
|
|
@@ -7299,6 +7299,13 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
|
|
|
7299
7299
|
|
|
7300
7300
|
/***/ }),
|
|
7301
7301
|
|
|
7302
|
+
/***/ "30df":
|
|
7303
|
+
/***/ (function(module, exports) {
|
|
7304
|
+
|
|
7305
|
+
module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
7306
|
+
|
|
7307
|
+
/***/ }),
|
|
7308
|
+
|
|
7302
7309
|
/***/ "3155":
|
|
7303
7310
|
/***/ (function(module, exports) {
|
|
7304
7311
|
|
|
@@ -7391,7 +7398,7 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
|
|
|
7391
7398
|
|
|
7392
7399
|
"use strict";
|
|
7393
7400
|
|
|
7394
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7401
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-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&
|
|
7395
7402
|
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()])}
|
|
7396
7403
|
var staticRenderFns = []
|
|
7397
7404
|
|
|
@@ -8635,6 +8642,9 @@ var TEMPLATE = String(String).split('String');
|
|
|
8635
8642
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8636
8643
|
|
|
8637
8644
|
"use strict";
|
|
8645
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return getUuid; });
|
|
8646
|
+
/* unused harmony export getRandomNum */
|
|
8647
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return startVideoCall; });
|
|
8638
8648
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getClientDeviceToken; });
|
|
8639
8649
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return fmtRobotMessage; });
|
|
8640
8650
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return checkTalkingEnv; });
|
|
@@ -8650,22 +8660,34 @@ var TEMPLATE = String(String).split('String');
|
|
|
8650
8660
|
/* harmony import */ var ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_2__);
|
|
8651
8661
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("d16b");
|
|
8652
8662
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
8653
|
-
/* harmony import */ var
|
|
8654
|
-
/* harmony import */ var
|
|
8655
|
-
/* harmony import */ var
|
|
8656
|
-
/* harmony import */ var
|
|
8657
|
-
/* harmony import */ var
|
|
8658
|
-
/* harmony import */ var
|
|
8659
|
-
/* harmony import */ var
|
|
8660
|
-
/* harmony import */ var
|
|
8661
|
-
/* harmony import */ var
|
|
8662
|
-
/* harmony import */ var
|
|
8663
|
-
/* harmony import */ var
|
|
8664
|
-
/* harmony import */ var
|
|
8665
|
-
/* harmony import */ var
|
|
8666
|
-
/* harmony import */ var
|
|
8667
|
-
/* harmony import */ var
|
|
8668
|
-
/* harmony import */ var
|
|
8663
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("c8a6");
|
|
8664
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
8665
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("6378");
|
|
8666
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
8667
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("97d3");
|
|
8668
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
8669
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("30df");
|
|
8670
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
8671
|
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("4391");
|
|
8672
|
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
8673
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("13e3");
|
|
8674
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
8675
|
+
/* harmony import */ var core_js_modules_es_object_freeze_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("030b");
|
|
8676
|
+
/* harmony import */ var core_js_modules_es_object_freeze_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_freeze_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
8677
|
+
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("0d58");
|
|
8678
|
+
/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
8679
|
+
/* harmony import */ var _utils_sip_device__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("64b9");
|
|
8680
|
+
/* harmony import */ var _utils_sip_device__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_utils_sip_device__WEBPACK_IMPORTED_MODULE_12__);
|
|
8681
|
+
/* harmony import */ var _utils_chatFetch__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("cd9f");
|
|
8682
|
+
/* harmony import */ var _utils_chatFetch__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_utils_chatFetch__WEBPACK_IMPORTED_MODULE_13__);
|
|
8683
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("cebe");
|
|
8684
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_14__);
|
|
8685
|
+
/* harmony import */ var _utils_vexutils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("9715");
|
|
8686
|
+
/* harmony import */ var _utils_vexutils__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_utils_vexutils__WEBPACK_IMPORTED_MODULE_15__);
|
|
8687
|
+
|
|
8688
|
+
|
|
8689
|
+
|
|
8690
|
+
|
|
8669
8691
|
|
|
8670
8692
|
|
|
8671
8693
|
|
|
@@ -8686,8 +8708,59 @@ var chatUidUp = function chatUidUp() {
|
|
|
8686
8708
|
chatUid++;
|
|
8687
8709
|
};
|
|
8688
8710
|
|
|
8711
|
+
function getUuid() {
|
|
8712
|
+
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
8713
|
+
var r = Math.random() * 16 | 0,
|
|
8714
|
+
v = c == 'x' ? r : r & 0x3 | 0x8;
|
|
8715
|
+
return v.toString(16);
|
|
8716
|
+
});
|
|
8717
|
+
}
|
|
8718
|
+
function getRandomNum(num) {
|
|
8719
|
+
return Math.floor((Math.random() + Math.floor(Math.random() * 9 + 1)) * Math.pow(10, num - 1));
|
|
8720
|
+
}
|
|
8721
|
+
/**
|
|
8722
|
+
*
|
|
8723
|
+
* @param {*} params customerIdNo患者customerId,医生身份证
|
|
8724
|
+
* @returns 开启呼叫视频
|
|
8725
|
+
*/
|
|
8726
|
+
|
|
8727
|
+
var startVideoCall = function startVideoCall(params) {
|
|
8728
|
+
return axios__WEBPACK_IMPORTED_MODULE_14___default()({
|
|
8729
|
+
method: "get",
|
|
8730
|
+
baseURL: "",
|
|
8731
|
+
url: "/ihcrm/rest/callEsb/util/get",
|
|
8732
|
+
params: {
|
|
8733
|
+
customerId: params.customerId,
|
|
8734
|
+
doctorIdNo: params.doctorIdNo,
|
|
8735
|
+
doctorId: params.doctorId,
|
|
8736
|
+
sendStatus: params.sendStatus,
|
|
8737
|
+
requestId: params.requestId,
|
|
8738
|
+
interface: 'startVideoCall'
|
|
8739
|
+
}
|
|
8740
|
+
}).then(function (_ref) {
|
|
8741
|
+
var data = _ref.data;
|
|
8742
|
+
|
|
8743
|
+
if (data.status === "success" || data.code === "00000") {
|
|
8744
|
+
var result = data.result;
|
|
8745
|
+
|
|
8746
|
+
if (result.code === '00000' || result.success) {
|
|
8747
|
+
if (result.data && _utils_vexutils__WEBPACK_IMPORTED_MODULE_15___default.a.isJSON(result.data)) {
|
|
8748
|
+
return JSON.parse(result.data);
|
|
8749
|
+
} else {
|
|
8750
|
+
return [];
|
|
8751
|
+
}
|
|
8752
|
+
} else {
|
|
8753
|
+
return false;
|
|
8754
|
+
}
|
|
8755
|
+
} else {
|
|
8756
|
+
return false;
|
|
8757
|
+
}
|
|
8758
|
+
}).catch(function (error) {
|
|
8759
|
+
console.error(error);
|
|
8760
|
+
});
|
|
8761
|
+
};
|
|
8689
8762
|
var getClientDeviceToken = function getClientDeviceToken(params) {
|
|
8690
|
-
return
|
|
8763
|
+
return axios__WEBPACK_IMPORTED_MODULE_14___default()({
|
|
8691
8764
|
method: "get",
|
|
8692
8765
|
baseURL: "",
|
|
8693
8766
|
url: "/ihcrm/rest/callEsb/util/get",
|
|
@@ -8695,8 +8768,8 @@ var getClientDeviceToken = function getClientDeviceToken(params) {
|
|
|
8695
8768
|
customerId: params,
|
|
8696
8769
|
interface: 'getDeviceTokenByCustomerId'
|
|
8697
8770
|
}
|
|
8698
|
-
}).then(function (
|
|
8699
|
-
var data =
|
|
8771
|
+
}).then(function (_ref2) {
|
|
8772
|
+
var data = _ref2.data;
|
|
8700
8773
|
|
|
8701
8774
|
if (data.status === "success" || data.code === "00000") {
|
|
8702
8775
|
var result = JSON.parse(data.result);
|
|
@@ -8752,14 +8825,14 @@ function getRecallText(ctx, item) {
|
|
|
8752
8825
|
function chatAuthentication(token) {
|
|
8753
8826
|
return new Promise(function (resolve, reject) {
|
|
8754
8827
|
if (token) {
|
|
8755
|
-
|
|
8828
|
+
_utils_chatFetch__WEBPACK_IMPORTED_MODULE_13___default()({
|
|
8756
8829
|
url: '/free/checkToken',
|
|
8757
8830
|
method: 'POST',
|
|
8758
8831
|
params: {
|
|
8759
8832
|
token: token
|
|
8760
8833
|
}
|
|
8761
|
-
}).then(function (
|
|
8762
|
-
var data =
|
|
8834
|
+
}).then(function (_ref3) {
|
|
8835
|
+
var data = _ref3.data;
|
|
8763
8836
|
var r = data.result === 'SUCCESS';
|
|
8764
8837
|
|
|
8765
8838
|
if (r) {
|
|
@@ -8816,7 +8889,7 @@ function _checkTalkingEnv() {
|
|
|
8816
8889
|
chooseSip = function _chooseSip(sips) {
|
|
8817
8890
|
return new Promise(function (resolve, _reject) {
|
|
8818
8891
|
// 无可用设备并且有设备列表 去选择设备
|
|
8819
|
-
var close = Object(
|
|
8892
|
+
var close = Object(_utils_sip_device__WEBPACK_IMPORTED_MODULE_12__["openSipDialog"])({
|
|
8820
8893
|
sip: '',
|
|
8821
8894
|
sips: Object.freeze(sips),
|
|
8822
8895
|
onOk: function onOk(v) {
|
|
@@ -8858,7 +8931,7 @@ function _checkTalkingEnv() {
|
|
|
8858
8931
|
};
|
|
8859
8932
|
|
|
8860
8933
|
getSips = function _getSips(assemblyId) {
|
|
8861
|
-
return
|
|
8934
|
+
return _utils_chatFetch__WEBPACK_IMPORTED_MODULE_13___default()({
|
|
8862
8935
|
url: "/chat/service/getSipList",
|
|
8863
8936
|
method: 'GET',
|
|
8864
8937
|
params: {
|
|
@@ -8901,7 +8974,7 @@ function _checkTalkingEnv() {
|
|
|
8901
8974
|
|
|
8902
8975
|
case 9:
|
|
8903
8976
|
// 检查缓存 并且有效否
|
|
8904
|
-
id = Object(
|
|
8977
|
+
id = Object(_utils_sip_device__WEBPACK_IMPORTED_MODULE_12__["getCacheSIP"])();
|
|
8905
8978
|
|
|
8906
8979
|
if (!id) {
|
|
8907
8980
|
_context.next = 16;
|
|
@@ -8960,7 +9033,7 @@ function _checkTalkingEnv() {
|
|
|
8960
9033
|
value = _context.sent;
|
|
8961
9034
|
|
|
8962
9035
|
if (value !== null && value !== void 0 && value.sip) {
|
|
8963
|
-
Object(
|
|
9036
|
+
Object(_utils_sip_device__WEBPACK_IMPORTED_MODULE_12__["setCacheSip"])(value.sip.id);
|
|
8964
9037
|
}
|
|
8965
9038
|
|
|
8966
9039
|
return _context.abrupt("return", value);
|
|
@@ -9658,7 +9731,15 @@ var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
|
9658
9731
|
uniRTC: null,
|
|
9659
9732
|
incoming: null,
|
|
9660
9733
|
outing: [],
|
|
9661
|
-
callerStatus: ''
|
|
9734
|
+
callerStatus: '',
|
|
9735
|
+
// 呼叫人在线离线状态(江苏通)
|
|
9736
|
+
doctorInfo: null,
|
|
9737
|
+
// 登录人信息(江苏通)
|
|
9738
|
+
targetInfo: null,
|
|
9739
|
+
// 呼叫targetInfo()
|
|
9740
|
+
requestId: null,
|
|
9741
|
+
// 随机数
|
|
9742
|
+
callTimer: null // 定时器
|
|
9662
9743
|
|
|
9663
9744
|
};
|
|
9664
9745
|
});
|
|
@@ -10099,6 +10180,18 @@ var es_array_slice_js_ = __webpack_require__("ea12");
|
|
|
10099
10180
|
},
|
|
10100
10181
|
callerStatus: function callerStatus(state) {
|
|
10101
10182
|
return state.callerStatus;
|
|
10183
|
+
},
|
|
10184
|
+
doctorInfo: function doctorInfo(state) {
|
|
10185
|
+
return state.doctorInfo;
|
|
10186
|
+
},
|
|
10187
|
+
targetInfo: function targetInfo(state) {
|
|
10188
|
+
return state.targetInfo;
|
|
10189
|
+
},
|
|
10190
|
+
callTimer: function callTimer(state) {
|
|
10191
|
+
return state.callTimer;
|
|
10192
|
+
},
|
|
10193
|
+
requestId: function requestId(state) {
|
|
10194
|
+
return state.requestId;
|
|
10102
10195
|
}
|
|
10103
10196
|
});
|
|
10104
10197
|
// CONCATENATED MODULE: ./packages/multi-chat/store/mutation.js
|
|
@@ -10384,6 +10477,18 @@ var es_array_slice_js_ = __webpack_require__("ea12");
|
|
|
10384
10477
|
},
|
|
10385
10478
|
setCallerStatus: function setCallerStatus(state, callerStatus) {
|
|
10386
10479
|
state.callerStatus = callerStatus;
|
|
10480
|
+
},
|
|
10481
|
+
setDoctorInfo: function setDoctorInfo(state, doctorInfo) {
|
|
10482
|
+
state.doctorInfo = doctorInfo;
|
|
10483
|
+
},
|
|
10484
|
+
setTargetInfo: function setTargetInfo(state, targetInfo) {
|
|
10485
|
+
state.targetInfo = targetInfo;
|
|
10486
|
+
},
|
|
10487
|
+
setCallTimer: function setCallTimer(state, callTimer) {
|
|
10488
|
+
state.callTimer = callTimer;
|
|
10489
|
+
},
|
|
10490
|
+
setRequestId: function setRequestId(state, requestId) {
|
|
10491
|
+
state.requestId = requestId;
|
|
10387
10492
|
}
|
|
10388
10493
|
});
|
|
10389
10494
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
@@ -12579,7 +12684,7 @@ function _classCallCheck(instance, Constructor) {
|
|
|
12579
12684
|
|
|
12580
12685
|
"use strict";
|
|
12581
12686
|
|
|
12582
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
12687
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"832f7c18-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&
|
|
12583
12688
|
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}})])}
|
|
12584
12689
|
var staticRenderFns = []
|
|
12585
12690
|
|