cnhis-design-vue 2.1.143 → 2.1.144
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 +28 -4
- package/es/affix/index.js +8 -8
- package/es/age/index.js +10 -10
- package/es/alert/index.js +8 -8
- package/es/anchor/index.js +8 -8
- package/es/auto-complete/index.js +8 -8
- package/es/avatar/index.js +8 -8
- package/es/back-top/index.js +8 -8
- package/es/badge/index.js +8 -8
- package/es/base/index.js +8 -8
- package/es/big-table/index.js +71 -71
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +474 -314
- package/es/button/style.css +1 -1
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/card-reader-sdk/index.js +1 -1
- package/es/carousel/index.js +8 -8
- package/es/cascader/index.js +8 -8
- package/es/checkbox/index.js +9 -9
- package/es/col/index.js +8 -8
- package/es/collapse/index.js +8 -8
- package/es/color-picker/index.js +1 -1
- package/es/comment/index.js +8 -8
- package/es/config-provider/index.js +8 -8
- package/es/date-picker/index.js +8 -8
- package/es/descriptions/index.js +8 -8
- package/es/direct/index.js +16 -16
- package/es/divider/index.js +8 -8
- package/es/drag-layout/index.js +3 -3
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +1 -1
- package/es/ellipsis/index.js +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +283 -149
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +74 -74
- package/es/full-calendar/index.js +4 -4
- package/es/index/index.js +1778 -1073
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/layout/index.js +8 -8
- package/es/list/index.js +8 -8
- package/es/locale-provider/index.js +8 -8
- package/es/map/index.js +9 -9
- package/es/mentions/index.js +8 -8
- package/es/menu/index.js +8 -8
- package/es/message/index.js +8 -8
- package/es/multi-chat/index.js +76 -76
- package/es/multi-chat-client/index.js +70 -70
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +14 -14
- package/es/multi-chat-setting/index.js +22 -22
- package/es/multi-chat-sip/index.js +1 -1
- package/es/notification/index.js +8 -8
- package/es/page-header/index.js +8 -8
- package/es/pagination/index.js +8 -8
- package/es/popconfirm/index.js +8 -8
- package/es/popover/index.js +8 -8
- package/es/progress/index.js +8 -8
- package/es/radio/index.js +9 -9
- package/es/rate/index.js +8 -8
- package/es/result/index.js +8 -8
- package/es/row/index.js +8 -8
- package/es/scale-container/index.js +9 -9
- package/es/scale-view/index.js +27 -27
- package/es/select/index.js +12 -12
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +2 -2
- package/es/select-tag/index.js +4 -4
- package/es/shortcut-setter/index.js +10 -10
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/slider-tree/index.js +9 -9
- package/es/space/index.js +8 -8
- package/es/spin/index.js +8 -8
- package/es/statistic/index.js +8 -8
- package/es/steps/index.js +8 -8
- package/es/switch/index.js +8 -8
- package/es/table-filter/index.js +1143 -572
- package/es/table-filter/style.css +1 -1
- package/es/tabs/index.js +8 -8
- package/es/tag/index.js +9 -9
- package/es/time-picker/index.js +8 -8
- package/es/timeline/index.js +8 -8
- package/es/tooltip/index.js +8 -8
- package/es/transfer/index.js +8 -8
- package/es/tree/index.js +8 -8
- package/es/tree-select/index.js +8 -8
- package/es/upload/index.js +8 -8
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +1743 -1064
- package/lib/cui.umd.js +1743 -1064
- package/lib/cui.umd.min.js +20 -20
- package/package.json +1 -1
- package/packages/button/src/ButtonPrint/index.vue +21 -13
- package/packages/button/src/ButtonPrint/new.vue +270 -291
- package/packages/button/src/ButtonPrint/old.vue +33 -4
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +175 -85
- package/packages/fabric-chart/src/mixins/eventCommon.js +1 -1
- package/packages/table-filter/src/base-search-com/BaseSearch.vue +21 -71
- package/packages/table-filter/src/mixins/printNew.js +184 -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":"70f3d6c1-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=1beada03&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 || item.columnName,staticClass:"quick-item",class:{ 'quick-block': _vm.quickClassName(item) }},[_c('div',{staticClass:"quick-row"},[_c('div',{staticClass:"quick-item-title",class:{ 'quick-item-title-default': _vm.source !== 'editTable' }},[_c('text-over-tooltip',{staticClass:"quick-search-title-tool-tip",attrs:{"refName":("quick-search-title-" + (item.columnName)),"content":item.alias || item.title}}),(_vm.searchFieldLimit[item.columnName] && _vm.searchFieldLimit[item.columnName].tips)?_c('a-tooltip',{attrs:{"title":_vm.searchFieldLimit[item.columnName].tips}},[_c('svg-icon',{attrs:{"icon-class":"xitongtubiaodaohangtubiaowenti"}}),_vm._v(" ")],1):_vm._e()],1),_c('div',{staticClass:"quick-item-col",class:{ 'quick-item-col-default': _vm.source !== 'editTable' }},[(item.isRender)?_c('RenderWidget',{attrs:{"cfg":item,"source":"quickSearch","filterApiConfig":_vm.filterApiConfig},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}}):(item.AGEAttr)?_c('div',{staticClass:"age-container"},[_c('range-age',{ref:((item.columnName) + "_AGEAttr"),refInFor:true,attrs:{"format":item.format},on:{"change":function($event){return _vm.ageRangeOnChange($event, item)}}})],1):(item.LABELAttr)?_c('div',{staticClass:"label-attr-container"},[(item.labelObj && Object.keys(item.labelObj || {}).length > 0)?_vm._t("default",function(){return _vm._l((item.labelObj),function(v,k){return _c('div',{key:k,staticClass:"edit-label-content"},[_c('div',{staticClass:"edit-label"},[_vm._v(_vm._s(k)+":")]),_c('div',{staticClass:"quickSearch_label-container",class:{
|
|
125
125
|
'label-container-height': !v.isUnfold && v.itemList && v.isShowBtn
|
|
126
126
|
}},[_c('div',{directives:[{name:"resize",rawName:"v-resize",value:(function (el) { return _vm.onResize(el, v); }),expression:"el => onResize(el, v)"}],staticClass:"quick-label-content"},_vm._l((v.itemList),function(v,i){return _c('a-checkable-tag',{key:i,style:(_vm.handleLabelColor(v)),on:{"change":function($event){return _vm.handleLabelChange($event, v, item)}},model:{value:(v.isSelect),callback:function ($$v) {_vm.$set(v, "isSelect", $$v)},expression:"v.isSelect"}},[_c('a-tooltip',{attrs:{"placement":"topLeft","mouseEnterDelay":0.5,"mouseLeaveDelay":0}},[_c('template',{slot:"title"},[_c('span',[_vm._v(_vm._s(v.labelName))])]),_vm._v(" "+_vm._s(v.labelName)+" ")],2)],1)}),1)]),(v.itemList && v.isShowBtn)?_c('div',{staticClass:"label-unfold-btn"},[_c('span',{on:{"click":function($event){$event.stopPropagation();return _vm.handleLabelUpfold(v)}}},[(v.isUnfold)?[_c('span',[_vm._v("收起")]),_c('a-icon',{attrs:{"type":"up-square"}})]:[_c('span',[_vm._v("展开")]),_c('a-icon',{attrs:{"type":"down-square"}})]],2)]):_vm._e()])})}):_c('a-input',{staticStyle:{"width":"100%"},attrs:{"allowClear":"","placeholder":item.placeholder || ("请输入" + (item.alias || item.title))},model:{value:(item.inputVal),callback:function ($$v) {_vm.$set(item, "inputVal", $$v)},expression:"item.inputVal"}})],2):(item.EVALUATEAttr)?_c('div',{staticClass:"evaluate-attr-container"},[_vm._l((_vm.EVALUATEList),function(tag){return [_c('a-checkable-tag',{key:tag.value,attrs:{"checked":item.selecteds.indexOf(tag.value) > -1},on:{"change":function (checked) { return _vm.handleEvaluateOnChange(tag, checked, item); }}},[_vm._v(" "+_vm._s(tag.label)+" ")])]})],2):(item.NUMBERFiled)?_c('div',{staticClass:"ant-calendar-picker",staticStyle:{"width":"100%"}},[_c('span',{staticClass:"ant-calendar-picker-input ant-input num-picker",class:{ 'num-picker-unit': item.inputUnit }},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(item.lessValue),expression:"item.lessValue"}],staticClass:"ant-calendar-range-picker-input",attrs:{"title":("起始" + (item.alias || item.title)),"placeholder":("起始" + (item.alias || item.title))},domProps:{"value":(item.lessValue)},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return (function () { return _vm.changeFilterNumber(item); }).apply(null, arguments)},"input":function($event){if($event.target.composing){ return; }_vm.$set(item, "lessValue", $event.target.value)}}}),_c('span',{staticClass:"ant-calendar-range-picker-separator"},[_vm._v(" ~ ")]),_c('input',{directives:[{name:"model",rawName:"v-model",value:(item.bigValue),expression:"item.bigValue"}],staticClass:"ant-calendar-range-picker-input",attrs:{"title":("截止" + (item.alias || item.title)),"placeholder":("截止" + (item.alias || item.title))},domProps:{"value":(item.bigValue)},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return (function () { return _vm.changeFilterNumber(item); }).apply(null, arguments)},"input":function($event){if($event.target.composing){ return; }_vm.$set(item, "bigValue", $event.target.value)}}}),(item.inputUnit)?[_vm._v(" "+_vm._s(item.inputUnit))]:_vm._e(),(item.lessValue || item.bigValue)?_c('span',{staticClass:"ant-input-suffix clear-number-icon",on:{"click":function($event){return _vm.clearFilterNumber(item)}}},[_c('i',{staticClass:"anticon anticon-close-circle ant-input-clear-icon",attrs:{"aria-label":"图标: close-circle","tabindex":"-1"}},[_c('svg',{attrs:{"viewBox":"64 64 896 896","data-icon":"close-circle","width":"1em","height":"1em","fill":"currentColor","aria-hidden":"true","focusable":"false"}},[_c('path',{attrs:{"d":"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}})])])]):_vm._e()],2)]):_vm._t("default",function(){return [(item.con == 'CL')?[(_vm.showPercent(item))?[_c('a-input-number',{staticClass:"CL-input",style:("width: 100%"),attrs:{"min":0,"max":100,"allowClear":"","placeholder":item.placeholder || ("请输入" + (item.alias || item.title))},model:{value:(item.CL),callback:function ($$v) {_vm.$set(item, "CL", $$v)},expression:"item.CL"}})]:[_c('a-input',{staticClass:"CL-input",class:{ 'psw-icon': item.comAttr == 'PASSWORD' },style:({
|
|
@@ -521,7 +521,7 @@ var cloneDeep_default = /*#__PURE__*/__webpack_require__.n(cloneDeep_);
|
|
|
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":"70f3d6c1-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=3d5427ad&
|
|
525
525
|
var multi_selectvue_type_template_id_3d5427ad_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 },style:(_vm.selectWidth),attrs:{"mode":_vm.mode,"placeholder":_vm.item.placeholder || ("请选择" + (_vm.item.alias || _vm.item.title)),"dropdownMatchSelectWidth":false,"maxTagCount":_vm.handleMaxTagCount(_vm.item),"maxTagPlaceholder":_vm.handleMaxTag(_vm.item),"showSearch":"","filterOption":_vm.filterOptionMethod,"allowClear":_vm.item.explicitRequired != 1,"notFoundContent":_vm.fetchingWordbook ? undefined : '暂无数据'},on:{"search":function($event){return _vm.handleWordBookSearch($event, _vm.item)},"change":_vm.handleChange,"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:{"value":d,"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()}
|
|
@@ -879,7 +879,7 @@ var formatWordbookDataUtils = {
|
|
|
879
879
|
// EXTERNAL MODULE: ./packages/table-filter/src/mixins/renderWidget.js
|
|
880
880
|
var renderWidget = __webpack_require__("f6ec");
|
|
881
881
|
|
|
882
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
882
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=10065f0d&
|
|
883
883
|
var tree_selectvue_type_template_id_10065f0d_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'],style:(("width: " + (_vm.item.advanceColWidth||160) + "px")),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.placeholder || ("请选择" + (_vm.item.alias || _vm.item.title))},on:{"select":_vm.treeSelect,"change":_vm.change},scopedSlots:_vm._u([{key:"title",fn:function(ref){
|
|
884
884
|
var key = ref.key;
|
|
885
885
|
var value = ref.value;
|
|
@@ -1872,7 +1872,7 @@ var render_widget_component = Object(componentNormalizer["a" /* default */])(
|
|
|
1872
1872
|
)
|
|
1873
1873
|
|
|
1874
1874
|
/* harmony default export */ var render_widget = (render_widget_component.exports);
|
|
1875
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1875
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=66cbfb80&scoped=true&
|
|
1876
1876
|
var TextOverTooltipvue_type_template_id_66cbfb80_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,"visible":_vm.isDisabledTooltip,"title":_vm.curContent,"placement":_vm.placement}},[_c('div',{staticClass:"ellipsis",class:_vm.className,on:{"mouseover":function($event){return _vm.onMouseOver(_vm.refName)},"mouseout":_vm.onMouseOut}},[_c('i',{ref:_vm.refName},[_vm._t("default"),_c('i',[_vm._v(_vm._s(_vm.content))])],2)])])],1)}
|
|
1877
1877
|
var TextOverTooltipvue_type_template_id_66cbfb80_scoped_true_staticRenderFns = []
|
|
1878
1878
|
|
|
@@ -1987,7 +1987,7 @@ var TextOverTooltip_component = Object(componentNormalizer["a" /* default */])(
|
|
|
1987
1987
|
)
|
|
1988
1988
|
|
|
1989
1989
|
/* harmony default export */ var TextOverTooltip = (TextOverTooltip_component.exports);
|
|
1990
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
1990
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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/checkbox-group/CheckboxGroup.vue?vue&type=template&id=421b28ca&
|
|
1991
1991
|
var CheckboxGroupvue_type_template_id_421b28ca_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CheckboxGroup',_vm._b({attrs:{"value":_vm.valueCp},on:{"change":_vm.onChange}},'CheckboxGroup',_vm.$attrs,false))}
|
|
1992
1992
|
var CheckboxGroupvue_type_template_id_421b28ca_staticRenderFns = []
|
|
1993
1993
|
|
|
@@ -4439,7 +4439,7 @@ var QuickSearch_component = Object(componentNormalizer["a" /* default */])(
|
|
|
4439
4439
|
)
|
|
4440
4440
|
|
|
4441
4441
|
/* harmony default export */ var QuickSearch = (QuickSearch_component.exports);
|
|
4442
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4442
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=35e4c00c&scoped=true&
|
|
4443
4443
|
var Classification_comvue_type_template_id_35e4c00c_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:({
|
|
4444
4444
|
mode: 'VR',
|
|
4445
4445
|
onMove: _vm.changeWidth,
|
|
@@ -4476,14 +4476,14 @@ var Classification_comvue_type_template_id_35e4c00c_scoped_true_staticRenderFns
|
|
|
4476
4476
|
// EXTERNAL MODULE: ./src/directive/flexibleResize.js
|
|
4477
4477
|
var flexibleResize = __webpack_require__("87e0");
|
|
4478
4478
|
|
|
4479
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4479
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=1e2a1c83&scoped=true&
|
|
4480
4480
|
var set_classificationvue_type_template_id_1e2a1c83_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.curConditionList,"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)),_vm._t("searchCondition",function(){return [_c('SearchFilter',_vm._b({ref:"searchFilter",attrs:{"visible":_vm.addVisible,"conditionList":_vm.curConditionList,"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))]},{"attrs":Object.assign({}, _vm.$attrs, {visible: _vm.addVisible, loading: _vm.saveLoading, conditionList: _vm.conditionList, actionList_prop: _vm.actionList_prop, searchFieldList: _vm.searchFieldList, isInSearch: true, isCnHis: true, showCompareField: true, filterApiConfig: _vm.filterApiConfig}),"listeners":{ saveAdd: _vm.saveAdd, cancelSaveAdd: _vm.cancelSaveAdd }})],2)}
|
|
4481
4481
|
var set_classificationvue_type_template_id_1e2a1c83_scoped_true_staticRenderFns = []
|
|
4482
4482
|
|
|
4483
4483
|
|
|
4484
4484
|
// CONCATENATED MODULE: ./packages/table-filter/src/components/search-modal/set-classification.vue?vue&type=template&id=1e2a1c83&scoped=true&
|
|
4485
4485
|
|
|
4486
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4486
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=712c84f2&scoped=true&
|
|
4487
4487
|
var TableModalvue_type_template_id_712c84f2_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)}
|
|
4488
4488
|
var TableModalvue_type_template_id_712c84f2_scoped_true_staticRenderFns = []
|
|
4489
4489
|
|
|
@@ -5266,7 +5266,7 @@ var set_classification_component = Object(componentNormalizer["a" /* default */]
|
|
|
5266
5266
|
)
|
|
5267
5267
|
|
|
5268
5268
|
/* harmony default export */ var set_classification = (set_classification_component.exports);
|
|
5269
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5269
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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&
|
|
5270
5270
|
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)}
|
|
5271
5271
|
var search_professional_modelvue_type_template_id_12700037_scoped_true_staticRenderFns = []
|
|
5272
5272
|
|
|
@@ -5276,7 +5276,7 @@ var search_professional_modelvue_type_template_id_12700037_scoped_true_staticRen
|
|
|
5276
5276
|
// EXTERNAL MODULE: ./packages/table-filter/src/components/search-condition/SearchCondition.vue + 5 modules
|
|
5277
5277
|
var SearchCondition = __webpack_require__("9543");
|
|
5278
5278
|
|
|
5279
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5279
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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&
|
|
5280
5280
|
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)}
|
|
5281
5281
|
var TextOverTooltipvue_type_template_id_7dcebbb6_scoped_true_staticRenderFns = []
|
|
5282
5282
|
|
|
@@ -5366,7 +5366,7 @@ var text_over_tooltip_TextOverTooltip_component = Object(componentNormalizer["a"
|
|
|
5366
5366
|
)
|
|
5367
5367
|
|
|
5368
5368
|
/* harmony default export */ var text_over_tooltip_TextOverTooltip = (text_over_tooltip_TextOverTooltip_component.exports);
|
|
5369
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5369
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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&
|
|
5370
5370
|
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()])}
|
|
5371
5371
|
var search_class_namevue_type_template_id_b160225e_scoped_true_staticRenderFns = []
|
|
5372
5372
|
|
|
@@ -7711,21 +7711,21 @@ var Classification_com_component = Object(componentNormalizer["a" /* default */]
|
|
|
7711
7711
|
)
|
|
7712
7712
|
|
|
7713
7713
|
/* harmony default export */ var Classification_com = (Classification_com_component.exports);
|
|
7714
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7715
|
-
var
|
|
7714
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=555b2bfc&scoped=true&
|
|
7715
|
+
var BaseSearchvue_type_template_id_555b2bfc_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',{directives:[{name:"preventReClick",rawName:"v-preventReClick",value:(_vm.preventReTime),expression:"preventReTime"}],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',{directives:[{name:"preventReClick",rawName:"v-preventReClick",value:(_vm.preventReTime),expression:"preventReTime"}],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.showRelatedSetting)?_c('li',[_c('a-button',{staticClass:"relatedSetting-button",attrs:{"type":"default"},on:{"click":_vm.relatedSetting}},[_c('a-icon',{staticClass:"relate-setting",attrs:{"type":"setting"}})],1)],1):_vm._e(),_vm._t("classification"),(_vm.showQuickSearch)?_c('li',{ref:"quickSearchLi"},[_c('a-button',{staticClass:"search-default",class:{'search-default-count': _vm.qqConObjCount},attrs:{"type":"default"},on:{"click":_vm.foldQuickSearch}},[_c('svg-icon',{staticStyle:{"color":"inherit","margin-right":"6px"},attrs:{"icon-class":"anniushaixuan"}}),_vm._v(" 筛选 "+_vm._s(_vm.qqConObjCount ? ("(" + _vm.qqConObjCount + ")") : '')+" ")],1)],1):_vm._e(),_vm._l((_vm.outSearchFieldList),function(item){return [(item.isRender)?_c('li',{key:item._frontId,staticClass:"outQuickSearch-li"},[_c('RenderWidget',{staticStyle:{"margin":"0 8px 8px 0"},attrs:{"cfg":item,"source":"baseSearch","filterApiConfig":_vm.filterApiConfigOutSearch},on:{"outFilterChange":_vm.outFilterChange},model:{value:(item.value),callback:function ($$v) {_vm.$set(item, "value", $$v)},expression:"item.value"}})],1):_c('outQuickSearch',{key:item.id + item.random_key,ref:item.columnName + item.random_key,refInFor:true,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.isShowInputSearch)?_c('li',{ref:"inputSearchLi",staticClass:"baseSearch-input-search"},[(_vm.outSearchFieldList && _vm.outSearchFieldList.length)?[_vm._t("searchInput",function(){return [_c('a-input',{staticClass:"input-search-com",style:({ width: (_vm.searchInputWidth || _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)]},{"width":(_vm.searchInputWidth || _vm.inputSearchW),"searchPlaceHolder":_vm.searchPlaceHolder,"showPlaceholderPrefix":_vm.showPlaceholderPrefix,"type":'outSearch'})]:[_vm._t("searchInput",function(){return [_c('a-input-search',{staticClass:"my-input-search input-search-com",style:({ width: (_vm.searchInputWidth || _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)]},{"width":(_vm.searchInputWidth || _vm.inputSearchW),"searchPlaceHolder":_vm.searchPlaceHolder,"showPlaceholderPrefix":_vm.showPlaceholderPrefix,"type":'default'})]],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.showApiSearch)?_c('li',[_c('a-button',{staticStyle:{"margin":"0 8px 8px 0"},attrs:{"type":"primary"},on:{"click":_vm.apiSearch}},[_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.isCard)?_c('li',[(_vm.isCardNewBatch)?_c('a-button',{staticStyle:{"margin":"0 8px 8px 0"},attrs:{"type":"primary"},on:{"click":function () { return _vm.changeCardNewBatch(false); }}},[_vm._v(" 取消批量选择 ")]):_c('a-button',{staticStyle:{"margin":"0 8px 8px 0"},attrs:{"type":"primary"},on:{"click":function () { return _vm.changeCardNewBatch(true); }}},[_vm._v(" 批量选择 ")])],1):_vm._e(),(_vm.showRelatedTreeBtn)?[(_vm.showRelatedSearch)?_c('li',{class:[_vm.isRelatedSearchFold ? 'related-search-input' : 'related-search-input-expand']},[_vm._t("searchInput",function(){return [_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)]},{"searchPlaceHolder":_vm.searchPlaceHolder,"showPlaceholderPrefix":_vm.showPlaceholderPrefix,"type":'relatedTreeSearch',"isRelatedSearchFold":_vm.isRelatedSearchFold})],2):_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:({
|
|
7716
7716
|
marginRight: '8px'
|
|
7717
|
-
}),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",attrs:{"data-key":item.sid,"data-source":"rowTile"}},[(_vm.isFrontendComponent(item) && !item.isHide)?[_vm._t("frontendComponent",null,{"curBtn":item},_vm.$attrs)]:(item.type == 'ADD' || item.type == 'BATCH')?[_c('a-button',{directives:[{name:"preventReClick",rawName:"v-preventReClick",value:(_vm.preventReTime),expression:"preventReTime"},{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","customRequest":_vm.importGaugeCustomRequest,"show-upload-list":false}},[_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:"preventReClick",rawName:"v-preventReClick",value:(_vm.preventReTime),expression:"preventReTime"},{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',_vm._b({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}},'PrintBtn',_vm.$attrs,false))]:_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.isFrontendComponent(b))?[(_vm.visibleBtn(b))?_c('a-sub-menu',{key:b.sid,attrs:{"title":b.alias || b.name}},[_vm._t("frontendComponent",null,{"comType":"submenu","curBtn":b},_vm.$attrs)],2):_vm._e()]:(_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 [(_vm.isFrontendComponent(b))?[(_vm.visibleBtn(b))?_c('a-sub-menu',{key:b.sid,attrs:{"title":b.alias || b.name}},[_vm._t("frontendComponent",null,{"comType":"submenu","curBtn":b},_vm.$attrs)],2):_vm._e()]:(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)+" ")])])}
|
|
7718
|
-
var
|
|
7717
|
+
}),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",attrs:{"data-key":item.sid,"data-source":"rowTile"}},[(_vm.isFrontendComponent(item) && !item.isHide)?[_vm._t("frontendComponent",null,{"curBtn":item},_vm.$attrs)]:(item.type == 'ADD' || item.type == 'BATCH')?[_c('a-button',{directives:[{name:"preventReClick",rawName:"v-preventReClick",value:(_vm.preventReTime),expression:"preventReTime"},{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","customRequest":_vm.importGaugeCustomRequest,"show-upload-list":false}},[_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:"preventReClick",rawName:"v-preventReClick",value:(_vm.preventReTime),expression:"preventReTime"},{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',_vm._b({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,"newPrintSetting":item.__newPrintSetting,"printFormatByNumberData":item.__printFormatByNumberData,"params":_vm.getPrintBtnParams(item),"prevFn":function () { return _vm.printBtnPrevFn(_vm.clickRowData, item, 2, j); }},on:{"success":_vm.receivePrintSuccess,"error":_vm.receivePrintError,"saveOuterPrint":function (val) { return _vm.saveOuterPrint(val, item); }}},'PrintBtn',_vm.$attrs,false))]:_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.isFrontendComponent(b))?[(_vm.visibleBtn(b))?_c('a-sub-menu',{key:b.sid,attrs:{"title":b.alias || b.name}},[_vm._t("frontendComponent",null,{"comType":"submenu","curBtn":b},_vm.$attrs)],2):_vm._e()]:(_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 [(_vm.isFrontendComponent(b))?[(_vm.visibleBtn(b))?_c('a-sub-menu',{key:b.sid,attrs:{"title":b.alias || b.name}},[_vm._t("frontendComponent",null,{"comType":"submenu","curBtn":b},_vm.$attrs)],2):_vm._e()]:(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)+" ")])])}
|
|
7718
|
+
var BaseSearchvue_type_template_id_555b2bfc_scoped_true_staticRenderFns = []
|
|
7719
7719
|
|
|
7720
7720
|
|
|
7721
|
-
// CONCATENATED MODULE: ./packages/table-filter/src/base-search-com/BaseSearch.vue?vue&type=template&id=
|
|
7721
|
+
// CONCATENATED MODULE: ./packages/table-filter/src/base-search-com/BaseSearch.vue?vue&type=template&id=555b2bfc&scoped=true&
|
|
7722
7722
|
|
|
7723
7723
|
// CONCATENATED MODULE: ./packages/table-filter/src/const/index.js
|
|
7724
7724
|
var GROUP_TITLE_KEY = "group-show-title";
|
|
7725
7725
|
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/index.vue + 20 modules
|
|
7726
7726
|
var ButtonPrint = __webpack_require__("35a8");
|
|
7727
7727
|
|
|
7728
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7728
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=3e361fe3&scoped=true&
|
|
7729
7729
|
var out_quick_searchvue_type_template_id_3e361fe3_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:({
|
|
7730
7730
|
width: ((_vm.item.advanceColWidth || 200) + "px"),
|
|
7731
7731
|
margin: '0 8px 8px 0',
|
|
@@ -8206,6 +8206,510 @@ var out_quick_search_component = Object(componentNormalizer["a" /* default */])(
|
|
|
8206
8206
|
// EXTERNAL MODULE: external "xe-utils"
|
|
8207
8207
|
var external_xe_utils_ = __webpack_require__("f0af");
|
|
8208
8208
|
|
|
8209
|
+
// EXTERNAL MODULE: external "core-js/modules/es.promise.all-settled.js"
|
|
8210
|
+
var es_promise_all_settled_js_ = __webpack_require__("07c9");
|
|
8211
|
+
|
|
8212
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.iterator.js"
|
|
8213
|
+
var es_string_iterator_js_ = __webpack_require__("9bb5");
|
|
8214
|
+
|
|
8215
|
+
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
|
|
8216
|
+
var web_dom_collections_iterator_js_ = __webpack_require__("1a25");
|
|
8217
|
+
|
|
8218
|
+
// CONCATENATED MODULE: ./packages/table-filter/src/mixins/printNew.js
|
|
8219
|
+
|
|
8220
|
+
|
|
8221
|
+
|
|
8222
|
+
|
|
8223
|
+
|
|
8224
|
+
|
|
8225
|
+
|
|
8226
|
+
|
|
8227
|
+
|
|
8228
|
+
|
|
8229
|
+
|
|
8230
|
+
|
|
8231
|
+
|
|
8232
|
+
|
|
8233
|
+
|
|
8234
|
+
|
|
8235
|
+
|
|
8236
|
+
|
|
8237
|
+
|
|
8238
|
+
|
|
8239
|
+
/* harmony default export */ var printNew = ({
|
|
8240
|
+
data: function data() {
|
|
8241
|
+
return {
|
|
8242
|
+
printConfigCache: {}
|
|
8243
|
+
};
|
|
8244
|
+
},
|
|
8245
|
+
methods: {
|
|
8246
|
+
setPrintConfigCache: function setPrintConfigCache(key, value, isUpdate) {
|
|
8247
|
+
var cacheItem = this.printConfigCache[key];
|
|
8248
|
+
|
|
8249
|
+
if (!cacheItem) {
|
|
8250
|
+
if (isUpdate) return;
|
|
8251
|
+
this.printConfigCache[key] = value;
|
|
8252
|
+
return;
|
|
8253
|
+
}
|
|
8254
|
+
|
|
8255
|
+
Object.assign(cacheItem, Object(objectSpread2["a" /* default */])({}, value));
|
|
8256
|
+
},
|
|
8257
|
+
handlePrintFormatByNumber: function handlePrintFormatByNumber(printItem) {
|
|
8258
|
+
var _this = this;
|
|
8259
|
+
|
|
8260
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
8261
|
+
var params, res;
|
|
8262
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
8263
|
+
while (1) {
|
|
8264
|
+
switch (_context.prev = _context.next) {
|
|
8265
|
+
case 0:
|
|
8266
|
+
if (!(!_this.isLowCode || !(printItem !== null && printItem !== void 0 && printItem.number) || !(printItem !== null && printItem !== void 0 && printItem.authorizationKey))) {
|
|
8267
|
+
_context.next = 2;
|
|
8268
|
+
break;
|
|
8269
|
+
}
|
|
8270
|
+
|
|
8271
|
+
return _context.abrupt("return");
|
|
8272
|
+
|
|
8273
|
+
case 2:
|
|
8274
|
+
params = {
|
|
8275
|
+
number: printItem.number,
|
|
8276
|
+
authorizationKey: printItem.authorizationKey
|
|
8277
|
+
};
|
|
8278
|
+
_context.next = 5;
|
|
8279
|
+
return _this.handleGetConfigApi(params, 'requestGetPrintFormatByNumber');
|
|
8280
|
+
|
|
8281
|
+
case 5:
|
|
8282
|
+
res = _context.sent;
|
|
8283
|
+
return _context.abrupt("return", res);
|
|
8284
|
+
|
|
8285
|
+
case 7:
|
|
8286
|
+
case "end":
|
|
8287
|
+
return _context.stop();
|
|
8288
|
+
}
|
|
8289
|
+
}
|
|
8290
|
+
}, _callee);
|
|
8291
|
+
}))();
|
|
8292
|
+
},
|
|
8293
|
+
handlePrintNumberList: function handlePrintNumberList(list, config) {
|
|
8294
|
+
var _this2 = this;
|
|
8295
|
+
|
|
8296
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
8297
|
+
var _ref, isNew, data, i, item, len, resList, obj, formatRes;
|
|
8298
|
+
|
|
8299
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
8300
|
+
while (1) {
|
|
8301
|
+
switch (_context2.prev = _context2.next) {
|
|
8302
|
+
case 0:
|
|
8303
|
+
if (!(!list || !list.length)) {
|
|
8304
|
+
_context2.next = 2;
|
|
8305
|
+
break;
|
|
8306
|
+
}
|
|
8307
|
+
|
|
8308
|
+
return _context2.abrupt("return", []);
|
|
8309
|
+
|
|
8310
|
+
case 2:
|
|
8311
|
+
_ref = config || {}, isNew = _ref.isNew, data = _ref.data;
|
|
8312
|
+
i = 0, len = list.length;
|
|
8313
|
+
resList = [];
|
|
8314
|
+
|
|
8315
|
+
case 5:
|
|
8316
|
+
if (!(i < len)) {
|
|
8317
|
+
_context2.next = 18;
|
|
8318
|
+
break;
|
|
8319
|
+
}
|
|
8320
|
+
|
|
8321
|
+
item = list[i];
|
|
8322
|
+
obj = Object(objectSpread2["a" /* default */])({}, item);
|
|
8323
|
+
|
|
8324
|
+
if (isNew) {
|
|
8325
|
+
obj = Object(objectSpread2["a" /* default */])({
|
|
8326
|
+
number: item.number,
|
|
8327
|
+
authorizationKey: data === null || data === void 0 ? void 0 : data.authorizationKey,
|
|
8328
|
+
port: data === null || data === void 0 ? void 0 : data.port,
|
|
8329
|
+
versionType: data === null || data === void 0 ? void 0 : data.versionType,
|
|
8330
|
+
id: item.id
|
|
8331
|
+
}, item);
|
|
8332
|
+
}
|
|
8333
|
+
|
|
8334
|
+
if (!(obj.versionType == 2)) {
|
|
8335
|
+
_context2.next = 14;
|
|
8336
|
+
break;
|
|
8337
|
+
}
|
|
8338
|
+
|
|
8339
|
+
_context2.next = 12;
|
|
8340
|
+
return _this2.handlePrintFormatByNumber(obj);
|
|
8341
|
+
|
|
8342
|
+
case 12:
|
|
8343
|
+
formatRes = _context2.sent;
|
|
8344
|
+
formatRes && (obj.__printFormatByNumberData = formatRes);
|
|
8345
|
+
|
|
8346
|
+
case 14:
|
|
8347
|
+
resList.push(obj);
|
|
8348
|
+
|
|
8349
|
+
case 15:
|
|
8350
|
+
i++;
|
|
8351
|
+
_context2.next = 5;
|
|
8352
|
+
break;
|
|
8353
|
+
|
|
8354
|
+
case 18:
|
|
8355
|
+
return _context2.abrupt("return", resList);
|
|
8356
|
+
|
|
8357
|
+
case 19:
|
|
8358
|
+
case "end":
|
|
8359
|
+
return _context2.stop();
|
|
8360
|
+
}
|
|
8361
|
+
}
|
|
8362
|
+
}, _callee2);
|
|
8363
|
+
}))();
|
|
8364
|
+
},
|
|
8365
|
+
saveOuterPrint: function saveOuterPrint(list, item) {
|
|
8366
|
+
var _this3 = this;
|
|
8367
|
+
|
|
8368
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
8369
|
+
var _item$__printConfig;
|
|
8370
|
+
|
|
8371
|
+
var formatIds, templateId, params, res;
|
|
8372
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
8373
|
+
while (1) {
|
|
8374
|
+
switch (_context3.prev = _context3.next) {
|
|
8375
|
+
case 0:
|
|
8376
|
+
if (item !== null && item !== void 0 && item.id) {
|
|
8377
|
+
_context3.next = 2;
|
|
8378
|
+
break;
|
|
8379
|
+
}
|
|
8380
|
+
|
|
8381
|
+
return _context3.abrupt("return");
|
|
8382
|
+
|
|
8383
|
+
case 2:
|
|
8384
|
+
formatIds = '';
|
|
8385
|
+
|
|
8386
|
+
if (list.length) {
|
|
8387
|
+
formatIds = list.map(function (v) {
|
|
8388
|
+
return v.key;
|
|
8389
|
+
}).filter(Boolean).join(',');
|
|
8390
|
+
}
|
|
8391
|
+
|
|
8392
|
+
templateId = (_item$__printConfig = item.__printConfig) === null || _item$__printConfig === void 0 ? void 0 : _item$__printConfig.id;
|
|
8393
|
+
params = {
|
|
8394
|
+
// id: item.__configItem?.id,
|
|
8395
|
+
buttonId: item.id,
|
|
8396
|
+
templateId: templateId,
|
|
8397
|
+
formatIds: formatIds
|
|
8398
|
+
};
|
|
8399
|
+
_context3.next = 8;
|
|
8400
|
+
return _this3.handleGetConfigApi(params, 'requestSavePrintUserConfig');
|
|
8401
|
+
|
|
8402
|
+
case 8:
|
|
8403
|
+
res = _context3.sent;
|
|
8404
|
+
|
|
8405
|
+
if (res) {
|
|
8406
|
+
_context3.next = 11;
|
|
8407
|
+
break;
|
|
8408
|
+
}
|
|
8409
|
+
|
|
8410
|
+
return _context3.abrupt("return");
|
|
8411
|
+
|
|
8412
|
+
case 11:
|
|
8413
|
+
// 保存成功后 打印按钮的宽度有调整, 如果是按钮自适应则需要重新计算按钮宽度
|
|
8414
|
+
_this3.setPrintConfigCache(templateId, {
|
|
8415
|
+
formatIds: formatIds
|
|
8416
|
+
}, true);
|
|
8417
|
+
|
|
8418
|
+
_this3.pageResize({
|
|
8419
|
+
type: 'resize'
|
|
8420
|
+
});
|
|
8421
|
+
|
|
8422
|
+
case 13:
|
|
8423
|
+
case "end":
|
|
8424
|
+
return _context3.stop();
|
|
8425
|
+
}
|
|
8426
|
+
}
|
|
8427
|
+
}, _callee3);
|
|
8428
|
+
}))();
|
|
8429
|
+
},
|
|
8430
|
+
getPrintUserConfigReuqestAll: function getPrintUserConfigReuqestAll() {
|
|
8431
|
+
var _arguments = arguments,
|
|
8432
|
+
_this4 = this;
|
|
8433
|
+
|
|
8434
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
|
8435
|
+
var printNumberList, btnList, reqList, res, resObj;
|
|
8436
|
+
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
8437
|
+
while (1) {
|
|
8438
|
+
switch (_context4.prev = _context4.next) {
|
|
8439
|
+
case 0:
|
|
8440
|
+
printNumberList = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : [];
|
|
8441
|
+
btnList = _arguments.length > 1 && _arguments[1] !== undefined ? _arguments[1] : [];
|
|
8442
|
+
|
|
8443
|
+
if (_this4.isLowCode) {
|
|
8444
|
+
_context4.next = 4;
|
|
8445
|
+
break;
|
|
8446
|
+
}
|
|
8447
|
+
|
|
8448
|
+
return _context4.abrupt("return");
|
|
8449
|
+
|
|
8450
|
+
case 4:
|
|
8451
|
+
if (printNumberList.length) {
|
|
8452
|
+
_context4.next = 6;
|
|
8453
|
+
break;
|
|
8454
|
+
}
|
|
8455
|
+
|
|
8456
|
+
return _context4.abrupt("return");
|
|
8457
|
+
|
|
8458
|
+
case 6:
|
|
8459
|
+
if (btnList.length) {
|
|
8460
|
+
_context4.next = 8;
|
|
8461
|
+
break;
|
|
8462
|
+
}
|
|
8463
|
+
|
|
8464
|
+
return _context4.abrupt("return");
|
|
8465
|
+
|
|
8466
|
+
case 8:
|
|
8467
|
+
reqList = [];
|
|
8468
|
+
printNumberList.forEach(function (item, index) {
|
|
8469
|
+
var btnItem = btnList.find(function (v) {
|
|
8470
|
+
return v.settingObj[0].trigger_id == item.id;
|
|
8471
|
+
});
|
|
8472
|
+
if (!~btnItem) return;
|
|
8473
|
+
var cacheItem = _this4.printConfigCache[item.id];
|
|
8474
|
+
|
|
8475
|
+
if (cacheItem) {
|
|
8476
|
+
var _Promise$resolve;
|
|
8477
|
+
|
|
8478
|
+
reqList.push(Promise.resolve((_Promise$resolve = {}, Object(defineProperty["a" /* default */])(_Promise$resolve, item.id, cacheItem), Object(defineProperty["a" /* default */])(_Promise$resolve, "_id", item.id), _Promise$resolve)));
|
|
8479
|
+
return;
|
|
8480
|
+
}
|
|
8481
|
+
|
|
8482
|
+
var params = {
|
|
8483
|
+
buttonId: btnItem.id,
|
|
8484
|
+
templateId: item.id
|
|
8485
|
+
};
|
|
8486
|
+
reqList.push(_this4.handleGetConfigApi(params, 'requestGetPrintUserConfig'));
|
|
8487
|
+
});
|
|
8488
|
+
|
|
8489
|
+
if (reqList.length) {
|
|
8490
|
+
_context4.next = 12;
|
|
8491
|
+
break;
|
|
8492
|
+
}
|
|
8493
|
+
|
|
8494
|
+
return _context4.abrupt("return");
|
|
8495
|
+
|
|
8496
|
+
case 12:
|
|
8497
|
+
_context4.next = 14;
|
|
8498
|
+
return Promise.allSettled(reqList);
|
|
8499
|
+
|
|
8500
|
+
case 14:
|
|
8501
|
+
res = _context4.sent;
|
|
8502
|
+
|
|
8503
|
+
if (res !== null && res !== void 0 && res.length) {
|
|
8504
|
+
_context4.next = 17;
|
|
8505
|
+
break;
|
|
8506
|
+
}
|
|
8507
|
+
|
|
8508
|
+
return _context4.abrupt("return");
|
|
8509
|
+
|
|
8510
|
+
case 17:
|
|
8511
|
+
resObj = {};
|
|
8512
|
+
res.map(function (v) {
|
|
8513
|
+
if (v.status !== 'fulfilled' || !v.value || !Object.keys(v.value).length) return null;
|
|
8514
|
+
var obj = v.value;
|
|
8515
|
+
|
|
8516
|
+
_this4.setPrintConfigCache(obj._id, obj[obj._id]);
|
|
8517
|
+
|
|
8518
|
+
Object.assign(resObj, Object(objectSpread2["a" /* default */])({}, v.value));
|
|
8519
|
+
});
|
|
8520
|
+
return _context4.abrupt("return", Promise.resolve(resObj));
|
|
8521
|
+
|
|
8522
|
+
case 20:
|
|
8523
|
+
case "end":
|
|
8524
|
+
return _context4.stop();
|
|
8525
|
+
}
|
|
8526
|
+
}
|
|
8527
|
+
}, _callee4);
|
|
8528
|
+
}))();
|
|
8529
|
+
},
|
|
8530
|
+
getPrintNumber: function getPrintNumber(list) {
|
|
8531
|
+
var _this5 = this;
|
|
8532
|
+
|
|
8533
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
|
|
8534
|
+
var ids, printNumberCacheKeys, haveCache, _printNumberList, _printNumberList2, printNumberList, hasId, hasPrintFormat, res, newList;
|
|
8535
|
+
|
|
8536
|
+
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
8537
|
+
while (1) {
|
|
8538
|
+
switch (_context5.prev = _context5.next) {
|
|
8539
|
+
case 0:
|
|
8540
|
+
if (list !== null && list !== void 0 && list.length) {
|
|
8541
|
+
_context5.next = 2;
|
|
8542
|
+
break;
|
|
8543
|
+
}
|
|
8544
|
+
|
|
8545
|
+
return _context5.abrupt("return");
|
|
8546
|
+
|
|
8547
|
+
case 2:
|
|
8548
|
+
ids = list.map(function (item) {
|
|
8549
|
+
return item.settingObj[0].trigger_id;
|
|
8550
|
+
}).join(',');
|
|
8551
|
+
printNumberCacheKeys = Object.keys(_this5.printNumberCache);
|
|
8552
|
+
haveCache = printNumberCacheKeys.includes(ids);
|
|
8553
|
+
|
|
8554
|
+
if (!haveCache) {
|
|
8555
|
+
_context5.next = 16;
|
|
8556
|
+
break;
|
|
8557
|
+
}
|
|
8558
|
+
|
|
8559
|
+
printNumberList = _this5.printNumberCache[ids];
|
|
8560
|
+
hasId = ((_printNumberList = printNumberList) === null || _printNumberList === void 0 ? void 0 : _printNumberList.length) && ((_printNumberList2 = printNumberList) === null || _printNumberList2 === void 0 ? void 0 : _printNumberList2.every(function (item) {
|
|
8561
|
+
return !!item.id;
|
|
8562
|
+
}));
|
|
8563
|
+
|
|
8564
|
+
if (!hasId) {
|
|
8565
|
+
_context5.next = 16;
|
|
8566
|
+
break;
|
|
8567
|
+
}
|
|
8568
|
+
|
|
8569
|
+
_this5.printBtnStrategys = printNumberList;
|
|
8570
|
+
hasPrintFormat = printNumberList.every(function (item) {
|
|
8571
|
+
return !!item.__printFormatByNumberData;
|
|
8572
|
+
});
|
|
8573
|
+
|
|
8574
|
+
if (hasPrintFormat) {
|
|
8575
|
+
_context5.next = 15;
|
|
8576
|
+
break;
|
|
8577
|
+
}
|
|
8578
|
+
|
|
8579
|
+
_context5.next = 14;
|
|
8580
|
+
return _this5.handlePrintNumberList(printNumberList);
|
|
8581
|
+
|
|
8582
|
+
case 14:
|
|
8583
|
+
printNumberList = _context5.sent;
|
|
8584
|
+
|
|
8585
|
+
case 15:
|
|
8586
|
+
return _context5.abrupt("return", Promise.resolve(printNumberList));
|
|
8587
|
+
|
|
8588
|
+
case 16:
|
|
8589
|
+
_context5.next = 18;
|
|
8590
|
+
return _this5.handleGetConfigApi({
|
|
8591
|
+
ids: ids
|
|
8592
|
+
}, 'requestGetByIds');
|
|
8593
|
+
|
|
8594
|
+
case 18:
|
|
8595
|
+
res = _context5.sent;
|
|
8596
|
+
_context5.next = 21;
|
|
8597
|
+
return _this5.handleGetByIdsList(res, {
|
|
8598
|
+
ids: ids,
|
|
8599
|
+
list: list
|
|
8600
|
+
});
|
|
8601
|
+
|
|
8602
|
+
case 21:
|
|
8603
|
+
newList = _context5.sent;
|
|
8604
|
+
return _context5.abrupt("return", Promise.resolve(newList));
|
|
8605
|
+
|
|
8606
|
+
case 23:
|
|
8607
|
+
case "end":
|
|
8608
|
+
return _context5.stop();
|
|
8609
|
+
}
|
|
8610
|
+
}
|
|
8611
|
+
}, _callee5);
|
|
8612
|
+
}))();
|
|
8613
|
+
},
|
|
8614
|
+
handleGetByIdsList: function handleGetByIdsList(res, config) {
|
|
8615
|
+
var _this6 = this;
|
|
8616
|
+
|
|
8617
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
|
8618
|
+
var ids, oldList, status, data, resList, list, len;
|
|
8619
|
+
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
8620
|
+
while (1) {
|
|
8621
|
+
switch (_context6.prev = _context6.next) {
|
|
8622
|
+
case 0:
|
|
8623
|
+
ids = config.ids, oldList = config.list;
|
|
8624
|
+
status = res.status, data = res.data;
|
|
8625
|
+
|
|
8626
|
+
if (status) {
|
|
8627
|
+
_context6.next = 4;
|
|
8628
|
+
break;
|
|
8629
|
+
}
|
|
8630
|
+
|
|
8631
|
+
return _context6.abrupt("return", oldList);
|
|
8632
|
+
|
|
8633
|
+
case 4:
|
|
8634
|
+
resList = (data === null || data === void 0 ? void 0 : data.list) || [];
|
|
8635
|
+
_this6.printBtnStrategys = resList;
|
|
8636
|
+
_context6.next = 8;
|
|
8637
|
+
return _this6.handlePrintNumberList(resList, {
|
|
8638
|
+
isNew: true,
|
|
8639
|
+
data: data
|
|
8640
|
+
});
|
|
8641
|
+
|
|
8642
|
+
case 8:
|
|
8643
|
+
list = _context6.sent;
|
|
8644
|
+
len = (list === null || list === void 0 ? void 0 : list.length) || 0;
|
|
8645
|
+
|
|
8646
|
+
if (len) {
|
|
8647
|
+
_this6.setPrintNumberCache({
|
|
8648
|
+
ids: ids,
|
|
8649
|
+
list: list
|
|
8650
|
+
});
|
|
8651
|
+
}
|
|
8652
|
+
|
|
8653
|
+
return _context6.abrupt("return", list);
|
|
8654
|
+
|
|
8655
|
+
case 12:
|
|
8656
|
+
case "end":
|
|
8657
|
+
return _context6.stop();
|
|
8658
|
+
}
|
|
8659
|
+
}
|
|
8660
|
+
}, _callee6);
|
|
8661
|
+
}))();
|
|
8662
|
+
},
|
|
8663
|
+
setPrintNumberToBtnList: function setPrintNumberToBtnList() {
|
|
8664
|
+
var _this7 = this;
|
|
8665
|
+
|
|
8666
|
+
var printNumberList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
8667
|
+
var btnList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
8668
|
+
var configObj = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
8669
|
+
var cloneList = cloneDeep_default()(btnList);
|
|
8670
|
+
printNumberList.forEach(function (item, index) {
|
|
8671
|
+
var _configItem$formatIds, _item$__printFormatBy, _item$__printFormatBy2, _item$__printFormatBy3, _formatList$find;
|
|
8672
|
+
|
|
8673
|
+
var i = cloneList.findIndex(function (v) {
|
|
8674
|
+
return v.settingObj[0].trigger_id == item.id;
|
|
8675
|
+
});
|
|
8676
|
+
if (!~i) return;
|
|
8677
|
+
var cItem = cloneList[i];
|
|
8678
|
+
var printConfig = {
|
|
8679
|
+
number: item.number,
|
|
8680
|
+
authorizationKey: item.authorizationKey,
|
|
8681
|
+
port: item.port,
|
|
8682
|
+
versionType: item.versionType,
|
|
8683
|
+
hisParams: {
|
|
8684
|
+
reportid: item.number
|
|
8685
|
+
},
|
|
8686
|
+
id: item.id
|
|
8687
|
+
};
|
|
8688
|
+
cItem.__printConfig = printConfig;
|
|
8689
|
+
if (!_this7.isLowCode) return;
|
|
8690
|
+
var configItem = configObj[item.id] || {};
|
|
8691
|
+
var outerPrintKeys = configItem.formatIds && ((_configItem$formatIds = configItem.formatIds) === null || _configItem$formatIds === void 0 ? void 0 : _configItem$formatIds.split(',').filter(Boolean)) || [];
|
|
8692
|
+
var formatList = ((_item$__printFormatBy = item.__printFormatByNumberData) === null || _item$__printFormatBy === void 0 ? void 0 : (_item$__printFormatBy2 = _item$__printFormatBy.obj) === null || _item$__printFormatBy2 === void 0 ? void 0 : (_item$__printFormatBy3 = _item$__printFormatBy2[0]) === null || _item$__printFormatBy3 === void 0 ? void 0 : _item$__printFormatBy3.format) || []; // 如果仅存在一个格式,哪怕没默认格式,按钮也展示 打印{格式名称},点击名称就是直接打印
|
|
8693
|
+
|
|
8694
|
+
var defaultFormatId = ((_formatList$find = formatList.find(function (v) {
|
|
8695
|
+
return v.defaultFlag == 1;
|
|
8696
|
+
})) === null || _formatList$find === void 0 ? void 0 : _formatList$find.id) || ''; // 低代码都走新的打印逻辑
|
|
8697
|
+
|
|
8698
|
+
var newPrintSetting = {
|
|
8699
|
+
isShowPrintAll: false,
|
|
8700
|
+
isShowOutSetting: true,
|
|
8701
|
+
customProps: {},
|
|
8702
|
+
outerPrintKeys: outerPrintKeys,
|
|
8703
|
+
defaultFormatId: defaultFormatId
|
|
8704
|
+
};
|
|
8705
|
+
cItem.__configItem = configItem || {};
|
|
8706
|
+
cItem.__newPrintSetting = newPrintSetting;
|
|
8707
|
+
cItem.__printFormatByNumberData = item.__printFormatByNumberData;
|
|
8708
|
+
});
|
|
8709
|
+
return cloneList;
|
|
8710
|
+
}
|
|
8711
|
+
}
|
|
8712
|
+
});
|
|
8209
8713
|
// EXTERNAL MODULE: external "text-security/text-security.css"
|
|
8210
8714
|
var text_security_css_ = __webpack_require__("98ea");
|
|
8211
8715
|
|
|
@@ -8256,7 +8760,7 @@ var getBtnIcon = {
|
|
|
8256
8760
|
}
|
|
8257
8761
|
};
|
|
8258
8762
|
/* harmony default export */ var button_icon_getBtnIcon = (getBtnIcon);
|
|
8259
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8763
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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&
|
|
8260
8764
|
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)}
|
|
8261
8765
|
var ButtonGroupvue_type_template_id_7d6830ea_scoped_true_staticRenderFns = []
|
|
8262
8766
|
|
|
@@ -8793,6 +9297,9 @@ var BaseSearchvue_type_script_lang_js_components;
|
|
|
8793
9297
|
//
|
|
8794
9298
|
//
|
|
8795
9299
|
//
|
|
9300
|
+
//
|
|
9301
|
+
//
|
|
9302
|
+
//
|
|
8796
9303
|
|
|
8797
9304
|
/**
|
|
8798
9305
|
* 完成搜索组合组件 BaseSearch
|
|
@@ -8831,6 +9338,7 @@ var BaseSearchvue_type_script_lang_js_components;
|
|
|
8831
9338
|
|
|
8832
9339
|
|
|
8833
9340
|
|
|
9341
|
+
|
|
8834
9342
|
/** 获取按钮 icon */
|
|
8835
9343
|
|
|
8836
9344
|
|
|
@@ -8870,7 +9378,7 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
8870
9378
|
};
|
|
8871
9379
|
/* harmony default export */ var BaseSearchvue_type_script_lang_js_ = (Object(create["a" /* default */])({
|
|
8872
9380
|
name: 'base-search',
|
|
8873
|
-
mixins: [mixins["b" /* durationMixin */], mixins["a" /* $utils */], mixins["c" /* filterApiFn */], tableSearchCon, mixins["e" /* outQuickSearchFn */], mixins["d" /* outQuickSearchDefCommon */], out_quick_method, dynamic_method],
|
|
9381
|
+
mixins: [mixins["b" /* durationMixin */], mixins["a" /* $utils */], mixins["c" /* filterApiFn */], tableSearchCon, mixins["e" /* outQuickSearchFn */], mixins["d" /* outQuickSearchDefCommon */], out_quick_method, dynamic_method, printNew],
|
|
8874
9382
|
directives: {
|
|
8875
9383
|
resize: external_vue_resize_directive_default.a,
|
|
8876
9384
|
preventReClick: preventReClick
|
|
@@ -9093,6 +9601,9 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
9093
9601
|
}
|
|
9094
9602
|
},
|
|
9095
9603
|
computed: {
|
|
9604
|
+
isLowCode: function isLowCode() {
|
|
9605
|
+
return this.libSource === 'lowCode';
|
|
9606
|
+
},
|
|
9096
9607
|
isOrgAdmin: function isOrgAdmin() {
|
|
9097
9608
|
return this.isAdmin;
|
|
9098
9609
|
},
|
|
@@ -10159,7 +10670,7 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
10159
10670
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
|
10160
10671
|
var _rowBtnList;
|
|
10161
10672
|
|
|
10162
|
-
var rowFoldBtnList, rowTileBtnList, rowPrintBtnList, useButton, rowBtnList, printNumberList;
|
|
10673
|
+
var rowFoldBtnList, rowTileBtnList, rowPrintBtnList, useButton, rowBtnList, printNumberList, configObj;
|
|
10163
10674
|
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
10164
10675
|
while (1) {
|
|
10165
10676
|
switch (_context6.prev = _context6.next) {
|
|
@@ -10268,7 +10779,12 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
10268
10779
|
|
|
10269
10780
|
case 24:
|
|
10270
10781
|
printNumberList = _context6.t0;
|
|
10271
|
-
|
|
10782
|
+
_context6.next = 27;
|
|
10783
|
+
return _this15.getPrintUserConfigReuqestAll(printNumberList, rowPrintBtnList);
|
|
10784
|
+
|
|
10785
|
+
case 27:
|
|
10786
|
+
configObj = _context6.sent;
|
|
10787
|
+
rowPrintBtnList = _this15.setPrintNumberToBtnList(printNumberList, rowPrintBtnList, configObj); // this.rowPrintBtnList = rowPrintBtnList;
|
|
10272
10788
|
// 添加批量打印策略:strategy: MULTI(循环多条, 默认值, 为空时使用该策略) ONCE(聚合一条)
|
|
10273
10789
|
|
|
10274
10790
|
_this15.rowPrintBtnList = rowPrintBtnList.map(function (item) {
|
|
@@ -10286,20 +10802,20 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
10286
10802
|
_this15.handleButtonGroup(useButton);
|
|
10287
10803
|
|
|
10288
10804
|
if (!_this15.isShowSetting('buttonAdaption')) {
|
|
10289
|
-
_context6.next =
|
|
10805
|
+
_context6.next = 34;
|
|
10290
10806
|
break;
|
|
10291
10807
|
}
|
|
10292
10808
|
|
|
10293
10809
|
return _context6.abrupt("return");
|
|
10294
10810
|
|
|
10295
|
-
case
|
|
10811
|
+
case 34:
|
|
10296
10812
|
_this15.$nextTick(function () {
|
|
10297
10813
|
_this15.handleTileBtnWidth();
|
|
10298
10814
|
|
|
10299
10815
|
_this15.dealOutFilterHideBtn();
|
|
10300
10816
|
});
|
|
10301
10817
|
|
|
10302
|
-
case
|
|
10818
|
+
case 35:
|
|
10303
10819
|
case "end":
|
|
10304
10820
|
return _context6.stop();
|
|
10305
10821
|
}
|
|
@@ -10768,219 +11284,114 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
10768
11284
|
var setData = JSON.parse(btn.setting);
|
|
10769
11285
|
var paramsArray = [];
|
|
10770
11286
|
paramsData.form.selectRows.forEach(function (i) {
|
|
11287
|
+
var _btn$__printConfig;
|
|
11288
|
+
|
|
10771
11289
|
var obj = {
|
|
10772
11290
|
table: i
|
|
10773
11291
|
}; // paramsArray.push(utils.setParamsValue(setData[0].params, Object.assign(paramsData, { obj })));
|
|
10774
11292
|
|
|
10775
|
-
|
|
11293
|
+
var resParams = utils_map_default.a.setParamsValue(setData[0].params, Object.assign(paramsData, {
|
|
10776
11294
|
obj: obj,
|
|
10777
11295
|
table: i
|
|
10778
|
-
}))
|
|
10779
|
-
});
|
|
10780
|
-
return paramsArray;
|
|
10781
|
-
},
|
|
10782
|
-
setPrintNumberToBtnList: function setPrintNumberToBtnList() {
|
|
10783
|
-
var printNumberList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
10784
|
-
var btnList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
10785
|
-
var cloneList = cloneDeep_default()(btnList);
|
|
10786
|
-
printNumberList.forEach(function (item, index) {
|
|
10787
|
-
var i = cloneList.findIndex(function (v) {
|
|
10788
|
-
return v.settingObj[0].trigger_id == item.id;
|
|
10789
|
-
});
|
|
11296
|
+
})) || {};
|
|
10790
11297
|
|
|
10791
|
-
if (
|
|
10792
|
-
|
|
10793
|
-
|
|
10794
|
-
authorizationKey: item.authorizationKey,
|
|
10795
|
-
port: item.port,
|
|
10796
|
-
versionType: item.versionType,
|
|
10797
|
-
hisParams: {
|
|
10798
|
-
reportid: item.number
|
|
10799
|
-
}
|
|
10800
|
-
};
|
|
10801
|
-
} // cloneList[index].__printConfig = {
|
|
10802
|
-
// number: item.number,
|
|
10803
|
-
// authorizationKey: item.authorizationKey,
|
|
10804
|
-
// port: item.port,
|
|
10805
|
-
// versionType: item.versionType,
|
|
10806
|
-
// hisParams: { reportid: item.number }
|
|
10807
|
-
// };
|
|
11298
|
+
if (btn !== null && btn !== void 0 && (_btn$__printConfig = btn.__printConfig) !== null && _btn$__printConfig !== void 0 && _btn$__printConfig.number) {
|
|
11299
|
+
resParams.templateNumbers = [btn.__printConfig.number];
|
|
11300
|
+
}
|
|
10808
11301
|
|
|
11302
|
+
paramsArray.push(resParams);
|
|
10809
11303
|
});
|
|
10810
|
-
return
|
|
11304
|
+
return paramsArray;
|
|
10811
11305
|
},
|
|
10812
|
-
|
|
11306
|
+
receivePrintSuccessAboutPrint: function receivePrintSuccessAboutPrint(res, info) {
|
|
10813
11307
|
var _this23 = this;
|
|
10814
11308
|
|
|
10815
11309
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
|
|
10816
|
-
var
|
|
10817
|
-
|
|
10818
|
-
var ids, printNumberCacheKeys, haveCache, printNumberList, res, status, data, _list2, resList, len;
|
|
11310
|
+
var printBtn, templateId, formatId, number, _this23$editTableWrap, _this23$editTableWrap2, _this23$editTableWrap3, print, result;
|
|
10819
11311
|
|
|
10820
11312
|
return regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
10821
11313
|
while (1) {
|
|
10822
11314
|
switch (_context7.prev = _context7.next) {
|
|
10823
11315
|
case 0:
|
|
10824
|
-
|
|
10825
|
-
_context7.next = 2;
|
|
10826
|
-
break;
|
|
10827
|
-
}
|
|
10828
|
-
|
|
10829
|
-
return _context7.abrupt("return");
|
|
10830
|
-
|
|
10831
|
-
case 2:
|
|
10832
|
-
ids = list.map(function (item) {
|
|
10833
|
-
return item.settingObj[0].trigger_id;
|
|
10834
|
-
}).join(',');
|
|
10835
|
-
printNumberCacheKeys = Object.keys(_this23.printNumberCache);
|
|
10836
|
-
haveCache = printNumberCacheKeys.includes(ids);
|
|
10837
|
-
|
|
10838
|
-
if (!haveCache) {
|
|
10839
|
-
_context7.next = 9;
|
|
10840
|
-
break;
|
|
10841
|
-
}
|
|
10842
|
-
|
|
10843
|
-
printNumberList = _this23.printNumberCache[ids];
|
|
10844
|
-
_this23.printBtnStrategys = printNumberList;
|
|
10845
|
-
return _context7.abrupt("return", Promise.resolve(printNumberList));
|
|
10846
|
-
|
|
10847
|
-
case 9:
|
|
10848
|
-
_context7.next = 11;
|
|
10849
|
-
return _this23.handleGetConfigApi({
|
|
10850
|
-
ids: ids
|
|
10851
|
-
}, 'requestGetByIds');
|
|
10852
|
-
|
|
10853
|
-
case 11:
|
|
10854
|
-
res = _context7.sent;
|
|
10855
|
-
status = res.status, data = res.data;
|
|
10856
|
-
|
|
10857
|
-
if (!status) {
|
|
10858
|
-
_context7.next = 20;
|
|
10859
|
-
break;
|
|
10860
|
-
}
|
|
10861
|
-
|
|
10862
|
-
resList = (data === null || data === void 0 ? void 0 : data.list) || [];
|
|
10863
|
-
_this23.printBtnStrategys = resList;
|
|
10864
|
-
list = resList.map(function (item) {
|
|
10865
|
-
return Object(objectSpread2["a" /* default */])({
|
|
10866
|
-
number: item.number,
|
|
10867
|
-
authorizationKey: data.authorizationKey,
|
|
10868
|
-
versionType: data.versionType,
|
|
10869
|
-
port: data.port,
|
|
10870
|
-
id: item.id
|
|
10871
|
-
}, item);
|
|
10872
|
-
});
|
|
10873
|
-
len = ((_list2 = list) === null || _list2 === void 0 ? void 0 : _list2.length) || 0;
|
|
10874
|
-
|
|
10875
|
-
if (len > 0) {
|
|
10876
|
-
_this23.setPrintNumberCache({
|
|
10877
|
-
ids: ids,
|
|
10878
|
-
list: list
|
|
10879
|
-
});
|
|
10880
|
-
}
|
|
10881
|
-
|
|
10882
|
-
return _context7.abrupt("return", list);
|
|
10883
|
-
|
|
10884
|
-
case 20:
|
|
10885
|
-
return _context7.abrupt("return", list);
|
|
10886
|
-
|
|
10887
|
-
case 21:
|
|
10888
|
-
case "end":
|
|
10889
|
-
return _context7.stop();
|
|
10890
|
-
}
|
|
10891
|
-
}
|
|
10892
|
-
}, _callee7);
|
|
10893
|
-
}))();
|
|
10894
|
-
},
|
|
10895
|
-
receivePrintSuccessAboutPrint: function receivePrintSuccessAboutPrint(res, info) {
|
|
10896
|
-
var _this24 = this;
|
|
10897
|
-
|
|
10898
|
-
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
|
|
10899
|
-
var printBtn, templateId, formatId, number, _this24$editTableWrap, _this24$editTableWrap2, _this24$editTableWrap3, print, result;
|
|
10900
|
-
|
|
10901
|
-
return regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
10902
|
-
while (1) {
|
|
10903
|
-
switch (_context8.prev = _context8.next) {
|
|
10904
|
-
case 0:
|
|
10905
|
-
printBtn = _this24.printBtn;
|
|
11316
|
+
printBtn = _this23.printBtn;
|
|
10906
11317
|
templateId = info.templateId;
|
|
10907
11318
|
formatId = info.formatId;
|
|
10908
11319
|
number = printBtn.__printConfig.number;
|
|
10909
|
-
|
|
11320
|
+
_context7.prev = 4;
|
|
10910
11321
|
print = {
|
|
10911
11322
|
formatId: formatId,
|
|
10912
11323
|
number: number
|
|
10913
11324
|
}; // 执行打印后置条件
|
|
10914
11325
|
|
|
10915
|
-
|
|
10916
|
-
return
|
|
11326
|
+
_context7.next = 8;
|
|
11327
|
+
return _this23.printConfig.postStepRule(printBtn.settingObj, {
|
|
10917
11328
|
result: res,
|
|
10918
11329
|
print: print
|
|
10919
11330
|
});
|
|
10920
11331
|
|
|
10921
11332
|
case 8:
|
|
10922
|
-
result =
|
|
11333
|
+
result = _context7.sent;
|
|
10923
11334
|
|
|
10924
11335
|
if (!(result.method !== 'sync')) {
|
|
10925
|
-
|
|
11336
|
+
_context7.next = 11;
|
|
10926
11337
|
break;
|
|
10927
11338
|
}
|
|
10928
11339
|
|
|
10929
|
-
return
|
|
11340
|
+
return _context7.abrupt("return");
|
|
10930
11341
|
|
|
10931
11342
|
case 11:
|
|
10932
11343
|
// 同步刷新列表
|
|
10933
|
-
(
|
|
11344
|
+
(_this23$editTableWrap = _this23.editTableWrapper) === null || _this23$editTableWrap === void 0 ? void 0 : (_this23$editTableWrap2 = _this23$editTableWrap.$refs) === null || _this23$editTableWrap2 === void 0 ? void 0 : (_this23$editTableWrap3 = _this23$editTableWrap2.editTable) === null || _this23$editTableWrap3 === void 0 ? void 0 : _this23$editTableWrap3.getTableList({
|
|
10934
11345
|
setNum: true,
|
|
10935
11346
|
isResetCondiTionDigital: true
|
|
10936
11347
|
});
|
|
10937
|
-
|
|
11348
|
+
_context7.next = 17;
|
|
10938
11349
|
break;
|
|
10939
11350
|
|
|
10940
11351
|
case 14:
|
|
10941
|
-
|
|
10942
|
-
|
|
10943
|
-
console.log('error',
|
|
11352
|
+
_context7.prev = 14;
|
|
11353
|
+
_context7.t0 = _context7["catch"](4);
|
|
11354
|
+
console.log('error', _context7.t0);
|
|
10944
11355
|
|
|
10945
11356
|
case 17:
|
|
10946
11357
|
case "end":
|
|
10947
|
-
return
|
|
11358
|
+
return _context7.stop();
|
|
10948
11359
|
}
|
|
10949
11360
|
}
|
|
10950
|
-
},
|
|
11361
|
+
}, _callee7, null, [[4, 14]]);
|
|
10951
11362
|
}))();
|
|
10952
11363
|
},
|
|
10953
11364
|
receivePrintSuccess: function receivePrintSuccess(res, info) {
|
|
10954
|
-
var
|
|
11365
|
+
var _this24 = this;
|
|
10955
11366
|
|
|
10956
|
-
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
10957
|
-
return regeneratorRuntime.wrap(function
|
|
11367
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
|
|
11368
|
+
return regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
10958
11369
|
while (1) {
|
|
10959
|
-
switch (
|
|
11370
|
+
switch (_context8.prev = _context8.next) {
|
|
10960
11371
|
case 0:
|
|
10961
11372
|
if (!(info.type === 'print')) {
|
|
10962
|
-
|
|
11373
|
+
_context8.next = 3;
|
|
10963
11374
|
break;
|
|
10964
11375
|
}
|
|
10965
11376
|
|
|
10966
|
-
|
|
10967
|
-
return
|
|
11377
|
+
_context8.next = 3;
|
|
11378
|
+
return _this24.receivePrintSuccessAboutPrint(res, info);
|
|
10968
11379
|
|
|
10969
11380
|
case 3:
|
|
10970
|
-
if (info.type === 'download' &&
|
|
10971
|
-
|
|
11381
|
+
if (info.type === 'download' && _this24.receivePrintSuccessDownloadPdf && typeof _this24.receivePrintSuccessDownloadPdf === 'function') {
|
|
11382
|
+
_this24.receivePrintSuccessDownloadPdf(res);
|
|
10972
11383
|
}
|
|
10973
11384
|
|
|
10974
11385
|
setTimeout(function () {
|
|
10975
|
-
|
|
11386
|
+
_this24.$message.success(res.message);
|
|
10976
11387
|
}, 3500);
|
|
10977
11388
|
|
|
10978
11389
|
case 5:
|
|
10979
11390
|
case "end":
|
|
10980
|
-
return
|
|
11391
|
+
return _context8.stop();
|
|
10981
11392
|
}
|
|
10982
11393
|
}
|
|
10983
|
-
},
|
|
11394
|
+
}, _callee8);
|
|
10984
11395
|
}))();
|
|
10985
11396
|
},
|
|
10986
11397
|
receivePrintError: function receivePrintError(res) {
|
|
@@ -10989,20 +11400,20 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
10989
11400
|
this.$message.error(errorMsg);
|
|
10990
11401
|
},
|
|
10991
11402
|
resetAllPrintFnWatch: function resetAllPrintFnWatch() {
|
|
10992
|
-
var
|
|
11403
|
+
var _this25 = this;
|
|
10993
11404
|
|
|
10994
11405
|
var keys = Object.keys(this.printBtnPrevFnWatch);
|
|
10995
11406
|
keys.forEach(function (key) {
|
|
10996
|
-
if (!
|
|
11407
|
+
if (!_this25.printBtnPrevFnWatch[key]) return false;
|
|
10997
11408
|
|
|
10998
|
-
|
|
11409
|
+
_this25.printBtnPrevFnWatch[key]();
|
|
10999
11410
|
|
|
11000
|
-
|
|
11001
|
-
delete
|
|
11411
|
+
_this25.printBtnPrevFnWatch[key] = null;
|
|
11412
|
+
delete _this25.printBtnPrevFnWatch[key];
|
|
11002
11413
|
});
|
|
11003
11414
|
},
|
|
11004
11415
|
printBtnPrevFnWatchSetTimeout: function printBtnPrevFnWatchSetTimeout(reject) {
|
|
11005
|
-
var
|
|
11416
|
+
var _this26 = this;
|
|
11006
11417
|
|
|
11007
11418
|
if (this.printBtnPrevFnWatchTimeoutTimer) {
|
|
11008
11419
|
clearTimeout(this.printBtnPrevFnWatchTimeoutTimer);
|
|
@@ -11010,35 +11421,35 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
11010
11421
|
}
|
|
11011
11422
|
|
|
11012
11423
|
this.printBtnPrevFnWatchTimeoutTimer = setTimeout(function () {
|
|
11013
|
-
|
|
11424
|
+
_this26.resetAllPrintFnWatch();
|
|
11014
11425
|
|
|
11015
11426
|
reject();
|
|
11016
11427
|
}, 10000);
|
|
11017
11428
|
},
|
|
11018
11429
|
printBtnPrevFn: function printBtnPrevFn(clickBtn, btn, type, j) {
|
|
11019
|
-
var
|
|
11430
|
+
var _this27 = this;
|
|
11020
11431
|
|
|
11021
11432
|
return new Promise(function (resolve, reject) {
|
|
11022
11433
|
/*
|
|
11023
11434
|
触发原按钮流程,在EditTable中触发原打印按钮节点时,修改[printPrevFinish]状态
|
|
11024
11435
|
触发watch,再执行Promise.resolve()
|
|
11025
11436
|
*/
|
|
11026
|
-
|
|
11437
|
+
_this27.clickBtn(clickBtn, btn, clickBtn.my_index, true, j);
|
|
11027
11438
|
|
|
11028
11439
|
var timestamp = Date.now();
|
|
11029
11440
|
|
|
11030
|
-
|
|
11441
|
+
_this27.resetAllPrintFnWatch();
|
|
11031
11442
|
|
|
11032
|
-
|
|
11033
|
-
|
|
11034
|
-
if (!
|
|
11443
|
+
_this27.printPrevFinish = false;
|
|
11444
|
+
_this27.printBtnPrevFnWatch[timestamp] = _this27.$watch('printPrevFinish', function (val) {
|
|
11445
|
+
if (!_this27.printBtnPrevFnWatch[timestamp]) return false;
|
|
11035
11446
|
|
|
11036
|
-
|
|
11447
|
+
_this27.resetAllPrintFnWatch();
|
|
11037
11448
|
|
|
11038
11449
|
resolve();
|
|
11039
11450
|
});
|
|
11040
11451
|
|
|
11041
|
-
|
|
11452
|
+
_this27.printBtnPrevFnWatchSetTimeout(reject);
|
|
11042
11453
|
});
|
|
11043
11454
|
},
|
|
11044
11455
|
inlineEditClick: function inlineEditClick() {
|
|
@@ -11070,11 +11481,11 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
11070
11481
|
* 获取外显检索的默认值设置
|
|
11071
11482
|
*/
|
|
11072
11483
|
handleGetOutSearchInitValue: function handleGetOutSearchInitValue() {
|
|
11073
|
-
var
|
|
11484
|
+
var _this28 = this;
|
|
11074
11485
|
|
|
11075
11486
|
var isSetDefVal = this.outSearchFieldList.some(function (v) {
|
|
11076
|
-
if (
|
|
11077
|
-
return
|
|
11487
|
+
if (_this28.isRender(v)) {
|
|
11488
|
+
return _this28.isExistDefValByRenderWidget(v);
|
|
11078
11489
|
}
|
|
11079
11490
|
|
|
11080
11491
|
return !!v.explicitDefaultVal;
|
|
@@ -11126,20 +11537,20 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
11126
11537
|
* 赋值给检索外显
|
|
11127
11538
|
*/
|
|
11128
11539
|
setOutFilterValues: function setOutFilterValues(obj) {
|
|
11129
|
-
var
|
|
11540
|
+
var _this29 = this;
|
|
11130
11541
|
|
|
11131
|
-
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
11542
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
|
|
11132
11543
|
var outObj;
|
|
11133
|
-
return regeneratorRuntime.wrap(function
|
|
11544
|
+
return regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
11134
11545
|
while (1) {
|
|
11135
|
-
switch (
|
|
11546
|
+
switch (_context9.prev = _context9.next) {
|
|
11136
11547
|
case 0:
|
|
11137
11548
|
if (!(Object(esm_typeof["a" /* default */])(obj) === 'object')) {
|
|
11138
|
-
|
|
11549
|
+
_context9.next = 6;
|
|
11139
11550
|
break;
|
|
11140
11551
|
}
|
|
11141
11552
|
|
|
11142
|
-
outObj =
|
|
11553
|
+
outObj = _this29.outSearchFieldList.reduce(function (pre, cur) {
|
|
11143
11554
|
cur.columnName && (pre[cur.columnName] = cur);
|
|
11144
11555
|
return pre;
|
|
11145
11556
|
}, {}); // 遍历对象赋值
|
|
@@ -11151,33 +11562,33 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
11151
11562
|
if (vexutils_default.a.isObject(val)) {
|
|
11152
11563
|
var ks = ['bigValue', 'lessValue'];
|
|
11153
11564
|
ks.forEach(function (kk) {
|
|
11154
|
-
|
|
11565
|
+
_this29.$set(item, kk, val[kk]);
|
|
11155
11566
|
});
|
|
11156
11567
|
} else {
|
|
11157
11568
|
if (typeof val === 'number') {
|
|
11158
11569
|
val = String(val);
|
|
11159
11570
|
}
|
|
11160
11571
|
|
|
11161
|
-
|
|
11572
|
+
_this29.$set(item, 'value', val);
|
|
11162
11573
|
} // 检索组件,触发检索方法
|
|
11163
11574
|
|
|
11164
11575
|
|
|
11165
11576
|
if ((item === null || item === void 0 ? void 0 : item.comType) == "SelectMuiWordBook") {
|
|
11166
|
-
|
|
11577
|
+
_this29.setSelectMuiWordBookType(item, val);
|
|
11167
11578
|
}
|
|
11168
11579
|
});
|
|
11169
|
-
|
|
11170
|
-
return
|
|
11580
|
+
_context9.next = 5;
|
|
11581
|
+
return _this29.$nextTick();
|
|
11171
11582
|
|
|
11172
11583
|
case 5:
|
|
11173
|
-
|
|
11584
|
+
_this29.outFilterChange();
|
|
11174
11585
|
|
|
11175
11586
|
case 6:
|
|
11176
11587
|
case "end":
|
|
11177
|
-
return
|
|
11588
|
+
return _context9.stop();
|
|
11178
11589
|
}
|
|
11179
11590
|
}
|
|
11180
|
-
},
|
|
11591
|
+
}, _callee9);
|
|
11181
11592
|
}))();
|
|
11182
11593
|
},
|
|
11183
11594
|
setSelectMuiWordBookType: function setSelectMuiWordBookType(item, val) {
|
|
@@ -11294,11 +11705,11 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
11294
11705
|
immediate: true,
|
|
11295
11706
|
deep: true,
|
|
11296
11707
|
handler: function handler(val) {
|
|
11297
|
-
var
|
|
11708
|
+
var _this30 = this;
|
|
11298
11709
|
|
|
11299
11710
|
if (this.conditionType === 'keyword' && val && Object.keys(val).length > 0) {
|
|
11300
11711
|
this.tabConditionList.length > 0 && this.tabConditionList.forEach(function (item) {
|
|
11301
|
-
if (val[item.sid] !== undefined)
|
|
11712
|
+
if (val[item.sid] !== undefined) _this30.$set(item, 'digital', val[item.sid]);
|
|
11302
11713
|
});
|
|
11303
11714
|
}
|
|
11304
11715
|
}
|
|
@@ -11306,28 +11717,28 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
11306
11717
|
searchPlaceHolder: {
|
|
11307
11718
|
immediate: true,
|
|
11308
11719
|
handler: function handler(val) {
|
|
11309
|
-
var
|
|
11720
|
+
var _this31 = this;
|
|
11310
11721
|
|
|
11311
11722
|
if (!val || this.showRelatedTreeBtn) return;
|
|
11312
11723
|
this.$nextTick(function () {
|
|
11313
|
-
|
|
11314
|
-
var dom =
|
|
11724
|
+
_this31.showPlaceholderPrefix = false;
|
|
11725
|
+
var dom = _this31.$refs.baseSearchPlaceholderSpan;
|
|
11315
11726
|
if (!dom) return; // input 框有padding 32px ...显示需要多预留一些宽度12px
|
|
11316
11727
|
|
|
11317
11728
|
var w = dom.offsetWidth + 45; // 非筛选外显input 有enterButton 预留宽度
|
|
11318
11729
|
|
|
11319
|
-
if (!
|
|
11730
|
+
if (!_this31.showOutSearch) {
|
|
11320
11731
|
w += 45;
|
|
11321
11732
|
}
|
|
11322
11733
|
|
|
11323
11734
|
var maxW = 300;
|
|
11324
|
-
|
|
11735
|
+
_this31.inputSearchW = w > maxW ? maxW : w < 200 ? 200 : w;
|
|
11325
11736
|
|
|
11326
11737
|
if (w > maxW) {
|
|
11327
|
-
|
|
11738
|
+
_this31.showPlaceholderPrefix = true;
|
|
11328
11739
|
}
|
|
11329
11740
|
|
|
11330
|
-
|
|
11741
|
+
_this31.onResize();
|
|
11331
11742
|
});
|
|
11332
11743
|
}
|
|
11333
11744
|
}
|
|
@@ -11335,8 +11746,8 @@ var BaseSearchvue_type_script_lang_js_BTNOBJ = {
|
|
|
11335
11746
|
}));
|
|
11336
11747
|
// CONCATENATED MODULE: ./packages/table-filter/src/base-search-com/BaseSearch.vue?vue&type=script&lang=js&
|
|
11337
11748
|
/* harmony default export */ var base_search_com_BaseSearchvue_type_script_lang_js_ = (BaseSearchvue_type_script_lang_js_);
|
|
11338
|
-
// EXTERNAL MODULE: ./packages/table-filter/src/base-search-com/BaseSearch.vue?vue&type=style&index=0&id=
|
|
11339
|
-
var
|
|
11749
|
+
// EXTERNAL MODULE: ./packages/table-filter/src/base-search-com/BaseSearch.vue?vue&type=style&index=0&id=555b2bfc&lang=less&scoped=true&
|
|
11750
|
+
var BaseSearchvue_type_style_index_0_id_555b2bfc_lang_less_scoped_true_ = __webpack_require__("6596");
|
|
11340
11751
|
|
|
11341
11752
|
// EXTERNAL MODULE: ./packages/table-filter/src/base-search-com/BaseSearch.vue?vue&type=style&index=1&lang=less&
|
|
11342
11753
|
var BaseSearchvue_type_style_index_1_lang_less_ = __webpack_require__("aa86");
|
|
@@ -11353,11 +11764,11 @@ var BaseSearchvue_type_style_index_1_lang_less_ = __webpack_require__("aa86");
|
|
|
11353
11764
|
|
|
11354
11765
|
var BaseSearch_component = Object(componentNormalizer["a" /* default */])(
|
|
11355
11766
|
base_search_com_BaseSearchvue_type_script_lang_js_,
|
|
11356
|
-
|
|
11357
|
-
|
|
11767
|
+
BaseSearchvue_type_template_id_555b2bfc_scoped_true_render,
|
|
11768
|
+
BaseSearchvue_type_template_id_555b2bfc_scoped_true_staticRenderFns,
|
|
11358
11769
|
false,
|
|
11359
11770
|
null,
|
|
11360
|
-
"
|
|
11771
|
+
"555b2bfc",
|
|
11361
11772
|
null
|
|
11362
11773
|
|
|
11363
11774
|
)
|
|
@@ -11586,6 +11997,17 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
11586
11997
|
|
|
11587
11998
|
module.exports = require("core-js/modules/es.array.find.js");
|
|
11588
11999
|
|
|
12000
|
+
/***/ }),
|
|
12001
|
+
|
|
12002
|
+
/***/ "0e2b":
|
|
12003
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12004
|
+
|
|
12005
|
+
"use strict";
|
|
12006
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_old_vue_vue_type_style_index_0_id_278e2829_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b06d");
|
|
12007
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_old_vue_vue_type_style_index_0_id_278e2829_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_old_vue_vue_type_style_index_0_id_278e2829_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
12008
|
+
/* unused harmony reexport * */
|
|
12009
|
+
|
|
12010
|
+
|
|
11589
12011
|
/***/ }),
|
|
11590
12012
|
|
|
11591
12013
|
/***/ "105d":
|
|
@@ -12322,6 +12744,17 @@ module.exports = require("core-js/modules/es.number.is-finite.js");
|
|
|
12322
12744
|
/* unused harmony reexport * */
|
|
12323
12745
|
|
|
12324
12746
|
|
|
12747
|
+
/***/ }),
|
|
12748
|
+
|
|
12749
|
+
/***/ "2bc5":
|
|
12750
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12751
|
+
|
|
12752
|
+
"use strict";
|
|
12753
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_new_vue_vue_type_style_index_0_id_570d3aad_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cb3e");
|
|
12754
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_new_vue_vue_type_style_index_0_id_570d3aad_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_new_vue_vue_type_style_index_0_id_570d3aad_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
12755
|
+
/* unused harmony reexport * */
|
|
12756
|
+
|
|
12757
|
+
|
|
12325
12758
|
/***/ }),
|
|
12326
12759
|
|
|
12327
12760
|
/***/ "2c29":
|
|
@@ -12329,7 +12762,7 @@ module.exports = require("core-js/modules/es.number.is-finite.js");
|
|
|
12329
12762
|
|
|
12330
12763
|
"use strict";
|
|
12331
12764
|
/* WEBPACK VAR INJECTION */(function(global, process, Buffer) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return qi; });
|
|
12332
|
-
/* harmony import */ var
|
|
12765
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("53ca");
|
|
12333
12766
|
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9b22");
|
|
12334
12767
|
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
12335
12768
|
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("4933");
|
|
@@ -12634,7 +13067,7 @@ function t() {
|
|
|
12634
13067
|
if ("throw" !== s.type) {
|
|
12635
13068
|
var c = s.arg,
|
|
12636
13069
|
f = c.value;
|
|
12637
|
-
return f && "object" == Object(
|
|
13070
|
+
return f && "object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(f) && n.call(f, "__await") ? e.resolve(f.__await).then(function (t) {
|
|
12638
13071
|
r("next", t, a, u);
|
|
12639
13072
|
}, function (t) {
|
|
12640
13073
|
r("throw", t, a, u);
|
|
@@ -12755,7 +13188,7 @@ function t() {
|
|
|
12755
13188
|
}
|
|
12756
13189
|
}
|
|
12757
13190
|
|
|
12758
|
-
throw new TypeError(Object(
|
|
13191
|
+
throw new TypeError(Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t) + " is not iterable");
|
|
12759
13192
|
}
|
|
12760
13193
|
|
|
12761
13194
|
return h.prototype = v, o(b, "constructor", {
|
|
@@ -12939,19 +13372,19 @@ function o(t, e) {
|
|
|
12939
13372
|
|
|
12940
13373
|
function i(t) {
|
|
12941
13374
|
var e = function (t, e) {
|
|
12942
|
-
if ("object" != Object(
|
|
13375
|
+
if ("object" != Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t) || null === t) return t;
|
|
12943
13376
|
var r = t[Symbol.toPrimitive];
|
|
12944
13377
|
|
|
12945
13378
|
if (void 0 !== r) {
|
|
12946
13379
|
var n = r.call(t, e || "default");
|
|
12947
|
-
if ("object" != Object(
|
|
13380
|
+
if ("object" != Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(n)) return n;
|
|
12948
13381
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
12949
13382
|
}
|
|
12950
13383
|
|
|
12951
13384
|
return ("string" === e ? String : Number)(t);
|
|
12952
13385
|
}(t, "string");
|
|
12953
13386
|
|
|
12954
|
-
return "symbol" == Object(
|
|
13387
|
+
return "symbol" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(e) ? e : String(e);
|
|
12955
13388
|
}
|
|
12956
13389
|
|
|
12957
13390
|
var a = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
|
|
@@ -12967,7 +13400,7 @@ var s,
|
|
|
12967
13400
|
f = function f(t) {
|
|
12968
13401
|
return t && t.Math == Math && t;
|
|
12969
13402
|
},
|
|
12970
|
-
l = f("object" == (typeof globalThis === "undefined" ? "undefined" : Object(
|
|
13403
|
+
l = f("object" == (typeof globalThis === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(globalThis)) && globalThis) || f("object" == (typeof window === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(window)) && window) || f("object" == (typeof self === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(self)) && self) || f("object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(a) && a) || function () {
|
|
12971
13404
|
return this;
|
|
12972
13405
|
}() || a || Function("return this")(),
|
|
12973
13406
|
p = function p(t) {
|
|
@@ -13042,7 +13475,7 @@ var s,
|
|
|
13042
13475
|
I = function I(t) {
|
|
13043
13476
|
return _(N(t));
|
|
13044
13477
|
},
|
|
13045
|
-
D = "object" == (typeof document === "undefined" ? "undefined" : Object(
|
|
13478
|
+
D = "object" == (typeof document === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(document)) && document.all,
|
|
13046
13479
|
L = {
|
|
13047
13480
|
all: D,
|
|
13048
13481
|
IS_HTMLDDA: void 0 === D && void 0 !== D
|
|
@@ -13055,9 +13488,9 @@ var s,
|
|
|
13055
13488
|
},
|
|
13056
13489
|
B = L.all,
|
|
13057
13490
|
M = L.IS_HTMLDDA ? function (t) {
|
|
13058
|
-
return "object" == Object(
|
|
13491
|
+
return "object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t) ? null !== t : U(t) || t === B;
|
|
13059
13492
|
} : function (t) {
|
|
13060
|
-
return "object" == Object(
|
|
13493
|
+
return "object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t) ? null !== t : U(t);
|
|
13061
13494
|
},
|
|
13062
13495
|
q = function q(t, e) {
|
|
13063
13496
|
return arguments.length < 2 ? (r = l[t], U(r) ? r : void 0) : l[t] && l[t][e];
|
|
@@ -13078,10 +13511,10 @@ var K = c,
|
|
|
13078
13511
|
var t = Symbol();
|
|
13079
13512
|
return !Q(t) || !(Object(t) instanceof Symbol) || !Symbol.sham && K && K < 41;
|
|
13080
13513
|
}),
|
|
13081
|
-
X = $ && !Symbol.sham && "symbol" == Object(
|
|
13514
|
+
X = $ && !Symbol.sham && "symbol" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Symbol.iterator),
|
|
13082
13515
|
Y = Object,
|
|
13083
13516
|
Z = X ? function (t) {
|
|
13084
|
-
return "symbol" == Object(
|
|
13517
|
+
return "symbol" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t);
|
|
13085
13518
|
} : function (t) {
|
|
13086
13519
|
var e = q("Symbol");
|
|
13087
13520
|
return U(e) && H(e.prototype, Y(t));
|
|
@@ -13467,7 +13900,7 @@ var fe = {
|
|
|
13467
13900
|
c = t.stat;
|
|
13468
13901
|
if (r = s ? l : c ? l[u] || ut(u, {}) : (l[u] || {}).prototype) for (n in e) {
|
|
13469
13902
|
if (i = e[n], o = t.dontCallGetSet ? (a = qe(r, n)) && a.value : r[n], !Me(s ? n : u + (c ? "." : "#") + n, t.forced) && void 0 !== o) {
|
|
13470
|
-
if (Object(
|
|
13903
|
+
if (Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(i) == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o)) continue;
|
|
13471
13904
|
Ne(i, o);
|
|
13472
13905
|
}
|
|
13473
13906
|
|
|
@@ -13632,7 +14065,7 @@ var wr = "undefined" != typeof process && "process" == T(process),
|
|
|
13632
14065
|
|
|
13633
14066
|
return function (r, n) {
|
|
13634
14067
|
return Lt(r), function (t) {
|
|
13635
|
-
if ("object" == Object(
|
|
14068
|
+
if ("object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t) || U(t)) return t;
|
|
13636
14069
|
throw Er("Can't set " + Or(t) + " as a prototype");
|
|
13637
14070
|
}(n), e ? t(r, n) : r.__proto__ = n, r;
|
|
13638
14071
|
};
|
|
@@ -13698,7 +14131,7 @@ var Lr,
|
|
|
13698
14131
|
Jr = Function.prototype,
|
|
13699
14132
|
Gr = Jr.apply,
|
|
13700
14133
|
Wr = Jr.call,
|
|
13701
|
-
Vr = "object" == (typeof Reflect === "undefined" ? "undefined" : Object(
|
|
14134
|
+
Vr = "object" == (typeof Reflect === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Reflect)) && Reflect.apply || (h ? Wr.bind(Gr) : function () {
|
|
13702
14135
|
return Wr.apply(Gr, arguments);
|
|
13703
14136
|
}),
|
|
13704
14137
|
Kr = function Kr(t) {
|
|
@@ -13854,8 +14287,8 @@ var In = An,
|
|
|
13854
14287
|
}
|
|
13855
14288
|
},
|
|
13856
14289
|
Ln = l.Promise,
|
|
13857
|
-
Fn = "object" == (typeof Deno === "undefined" ? "undefined" : Object(
|
|
13858
|
-
Un = !Fn && !wr && "object" == (typeof window === "undefined" ? "undefined" : Object(
|
|
14290
|
+
Fn = "object" == (typeof Deno === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Deno)) && Deno && "object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Deno.version),
|
|
14291
|
+
Un = !Fn && !wr && "object" == (typeof window === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(window)) && "object" == (typeof document === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(document));
|
|
13859
14292
|
|
|
13860
14293
|
Ln && Ln.prototype;
|
|
13861
14294
|
|
|
@@ -14173,7 +14606,7 @@ var To = {},
|
|
|
14173
14606
|
No(n, "throw", t);
|
|
14174
14607
|
}
|
|
14175
14608
|
|
|
14176
|
-
if ("object" == Object(
|
|
14609
|
+
if ("object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(u) && u && H(Lo, u)) return u;
|
|
14177
14610
|
}
|
|
14178
14611
|
|
|
14179
14612
|
return new Do(!1);
|
|
@@ -14477,10 +14910,10 @@ He({
|
|
|
14477
14910
|
var Ai = u(function (t, e) {
|
|
14478
14911
|
t.exports = function () {
|
|
14479
14912
|
function t(e) {
|
|
14480
|
-
return (t = "function" == typeof Symbol && "symbol" == Object(
|
|
14481
|
-
return Object(
|
|
14913
|
+
return (t = "function" == typeof Symbol && "symbol" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Symbol.iterator) ? function (t) {
|
|
14914
|
+
return Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t);
|
|
14482
14915
|
} : function (t) {
|
|
14483
|
-
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : Object(
|
|
14916
|
+
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t);
|
|
14484
14917
|
})(e);
|
|
14485
14918
|
}
|
|
14486
14919
|
|
|
@@ -17063,13 +17496,6 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
|
|
|
17063
17496
|
|
|
17064
17497
|
/***/ }),
|
|
17065
17498
|
|
|
17066
|
-
/***/ "3016":
|
|
17067
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
17068
|
-
|
|
17069
|
-
// extracted by mini-css-extract-plugin
|
|
17070
|
-
|
|
17071
|
-
/***/ }),
|
|
17072
|
-
|
|
17073
17499
|
/***/ "30df":
|
|
17074
17500
|
/***/ (function(module, exports) {
|
|
17075
17501
|
|
|
@@ -17110,12 +17536,12 @@ module.exports = function (it) {
|
|
|
17110
17536
|
|
|
17111
17537
|
"use strict";
|
|
17112
17538
|
|
|
17113
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17114
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(
|
|
17539
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=606450dc&
|
|
17540
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.isComponent,_vm._g(_vm._b({ref:"printComponentRef",tag:"component",scopedSlots:_vm._u([{key:"button",fn:function(slotProps){return [_vm._t("button",null,null,slotProps)]}}],null,true)},'component',_vm.getProps,false),_vm.$listeners))}
|
|
17115
17541
|
var staticRenderFns = []
|
|
17116
17542
|
|
|
17117
17543
|
|
|
17118
|
-
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/index.vue?vue&type=template&id=
|
|
17544
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/index.vue?vue&type=template&id=606450dc&
|
|
17119
17545
|
|
|
17120
17546
|
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
17121
17547
|
var es_number_constructor_js_ = __webpack_require__("f989");
|
|
@@ -17129,12 +17555,12 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
17129
17555
|
// EXTERNAL MODULE: ./src/core/create.js
|
|
17130
17556
|
var create = __webpack_require__("8aef");
|
|
17131
17557
|
|
|
17132
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17133
|
-
var
|
|
17134
|
-
var
|
|
17558
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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/old.vue?vue&type=template&id=278e2829&scoped=true&
|
|
17559
|
+
var oldvue_type_template_id_278e2829_scoped_true_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'),(!_vm.hideButtons.includes('printText'))?_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickPrint(e); }}},[_vm._v(" "+_vm._s(_vm.printText)+" ")]):_vm._e(),(!_vm.hideButtons.includes('previewText'))?_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickPreview(e); }}},[_vm._v(" "+_vm._s(_vm.previewText)+" ")]):_vm._e(),(_vm.isShowDownloadPdf)?_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickPdf(e); }}},[_vm._v(" "+_vm._s(_vm.pdfLoadText)+" ")]):_vm._e(),(_vm.isShowFormatEditText)?_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickEdit(e); }}},[_vm._v(" "+_vm._s(_vm.formatEditText)+" ")]):_vm._e()],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,"authorizationKey":_vm.authorizationKey},on:{"update:visible":function($event){return _vm.$set(_vm.identityVerification, "visible", $event)},"success":_vm.verifiySuccess}})],1)}
|
|
17560
|
+
var oldvue_type_template_id_278e2829_scoped_true_staticRenderFns = []
|
|
17135
17561
|
|
|
17136
17562
|
|
|
17137
|
-
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=template&id=
|
|
17563
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=template&id=278e2829&scoped=true&
|
|
17138
17564
|
|
|
17139
17565
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
17140
17566
|
var esm_typeof = __webpack_require__("53ca");
|
|
@@ -17188,21 +17614,21 @@ var es_array_find_js_ = __webpack_require__("0d58");
|
|
|
17188
17614
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
17189
17615
|
var es_function_name_js_ = __webpack_require__("db0a");
|
|
17190
17616
|
|
|
17191
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
17192
|
-
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
17193
|
-
|
|
17194
17617
|
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
17195
17618
|
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
17196
17619
|
|
|
17620
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
17621
|
+
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
17622
|
+
|
|
17623
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
17624
|
+
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
17625
|
+
|
|
17197
17626
|
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
17198
17627
|
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
17199
17628
|
|
|
17200
17629
|
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
17201
17630
|
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
17202
17631
|
|
|
17203
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
17204
|
-
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
17205
|
-
|
|
17206
17632
|
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
17207
17633
|
var es_array_map_js_ = __webpack_require__("4391");
|
|
17208
17634
|
|
|
@@ -17212,7 +17638,7 @@ var es_array_join_js_ = __webpack_require__("be94");
|
|
|
17212
17638
|
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/js/print.es.min.js
|
|
17213
17639
|
var print_es_min = __webpack_require__("2c29");
|
|
17214
17640
|
|
|
17215
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17641
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=9404f70a&scoped=true&
|
|
17216
17642
|
var IdentityVerificationvue_type_template_id_9404f70a_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)])}
|
|
17217
17643
|
var IdentityVerificationvue_type_template_id_9404f70a_scoped_true_staticRenderFns = []
|
|
17218
17644
|
|
|
@@ -17609,6 +18035,8 @@ var oldvue_type_script_lang_js_httpFn = null;
|
|
|
17609
18035
|
|
|
17610
18036
|
|
|
17611
18037
|
|
|
18038
|
+
var downloadPdfCode = 'RY7.2.21.1.M2.G94181E';
|
|
18039
|
+
var formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
|
|
17612
18040
|
/* harmony default export */ var oldvue_type_script_lang_js_ = (Object(create["a" /* default */])({
|
|
17613
18041
|
name: 'button-print',
|
|
17614
18042
|
components: {
|
|
@@ -17728,6 +18156,13 @@ var oldvue_type_script_lang_js_httpFn = null;
|
|
|
17728
18156
|
},
|
|
17729
18157
|
getPrintParamsAfter: {
|
|
17730
18158
|
type: Function
|
|
18159
|
+
},
|
|
18160
|
+
// 隐藏默认按钮配置。printText: 直接打印;previewText: 打印预览;downloadPdf:下载pdf;formatEditText:格式编辑。示例:hideButtons = ['formatEditText']
|
|
18161
|
+
hideButtons: {
|
|
18162
|
+
type: Array,
|
|
18163
|
+
default: function _default() {
|
|
18164
|
+
return [];
|
|
18165
|
+
}
|
|
17731
18166
|
}
|
|
17732
18167
|
},
|
|
17733
18168
|
computed: {
|
|
@@ -17753,6 +18188,18 @@ var oldvue_type_script_lang_js_httpFn = null;
|
|
|
17753
18188
|
formatId: this.currentFormatId,
|
|
17754
18189
|
templateId: this.getTemplateIdByFormatId(this.currentFormatId)
|
|
17755
18190
|
};
|
|
18191
|
+
},
|
|
18192
|
+
// 展示下载pdf按钮
|
|
18193
|
+
isShowDownloadPdf: function isShowDownloadPdf() {
|
|
18194
|
+
var isShow = !this.hideButtons.includes('downloadPdf');
|
|
18195
|
+
var settingShow = this.isShowOperation(downloadPdfCode);
|
|
18196
|
+
return isShow && settingShow;
|
|
18197
|
+
},
|
|
18198
|
+
// 展示格式编辑按钮
|
|
18199
|
+
isShowFormatEditText: function isShowFormatEditText() {
|
|
18200
|
+
var isShow = !this.hideButtons.includes('formatEditText');
|
|
18201
|
+
var settingShow = this.isShowOperation(formatEditTextCode);
|
|
18202
|
+
return isShow && settingShow;
|
|
17756
18203
|
}
|
|
17757
18204
|
},
|
|
17758
18205
|
data: function data() {
|
|
@@ -17801,6 +18248,20 @@ var oldvue_type_script_lang_js_httpFn = null;
|
|
|
17801
18248
|
// getPopupContainer(triggerNode) {
|
|
17802
18249
|
// return triggerNode.parentNode;
|
|
17803
18250
|
// },
|
|
18251
|
+
isShowOperation: function isShowOperation(code) {
|
|
18252
|
+
var portalStr = sessionStorage.getItem('portal');
|
|
18253
|
+
|
|
18254
|
+
if (portalStr) {
|
|
18255
|
+
var _portal$user;
|
|
18256
|
+
|
|
18257
|
+
var portal = JSON.parse(portalStr);
|
|
18258
|
+
var limitObj = (portal === null || portal === void 0 ? void 0 : (_portal$user = portal.user) === null || _portal$user === void 0 ? void 0 : _portal$user.currentRoleResourceObj) || {};
|
|
18259
|
+
var limitList = Object.keys(limitObj);
|
|
18260
|
+
return limitList.includes(code);
|
|
18261
|
+
}
|
|
18262
|
+
|
|
18263
|
+
return true;
|
|
18264
|
+
},
|
|
17804
18265
|
handleClickOutside: function handleClickOutside() {
|
|
17805
18266
|
this.visible = false;
|
|
17806
18267
|
},
|
|
@@ -18582,8 +19043,8 @@ var oldvue_type_script_lang_js_httpFn = null;
|
|
|
18582
19043
|
}));
|
|
18583
19044
|
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=script&lang=js&
|
|
18584
19045
|
/* harmony default export */ var ButtonPrint_oldvue_type_script_lang_js_ = (oldvue_type_script_lang_js_);
|
|
18585
|
-
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=style&index=0&id=
|
|
18586
|
-
var
|
|
19046
|
+
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=style&index=0&id=278e2829&lang=less&scoped=true&
|
|
19047
|
+
var oldvue_type_style_index_0_id_278e2829_lang_less_scoped_true_ = __webpack_require__("0e2b");
|
|
18587
19048
|
|
|
18588
19049
|
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=style&index=1&lang=less&
|
|
18589
19050
|
var oldvue_type_style_index_1_lang_less_ = __webpack_require__("f250");
|
|
@@ -18600,22 +19061,22 @@ var oldvue_type_style_index_1_lang_less_ = __webpack_require__("f250");
|
|
|
18600
19061
|
|
|
18601
19062
|
var old_component = Object(componentNormalizer["a" /* default */])(
|
|
18602
19063
|
ButtonPrint_oldvue_type_script_lang_js_,
|
|
18603
|
-
|
|
18604
|
-
|
|
19064
|
+
oldvue_type_template_id_278e2829_scoped_true_render,
|
|
19065
|
+
oldvue_type_template_id_278e2829_scoped_true_staticRenderFns,
|
|
18605
19066
|
false,
|
|
18606
19067
|
null,
|
|
18607
|
-
"
|
|
19068
|
+
"278e2829",
|
|
18608
19069
|
null
|
|
18609
19070
|
|
|
18610
19071
|
)
|
|
18611
19072
|
|
|
18612
19073
|
/* harmony default export */ var old = (old_component.exports);
|
|
18613
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18614
|
-
var
|
|
18615
|
-
var
|
|
19074
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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/new.vue?vue&type=template&id=570d3aad&scoped=true&
|
|
19075
|
+
var newvue_type_template_id_570d3aad_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.handleAllClickOutside),expression:"handleAllClickOutside"}],ref:"newprintButtonOuterRef",staticClass:"newprint-button-outer"},[_c('a-button-group',_vm._l((_vm.outerPrintItems),function(outer){return _c('a-dropdown',{key:outer.key,staticClass:"c-dropdown",attrs:{"getPopupContainer":_vm.getPopupContainerNode,"trigger":_vm.dropOuter},scopedSlots:_vm._u([{key:"overlay",fn:function(){return [_c('a-menu',_vm._l((_vm.operations),function(operation){return _c('a-menu-item',{key:operation.key,staticClass:"operation-li",on:{"click":function($event){return _vm.handleSelect(operation.key, outer)}}},[_c('span',{staticClass:"label"},[_vm._v(_vm._s(operation.label))])])}),1)]},proxy:true}],null,true)},[_c('a-button',{staticClass:"operation-li",staticStyle:{"display":"flex","align-items":"center"},attrs:{"disabled":!_vm.printParams[outer.templateCode],"loading":outer.isLoading},on:{"click":function($event){return _vm.handleOneTypePrint(outer.templateCode, outer.templateId, outer.key, true)}}},[(!outer.isLoading)?_c('a-icon',{attrs:{"type":"printer"}}):_vm._e(),_c('span',{staticClass:"label"},[_vm._v(_vm._s(outer.label))])],1)],1)}),1),(_vm.outerPrintItems.length > 0 && _vm.outerPrintItems.length == _vm.options.length && _vm.isShowOutSettingBtn)?_c('a-dropdown',{attrs:{"overlayClassName":"newprint-button-menu","getPopupContainer":_vm.getPopupContainerNode,"id":"dropdown-outer-setting-btn","visible":_vm.outSettingVisible,"trigger":_vm.dropOperation}},[_c('a-button',{on:{"click":function($event){return _vm.toggleSettingVisible('outSettingVisible')}}},[_vm._v(" 外显设置 "),_c('a-icon',{attrs:{"type":"setting"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.options),function(sItem){return _c('a-menu-item',{key:sItem.key,staticClass:"dropdown-between operation-li"},[_c('span',{staticClass:"label bold"},[_vm._v(_vm._s(sItem.label))]),_c('a-checkbox',{attrs:{"checked":sItem.selected},on:{"change":function($event){return _vm.onSettingChange(sItem)}}},[_vm._v("外显")])],1)}),_c('a-menu-item',{staticClass:"print-divider"},[_c('a-divider')],1),_c('a-menu-item',{staticClass:"dropdown-between"},[_c('a-button',{attrs:{"type":"primary","size":"small"},on:{"click":function($event){return _vm.savePrintOutSetting('outSettingVisible')}}},[_vm._v("保存")]),(_vm.options && _vm.options.length > 1)?_c('a-checkbox',{attrs:{"checked":_vm.isSelectedAll},on:{"change":_vm.onSelectedAllChange}},[_vm._v("全选")]):_vm._e()],1)],2)],1):_c('a-button-group',[_c('a-button',{staticStyle:{"display":"flex","align-items":"center"},attrs:{"loading":this.spinning},on:{"click":function($event){$event.stopPropagation();return _vm.printAllButtonClick.apply(null, arguments)}}},[(!this.spinning)?_c('a-icon',{attrs:{"type":"printer"}}):_vm._e(),_vm._v(" "+_vm._s(_vm.isShowPrintAllBtn ? '打印全部' : _vm.defaultFormatTitle ? _vm.defaultFormatTitle : _vm.btnText)+" ")],1),(_vm.innerPrintItems.length == 0)?_c('a-button',{on:{"click":function($event){$event.stopPropagation();return _vm.handleClickBtn.apply(null, arguments)}}},[_c('a-icon',{attrs:{"type":"down"}})],1):_c('a-dropdown',{attrs:{"visible":_vm.visible,"getPopupContainer":_vm.getPopupContainerNode,"overlayClassName":"newprint-button-menu","trigger":_vm.dropOperation}},[_c('a-button',{on:{"click":function($event){$event.stopPropagation();return _vm.handleClickBtn.apply(null, arguments)}}},[_c('a-icon',{attrs:{"type":"down"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.innerPrintItems),function(option){return _c('a-menu-item',{key:option.key,staticClass:"dropdown-between operation-li"},[_c('span',{staticClass:"label bold",class:!_vm.printParams[option.templateCode] ? 'isDisabled' : '',on:{"click":function($event){return _vm.handleOneTypePrint(option.templateCode, option.templateId, option.key, true)}}},[(option.isLoading)?_c('a-icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":"loading"}}):_vm._e(),_vm._v(_vm._s(option.label)+" ")],1),_c('a-dropdown',{attrs:{"getPopupContainer":_vm.getPopupContainerNode,"trigger":_vm.dropOperation}},[_c('span',{staticClass:"operation-icon",staticStyle:{"margin-left":"8px"}},[_c('a-icon',{attrs:{"type":"right"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},_vm._l((_vm.operations),function(operation){return _c('a-menu-item',{key:operation.key,staticClass:"operation-li",on:{"click":function($event){return _vm.handleSelect(operation.key, option)}}},[_c('span',{staticClass:"label"},[_vm._v(_vm._s(operation.label))])])}),1)],1)],1)}),(_vm.isShowOutSettingBtn)?_c('a-menu-item',{staticClass:"print-divider"},[_c('a-divider')],1):_vm._e(),(_vm.isShowOutSettingBtn)?_c('a-menu-item',{staticClass:"operation-li"},[_c('a-dropdown',{attrs:{"visible":_vm.innerSettingVisible,"trigger":_vm.dropOperation,"getPopupContainer":_vm.getPopupContainerNode,"overlayClassName":"newprint-button-menu"}},[_c('div',{staticStyle:{"width":"100%","display":"flex","justify-content":"space-between","align-items":"center"},on:{"click":function($event){return _vm.toggleSettingVisible('innerSettingVisible')}}},[_c('span',{staticClass:"label bold",staticStyle:{"margin-right":"12px"}},[_vm._v("外显设置 ")]),_c('a-icon',{class:_vm.outerPrintItems.length > 0 ? "hasOuterItem":"",attrs:{"type":"setting"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.options),function(sItem){return _c('a-menu-item',{key:sItem.key,staticClass:"dropdown-between operation-li"},[_c('span',{staticClass:"label bold"},[_vm._v(" "+_vm._s(sItem.label)+" ")]),_c('a-checkbox',{attrs:{"checked":sItem.selected},on:{"change":function($event){return _vm.onSettingChange(sItem)}}},[_vm._v("外显")])],1)}),_c('a-menu-item',{staticClass:"print-divider"},[_c('a-divider')],1),_c('a-menu-item',{staticClass:"dropdown-between"},[_c('a-button',{attrs:{"type":"primary","size":"small"},on:{"click":function($event){return _vm.savePrintOutSetting('innerSettingVisible')}}},[_vm._v("保存")]),(_vm.options && _vm.options.length > 1)?_c('a-checkbox',{attrs:{"checked":_vm.isSelectedAll},on:{"change":_vm.onSelectedAllChange}},[_vm._v("全选")]):_vm._e()],1)],2)],1)],1):_vm._e()],2)],1)],1),_c('IdentityVerification',{attrs:{"printConfig":_vm.printConfig,"baseUrl":_vm.baseUrl,"verifyUserUrl":_vm.verifyUserUrl,"visible":_vm.identityVerification.visible,"identityVerificationTitle":_vm.identityVerificationTitle,"authorizationKey":_vm.authorizationKey},on:{"update:visible":function($event){return _vm.$set(_vm.identityVerification, "visible", $event)},"success":_vm.verifiySuccess}})],1)}
|
|
19076
|
+
var newvue_type_template_id_570d3aad_scoped_true_staticRenderFns = []
|
|
18616
19077
|
|
|
18617
19078
|
|
|
18618
|
-
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=template&id=
|
|
19079
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=template&id=570d3aad&scoped=true&
|
|
18619
19080
|
|
|
18620
19081
|
// EXTERNAL MODULE: external "ant-design-vue/es/divider/style"
|
|
18621
19082
|
var divider_style_ = __webpack_require__("e3aa");
|
|
@@ -18805,6 +19266,15 @@ var popover_default = /*#__PURE__*/__webpack_require__.n(popover_);
|
|
|
18805
19266
|
//
|
|
18806
19267
|
//
|
|
18807
19268
|
//
|
|
19269
|
+
//
|
|
19270
|
+
//
|
|
19271
|
+
//
|
|
19272
|
+
//
|
|
19273
|
+
//
|
|
19274
|
+
//
|
|
19275
|
+
//
|
|
19276
|
+
//
|
|
19277
|
+
//
|
|
18808
19278
|
|
|
18809
19279
|
/**
|
|
18810
19280
|
* @author ruanlin
|
|
@@ -18820,6 +19290,8 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
18820
19290
|
|
|
18821
19291
|
|
|
18822
19292
|
|
|
19293
|
+
var newvue_type_script_lang_js_downloadPdfCode = 'RY7.2.21.1.M2.G94181E';
|
|
19294
|
+
var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
|
|
18823
19295
|
/* harmony default export */ var newvue_type_script_lang_js_ = (Object(create["a" /* default */])({
|
|
18824
19296
|
name: 'button-print',
|
|
18825
19297
|
components: {
|
|
@@ -18940,6 +19412,13 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
18940
19412
|
getPrintParamsAfter: {
|
|
18941
19413
|
type: Function
|
|
18942
19414
|
},
|
|
19415
|
+
// 隐藏默认按钮配置。printText: 直接打印;previewText: 打印预览;downloadPdf:下载pdf;formatEditText:格式编辑。示例:hideButtons = ['formatEditText']
|
|
19416
|
+
hideButtons: {
|
|
19417
|
+
type: Array,
|
|
19418
|
+
default: function _default() {
|
|
19419
|
+
return [];
|
|
19420
|
+
}
|
|
19421
|
+
},
|
|
18943
19422
|
// 新版打印配置(新)
|
|
18944
19423
|
newPrintSetting: {
|
|
18945
19424
|
type: Object,
|
|
@@ -18957,6 +19436,13 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
18957
19436
|
defaultFormatId: ''
|
|
18958
19437
|
};
|
|
18959
19438
|
}
|
|
19439
|
+
},
|
|
19440
|
+
// 获取模板数据(新)
|
|
19441
|
+
printFormatByNumberData: {
|
|
19442
|
+
type: Object,
|
|
19443
|
+
default: function _default() {
|
|
19444
|
+
return null;
|
|
19445
|
+
}
|
|
18960
19446
|
}
|
|
18961
19447
|
},
|
|
18962
19448
|
computed: {
|
|
@@ -19005,12 +19491,52 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19005
19491
|
defaultPrintFormatId: function defaultPrintFormatId() {
|
|
19006
19492
|
var _this$newPrintSetting4;
|
|
19007
19493
|
|
|
19008
|
-
|
|
19494
|
+
var dFormatId = ((_this$newPrintSetting4 = this.newPrintSetting) === null || _this$newPrintSetting4 === void 0 ? void 0 : _this$newPrintSetting4.defaultFormatId) || ''; // 如果在内显中没有找到对应项,则返回空
|
|
19495
|
+
|
|
19496
|
+
var isFindInnerItem = this.innerPrintItems.find(function (item) {
|
|
19497
|
+
return item.key == dFormatId;
|
|
19498
|
+
});
|
|
19499
|
+
|
|
19500
|
+
if (!isFindInnerItem) {
|
|
19501
|
+
dFormatId = '';
|
|
19502
|
+
} // 如果为空时,再去看当前下拉项中是否只有一项
|
|
19503
|
+
|
|
19504
|
+
|
|
19505
|
+
if (!dFormatId) {
|
|
19506
|
+
if (this.innerPrintItems.length == 1) {
|
|
19507
|
+
var _this$innerPrintItems;
|
|
19508
|
+
|
|
19509
|
+
return (_this$innerPrintItems = this.innerPrintItems[0]) === null || _this$innerPrintItems === void 0 ? void 0 : _this$innerPrintItems.key;
|
|
19510
|
+
}
|
|
19511
|
+
|
|
19512
|
+
return '';
|
|
19513
|
+
}
|
|
19514
|
+
|
|
19515
|
+
return dFormatId;
|
|
19009
19516
|
},
|
|
19010
19517
|
isSelectedAll: function isSelectedAll() {
|
|
19011
19518
|
return this.options.every(function (option) {
|
|
19012
19519
|
return option.selected;
|
|
19013
19520
|
});
|
|
19521
|
+
},
|
|
19522
|
+
// 设置默认format的标题
|
|
19523
|
+
defaultFormatTitle: function defaultFormatTitle() {
|
|
19524
|
+
var _this = this;
|
|
19525
|
+
|
|
19526
|
+
var curFormat = this.innerPrintItems.find(function (option) {
|
|
19527
|
+
return option.key == _this.defaultPrintFormatId;
|
|
19528
|
+
});
|
|
19529
|
+
|
|
19530
|
+
if (curFormat) {
|
|
19531
|
+
return "\u6253\u5370".concat(curFormat.label);
|
|
19532
|
+
} // 如果innerPrintItems长度只有一项,则默认选中它
|
|
19533
|
+
|
|
19534
|
+
|
|
19535
|
+
if (this.innerPrintItems.length == 1) {
|
|
19536
|
+
return "\u6253\u5370".concat(this.innerPrintItems[0].label);
|
|
19537
|
+
}
|
|
19538
|
+
|
|
19539
|
+
return '';
|
|
19014
19540
|
}
|
|
19015
19541
|
},
|
|
19016
19542
|
data: function data() {
|
|
@@ -19047,13 +19573,13 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19047
19573
|
options: [],
|
|
19048
19574
|
// 操作按钮集合
|
|
19049
19575
|
operations: [{
|
|
19050
|
-
label: this.pdfLoadText,
|
|
19051
|
-
// 下载pdf
|
|
19052
|
-
key: 'downloadPdf'
|
|
19053
|
-
}, {
|
|
19054
19576
|
label: this.previewText,
|
|
19055
19577
|
// 打印预览
|
|
19056
19578
|
key: 'previewText'
|
|
19579
|
+
}, {
|
|
19580
|
+
label: this.pdfLoadText,
|
|
19581
|
+
// 下载pdf
|
|
19582
|
+
key: 'downloadPdf'
|
|
19057
19583
|
}, {
|
|
19058
19584
|
label: this.formatEditText,
|
|
19059
19585
|
// 格式编辑
|
|
@@ -19097,26 +19623,22 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19097
19623
|
}
|
|
19098
19624
|
},
|
|
19099
19625
|
newPrintSetting: {
|
|
19100
|
-
deep: true,
|
|
19101
19626
|
immediate: true,
|
|
19102
19627
|
handler: function handler(val) {
|
|
19103
|
-
var
|
|
19628
|
+
var _this2 = this;
|
|
19104
19629
|
|
|
19105
19630
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
19106
|
-
var keys;
|
|
19631
|
+
var keys, defFormatId;
|
|
19107
19632
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
19108
19633
|
while (1) {
|
|
19109
19634
|
switch (_context.prev = _context.next) {
|
|
19110
19635
|
case 0:
|
|
19111
19636
|
keys = (val === null || val === void 0 ? void 0 : val.outerPrintKeys) || [];
|
|
19112
|
-
|
|
19113
|
-
|
|
19114
|
-
_context.next = 4;
|
|
19115
|
-
break;
|
|
19116
|
-
}
|
|
19637
|
+
defFormatId = (val === null || val === void 0 ? void 0 : val.defaultFormatId) || ''; // if (keys.length > 0 || defFormatId) {}
|
|
19638
|
+
// 解决innerPrintItems只有一项的时候也要默认选中的问题,初始化执行一次即可
|
|
19117
19639
|
|
|
19118
19640
|
_context.next = 4;
|
|
19119
|
-
return
|
|
19641
|
+
return _this2.handleClickBtn(false, true);
|
|
19120
19642
|
|
|
19121
19643
|
case 4:
|
|
19122
19644
|
case "end":
|
|
@@ -19130,8 +19652,8 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19130
19652
|
},
|
|
19131
19653
|
methods: {
|
|
19132
19654
|
getPopupContainerNode: function getPopupContainerNode() {
|
|
19133
|
-
|
|
19134
|
-
return
|
|
19655
|
+
// const node = document.getElementById('newprint-button-outer');
|
|
19656
|
+
return this.$refs.newprintButtonOuterRef;
|
|
19135
19657
|
},
|
|
19136
19658
|
// 重置所有的弹窗
|
|
19137
19659
|
handleAllClickOutside: function handleAllClickOutside() {
|
|
@@ -19149,33 +19671,33 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19149
19671
|
});
|
|
19150
19672
|
},
|
|
19151
19673
|
printAllButtonClick: function printAllButtonClick() {
|
|
19152
|
-
var
|
|
19674
|
+
var _this3 = this;
|
|
19153
19675
|
|
|
19154
19676
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
19155
19677
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
19156
19678
|
while (1) {
|
|
19157
19679
|
switch (_context2.prev = _context2.next) {
|
|
19158
19680
|
case 0:
|
|
19159
|
-
if (!
|
|
19681
|
+
if (!_this3.isShowPrintAllBtn) {
|
|
19160
19682
|
_context2.next = 5;
|
|
19161
19683
|
break;
|
|
19162
19684
|
}
|
|
19163
19685
|
|
|
19164
19686
|
_context2.next = 3;
|
|
19165
|
-
return
|
|
19687
|
+
return _this3.directPrint();
|
|
19166
19688
|
|
|
19167
19689
|
case 3:
|
|
19168
19690
|
_context2.next = 12;
|
|
19169
19691
|
break;
|
|
19170
19692
|
|
|
19171
19693
|
case 5:
|
|
19172
|
-
if (!
|
|
19694
|
+
if (!_this3.defaultPrintFormatId) {
|
|
19173
19695
|
_context2.next = 10;
|
|
19174
19696
|
break;
|
|
19175
19697
|
}
|
|
19176
19698
|
|
|
19177
19699
|
_context2.next = 8;
|
|
19178
|
-
return
|
|
19700
|
+
return _this3.directDefaultFormatPrint(_this3.defaultPrintFormatId);
|
|
19179
19701
|
|
|
19180
19702
|
case 8:
|
|
19181
19703
|
_context2.next = 12;
|
|
@@ -19183,7 +19705,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19183
19705
|
|
|
19184
19706
|
case 10:
|
|
19185
19707
|
_context2.next = 12;
|
|
19186
|
-
return
|
|
19708
|
+
return _this3.handleClickBtn();
|
|
19187
19709
|
|
|
19188
19710
|
case 12:
|
|
19189
19711
|
case "end":
|
|
@@ -19195,7 +19717,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19195
19717
|
},
|
|
19196
19718
|
// 打印全部
|
|
19197
19719
|
directPrint: function directPrint() {
|
|
19198
|
-
var
|
|
19720
|
+
var _this4 = this;
|
|
19199
19721
|
|
|
19200
19722
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
19201
19723
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
@@ -19203,10 +19725,10 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19203
19725
|
switch (_context3.prev = _context3.next) {
|
|
19204
19726
|
case 0:
|
|
19205
19727
|
_context3.next = 2;
|
|
19206
|
-
return
|
|
19728
|
+
return _this4.handleClickBtn(false);
|
|
19207
19729
|
|
|
19208
19730
|
case 2:
|
|
19209
|
-
|
|
19731
|
+
_this4.handleClickPrintAll();
|
|
19210
19732
|
|
|
19211
19733
|
case 3:
|
|
19212
19734
|
case "end":
|
|
@@ -19218,7 +19740,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19218
19740
|
},
|
|
19219
19741
|
// 打印全部
|
|
19220
19742
|
handleClickPrintAll: function handleClickPrintAll() {
|
|
19221
|
-
var
|
|
19743
|
+
var _this5 = this;
|
|
19222
19744
|
|
|
19223
19745
|
var templateNumbers = Object.keys(this.printParams);
|
|
19224
19746
|
this.isClickSinglePrint = false;
|
|
@@ -19226,18 +19748,18 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19226
19748
|
|
|
19227
19749
|
var _loop = function _loop(i) {
|
|
19228
19750
|
var templateCode = templateNumbers[i];
|
|
19229
|
-
var tmpParam =
|
|
19751
|
+
var tmpParam = _this5.printParams[templateCode];
|
|
19230
19752
|
var printToParam = originParamsClone[templateCode] || []; // 一个templateCode可能会对应多个类型
|
|
19231
19753
|
|
|
19232
|
-
var formatTypeList =
|
|
19754
|
+
var formatTypeList = _this5.formatList.filter(function (format) {
|
|
19233
19755
|
return format.number == templateCode;
|
|
19234
19756
|
});
|
|
19235
19757
|
|
|
19236
19758
|
if (formatTypeList && formatTypeList.length > 0) {
|
|
19237
19759
|
formatTypeList.forEach(function (format) {
|
|
19238
|
-
|
|
19760
|
+
_this5.currentFormatId = format.id;
|
|
19239
19761
|
|
|
19240
|
-
|
|
19762
|
+
_this5.handleClickPrint(tmpParam, format.number, format.templateId, format.id, printToParam, true);
|
|
19241
19763
|
});
|
|
19242
19764
|
}
|
|
19243
19765
|
};
|
|
@@ -19248,7 +19770,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19248
19770
|
},
|
|
19249
19771
|
// 打印默认模板格式
|
|
19250
19772
|
directDefaultFormatPrint: function directDefaultFormatPrint(defaultFormatId) {
|
|
19251
|
-
var
|
|
19773
|
+
var _this6 = this;
|
|
19252
19774
|
|
|
19253
19775
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
|
19254
19776
|
var curFormat;
|
|
@@ -19257,15 +19779,15 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19257
19779
|
switch (_context4.prev = _context4.next) {
|
|
19258
19780
|
case 0:
|
|
19259
19781
|
_context4.next = 2;
|
|
19260
|
-
return
|
|
19782
|
+
return _this6.handleClickBtn(false);
|
|
19261
19783
|
|
|
19262
19784
|
case 2:
|
|
19263
|
-
curFormat =
|
|
19785
|
+
curFormat = _this6.innerPrintItems.find(function (option) {
|
|
19264
19786
|
return option.key == defaultFormatId;
|
|
19265
19787
|
});
|
|
19266
19788
|
|
|
19267
19789
|
if (curFormat) {
|
|
19268
|
-
|
|
19790
|
+
_this6.handleOneTypePrint(curFormat.templateCode, curFormat.templateId, curFormat.key, false);
|
|
19269
19791
|
}
|
|
19270
19792
|
|
|
19271
19793
|
case 4:
|
|
@@ -19286,8 +19808,8 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19286
19808
|
var printToParam = this.originParams[templateCode] || [];
|
|
19287
19809
|
this.handleClickPrint(tmpParam, templateCode, templateId, formatId, printToParam);
|
|
19288
19810
|
},
|
|
19289
|
-
|
|
19290
|
-
this[key] =
|
|
19811
|
+
toggleSettingVisible: function toggleSettingVisible(key) {
|
|
19812
|
+
this[key] = !this[key];
|
|
19291
19813
|
},
|
|
19292
19814
|
// 修改设置
|
|
19293
19815
|
savePrintOutSetting: function savePrintOutSetting(key) {
|
|
@@ -19339,7 +19861,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19339
19861
|
// 重置打印机
|
|
19340
19862
|
handleResetPrinter: function handleResetPrinter() {
|
|
19341
19863
|
var _arguments = arguments,
|
|
19342
|
-
|
|
19864
|
+
_this7 = this;
|
|
19343
19865
|
|
|
19344
19866
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
|
|
19345
19867
|
var curPrintParamList, templateCode, templateId, formatId, data;
|
|
@@ -19352,7 +19874,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19352
19874
|
templateId = _arguments.length > 2 ? _arguments[2] : undefined;
|
|
19353
19875
|
formatId = _arguments.length > 3 ? _arguments[3] : undefined;
|
|
19354
19876
|
|
|
19355
|
-
if (!
|
|
19877
|
+
if (!_this7.getCurrentLoading()) {
|
|
19356
19878
|
_context5.next = 6;
|
|
19357
19879
|
break;
|
|
19358
19880
|
}
|
|
@@ -19360,27 +19882,27 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19360
19882
|
return _context5.abrupt("return");
|
|
19361
19883
|
|
|
19362
19884
|
case 6:
|
|
19363
|
-
|
|
19885
|
+
_this7.toggleExpandLoading(true, formatId);
|
|
19364
19886
|
|
|
19365
19887
|
_context5.next = 9;
|
|
19366
|
-
return
|
|
19888
|
+
return _this7.printInstance.resetPrinter(formatId);
|
|
19367
19889
|
|
|
19368
19890
|
case 9:
|
|
19369
19891
|
data = _context5.sent;
|
|
19370
19892
|
|
|
19371
|
-
|
|
19893
|
+
_this7.toggleExpandLoading(false);
|
|
19372
19894
|
|
|
19373
19895
|
if (!((data === null || data === void 0 ? void 0 : data.result) == 'success')) {
|
|
19374
19896
|
_context5.next = 14;
|
|
19375
19897
|
break;
|
|
19376
19898
|
}
|
|
19377
19899
|
|
|
19378
|
-
|
|
19900
|
+
_this7.$message.success(data.message || '重置打印机成功');
|
|
19379
19901
|
|
|
19380
19902
|
return _context5.abrupt("return");
|
|
19381
19903
|
|
|
19382
19904
|
case 14:
|
|
19383
|
-
|
|
19905
|
+
_this7.$message.warning('重置打印机失败');
|
|
19384
19906
|
|
|
19385
19907
|
case 15:
|
|
19386
19908
|
case "end":
|
|
@@ -19391,43 +19913,44 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19391
19913
|
}))();
|
|
19392
19914
|
},
|
|
19393
19915
|
|
|
19394
|
-
/*
|
|
19916
|
+
/* visible为true时,展示下拉 */
|
|
19395
19917
|
handleClickBtn: function handleClickBtn() {
|
|
19396
19918
|
var _arguments2 = arguments,
|
|
19397
|
-
|
|
19919
|
+
_this8 = this;
|
|
19398
19920
|
|
|
19399
19921
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
|
19400
|
-
var visible, result;
|
|
19922
|
+
var visible, isNoPopup, result;
|
|
19401
19923
|
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
19402
19924
|
while (1) {
|
|
19403
19925
|
switch (_context6.prev = _context6.next) {
|
|
19404
19926
|
case 0:
|
|
19405
19927
|
visible = _arguments2.length > 0 && _arguments2[0] !== undefined ? _arguments2[0] : true;
|
|
19928
|
+
isNoPopup = _arguments2.length > 1 && _arguments2[1] !== undefined ? _arguments2[1] : false;
|
|
19406
19929
|
|
|
19407
|
-
if (
|
|
19408
|
-
_context6.next =
|
|
19930
|
+
if (_this8.visible) {
|
|
19931
|
+
_context6.next = 8;
|
|
19409
19932
|
break;
|
|
19410
19933
|
}
|
|
19411
19934
|
|
|
19412
|
-
_context6.next =
|
|
19413
|
-
return
|
|
19935
|
+
_context6.next = 5;
|
|
19936
|
+
return _this8.init(isNoPopup);
|
|
19414
19937
|
|
|
19415
|
-
case
|
|
19938
|
+
case 5:
|
|
19416
19939
|
result = _context6.sent;
|
|
19417
19940
|
|
|
19418
19941
|
if (result) {
|
|
19419
|
-
_context6.next =
|
|
19942
|
+
_context6.next = 8;
|
|
19420
19943
|
break;
|
|
19421
19944
|
}
|
|
19422
19945
|
|
|
19423
19946
|
return _context6.abrupt("return", false);
|
|
19424
19947
|
|
|
19425
|
-
case
|
|
19948
|
+
case 8:
|
|
19426
19949
|
if (visible) {
|
|
19427
|
-
|
|
19950
|
+
_this8.visible = !_this8.visible;
|
|
19428
19951
|
}
|
|
19429
19952
|
|
|
19430
|
-
case
|
|
19953
|
+
case 9:
|
|
19431
19954
|
case "end":
|
|
19432
19955
|
return _context6.stop();
|
|
19433
19956
|
}
|
|
@@ -19436,83 +19959,113 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19436
19959
|
}))();
|
|
19437
19960
|
},
|
|
19438
19961
|
|
|
19439
|
-
/*
|
|
19962
|
+
/* isNoPopup:是否需要弹出获取打印格式失败,请联系管理员的提示 */
|
|
19440
19963
|
init: function init() {
|
|
19441
|
-
var
|
|
19964
|
+
var _arguments3 = arguments,
|
|
19965
|
+
_this9 = this;
|
|
19442
19966
|
|
|
19443
19967
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
|
|
19444
|
-
var
|
|
19968
|
+
var _this9$printConfig, _this9$printConfig2, _formatListResult, _formatListResult2, _formatListResult2$ob;
|
|
19445
19969
|
|
|
19446
|
-
var config, printUrlPrefix, customCofing, cCofing, formatListResult;
|
|
19970
|
+
var isNoPopup, config, printUrlPrefix, customCofing, cCofing, formatListResult;
|
|
19447
19971
|
return regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
19448
19972
|
while (1) {
|
|
19449
19973
|
switch (_context7.prev = _context7.next) {
|
|
19450
19974
|
case 0:
|
|
19451
|
-
|
|
19452
|
-
|
|
19975
|
+
isNoPopup = _arguments3.length > 0 && _arguments3[0] !== undefined ? _arguments3[0] : false;
|
|
19976
|
+
|
|
19977
|
+
if (!_this9.isInited) {
|
|
19978
|
+
_context7.next = 3;
|
|
19453
19979
|
break;
|
|
19454
19980
|
}
|
|
19455
19981
|
|
|
19456
19982
|
return _context7.abrupt("return", true);
|
|
19457
19983
|
|
|
19458
|
-
case
|
|
19459
|
-
|
|
19984
|
+
case 3:
|
|
19985
|
+
_this9.isInited = true;
|
|
19460
19986
|
|
|
19461
|
-
|
|
19987
|
+
_this9.setTimeoutSpin();
|
|
19462
19988
|
|
|
19463
|
-
|
|
19989
|
+
_this9.instantiatePrintSDK();
|
|
19464
19990
|
|
|
19465
19991
|
config = {
|
|
19466
19992
|
withCredentials: false,
|
|
19467
19993
|
timeout: 5000
|
|
19468
19994
|
};
|
|
19469
|
-
printUrlPrefix =
|
|
19470
|
-
customCofing = (
|
|
19471
|
-
cCofing =
|
|
19995
|
+
printUrlPrefix = _this9 === null || _this9 === void 0 ? void 0 : (_this9$printConfig = _this9.printConfig) === null || _this9$printConfig === void 0 ? void 0 : _this9$printConfig.printUrlPrefix;
|
|
19996
|
+
customCofing = (_this9 === null || _this9 === void 0 ? void 0 : (_this9$printConfig2 = _this9.printConfig) === null || _this9$printConfig2 === void 0 ? void 0 : _this9$printConfig2.customCofing) || {};
|
|
19997
|
+
cCofing = _this9.getCustomCofing(customCofing);
|
|
19472
19998
|
|
|
19473
|
-
if (external_axios_default.a !==
|
|
19999
|
+
if (external_axios_default.a !== _this9.axios && printUrlPrefix) {
|
|
19474
20000
|
config.baseURL = printUrlPrefix;
|
|
19475
20001
|
}
|
|
19476
20002
|
|
|
19477
20003
|
newvue_type_script_lang_js_httpFn = external_axios_default.a.create(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, config), cCofing));
|
|
19478
|
-
|
|
19479
|
-
return _this8.queryFormatList();
|
|
20004
|
+
formatListResult = null;
|
|
19480
20005
|
|
|
19481
|
-
|
|
20006
|
+
if (!_this9.printFormatByNumberData) {
|
|
20007
|
+
_context7.next = 17;
|
|
20008
|
+
break;
|
|
20009
|
+
}
|
|
20010
|
+
|
|
20011
|
+
formatListResult = _this9.printFormatByNumberData;
|
|
20012
|
+
_context7.next = 20;
|
|
20013
|
+
break;
|
|
20014
|
+
|
|
20015
|
+
case 17:
|
|
20016
|
+
_context7.next = 19;
|
|
20017
|
+
return _this9.queryFormatList();
|
|
20018
|
+
|
|
20019
|
+
case 19:
|
|
19482
20020
|
formatListResult = _context7.sent;
|
|
19483
20021
|
|
|
20022
|
+
case 20:
|
|
19484
20023
|
if (formatListResult) {
|
|
19485
|
-
_context7.next =
|
|
20024
|
+
_context7.next = 24;
|
|
19486
20025
|
break;
|
|
19487
20026
|
}
|
|
19488
20027
|
|
|
19489
|
-
|
|
20028
|
+
_this9.isInited = false;
|
|
19490
20029
|
|
|
19491
|
-
|
|
20030
|
+
_this9.$message.error('获取模板参数失败,请联系管理员');
|
|
19492
20031
|
|
|
19493
20032
|
return _context7.abrupt("return", false);
|
|
19494
20033
|
|
|
19495
|
-
case
|
|
19496
|
-
if (!(
|
|
19497
|
-
_context7.next =
|
|
20034
|
+
case 24:
|
|
20035
|
+
if (!(!isNoPopup && (!((_formatListResult = formatListResult) !== null && _formatListResult !== void 0 && _formatListResult.obj) || ((_formatListResult2 = formatListResult) === null || _formatListResult2 === void 0 ? void 0 : (_formatListResult2$ob = _formatListResult2.obj) === null || _formatListResult2$ob === void 0 ? void 0 : _formatListResult2$ob.length) == 0))) {
|
|
20036
|
+
_context7.next = 28;
|
|
19498
20037
|
break;
|
|
19499
20038
|
}
|
|
19500
20039
|
|
|
19501
|
-
|
|
20040
|
+
_this9.options = [];
|
|
20041
|
+
|
|
20042
|
+
_this9.$message.error(_this9.noformatTips || '获取打印格式失败,请联系管理员!');
|
|
20043
|
+
|
|
20044
|
+
return _context7.abrupt("return", _this9.requestError());
|
|
19502
20045
|
|
|
19503
|
-
|
|
20046
|
+
case 28:
|
|
20047
|
+
if (!(_this9.versionType == 1 || _this9.versionType == 3)) {
|
|
20048
|
+
_context7.next = 32;
|
|
20049
|
+
break;
|
|
20050
|
+
}
|
|
20051
|
+
|
|
20052
|
+
_this9.initHIS(formatListResult);
|
|
20053
|
+
|
|
20054
|
+
_context7.next = 34;
|
|
19504
20055
|
break;
|
|
19505
20056
|
|
|
19506
|
-
case
|
|
19507
|
-
_context7.next =
|
|
19508
|
-
return
|
|
20057
|
+
case 32:
|
|
20058
|
+
_context7.next = 34;
|
|
20059
|
+
return _this9.initCRM(formatListResult, isNoPopup);
|
|
19509
20060
|
|
|
19510
|
-
case
|
|
19511
|
-
|
|
20061
|
+
case 34:
|
|
20062
|
+
_this9.isInited = false;
|
|
20063
|
+
|
|
20064
|
+
_this9.setLoaded();
|
|
19512
20065
|
|
|
19513
20066
|
return _context7.abrupt("return", true);
|
|
19514
20067
|
|
|
19515
|
-
case
|
|
20068
|
+
case 37:
|
|
19516
20069
|
case "end":
|
|
19517
20070
|
return _context7.stop();
|
|
19518
20071
|
}
|
|
@@ -19525,7 +20078,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19525
20078
|
var _this$options,
|
|
19526
20079
|
_this$newPrintSetting5,
|
|
19527
20080
|
_this$newPrintSetting6,
|
|
19528
|
-
|
|
20081
|
+
_this10 = this;
|
|
19529
20082
|
|
|
19530
20083
|
this.options = [];
|
|
19531
20084
|
var children = this.formatList.map(function (v) {
|
|
@@ -19544,9 +20097,9 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19544
20097
|
|
|
19545
20098
|
if (((_this$newPrintSetting5 = this.newPrintSetting) === null || _this$newPrintSetting5 === void 0 ? void 0 : (_this$newPrintSetting6 = _this$newPrintSetting5.outerPrintKeys) === null || _this$newPrintSetting6 === void 0 ? void 0 : _this$newPrintSetting6.length) > 0) {
|
|
19546
20099
|
this.options.forEach(function (option) {
|
|
19547
|
-
var
|
|
20100
|
+
var _this10$newPrintSetti;
|
|
19548
20101
|
|
|
19549
|
-
if ((
|
|
20102
|
+
if ((_this10$newPrintSetti = _this10.newPrintSetting) !== null && _this10$newPrintSetti !== void 0 && _this10$newPrintSetti.outerPrintKeys.includes(option.key)) {
|
|
19550
20103
|
option.selected = true;
|
|
19551
20104
|
}
|
|
19552
20105
|
});
|
|
@@ -19557,7 +20110,38 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19557
20110
|
|
|
19558
20111
|
this.innerPrintItems = this.options.filter(function (option) {
|
|
19559
20112
|
return !option.selected;
|
|
19560
|
-
});
|
|
20113
|
+
}); // 1、通过业务传入的参数hideButtons隐藏按钮
|
|
20114
|
+
|
|
20115
|
+
if (this.hideButtons.length > 0) {
|
|
20116
|
+
this.operations = this.operations.filter(function (operation) {
|
|
20117
|
+
return !_this10.hideButtons.includes(operation.key);
|
|
20118
|
+
});
|
|
20119
|
+
} // 2、通过全局缓存portal隐藏按钮
|
|
20120
|
+
|
|
20121
|
+
|
|
20122
|
+
var portalStr = sessionStorage.getItem('portal');
|
|
20123
|
+
|
|
20124
|
+
if (portalStr) {
|
|
20125
|
+
var _portal$user;
|
|
20126
|
+
|
|
20127
|
+
var portal = JSON.parse(portalStr);
|
|
20128
|
+
var limitObj = (portal === null || portal === void 0 ? void 0 : (_portal$user = portal.user) === null || _portal$user === void 0 ? void 0 : _portal$user.currentRoleResourceObj) || {};
|
|
20129
|
+
var limitList = Object.keys(limitObj);
|
|
20130
|
+
console.log('limitList>>>', limitList); // 下载pdf全局控制
|
|
20131
|
+
|
|
20132
|
+
if (!limitList.includes(newvue_type_script_lang_js_downloadPdfCode)) {
|
|
20133
|
+
this.operations = this.operations.filter(function (option) {
|
|
20134
|
+
return option.key != 'downloadPdf';
|
|
20135
|
+
});
|
|
20136
|
+
} // 格式编辑按钮全局控制
|
|
20137
|
+
|
|
20138
|
+
|
|
20139
|
+
if (!limitList.includes(newvue_type_script_lang_js_formatEditTextCode)) {
|
|
20140
|
+
this.operations = this.operations.filter(function (option) {
|
|
20141
|
+
return option.key != 'formatEditText';
|
|
20142
|
+
});
|
|
20143
|
+
}
|
|
20144
|
+
}
|
|
19561
20145
|
},
|
|
19562
20146
|
initHIS: function initHIS(formatListResult) {
|
|
19563
20147
|
this.formatList = formatListResult ? formatListResult.list.filter(function (item) {
|
|
@@ -19566,42 +20150,54 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19566
20150
|
this.currentFormatId = this.getDefaultFormatId(this.formatList, 'printmark');
|
|
19567
20151
|
this.templateParams = this.formatList[0] || {};
|
|
19568
20152
|
},
|
|
19569
|
-
initCRM: function initCRM(formatListResult) {
|
|
19570
|
-
var
|
|
20153
|
+
initCRM: function initCRM(formatListResult, isNoPopup) {
|
|
20154
|
+
var _this11 = this;
|
|
19571
20155
|
|
|
19572
20156
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
|
|
19573
20157
|
return regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
19574
20158
|
while (1) {
|
|
19575
20159
|
switch (_context8.prev = _context8.next) {
|
|
19576
20160
|
case 0:
|
|
19577
|
-
|
|
19578
|
-
// if (!this.currentFormatId) {
|
|
19579
|
-
// this.$message.error(this.noformatTips || '获取打印格式失败,请联系管理员!');
|
|
19580
|
-
// return this.requestError();
|
|
19581
|
-
// }
|
|
19582
|
-
// if (!this.currentFormatId) {
|
|
19583
|
-
// this.requestError();
|
|
19584
|
-
// return;
|
|
19585
|
-
// }
|
|
20161
|
+
_this11.formatList = formatListResult ? _this11.formatFormatList(formatListResult.obj) : []; // this.currentFormatId = this.getDefaultFormatId(this.formatList, 'defaultFlag');
|
|
19586
20162
|
|
|
19587
|
-
|
|
20163
|
+
if (!(!isNoPopup && _this11.formatList.length == 0)) {
|
|
20164
|
+
_context8.next = 5;
|
|
20165
|
+
break;
|
|
20166
|
+
}
|
|
19588
20167
|
|
|
20168
|
+
_this11.options = [];
|
|
19589
20169
|
|
|
19590
|
-
|
|
19591
|
-
return _this10.mergeTemplateList(formatListResult.obj);
|
|
20170
|
+
_this11.$message.error(_this11.noformatTips || '获取打印格式失败,请联系管理员!');
|
|
19592
20171
|
|
|
19593
|
-
|
|
19594
|
-
|
|
20172
|
+
return _context8.abrupt("return", _this11.requestError());
|
|
20173
|
+
|
|
20174
|
+
case 5:
|
|
20175
|
+
if (!(_this11.options.length > 0)) {
|
|
20176
|
+
_context8.next = 7;
|
|
20177
|
+
break;
|
|
20178
|
+
}
|
|
20179
|
+
|
|
20180
|
+
return _context8.abrupt("return");
|
|
20181
|
+
|
|
20182
|
+
case 7:
|
|
20183
|
+
_this11.setOptions(); // this.templateParams = await this.queryTemplateParams();
|
|
20184
|
+
|
|
20185
|
+
|
|
20186
|
+
_context8.next = 10;
|
|
20187
|
+
return _this11.mergeTemplateList(formatListResult.obj);
|
|
20188
|
+
|
|
20189
|
+
case 10:
|
|
20190
|
+
_this11.templateParams = _context8.sent;
|
|
19595
20191
|
// if (templateParamsResult) {
|
|
19596
20192
|
// this.templateParams = templateParamsResult;
|
|
19597
20193
|
// } else {
|
|
19598
20194
|
// return this.requestError();
|
|
19599
20195
|
// }
|
|
19600
20196
|
// this.printParams = this.formatParams(this.templateParams, this.params);
|
|
19601
|
-
|
|
19602
|
-
|
|
20197
|
+
_this11.printParams = _this11.formatSomeTypeParams(_this11.templateParams, _this11.params);
|
|
20198
|
+
_this11.originParams = _this11.formatSomeOriginParams(_this11.templateParams, _this11.params);
|
|
19603
20199
|
|
|
19604
|
-
case
|
|
20200
|
+
case 13:
|
|
19605
20201
|
case "end":
|
|
19606
20202
|
return _context8.stop();
|
|
19607
20203
|
}
|
|
@@ -19610,27 +20206,27 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19610
20206
|
}))();
|
|
19611
20207
|
},
|
|
19612
20208
|
formatSomeTypeParams: function formatSomeTypeParams() {
|
|
19613
|
-
var
|
|
20209
|
+
var _this12 = this;
|
|
19614
20210
|
|
|
19615
20211
|
var templateParams = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
19616
20212
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
19617
20213
|
var mergeParams = {};
|
|
19618
20214
|
params = params ? params : [];
|
|
19619
20215
|
params.forEach(function (paramObj) {
|
|
19620
|
-
mergeParams = Object.assign({},
|
|
20216
|
+
mergeParams = Object.assign({}, _this12.findTemplateAndInsertData(mergeParams, paramObj, templateParams));
|
|
19621
20217
|
});
|
|
19622
20218
|
return mergeParams;
|
|
19623
20219
|
},
|
|
19624
20220
|
// 格式化原始params映射值
|
|
19625
20221
|
formatSomeOriginParams: function formatSomeOriginParams() {
|
|
19626
|
-
var
|
|
20222
|
+
var _this13 = this;
|
|
19627
20223
|
|
|
19628
20224
|
var templateParams = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
19629
20225
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
19630
20226
|
var mergeOriginParams = {};
|
|
19631
20227
|
params = params ? params : [];
|
|
19632
20228
|
params.forEach(function (paramObj) {
|
|
19633
|
-
mergeOriginParams = Object.assign({},
|
|
20229
|
+
mergeOriginParams = Object.assign({}, _this13.findTemplateAndInsertParams(mergeOriginParams, paramObj, templateParams));
|
|
19634
20230
|
});
|
|
19635
20231
|
return mergeOriginParams;
|
|
19636
20232
|
},
|
|
@@ -19751,10 +20347,10 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19751
20347
|
return templateObj;
|
|
19752
20348
|
},
|
|
19753
20349
|
setTimeoutSpin: function setTimeoutSpin() {
|
|
19754
|
-
var
|
|
20350
|
+
var _this14 = this;
|
|
19755
20351
|
|
|
19756
20352
|
this.spinTimer = setTimeout(function () {
|
|
19757
|
-
|
|
20353
|
+
_this14.spinning = true;
|
|
19758
20354
|
}, 1500);
|
|
19759
20355
|
},
|
|
19760
20356
|
setLoaded: function setLoaded() {
|
|
@@ -19794,12 +20390,12 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19794
20390
|
return this.spinning;
|
|
19795
20391
|
},
|
|
19796
20392
|
requestError: function requestError() {
|
|
19797
|
-
var
|
|
20393
|
+
var _this15 = this;
|
|
19798
20394
|
|
|
19799
20395
|
this.isInited = false;
|
|
19800
20396
|
this.setLoaded();
|
|
19801
20397
|
setTimeout(function () {
|
|
19802
|
-
|
|
20398
|
+
_this15.visible = false;
|
|
19803
20399
|
}, 0);
|
|
19804
20400
|
return false;
|
|
19805
20401
|
},
|
|
@@ -19819,7 +20415,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19819
20415
|
|
|
19820
20416
|
/* */
|
|
19821
20417
|
queryFormatList: function queryFormatList() {
|
|
19822
|
-
var
|
|
20418
|
+
var _this16 = this;
|
|
19823
20419
|
|
|
19824
20420
|
var templateNumber = this.templateNumber,
|
|
19825
20421
|
authorizationKey = this.authorizationKey,
|
|
@@ -19842,7 +20438,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19842
20438
|
break;
|
|
19843
20439
|
}
|
|
19844
20440
|
|
|
19845
|
-
|
|
20441
|
+
_this16.$message.error(data.resultMsg || '参数异常,请联系管理员');
|
|
19846
20442
|
|
|
19847
20443
|
return _context9.abrupt("return", false);
|
|
19848
20444
|
|
|
@@ -19875,7 +20471,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19875
20471
|
|
|
19876
20472
|
/* */
|
|
19877
20473
|
queryTemplateParams: function queryTemplateParams() {
|
|
19878
|
-
var
|
|
20474
|
+
var _this17 = this;
|
|
19879
20475
|
|
|
19880
20476
|
var templateNumber = this.templateNumber,
|
|
19881
20477
|
authorizationKey = this.authorizationKey,
|
|
@@ -19900,7 +20496,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19900
20496
|
break;
|
|
19901
20497
|
}
|
|
19902
20498
|
|
|
19903
|
-
|
|
20499
|
+
_this17.$message.error(data.resultMsg || '参数异常,请联系管理员');
|
|
19904
20500
|
|
|
19905
20501
|
return _context10.abrupt("return", false);
|
|
19906
20502
|
|
|
@@ -19955,7 +20551,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19955
20551
|
// });
|
|
19956
20552
|
// },
|
|
19957
20553
|
reformatPrintParams: function reformatPrintParams() {
|
|
19958
|
-
var
|
|
20554
|
+
var _this18 = this;
|
|
19959
20555
|
|
|
19960
20556
|
this.watchPrintParamsReformatFn && this.watchPrintParamsReformatFn();
|
|
19961
20557
|
/*
|
|
@@ -19967,7 +20563,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19967
20563
|
this.watchPrintParamsReformatFn = this.$watch('isInited', function (val) {
|
|
19968
20564
|
if (!val) return false;
|
|
19969
20565
|
|
|
19970
|
-
|
|
20566
|
+
_this18.reformatPrintParams();
|
|
19971
20567
|
});
|
|
19972
20568
|
return;
|
|
19973
20569
|
} // this.printParams = this.formatParams(this.templateParams, this.params);
|
|
@@ -19977,11 +20573,11 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
19977
20573
|
this.originParams = this.formatSomeOriginParams(this.templateParams, this.params);
|
|
19978
20574
|
},
|
|
19979
20575
|
formatPrintParams: function formatPrintParams(paramObj, fieldList, keyName) {
|
|
19980
|
-
var
|
|
20576
|
+
var _this19 = this;
|
|
19981
20577
|
|
|
19982
20578
|
var obj = {};
|
|
19983
20579
|
fieldList.forEach(function (i) {
|
|
19984
|
-
var defaultVal =
|
|
20580
|
+
var defaultVal = _this19.formatDefaultVal(i, paramObj[i[keyName]]);
|
|
19985
20581
|
|
|
19986
20582
|
if (paramObj[i[keyName]] && defaultVal) {
|
|
19987
20583
|
obj[i[keyName]] = defaultVal;
|
|
@@ -20066,7 +20662,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20066
20662
|
return JSON.stringify(params);
|
|
20067
20663
|
},
|
|
20068
20664
|
handleClickPrint: function handleClickPrint(curPrintParamList, templateCode, templateId, formatId) {
|
|
20069
|
-
var
|
|
20665
|
+
var _this20 = this;
|
|
20070
20666
|
|
|
20071
20667
|
var printToParam = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];
|
|
20072
20668
|
var needContinuePrint = arguments.length > 5 ? arguments[5] : undefined;
|
|
@@ -20080,7 +20676,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20080
20676
|
case 0:
|
|
20081
20677
|
try {
|
|
20082
20678
|
if (--len <= 0) {
|
|
20083
|
-
|
|
20679
|
+
_this20.callLocalServicesSuccessCb(data, 'print');
|
|
20084
20680
|
}
|
|
20085
20681
|
} catch (error) {
|
|
20086
20682
|
console.log('error', error);
|
|
@@ -20102,63 +20698,63 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20102
20698
|
if (this.getCurrentLoading() && !needContinuePrint) return;
|
|
20103
20699
|
this.toggleExpandLoading(true, formatId);
|
|
20104
20700
|
this.prevFn().catch(function () {
|
|
20105
|
-
|
|
20701
|
+
_this20.prevFnError();
|
|
20106
20702
|
|
|
20107
20703
|
return Promise.reject();
|
|
20108
20704
|
}).then(function () {
|
|
20109
|
-
if (
|
|
20110
|
-
var printFn =
|
|
20705
|
+
if (_this20.versionType == 1 || _this20.versionType == 3) {
|
|
20706
|
+
var printFn = _this20.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
|
|
20111
20707
|
|
|
20112
|
-
if (
|
|
20113
|
-
for (var i = 0; i <
|
|
20114
|
-
var params =
|
|
20708
|
+
if (_this20.strategy === 'MULTI') {
|
|
20709
|
+
for (var i = 0; i < _this20.params.length; i++) {
|
|
20710
|
+
var params = _this20.getHisParams(i);
|
|
20115
20711
|
|
|
20116
|
-
|
|
20712
|
+
_this20.printInstance[printFn](7, params).then(function (res) {
|
|
20117
20713
|
console.log(res, '777777777777');
|
|
20118
20714
|
}).catch(function (error) {
|
|
20119
20715
|
console.log(error, 'error777');
|
|
20120
20716
|
});
|
|
20121
20717
|
}
|
|
20122
20718
|
} else {
|
|
20123
|
-
var _params =
|
|
20719
|
+
var _params = _this20.getOnceHisParams();
|
|
20124
20720
|
|
|
20125
|
-
|
|
20721
|
+
_this20.printInstance[printFn](7, _params).then(function (res) {
|
|
20126
20722
|
console.log(res, '777777777777');
|
|
20127
20723
|
}).catch(function (error) {
|
|
20128
20724
|
console.log(error, 'error777');
|
|
20129
20725
|
});
|
|
20130
20726
|
}
|
|
20131
20727
|
} else {
|
|
20132
|
-
|
|
20728
|
+
_this20.curPrintParamList = curPrintParamList;
|
|
20133
20729
|
var queryParams = {
|
|
20134
20730
|
// ...this.queryParams,
|
|
20135
20731
|
formatId: formatId,
|
|
20136
20732
|
templateId: templateId,
|
|
20137
|
-
printdlgshow:
|
|
20733
|
+
printdlgshow: _this20.printdlgshow
|
|
20138
20734
|
};
|
|
20139
20735
|
|
|
20140
|
-
if (
|
|
20736
|
+
if (_this20.strategy === 'MULTI') {
|
|
20141
20737
|
// 循环多条
|
|
20142
20738
|
for (var _i3 = 0; _i3 < curPrintParamList.length; _i3++) {
|
|
20143
20739
|
if (_i3 > 0) queryParams.printdlgshow = '0';
|
|
20144
20740
|
|
|
20145
|
-
var _params2 = JSON.stringify(Object.assign({}, JSON.parse(
|
|
20741
|
+
var _params2 = JSON.stringify(Object.assign({}, JSON.parse(_this20.getPrintParams()), _this20.printCustomProps, curPrintParamList[_i3]));
|
|
20146
20742
|
|
|
20147
|
-
|
|
20743
|
+
_this20.printInstance.printDirect(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
|
|
20148
20744
|
params: _params2
|
|
20149
|
-
}), callLocalServicesSuccessCb,
|
|
20745
|
+
}), callLocalServicesSuccessCb, _this20.callLocalServicesErrorCb, _this20.callLocalServicesCancelCb);
|
|
20150
20746
|
}
|
|
20151
20747
|
} else {
|
|
20152
20748
|
// 聚合一条
|
|
20153
|
-
|
|
20154
|
-
params:
|
|
20749
|
+
_this20.printInstance.printDirect(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
|
|
20750
|
+
params: _this20.getOnceParams(curPrintParamList, templateCode)
|
|
20155
20751
|
}), function (res) {
|
|
20156
20752
|
res.params = printToParam;
|
|
20157
20753
|
res.templateCode = templateCode;
|
|
20158
20754
|
res.templateId = templateId;
|
|
20159
20755
|
|
|
20160
|
-
|
|
20161
|
-
},
|
|
20756
|
+
_this20.callLocalServicesSuccessCb(res, 'print');
|
|
20757
|
+
}, _this20.callLocalServicesErrorCb, _this20.callLocalServicesCancelCb);
|
|
20162
20758
|
}
|
|
20163
20759
|
}
|
|
20164
20760
|
});
|
|
@@ -20203,8 +20799,8 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20203
20799
|
};
|
|
20204
20800
|
},
|
|
20205
20801
|
handleClickPreview: function handleClickPreview() {
|
|
20206
|
-
var
|
|
20207
|
-
|
|
20802
|
+
var _arguments4 = arguments,
|
|
20803
|
+
_this21 = this;
|
|
20208
20804
|
|
|
20209
20805
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee12() {
|
|
20210
20806
|
var curPrintParamList, templateCode, templateId, formatId;
|
|
@@ -20212,12 +20808,12 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20212
20808
|
while (1) {
|
|
20213
20809
|
switch (_context12.prev = _context12.next) {
|
|
20214
20810
|
case 0:
|
|
20215
|
-
curPrintParamList =
|
|
20216
|
-
templateCode =
|
|
20217
|
-
templateId =
|
|
20218
|
-
formatId =
|
|
20811
|
+
curPrintParamList = _arguments4.length > 0 && _arguments4[0] !== undefined ? _arguments4[0] : [];
|
|
20812
|
+
templateCode = _arguments4.length > 1 ? _arguments4[1] : undefined;
|
|
20813
|
+
templateId = _arguments4.length > 2 ? _arguments4[2] : undefined;
|
|
20814
|
+
formatId = _arguments4.length > 3 ? _arguments4[3] : undefined;
|
|
20219
20815
|
|
|
20220
|
-
if (!
|
|
20816
|
+
if (!_this21.getCurrentLoading()) {
|
|
20221
20817
|
_context12.next = 6;
|
|
20222
20818
|
break;
|
|
20223
20819
|
}
|
|
@@ -20225,36 +20821,36 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20225
20821
|
return _context12.abrupt("return");
|
|
20226
20822
|
|
|
20227
20823
|
case 6:
|
|
20228
|
-
|
|
20824
|
+
_this21.toggleExpandLoading(true, formatId);
|
|
20229
20825
|
|
|
20230
|
-
|
|
20231
|
-
|
|
20826
|
+
_this21.prevFn().catch(function () {
|
|
20827
|
+
_this21.prevFnError();
|
|
20232
20828
|
|
|
20233
20829
|
return Promise.reject();
|
|
20234
20830
|
}).then(function () {
|
|
20235
|
-
if (
|
|
20236
|
-
var params =
|
|
20237
|
-
var printFn =
|
|
20831
|
+
if (_this21.versionType == 1 || _this21.versionType == 3) {
|
|
20832
|
+
var params = _this21.strategy === 'MULTI' ? _this21.getHisParams() : _this21.getOnceHisParams();
|
|
20833
|
+
var printFn = _this21.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
|
|
20238
20834
|
|
|
20239
|
-
|
|
20835
|
+
_this21.printInstance[printFn](8, params).then(function (res) {
|
|
20240
20836
|
console.log(res, 88888888);
|
|
20241
20837
|
}).catch(function (error) {
|
|
20242
20838
|
console.log(error, 'error888');
|
|
20243
20839
|
});
|
|
20244
20840
|
} else {
|
|
20245
|
-
|
|
20246
|
-
var IS_MULTI =
|
|
20841
|
+
_this21.curPrintParamList = curPrintParamList;
|
|
20842
|
+
var IS_MULTI = _this21.strategy === 'MULTI';
|
|
20247
20843
|
var queryParams = {
|
|
20248
20844
|
formatId: formatId,
|
|
20249
20845
|
templateId: templateId
|
|
20250
20846
|
};
|
|
20251
|
-
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(
|
|
20847
|
+
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(_this21.getPrintParams()), _this21.printCustomProps.value, curPrintParamList[0]));
|
|
20252
20848
|
|
|
20253
|
-
|
|
20254
|
-
params: IS_MULTI ? paramsFirst :
|
|
20849
|
+
_this21.printInstance.preview(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
|
|
20850
|
+
params: IS_MULTI ? paramsFirst : _this21.getOnceParams(curPrintParamList, templateCode)
|
|
20255
20851
|
}), function (res) {
|
|
20256
|
-
|
|
20257
|
-
},
|
|
20852
|
+
_this21.callLocalServicesSuccessCb(res, 'preview');
|
|
20853
|
+
}, _this21.callLocalServicesErrorCb);
|
|
20258
20854
|
}
|
|
20259
20855
|
});
|
|
20260
20856
|
|
|
@@ -20268,8 +20864,8 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20268
20864
|
},
|
|
20269
20865
|
// 下载pdf
|
|
20270
20866
|
handleClickPdf: function handleClickPdf() {
|
|
20271
|
-
var
|
|
20272
|
-
|
|
20867
|
+
var _arguments5 = arguments,
|
|
20868
|
+
_this22 = this;
|
|
20273
20869
|
|
|
20274
20870
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee13() {
|
|
20275
20871
|
var curPrintParamList, templateCode, templateId, formatId;
|
|
@@ -20277,12 +20873,12 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20277
20873
|
while (1) {
|
|
20278
20874
|
switch (_context13.prev = _context13.next) {
|
|
20279
20875
|
case 0:
|
|
20280
|
-
curPrintParamList =
|
|
20281
|
-
templateCode =
|
|
20282
|
-
templateId =
|
|
20283
|
-
formatId =
|
|
20876
|
+
curPrintParamList = _arguments5.length > 0 && _arguments5[0] !== undefined ? _arguments5[0] : [];
|
|
20877
|
+
templateCode = _arguments5.length > 1 ? _arguments5[1] : undefined;
|
|
20878
|
+
templateId = _arguments5.length > 2 ? _arguments5[2] : undefined;
|
|
20879
|
+
formatId = _arguments5.length > 3 ? _arguments5[3] : undefined;
|
|
20284
20880
|
|
|
20285
|
-
if (!
|
|
20881
|
+
if (!_this22.getCurrentLoading()) {
|
|
20286
20882
|
_context13.next = 6;
|
|
20287
20883
|
break;
|
|
20288
20884
|
}
|
|
@@ -20290,18 +20886,18 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20290
20886
|
return _context13.abrupt("return");
|
|
20291
20887
|
|
|
20292
20888
|
case 6:
|
|
20293
|
-
|
|
20889
|
+
_this22.toggleExpandLoading(true, formatId);
|
|
20294
20890
|
|
|
20295
|
-
|
|
20296
|
-
|
|
20891
|
+
_this22.prevFn().catch(function () {
|
|
20892
|
+
_this22.prevFnError();
|
|
20297
20893
|
|
|
20298
20894
|
return Promise.reject();
|
|
20299
20895
|
}).then(function () {
|
|
20300
|
-
if (
|
|
20896
|
+
if (_this22.versionType == 1 || _this22.versionType == 3) {
|
|
20301
20897
|
console.log('下载pdf>>>');
|
|
20302
20898
|
} else {
|
|
20303
|
-
|
|
20304
|
-
var IS_MULTI =
|
|
20899
|
+
_this22.curPrintParamList = curPrintParamList;
|
|
20900
|
+
var IS_MULTI = _this22.strategy === 'MULTI'; // const queryParams = {
|
|
20305
20901
|
// ...this.queryParams,
|
|
20306
20902
|
// print: { print: '1', type: '1', callback: '1' },
|
|
20307
20903
|
// };
|
|
@@ -20315,13 +20911,13 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20315
20911
|
callback: '1'
|
|
20316
20912
|
}
|
|
20317
20913
|
};
|
|
20318
|
-
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(
|
|
20914
|
+
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(_this22.getPrintParams()), _this22.printCustomProps.value, curPrintParamList[0]));
|
|
20319
20915
|
|
|
20320
|
-
|
|
20321
|
-
params: IS_MULTI ? paramsFirst :
|
|
20916
|
+
_this22.printInstance.downloadPDF(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
|
|
20917
|
+
params: IS_MULTI ? paramsFirst : _this22.getOnceParams(curPrintParamList, templateCode)
|
|
20322
20918
|
}), function (res) {
|
|
20323
|
-
|
|
20324
|
-
},
|
|
20919
|
+
_this22.callLocalServicesSuccessCb(res, 'download');
|
|
20920
|
+
}, _this22.callLocalServicesErrorCb);
|
|
20325
20921
|
}
|
|
20326
20922
|
});
|
|
20327
20923
|
|
|
@@ -20334,7 +20930,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20334
20930
|
}))();
|
|
20335
20931
|
},
|
|
20336
20932
|
handleClickEdit: function handleClickEdit() {
|
|
20337
|
-
var
|
|
20933
|
+
var _this23 = this;
|
|
20338
20934
|
|
|
20339
20935
|
var curPrintParamList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
20340
20936
|
var templateCode = arguments.length > 1 ? arguments[1] : undefined;
|
|
@@ -20343,30 +20939,30 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20343
20939
|
if (this.getCurrentLoading()) return;
|
|
20344
20940
|
this.toggleExpandLoading(true, formatId);
|
|
20345
20941
|
this.prevFn().catch(function () {
|
|
20346
|
-
|
|
20942
|
+
_this23.prevFnError();
|
|
20347
20943
|
|
|
20348
20944
|
return Promise.reject();
|
|
20349
20945
|
}).then(function () {
|
|
20350
|
-
if (
|
|
20351
|
-
var params =
|
|
20352
|
-
var printFn =
|
|
20946
|
+
if (_this23.versionType == 1 || _this23.versionType == 3) {
|
|
20947
|
+
var params = _this23.strategy === 'MULTI' ? _this23.getHisParams() : _this23.getOnceHisParams();
|
|
20948
|
+
var printFn = _this23.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
|
|
20353
20949
|
|
|
20354
|
-
|
|
20950
|
+
_this23.printInstance[printFn](9, params).then(function (res) {
|
|
20355
20951
|
console.log(res, 999999);
|
|
20356
20952
|
}).catch(function (error) {
|
|
20357
20953
|
console.log(error, 'error999');
|
|
20358
20954
|
});
|
|
20359
20955
|
} else {
|
|
20360
|
-
|
|
20956
|
+
_this23.toggleExpandLoading(false);
|
|
20361
20957
|
|
|
20362
|
-
|
|
20363
|
-
|
|
20364
|
-
|
|
20958
|
+
_this23.curPrintParamList = curPrintParamList;
|
|
20959
|
+
_this23.currentFormatId = formatId;
|
|
20960
|
+
_this23.identityVerification.visible = true;
|
|
20365
20961
|
}
|
|
20366
20962
|
});
|
|
20367
20963
|
},
|
|
20368
20964
|
verifiySuccess: function verifiySuccess(token) {
|
|
20369
|
-
var
|
|
20965
|
+
var _this24 = this;
|
|
20370
20966
|
|
|
20371
20967
|
this.identityVerification.visible = false;
|
|
20372
20968
|
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(this.getPrintParams()), this.printCustomProps.value, this.curPrintParamList[0]));
|
|
@@ -20379,7 +20975,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20379
20975
|
token: token
|
|
20380
20976
|
};
|
|
20381
20977
|
this.printInstance.editPrintFormat(queryParams, function (res) {
|
|
20382
|
-
|
|
20978
|
+
_this24.callLocalServicesSuccessCb(res, 'edit');
|
|
20383
20979
|
}, this.callLocalServicesErrorCb);
|
|
20384
20980
|
},
|
|
20385
20981
|
|
|
@@ -20434,11 +21030,8 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
20434
21030
|
}));
|
|
20435
21031
|
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=script&lang=js&
|
|
20436
21032
|
/* harmony default export */ var ButtonPrint_newvue_type_script_lang_js_ = (newvue_type_script_lang_js_);
|
|
20437
|
-
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=style&index=0&id=
|
|
20438
|
-
var
|
|
20439
|
-
|
|
20440
|
-
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=style&index=1&lang=less&
|
|
20441
|
-
var newvue_type_style_index_1_lang_less_ = __webpack_require__("a462");
|
|
21033
|
+
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=style&index=0&id=570d3aad&lang=less&scoped=true&
|
|
21034
|
+
var newvue_type_style_index_0_id_570d3aad_lang_less_scoped_true_ = __webpack_require__("2bc5");
|
|
20442
21035
|
|
|
20443
21036
|
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue
|
|
20444
21037
|
|
|
@@ -20447,16 +21040,15 @@ var newvue_type_style_index_1_lang_less_ = __webpack_require__("a462");
|
|
|
20447
21040
|
|
|
20448
21041
|
|
|
20449
21042
|
|
|
20450
|
-
|
|
20451
21043
|
/* normalize component */
|
|
20452
21044
|
|
|
20453
21045
|
var new_component = Object(componentNormalizer["a" /* default */])(
|
|
20454
21046
|
ButtonPrint_newvue_type_script_lang_js_,
|
|
20455
|
-
|
|
20456
|
-
|
|
21047
|
+
newvue_type_template_id_570d3aad_scoped_true_render,
|
|
21048
|
+
newvue_type_template_id_570d3aad_scoped_true_staticRenderFns,
|
|
20457
21049
|
false,
|
|
20458
21050
|
null,
|
|
20459
|
-
"
|
|
21051
|
+
"570d3aad",
|
|
20460
21052
|
null
|
|
20461
21053
|
|
|
20462
21054
|
)
|
|
@@ -20479,8 +21071,6 @@ var new_component = Object(componentNormalizer["a" /* default */])(
|
|
|
20479
21071
|
//
|
|
20480
21072
|
//
|
|
20481
21073
|
//
|
|
20482
|
-
//
|
|
20483
|
-
//
|
|
20484
21074
|
|
|
20485
21075
|
|
|
20486
21076
|
|
|
@@ -20602,12 +21192,26 @@ var new_component = Object(componentNormalizer["a" /* default */])(
|
|
|
20602
21192
|
getPrintParamsAfter: {
|
|
20603
21193
|
type: Function
|
|
20604
21194
|
},
|
|
21195
|
+
// 隐藏默认按钮配置。printText: 直接打印;previewText: 打印预览;downloadPdf:下载pdf;formatEditText:格式编辑。示例:hideButtons = ['formatEditText']
|
|
21196
|
+
hideButtons: {
|
|
21197
|
+
type: Array,
|
|
21198
|
+
default: function _default() {
|
|
21199
|
+
return [];
|
|
21200
|
+
}
|
|
21201
|
+
},
|
|
20605
21202
|
// 新版打印配置(新)
|
|
20606
21203
|
newPrintSetting: {
|
|
20607
21204
|
type: Object,
|
|
20608
21205
|
default: function _default() {
|
|
20609
21206
|
return {};
|
|
20610
21207
|
}
|
|
21208
|
+
},
|
|
21209
|
+
// 获取模板数据(新)
|
|
21210
|
+
printFormatByNumberData: {
|
|
21211
|
+
type: Object,
|
|
21212
|
+
default: function _default() {
|
|
21213
|
+
return null;
|
|
21214
|
+
}
|
|
20611
21215
|
}
|
|
20612
21216
|
},
|
|
20613
21217
|
computed: {
|
|
@@ -20932,10 +21536,10 @@ module.exports = require("core-js/modules/es.array.map.js");
|
|
|
20932
21536
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return $utils; });
|
|
20933
21537
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return outQuickSearchDefCommon; });
|
|
20934
21538
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return outQuickSearchFn; });
|
|
20935
|
-
/* harmony import */ var
|
|
20936
|
-
/* harmony import */ var
|
|
20937
|
-
/* harmony import */ var
|
|
20938
|
-
/* harmony import */ var
|
|
21539
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("53ca");
|
|
21540
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("5530");
|
|
21541
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("3835");
|
|
21542
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("1da1");
|
|
20939
21543
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("d16b");
|
|
20940
21544
|
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
20941
21545
|
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("97d3");
|
|
@@ -21086,7 +21690,7 @@ var filterApiFn = {
|
|
|
21086
21690
|
var _arguments = arguments,
|
|
21087
21691
|
_this = this;
|
|
21088
21692
|
|
|
21089
|
-
return Object(
|
|
21693
|
+
return Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
21090
21694
|
var config, filterApiConfig, fn, _this$filterApiConfig, res;
|
|
21091
21695
|
|
|
21092
21696
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -21256,7 +21860,7 @@ var $utils = {
|
|
|
21256
21860
|
|
|
21257
21861
|
if (btn.setting && typeof rowOperatorId === 'string' && rowOperatorId.includes('###')) {
|
|
21258
21862
|
var _rowOperatorId$split = rowOperatorId.split('###'),
|
|
21259
|
-
_rowOperatorId$split2 = Object(
|
|
21863
|
+
_rowOperatorId$split2 = Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_rowOperatorId$split, 2),
|
|
21260
21864
|
btnId = _rowOperatorId$split2[0],
|
|
21261
21865
|
objId = _rowOperatorId$split2[1];
|
|
21262
21866
|
|
|
@@ -21271,7 +21875,7 @@ var $utils = {
|
|
|
21271
21875
|
if (f) {
|
|
21272
21876
|
var _copyBtn = JSON.parse(JSON.stringify(btn));
|
|
21273
21877
|
|
|
21274
|
-
_copyBtn.settingObj = Object(
|
|
21878
|
+
_copyBtn.settingObj = Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({}, f);
|
|
21275
21879
|
_copyBtn.setting = JSON.stringify(f);
|
|
21276
21880
|
return _copyBtn;
|
|
21277
21881
|
}
|
|
@@ -21288,7 +21892,7 @@ var $utils = {
|
|
|
21288
21892
|
if (Array.isArray(btnSetting)) {
|
|
21289
21893
|
var _settingObj = btnSetting[0] || {};
|
|
21290
21894
|
|
|
21291
|
-
copyBtn.settingObj = Object(
|
|
21895
|
+
copyBtn.settingObj = Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])({}, _settingObj);
|
|
21292
21896
|
copyBtn.setting = JSON.stringify(_settingObj);
|
|
21293
21897
|
return copyBtn;
|
|
21294
21898
|
} else {
|
|
@@ -21339,7 +21943,7 @@ var $utils = {
|
|
|
21339
21943
|
var hexArr = getChunksFromString(hex.slice(1), chunkSize);
|
|
21340
21944
|
|
|
21341
21945
|
var _hexArr$map = hexArr.map(convertHexUnitTo256),
|
|
21342
|
-
_hexArr$map2 = Object(
|
|
21946
|
+
_hexArr$map2 = Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_hexArr$map, 4),
|
|
21343
21947
|
r = _hexArr$map2[0],
|
|
21344
21948
|
g = _hexArr$map2[1],
|
|
21345
21949
|
b = _hexArr$map2[2],
|
|
@@ -21480,7 +22084,7 @@ var $utils = {
|
|
|
21480
22084
|
try {
|
|
21481
22085
|
var obj = JSON.parse(str);
|
|
21482
22086
|
|
|
21483
|
-
if (Object(
|
|
22087
|
+
if (Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(obj) == 'object' && obj) {
|
|
21484
22088
|
return true;
|
|
21485
22089
|
} else {
|
|
21486
22090
|
return false;
|
|
@@ -21506,7 +22110,7 @@ var $utils = {
|
|
|
21506
22110
|
return typeof val === 'string';
|
|
21507
22111
|
},
|
|
21508
22112
|
isPlainObject: function isPlainObject(val) {
|
|
21509
|
-
return Object(
|
|
22113
|
+
return Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(val) === 'object';
|
|
21510
22114
|
}
|
|
21511
22115
|
};
|
|
21512
22116
|
}
|
|
@@ -21536,7 +22140,7 @@ var outQuickSearchDefCommon = {
|
|
|
21536
22140
|
handleDefVal: function handleDefVal(config) {
|
|
21537
22141
|
var _this3 = this;
|
|
21538
22142
|
|
|
21539
|
-
return Object(
|
|
22143
|
+
return Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
21540
22144
|
var isDef, promises, type;
|
|
21541
22145
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
21542
22146
|
while (1) {
|
|
@@ -22012,13 +22616,13 @@ var outQuickSearchFn = {
|
|
|
22012
22616
|
if (typeof value === 'string') {
|
|
22013
22617
|
var _value$split = value.split('<&=&>');
|
|
22014
22618
|
|
|
22015
|
-
var _value$split2 = Object(
|
|
22619
|
+
var _value$split2 = Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_value$split, 1);
|
|
22016
22620
|
|
|
22017
22621
|
value = _value$split2[0];
|
|
22018
22622
|
} else if (Array.isArray(value)) {
|
|
22019
22623
|
value = value.map(function (v) {
|
|
22020
22624
|
var _ref2 = typeof v === 'string' ? v.split('<&=&>') : [],
|
|
22021
|
-
_ref3 = Object(
|
|
22625
|
+
_ref3 = Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(_ref2, 1),
|
|
22022
22626
|
k = _ref3[0];
|
|
22023
22627
|
|
|
22024
22628
|
return k;
|
|
@@ -22606,13 +23210,6 @@ module.exports = require("core-js/modules/es.typed-array.filter.js");
|
|
|
22606
23210
|
|
|
22607
23211
|
/***/ }),
|
|
22608
23212
|
|
|
22609
|
-
/***/ "5650":
|
|
22610
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
22611
|
-
|
|
22612
|
-
// extracted by mini-css-extract-plugin
|
|
22613
|
-
|
|
22614
|
-
/***/ }),
|
|
22615
|
-
|
|
22616
23213
|
/***/ "5692":
|
|
22617
23214
|
/***/ (function(module, exports, __webpack_require__) {
|
|
22618
23215
|
|
|
@@ -22653,7 +23250,7 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
22653
23250
|
|
|
22654
23251
|
"use strict";
|
|
22655
23252
|
|
|
22656
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
23253
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=270773fe&scoped=true&
|
|
22657
23254
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"form-select-btn",on:{"mousedown":function (e) { return e.preventDefault(); }}},[_c('a-button',{class:{ 'disabled-btn': _vm.preDisabled },attrs:{"type":"dashed","block":""},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }$event.stopPropagation();return _vm.handleSearchChangePageProxy('prev', _vm.preDisabled)}}},[_c('a-icon',{attrs:{"type":"left"}}),_vm._v(" 上一页 ")],1),_c('a-button',{class:{
|
|
22658
23255
|
'disabled-btn': _vm.nextDisabled
|
|
22659
23256
|
},attrs:{"type":"dashed","block":""},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }$event.stopPropagation();return _vm.handleSearchChangePageProxy('next', _vm.nextDisabled)}}},[_vm._v(" 下一页 "),_c('a-icon',{attrs:{"type":"right"}})],1)],1)}
|
|
@@ -22943,6 +23540,17 @@ module.exports = require("ant-design-vue/es/dropdown/style");
|
|
|
22943
23540
|
/* unused harmony reexport * */
|
|
22944
23541
|
|
|
22945
23542
|
|
|
23543
|
+
/***/ }),
|
|
23544
|
+
|
|
23545
|
+
/***/ "6596":
|
|
23546
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23547
|
+
|
|
23548
|
+
"use strict";
|
|
23549
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BaseSearch_vue_vue_type_style_index_0_id_555b2bfc_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cdc1");
|
|
23550
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BaseSearch_vue_vue_type_style_index_0_id_555b2bfc_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BaseSearch_vue_vue_type_style_index_0_id_555b2bfc_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
23551
|
+
/* unused harmony reexport * */
|
|
23552
|
+
|
|
23553
|
+
|
|
22946
23554
|
/***/ }),
|
|
22947
23555
|
|
|
22948
23556
|
/***/ "6848":
|
|
@@ -23167,7 +23775,7 @@ module.exports = require("core-js/modules/es.typed-array.find-index.js");
|
|
|
23167
23775
|
// ESM COMPAT FLAG
|
|
23168
23776
|
__webpack_require__.r(__webpack_exports__);
|
|
23169
23777
|
|
|
23170
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
23778
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=978894e6&scoped=true&
|
|
23171
23779
|
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
|
|
23172
23780
|
? 'xitongtubiaodaohangtubiaozuixiaohua'
|
|
23173
23781
|
: '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)}
|
|
@@ -23749,9 +24357,9 @@ module.exports = require("core-js/modules/es.regexp.constructor.js");
|
|
|
23749
24357
|
|
|
23750
24358
|
"use strict";
|
|
23751
24359
|
/* unused harmony export FlexibleResize */
|
|
23752
|
-
/* harmony import */ var
|
|
23753
|
-
/* harmony import */ var
|
|
23754
|
-
/* harmony import */ var
|
|
24360
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d4ec");
|
|
24361
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("bee2");
|
|
24362
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("ade3");
|
|
23755
24363
|
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("ea64");
|
|
23756
24364
|
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
23757
24365
|
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("ccb0");
|
|
@@ -23765,9 +24373,9 @@ var FlexibleResize = /*#__PURE__*/function () {
|
|
|
23765
24373
|
function FlexibleResize(options) {
|
|
23766
24374
|
var _this = this;
|
|
23767
24375
|
|
|
23768
|
-
Object(
|
|
24376
|
+
Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, FlexibleResize);
|
|
23769
24377
|
|
|
23770
|
-
Object(
|
|
24378
|
+
Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "maskMove", function (e) {
|
|
23771
24379
|
var v = _this._isV ? e.screenX : e.screenY;
|
|
23772
24380
|
var distance = parseInt(v - _this._mv);
|
|
23773
24381
|
_this._mv = v;
|
|
@@ -23778,7 +24386,7 @@ var FlexibleResize = /*#__PURE__*/function () {
|
|
|
23778
24386
|
});
|
|
23779
24387
|
});
|
|
23780
24388
|
|
|
23781
|
-
Object(
|
|
24389
|
+
Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "maskUp", function (e) {
|
|
23782
24390
|
var onEnd = _this.options.onEnd;
|
|
23783
24391
|
var v = _this._isV ? e.screenX : e.screenY;
|
|
23784
24392
|
onEnd && onEnd({
|
|
@@ -23789,7 +24397,7 @@ var FlexibleResize = /*#__PURE__*/function () {
|
|
|
23789
24397
|
_this.maskRemove();
|
|
23790
24398
|
});
|
|
23791
24399
|
|
|
23792
|
-
Object(
|
|
24400
|
+
Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(this, "toolDown", function (e) {
|
|
23793
24401
|
_this.maskInsert();
|
|
23794
24402
|
|
|
23795
24403
|
_this._isV = /^V/.test(_this.options.mode);
|
|
@@ -23804,7 +24412,7 @@ var FlexibleResize = /*#__PURE__*/function () {
|
|
|
23804
24412
|
this.init(options);
|
|
23805
24413
|
}
|
|
23806
24414
|
|
|
23807
|
-
Object(
|
|
24415
|
+
Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(FlexibleResize, [{
|
|
23808
24416
|
key: "init",
|
|
23809
24417
|
value: function init(options) {
|
|
23810
24418
|
this.options = options || {};
|
|
@@ -23957,17 +24565,6 @@ var FlexibleResize = /*#__PURE__*/function () {
|
|
|
23957
24565
|
}
|
|
23958
24566
|
});
|
|
23959
24567
|
|
|
23960
|
-
/***/ }),
|
|
23961
|
-
|
|
23962
|
-
/***/ "88f2":
|
|
23963
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23964
|
-
|
|
23965
|
-
"use strict";
|
|
23966
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_new_vue_vue_type_style_index_0_id_9821bc7e_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e9bc");
|
|
23967
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_new_vue_vue_type_style_index_0_id_9821bc7e_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_new_vue_vue_type_style_index_0_id_9821bc7e_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
23968
|
-
/* unused harmony reexport * */
|
|
23969
|
-
|
|
23970
|
-
|
|
23971
24568
|
/***/ }),
|
|
23972
24569
|
|
|
23973
24570
|
/***/ "88fd":
|
|
@@ -24091,7 +24688,7 @@ var es_array_join_js_ = __webpack_require__("be94");
|
|
|
24091
24688
|
// EXTERNAL MODULE: ./packages/table-filter/src/components/render-widget/enums.js
|
|
24092
24689
|
var enums = __webpack_require__("a0f2");
|
|
24093
24690
|
|
|
24094
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24691
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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/render-widget/components/CheckboxGroup.vue?vue&type=template&id=b28ad724&
|
|
24095
24692
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CheckboxGroup',_vm._b({attrs:{"value":_vm.valueCp},on:{"change":_vm.onChange}},'CheckboxGroup',_vm.$attrs,false))}
|
|
24096
24693
|
var staticRenderFns = []
|
|
24097
24694
|
|
|
@@ -24225,7 +24822,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
24225
24822
|
)
|
|
24226
24823
|
|
|
24227
24824
|
/* harmony default export */ var CheckboxGroup = (component.exports);
|
|
24228
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24825
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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/render-widget/components/Select.vue?vue&type=template&id=46445a78&
|
|
24229
24826
|
var Selectvue_type_template_id_46445a78_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Select',_vm._g(_vm._b({attrs:{"maxTagCount":_vm.maxTagCount,"maxTagPlaceholder":_vm.maxTagPlaceholder,"filterOption":_vm.filterOption},model:{value:(_vm.valueCp),callback:function ($$v) {_vm.valueCp=$$v},expression:"valueCp"}},'Select',_vm.$attrs,false),_vm.$listeners))}
|
|
24230
24827
|
var Selectvue_type_template_id_46445a78_staticRenderFns = []
|
|
24231
24828
|
|
|
@@ -24331,7 +24928,7 @@ var Select_component = Object(componentNormalizer["a" /* default */])(
|
|
|
24331
24928
|
)
|
|
24332
24929
|
|
|
24333
24930
|
/* harmony default export */ var Select = (Select_component.exports);
|
|
24334
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24931
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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/render-widget/components/NumberRange.vue?vue&type=template&id=22cdf074&scoped=true&
|
|
24335
24932
|
var NumberRangevue_type_template_id_22cdf074_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"filter-number-range"},[_c('span',{staticClass:"ant-calendar-picker-input ant-input num-picker",class:{ 'num-picker-unit': _vm.componentCfg.inputUnit }},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.lessValue),expression:"lessValue"}],staticClass:"ant-calendar-range-picker-input",attrs:{"title":_vm.placeholderS,"placeholder":_vm.placeholderS},domProps:{"value":(_vm.lessValue)},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.changeFilterNumber.apply(null, arguments)},"change":_vm.changeFilterNumber,"input":function($event){if($event.target.composing){ return; }_vm.lessValue=$event.target.value}}}),_c('span',{staticClass:"ant-calendar-range-picker-separator"},[_vm._v(" ~ ")]),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.bigValue),expression:"bigValue"}],staticClass:"ant-calendar-range-picker-input",attrs:{"title":_vm.placeholderE,"placeholder":_vm.placeholderE},domProps:{"value":(_vm.bigValue)},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.changeFilterNumber.apply(null, arguments)},"change":_vm.changeFilterNumber,"input":function($event){if($event.target.composing){ return; }_vm.bigValue=$event.target.value}}}),(_vm.componentCfg.inputUnit)?[_vm._v(" "+_vm._s(_vm.componentCfg.inputUnit))]:_vm._e(),(_vm.lessValue || _vm.bigValue)?_c('span',{staticClass:"ant-input-suffix clear-number-icon",on:{"click":_vm.clearFilterNumber}},[_c('i',{staticClass:"anticon anticon-close-circle ant-input-clear-icon",attrs:{"aria-label":"图标: close-circle","tabindex":"-1"}},[_c('svg',{attrs:{"viewBox":"64 64 896 896","data-icon":"close-circle","width":"1em","height":"1em","fill":"currentColor","aria-hidden":"true","focusable":"false"}},[_c('path',{attrs:{"d":"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}})])])]):_vm._e()],2)])}
|
|
24336
24933
|
var NumberRangevue_type_template_id_22cdf074_scoped_true_staticRenderFns = []
|
|
24337
24934
|
|
|
@@ -24456,7 +25053,7 @@ var NumberRange_component = Object(componentNormalizer["a" /* default */])(
|
|
|
24456
25053
|
)
|
|
24457
25054
|
|
|
24458
25055
|
/* harmony default export */ var NumberRange = (NumberRange_component.exports);
|
|
24459
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25056
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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/render-widget/components/DateRangeQuick.vue?vue&type=template&id=f6d3730c&scoped=true&
|
|
24460
25057
|
var DateRangeQuickvue_type_template_id_f6d3730c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"filter-date-range"},[_c('a-radio-group',{attrs:{"buttonStyle":"solid"},model:{value:(_vm.con),callback:function ($$v) {_vm.con=$$v},expression:"con"}},[_vm._l((_vm.dateTeam0),function(date){return _c('a-radio-button',{directives:[{name:"show",rawName:"v-show",value:(!_vm.showDate),expression:"!showDate"}],key:date.con,attrs:{"value":date.con},on:{"click":function($event){return _vm.clickRadioGroup(date.con)}}},[_vm._v(" "+_vm._s(_vm.getI18nText(date.title, date.name))+" ")])}),_c('span',{class:['check-date-btn', _vm.marginx],on:{"click":_vm.checkDate}},[_vm._v(" "+_vm._s(_vm.checkText)+" ")]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showDate),expression:"showDate"}],staticClass:"check-date"},[_c('a-date-picker',{staticStyle:{"width":"200px","min-width":"195px"},attrs:{"format":_vm.format,"show-time":_vm.showTimeStart,"placeholder":_vm.placeholderS,"allowClear":"","disabledDate":function (current) { return _vm.disabledDatePicker(current, 'start'); }},on:{"change":_vm.dateChangeStr},model:{value:(_vm.value_start),callback:function ($$v) {_vm.value_start=$$v},expression:"value_start"}}),_vm._v(" "),_c('a-date-picker',{staticStyle:{"width":"200px","min-width":"195px"},attrs:{"format":_vm.format,"show-time":_vm.showTimeEnd,"placeholder":_vm.placeholderE,"allowClear":"","disabledDate":function (current) { return _vm.disabledDatePicker(current, 'end'); }},on:{"change":_vm.dateChangeEnd},model:{value:(_vm.value_end),callback:function ($$v) {_vm.value_end=$$v},expression:"value_end"}})],1)],2)],1)}
|
|
24461
25058
|
var DateRangeQuickvue_type_template_id_f6d3730c_scoped_true_staticRenderFns = []
|
|
24462
25059
|
|
|
@@ -24689,7 +25286,7 @@ var DateRangeQuick_component = Object(componentNormalizer["a" /* default */])(
|
|
|
24689
25286
|
)
|
|
24690
25287
|
|
|
24691
25288
|
/* harmony default export */ var DateRangeQuick = (DateRangeQuick_component.exports);
|
|
24692
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25289
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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/render-widget/components/SelectDynamic.vue?vue&type=template&id=1d527c45&
|
|
24693
25290
|
var SelectDynamicvue_type_template_id_1d527c45_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"SelectDynamic"},[_c('a-select',{ref:"quickInputSelect",staticClass:"quick-dynamic-select",class:{ 'quick-dynamic-select-mul': _vm.maxTagCount > 0 },attrs:{"showSearch":"","mode":_vm.mode,"placeholder":_vm.placeholder,"dropdownMatchSelectWidth":!_vm.selectHasTitle,"maxTagCount":_vm.maxTagCount,"maxTagPlaceholder":_vm.maxTagPlaceholder,"filterOption":false,"allowClear":true,"showArrow":true,"notFoundContent":_vm.componentCfg.fetchingWordbook ? undefined : '暂无数据'},on:{"search":function($event){return _vm.handleWordBookSearchRender($event, _vm.componentCfg)},"dropdownVisibleChange":function($event){return _vm.dropdownVisibleChangeRender($event, _vm.componentCfg)},"change":function($event){return _vm.handleChange($event, _vm.componentCfg)}},scopedSlots:_vm._u([{key:"dropdownRender",fn:function(menu){return _c('div',{staticClass:"quick-dynamic-dropDown-container",class:{ 'quick-dynamic-dropDown-container-hasTitle': _vm.selectHasTitle }},[(_vm.componentCfg.fetchingWordbook)?_c('a-spin',{attrs:{"spinning":_vm.componentCfg.fetchingWordbook,"tip":"加载中..."}},[_c('v-nodes',{attrs:{"vnodes":menu}})],1):(_vm.selectHasTitle)?[_c('v-nodes',{attrs:{"vnodes":menu}}),_c('div',{staticClass:"quick-dynamic-select-title"},_vm._l((_vm._showKeys_),function(v,i){return _c('span',{key:i},[_c('Ellipsis',{attrs:{"content":v}})],1)}),0)]:[_c('v-nodes',{attrs:{"vnodes":menu}})]],2)}}]),model:{value:(_vm.valueCp),callback:function ($$v) {_vm.valueCp=$$v},expression:"valueCp"}},[_vm._l((_vm.componentCfg.dataSource),function(sea,k){return _c('a-select-option',{key:k + sea.myName,staticClass:"quick-dynamic-select-item",attrs:{"value":sea.myName}},_vm._l((_vm.showKeys),function(v,i){return _c('span',{key:i,style:(_vm.getShowKeysMax)},[_c('Ellipsis',{attrs:{"content":sea[v]}})],1)}),0)}),_c('span',{attrs:{"slot":"notFoundContent"},slot:"notFoundContent"},[_vm._v("暂无数据")]),_c('span',{attrs:{"slot":"removeIcon"},slot:"removeIcon"},[(_vm.showRemoveIcon)?_c('a-icon',{attrs:{"type":"close"}}):_c('span')],1)],2)],1)}
|
|
24694
25291
|
var SelectDynamicvue_type_template_id_1d527c45_staticRenderFns = []
|
|
24695
25292
|
|
|
@@ -24916,7 +25513,7 @@ var SelectDynamic_component = Object(componentNormalizer["a" /* default */])(
|
|
|
24916
25513
|
)
|
|
24917
25514
|
|
|
24918
25515
|
/* harmony default export */ var SelectDynamic = (SelectDynamic_component.exports);
|
|
24919
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25516
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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/render-widget/components/Label.vue?vue&type=template&id=a51ef146&scoped=true&
|
|
24920
25517
|
var Labelvue_type_template_id_a51ef146_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"label-attr-filter-container"},_vm._l((_vm.categoryList),function(categoryItem){return _c('div',{key:categoryItem.classifyId,staticClass:"edit-labels-content"},[_c('span',{staticClass:"edit-f-label"},[_vm._v(_vm._s(categoryItem.classifyName)+":")]),_c('div',{staticClass:"edit-f-content",class:{
|
|
24921
25518
|
'label-select-height': !categoryItem.isUnfold && categoryItem.labelList && categoryItem.isShowBtn
|
|
24922
25519
|
}},[_c('div',{directives:[{name:"resize",rawName:"v-resize",value:(function (el) { return _vm.onResize(el, categoryItem); }),expression:"el => onResize(el, categoryItem)"}],staticClass:"label-f-content"},_vm._l((categoryItem.labelList),function(item){return _c('a-checkable-tag',{key:item.labelCode,style:(_vm.formatStyle(item)),on:{"change":function($event){return _vm.handleLabelChange($event, item, categoryItem)}},model:{value:(item.isSelect),callback:function ($$v) {_vm.$set(item, "isSelect", $$v)},expression:"item.isSelect"}},[_c('a-tooltip',{attrs:{"placement":"topLeft","mouseEnterDelay":0.5,"mouseLeaveDelay":0}},[_c('template',{slot:"title"},[_c('span',[_vm._v(_vm._s(item.labelShowText))])]),_vm._v(" "+_vm._s(item.labelShowText)+" ")],2)],1)}),1)]),(categoryItem.labelList && categoryItem.isShowBtn)?_c('div',{staticClass:"label-f-unfold-btn"},[_c('span',{on:{"click":function($event){$event.stopPropagation();return _vm.handleLabelUpfold(categoryItem)}}},[(categoryItem.isUnfold)?[_c('span',[_vm._v("收起")]),_c('a-icon',{attrs:{"type":"up-square"}})]:[_c('span',[_vm._v("展开")]),_c('a-icon',{attrs:{"type":"down-square"}})]],2)]):_vm._e()])}),0)}
|
|
@@ -25099,7 +25696,7 @@ var Label_component = Object(componentNormalizer["a" /* default */])(
|
|
|
25099
25696
|
)
|
|
25100
25697
|
|
|
25101
25698
|
/* harmony default export */ var Label = (Label_component.exports);
|
|
25102
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25699
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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/render-widget/components/SelectLabel.vue?vue&type=template&id=7047758d&
|
|
25103
25700
|
var SelectLabelvue_type_template_id_7047758d_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-select',_vm._g(_vm._b({attrs:{"maxTagCount":_vm.maxTagCount,"maxTagPlaceholder":_vm.maxTagPlaceholder},model:{value:(_vm.valueCp),callback:function ($$v) {_vm.valueCp=$$v},expression:"valueCp"}},'a-select',_vm.$attrs,false),_vm.$listeners),_vm._l((_vm.optionList),function(tag){return _c('a-select-option',{key:tag,attrs:{"value":tag}},[_vm._v(_vm._s(tag))])}),1)}
|
|
25104
25701
|
var SelectLabelvue_type_template_id_7047758d_staticRenderFns = []
|
|
25105
25702
|
|
|
@@ -25211,7 +25808,7 @@ var SelectLabel_component = Object(componentNormalizer["a" /* default */])(
|
|
|
25211
25808
|
)
|
|
25212
25809
|
|
|
25213
25810
|
/* harmony default export */ var SelectLabel = (SelectLabel_component.exports);
|
|
25214
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25811
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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/render-widget/components/Text.vue?vue&type=template&id=07920cbc&
|
|
25215
25812
|
var Textvue_type_template_id_07920cbc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Input',_vm._g(_vm._b({staticClass:"widget-input",scopedSlots:_vm._u([(_vm.showPrefix)?{key:"prefix",fn:function(){return [_c('Checkbox',{model:{value:(_vm.componentCfg.isAccurateSearch),callback:function ($$v) {_vm.$set(_vm.componentCfg, "isAccurateSearch", $$v)},expression:"componentCfg.isAccurateSearch"}},[_vm._v("精准查询")])]},proxy:true}:null],null,true),model:{value:(_vm.valueCp),callback:function ($$v) {_vm.valueCp=$$v},expression:"valueCp"}},'Input',_vm.$attrs,false),_vm.$listeners))}
|
|
25216
25813
|
var Textvue_type_template_id_07920cbc_staticRenderFns = []
|
|
25217
25814
|
|
|
@@ -25993,7 +26590,7 @@ module.exports = require("core-js/modules/es.typed-array.every.js");
|
|
|
25993
26590
|
|
|
25994
26591
|
"use strict";
|
|
25995
26592
|
|
|
25996
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
26593
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=18d7b2f6&scoped=true&
|
|
25997
26594
|
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,"placeholder":"请输入岁"},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,"placeholder":"请输入月"},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,"placeholder":"请输入日"},on:{"change":_vm.handleDayChange}}):_vm._e(),_c('span',{staticClass:"age-com-suffix"},[_vm._v("日")])]:_vm._e()],2)}
|
|
25998
26595
|
var staticRenderFns = []
|
|
25999
26596
|
|
|
@@ -26340,7 +26937,7 @@ module.exports = require("core-js/modules/es.typed-array.join.js");
|
|
|
26340
26937
|
|
|
26341
26938
|
"use strict";
|
|
26342
26939
|
|
|
26343
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
26940
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=78c311b6&scoped=true&
|
|
26344
26941
|
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, index); },"click":function($event){return _vm.handleParentNameSelect(item, index)}}},[_c('a-input',{ref:((item.value) + "-" + index),refInFor:true,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"}}),(item.disabled)?_c('div',{staticClass:"disabled-mask",on:{"click":_vm.maskClick}}):_vm._e(),_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 () {
|
|
26345
26942
|
var arg = [], len = arguments.length;
|
|
26346
26943
|
while ( len-- ) arg[ len ] = arguments[ len ];
|
|
@@ -29249,17 +29846,6 @@ var DatePresetValEnums = {
|
|
|
29249
29846
|
|
|
29250
29847
|
module.exports = require("crypto-js");
|
|
29251
29848
|
|
|
29252
|
-
/***/ }),
|
|
29253
|
-
|
|
29254
|
-
/***/ "a462":
|
|
29255
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
29256
|
-
|
|
29257
|
-
"use strict";
|
|
29258
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_new_vue_vue_type_style_index_1_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3016");
|
|
29259
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_new_vue_vue_type_style_index_1_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_new_vue_vue_type_style_index_1_lang_less___WEBPACK_IMPORTED_MODULE_0__);
|
|
29260
|
-
/* unused harmony reexport * */
|
|
29261
|
-
|
|
29262
|
-
|
|
29263
29849
|
/***/ }),
|
|
29264
29850
|
|
|
29265
29851
|
/***/ "a479":
|
|
@@ -29382,17 +29968,6 @@ if (!IS_PURE && typeof NativePromise == 'function') {
|
|
|
29382
29968
|
/* unused harmony reexport * */
|
|
29383
29969
|
|
|
29384
29970
|
|
|
29385
|
-
/***/ }),
|
|
29386
|
-
|
|
29387
|
-
/***/ "ac56":
|
|
29388
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
29389
|
-
|
|
29390
|
-
"use strict";
|
|
29391
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_old_vue_vue_type_style_index_0_id_edc09274_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("df26");
|
|
29392
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_old_vue_vue_type_style_index_0_id_edc09274_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_old_vue_vue_type_style_index_0_id_edc09274_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
29393
|
-
/* unused harmony reexport * */
|
|
29394
|
-
|
|
29395
|
-
|
|
29396
29971
|
/***/ }),
|
|
29397
29972
|
|
|
29398
29973
|
/***/ "ade3":
|
|
@@ -29505,6 +30080,13 @@ module.exports = {
|
|
|
29505
30080
|
/* unused harmony reexport * */
|
|
29506
30081
|
|
|
29507
30082
|
|
|
30083
|
+
/***/ }),
|
|
30084
|
+
|
|
30085
|
+
/***/ "b06d":
|
|
30086
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
30087
|
+
|
|
30088
|
+
// extracted by mini-css-extract-plugin
|
|
30089
|
+
|
|
29508
30090
|
/***/ }),
|
|
29509
30091
|
|
|
29510
30092
|
/***/ "b107":
|
|
@@ -31892,6 +32474,13 @@ module.exports = function (object, names) {
|
|
|
31892
32474
|
|
|
31893
32475
|
/***/ }),
|
|
31894
32476
|
|
|
32477
|
+
/***/ "cb3e":
|
|
32478
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
32479
|
+
|
|
32480
|
+
// extracted by mini-css-extract-plugin
|
|
32481
|
+
|
|
32482
|
+
/***/ }),
|
|
32483
|
+
|
|
31895
32484
|
/***/ "cc12":
|
|
31896
32485
|
/***/ (function(module, exports, __webpack_require__) {
|
|
31897
32486
|
|
|
@@ -31955,6 +32544,13 @@ module.exports = require("core-js/modules/es.number.to-fixed.js");
|
|
|
31955
32544
|
/* unused harmony reexport * */
|
|
31956
32545
|
|
|
31957
32546
|
|
|
32547
|
+
/***/ }),
|
|
32548
|
+
|
|
32549
|
+
/***/ "cdc1":
|
|
32550
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
32551
|
+
|
|
32552
|
+
// extracted by mini-css-extract-plugin
|
|
32553
|
+
|
|
31958
32554
|
/***/ }),
|
|
31959
32555
|
|
|
31960
32556
|
/***/ "cdf9":
|
|
@@ -32133,7 +32729,7 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
32133
32729
|
|
|
32134
32730
|
"use strict";
|
|
32135
32731
|
|
|
32136
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
32732
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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=b967fbc6&scoped=true&
|
|
32137
32733
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-input-group',{staticClass:"rang-age-input-group"},[_c('age-com',{attrs:{"disabled":_vm.disabled,"format":_vm.format,"defaultValue":_vm.startValue},on:{"change":_vm.ageStartOnChange}}),_c('div',{staticClass:"middle-tips"},[_vm._v("—")]),_c('age-com',{attrs:{"disabled":_vm.disabled,"format":_vm.format,"defaultValue":_vm.endValue},on:{"change":_vm.ageEndOnChange}})],1)}
|
|
32138
32734
|
var staticRenderFns = []
|
|
32139
32735
|
|
|
@@ -32461,7 +33057,7 @@ module.exports = require("core-js/modules/es.typed-array.uint8-array.js");
|
|
|
32461
33057
|
|
|
32462
33058
|
"use strict";
|
|
32463
33059
|
|
|
32464
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
33060
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-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&
|
|
32465
33061
|
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}})])}
|
|
32466
33062
|
var staticRenderFns = []
|
|
32467
33063
|
|
|
@@ -32600,13 +33196,6 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
32600
33196
|
|
|
32601
33197
|
/***/ }),
|
|
32602
33198
|
|
|
32603
|
-
/***/ "df26":
|
|
32604
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
32605
|
-
|
|
32606
|
-
// extracted by mini-css-extract-plugin
|
|
32607
|
-
|
|
32608
|
-
/***/ }),
|
|
32609
|
-
|
|
32610
33199
|
/***/ "df75":
|
|
32611
33200
|
/***/ (function(module, exports, __webpack_require__) {
|
|
32612
33201
|
|
|
@@ -33535,13 +34124,6 @@ module.exports = require("core-js/modules/es.typed-array.set.js");
|
|
|
33535
34124
|
|
|
33536
34125
|
/***/ }),
|
|
33537
34126
|
|
|
33538
|
-
/***/ "e9bc":
|
|
33539
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
33540
|
-
|
|
33541
|
-
// extracted by mini-css-extract-plugin
|
|
33542
|
-
|
|
33543
|
-
/***/ }),
|
|
33544
|
-
|
|
33545
34127
|
/***/ "ea01":
|
|
33546
34128
|
/***/ (function(module, exports) {
|
|
33547
34129
|
|
|
@@ -33872,17 +34454,6 @@ module.exports = function (key) {
|
|
|
33872
34454
|
};
|
|
33873
34455
|
|
|
33874
34456
|
|
|
33875
|
-
/***/ }),
|
|
33876
|
-
|
|
33877
|
-
/***/ "f7f6":
|
|
33878
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
33879
|
-
|
|
33880
|
-
"use strict";
|
|
33881
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BaseSearch_vue_vue_type_style_index_0_id_45cb5c93_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5650");
|
|
33882
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BaseSearch_vue_vue_type_style_index_0_id_45cb5c93_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BaseSearch_vue_vue_type_style_index_0_id_45cb5c93_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
33883
|
-
/* unused harmony reexport * */
|
|
33884
|
-
|
|
33885
|
-
|
|
33886
34457
|
/***/ }),
|
|
33887
34458
|
|
|
33888
34459
|
/***/ "f989":
|