cnhis-design-vue 2.1.141 → 2.1.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -34
- package/es/age/index.js +2 -2
- package/es/big-table/index.js +152 -112
- package/es/big-table/style.css +1 -1
- package/es/button/index.js +2395 -253
- package/es/button/style.css +1 -1
- package/es/captcha/index.js +3 -3
- package/es/card-reader-sdk/index.js +1 -1
- package/es/checkbox/index.js +1 -1
- package/es/color-picker/index.js +1 -1
- package/es/drag-layout/index.js +3 -3
- package/es/editor/index.js +1 -1
- package/es/ellipsis/index.js +1 -1
- package/es/fabric-chart/index.js +17 -16
- package/es/form-table/index.js +20 -20
- package/es/full-calendar/index.js +4 -4
- package/es/index/index.js +2509 -365
- package/es/index/style.css +1 -1
- package/es/input/index.js +1 -1
- package/es/map/index.js +1 -1
- package/es/multi-chat/index.js +25 -25
- package/es/multi-chat-client/index.js +19 -19
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +4 -4
- package/es/multi-chat-setting/index.js +20 -20
- package/es/multi-chat-sip/index.js +1 -1
- package/es/radio/index.js +1 -1
- package/es/scale-container/index.js +1 -1
- package/es/scale-view/index.js +27 -27
- package/es/select/index.js +4 -4
- package/es/select-label/index.js +3 -3
- package/es/select-person/index.js +23 -20
- package/es/select-person/style.css +1 -1
- package/es/select-tag/index.js +4 -4
- package/es/shortcut-setter/index.js +2 -2
- package/es/slider-tree/index.js +1 -1
- package/es/table-filter/index.js +2225 -97
- package/es/table-filter/style.css +1 -1
- package/es/tag/index.js +1 -1
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +2753 -580
- package/lib/cui.umd.js +2753 -580
- package/lib/cui.umd.min.js +66 -66
- package/package.json +1 -1
- package/packages/big-table/src/BigTable.vue +5 -4
- package/packages/big-table/src/utils/headerFilter.js +54 -18
- package/packages/button/src/ButtonPrint/index.vue +27 -691
- package/packages/button/src/ButtonPrint/js/print.es.min.js +1 -1
- package/packages/button/src/ButtonPrint/js/print.es.min1.js +1 -1
- package/packages/button/src/ButtonPrint/new.vue +1438 -0
- package/packages/button/src/ButtonPrint/old.vue +809 -0
- package/packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue +4 -3
- package/packages/select-person/select-person.vue +3 -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":"9441c33a-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":"9441c33a-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":"9441c33a-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":"9441c33a-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":"9441c33a-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":"9441c33a-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":"9441c33a-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":"9441c33a-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":"9441c33a-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":"9441c33a-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":"9441c33a-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,7 +7711,7 @@ 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":"
|
|
7714
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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=45cb5c93&scoped=true&
|
|
7715
7715
|
var BaseSearchvue_type_template_id_45cb5c93_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
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)+" ")])])}
|
|
@@ -7722,10 +7722,10 @@ var BaseSearchvue_type_template_id_45cb5c93_scoped_true_staticRenderFns = []
|
|
|
7722
7722
|
|
|
7723
7723
|
// CONCATENATED MODULE: ./packages/table-filter/src/const/index.js
|
|
7724
7724
|
var GROUP_TITLE_KEY = "group-show-title";
|
|
7725
|
-
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/index.vue +
|
|
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":"9441c33a-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',
|
|
@@ -8256,7 +8256,7 @@ var getBtnIcon = {
|
|
|
8256
8256
|
}
|
|
8257
8257
|
};
|
|
8258
8258
|
/* 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":"
|
|
8259
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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
8260
|
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
8261
|
var ButtonGroupvue_type_template_id_7d6830ea_scoped_true_staticRenderFns = []
|
|
8262
8262
|
|
|
@@ -11844,17 +11844,6 @@ module.exports = require("ant-design-vue/es/spin");
|
|
|
11844
11844
|
|
|
11845
11845
|
module.exports = require("core-js/modules/es.date.to-primitive.js");
|
|
11846
11846
|
|
|
11847
|
-
/***/ }),
|
|
11848
|
-
|
|
11849
|
-
/***/ "1f49":
|
|
11850
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11851
|
-
|
|
11852
|
-
"use strict";
|
|
11853
|
-
/* 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_index_vue_vue_type_style_index_1_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("41ba");
|
|
11854
|
-
/* 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_index_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_index_vue_vue_type_style_index_1_lang_less___WEBPACK_IMPORTED_MODULE_0__);
|
|
11855
|
-
/* unused harmony reexport * */
|
|
11856
|
-
|
|
11857
|
-
|
|
11858
11847
|
/***/ }),
|
|
11859
11848
|
|
|
11860
11849
|
/***/ "1f59":
|
|
@@ -16081,7 +16070,7 @@ var qi = function () {
|
|
|
16081
16070
|
console.log("解析e.data失败," + t);
|
|
16082
16071
|
}
|
|
16083
16072
|
|
|
16084
|
-
if (["print", "pdf"].includes(null === (e = r) || void 0 === e ? void 0 : e.cmd)) {
|
|
16073
|
+
if (["print", "pdf", "resetprint"].includes(null === (e = r) || void 0 === e ? void 0 : e.cmd)) {
|
|
16085
16074
|
console.log("打印命令执行了", r);
|
|
16086
16075
|
var n = this.messageHandlerQueue.shift();
|
|
16087
16076
|
if (!n) return console.log("当前回执", t, "没有可用的handler");
|
|
@@ -16089,6 +16078,10 @@ var qi = function () {
|
|
|
16089
16078
|
i = n.reject;
|
|
16090
16079
|
|
|
16091
16080
|
try {
|
|
16081
|
+
var a, u;
|
|
16082
|
+
if ("resetprint" === (null === (a = r) || void 0 === a ? void 0 : a.cmd)) return void o({
|
|
16083
|
+
result: null !== (u = r) && void 0 !== u && u.res ? "success" : "fail"
|
|
16084
|
+
});
|
|
16092
16085
|
o(r.res || "");
|
|
16093
16086
|
} catch (t) {
|
|
16094
16087
|
i(t);
|
|
@@ -16154,6 +16147,26 @@ var qi = function () {
|
|
|
16154
16147
|
}.bind(this));
|
|
16155
16148
|
}.bind(this));
|
|
16156
16149
|
}
|
|
16150
|
+
}, {
|
|
16151
|
+
key: "resetPrinter",
|
|
16152
|
+
value: function value(t) {
|
|
16153
|
+
var e = this;
|
|
16154
|
+
return this.webview ? this.postMessage({
|
|
16155
|
+
exec: "resetprint",
|
|
16156
|
+
data: {
|
|
16157
|
+
formatID: t
|
|
16158
|
+
}
|
|
16159
|
+
}) : Bi({
|
|
16160
|
+
url: "".concat(Ni, "/services/printset"),
|
|
16161
|
+
method: "get",
|
|
16162
|
+
withCredentials: !1,
|
|
16163
|
+
params: {
|
|
16164
|
+
inputdata: t
|
|
16165
|
+
}
|
|
16166
|
+
}).then(function (t) {
|
|
16167
|
+
return o(this, e), t.data;
|
|
16168
|
+
}.bind(this));
|
|
16169
|
+
}
|
|
16157
16170
|
}, {
|
|
16158
16171
|
key: "_queryServicesPrint",
|
|
16159
16172
|
value: function value(t) {
|
|
@@ -17050,17 +17063,17 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
|
|
|
17050
17063
|
|
|
17051
17064
|
/***/ }),
|
|
17052
17065
|
|
|
17053
|
-
/***/ "
|
|
17054
|
-
/***/ (function(module, exports) {
|
|
17066
|
+
/***/ "3016":
|
|
17067
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
17055
17068
|
|
|
17056
|
-
|
|
17069
|
+
// extracted by mini-css-extract-plugin
|
|
17057
17070
|
|
|
17058
17071
|
/***/ }),
|
|
17059
17072
|
|
|
17060
|
-
/***/ "
|
|
17061
|
-
/***/ (function(module, exports
|
|
17073
|
+
/***/ "30df":
|
|
17074
|
+
/***/ (function(module, exports) {
|
|
17062
17075
|
|
|
17063
|
-
|
|
17076
|
+
module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
17064
17077
|
|
|
17065
17078
|
/***/ }),
|
|
17066
17079
|
|
|
@@ -17097,12 +17110,31 @@ module.exports = function (it) {
|
|
|
17097
17110
|
|
|
17098
17111
|
"use strict";
|
|
17099
17112
|
|
|
17100
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17101
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('
|
|
17113
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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=56bddcac&
|
|
17114
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_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))],1)}
|
|
17102
17115
|
var staticRenderFns = []
|
|
17103
17116
|
|
|
17104
17117
|
|
|
17105
|
-
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/index.vue?vue&type=template&id=
|
|
17118
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/index.vue?vue&type=template&id=56bddcac&
|
|
17119
|
+
|
|
17120
|
+
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
17121
|
+
var es_number_constructor_js_ = __webpack_require__("f989");
|
|
17122
|
+
|
|
17123
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
|
|
17124
|
+
var es_object_to_string_js_ = __webpack_require__("97d3");
|
|
17125
|
+
|
|
17126
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
17127
|
+
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
17128
|
+
|
|
17129
|
+
// EXTERNAL MODULE: ./src/core/create.js
|
|
17130
|
+
var create = __webpack_require__("8aef");
|
|
17131
|
+
|
|
17132
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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=edc09274&scoped=true&
|
|
17133
|
+
var oldvue_type_template_id_edc09274_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'),_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickPrint(e); }}},[_vm._v(" "+_vm._s(_vm.printText)+" ")]),_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickPreview(e); }}},[_vm._v(" "+_vm._s(_vm.previewText)+" ")]),_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickPdf(e); }}},[_vm._v(" "+_vm._s(_vm.pdfLoadText)+" ")]),_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickEdit(e); }}},[_vm._v(" "+_vm._s(_vm.formatEditText)+" ")])],1),_vm._t("button",function(){return [_c('a-button',{staticClass:"dropdown-button",staticStyle:{"margin":"0 8px 8px 0"},on:{"click":function($event){$event.stopPropagation();return _vm.handleClickBtn.apply(null, arguments)}}},[(_vm.spinning)?_c('a-icon',{staticStyle:{"line-height":"10px"},attrs:{"type":"loading"}}):_vm._e(),_vm._v(" "+_vm._s(_vm.btnText)+" "),_c('a-icon',{attrs:{"type":"down"}})],1)]},{"handleClickPrintBtn":_vm.handleClickBtn,"printSpinning":_vm.spinning,"printbtnText":_vm.btnText,"printVisible":_vm.visible})],2),_c('IdentityVerification',{attrs:{"printConfig":_vm.printConfig,"baseUrl":_vm.baseUrl,"verifyUserUrl":_vm.verifyUserUrl,"visible":_vm.identityVerification.visible,"identityVerificationTitle":_vm.identityVerificationTitle,"authorizationKey":_vm.authorizationKey},on:{"update:visible":function($event){return _vm.$set(_vm.identityVerification, "visible", $event)},"success":_vm.verifiySuccess}})],1)}
|
|
17134
|
+
var oldvue_type_template_id_edc09274_scoped_true_staticRenderFns = []
|
|
17135
|
+
|
|
17136
|
+
|
|
17137
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=template&id=edc09274&scoped=true&
|
|
17106
17138
|
|
|
17107
17139
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
17108
17140
|
var esm_typeof = __webpack_require__("53ca");
|
|
@@ -17150,12 +17182,6 @@ var icon_default = /*#__PURE__*/__webpack_require__.n(icon_);
|
|
|
17150
17182
|
// EXTERNAL MODULE: external "regenerator-runtime/runtime.js"
|
|
17151
17183
|
var runtime_js_ = __webpack_require__("d16b");
|
|
17152
17184
|
|
|
17153
|
-
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
17154
|
-
var es_number_constructor_js_ = __webpack_require__("f989");
|
|
17155
|
-
|
|
17156
|
-
// EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
|
|
17157
|
-
var es_object_to_string_js_ = __webpack_require__("97d3");
|
|
17158
|
-
|
|
17159
17185
|
// EXTERNAL MODULE: external "core-js/modules/es.array.find.js"
|
|
17160
17186
|
var es_array_find_js_ = __webpack_require__("0d58");
|
|
17161
17187
|
|
|
@@ -17177,9 +17203,6 @@ var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
|
17177
17203
|
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
17178
17204
|
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
17179
17205
|
|
|
17180
|
-
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
17181
|
-
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
17182
|
-
|
|
17183
17206
|
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
17184
17207
|
var es_array_map_js_ = __webpack_require__("4391");
|
|
17185
17208
|
|
|
@@ -17189,7 +17212,7 @@ var es_array_join_js_ = __webpack_require__("be94");
|
|
|
17189
17212
|
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/js/print.es.min.js
|
|
17190
17213
|
var print_es_min = __webpack_require__("2c29");
|
|
17191
17214
|
|
|
17192
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17215
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
17193
17216
|
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)])}
|
|
17194
17217
|
var IdentityVerificationvue_type_template_id_9404f70a_scoped_true_staticRenderFns = []
|
|
17195
17218
|
|
|
@@ -17493,9 +17516,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
17493
17516
|
var clickoutside_ = __webpack_require__("b88e");
|
|
17494
17517
|
var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
17495
17518
|
|
|
17496
|
-
// EXTERNAL MODULE: ./src/core/create.js
|
|
17497
|
-
var create = __webpack_require__("8aef");
|
|
17498
|
-
|
|
17499
17519
|
// EXTERNAL MODULE: external "moment"
|
|
17500
17520
|
var external_moment_ = __webpack_require__("c32d");
|
|
17501
17521
|
var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment_);
|
|
@@ -17504,7 +17524,7 @@ var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment
|
|
|
17504
17524
|
var vexutils_ = __webpack_require__("9715");
|
|
17505
17525
|
var vexutils_default = /*#__PURE__*/__webpack_require__.n(vexutils_);
|
|
17506
17526
|
|
|
17507
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/ButtonPrint/
|
|
17527
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/ButtonPrint/old.vue?vue&type=script&lang=js&
|
|
17508
17528
|
|
|
17509
17529
|
|
|
17510
17530
|
|
|
@@ -17580,7 +17600,7 @@ var vexutils_default = /*#__PURE__*/__webpack_require__.n(vexutils_);
|
|
|
17580
17600
|
* @desc 全继承antd按钮组件,后期再扩展
|
|
17581
17601
|
* @time 2021-06-08
|
|
17582
17602
|
*/
|
|
17583
|
-
var
|
|
17603
|
+
var oldvue_type_script_lang_js_httpFn = null;
|
|
17584
17604
|
|
|
17585
17605
|
|
|
17586
17606
|
|
|
@@ -17589,7 +17609,7 @@ var ButtonPrintvue_type_script_lang_js_httpFn = null;
|
|
|
17589
17609
|
|
|
17590
17610
|
|
|
17591
17611
|
|
|
17592
|
-
/* harmony default export */ var
|
|
17612
|
+
/* harmony default export */ var oldvue_type_script_lang_js_ = (Object(create["a" /* default */])({
|
|
17593
17613
|
name: 'button-print',
|
|
17594
17614
|
components: {
|
|
17595
17615
|
IdentityVerification: IdentityVerification
|
|
@@ -17870,7 +17890,7 @@ var ButtonPrintvue_type_script_lang_js_httpFn = null;
|
|
|
17870
17890
|
config.baseURL = printUrlPrefix;
|
|
17871
17891
|
}
|
|
17872
17892
|
|
|
17873
|
-
|
|
17893
|
+
oldvue_type_script_lang_js_httpFn = external_axios_default.a.create(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, config), cCofing));
|
|
17874
17894
|
_context2.next = 13;
|
|
17875
17895
|
return _this3.queryFormatList();
|
|
17876
17896
|
|
|
@@ -18020,7 +18040,7 @@ var ButtonPrintvue_type_script_lang_js_httpFn = null;
|
|
|
18020
18040
|
versionType = this.versionType;
|
|
18021
18041
|
var suffix = [1, 3].includes(versionType) ? "jsessionids=".concat(vexutils_default.a.cookie.get('jsessionids') || '31e5fc0e-955f-4c89-9679-39c43d0171321636163291241') : "authorizationKey=".concat(authorizationKey);
|
|
18022
18042
|
var url = "".concat(baseUrl).concat(getPrintFormatByNumberUrl, "?number=").concat(templateNumber, "&").concat(suffix);
|
|
18023
|
-
return
|
|
18043
|
+
return oldvue_type_script_lang_js_httpFn.get(url).then( /*#__PURE__*/function () {
|
|
18024
18044
|
var _ref2 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(_ref) {
|
|
18025
18045
|
var data;
|
|
18026
18046
|
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
@@ -18078,7 +18098,7 @@ var ButtonPrintvue_type_script_lang_js_httpFn = null;
|
|
|
18078
18098
|
templateId = _ref3.templateId;
|
|
18079
18099
|
|
|
18080
18100
|
var url = "".concat(baseUrl).concat(getTemplateParamsUrl, "?number=").concat(templateNumber, "&templateId=").concat(templateId, "&authorizationKey=").concat(authorizationKey);
|
|
18081
|
-
return
|
|
18101
|
+
return oldvue_type_script_lang_js_httpFn.get(url).then( /*#__PURE__*/function () {
|
|
18082
18102
|
var _ref5 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(_ref4) {
|
|
18083
18103
|
var data;
|
|
18084
18104
|
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
@@ -18129,7 +18149,7 @@ var ButtonPrintvue_type_script_lang_js_httpFn = null;
|
|
|
18129
18149
|
tVal = String(tableVal) || '';
|
|
18130
18150
|
}
|
|
18131
18151
|
|
|
18132
|
-
return
|
|
18152
|
+
return (i === null || i === void 0 ? void 0 : i.defaultValue) || tVal || '';
|
|
18133
18153
|
},
|
|
18134
18154
|
formatParams: function formatParams(_ref6) {
|
|
18135
18155
|
var _this9 = this;
|
|
@@ -18531,14 +18551,1866 @@ var ButtonPrintvue_type_script_lang_js_httpFn = null;
|
|
|
18531
18551
|
var info = {
|
|
18532
18552
|
type: type,
|
|
18533
18553
|
formatId: this.currentFormatId,
|
|
18534
|
-
templateId: this.getTemplateIdByFormatId(this.currentFormatId)
|
|
18554
|
+
templateId: this.getTemplateIdByFormatId(this.currentFormatId)
|
|
18555
|
+
};
|
|
18556
|
+
this.$emit('success', res, info);
|
|
18557
|
+
},
|
|
18558
|
+
callLocalServicesErrorCb: function callLocalServicesErrorCb(res) {
|
|
18559
|
+
this.$emit('error', res);
|
|
18560
|
+
},
|
|
18561
|
+
callLocalServicesCancelCb: function callLocalServicesCancelCb(res) {
|
|
18562
|
+
this.$emit('cancel', res);
|
|
18563
|
+
},
|
|
18564
|
+
|
|
18565
|
+
/**
|
|
18566
|
+
* 获取 axios 自定义配置
|
|
18567
|
+
*/
|
|
18568
|
+
getCustomCofing: function getCustomCofing(customCofing) {
|
|
18569
|
+
var cCofing = {};
|
|
18570
|
+
|
|
18571
|
+
var type = Object(esm_typeof["a" /* default */])(customCofing);
|
|
18572
|
+
|
|
18573
|
+
if (type === 'function') {
|
|
18574
|
+
cCofing = customCofing();
|
|
18575
|
+
} else if (type === 'object') {
|
|
18576
|
+
cCofing = customCofing;
|
|
18577
|
+
}
|
|
18578
|
+
|
|
18579
|
+
return cCofing;
|
|
18580
|
+
}
|
|
18581
|
+
}
|
|
18582
|
+
}));
|
|
18583
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=script&lang=js&
|
|
18584
|
+
/* 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=edc09274&lang=less&scoped=true&
|
|
18586
|
+
var oldvue_type_style_index_0_id_edc09274_lang_less_scoped_true_ = __webpack_require__("ac56");
|
|
18587
|
+
|
|
18588
|
+
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=style&index=1&lang=less&
|
|
18589
|
+
var oldvue_type_style_index_1_lang_less_ = __webpack_require__("f250");
|
|
18590
|
+
|
|
18591
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/old.vue
|
|
18592
|
+
|
|
18593
|
+
|
|
18594
|
+
|
|
18595
|
+
|
|
18596
|
+
|
|
18597
|
+
|
|
18598
|
+
|
|
18599
|
+
/* normalize component */
|
|
18600
|
+
|
|
18601
|
+
var old_component = Object(componentNormalizer["a" /* default */])(
|
|
18602
|
+
ButtonPrint_oldvue_type_script_lang_js_,
|
|
18603
|
+
oldvue_type_template_id_edc09274_scoped_true_render,
|
|
18604
|
+
oldvue_type_template_id_edc09274_scoped_true_staticRenderFns,
|
|
18605
|
+
false,
|
|
18606
|
+
null,
|
|
18607
|
+
"edc09274",
|
|
18608
|
+
null
|
|
18609
|
+
|
|
18610
|
+
)
|
|
18611
|
+
|
|
18612
|
+
/* 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":"9441c33a-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=9821bc7e&scoped=true&
|
|
18614
|
+
var newvue_type_template_id_9821bc7e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"newprint-all-buttons"},[_c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.handleAllClickOutside),expression:"handleAllClickOutside"}],staticClass:"newprint-button-outer",attrs:{"id":"newprint-button-outer"}},[_c('a-button-group',_vm._l((_vm.outerPrintItems),function(outer){return _c('a-dropdown',{key:outer.key,staticClass:"c-dropdown",attrs:{"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,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',{attrs:{"disabled":!_vm.printParams[outer.templateCode],"loading":outer.isLoading},on:{"click":function($event){return _vm.handleOneTypePrint(outer.templateCode, outer.templateId, outer.key, true)}}},[_vm._v(" "+_vm._s(outer.label)+" "),_c('a-icon',{attrs:{"type":"down"}})],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.showSettingVisible('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",staticStyle:{"padding":"0 12px"}},[_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",staticStyle:{"padding":"0 12px"}},[_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',{attrs:{"loading":this.spinning},on:{"click":function($event){$event.stopPropagation();return _vm.printAllButtonClick.apply(null, arguments)}}},[_vm._v(_vm._s(_vm.isShowPrintAllBtn ? '打印全部' : _vm.btnText))]),_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"},[_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:{"trigger":_vm.dropOperation}},[_c('a-button',{staticStyle:{"margin-left":"8px"},attrs:{"size":"small"}},[_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,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',[_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.showSettingVisible('innerSettingVisible')}}},[_c('span',{staticClass:"label bold"},[_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",staticStyle:{"padding":"0 12px"}},[_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",staticStyle:{"padding":"0 12px"}},[_c('a-button',{attrs:{"type":"primary"},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)])}
|
|
18615
|
+
var newvue_type_template_id_9821bc7e_scoped_true_staticRenderFns = []
|
|
18616
|
+
|
|
18617
|
+
|
|
18618
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=template&id=9821bc7e&scoped=true&
|
|
18619
|
+
|
|
18620
|
+
// EXTERNAL MODULE: external "ant-design-vue/es/divider/style"
|
|
18621
|
+
var divider_style_ = __webpack_require__("e3aa");
|
|
18622
|
+
|
|
18623
|
+
// EXTERNAL MODULE: external "ant-design-vue/es/divider"
|
|
18624
|
+
var divider_ = __webpack_require__("ea01");
|
|
18625
|
+
var divider_default = /*#__PURE__*/__webpack_require__.n(divider_);
|
|
18626
|
+
|
|
18627
|
+
// EXTERNAL MODULE: external "ant-design-vue/es/checkbox/style"
|
|
18628
|
+
var checkbox_style_ = __webpack_require__("97a9");
|
|
18629
|
+
|
|
18630
|
+
// EXTERNAL MODULE: external "ant-design-vue/es/checkbox"
|
|
18631
|
+
var checkbox_ = __webpack_require__("5f5b");
|
|
18632
|
+
var checkbox_default = /*#__PURE__*/__webpack_require__.n(checkbox_);
|
|
18633
|
+
|
|
18634
|
+
// EXTERNAL MODULE: external "ant-design-vue/es/popover/style"
|
|
18635
|
+
var popover_style_ = __webpack_require__("9c6d");
|
|
18636
|
+
|
|
18637
|
+
// EXTERNAL MODULE: external "ant-design-vue/es/popover"
|
|
18638
|
+
var popover_ = __webpack_require__("6c41");
|
|
18639
|
+
var popover_default = /*#__PURE__*/__webpack_require__.n(popover_);
|
|
18640
|
+
|
|
18641
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/ButtonPrint/new.vue?vue&type=script&lang=js&
|
|
18642
|
+
|
|
18643
|
+
|
|
18644
|
+
|
|
18645
|
+
|
|
18646
|
+
|
|
18647
|
+
|
|
18648
|
+
|
|
18649
|
+
|
|
18650
|
+
|
|
18651
|
+
|
|
18652
|
+
|
|
18653
|
+
|
|
18654
|
+
|
|
18655
|
+
|
|
18656
|
+
|
|
18657
|
+
|
|
18658
|
+
|
|
18659
|
+
|
|
18660
|
+
|
|
18661
|
+
|
|
18662
|
+
|
|
18663
|
+
|
|
18664
|
+
|
|
18665
|
+
|
|
18666
|
+
|
|
18667
|
+
|
|
18668
|
+
|
|
18669
|
+
|
|
18670
|
+
|
|
18671
|
+
|
|
18672
|
+
|
|
18673
|
+
//
|
|
18674
|
+
//
|
|
18675
|
+
//
|
|
18676
|
+
//
|
|
18677
|
+
//
|
|
18678
|
+
//
|
|
18679
|
+
//
|
|
18680
|
+
//
|
|
18681
|
+
//
|
|
18682
|
+
//
|
|
18683
|
+
//
|
|
18684
|
+
//
|
|
18685
|
+
//
|
|
18686
|
+
//
|
|
18687
|
+
//
|
|
18688
|
+
//
|
|
18689
|
+
//
|
|
18690
|
+
//
|
|
18691
|
+
//
|
|
18692
|
+
//
|
|
18693
|
+
//
|
|
18694
|
+
//
|
|
18695
|
+
//
|
|
18696
|
+
//
|
|
18697
|
+
//
|
|
18698
|
+
//
|
|
18699
|
+
//
|
|
18700
|
+
//
|
|
18701
|
+
//
|
|
18702
|
+
//
|
|
18703
|
+
//
|
|
18704
|
+
//
|
|
18705
|
+
//
|
|
18706
|
+
//
|
|
18707
|
+
//
|
|
18708
|
+
//
|
|
18709
|
+
//
|
|
18710
|
+
//
|
|
18711
|
+
//
|
|
18712
|
+
//
|
|
18713
|
+
//
|
|
18714
|
+
//
|
|
18715
|
+
//
|
|
18716
|
+
//
|
|
18717
|
+
//
|
|
18718
|
+
//
|
|
18719
|
+
//
|
|
18720
|
+
//
|
|
18721
|
+
//
|
|
18722
|
+
//
|
|
18723
|
+
//
|
|
18724
|
+
//
|
|
18725
|
+
//
|
|
18726
|
+
//
|
|
18727
|
+
//
|
|
18728
|
+
//
|
|
18729
|
+
//
|
|
18730
|
+
//
|
|
18731
|
+
//
|
|
18732
|
+
//
|
|
18733
|
+
//
|
|
18734
|
+
//
|
|
18735
|
+
//
|
|
18736
|
+
//
|
|
18737
|
+
//
|
|
18738
|
+
//
|
|
18739
|
+
//
|
|
18740
|
+
//
|
|
18741
|
+
//
|
|
18742
|
+
//
|
|
18743
|
+
//
|
|
18744
|
+
//
|
|
18745
|
+
//
|
|
18746
|
+
//
|
|
18747
|
+
//
|
|
18748
|
+
//
|
|
18749
|
+
//
|
|
18750
|
+
//
|
|
18751
|
+
//
|
|
18752
|
+
//
|
|
18753
|
+
//
|
|
18754
|
+
//
|
|
18755
|
+
//
|
|
18756
|
+
//
|
|
18757
|
+
//
|
|
18758
|
+
//
|
|
18759
|
+
//
|
|
18760
|
+
//
|
|
18761
|
+
//
|
|
18762
|
+
//
|
|
18763
|
+
//
|
|
18764
|
+
//
|
|
18765
|
+
//
|
|
18766
|
+
//
|
|
18767
|
+
//
|
|
18768
|
+
//
|
|
18769
|
+
//
|
|
18770
|
+
//
|
|
18771
|
+
//
|
|
18772
|
+
//
|
|
18773
|
+
//
|
|
18774
|
+
//
|
|
18775
|
+
//
|
|
18776
|
+
//
|
|
18777
|
+
//
|
|
18778
|
+
//
|
|
18779
|
+
//
|
|
18780
|
+
//
|
|
18781
|
+
//
|
|
18782
|
+
//
|
|
18783
|
+
//
|
|
18784
|
+
//
|
|
18785
|
+
//
|
|
18786
|
+
//
|
|
18787
|
+
//
|
|
18788
|
+
//
|
|
18789
|
+
//
|
|
18790
|
+
//
|
|
18791
|
+
//
|
|
18792
|
+
//
|
|
18793
|
+
//
|
|
18794
|
+
//
|
|
18795
|
+
//
|
|
18796
|
+
//
|
|
18797
|
+
//
|
|
18798
|
+
//
|
|
18799
|
+
//
|
|
18800
|
+
//
|
|
18801
|
+
//
|
|
18802
|
+
//
|
|
18803
|
+
//
|
|
18804
|
+
//
|
|
18805
|
+
//
|
|
18806
|
+
//
|
|
18807
|
+
//
|
|
18808
|
+
|
|
18809
|
+
/**
|
|
18810
|
+
* @author ruanlin
|
|
18811
|
+
* @desc 全继承antd按钮组件,后期再扩展
|
|
18812
|
+
* @time 2021-06-08
|
|
18813
|
+
*/
|
|
18814
|
+
var newvue_type_script_lang_js_httpFn = null;
|
|
18815
|
+
|
|
18816
|
+
|
|
18817
|
+
|
|
18818
|
+
|
|
18819
|
+
|
|
18820
|
+
|
|
18821
|
+
|
|
18822
|
+
|
|
18823
|
+
/* harmony default export */ var newvue_type_script_lang_js_ = (Object(create["a" /* default */])({
|
|
18824
|
+
name: 'button-print',
|
|
18825
|
+
components: {
|
|
18826
|
+
IdentityVerification: IdentityVerification
|
|
18827
|
+
},
|
|
18828
|
+
directives: {
|
|
18829
|
+
Clickoutside: clickoutside_default.a
|
|
18830
|
+
},
|
|
18831
|
+
props: {
|
|
18832
|
+
baseUrl: {
|
|
18833
|
+
type: String
|
|
18834
|
+
},
|
|
18835
|
+
|
|
18836
|
+
/* */
|
|
18837
|
+
btnText: {
|
|
18838
|
+
type: String,
|
|
18839
|
+
default: '打印'
|
|
18840
|
+
},
|
|
18841
|
+
printText: {
|
|
18842
|
+
type: String,
|
|
18843
|
+
default: '直接打印'
|
|
18844
|
+
},
|
|
18845
|
+
previewText: {
|
|
18846
|
+
type: String,
|
|
18847
|
+
default: '打印预览'
|
|
18848
|
+
},
|
|
18849
|
+
pdfLoadText: {
|
|
18850
|
+
type: String,
|
|
18851
|
+
default: '下载pdf'
|
|
18852
|
+
},
|
|
18853
|
+
formatEditText: {
|
|
18854
|
+
type: String,
|
|
18855
|
+
default: '格式编辑'
|
|
18856
|
+
},
|
|
18857
|
+
identityVerificationTitle: {
|
|
18858
|
+
type: String,
|
|
18859
|
+
default: '打印服务身份校验'
|
|
18860
|
+
},
|
|
18861
|
+
|
|
18862
|
+
/* */
|
|
18863
|
+
authorizationKey: {
|
|
18864
|
+
type: String,
|
|
18865
|
+
require: true
|
|
18866
|
+
},
|
|
18867
|
+
templateNumber: {
|
|
18868
|
+
type: [Number, String],
|
|
18869
|
+
require: true
|
|
18870
|
+
},
|
|
18871
|
+
|
|
18872
|
+
/* 格式化打印参数,需的原始数据 */
|
|
18873
|
+
params: {
|
|
18874
|
+
type: Array
|
|
18875
|
+
},
|
|
18876
|
+
hisParams: {
|
|
18877
|
+
type: Object
|
|
18878
|
+
},
|
|
18879
|
+
|
|
18880
|
+
/* */
|
|
18881
|
+
prevFn: {
|
|
18882
|
+
type: Function,
|
|
18883
|
+
default: function _default() {
|
|
18884
|
+
return Promise.resolve();
|
|
18885
|
+
}
|
|
18886
|
+
},
|
|
18887
|
+
|
|
18888
|
+
/** */
|
|
18889
|
+
verifyUserUrl: {
|
|
18890
|
+
type: String,
|
|
18891
|
+
default: '/verifyUser'
|
|
18892
|
+
},
|
|
18893
|
+
|
|
18894
|
+
/** */
|
|
18895
|
+
getPrintFormatByNumberUrl: {
|
|
18896
|
+
type: String,
|
|
18897
|
+
default: '/getPrintFormatByNumber'
|
|
18898
|
+
},
|
|
18899
|
+
|
|
18900
|
+
/** */
|
|
18901
|
+
getTemplateParamsUrl: {
|
|
18902
|
+
type: String,
|
|
18903
|
+
default: '/getTemplateParams'
|
|
18904
|
+
},
|
|
18905
|
+
|
|
18906
|
+
/* 打印策略,默认多条打印 */
|
|
18907
|
+
strategy: {
|
|
18908
|
+
type: String,
|
|
18909
|
+
default: 'MULTI'
|
|
18910
|
+
},
|
|
18911
|
+
printConfig: {
|
|
18912
|
+
type: Object,
|
|
18913
|
+
default: function _default() {
|
|
18914
|
+
return {};
|
|
18915
|
+
}
|
|
18916
|
+
},
|
|
18917
|
+
// 1 为his老版,2 为新版 3为his更老版本
|
|
18918
|
+
versionType: {
|
|
18919
|
+
type: [Number, String],
|
|
18920
|
+
default: '2'
|
|
18921
|
+
},
|
|
18922
|
+
// 用于获取用户信息的token
|
|
18923
|
+
token: {
|
|
18924
|
+
type: String,
|
|
18925
|
+
default: ''
|
|
18926
|
+
},
|
|
18927
|
+
// 打印弹窗设置,1弹0不弹,默认不弹
|
|
18928
|
+
printdlgshow: {
|
|
18929
|
+
type: [String, Number],
|
|
18930
|
+
default: '0'
|
|
18931
|
+
},
|
|
18932
|
+
// 没有模板提示
|
|
18933
|
+
noformatTips: {
|
|
18934
|
+
type: String,
|
|
18935
|
+
default: ''
|
|
18936
|
+
},
|
|
18937
|
+
getOnceParamsAfter: {
|
|
18938
|
+
type: Function
|
|
18939
|
+
},
|
|
18940
|
+
getPrintParamsAfter: {
|
|
18941
|
+
type: Function
|
|
18942
|
+
},
|
|
18943
|
+
// 新版打印配置(新)
|
|
18944
|
+
newPrintSetting: {
|
|
18945
|
+
type: Object,
|
|
18946
|
+
default: function _default() {
|
|
18947
|
+
return {
|
|
18948
|
+
// 是否显示打印全部
|
|
18949
|
+
isShowPrintAll: true,
|
|
18950
|
+
// 是否展示外显设置
|
|
18951
|
+
isShowOutSetting: true,
|
|
18952
|
+
// 打印自定义属性
|
|
18953
|
+
customProps: {},
|
|
18954
|
+
// 外显打印(formatId)值集合,用于初始化展示外显按钮
|
|
18955
|
+
outerPrintKeys: [],
|
|
18956
|
+
// 默认需要打印的格式(formatId)
|
|
18957
|
+
defaultFormatId: ''
|
|
18958
|
+
};
|
|
18959
|
+
}
|
|
18960
|
+
}
|
|
18961
|
+
},
|
|
18962
|
+
computed: {
|
|
18963
|
+
currentFormatItem: function currentFormatItem() {
|
|
18964
|
+
if (!this.currentFormatId) return {};
|
|
18965
|
+
var id = this.currentFormatId;
|
|
18966
|
+
return this.formatList.find(function (item) {
|
|
18967
|
+
return item.id === id;
|
|
18968
|
+
});
|
|
18969
|
+
},
|
|
18970
|
+
formatTitle: function formatTitle() {
|
|
18971
|
+
var _this$currentFormatIt;
|
|
18972
|
+
|
|
18973
|
+
return ((_this$currentFormatIt = this.currentFormatItem) === null || _this$currentFormatIt === void 0 ? void 0 : _this$currentFormatIt.name) || '格式选择';
|
|
18974
|
+
},
|
|
18975
|
+
printExtraParams: function printExtraParams() {
|
|
18976
|
+
var _this$printConfig;
|
|
18977
|
+
|
|
18978
|
+
return (this === null || this === void 0 ? void 0 : (_this$printConfig = this.printConfig) === null || _this$printConfig === void 0 ? void 0 : _this$printConfig.printExtraParams) || {};
|
|
18979
|
+
},
|
|
18980
|
+
queryParams: function queryParams() {
|
|
18981
|
+
return {
|
|
18982
|
+
formatId: this.currentFormatId,
|
|
18983
|
+
templateId: this.getTemplateIdByFormatId(this.currentFormatId)
|
|
18984
|
+
};
|
|
18985
|
+
},
|
|
18986
|
+
// 是否展示全部打印按钮
|
|
18987
|
+
isShowPrintAllBtn: function isShowPrintAllBtn() {
|
|
18988
|
+
var _this$newPrintSetting;
|
|
18989
|
+
|
|
18990
|
+
return (_this$newPrintSetting = this.newPrintSetting) === null || _this$newPrintSetting === void 0 ? void 0 : _this$newPrintSetting.isShowPrintAll;
|
|
18991
|
+
},
|
|
18992
|
+
// 是否展示外显设置
|
|
18993
|
+
isShowOutSettingBtn: function isShowOutSettingBtn() {
|
|
18994
|
+
var _this$newPrintSetting2;
|
|
18995
|
+
|
|
18996
|
+
return (_this$newPrintSetting2 = this.newPrintSetting) === null || _this$newPrintSetting2 === void 0 ? void 0 : _this$newPrintSetting2.isShowOutSetting;
|
|
18997
|
+
},
|
|
18998
|
+
// 打印自定义属性
|
|
18999
|
+
printCustomProps: function printCustomProps() {
|
|
19000
|
+
var _this$newPrintSetting3;
|
|
19001
|
+
|
|
19002
|
+
return ((_this$newPrintSetting3 = this.newPrintSetting) === null || _this$newPrintSetting3 === void 0 ? void 0 : _this$newPrintSetting3.customProps) || {};
|
|
19003
|
+
},
|
|
19004
|
+
// 默认打印的formatId
|
|
19005
|
+
defaultPrintFormatId: function defaultPrintFormatId() {
|
|
19006
|
+
var _this$newPrintSetting4;
|
|
19007
|
+
|
|
19008
|
+
return ((_this$newPrintSetting4 = this.newPrintSetting) === null || _this$newPrintSetting4 === void 0 ? void 0 : _this$newPrintSetting4.defaultFormatId) || '';
|
|
19009
|
+
},
|
|
19010
|
+
isSelectedAll: function isSelectedAll() {
|
|
19011
|
+
return this.options.every(function (option) {
|
|
19012
|
+
return option.selected;
|
|
19013
|
+
});
|
|
19014
|
+
}
|
|
19015
|
+
},
|
|
19016
|
+
data: function data() {
|
|
19017
|
+
return {
|
|
19018
|
+
spinning: false,
|
|
19019
|
+
visible: false,
|
|
19020
|
+
// 内部设置弹窗的展示状态
|
|
19021
|
+
innerSettingVisible: false,
|
|
19022
|
+
// 外部设置弹窗展示状态
|
|
19023
|
+
outSettingVisible: false,
|
|
19024
|
+
formatList: [],
|
|
19025
|
+
templateParams: {},
|
|
19026
|
+
// 打印参数汇总
|
|
19027
|
+
printParams: [],
|
|
19028
|
+
// 原始参数汇总
|
|
19029
|
+
originParams: [],
|
|
19030
|
+
currentFormatId: '',
|
|
19031
|
+
|
|
19032
|
+
/* */
|
|
19033
|
+
identityVerification: {
|
|
19034
|
+
visible: false
|
|
19035
|
+
},
|
|
19036
|
+
isInited: false,
|
|
19037
|
+
watchPrintParamsReformatFn: null,
|
|
19038
|
+
spinTimer: null,
|
|
19039
|
+
printInstance: null,
|
|
19040
|
+
dropOperation: ['click'],
|
|
19041
|
+
dropOuter: ['hover'],
|
|
19042
|
+
// 内显打印项
|
|
19043
|
+
innerPrintItems: [],
|
|
19044
|
+
// 外显打印项
|
|
19045
|
+
outerPrintItems: [],
|
|
19046
|
+
// 下拉数据
|
|
19047
|
+
options: [],
|
|
19048
|
+
// 操作按钮集合
|
|
19049
|
+
operations: [{
|
|
19050
|
+
label: this.pdfLoadText,
|
|
19051
|
+
// 下载pdf
|
|
19052
|
+
key: 'downloadPdf'
|
|
19053
|
+
}, {
|
|
19054
|
+
label: this.previewText,
|
|
19055
|
+
// 打印预览
|
|
19056
|
+
key: 'previewText'
|
|
19057
|
+
}, {
|
|
19058
|
+
label: this.formatEditText,
|
|
19059
|
+
// 格式编辑
|
|
19060
|
+
key: 'formatEditText'
|
|
19061
|
+
}, {
|
|
19062
|
+
label: '重置打印机',
|
|
19063
|
+
// 重置打印机
|
|
19064
|
+
key: 'resetPrinter'
|
|
19065
|
+
}],
|
|
19066
|
+
// 当前打印参数列表
|
|
19067
|
+
curPrintParamList: [],
|
|
19068
|
+
// 当前是否为点击单个打印
|
|
19069
|
+
isClickSinglePrint: false
|
|
19070
|
+
};
|
|
19071
|
+
},
|
|
19072
|
+
beforeCreate: function beforeCreate() {
|
|
19073
|
+
external_vue_default.a.use(button_default.a).use(dropdown_default.a).use(menu_default.a).use(icon_default.a).use(divider_default.a).use(checkbox_default.a).use(popover_default.a);
|
|
19074
|
+
},
|
|
19075
|
+
mounted: function mounted() {
|
|
19076
|
+
this.isInited = false;
|
|
19077
|
+
},
|
|
19078
|
+
beforeDestroy: function beforeDestroy() {
|
|
19079
|
+
var _this$printInstance, _this$printInstance$d;
|
|
19080
|
+
|
|
19081
|
+
// 创建Print实例的时候会在webview中注册一个事件, 需要调用printInstance.destroy()手动清除
|
|
19082
|
+
(_this$printInstance = this.printInstance) === null || _this$printInstance === void 0 ? void 0 : (_this$printInstance$d = _this$printInstance.destroy) === null || _this$printInstance$d === void 0 ? void 0 : _this$printInstance$d.call(_this$printInstance);
|
|
19083
|
+
this.printInstance = null;
|
|
19084
|
+
},
|
|
19085
|
+
watch: {
|
|
19086
|
+
// 监听变化, 重新格式化printParams
|
|
19087
|
+
params: {
|
|
19088
|
+
deep: true,
|
|
19089
|
+
immediate: true,
|
|
19090
|
+
handler: function handler(val) {
|
|
19091
|
+
// if (!val?.length) return false;
|
|
19092
|
+
var keys = Object.keys(this.templateParams);
|
|
19093
|
+
|
|
19094
|
+
if ((keys === null || keys === void 0 ? void 0 : keys.length) > 0) {
|
|
19095
|
+
this.reformatPrintParams();
|
|
19096
|
+
}
|
|
19097
|
+
}
|
|
19098
|
+
},
|
|
19099
|
+
newPrintSetting: {
|
|
19100
|
+
deep: true,
|
|
19101
|
+
immediate: true,
|
|
19102
|
+
handler: function handler(val) {
|
|
19103
|
+
var _this = this;
|
|
19104
|
+
|
|
19105
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
19106
|
+
var keys;
|
|
19107
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
19108
|
+
while (1) {
|
|
19109
|
+
switch (_context.prev = _context.next) {
|
|
19110
|
+
case 0:
|
|
19111
|
+
keys = (val === null || val === void 0 ? void 0 : val.outerPrintKeys) || [];
|
|
19112
|
+
|
|
19113
|
+
if (!(keys.length > 0)) {
|
|
19114
|
+
_context.next = 4;
|
|
19115
|
+
break;
|
|
19116
|
+
}
|
|
19117
|
+
|
|
19118
|
+
_context.next = 4;
|
|
19119
|
+
return _this.handleClickBtn(false);
|
|
19120
|
+
|
|
19121
|
+
case 4:
|
|
19122
|
+
case "end":
|
|
19123
|
+
return _context.stop();
|
|
19124
|
+
}
|
|
19125
|
+
}
|
|
19126
|
+
}, _callee);
|
|
19127
|
+
}))();
|
|
19128
|
+
}
|
|
19129
|
+
}
|
|
19130
|
+
},
|
|
19131
|
+
methods: {
|
|
19132
|
+
getPopupContainerNode: function getPopupContainerNode() {
|
|
19133
|
+
var node = document.getElementById('newprint-button-outer');
|
|
19134
|
+
return node;
|
|
19135
|
+
},
|
|
19136
|
+
// 重置所有的弹窗
|
|
19137
|
+
handleAllClickOutside: function handleAllClickOutside() {
|
|
19138
|
+
this.outSettingVisible = this.innerSettingVisible = this.visible = false;
|
|
19139
|
+
},
|
|
19140
|
+
// 外显勾选
|
|
19141
|
+
onSettingChange: function onSettingChange(sItem) {
|
|
19142
|
+
sItem.selected = !sItem.selected;
|
|
19143
|
+
},
|
|
19144
|
+
// 勾选(取消勾选)全部
|
|
19145
|
+
onSelectedAllChange: function onSelectedAllChange(e) {
|
|
19146
|
+
var isChecked = e.target.checked;
|
|
19147
|
+
this.options.forEach(function (option) {
|
|
19148
|
+
option.selected = isChecked;
|
|
19149
|
+
});
|
|
19150
|
+
},
|
|
19151
|
+
printAllButtonClick: function printAllButtonClick() {
|
|
19152
|
+
var _this2 = this;
|
|
19153
|
+
|
|
19154
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
19155
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
19156
|
+
while (1) {
|
|
19157
|
+
switch (_context2.prev = _context2.next) {
|
|
19158
|
+
case 0:
|
|
19159
|
+
if (!_this2.isShowPrintAllBtn) {
|
|
19160
|
+
_context2.next = 5;
|
|
19161
|
+
break;
|
|
19162
|
+
}
|
|
19163
|
+
|
|
19164
|
+
_context2.next = 3;
|
|
19165
|
+
return _this2.directPrint();
|
|
19166
|
+
|
|
19167
|
+
case 3:
|
|
19168
|
+
_context2.next = 12;
|
|
19169
|
+
break;
|
|
19170
|
+
|
|
19171
|
+
case 5:
|
|
19172
|
+
if (!_this2.defaultPrintFormatId) {
|
|
19173
|
+
_context2.next = 10;
|
|
19174
|
+
break;
|
|
19175
|
+
}
|
|
19176
|
+
|
|
19177
|
+
_context2.next = 8;
|
|
19178
|
+
return _this2.directDefaultFormatPrint(_this2.defaultPrintFormatId);
|
|
19179
|
+
|
|
19180
|
+
case 8:
|
|
19181
|
+
_context2.next = 12;
|
|
19182
|
+
break;
|
|
19183
|
+
|
|
19184
|
+
case 10:
|
|
19185
|
+
_context2.next = 12;
|
|
19186
|
+
return _this2.handleClickBtn();
|
|
19187
|
+
|
|
19188
|
+
case 12:
|
|
19189
|
+
case "end":
|
|
19190
|
+
return _context2.stop();
|
|
19191
|
+
}
|
|
19192
|
+
}
|
|
19193
|
+
}, _callee2);
|
|
19194
|
+
}))();
|
|
19195
|
+
},
|
|
19196
|
+
// 打印全部
|
|
19197
|
+
directPrint: function directPrint() {
|
|
19198
|
+
var _this3 = this;
|
|
19199
|
+
|
|
19200
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
19201
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
19202
|
+
while (1) {
|
|
19203
|
+
switch (_context3.prev = _context3.next) {
|
|
19204
|
+
case 0:
|
|
19205
|
+
_context3.next = 2;
|
|
19206
|
+
return _this3.handleClickBtn(false);
|
|
19207
|
+
|
|
19208
|
+
case 2:
|
|
19209
|
+
_this3.handleClickPrintAll();
|
|
19210
|
+
|
|
19211
|
+
case 3:
|
|
19212
|
+
case "end":
|
|
19213
|
+
return _context3.stop();
|
|
19214
|
+
}
|
|
19215
|
+
}
|
|
19216
|
+
}, _callee3);
|
|
19217
|
+
}))();
|
|
19218
|
+
},
|
|
19219
|
+
// 打印全部
|
|
19220
|
+
handleClickPrintAll: function handleClickPrintAll() {
|
|
19221
|
+
var _this4 = this;
|
|
19222
|
+
|
|
19223
|
+
var templateNumbers = Object.keys(this.printParams);
|
|
19224
|
+
this.isClickSinglePrint = false;
|
|
19225
|
+
var originParamsClone = this.originParams;
|
|
19226
|
+
|
|
19227
|
+
var _loop = function _loop(i) {
|
|
19228
|
+
var templateCode = templateNumbers[i];
|
|
19229
|
+
var tmpParam = _this4.printParams[templateCode];
|
|
19230
|
+
var printToParam = originParamsClone[templateCode] || []; // 一个templateCode可能会对应多个类型
|
|
19231
|
+
|
|
19232
|
+
var formatTypeList = _this4.formatList.filter(function (format) {
|
|
19233
|
+
return format.number == templateCode;
|
|
19234
|
+
});
|
|
19235
|
+
|
|
19236
|
+
if (formatTypeList && formatTypeList.length > 0) {
|
|
19237
|
+
formatTypeList.forEach(function (format) {
|
|
19238
|
+
_this4.currentFormatId = format.id;
|
|
19239
|
+
|
|
19240
|
+
_this4.handleClickPrint(tmpParam, format.number, format.templateId, format.id, printToParam, true);
|
|
19241
|
+
});
|
|
19242
|
+
}
|
|
19243
|
+
};
|
|
19244
|
+
|
|
19245
|
+
for (var i = 0; i < templateNumbers.length; i++) {
|
|
19246
|
+
_loop(i);
|
|
19247
|
+
}
|
|
19248
|
+
},
|
|
19249
|
+
// 打印默认模板格式
|
|
19250
|
+
directDefaultFormatPrint: function directDefaultFormatPrint(defaultFormatId) {
|
|
19251
|
+
var _this5 = this;
|
|
19252
|
+
|
|
19253
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
|
19254
|
+
var curFormat;
|
|
19255
|
+
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
19256
|
+
while (1) {
|
|
19257
|
+
switch (_context4.prev = _context4.next) {
|
|
19258
|
+
case 0:
|
|
19259
|
+
_context4.next = 2;
|
|
19260
|
+
return _this5.handleClickBtn(false);
|
|
19261
|
+
|
|
19262
|
+
case 2:
|
|
19263
|
+
curFormat = _this5.innerPrintItems.find(function (option) {
|
|
19264
|
+
return option.key == defaultFormatId;
|
|
19265
|
+
});
|
|
19266
|
+
|
|
19267
|
+
if (curFormat) {
|
|
19268
|
+
_this5.handleOneTypePrint(curFormat.templateCode, curFormat.templateId, curFormat.key, false);
|
|
19269
|
+
}
|
|
19270
|
+
|
|
19271
|
+
case 4:
|
|
19272
|
+
case "end":
|
|
19273
|
+
return _context4.stop();
|
|
19274
|
+
}
|
|
19275
|
+
}
|
|
19276
|
+
}, _callee4);
|
|
19277
|
+
}))();
|
|
19278
|
+
},
|
|
19279
|
+
// 点击某类型打印
|
|
19280
|
+
handleOneTypePrint: function handleOneTypePrint(templateCode, templateId, formatId, isSingleClick) {
|
|
19281
|
+
var tmpParam = this.printParams[templateCode]; // 当前模板下没有传入打印的数据
|
|
19282
|
+
|
|
19283
|
+
if (!tmpParam) return;
|
|
19284
|
+
this.isClickSinglePrint = isSingleClick;
|
|
19285
|
+
this.currentFormatId = formatId;
|
|
19286
|
+
var printToParam = this.originParams[templateCode] || [];
|
|
19287
|
+
this.handleClickPrint(tmpParam, templateCode, templateId, formatId, printToParam);
|
|
19288
|
+
},
|
|
19289
|
+
showSettingVisible: function showSettingVisible(key) {
|
|
19290
|
+
this[key] = true;
|
|
19291
|
+
},
|
|
19292
|
+
// 修改设置
|
|
19293
|
+
savePrintOutSetting: function savePrintOutSetting(key) {
|
|
19294
|
+
this.visible = false;
|
|
19295
|
+
this[key] = false;
|
|
19296
|
+
this.innerPrintItems = this.options.filter(function (option) {
|
|
19297
|
+
return !option.selected;
|
|
19298
|
+
});
|
|
19299
|
+
this.outerPrintItems = this.options.filter(function (option) {
|
|
19300
|
+
return option.selected;
|
|
19301
|
+
});
|
|
19302
|
+
this.$emit('saveOuterPrint', this.outerPrintItems);
|
|
19303
|
+
},
|
|
19304
|
+
handleSelect: function handleSelect(type, _ref) {
|
|
19305
|
+
var templateCode = _ref.templateCode,
|
|
19306
|
+
templateId = _ref.templateId,
|
|
19307
|
+
key = _ref.key;
|
|
19308
|
+
var tmpParam = this.printParams[templateCode]; // 当前模板下没有传入打印的数据
|
|
19309
|
+
|
|
19310
|
+
if (!tmpParam) return;
|
|
19311
|
+
this.isClickSinglePrint = true;
|
|
19312
|
+
this.currentFormatId = key;
|
|
19313
|
+
|
|
19314
|
+
switch (type) {
|
|
19315
|
+
// 打印预览
|
|
19316
|
+
case 'previewText':
|
|
19317
|
+
this.handleClickPreview(tmpParam, templateCode, templateId, key);
|
|
19318
|
+
break;
|
|
19319
|
+
// 格式编辑
|
|
19320
|
+
|
|
19321
|
+
case 'formatEditText':
|
|
19322
|
+
this.handleClickEdit(tmpParam, templateCode, templateId, key);
|
|
19323
|
+
break;
|
|
19324
|
+
// 下载pdf
|
|
19325
|
+
|
|
19326
|
+
case 'downloadPdf':
|
|
19327
|
+
this.handleClickPdf(tmpParam, templateCode, templateId, key);
|
|
19328
|
+
break;
|
|
19329
|
+
// 重置打印机
|
|
19330
|
+
|
|
19331
|
+
case 'resetPrinter':
|
|
19332
|
+
this.handleResetPrinter(tmpParam, templateCode, templateId, key);
|
|
19333
|
+
break;
|
|
19334
|
+
|
|
19335
|
+
default:
|
|
19336
|
+
break;
|
|
19337
|
+
}
|
|
19338
|
+
},
|
|
19339
|
+
// 重置打印机
|
|
19340
|
+
handleResetPrinter: function handleResetPrinter() {
|
|
19341
|
+
var _arguments = arguments,
|
|
19342
|
+
_this6 = this;
|
|
19343
|
+
|
|
19344
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
|
|
19345
|
+
var curPrintParamList, templateCode, templateId, formatId, data;
|
|
19346
|
+
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
19347
|
+
while (1) {
|
|
19348
|
+
switch (_context5.prev = _context5.next) {
|
|
19349
|
+
case 0:
|
|
19350
|
+
curPrintParamList = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : [];
|
|
19351
|
+
templateCode = _arguments.length > 1 ? _arguments[1] : undefined;
|
|
19352
|
+
templateId = _arguments.length > 2 ? _arguments[2] : undefined;
|
|
19353
|
+
formatId = _arguments.length > 3 ? _arguments[3] : undefined;
|
|
19354
|
+
|
|
19355
|
+
if (!_this6.getCurrentLoading()) {
|
|
19356
|
+
_context5.next = 6;
|
|
19357
|
+
break;
|
|
19358
|
+
}
|
|
19359
|
+
|
|
19360
|
+
return _context5.abrupt("return");
|
|
19361
|
+
|
|
19362
|
+
case 6:
|
|
19363
|
+
_this6.toggleExpandLoading(true, formatId);
|
|
19364
|
+
|
|
19365
|
+
_context5.next = 9;
|
|
19366
|
+
return _this6.printInstance.resetPrinter(formatId);
|
|
19367
|
+
|
|
19368
|
+
case 9:
|
|
19369
|
+
data = _context5.sent;
|
|
19370
|
+
|
|
19371
|
+
_this6.toggleExpandLoading(false);
|
|
19372
|
+
|
|
19373
|
+
if (!((data === null || data === void 0 ? void 0 : data.result) == 'success')) {
|
|
19374
|
+
_context5.next = 14;
|
|
19375
|
+
break;
|
|
19376
|
+
}
|
|
19377
|
+
|
|
19378
|
+
_this6.$message.success(data.message || '重置打印机成功');
|
|
19379
|
+
|
|
19380
|
+
return _context5.abrupt("return");
|
|
19381
|
+
|
|
19382
|
+
case 14:
|
|
19383
|
+
_this6.$message.warning('重置打印机失败');
|
|
19384
|
+
|
|
19385
|
+
case 15:
|
|
19386
|
+
case "end":
|
|
19387
|
+
return _context5.stop();
|
|
19388
|
+
}
|
|
19389
|
+
}
|
|
19390
|
+
}, _callee5);
|
|
19391
|
+
}))();
|
|
19392
|
+
},
|
|
19393
|
+
|
|
19394
|
+
/* */
|
|
19395
|
+
handleClickBtn: function handleClickBtn() {
|
|
19396
|
+
var _arguments2 = arguments,
|
|
19397
|
+
_this7 = this;
|
|
19398
|
+
|
|
19399
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
|
19400
|
+
var visible, result;
|
|
19401
|
+
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
19402
|
+
while (1) {
|
|
19403
|
+
switch (_context6.prev = _context6.next) {
|
|
19404
|
+
case 0:
|
|
19405
|
+
visible = _arguments2.length > 0 && _arguments2[0] !== undefined ? _arguments2[0] : true;
|
|
19406
|
+
|
|
19407
|
+
if (_this7.visible) {
|
|
19408
|
+
_context6.next = 7;
|
|
19409
|
+
break;
|
|
19410
|
+
}
|
|
19411
|
+
|
|
19412
|
+
_context6.next = 4;
|
|
19413
|
+
return _this7.init();
|
|
19414
|
+
|
|
19415
|
+
case 4:
|
|
19416
|
+
result = _context6.sent;
|
|
19417
|
+
|
|
19418
|
+
if (result) {
|
|
19419
|
+
_context6.next = 7;
|
|
19420
|
+
break;
|
|
19421
|
+
}
|
|
19422
|
+
|
|
19423
|
+
return _context6.abrupt("return", false);
|
|
19424
|
+
|
|
19425
|
+
case 7:
|
|
19426
|
+
if (visible) {
|
|
19427
|
+
_this7.visible = !_this7.visible;
|
|
19428
|
+
}
|
|
19429
|
+
|
|
19430
|
+
case 8:
|
|
19431
|
+
case "end":
|
|
19432
|
+
return _context6.stop();
|
|
19433
|
+
}
|
|
19434
|
+
}
|
|
19435
|
+
}, _callee6);
|
|
19436
|
+
}))();
|
|
19437
|
+
},
|
|
19438
|
+
|
|
19439
|
+
/* */
|
|
19440
|
+
init: function init() {
|
|
19441
|
+
var _this8 = this;
|
|
19442
|
+
|
|
19443
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
|
|
19444
|
+
var _this8$printConfig, _this8$printConfig2;
|
|
19445
|
+
|
|
19446
|
+
var config, printUrlPrefix, customCofing, cCofing, formatListResult;
|
|
19447
|
+
return regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
19448
|
+
while (1) {
|
|
19449
|
+
switch (_context7.prev = _context7.next) {
|
|
19450
|
+
case 0:
|
|
19451
|
+
if (!_this8.isInited) {
|
|
19452
|
+
_context7.next = 2;
|
|
19453
|
+
break;
|
|
19454
|
+
}
|
|
19455
|
+
|
|
19456
|
+
return _context7.abrupt("return", true);
|
|
19457
|
+
|
|
19458
|
+
case 2:
|
|
19459
|
+
_this8.isInited = true;
|
|
19460
|
+
|
|
19461
|
+
_this8.setTimeoutSpin();
|
|
19462
|
+
|
|
19463
|
+
_this8.instantiatePrintSDK();
|
|
19464
|
+
|
|
19465
|
+
config = {
|
|
19466
|
+
withCredentials: false,
|
|
19467
|
+
timeout: 5000
|
|
19468
|
+
};
|
|
19469
|
+
printUrlPrefix = _this8 === null || _this8 === void 0 ? void 0 : (_this8$printConfig = _this8.printConfig) === null || _this8$printConfig === void 0 ? void 0 : _this8$printConfig.printUrlPrefix;
|
|
19470
|
+
customCofing = (_this8 === null || _this8 === void 0 ? void 0 : (_this8$printConfig2 = _this8.printConfig) === null || _this8$printConfig2 === void 0 ? void 0 : _this8$printConfig2.customCofing) || {};
|
|
19471
|
+
cCofing = _this8.getCustomCofing(customCofing);
|
|
19472
|
+
|
|
19473
|
+
if (external_axios_default.a !== _this8.axios && printUrlPrefix) {
|
|
19474
|
+
config.baseURL = printUrlPrefix;
|
|
19475
|
+
}
|
|
19476
|
+
|
|
19477
|
+
newvue_type_script_lang_js_httpFn = external_axios_default.a.create(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, config), cCofing));
|
|
19478
|
+
_context7.next = 13;
|
|
19479
|
+
return _this8.queryFormatList();
|
|
19480
|
+
|
|
19481
|
+
case 13:
|
|
19482
|
+
formatListResult = _context7.sent;
|
|
19483
|
+
|
|
19484
|
+
if (formatListResult) {
|
|
19485
|
+
_context7.next = 18;
|
|
19486
|
+
break;
|
|
19487
|
+
}
|
|
19488
|
+
|
|
19489
|
+
_this8.isInited = false;
|
|
19490
|
+
|
|
19491
|
+
_this8.$message.error('获取模板参数失败,请联系管理员');
|
|
19492
|
+
|
|
19493
|
+
return _context7.abrupt("return", false);
|
|
19494
|
+
|
|
19495
|
+
case 18:
|
|
19496
|
+
if (!(_this8.versionType == 1 || _this8.versionType == 3)) {
|
|
19497
|
+
_context7.next = 22;
|
|
19498
|
+
break;
|
|
19499
|
+
}
|
|
19500
|
+
|
|
19501
|
+
_this8.initHIS(formatListResult);
|
|
19502
|
+
|
|
19503
|
+
_context7.next = 24;
|
|
19504
|
+
break;
|
|
19505
|
+
|
|
19506
|
+
case 22:
|
|
19507
|
+
_context7.next = 24;
|
|
19508
|
+
return _this8.initCRM(formatListResult);
|
|
19509
|
+
|
|
19510
|
+
case 24:
|
|
19511
|
+
_this8.setLoaded();
|
|
19512
|
+
|
|
19513
|
+
return _context7.abrupt("return", true);
|
|
19514
|
+
|
|
19515
|
+
case 26:
|
|
19516
|
+
case "end":
|
|
19517
|
+
return _context7.stop();
|
|
19518
|
+
}
|
|
19519
|
+
}
|
|
19520
|
+
}, _callee7);
|
|
19521
|
+
}))();
|
|
19522
|
+
},
|
|
19523
|
+
// 设置基础数据
|
|
19524
|
+
setOptions: function setOptions() {
|
|
19525
|
+
var _this$options,
|
|
19526
|
+
_this$newPrintSetting5,
|
|
19527
|
+
_this$newPrintSetting6,
|
|
19528
|
+
_this9 = this;
|
|
19529
|
+
|
|
19530
|
+
this.options = [];
|
|
19531
|
+
var children = this.formatList.map(function (v) {
|
|
19532
|
+
return {
|
|
19533
|
+
templateCode: v.number,
|
|
19534
|
+
templateId: v.templateId,
|
|
19535
|
+
label: v.name,
|
|
19536
|
+
key: v.id,
|
|
19537
|
+
selected: false,
|
|
19538
|
+
isLoading: false
|
|
19539
|
+
};
|
|
19540
|
+
});
|
|
19541
|
+
|
|
19542
|
+
(_this$options = this.options).unshift.apply(_this$options, Object(toConsumableArray["a" /* default */])(children)); // 自动设置外显的数据
|
|
19543
|
+
|
|
19544
|
+
|
|
19545
|
+
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
|
+
this.options.forEach(function (option) {
|
|
19547
|
+
var _this9$newPrintSettin;
|
|
19548
|
+
|
|
19549
|
+
if ((_this9$newPrintSettin = _this9.newPrintSetting) !== null && _this9$newPrintSettin !== void 0 && _this9$newPrintSettin.outerPrintKeys.includes(option.key)) {
|
|
19550
|
+
option.selected = true;
|
|
19551
|
+
}
|
|
19552
|
+
});
|
|
19553
|
+
this.outerPrintItems = this.options.filter(function (option) {
|
|
19554
|
+
return option.selected;
|
|
19555
|
+
});
|
|
19556
|
+
}
|
|
19557
|
+
|
|
19558
|
+
this.innerPrintItems = this.options.filter(function (option) {
|
|
19559
|
+
return !option.selected;
|
|
19560
|
+
});
|
|
19561
|
+
},
|
|
19562
|
+
initHIS: function initHIS(formatListResult) {
|
|
19563
|
+
this.formatList = formatListResult ? formatListResult.list.filter(function (item) {
|
|
19564
|
+
return item.printmark == 1;
|
|
19565
|
+
}) : [];
|
|
19566
|
+
this.currentFormatId = this.getDefaultFormatId(this.formatList, 'printmark');
|
|
19567
|
+
this.templateParams = this.formatList[0] || {};
|
|
19568
|
+
},
|
|
19569
|
+
initCRM: function initCRM(formatListResult) {
|
|
19570
|
+
var _this10 = this;
|
|
19571
|
+
|
|
19572
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
|
|
19573
|
+
return regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
19574
|
+
while (1) {
|
|
19575
|
+
switch (_context8.prev = _context8.next) {
|
|
19576
|
+
case 0:
|
|
19577
|
+
_this10.formatList = formatListResult ? _this10.formatFormatList(formatListResult.obj) : []; // this.currentFormatId = this.getDefaultFormatId(this.formatList, 'defaultFlag');
|
|
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
|
+
// }
|
|
19586
|
+
|
|
19587
|
+
_this10.setOptions(); // this.templateParams = await this.queryTemplateParams();
|
|
19588
|
+
|
|
19589
|
+
|
|
19590
|
+
_context8.next = 4;
|
|
19591
|
+
return _this10.mergeTemplateList(formatListResult.obj);
|
|
19592
|
+
|
|
19593
|
+
case 4:
|
|
19594
|
+
_this10.templateParams = _context8.sent;
|
|
19595
|
+
// if (templateParamsResult) {
|
|
19596
|
+
// this.templateParams = templateParamsResult;
|
|
19597
|
+
// } else {
|
|
19598
|
+
// return this.requestError();
|
|
19599
|
+
// }
|
|
19600
|
+
// this.printParams = this.formatParams(this.templateParams, this.params);
|
|
19601
|
+
_this10.printParams = _this10.formatSomeTypeParams(_this10.templateParams, _this10.params);
|
|
19602
|
+
_this10.originParams = _this10.formatSomeOriginParams(_this10.templateParams, _this10.params);
|
|
19603
|
+
|
|
19604
|
+
case 7:
|
|
19605
|
+
case "end":
|
|
19606
|
+
return _context8.stop();
|
|
19607
|
+
}
|
|
19608
|
+
}
|
|
19609
|
+
}, _callee8);
|
|
19610
|
+
}))();
|
|
19611
|
+
},
|
|
19612
|
+
formatSomeTypeParams: function formatSomeTypeParams() {
|
|
19613
|
+
var _this11 = this;
|
|
19614
|
+
|
|
19615
|
+
var templateParams = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
19616
|
+
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
19617
|
+
var mergeParams = {};
|
|
19618
|
+
params = params ? params : [];
|
|
19619
|
+
params.forEach(function (paramObj) {
|
|
19620
|
+
mergeParams = Object.assign({}, _this11.findTemplateAndInsertData(mergeParams, paramObj, templateParams));
|
|
19621
|
+
});
|
|
19622
|
+
return mergeParams;
|
|
19623
|
+
},
|
|
19624
|
+
// 格式化原始params映射值
|
|
19625
|
+
formatSomeOriginParams: function formatSomeOriginParams() {
|
|
19626
|
+
var _this12 = this;
|
|
19627
|
+
|
|
19628
|
+
var templateParams = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
19629
|
+
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
19630
|
+
var mergeOriginParams = {};
|
|
19631
|
+
params = params ? params : [];
|
|
19632
|
+
params.forEach(function (paramObj) {
|
|
19633
|
+
mergeOriginParams = Object.assign({}, _this12.findTemplateAndInsertParams(mergeOriginParams, paramObj, templateParams));
|
|
19634
|
+
});
|
|
19635
|
+
return mergeOriginParams;
|
|
19636
|
+
},
|
|
19637
|
+
// 查找模板并插入数据
|
|
19638
|
+
findTemplateAndInsertData: function findTemplateAndInsertData(mergeData, paramItem, templateParams) {
|
|
19639
|
+
// 判断当前数据有没有指定模板
|
|
19640
|
+
// 1. 有模板,则插入数据
|
|
19641
|
+
if (paramItem.templateNumbers) {
|
|
19642
|
+
for (var i = 0; i < paramItem.templateNumbers.length; i++) {
|
|
19643
|
+
var tempNumber = paramItem.templateNumbers[i];
|
|
19644
|
+
var templateObj = templateParams[tempNumber];
|
|
19645
|
+
|
|
19646
|
+
if (!templateObj) {
|
|
19647
|
+
this.$message.error('当前勾选的数据没有匹配的模板');
|
|
19648
|
+
return mergeData;
|
|
19649
|
+
}
|
|
19650
|
+
|
|
19651
|
+
if (!mergeData[tempNumber]) {
|
|
19652
|
+
mergeData[tempNumber] = [];
|
|
19653
|
+
}
|
|
19654
|
+
|
|
19655
|
+
mergeData[tempNumber].push(this.formatItemParam(templateObj, paramItem));
|
|
19656
|
+
}
|
|
19657
|
+
|
|
19658
|
+
return mergeData;
|
|
19659
|
+
} // 2. 将当前数据循环模板参数
|
|
19660
|
+
|
|
19661
|
+
|
|
19662
|
+
var templateParamKeys = Object.keys(templateParams);
|
|
19663
|
+
|
|
19664
|
+
for (var _i = 0; _i < templateParamKeys.length; _i++) {
|
|
19665
|
+
var _tempNumber = templateParamKeys[_i];
|
|
19666
|
+
var _templateObj = templateParams[_tempNumber];
|
|
19667
|
+
|
|
19668
|
+
if (!_templateObj) {
|
|
19669
|
+
this.$message.error('当前勾选的数据没有匹配的模板');
|
|
19670
|
+
return mergeData;
|
|
19671
|
+
}
|
|
19672
|
+
|
|
19673
|
+
if (!mergeData[_tempNumber]) {
|
|
19674
|
+
mergeData[_tempNumber] = [];
|
|
19675
|
+
}
|
|
19676
|
+
|
|
19677
|
+
mergeData[_tempNumber].push(this.formatItemParam(_templateObj, paramItem));
|
|
19678
|
+
}
|
|
19679
|
+
|
|
19680
|
+
return mergeData;
|
|
19681
|
+
},
|
|
19682
|
+
// 查找模板并插入数据
|
|
19683
|
+
findTemplateAndInsertParams: function findTemplateAndInsertParams(mergeData, paramItem, templateParams) {
|
|
19684
|
+
// 判断当前数据有没有指定模板
|
|
19685
|
+
// 1. 有模板,则插入数据
|
|
19686
|
+
if (paramItem.templateNumbers) {
|
|
19687
|
+
for (var i = 0; i < paramItem.templateNumbers.length; i++) {
|
|
19688
|
+
var tempNumber = paramItem.templateNumbers[i];
|
|
19689
|
+
var templateObj = templateParams[tempNumber];
|
|
19690
|
+
|
|
19691
|
+
if (!templateObj) {
|
|
19692
|
+
this.$message.error('当前勾选的数据没有匹配的模板');
|
|
19693
|
+
return mergeData;
|
|
19694
|
+
}
|
|
19695
|
+
|
|
19696
|
+
if (!mergeData[tempNumber]) {
|
|
19697
|
+
mergeData[tempNumber] = [];
|
|
19698
|
+
}
|
|
19699
|
+
|
|
19700
|
+
mergeData[tempNumber].push(paramItem);
|
|
19701
|
+
}
|
|
19702
|
+
|
|
19703
|
+
return mergeData;
|
|
19704
|
+
} // 2. 将当前数据循环模板参数
|
|
19705
|
+
|
|
19706
|
+
|
|
19707
|
+
var templateParamKeys = Object.keys(templateParams);
|
|
19708
|
+
|
|
19709
|
+
for (var _i2 = 0; _i2 < templateParamKeys.length; _i2++) {
|
|
19710
|
+
var _tempNumber2 = templateParamKeys[_i2];
|
|
19711
|
+
var _templateObj2 = templateParams[_tempNumber2];
|
|
19712
|
+
|
|
19713
|
+
if (!_templateObj2) {
|
|
19714
|
+
this.$message.error('当前勾选的数据没有匹配的模板');
|
|
19715
|
+
return mergeData;
|
|
19716
|
+
}
|
|
19717
|
+
|
|
19718
|
+
if (!mergeData[_tempNumber2]) {
|
|
19719
|
+
mergeData[_tempNumber2] = [];
|
|
19720
|
+
}
|
|
19721
|
+
|
|
19722
|
+
mergeData[_tempNumber2].push(paramItem);
|
|
19723
|
+
}
|
|
19724
|
+
|
|
19725
|
+
return mergeData;
|
|
19726
|
+
},
|
|
19727
|
+
// 单条数据转换,通过getPrintFormatByNumber接口获取到的数据没有customizeDataset
|
|
19728
|
+
formatItemParam: function formatItemParam() {
|
|
19729
|
+
var param = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
19730
|
+
var paramObj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
19731
|
+
var res = {}; // 自定义结果集
|
|
19732
|
+
// customizeDataset.forEach((dataSetItem) => {
|
|
19733
|
+
// const selectFieldList = dataSetItem.dataSetting[0].selectFieldList;
|
|
19734
|
+
// if (!res['datasetData']) {
|
|
19735
|
+
// res['datasetData'] = {};
|
|
19736
|
+
// }
|
|
19737
|
+
// res['datasetData'][dataSetItem.name] = JSON.stringify(this.formatPrintParams(paramObj, selectFieldList, 'fieldName'))
|
|
19738
|
+
// });
|
|
19739
|
+
// 参数
|
|
19740
|
+
|
|
19741
|
+
res = Object.assign({}, res, this.formatPrintParams(paramObj, param, 'key'));
|
|
19742
|
+
return res;
|
|
19743
|
+
},
|
|
19744
|
+
// 合并所有的模板
|
|
19745
|
+
mergeTemplateList: function mergeTemplateList(list) {
|
|
19746
|
+
var templateObj = {};
|
|
19747
|
+
list && list.forEach(function (item) {
|
|
19748
|
+
if (!item.param) return false;
|
|
19749
|
+
templateObj[item.number] = item.param;
|
|
19750
|
+
});
|
|
19751
|
+
return templateObj;
|
|
19752
|
+
},
|
|
19753
|
+
setTimeoutSpin: function setTimeoutSpin() {
|
|
19754
|
+
var _this13 = this;
|
|
19755
|
+
|
|
19756
|
+
this.spinTimer = setTimeout(function () {
|
|
19757
|
+
_this13.spinning = true;
|
|
19758
|
+
}, 1500);
|
|
19759
|
+
},
|
|
19760
|
+
setLoaded: function setLoaded() {
|
|
19761
|
+
this.spinning = false;
|
|
19762
|
+
if (!this.spinTimer) return false;
|
|
19763
|
+
clearTimeout(this.spinTimer);
|
|
19764
|
+
this.spinTimer = null;
|
|
19765
|
+
},
|
|
19766
|
+
// 展开模式下按钮loading状态
|
|
19767
|
+
toggleExpandLoading: function toggleExpandLoading(isLoading, formatId) {
|
|
19768
|
+
// 点击单个打印
|
|
19769
|
+
if (this.isClickSinglePrint) {
|
|
19770
|
+
if (isLoading && formatId) {
|
|
19771
|
+
var curOption = this.options.find(function (outer) {
|
|
19772
|
+
return outer.key == formatId;
|
|
19773
|
+
});
|
|
19774
|
+
if (curOption) curOption.isLoading = isLoading;
|
|
19775
|
+
return;
|
|
19776
|
+
} // 让所有单个打印按钮都停止loading
|
|
19777
|
+
|
|
19778
|
+
|
|
19779
|
+
this.options.forEach(function (outer) {
|
|
19780
|
+
outer.isLoading = false;
|
|
19781
|
+
});
|
|
19782
|
+
} else {
|
|
19783
|
+
// 全部按钮打印
|
|
19784
|
+
this.spinning = isLoading;
|
|
19785
|
+
}
|
|
19786
|
+
},
|
|
19787
|
+
getCurrentLoading: function getCurrentLoading() {
|
|
19788
|
+
if (this.isClickSinglePrint) {
|
|
19789
|
+
return this.options.some(function (outer) {
|
|
19790
|
+
return outer.isLoading;
|
|
19791
|
+
});
|
|
19792
|
+
}
|
|
19793
|
+
|
|
19794
|
+
return this.spinning;
|
|
19795
|
+
},
|
|
19796
|
+
requestError: function requestError() {
|
|
19797
|
+
var _this14 = this;
|
|
19798
|
+
|
|
19799
|
+
this.isInited = false;
|
|
19800
|
+
this.setLoaded();
|
|
19801
|
+
setTimeout(function () {
|
|
19802
|
+
_this14.visible = false;
|
|
19803
|
+
}, 0);
|
|
19804
|
+
return false;
|
|
19805
|
+
},
|
|
19806
|
+
getDefaultFormatId: function getDefaultFormatId(list, key) {
|
|
19807
|
+
if (!(list !== null && list !== void 0 && list.length)) return '';
|
|
19808
|
+
var findDefault = list.find(function (item) {
|
|
19809
|
+
return item[key] == 1;
|
|
19810
|
+
});
|
|
19811
|
+
return (findDefault === null || findDefault === void 0 ? void 0 : findDefault.id) || list[0].id;
|
|
19812
|
+
},
|
|
19813
|
+
|
|
19814
|
+
/* */
|
|
19815
|
+
instantiatePrintSDK: function instantiatePrintSDK() {
|
|
19816
|
+
if (this.printInstance) return false;
|
|
19817
|
+
this.printInstance = new print_es_min["a" /* default */]();
|
|
19818
|
+
},
|
|
19819
|
+
|
|
19820
|
+
/* */
|
|
19821
|
+
queryFormatList: function queryFormatList() {
|
|
19822
|
+
var _this15 = this;
|
|
19823
|
+
|
|
19824
|
+
var templateNumber = this.templateNumber,
|
|
19825
|
+
authorizationKey = this.authorizationKey,
|
|
19826
|
+
baseUrl = this.baseUrl,
|
|
19827
|
+
getPrintFormatByNumberUrl = this.getPrintFormatByNumberUrl,
|
|
19828
|
+
versionType = this.versionType;
|
|
19829
|
+
var suffix = [1, 3].includes(versionType) ? "jsessionids=".concat(vexutils_default.a.cookie.get('jsessionids') || '31e5fc0e-955f-4c89-9679-39c43d0171321636163291241') : "authorizationKey=".concat(authorizationKey);
|
|
19830
|
+
var url = "".concat(baseUrl).concat(getPrintFormatByNumberUrl, "?number=").concat(templateNumber, "&").concat(suffix);
|
|
19831
|
+
return newvue_type_script_lang_js_httpFn.get(url).then( /*#__PURE__*/function () {
|
|
19832
|
+
var _ref3 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee9(_ref2) {
|
|
19833
|
+
var data;
|
|
19834
|
+
return regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
19835
|
+
while (1) {
|
|
19836
|
+
switch (_context9.prev = _context9.next) {
|
|
19837
|
+
case 0:
|
|
19838
|
+
data = _ref2.data;
|
|
19839
|
+
|
|
19840
|
+
if (!(data.result !== 'SUCCESS')) {
|
|
19841
|
+
_context9.next = 4;
|
|
19842
|
+
break;
|
|
19843
|
+
}
|
|
19844
|
+
|
|
19845
|
+
_this15.$message.error(data.resultMsg || '参数异常,请联系管理员');
|
|
19846
|
+
|
|
19847
|
+
return _context9.abrupt("return", false);
|
|
19848
|
+
|
|
19849
|
+
case 4:
|
|
19850
|
+
return _context9.abrupt("return", data);
|
|
19851
|
+
|
|
19852
|
+
case 5:
|
|
19853
|
+
case "end":
|
|
19854
|
+
return _context9.stop();
|
|
19855
|
+
}
|
|
19856
|
+
}
|
|
19857
|
+
}, _callee9);
|
|
19858
|
+
}));
|
|
19859
|
+
|
|
19860
|
+
return function (_x) {
|
|
19861
|
+
return _ref3.apply(this, arguments);
|
|
19862
|
+
};
|
|
19863
|
+
}()).catch(function (e) {
|
|
19864
|
+
return false;
|
|
19865
|
+
});
|
|
19866
|
+
},
|
|
19867
|
+
formatFormatList: function formatFormatList(list) {
|
|
19868
|
+
var formatList = [];
|
|
19869
|
+
list.forEach(function (item) {
|
|
19870
|
+
if (!item.format) return false;
|
|
19871
|
+
formatList.push.apply(formatList, Object(toConsumableArray["a" /* default */])(item.format));
|
|
19872
|
+
});
|
|
19873
|
+
return formatList;
|
|
19874
|
+
},
|
|
19875
|
+
|
|
19876
|
+
/* */
|
|
19877
|
+
queryTemplateParams: function queryTemplateParams() {
|
|
19878
|
+
var _this16 = this;
|
|
19879
|
+
|
|
19880
|
+
var templateNumber = this.templateNumber,
|
|
19881
|
+
authorizationKey = this.authorizationKey,
|
|
19882
|
+
baseUrl = this.baseUrl,
|
|
19883
|
+
getTemplateParamsUrl = this.getTemplateParamsUrl;
|
|
19884
|
+
|
|
19885
|
+
var _ref4 = this.formatList[0] || {},
|
|
19886
|
+
templateId = _ref4.templateId;
|
|
19887
|
+
|
|
19888
|
+
var url = "".concat(baseUrl).concat(getTemplateParamsUrl, "?number=").concat(templateNumber, "&templateId=").concat(templateId, "&authorizationKey=").concat(authorizationKey);
|
|
19889
|
+
return newvue_type_script_lang_js_httpFn.get(url).then( /*#__PURE__*/function () {
|
|
19890
|
+
var _ref6 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee10(_ref5) {
|
|
19891
|
+
var data;
|
|
19892
|
+
return regeneratorRuntime.wrap(function _callee10$(_context10) {
|
|
19893
|
+
while (1) {
|
|
19894
|
+
switch (_context10.prev = _context10.next) {
|
|
19895
|
+
case 0:
|
|
19896
|
+
data = _ref5.data;
|
|
19897
|
+
|
|
19898
|
+
if (!(data.result !== 'SUCCESS')) {
|
|
19899
|
+
_context10.next = 4;
|
|
19900
|
+
break;
|
|
19901
|
+
}
|
|
19902
|
+
|
|
19903
|
+
_this16.$message.error(data.resultMsg || '参数异常,请联系管理员');
|
|
19904
|
+
|
|
19905
|
+
return _context10.abrupt("return", false);
|
|
19906
|
+
|
|
19907
|
+
case 4:
|
|
19908
|
+
return _context10.abrupt("return", (data === null || data === void 0 ? void 0 : data.obj) || {});
|
|
19909
|
+
|
|
19910
|
+
case 5:
|
|
19911
|
+
case "end":
|
|
19912
|
+
return _context10.stop();
|
|
19913
|
+
}
|
|
19914
|
+
}
|
|
19915
|
+
}, _callee10);
|
|
19916
|
+
}));
|
|
19917
|
+
|
|
19918
|
+
return function (_x2) {
|
|
19919
|
+
return _ref6.apply(this, arguments);
|
|
19920
|
+
};
|
|
19921
|
+
}()).catch(function (e) {
|
|
19922
|
+
return false;
|
|
19923
|
+
});
|
|
19924
|
+
},
|
|
19925
|
+
formatDefaultVal: function formatDefaultVal(i, tableVal) {
|
|
19926
|
+
var formatMap = {
|
|
19927
|
+
DATE: 'YYYY-MM-DD',
|
|
19928
|
+
DATETIME: 'YYYY-MM-DD HH:mm:ss'
|
|
19929
|
+
};
|
|
19930
|
+
var tVal = tableVal;
|
|
19931
|
+
|
|
19932
|
+
if (Object.keys(formatMap).includes(i.type) && tableVal) {
|
|
19933
|
+
tVal = external_moment_default()(tableVal).format(formatMap[i.type]);
|
|
19934
|
+
}
|
|
19935
|
+
|
|
19936
|
+
if (i.type === 'TEXT') {
|
|
19937
|
+
tVal = String(tableVal) || '';
|
|
19938
|
+
}
|
|
19939
|
+
|
|
19940
|
+
return (i === null || i === void 0 ? void 0 : i.defaultValue) || tVal || '';
|
|
19941
|
+
},
|
|
19942
|
+
// formatParams({ customizeDataset = [], param = [] }, params = []) {
|
|
19943
|
+
// return params.map(paramObj => {
|
|
19944
|
+
// let res = {};
|
|
19945
|
+
// // 自定义结果集
|
|
19946
|
+
// customizeDataset.forEach(dataSetItem => {
|
|
19947
|
+
// const selectFieldList = dataSetItem.dataSetting[0].selectFieldList;
|
|
19948
|
+
// res['datasetData'] = {
|
|
19949
|
+
// [dataSetItem.name]: JSON.stringify(this.formatPrintParams(paramObj, selectFieldList, 'fieldName'))
|
|
19950
|
+
// };
|
|
19951
|
+
// });
|
|
19952
|
+
// // 参数
|
|
19953
|
+
// res = Object.assign({}, res, this.formatPrintParams(paramObj, param, 'key'));
|
|
19954
|
+
// return res;
|
|
19955
|
+
// });
|
|
19956
|
+
// },
|
|
19957
|
+
reformatPrintParams: function reformatPrintParams() {
|
|
19958
|
+
var _this17 = this;
|
|
19959
|
+
|
|
19960
|
+
this.watchPrintParamsReformatFn && this.watchPrintParamsReformatFn();
|
|
19961
|
+
/*
|
|
19962
|
+
还没初始化完毕时(还没获取到模板格式配置等..)
|
|
19963
|
+
触发再格式化逻辑,需等待初始化完毕,再重新执行格式化
|
|
19964
|
+
*/
|
|
19965
|
+
|
|
19966
|
+
if (!this.isInited) {
|
|
19967
|
+
this.watchPrintParamsReformatFn = this.$watch('isInited', function (val) {
|
|
19968
|
+
if (!val) return false;
|
|
19969
|
+
|
|
19970
|
+
_this17.reformatPrintParams();
|
|
19971
|
+
});
|
|
19972
|
+
return;
|
|
19973
|
+
} // this.printParams = this.formatParams(this.templateParams, this.params);
|
|
19974
|
+
|
|
19975
|
+
|
|
19976
|
+
this.printParams = this.formatSomeTypeParams(this.templateParams, this.params);
|
|
19977
|
+
this.originParams = this.formatSomeOriginParams(this.templateParams, this.params);
|
|
19978
|
+
},
|
|
19979
|
+
formatPrintParams: function formatPrintParams(paramObj, fieldList, keyName) {
|
|
19980
|
+
var _this18 = this;
|
|
19981
|
+
|
|
19982
|
+
var obj = {};
|
|
19983
|
+
fieldList.forEach(function (i) {
|
|
19984
|
+
var defaultVal = _this18.formatDefaultVal(i, paramObj[i[keyName]]);
|
|
19985
|
+
|
|
19986
|
+
if (paramObj[i[keyName]] && defaultVal) {
|
|
19987
|
+
obj[i[keyName]] = defaultVal;
|
|
19988
|
+
}
|
|
19989
|
+
});
|
|
19990
|
+
return obj;
|
|
19991
|
+
},
|
|
19992
|
+
|
|
19993
|
+
/* */
|
|
19994
|
+
handleClickFormat: function handleClickFormat(id) {
|
|
19995
|
+
this.currentFormatId = id;
|
|
19996
|
+
},
|
|
19997
|
+
|
|
19998
|
+
/* */
|
|
19999
|
+
getPrintParams: function getPrintParams() {
|
|
20000
|
+
var extraParams = (this === null || this === void 0 ? void 0 : this.printExtraParams) || {};
|
|
20001
|
+
|
|
20002
|
+
var res = Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, this.token ? {
|
|
20003
|
+
token: this.token
|
|
20004
|
+
} : {}), extraParams);
|
|
20005
|
+
|
|
20006
|
+
if (typeof this.getPrintParamsAfter === 'function') {
|
|
20007
|
+
var t = this.getPrintParamsAfter(res);
|
|
20008
|
+
return t || res;
|
|
20009
|
+
}
|
|
20010
|
+
|
|
20011
|
+
return JSON.stringify(res);
|
|
20012
|
+
},
|
|
20013
|
+
getTemplateIdByFormatId: function getTemplateIdByFormatId(id) {
|
|
20014
|
+
var find = this.formatList.find(function (item) {
|
|
20015
|
+
return item.id === id;
|
|
20016
|
+
});
|
|
20017
|
+
return (find === null || find === void 0 ? void 0 : find.templateId) || '';
|
|
20018
|
+
},
|
|
20019
|
+
getTemplateCodeByFormatId: function getTemplateCodeByFormatId(id) {
|
|
20020
|
+
var find = this.formatList.find(function (item) {
|
|
20021
|
+
return item.id === id;
|
|
20022
|
+
});
|
|
20023
|
+
return (find === null || find === void 0 ? void 0 : find.number) || '';
|
|
20024
|
+
},
|
|
20025
|
+
getOnceParams: function getOnceParams() {
|
|
20026
|
+
var _this$templateParams$, _this$templateParams$2;
|
|
20027
|
+
|
|
20028
|
+
var curPrintParamList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
20029
|
+
var templateCode = arguments.length > 1 ? arguments[1] : undefined;
|
|
20030
|
+
// 聚合一条
|
|
20031
|
+
var params = {};
|
|
20032
|
+
var obj = {}; // let cur = this.printParams?.[0] || {};
|
|
20033
|
+
|
|
20034
|
+
if ((_this$templateParams$ = this.templateParams[templateCode]) !== null && _this$templateParams$ !== void 0 && (_this$templateParams$2 = _this$templateParams$.customizeDataset) !== null && _this$templateParams$2 !== void 0 && _this$templateParams$2.length) {
|
|
20035
|
+
var _Object$keys, _curPrintParamList$;
|
|
20036
|
+
|
|
20037
|
+
// 有模板数据
|
|
20038
|
+
var key = ((_Object$keys = Object.keys(((_curPrintParamList$ = curPrintParamList[0]) === null || _curPrintParamList$ === void 0 ? void 0 : _curPrintParamList$.datasetData) || {})) === null || _Object$keys === void 0 ? void 0 : _Object$keys[0]) || '';
|
|
20039
|
+
var datasetDataKeyVal = JSON.stringify(curPrintParamList.map(function (v) {
|
|
20040
|
+
return JSON.parse(v.datasetData[key]);
|
|
20041
|
+
}));
|
|
20042
|
+
obj = {
|
|
20043
|
+
datasetData: {}
|
|
20044
|
+
};
|
|
20045
|
+
obj.datasetData[key] = datasetDataKeyVal;
|
|
20046
|
+
} else {
|
|
20047
|
+
// 无模板数据
|
|
20048
|
+
Object.keys(curPrintParamList[0]).forEach(function (v) {
|
|
20049
|
+
obj[v] = [];
|
|
20050
|
+
curPrintParamList.forEach(function (k) {
|
|
20051
|
+
if (!obj[v].includes(k[v])) {
|
|
20052
|
+
obj[v].push(k[v]);
|
|
20053
|
+
}
|
|
20054
|
+
});
|
|
20055
|
+
obj[v] = obj[v].join(',');
|
|
20056
|
+
});
|
|
20057
|
+
}
|
|
20058
|
+
|
|
20059
|
+
params = Object.assign({}, JSON.parse(this.getPrintParams()), this.printCustomProps, obj);
|
|
20060
|
+
|
|
20061
|
+
if (typeof this.getOnceParamsAfter === 'function') {
|
|
20062
|
+
var res = this.getOnceParamsAfter(params, obj);
|
|
20063
|
+
return res || params;
|
|
20064
|
+
}
|
|
20065
|
+
|
|
20066
|
+
return JSON.stringify(params);
|
|
20067
|
+
},
|
|
20068
|
+
handleClickPrint: function handleClickPrint(curPrintParamList, templateCode, templateId, formatId) {
|
|
20069
|
+
var _this19 = this;
|
|
20070
|
+
|
|
20071
|
+
var printToParam = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];
|
|
20072
|
+
var needContinuePrint = arguments.length > 5 ? arguments[5] : undefined;
|
|
20073
|
+
var len = curPrintParamList.length;
|
|
20074
|
+
|
|
20075
|
+
var callLocalServicesSuccessCb = /*#__PURE__*/function () {
|
|
20076
|
+
var _ref7 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee11(data) {
|
|
20077
|
+
return regeneratorRuntime.wrap(function _callee11$(_context11) {
|
|
20078
|
+
while (1) {
|
|
20079
|
+
switch (_context11.prev = _context11.next) {
|
|
20080
|
+
case 0:
|
|
20081
|
+
try {
|
|
20082
|
+
if (--len <= 0) {
|
|
20083
|
+
_this19.callLocalServicesSuccessCb(data, 'print');
|
|
20084
|
+
}
|
|
20085
|
+
} catch (error) {
|
|
20086
|
+
console.log('error', error);
|
|
20087
|
+
}
|
|
20088
|
+
|
|
20089
|
+
case 1:
|
|
20090
|
+
case "end":
|
|
20091
|
+
return _context11.stop();
|
|
20092
|
+
}
|
|
20093
|
+
}
|
|
20094
|
+
}, _callee11);
|
|
20095
|
+
}));
|
|
20096
|
+
|
|
20097
|
+
return function callLocalServicesSuccessCb(_x3) {
|
|
20098
|
+
return _ref7.apply(this, arguments);
|
|
20099
|
+
};
|
|
20100
|
+
}();
|
|
20101
|
+
|
|
20102
|
+
if (this.getCurrentLoading() && !needContinuePrint) return;
|
|
20103
|
+
this.toggleExpandLoading(true, formatId);
|
|
20104
|
+
this.prevFn().catch(function () {
|
|
20105
|
+
_this19.prevFnError();
|
|
20106
|
+
|
|
20107
|
+
return Promise.reject();
|
|
20108
|
+
}).then(function () {
|
|
20109
|
+
if (_this19.versionType == 1 || _this19.versionType == 3) {
|
|
20110
|
+
var printFn = _this19.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
|
|
20111
|
+
|
|
20112
|
+
if (_this19.strategy === 'MULTI') {
|
|
20113
|
+
for (var i = 0; i < _this19.params.length; i++) {
|
|
20114
|
+
var params = _this19.getHisParams(i);
|
|
20115
|
+
|
|
20116
|
+
_this19.printInstance[printFn](7, params).then(function (res) {
|
|
20117
|
+
console.log(res, '777777777777');
|
|
20118
|
+
}).catch(function (error) {
|
|
20119
|
+
console.log(error, 'error777');
|
|
20120
|
+
});
|
|
20121
|
+
}
|
|
20122
|
+
} else {
|
|
20123
|
+
var _params = _this19.getOnceHisParams();
|
|
20124
|
+
|
|
20125
|
+
_this19.printInstance[printFn](7, _params).then(function (res) {
|
|
20126
|
+
console.log(res, '777777777777');
|
|
20127
|
+
}).catch(function (error) {
|
|
20128
|
+
console.log(error, 'error777');
|
|
20129
|
+
});
|
|
20130
|
+
}
|
|
20131
|
+
} else {
|
|
20132
|
+
_this19.curPrintParamList = curPrintParamList;
|
|
20133
|
+
var queryParams = {
|
|
20134
|
+
// ...this.queryParams,
|
|
20135
|
+
formatId: formatId,
|
|
20136
|
+
templateId: templateId,
|
|
20137
|
+
printdlgshow: _this19.printdlgshow
|
|
20138
|
+
};
|
|
20139
|
+
|
|
20140
|
+
if (_this19.strategy === 'MULTI') {
|
|
20141
|
+
// 循环多条
|
|
20142
|
+
for (var _i3 = 0; _i3 < curPrintParamList.length; _i3++) {
|
|
20143
|
+
if (_i3 > 0) queryParams.printdlgshow = '0';
|
|
20144
|
+
|
|
20145
|
+
var _params2 = JSON.stringify(Object.assign({}, JSON.parse(_this19.getPrintParams()), _this19.printCustomProps, curPrintParamList[_i3]));
|
|
20146
|
+
|
|
20147
|
+
_this19.printInstance.printDirect(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
|
|
20148
|
+
params: _params2
|
|
20149
|
+
}), callLocalServicesSuccessCb, _this19.callLocalServicesErrorCb, _this19.callLocalServicesCancelCb);
|
|
20150
|
+
}
|
|
20151
|
+
} else {
|
|
20152
|
+
// 聚合一条
|
|
20153
|
+
_this19.printInstance.printDirect(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
|
|
20154
|
+
params: _this19.getOnceParams(curPrintParamList, templateCode)
|
|
20155
|
+
}), function (res) {
|
|
20156
|
+
res.params = printToParam;
|
|
20157
|
+
res.templateCode = templateCode;
|
|
20158
|
+
res.templateId = templateId;
|
|
20159
|
+
|
|
20160
|
+
_this19.callLocalServicesSuccessCb(res, 'print');
|
|
20161
|
+
}, _this19.callLocalServicesErrorCb, _this19.callLocalServicesCancelCb);
|
|
20162
|
+
}
|
|
20163
|
+
}
|
|
20164
|
+
});
|
|
20165
|
+
},
|
|
20166
|
+
getHisParams: function getHisParams() {
|
|
20167
|
+
var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
20168
|
+
var templateParams = this.templateParams,
|
|
20169
|
+
hisParams = this.hisParams,
|
|
20170
|
+
params = this.params;
|
|
20171
|
+
var _hisParams$reportid = hisParams.reportid,
|
|
20172
|
+
reportid = _hisParams$reportid === void 0 ? '280' : _hisParams$reportid;
|
|
20173
|
+
var id = templateParams.id,
|
|
20174
|
+
name = templateParams.name;
|
|
20175
|
+
return {
|
|
20176
|
+
reportid: reportid,
|
|
20177
|
+
formatid: this.currentFormatId || id,
|
|
20178
|
+
formatname: name,
|
|
20179
|
+
param: params[index]
|
|
20180
|
+
};
|
|
20181
|
+
},
|
|
20182
|
+
getOnceHisParams: function getOnceHisParams() {
|
|
20183
|
+
var templateParams = this.templateParams,
|
|
20184
|
+
hisParams = this.hisParams,
|
|
20185
|
+
params = this.params;
|
|
20186
|
+
var _hisParams$reportid2 = hisParams.reportid,
|
|
20187
|
+
reportid = _hisParams$reportid2 === void 0 ? '280' : _hisParams$reportid2;
|
|
20188
|
+
var id = templateParams.id,
|
|
20189
|
+
name = templateParams.name;
|
|
20190
|
+
var obj = {};
|
|
20191
|
+
Object.keys(params[0]).forEach(function (v) {
|
|
20192
|
+
obj[v] = [];
|
|
20193
|
+
params.forEach(function (k) {
|
|
20194
|
+
obj[v].push(k[v]);
|
|
20195
|
+
});
|
|
20196
|
+
obj[v] = obj[v].join(',');
|
|
20197
|
+
});
|
|
20198
|
+
return {
|
|
20199
|
+
reportid: reportid,
|
|
20200
|
+
formatid: this.currentFormatId || id,
|
|
20201
|
+
formatname: name,
|
|
20202
|
+
param: obj
|
|
20203
|
+
};
|
|
20204
|
+
},
|
|
20205
|
+
handleClickPreview: function handleClickPreview() {
|
|
20206
|
+
var _arguments3 = arguments,
|
|
20207
|
+
_this20 = this;
|
|
20208
|
+
|
|
20209
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee12() {
|
|
20210
|
+
var curPrintParamList, templateCode, templateId, formatId;
|
|
20211
|
+
return regeneratorRuntime.wrap(function _callee12$(_context12) {
|
|
20212
|
+
while (1) {
|
|
20213
|
+
switch (_context12.prev = _context12.next) {
|
|
20214
|
+
case 0:
|
|
20215
|
+
curPrintParamList = _arguments3.length > 0 && _arguments3[0] !== undefined ? _arguments3[0] : [];
|
|
20216
|
+
templateCode = _arguments3.length > 1 ? _arguments3[1] : undefined;
|
|
20217
|
+
templateId = _arguments3.length > 2 ? _arguments3[2] : undefined;
|
|
20218
|
+
formatId = _arguments3.length > 3 ? _arguments3[3] : undefined;
|
|
20219
|
+
|
|
20220
|
+
if (!_this20.getCurrentLoading()) {
|
|
20221
|
+
_context12.next = 6;
|
|
20222
|
+
break;
|
|
20223
|
+
}
|
|
20224
|
+
|
|
20225
|
+
return _context12.abrupt("return");
|
|
20226
|
+
|
|
20227
|
+
case 6:
|
|
20228
|
+
_this20.toggleExpandLoading(true, formatId);
|
|
20229
|
+
|
|
20230
|
+
_this20.prevFn().catch(function () {
|
|
20231
|
+
_this20.prevFnError();
|
|
20232
|
+
|
|
20233
|
+
return Promise.reject();
|
|
20234
|
+
}).then(function () {
|
|
20235
|
+
if (_this20.versionType == 1 || _this20.versionType == 3) {
|
|
20236
|
+
var params = _this20.strategy === 'MULTI' ? _this20.getHisParams() : _this20.getOnceHisParams();
|
|
20237
|
+
var printFn = _this20.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
|
|
20238
|
+
|
|
20239
|
+
_this20.printInstance[printFn](8, params).then(function (res) {
|
|
20240
|
+
console.log(res, 88888888);
|
|
20241
|
+
}).catch(function (error) {
|
|
20242
|
+
console.log(error, 'error888');
|
|
20243
|
+
});
|
|
20244
|
+
} else {
|
|
20245
|
+
_this20.curPrintParamList = curPrintParamList;
|
|
20246
|
+
var IS_MULTI = _this20.strategy === 'MULTI';
|
|
20247
|
+
var queryParams = {
|
|
20248
|
+
formatId: formatId,
|
|
20249
|
+
templateId: templateId
|
|
20250
|
+
};
|
|
20251
|
+
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(_this20.getPrintParams()), _this20.printCustomProps.value, curPrintParamList[0]));
|
|
20252
|
+
|
|
20253
|
+
_this20.printInstance.preview(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
|
|
20254
|
+
params: IS_MULTI ? paramsFirst : _this20.getOnceParams(curPrintParamList, templateCode)
|
|
20255
|
+
}), function (res) {
|
|
20256
|
+
_this20.callLocalServicesSuccessCb(res, 'preview');
|
|
20257
|
+
}, _this20.callLocalServicesErrorCb);
|
|
20258
|
+
}
|
|
20259
|
+
});
|
|
20260
|
+
|
|
20261
|
+
case 8:
|
|
20262
|
+
case "end":
|
|
20263
|
+
return _context12.stop();
|
|
20264
|
+
}
|
|
20265
|
+
}
|
|
20266
|
+
}, _callee12);
|
|
20267
|
+
}))();
|
|
20268
|
+
},
|
|
20269
|
+
// 下载pdf
|
|
20270
|
+
handleClickPdf: function handleClickPdf() {
|
|
20271
|
+
var _arguments4 = arguments,
|
|
20272
|
+
_this21 = this;
|
|
20273
|
+
|
|
20274
|
+
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee13() {
|
|
20275
|
+
var curPrintParamList, templateCode, templateId, formatId;
|
|
20276
|
+
return regeneratorRuntime.wrap(function _callee13$(_context13) {
|
|
20277
|
+
while (1) {
|
|
20278
|
+
switch (_context13.prev = _context13.next) {
|
|
20279
|
+
case 0:
|
|
20280
|
+
curPrintParamList = _arguments4.length > 0 && _arguments4[0] !== undefined ? _arguments4[0] : [];
|
|
20281
|
+
templateCode = _arguments4.length > 1 ? _arguments4[1] : undefined;
|
|
20282
|
+
templateId = _arguments4.length > 2 ? _arguments4[2] : undefined;
|
|
20283
|
+
formatId = _arguments4.length > 3 ? _arguments4[3] : undefined;
|
|
20284
|
+
|
|
20285
|
+
if (!_this21.getCurrentLoading()) {
|
|
20286
|
+
_context13.next = 6;
|
|
20287
|
+
break;
|
|
20288
|
+
}
|
|
20289
|
+
|
|
20290
|
+
return _context13.abrupt("return");
|
|
20291
|
+
|
|
20292
|
+
case 6:
|
|
20293
|
+
_this21.toggleExpandLoading(true, formatId);
|
|
20294
|
+
|
|
20295
|
+
_this21.prevFn().catch(function () {
|
|
20296
|
+
_this21.prevFnError();
|
|
20297
|
+
|
|
20298
|
+
return Promise.reject();
|
|
20299
|
+
}).then(function () {
|
|
20300
|
+
if (_this21.versionType == 1 || _this21.versionType == 3) {
|
|
20301
|
+
console.log('下载pdf>>>');
|
|
20302
|
+
} else {
|
|
20303
|
+
_this21.curPrintParamList = curPrintParamList;
|
|
20304
|
+
var IS_MULTI = _this21.strategy === 'MULTI'; // const queryParams = {
|
|
20305
|
+
// ...this.queryParams,
|
|
20306
|
+
// print: { print: '1', type: '1', callback: '1' },
|
|
20307
|
+
// };
|
|
20308
|
+
|
|
20309
|
+
var queryParams = {
|
|
20310
|
+
formatId: formatId,
|
|
20311
|
+
templateId: templateId,
|
|
20312
|
+
print: {
|
|
20313
|
+
print: '1',
|
|
20314
|
+
type: '1',
|
|
20315
|
+
callback: '1'
|
|
20316
|
+
}
|
|
20317
|
+
};
|
|
20318
|
+
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(_this21.getPrintParams()), _this21.printCustomProps.value, curPrintParamList[0]));
|
|
20319
|
+
|
|
20320
|
+
_this21.printInstance.downloadPDF(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
|
|
20321
|
+
params: IS_MULTI ? paramsFirst : _this21.getOnceParams(curPrintParamList, templateCode)
|
|
20322
|
+
}), function (res) {
|
|
20323
|
+
_this21.callLocalServicesSuccessCb(res, 'download');
|
|
20324
|
+
}, _this21.callLocalServicesErrorCb);
|
|
20325
|
+
}
|
|
20326
|
+
});
|
|
20327
|
+
|
|
20328
|
+
case 8:
|
|
20329
|
+
case "end":
|
|
20330
|
+
return _context13.stop();
|
|
20331
|
+
}
|
|
20332
|
+
}
|
|
20333
|
+
}, _callee13);
|
|
20334
|
+
}))();
|
|
20335
|
+
},
|
|
20336
|
+
handleClickEdit: function handleClickEdit() {
|
|
20337
|
+
var _this22 = this;
|
|
20338
|
+
|
|
20339
|
+
var curPrintParamList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
20340
|
+
var templateCode = arguments.length > 1 ? arguments[1] : undefined;
|
|
20341
|
+
var templateId = arguments.length > 2 ? arguments[2] : undefined;
|
|
20342
|
+
var formatId = arguments.length > 3 ? arguments[3] : undefined;
|
|
20343
|
+
if (this.getCurrentLoading()) return;
|
|
20344
|
+
this.toggleExpandLoading(true, formatId);
|
|
20345
|
+
this.prevFn().catch(function () {
|
|
20346
|
+
_this22.prevFnError();
|
|
20347
|
+
|
|
20348
|
+
return Promise.reject();
|
|
20349
|
+
}).then(function () {
|
|
20350
|
+
if (_this22.versionType == 1 || _this22.versionType == 3) {
|
|
20351
|
+
var params = _this22.strategy === 'MULTI' ? _this22.getHisParams() : _this22.getOnceHisParams();
|
|
20352
|
+
var printFn = _this22.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
|
|
20353
|
+
|
|
20354
|
+
_this22.printInstance[printFn](9, params).then(function (res) {
|
|
20355
|
+
console.log(res, 999999);
|
|
20356
|
+
}).catch(function (error) {
|
|
20357
|
+
console.log(error, 'error999');
|
|
20358
|
+
});
|
|
20359
|
+
} else {
|
|
20360
|
+
_this22.toggleExpandLoading(false);
|
|
20361
|
+
|
|
20362
|
+
_this22.curPrintParamList = curPrintParamList;
|
|
20363
|
+
_this22.currentFormatId = formatId;
|
|
20364
|
+
_this22.identityVerification.visible = true;
|
|
20365
|
+
}
|
|
20366
|
+
});
|
|
20367
|
+
},
|
|
20368
|
+
verifiySuccess: function verifiySuccess(token) {
|
|
20369
|
+
var _this23 = this;
|
|
20370
|
+
|
|
20371
|
+
this.identityVerification.visible = false;
|
|
20372
|
+
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(this.getPrintParams()), this.printCustomProps.value, this.curPrintParamList[0]));
|
|
20373
|
+
var params = this.strategy === 'MULTI' ? paramsFirst : this.getOnceParams(this.curPrintParamList, this.getTemplateCodeByFormatId(this.currentFormatId));
|
|
20374
|
+
var queryParams = {
|
|
20375
|
+
// ...this.queryParams,
|
|
20376
|
+
formatId: this.currentFormatId,
|
|
20377
|
+
templateId: this.getTemplateIdByFormatId(this.currentFormatId),
|
|
20378
|
+
params: params,
|
|
20379
|
+
token: token
|
|
20380
|
+
};
|
|
20381
|
+
this.printInstance.editPrintFormat(queryParams, function (res) {
|
|
20382
|
+
_this23.callLocalServicesSuccessCb(res, 'edit');
|
|
20383
|
+
}, this.callLocalServicesErrorCb);
|
|
20384
|
+
},
|
|
20385
|
+
|
|
20386
|
+
/* */
|
|
20387
|
+
prevFnError: function prevFnError() {
|
|
20388
|
+
// 前置条件执行错误这里不弹提示,“前置条件”事件内有弹提示了
|
|
20389
|
+
// let error = {
|
|
20390
|
+
// message: '前置条件执行错误'
|
|
20391
|
+
// };
|
|
20392
|
+
// this.$emit('error', error);
|
|
20393
|
+
this.toggleExpandLoading(false);
|
|
20394
|
+
this.visible = false;
|
|
20395
|
+
},
|
|
20396
|
+
|
|
20397
|
+
/* */
|
|
20398
|
+
callLocalServicesSuccessCb: function callLocalServicesSuccessCb(res, type) {
|
|
20399
|
+
this.toggleExpandLoading(false);
|
|
20400
|
+
var info = {
|
|
20401
|
+
type: type,
|
|
20402
|
+
formatId: this.currentFormatId,
|
|
20403
|
+
templateId: (res === null || res === void 0 ? void 0 : res.templateId) || this.getTemplateIdByFormatId(this.currentFormatId),
|
|
20404
|
+
templateCode: (res === null || res === void 0 ? void 0 : res.templateCode) || this.getTemplateCodeByFormatId(this.currentFormatId)
|
|
18535
20405
|
};
|
|
18536
20406
|
this.$emit('success', res, info);
|
|
18537
20407
|
},
|
|
18538
20408
|
callLocalServicesErrorCb: function callLocalServicesErrorCb(res) {
|
|
20409
|
+
this.toggleExpandLoading(false);
|
|
18539
20410
|
this.$emit('error', res);
|
|
18540
20411
|
},
|
|
18541
20412
|
callLocalServicesCancelCb: function callLocalServicesCancelCb(res) {
|
|
20413
|
+
this.toggleExpandLoading(false);
|
|
18542
20414
|
this.$emit('cancel', res);
|
|
18543
20415
|
},
|
|
18544
20416
|
|
|
@@ -18560,17 +20432,198 @@ var ButtonPrintvue_type_script_lang_js_httpFn = null;
|
|
|
18560
20432
|
}
|
|
18561
20433
|
}
|
|
18562
20434
|
}));
|
|
18563
|
-
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/
|
|
18564
|
-
/* harmony default export */ var
|
|
18565
|
-
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/
|
|
18566
|
-
var
|
|
20435
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=script&lang=js&
|
|
20436
|
+
/* 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=9821bc7e&lang=less&scoped=true&
|
|
20438
|
+
var newvue_type_style_index_0_id_9821bc7e_lang_less_scoped_true_ = __webpack_require__("88f2");
|
|
18567
20439
|
|
|
18568
|
-
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/
|
|
18569
|
-
var
|
|
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");
|
|
18570
20442
|
|
|
18571
|
-
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/
|
|
20443
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue
|
|
20444
|
+
|
|
20445
|
+
|
|
20446
|
+
|
|
20447
|
+
|
|
20448
|
+
|
|
20449
|
+
|
|
20450
|
+
|
|
20451
|
+
/* normalize component */
|
|
20452
|
+
|
|
20453
|
+
var new_component = Object(componentNormalizer["a" /* default */])(
|
|
20454
|
+
ButtonPrint_newvue_type_script_lang_js_,
|
|
20455
|
+
newvue_type_template_id_9821bc7e_scoped_true_render,
|
|
20456
|
+
newvue_type_template_id_9821bc7e_scoped_true_staticRenderFns,
|
|
20457
|
+
false,
|
|
20458
|
+
null,
|
|
20459
|
+
"9821bc7e",
|
|
20460
|
+
null
|
|
20461
|
+
|
|
20462
|
+
)
|
|
20463
|
+
|
|
20464
|
+
/* harmony default export */ var ButtonPrint_new = (new_component.exports);
|
|
20465
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/ButtonPrint/index.vue?vue&type=script&lang=js&
|
|
20466
|
+
|
|
20467
|
+
|
|
20468
|
+
|
|
20469
|
+
//
|
|
20470
|
+
//
|
|
20471
|
+
//
|
|
20472
|
+
//
|
|
20473
|
+
//
|
|
20474
|
+
//
|
|
20475
|
+
//
|
|
20476
|
+
//
|
|
20477
|
+
//
|
|
20478
|
+
//
|
|
20479
|
+
//
|
|
20480
|
+
//
|
|
20481
|
+
//
|
|
20482
|
+
//
|
|
20483
|
+
//
|
|
20484
|
+
|
|
20485
|
+
|
|
20486
|
+
|
|
20487
|
+
/* harmony default export */ var ButtonPrintvue_type_script_lang_js_ = (Object(create["a" /* default */])({
|
|
20488
|
+
name: 'button-print',
|
|
20489
|
+
components: {
|
|
20490
|
+
OldPrintComponent: old,
|
|
20491
|
+
NewPrintComponent: ButtonPrint_new
|
|
20492
|
+
},
|
|
20493
|
+
props: {
|
|
20494
|
+
baseUrl: {
|
|
20495
|
+
type: String
|
|
20496
|
+
},
|
|
20497
|
+
|
|
20498
|
+
/* */
|
|
20499
|
+
btnText: {
|
|
20500
|
+
type: String,
|
|
20501
|
+
default: '打印'
|
|
20502
|
+
},
|
|
20503
|
+
printText: {
|
|
20504
|
+
type: String,
|
|
20505
|
+
default: '直接打印'
|
|
20506
|
+
},
|
|
20507
|
+
previewText: {
|
|
20508
|
+
type: String,
|
|
20509
|
+
default: '打印预览'
|
|
20510
|
+
},
|
|
20511
|
+
pdfLoadText: {
|
|
20512
|
+
type: String,
|
|
20513
|
+
default: '下载pdf'
|
|
20514
|
+
},
|
|
20515
|
+
formatEditText: {
|
|
20516
|
+
type: String,
|
|
20517
|
+
default: '格式编辑'
|
|
20518
|
+
},
|
|
20519
|
+
identityVerificationTitle: {
|
|
20520
|
+
type: String,
|
|
20521
|
+
default: '打印服务身份校验'
|
|
20522
|
+
},
|
|
20523
|
+
|
|
20524
|
+
/* */
|
|
20525
|
+
authorizationKey: {
|
|
20526
|
+
type: String,
|
|
20527
|
+
require: true
|
|
20528
|
+
},
|
|
20529
|
+
templateNumber: {
|
|
20530
|
+
type: [Number, String],
|
|
20531
|
+
require: true
|
|
20532
|
+
},
|
|
20533
|
+
|
|
20534
|
+
/* 格式化打印参数,需的原始数据 */
|
|
20535
|
+
params: {
|
|
20536
|
+
type: Array
|
|
20537
|
+
},
|
|
20538
|
+
hisParams: {
|
|
20539
|
+
type: Object
|
|
20540
|
+
},
|
|
20541
|
+
|
|
20542
|
+
/* */
|
|
20543
|
+
prevFn: {
|
|
20544
|
+
type: Function,
|
|
20545
|
+
default: function _default() {
|
|
20546
|
+
return Promise.resolve();
|
|
20547
|
+
}
|
|
20548
|
+
},
|
|
20549
|
+
|
|
20550
|
+
/** */
|
|
20551
|
+
verifyUserUrl: {
|
|
20552
|
+
type: String,
|
|
20553
|
+
default: '/verifyUser'
|
|
20554
|
+
},
|
|
20555
|
+
|
|
20556
|
+
/** */
|
|
20557
|
+
getPrintFormatByNumberUrl: {
|
|
20558
|
+
type: String,
|
|
20559
|
+
default: '/getPrintFormatByNumber'
|
|
20560
|
+
},
|
|
20561
|
+
|
|
20562
|
+
/** */
|
|
20563
|
+
getTemplateParamsUrl: {
|
|
20564
|
+
type: String,
|
|
20565
|
+
default: '/getTemplateParams'
|
|
20566
|
+
},
|
|
18572
20567
|
|
|
20568
|
+
/* 打印策略,默认多条打印 */
|
|
20569
|
+
strategy: {
|
|
20570
|
+
type: String,
|
|
20571
|
+
default: 'MULTI'
|
|
20572
|
+
},
|
|
20573
|
+
printConfig: {
|
|
20574
|
+
type: Object,
|
|
20575
|
+
default: function _default() {
|
|
20576
|
+
return {};
|
|
20577
|
+
}
|
|
20578
|
+
},
|
|
20579
|
+
// 1 为his老版,2 为新版 3为his更老版本
|
|
20580
|
+
versionType: {
|
|
20581
|
+
type: [Number, String],
|
|
20582
|
+
default: '2'
|
|
20583
|
+
},
|
|
20584
|
+
// 用于获取用户信息的token
|
|
20585
|
+
token: {
|
|
20586
|
+
type: String,
|
|
20587
|
+
default: ''
|
|
20588
|
+
},
|
|
20589
|
+
// 打印弹窗设置,1弹0不弹,默认不弹
|
|
20590
|
+
printdlgshow: {
|
|
20591
|
+
type: [String, Number],
|
|
20592
|
+
default: '0'
|
|
20593
|
+
},
|
|
20594
|
+
// 没有模板提示
|
|
20595
|
+
noformatTips: {
|
|
20596
|
+
type: String,
|
|
20597
|
+
default: ''
|
|
20598
|
+
},
|
|
20599
|
+
getOnceParamsAfter: {
|
|
20600
|
+
type: Function
|
|
20601
|
+
},
|
|
20602
|
+
getPrintParamsAfter: {
|
|
20603
|
+
type: Function
|
|
20604
|
+
},
|
|
20605
|
+
// 新版打印配置(新)
|
|
20606
|
+
newPrintSetting: {
|
|
20607
|
+
type: Object,
|
|
20608
|
+
default: function _default() {
|
|
20609
|
+
return {};
|
|
20610
|
+
}
|
|
20611
|
+
}
|
|
20612
|
+
},
|
|
20613
|
+
computed: {
|
|
20614
|
+
isComponent: function isComponent() {
|
|
20615
|
+
var _Object$keys;
|
|
18573
20616
|
|
|
20617
|
+
return ((_Object$keys = Object.keys(this.newPrintSetting)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length) > 0 ? ButtonPrint_new : old;
|
|
20618
|
+
},
|
|
20619
|
+
getProps: function getProps() {
|
|
20620
|
+
return this.$props;
|
|
20621
|
+
}
|
|
20622
|
+
}
|
|
20623
|
+
}));
|
|
20624
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/index.vue?vue&type=script&lang=js&
|
|
20625
|
+
/* harmony default export */ var src_ButtonPrintvue_type_script_lang_js_ = (ButtonPrintvue_type_script_lang_js_);
|
|
20626
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/index.vue
|
|
18574
20627
|
|
|
18575
20628
|
|
|
18576
20629
|
|
|
@@ -18584,7 +20637,7 @@ var ButtonPrint_component = Object(componentNormalizer["a" /* default */])(
|
|
|
18584
20637
|
staticRenderFns,
|
|
18585
20638
|
false,
|
|
18586
20639
|
null,
|
|
18587
|
-
|
|
20640
|
+
null,
|
|
18588
20641
|
null
|
|
18589
20642
|
|
|
18590
20643
|
)
|
|
@@ -18802,13 +20855,6 @@ module.exports = require("ant-design-vue/es/popconfirm/style");
|
|
|
18802
20855
|
module.exports = {};
|
|
18803
20856
|
|
|
18804
20857
|
|
|
18805
|
-
/***/ }),
|
|
18806
|
-
|
|
18807
|
-
/***/ "41ba":
|
|
18808
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
18809
|
-
|
|
18810
|
-
// extracted by mini-css-extract-plugin
|
|
18811
|
-
|
|
18812
20858
|
/***/ }),
|
|
18813
20859
|
|
|
18814
20860
|
/***/ "4362":
|
|
@@ -20607,7 +22653,7 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
20607
22653
|
|
|
20608
22654
|
"use strict";
|
|
20609
22655
|
|
|
20610
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
22656
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
20611
22657
|
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:{
|
|
20612
22658
|
'disabled-btn': _vm.nextDisabled
|
|
20613
22659
|
},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)}
|
|
@@ -21011,6 +23057,13 @@ function _arrayLikeToArray(arr, len) {
|
|
|
21011
23057
|
|
|
21012
23058
|
/***/ }),
|
|
21013
23059
|
|
|
23060
|
+
/***/ "6c41":
|
|
23061
|
+
/***/ (function(module, exports) {
|
|
23062
|
+
|
|
23063
|
+
module.exports = require("ant-design-vue/es/popover");
|
|
23064
|
+
|
|
23065
|
+
/***/ }),
|
|
23066
|
+
|
|
21014
23067
|
/***/ "6cfb":
|
|
21015
23068
|
/***/ (function(module, exports) {
|
|
21016
23069
|
|
|
@@ -21114,7 +23167,7 @@ module.exports = require("core-js/modules/es.typed-array.find-index.js");
|
|
|
21114
23167
|
// ESM COMPAT FLAG
|
|
21115
23168
|
__webpack_require__.r(__webpack_exports__);
|
|
21116
23169
|
|
|
21117
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
23170
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
21118
23171
|
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
|
|
21119
23172
|
? 'xitongtubiaodaohangtubiaozuixiaohua'
|
|
21120
23173
|
: '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)}
|
|
@@ -21904,6 +23957,17 @@ var FlexibleResize = /*#__PURE__*/function () {
|
|
|
21904
23957
|
}
|
|
21905
23958
|
});
|
|
21906
23959
|
|
|
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
|
+
|
|
21907
23971
|
/***/ }),
|
|
21908
23972
|
|
|
21909
23973
|
/***/ "88fd":
|
|
@@ -22027,7 +24091,7 @@ var es_array_join_js_ = __webpack_require__("be94");
|
|
|
22027
24091
|
// EXTERNAL MODULE: ./packages/table-filter/src/components/render-widget/enums.js
|
|
22028
24092
|
var enums = __webpack_require__("a0f2");
|
|
22029
24093
|
|
|
22030
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24094
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
22031
24095
|
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))}
|
|
22032
24096
|
var staticRenderFns = []
|
|
22033
24097
|
|
|
@@ -22161,7 +24225,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
22161
24225
|
)
|
|
22162
24226
|
|
|
22163
24227
|
/* harmony default export */ var CheckboxGroup = (component.exports);
|
|
22164
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24228
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
22165
24229
|
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))}
|
|
22166
24230
|
var Selectvue_type_template_id_46445a78_staticRenderFns = []
|
|
22167
24231
|
|
|
@@ -22267,7 +24331,7 @@ var Select_component = Object(componentNormalizer["a" /* default */])(
|
|
|
22267
24331
|
)
|
|
22268
24332
|
|
|
22269
24333
|
/* harmony default export */ var Select = (Select_component.exports);
|
|
22270
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24334
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
22271
24335
|
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)])}
|
|
22272
24336
|
var NumberRangevue_type_template_id_22cdf074_scoped_true_staticRenderFns = []
|
|
22273
24337
|
|
|
@@ -22392,7 +24456,7 @@ var NumberRange_component = Object(componentNormalizer["a" /* default */])(
|
|
|
22392
24456
|
)
|
|
22393
24457
|
|
|
22394
24458
|
/* harmony default export */ var NumberRange = (NumberRange_component.exports);
|
|
22395
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24459
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
22396
24460
|
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)}
|
|
22397
24461
|
var DateRangeQuickvue_type_template_id_f6d3730c_scoped_true_staticRenderFns = []
|
|
22398
24462
|
|
|
@@ -22625,7 +24689,7 @@ var DateRangeQuick_component = Object(componentNormalizer["a" /* default */])(
|
|
|
22625
24689
|
)
|
|
22626
24690
|
|
|
22627
24691
|
/* harmony default export */ var DateRangeQuick = (DateRangeQuick_component.exports);
|
|
22628
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24692
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
22629
24693
|
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)}
|
|
22630
24694
|
var SelectDynamicvue_type_template_id_1d527c45_staticRenderFns = []
|
|
22631
24695
|
|
|
@@ -22852,7 +24916,7 @@ var SelectDynamic_component = Object(componentNormalizer["a" /* default */])(
|
|
|
22852
24916
|
)
|
|
22853
24917
|
|
|
22854
24918
|
/* harmony default export */ var SelectDynamic = (SelectDynamic_component.exports);
|
|
22855
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
24919
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
22856
24920
|
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:{
|
|
22857
24921
|
'label-select-height': !categoryItem.isUnfold && categoryItem.labelList && categoryItem.isShowBtn
|
|
22858
24922
|
}},[_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)}
|
|
@@ -23035,7 +25099,7 @@ var Label_component = Object(componentNormalizer["a" /* default */])(
|
|
|
23035
25099
|
)
|
|
23036
25100
|
|
|
23037
25101
|
/* harmony default export */ var Label = (Label_component.exports);
|
|
23038
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25102
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
23039
25103
|
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)}
|
|
23040
25104
|
var SelectLabelvue_type_template_id_7047758d_staticRenderFns = []
|
|
23041
25105
|
|
|
@@ -23147,7 +25211,7 @@ var SelectLabel_component = Object(componentNormalizer["a" /* default */])(
|
|
|
23147
25211
|
)
|
|
23148
25212
|
|
|
23149
25213
|
/* harmony default export */ var SelectLabel = (SelectLabel_component.exports);
|
|
23150
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25214
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
23151
25215
|
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))}
|
|
23152
25216
|
var Textvue_type_template_id_07920cbc_staticRenderFns = []
|
|
23153
25217
|
|
|
@@ -23929,7 +25993,7 @@ module.exports = require("core-js/modules/es.typed-array.every.js");
|
|
|
23929
25993
|
|
|
23930
25994
|
"use strict";
|
|
23931
25995
|
|
|
23932
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
25996
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
23933
25997
|
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)}
|
|
23934
25998
|
var staticRenderFns = []
|
|
23935
25999
|
|
|
@@ -24276,7 +26340,7 @@ module.exports = require("core-js/modules/es.typed-array.join.js");
|
|
|
24276
26340
|
|
|
24277
26341
|
"use strict";
|
|
24278
26342
|
|
|
24279
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
26343
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
24280
26344
|
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 () {
|
|
24281
26345
|
var arg = [], len = arguments.length;
|
|
24282
26346
|
while ( len-- ) arg[ len ] = arguments[ len ];
|
|
@@ -26906,6 +28970,13 @@ module.exports = require("core-js/modules/es.typed-array.to-string.js");
|
|
|
26906
28970
|
|
|
26907
28971
|
/***/ }),
|
|
26908
28972
|
|
|
28973
|
+
/***/ "964d":
|
|
28974
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
28975
|
+
|
|
28976
|
+
// extracted by mini-css-extract-plugin
|
|
28977
|
+
|
|
28978
|
+
/***/ }),
|
|
28979
|
+
|
|
26909
28980
|
/***/ "9715":
|
|
26910
28981
|
/***/ (function(module, exports) {
|
|
26911
28982
|
|
|
@@ -27004,6 +29075,13 @@ module.exports = require("ant-design-vue/es/date-picker");
|
|
|
27004
29075
|
|
|
27005
29076
|
/***/ }),
|
|
27006
29077
|
|
|
29078
|
+
/***/ "9c6d":
|
|
29079
|
+
/***/ (function(module, exports) {
|
|
29080
|
+
|
|
29081
|
+
module.exports = require("ant-design-vue/es/popover/style");
|
|
29082
|
+
|
|
29083
|
+
/***/ }),
|
|
29084
|
+
|
|
27007
29085
|
/***/ "9ddc":
|
|
27008
29086
|
/***/ (function(module, exports, __webpack_require__) {
|
|
27009
29087
|
|
|
@@ -27171,6 +29249,17 @@ var DatePresetValEnums = {
|
|
|
27171
29249
|
|
|
27172
29250
|
module.exports = require("crypto-js");
|
|
27173
29251
|
|
|
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
|
+
|
|
27174
29263
|
/***/ }),
|
|
27175
29264
|
|
|
27176
29265
|
/***/ "a479":
|
|
@@ -27293,6 +29382,17 @@ if (!IS_PURE && typeof NativePromise == 'function') {
|
|
|
27293
29382
|
/* unused harmony reexport * */
|
|
27294
29383
|
|
|
27295
29384
|
|
|
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
|
+
|
|
27296
29396
|
/***/ }),
|
|
27297
29397
|
|
|
27298
29398
|
/***/ "ade3":
|
|
@@ -29678,17 +31778,6 @@ module.exports = false;
|
|
|
29678
31778
|
|
|
29679
31779
|
module.exports = require("cnhis-design-vue/es/ellipsis");
|
|
29680
31780
|
|
|
29681
|
-
/***/ }),
|
|
29682
|
-
|
|
29683
|
-
/***/ "c656":
|
|
29684
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
29685
|
-
|
|
29686
|
-
"use strict";
|
|
29687
|
-
/* 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_index_vue_vue_type_style_index_0_id_64bb5496_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("31ea");
|
|
29688
|
-
/* 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_index_vue_vue_type_style_index_0_id_64bb5496_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_index_vue_vue_type_style_index_0_id_64bb5496_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
29689
|
-
/* unused harmony reexport * */
|
|
29690
|
-
|
|
29691
|
-
|
|
29692
31781
|
/***/ }),
|
|
29693
31782
|
|
|
29694
31783
|
/***/ "c6b6":
|
|
@@ -30044,7 +32133,7 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
30044
32133
|
|
|
30045
32134
|
"use strict";
|
|
30046
32135
|
|
|
30047
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
32136
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
30048
32137
|
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)}
|
|
30049
32138
|
var staticRenderFns = []
|
|
30050
32139
|
|
|
@@ -30372,7 +32461,7 @@ module.exports = require("core-js/modules/es.typed-array.uint8-array.js");
|
|
|
30372
32461
|
|
|
30373
32462
|
"use strict";
|
|
30374
32463
|
|
|
30375
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
32464
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9441c33a-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&
|
|
30376
32465
|
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}})])}
|
|
30377
32466
|
var staticRenderFns = []
|
|
30378
32467
|
|
|
@@ -30511,6 +32600,13 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
30511
32600
|
|
|
30512
32601
|
/***/ }),
|
|
30513
32602
|
|
|
32603
|
+
/***/ "df26":
|
|
32604
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
32605
|
+
|
|
32606
|
+
// extracted by mini-css-extract-plugin
|
|
32607
|
+
|
|
32608
|
+
/***/ }),
|
|
32609
|
+
|
|
30514
32610
|
/***/ "df75":
|
|
30515
32611
|
/***/ (function(module, exports, __webpack_require__) {
|
|
30516
32612
|
|
|
@@ -30949,6 +33045,13 @@ module.exports = function (target, src, options) {
|
|
|
30949
33045
|
};
|
|
30950
33046
|
|
|
30951
33047
|
|
|
33048
|
+
/***/ }),
|
|
33049
|
+
|
|
33050
|
+
/***/ "e3aa":
|
|
33051
|
+
/***/ (function(module, exports) {
|
|
33052
|
+
|
|
33053
|
+
module.exports = require("ant-design-vue/es/divider/style");
|
|
33054
|
+
|
|
30952
33055
|
/***/ }),
|
|
30953
33056
|
|
|
30954
33057
|
/***/ "e3e0":
|
|
@@ -31432,6 +33535,20 @@ module.exports = require("core-js/modules/es.typed-array.set.js");
|
|
|
31432
33535
|
|
|
31433
33536
|
/***/ }),
|
|
31434
33537
|
|
|
33538
|
+
/***/ "e9bc":
|
|
33539
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
33540
|
+
|
|
33541
|
+
// extracted by mini-css-extract-plugin
|
|
33542
|
+
|
|
33543
|
+
/***/ }),
|
|
33544
|
+
|
|
33545
|
+
/***/ "ea01":
|
|
33546
|
+
/***/ (function(module, exports) {
|
|
33547
|
+
|
|
33548
|
+
module.exports = require("ant-design-vue/es/divider");
|
|
33549
|
+
|
|
33550
|
+
/***/ }),
|
|
33551
|
+
|
|
31435
33552
|
/***/ "ea12":
|
|
31436
33553
|
/***/ (function(module, exports) {
|
|
31437
33554
|
|
|
@@ -31503,6 +33620,17 @@ module.exports = require("xe-utils");
|
|
|
31503
33620
|
|
|
31504
33621
|
module.exports = require("base64-js");
|
|
31505
33622
|
|
|
33623
|
+
/***/ }),
|
|
33624
|
+
|
|
33625
|
+
/***/ "f250":
|
|
33626
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
33627
|
+
|
|
33628
|
+
"use strict";
|
|
33629
|
+
/* 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_1_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("964d");
|
|
33630
|
+
/* 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_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_old_vue_vue_type_style_index_1_lang_less___WEBPACK_IMPORTED_MODULE_0__);
|
|
33631
|
+
/* unused harmony reexport * */
|
|
33632
|
+
|
|
33633
|
+
|
|
31506
33634
|
/***/ }),
|
|
31507
33635
|
|
|
31508
33636
|
/***/ "f2f7":
|