cnhis-design-vue 2.0.10 → 2.0.13
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 +33 -5
- package/es/age/index.js +2 -2
- package/es/big-table/index.js +23 -23
- 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 +66 -35
- package/es/form-table/index.js +17 -17
- package/es/index/index.js +876 -660
- 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 +91 -76
- package/es/multi-chat/style.css +1 -1
- package/es/multi-chat-client/index.js +57 -43
- 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 +4 -4
- package/es/multi-chat-setting/index.js +166 -95
- package/es/multi-chat-setting/style.css +1 -1
- package/es/multi-chat-sip/index.js +1 -1
- package/es/radio/index.js +1 -1
- package/es/scale-view/index.js +406 -337
- package/es/scale-view/style.css +1 -1
- package/es/select/index.js +3 -3
- package/es/select-label/index.js +3 -3
- package/es/select-person/index.js +76 -39
- package/es/select-person/style.css +1 -1
- package/es/table-filter/index.js +21 -21
- package/es/tag/index.js +1 -1
- package/es/utils/index.js +24 -2
- package/es/verification-code/index.js +2 -2
- package/package.json +1 -1
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +2 -2
- package/packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue +8 -7
- package/packages/fabric-chart/src/mixins/draw.js +18 -0
- package/packages/multi-chat/chat/chatFooter.vue +11 -2
- package/packages/multi-chat/chat/index.vue +3 -2
- package/packages/multi-chat/chat/scrollList.vue +3 -1
- package/packages/multi-chat/setting/baseInfo/index.vue +55 -1
- 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 +1 -0
- package/packages/scale-view/formitem/r-choice.vue +110 -95
- package/packages/scale-view/scaleView.vue +334 -369
- package/packages/select-person/select-person.vue +26 -12
- package/src/utils/index.js +15 -0
package/es/table-filter/index.js
CHANGED
|
@@ -120,7 +120,7 @@ var es_promise_finally = __webpack_require__("a79d");
|
|
|
120
120
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
121
121
|
var es_function_name_js_ = __webpack_require__("db0a");
|
|
122
122
|
|
|
123
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
123
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/quick-search/QuickSearch.vue?vue&type=template&id=aca68ffa&scoped=true&
|
|
124
124
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"form-box",class:{ 'quick-search-table': _vm.source === 'editTable' }},[(_vm.source === 'editTable' && _vm.hasRelationQuickSearch)?_c('p',{staticClass:"module-title"},[_vm._v("高级筛选")]):_vm._e(),_vm._l((_vm.quickSearch),function(item){return _c('div',{key:item.sid,staticClass:"quick-item",class:{
|
|
125
125
|
'quick-block':
|
|
126
126
|
item.con == 'DATE' || item.con == 'BIRTHDAY' || item.con == 'CONVERT' || item.LABELAttr
|
|
@@ -521,7 +521,7 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
|
|
|
521
521
|
// EXTERNAL MODULE: ./packages/table-filter/src/components/range-age/index.vue + 4 modules
|
|
522
522
|
var range_age = __webpack_require__("d36c");
|
|
523
523
|
|
|
524
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
524
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/components/multi-select/multi-select.vue?vue&type=template&id=5a786818&
|
|
525
525
|
var multi_selectvue_type_template_id_5a786818_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.item.com == 'SelectMui')?_c('a-select',{ref:"quickInputSelect",staticClass:"quick-input-select",class:{ 'quick-input-select-mul': _vm.handleMaxTagCount > 0 },staticStyle:{"width":"160px"},attrs:{"mode":"multiple","placeholder":("请选择" + (_vm.item.alias || _vm.item.title)),"dropdownMatchSelectWidth":false,"maxTagCount":_vm.handleMaxTagCount(_vm.item),"maxTagPlaceholder":_vm.handleMaxTag(_vm.item),"showSearch":"","filterOption":false,"allowClear":_vm.item.explicitRequired != 1,"notFoundContent":_vm.fetchingWordbook ? undefined : '暂无数据'},on:{"search":function($event){return _vm.handleWordBookSearch($event, _vm.item)},"dropdownVisibleChange":function($event){return _vm.dropdownVisibleChange($event, _vm.item)}},scopedSlots:_vm._u([{key:"dropdownRender",fn:function(menu){return _c('div',{staticClass:"c-m-sdrop-down-container"},[_c('a-spin',{attrs:{"spinning":_vm.fetchingWordbook,"tip":"加载中..."}},[_c('v-nodes',{attrs:{"vnodes":menu}}),(!_vm.isnoPages)?_c('select-pages',{attrs:{"searchPageConfig":_vm.item.searchPageConfig,"handleSearchChangePage":_vm.handleSearchChangePage}}):_vm._e()],1)],1)}}],null,false,3462937774),model:{value:(_vm.item.value),callback:function ($$v) {_vm.$set(_vm.item, "value", $$v)},expression:"item.value"}},[(_vm.fetchingWordbook)?_c('span',{attrs:{"slot":"notFoundContent","size":"small"},slot:"notFoundContent"}):_vm._e(),(_vm.item.comType == 'SelectMuiWordBook')?_vm._l((_vm.item.dataSource),function(sea,k){return _c('a-select-option',{key:_vm.item.sid + sea.myName,attrs:{"value":sea.myName,"title":sea._show_title || sea.showKeys || sea.myName,"disabled":(k === 0 && _vm.hasShowKeys && _vm.item.hasFieldList || (!_vm.showRemoveIcon && _vm.item.value && _vm.item.value.includes(sea.myName)))}},[(_vm.item.hasFieldList && sea.showKeys)?_c('div',{class:{
|
|
526
526
|
'c-s-title-line': k === 0,
|
|
527
527
|
},staticStyle:{"display":"flex"}},_vm._l((sea.showKeys.split('<&=&>')),function(v1,k1){return _c('span',{key:k1,staticClass:"c-s-content-item",staticStyle:{"flex":"1"}},[_vm._v(_vm._s(v1))])}),0):_c('span',[_vm._v(" "+_vm._s(sea._show_title || sea.showKeys || sea.myName)+" ")])])}):_vm._l((_vm.item.labelList),function(i,d){return _c('a-select-option',{key:d,attrs:{"disabled":(!_vm.showRemoveIcon && _vm.item.value && _vm.item.value.includes(d))}},[_vm._v(" "+_vm._s(i.labelName || '')+" ")])}),_c('span',{attrs:{"slot":"removeIcon"},slot:"removeIcon"},[(_vm.showRemoveIcon)?_c('a-icon',{attrs:{"type":"close"}}):_c('span')],1)],2):_vm._e()}
|
|
@@ -822,7 +822,7 @@ var formatWordbookDataUtils = {
|
|
|
822
822
|
}
|
|
823
823
|
};
|
|
824
824
|
/* harmony default export */ var wordBookutils = (formatWordbookDataUtils);
|
|
825
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
825
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/components/c-tree-select/tree-select.vue?vue&type=template&id=2178eb98&
|
|
826
826
|
var tree_selectvue_type_template_id_2178eb98_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-tree-select',{ref:"quickInputSelect",class:[!_vm.showRemoveIcon && 'c-a-tree-select-show-hide-icon','c-a-quick-input-tree-mul'],staticStyle:{"width":"160px"},attrs:{"dropdownClassName":"c-a-tree-select-container","maxTagCount":_vm.handleMaxTagCount(_vm.item),"maxTagPlaceholder":_vm.handleMaxTag,"showSearch":"","multiple":"","dropdown-style":{ maxHeight: '292px', overflow: 'auto' },"tree-data":_vm.treeData,"allowClear":_vm.item.explicitRequired != 1,"treeNodeFilterProp":"title","placeholder":("请选择" + (_vm.item.alias || _vm.item.title))},on:{"select":_vm.treeSelect,"change":_vm.change},scopedSlots:_vm._u([{key:"title",fn:function(ref){
|
|
827
827
|
var key = ref.key;
|
|
828
828
|
var value = ref.value;
|
|
@@ -3381,7 +3381,7 @@ var QuickSearch_component = Object(componentNormalizer["a" /* default */])(
|
|
|
3381
3381
|
)
|
|
3382
3382
|
|
|
3383
3383
|
/* harmony default export */ var QuickSearch = (QuickSearch_component.exports);
|
|
3384
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3384
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/classification/Classification-com.vue?vue&type=template&id=6f434f44&scoped=true&
|
|
3385
3385
|
var Classification_comvue_type_template_id_6f434f44_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['classification', 'classificationIndex-' + _vm.classificationIndex, _vm.isPackUp ? 'upack-up-wrap' : ''],style:(_vm.dynamicStyle)},[(_vm.classificationIndex === 0)?[_c('div',{directives:[{name:"flexible-resize",rawName:"v-flexible-resize",value:({
|
|
3386
3386
|
mode: 'VR',
|
|
3387
3387
|
onMove: _vm.changeWidth,
|
|
@@ -3613,14 +3613,14 @@ var flexibleResize_FlexibleResize = /*#__PURE__*/function () {
|
|
|
3613
3613
|
}
|
|
3614
3614
|
}
|
|
3615
3615
|
});
|
|
3616
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3616
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/components/search-modal/set-classification.vue?vue&type=template&id=19bd6af7&scoped=true&
|
|
3617
3617
|
var set_classificationvue_type_template_id_19bd6af7_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"search"},[_c('TableModal',_vm._b({attrs:{"dataSource":_vm.conditionList,"visibleIn":_vm.oneVisible,"edit":_vm.edit,"copy":_vm.copy,"delItem":_vm.delItem,"type":"search","filterApiConfig":_vm.filterApiConfig},on:{"handleOk":_vm.oneSave,"close":_vm.oneCancel,"changeData":_vm.changeData,"resetPopconfirm":_vm.resetPopconfirm},scopedSlots:_vm._u([{key:"add",fn:function(){return [_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.add}},[_vm._v("新增")])]},proxy:true}])},'TableModal',_vm.$attrs,false)),_c('SearchFilter',_vm._b({ref:"searchFilter",attrs:{"visible":_vm.addVisible,"conditionList":_vm.conditionList,"actionList_prop":_vm.actionList_prop,"searchFieldList":_vm.newSearchFieldList,"isInSearch":true,"isCnHis":true,"showCompareField":true,"filterApiConfig":_vm.filterApiConfig},on:{"saveAdd":_vm.saveAdd,"cancelSaveAdd":_vm.cancelSaveAdd}},'SearchFilter',_vm.$attrs,false))],1)}
|
|
3618
3618
|
var set_classificationvue_type_template_id_19bd6af7_scoped_true_staticRenderFns = []
|
|
3619
3619
|
|
|
3620
3620
|
|
|
3621
3621
|
// CONCATENATED MODULE: ./packages/table-filter/src/components/search-modal/set-classification.vue?vue&type=template&id=19bd6af7&scoped=true&
|
|
3622
3622
|
|
|
3623
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3623
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/components/table-modal/TableModal.vue?vue&type=template&id=7c6f74fc&scoped=true&
|
|
3624
3624
|
var TableModalvue_type_template_id_7c6f74fc_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{staticClass:"modal-wrap standard-modal standard-modal-white",class:{ 'modal-screen': _vm.isChangeWindow },attrs:{"bodyStyle":{ height: _vm.modalHeight, overflowY: 'auto' },"width":_vm.modalWidth,"maskClosable":false,"closable":false,"centered":"","transitionName":_vm.transitionName,"getContainer":_vm.getContainer},on:{"cancel":_vm.close,"ok":_vm.handleOk},scopedSlots:_vm._u([(_vm.type == 'search')?{key:"footer",fn:function(){return [(_vm.isShowResetButton)?_c('a-popconfirm',{staticClass:"btn-reset",attrs:{"title":"确认要恢复系统默认设置吗?","ok-text":"确认","cancel-text":"取消"},on:{"confirm":_vm.popconfirm}},[_c('a-button',[_vm._v("恢复默认设置")])],1):_vm._e(),_c('a-button',{on:{"click":_vm.close}},[_vm._v("取消")]),_vm._t("add"),_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.handleOk}},[_vm._v("保存")])]},proxy:true}:null],null,true),model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:"visible"}},[_vm._t("title",function(){return [_c('div',[_c('a-icon',{staticStyle:{"font-size":"14px"},attrs:{"type":"setting"}}),_vm._v(" 设置分类 ")],1),_c('div',{staticClass:"svg-wrap"},[_c('svg-icon',{attrs:{"icon-class":_vm.isChangeWindow ? 'xitongtubiaodaohangtubiaozuixiaohua' : 'xitongtubiaodaohangtubiaozuidahua'},on:{"click":_vm.changeModalWindow}}),_c('svg-icon',{attrs:{"icon-class":'xitongtubiaodaohangtubiaoguanbi'},on:{"click":_vm.close}})],1)]},{"slot":"title","isChangeWindow":_vm.isChangeWindow,"changeModalWindow":_vm.changeModalWindow,"close":_vm.close}),(_vm.isAdmin && _vm.type == 'mananger')?_c('p',[_c('a-icon',{attrs:{"type":"plus-circle"}}),_vm._v(" "),_c('a',{on:{"click":_vm.rinkTo}},[_vm._v(" 添加首页 ")])],1):_vm._e(),_c('div',{staticClass:"list"},[_c('div',{staticClass:"list-title"},[_c('span',{staticClass:"list-title-item",staticStyle:{"width":"6%"}}),_c('span',{staticClass:"list-title-item"},[_vm._v(" 名称 ")]),_c('span',{staticClass:"list-title-item"},[_vm._v(" 父类名称 ")]),_c('span',{staticClass:"list-title-item"},[_vm._v(" 是否显示 ")]),_c('span',{staticClass:"list-title-item"},[_vm._v(" 设置为默认 ")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAdmin && _vm.type=='mananger'),expression:"isAdmin && type=='mananger'"}],staticClass:"list-title-item"},[_vm._v(" 设置公共首页 ")]),_c('span',{staticClass:"list-title-item"},[_vm._v(" 操作 ")])]),_c('draggable',{staticClass:"list-content",attrs:{"tag":"ul","animation":"300"},on:{"end":_vm.dragEnd},model:{value:(_vm.homeList),callback:function ($$v) {_vm.homeList=$$v},expression:"homeList"}},[_vm._l((_vm.homeList),function(item){return [_c('li',{directives:[{name:"show",rawName:"v-show",value:(item.type != 'line'),expression:"item.type != 'line'"}],key:item.sid,class:{ checked: item.checked },on:{"click":function($event){return _vm.clickli(item)}}},[_c('span',{staticClass:"list-content-item",staticStyle:{"width":"6%","text-align":"center","overflow":"initial"}},[_c('a-tooltip',{attrs:{"mouseEnterDelay":1}},[_c('template',{slot:"title"},[_vm._v(" 拖拽调整顺序 ")]),_c('a-icon',{attrs:{"type":"pause","rotate":90}})],2)],1),_c('span',{staticClass:"list-content-item",attrs:{"title":item.displayCategory}},[_vm._v(" "+_vm._s(item.name)+" ")]),_c('span',{staticClass:"list-content-item",attrs:{"title":item.name}},[_vm._v(" "+_vm._s(item.displayCategory)+" ")]),_c('span',{staticClass:"list-content-item list-content-switch"},[_c('a-switch',{attrs:{"checked":item.isShow},on:{"change":function($event){return _vm.changeSwitch(item, '是否展示')}}})],1),_c('span',{staticClass:"list-content-item list-content-radio"},[_c('a-switch',{attrs:{"checked":item.isDefault},on:{"change":function($event){return _vm.clickChecked(item, '设置默认值')}}})],1),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAdmin && _vm.type=='mananger'),expression:"isAdmin && type=='mananger'"}],staticClass:"list-content-item"},[_c('a-switch',{attrs:{"checked":item.isCommon},on:{"change":function($event){return _vm.changecommonSwitch(item)}}})],1),_c('span',{staticClass:"list-content-item"},[_c('a-popconfirm',{directives:[{name:"show",rawName:"v-show",value:(_vm.type == 'mananger' && _vm.isAdmin),expression:"type == 'mananger' && isAdmin"}],attrs:{"title":'是否确认删除?'},on:{"confirm":function($event){return _vm.confirm(item)}}},[_c('a-tooltip',{attrs:{"title":'删除',"destroyTooltipOnHide":""}},[_c('a-icon',{attrs:{"type":"delete"}})],1)],1),_c('a-tooltip',{directives:[{name:"show",rawName:"v-show",value:(_vm.type == 'other' || (_vm.type == 'search' && item.isEdit) || (_vm.type == 'mananger' && _vm.isAdmin)),expression:"type == 'other' || (type == 'search' && item.isEdit) || (type == 'mananger' && isAdmin)"}],attrs:{"title":'编辑',"destroyTooltipOnHide":""}},[_c('a-icon',{attrs:{"type":"edit"},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.edit(item, '编辑')}}})],1),_c('a-tooltip',{directives:[{name:"show",rawName:"v-show",value:(_vm.type == 'search' || _vm.type == 'other'),expression:"type == 'search' || type == 'other'"}],attrs:{"title":'复制',"destroyTooltipOnHide":""}},[_c('a-icon',{attrs:{"type":"copy"},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.copy(item, '复制')}}})],1),_c('a-popconfirm',{directives:[{name:"show",rawName:"v-show",value:(item.isEdit),expression:"item.isEdit"}],attrs:{"title":'是否确认删除?'},on:{"confirm":function($event){return _vm.delItem(item, '删除')}}},[_c('a-tooltip',{attrs:{"title":'删除',"destroyTooltipOnHide":""}},[_c('a-icon',{attrs:{"type":"delete"}})],1)],1)],1)])]})],2)],1),_vm._t("footer",null,{"slot":"footer"})],2)}
|
|
3625
3625
|
var TableModalvue_type_template_id_7c6f74fc_scoped_true_staticRenderFns = []
|
|
3626
3626
|
|
|
@@ -4347,7 +4347,7 @@ var set_classification_component = Object(componentNormalizer["a" /* default */]
|
|
|
4347
4347
|
)
|
|
4348
4348
|
|
|
4349
4349
|
/* harmony default export */ var set_classification = (set_classification_component.exports);
|
|
4350
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4350
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/classification/search-professional-model.vue?vue&type=template&id=12700037&scoped=true&
|
|
4351
4351
|
var search_professional_modelvue_type_template_id_12700037_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"search-professional-container"},[_c('a-row',[_c('a-col',{staticClass:"left-content",attrs:{"span":14}},[_c('div',{ref:"comWrap",staticClass:"left-content-com"},[_c('SearchCondition',_vm._b({ref:"conditionRef",attrs:{"searchFieldList":_vm.newSearchFieldList,"actionList_prop":_vm.actionList_prop,"showItemName":false,"isCnHis":false,"saveEmpty":true,"isOnlyCondition":false,"hideAddBtn":true,"isInSearch":true,"source":'search-professional'},on:{"saveAdd":_vm.saveAdd}},'SearchCondition',_vm.$attrs,false))],1),_c('div',{staticClass:"left-content-btn"},[_c('a-button',{on:{"click":_vm.handleAddCondition}},[_vm._v(" 添加条件 ")]),_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSearch}},[_vm._v(" 查询 ")]),_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.handleSaveToClass}},[_vm._v(" "+_vm._s(_vm.saveBtnName)+" ")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.conObjLen > 0),expression:"conObjLen > 0"}],staticClass:"selected-item-del",on:{"click":_vm.handleClearConObj}},[_c('svg-icon',{attrs:{"class-name":"svg-icon-btn","icon-class":"xitongtubiaoliebiaocaozuoanniushanchu"}}),_vm._v(" 清空筛选 "),_c('span',[_vm._v("("+_vm._s(_vm.conObjLen)+")")])],1)],1)]),_c('a-col',{staticClass:"right-content",attrs:{"span":10}},[_c('div',{staticClass:"list"},[_c('div',{staticClass:"list-title"},[_c('span',{staticClass:"list-title-parent"},[_vm._v(_vm._s(_vm.$t("1.9.362")))]),_c('span',{staticClass:"list-title-name"},[_vm._v(" 筛选名称 "),_c('a-popover',{attrs:{"placement":"bottom","trigger":"click"},model:{value:(_vm.filtrationConfig.visible),callback:function ($$v) {_vm.$set(_vm.filtrationConfig, "visible", $$v)},expression:"filtrationConfig.visible"}},[_c('template',{slot:"content"},[_c('div',{staticClass:"search-condition-f"},[_c('div',{staticClass:"search-condition-f-content"},[_c('a-input-search',{staticStyle:{"width":"200px"},attrs:{"placeholder":"请输入关键字"},on:{"search":_vm.onSearch},model:{value:(_vm.filtrationConfig.keyWord),callback:function ($$v) {_vm.$set(_vm.filtrationConfig, "keyWord", $$v)},expression:"filtrationConfig.keyWord"}})],1),_c('div',{staticClass:"search-condition-f-footer"},[_c('a-button',{staticStyle:{"margin-right":"10px"},on:{"click":_vm.handleFiltrationCancel}},[_vm._v(" "+_vm._s(_vm.$t("1.1.1.1.4"))+" ")]),_c('a-button',{attrs:{"type":"primary"},on:{"click":_vm.handleConditionFiltration}},[_vm._v(" 筛选 ")])],1)])]),_c('template',{slot:"title"},[_c('span',[_vm._v("筛选名称")])]),_c('a-icon',{staticClass:"icon",style:({ color: _vm.filterKeyWork ? '#2D7AFF' : 'rgba(0, 0, 0, 0.6)' }),attrs:{"type":"filter","theme":"filled"},on:{"click":_vm.openConditionFiltration}})],2)],1),_c('span',{staticClass:"list-title-name"},[_vm._v(_vm._s("创建人"))]),_c('span',{staticClass:"list-title-btn"},[_vm._v(_vm._s(_vm.$t("1.1.8.2.22")))])]),_c('ul',{staticClass:"list-content"},[_vm._l((_vm.showConditionList),function(item,j){return [_c('li',{key:item.sid,class:{ checked: item.checked },on:{"click":function($event){return _vm.handleChecked(item)}}},[_c('span',{staticClass:"list-content-parent"},[_c('TextOverTooltip',{attrs:{"content":item.displayCategory}})],1),_c('span',{staticClass:"list-content-name"},[_c('TextOverTooltip',{attrs:{"content":item.name}})],1),_c('span',{staticClass:"list-content-name"},[_c('TextOverTooltip',{attrs:{"content":item.createdByName}})],1),_c('span',{staticClass:"list-content-btn"},[_c('a-tooltip',{directives:[{name:"show",rawName:"v-show",value:(item.isEdit),expression:"item.isEdit"}],attrs:{"title":_vm.$t('1.1.1.5.5'),"destroyTooltipOnHide":""}},[_c('svg-icon',{staticClass:"svg-icon-btn",attrs:{"icon-class":"xitongtubiaoliebiaocaozuoanniubianjixiugai"},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.handleListItemEdit(item, '编辑')}}})],1),_c('a-tooltip',{attrs:{"title":_vm.$t('1.2.1.11.83'),"destroyTooltipOnHide":""}},[_c('svg-icon',{staticClass:"svg-icon-btn",attrs:{"icon-class":"xitongtubiaoliebiaocaozuoanniufuzhi"},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.handleListItemCopy(item, '编辑')}}})],1),_c('a-popconfirm',{directives:[{name:"show",rawName:"v-show",value:(item.isEdit),expression:"item.isEdit"}],attrs:{"title":_vm.$t('1.1.7.36')},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();},"confirm":function($event){return _vm.handleListItemDel(item, j)}}},[_c('a-tooltip',{attrs:{"title":_vm.$t('1.1.1.3.3'),"destroyTooltipOnHide":""}},[_c('svg-icon',{attrs:{"class-name":"svg-icon-btn is-danger thumb","icon-class":"xitongtubiaoliebiaocaozuoanniushanchu"},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();}}})],1)],1)],1)])]})],2)])])],1),_c('a-modal',{attrs:{"title":'保存到分类',"visible":_vm.showInnerModal,"destroyOnClose":true,"wrapClassName":"quickSearch-saveToClass-modal"},on:{"ok":_vm.saveToCalss,"cancel":_vm.cancelSaveToCalss}},[_c('search-class-name',_vm._g(_vm._b({ref:"className",attrs:{"actionList_prop":_vm.actionList_prop}},'search-class-name',_vm.$attrs,false),_vm.$listeners))],1)],1)}
|
|
4352
4352
|
var search_professional_modelvue_type_template_id_12700037_scoped_true_staticRenderFns = []
|
|
4353
4353
|
|
|
@@ -4357,7 +4357,7 @@ var search_professional_modelvue_type_template_id_12700037_scoped_true_staticRen
|
|
|
4357
4357
|
// EXTERNAL MODULE: ./packages/table-filter/src/components/search-condition/SearchCondition.vue + 5 modules
|
|
4358
4358
|
var SearchCondition = __webpack_require__("9543");
|
|
4359
4359
|
|
|
4360
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4360
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/scale-view/formitem/text-over-tooltip/TextOverTooltip.vue?vue&type=template&id=7dcebbb6&scoped=true&
|
|
4361
4361
|
var TextOverTooltipvue_type_template_id_7dcebbb6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"text-over-tooltip-components"},[(_vm.isDisabledTooltip)?[_c('div',{staticClass:"ellipsis"},[_c('i',{ref:"strContent"},[_vm._v(_vm._s(_vm.curContent))])])]:[_c('a-tooltip',_vm._b({attrs:{"title":_vm.curContent}},'a-tooltip',_vm.$attrs,false),[_vm._v(" "+_vm._s(_vm.curContent)+" ")])]],2)}
|
|
4362
4362
|
var TextOverTooltipvue_type_template_id_7dcebbb6_scoped_true_staticRenderFns = []
|
|
4363
4363
|
|
|
@@ -4447,7 +4447,7 @@ var TextOverTooltip_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4447
4447
|
)
|
|
4448
4448
|
|
|
4449
4449
|
/* harmony default export */ var TextOverTooltip = (TextOverTooltip_component.exports);
|
|
4450
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4450
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/classification/search-class-name.vue?vue&type=template&id=b160225e&scoped=true&
|
|
4451
4451
|
var search_class_namevue_type_template_id_b160225e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showItemName)?_c('div',{staticClass:"item-name"},[_c('span',{staticClass:"label"},[_vm._v("筛选分类名称:")]),_c('a-input',{staticStyle:{"width":"250px"},attrs:{"placeholder":_vm.$t('1.1.6.6'),"maxLength":10},model:{value:(_vm.className),callback:function ($$v) {_vm.className=$$v},expression:"className"}})],1):_vm._e(),(_vm.showItemName)?_c('div',{staticClass:"parent-names"},[_c('span',{staticClass:"label"},[_vm._v(_vm._s(_vm.$t("1.9.362"))+":")]),_vm._l((_vm.parentNames),function(item,index){return _c('div',{key:index,staticClass:"edit-tag",class:{ 'edit-tag-select': item.selected && item.disabled },on:{"dblclick":function (e) { return _vm.editParentName(e, item); },"click":function($event){return _vm.handleParentNameSelect(item, index)}}},[_c('a-input',{staticStyle:{"width":"100px"},attrs:{"value":item,"disabled":item.disabled,"maxLength":10},on:{"blur":function () { return (item.disabled = true); }},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}}),_c('a-icon',{attrs:{"slot":"suffix","type":"close"},on:{"click":function($event){return _vm.handleParentNamesRemove(index, item)}},slot:"suffix"})],1)}),(!_vm.parentNamesHasAdd)?[_c('a-button',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showAdd),expression:"!showAdd"}],attrs:{"icon":"plus","type":"dashed"},on:{"click":_vm.handleParentNamesAdd}},[_vm._v(" "+_vm._s(_vm.$t("1.9.363"))+" ")]),_c('a-input',{directives:[{name:"show",rawName:"v-show",value:(_vm.showAdd),expression:"showAdd"}],staticClass:"edit-tag",staticStyle:{"width":"100px"},attrs:{"maxLength":10},on:{"blur":_vm.hanldeBlur},model:{value:(_vm.addVal),callback:function ($$v) {_vm.addVal=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:"addVal"}})]:_vm._e()],2):_vm._e()])}
|
|
4452
4452
|
var search_class_namevue_type_template_id_b160225e_scoped_true_staticRenderFns = []
|
|
4453
4453
|
|
|
@@ -6788,7 +6788,7 @@ var Classification_com_component = Object(componentNormalizer["a" /* default */]
|
|
|
6788
6788
|
)
|
|
6789
6789
|
|
|
6790
6790
|
/* harmony default export */ var Classification_com = (Classification_com_component.exports);
|
|
6791
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6791
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/base-search-com/BaseSearch.vue?vue&type=template&id=e6e96b76&scoped=true&
|
|
6792
6792
|
var BaseSearchvue_type_template_id_e6e96b76_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"base-search"},[_c('div',{staticClass:"base-container"},[_c('div',{directives:[{name:"resize",rawName:"v-resize",value:(_vm.onResize),expression:"onResize"}],ref:"baseLeft",staticClass:"bease-left"},[(_vm.visibleInlineOperateBtn)?[_c('div',{staticClass:"btn-custom-wrap"},[_c('a-button',{staticClass:"btn-custom-class",staticStyle:{"margin":"8px 8px 8px 0"},style:({ display: _vm.isInlineOperating ? 'inline-block' : 'none' }),attrs:{"type":"primary"},on:{"click":_vm.inlineEditClick}},[_vm._v(" 保存 ")]),_c('a-button',{staticClass:"btn-custom-class",staticStyle:{"margin":"8px 8px 8px 0"},style:({ display: _vm.isInlineOperating ? 'inline-block' : 'none' }),on:{"click":_vm.inlineEditCancel}},[_vm._v(" 取消 ")])],1)]:_vm._e(),(!_vm.visibleInlineOperateBtn && !_vm.isRowEditing)?_c('ul',[(_vm.isShowSettingBtn)?_c('div',{ref:"btnRow",staticClass:"btn-row"},[_c('a-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.currentTempId != '0' && _vm.isShowSetting('hideSettingBtn')),expression:"currentTempId != '0' && isShowSetting('hideSettingBtn')"}],staticClass:"btn-setting",attrs:{"icon":"setting"},on:{"click":_vm.handlerSetting}},[_vm._v(" 设置 ")]),(_vm.showViewList)?_c('a-dropdown',{attrs:{"overlayClassName":"viewList-dropdown"}},[_c('a-button',{staticClass:"viewList-button"},[_c('svg-icon',{staticStyle:{"font-size":"22px"},attrs:{"icon-class":'anniuqiehuanmoshi'}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},_vm._l((_vm.viewList),function(item,index){return _c('a-menu-item',{key:index,class:{ 'menu-active': _vm.currentTempId === item.id },attrs:{"value":item.id},on:{"click":function($event){return _vm.handlerSelectTemp(item.id)}}},[_c('span',[_vm._v(_vm._s(item.name))])])}),1)],1):_vm._e()],1):_vm._e(),_vm._t("classification"),(_vm.showQuickSearch)?_c('li',{ref:"quickSearchLi"},[_c('a-button',{staticClass:"search-default",attrs:{"type":"default"},on:{"click":_vm.foldQuickSearch}},[_c('svg-icon',{staticStyle:{"color":"#2d7aff","margin-right":"6px"},attrs:{"icon-class":"xitongtubiaoBIxitongshaixuan"}}),_vm._v(" 筛选 "+_vm._s(_vm.qqConObjCount ? ("(" + _vm.qqConObjCount + ")") : '')+" ")],1)],1):_vm._e(),_vm._l((_vm.outSearchFieldList),function(item){return [_c('outQuickSearch',{key:item.id + item.random_key,attrs:{"item":item,"filterApiConfig":_vm.filterApiConfigOutSearch},on:{"outFilterChange":_vm.outFilterChange}})]}),_vm._l((_vm.outRelationQuickSearch),function(relationItem){return [_vm._l((relationItem.fieldList),function(item){return [_c('outQuickSearch',{key:item.id,attrs:{"item":item,"filterApiConfig":_vm.filterApiConfigOutSearch},on:{"outFilterChange":_vm.outFilterChange}})]})]}),(_vm.isShowSetting('hideSearch') && !_vm.showRelatedTreeBtn)?_c('li',{ref:"inputSearchLi",staticClass:"baseSearch-input-search"},[(_vm.outSearchFieldList && _vm.outSearchFieldList.length)?[_c('a-input',{staticClass:"input-search-com",style:({ width: _vm.inputSearchW + 'px', margin: '0 8px 8px 0' }),attrs:{"allowClear":"","placeholder":_vm.searchPlaceHolder,"value":_vm.currentValue},on:{"input":function($event){return _vm.$emit('input', $event.target.value)},"pressEnter":_vm.outFilterChange}},[(_vm.showPlaceholderPrefix)?_c('template',{slot:"prefix"},[_c('a-tooltip',{attrs:{"title":_vm.searchPlaceHolder,"overlayClassName":"basesearch-placeholder-tooltip"}},[_c('a-icon',{staticClass:"search-placeholder-icon",attrs:{"type":"info-circle"}})],1)],1):_vm._e()],2)]:_c('a-input-search',{staticClass:"my-input-search input-search-com",style:({ width: _vm.inputSearchW + 'px' }),attrs:{"allowClear":"","placeholder":_vm.searchPlaceHolder,"value":_vm.currentValue},on:{"search":_vm.onSearch,"input":function($event){return _vm.$emit('input', $event.target.value)}}},[(_vm.showPlaceholderPrefix)?_c('template',{slot:"prefix"},[_c('a-tooltip',{attrs:{"title":_vm.searchPlaceHolder,"overlayClassName":"basesearch-placeholder-tooltip"}},[_c('a-icon',{staticClass:"search-placeholder-icon",attrs:{"type":"info-circle"}})],1)],1):_vm._e(),_c('a-button',{attrs:{"slot":"enterButton","type":"primary"},slot:"enterButton"},[_c('svg-icon',{attrs:{"icon-class":"xitongtubiaosousuo"}})],1)],2)],2):_vm._e(),(_vm.outSearchFieldList && _vm.outSearchFieldList.length)?_c('li',[_c('a-button',{staticStyle:{"margin":"0 8px 8px 0"},attrs:{"type":"primary"},on:{"click":_vm.outFilterChange}},[_c('a-icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":"search"}}),_vm._v(" 查询 ")],1)],1):_vm._e(),(_vm.showResetFilterBtn)?_c('li',[_c('a-button',{staticStyle:{"margin":"0 8px 8px 0"},on:{"click":_vm.handleReset}},[_c('svg-icon',{staticStyle:{"margin-right":"6px"},attrs:{"icon-class":"xitongtubiaoliebiaocaozuoanniushanchu"}}),_vm._v(" 重置 ")],1)],1):_vm._e(),(_vm.showRelatedTreeBtn)?[(_vm.showRelatedSearch)?_c('li',{class:[_vm.isRelatedSearchFold ? 'related-search-input' : 'related-search-input-expand']},[_c('a-input-search',{ref:"relatedSearchInput",staticClass:"my-input-search my-input-search-related",attrs:{"placeholder":"请输入关键字搜索","allowClear":"","value":_vm.currentValue},on:{"search":_vm.onRelatedSearch,"input":function($event){return _vm.$emit('input', $event.target.value)}}},[_c('a-button',{attrs:{"slot":"enterButton","type":"primary"},slot:"enterButton"},[_c('a-icon',{attrs:{"type":"search"}})],1)],1)],1):_vm._e(),(_vm.rowTileBtnListTree && _vm.rowTileBtnListTree.length === 1)?[_c('a-button',{staticStyle:{"margin-right":"8px","margin-bottom":"8px"},attrs:{"type":"primary"},on:{"click":function($event){return _vm.handleAddType(_vm.rowTileBtnListTree[0])}}},[_vm._v(" "+_vm._s(_vm.rowTileBtnListTree[0].alias || _vm.rowTileBtnListTree[0].name)+" ")])]:_vm._e(),(_vm.rowTileBtnListTree.length > 1 && !_vm.isInlineOperating)?_c('a-dropdown',[_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.rowTileBtnListTree),function(b){return [(b.type == 'ADD')?_c('a-menu-item',{key:b.sid,staticClass:"dropdown-btn",on:{"click":function($event){return _vm.handleAddType(b)}}},[_vm._v(" "+_vm._s(b.alias || b.name)+" "),(b.icon)?_c('a-icon',{attrs:{"type":_vm.btnObj[b.icon]}}):[(b.iconSetting)?_c('svg-icon',{style:({
|
|
6793
6793
|
marginRight: '8px'
|
|
6794
6794
|
}),attrs:{"iconClass":JSON.parse(b.iconSetting).icon}}):_vm._e()]],2):_vm._e()]})],2),_c('a-button',{staticStyle:{"margin-left":"8px","margin-bottom":"8px"},attrs:{"type":"primary","ghost":""}},[_vm._v(" "+_vm._s('更多')+" ... ")])],1):_vm._e()]:_vm._e(),(!_vm.nobutton && !_vm.showRelatedTreeBtn)?[(_vm.isButtonFolding)?[(_vm.allBtn && _vm.allBtn.length)?_c('li',{ref:"allBtnLi",staticClass:"allBtn"},[_c('a-dropdown',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isInlineOperating),expression:"!isInlineOperating"}]},[_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.allBtn),function(b,j){return [(b.type == 'ADD')?_c('a-menu-item',{key:b.sid,staticClass:"dropdown-btn",on:{"click":function($event){return _vm.showDrawer(b, j)}}},[_vm._v(" "+_vm._s(b.alias || b.name)+" "),_c('getBtnIcon',{attrs:{"data":b,"btnObj":_vm.btnObj}})],1):(_vm.showButtonTop == 1 && b.type != 'LINK' && _vm.currentTempId == '0')?_c('a-menu-item',{key:b.sid,staticClass:"dropdown-btn",on:{"click":function($event){return _vm.clickBtn(_vm.clickRowData, b, _vm.clickRowData.my_index, undefined, j)}}},[_vm._v(" "+_vm._s(b.showStyle === 'only_icon' ? '' : b.alias || b.name)+" "),_c('getBtnIcon',{attrs:{"data":b,"btnObj":_vm.btnObj}})],1):_vm._e()]})],2),_c('a-button',{staticClass:"ml12 dropdown-button"},[_vm._v(_vm._s('更多')+" "),_c('a-icon',{attrs:{"type":"down"}})],1)],1)],1):_vm._e()]:[(_vm.isShowGroupBtn)?[_vm._l((_vm.groupBtnObj),function(key,i){return [(key.list && key.list.length > 1)?_c('li',{key:i,ref:"rowTileBtnItem",refInFor:true,attrs:{"data-key":i,"data-source":"groupBtn"}},[_c('ButtonGroup',{directives:[{name:"show",rawName:"v-show",value:(!key.isHide),expression:"!key.isHide"}],attrs:{"title":i,"list":key.list,"currentTempId":_vm.currentTempId},on:{"showDrawer":_vm.showDrawer,"clickGroupBtn":_vm.clickGroupBtn}})],1):_vm._e()]})]:_vm._e(),_vm._l((_vm.rowTileBtnList),function(item,j){return [(_vm.showLi(item))?_c('li',{key:item.sid,ref:"rowTileBtnItem",refInFor:true,staticClass:"rowTileBtn-item 123",attrs:{"data-key":item.sid,"data-source":"rowTile"}},[(item.type == 'ADD' || item.type == 'BATCH')?[_c('a-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.visibleBtn(item) && !item.isHide),expression:"visibleBtn(item) && !item.isHide"}],staticClass:"btn-custom-class",staticStyle:{"margin":"0 8px 8px 0"},style:(_vm.$utils.getBtnStyle(item)),attrs:{"type":item.showStyle == 'none_bg' || item.showStyle === 'only_icon' ? 'link' : 'primary',"ghost":item.showStyle == 'white_bg'},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.showDrawer(item, j)}}},[_c('getBtnIcon',{attrs:{"data":item,"btnObj":_vm.btnObj}}),(item.showStyle !== 'only_icon')?[_vm._v(" "+_vm._s(item.alias || item.name)+" ")]:_vm._e()],2),(item.isImportGuage)?_c('a-upload',{attrs:{"method":"post","show-upload-list":false,"action":((_vm.axios.defaults.baseURL) + "/guage/importGuage")},on:{"change":_vm.handleUploadChange}},[_c('a-button',{staticClass:"btn-custom-class",staticStyle:{"margin":"0 8px 8px 0"},style:(_vm.$utils.getBtnStyle(item)),attrs:{"type":item.showStyle == 'none_bg' || item.showStyle === 'only_icon' ? 'link' : 'primary',"ghost":item.showStyle == 'white_bg'}},[_c('a-icon',{attrs:{"type":"upload"}}),(item.showStyle !== 'only_icon')?[_vm._v(" "+_vm._s(item.alias || item.name)+" ")]:_vm._e()],2)],1):_vm._e()]:(_vm.isShowRowTileBtnItem(item))?[_c('a-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.visibleBtn(item) && !item.isHide),expression:"visibleBtn(item) && !item.isHide"}],staticClass:"btn-custom-class",staticStyle:{"margin":"0 8px 8px 0"},style:(_vm.$utils.getBtnStyle(item)),attrs:{"type":item.showStyle == 'none_bg' ? 'link' : 'primary',"ghost":item.showStyle == 'white_bg'},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.clickBtn(_vm.clickRowData, item, _vm.clickRowData.my_index, undefined, j)}}},[_c('getBtnIcon',{attrs:{"data":item,"btnObj":_vm.btnObj}}),(item.showStyle !== 'only_icon')?[_vm._v(" "+_vm._s(item.alias || item.name)+" ")]:_vm._e()],2)]:_vm._e()],2):_vm._e()]}),_vm._l((_vm.rowPrintBtnList),function(item,j){return [(_vm.showLi(item))?_c('li',{key:item.sid,ref:"rowTileBtnItem",refInFor:true,staticClass:"rowTileBtn-item rowPrintBtn-btn",attrs:{"data-key":item.sid,"data-source":"rowTile"}},[(item.isVisible && !item.isHide)?[_c('PrintBtn',{attrs:{"printConfig":_vm.printConfig,"baseUrl":_vm.printConfig.printBaseUrl,"strategy":item.strategy,"btnText":item.name,"versionType":item.__printConfig && item.__printConfig.versionType,"port":item.__printConfig && item.__printConfig.port,"authorizationKey":item.__printConfig && item.__printConfig.authorizationKey,"templateNumber":item.__printConfig && item.__printConfig.number,"hisParams":item.__printConfig && item.__printConfig.hisParams,"params":_vm.getPrintBtnParams(item),"prevFn":function () { return _vm.printBtnPrevFn(_vm.clickRowData, item, 2, j); }},on:{"success":_vm.receivePrintSuccess,"error":_vm.receivePrintError}})]:_vm._e()],2):_vm._e()]}),(_vm.showRowFoldBtnList(_vm.rowFoldBtnList, 'rowFoldBtnList'))?_c('li',{staticClass:"rowFoldBtn"},[_c('a-dropdown',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isInlineOperating),expression:"!isInlineOperating"}],attrs:{"overlayClassName":"baseSearch-fold-dropdown"}},[_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.rowFoldBtnList),function(b,j){return [(_vm.showLiAdd(b))?_c('a-menu-item',{directives:[{name:"show",rawName:"v-show",value:(_vm.visibleBtn(b)),expression:"visibleBtn(b)"}],key:b.sid,staticClass:"dropdown-btn",on:{"click":function($event){return _vm.showDrawer(b, j)}}},[_vm._v(" "+_vm._s(b.alias || b.name)+" "),_c('getBtnIcon',{attrs:{"data":b,"btnObj":_vm.btnObj}})],1):(_vm.showLiFold(b))?[_c('a-menu-item',{directives:[{name:"show",rawName:"v-show",value:(_vm.visibleBtn(b)),expression:"visibleBtn(b)"}],key:b.sid,staticClass:"dropdown-btn",on:{"click":function($event){return _vm.clickBtn(_vm.clickRowData, b, _vm.clickRowData.my_index, undefined, j)}}},[_vm._v(" "+_vm._s(b.alias || b.name)+" "),_c('getBtnIcon',{attrs:{"data":b,"btnObj":_vm.btnObj}})],1)]:_vm._e()]})],2),_c('a-button',{staticClass:"dropdown-button",staticStyle:{"margin":"0 8px 8px 0"}},[_vm._v(_vm._s('更多')+" "),_c('a-icon',{attrs:{"type":"down"}})],1)],1)],1):_vm._e(),(_vm.showRowFoldBtnList(_vm.rowFoldHideBtnList))?[_c('a-dropdown',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isInlineOperating),expression:"!isInlineOperating"}],attrs:{"overlayClassName":"rowFoldHideBtnList-dropdown"}},[_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.rowFoldHideBtnListObj),function(value,key){return [(_vm.showRowFoldBtnList(value.list))?_c('a-menu-item-group',{key:key},[_c('template',{slot:"title"}),_vm._l((value.list),function(b,j){return [(b.type == 'ADD')?_c('a-menu-item',{directives:[{name:"show",rawName:"v-show",value:(_vm.visibleBtn(b)),expression:"visibleBtn(b)"}],key:b.sid,staticClass:"dropdown-btn",on:{"click":function($event){return _vm.showDrawer(b, j)}}},[_vm._v(" "+_vm._s(b.alias || b.name)+" "),_c('getBtnIcon',{attrs:{"data":b,"btnObj":_vm.btnObj}})],1):(b.type != 'LINK' && _vm.currentTempId == '0')?[_c('a-menu-item',{directives:[{name:"show",rawName:"v-show",value:(_vm.visibleBtn(b)),expression:"visibleBtn(b)"}],key:b.sid,staticClass:"dropdown-btn",on:{"click":function($event){return _vm.clickBtn(_vm.clickRowData, b, _vm.clickRowData.my_index, undefined, j)}}},[_vm._v(" "+_vm._s(b.alias || b.name)+" "),_c('getBtnIcon',{attrs:{"data":b,"btnObj":_vm.btnObj}})],1)]:_vm._e()]})],2):_vm._e()]})],2),_c('a-button',{staticClass:"dropdown-button",staticStyle:{"margin":"0 8px 8px 0"}},[_vm._v(_vm._s('更多')+" "),_c('a-icon',{attrs:{"type":"down"}})],1)],1)]:_vm._e()]]:_vm._e()],2):_vm._e()],2)]),(_vm.showBaseTabs)?_c('div',{staticClass:"base-tabs"},_vm._l((_vm.tabConditionList),function(item,index){return _c('div',{key:index,class:_vm.tabIndex === index ? 'base-tabs-item base-tabs-item-active' : 'base-tabs-item',on:{"click":function($event){return _vm.tabClick(index)}}},[_vm._v(_vm._s(item.name)+" "+_vm._s(_vm.countTabCondition == 1 && (item.digital || item.digital === 0) ? '(' + (item.digital || 0) + ')' : ''))])}),0):_vm._e(),_c('span',{ref:"baseSearchPlaceholderSpan",staticClass:"baseSearchPlaceholderSpan"},[_vm._v(" "+_vm._s(_vm.searchPlaceHolder)+" ")])])}
|
|
@@ -6808,7 +6808,7 @@ var GROUP_TITLE_KEY = "group-show-title";
|
|
|
6808
6808
|
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/index.vue + 10 modules
|
|
6809
6809
|
var ButtonPrint = __webpack_require__("35a8");
|
|
6810
6810
|
|
|
6811
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6811
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/components/out-quick-search/out-quick-search.vue?vue&type=template&id=50d2626a&scoped=true&
|
|
6812
6812
|
var out_quick_searchvue_type_template_id_50d2626a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"outQuickSearch-li"},[(_vm.item.com == 'Text')?_vm._t("default",function(){return [_c('a-input',{staticClass:"CL-input",style:({
|
|
6813
6813
|
width: '200px',
|
|
6814
6814
|
margin: '0 8px 8px 0',
|
|
@@ -7279,14 +7279,14 @@ var getBtnIcon = {
|
|
|
7279
7279
|
}
|
|
7280
7280
|
};
|
|
7281
7281
|
/* harmony default export */ var button_icon_getBtnIcon = (getBtnIcon);
|
|
7282
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7282
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/components/button-group/ButtonGroup.vue?vue&type=template&id=7d6830ea&scoped=true&
|
|
7283
7283
|
var ButtonGroupvue_type_template_id_7d6830ea_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"buttonGroup-com"},[_c('a-dropdown',{attrs:{"placement":"bottomRight","overlayClassName":"buttonGroup-dropdown"}},[_c('a-button',{staticClass:"group-btn",attrs:{"type":"primary"}},[_c('text-over-tooltip',{staticClass:"group-left",attrs:{"refName":"buttonGroupTitle","content":_vm.title}}),_c('svg-icon',{attrs:{"icon-class":'xitongtubiaoliebiaocaozuoanniuzhankai'}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.list),function(b,j){return [(b.type == 'ADD')?_c('a-menu-item',{key:b.sid,staticClass:"dropdown-btn",on:{"click":function($event){return _vm.showDrawer(b, j)}}},[_vm._v(" "+_vm._s(b.alias || b.name)+" "),_c('getBtnIcon',{attrs:{"data":b,"btnObj":_vm.btnObj}})],1):(b.type != 'LINK' && _vm.currentTempId == '0')?[_c('a-menu-item',{key:b.sid,staticClass:"dropdown-btn",on:{"click":function($event){return _vm.clickBtn(b, j)}}},[_vm._v(" "+_vm._s(b.alias || b.name)+" "),_c('getBtnIcon',{attrs:{"data":b,"btnObj":_vm.btnObj}})],1)]:_vm._e()]})],2)],1)],1)}
|
|
7284
7284
|
var ButtonGroupvue_type_template_id_7d6830ea_scoped_true_staticRenderFns = []
|
|
7285
7285
|
|
|
7286
7286
|
|
|
7287
7287
|
// CONCATENATED MODULE: ./packages/table-filter/src/components/button-group/ButtonGroup.vue?vue&type=template&id=7d6830ea&scoped=true&
|
|
7288
7288
|
|
|
7289
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7289
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/components/TextOverTooltip.vue?vue&type=template&id=75406ee4&scoped=true&
|
|
7290
7290
|
var TextOverTooltipvue_type_template_id_75406ee4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"text-over-tooltip-components"},[_c('a-tooltip',{attrs:{"effect":_vm.effect,"disabled":_vm.isDisabledTooltip,"title":_vm.curContent,"placement":_vm.placement}},[_c('div',{staticClass:"ellipsis",class:_vm.className,on:{"mouseover":function($event){return _vm.onMouseOver(_vm.refName)}}},[_c('i',{ref:_vm.refName},[_vm._t("default"),_c('i',[_vm._v(_vm._s(_vm.content))])],2)])])],1)}
|
|
7291
7291
|
var TextOverTooltipvue_type_template_id_75406ee4_scoped_true_staticRenderFns = []
|
|
7292
7292
|
|
|
@@ -14835,7 +14835,7 @@ module.exports = function (it) {
|
|
|
14835
14835
|
|
|
14836
14836
|
"use strict";
|
|
14837
14837
|
|
|
14838
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14838
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/button/src/ButtonPrint/index.vue?vue&type=template&id=b5186356&scoped=true&
|
|
14839
14839
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.handleClickOutside),expression:"handleClickOutside"}],on:{"click":_vm.handleClickWrap}},[_c('a-dropdown',{attrs:{"visible":_vm.visible,"overlayClassName":"rowFoldHideBtnList-dropdown"}},[_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_c('a-sub-menu',{key:"format",staticClass:"format-name",attrs:{"title":_vm.formatTitle}},_vm._l((_vm.formatList),function(item){return _c('a-menu-item',{key:item.id,class:{ active: item.id === _vm.currentFormatId },on:{"click":function($event){return _vm.handleClickFormat(item.id)}}},[_vm._v(" "+_vm._s(item.name)+" ")])}),1),_c('a-menu-divider'),_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickPrint(e); }}},[_vm._v(" "+_vm._s(_vm.printText)+" ")]),_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickPreview(e); }}},[_vm._v(" "+_vm._s(_vm.previewText)+" ")]),_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickEdit(e); }}},[_vm._v(" "+_vm._s(_vm.formatEditText)+" ")])],1),_vm._t("button",function(){return [_c('a-button',{staticClass:"dropdown-button",staticStyle:{"margin":"0 8px 8px 0"},on:{"click":function($event){$event.stopPropagation();return _vm.handleClickBtn.apply(null, arguments)}}},[(_vm.spinning)?_c('a-icon',{staticStyle:{"line-height":"10px"},attrs:{"type":"loading"}}):_vm._e(),_vm._v(" "+_vm._s(_vm.btnText)+" "),_c('a-icon',{attrs:{"type":"down"}})],1)]},{"handleClickPrintBtn":_vm.handleClickBtn,"printSpinning":_vm.spinning,"printbtnText":_vm.btnText,"printVisible":_vm.visible})],2),_c('IdentityVerification',{attrs:{"printConfig":_vm.printConfig,"baseUrl":_vm.baseUrl,"verifyUserUrl":_vm.verifyUserUrl,"visible":_vm.identityVerification.visible,"identityVerificationTitle":_vm.identityVerificationTitle},on:{"update:visible":function($event){return _vm.$set(_vm.identityVerification, "visible", $event)},"success":_vm.verifiySuccess}})],1)}
|
|
14840
14840
|
var staticRenderFns = []
|
|
14841
14841
|
|
|
@@ -14924,7 +14924,7 @@ var es_array_join_js_ = __webpack_require__("be94");
|
|
|
14924
14924
|
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/js/print.es.min.js
|
|
14925
14925
|
var print_es_min = __webpack_require__("2c29");
|
|
14926
14926
|
|
|
14927
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14927
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/button/src/ButtonPrint/components/IdentityVerification.vue?vue&type=template&id=1edf71d0&scoped=true&
|
|
14928
14928
|
var IdentityVerificationvue_type_template_id_1edf71d0_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 authentication-modal",attrs:{"centered":"","visible":_vm.visible,"maskClosable":false,"width":_vm.style.width,"bodyStyle":{ maxHeight: _vm.style.height, overflowY: 'auto' },"footer":null},on:{"cancel":_vm.handleClickClose},scopedSlots:_vm._u([{key:"title",fn:function(){return [_vm._v(" "+_vm._s(_vm.identityVerificationTitle)+" ")]},proxy:true}])},[_c('div',{staticClass:"content"},[_c('a-form-model',{ref:"ruleForm",staticClass:"login-form",attrs:{"model":_vm.form,"rules":_vm.rules}},[_c('a-form-model-item',{ref:"account",attrs:{"prop":"account"}},[_c('a-input',{attrs:{"placeholder":"请输入账号"},model:{value:(_vm.form.account),callback:function ($$v) {_vm.$set(_vm.form, "account", $$v)},expression:"form.account"}})],1),_c('a-form-model-item',{ref:"password",attrs:{"prop":"password"}},[_c('a-input-password',{attrs:{"placeholder":"请输入密码"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, "password", $$v)},expression:"form.password"}})],1),_c('a-form-model-item',[_c('a-button',{staticClass:"login-form-button",attrs:{"type":"primary"},on:{"click":_vm.handleClickSubmit}},[_vm._v("登录")])],1)],1)],1)])}
|
|
14929
14929
|
var IdentityVerificationvue_type_template_id_1edf71d0_scoped_true_staticRenderFns = []
|
|
14930
14930
|
|
|
@@ -17865,7 +17865,7 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
17865
17865
|
|
|
17866
17866
|
"use strict";
|
|
17867
17867
|
|
|
17868
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17868
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/select-pages/index.vue?vue&type=template&id=d0eafa66&scoped=true&functional=true&
|
|
17869
17869
|
var render = function (_h,_vm) {var _c=_vm._c;return _c('div',{staticClass:"form-select-btn",on:{"mousedown":function (e) { return e.preventDefault(); }}},[_c('a-button',{attrs:{"disabled":_vm.props.searchPageConfig.page <= 1,"type":"dashed","block":""},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }$event.stopPropagation();return _vm.props.handleSearchChangePage('prev')}}},[_c('a-icon',{attrs:{"type":"left"}}),_vm._v(" 上一页 ")],1),_c('a-button',{attrs:{"disabled":_vm.props.searchPageConfig.asyncCount == 1
|
|
17870
17870
|
? !_vm.props.searchPageConfig.hasNextPage
|
|
17871
17871
|
: _vm.props.searchPageConfig.page >= _vm.props.searchPageConfig.total,"type":"dashed","block":""},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }$event.stopPropagation();return _vm.props.handleSearchChangePage('next')}}},[_vm._v(" 下一页 "),_c('a-icon',{attrs:{"type":"right"}})],1)],1)}
|
|
@@ -18310,7 +18310,7 @@ module.exports = require("core-js/modules/web.url.to-json.js");
|
|
|
18310
18310
|
// ESM COMPAT FLAG
|
|
18311
18311
|
__webpack_require__.r(__webpack_exports__);
|
|
18312
18312
|
|
|
18313
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18313
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/components/search-filter/SearchFilter.vue?vue&type=template&id=300d5179&scoped=true&
|
|
18314
18314
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"search"},[_c('a-modal',{staticClass:"modal-wrap standard-modal standard-modal-white",class:{ 'modal-screen': _vm.isChangeWindow },attrs:{"visible":_vm.addVisible,"maskClosable":false,"width":_vm.modalWidth,"bodyStyle":_vm.bodyStyle,"closable":false,"centered":""},on:{"ok":_vm.saveAdd,"cancel":_vm.cancelSaveAdd}},[_c('template',{directives:[{name:"drag-move",rawName:"v-drag-move"}],slot:"title"},[_c('div',[_c('a-icon',{attrs:{"type":"setting"}}),_vm._v(" "+_vm._s(_vm.modalTitle || '设置分类')+" ")],1),_c('div',{staticClass:"svg-wrap"},[_c('svg-icon',{attrs:{"icon-class":_vm.isChangeWindow
|
|
18315
18315
|
? 'xitongtubiaodaohangtubiaozuixiaohua'
|
|
18316
18316
|
: 'xitongtubiaodaohangtubiaozuidahua'},on:{"click":_vm.changeModalWindow}}),_c('svg-icon',{attrs:{"icon-class":'xitongtubiaodaohangtubiaoguanbi'},on:{"click":_vm.cancelSaveAdd}})],1)]),_c('SearchCondition',_vm._g(_vm._b({ref:"conditionRef"},'SearchCondition',_vm.$attrs,false),_vm.$listeners))],2)],1)}
|
|
@@ -18979,7 +18979,7 @@ module.exports = require("ant-design-vue/es/form-model/style");
|
|
|
18979
18979
|
|
|
18980
18980
|
"use strict";
|
|
18981
18981
|
|
|
18982
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18982
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/components/age-com/index.vue?vue&type=template&id=71be39f1&scoped=true&
|
|
18983
18983
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"container age-com",class:{ 'form-item-disabled': _vm.isDetail }},[(_vm.showType.includes('YYYY'))?[_c('a-input-number',{attrs:{"value":_vm.ageValue.year,"disabled":_vm.isDisabled || _vm.isDetail,"min":0},on:{"change":_vm.handleYearChange}}),_c('span',{staticClass:"age-com-suffix"},[_vm._v("岁")])]:_vm._e(),(_vm.showType.includes('MM'))?[_c('a-input-number',{attrs:{"value":_vm.ageValue.month,"disabled":_vm.isDisabled || _vm.isDetail,"min":0},on:{"change":_vm.handleMonthChange}}),_c('span',{staticClass:"age-com-suffix"},[_vm._v("月")])]:_vm._e(),(_vm.showType.includes('DD'))?[(_vm.showType.includes('DD'))?_c('a-input-number',{attrs:{"value":_vm.ageValue.day,"disabled":_vm.isDisabled || _vm.isDetail,"min":0},on:{"change":_vm.handleDayChange}}):_vm._e(),_c('span',{staticClass:"age-com-suffix"},[_vm._v("日")])]:_vm._e()],2)}
|
|
18984
18984
|
var staticRenderFns = []
|
|
18985
18985
|
|
|
@@ -19319,7 +19319,7 @@ module.exports = isForced;
|
|
|
19319
19319
|
|
|
19320
19320
|
"use strict";
|
|
19321
19321
|
|
|
19322
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19322
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/components/search-condition/SearchCondition.vue?vue&type=template&id=846ef838&scoped=true&
|
|
19323
19323
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['SearchCondition-page', _vm.is_search_professional ? '_c_com-search-professional' : '']},[_c('div',{staticClass:"inner-content"},[(_vm.showItemName)?_c('div',{staticClass:"item-name"},[_c('span',{staticClass:"label"},[_vm._v("筛选分类名称:")]),_c('a-input',{staticStyle:{"width":"250px"},attrs:{"placeholder":'请输入分类名称',"maxLength":10},model:{value:(_vm.className),callback:function ($$v) {_vm.className=$$v},expression:"className"}})],1):_vm._e(),(_vm.showItemName)?_c('div',{staticClass:"parent-names"},[_c('span',{staticClass:"label"},[_vm._v(_vm._s('父类名称')+":")]),_vm._l((_vm.parentNames),function(item,index){return _c('div',{key:index,staticClass:"edit-tag",class:{ 'edit-tag-select': item.selected && item.disabled },on:{"dblclick":function (e) { return _vm.editParentName(e, item); },"click":function($event){return _vm.handleParentNameSelect(item, index)}}},[_c('a-input',{staticStyle:{"width":"100px"},attrs:{"value":item,"disabled":item.disabled,"maxLength":10},on:{"blur":function () { return (item.disabled = true); }},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}}),_c('a-icon',{attrs:{"slot":"suffix","type":"close"},on:{"click":function($event){return _vm.handleParentNamesRemove(index, item)}},slot:"suffix"})],1)}),(!_vm.parentNamesHasAdd)?[_c('a-button',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showAdd),expression:"!showAdd"}],attrs:{"icon":"plus","type":"dashed"},on:{"click":_vm.handleParentNamesAdd}},[_vm._v(" "+_vm._s('添加父类')+" ")]),_c('a-input',{directives:[{name:"show",rawName:"v-show",value:(_vm.showAdd),expression:"showAdd"}],staticClass:"edit-tag",staticStyle:{"width":"100px"},attrs:{"maxLength":10},on:{"blur":_vm.hanldeBlur},model:{value:(_vm.addVal),callback:function ($$v) {_vm.addVal=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:"addVal"}})]:_vm._e()],2):_vm._e(),(_vm.classify === 'custom' && !_vm.homeManage && !_vm.hideAddBtn)?_c('div',{staticClass:"item-name"},[(!_vm.isOnlyCondition)?_c('span',{staticClass:"label"},[_vm._v(" 过滤条件: ")]):_vm._e(),_c('span',{staticStyle:{"cursor":"pointer"},on:{"click":_vm.addAction}},[_c('a-icon',{staticClass:"blue",attrs:{"type":"plus-circle","theme":"filled"}}),_c('span',[_vm._v(_vm._s(_vm.isOnlyCondition ? '添加操作' : '添加'))])],1)]):_vm._e(),(_vm.homeManage)?_c('div',{staticClass:"item-name"},[_c('span',{staticClass:"label"},[_vm._v("选择筛选分类:")]),_c('a-select',{staticStyle:{"width":"250px"},model:{value:(_vm.classify),callback:function ($$v) {_vm.classify=$$v},expression:"classify"}},[_vm._l((_vm.classifyList),function(item){return _c('a-select-option',{key:item.sid,attrs:{"value":item.sid}},[_vm._v(" "+_vm._s(item.name)+" ")])}),_c('a-select-option',{attrs:{"value":"custom"}},[_vm._v(" 自定义 ")])],2)],1):_vm._e(),(_vm.classify === 'custom' && _vm.homeManage)?_c('div',{staticClass:"item-name"},[_c('span',{staticClass:"label"},[_vm._v(" 过滤条件: ")]),_c('span',{staticStyle:{"cursor":"pointer"},on:{"click":_vm.addAction}},[_c('a-icon',{staticClass:"blue",attrs:{"type":"plus-circle","theme":"filled"}}),_c('span',[_vm._v("添加")])],1)]):_vm._e(),(_vm.classify === 'custom')?_c('ul',{staticClass:"item-list",class:{ 'list-onlyCondition': _vm.isOnlyCondition }},_vm._l((_vm.actionList),function(item,index){return _c('li',{key:index},[_c('span',{staticClass:"index-span"},[_vm._v(_vm._s(index + 1)+" ")]),_c('a-select',{staticClass:"form-item select-front-item",attrs:{"placeholder":"请选择","allowClear":"","disabled":item.isIllegalField,"showSearch":"","filterOption":_vm.filterOption,"dropdownMatchSelectWidth":false},on:{"select":function($event){return _vm.changeColumnName($event, item)},"change":function () {
|
|
19324
19324
|
var arg = [], len = arguments.length;
|
|
19325
19325
|
while ( len-- ) arg[ len ] = arguments[ len ];
|
|
@@ -22815,7 +22815,7 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
22815
22815
|
|
|
22816
22816
|
"use strict";
|
|
22817
22817
|
|
|
22818
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
22818
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/table-filter/src/components/range-age/index.vue?vue&type=template&id=31863cec&scoped=true&
|
|
22819
22819
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-input-group',[_c('a-row',{attrs:{"gutter":8}},[_c('a-col',{attrs:{"span":11}},[_c('age-com',{attrs:{"disabled":_vm.disabled,"format":_vm.format,"defaultValue":_vm.startValue},on:{"change":_vm.ageStartOnChange}})],1),_c('a-col',{attrs:{"span":1}},[_c('div',{staticClass:"middle-tips"},[_vm._v("—")])]),_c('a-col',{attrs:{"span":11}},[_c('age-com',{attrs:{"disabled":_vm.disabled,"format":_vm.format,"defaultValue":_vm.endValue},on:{"change":_vm.ageEndOnChange}})],1)],1)],1)}
|
|
22820
22820
|
var staticRenderFns = []
|
|
22821
22821
|
|
|
@@ -23114,7 +23114,7 @@ function _classCallCheck(instance, Constructor) {
|
|
|
23114
23114
|
|
|
23115
23115
|
"use strict";
|
|
23116
23116
|
|
|
23117
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
23117
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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&
|
|
23118
23118
|
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}})])}
|
|
23119
23119
|
var staticRenderFns = []
|
|
23120
23120
|
|
package/es/tag/index.js
CHANGED
|
@@ -1054,7 +1054,7 @@ var create = __webpack_require__("8aef");
|
|
|
1054
1054
|
name: 'checkable-tag',
|
|
1055
1055
|
extends: tag_default.a.CheckableTag
|
|
1056
1056
|
}));
|
|
1057
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1057
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/tag/src/TagGroup.vue?vue&type=template&id=6159c636&scoped=true&
|
|
1058
1058
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"label-wrap"},[_c('div',{staticClass:"left-label-wrap"},[_c('c-tabs',{class:['self-tabs', ("self-tabs-" + _vm.color)],attrs:{"hideAdd":"","activeKey":_vm.labelAnchorKey,"tab-position":"left"},on:{"change":_vm.labelAnchorTabsOnChange}},[_vm._l((_vm.labelList),function(v){return [_c('c-tab-pane',{key:v.curKey},[_c('span',{attrs:{"slot":"tab"},slot:"tab"},[_vm._v(" "+_vm._s(v.title)+" ")])])]})],2)],1),_c('div',{staticClass:"right-label-wrap"},[_c('a-anchor',{directives:[{name:"show",rawName:"v-show",value:(false),expression:"false"}],attrs:{"getContainer":_vm.anchorGetContainer},on:{"click":_vm.handleAnchorClick,"change":_vm.anchorOnChange}},[_vm._l((_vm.labelList),function(v,i){return [_c('a-anchor-link',{key:v.curKey,attrs:{"href":("#" + (v.curKey)),"title":i}})]})],2),_vm._l((_vm.labelList),function(v,k){return _c('div',{key:k,staticClass:"edit-label-content"},[_c('div',{staticClass:"edit-label",attrs:{"id":v.curKey}},[_vm._v(" "+_vm._s(v.title)+" "),_c('span',{staticClass:"edit-label-type"},[_vm._v("("+_vm._s(v.multipleChoice == 2 ? "单" : "多")+"选)")])]),_c('div',{staticClass:"edit-content"},[(!v.itemList)?_c('div',{staticClass:"label-disable-wrap"},[_c('p',{staticClass:"label-disable-title"},[_vm._v("无可选标签")]),_c('p',{staticClass:"label-disable-desc"},[_vm._v("请联系管理员进行标签管理设置")])]):_c('div',{staticClass:"label-content"},[_vm._l((v.itemList),function(item){return _c('a-checkable-tag',{key:item.labelId,class:[{ 'sys-label-tag': item.isPublic && item.isPublic == 1 }, ("label-tag-" + _vm.color)],on:{"change":function($event){return _vm.handleLabelChange($event, item, v, v.curKey)}},model:{value:(item.isSelect),callback:function ($$v) {_vm.$set(item, "isSelect", $$v)},expression:"item.isSelect"}},[_c('a-tooltip',{attrs:{"placement":"topLeft"}},[_c('template',{slot:"title"},[_c('span',[_vm._v(_vm._s(item.labelName))])]),_vm._v(" "+_vm._s(item.labelName)+" ")],2),_c('a-icon',{directives:[{name:"show",rawName:"v-show",value:(!(item.isPublic && item.isPublic == 1)),expression:"!(item.isPublic && item.isPublic == 1)"}],staticClass:"label-close",attrs:{"type":"close"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handleDelLabel(item, v)}}})],1)}),(_vm.isEdit && !v.isNoAdd)?_c('a-button',{directives:[{name:"show",rawName:"v-show",value:(!v.showAdd),expression:"!v.showAdd"}],class:['label-add', ("label-tag-" + _vm.color)],attrs:{"type":"dashed"},on:{"click":function($event){return _vm.handleAddLabel($event, v)}}},[_c('a-icon',{attrs:{"type":"plus"}}),_vm._v(" 标签 ")],1):_vm._e(),(_vm.isEdit && !v.isNoAdd)?_c('a-input',{directives:[{name:"show",rawName:"v-show",value:(v.showAdd),expression:"v.showAdd"}],class:['label-add', 'add-input', ("label-tag-" + _vm.color)],on:{"blur":function($event){return _vm.hanldeBlur($event, v, v.curKey)}},model:{value:(v.addVal),callback:function ($$v) {_vm.$set(v, "addVal", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:"v.addVal"}},[_c('a-icon',{attrs:{"slot":"suffix","type":"close"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.clearaddVal($event, v)}},slot:"suffix"})],1):_vm._e()],2)])])})],2)])}
|
|
1059
1059
|
var staticRenderFns = []
|
|
1060
1060
|
|
package/es/utils/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
+
exports.getAllParentId = getAllParentId;
|
|
4
5
|
exports.deepTraversalFirst = exports.filterTree = void 0;
|
|
5
6
|
|
|
6
7
|
// 过滤树形数据
|
|
@@ -91,6 +92,27 @@ var deepTraversalFirst = function deepTraversalFirst(node, nodeList) {
|
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
return nodeList;
|
|
94
|
-
};
|
|
95
|
+
}; // 查找节点的父元素
|
|
95
96
|
|
|
96
|
-
|
|
97
|
+
|
|
98
|
+
exports.deepTraversalFirst = deepTraversalFirst;
|
|
99
|
+
|
|
100
|
+
function getAllParentId(list, id, key) {
|
|
101
|
+
if (key === void 0) {
|
|
102
|
+
key = 'children';
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
for (var i in list) {
|
|
106
|
+
if (list[i].id == id) {
|
|
107
|
+
return [list[i].parentId];
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
if (list[i][key]) {
|
|
111
|
+
var node = getAllParentId(list[i][key], id);
|
|
112
|
+
|
|
113
|
+
if (node !== undefined) {
|
|
114
|
+
return node.concat(list[i].parentId);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -801,7 +801,7 @@ var es_promise_finally = __webpack_require__("a79d");
|
|
|
801
801
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
802
802
|
var es_function_name_js_ = __webpack_require__("db0a");
|
|
803
803
|
|
|
804
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
804
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/verification-code/verification-code.vue?vue&type=template&id=39c11d42&scoped=true&
|
|
805
805
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"verification-code-container"},[_c('a-input',_vm._g(_vm._b({on:{"change":_vm.verifyCodeChange},model:{value:(_vm.verifyCode),callback:function ($$v) {_vm.verifyCode=$$v},expression:"verifyCode"}},'a-input',_vm.$attrs,false),_vm.$listeners),[_c('template',{slot:"addonAfter"},[_c('span',{staticClass:"captcha-wrap"},[_c('span',{class:['get-code', { disabled: _vm.count }],on:{"click":_vm.sendVerify}},[_vm._v(" "+_vm._s(_vm.getText)+" ")])])])],2)],1)}
|
|
806
806
|
var staticRenderFns = []
|
|
807
807
|
|
|
@@ -967,7 +967,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
967
967
|
)
|
|
968
968
|
|
|
969
969
|
/* harmony default export */ var verification_code = (component.exports);
|
|
970
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
970
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"463dbce7-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/verification-code/SlideVerify.vue?vue&type=template&id=738bb298&scoped=true&
|
|
971
971
|
var SlideVerifyvue_type_template_id_738bb298_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"slide"},[(_vm.title)?_c('div',{staticClass:"verify-title"},[_c('span',[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:"right-icon",on:{"click":_vm.cancelVerify}},[_c('a-icon',{attrs:{"type":"close"}})],1)]):_vm._e(),_c('div',{staticClass:"verify-div"},[_c('div',{staticClass:"verify-container"},[_c('div',{staticClass:"slide-verify"},[_c('div',{staticClass:"bg-wrap"},[_c('img',{staticClass:"bg-img",style:(_vm.resourceStyle),attrs:{"src":_vm.resource.resourceImg,"alt":""}})]),_c('a-icon',{staticClass:"slide-verify-refresh-icon",attrs:{"type":"redo"},on:{"click":_vm.refresh}}),_c('img',{ref:"block",staticClass:"slide-verify-block",style:(_vm.puzzleStyle),attrs:{"src":_vm.resource.puzzleImg,"draggable":"false"},on:{"mousedown":_vm.sliderDown}}),_c('div',{staticClass:"slide-verify-slider",class:{
|
|
972
972
|
'container-active': _vm.containerActive,
|
|
973
973
|
'container-success': _vm.containerSuccess,
|
package/package.json
CHANGED
|
@@ -220,6 +220,7 @@ export default {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
const eventStyle = { selectable: false, evented: false };
|
|
223
|
+
const types = ['arrow', '+', 'shjs', 'shks', 'cg', 'jxtq'];
|
|
223
224
|
leftTitleList.forEach(async (v, i) => {
|
|
224
225
|
const baseTop = canvasHeight - lableMargin[1];
|
|
225
226
|
const top = baseTop - i * lableLineHeight;
|
|
@@ -235,8 +236,7 @@ export default {
|
|
|
235
236
|
...defaultVaule.style,
|
|
236
237
|
id: pointId
|
|
237
238
|
});
|
|
238
|
-
const isOriginXCenter =
|
|
239
|
-
|
|
239
|
+
const isOriginXCenter = types.includes(v.type);
|
|
240
240
|
const iconLeft = isOriginXCenter ? text.width + text.left + 10 : text.width + text.left + 5;
|
|
241
241
|
const option = {
|
|
242
242
|
left: iconLeft,
|
|
@@ -92,11 +92,10 @@ export default {
|
|
|
92
92
|
}
|
|
93
93
|
this.templateData.left && this.drawLeftScaleGroup(this.templateData.left);
|
|
94
94
|
this.templateData.other && this.drawTextDataGroup(this.templateData.other);
|
|
95
|
-
this.templateData.bottom && this.drawBottomTextDataGroup(this.templateData.bottom);
|
|
96
95
|
this.eventStyle.evented && this.createEvent();
|
|
97
|
-
|
|
98
96
|
this.drawBorder();
|
|
99
97
|
this.canvas.renderAll();
|
|
98
|
+
this.templateData.bottom && this.drawBottomTextDataGroup(this.templateData.bottom);
|
|
100
99
|
},
|
|
101
100
|
drawBorder() {
|
|
102
101
|
const { endX, canvasWidth, canvasHeight, topTotal } = this.propItems;
|
|
@@ -319,7 +318,7 @@ export default {
|
|
|
319
318
|
}
|
|
320
319
|
const { endX, originX, endY, canvasHeight, topTotal } = this.propItems;
|
|
321
320
|
topTotal.width && this.canvas.add(this.drawLine([endX, endY - 1, endX, canvasHeight], { ...this.defaultRectStyle }));
|
|
322
|
-
const textList = [];
|
|
321
|
+
// const textList = [];
|
|
323
322
|
const marginLeft = this.templateData.left.leftYScalevalue.spaceGridNumber || defaultVaule.spaceGridNumber;
|
|
324
323
|
const left = originX - marginLeft * 4; // 默认减去4倍的左边距,防止最左边的数据与名称显示重合了
|
|
325
324
|
const title = new this.fabric.Text(String(obj.title), {
|
|
@@ -332,8 +331,8 @@ export default {
|
|
|
332
331
|
top: endY + (canvasHeight - endY) / 2,
|
|
333
332
|
type: 'mark'
|
|
334
333
|
});
|
|
335
|
-
|
|
336
|
-
textList.push(title);
|
|
334
|
+
this.canvas.add(title);
|
|
335
|
+
// textList.push(title);
|
|
337
336
|
const baseY = endY + 2; // 目前固定10像素的下边距
|
|
338
337
|
const baseYLimit = endY - 2; // 目前固定10像素的上边距
|
|
339
338
|
const lineHeight = (obj.iconStyle?.height && obj.iconStyle.height + 2) || 14; // 标志点的line-height值
|
|
@@ -397,13 +396,15 @@ export default {
|
|
|
397
396
|
...eventStyle
|
|
398
397
|
});
|
|
399
398
|
text.hasControls = text.hasBorders = false;
|
|
400
|
-
textList.push(text);
|
|
399
|
+
// textList.push(text);
|
|
401
400
|
this.pointEvent(text);
|
|
401
|
+
this.canvas.add(text);
|
|
402
|
+
this.canvas.renderAll();
|
|
402
403
|
}
|
|
403
404
|
});
|
|
404
405
|
}
|
|
405
406
|
});
|
|
406
|
-
this.canvas.add(...textList);
|
|
407
|
+
// this.canvas.add(...textList);
|
|
407
408
|
},
|
|
408
409
|
pointEvent(point) {
|
|
409
410
|
point.on('mouseover', () => {
|
|
@@ -165,6 +165,22 @@ export default {
|
|
|
165
165
|
...data,
|
|
166
166
|
})
|
|
167
167
|
},
|
|
168
|
+
// 机械通气
|
|
169
|
+
createJXTQ(data) {
|
|
170
|
+
const width = data.width || 25;
|
|
171
|
+
const height = data.height || 10;
|
|
172
|
+
return new this.fabric.Polyline([
|
|
173
|
+
{ x: 0, y: height },
|
|
174
|
+
{ x: width / 5, y: 0 },
|
|
175
|
+
{ x: width / 5 * 2, y: height },
|
|
176
|
+
{ x: width / 5 * 3, y: 0 },
|
|
177
|
+
{ x: width / 5 * 4, y: height },
|
|
178
|
+
{ x: width / 5 * 5, y: 0 }
|
|
179
|
+
], {
|
|
180
|
+
scale: 1,
|
|
181
|
+
...data,
|
|
182
|
+
})
|
|
183
|
+
},
|
|
168
184
|
ceateLineArrow(data) {
|
|
169
185
|
const line = new this.fabric.Line([data.left, data.top, data.left + data.width, data.top], {
|
|
170
186
|
stroke: data.stroke,
|
|
@@ -273,6 +289,8 @@ export default {
|
|
|
273
289
|
scale: 1,
|
|
274
290
|
...data,
|
|
275
291
|
})
|
|
292
|
+
case 'jxtq':
|
|
293
|
+
return this.createJXTQ(data);
|
|
276
294
|
default:
|
|
277
295
|
// 文字(默认:比如 type === x)
|
|
278
296
|
data.stroke && delete data.stroke;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<template v-for="(item, index) in toolbar">
|
|
33
33
|
<a-tooltip placement="top" :key="index">
|
|
34
34
|
<template slot="title">{{ item.name }}</template>
|
|
35
|
-
<svg-icon :icon-class="item.icon" class="toolbar" @click="handleToolBarClick(item)"></svg-icon>
|
|
35
|
+
<svg-icon :icon-class="item.icon" class="toolbar" :class="{ 'closed-toolbar': closedSession }" @click="handleToolBarClick(item)"></svg-icon>
|
|
36
36
|
</a-tooltip>
|
|
37
37
|
</template>
|
|
38
38
|
<!-- 快捷回复 -->
|
|
@@ -244,6 +244,7 @@ export default {
|
|
|
244
244
|
'assemblySetting',
|
|
245
245
|
'chatType',
|
|
246
246
|
'sessionEnd',
|
|
247
|
+
'closedSession',
|
|
247
248
|
'clientParams',
|
|
248
249
|
'footerMessage',
|
|
249
250
|
'queueItem',
|
|
@@ -268,7 +269,12 @@ export default {
|
|
|
268
269
|
},
|
|
269
270
|
toolbar() {
|
|
270
271
|
if (!this.isServer) return [];
|
|
271
|
-
let toolbar =
|
|
272
|
+
let toolbar = null;
|
|
273
|
+
if (this.closedSession) {
|
|
274
|
+
toolbar = this.assemblySetting.closedToolbar || [];
|
|
275
|
+
} else {
|
|
276
|
+
toolbar = this.assemblySetting.toolbar || [];
|
|
277
|
+
}
|
|
272
278
|
toolbar = toolbar.filter(item => {
|
|
273
279
|
const { source, isChecked } = item;
|
|
274
280
|
if (source === 'PC' && isChecked === 'Y') {
|
|
@@ -1581,6 +1587,9 @@ export default {
|
|
|
1581
1587
|
border-radius: 6px;
|
|
1582
1588
|
}
|
|
1583
1589
|
}
|
|
1590
|
+
.closed-toolbar {
|
|
1591
|
+
z-index: 100;
|
|
1592
|
+
}
|
|
1584
1593
|
/deep/ p {
|
|
1585
1594
|
margin-bottom: 0;
|
|
1586
1595
|
}
|
|
@@ -467,7 +467,8 @@ export default {
|
|
|
467
467
|
'lastCurrentTab',
|
|
468
468
|
'curScrollItem',
|
|
469
469
|
'disableOperate',
|
|
470
|
-
'sdkInfo'
|
|
470
|
+
'sdkInfo',
|
|
471
|
+
'closedSession'
|
|
471
472
|
]),
|
|
472
473
|
isNormalStyle() {
|
|
473
474
|
return this.styleFold !== 'Y';
|
|
@@ -934,7 +935,7 @@ export default {
|
|
|
934
935
|
this.appendList([message]);
|
|
935
936
|
}
|
|
936
937
|
|
|
937
|
-
if (this.sessionId !== sessionId || !this.onChating) {
|
|
938
|
+
if (this.sessionId !== sessionId || (!this.onChating && !this.closedSession)) {
|
|
938
939
|
return;
|
|
939
940
|
}
|
|
940
941
|
this.setIsAppendMsg(true);
|