cnhis-design-vue 2.1.143 → 2.1.144
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -4
- package/es/affix/index.js +8 -8
- package/es/age/index.js +10 -10
- package/es/alert/index.js +8 -8
- package/es/anchor/index.js +8 -8
- package/es/auto-complete/index.js +8 -8
- package/es/avatar/index.js +8 -8
- package/es/back-top/index.js +8 -8
- package/es/badge/index.js +8 -8
- package/es/base/index.js +8 -8
- package/es/big-table/index.js +71 -71
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +474 -314
- package/es/button/style.css +1 -1
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/card-reader-sdk/index.js +1 -1
- package/es/carousel/index.js +8 -8
- package/es/cascader/index.js +8 -8
- package/es/checkbox/index.js +9 -9
- package/es/col/index.js +8 -8
- package/es/collapse/index.js +8 -8
- package/es/color-picker/index.js +1 -1
- package/es/comment/index.js +8 -8
- package/es/config-provider/index.js +8 -8
- package/es/date-picker/index.js +8 -8
- package/es/descriptions/index.js +8 -8
- package/es/direct/index.js +16 -16
- package/es/divider/index.js +8 -8
- package/es/drag-layout/index.js +3 -3
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +1 -1
- package/es/ellipsis/index.js +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +283 -149
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +74 -74
- package/es/full-calendar/index.js +4 -4
- package/es/index/index.js +1778 -1073
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/layout/index.js +8 -8
- package/es/list/index.js +8 -8
- package/es/locale-provider/index.js +8 -8
- package/es/map/index.js +9 -9
- package/es/mentions/index.js +8 -8
- package/es/menu/index.js +8 -8
- package/es/message/index.js +8 -8
- package/es/multi-chat/index.js +76 -76
- package/es/multi-chat-client/index.js +70 -70
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +14 -14
- package/es/multi-chat-setting/index.js +22 -22
- package/es/multi-chat-sip/index.js +1 -1
- package/es/notification/index.js +8 -8
- package/es/page-header/index.js +8 -8
- package/es/pagination/index.js +8 -8
- package/es/popconfirm/index.js +8 -8
- package/es/popover/index.js +8 -8
- package/es/progress/index.js +8 -8
- package/es/radio/index.js +9 -9
- package/es/rate/index.js +8 -8
- package/es/result/index.js +8 -8
- package/es/row/index.js +8 -8
- package/es/scale-container/index.js +9 -9
- package/es/scale-view/index.js +27 -27
- package/es/select/index.js +12 -12
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +2 -2
- package/es/select-tag/index.js +4 -4
- package/es/shortcut-setter/index.js +10 -10
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/slider-tree/index.js +9 -9
- package/es/space/index.js +8 -8
- package/es/spin/index.js +8 -8
- package/es/statistic/index.js +8 -8
- package/es/steps/index.js +8 -8
- package/es/switch/index.js +8 -8
- package/es/table-filter/index.js +1143 -572
- package/es/table-filter/style.css +1 -1
- package/es/tabs/index.js +8 -8
- package/es/tag/index.js +9 -9
- package/es/time-picker/index.js +8 -8
- package/es/timeline/index.js +8 -8
- package/es/tooltip/index.js +8 -8
- package/es/transfer/index.js +8 -8
- package/es/tree/index.js +8 -8
- package/es/tree-select/index.js +8 -8
- package/es/upload/index.js +8 -8
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +1743 -1064
- package/lib/cui.umd.js +1743 -1064
- package/lib/cui.umd.min.js +20 -20
- package/package.json +1 -1
- package/packages/button/src/ButtonPrint/index.vue +21 -13
- package/packages/button/src/ButtonPrint/new.vue +270 -291
- package/packages/button/src/ButtonPrint/old.vue +33 -4
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +175 -85
- package/packages/fabric-chart/src/mixins/eventCommon.js +1 -1
- package/packages/table-filter/src/base-search-com/BaseSearch.vue +21 -71
- package/packages/table-filter/src/mixins/printNew.js +184 -0
package/es/button/index.js
CHANGED
|
@@ -224,6 +224,17 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
224
224
|
|
|
225
225
|
module.exports = require("core-js/modules/es.array.find.js");
|
|
226
226
|
|
|
227
|
+
/***/ }),
|
|
228
|
+
|
|
229
|
+
/***/ "0e2b":
|
|
230
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
231
|
+
|
|
232
|
+
"use strict";
|
|
233
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_old_vue_vue_type_style_index_0_id_278e2829_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b06d");
|
|
234
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_old_vue_vue_type_style_index_0_id_278e2829_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_old_vue_vue_type_style_index_0_id_278e2829_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
235
|
+
/* unused harmony reexport * */
|
|
236
|
+
|
|
237
|
+
|
|
227
238
|
/***/ }),
|
|
228
239
|
|
|
229
240
|
/***/ "105d":
|
|
@@ -853,6 +864,17 @@ module.exports = function (iterator) {
|
|
|
853
864
|
|
|
854
865
|
module.exports = require("core-js/modules/es.number.is-finite.js");
|
|
855
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
|
+
|
|
856
878
|
/***/ }),
|
|
857
879
|
|
|
858
880
|
/***/ "2c29":
|
|
@@ -860,7 +882,7 @@ module.exports = require("core-js/modules/es.number.is-finite.js");
|
|
|
860
882
|
|
|
861
883
|
"use strict";
|
|
862
884
|
/* WEBPACK VAR INJECTION */(function(global, process, Buffer) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return qi; });
|
|
863
|
-
/* harmony import */ var
|
|
885
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("53ca");
|
|
864
886
|
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9b22");
|
|
865
887
|
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
866
888
|
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("4933");
|
|
@@ -1165,7 +1187,7 @@ function t() {
|
|
|
1165
1187
|
if ("throw" !== s.type) {
|
|
1166
1188
|
var c = s.arg,
|
|
1167
1189
|
f = c.value;
|
|
1168
|
-
return f && "object" == Object(
|
|
1190
|
+
return f && "object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(f) && n.call(f, "__await") ? e.resolve(f.__await).then(function (t) {
|
|
1169
1191
|
r("next", t, a, u);
|
|
1170
1192
|
}, function (t) {
|
|
1171
1193
|
r("throw", t, a, u);
|
|
@@ -1286,7 +1308,7 @@ function t() {
|
|
|
1286
1308
|
}
|
|
1287
1309
|
}
|
|
1288
1310
|
|
|
1289
|
-
throw new TypeError(Object(
|
|
1311
|
+
throw new TypeError(Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t) + " is not iterable");
|
|
1290
1312
|
}
|
|
1291
1313
|
|
|
1292
1314
|
return h.prototype = v, o(b, "constructor", {
|
|
@@ -1470,19 +1492,19 @@ function o(t, e) {
|
|
|
1470
1492
|
|
|
1471
1493
|
function i(t) {
|
|
1472
1494
|
var e = function (t, e) {
|
|
1473
|
-
if ("object" != Object(
|
|
1495
|
+
if ("object" != Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t) || null === t) return t;
|
|
1474
1496
|
var r = t[Symbol.toPrimitive];
|
|
1475
1497
|
|
|
1476
1498
|
if (void 0 !== r) {
|
|
1477
1499
|
var n = r.call(t, e || "default");
|
|
1478
|
-
if ("object" != Object(
|
|
1500
|
+
if ("object" != Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(n)) return n;
|
|
1479
1501
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1480
1502
|
}
|
|
1481
1503
|
|
|
1482
1504
|
return ("string" === e ? String : Number)(t);
|
|
1483
1505
|
}(t, "string");
|
|
1484
1506
|
|
|
1485
|
-
return "symbol" == Object(
|
|
1507
|
+
return "symbol" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(e) ? e : String(e);
|
|
1486
1508
|
}
|
|
1487
1509
|
|
|
1488
1510
|
var a = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
|
|
@@ -1498,7 +1520,7 @@ var s,
|
|
|
1498
1520
|
f = function f(t) {
|
|
1499
1521
|
return t && t.Math == Math && t;
|
|
1500
1522
|
},
|
|
1501
|
-
l = f("object" == (typeof globalThis === "undefined" ? "undefined" : Object(
|
|
1523
|
+
l = f("object" == (typeof globalThis === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(globalThis)) && globalThis) || f("object" == (typeof window === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(window)) && window) || f("object" == (typeof self === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(self)) && self) || f("object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(a) && a) || function () {
|
|
1502
1524
|
return this;
|
|
1503
1525
|
}() || a || Function("return this")(),
|
|
1504
1526
|
p = function p(t) {
|
|
@@ -1573,7 +1595,7 @@ var s,
|
|
|
1573
1595
|
I = function I(t) {
|
|
1574
1596
|
return _(N(t));
|
|
1575
1597
|
},
|
|
1576
|
-
D = "object" == (typeof document === "undefined" ? "undefined" : Object(
|
|
1598
|
+
D = "object" == (typeof document === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(document)) && document.all,
|
|
1577
1599
|
L = {
|
|
1578
1600
|
all: D,
|
|
1579
1601
|
IS_HTMLDDA: void 0 === D && void 0 !== D
|
|
@@ -1586,9 +1608,9 @@ var s,
|
|
|
1586
1608
|
},
|
|
1587
1609
|
B = L.all,
|
|
1588
1610
|
M = L.IS_HTMLDDA ? function (t) {
|
|
1589
|
-
return "object" == Object(
|
|
1611
|
+
return "object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t) ? null !== t : U(t) || t === B;
|
|
1590
1612
|
} : function (t) {
|
|
1591
|
-
return "object" == Object(
|
|
1613
|
+
return "object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t) ? null !== t : U(t);
|
|
1592
1614
|
},
|
|
1593
1615
|
q = function q(t, e) {
|
|
1594
1616
|
return arguments.length < 2 ? (r = l[t], U(r) ? r : void 0) : l[t] && l[t][e];
|
|
@@ -1609,10 +1631,10 @@ var K = c,
|
|
|
1609
1631
|
var t = Symbol();
|
|
1610
1632
|
return !Q(t) || !(Object(t) instanceof Symbol) || !Symbol.sham && K && K < 41;
|
|
1611
1633
|
}),
|
|
1612
|
-
X = $ && !Symbol.sham && "symbol" == Object(
|
|
1634
|
+
X = $ && !Symbol.sham && "symbol" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Symbol.iterator),
|
|
1613
1635
|
Y = Object,
|
|
1614
1636
|
Z = X ? function (t) {
|
|
1615
|
-
return "symbol" == Object(
|
|
1637
|
+
return "symbol" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t);
|
|
1616
1638
|
} : function (t) {
|
|
1617
1639
|
var e = q("Symbol");
|
|
1618
1640
|
return U(e) && H(e.prototype, Y(t));
|
|
@@ -1998,7 +2020,7 @@ var fe = {
|
|
|
1998
2020
|
c = t.stat;
|
|
1999
2021
|
if (r = s ? l : c ? l[u] || ut(u, {}) : (l[u] || {}).prototype) for (n in e) {
|
|
2000
2022
|
if (i = e[n], o = t.dontCallGetSet ? (a = qe(r, n)) && a.value : r[n], !Me(s ? n : u + (c ? "." : "#") + n, t.forced) && void 0 !== o) {
|
|
2001
|
-
if (Object(
|
|
2023
|
+
if (Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(i) == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o)) continue;
|
|
2002
2024
|
Ne(i, o);
|
|
2003
2025
|
}
|
|
2004
2026
|
|
|
@@ -2163,7 +2185,7 @@ var wr = "undefined" != typeof process && "process" == T(process),
|
|
|
2163
2185
|
|
|
2164
2186
|
return function (r, n) {
|
|
2165
2187
|
return Lt(r), function (t) {
|
|
2166
|
-
if ("object" == Object(
|
|
2188
|
+
if ("object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t) || U(t)) return t;
|
|
2167
2189
|
throw Er("Can't set " + Or(t) + " as a prototype");
|
|
2168
2190
|
}(n), e ? t(r, n) : r.__proto__ = n, r;
|
|
2169
2191
|
};
|
|
@@ -2229,7 +2251,7 @@ var Lr,
|
|
|
2229
2251
|
Jr = Function.prototype,
|
|
2230
2252
|
Gr = Jr.apply,
|
|
2231
2253
|
Wr = Jr.call,
|
|
2232
|
-
Vr = "object" == (typeof Reflect === "undefined" ? "undefined" : Object(
|
|
2254
|
+
Vr = "object" == (typeof Reflect === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Reflect)) && Reflect.apply || (h ? Wr.bind(Gr) : function () {
|
|
2233
2255
|
return Wr.apply(Gr, arguments);
|
|
2234
2256
|
}),
|
|
2235
2257
|
Kr = function Kr(t) {
|
|
@@ -2385,8 +2407,8 @@ var In = An,
|
|
|
2385
2407
|
}
|
|
2386
2408
|
},
|
|
2387
2409
|
Ln = l.Promise,
|
|
2388
|
-
Fn = "object" == (typeof Deno === "undefined" ? "undefined" : Object(
|
|
2389
|
-
Un = !Fn && !wr && "object" == (typeof window === "undefined" ? "undefined" : Object(
|
|
2410
|
+
Fn = "object" == (typeof Deno === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Deno)) && Deno && "object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Deno.version),
|
|
2411
|
+
Un = !Fn && !wr && "object" == (typeof window === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(window)) && "object" == (typeof document === "undefined" ? "undefined" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(document));
|
|
2390
2412
|
|
|
2391
2413
|
Ln && Ln.prototype;
|
|
2392
2414
|
|
|
@@ -2704,7 +2726,7 @@ var To = {},
|
|
|
2704
2726
|
No(n, "throw", t);
|
|
2705
2727
|
}
|
|
2706
2728
|
|
|
2707
|
-
if ("object" == Object(
|
|
2729
|
+
if ("object" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(u) && u && H(Lo, u)) return u;
|
|
2708
2730
|
}
|
|
2709
2731
|
|
|
2710
2732
|
return new Do(!1);
|
|
@@ -3008,10 +3030,10 @@ He({
|
|
|
3008
3030
|
var Ai = u(function (t, e) {
|
|
3009
3031
|
t.exports = function () {
|
|
3010
3032
|
function t(e) {
|
|
3011
|
-
return (t = "function" == typeof Symbol && "symbol" == Object(
|
|
3012
|
-
return Object(
|
|
3033
|
+
return (t = "function" == typeof Symbol && "symbol" == Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(Symbol.iterator) ? function (t) {
|
|
3034
|
+
return Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t);
|
|
3013
3035
|
} : function (t) {
|
|
3014
|
-
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : Object(
|
|
3036
|
+
return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : Object(F_project_crm_high_new_cnhis_design_v2_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(t);
|
|
3015
3037
|
})(e);
|
|
3016
3038
|
}
|
|
3017
3039
|
|
|
@@ -5580,13 +5602,6 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
|
|
|
5580
5602
|
|
|
5581
5603
|
/***/ }),
|
|
5582
5604
|
|
|
5583
|
-
/***/ "3016":
|
|
5584
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5585
|
-
|
|
5586
|
-
// extracted by mini-css-extract-plugin
|
|
5587
|
-
|
|
5588
|
-
/***/ }),
|
|
5589
|
-
|
|
5590
5605
|
/***/ "30df":
|
|
5591
5606
|
/***/ (function(module, exports) {
|
|
5592
5607
|
|
|
@@ -5627,12 +5642,12 @@ module.exports = function (it) {
|
|
|
5627
5642
|
|
|
5628
5643
|
"use strict";
|
|
5629
5644
|
|
|
5630
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5631
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(
|
|
5645
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/ButtonPrint/index.vue?vue&type=template&id=606450dc&
|
|
5646
|
+
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))}
|
|
5632
5647
|
var staticRenderFns = []
|
|
5633
5648
|
|
|
5634
5649
|
|
|
5635
|
-
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/index.vue?vue&type=template&id=
|
|
5650
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/index.vue?vue&type=template&id=606450dc&
|
|
5636
5651
|
|
|
5637
5652
|
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
5638
5653
|
var es_number_constructor_js_ = __webpack_require__("f989");
|
|
@@ -5646,12 +5661,12 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
5646
5661
|
// EXTERNAL MODULE: ./src/core/create.js
|
|
5647
5662
|
var create = __webpack_require__("8aef");
|
|
5648
5663
|
|
|
5649
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5650
|
-
var
|
|
5651
|
-
var
|
|
5664
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/ButtonPrint/old.vue?vue&type=template&id=278e2829&scoped=true&
|
|
5665
|
+
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
|
+
var oldvue_type_template_id_278e2829_scoped_true_staticRenderFns = []
|
|
5652
5667
|
|
|
5653
5668
|
|
|
5654
|
-
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=template&id=
|
|
5669
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=template&id=278e2829&scoped=true&
|
|
5655
5670
|
|
|
5656
5671
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
5657
5672
|
var esm_typeof = __webpack_require__("53ca");
|
|
@@ -5705,21 +5720,21 @@ var es_array_find_js_ = __webpack_require__("0d58");
|
|
|
5705
5720
|
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
5706
5721
|
var es_function_name_js_ = __webpack_require__("db0a");
|
|
5707
5722
|
|
|
5708
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
5709
|
-
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
5710
|
-
|
|
5711
5723
|
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
5712
5724
|
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
5713
5725
|
|
|
5726
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
5727
|
+
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
5728
|
+
|
|
5729
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
5730
|
+
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
5731
|
+
|
|
5714
5732
|
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
5715
5733
|
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
5716
5734
|
|
|
5717
5735
|
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
5718
5736
|
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
5719
5737
|
|
|
5720
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
5721
|
-
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
5722
|
-
|
|
5723
5738
|
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
5724
5739
|
var es_array_map_js_ = __webpack_require__("4391");
|
|
5725
5740
|
|
|
@@ -5729,7 +5744,7 @@ var es_array_join_js_ = __webpack_require__("be94");
|
|
|
5729
5744
|
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/js/print.es.min.js
|
|
5730
5745
|
var print_es_min = __webpack_require__("2c29");
|
|
5731
5746
|
|
|
5732
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5747
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/ButtonPrint/components/IdentityVerification.vue?vue&type=template&id=9404f70a&scoped=true&
|
|
5733
5748
|
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)])}
|
|
5734
5749
|
var IdentityVerificationvue_type_template_id_9404f70a_scoped_true_staticRenderFns = []
|
|
5735
5750
|
|
|
@@ -6126,6 +6141,8 @@ var oldvue_type_script_lang_js_httpFn = null;
|
|
|
6126
6141
|
|
|
6127
6142
|
|
|
6128
6143
|
|
|
6144
|
+
var downloadPdfCode = 'RY7.2.21.1.M2.G94181E';
|
|
6145
|
+
var formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
|
|
6129
6146
|
/* harmony default export */ var oldvue_type_script_lang_js_ = (Object(create["a" /* default */])({
|
|
6130
6147
|
name: 'button-print',
|
|
6131
6148
|
components: {
|
|
@@ -6245,6 +6262,13 @@ var oldvue_type_script_lang_js_httpFn = null;
|
|
|
6245
6262
|
},
|
|
6246
6263
|
getPrintParamsAfter: {
|
|
6247
6264
|
type: Function
|
|
6265
|
+
},
|
|
6266
|
+
// 隐藏默认按钮配置。printText: 直接打印;previewText: 打印预览;downloadPdf:下载pdf;formatEditText:格式编辑。示例:hideButtons = ['formatEditText']
|
|
6267
|
+
hideButtons: {
|
|
6268
|
+
type: Array,
|
|
6269
|
+
default: function _default() {
|
|
6270
|
+
return [];
|
|
6271
|
+
}
|
|
6248
6272
|
}
|
|
6249
6273
|
},
|
|
6250
6274
|
computed: {
|
|
@@ -6270,6 +6294,18 @@ var oldvue_type_script_lang_js_httpFn = null;
|
|
|
6270
6294
|
formatId: this.currentFormatId,
|
|
6271
6295
|
templateId: this.getTemplateIdByFormatId(this.currentFormatId)
|
|
6272
6296
|
};
|
|
6297
|
+
},
|
|
6298
|
+
// 展示下载pdf按钮
|
|
6299
|
+
isShowDownloadPdf: function isShowDownloadPdf() {
|
|
6300
|
+
var isShow = !this.hideButtons.includes('downloadPdf');
|
|
6301
|
+
var settingShow = this.isShowOperation(downloadPdfCode);
|
|
6302
|
+
return isShow && settingShow;
|
|
6303
|
+
},
|
|
6304
|
+
// 展示格式编辑按钮
|
|
6305
|
+
isShowFormatEditText: function isShowFormatEditText() {
|
|
6306
|
+
var isShow = !this.hideButtons.includes('formatEditText');
|
|
6307
|
+
var settingShow = this.isShowOperation(formatEditTextCode);
|
|
6308
|
+
return isShow && settingShow;
|
|
6273
6309
|
}
|
|
6274
6310
|
},
|
|
6275
6311
|
data: function data() {
|
|
@@ -6318,6 +6354,20 @@ var oldvue_type_script_lang_js_httpFn = null;
|
|
|
6318
6354
|
// getPopupContainer(triggerNode) {
|
|
6319
6355
|
// return triggerNode.parentNode;
|
|
6320
6356
|
// },
|
|
6357
|
+
isShowOperation: function isShowOperation(code) {
|
|
6358
|
+
var portalStr = sessionStorage.getItem('portal');
|
|
6359
|
+
|
|
6360
|
+
if (portalStr) {
|
|
6361
|
+
var _portal$user;
|
|
6362
|
+
|
|
6363
|
+
var portal = JSON.parse(portalStr);
|
|
6364
|
+
var limitObj = (portal === null || portal === void 0 ? void 0 : (_portal$user = portal.user) === null || _portal$user === void 0 ? void 0 : _portal$user.currentRoleResourceObj) || {};
|
|
6365
|
+
var limitList = Object.keys(limitObj);
|
|
6366
|
+
return limitList.includes(code);
|
|
6367
|
+
}
|
|
6368
|
+
|
|
6369
|
+
return true;
|
|
6370
|
+
},
|
|
6321
6371
|
handleClickOutside: function handleClickOutside() {
|
|
6322
6372
|
this.visible = false;
|
|
6323
6373
|
},
|
|
@@ -7099,8 +7149,8 @@ var oldvue_type_script_lang_js_httpFn = null;
|
|
|
7099
7149
|
}));
|
|
7100
7150
|
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=script&lang=js&
|
|
7101
7151
|
/* harmony default export */ var ButtonPrint_oldvue_type_script_lang_js_ = (oldvue_type_script_lang_js_);
|
|
7102
|
-
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=style&index=0&id=
|
|
7103
|
-
var
|
|
7152
|
+
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=style&index=0&id=278e2829&lang=less&scoped=true&
|
|
7153
|
+
var oldvue_type_style_index_0_id_278e2829_lang_less_scoped_true_ = __webpack_require__("0e2b");
|
|
7104
7154
|
|
|
7105
7155
|
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/old.vue?vue&type=style&index=1&lang=less&
|
|
7106
7156
|
var oldvue_type_style_index_1_lang_less_ = __webpack_require__("f250");
|
|
@@ -7117,22 +7167,22 @@ var oldvue_type_style_index_1_lang_less_ = __webpack_require__("f250");
|
|
|
7117
7167
|
|
|
7118
7168
|
var old_component = Object(componentNormalizer["a" /* default */])(
|
|
7119
7169
|
ButtonPrint_oldvue_type_script_lang_js_,
|
|
7120
|
-
|
|
7121
|
-
|
|
7170
|
+
oldvue_type_template_id_278e2829_scoped_true_render,
|
|
7171
|
+
oldvue_type_template_id_278e2829_scoped_true_staticRenderFns,
|
|
7122
7172
|
false,
|
|
7123
7173
|
null,
|
|
7124
|
-
"
|
|
7174
|
+
"278e2829",
|
|
7125
7175
|
null
|
|
7126
7176
|
|
|
7127
7177
|
)
|
|
7128
7178
|
|
|
7129
7179
|
/* harmony default export */ var old = (old_component.exports);
|
|
7130
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7131
|
-
var
|
|
7132
|
-
var
|
|
7180
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"70f3d6c1-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/ButtonPrint/new.vue?vue&type=template&id=570d3aad&scoped=true&
|
|
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 = []
|
|
7133
7183
|
|
|
7134
7184
|
|
|
7135
|
-
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=template&id=
|
|
7185
|
+
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=template&id=570d3aad&scoped=true&
|
|
7136
7186
|
|
|
7137
7187
|
// EXTERNAL MODULE: external "ant-design-vue/es/divider/style"
|
|
7138
7188
|
var divider_style_ = __webpack_require__("e3aa");
|
|
@@ -7322,6 +7372,15 @@ var popover_default = /*#__PURE__*/__webpack_require__.n(popover_);
|
|
|
7322
7372
|
//
|
|
7323
7373
|
//
|
|
7324
7374
|
//
|
|
7375
|
+
//
|
|
7376
|
+
//
|
|
7377
|
+
//
|
|
7378
|
+
//
|
|
7379
|
+
//
|
|
7380
|
+
//
|
|
7381
|
+
//
|
|
7382
|
+
//
|
|
7383
|
+
//
|
|
7325
7384
|
|
|
7326
7385
|
/**
|
|
7327
7386
|
* @author ruanlin
|
|
@@ -7337,6 +7396,8 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7337
7396
|
|
|
7338
7397
|
|
|
7339
7398
|
|
|
7399
|
+
var newvue_type_script_lang_js_downloadPdfCode = 'RY7.2.21.1.M2.G94181E';
|
|
7400
|
+
var newvue_type_script_lang_js_formatEditTextCode = 'RY7.2.21.1.M2.G33633A';
|
|
7340
7401
|
/* harmony default export */ var newvue_type_script_lang_js_ = (Object(create["a" /* default */])({
|
|
7341
7402
|
name: 'button-print',
|
|
7342
7403
|
components: {
|
|
@@ -7457,6 +7518,13 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7457
7518
|
getPrintParamsAfter: {
|
|
7458
7519
|
type: Function
|
|
7459
7520
|
},
|
|
7521
|
+
// 隐藏默认按钮配置。printText: 直接打印;previewText: 打印预览;downloadPdf:下载pdf;formatEditText:格式编辑。示例:hideButtons = ['formatEditText']
|
|
7522
|
+
hideButtons: {
|
|
7523
|
+
type: Array,
|
|
7524
|
+
default: function _default() {
|
|
7525
|
+
return [];
|
|
7526
|
+
}
|
|
7527
|
+
},
|
|
7460
7528
|
// 新版打印配置(新)
|
|
7461
7529
|
newPrintSetting: {
|
|
7462
7530
|
type: Object,
|
|
@@ -7474,6 +7542,13 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7474
7542
|
defaultFormatId: ''
|
|
7475
7543
|
};
|
|
7476
7544
|
}
|
|
7545
|
+
},
|
|
7546
|
+
// 获取模板数据(新)
|
|
7547
|
+
printFormatByNumberData: {
|
|
7548
|
+
type: Object,
|
|
7549
|
+
default: function _default() {
|
|
7550
|
+
return null;
|
|
7551
|
+
}
|
|
7477
7552
|
}
|
|
7478
7553
|
},
|
|
7479
7554
|
computed: {
|
|
@@ -7522,12 +7597,52 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7522
7597
|
defaultPrintFormatId: function defaultPrintFormatId() {
|
|
7523
7598
|
var _this$newPrintSetting4;
|
|
7524
7599
|
|
|
7525
|
-
|
|
7600
|
+
var dFormatId = ((_this$newPrintSetting4 = this.newPrintSetting) === null || _this$newPrintSetting4 === void 0 ? void 0 : _this$newPrintSetting4.defaultFormatId) || ''; // 如果在内显中没有找到对应项,则返回空
|
|
7601
|
+
|
|
7602
|
+
var isFindInnerItem = this.innerPrintItems.find(function (item) {
|
|
7603
|
+
return item.key == dFormatId;
|
|
7604
|
+
});
|
|
7605
|
+
|
|
7606
|
+
if (!isFindInnerItem) {
|
|
7607
|
+
dFormatId = '';
|
|
7608
|
+
} // 如果为空时,再去看当前下拉项中是否只有一项
|
|
7609
|
+
|
|
7610
|
+
|
|
7611
|
+
if (!dFormatId) {
|
|
7612
|
+
if (this.innerPrintItems.length == 1) {
|
|
7613
|
+
var _this$innerPrintItems;
|
|
7614
|
+
|
|
7615
|
+
return (_this$innerPrintItems = this.innerPrintItems[0]) === null || _this$innerPrintItems === void 0 ? void 0 : _this$innerPrintItems.key;
|
|
7616
|
+
}
|
|
7617
|
+
|
|
7618
|
+
return '';
|
|
7619
|
+
}
|
|
7620
|
+
|
|
7621
|
+
return dFormatId;
|
|
7526
7622
|
},
|
|
7527
7623
|
isSelectedAll: function isSelectedAll() {
|
|
7528
7624
|
return this.options.every(function (option) {
|
|
7529
7625
|
return option.selected;
|
|
7530
7626
|
});
|
|
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
|
+
}
|
|
7644
|
+
|
|
7645
|
+
return '';
|
|
7531
7646
|
}
|
|
7532
7647
|
},
|
|
7533
7648
|
data: function data() {
|
|
@@ -7564,13 +7679,13 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7564
7679
|
options: [],
|
|
7565
7680
|
// 操作按钮集合
|
|
7566
7681
|
operations: [{
|
|
7567
|
-
label: this.pdfLoadText,
|
|
7568
|
-
// 下载pdf
|
|
7569
|
-
key: 'downloadPdf'
|
|
7570
|
-
}, {
|
|
7571
7682
|
label: this.previewText,
|
|
7572
7683
|
// 打印预览
|
|
7573
7684
|
key: 'previewText'
|
|
7685
|
+
}, {
|
|
7686
|
+
label: this.pdfLoadText,
|
|
7687
|
+
// 下载pdf
|
|
7688
|
+
key: 'downloadPdf'
|
|
7574
7689
|
}, {
|
|
7575
7690
|
label: this.formatEditText,
|
|
7576
7691
|
// 格式编辑
|
|
@@ -7614,26 +7729,22 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7614
7729
|
}
|
|
7615
7730
|
},
|
|
7616
7731
|
newPrintSetting: {
|
|
7617
|
-
deep: true,
|
|
7618
7732
|
immediate: true,
|
|
7619
7733
|
handler: function handler(val) {
|
|
7620
|
-
var
|
|
7734
|
+
var _this2 = this;
|
|
7621
7735
|
|
|
7622
7736
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
7623
|
-
var keys;
|
|
7737
|
+
var keys, defFormatId;
|
|
7624
7738
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
7625
7739
|
while (1) {
|
|
7626
7740
|
switch (_context.prev = _context.next) {
|
|
7627
7741
|
case 0:
|
|
7628
7742
|
keys = (val === null || val === void 0 ? void 0 : val.outerPrintKeys) || [];
|
|
7629
|
-
|
|
7630
|
-
|
|
7631
|
-
_context.next = 4;
|
|
7632
|
-
break;
|
|
7633
|
-
}
|
|
7743
|
+
defFormatId = (val === null || val === void 0 ? void 0 : val.defaultFormatId) || ''; // if (keys.length > 0 || defFormatId) {}
|
|
7744
|
+
// 解决innerPrintItems只有一项的时候也要默认选中的问题,初始化执行一次即可
|
|
7634
7745
|
|
|
7635
7746
|
_context.next = 4;
|
|
7636
|
-
return
|
|
7747
|
+
return _this2.handleClickBtn(false, true);
|
|
7637
7748
|
|
|
7638
7749
|
case 4:
|
|
7639
7750
|
case "end":
|
|
@@ -7647,8 +7758,8 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7647
7758
|
},
|
|
7648
7759
|
methods: {
|
|
7649
7760
|
getPopupContainerNode: function getPopupContainerNode() {
|
|
7650
|
-
|
|
7651
|
-
return
|
|
7761
|
+
// const node = document.getElementById('newprint-button-outer');
|
|
7762
|
+
return this.$refs.newprintButtonOuterRef;
|
|
7652
7763
|
},
|
|
7653
7764
|
// 重置所有的弹窗
|
|
7654
7765
|
handleAllClickOutside: function handleAllClickOutside() {
|
|
@@ -7666,33 +7777,33 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7666
7777
|
});
|
|
7667
7778
|
},
|
|
7668
7779
|
printAllButtonClick: function printAllButtonClick() {
|
|
7669
|
-
var
|
|
7780
|
+
var _this3 = this;
|
|
7670
7781
|
|
|
7671
7782
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
7672
7783
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
7673
7784
|
while (1) {
|
|
7674
7785
|
switch (_context2.prev = _context2.next) {
|
|
7675
7786
|
case 0:
|
|
7676
|
-
if (!
|
|
7787
|
+
if (!_this3.isShowPrintAllBtn) {
|
|
7677
7788
|
_context2.next = 5;
|
|
7678
7789
|
break;
|
|
7679
7790
|
}
|
|
7680
7791
|
|
|
7681
7792
|
_context2.next = 3;
|
|
7682
|
-
return
|
|
7793
|
+
return _this3.directPrint();
|
|
7683
7794
|
|
|
7684
7795
|
case 3:
|
|
7685
7796
|
_context2.next = 12;
|
|
7686
7797
|
break;
|
|
7687
7798
|
|
|
7688
7799
|
case 5:
|
|
7689
|
-
if (!
|
|
7800
|
+
if (!_this3.defaultPrintFormatId) {
|
|
7690
7801
|
_context2.next = 10;
|
|
7691
7802
|
break;
|
|
7692
7803
|
}
|
|
7693
7804
|
|
|
7694
7805
|
_context2.next = 8;
|
|
7695
|
-
return
|
|
7806
|
+
return _this3.directDefaultFormatPrint(_this3.defaultPrintFormatId);
|
|
7696
7807
|
|
|
7697
7808
|
case 8:
|
|
7698
7809
|
_context2.next = 12;
|
|
@@ -7700,7 +7811,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7700
7811
|
|
|
7701
7812
|
case 10:
|
|
7702
7813
|
_context2.next = 12;
|
|
7703
|
-
return
|
|
7814
|
+
return _this3.handleClickBtn();
|
|
7704
7815
|
|
|
7705
7816
|
case 12:
|
|
7706
7817
|
case "end":
|
|
@@ -7712,7 +7823,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7712
7823
|
},
|
|
7713
7824
|
// 打印全部
|
|
7714
7825
|
directPrint: function directPrint() {
|
|
7715
|
-
var
|
|
7826
|
+
var _this4 = this;
|
|
7716
7827
|
|
|
7717
7828
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
7718
7829
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
@@ -7720,10 +7831,10 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7720
7831
|
switch (_context3.prev = _context3.next) {
|
|
7721
7832
|
case 0:
|
|
7722
7833
|
_context3.next = 2;
|
|
7723
|
-
return
|
|
7834
|
+
return _this4.handleClickBtn(false);
|
|
7724
7835
|
|
|
7725
7836
|
case 2:
|
|
7726
|
-
|
|
7837
|
+
_this4.handleClickPrintAll();
|
|
7727
7838
|
|
|
7728
7839
|
case 3:
|
|
7729
7840
|
case "end":
|
|
@@ -7735,7 +7846,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7735
7846
|
},
|
|
7736
7847
|
// 打印全部
|
|
7737
7848
|
handleClickPrintAll: function handleClickPrintAll() {
|
|
7738
|
-
var
|
|
7849
|
+
var _this5 = this;
|
|
7739
7850
|
|
|
7740
7851
|
var templateNumbers = Object.keys(this.printParams);
|
|
7741
7852
|
this.isClickSinglePrint = false;
|
|
@@ -7743,18 +7854,18 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7743
7854
|
|
|
7744
7855
|
var _loop = function _loop(i) {
|
|
7745
7856
|
var templateCode = templateNumbers[i];
|
|
7746
|
-
var tmpParam =
|
|
7857
|
+
var tmpParam = _this5.printParams[templateCode];
|
|
7747
7858
|
var printToParam = originParamsClone[templateCode] || []; // 一个templateCode可能会对应多个类型
|
|
7748
7859
|
|
|
7749
|
-
var formatTypeList =
|
|
7860
|
+
var formatTypeList = _this5.formatList.filter(function (format) {
|
|
7750
7861
|
return format.number == templateCode;
|
|
7751
7862
|
});
|
|
7752
7863
|
|
|
7753
7864
|
if (formatTypeList && formatTypeList.length > 0) {
|
|
7754
7865
|
formatTypeList.forEach(function (format) {
|
|
7755
|
-
|
|
7866
|
+
_this5.currentFormatId = format.id;
|
|
7756
7867
|
|
|
7757
|
-
|
|
7868
|
+
_this5.handleClickPrint(tmpParam, format.number, format.templateId, format.id, printToParam, true);
|
|
7758
7869
|
});
|
|
7759
7870
|
}
|
|
7760
7871
|
};
|
|
@@ -7765,7 +7876,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7765
7876
|
},
|
|
7766
7877
|
// 打印默认模板格式
|
|
7767
7878
|
directDefaultFormatPrint: function directDefaultFormatPrint(defaultFormatId) {
|
|
7768
|
-
var
|
|
7879
|
+
var _this6 = this;
|
|
7769
7880
|
|
|
7770
7881
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
|
7771
7882
|
var curFormat;
|
|
@@ -7774,15 +7885,15 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7774
7885
|
switch (_context4.prev = _context4.next) {
|
|
7775
7886
|
case 0:
|
|
7776
7887
|
_context4.next = 2;
|
|
7777
|
-
return
|
|
7888
|
+
return _this6.handleClickBtn(false);
|
|
7778
7889
|
|
|
7779
7890
|
case 2:
|
|
7780
|
-
curFormat =
|
|
7891
|
+
curFormat = _this6.innerPrintItems.find(function (option) {
|
|
7781
7892
|
return option.key == defaultFormatId;
|
|
7782
7893
|
});
|
|
7783
7894
|
|
|
7784
7895
|
if (curFormat) {
|
|
7785
|
-
|
|
7896
|
+
_this6.handleOneTypePrint(curFormat.templateCode, curFormat.templateId, curFormat.key, false);
|
|
7786
7897
|
}
|
|
7787
7898
|
|
|
7788
7899
|
case 4:
|
|
@@ -7803,8 +7914,8 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7803
7914
|
var printToParam = this.originParams[templateCode] || [];
|
|
7804
7915
|
this.handleClickPrint(tmpParam, templateCode, templateId, formatId, printToParam);
|
|
7805
7916
|
},
|
|
7806
|
-
|
|
7807
|
-
this[key] =
|
|
7917
|
+
toggleSettingVisible: function toggleSettingVisible(key) {
|
|
7918
|
+
this[key] = !this[key];
|
|
7808
7919
|
},
|
|
7809
7920
|
// 修改设置
|
|
7810
7921
|
savePrintOutSetting: function savePrintOutSetting(key) {
|
|
@@ -7856,7 +7967,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7856
7967
|
// 重置打印机
|
|
7857
7968
|
handleResetPrinter: function handleResetPrinter() {
|
|
7858
7969
|
var _arguments = arguments,
|
|
7859
|
-
|
|
7970
|
+
_this7 = this;
|
|
7860
7971
|
|
|
7861
7972
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
|
|
7862
7973
|
var curPrintParamList, templateCode, templateId, formatId, data;
|
|
@@ -7869,7 +7980,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7869
7980
|
templateId = _arguments.length > 2 ? _arguments[2] : undefined;
|
|
7870
7981
|
formatId = _arguments.length > 3 ? _arguments[3] : undefined;
|
|
7871
7982
|
|
|
7872
|
-
if (!
|
|
7983
|
+
if (!_this7.getCurrentLoading()) {
|
|
7873
7984
|
_context5.next = 6;
|
|
7874
7985
|
break;
|
|
7875
7986
|
}
|
|
@@ -7877,27 +7988,27 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7877
7988
|
return _context5.abrupt("return");
|
|
7878
7989
|
|
|
7879
7990
|
case 6:
|
|
7880
|
-
|
|
7991
|
+
_this7.toggleExpandLoading(true, formatId);
|
|
7881
7992
|
|
|
7882
7993
|
_context5.next = 9;
|
|
7883
|
-
return
|
|
7994
|
+
return _this7.printInstance.resetPrinter(formatId);
|
|
7884
7995
|
|
|
7885
7996
|
case 9:
|
|
7886
7997
|
data = _context5.sent;
|
|
7887
7998
|
|
|
7888
|
-
|
|
7999
|
+
_this7.toggleExpandLoading(false);
|
|
7889
8000
|
|
|
7890
8001
|
if (!((data === null || data === void 0 ? void 0 : data.result) == 'success')) {
|
|
7891
8002
|
_context5.next = 14;
|
|
7892
8003
|
break;
|
|
7893
8004
|
}
|
|
7894
8005
|
|
|
7895
|
-
|
|
8006
|
+
_this7.$message.success(data.message || '重置打印机成功');
|
|
7896
8007
|
|
|
7897
8008
|
return _context5.abrupt("return");
|
|
7898
8009
|
|
|
7899
8010
|
case 14:
|
|
7900
|
-
|
|
8011
|
+
_this7.$message.warning('重置打印机失败');
|
|
7901
8012
|
|
|
7902
8013
|
case 15:
|
|
7903
8014
|
case "end":
|
|
@@ -7908,43 +8019,44 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7908
8019
|
}))();
|
|
7909
8020
|
},
|
|
7910
8021
|
|
|
7911
|
-
/*
|
|
8022
|
+
/* visible为true时,展示下拉 */
|
|
7912
8023
|
handleClickBtn: function handleClickBtn() {
|
|
7913
8024
|
var _arguments2 = arguments,
|
|
7914
|
-
|
|
8025
|
+
_this8 = this;
|
|
7915
8026
|
|
|
7916
8027
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
|
|
7917
|
-
var visible, result;
|
|
8028
|
+
var visible, isNoPopup, result;
|
|
7918
8029
|
return regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
7919
8030
|
while (1) {
|
|
7920
8031
|
switch (_context6.prev = _context6.next) {
|
|
7921
8032
|
case 0:
|
|
7922
8033
|
visible = _arguments2.length > 0 && _arguments2[0] !== undefined ? _arguments2[0] : true;
|
|
8034
|
+
isNoPopup = _arguments2.length > 1 && _arguments2[1] !== undefined ? _arguments2[1] : false;
|
|
7923
8035
|
|
|
7924
|
-
if (
|
|
7925
|
-
_context6.next =
|
|
8036
|
+
if (_this8.visible) {
|
|
8037
|
+
_context6.next = 8;
|
|
7926
8038
|
break;
|
|
7927
8039
|
}
|
|
7928
8040
|
|
|
7929
|
-
_context6.next =
|
|
7930
|
-
return
|
|
8041
|
+
_context6.next = 5;
|
|
8042
|
+
return _this8.init(isNoPopup);
|
|
7931
8043
|
|
|
7932
|
-
case
|
|
8044
|
+
case 5:
|
|
7933
8045
|
result = _context6.sent;
|
|
7934
8046
|
|
|
7935
8047
|
if (result) {
|
|
7936
|
-
_context6.next =
|
|
8048
|
+
_context6.next = 8;
|
|
7937
8049
|
break;
|
|
7938
8050
|
}
|
|
7939
8051
|
|
|
7940
8052
|
return _context6.abrupt("return", false);
|
|
7941
8053
|
|
|
7942
|
-
case
|
|
8054
|
+
case 8:
|
|
7943
8055
|
if (visible) {
|
|
7944
|
-
|
|
8056
|
+
_this8.visible = !_this8.visible;
|
|
7945
8057
|
}
|
|
7946
8058
|
|
|
7947
|
-
case
|
|
8059
|
+
case 9:
|
|
7948
8060
|
case "end":
|
|
7949
8061
|
return _context6.stop();
|
|
7950
8062
|
}
|
|
@@ -7953,83 +8065,113 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
7953
8065
|
}))();
|
|
7954
8066
|
},
|
|
7955
8067
|
|
|
7956
|
-
/*
|
|
8068
|
+
/* isNoPopup:是否需要弹出获取打印格式失败,请联系管理员的提示 */
|
|
7957
8069
|
init: function init() {
|
|
7958
|
-
var
|
|
8070
|
+
var _arguments3 = arguments,
|
|
8071
|
+
_this9 = this;
|
|
7959
8072
|
|
|
7960
8073
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
|
|
7961
|
-
var
|
|
8074
|
+
var _this9$printConfig, _this9$printConfig2, _formatListResult, _formatListResult2, _formatListResult2$ob;
|
|
7962
8075
|
|
|
7963
|
-
var config, printUrlPrefix, customCofing, cCofing, formatListResult;
|
|
8076
|
+
var isNoPopup, config, printUrlPrefix, customCofing, cCofing, formatListResult;
|
|
7964
8077
|
return regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
7965
8078
|
while (1) {
|
|
7966
8079
|
switch (_context7.prev = _context7.next) {
|
|
7967
8080
|
case 0:
|
|
7968
|
-
|
|
7969
|
-
|
|
8081
|
+
isNoPopup = _arguments3.length > 0 && _arguments3[0] !== undefined ? _arguments3[0] : false;
|
|
8082
|
+
|
|
8083
|
+
if (!_this9.isInited) {
|
|
8084
|
+
_context7.next = 3;
|
|
7970
8085
|
break;
|
|
7971
8086
|
}
|
|
7972
8087
|
|
|
7973
8088
|
return _context7.abrupt("return", true);
|
|
7974
8089
|
|
|
7975
|
-
case
|
|
7976
|
-
|
|
8090
|
+
case 3:
|
|
8091
|
+
_this9.isInited = true;
|
|
7977
8092
|
|
|
7978
|
-
|
|
8093
|
+
_this9.setTimeoutSpin();
|
|
7979
8094
|
|
|
7980
|
-
|
|
8095
|
+
_this9.instantiatePrintSDK();
|
|
7981
8096
|
|
|
7982
8097
|
config = {
|
|
7983
8098
|
withCredentials: false,
|
|
7984
8099
|
timeout: 5000
|
|
7985
8100
|
};
|
|
7986
|
-
printUrlPrefix =
|
|
7987
|
-
customCofing = (
|
|
7988
|
-
cCofing =
|
|
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);
|
|
7989
8104
|
|
|
7990
|
-
if (external_axios_default.a !==
|
|
8105
|
+
if (external_axios_default.a !== _this9.axios && printUrlPrefix) {
|
|
7991
8106
|
config.baseURL = printUrlPrefix;
|
|
7992
8107
|
}
|
|
7993
8108
|
|
|
7994
8109
|
newvue_type_script_lang_js_httpFn = external_axios_default.a.create(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, config), cCofing));
|
|
7995
|
-
|
|
7996
|
-
return _this8.queryFormatList();
|
|
8110
|
+
formatListResult = null;
|
|
7997
8111
|
|
|
7998
|
-
|
|
8112
|
+
if (!_this9.printFormatByNumberData) {
|
|
8113
|
+
_context7.next = 17;
|
|
8114
|
+
break;
|
|
8115
|
+
}
|
|
8116
|
+
|
|
8117
|
+
formatListResult = _this9.printFormatByNumberData;
|
|
8118
|
+
_context7.next = 20;
|
|
8119
|
+
break;
|
|
8120
|
+
|
|
8121
|
+
case 17:
|
|
8122
|
+
_context7.next = 19;
|
|
8123
|
+
return _this9.queryFormatList();
|
|
8124
|
+
|
|
8125
|
+
case 19:
|
|
7999
8126
|
formatListResult = _context7.sent;
|
|
8000
8127
|
|
|
8128
|
+
case 20:
|
|
8001
8129
|
if (formatListResult) {
|
|
8002
|
-
_context7.next =
|
|
8130
|
+
_context7.next = 24;
|
|
8003
8131
|
break;
|
|
8004
8132
|
}
|
|
8005
8133
|
|
|
8006
|
-
|
|
8134
|
+
_this9.isInited = false;
|
|
8007
8135
|
|
|
8008
|
-
|
|
8136
|
+
_this9.$message.error('获取模板参数失败,请联系管理员');
|
|
8009
8137
|
|
|
8010
8138
|
return _context7.abrupt("return", false);
|
|
8011
8139
|
|
|
8012
|
-
case
|
|
8013
|
-
if (!(
|
|
8014
|
-
_context7.next =
|
|
8140
|
+
case 24:
|
|
8141
|
+
if (!(!isNoPopup && (!((_formatListResult = formatListResult) !== null && _formatListResult !== void 0 && _formatListResult.obj) || ((_formatListResult2 = formatListResult) === null || _formatListResult2 === void 0 ? void 0 : (_formatListResult2$ob = _formatListResult2.obj) === null || _formatListResult2$ob === void 0 ? void 0 : _formatListResult2$ob.length) == 0))) {
|
|
8142
|
+
_context7.next = 28;
|
|
8143
|
+
break;
|
|
8144
|
+
}
|
|
8145
|
+
|
|
8146
|
+
_this9.options = [];
|
|
8147
|
+
|
|
8148
|
+
_this9.$message.error(_this9.noformatTips || '获取打印格式失败,请联系管理员!');
|
|
8149
|
+
|
|
8150
|
+
return _context7.abrupt("return", _this9.requestError());
|
|
8151
|
+
|
|
8152
|
+
case 28:
|
|
8153
|
+
if (!(_this9.versionType == 1 || _this9.versionType == 3)) {
|
|
8154
|
+
_context7.next = 32;
|
|
8015
8155
|
break;
|
|
8016
8156
|
}
|
|
8017
8157
|
|
|
8018
|
-
|
|
8158
|
+
_this9.initHIS(formatListResult);
|
|
8019
8159
|
|
|
8020
|
-
_context7.next =
|
|
8160
|
+
_context7.next = 34;
|
|
8021
8161
|
break;
|
|
8022
8162
|
|
|
8023
|
-
case
|
|
8024
|
-
_context7.next =
|
|
8025
|
-
return
|
|
8163
|
+
case 32:
|
|
8164
|
+
_context7.next = 34;
|
|
8165
|
+
return _this9.initCRM(formatListResult, isNoPopup);
|
|
8026
8166
|
|
|
8027
|
-
case
|
|
8028
|
-
|
|
8167
|
+
case 34:
|
|
8168
|
+
_this9.isInited = false;
|
|
8169
|
+
|
|
8170
|
+
_this9.setLoaded();
|
|
8029
8171
|
|
|
8030
8172
|
return _context7.abrupt("return", true);
|
|
8031
8173
|
|
|
8032
|
-
case
|
|
8174
|
+
case 37:
|
|
8033
8175
|
case "end":
|
|
8034
8176
|
return _context7.stop();
|
|
8035
8177
|
}
|
|
@@ -8042,7 +8184,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8042
8184
|
var _this$options,
|
|
8043
8185
|
_this$newPrintSetting5,
|
|
8044
8186
|
_this$newPrintSetting6,
|
|
8045
|
-
|
|
8187
|
+
_this10 = this;
|
|
8046
8188
|
|
|
8047
8189
|
this.options = [];
|
|
8048
8190
|
var children = this.formatList.map(function (v) {
|
|
@@ -8061,9 +8203,9 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8061
8203
|
|
|
8062
8204
|
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) {
|
|
8063
8205
|
this.options.forEach(function (option) {
|
|
8064
|
-
var
|
|
8206
|
+
var _this10$newPrintSetti;
|
|
8065
8207
|
|
|
8066
|
-
if ((
|
|
8208
|
+
if ((_this10$newPrintSetti = _this10.newPrintSetting) !== null && _this10$newPrintSetti !== void 0 && _this10$newPrintSetti.outerPrintKeys.includes(option.key)) {
|
|
8067
8209
|
option.selected = true;
|
|
8068
8210
|
}
|
|
8069
8211
|
});
|
|
@@ -8074,7 +8216,38 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8074
8216
|
|
|
8075
8217
|
this.innerPrintItems = this.options.filter(function (option) {
|
|
8076
8218
|
return !option.selected;
|
|
8077
|
-
});
|
|
8219
|
+
}); // 1、通过业务传入的参数hideButtons隐藏按钮
|
|
8220
|
+
|
|
8221
|
+
if (this.hideButtons.length > 0) {
|
|
8222
|
+
this.operations = this.operations.filter(function (operation) {
|
|
8223
|
+
return !_this10.hideButtons.includes(operation.key);
|
|
8224
|
+
});
|
|
8225
|
+
} // 2、通过全局缓存portal隐藏按钮
|
|
8226
|
+
|
|
8227
|
+
|
|
8228
|
+
var portalStr = sessionStorage.getItem('portal');
|
|
8229
|
+
|
|
8230
|
+
if (portalStr) {
|
|
8231
|
+
var _portal$user;
|
|
8232
|
+
|
|
8233
|
+
var portal = JSON.parse(portalStr);
|
|
8234
|
+
var limitObj = (portal === null || portal === void 0 ? void 0 : (_portal$user = portal.user) === null || _portal$user === void 0 ? void 0 : _portal$user.currentRoleResourceObj) || {};
|
|
8235
|
+
var limitList = Object.keys(limitObj);
|
|
8236
|
+
console.log('limitList>>>', limitList); // 下载pdf全局控制
|
|
8237
|
+
|
|
8238
|
+
if (!limitList.includes(newvue_type_script_lang_js_downloadPdfCode)) {
|
|
8239
|
+
this.operations = this.operations.filter(function (option) {
|
|
8240
|
+
return option.key != 'downloadPdf';
|
|
8241
|
+
});
|
|
8242
|
+
} // 格式编辑按钮全局控制
|
|
8243
|
+
|
|
8244
|
+
|
|
8245
|
+
if (!limitList.includes(newvue_type_script_lang_js_formatEditTextCode)) {
|
|
8246
|
+
this.operations = this.operations.filter(function (option) {
|
|
8247
|
+
return option.key != 'formatEditText';
|
|
8248
|
+
});
|
|
8249
|
+
}
|
|
8250
|
+
}
|
|
8078
8251
|
},
|
|
8079
8252
|
initHIS: function initHIS(formatListResult) {
|
|
8080
8253
|
this.formatList = formatListResult ? formatListResult.list.filter(function (item) {
|
|
@@ -8083,42 +8256,54 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8083
8256
|
this.currentFormatId = this.getDefaultFormatId(this.formatList, 'printmark');
|
|
8084
8257
|
this.templateParams = this.formatList[0] || {};
|
|
8085
8258
|
},
|
|
8086
|
-
initCRM: function initCRM(formatListResult) {
|
|
8087
|
-
var
|
|
8259
|
+
initCRM: function initCRM(formatListResult, isNoPopup) {
|
|
8260
|
+
var _this11 = this;
|
|
8088
8261
|
|
|
8089
8262
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
|
|
8090
8263
|
return regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
8091
8264
|
while (1) {
|
|
8092
8265
|
switch (_context8.prev = _context8.next) {
|
|
8093
8266
|
case 0:
|
|
8094
|
-
|
|
8095
|
-
// if (!this.currentFormatId) {
|
|
8096
|
-
// this.$message.error(this.noformatTips || '获取打印格式失败,请联系管理员!');
|
|
8097
|
-
// return this.requestError();
|
|
8098
|
-
// }
|
|
8099
|
-
// if (!this.currentFormatId) {
|
|
8100
|
-
// this.requestError();
|
|
8101
|
-
// return;
|
|
8102
|
-
// }
|
|
8267
|
+
_this11.formatList = formatListResult ? _this11.formatFormatList(formatListResult.obj) : []; // this.currentFormatId = this.getDefaultFormatId(this.formatList, 'defaultFlag');
|
|
8103
8268
|
|
|
8104
|
-
|
|
8269
|
+
if (!(!isNoPopup && _this11.formatList.length == 0)) {
|
|
8270
|
+
_context8.next = 5;
|
|
8271
|
+
break;
|
|
8272
|
+
}
|
|
8105
8273
|
|
|
8274
|
+
_this11.options = [];
|
|
8106
8275
|
|
|
8107
|
-
|
|
8108
|
-
return _this10.mergeTemplateList(formatListResult.obj);
|
|
8276
|
+
_this11.$message.error(_this11.noformatTips || '获取打印格式失败,请联系管理员!');
|
|
8109
8277
|
|
|
8110
|
-
|
|
8111
|
-
|
|
8278
|
+
return _context8.abrupt("return", _this11.requestError());
|
|
8279
|
+
|
|
8280
|
+
case 5:
|
|
8281
|
+
if (!(_this11.options.length > 0)) {
|
|
8282
|
+
_context8.next = 7;
|
|
8283
|
+
break;
|
|
8284
|
+
}
|
|
8285
|
+
|
|
8286
|
+
return _context8.abrupt("return");
|
|
8287
|
+
|
|
8288
|
+
case 7:
|
|
8289
|
+
_this11.setOptions(); // this.templateParams = await this.queryTemplateParams();
|
|
8290
|
+
|
|
8291
|
+
|
|
8292
|
+
_context8.next = 10;
|
|
8293
|
+
return _this11.mergeTemplateList(formatListResult.obj);
|
|
8294
|
+
|
|
8295
|
+
case 10:
|
|
8296
|
+
_this11.templateParams = _context8.sent;
|
|
8112
8297
|
// if (templateParamsResult) {
|
|
8113
8298
|
// this.templateParams = templateParamsResult;
|
|
8114
8299
|
// } else {
|
|
8115
8300
|
// return this.requestError();
|
|
8116
8301
|
// }
|
|
8117
8302
|
// this.printParams = this.formatParams(this.templateParams, this.params);
|
|
8118
|
-
|
|
8119
|
-
|
|
8303
|
+
_this11.printParams = _this11.formatSomeTypeParams(_this11.templateParams, _this11.params);
|
|
8304
|
+
_this11.originParams = _this11.formatSomeOriginParams(_this11.templateParams, _this11.params);
|
|
8120
8305
|
|
|
8121
|
-
case
|
|
8306
|
+
case 13:
|
|
8122
8307
|
case "end":
|
|
8123
8308
|
return _context8.stop();
|
|
8124
8309
|
}
|
|
@@ -8127,27 +8312,27 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8127
8312
|
}))();
|
|
8128
8313
|
},
|
|
8129
8314
|
formatSomeTypeParams: function formatSomeTypeParams() {
|
|
8130
|
-
var
|
|
8315
|
+
var _this12 = this;
|
|
8131
8316
|
|
|
8132
8317
|
var templateParams = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
8133
8318
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
8134
8319
|
var mergeParams = {};
|
|
8135
8320
|
params = params ? params : [];
|
|
8136
8321
|
params.forEach(function (paramObj) {
|
|
8137
|
-
mergeParams = Object.assign({},
|
|
8322
|
+
mergeParams = Object.assign({}, _this12.findTemplateAndInsertData(mergeParams, paramObj, templateParams));
|
|
8138
8323
|
});
|
|
8139
8324
|
return mergeParams;
|
|
8140
8325
|
},
|
|
8141
8326
|
// 格式化原始params映射值
|
|
8142
8327
|
formatSomeOriginParams: function formatSomeOriginParams() {
|
|
8143
|
-
var
|
|
8328
|
+
var _this13 = this;
|
|
8144
8329
|
|
|
8145
8330
|
var templateParams = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
8146
8331
|
var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
8147
8332
|
var mergeOriginParams = {};
|
|
8148
8333
|
params = params ? params : [];
|
|
8149
8334
|
params.forEach(function (paramObj) {
|
|
8150
|
-
mergeOriginParams = Object.assign({},
|
|
8335
|
+
mergeOriginParams = Object.assign({}, _this13.findTemplateAndInsertParams(mergeOriginParams, paramObj, templateParams));
|
|
8151
8336
|
});
|
|
8152
8337
|
return mergeOriginParams;
|
|
8153
8338
|
},
|
|
@@ -8268,10 +8453,10 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8268
8453
|
return templateObj;
|
|
8269
8454
|
},
|
|
8270
8455
|
setTimeoutSpin: function setTimeoutSpin() {
|
|
8271
|
-
var
|
|
8456
|
+
var _this14 = this;
|
|
8272
8457
|
|
|
8273
8458
|
this.spinTimer = setTimeout(function () {
|
|
8274
|
-
|
|
8459
|
+
_this14.spinning = true;
|
|
8275
8460
|
}, 1500);
|
|
8276
8461
|
},
|
|
8277
8462
|
setLoaded: function setLoaded() {
|
|
@@ -8311,12 +8496,12 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8311
8496
|
return this.spinning;
|
|
8312
8497
|
},
|
|
8313
8498
|
requestError: function requestError() {
|
|
8314
|
-
var
|
|
8499
|
+
var _this15 = this;
|
|
8315
8500
|
|
|
8316
8501
|
this.isInited = false;
|
|
8317
8502
|
this.setLoaded();
|
|
8318
8503
|
setTimeout(function () {
|
|
8319
|
-
|
|
8504
|
+
_this15.visible = false;
|
|
8320
8505
|
}, 0);
|
|
8321
8506
|
return false;
|
|
8322
8507
|
},
|
|
@@ -8336,7 +8521,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8336
8521
|
|
|
8337
8522
|
/* */
|
|
8338
8523
|
queryFormatList: function queryFormatList() {
|
|
8339
|
-
var
|
|
8524
|
+
var _this16 = this;
|
|
8340
8525
|
|
|
8341
8526
|
var templateNumber = this.templateNumber,
|
|
8342
8527
|
authorizationKey = this.authorizationKey,
|
|
@@ -8359,7 +8544,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8359
8544
|
break;
|
|
8360
8545
|
}
|
|
8361
8546
|
|
|
8362
|
-
|
|
8547
|
+
_this16.$message.error(data.resultMsg || '参数异常,请联系管理员');
|
|
8363
8548
|
|
|
8364
8549
|
return _context9.abrupt("return", false);
|
|
8365
8550
|
|
|
@@ -8392,7 +8577,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8392
8577
|
|
|
8393
8578
|
/* */
|
|
8394
8579
|
queryTemplateParams: function queryTemplateParams() {
|
|
8395
|
-
var
|
|
8580
|
+
var _this17 = this;
|
|
8396
8581
|
|
|
8397
8582
|
var templateNumber = this.templateNumber,
|
|
8398
8583
|
authorizationKey = this.authorizationKey,
|
|
@@ -8417,7 +8602,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8417
8602
|
break;
|
|
8418
8603
|
}
|
|
8419
8604
|
|
|
8420
|
-
|
|
8605
|
+
_this17.$message.error(data.resultMsg || '参数异常,请联系管理员');
|
|
8421
8606
|
|
|
8422
8607
|
return _context10.abrupt("return", false);
|
|
8423
8608
|
|
|
@@ -8472,7 +8657,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8472
8657
|
// });
|
|
8473
8658
|
// },
|
|
8474
8659
|
reformatPrintParams: function reformatPrintParams() {
|
|
8475
|
-
var
|
|
8660
|
+
var _this18 = this;
|
|
8476
8661
|
|
|
8477
8662
|
this.watchPrintParamsReformatFn && this.watchPrintParamsReformatFn();
|
|
8478
8663
|
/*
|
|
@@ -8484,7 +8669,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8484
8669
|
this.watchPrintParamsReformatFn = this.$watch('isInited', function (val) {
|
|
8485
8670
|
if (!val) return false;
|
|
8486
8671
|
|
|
8487
|
-
|
|
8672
|
+
_this18.reformatPrintParams();
|
|
8488
8673
|
});
|
|
8489
8674
|
return;
|
|
8490
8675
|
} // this.printParams = this.formatParams(this.templateParams, this.params);
|
|
@@ -8494,11 +8679,11 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8494
8679
|
this.originParams = this.formatSomeOriginParams(this.templateParams, this.params);
|
|
8495
8680
|
},
|
|
8496
8681
|
formatPrintParams: function formatPrintParams(paramObj, fieldList, keyName) {
|
|
8497
|
-
var
|
|
8682
|
+
var _this19 = this;
|
|
8498
8683
|
|
|
8499
8684
|
var obj = {};
|
|
8500
8685
|
fieldList.forEach(function (i) {
|
|
8501
|
-
var defaultVal =
|
|
8686
|
+
var defaultVal = _this19.formatDefaultVal(i, paramObj[i[keyName]]);
|
|
8502
8687
|
|
|
8503
8688
|
if (paramObj[i[keyName]] && defaultVal) {
|
|
8504
8689
|
obj[i[keyName]] = defaultVal;
|
|
@@ -8583,7 +8768,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8583
8768
|
return JSON.stringify(params);
|
|
8584
8769
|
},
|
|
8585
8770
|
handleClickPrint: function handleClickPrint(curPrintParamList, templateCode, templateId, formatId) {
|
|
8586
|
-
var
|
|
8771
|
+
var _this20 = this;
|
|
8587
8772
|
|
|
8588
8773
|
var printToParam = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];
|
|
8589
8774
|
var needContinuePrint = arguments.length > 5 ? arguments[5] : undefined;
|
|
@@ -8597,7 +8782,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8597
8782
|
case 0:
|
|
8598
8783
|
try {
|
|
8599
8784
|
if (--len <= 0) {
|
|
8600
|
-
|
|
8785
|
+
_this20.callLocalServicesSuccessCb(data, 'print');
|
|
8601
8786
|
}
|
|
8602
8787
|
} catch (error) {
|
|
8603
8788
|
console.log('error', error);
|
|
@@ -8619,63 +8804,63 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8619
8804
|
if (this.getCurrentLoading() && !needContinuePrint) return;
|
|
8620
8805
|
this.toggleExpandLoading(true, formatId);
|
|
8621
8806
|
this.prevFn().catch(function () {
|
|
8622
|
-
|
|
8807
|
+
_this20.prevFnError();
|
|
8623
8808
|
|
|
8624
8809
|
return Promise.reject();
|
|
8625
8810
|
}).then(function () {
|
|
8626
|
-
if (
|
|
8627
|
-
var printFn =
|
|
8811
|
+
if (_this20.versionType == 1 || _this20.versionType == 3) {
|
|
8812
|
+
var printFn = _this20.versionType == 1 ? 'handleHisPrint' : 'handleOldHisPrint';
|
|
8628
8813
|
|
|
8629
|
-
if (
|
|
8630
|
-
for (var i = 0; i <
|
|
8631
|
-
var params =
|
|
8814
|
+
if (_this20.strategy === 'MULTI') {
|
|
8815
|
+
for (var i = 0; i < _this20.params.length; i++) {
|
|
8816
|
+
var params = _this20.getHisParams(i);
|
|
8632
8817
|
|
|
8633
|
-
|
|
8818
|
+
_this20.printInstance[printFn](7, params).then(function (res) {
|
|
8634
8819
|
console.log(res, '777777777777');
|
|
8635
8820
|
}).catch(function (error) {
|
|
8636
8821
|
console.log(error, 'error777');
|
|
8637
8822
|
});
|
|
8638
8823
|
}
|
|
8639
8824
|
} else {
|
|
8640
|
-
var _params =
|
|
8825
|
+
var _params = _this20.getOnceHisParams();
|
|
8641
8826
|
|
|
8642
|
-
|
|
8827
|
+
_this20.printInstance[printFn](7, _params).then(function (res) {
|
|
8643
8828
|
console.log(res, '777777777777');
|
|
8644
8829
|
}).catch(function (error) {
|
|
8645
8830
|
console.log(error, 'error777');
|
|
8646
8831
|
});
|
|
8647
8832
|
}
|
|
8648
8833
|
} else {
|
|
8649
|
-
|
|
8834
|
+
_this20.curPrintParamList = curPrintParamList;
|
|
8650
8835
|
var queryParams = {
|
|
8651
8836
|
// ...this.queryParams,
|
|
8652
8837
|
formatId: formatId,
|
|
8653
8838
|
templateId: templateId,
|
|
8654
|
-
printdlgshow:
|
|
8839
|
+
printdlgshow: _this20.printdlgshow
|
|
8655
8840
|
};
|
|
8656
8841
|
|
|
8657
|
-
if (
|
|
8842
|
+
if (_this20.strategy === 'MULTI') {
|
|
8658
8843
|
// 循环多条
|
|
8659
8844
|
for (var _i3 = 0; _i3 < curPrintParamList.length; _i3++) {
|
|
8660
8845
|
if (_i3 > 0) queryParams.printdlgshow = '0';
|
|
8661
8846
|
|
|
8662
|
-
var _params2 = JSON.stringify(Object.assign({}, JSON.parse(
|
|
8847
|
+
var _params2 = JSON.stringify(Object.assign({}, JSON.parse(_this20.getPrintParams()), _this20.printCustomProps, curPrintParamList[_i3]));
|
|
8663
8848
|
|
|
8664
|
-
|
|
8849
|
+
_this20.printInstance.printDirect(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
|
|
8665
8850
|
params: _params2
|
|
8666
|
-
}), callLocalServicesSuccessCb,
|
|
8851
|
+
}), callLocalServicesSuccessCb, _this20.callLocalServicesErrorCb, _this20.callLocalServicesCancelCb);
|
|
8667
8852
|
}
|
|
8668
8853
|
} else {
|
|
8669
8854
|
// 聚合一条
|
|
8670
|
-
|
|
8671
|
-
params:
|
|
8855
|
+
_this20.printInstance.printDirect(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
|
|
8856
|
+
params: _this20.getOnceParams(curPrintParamList, templateCode)
|
|
8672
8857
|
}), function (res) {
|
|
8673
8858
|
res.params = printToParam;
|
|
8674
8859
|
res.templateCode = templateCode;
|
|
8675
8860
|
res.templateId = templateId;
|
|
8676
8861
|
|
|
8677
|
-
|
|
8678
|
-
},
|
|
8862
|
+
_this20.callLocalServicesSuccessCb(res, 'print');
|
|
8863
|
+
}, _this20.callLocalServicesErrorCb, _this20.callLocalServicesCancelCb);
|
|
8679
8864
|
}
|
|
8680
8865
|
}
|
|
8681
8866
|
});
|
|
@@ -8720,8 +8905,8 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8720
8905
|
};
|
|
8721
8906
|
},
|
|
8722
8907
|
handleClickPreview: function handleClickPreview() {
|
|
8723
|
-
var
|
|
8724
|
-
|
|
8908
|
+
var _arguments4 = arguments,
|
|
8909
|
+
_this21 = this;
|
|
8725
8910
|
|
|
8726
8911
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee12() {
|
|
8727
8912
|
var curPrintParamList, templateCode, templateId, formatId;
|
|
@@ -8729,12 +8914,12 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8729
8914
|
while (1) {
|
|
8730
8915
|
switch (_context12.prev = _context12.next) {
|
|
8731
8916
|
case 0:
|
|
8732
|
-
curPrintParamList =
|
|
8733
|
-
templateCode =
|
|
8734
|
-
templateId =
|
|
8735
|
-
formatId =
|
|
8917
|
+
curPrintParamList = _arguments4.length > 0 && _arguments4[0] !== undefined ? _arguments4[0] : [];
|
|
8918
|
+
templateCode = _arguments4.length > 1 ? _arguments4[1] : undefined;
|
|
8919
|
+
templateId = _arguments4.length > 2 ? _arguments4[2] : undefined;
|
|
8920
|
+
formatId = _arguments4.length > 3 ? _arguments4[3] : undefined;
|
|
8736
8921
|
|
|
8737
|
-
if (!
|
|
8922
|
+
if (!_this21.getCurrentLoading()) {
|
|
8738
8923
|
_context12.next = 6;
|
|
8739
8924
|
break;
|
|
8740
8925
|
}
|
|
@@ -8742,36 +8927,36 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8742
8927
|
return _context12.abrupt("return");
|
|
8743
8928
|
|
|
8744
8929
|
case 6:
|
|
8745
|
-
|
|
8930
|
+
_this21.toggleExpandLoading(true, formatId);
|
|
8746
8931
|
|
|
8747
|
-
|
|
8748
|
-
|
|
8932
|
+
_this21.prevFn().catch(function () {
|
|
8933
|
+
_this21.prevFnError();
|
|
8749
8934
|
|
|
8750
8935
|
return Promise.reject();
|
|
8751
8936
|
}).then(function () {
|
|
8752
|
-
if (
|
|
8753
|
-
var params =
|
|
8754
|
-
var printFn =
|
|
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';
|
|
8755
8940
|
|
|
8756
|
-
|
|
8941
|
+
_this21.printInstance[printFn](8, params).then(function (res) {
|
|
8757
8942
|
console.log(res, 88888888);
|
|
8758
8943
|
}).catch(function (error) {
|
|
8759
8944
|
console.log(error, 'error888');
|
|
8760
8945
|
});
|
|
8761
8946
|
} else {
|
|
8762
|
-
|
|
8763
|
-
var IS_MULTI =
|
|
8947
|
+
_this21.curPrintParamList = curPrintParamList;
|
|
8948
|
+
var IS_MULTI = _this21.strategy === 'MULTI';
|
|
8764
8949
|
var queryParams = {
|
|
8765
8950
|
formatId: formatId,
|
|
8766
8951
|
templateId: templateId
|
|
8767
8952
|
};
|
|
8768
|
-
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(
|
|
8953
|
+
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(_this21.getPrintParams()), _this21.printCustomProps.value, curPrintParamList[0]));
|
|
8769
8954
|
|
|
8770
|
-
|
|
8771
|
-
params: IS_MULTI ? paramsFirst :
|
|
8955
|
+
_this21.printInstance.preview(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
|
|
8956
|
+
params: IS_MULTI ? paramsFirst : _this21.getOnceParams(curPrintParamList, templateCode)
|
|
8772
8957
|
}), function (res) {
|
|
8773
|
-
|
|
8774
|
-
},
|
|
8958
|
+
_this21.callLocalServicesSuccessCb(res, 'preview');
|
|
8959
|
+
}, _this21.callLocalServicesErrorCb);
|
|
8775
8960
|
}
|
|
8776
8961
|
});
|
|
8777
8962
|
|
|
@@ -8785,8 +8970,8 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8785
8970
|
},
|
|
8786
8971
|
// 下载pdf
|
|
8787
8972
|
handleClickPdf: function handleClickPdf() {
|
|
8788
|
-
var
|
|
8789
|
-
|
|
8973
|
+
var _arguments5 = arguments,
|
|
8974
|
+
_this22 = this;
|
|
8790
8975
|
|
|
8791
8976
|
return Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee13() {
|
|
8792
8977
|
var curPrintParamList, templateCode, templateId, formatId;
|
|
@@ -8794,12 +8979,12 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8794
8979
|
while (1) {
|
|
8795
8980
|
switch (_context13.prev = _context13.next) {
|
|
8796
8981
|
case 0:
|
|
8797
|
-
curPrintParamList =
|
|
8798
|
-
templateCode =
|
|
8799
|
-
templateId =
|
|
8800
|
-
formatId =
|
|
8982
|
+
curPrintParamList = _arguments5.length > 0 && _arguments5[0] !== undefined ? _arguments5[0] : [];
|
|
8983
|
+
templateCode = _arguments5.length > 1 ? _arguments5[1] : undefined;
|
|
8984
|
+
templateId = _arguments5.length > 2 ? _arguments5[2] : undefined;
|
|
8985
|
+
formatId = _arguments5.length > 3 ? _arguments5[3] : undefined;
|
|
8801
8986
|
|
|
8802
|
-
if (!
|
|
8987
|
+
if (!_this22.getCurrentLoading()) {
|
|
8803
8988
|
_context13.next = 6;
|
|
8804
8989
|
break;
|
|
8805
8990
|
}
|
|
@@ -8807,18 +8992,18 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8807
8992
|
return _context13.abrupt("return");
|
|
8808
8993
|
|
|
8809
8994
|
case 6:
|
|
8810
|
-
|
|
8995
|
+
_this22.toggleExpandLoading(true, formatId);
|
|
8811
8996
|
|
|
8812
|
-
|
|
8813
|
-
|
|
8997
|
+
_this22.prevFn().catch(function () {
|
|
8998
|
+
_this22.prevFnError();
|
|
8814
8999
|
|
|
8815
9000
|
return Promise.reject();
|
|
8816
9001
|
}).then(function () {
|
|
8817
|
-
if (
|
|
9002
|
+
if (_this22.versionType == 1 || _this22.versionType == 3) {
|
|
8818
9003
|
console.log('下载pdf>>>');
|
|
8819
9004
|
} else {
|
|
8820
|
-
|
|
8821
|
-
var IS_MULTI =
|
|
9005
|
+
_this22.curPrintParamList = curPrintParamList;
|
|
9006
|
+
var IS_MULTI = _this22.strategy === 'MULTI'; // const queryParams = {
|
|
8822
9007
|
// ...this.queryParams,
|
|
8823
9008
|
// print: { print: '1', type: '1', callback: '1' },
|
|
8824
9009
|
// };
|
|
@@ -8832,13 +9017,13 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8832
9017
|
callback: '1'
|
|
8833
9018
|
}
|
|
8834
9019
|
};
|
|
8835
|
-
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(
|
|
9020
|
+
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(_this22.getPrintParams()), _this22.printCustomProps.value, curPrintParamList[0]));
|
|
8836
9021
|
|
|
8837
|
-
|
|
8838
|
-
params: IS_MULTI ? paramsFirst :
|
|
9022
|
+
_this22.printInstance.downloadPDF(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, queryParams), {}, {
|
|
9023
|
+
params: IS_MULTI ? paramsFirst : _this22.getOnceParams(curPrintParamList, templateCode)
|
|
8839
9024
|
}), function (res) {
|
|
8840
|
-
|
|
8841
|
-
},
|
|
9025
|
+
_this22.callLocalServicesSuccessCb(res, 'download');
|
|
9026
|
+
}, _this22.callLocalServicesErrorCb);
|
|
8842
9027
|
}
|
|
8843
9028
|
});
|
|
8844
9029
|
|
|
@@ -8851,7 +9036,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8851
9036
|
}))();
|
|
8852
9037
|
},
|
|
8853
9038
|
handleClickEdit: function handleClickEdit() {
|
|
8854
|
-
var
|
|
9039
|
+
var _this23 = this;
|
|
8855
9040
|
|
|
8856
9041
|
var curPrintParamList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
8857
9042
|
var templateCode = arguments.length > 1 ? arguments[1] : undefined;
|
|
@@ -8860,30 +9045,30 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8860
9045
|
if (this.getCurrentLoading()) return;
|
|
8861
9046
|
this.toggleExpandLoading(true, formatId);
|
|
8862
9047
|
this.prevFn().catch(function () {
|
|
8863
|
-
|
|
9048
|
+
_this23.prevFnError();
|
|
8864
9049
|
|
|
8865
9050
|
return Promise.reject();
|
|
8866
9051
|
}).then(function () {
|
|
8867
|
-
if (
|
|
8868
|
-
var params =
|
|
8869
|
-
var printFn =
|
|
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';
|
|
8870
9055
|
|
|
8871
|
-
|
|
9056
|
+
_this23.printInstance[printFn](9, params).then(function (res) {
|
|
8872
9057
|
console.log(res, 999999);
|
|
8873
9058
|
}).catch(function (error) {
|
|
8874
9059
|
console.log(error, 'error999');
|
|
8875
9060
|
});
|
|
8876
9061
|
} else {
|
|
8877
|
-
|
|
9062
|
+
_this23.toggleExpandLoading(false);
|
|
8878
9063
|
|
|
8879
|
-
|
|
8880
|
-
|
|
8881
|
-
|
|
9064
|
+
_this23.curPrintParamList = curPrintParamList;
|
|
9065
|
+
_this23.currentFormatId = formatId;
|
|
9066
|
+
_this23.identityVerification.visible = true;
|
|
8882
9067
|
}
|
|
8883
9068
|
});
|
|
8884
9069
|
},
|
|
8885
9070
|
verifiySuccess: function verifiySuccess(token) {
|
|
8886
|
-
var
|
|
9071
|
+
var _this24 = this;
|
|
8887
9072
|
|
|
8888
9073
|
this.identityVerification.visible = false;
|
|
8889
9074
|
var paramsFirst = JSON.stringify(Object.assign({}, JSON.parse(this.getPrintParams()), this.printCustomProps.value, this.curPrintParamList[0]));
|
|
@@ -8896,7 +9081,7 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8896
9081
|
token: token
|
|
8897
9082
|
};
|
|
8898
9083
|
this.printInstance.editPrintFormat(queryParams, function (res) {
|
|
8899
|
-
|
|
9084
|
+
_this24.callLocalServicesSuccessCb(res, 'edit');
|
|
8900
9085
|
}, this.callLocalServicesErrorCb);
|
|
8901
9086
|
},
|
|
8902
9087
|
|
|
@@ -8951,11 +9136,8 @@ var newvue_type_script_lang_js_httpFn = null;
|
|
|
8951
9136
|
}));
|
|
8952
9137
|
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=script&lang=js&
|
|
8953
9138
|
/* harmony default export */ var ButtonPrint_newvue_type_script_lang_js_ = (newvue_type_script_lang_js_);
|
|
8954
|
-
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=style&index=0&id=
|
|
8955
|
-
var
|
|
8956
|
-
|
|
8957
|
-
// EXTERNAL MODULE: ./packages/button/src/ButtonPrint/new.vue?vue&type=style&index=1&lang=less&
|
|
8958
|
-
var newvue_type_style_index_1_lang_less_ = __webpack_require__("a462");
|
|
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");
|
|
8959
9141
|
|
|
8960
9142
|
// CONCATENATED MODULE: ./packages/button/src/ButtonPrint/new.vue
|
|
8961
9143
|
|
|
@@ -8964,16 +9146,15 @@ var newvue_type_style_index_1_lang_less_ = __webpack_require__("a462");
|
|
|
8964
9146
|
|
|
8965
9147
|
|
|
8966
9148
|
|
|
8967
|
-
|
|
8968
9149
|
/* normalize component */
|
|
8969
9150
|
|
|
8970
9151
|
var new_component = Object(componentNormalizer["a" /* default */])(
|
|
8971
9152
|
ButtonPrint_newvue_type_script_lang_js_,
|
|
8972
|
-
|
|
8973
|
-
|
|
9153
|
+
newvue_type_template_id_570d3aad_scoped_true_render,
|
|
9154
|
+
newvue_type_template_id_570d3aad_scoped_true_staticRenderFns,
|
|
8974
9155
|
false,
|
|
8975
9156
|
null,
|
|
8976
|
-
"
|
|
9157
|
+
"570d3aad",
|
|
8977
9158
|
null
|
|
8978
9159
|
|
|
8979
9160
|
)
|
|
@@ -8996,8 +9177,6 @@ var new_component = Object(componentNormalizer["a" /* default */])(
|
|
|
8996
9177
|
//
|
|
8997
9178
|
//
|
|
8998
9179
|
//
|
|
8999
|
-
//
|
|
9000
|
-
//
|
|
9001
9180
|
|
|
9002
9181
|
|
|
9003
9182
|
|
|
@@ -9119,12 +9298,26 @@ var new_component = Object(componentNormalizer["a" /* default */])(
|
|
|
9119
9298
|
getPrintParamsAfter: {
|
|
9120
9299
|
type: Function
|
|
9121
9300
|
},
|
|
9301
|
+
// 隐藏默认按钮配置。printText: 直接打印;previewText: 打印预览;downloadPdf:下载pdf;formatEditText:格式编辑。示例:hideButtons = ['formatEditText']
|
|
9302
|
+
hideButtons: {
|
|
9303
|
+
type: Array,
|
|
9304
|
+
default: function _default() {
|
|
9305
|
+
return [];
|
|
9306
|
+
}
|
|
9307
|
+
},
|
|
9122
9308
|
// 新版打印配置(新)
|
|
9123
9309
|
newPrintSetting: {
|
|
9124
9310
|
type: Object,
|
|
9125
9311
|
default: function _default() {
|
|
9126
9312
|
return {};
|
|
9127
9313
|
}
|
|
9314
|
+
},
|
|
9315
|
+
// 获取模板数据(新)
|
|
9316
|
+
printFormatByNumberData: {
|
|
9317
|
+
type: Object,
|
|
9318
|
+
default: function _default() {
|
|
9319
|
+
return null;
|
|
9320
|
+
}
|
|
9128
9321
|
}
|
|
9129
9322
|
},
|
|
9130
9323
|
computed: {
|
|
@@ -9231,14 +9424,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9231
9424
|
/* harmony import */ var ant_design_vue_es_base_style__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_base_style__WEBPACK_IMPORTED_MODULE_0__);
|
|
9232
9425
|
/* harmony import */ var ant_design_vue_es_base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("be79");
|
|
9233
9426
|
/* harmony import */ var ant_design_vue_es_base__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(ant_design_vue_es_base__WEBPACK_IMPORTED_MODULE_1__);
|
|
9234
|
-
/* harmony import */ var
|
|
9235
|
-
/* harmony import */ var
|
|
9236
|
-
/* harmony import */ var
|
|
9237
|
-
/* harmony import */ var
|
|
9238
|
-
/* harmony import */ var
|
|
9239
|
-
/* harmony import */ var
|
|
9240
|
-
/* harmony import */ var
|
|
9241
|
-
/* harmony import */ var
|
|
9427
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("e260");
|
|
9428
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(F_project_crm_high_new_cnhis_design_v2_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
9429
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("e6cf");
|
|
9430
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(F_project_crm_high_new_cnhis_design_v2_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
9431
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("cca6");
|
|
9432
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(F_project_crm_high_new_cnhis_design_v2_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
9433
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("a79d");
|
|
9434
|
+
/* harmony import */ var F_project_crm_high_new_cnhis_design_v2_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(F_project_crm_high_new_cnhis_design_v2_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
9242
9435
|
|
|
9243
9436
|
|
|
9244
9437
|
|
|
@@ -10353,17 +10546,6 @@ module.exports = function (it) {
|
|
|
10353
10546
|
|
|
10354
10547
|
module.exports = require("core-js/modules/es.regexp.constructor.js");
|
|
10355
10548
|
|
|
10356
|
-
/***/ }),
|
|
10357
|
-
|
|
10358
|
-
/***/ "88f2":
|
|
10359
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10360
|
-
|
|
10361
|
-
"use strict";
|
|
10362
|
-
/* 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");
|
|
10363
|
-
/* 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__);
|
|
10364
|
-
/* unused harmony reexport * */
|
|
10365
|
-
|
|
10366
|
-
|
|
10367
10549
|
/***/ }),
|
|
10368
10550
|
|
|
10369
10551
|
/***/ "88fd":
|
|
@@ -10762,17 +10944,6 @@ module.exports = function (argument) {
|
|
|
10762
10944
|
|
|
10763
10945
|
module.exports = require("crypto-js");
|
|
10764
10946
|
|
|
10765
|
-
/***/ }),
|
|
10766
|
-
|
|
10767
|
-
/***/ "a462":
|
|
10768
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10769
|
-
|
|
10770
|
-
"use strict";
|
|
10771
|
-
/* 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");
|
|
10772
|
-
/* 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__);
|
|
10773
|
-
/* unused harmony reexport * */
|
|
10774
|
-
|
|
10775
|
-
|
|
10776
10947
|
/***/ }),
|
|
10777
10948
|
|
|
10778
10949
|
/***/ "a479":
|
|
@@ -10866,17 +11037,6 @@ if (!IS_PURE && typeof NativePromise == 'function') {
|
|
|
10866
11037
|
}
|
|
10867
11038
|
|
|
10868
11039
|
|
|
10869
|
-
/***/ }),
|
|
10870
|
-
|
|
10871
|
-
/***/ "ac56":
|
|
10872
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10873
|
-
|
|
10874
|
-
"use strict";
|
|
10875
|
-
/* 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");
|
|
10876
|
-
/* 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__);
|
|
10877
|
-
/* unused harmony reexport * */
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
11040
|
/***/ }),
|
|
10881
11041
|
|
|
10882
11042
|
/***/ "ade3":
|
|
@@ -10967,6 +11127,13 @@ module.exports = {
|
|
|
10967
11127
|
};
|
|
10968
11128
|
|
|
10969
11129
|
|
|
11130
|
+
/***/ }),
|
|
11131
|
+
|
|
11132
|
+
/***/ "b06d":
|
|
11133
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
11134
|
+
|
|
11135
|
+
// extracted by mini-css-extract-plugin
|
|
11136
|
+
|
|
10970
11137
|
/***/ }),
|
|
10971
11138
|
|
|
10972
11139
|
/***/ "b107":
|
|
@@ -13080,6 +13247,13 @@ module.exports = function (object, names) {
|
|
|
13080
13247
|
};
|
|
13081
13248
|
|
|
13082
13249
|
|
|
13250
|
+
/***/ }),
|
|
13251
|
+
|
|
13252
|
+
/***/ "cb3e":
|
|
13253
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13254
|
+
|
|
13255
|
+
// extracted by mini-css-extract-plugin
|
|
13256
|
+
|
|
13083
13257
|
/***/ }),
|
|
13084
13258
|
|
|
13085
13259
|
/***/ "cc12":
|
|
@@ -13374,13 +13548,6 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
13374
13548
|
|
|
13375
13549
|
/***/ }),
|
|
13376
13550
|
|
|
13377
|
-
/***/ "df26":
|
|
13378
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13379
|
-
|
|
13380
|
-
// extracted by mini-css-extract-plugin
|
|
13381
|
-
|
|
13382
|
-
/***/ }),
|
|
13383
|
-
|
|
13384
13551
|
/***/ "df75":
|
|
13385
13552
|
/***/ (function(module, exports, __webpack_require__) {
|
|
13386
13553
|
|
|
@@ -14288,13 +14455,6 @@ module.exports = require("core-js/modules/es.typed-array.set.js");
|
|
|
14288
14455
|
|
|
14289
14456
|
/***/ }),
|
|
14290
14457
|
|
|
14291
|
-
/***/ "e9bc":
|
|
14292
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
14293
|
-
|
|
14294
|
-
// extracted by mini-css-extract-plugin
|
|
14295
|
-
|
|
14296
|
-
/***/ }),
|
|
14297
|
-
|
|
14298
14458
|
/***/ "ea01":
|
|
14299
14459
|
/***/ (function(module, exports) {
|
|
14300
14460
|
|