cnhis-design-vue 2.1.146 → 2.1.148

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/es/age/index.js +2 -2
  3. package/es/big-table/index.js +26 -26
  4. package/es/button/index.js +191 -197
  5. package/es/button/style.css +1 -1
  6. package/es/captcha/index.js +3 -3
  7. package/es/card-reader-sdk/index.js +1 -1
  8. package/es/checkbox/index.js +1 -1
  9. package/es/color-picker/index.js +1 -1
  10. package/es/drag-layout/index.js +3 -3
  11. package/es/editor/index.js +1 -1
  12. package/es/ellipsis/index.js +1 -1
  13. package/es/fabric-chart/index.js +46 -20
  14. package/es/form-table/index.js +20 -20
  15. package/es/full-calendar/index.js +4 -4
  16. package/es/index/index.js +610 -474
  17. package/es/index/style.css +1 -1
  18. package/es/input/index.js +1 -1
  19. package/es/map/index.js +1 -1
  20. package/es/multi-chat/index.js +25 -25
  21. package/es/multi-chat-client/index.js +19 -19
  22. package/es/multi-chat-history/index.js +4 -4
  23. package/es/multi-chat-record/index.js +4 -4
  24. package/es/multi-chat-setting/index.js +20 -20
  25. package/es/multi-chat-sip/index.js +1 -1
  26. package/es/radio/index.js +1 -1
  27. package/es/scale-container/index.js +1 -1
  28. package/es/scale-view/index.js +27 -27
  29. package/es/select/index.js +4 -4
  30. package/es/select-label/index.js +3 -3
  31. package/es/select-person/index.js +2 -2
  32. package/es/select-tag/index.js +4 -4
  33. package/es/shortcut-setter/index.js +2 -2
  34. package/es/slider-tree/index.js +1 -1
  35. package/es/table-filter/index.js +420 -310
  36. package/es/table-filter/style.css +1 -1
  37. package/es/tag/index.js +1 -1
  38. package/es/verification-code/index.js +2 -2
  39. package/lib/cui.common.js +679 -543
  40. package/lib/cui.umd.js +679 -543
  41. package/lib/cui.umd.min.js +19 -19
  42. package/package.json +1 -1
  43. package/packages/button/src/ButtonPrint/new.vue +13 -12
  44. package/packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue +15 -0
  45. package/packages/fabric-chart/src/mixins/eventCommon.js +5 -2
  46. package/packages/table-filter/src/classification/Classification-com.vue +6 -1
  47. package/packages/table-filter/src/components/search-condition/SearchCondition.vue +101 -7
@@ -864,17 +864,6 @@ module.exports = function (iterator) {
864
864
 
865
865
  module.exports = require("core-js/modules/es.number.is-finite.js");
866
866
 
867
- /***/ }),
868
-
869
- /***/ "2bc5":
870
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
871
-
872
- "use strict";
873
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_new_vue_vue_type_style_index_0_id_570d3aad_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cb3e");
874
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_new_vue_vue_type_style_index_0_id_570d3aad_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_new_vue_vue_type_style_index_0_id_570d3aad_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
875
- /* unused harmony reexport * */
876
-
877
-
878
867
  /***/ }),
879
868
 
880
869
  /***/ "2c29":
@@ -5642,7 +5631,7 @@ module.exports = function (it) {
5642
5631
 
5643
5632
  "use strict";
5644
5633
 
5645
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8f89c644-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=4acd7826&
5634
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ab52df78-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=4acd7826&
5646
5635
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.isComponent,_vm._g(_vm._b({ref:"printComponentRef",tag:"component",scopedSlots:_vm._u([{key:"button",fn:function(slotProps){return [_vm._t("button",null,null,slotProps)]}}],null,true)},'component',_vm.getProps,false),_vm.$listeners))}
5647
5636
  var staticRenderFns = []
5648
5637
 
@@ -5661,7 +5650,7 @@ var es_object_keys_js_ = __webpack_require__("ea64");
5661
5650
  // EXTERNAL MODULE: ./src/core/create.js
5662
5651
  var create = __webpack_require__("8aef");
5663
5652
 
5664
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8f89c644-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/ButtonPrint/old.vue?vue&type=template&id=278e2829&scoped=true&
5653
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ab52df78-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/ButtonPrint/old.vue?vue&type=template&id=278e2829&scoped=true&
5665
5654
  var oldvue_type_template_id_278e2829_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.handleClickOutside),expression:"handleClickOutside"}],on:{"click":_vm.handleClickWrap}},[_c('a-dropdown',{attrs:{"visible":_vm.visible,"overlayClassName":"rowFoldHideBtnList-dropdown"}},[_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_c('a-sub-menu',{key:"format",staticClass:"format-name",attrs:{"title":_vm.formatTitle}},_vm._l((_vm.formatList),function(item){return _c('a-menu-item',{key:item.id,class:{ active: item.id === _vm.currentFormatId },on:{"click":function($event){return _vm.handleClickFormat(item.id)}}},[_vm._v(" "+_vm._s(item.name)+" ")])}),1),_c('a-menu-divider'),(!_vm.hideButtons.includes('printText'))?_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickPrint(e); }}},[_vm._v(" "+_vm._s(_vm.printText)+" ")]):_vm._e(),(!_vm.hideButtons.includes('previewText'))?_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickPreview(e); }}},[_vm._v(" "+_vm._s(_vm.previewText)+" ")]):_vm._e(),(_vm.isShowDownloadPdf)?_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickPdf(e); }}},[_vm._v(" "+_vm._s(_vm.pdfLoadText)+" ")]):_vm._e(),(_vm.isShowFormatEditText)?_c('a-menu-item',{on:{"click":function (e) { return _vm.handleClickEdit(e); }}},[_vm._v(" "+_vm._s(_vm.formatEditText)+" ")]):_vm._e()],1),_vm._t("button",function(){return [_c('a-button',{staticClass:"dropdown-button",staticStyle:{"margin":"0 8px 8px 0"},on:{"click":function($event){$event.stopPropagation();return _vm.handleClickBtn.apply(null, arguments)}}},[(_vm.spinning)?_c('a-icon',{staticStyle:{"line-height":"10px"},attrs:{"type":"loading"}}):_vm._e(),_vm._v(" "+_vm._s(_vm.btnText)+" "),_c('a-icon',{attrs:{"type":"down"}})],1)]},{"handleClickPrintBtn":_vm.handleClickBtn,"printSpinning":_vm.spinning,"printbtnText":_vm.btnText,"printVisible":_vm.visible})],2),_c('IdentityVerification',{attrs:{"printConfig":_vm.printConfig,"baseUrl":_vm.baseUrl,"verifyUserUrl":_vm.verifyUserUrl,"visible":_vm.identityVerification.visible,"identityVerificationTitle":_vm.identityVerificationTitle,"authorizationKey":_vm.authorizationKey},on:{"update:visible":function($event){return _vm.$set(_vm.identityVerification, "visible", $event)},"success":_vm.verifiySuccess}})],1)}
5666
5655
  var oldvue_type_template_id_278e2829_scoped_true_staticRenderFns = []
5667
5656
 
@@ -5744,7 +5733,7 @@ var es_array_join_js_ = __webpack_require__("be94");
5744
5733
  // EXTERNAL MODULE: ./packages/button/src/ButtonPrint/js/print.es.min.js
5745
5734
  var print_es_min = __webpack_require__("2c29");
5746
5735
 
5747
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8f89c644-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&
5736
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ab52df78-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&
5748
5737
  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)])}
5749
5738
  var IdentityVerificationvue_type_template_id_9404f70a_scoped_true_staticRenderFns = []
5750
5739
 
@@ -7177,12 +7166,12 @@ var old_component = Object(componentNormalizer["a" /* default */])(
7177
7166
  )
7178
7167
 
7179
7168
  /* harmony default export */ var old = (old_component.exports);
7180
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8f89c644-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/ButtonPrint/new.vue?vue&type=template&id=570d3aad&scoped=true&
7181
- var newvue_type_template_id_570d3aad_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.handleAllClickOutside),expression:"handleAllClickOutside"}],ref:"newprintButtonOuterRef",staticClass:"newprint-button-outer"},[_c('a-button-group',_vm._l((_vm.outerPrintItems),function(outer){return _c('a-dropdown',{key:outer.key,staticClass:"c-dropdown",attrs:{"getPopupContainer":_vm.getPopupContainerNode,"trigger":_vm.dropOuter},scopedSlots:_vm._u([{key:"overlay",fn:function(){return [_c('a-menu',_vm._l((_vm.operations),function(operation){return _c('a-menu-item',{key:operation.key,staticClass:"operation-li",on:{"click":function($event){return _vm.handleSelect(operation.key, outer)}}},[_c('span',{staticClass:"label"},[_vm._v(_vm._s(operation.label))])])}),1)]},proxy:true}],null,true)},[_c('a-button',{staticClass:"operation-li",staticStyle:{"display":"flex","align-items":"center"},attrs:{"disabled":!_vm.printParams[outer.templateCode],"loading":outer.isLoading},on:{"click":function($event){return _vm.handleOneTypePrint(outer.templateCode, outer.templateId, outer.key, true)}}},[(!outer.isLoading)?_c('a-icon',{attrs:{"type":"printer"}}):_vm._e(),_c('span',{staticClass:"label"},[_vm._v(_vm._s(outer.label))])],1)],1)}),1),(_vm.outerPrintItems.length > 0 && _vm.outerPrintItems.length == _vm.options.length && _vm.isShowOutSettingBtn)?_c('a-dropdown',{attrs:{"overlayClassName":"newprint-button-menu","getPopupContainer":_vm.getPopupContainerNode,"id":"dropdown-outer-setting-btn","visible":_vm.outSettingVisible,"trigger":_vm.dropOperation}},[_c('a-button',{on:{"click":function($event){return _vm.toggleSettingVisible('outSettingVisible')}}},[_vm._v(" 外显设置 "),_c('a-icon',{attrs:{"type":"setting"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.options),function(sItem){return _c('a-menu-item',{key:sItem.key,staticClass:"dropdown-between operation-li"},[_c('span',{staticClass:"label bold"},[_vm._v(_vm._s(sItem.label))]),_c('a-checkbox',{attrs:{"checked":sItem.selected},on:{"change":function($event){return _vm.onSettingChange(sItem)}}},[_vm._v("外显")])],1)}),_c('a-menu-item',{staticClass:"print-divider"},[_c('a-divider')],1),_c('a-menu-item',{staticClass:"dropdown-between"},[_c('a-button',{attrs:{"type":"primary","size":"small"},on:{"click":function($event){return _vm.savePrintOutSetting('outSettingVisible')}}},[_vm._v("保存")]),(_vm.options && _vm.options.length > 1)?_c('a-checkbox',{attrs:{"checked":_vm.isSelectedAll},on:{"change":_vm.onSelectedAllChange}},[_vm._v("全选")]):_vm._e()],1)],2)],1):_c('a-button-group',[_c('a-button',{staticStyle:{"display":"flex","align-items":"center"},attrs:{"loading":this.spinning},on:{"click":function($event){$event.stopPropagation();return _vm.printAllButtonClick.apply(null, arguments)}}},[(!this.spinning)?_c('a-icon',{attrs:{"type":"printer"}}):_vm._e(),_vm._v(" "+_vm._s(_vm.isShowPrintAllBtn ? '打印全部' : _vm.defaultFormatTitle ? _vm.defaultFormatTitle : _vm.btnText)+" ")],1),(_vm.innerPrintItems.length == 0)?_c('a-button',{on:{"click":function($event){$event.stopPropagation();return _vm.handleClickBtn.apply(null, arguments)}}},[_c('a-icon',{attrs:{"type":"down"}})],1):_c('a-dropdown',{attrs:{"visible":_vm.visible,"getPopupContainer":_vm.getPopupContainerNode,"overlayClassName":"newprint-button-menu","trigger":_vm.dropOperation}},[_c('a-button',{on:{"click":function($event){$event.stopPropagation();return _vm.handleClickBtn.apply(null, arguments)}}},[_c('a-icon',{attrs:{"type":"down"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.innerPrintItems),function(option){return _c('a-menu-item',{key:option.key,staticClass:"dropdown-between operation-li"},[_c('span',{staticClass:"label bold",class:!_vm.printParams[option.templateCode] ? 'isDisabled' : '',on:{"click":function($event){return _vm.handleOneTypePrint(option.templateCode, option.templateId, option.key, true)}}},[(option.isLoading)?_c('a-icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":"loading"}}):_vm._e(),_vm._v(_vm._s(option.label)+" ")],1),_c('a-dropdown',{attrs:{"getPopupContainer":_vm.getPopupContainerNode,"trigger":_vm.dropOperation}},[_c('span',{staticClass:"operation-icon",staticStyle:{"margin-left":"8px"}},[_c('a-icon',{attrs:{"type":"right"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},_vm._l((_vm.operations),function(operation){return _c('a-menu-item',{key:operation.key,staticClass:"operation-li",on:{"click":function($event){return _vm.handleSelect(operation.key, option)}}},[_c('span',{staticClass:"label"},[_vm._v(_vm._s(operation.label))])])}),1)],1)],1)}),(_vm.isShowOutSettingBtn)?_c('a-menu-item',{staticClass:"print-divider"},[_c('a-divider')],1):_vm._e(),(_vm.isShowOutSettingBtn)?_c('a-menu-item',{staticClass:"operation-li"},[_c('a-dropdown',{attrs:{"visible":_vm.innerSettingVisible,"trigger":_vm.dropOperation,"getPopupContainer":_vm.getPopupContainerNode,"overlayClassName":"newprint-button-menu"}},[_c('div',{staticStyle:{"width":"100%","display":"flex","justify-content":"space-between","align-items":"center"},on:{"click":function($event){return _vm.toggleSettingVisible('innerSettingVisible')}}},[_c('span',{staticClass:"label bold",staticStyle:{"margin-right":"12px"}},[_vm._v("外显设置 ")]),_c('a-icon',{class:_vm.outerPrintItems.length > 0 ? "hasOuterItem":"",attrs:{"type":"setting"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.options),function(sItem){return _c('a-menu-item',{key:sItem.key,staticClass:"dropdown-between operation-li"},[_c('span',{staticClass:"label bold"},[_vm._v(" "+_vm._s(sItem.label)+" ")]),_c('a-checkbox',{attrs:{"checked":sItem.selected},on:{"change":function($event){return _vm.onSettingChange(sItem)}}},[_vm._v("外显")])],1)}),_c('a-menu-item',{staticClass:"print-divider"},[_c('a-divider')],1),_c('a-menu-item',{staticClass:"dropdown-between"},[_c('a-button',{attrs:{"type":"primary","size":"small"},on:{"click":function($event){return _vm.savePrintOutSetting('innerSettingVisible')}}},[_vm._v("保存")]),(_vm.options && _vm.options.length > 1)?_c('a-checkbox',{attrs:{"checked":_vm.isSelectedAll},on:{"change":_vm.onSelectedAllChange}},[_vm._v("全选")]):_vm._e()],1)],2)],1)],1):_vm._e()],2)],1)],1),_c('IdentityVerification',{attrs:{"printConfig":_vm.printConfig,"baseUrl":_vm.baseUrl,"verifyUserUrl":_vm.verifyUserUrl,"visible":_vm.identityVerification.visible,"identityVerificationTitle":_vm.identityVerificationTitle,"authorizationKey":_vm.authorizationKey},on:{"update:visible":function($event){return _vm.$set(_vm.identityVerification, "visible", $event)},"success":_vm.verifiySuccess}})],1)}
7182
- var newvue_type_template_id_570d3aad_scoped_true_staticRenderFns = []
7169
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ab52df78-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=e5ceabb0&scoped=true&
7170
+ var newvue_type_template_id_e5ceabb0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.handleAllClickOutside),expression:"handleAllClickOutside"}],ref:"newprintButtonOuterRef",staticClass:"newprint-button-outer"},[_c('a-button-group',_vm._l((_vm.outerPrintItems),function(outer){return _c('a-dropdown',{key:outer.key,staticClass:"c-dropdown",attrs:{"getPopupContainer":_vm.getPopupContainerNode,"trigger":_vm.dropOuter},scopedSlots:_vm._u([{key:"overlay",fn:function(){return [_c('a-menu',_vm._l((_vm.operations),function(operation){return _c('a-menu-item',{key:operation.key,staticClass:"operation-li",on:{"click":function($event){return _vm.handleSelect(operation.key, outer)}}},[_c('span',{staticClass:"label"},[_vm._v(_vm._s(operation.label))])])}),1)]},proxy:true}],null,true)},[_c('a-button',{staticClass:"operation-li",staticStyle:{"display":"flex","align-items":"center"},attrs:{"disabled":!_vm.printParams[outer.templateCode],"loading":outer.isLoading},on:{"click":function($event){return _vm.handleOneTypePrint(outer.templateCode, outer.templateId, outer.key, true)}}},[(!outer.isLoading)?_c('a-icon',{attrs:{"type":"printer"}}):_vm._e(),_c('span',{staticClass:"label"},[_vm._v(_vm._s(outer.label))])],1)],1)}),1),(_vm.outerPrintItems.length > 0 && _vm.outerPrintItems.length == _vm.options.length && _vm.isShowOutSettingBtn)?_c('a-dropdown',{attrs:{"overlayClassName":"newprint-button-menu","getPopupContainer":_vm.getPopupContainerNode,"id":"dropdown-outer-setting-btn","visible":_vm.outSettingVisible,"trigger":_vm.dropOperation}},[_c('a-button',{on:{"click":function($event){return _vm.toggleSettingVisible('outSettingVisible')}}},[_vm._v(" 外显设置 "),_c('a-icon',{attrs:{"type":"setting"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.options),function(sItem){return _c('a-menu-item',{key:sItem.key,staticClass:"dropdown-between operation-li"},[_c('span',{staticClass:"label bold"},[_vm._v(_vm._s(sItem.label))]),_c('a-checkbox',{attrs:{"checked":sItem.selected},on:{"change":function($event){return _vm.onSettingChange(sItem)}}},[_vm._v("外显")])],1)}),_c('a-menu-item',{staticClass:"print-divider"},[_c('a-divider')],1),_c('a-menu-item',{staticClass:"dropdown-between"},[_c('a-button',{attrs:{"type":"primary","size":"small"},on:{"click":function($event){return _vm.savePrintOutSetting('outSettingVisible')}}},[_vm._v("保存")]),(_vm.options && _vm.options.length > 1)?_c('a-checkbox',{attrs:{"checked":_vm.isSelectedAll},on:{"change":_vm.onSelectedAllChange}},[_vm._v("全选")]):_vm._e()],1)],2)],1):_c('a-button-group',[_c('a-button',{staticStyle:{"display":"flex","align-items":"center"},attrs:{"loading":this.spinning},on:{"click":function($event){$event.stopPropagation();return _vm.printAllButtonClick.apply(null, arguments)}}},[(!this.spinning)?_c('a-icon',{attrs:{"type":"printer"}}):_vm._e(),_vm._v(" "+_vm._s(_vm.isShowPrintAllBtn ? '打印全部' : _vm.btnText)+" ")],1),(_vm.innerPrintItems.length == 0)?_c('a-button',{on:{"click":function($event){$event.stopPropagation();return _vm.handleClickBtn.apply(null, arguments)}}},[_c('a-icon',{attrs:{"type":"down"}})],1):_c('a-dropdown',{attrs:{"visible":_vm.visible,"getPopupContainer":_vm.getPopupContainerNode,"overlayClassName":"newprint-button-menu","trigger":_vm.dropOperation}},[_c('a-button',{on:{"click":function($event){$event.stopPropagation();return _vm.handleClickBtn.apply(null, arguments)}}},[_c('a-icon',{attrs:{"type":"down"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.innerPrintItems),function(option){return _c('a-menu-item',{key:option.key,staticClass:"dropdown-between operation-li"},[_c('span',{staticClass:"label bold",class:!_vm.printParams[option.templateCode] ? 'isDisabled' : '',on:{"click":function($event){return _vm.handleOneTypePrint(option.templateCode, option.templateId, option.key, true)}}},[(option.isLoading)?_c('a-icon',{staticStyle:{"margin-right":"6px"},attrs:{"type":"loading"}}):_vm._e(),_vm._v(_vm._s(option.label)+" ")],1),_c('a-dropdown',{attrs:{"getPopupContainer":_vm.getPopupContainerNode,"trigger":_vm.dropOperation}},[_c('span',{staticClass:"operation-icon",staticStyle:{"margin-left":"8px"}},[_c('a-icon',{attrs:{"type":"right"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},_vm._l((_vm.operations),function(operation){return _c('a-menu-item',{key:operation.key,staticClass:"operation-li",on:{"click":function($event){return _vm.handleSelect(operation.key, option)}}},[_c('span',{staticClass:"label"},[_vm._v(_vm._s(operation.label))])])}),1)],1)],1)}),(_vm.isShowOutSettingBtn)?_c('a-menu-item',{staticClass:"print-divider"},[_c('a-divider')],1):_vm._e(),(_vm.isShowOutSettingBtn)?_c('a-menu-item',{staticClass:"operation-li"},[_c('a-dropdown',{attrs:{"visible":_vm.innerSettingVisible,"trigger":_vm.dropOperation,"getPopupContainer":_vm.getPopupContainerNode,"overlayClassName":"newprint-button-menu"}},[_c('div',{staticStyle:{"width":"100%","display":"flex","justify-content":"space-between","align-items":"center"},on:{"click":function($event){return _vm.toggleSettingVisible('innerSettingVisible')}}},[_c('span',{staticClass:"label bold",staticStyle:{"margin-right":"12px"}},[_vm._v("外显设置 ")]),_c('a-icon',{class:_vm.outerPrintItems.length > 0 ? "hasOuterItem":"",attrs:{"type":"setting"}})],1),_c('a-menu',{attrs:{"slot":"overlay"},slot:"overlay"},[_vm._l((_vm.options),function(sItem){return _c('a-menu-item',{key:sItem.key,staticClass:"dropdown-between operation-li"},[_c('span',{staticClass:"label bold"},[_vm._v(" "+_vm._s(sItem.label)+" ")]),_c('a-checkbox',{attrs:{"checked":sItem.selected},on:{"change":function($event){return _vm.onSettingChange(sItem)}}},[_vm._v("外显")])],1)}),_c('a-menu-item',{staticClass:"print-divider"},[_c('a-divider')],1),_c('a-menu-item',{staticClass:"dropdown-between"},[_c('a-button',{attrs:{"type":"primary","size":"small"},on:{"click":function($event){return _vm.savePrintOutSetting('innerSettingVisible')}}},[_vm._v("保存")]),(_vm.options && _vm.options.length > 1)?_c('a-checkbox',{attrs:{"checked":_vm.isSelectedAll},on:{"change":_vm.onSelectedAllChange}},[_vm._v("全选")]):_vm._e()],1)],2)],1)],1):_vm._e()],2)],1)],1),_c('IdentityVerification',{attrs:{"printConfig":_vm.printConfig,"baseUrl":_vm.baseUrl,"verifyUserUrl":_vm.verifyUserUrl,"visible":_vm.identityVerification.visible,"identityVerificationTitle":_vm.identityVerificationTitle,"authorizationKey":_vm.authorizationKey},on:{"update:visible":function($event){return _vm.$set(_vm.identityVerification, "visible", $event)},"success":_vm.verifiySuccess}})],1)}
7171
+ var newvue_type_template_id_e5ceabb0_scoped_true_staticRenderFns = []
7183
7172
 
7184
7173
 
7185
- // CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=template&id=570d3aad&scoped=true&
7174
+ // CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=template&id=e5ceabb0&scoped=true&
7186
7175
 
7187
7176
  // EXTERNAL MODULE: external "ant-design-vue/es/divider/style"
7188
7177
  var divider_style_ = __webpack_require__("e3aa");
@@ -7381,6 +7370,7 @@ var popover_default = /*#__PURE__*/__webpack_require__.n(popover_);
7381
7370
  //
7382
7371
  //
7383
7372
  //
7373
+ //
7384
7374
 
7385
7375
  /**
7386
7376
  * @author ruanlin
@@ -7624,26 +7614,19 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7624
7614
  return this.options.every(function (option) {
7625
7615
  return option.selected;
7626
7616
  });
7627
- },
7628
- // 设置默认format的标题
7629
- defaultFormatTitle: function defaultFormatTitle() {
7630
- var _this = this;
7631
-
7632
- var curFormat = this.innerPrintItems.find(function (option) {
7633
- return option.key == _this.defaultPrintFormatId;
7634
- });
7635
-
7636
- if (curFormat) {
7637
- return "\u6253\u5370".concat(curFormat.label);
7638
- } // 如果innerPrintItems长度只有一项,则默认选中它
7639
-
7640
-
7641
- if (this.innerPrintItems.length == 1) {
7642
- return "\u6253\u5370".concat(this.innerPrintItems[0].label);
7643
- }
7617
+ } // 设置默认format的标题
7618
+ // defaultFormatTitle() {
7619
+ // const curFormat = this.innerPrintItems.find(option => option.key == this.defaultPrintFormatId);
7620
+ // if (curFormat) {
7621
+ // return `打印${curFormat.label}`;
7622
+ // }
7623
+ // // 如果innerPrintItems长度只有一项,则默认选中它
7624
+ // if (this.innerPrintItems.length == 1) {
7625
+ // return `打印${this.innerPrintItems[0].label}`;
7626
+ // }
7627
+ // return ''
7628
+ // },
7644
7629
 
7645
- return '';
7646
- }
7647
7630
  },
7648
7631
  data: function data() {
7649
7632
  return {
@@ -7731,7 +7714,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7731
7714
  newPrintSetting: {
7732
7715
  immediate: true,
7733
7716
  handler: function handler(val) {
7734
- var _this2 = this;
7717
+ var _this = this;
7735
7718
 
7736
7719
  return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
7737
7720
  var keys, defFormatId;
@@ -7744,7 +7727,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7744
7727
  // 解决innerPrintItems只有一项的时候也要默认选中的问题,初始化执行一次即可
7745
7728
 
7746
7729
  _context.next = 4;
7747
- return _this2.handleClickBtn(false, true);
7730
+ return _this.handleClickBtn(false, true);
7748
7731
 
7749
7732
  case 4:
7750
7733
  case "end":
@@ -7777,33 +7760,33 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7777
7760
  });
7778
7761
  },
7779
7762
  printAllButtonClick: function printAllButtonClick() {
7780
- var _this3 = this;
7763
+ var _this2 = this;
7781
7764
 
7782
7765
  return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
7783
7766
  return regeneratorRuntime.wrap(function _callee2$(_context2) {
7784
7767
  while (1) {
7785
7768
  switch (_context2.prev = _context2.next) {
7786
7769
  case 0:
7787
- if (!_this3.isShowPrintAllBtn) {
7770
+ if (!_this2.isShowPrintAllBtn) {
7788
7771
  _context2.next = 5;
7789
7772
  break;
7790
7773
  }
7791
7774
 
7792
7775
  _context2.next = 3;
7793
- return _this3.directPrint();
7776
+ return _this2.directPrint();
7794
7777
 
7795
7778
  case 3:
7796
7779
  _context2.next = 12;
7797
7780
  break;
7798
7781
 
7799
7782
  case 5:
7800
- if (!_this3.defaultPrintFormatId) {
7783
+ if (!_this2.defaultPrintFormatId) {
7801
7784
  _context2.next = 10;
7802
7785
  break;
7803
7786
  }
7804
7787
 
7805
7788
  _context2.next = 8;
7806
- return _this3.directDefaultFormatPrint(_this3.defaultPrintFormatId);
7789
+ return _this2.directDefaultFormatPrint(_this2.defaultPrintFormatId);
7807
7790
 
7808
7791
  case 8:
7809
7792
  _context2.next = 12;
@@ -7811,7 +7794,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7811
7794
 
7812
7795
  case 10:
7813
7796
  _context2.next = 12;
7814
- return _this3.handleClickBtn();
7797
+ return _this2.handleClickBtn();
7815
7798
 
7816
7799
  case 12:
7817
7800
  case "end":
@@ -7823,7 +7806,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7823
7806
  },
7824
7807
  // 打印全部
7825
7808
  directPrint: function directPrint() {
7826
- var _this4 = this;
7809
+ var _this3 = this;
7827
7810
 
7828
7811
  return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
7829
7812
  return regeneratorRuntime.wrap(function _callee3$(_context3) {
@@ -7831,10 +7814,10 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7831
7814
  switch (_context3.prev = _context3.next) {
7832
7815
  case 0:
7833
7816
  _context3.next = 2;
7834
- return _this4.handleClickBtn(false);
7817
+ return _this3.handleClickBtn(false);
7835
7818
 
7836
7819
  case 2:
7837
- _this4.handleClickPrintAll();
7820
+ _this3.handleClickPrintAll();
7838
7821
 
7839
7822
  case 3:
7840
7823
  case "end":
@@ -7846,7 +7829,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7846
7829
  },
7847
7830
  // 打印全部
7848
7831
  handleClickPrintAll: function handleClickPrintAll() {
7849
- var _this5 = this;
7832
+ var _this4 = this;
7850
7833
 
7851
7834
  var templateNumbers = Object.keys(this.printParams);
7852
7835
  this.isClickSinglePrint = false;
@@ -7854,18 +7837,18 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7854
7837
 
7855
7838
  var _loop = function _loop(i) {
7856
7839
  var templateCode = templateNumbers[i];
7857
- var tmpParam = _this5.printParams[templateCode];
7840
+ var tmpParam = _this4.printParams[templateCode];
7858
7841
  var printToParam = originParamsClone[templateCode] || []; // 一个templateCode可能会对应多个类型
7859
7842
 
7860
- var formatTypeList = _this5.formatList.filter(function (format) {
7843
+ var formatTypeList = _this4.formatList.filter(function (format) {
7861
7844
  return format.number == templateCode;
7862
7845
  });
7863
7846
 
7864
7847
  if (formatTypeList && formatTypeList.length > 0) {
7865
7848
  formatTypeList.forEach(function (format) {
7866
- _this5.currentFormatId = format.id;
7849
+ _this4.currentFormatId = format.id;
7867
7850
 
7868
- _this5.handleClickPrint(tmpParam, format.number, format.templateId, format.id, printToParam, true);
7851
+ _this4.handleClickPrint(tmpParam, format.number, format.templateId, format.id, printToParam, true);
7869
7852
  });
7870
7853
  }
7871
7854
  };
@@ -7876,7 +7859,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7876
7859
  },
7877
7860
  // 打印默认模板格式
7878
7861
  directDefaultFormatPrint: function directDefaultFormatPrint(defaultFormatId) {
7879
- var _this6 = this;
7862
+ var _this5 = this;
7880
7863
 
7881
7864
  return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
7882
7865
  var curFormat;
@@ -7885,15 +7868,15 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7885
7868
  switch (_context4.prev = _context4.next) {
7886
7869
  case 0:
7887
7870
  _context4.next = 2;
7888
- return _this6.handleClickBtn(false);
7871
+ return _this5.handleClickBtn(false);
7889
7872
 
7890
7873
  case 2:
7891
- curFormat = _this6.innerPrintItems.find(function (option) {
7874
+ curFormat = _this5.innerPrintItems.find(function (option) {
7892
7875
  return option.key == defaultFormatId;
7893
7876
  });
7894
7877
 
7895
7878
  if (curFormat) {
7896
- _this6.handleOneTypePrint(curFormat.templateCode, curFormat.templateId, curFormat.key, false);
7879
+ _this5.handleOneTypePrint(curFormat.templateCode, curFormat.templateId, curFormat.key, false);
7897
7880
  }
7898
7881
 
7899
7882
  case 4:
@@ -7967,7 +7950,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7967
7950
  // 重置打印机
7968
7951
  handleResetPrinter: function handleResetPrinter() {
7969
7952
  var _arguments = arguments,
7970
- _this7 = this;
7953
+ _this6 = this;
7971
7954
 
7972
7955
  return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
7973
7956
  var curPrintParamList, templateCode, templateId, formatId, data;
@@ -7980,7 +7963,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7980
7963
  templateId = _arguments.length > 2 ? _arguments[2] : undefined;
7981
7964
  formatId = _arguments.length > 3 ? _arguments[3] : undefined;
7982
7965
 
7983
- if (!_this7.getCurrentLoading()) {
7966
+ if (!_this6.getCurrentLoading()) {
7984
7967
  _context5.next = 6;
7985
7968
  break;
7986
7969
  }
@@ -7988,27 +7971,27 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
7988
7971
  return _context5.abrupt("return");
7989
7972
 
7990
7973
  case 6:
7991
- _this7.toggleExpandLoading(true, formatId);
7974
+ _this6.toggleExpandLoading(true, formatId);
7992
7975
 
7993
7976
  _context5.next = 9;
7994
- return _this7.printInstance.resetPrinter(formatId);
7977
+ return _this6.printInstance.resetPrinter(formatId);
7995
7978
 
7996
7979
  case 9:
7997
7980
  data = _context5.sent;
7998
7981
 
7999
- _this7.toggleExpandLoading(false);
7982
+ _this6.toggleExpandLoading(false);
8000
7983
 
8001
7984
  if (!((data === null || data === void 0 ? void 0 : data.result) == 'success')) {
8002
7985
  _context5.next = 14;
8003
7986
  break;
8004
7987
  }
8005
7988
 
8006
- _this7.$message.success(data.message || '重置打印机成功');
7989
+ _this6.$message.success(data.message || '重置打印机成功');
8007
7990
 
8008
7991
  return _context5.abrupt("return");
8009
7992
 
8010
7993
  case 14:
8011
- _this7.$message.warning('重置打印机失败');
7994
+ _this6.$message.warning('重置打印机失败');
8012
7995
 
8013
7996
  case 15:
8014
7997
  case "end":
@@ -8022,7 +8005,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8022
8005
  /* visible为true时,展示下拉 */
8023
8006
  handleClickBtn: function handleClickBtn() {
8024
8007
  var _arguments2 = arguments,
8025
- _this8 = this;
8008
+ _this7 = this;
8026
8009
 
8027
8010
  return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
8028
8011
  var visible, isNoPopup, result;
@@ -8033,13 +8016,13 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8033
8016
  visible = _arguments2.length > 0 && _arguments2[0] !== undefined ? _arguments2[0] : true;
8034
8017
  isNoPopup = _arguments2.length > 1 && _arguments2[1] !== undefined ? _arguments2[1] : false;
8035
8018
 
8036
- if (_this8.visible) {
8019
+ if (_this7.visible) {
8037
8020
  _context6.next = 8;
8038
8021
  break;
8039
8022
  }
8040
8023
 
8041
8024
  _context6.next = 5;
8042
- return _this8.init(isNoPopup);
8025
+ return _this7.init(isNoPopup);
8043
8026
 
8044
8027
  case 5:
8045
8028
  result = _context6.sent;
@@ -8053,7 +8036,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8053
8036
 
8054
8037
  case 8:
8055
8038
  if (visible) {
8056
- _this8.visible = !_this8.visible;
8039
+ _this7.visible = !_this7.visible;
8057
8040
  }
8058
8041
 
8059
8042
  case 9:
@@ -8068,10 +8051,10 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8068
8051
  /* isNoPopup:是否需要弹出获取打印格式失败,请联系管理员的提示 */
8069
8052
  init: function init() {
8070
8053
  var _arguments3 = arguments,
8071
- _this9 = this;
8054
+ _this8 = this;
8072
8055
 
8073
8056
  return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
8074
- var _this9$printConfig, _this9$printConfig2, _formatListResult, _formatListResult2, _formatListResult2$ob;
8057
+ var _this8$printConfig, _this8$printConfig2, _formatListResult, _formatListResult2, _formatListResult2$ob;
8075
8058
 
8076
8059
  var isNoPopup, config, printUrlPrefix, customCofing, cCofing, formatListResult;
8077
8060
  return regeneratorRuntime.wrap(function _callee7$(_context7) {
@@ -8080,7 +8063,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8080
8063
  case 0:
8081
8064
  isNoPopup = _arguments3.length > 0 && _arguments3[0] !== undefined ? _arguments3[0] : false;
8082
8065
 
8083
- if (!_this9.isInited) {
8066
+ if (!_this8.isInited) {
8084
8067
  _context7.next = 3;
8085
8068
  break;
8086
8069
  }
@@ -8088,39 +8071,39 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8088
8071
  return _context7.abrupt("return", true);
8089
8072
 
8090
8073
  case 3:
8091
- _this9.isInited = true;
8074
+ _this8.isInited = true;
8092
8075
 
8093
- _this9.setTimeoutSpin();
8076
+ _this8.setTimeoutSpin();
8094
8077
 
8095
- _this9.instantiatePrintSDK();
8078
+ _this8.instantiatePrintSDK();
8096
8079
 
8097
8080
  config = {
8098
8081
  withCredentials: false,
8099
8082
  timeout: 5000
8100
8083
  };
8101
- printUrlPrefix = _this9 === null || _this9 === void 0 ? void 0 : (_this9$printConfig = _this9.printConfig) === null || _this9$printConfig === void 0 ? void 0 : _this9$printConfig.printUrlPrefix;
8102
- customCofing = (_this9 === null || _this9 === void 0 ? void 0 : (_this9$printConfig2 = _this9.printConfig) === null || _this9$printConfig2 === void 0 ? void 0 : _this9$printConfig2.customCofing) || {};
8103
- cCofing = _this9.getCustomCofing(customCofing);
8084
+ printUrlPrefix = _this8 === null || _this8 === void 0 ? void 0 : (_this8$printConfig = _this8.printConfig) === null || _this8$printConfig === void 0 ? void 0 : _this8$printConfig.printUrlPrefix;
8085
+ customCofing = (_this8 === null || _this8 === void 0 ? void 0 : (_this8$printConfig2 = _this8.printConfig) === null || _this8$printConfig2 === void 0 ? void 0 : _this8$printConfig2.customCofing) || {};
8086
+ cCofing = _this8.getCustomCofing(customCofing);
8104
8087
 
8105
- if (external_axios_default.a !== _this9.axios && printUrlPrefix) {
8088
+ if (external_axios_default.a !== _this8.axios && printUrlPrefix) {
8106
8089
  config.baseURL = printUrlPrefix;
8107
8090
  }
8108
8091
 
8109
8092
  newvue_type_script_lang_js_httpFn = external_axios_default.a.create(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, config), cCofing));
8110
8093
  formatListResult = null;
8111
8094
 
8112
- if (!_this9.printFormatByNumberData) {
8095
+ if (!_this8.printFormatByNumberData) {
8113
8096
  _context7.next = 17;
8114
8097
  break;
8115
8098
  }
8116
8099
 
8117
- formatListResult = _this9.printFormatByNumberData;
8100
+ formatListResult = _this8.printFormatByNumberData;
8118
8101
  _context7.next = 20;
8119
8102
  break;
8120
8103
 
8121
8104
  case 17:
8122
8105
  _context7.next = 19;
8123
- return _this9.queryFormatList();
8106
+ return _this8.queryFormatList();
8124
8107
 
8125
8108
  case 19:
8126
8109
  formatListResult = _context7.sent;
@@ -8131,9 +8114,9 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8131
8114
  break;
8132
8115
  }
8133
8116
 
8134
- _this9.isInited = false;
8117
+ _this8.isInited = false;
8135
8118
 
8136
- _this9.$message.error('获取模板参数失败,请联系管理员');
8119
+ _this8.$message.error('获取模板参数失败,请联系管理员');
8137
8120
 
8138
8121
  return _context7.abrupt("return", false);
8139
8122
 
@@ -8143,31 +8126,31 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8143
8126
  break;
8144
8127
  }
8145
8128
 
8146
- _this9.options = [];
8129
+ _this8.options = [];
8147
8130
 
8148
- _this9.$message.error(_this9.noformatTips || '获取打印格式失败,请联系管理员!');
8131
+ _this8.$message.error(_this8.noformatTips || '获取打印格式失败,请联系管理员!');
8149
8132
 
8150
- return _context7.abrupt("return", _this9.requestError());
8133
+ return _context7.abrupt("return", _this8.requestError());
8151
8134
 
8152
8135
  case 28:
8153
- if (!(_this9.versionType == 1 || _this9.versionType == 3)) {
8136
+ if (!(_this8.versionType == 1 || _this8.versionType == 3)) {
8154
8137
  _context7.next = 32;
8155
8138
  break;
8156
8139
  }
8157
8140
 
8158
- _this9.initHIS(formatListResult);
8141
+ _this8.initHIS(formatListResult);
8159
8142
 
8160
8143
  _context7.next = 34;
8161
8144
  break;
8162
8145
 
8163
8146
  case 32:
8164
8147
  _context7.next = 34;
8165
- return _this9.initCRM(formatListResult, isNoPopup);
8148
+ return _this8.initCRM(formatListResult, isNoPopup);
8166
8149
 
8167
8150
  case 34:
8168
- _this9.isInited = false;
8151
+ _this8.isInited = false;
8169
8152
 
8170
- _this9.setLoaded();
8153
+ _this8.setLoaded();
8171
8154
 
8172
8155
  return _context7.abrupt("return", true);
8173
8156
 
@@ -8184,7 +8167,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8184
8167
  var _this$options,
8185
8168
  _this$newPrintSetting5,
8186
8169
  _this$newPrintSetting6,
8187
- _this10 = this;
8170
+ _this9 = this;
8188
8171
 
8189
8172
  this.options = [];
8190
8173
  var children = this.formatList.map(function (v) {
@@ -8203,9 +8186,9 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8203
8186
 
8204
8187
  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) {
8205
8188
  this.options.forEach(function (option) {
8206
- var _this10$newPrintSetti;
8189
+ var _this9$newPrintSettin;
8207
8190
 
8208
- if ((_this10$newPrintSetti = _this10.newPrintSetting) !== null && _this10$newPrintSetti !== void 0 && _this10$newPrintSetti.outerPrintKeys.includes(option.key)) {
8191
+ if ((_this9$newPrintSettin = _this9.newPrintSetting) !== null && _this9$newPrintSettin !== void 0 && _this9$newPrintSettin.outerPrintKeys.includes(option.key)) {
8209
8192
  option.selected = true;
8210
8193
  }
8211
8194
  });
@@ -8220,7 +8203,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8220
8203
 
8221
8204
  if (this.hideButtons.length > 0) {
8222
8205
  this.operations = this.operations.filter(function (operation) {
8223
- return !_this10.hideButtons.includes(operation.key);
8206
+ return !_this9.hideButtons.includes(operation.key);
8224
8207
  });
8225
8208
  } // 2、通过全局缓存portal隐藏按钮
8226
8209
 
@@ -8257,28 +8240,28 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8257
8240
  this.templateParams = this.formatList[0] || {};
8258
8241
  },
8259
8242
  initCRM: function initCRM(formatListResult, isNoPopup) {
8260
- var _this11 = this;
8243
+ var _this10 = this;
8261
8244
 
8262
8245
  return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
8263
8246
  return regeneratorRuntime.wrap(function _callee8$(_context8) {
8264
8247
  while (1) {
8265
8248
  switch (_context8.prev = _context8.next) {
8266
8249
  case 0:
8267
- _this11.formatList = formatListResult ? _this11.formatFormatList(formatListResult.obj) : []; // this.currentFormatId = this.getDefaultFormatId(this.formatList, 'defaultFlag');
8250
+ _this10.formatList = formatListResult ? _this10.formatFormatList(formatListResult.obj) : []; // this.currentFormatId = this.getDefaultFormatId(this.formatList, 'defaultFlag');
8268
8251
 
8269
- if (!(!isNoPopup && _this11.formatList.length == 0)) {
8252
+ if (!(!isNoPopup && _this10.formatList.length == 0)) {
8270
8253
  _context8.next = 5;
8271
8254
  break;
8272
8255
  }
8273
8256
 
8274
- _this11.options = [];
8257
+ _this10.options = [];
8275
8258
 
8276
- _this11.$message.error(_this11.noformatTips || '获取打印格式失败,请联系管理员!');
8259
+ _this10.$message.error(_this10.noformatTips || '获取打印格式失败,请联系管理员!');
8277
8260
 
8278
- return _context8.abrupt("return", _this11.requestError());
8261
+ return _context8.abrupt("return", _this10.requestError());
8279
8262
 
8280
8263
  case 5:
8281
- if (!(_this11.options.length > 0)) {
8264
+ if (!(_this10.options.length > 0)) {
8282
8265
  _context8.next = 7;
8283
8266
  break;
8284
8267
  }
@@ -8286,22 +8269,22 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8286
8269
  return _context8.abrupt("return");
8287
8270
 
8288
8271
  case 7:
8289
- _this11.setOptions(); // this.templateParams = await this.queryTemplateParams();
8272
+ _this10.setOptions(); // this.templateParams = await this.queryTemplateParams();
8290
8273
 
8291
8274
 
8292
8275
  _context8.next = 10;
8293
- return _this11.mergeTemplateList(formatListResult.obj);
8276
+ return _this10.mergeTemplateList(formatListResult.obj);
8294
8277
 
8295
8278
  case 10:
8296
- _this11.templateParams = _context8.sent;
8279
+ _this10.templateParams = _context8.sent;
8297
8280
  // if (templateParamsResult) {
8298
8281
  // this.templateParams = templateParamsResult;
8299
8282
  // } else {
8300
8283
  // return this.requestError();
8301
8284
  // }
8302
8285
  // this.printParams = this.formatParams(this.templateParams, this.params);
8303
- _this11.printParams = _this11.formatSomeTypeParams(_this11.templateParams, _this11.params);
8304
- _this11.originParams = _this11.formatSomeOriginParams(_this11.templateParams, _this11.params);
8286
+ _this10.printParams = _this10.formatSomeTypeParams(_this10.templateParams, _this10.params);
8287
+ _this10.originParams = _this10.formatSomeOriginParams(_this10.templateParams, _this10.params);
8305
8288
 
8306
8289
  case 13:
8307
8290
  case "end":
@@ -8312,27 +8295,27 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8312
8295
  }))();
8313
8296
  },
8314
8297
  formatSomeTypeParams: function formatSomeTypeParams() {
8315
- var _this12 = this;
8298
+ var _this11 = this;
8316
8299
 
8317
8300
  var templateParams = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
8318
8301
  var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
8319
8302
  var mergeParams = {};
8320
8303
  params = params ? params : [];
8321
8304
  params.forEach(function (paramObj) {
8322
- mergeParams = Object.assign({}, _this12.findTemplateAndInsertData(mergeParams, paramObj, templateParams));
8305
+ mergeParams = Object.assign({}, _this11.findTemplateAndInsertData(mergeParams, paramObj, templateParams));
8323
8306
  });
8324
8307
  return mergeParams;
8325
8308
  },
8326
8309
  // 格式化原始params映射值
8327
8310
  formatSomeOriginParams: function formatSomeOriginParams() {
8328
- var _this13 = this;
8311
+ var _this12 = this;
8329
8312
 
8330
8313
  var templateParams = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
8331
8314
  var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
8332
8315
  var mergeOriginParams = {};
8333
8316
  params = params ? params : [];
8334
8317
  params.forEach(function (paramObj) {
8335
- mergeOriginParams = Object.assign({}, _this13.findTemplateAndInsertParams(mergeOriginParams, paramObj, templateParams));
8318
+ mergeOriginParams = Object.assign({}, _this12.findTemplateAndInsertParams(mergeOriginParams, paramObj, templateParams));
8336
8319
  });
8337
8320
  return mergeOriginParams;
8338
8321
  },
@@ -8453,10 +8436,10 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8453
8436
  return templateObj;
8454
8437
  },
8455
8438
  setTimeoutSpin: function setTimeoutSpin() {
8456
- var _this14 = this;
8439
+ var _this13 = this;
8457
8440
 
8458
8441
  this.spinTimer = setTimeout(function () {
8459
- _this14.spinning = true;
8442
+ _this13.spinning = true;
8460
8443
  }, 1500);
8461
8444
  },
8462
8445
  setLoaded: function setLoaded() {
@@ -8496,12 +8479,12 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8496
8479
  return this.spinning;
8497
8480
  },
8498
8481
  requestError: function requestError() {
8499
- var _this15 = this;
8482
+ var _this14 = this;
8500
8483
 
8501
8484
  this.isInited = false;
8502
8485
  this.setLoaded();
8503
8486
  setTimeout(function () {
8504
- _this15.visible = false;
8487
+ _this14.visible = false;
8505
8488
  }, 0);
8506
8489
  return false;
8507
8490
  },
@@ -8521,7 +8504,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8521
8504
 
8522
8505
  /* */
8523
8506
  queryFormatList: function queryFormatList() {
8524
- var _this16 = this;
8507
+ var _this15 = this;
8525
8508
 
8526
8509
  var templateNumber = this.templateNumber,
8527
8510
  authorizationKey = this.authorizationKey,
@@ -8544,7 +8527,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8544
8527
  break;
8545
8528
  }
8546
8529
 
8547
- _this16.$message.error(data.resultMsg || '参数异常,请联系管理员');
8530
+ _this15.$message.error(data.resultMsg || '参数异常,请联系管理员');
8548
8531
 
8549
8532
  return _context9.abrupt("return", false);
8550
8533
 
@@ -8577,7 +8560,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8577
8560
 
8578
8561
  /* */
8579
8562
  queryTemplateParams: function queryTemplateParams() {
8580
- var _this17 = this;
8563
+ var _this16 = this;
8581
8564
 
8582
8565
  var templateNumber = this.templateNumber,
8583
8566
  authorizationKey = this.authorizationKey,
@@ -8602,7 +8585,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8602
8585
  break;
8603
8586
  }
8604
8587
 
8605
- _this17.$message.error(data.resultMsg || '参数异常,请联系管理员');
8588
+ _this16.$message.error(data.resultMsg || '参数异常,请联系管理员');
8606
8589
 
8607
8590
  return _context10.abrupt("return", false);
8608
8591
 
@@ -8657,7 +8640,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8657
8640
  // });
8658
8641
  // },
8659
8642
  reformatPrintParams: function reformatPrintParams() {
8660
- var _this18 = this;
8643
+ var _this17 = this;
8661
8644
 
8662
8645
  this.watchPrintParamsReformatFn && this.watchPrintParamsReformatFn();
8663
8646
  /*
@@ -8669,7 +8652,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8669
8652
  this.watchPrintParamsReformatFn = this.$watch('isInited', function (val) {
8670
8653
  if (!val) return false;
8671
8654
 
8672
- _this18.reformatPrintParams();
8655
+ _this17.reformatPrintParams();
8673
8656
  });
8674
8657
  return;
8675
8658
  } // this.printParams = this.formatParams(this.templateParams, this.params);
@@ -8679,11 +8662,11 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8679
8662
  this.originParams = this.formatSomeOriginParams(this.templateParams, this.params);
8680
8663
  },
8681
8664
  formatPrintParams: function formatPrintParams(paramObj, fieldList, keyName) {
8682
- var _this19 = this;
8665
+ var _this18 = this;
8683
8666
 
8684
8667
  var obj = {};
8685
8668
  fieldList.forEach(function (i) {
8686
- var defaultVal = _this19.formatDefaultVal(i, paramObj[i[keyName]]);
8669
+ var defaultVal = _this18.formatDefaultVal(i, paramObj[i[keyName]]);
8687
8670
 
8688
8671
  if (paramObj[i[keyName]] && defaultVal) {
8689
8672
  obj[i[keyName]] = defaultVal;
@@ -8768,7 +8751,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8768
8751
  return JSON.stringify(params);
8769
8752
  },
8770
8753
  handleClickPrint: function handleClickPrint(curPrintParamList, templateCode, templateId, formatId) {
8771
- var _this20 = this;
8754
+ var _this19 = this;
8772
8755
 
8773
8756
  var printToParam = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];
8774
8757
  var needContinuePrint = arguments.length > 5 ? arguments[5] : undefined;
@@ -8782,7 +8765,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8782
8765
  case 0:
8783
8766
  try {
8784
8767
  if (--len <= 0) {
8785
- _this20.callLocalServicesSuccessCb(data, 'print');
8768
+ _this19.callLocalServicesSuccessCb(data, 'print');
8786
8769
  }
8787
8770
  } catch (error) {
8788
8771
  console.log('error', error);
@@ -8804,63 +8787,63 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8804
8787
  if (this.getCurrentLoading() && !needContinuePrint) return;
8805
8788
  this.toggleExpandLoading(true, formatId);
8806
8789
  this.prevFn().catch(function () {
8807
- _this20.prevFnError();
8790
+ _this19.prevFnError();
8808
8791
 
8809
8792
  return Promise.reject();
8810
8793
  }).then(function () {
8811
- if (_this20.versionType == 1 || _this20.versionType == 3) {
8812
- var printFn = _this20.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
8794
+ if (_this19.versionType == 1 || _this19.versionType == 3) {
8795
+ var printFn = _this19.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
8813
8796
 
8814
- if (_this20.strategy === 'MULTI') {
8815
- for (var i = 0; i < _this20.params.length; i++) {
8816
- var params = _this20.getHisParams(i);
8797
+ if (_this19.strategy === 'MULTI') {
8798
+ for (var i = 0; i < _this19.params.length; i++) {
8799
+ var params = _this19.getHisParams(i);
8817
8800
 
8818
- _this20.printInstance[printFn](7, params).then(function (res) {
8801
+ _this19.printInstance[printFn](7, params).then(function (res) {
8819
8802
  console.log(res, '777777777777');
8820
8803
  }).catch(function (error) {
8821
8804
  console.log(error, 'error777');
8822
8805
  });
8823
8806
  }
8824
8807
  } else {
8825
- var _params = _this20.getOnceHisParams();
8808
+ var _params = _this19.getOnceHisParams();
8826
8809
 
8827
- _this20.printInstance[printFn](7, _params).then(function (res) {
8810
+ _this19.printInstance[printFn](7, _params).then(function (res) {
8828
8811
  console.log(res, '777777777777');
8829
8812
  }).catch(function (error) {
8830
8813
  console.log(error, 'error777');
8831
8814
  });
8832
8815
  }
8833
8816
  } else {
8834
- _this20.curPrintParamList = curPrintParamList;
8817
+ _this19.curPrintParamList = curPrintParamList;
8835
8818
  var queryParams = {
8836
8819
  // ...this.queryParams,
8837
8820
  formatId: formatId,
8838
8821
  templateId: templateId,
8839
- printdlgshow: _this20.printdlgshow
8822
+ printdlgshow: _this19.printdlgshow
8840
8823
  };
8841
8824
 
8842
- if (_this20.strategy === 'MULTI') {
8825
+ if (_this19.strategy === 'MULTI') {
8843
8826
  // 循环多条
8844
8827
  for (var _i3 = 0; _i3 < curPrintParamList.length; _i3++) {
8845
8828
  if (_i3 > 0) queryParams.printdlgshow = '0';
8846
8829
 
8847
- var _params2 = JSON.stringify(Object.assign({}, JSON.parse(_this20.getPrintParams()), _this20.printCustomProps, curPrintParamList[_i3]));
8830
+ var _params2 = JSON.stringify(Object.assign({}, JSON.parse(_this19.getPrintParams()), _this19.printCustomProps, curPrintParamList[_i3]));
8848
8831
 
8849
- _this20.printInstance.printDirect(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
8832
+ _this19.printInstance.printDirect(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
8850
8833
  params: _params2
8851
- }), callLocalServicesSuccessCb, _this20.callLocalServicesErrorCb, _this20.callLocalServicesCancelCb);
8834
+ }), callLocalServicesSuccessCb, _this19.callLocalServicesErrorCb, _this19.callLocalServicesCancelCb);
8852
8835
  }
8853
8836
  } else {
8854
8837
  // 聚合一条
8855
- _this20.printInstance.printDirect(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
8856
- params: _this20.getOnceParams(curPrintParamList, templateCode)
8838
+ _this19.printInstance.printDirect(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
8839
+ params: _this19.getOnceParams(curPrintParamList, templateCode)
8857
8840
  }), function (res) {
8858
8841
  res.params = printToParam;
8859
8842
  res.templateCode = templateCode;
8860
8843
  res.templateId = templateId;
8861
8844
 
8862
- _this20.callLocalServicesSuccessCb(res, 'print');
8863
- }, _this20.callLocalServicesErrorCb, _this20.callLocalServicesCancelCb);
8845
+ _this19.callLocalServicesSuccessCb(res, 'print');
8846
+ }, _this19.callLocalServicesErrorCb, _this19.callLocalServicesCancelCb);
8864
8847
  }
8865
8848
  }
8866
8849
  });
@@ -8906,7 +8889,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8906
8889
  },
8907
8890
  handleClickPreview: function handleClickPreview() {
8908
8891
  var _arguments4 = arguments,
8909
- _this21 = this;
8892
+ _this20 = this;
8910
8893
 
8911
8894
  return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee12() {
8912
8895
  var curPrintParamList, templateCode, templateId, formatId;
@@ -8919,7 +8902,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8919
8902
  templateId = _arguments4.length > 2 ? _arguments4[2] : undefined;
8920
8903
  formatId = _arguments4.length > 3 ? _arguments4[3] : undefined;
8921
8904
 
8922
- if (!_this21.getCurrentLoading()) {
8905
+ if (!_this20.getCurrentLoading()) {
8923
8906
  _context12.next = 6;
8924
8907
  break;
8925
8908
  }
@@ -8927,36 +8910,36 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8927
8910
  return _context12.abrupt("return");
8928
8911
 
8929
8912
  case 6:
8930
- _this21.toggleExpandLoading(true, formatId);
8913
+ _this20.toggleExpandLoading(true, formatId);
8931
8914
 
8932
- _this21.prevFn().catch(function () {
8933
- _this21.prevFnError();
8915
+ _this20.prevFn().catch(function () {
8916
+ _this20.prevFnError();
8934
8917
 
8935
8918
  return Promise.reject();
8936
8919
  }).then(function () {
8937
- if (_this21.versionType == 1 || _this21.versionType == 3) {
8938
- var params = _this21.strategy === 'MULTI' ? _this21.getHisParams() : _this21.getOnceHisParams();
8939
- var printFn = _this21.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
8920
+ if (_this20.versionType == 1 || _this20.versionType == 3) {
8921
+ var params = _this20.strategy === 'MULTI' ? _this20.getHisParams() : _this20.getOnceHisParams();
8922
+ var printFn = _this20.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
8940
8923
 
8941
- _this21.printInstance[printFn](8, params).then(function (res) {
8924
+ _this20.printInstance[printFn](8, params).then(function (res) {
8942
8925
  console.log(res, 88888888);
8943
8926
  }).catch(function (error) {
8944
8927
  console.log(error, 'error888');
8945
8928
  });
8946
8929
  } else {
8947
- _this21.curPrintParamList = curPrintParamList;
8948
- var IS_MULTI = _this21.strategy === 'MULTI';
8930
+ _this20.curPrintParamList = curPrintParamList;
8931
+ var IS_MULTI = _this20.strategy === 'MULTI';
8949
8932
  var queryParams = {
8950
8933
  formatId: formatId,
8951
8934
  templateId: templateId
8952
8935
  };
8953
- var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(_this21.getPrintParams()), _this21.printCustomProps.value, curPrintParamList[0]));
8936
+ var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(_this20.getPrintParams()), _this20.printCustomProps.value, curPrintParamList[0]));
8954
8937
 
8955
- _this21.printInstance.preview(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
8956
- params: IS_MULTI ? paramsFirst : _this21.getOnceParams(curPrintParamList, templateCode)
8938
+ _this20.printInstance.preview(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
8939
+ params: IS_MULTI ? paramsFirst : _this20.getOnceParams(curPrintParamList, templateCode)
8957
8940
  }), function (res) {
8958
- _this21.callLocalServicesSuccessCb(res, 'preview');
8959
- }, _this21.callLocalServicesErrorCb);
8941
+ _this20.callLocalServicesSuccessCb(res, 'preview');
8942
+ }, _this20.callLocalServicesErrorCb);
8960
8943
  }
8961
8944
  });
8962
8945
 
@@ -8971,7 +8954,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8971
8954
  // 下载pdf
8972
8955
  handleClickPdf: function handleClickPdf() {
8973
8956
  var _arguments5 = arguments,
8974
- _this22 = this;
8957
+ _this21 = this;
8975
8958
 
8976
8959
  return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee13() {
8977
8960
  var curPrintParamList, templateCode, templateId, formatId;
@@ -8984,7 +8967,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8984
8967
  templateId = _arguments5.length > 2 ? _arguments5[2] : undefined;
8985
8968
  formatId = _arguments5.length > 3 ? _arguments5[3] : undefined;
8986
8969
 
8987
- if (!_this22.getCurrentLoading()) {
8970
+ if (!_this21.getCurrentLoading()) {
8988
8971
  _context13.next = 6;
8989
8972
  break;
8990
8973
  }
@@ -8992,18 +8975,18 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
8992
8975
  return _context13.abrupt("return");
8993
8976
 
8994
8977
  case 6:
8995
- _this22.toggleExpandLoading(true, formatId);
8978
+ _this21.toggleExpandLoading(true, formatId);
8996
8979
 
8997
- _this22.prevFn().catch(function () {
8998
- _this22.prevFnError();
8980
+ _this21.prevFn().catch(function () {
8981
+ _this21.prevFnError();
8999
8982
 
9000
8983
  return Promise.reject();
9001
8984
  }).then(function () {
9002
- if (_this22.versionType == 1 || _this22.versionType == 3) {
8985
+ if (_this21.versionType == 1 || _this21.versionType == 3) {
9003
8986
  console.log('下载pdf>>>');
9004
8987
  } else {
9005
- _this22.curPrintParamList = curPrintParamList;
9006
- var IS_MULTI = _this22.strategy === 'MULTI'; // const queryParams = {
8988
+ _this21.curPrintParamList = curPrintParamList;
8989
+ var IS_MULTI = _this21.strategy === 'MULTI'; // const queryParams = {
9007
8990
  // ...this.queryParams,
9008
8991
  // print: { print: '1', type: '1', callback: '1' },
9009
8992
  // };
@@ -9017,13 +9000,13 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
9017
9000
  callback: '1'
9018
9001
  }
9019
9002
  };
9020
- var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(_this22.getPrintParams()), _this22.printCustomProps.value, curPrintParamList[0]));
9003
+ var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(_this21.getPrintParams()), _this21.printCustomProps.value, curPrintParamList[0]));
9021
9004
 
9022
- _this22.printInstance.downloadPDF(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
9023
- params: IS_MULTI ? paramsFirst : _this22.getOnceParams(curPrintParamList, templateCode)
9005
+ _this21.printInstance.downloadPDF(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
9006
+ params: IS_MULTI ? paramsFirst : _this21.getOnceParams(curPrintParamList, templateCode)
9024
9007
  }), function (res) {
9025
- _this22.callLocalServicesSuccessCb(res, 'download');
9026
- }, _this22.callLocalServicesErrorCb);
9008
+ _this21.callLocalServicesSuccessCb(res, 'download');
9009
+ }, _this21.callLocalServicesErrorCb);
9027
9010
  }
9028
9011
  });
9029
9012
 
@@ -9036,7 +9019,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
9036
9019
  }))();
9037
9020
  },
9038
9021
  handleClickEdit: function handleClickEdit() {
9039
- var _this23 = this;
9022
+ var _this22 = this;
9040
9023
 
9041
9024
  var curPrintParamList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
9042
9025
  var templateCode = arguments.length > 1 ? arguments[1] : undefined;
@@ -9045,30 +9028,30 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
9045
9028
  if (this.getCurrentLoading()) return;
9046
9029
  this.toggleExpandLoading(true, formatId);
9047
9030
  this.prevFn().catch(function () {
9048
- _this23.prevFnError();
9031
+ _this22.prevFnError();
9049
9032
 
9050
9033
  return Promise.reject();
9051
9034
  }).then(function () {
9052
- if (_this23.versionType == 1 || _this23.versionType == 3) {
9053
- var params = _this23.strategy === 'MULTI' ? _this23.getHisParams() : _this23.getOnceHisParams();
9054
- var printFn = _this23.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
9035
+ if (_this22.versionType == 1 || _this22.versionType == 3) {
9036
+ var params = _this22.strategy === 'MULTI' ? _this22.getHisParams() : _this22.getOnceHisParams();
9037
+ var printFn = _this22.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
9055
9038
 
9056
- _this23.printInstance[printFn](9, params).then(function (res) {
9039
+ _this22.printInstance[printFn](9, params).then(function (res) {
9057
9040
  console.log(res, 999999);
9058
9041
  }).catch(function (error) {
9059
9042
  console.log(error, 'error999');
9060
9043
  });
9061
9044
  } else {
9062
- _this23.toggleExpandLoading(false);
9045
+ _this22.toggleExpandLoading(false);
9063
9046
 
9064
- _this23.curPrintParamList = curPrintParamList;
9065
- _this23.currentFormatId = formatId;
9066
- _this23.identityVerification.visible = true;
9047
+ _this22.curPrintParamList = curPrintParamList;
9048
+ _this22.currentFormatId = formatId;
9049
+ _this22.identityVerification.visible = true;
9067
9050
  }
9068
9051
  });
9069
9052
  },
9070
9053
  verifiySuccess: function verifiySuccess(token) {
9071
- var _this24 = this;
9054
+ var _this23 = this;
9072
9055
 
9073
9056
  this.identityVerification.visible = false;
9074
9057
  var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(this.getPrintParams()), this.printCustomProps.value, this.curPrintParamList[0]));
@@ -9081,7 +9064,7 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
9081
9064
  token: token
9082
9065
  };
9083
9066
  this.printInstance.editPrintFormat(queryParams, function (res) {
9084
- _this24.callLocalServicesSuccessCb(res, 'edit');
9067
+ _this23.callLocalServicesSuccessCb(res, 'edit');
9085
9068
  }, this.callLocalServicesErrorCb);
9086
9069
  },
9087
9070
 
@@ -9136,8 +9119,8 @@ var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
9136
9119
  }));
9137
9120
  // CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=script&lang=js&
9138
9121
  /* harmony default export */ var ButtonPrint_newvue_type_script_lang_js_ = (newvue_type_script_lang_js_);
9139
- // EXTERNAL MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=style&index=0&id=570d3aad&lang=less&scoped=true&
9140
- var newvue_type_style_index_0_id_570d3aad_lang_less_scoped_true_ = __webpack_require__("2bc5");
9122
+ // EXTERNAL MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=style&index=0&id=e5ceabb0&lang=less&scoped=true&
9123
+ var newvue_type_style_index_0_id_e5ceabb0_lang_less_scoped_true_ = __webpack_require__("fdbd");
9141
9124
 
9142
9125
  // CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue
9143
9126
 
@@ -9150,11 +9133,11 @@ var newvue_type_style_index_0_id_570d3aad_lang_less_scoped_true_ = __webpack_req
9150
9133
 
9151
9134
  var new_component = Object(componentNormalizer["a" /* default */])(
9152
9135
  ButtonPrint_newvue_type_script_lang_js_,
9153
- newvue_type_template_id_570d3aad_scoped_true_render,
9154
- newvue_type_template_id_570d3aad_scoped_true_staticRenderFns,
9136
+ newvue_type_template_id_e5ceabb0_scoped_true_render,
9137
+ newvue_type_template_id_e5ceabb0_scoped_true_staticRenderFns,
9155
9138
  false,
9156
9139
  null,
9157
- "570d3aad",
9140
+ "e5ceabb0",
9158
9141
  null
9159
9142
 
9160
9143
  )
@@ -9656,6 +9639,13 @@ module.exports = require("core-js/modules/es.symbol.description.js");
9656
9639
 
9657
9640
  /***/ }),
9658
9641
 
9642
+ /***/ "4b46":
9643
+ /***/ (function(module, exports, __webpack_require__) {
9644
+
9645
+ // extracted by mini-css-extract-plugin
9646
+
9647
+ /***/ }),
9648
+
9659
9649
  /***/ "4b9f":
9660
9650
  /***/ (function(module, exports) {
9661
9651
 
@@ -13253,13 +13243,6 @@ module.exports = function (object, names) {
13253
13243
  };
13254
13244
 
13255
13245
 
13256
- /***/ }),
13257
-
13258
- /***/ "cb3e":
13259
- /***/ (function(module, exports, __webpack_require__) {
13260
-
13261
- // extracted by mini-css-extract-plugin
13262
-
13263
13246
  /***/ }),
13264
13247
 
13265
13248
  /***/ "cc12":
@@ -14615,6 +14598,17 @@ module.exports = function (it) {
14615
14598
 
14616
14599
  module.exports = require("core-js/modules/es.string.includes.js");
14617
14600
 
14601
+ /***/ }),
14602
+
14603
+ /***/ "fdbd":
14604
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
14605
+
14606
+ "use strict";
14607
+ /* 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_e5ceabb0_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4b46");
14608
+ /* 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_e5ceabb0_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_e5ceabb0_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
14609
+ /* unused harmony reexport * */
14610
+
14611
+
14618
14612
  /***/ }),
14619
14613
 
14620
14614
  /***/ "fdbf":