hoeditor-web 2.0.11 → 2.0.15
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/lib/hoeditor.common.js +1019 -431
- package/lib/hoeditor.css +1 -1
- package/lib/hoeditor.umd.js +1019 -431
- package/lib/hoeditor.umd.min.js +13 -13
- package/package.json +1 -1
package/lib/hoeditor.common.js
CHANGED
|
@@ -22099,7 +22099,7 @@ var es_array_join = __webpack_require__("a15b");
|
|
|
22099
22099
|
var STYLES, _ctx, CanvasGradient, CanvasPattern, namedEntities; //helper function to format a string
|
|
22100
22100
|
|
|
22101
22101
|
|
|
22102
|
-
function
|
|
22102
|
+
function canvas2svg_format(str, args) {
|
|
22103
22103
|
var keys = Object.keys(args),
|
|
22104
22104
|
i;
|
|
22105
22105
|
|
|
@@ -22286,7 +22286,7 @@ CanvasGradient.prototype.addColorStop = function (offset, color) {
|
|
|
22286
22286
|
//separate alpha value, since webkit can't handle it
|
|
22287
22287
|
regex = /rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi;
|
|
22288
22288
|
matches = regex.exec(color);
|
|
22289
|
-
stop.setAttribute("stop-color",
|
|
22289
|
+
stop.setAttribute("stop-color", canvas2svg_format("rgb({r},{g},{b})", {
|
|
22290
22290
|
r: matches[1],
|
|
22291
22291
|
g: matches[2],
|
|
22292
22292
|
b: matches[3]
|
|
@@ -22533,12 +22533,12 @@ _ctx.prototype.__applyStyleToCurrentElement = function (type) {
|
|
|
22533
22533
|
}
|
|
22534
22534
|
}
|
|
22535
22535
|
|
|
22536
|
-
currentElement.setAttribute(style.apply,
|
|
22536
|
+
currentElement.setAttribute(style.apply, canvas2svg_format("url(#{id})", {
|
|
22537
22537
|
id: value.__root.getAttribute("id")
|
|
22538
22538
|
}));
|
|
22539
22539
|
} else if (value instanceof CanvasGradient) {
|
|
22540
22540
|
//gradient
|
|
22541
|
-
currentElement.setAttribute(style.apply,
|
|
22541
|
+
currentElement.setAttribute(style.apply, canvas2svg_format("url(#{id})", {
|
|
22542
22542
|
id: value.__root.getAttribute("id")
|
|
22543
22543
|
}));
|
|
22544
22544
|
} else if (style.apply.indexOf(type) !== -1 && style.svg !== value) {
|
|
@@ -22546,7 +22546,7 @@ _ctx.prototype.__applyStyleToCurrentElement = function (type) {
|
|
|
22546
22546
|
//separate alpha value, since illustrator can't handle it
|
|
22547
22547
|
regex = /rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi;
|
|
22548
22548
|
matches = regex.exec(value);
|
|
22549
|
-
currentElement.setAttribute(style.svgAttr,
|
|
22549
|
+
currentElement.setAttribute(style.svgAttr, canvas2svg_format("rgb({r},{g},{b})", {
|
|
22550
22550
|
r: matches[1],
|
|
22551
22551
|
g: matches[2],
|
|
22552
22552
|
b: matches[3]
|
|
@@ -22737,7 +22737,7 @@ _ctx.prototype.scale = function (x, y) {
|
|
|
22737
22737
|
y = x;
|
|
22738
22738
|
}
|
|
22739
22739
|
|
|
22740
|
-
this.__addTransform(
|
|
22740
|
+
this.__addTransform(canvas2svg_format("scale({x},{y})", {
|
|
22741
22741
|
x: x,
|
|
22742
22742
|
y: y
|
|
22743
22743
|
}));
|
|
@@ -22750,7 +22750,7 @@ _ctx.prototype.scale = function (x, y) {
|
|
|
22750
22750
|
_ctx.prototype.rotate = function (angle) {
|
|
22751
22751
|
var degrees = angle * 180 / Math.PI;
|
|
22752
22752
|
|
|
22753
|
-
this.__addTransform(
|
|
22753
|
+
this.__addTransform(canvas2svg_format("rotate({angle},{cx},{cy})", {
|
|
22754
22754
|
angle: degrees,
|
|
22755
22755
|
cx: 0,
|
|
22756
22756
|
cy: 0
|
|
@@ -22762,7 +22762,7 @@ _ctx.prototype.rotate = function (angle) {
|
|
|
22762
22762
|
|
|
22763
22763
|
|
|
22764
22764
|
_ctx.prototype.translate = function (x, y) {
|
|
22765
|
-
this.__addTransform(
|
|
22765
|
+
this.__addTransform(canvas2svg_format("translate({x},{y})", {
|
|
22766
22766
|
x: x,
|
|
22767
22767
|
y: y
|
|
22768
22768
|
}));
|
|
@@ -22773,7 +22773,7 @@ _ctx.prototype.translate = function (x, y) {
|
|
|
22773
22773
|
|
|
22774
22774
|
|
|
22775
22775
|
_ctx.prototype.transform = function (a, b, c, d, e, f) {
|
|
22776
|
-
this.__addTransform(
|
|
22776
|
+
this.__addTransform(canvas2svg_format("matrix({a},{b},{c},{d},{e},{f})", {
|
|
22777
22777
|
a: a,
|
|
22778
22778
|
b: b,
|
|
22779
22779
|
c: c,
|
|
@@ -22838,7 +22838,7 @@ _ctx.prototype.moveTo = function (x, y) {
|
|
|
22838
22838
|
y: y
|
|
22839
22839
|
};
|
|
22840
22840
|
|
|
22841
|
-
this.__addPathCommand(
|
|
22841
|
+
this.__addPathCommand(canvas2svg_format("M {x} {y}", {
|
|
22842
22842
|
x: x,
|
|
22843
22843
|
y: y
|
|
22844
22844
|
}));
|
|
@@ -22865,12 +22865,12 @@ _ctx.prototype.lineTo = function (x, y) {
|
|
|
22865
22865
|
};
|
|
22866
22866
|
|
|
22867
22867
|
if (this.__currentDefaultPath.indexOf("M") > -1) {
|
|
22868
|
-
this.__addPathCommand(
|
|
22868
|
+
this.__addPathCommand(canvas2svg_format("L {x} {y}", {
|
|
22869
22869
|
x: x,
|
|
22870
22870
|
y: y
|
|
22871
22871
|
}));
|
|
22872
22872
|
} else {
|
|
22873
|
-
this.__addPathCommand(
|
|
22873
|
+
this.__addPathCommand(canvas2svg_format("M {x} {y}", {
|
|
22874
22874
|
x: x,
|
|
22875
22875
|
y: y
|
|
22876
22876
|
}));
|
|
@@ -22887,7 +22887,7 @@ _ctx.prototype.bezierCurveTo = function (cp1x, cp1y, cp2x, cp2y, x, y) {
|
|
|
22887
22887
|
y: y
|
|
22888
22888
|
};
|
|
22889
22889
|
|
|
22890
|
-
this.__addPathCommand(
|
|
22890
|
+
this.__addPathCommand(canvas2svg_format("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}", {
|
|
22891
22891
|
cp1x: cp1x,
|
|
22892
22892
|
cp1y: cp1y,
|
|
22893
22893
|
cp2x: cp2x,
|
|
@@ -22907,7 +22907,7 @@ _ctx.prototype.quadraticCurveTo = function (cpx, cpy, x, y) {
|
|
|
22907
22907
|
y: y
|
|
22908
22908
|
};
|
|
22909
22909
|
|
|
22910
|
-
this.__addPathCommand(
|
|
22910
|
+
this.__addPathCommand(canvas2svg_format("Q {cpx} {cpy} {x} {y}", {
|
|
22911
22911
|
cpx: cpx,
|
|
22912
22912
|
cpy: cpy,
|
|
22913
22913
|
x: x,
|
|
@@ -23376,7 +23376,7 @@ _ctx.prototype.arc = function (x, y, radius, startAngle, endAngle, counterClockw
|
|
|
23376
23376
|
|
|
23377
23377
|
this.lineTo(startX, startY);
|
|
23378
23378
|
|
|
23379
|
-
this.__addPathCommand(
|
|
23379
|
+
this.__addPathCommand(canvas2svg_format("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}", {
|
|
23380
23380
|
rx: radius,
|
|
23381
23381
|
ry: radius,
|
|
23382
23382
|
xAxisRotation: 0,
|
|
@@ -23411,7 +23411,7 @@ _ctx.prototype.clip = function () {
|
|
|
23411
23411
|
this.__defs.appendChild(clipPath); //set the clip path to this group
|
|
23412
23412
|
|
|
23413
23413
|
|
|
23414
|
-
group.setAttribute("clip-path",
|
|
23414
|
+
group.setAttribute("clip-path", canvas2svg_format("url(#{id})", {
|
|
23415
23415
|
id: id
|
|
23416
23416
|
})); //clip paths can be scaled and transformed, we need to add another wrapper group to avoid later transformations
|
|
23417
23417
|
// to this path
|
|
@@ -24587,8 +24587,8 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24587
24587
|
* 打印到PDF文件
|
|
24588
24588
|
*/
|
|
24589
24589
|
function () {
|
|
24590
|
-
var _printToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(hoEditorFactoryID, PDF, type, fileName, reslove, positionY) {
|
|
24591
|
-
var hoEditorFactory, dPage, docHeight, dHeight, startPageNum, svgBox, orientation, last, _iterator, _step, _cpage$drawDomLevel, _cpage$drawDomLevel$s, _cpage$drawDomLevel2, index, cpage, dShape, ctx, svgData, _svgBox2, printStyle, _svgBox, exportHtml, url, link, name;
|
|
24590
|
+
var _printToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(hoEditorFactoryID, PDF, type, fileName, reslove, positionY, format) {
|
|
24591
|
+
var hoEditorFactory, dPage, docHeight, dHeight, startPageNum, svgBox, orientation, last, _iterator, _step, _cpage$drawDomLevel, _cpage$drawDomLevel$s, _cpage$drawDomLevel2, index, cpage, dShape, ctx, svgData, _svgBox2, svg2pdfOptions, _orientation, printStyle, _svgBox, exportHtml, url, link, name;
|
|
24592
24592
|
|
|
24593
24593
|
return regeneratorRuntime.wrap(function _callee$(_context2) {
|
|
24594
24594
|
while (1) {
|
|
@@ -24634,7 +24634,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24634
24634
|
|
|
24635
24635
|
case 10:
|
|
24636
24636
|
if ((_step = _iterator.n()).done) {
|
|
24637
|
-
_context2.next =
|
|
24637
|
+
_context2.next = 46;
|
|
24638
24638
|
break;
|
|
24639
24639
|
}
|
|
24640
24640
|
|
|
@@ -24652,7 +24652,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24652
24652
|
});
|
|
24653
24653
|
|
|
24654
24654
|
case 15:
|
|
24655
|
-
return _context2.abrupt("continue",
|
|
24655
|
+
return _context2.abrupt("continue", 44);
|
|
24656
24656
|
|
|
24657
24657
|
case 16:
|
|
24658
24658
|
last = index;
|
|
@@ -24663,7 +24663,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24663
24663
|
break;
|
|
24664
24664
|
}
|
|
24665
24665
|
|
|
24666
|
-
return _context2.abrupt("break",
|
|
24666
|
+
return _context2.abrupt("break", 46);
|
|
24667
24667
|
|
|
24668
24668
|
case 20:
|
|
24669
24669
|
if (cpage.drawDomLevel && !cpage.drawDomLevel.stage) {
|
|
@@ -24706,7 +24706,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24706
24706
|
}
|
|
24707
24707
|
|
|
24708
24708
|
(_svgBox2 = svgBox) === null || _svgBox2 === void 0 ? void 0 : _svgBox2.appendChild(svgData);
|
|
24709
|
-
_context2.next =
|
|
24709
|
+
_context2.next = 43;
|
|
24710
24710
|
break;
|
|
24711
24711
|
|
|
24712
24712
|
case 34:
|
|
@@ -24716,58 +24716,74 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24716
24716
|
|
|
24717
24717
|
document.body.appendChild(svgData);
|
|
24718
24718
|
PDF === null || PDF === void 0 ? void 0 : PDF.addPage();
|
|
24719
|
+
svg2pdfOptions = {
|
|
24720
|
+
x: 0,
|
|
24721
|
+
y: 0
|
|
24722
|
+
};
|
|
24723
|
+
|
|
24724
|
+
if (hoEditorFactory.isFixedPrintToA4 && format) {
|
|
24725
|
+
_orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
24726
|
+
|
|
24727
|
+
if (_orientation == "l") {
|
|
24728
|
+
svg2pdfOptions.x = format[0] - hoEditorFactory.pageProperty.widthPixes;
|
|
24729
|
+
svg2pdfOptions.y = (format[1] - hoEditorFactory.pageProperty.heightPixes) / 2;
|
|
24730
|
+
} else {
|
|
24731
|
+
svg2pdfOptions.x = (format[0] - hoEditorFactory.pageProperty.widthPixes) / 2;
|
|
24732
|
+
}
|
|
24733
|
+
}
|
|
24734
|
+
|
|
24719
24735
|
_context2.t0 = PDF;
|
|
24720
24736
|
|
|
24721
24737
|
if (!_context2.t0) {
|
|
24722
|
-
_context2.next =
|
|
24738
|
+
_context2.next = 43;
|
|
24723
24739
|
break;
|
|
24724
24740
|
}
|
|
24725
24741
|
|
|
24726
|
-
_context2.next =
|
|
24727
|
-
return Ut(document.querySelector("#PDFPRINTSVG"), PDF,
|
|
24742
|
+
_context2.next = 43;
|
|
24743
|
+
return Ut(document.querySelector("#PDFPRINTSVG"), PDF, svg2pdfOptions);
|
|
24728
24744
|
|
|
24729
|
-
case
|
|
24745
|
+
case 43:
|
|
24730
24746
|
index > 0 && ((_cpage$drawDomLevel2 = cpage.drawDomLevel) === null || _cpage$drawDomLevel2 === void 0 ? void 0 : _cpage$drawDomLevel2.clearStage());
|
|
24731
24747
|
|
|
24732
|
-
case
|
|
24748
|
+
case 44:
|
|
24733
24749
|
_context2.next = 10;
|
|
24734
24750
|
break;
|
|
24735
24751
|
|
|
24736
|
-
case
|
|
24737
|
-
_context2.next =
|
|
24752
|
+
case 46:
|
|
24753
|
+
_context2.next = 51;
|
|
24738
24754
|
break;
|
|
24739
24755
|
|
|
24740
|
-
case
|
|
24741
|
-
_context2.prev =
|
|
24756
|
+
case 48:
|
|
24757
|
+
_context2.prev = 48;
|
|
24742
24758
|
_context2.t1 = _context2["catch"](8);
|
|
24743
24759
|
|
|
24744
24760
|
_iterator.e(_context2.t1);
|
|
24745
24761
|
|
|
24746
|
-
case
|
|
24747
|
-
_context2.prev =
|
|
24762
|
+
case 51:
|
|
24763
|
+
_context2.prev = 51;
|
|
24748
24764
|
|
|
24749
24765
|
_iterator.f();
|
|
24750
24766
|
|
|
24751
|
-
return _context2.finish(
|
|
24767
|
+
return _context2.finish(51);
|
|
24752
24768
|
|
|
24753
|
-
case
|
|
24769
|
+
case 54:
|
|
24754
24770
|
if (hoEditorFactory.printStatus.printRange !== PrintRange.prSelected) hoEditorFactory.printStatus.recordLastPosByPageIndex(last);
|
|
24755
24771
|
hoEditorFactory.printStatus.DrawPrintRange().PrintOver();
|
|
24756
24772
|
|
|
24757
24773
|
if (!(type === "pdf")) {
|
|
24758
|
-
_context2.next =
|
|
24774
|
+
_context2.next = 62;
|
|
24759
24775
|
break;
|
|
24760
24776
|
}
|
|
24761
24777
|
|
|
24762
24778
|
PDF === null || PDF === void 0 ? void 0 : PDF.deletePage(1);
|
|
24763
24779
|
PDF === null || PDF === void 0 ? void 0 : PDF.save(fileName + ".pdf");
|
|
24764
24780
|
hoEditorFactory.printStatus.drawPrintRecord.clear();
|
|
24765
|
-
_context2.next =
|
|
24781
|
+
_context2.next = 68;
|
|
24766
24782
|
break;
|
|
24767
24783
|
|
|
24768
|
-
case
|
|
24784
|
+
case 62:
|
|
24769
24785
|
if (!(svgBox && svgBox.childNodes.length === 0)) {
|
|
24770
|
-
_context2.next =
|
|
24786
|
+
_context2.next = 66;
|
|
24771
24787
|
break;
|
|
24772
24788
|
}
|
|
24773
24789
|
|
|
@@ -24779,7 +24795,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24779
24795
|
reslove && reslove("printend");
|
|
24780
24796
|
return _context2.abrupt("return");
|
|
24781
24797
|
|
|
24782
|
-
case
|
|
24798
|
+
case 66:
|
|
24783
24799
|
printStyle = Object(util["b" /* createPrintHTMLStyle */])(hoEditorFactory.pageProperty.pageSize, orientation);
|
|
24784
24800
|
|
|
24785
24801
|
if (type === "html") {
|
|
@@ -24802,18 +24818,18 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24802
24818
|
PDF && this.openDataUriInWindow(PDF, name, hoEditorFactory.pageProperty.widthPixes);
|
|
24803
24819
|
}
|
|
24804
24820
|
|
|
24805
|
-
case
|
|
24821
|
+
case 68:
|
|
24806
24822
|
reslove && reslove("printend");
|
|
24807
24823
|
|
|
24808
|
-
case
|
|
24824
|
+
case 69:
|
|
24809
24825
|
case "end":
|
|
24810
24826
|
return _context2.stop();
|
|
24811
24827
|
}
|
|
24812
24828
|
}
|
|
24813
|
-
}, _callee, this, [[8,
|
|
24829
|
+
}, _callee, this, [[8, 48, 51, 54]]);
|
|
24814
24830
|
}));
|
|
24815
24831
|
|
|
24816
|
-
function printToPDF(_x, _x2, _x3, _x4, _x5, _x6) {
|
|
24832
|
+
function printToPDF(_x, _x2, _x3, _x4, _x5, _x6, _x7) {
|
|
24817
24833
|
return _printToPDF.apply(this, arguments);
|
|
24818
24834
|
}
|
|
24819
24835
|
|
|
@@ -24824,7 +24840,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24824
24840
|
value: function openDataUriInWindow(PDF, fileName, width) {
|
|
24825
24841
|
if (navigator && navigator.userAgent.toLowerCase().indexOf("electron") !== -1) {
|
|
24826
24842
|
var htmlForNewWindow = "<html>" + "<title>" + fileName + "</title>" + "<style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style>" + "<body>" + '<iframe src="' + PDF.output("bloburl") + '"></iframe>' + "</body></html>";
|
|
24827
|
-
var nW = window.open("", "modal",
|
|
24843
|
+
var nW = window.open("", "modal", "width=" + (width + 400) + ",height=800");
|
|
24828
24844
|
|
|
24829
24845
|
if (nW) {
|
|
24830
24846
|
nW.document.write(htmlForNewWindow);
|
|
@@ -24860,7 +24876,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24860
24876
|
|
|
24861
24877
|
this.printPage(PDF).catch(function (error) {
|
|
24862
24878
|
PDF.autoPrint();
|
|
24863
|
-
PDF.output(
|
|
24879
|
+
PDF.output("dataurlnewwindow");
|
|
24864
24880
|
});
|
|
24865
24881
|
}
|
|
24866
24882
|
}
|
|
@@ -24908,7 +24924,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24908
24924
|
}, _callee2);
|
|
24909
24925
|
}));
|
|
24910
24926
|
|
|
24911
|
-
function printPage(
|
|
24927
|
+
function printPage(_x8) {
|
|
24912
24928
|
return _printPage.apply(this, arguments);
|
|
24913
24929
|
}
|
|
24914
24930
|
|
|
@@ -25061,7 +25077,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
25061
25077
|
}, _callee3, null, [[10, 41, 44, 47]]);
|
|
25062
25078
|
}));
|
|
25063
25079
|
|
|
25064
|
-
function mergePrintAll(
|
|
25080
|
+
function mergePrintAll(_x9, _x10, _x11) {
|
|
25065
25081
|
return _mergePrintAll.apply(this, arguments);
|
|
25066
25082
|
}
|
|
25067
25083
|
|
|
@@ -25074,8 +25090,8 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
25074
25090
|
}, {
|
|
25075
25091
|
key: "printAllXml",
|
|
25076
25092
|
value: function () {
|
|
25077
|
-
var _printAllXml = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(hoEditorFactoryID, reslove, PDF, status) {
|
|
25078
|
-
var hoEditorFactory, orientation, svgBox, last, _iterator3, _step3, _cpage$drawDomLevel4, _cpage$drawDomLevel4$, _cpage$drawDomLevel5, index, cpage, ctx, svgData;
|
|
25093
|
+
var _printAllXml = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(hoEditorFactoryID, reslove, PDF, status, format) {
|
|
25094
|
+
var hoEditorFactory, orientation, svgBox, last, _iterator3, _step3, _cpage$drawDomLevel4, _cpage$drawDomLevel4$, _cpage$drawDomLevel5, index, cpage, ctx, svgData, svg2pdfOptions, _orientation2;
|
|
25079
25095
|
|
|
25080
25096
|
return regeneratorRuntime.wrap(function _callee4$(_context5) {
|
|
25081
25097
|
while (1) {
|
|
@@ -25098,7 +25114,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
25098
25114
|
|
|
25099
25115
|
case 11:
|
|
25100
25116
|
if ((_step3 = _iterator3.n()).done) {
|
|
25101
|
-
_context5.next =
|
|
25117
|
+
_context5.next = 37;
|
|
25102
25118
|
break;
|
|
25103
25119
|
}
|
|
25104
25120
|
|
|
@@ -25116,7 +25132,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
25116
25132
|
});
|
|
25117
25133
|
|
|
25118
25134
|
case 16:
|
|
25119
|
-
return _context5.abrupt("continue",
|
|
25135
|
+
return _context5.abrupt("continue", 35);
|
|
25120
25136
|
|
|
25121
25137
|
case 17:
|
|
25122
25138
|
last = index;
|
|
@@ -25127,6 +25143,14 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
25127
25143
|
cpage.needUpdateStage = true;
|
|
25128
25144
|
}
|
|
25129
25145
|
|
|
25146
|
+
if (!(index === hoEditorFactory.drawTree.drawPages.length - 1 && cpage.drawMainDoc.children.length === 2 && cpage.drawMainDoc.children[1] && cpage.drawMainDoc.children[1].drawItems.length === 0)) {
|
|
25147
|
+
_context5.next = 22;
|
|
25148
|
+
break;
|
|
25149
|
+
}
|
|
25150
|
+
|
|
25151
|
+
return _context5.abrupt("break", 37);
|
|
25152
|
+
|
|
25153
|
+
case 22:
|
|
25130
25154
|
if (cpage.needUpdateStage && cpage.drawDomLevel && cpage.drawDomLevel.stage) {
|
|
25131
25155
|
cpage.drawDomLevel.stage.update();
|
|
25132
25156
|
cpage.needUpdateStage = false;
|
|
@@ -25146,34 +25170,50 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
25146
25170
|
|
|
25147
25171
|
document.body.appendChild(svgData);
|
|
25148
25172
|
PDF.addPage();
|
|
25149
|
-
|
|
25150
|
-
|
|
25173
|
+
svg2pdfOptions = {
|
|
25174
|
+
x: 0,
|
|
25175
|
+
y: 0
|
|
25176
|
+
};
|
|
25151
25177
|
|
|
25152
|
-
|
|
25178
|
+
if (hoEditorFactory.isFixedPrintToA4 && format) {
|
|
25179
|
+
_orientation2 = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
25180
|
+
|
|
25181
|
+
if (_orientation2 == "l") {
|
|
25182
|
+
svg2pdfOptions.x = format[0] - hoEditorFactory.pageProperty.widthPixes;
|
|
25183
|
+
svg2pdfOptions.y = (format[1] - hoEditorFactory.pageProperty.heightPixes) / 2;
|
|
25184
|
+
} else {
|
|
25185
|
+
svg2pdfOptions.x = (format[0] - hoEditorFactory.pageProperty.widthPixes) / 2;
|
|
25186
|
+
}
|
|
25187
|
+
}
|
|
25188
|
+
|
|
25189
|
+
_context5.next = 34;
|
|
25190
|
+
return Ut(document.querySelector("#PDFPRINTSVG"), PDF, svg2pdfOptions);
|
|
25191
|
+
|
|
25192
|
+
case 34:
|
|
25153
25193
|
index > 0 && ((_cpage$drawDomLevel5 = cpage.drawDomLevel) === null || _cpage$drawDomLevel5 === void 0 ? void 0 : _cpage$drawDomLevel5.clearStage());
|
|
25154
25194
|
|
|
25155
|
-
case
|
|
25195
|
+
case 35:
|
|
25156
25196
|
_context5.next = 11;
|
|
25157
25197
|
break;
|
|
25158
25198
|
|
|
25159
|
-
case
|
|
25160
|
-
_context5.next =
|
|
25199
|
+
case 37:
|
|
25200
|
+
_context5.next = 42;
|
|
25161
25201
|
break;
|
|
25162
25202
|
|
|
25163
|
-
case
|
|
25164
|
-
_context5.prev =
|
|
25203
|
+
case 39:
|
|
25204
|
+
_context5.prev = 39;
|
|
25165
25205
|
_context5.t0 = _context5["catch"](9);
|
|
25166
25206
|
|
|
25167
25207
|
_iterator3.e(_context5.t0);
|
|
25168
25208
|
|
|
25169
|
-
case
|
|
25170
|
-
_context5.prev =
|
|
25209
|
+
case 42:
|
|
25210
|
+
_context5.prev = 42;
|
|
25171
25211
|
|
|
25172
25212
|
_iterator3.f();
|
|
25173
25213
|
|
|
25174
|
-
return _context5.finish(
|
|
25214
|
+
return _context5.finish(42);
|
|
25175
25215
|
|
|
25176
|
-
case
|
|
25216
|
+
case 45:
|
|
25177
25217
|
if (hoEditorFactory.printStatus.printRange !== PrintRange.prSelected) {
|
|
25178
25218
|
hoEditorFactory.printStatus.recordLastPosByPageIndex(last);
|
|
25179
25219
|
}
|
|
@@ -25181,15 +25221,15 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
25181
25221
|
hoEditorFactory.printStatus.DrawPrintRange().PrintOver();
|
|
25182
25222
|
reslove && reslove("printend");
|
|
25183
25223
|
|
|
25184
|
-
case
|
|
25224
|
+
case 48:
|
|
25185
25225
|
case "end":
|
|
25186
25226
|
return _context5.stop();
|
|
25187
25227
|
}
|
|
25188
25228
|
}
|
|
25189
|
-
}, _callee4, null, [[9,
|
|
25229
|
+
}, _callee4, null, [[9, 39, 42, 45]]);
|
|
25190
25230
|
}));
|
|
25191
25231
|
|
|
25192
|
-
function printAllXml(
|
|
25232
|
+
function printAllXml(_x12, _x13, _x14, _x15, _x16) {
|
|
25193
25233
|
return _printAllXml.apply(this, arguments);
|
|
25194
25234
|
}
|
|
25195
25235
|
|
|
@@ -25309,7 +25349,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
25309
25349
|
}, _callee5, null, [[9, 34, 37, 40]]);
|
|
25310
25350
|
}));
|
|
25311
25351
|
|
|
25312
|
-
function printToHtml(
|
|
25352
|
+
function printToHtml(_x17, _x18, _x19) {
|
|
25313
25353
|
return _printToHtml.apply(this, arguments);
|
|
25314
25354
|
}
|
|
25315
25355
|
|
|
@@ -38221,7 +38261,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
38221
38261
|
|
|
38222
38262
|
if (!domRange.isEmpty) {
|
|
38223
38263
|
domRange = domRange.normalize();
|
|
38224
|
-
} else if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__[/* PaintState */ "b"].psReview) {
|
|
38264
|
+
} else if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__[/* PaintState */ "b"].psReview && !(domRange.npStart.node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_85__[/* SignNode */ "a"])) {
|
|
38225
38265
|
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_5___default.a.alert("审阅模式下,只能选中文档内容进行删除");
|
|
38226
38266
|
|
|
38227
38267
|
return;
|
|
@@ -38353,11 +38393,21 @@ var DocController = /*#__PURE__*/function () {
|
|
|
38353
38393
|
}
|
|
38354
38394
|
}
|
|
38355
38395
|
|
|
38356
|
-
if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__[/* PaintState */ "b"].psReview) {
|
|
38396
|
+
if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__[/* PaintState */ "b"].psReview && !(node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_85__[/* SignNode */ "a"])) {
|
|
38357
38397
|
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_5___default.a.alert("审阅模式下,只能对文本内容进行删除");
|
|
38358
38398
|
|
|
38359
38399
|
return;
|
|
38360
38400
|
} else {
|
|
38401
|
+
if (hoEditorFactory.drawTree.paintStatus === _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__[/* PaintState */ "b"].psReview && node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_85__[/* SignNode */ "a"]) {
|
|
38402
|
+
var signUserId = node.customProperty.bce01;
|
|
38403
|
+
|
|
38404
|
+
if (hoEditorFactory.userInfo.id != signUserId) {
|
|
38405
|
+
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_5___default.a.alert("不是本人签名,不允许删除!");
|
|
38406
|
+
|
|
38407
|
+
return;
|
|
38408
|
+
}
|
|
38409
|
+
}
|
|
38410
|
+
|
|
38361
38411
|
if (hoEditorFactory.drawTree.paintStatus !== _draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__[/* PaintState */ "b"].psDesign && node instanceof _treeNode_SignNode__WEBPACK_IMPORTED_MODULE_85__[/* SignNode */ "a"] && node.isTemplate) {
|
|
38362
38412
|
element_ui_lib_message_box__WEBPACK_IMPORTED_MODULE_5___default.a.alert("该签名元素不允许删除!", "系统提示");
|
|
38363
38413
|
|
|
@@ -48435,7 +48485,7 @@ exports.default = PopupManager;
|
|
|
48435
48485
|
/*
|
|
48436
48486
|
* @Author: your name
|
|
48437
48487
|
* @Date: 2020-11-03 15:17:54
|
|
48438
|
-
* @LastEditTime:
|
|
48488
|
+
* @LastEditTime: 2022-01-24 10:34:40
|
|
48439
48489
|
* @LastEditors: Please set LastEditors
|
|
48440
48490
|
* @Description: In User Settings Edit
|
|
48441
48491
|
* @FilePath: \hoeditor-web\src\editor\dom\treeNode\TextInputFieldNode.ts
|
|
@@ -49672,7 +49722,30 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
49672
49722
|
}
|
|
49673
49723
|
|
|
49674
49724
|
return setFieldText;
|
|
49675
|
-
}()
|
|
49725
|
+
}() // public dataVerify(): string {
|
|
49726
|
+
// let errMsg = "";
|
|
49727
|
+
// const customProperty = this.customProperty as any;
|
|
49728
|
+
// if (customProperty.dataVerify) {
|
|
49729
|
+
// if (customProperty.dataVerify.format) {
|
|
49730
|
+
// }
|
|
49731
|
+
// if (customProperty.dataVerify.maxValue || customProperty.dataVerify.minValue) {
|
|
49732
|
+
// if (!isNumber(this.text)) {
|
|
49733
|
+
// errMsg = "元素(" + this.name + ")值不符合规则,请检查并纠正!";
|
|
49734
|
+
// } else {
|
|
49735
|
+
// if (customProperty.dataVerify.maxValue) {
|
|
49736
|
+
// if (Number(this.text) > Number(customProperty.dataVerify.maxValue)) {
|
|
49737
|
+
// errMsg = "元素(" + this.name + ")值超出最大允许值" + customProperty.dataVerify.maxValue + ",请检查并纠正!";
|
|
49738
|
+
// }
|
|
49739
|
+
// }
|
|
49740
|
+
// if (Number(this.text) < Number(customProperty.dataVerify.maxValue)) {
|
|
49741
|
+
// errMsg = "元素(" + this.name + ")值低于最小允许值" + customProperty.dataVerify.maxValue + ",请检查并纠正!";
|
|
49742
|
+
// }
|
|
49743
|
+
// }
|
|
49744
|
+
// }
|
|
49745
|
+
// }
|
|
49746
|
+
// return errMsg;
|
|
49747
|
+
// }
|
|
49748
|
+
|
|
49676
49749
|
/**
|
|
49677
49750
|
*
|
|
49678
49751
|
* @param drawTree 绘制树
|
|
@@ -50223,8 +50296,8 @@ var TextInputFieldNode = /*#__PURE__*/function (_BaseCombineNode) {
|
|
|
50223
50296
|
this.transType(json);
|
|
50224
50297
|
|
|
50225
50298
|
if (isPaste) {
|
|
50226
|
-
if (hoEditorFactory.vueController.
|
|
50227
|
-
json.id = hoEditorFactory.gernerateCode.generateID("TF");
|
|
50299
|
+
if (hoEditorFactory.vueController.getNodeByDataID("all", json.dataId)) {
|
|
50300
|
+
//json.id = hoEditorFactory.gernerateCode.generateID("TF");
|
|
50228
50301
|
json.dataId = hoEditorFactory.gernerateCode.generateID("Field");
|
|
50229
50302
|
}
|
|
50230
50303
|
}
|
|
@@ -51541,13 +51614,6 @@ module.exports = function (it) {
|
|
|
51541
51614
|
};
|
|
51542
51615
|
|
|
51543
51616
|
|
|
51544
|
-
/***/ }),
|
|
51545
|
-
|
|
51546
|
-
/***/ "4dae":
|
|
51547
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
51548
|
-
|
|
51549
|
-
// extracted by mini-css-extract-plugin
|
|
51550
|
-
|
|
51551
51617
|
/***/ }),
|
|
51552
51618
|
|
|
51553
51619
|
/***/ "4de4":
|
|
@@ -52568,8 +52634,8 @@ var RadioAndCheckBoxNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
52568
52634
|
if (json.controlStyle === "RadioBox") name = "RB";
|
|
52569
52635
|
if (json.controlStyle === "CheckBox") name = "CB";
|
|
52570
52636
|
hoEditorFactory.docTree.radioAndCheckBoxsMap.forEach(function (value, key) {
|
|
52571
|
-
if (
|
|
52572
|
-
json.id = hoEditorFactory.gernerateCode.generateID(name);
|
|
52637
|
+
if (value.dataId === json.dataId) {
|
|
52638
|
+
//json.id = hoEditorFactory.gernerateCode.generateID(name);
|
|
52573
52639
|
json.dataId = hoEditorFactory.gernerateCode.generateID(json.controlStyle);
|
|
52574
52640
|
}
|
|
52575
52641
|
});
|
|
@@ -77484,6 +77550,9 @@ var DrawFooter = __webpack_require__("1367");
|
|
|
77484
77550
|
// EXTERNAL MODULE: ./src/editor/SubDocManger.ts
|
|
77485
77551
|
var SubDocManger = __webpack_require__("59dd");
|
|
77486
77552
|
|
|
77553
|
+
// EXTERNAL MODULE: ./src/editor/dom/PageProperty.ts
|
|
77554
|
+
var PageProperty = __webpack_require__("8d8b");
|
|
77555
|
+
|
|
77487
77556
|
// CONCATENATED MODULE: ./src/editor/draw/drawArea/DrawPage.ts
|
|
77488
77557
|
|
|
77489
77558
|
|
|
@@ -77499,6 +77568,7 @@ var SubDocManger = __webpack_require__("59dd");
|
|
|
77499
77568
|
|
|
77500
77569
|
|
|
77501
77570
|
|
|
77571
|
+
|
|
77502
77572
|
var DrawPage_DrawPage = /*#__PURE__*/function () {
|
|
77503
77573
|
function DrawPage(hoeditorfacotryID, index //,
|
|
77504
77574
|
//doc: DocTree,
|
|
@@ -77526,7 +77596,8 @@ var DrawPage_DrawPage = /*#__PURE__*/function () {
|
|
|
77526
77596
|
|
|
77527
77597
|
this._footerLeftTag = this.addAreaSplitTag(0, 0, 20, 0, 20, 20); //右下角分隔标记
|
|
77528
77598
|
|
|
77529
|
-
this._footerRightTag = this.addAreaSplitTag(0, 20, 0, 0, 20, 0);
|
|
77599
|
+
this._footerRightTag = this.addAreaSplitTag(0, 20, 0, 0, 20, 0); // this._mainDocBorder = this.addMainDocBorder();
|
|
77600
|
+
|
|
77530
77601
|
this._drawDocContainer = new createjs.Container();
|
|
77531
77602
|
}
|
|
77532
77603
|
|
|
@@ -77606,6 +77677,11 @@ var DrawPage_DrawPage = /*#__PURE__*/function () {
|
|
|
77606
77677
|
get: function get() {
|
|
77607
77678
|
return this._footerRightTag;
|
|
77608
77679
|
}
|
|
77680
|
+
}, {
|
|
77681
|
+
key: "mainDocBorder",
|
|
77682
|
+
get: function get() {
|
|
77683
|
+
return this._mainDocBorder;
|
|
77684
|
+
}
|
|
77609
77685
|
}, {
|
|
77610
77686
|
key: "selectContainer",
|
|
77611
77687
|
get: function get() {
|
|
@@ -77668,6 +77744,44 @@ var DrawPage_DrawPage = /*#__PURE__*/function () {
|
|
|
77668
77744
|
domLevel.stage.enableMouseOver(count);
|
|
77669
77745
|
}
|
|
77670
77746
|
}
|
|
77747
|
+
}, {
|
|
77748
|
+
key: "addMainDocBorder",
|
|
77749
|
+
value: function addMainDocBorder(topY) {
|
|
77750
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
77751
|
+
var leftX = hoEditorFactory.pageProperty.leftMarginPixes;
|
|
77752
|
+
var rightX = hoEditorFactory.pageProperty.widthPixes - hoEditorFactory.pageProperty.rightMarginPixes;
|
|
77753
|
+
var bottomY = hoEditorFactory.pageProperty.heightPixes - hoEditorFactory.pageProperty.bottomMarginPixes;
|
|
77754
|
+
var aTag = new createjs.Container();
|
|
77755
|
+
var ashape = new createjs.Shape();
|
|
77756
|
+
var color = hoEditorFactory.pageProperty.borderColor;
|
|
77757
|
+
var paintLineStyle = hoEditorFactory.pageProperty.paintRowLine;
|
|
77758
|
+
ashape.graphics.beginStroke(color);
|
|
77759
|
+
|
|
77760
|
+
if (paintLineStyle == PageProperty["b" /* PaintRowLineStyle */].solid) {
|
|
77761
|
+
ashape.graphics.setStrokeStyle(1);
|
|
77762
|
+
} else if (paintLineStyle == PageProperty["b" /* PaintRowLineStyle */].dot) {
|
|
77763
|
+
ashape.graphics.setStrokeDash([3, 3], 0);
|
|
77764
|
+
} else if (paintLineStyle == PageProperty["b" /* PaintRowLineStyle */].dash) {
|
|
77765
|
+
ashape.graphics.setStrokeDash([9, 9], 0);
|
|
77766
|
+
} else if (paintLineStyle == PageProperty["b" /* PaintRowLineStyle */].dashdot) {
|
|
77767
|
+
ashape.graphics.setStrokeDash([9, 3, 3, 9], 0);
|
|
77768
|
+
} else if (paintLineStyle == PageProperty["b" /* PaintRowLineStyle */].dashdotdo) {
|
|
77769
|
+
ashape.graphics.setStrokeDash([9, 3, 3, 3, 3, 9], 0);
|
|
77770
|
+
}
|
|
77771
|
+
|
|
77772
|
+
ashape.graphics.moveTo(leftX, topY);
|
|
77773
|
+
ashape.graphics.lineTo(rightX, topY);
|
|
77774
|
+
ashape.graphics.moveTo(rightX, topY);
|
|
77775
|
+
ashape.graphics.lineTo(rightX, bottomY);
|
|
77776
|
+
ashape.graphics.moveTo(rightX, bottomY);
|
|
77777
|
+
ashape.graphics.lineTo(leftX, bottomY);
|
|
77778
|
+
ashape.graphics.moveTo(leftX, bottomY);
|
|
77779
|
+
ashape.graphics.lineTo(leftX, topY);
|
|
77780
|
+
ashape.x = 0;
|
|
77781
|
+
ashape.y = 0;
|
|
77782
|
+
aTag.addChild(ashape);
|
|
77783
|
+
return aTag;
|
|
77784
|
+
}
|
|
77671
77785
|
}, {
|
|
77672
77786
|
key: "addAreaSplitTag",
|
|
77673
77787
|
value: function addAreaSplitTag(x1, y1, x2, y2, x3, y3) {
|
|
@@ -77769,6 +77883,14 @@ var DrawPage_DrawPage = /*#__PURE__*/function () {
|
|
|
77769
77883
|
this._footerRightTag.x = this._headerRightTag.x;
|
|
77770
77884
|
this._footerRightTag.y = this._drawFooter.y;
|
|
77771
77885
|
this._drawMainDoc.x = hoEditorFactory.pageProperty.leftMarginPixes;
|
|
77886
|
+
this._mainDocBorder && (this._mainDocBorder.children = []);
|
|
77887
|
+
|
|
77888
|
+
if (hoEditorFactory.pageProperty.borderColor !== "#FFFFFF" && hoEditorFactory.pageProperty.isPaintBorder) {
|
|
77889
|
+
var _this$_domLevel$stage;
|
|
77890
|
+
|
|
77891
|
+
this._mainDocBorder = this.addMainDocBorder(dhheight);
|
|
77892
|
+
(_this$_domLevel$stage = this._domLevel.stage) === null || _this$_domLevel$stage === void 0 ? void 0 : _this$_domLevel$stage.addChild(this._mainDocBorder);
|
|
77893
|
+
}
|
|
77772
77894
|
|
|
77773
77895
|
this._drawHeader.paintMask(dhheight);
|
|
77774
77896
|
|
|
@@ -93002,6 +93124,13 @@ module.exports = __webpack_require__("7f4d");
|
|
|
93002
93124
|
|
|
93003
93125
|
/***/ }),
|
|
93004
93126
|
|
|
93127
|
+
/***/ "8977":
|
|
93128
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
93129
|
+
|
|
93130
|
+
// extracted by mini-css-extract-plugin
|
|
93131
|
+
|
|
93132
|
+
/***/ }),
|
|
93133
|
+
|
|
93005
93134
|
/***/ "89a2":
|
|
93006
93135
|
/***/ (function(module, exports, __webpack_require__) {
|
|
93007
93136
|
|
|
@@ -96265,7 +96394,7 @@ NodeChangeEvent.eventName = "nodechanged";
|
|
|
96265
96394
|
|
|
96266
96395
|
"use strict";
|
|
96267
96396
|
/* unused harmony export PrintDirection */
|
|
96268
|
-
/*
|
|
96397
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return PaintRowLineStyle; });
|
|
96269
96398
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PageProperty; });
|
|
96270
96399
|
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1da1");
|
|
96271
96400
|
/* harmony import */ var D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("53ca");
|
|
@@ -96332,6 +96461,8 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
96332
96461
|
|
|
96333
96462
|
this._printDirection = PrintDirection.vertical; //打印方向
|
|
96334
96463
|
|
|
96464
|
+
this._isPaintBorder = false; // 是否绘制边框
|
|
96465
|
+
|
|
96335
96466
|
this._borderColor = "#000000"; //边框颜色
|
|
96336
96467
|
|
|
96337
96468
|
this._paintRowLine = PaintRowLineStyle.solid; //绘制行线样式
|
|
@@ -96479,6 +96610,16 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
96479
96610
|
this._printDirection = value;
|
|
96480
96611
|
}
|
|
96481
96612
|
}
|
|
96613
|
+
}, {
|
|
96614
|
+
key: "isPaintBorder",
|
|
96615
|
+
get: function get() {
|
|
96616
|
+
return this._isPaintBorder;
|
|
96617
|
+
},
|
|
96618
|
+
set: function set(value) {
|
|
96619
|
+
if (value !== this._isPaintBorder) {
|
|
96620
|
+
this._isPaintBorder = value;
|
|
96621
|
+
}
|
|
96622
|
+
}
|
|
96482
96623
|
}, {
|
|
96483
96624
|
key: "borderColor",
|
|
96484
96625
|
get: function get() {
|
|
@@ -96824,7 +96965,7 @@ var PageProperty = /*#__PURE__*/function () {
|
|
|
96824
96965
|
}], [{
|
|
96825
96966
|
key: "whiteList",
|
|
96826
96967
|
value: function whiteList() {
|
|
96827
|
-
return ["printDirection", "borderColor", "paintRowLine", "pageSize", "widthMm", "heightMm", "source", "topMarginMm", "bottomMarginMm", "leftMarginMm", "rightMarginMm", "headerYMm", "footerYMm", "showFirstPageHead", "showFirstPageFoot", "pageNumber", "isHaveBgImage", "commentWidthMm", "fontFormat", "fontSize", "fontColor", "backColor", "paraAlign", "charSpace", "lineHeight"];
|
|
96968
|
+
return ["printDirection", "borderColor", "isPaintBorder", "paintRowLine", "pageSize", "widthMm", "heightMm", "source", "topMarginMm", "bottomMarginMm", "leftMarginMm", "rightMarginMm", "headerYMm", "footerYMm", "showFirstPageHead", "showFirstPageFoot", "pageNumber", "isHaveBgImage", "commentWidthMm", "fontFormat", "fontSize", "fontColor", "backColor", "paraAlign", "charSpace", "lineHeight"];
|
|
96828
96969
|
}
|
|
96829
96970
|
}]);
|
|
96830
96971
|
|
|
@@ -102394,8 +102535,8 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
102394
102535
|
if (isPaste) {
|
|
102395
102536
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__[/* HOEditorFactorys */ "a"].instance().getFactory(hoEditorFactoryID);
|
|
102396
102537
|
|
|
102397
|
-
if (hoEditorFactory.vueController.
|
|
102398
|
-
json.id = hoEditorFactory.gernerateCode.generateID("DT");
|
|
102538
|
+
if (hoEditorFactory.vueController.getNodeByDataID("all", json.dataId)) {
|
|
102539
|
+
//json.id = hoEditorFactory.gernerateCode.generateID("DT");
|
|
102399
102540
|
json.dataId = hoEditorFactory.gernerateCode.generateID("DateTime");
|
|
102400
102541
|
}
|
|
102401
102542
|
}
|
|
@@ -119245,11 +119386,9 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
119245
119386
|
|
|
119246
119387
|
var i = 0;
|
|
119247
119388
|
comments.forEach(function (value) {
|
|
119248
|
-
i++;
|
|
119249
|
-
|
|
119250
|
-
|
|
119251
|
-
return;
|
|
119252
|
-
}
|
|
119389
|
+
i++; // if (i > 2) {
|
|
119390
|
+
// return;
|
|
119391
|
+
// }
|
|
119253
119392
|
|
|
119254
119393
|
var endDrawNode = value.eNode.drawNodes[0];
|
|
119255
119394
|
var dline = hoEditorFactory.drawTree.getDrawLineByDNode(endDrawNode); // 末尾标记节点所在行
|
|
@@ -119270,7 +119409,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
119270
119409
|
_this2.drawComment(value, spX, spY, spY);
|
|
119271
119410
|
}
|
|
119272
119411
|
|
|
119273
|
-
if (i
|
|
119412
|
+
if (i >= 2) {
|
|
119274
119413
|
_this2.repaint(value, path, spX, spY);
|
|
119275
119414
|
}
|
|
119276
119415
|
});
|
|
@@ -119329,8 +119468,9 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
119329
119468
|
});
|
|
119330
119469
|
|
|
119331
119470
|
if (topComments.length > 0) {
|
|
119332
|
-
var
|
|
119333
|
-
var
|
|
119471
|
+
var tempComment = topComments[0];
|
|
119472
|
+
var maxValue = getStagePos(tempComment)[1];
|
|
119473
|
+
var lHeight = tempComment.lineHeight;
|
|
119334
119474
|
|
|
119335
119475
|
for (var i = 1; i < topComments.length; i++) {
|
|
119336
119476
|
var stageY = getStagePos(topComments[i])[1];
|
|
@@ -119338,11 +119478,22 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
119338
119478
|
if (stageY > maxValue) {
|
|
119339
119479
|
maxValue = stageY;
|
|
119340
119480
|
lHeight = topComments[i].lineHeight;
|
|
119481
|
+
tempComment = topComments[i];
|
|
119341
119482
|
}
|
|
119342
119483
|
}
|
|
119343
119484
|
|
|
119344
119485
|
if (maxValue + lHeight + 5 > spY) {
|
|
119345
119486
|
commentY = maxValue + lHeight + 5;
|
|
119487
|
+
|
|
119488
|
+
for (var j = 0; j < this.children.length; j++) {
|
|
119489
|
+
var child = this.children[j];
|
|
119490
|
+
|
|
119491
|
+
if (child.name === tempComment.id && child instanceof createjs.Container) {
|
|
119492
|
+
if (child.y + tempComment.lineHeight / 2 > maxValue) {
|
|
119493
|
+
commentY = child.y + tempComment.lineHeight / 2 + lHeight + 5;
|
|
119494
|
+
}
|
|
119495
|
+
}
|
|
119496
|
+
}
|
|
119346
119497
|
}
|
|
119347
119498
|
}
|
|
119348
119499
|
|
|
@@ -119367,34 +119518,34 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
119367
119518
|
|
|
119368
119519
|
if (bottomComments.length > 0) {
|
|
119369
119520
|
var _minValue = getStagePos(bottomComments[0])[1];
|
|
119370
|
-
var
|
|
119521
|
+
var _tempComment2 = bottomComments[0];
|
|
119371
119522
|
|
|
119372
|
-
for (var
|
|
119373
|
-
var _stageY = getStagePos(bottomComments[
|
|
119523
|
+
for (var _j = 1; _j < bottomComments.length; _j++) {
|
|
119524
|
+
var _stageY = getStagePos(bottomComments[_j])[1];
|
|
119374
119525
|
|
|
119375
119526
|
if (_stageY < _minValue) {
|
|
119376
119527
|
_minValue = _stageY;
|
|
119377
|
-
|
|
119528
|
+
_tempComment2 = bottomComments[_j];
|
|
119378
119529
|
}
|
|
119379
119530
|
}
|
|
119380
119531
|
|
|
119381
|
-
repaintComment(
|
|
119532
|
+
repaintComment(_tempComment2, commentY, commentObj.lineHeight);
|
|
119382
119533
|
}
|
|
119383
119534
|
};
|
|
119384
119535
|
|
|
119385
119536
|
var minValue = getStagePos(bottomComments[0])[1];
|
|
119386
|
-
var
|
|
119537
|
+
var _tempComment = bottomComments[0];
|
|
119387
119538
|
|
|
119388
119539
|
for (var _i = 1; _i < bottomComments.length; _i++) {
|
|
119389
119540
|
var _stageY2 = getStagePos(bottomComments[_i])[1];
|
|
119390
119541
|
|
|
119391
119542
|
if (_stageY2 < minValue) {
|
|
119392
119543
|
minValue = _stageY2;
|
|
119393
|
-
|
|
119544
|
+
_tempComment = bottomComments[_i];
|
|
119394
119545
|
}
|
|
119395
119546
|
}
|
|
119396
119547
|
|
|
119397
|
-
repaintComment(
|
|
119548
|
+
repaintComment(_tempComment, commentY, comment.lineHeight);
|
|
119398
119549
|
}
|
|
119399
119550
|
}
|
|
119400
119551
|
}, {
|
|
@@ -129006,6 +129157,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
|
|
|
129006
129157
|
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("8d1d");
|
|
129007
129158
|
/* harmony import */ var _drawArea_DrawHeader__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("bd18");
|
|
129008
129159
|
/* harmony import */ var _drawArea_DrawFooter__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("1367");
|
|
129160
|
+
/* harmony import */ var _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__("7450");
|
|
129009
129161
|
|
|
129010
129162
|
|
|
129011
129163
|
|
|
@@ -129035,6 +129187,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
|
|
|
129035
129187
|
|
|
129036
129188
|
|
|
129037
129189
|
|
|
129190
|
+
|
|
129038
129191
|
var DrawPageMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
129039
129192
|
Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_5__[/* default */ "a"])(DrawPageMarkNode, _DrawCombineNode);
|
|
129040
129193
|
|
|
@@ -129208,13 +129361,22 @@ var DrawPageMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
129208
129361
|
markNum = dArea.index + 1;
|
|
129209
129362
|
} else {
|
|
129210
129363
|
// markNum = hoEditorFactory.drawTree.drawPages.length + hoEditorFactory.startPageNum;
|
|
129211
|
-
markNum = hoEditorFactory.drawTree.drawPages.length;
|
|
129364
|
+
markNum = hoEditorFactory.drawTree.drawPages.length;
|
|
129365
|
+
|
|
129366
|
+
if (hoEditorFactory.drawTree.paintStatus === _drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_20__[/* PaintState */ "b"].psPreview) {
|
|
129367
|
+
var cpage = hoEditorFactory.drawTree.drawPages[hoEditorFactory.drawTree.drawPages.length - 1];
|
|
129368
|
+
|
|
129369
|
+
if (cpage.drawMainDoc.children.length === 2 && cpage.drawMainDoc.children[1] && cpage.drawMainDoc.children[1].drawItems.length === 0) {
|
|
129370
|
+
markNum = hoEditorFactory.drawTree.drawPages.length - 1;
|
|
129371
|
+
}
|
|
129372
|
+
} // dMarkNode = new DrawPageCountNode(
|
|
129212
129373
|
// this._hoEditorFactory,
|
|
129213
129374
|
// markNode.rootPath,
|
|
129214
129375
|
// markNode as PageCountNode,
|
|
129215
129376
|
// 0,
|
|
129216
129377
|
// false
|
|
129217
129378
|
// );
|
|
129379
|
+
|
|
129218
129380
|
}
|
|
129219
129381
|
|
|
129220
129382
|
var dMarkNode = new DrawPageMarkNode(hoEditorFactoryID, markNode.rootPath, markNode, 0, markNum, false);
|
|
@@ -154338,17 +154500,6 @@ module.exports = function (it) {
|
|
|
154338
154500
|
};
|
|
154339
154501
|
|
|
154340
154502
|
|
|
154341
|
-
/***/ }),
|
|
154342
|
-
|
|
154343
|
-
/***/ "c933":
|
|
154344
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
154345
|
-
|
|
154346
|
-
"use strict";
|
|
154347
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PageSetting_vue_vue_type_style_index_0_id_187fdd38_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4dae");
|
|
154348
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PageSetting_vue_vue_type_style_index_0_id_187fdd38_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PageSetting_vue_vue_type_style_index_0_id_187fdd38_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
154349
|
-
/* unused harmony reexport * */
|
|
154350
|
-
|
|
154351
|
-
|
|
154352
154503
|
/***/ }),
|
|
154353
154504
|
|
|
154354
154505
|
/***/ "ca11":
|
|
@@ -159274,6 +159425,17 @@ function expressionCalculator(expr) {
|
|
|
159274
159425
|
return stNum[0]; // console.log(stNum[0]);
|
|
159275
159426
|
}
|
|
159276
159427
|
|
|
159428
|
+
/***/ }),
|
|
159429
|
+
|
|
159430
|
+
/***/ "de76":
|
|
159431
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
159432
|
+
|
|
159433
|
+
"use strict";
|
|
159434
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PageSetting_vue_vue_type_style_index_0_id_4b2e27ea_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8977");
|
|
159435
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PageSetting_vue_vue_type_style_index_0_id_4b2e27ea_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PageSetting_vue_vue_type_style_index_0_id_4b2e27ea_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
159436
|
+
/* unused harmony reexport * */
|
|
159437
|
+
|
|
159438
|
+
|
|
159277
159439
|
/***/ }),
|
|
159278
159440
|
|
|
159279
159441
|
/***/ "dee7":
|
|
@@ -164090,6 +164252,7 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
164090
164252
|
}
|
|
164091
164253
|
|
|
164092
164254
|
var rowPaintHeight = Math.min(rowRestHeight, pageRestHeight);
|
|
164255
|
+
var isEmptyRow = true; //是否绘制了一个单元格
|
|
164093
164256
|
|
|
164094
164257
|
for (var c = 0; c < this._table.colCount; c++) {
|
|
164095
164258
|
var _this$_table$getMainC3 = this._table.getMainCell(r, c),
|
|
@@ -164098,10 +164261,27 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
164098
164261
|
mr = _this$_table$getMainC4[1],
|
|
164099
164262
|
mc = _this$_table$getMainC4[2];
|
|
164100
164263
|
|
|
164264
|
+
if (cell && mc === c && mr + cell.rowSpan - 1 === r) {
|
|
164265
|
+
isEmptyRow = false;
|
|
164266
|
+
break;
|
|
164267
|
+
}
|
|
164268
|
+
}
|
|
164269
|
+
|
|
164270
|
+
if (isEmptyRow) {
|
|
164271
|
+
continue;
|
|
164272
|
+
}
|
|
164273
|
+
|
|
164274
|
+
for (var _c = 0; _c < this._table.colCount; _c++) {
|
|
164275
|
+
var _this$_table$getMainC5 = this._table.getMainCell(r, _c),
|
|
164276
|
+
_this$_table$getMainC6 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_this$_table$getMainC5, 3),
|
|
164277
|
+
_cell = _this$_table$getMainC6[0],
|
|
164278
|
+
_mr = _this$_table$getMainC6[1],
|
|
164279
|
+
_mc = _this$_table$getMainC6[2];
|
|
164280
|
+
|
|
164101
164281
|
var cellPaintHeight = rowPaintHeight; //同一行的合并列只绘制一次
|
|
164102
164282
|
//合并行只在最后一次重绘时绘制
|
|
164103
164283
|
|
|
164104
|
-
if (
|
|
164284
|
+
if (_cell && _mc === _c && (_mr + _cell.rowSpan - 1 === r || rowRestHeight > pageRestHeight - 10 || pageRestHeight - rowRestHeight < hoEditorFactory.defaultLineHeight // || r === this.startRow
|
|
164105
164285
|
)) {
|
|
164106
164286
|
var startDline = 0; // for (let j = mr + 1; j < mr + cell.rowSpan; j++) {
|
|
164107
164287
|
// cellRestHeight += this._table.rowInfos[j].rowHeight;
|
|
@@ -164111,27 +164291,28 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
164111
164291
|
var cellRowTop = aTop;
|
|
164112
164292
|
var cellMaxHeight = pageRestHeight;
|
|
164113
164293
|
|
|
164114
|
-
if (
|
|
164115
|
-
cellRowTop = this.getPageCellTop(
|
|
164294
|
+
if (_cell.rowSpan > 1) {
|
|
164295
|
+
cellRowTop = this.getPageCellTop(_cell);
|
|
164116
164296
|
cellMaxHeight = tableRestHeight - cellRowTop;
|
|
164117
164297
|
}
|
|
164118
164298
|
|
|
164119
|
-
if (index > 0 &&
|
|
164120
|
-
var dPartCell =
|
|
164299
|
+
if (index > 0 && _mr <= this._startRow) {
|
|
164300
|
+
var dPartCell = _cell.drawCell.getDrawPageCell(this._table.drawTable.drawPageTables[index - 1]);
|
|
164121
164301
|
|
|
164122
164302
|
if (dPartCell) {
|
|
164123
|
-
dHeight =
|
|
164303
|
+
dHeight = _cell.drawCell.getCellRestHeight(_cell.drawCell.drawPageCells.indexOf(dPartCell) - 1);
|
|
164124
164304
|
|
|
164125
164305
|
if (dPartCell.isEndLineFinished()) {
|
|
164126
164306
|
startDline = dPartCell.endDline + 1;
|
|
164127
164307
|
} else startDline = dPartCell.endDline;
|
|
164128
164308
|
}
|
|
164129
|
-
} else if (
|
|
164130
|
-
|
|
164309
|
+
} else if (_cell.drawCell.drawPageCells.length > 0) {
|
|
164310
|
+
_cell.drawCell.drawPageCells.length = 0;
|
|
164131
164311
|
}
|
|
164132
164312
|
|
|
164133
164313
|
cellPaintHeight = Math.min(dHeight, pageRestHeight);
|
|
164134
|
-
|
|
164314
|
+
|
|
164315
|
+
_cell.drawCell.paintCell(this, cellRowTop, cellPaintHeight, cellMaxHeight, startDline);
|
|
164135
164316
|
}
|
|
164136
164317
|
}
|
|
164137
164318
|
|
|
@@ -164253,11 +164434,11 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
164253
164434
|
var aHeight = 0;
|
|
164254
164435
|
|
|
164255
164436
|
for (var c = 0; c < this._table.colCount; c++) {
|
|
164256
|
-
var _this$_table$
|
|
164257
|
-
_this$_table$
|
|
164258
|
-
cell = _this$_table$
|
|
164259
|
-
mr = _this$_table$
|
|
164260
|
-
mc = _this$_table$
|
|
164437
|
+
var _this$_table$getMainC7 = this._table.getMainCell(row, c),
|
|
164438
|
+
_this$_table$getMainC8 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_this$_table$getMainC7, 3),
|
|
164439
|
+
cell = _this$_table$getMainC8[0],
|
|
164440
|
+
mr = _this$_table$getMainC8[1],
|
|
164441
|
+
mc = _this$_table$getMainC8[2];
|
|
164261
164442
|
|
|
164262
164443
|
if (mr + cell.rowSpan - 1 === row) {
|
|
164263
164444
|
var bHeight = this.getPartCellHeightAtRow(cell, mr, mc, row);
|
|
@@ -164317,11 +164498,11 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
164317
164498
|
var ret = true;
|
|
164318
164499
|
|
|
164319
164500
|
for (var c = 0; c < this._table.colCount; c++) {
|
|
164320
|
-
var _this$_table$
|
|
164321
|
-
_this$_table$
|
|
164322
|
-
cell = _this$_table$
|
|
164323
|
-
mr = _this$_table$
|
|
164324
|
-
mc = _this$_table$
|
|
164501
|
+
var _this$_table$getMainC9 = this._table.getMainCell(Math.min(this._endRow, this._table.rowCount - 1), c),
|
|
164502
|
+
_this$_table$getMainC10 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_this$_table$getMainC9, 3),
|
|
164503
|
+
cell = _this$_table$getMainC10[0],
|
|
164504
|
+
mr = _this$_table$getMainC10[1],
|
|
164505
|
+
mc = _this$_table$getMainC10[2];
|
|
164325
164506
|
|
|
164326
164507
|
if (cell) {
|
|
164327
164508
|
if (cell.rowSpan > 1 && mr + cell.rowSpan - 1 > this._endRow) {
|
|
@@ -164404,11 +164585,11 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
164404
164585
|
}
|
|
164405
164586
|
|
|
164406
164587
|
if (row >= 0 && col >= 0) {
|
|
164407
|
-
var _this$_table$
|
|
164408
|
-
_this$_table$
|
|
164409
|
-
cell = _this$_table$
|
|
164410
|
-
mr = _this$_table$
|
|
164411
|
-
mc = _this$_table$
|
|
164588
|
+
var _this$_table$getMainC11 = this._table.getMainCell(row, col),
|
|
164589
|
+
_this$_table$getMainC12 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_this$_table$getMainC11, 3),
|
|
164590
|
+
cell = _this$_table$getMainC12[0],
|
|
164591
|
+
mr = _this$_table$getMainC12[1],
|
|
164592
|
+
mc = _this$_table$getMainC12[2];
|
|
164412
164593
|
|
|
164413
164594
|
var ret = cell.drawCell.getDrawPageCell(this);
|
|
164414
164595
|
|
|
@@ -164441,11 +164622,11 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
164441
164622
|
var ar = r;
|
|
164442
164623
|
|
|
164443
164624
|
if (!cell) {
|
|
164444
|
-
var _this$_table$
|
|
164445
|
-
_this$_table$
|
|
164446
|
-
mainCell = _this$_table$
|
|
164447
|
-
mr = _this$_table$
|
|
164448
|
-
mc = _this$_table$
|
|
164625
|
+
var _this$_table$getMainC13 = this._table.getMainCell(r, c),
|
|
164626
|
+
_this$_table$getMainC14 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_this$_table$getMainC13, 3),
|
|
164627
|
+
mainCell = _this$_table$getMainC14[0],
|
|
164628
|
+
mr = _this$_table$getMainC14[1],
|
|
164629
|
+
mc = _this$_table$getMainC14[2];
|
|
164449
164630
|
|
|
164450
164631
|
cell = mainCell;
|
|
164451
164632
|
ar = mr;
|
|
@@ -164499,11 +164680,11 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
164499
164680
|
var rowPaintHeight = Math.min(rowRestHeight, pageRestHeight);
|
|
164500
164681
|
|
|
164501
164682
|
for (var c = 0; c < this._table.colCount; c++) {
|
|
164502
|
-
var _this$_table$
|
|
164503
|
-
_this$_table$
|
|
164504
|
-
cell = _this$_table$
|
|
164505
|
-
mr = _this$_table$
|
|
164506
|
-
mc = _this$_table$
|
|
164683
|
+
var _this$_table$getMainC15 = this._table.getMainCell(r, c),
|
|
164684
|
+
_this$_table$getMainC16 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_this$_table$getMainC15, 3),
|
|
164685
|
+
cell = _this$_table$getMainC16[0],
|
|
164686
|
+
mr = _this$_table$getMainC16[1],
|
|
164687
|
+
mc = _this$_table$getMainC16[2];
|
|
164507
164688
|
|
|
164508
164689
|
var cellRestHeight = rowPaintHeight; //同一行的合并列只绘制一次
|
|
164509
164690
|
|
|
@@ -164619,58 +164800,79 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
164619
164800
|
|
|
164620
164801
|
var rowFinished = true; //行是否绘制完成
|
|
164621
164802
|
|
|
164803
|
+
var isEmptyRow = true; //是否绘制了一个单元格
|
|
164804
|
+
|
|
164622
164805
|
for (var c = 0; c < this._table.colCount; c++) {
|
|
164623
|
-
var _this$_table$
|
|
164624
|
-
_this$_table$
|
|
164625
|
-
cell = _this$_table$
|
|
164626
|
-
mr = _this$_table$
|
|
164627
|
-
mc = _this$_table$
|
|
164806
|
+
var _this$_table$getMainC17 = this._table.getMainCell(r, c),
|
|
164807
|
+
_this$_table$getMainC18 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_this$_table$getMainC17, 3),
|
|
164808
|
+
cell = _this$_table$getMainC18[0],
|
|
164809
|
+
mr = _this$_table$getMainC18[1],
|
|
164810
|
+
mc = _this$_table$getMainC18[2];
|
|
164811
|
+
|
|
164812
|
+
if (cell && mc === c && mr + cell.rowSpan - 1 === r) {
|
|
164813
|
+
isEmptyRow = false;
|
|
164814
|
+
break;
|
|
164815
|
+
}
|
|
164816
|
+
}
|
|
164817
|
+
|
|
164818
|
+
if (isEmptyRow) {
|
|
164819
|
+
continue;
|
|
164820
|
+
}
|
|
164628
164821
|
|
|
164629
|
-
|
|
164822
|
+
for (var _c2 = 0; _c2 < this._table.colCount; _c2++) {
|
|
164823
|
+
var _this$_table$getMainC19 = this._table.getMainCell(r, _c2),
|
|
164824
|
+
_this$_table$getMainC20 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_this$_table$getMainC19, 3),
|
|
164825
|
+
_cell2 = _this$_table$getMainC20[0],
|
|
164826
|
+
_mr2 = _this$_table$getMainC20[1],
|
|
164827
|
+
_mc2 = _this$_table$getMainC20[2];
|
|
164828
|
+
|
|
164829
|
+
if (_cell2 && _mc2 === _c2 && (_mr2 + _cell2.rowSpan - 1 == r || rowRestHeight > pageRestHeight - 10 || pageRestHeight - rowRestHeight < hoEditorFactory.defaultLineHeight)) {
|
|
164630
164830
|
var startChildIndex = 0;
|
|
164631
164831
|
var partCellindex = -1;
|
|
164632
164832
|
var dPrevPartCell = null;
|
|
164633
164833
|
|
|
164634
|
-
if (prevdPageTable &&
|
|
164635
|
-
dPrevPartCell =
|
|
164834
|
+
if (prevdPageTable && _mr2 <= this._startRow) {
|
|
164835
|
+
dPrevPartCell = _cell2.drawCell.getDrawPageCell(prevdPageTable);
|
|
164636
164836
|
|
|
164637
164837
|
if (dPrevPartCell) {
|
|
164638
|
-
partCellindex =
|
|
164838
|
+
partCellindex = _cell2.drawCell.drawPageCells.indexOf(dPrevPartCell);
|
|
164639
164839
|
if (dPrevPartCell.isEndLineFinished()) startChildIndex = dPrevPartCell.endDline + 1;else startChildIndex = dPrevPartCell.endDline;
|
|
164640
164840
|
}
|
|
164641
164841
|
}
|
|
164642
164842
|
|
|
164643
164843
|
var dPartCell = void 0;
|
|
164644
164844
|
|
|
164645
|
-
var
|
|
164646
|
-
|
|
164647
|
-
aleft =
|
|
164648
|
-
awidth =
|
|
164845
|
+
var _cell2$getLeftWidth = _cell2.getLeftWidth(),
|
|
164846
|
+
_cell2$getLeftWidth2 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_cell2$getLeftWidth, 2),
|
|
164847
|
+
aleft = _cell2$getLeftWidth2[0],
|
|
164848
|
+
awidth = _cell2$getLeftWidth2[1];
|
|
164649
164849
|
|
|
164650
164850
|
var cellRowTop = rowTop;
|
|
164651
164851
|
var cellMaxHeight = pageRestHeight;
|
|
164652
164852
|
|
|
164653
|
-
if (
|
|
164654
|
-
cellRowTop = this.getPageCellTop(
|
|
164853
|
+
if (_cell2.rowSpan > 1) {
|
|
164854
|
+
cellRowTop = this.getPageCellTop(_cell2);
|
|
164655
164855
|
cellMaxHeight = tableRestHeight - cellRowTop;
|
|
164656
164856
|
}
|
|
164657
164857
|
|
|
164658
|
-
if (partCellindex ===
|
|
164858
|
+
if (partCellindex === _cell2.drawCell.drawPageCells.length - 1) {
|
|
164659
164859
|
bRowHeightChanged = true;
|
|
164660
|
-
dPartCell = new _DrawPageCell__WEBPACK_IMPORTED_MODULE_13__[/* DrawPageCell */ "a"](this.table.hoEditorFactoryID, this,
|
|
164661
|
-
|
|
164860
|
+
dPartCell = new _DrawPageCell__WEBPACK_IMPORTED_MODULE_13__[/* DrawPageCell */ "a"](this.table.hoEditorFactoryID, this, _cell2, aleft, cellRowTop, awidth, rowRestHeight, partCellindex + 1, startChildIndex, cellMaxHeight);
|
|
164861
|
+
|
|
164862
|
+
_cell2.drawCell.drawPageCells.push(dPartCell);
|
|
164863
|
+
|
|
164662
164864
|
dPartCell.y = cellRowTop;
|
|
164663
164865
|
dPartCell.x = aleft; //this.drawItems.push(dPartCell);
|
|
164664
164866
|
|
|
164665
164867
|
this.addChild(dPartCell);
|
|
164666
|
-
var ret = dPartCell.update(dPrevPartCell,
|
|
164868
|
+
var ret = dPartCell.update(dPrevPartCell, _cell2.drawCell.drawLines, startChildIndex, 0, cellMaxHeight);
|
|
164667
164869
|
dPartCell.y = cellRowTop;
|
|
164668
164870
|
rowFinished = rowFinished && ret;
|
|
164669
164871
|
} else {
|
|
164670
|
-
dPartCell =
|
|
164872
|
+
dPartCell = _cell2.drawCell.drawPageCells[partCellindex + 1];
|
|
164671
164873
|
|
|
164672
164874
|
if (dPartCell.parent !== this) {
|
|
164673
|
-
|
|
164875
|
+
_cell2.drawCell.needUpdate = true;
|
|
164674
164876
|
if (dPartCell.parent) dPartCell.parent.removeChild(dPartCell);
|
|
164675
164877
|
dPartCell.drawPageTable = this;
|
|
164676
164878
|
this.addChild(dPartCell);
|
|
@@ -164679,12 +164881,12 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
164679
164881
|
dPartCell.y = cellRowTop;
|
|
164680
164882
|
dPartCell.x = aleft;
|
|
164681
164883
|
|
|
164682
|
-
if (
|
|
164683
|
-
if (!
|
|
164684
|
-
|
|
164884
|
+
if (_cell2.drawCell.needUpdate || startChildIndex !== dPartCell.startDline || dPartCell.dHeight > pageRestHeight || dPartCell.dHeight + hoEditorFactory.defaultLineHeight < pageRestHeight && partCellindex + 1 < _cell2.drawCell.drawPageCells.length - 1 && !this._table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop) {
|
|
164885
|
+
if (!_cell2.drawCell.needUpdate) {
|
|
164886
|
+
_cell2.drawCell.needUpdate = true;
|
|
164685
164887
|
}
|
|
164686
164888
|
|
|
164687
|
-
if (r ===
|
|
164889
|
+
if (r === _mr2) {
|
|
164688
164890
|
dPartCell.maxHeight = pageRestHeight;
|
|
164689
164891
|
dPartCell.dHeight = Math.min(rowRestHeight, pageRestHeight);
|
|
164690
164892
|
} else {
|
|
@@ -164693,10 +164895,10 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
164693
164895
|
|
|
164694
164896
|
bRowHeightChanged = true;
|
|
164695
164897
|
|
|
164696
|
-
var _ret = dPartCell.update(dPrevPartCell,
|
|
164898
|
+
var _ret = dPartCell.update(dPrevPartCell, _cell2.drawCell.drawLines, startChildIndex, 0, cellMaxHeight);
|
|
164697
164899
|
|
|
164698
164900
|
rowFinished = rowFinished && _ret;
|
|
164699
|
-
} else if (
|
|
164901
|
+
} else if (_cell2.drawCell.drawPageCells.length > 1 && partCellindex + 1 < _cell2.drawCell.drawPageCells.length - 1 && !this._table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop) {
|
|
164700
164902
|
rowFinished = false;
|
|
164701
164903
|
}
|
|
164702
164904
|
}
|
|
@@ -164784,11 +164986,11 @@ var DrawPageTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
164784
164986
|
//跨行单元格只在绘制所跨最后一行时绘制
|
|
164785
164987
|
continue;
|
|
164786
164988
|
} else if (!cell) {
|
|
164787
|
-
var _this$_table$
|
|
164788
|
-
_this$_table$
|
|
164789
|
-
mainCell = _this$_table$
|
|
164790
|
-
mr = _this$_table$
|
|
164791
|
-
mc = _this$_table$
|
|
164989
|
+
var _this$_table$getMainC21 = this._table.getMainCell(r, j),
|
|
164990
|
+
_this$_table$getMainC22 = Object(D_project_createJS_demo_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(_this$_table$getMainC21, 3),
|
|
164991
|
+
mainCell = _this$_table$getMainC22[0],
|
|
164992
|
+
mr = _this$_table$getMainC22[1],
|
|
164993
|
+
mc = _this$_table$getMainC22[2];
|
|
164792
164994
|
|
|
164793
164995
|
if (mr + mainCell.rowSpan - 1 === r && mc === j) {
|
|
164794
164996
|
cell = mainCell;
|
|
@@ -180121,8 +180323,8 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
180121
180323
|
if (isPaste) {
|
|
180122
180324
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_15__[/* HOEditorFactorys */ "a"].instance().getFactory(hoEditorFactoryID);
|
|
180123
180325
|
|
|
180124
|
-
if (hoEditorFactory.vueController.
|
|
180125
|
-
json.id = hoEditorFactory.gernerateCode.generateID("DL");
|
|
180326
|
+
if (hoEditorFactory.vueController.getNodeByDataID("all", json.dataId)) {
|
|
180327
|
+
//json.id = hoEditorFactory.gernerateCode.generateID("DL");
|
|
180126
180328
|
json.dataId = hoEditorFactory.gernerateCode.generateID("DownList");
|
|
180127
180329
|
}
|
|
180128
180330
|
}
|
|
@@ -180403,12 +180605,15 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
180403
180605
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
180404
180606
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
180405
180607
|
|
|
180406
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
180407
|
-
var
|
|
180608
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=54326928&
|
|
180609
|
+
var HoDocsvue_type_template_id_54326928_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.hoEditorFactoryIdList.length > 0)?_c('div',{staticClass:"ho-docs"},[_c('section',{class:_vm.defaultEditJson.isFooter ? 'ho-editor-list' : 'ho-editor-list editor-no-footer',on:{"contextmenu":function($event){return _vm.blankAreaRightClick.apply(null, arguments)}}},[_vm._l((_vm.hoEditorFactoryIdList),function(hoEditorId,index){return [_c('HoDoc',{key:index,attrs:{"docIndex":index,"hoEditorId":hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"activeDocId":_vm.activeDocId,"editJson":_vm.defaultEditJson,"isUseTipText":_vm.isUseTipText},on:{"dblNodeClick":_vm.dblNodeClick,"setFontStyles":_vm.setFontStyles,"rightClickEvent":_vm.rightClickEvent,"setActiveDocIndex":_vm.setActiveDocIndex,"setActivePageIndex":_vm.setActivePageIndex,"drawPagesLengthChange":_vm.drawPagesLengthChange},scopedSlots:_vm._u([{key:"hoDocHead",fn:function(){return [_vm._t("hoHead")]},proxy:true},{key:"hoDocFoot",fn:function(){return [_vm._t("hoFoot")]},proxy:true}],null,true)})]})],2),(_vm.notUseModal)?_c('ControlModal',{attrs:{"hoEditorFactoryId":_vm.activeDocId,"controlProperty":_vm.controlProperty,"isDataSource":_vm.isDataSource,"isCustoms":_vm.isCustoms,"isListStyle":_vm.isListStyle},on:{"insertComments":_vm.insertComments,"closeControlmodal":_vm.closeControlModal},scopedSlots:_vm._u([{key:"hoTextModal",fn:function(){return [_vm._t("hoTextField")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlFindType)?_c('FindReplaceDialog',{attrs:{"hoEditorFactoryId":_vm.activeDocId}}):_vm._e(),(_vm.defaultEditJson.isFooter)?_c('HoFooter',{attrs:{"docProperty":_vm.defaultDocProperty,"hoEditorFactoryId":_vm.activeDocId,"drawPages":_vm.drawPageLength,"currentActivePages":_vm.activePageIndex}}):_vm._e(),_c('ViewContinuousXml',{attrs:{"hoEditorFactoryId":_vm.activeDocId}})],1):_vm._e()}
|
|
180408
180610
|
var staticRenderFns = []
|
|
180409
180611
|
|
|
180410
180612
|
|
|
180411
|
-
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=
|
|
180613
|
+
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=54326928&
|
|
180614
|
+
|
|
180615
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
|
|
180616
|
+
var slicedToArray = __webpack_require__("3835");
|
|
180412
180617
|
|
|
180413
180618
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
180414
180619
|
var toConsumableArray = __webpack_require__("2909");
|
|
@@ -181322,7 +181527,7 @@ function isPromise(obj) {
|
|
|
181322
181527
|
return obj instanceof Promise || (obj && typeof obj.then === 'function');
|
|
181323
181528
|
}
|
|
181324
181529
|
|
|
181325
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
181530
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=f60e2e72&
|
|
181326
181531
|
var HoDocvue_type_template_id_f60e2e72_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.docClassNames},[_c('div',{ref:"editorArea",staticClass:"editors"},[(_vm.drawPageLength > 0)?_c('div',{staticClass:"editor",on:{"click":function($event){return _vm.setActiveDocIndex(_vm.hoEditorId)}}},[_vm._l((_vm.drawPageCount.count),function(pgIndex){return [_c('HoPage',{key:pgIndex - 1,attrs:{"data-id":pgIndex - 1,"index":pgIndex - 1,"docIndex":_vm.docIndex,"canvasWidth":_vm.canvasParams.width,"canvasHeight":_vm.canvasParams.height,"currentActivePages":_vm.activePageIndex.index,"hoEditorId":_vm.hoEditorId,"hoEditorFactoryIdList":_vm.hoEditorFactoryIdList,"mouseMoveNodes":_vm.mouseMoveNodes,"viewableAreaObserver":_vm.viewableAreaObserver,"inViewPages":_vm.inViewPages,"canvasHeadFootPos":_vm.canvasHeadFootPos,"poperTipPos":_vm.poperTipPos},on:{"pageReady":_vm.pageReady,"canvasRightClick":_vm.mouseRightClickEvent},scopedSlots:_vm._u([{key:"hoPageHead",fn:function(){return [_vm._t("hoDocHead")]},proxy:true},{key:"hoPageFoot",fn:function(){return [_vm._t("hoDocFoot")]},proxy:true}],null,true)})]})],2):_vm._e()]),(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper')?_c('PoperSelectModal',{attrs:{"poperType":_vm.poperType,"poperSelectList":_vm.poperSelectList,"poperPos":_vm.poperPos,"hoEditorId":_vm.hoEditorId},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('PoperMark',{directives:[{name:"show",rawName:"v-show",value:(_vm.poperType === 'datePoper' || _vm.poperType === 'selectPoper' || _vm.poperType === 'table-cell-poper'),expression:"poperType === 'datePoper' || poperType === 'selectPoper' || poperType === 'table-cell-poper'"}]}),(_vm.poperType === 'table-cell-poper')?_c('TableCellPoper',{attrs:{"poperNode":_vm.nodeValue,"poperPos":_vm.poperPos},on:{"poperClose":_vm.poperClose}}):_vm._e(),_c('HoToPage',{attrs:{"hoEditorId":_vm.hoEditorId,"inViewPages":_vm.inViewPages}}),_c('PoperTipText',{attrs:{"isPoperText":_vm.isPoperText,"poperText":_vm.poperText,"poperPos":_vm.poperTextPos},on:{"poperTextClose":_vm.poperTextClose}}),_c('ul',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { return (_vm.isCreateRightMenuModal = false); }),expression:"() => (isCreateRightMenuModal = false)"},{name:"show",rawName:"v-show",value:(_vm.isCreateRightMenuModal),expression:"isCreateRightMenuModal"}],ref:"rightMenuModal",staticClass:"create-right-menu"},[(_vm.showCommentsBtn)?_c('li',{staticClass:"mouse-menu-item",on:{"click":_vm.hideComments}},[_vm._v(_vm._s(_vm.isHideComments ? "显示" : "隐藏")+"批注")]):_vm._e(),_c('li',{staticClass:"mouse-menu-item"},[_vm._v(" 编辑器内核版本: "),_c('span',{staticStyle:{"font-size":"14px","color":"#0a77e3"}},[_vm._v("v "+_vm._s(_vm.version))])])])],1)}
|
|
181327
181532
|
var HoDocvue_type_template_id_f60e2e72_staticRenderFns = []
|
|
181328
181533
|
|
|
@@ -181341,7 +181546,7 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
181341
181546
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
181342
181547
|
var es_string_replace = __webpack_require__("5319");
|
|
181343
181548
|
|
|
181344
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
181549
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoPage.vue?vue&type=template&id=3c7a5d8c&scoped=true&
|
|
181345
181550
|
var HoPagevue_type_template_id_3c7a5d8c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"hoPage",class:_vm.pageClassNames,style:({ height: _vm.canvasHeight + 'px', width: _vm.canvasWidth + 'px' })},[_c('canvas',{ref:"domcanvas",class:_vm.domCanvasName,attrs:{"width":_vm.doubleCanvasWidth,"height":_vm.doubleCanvasHeight}}),_c('canvas',{ref:"selectcanvas",staticClass:"selectcanvas",attrs:{"width":_vm.doubleCanvasWidth,"height":_vm.doubleCanvasHeight},on:{"contextmenu":function($event){return _vm.canvasRightClick.apply(null, arguments)}}}),(_vm.isHeadFoot === 'header' || _vm.isHeadFoot === 'footer')?_c('ho-head-foot',{attrs:{"headerFooterPosition":_vm.canvasHeadFootPos,"isHeadFoot":_vm.isHeadFoot},scopedSlots:_vm._u([{key:"head",fn:function(){return [_vm._t("hoPageHead")]},proxy:true},{key:"foot",fn:function(){return [_vm._t("hoPageFoot")]},proxy:true}],null,true)}):_vm._e()],1)}
|
|
181346
181551
|
var HoPagevue_type_template_id_3c7a5d8c_scoped_true_staticRenderFns = []
|
|
181347
181552
|
|
|
@@ -182522,7 +182727,7 @@ var DrawDomLevel_DrawDomLevel = /*#__PURE__*/function () {
|
|
|
182522
182727
|
|
|
182523
182728
|
return DrawDomLevel;
|
|
182524
182729
|
}();
|
|
182525
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
182730
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoHeadFoot.vue?vue&type=template&id=05ad976a&
|
|
182526
182731
|
var HoHeadFootvue_type_template_id_05ad976a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('ul',{staticClass:"ho-headfoot-list ho-head-list",style:(_vm.headTop)},[_c('li',{staticClass:"ho-headfoot-item"},[_vm._v("页眉")]),_c('span',{staticStyle:{"flex":"1"}}),_vm._t("head")],2),_c('ul',{staticClass:"ho-headfoot-list ho-head-list",style:(_vm.footerTop)},[_c('li',{staticClass:"ho-headfoot-item"},[_vm._v("页脚")]),_c('span',{staticStyle:{"flex":"1"}}),_vm._t("foot")],2)])}
|
|
182527
182732
|
var HoHeadFootvue_type_template_id_05ad976a_staticRenderFns = []
|
|
182528
182733
|
|
|
@@ -182899,7 +183104,7 @@ var HoPage_component = normalizeComponent(
|
|
|
182899
183104
|
)
|
|
182900
183105
|
|
|
182901
183106
|
/* harmony default export */ var components_HoPage = (HoPage_component.exports);
|
|
182902
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
183107
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/backToPage/HoToPage.vue?vue&type=template&id=2e02cb8f&
|
|
182903
183108
|
var HoToPagevue_type_template_id_2e02cb8f_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.visible)?_c('div',{staticClass:"ho-to-page",style:({
|
|
182904
183109
|
right: _vm.styleRight,
|
|
182905
183110
|
bottom: _vm.styleBottom,
|
|
@@ -183073,7 +183278,7 @@ var HoToPage_component = normalizeComponent(
|
|
|
183073
183278
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
183074
183279
|
var util = __webpack_require__("6ae4");
|
|
183075
183280
|
|
|
183076
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
183281
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=358907b7&scoped=true&
|
|
183077
183282
|
var PoperSelectvue_type_template_id_358907b7_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"poperSelectedModal",staticClass:"poper-selected-modal animation-in"},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch && !_vm.mutexSelect)?_c('div',{staticStyle:{"padding":"5px"}},[_c('el-input',{attrs:{"placeholder":_vm.currentListNameText + '搜索',"size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}})],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.currentList.length >= 0)?_c('div',{staticClass:"select-poper"},[_c('div',{staticClass:"list-box"},[(_vm.currentList.length == 0)?_c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])]):_vm._e(),(_vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.currentList.length > 0)?_c('el-checkbox-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedIds),callback:function ($$v) {_vm.selectedIds=$$v},expression:"selectedIds"}},[_c('RecycleScroller',{staticClass:"scroller",attrs:{"items":_vm.currentList,"item-size":32,"key-field":"id"},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
183078
183283
|
var item = ref.item;
|
|
183079
183284
|
return [(item.title)?_c('p',{staticClass:"poper-select-title"},[_vm._v(_vm._s(item.text))]):_vm._e(),(!item.title)?_c('el-checkbox',{key:item.id,attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")]):_vm._e()]}}],null,false,1647146796)})],1):_vm._e(),(_vm.isAllowMultiSelect && _vm.mutexSelect && _vm.currentList.length > 0)?[_c('el-checkbox-group',{on:{"change":_vm.mutexSelectItemsChange},model:{value:(_vm.mutexSelectedIds),callback:function ($$v) {_vm.mutexSelectedIds=$$v},expression:"mutexSelectedIds"}},[_vm._l((_vm.currentList),function(item,index){return [(index >= 1 && item.type != _vm.currentList[index - 1].type)?_c('p',{key:index + Math.random(),staticClass:"el-checkbox-mutex-line"}):_vm._e(),_c('el-checkbox',{key:item.id,attrs:{"label":item.id,"disabled":_vm.mutexType !== '' && _vm.mutexType != item.type}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])]})],2)]:_vm._e(),(!_vm.isAllowMultiSelect && _vm.currentList.length > 0)?_c('el-radio-group',{on:{"change":_vm.selectItemsChange},model:{value:(_vm.selectedId),callback:function ($$v) {_vm.selectedId=$$v},expression:"selectedId"}},_vm._l((_vm.currentList),function(item){return _c('el-radio',{key:item.id,attrs:{"label":item.id}},[_vm._v(" "+_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0])+" ")])}),1):_vm._e(),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && !_vm.mutexSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择",staticStyle:{"position":"absolute","top":"0px","z-index":"111","background":"#fff"}},[_vm._v("已选择"+_vm._s(_vm.currentListNameText))]),_vm._l((_vm.selectedList),function(item,index){return [_c('li',{key:item.id,staticClass:"drag-item selected",attrs:{"draggable":""},on:{"dragenter":function($event){return _vm.dragenter($event, index)},"dragover":function($event){return _vm.dragover($event, index)},"dragstart":function($event){return _vm.dragstart(index)}}},[_c('span',[_vm._v(_vm._s(item.text && item.text.indexOf("<元素>") !== -1 ? item.text.split("<元素>")[0] : item.text.split("<搜索>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.deleteItems(item, index)}}})])]})],2):_vm._e()],2)]):_vm._e(),(_vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1):_vm._e(),(_vm.poperType === 'selectPoper' && _vm.isAllowMultiSelect)?_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.cancelSelect}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e(),(_vm.poperType === 'datePoper')?_c('div',{staticClass:"date-poper"},[(_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('MM') && !_vm.dateTimeStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('yyyy') && !_vm.dateTimeStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.dateTimeStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v("此刻")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)],1):_vm._e()])}
|
|
@@ -183201,7 +183406,7 @@ var textParams = {
|
|
|
183201
183406
|
readType: false,
|
|
183202
183407
|
keyValue: ''
|
|
183203
183408
|
};
|
|
183204
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
183409
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/dateDialog/DatePanel.vue?vue&type=template&id=7e43cc0e&
|
|
183205
183410
|
var DatePanelvue_type_template_id_7e43cc0e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"component-date",class:_vm.customClass},[_c('div',{staticClass:"my-vue-date2 "},[_c('div',{staticClass:"date-header"},[_c('i',{staticClass:"el-icon-d-arrow-left last",on:{"click":_vm.last}}),_c('p',[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'year'),expression:"type === 'year'"}]},[_vm._v(_vm._s(_vm.yearTitle)+" 年")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.type !== 'year'),expression:"type !== 'year'"}],on:{"click":_vm.showYear}},[_vm._v(_vm._s(_vm.year)+" 年")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'date'),expression:"type === 'date'"}],on:{"click":_vm.showMonth}},[_vm._v(_vm._s(_vm.month)+" 月")])]),_c('i',{staticClass:"el-icon-d-arrow-right next",on:{"click":_vm.next}})]),_c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'year'),expression:"type === 'year'"}],staticClass:"years"},_vm._l((_vm.yearList),function(val){return _c('li',{key:val + Math.random(0, 1),class:_vm.nowYear == val ? 'active' : '',on:{"click":function($event){$event.stopPropagation();return _vm.getYear(val)}}},[_vm._v(_vm._s(val))])}),0),_c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'month'),expression:"type === 'month'"}],staticClass:"years "},_vm._l((12),function(i){return _c('li',{key:i,class:_vm.month == i ? 'active' : '',on:{"click":function($event){$event.stopPropagation();return _vm.getMonth(i)}}},[_vm._v(_vm._s(i)+"月")])}),0),_c('table',{directives:[{name:"show",rawName:"v-show",value:(_vm.type === 'date' && _vm.dateType === 'date'),expression:"type === 'date' && dateType === 'date'"}],attrs:{"colspan":"0","rowspan":"0"}},[_vm._m(0),_vm._l((_vm.rows),function(row,i){return _c('tr',{key:i},_vm._l((row),function(cell,n){return _c('td',{key:n,class:cell.date == _vm.nowDate ? 'today' : ''},[_c('span',{staticClass:"date-item",class:{ grey: cell.month == 'last' || cell.month == 'next', active: cell.date === _vm.date },attrs:{"title":cell.date},on:{"dblclick":function($event){return _vm.getDate(cell, $event, 'dblclick')},"click":function($event){return _vm.getDate(cell, $event)}}},[_vm._v(_vm._s(cell.text))])])}),0)})],2)])])}
|
|
183206
183411
|
var DatePanelvue_type_template_id_7e43cc0e_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('th',[_vm._v("日")]),_c('th',[_vm._v("一")]),_c('th',[_vm._v("二")]),_c('th',[_vm._v("三")]),_c('th',[_vm._v("四")]),_c('th',[_vm._v("五")]),_c('th',[_vm._v("六")])])}]
|
|
183207
183412
|
|
|
@@ -184328,7 +184533,7 @@ var PoperSelect_component = normalizeComponent(
|
|
|
184328
184533
|
)
|
|
184329
184534
|
|
|
184330
184535
|
/* harmony default export */ var PoperSelect = (PoperSelect_component.exports);
|
|
184331
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
184536
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperSelect/PoperMark.vue?vue&type=template&id=12c8c810&
|
|
184332
184537
|
var PoperMarkvue_type_template_id_12c8c810_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"poper-mark"})}
|
|
184333
184538
|
var PoperMarkvue_type_template_id_12c8c810_staticRenderFns = []
|
|
184334
184539
|
|
|
@@ -184390,7 +184595,7 @@ var PoperMark_component = normalizeComponent(
|
|
|
184390
184595
|
|
|
184391
184596
|
|
|
184392
184597
|
|
|
184393
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
184598
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=43382d6b&scoped=true&
|
|
184394
184599
|
var TableCellPopervue_type_template_id_43382d6b_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"cell-poper-selected-modal animation-in",style:(_vm.posStyle)},[_c('div',{staticStyle:{"height":"0","overflow":"hidden"}},[_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"selected"}},[_c('path',{attrs:{"d":"M498.688 1024c-26.996364 0-52.782545-11.636364-71.214545-32.395636L29.323636 536.017455a124.276364 124.276364 0 0 1 0-160.302546 89.181091 89.181091 0 0 1 132.747637-11.915636l11.264 11.915636L497.105455 749.288727 1133.102545 34.443636a88.994909 88.994909 0 0 1 129.489455-11.915636l11.357091 11.915636c39.098182 45.521455 39.098182 114.874182 0 160.395637l-705.629091 796.765091c-17.966545 20.48-43.194182 32.209455-69.632 32.395636","fill":"#2175FF"}})])])])]),(_vm.isCanSearch)?_c('el-input',{attrs:{"placeholder":"可搜索","size":"mini"},on:{"input":_vm.searchList},model:{value:(_vm.input),callback:function ($$v) {_vm.input=$$v},expression:"input"}}):_vm._e(),(_vm.editorProperty === 1)?_c('div',{staticClass:"select-poper"},[_c('ul',{staticClass:"list"},[_vm._l((_vm.currentList),function(item,index){return _c('li',{key:item.id,class:item.default ? 'selected' : '',on:{"click":function($event){return _vm.selectItems(item, index)}}},[_c('span',[_vm._v(_vm._s(item.text.split("<元素>")[0]))]),_c('svg',{attrs:{"viewBox":"0 0 1303 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#selected"}})])])}),(_vm.currentList.length === 0)?_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")]):_vm._e()],2),(_vm.isAllowMultiSelect)?_c('footer',{style:({ bottom: _vm.isAllowMultiSelect ? '-34px' : '0px' })},[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureSelect}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":function($event){_vm.selected = []}}},[_vm._v("清空")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1):_vm._e()]):_vm._e(),(_vm.editorProperty === 2)?_c('div',{staticClass:"date-poper"},[(_vm.inputStyle.includes('dd'))?_c('DatePanel',{attrs:{"value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.inputStyle.includes('MM') && !_vm.inputStyle.includes('dd'))?_c('DatePanel',{attrs:{"dateType":"month","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.inputStyle.includes('yyyy') && !_vm.inputStyle.includes('MM'))?_c('DatePanel',{attrs:{"dateType":"year","value":_vm.date},on:{"getValue":_vm.getTime}}):_vm._e(),(_vm.inputStyle.includes('HH'))?_c('div',{staticClass:"timepicker",staticStyle:{"padding":"8px 0"}},[_c('el-time-picker',{staticStyle:{"width":"200px"},attrs:{"type":"time","format":_vm.timeStyle,"value-format":_vm.timeStyle,"size":"mini"},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v},expression:"time"}})],1):_vm._e(),_c('footer',[_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.sureDate}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":_vm.currentDateTime}},[_vm._v(_vm._s(_vm.inputStyle.indexOf("HH") !== -1 ? "此刻" : "今天"))]),_c('el-button',{staticStyle:{"padding":"5px 13px"},attrs:{"size":"mini"},on:{"click":function($event){return _vm.handleClose('cancel')}}},[_vm._v("取消")])],1)],1):_vm._e()],1)}
|
|
184395
184600
|
var TableCellPopervue_type_template_id_43382d6b_scoped_true_staticRenderFns = []
|
|
184396
184601
|
|
|
@@ -186275,8 +186480,8 @@ var SignNode = __webpack_require__("2bc5");
|
|
|
186275
186480
|
var ParagraphNode = __webpack_require__("1551");
|
|
186276
186481
|
|
|
186277
186482
|
// CONCATENATED MODULE: ./src/components/version.ts
|
|
186278
|
-
/* harmony default export */ var version = ('2.0.
|
|
186279
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
186483
|
+
/* harmony default export */ var version = ('2.0.15');
|
|
186484
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=3fa4e4d3&scoped=true&
|
|
186280
186485
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShow),expression:"isShow"},{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"poperTextNode",staticClass:"poper-text-modal animation-in",style:(_vm.posStyle),on:{"mouseenter":_vm.mouseEnter,"mouseleave":_vm.mouseLeave}},_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])}),0)}
|
|
186281
186486
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
|
|
186282
186487
|
|
|
@@ -187170,9 +187375,6 @@ var DocController = __webpack_require__("3fe7");
|
|
|
187170
187375
|
// EXTERNAL MODULE: ./src/editor/dom/PageProperty.ts
|
|
187171
187376
|
var PageProperty = __webpack_require__("8d8b");
|
|
187172
187377
|
|
|
187173
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
|
|
187174
|
-
var slicedToArray = __webpack_require__("3835");
|
|
187175
|
-
|
|
187176
187378
|
// EXTERNAL MODULE: ./src/editor/draw/drawArea/DrawPageMainDoc.ts
|
|
187177
187379
|
var DrawPageMainDoc = __webpack_require__("65aa");
|
|
187178
187380
|
|
|
@@ -191404,6 +191606,7 @@ var StructureConvert_StructureConvert = /*#__PURE__*/function () {
|
|
|
191404
191606
|
var pageProperty = hoEditorFactory.pageProperty;
|
|
191405
191607
|
pageProperty.printDirection = Number(pageSettings.printDirection);
|
|
191406
191608
|
pageProperty.borderColor = pageSettings.borderColor;
|
|
191609
|
+
pageProperty.isPaintBorder = pageSettings.isPaintBorder == 'true' ? true : false;
|
|
191407
191610
|
pageProperty.paintRowLine = Number(pageSettings.paintRowLine);
|
|
191408
191611
|
pageProperty.pageSize = pageSettings.pageSize; // pageProperty.commentWidthMm = Number(pageSettings.commentWidthMm);
|
|
191409
191612
|
// pageProperty.commentWidthMm = pageProperty.commentWidthMm;
|
|
@@ -195958,9 +196161,9 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
195958
196161
|
|
|
195959
196162
|
}, {
|
|
195960
196163
|
key: "saveAsPDF",
|
|
195961
|
-
value: function saveAsPDF(pdfName, type) {
|
|
196164
|
+
value: function saveAsPDF(pdfName, type, isSpecial) {
|
|
195962
196165
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
195963
|
-
hoEditorFactory.printController.saveAsPDF(pdfName, type); // const fileType = type ? type : "pdf";
|
|
196166
|
+
hoEditorFactory.printController.saveAsPDF(pdfName, type, isSpecial); // const fileType = type ? type : "pdf";
|
|
195964
196167
|
// const fileName = pdfName ? pdfName : this.getDocTitle() ? this.getDocTitle() : "电子病历文档";
|
|
195965
196168
|
// // 保存打印前文档状态 和 内容
|
|
195966
196169
|
// const beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
@@ -196310,6 +196513,87 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
196310
196513
|
|
|
196311
196514
|
return node;
|
|
196312
196515
|
}
|
|
196516
|
+
/**
|
|
196517
|
+
* 根据节点id找节点
|
|
196518
|
+
* @param scope 查找区域 "all":所有区域 "header":页眉 "main":正文 "footer":页脚
|
|
196519
|
+
* @param id 节点dataid
|
|
196520
|
+
*/
|
|
196521
|
+
|
|
196522
|
+
}, {
|
|
196523
|
+
key: "getNodeByDataID",
|
|
196524
|
+
value: function getNodeByDataID(scope, dataid) {
|
|
196525
|
+
var node = null;
|
|
196526
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
196527
|
+
|
|
196528
|
+
var iteratesNodes = function iteratesNodes(nodes) {
|
|
196529
|
+
for (var i = 0; i < nodes.length; i++) {
|
|
196530
|
+
var anode = nodes[i];
|
|
196531
|
+
|
|
196532
|
+
if (anode instanceof ControlNode["a" /* ControlNode */] || anode instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
196533
|
+
if (anode.dataId === dataid) {
|
|
196534
|
+
node = anode;
|
|
196535
|
+
break;
|
|
196536
|
+
}
|
|
196537
|
+
}
|
|
196538
|
+
|
|
196539
|
+
if (anode instanceof BaseCombineNode["a" /* BaseCombineNode */]) {
|
|
196540
|
+
iteratesNodes(anode.childNodes);
|
|
196541
|
+
}
|
|
196542
|
+
}
|
|
196543
|
+
};
|
|
196544
|
+
|
|
196545
|
+
if (scope === "header") {
|
|
196546
|
+
var headerNodes = hoEditorFactory.docTree.headerNodes;
|
|
196547
|
+
|
|
196548
|
+
for (var h = 0; h < headerNodes.length; h++) {
|
|
196549
|
+
if (!headerNodes[h]) continue;
|
|
196550
|
+
iteratesNodes(headerNodes[h]);
|
|
196551
|
+
if (node) break;
|
|
196552
|
+
}
|
|
196553
|
+
}
|
|
196554
|
+
|
|
196555
|
+
if (scope === "main") {
|
|
196556
|
+
var mainNodes = hoEditorFactory.docTree.mainNodes;
|
|
196557
|
+
iteratesNodes(mainNodes);
|
|
196558
|
+
}
|
|
196559
|
+
|
|
196560
|
+
if (scope === "footer") {
|
|
196561
|
+
var footerNodes = hoEditorFactory.docTree.footerNodes;
|
|
196562
|
+
|
|
196563
|
+
for (var f = 0; f < footerNodes.length; f++) {
|
|
196564
|
+
if (!footerNodes[f]) continue;
|
|
196565
|
+
iteratesNodes(footerNodes[f]);
|
|
196566
|
+
if (node) break;
|
|
196567
|
+
}
|
|
196568
|
+
}
|
|
196569
|
+
|
|
196570
|
+
if (scope === "all") {
|
|
196571
|
+
var _headerNodes2 = hoEditorFactory.docTree.headerNodes;
|
|
196572
|
+
|
|
196573
|
+
for (var _h2 = 0; _h2 < _headerNodes2.length; _h2++) {
|
|
196574
|
+
if (!_headerNodes2[_h2]) continue;
|
|
196575
|
+
iteratesNodes(_headerNodes2[_h2]);
|
|
196576
|
+
if (node) break;
|
|
196577
|
+
}
|
|
196578
|
+
|
|
196579
|
+
if (!node) {
|
|
196580
|
+
var _mainNodes2 = hoEditorFactory.docTree.mainNodes;
|
|
196581
|
+
iteratesNodes(_mainNodes2);
|
|
196582
|
+
}
|
|
196583
|
+
|
|
196584
|
+
if (!node) {
|
|
196585
|
+
var _footerNodes2 = hoEditorFactory.docTree.footerNodes;
|
|
196586
|
+
|
|
196587
|
+
for (var _f2 = 0; _f2 < _footerNodes2.length; _f2++) {
|
|
196588
|
+
if (!_footerNodes2[_f2]) continue;
|
|
196589
|
+
iteratesNodes(_footerNodes2[_f2]);
|
|
196590
|
+
if (node) break;
|
|
196591
|
+
}
|
|
196592
|
+
}
|
|
196593
|
+
}
|
|
196594
|
+
|
|
196595
|
+
return node;
|
|
196596
|
+
}
|
|
196313
196597
|
/**
|
|
196314
196598
|
* 根据节点名称找节点
|
|
196315
196599
|
* @param scope 查找区域 "all":所有区域 "header":页眉 "main":正文 "footer":页脚
|
|
@@ -196373,10 +196657,10 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
196373
196657
|
}
|
|
196374
196658
|
|
|
196375
196659
|
if (scope === "all") {
|
|
196376
|
-
var
|
|
196660
|
+
var _headerNodes3 = hoEditorFactory.docTree.headerNodes;
|
|
196377
196661
|
|
|
196378
|
-
for (var
|
|
196379
|
-
iteratesNodes(
|
|
196662
|
+
for (var _h3 = 0; _h3 < _headerNodes3.length; _h3++) {
|
|
196663
|
+
iteratesNodes(_headerNodes3[_h3]);
|
|
196380
196664
|
|
|
196381
196665
|
if (!bFindAll && nodes.length > 0) {
|
|
196382
196666
|
break;
|
|
@@ -196384,15 +196668,108 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
196384
196668
|
}
|
|
196385
196669
|
|
|
196386
196670
|
if (bFindAll || !bFindAll && nodes.length === 0) {
|
|
196387
|
-
var
|
|
196388
|
-
iteratesNodes(
|
|
196671
|
+
var _mainNodes3 = hoEditorFactory.docTree.mainNodes;
|
|
196672
|
+
iteratesNodes(_mainNodes3);
|
|
196389
196673
|
}
|
|
196390
196674
|
|
|
196391
196675
|
if (bFindAll || !bFindAll && nodes.length === 0) {
|
|
196392
|
-
var
|
|
196676
|
+
var _footerNodes3 = hoEditorFactory.docTree.footerNodes;
|
|
196393
196677
|
|
|
196394
|
-
for (var
|
|
196395
|
-
iteratesNodes(
|
|
196678
|
+
for (var _f3 = 0; _f3 < _footerNodes3.length; _f3++) {
|
|
196679
|
+
iteratesNodes(_footerNodes3[_f3]);
|
|
196680
|
+
|
|
196681
|
+
if (!bFindAll && nodes.length > 0) {
|
|
196682
|
+
break;
|
|
196683
|
+
}
|
|
196684
|
+
}
|
|
196685
|
+
}
|
|
196686
|
+
}
|
|
196687
|
+
|
|
196688
|
+
return nodes;
|
|
196689
|
+
}
|
|
196690
|
+
/**
|
|
196691
|
+
* 根据节点名称找节点
|
|
196692
|
+
* @param scope 查找区域 "all":所有区域 "header":页眉 "main":正文 "footer":页脚
|
|
196693
|
+
* @param bFindAll 是否查找所有符合的 true:返回所有符合的 false:返回第一个符合的
|
|
196694
|
+
* @param name 节点id
|
|
196695
|
+
*/
|
|
196696
|
+
|
|
196697
|
+
}, {
|
|
196698
|
+
key: "getNodesById",
|
|
196699
|
+
value: function getNodesById(scope, bFindAll, id) {
|
|
196700
|
+
var nodes = [];
|
|
196701
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
196702
|
+
|
|
196703
|
+
var iteratesNodes = function iteratesNodes(pnodes) {
|
|
196704
|
+
for (var i = 0; i < pnodes.length; i++) {
|
|
196705
|
+
var anode = pnodes[i];
|
|
196706
|
+
|
|
196707
|
+
if (anode instanceof ControlNode["a" /* ControlNode */] || anode instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
196708
|
+
if (anode.id === id) {
|
|
196709
|
+
nodes.push(anode);
|
|
196710
|
+
|
|
196711
|
+
if (!bFindAll) {
|
|
196712
|
+
break;
|
|
196713
|
+
}
|
|
196714
|
+
}
|
|
196715
|
+
}
|
|
196716
|
+
|
|
196717
|
+
if (anode instanceof BaseCombineNode["a" /* BaseCombineNode */]) {
|
|
196718
|
+
iteratesNodes(anode.childNodes);
|
|
196719
|
+
}
|
|
196720
|
+
}
|
|
196721
|
+
};
|
|
196722
|
+
|
|
196723
|
+
if (scope === "header") {
|
|
196724
|
+
var headerNodes = hoEditorFactory.docTree.headerNodes;
|
|
196725
|
+
|
|
196726
|
+
for (var h = 0; h < headerNodes.length; h++) {
|
|
196727
|
+
iteratesNodes(headerNodes[h]);
|
|
196728
|
+
|
|
196729
|
+
if (!bFindAll && nodes.length > 0) {
|
|
196730
|
+
break;
|
|
196731
|
+
}
|
|
196732
|
+
}
|
|
196733
|
+
}
|
|
196734
|
+
|
|
196735
|
+
if (scope === "main") {
|
|
196736
|
+
var mainNodes = hoEditorFactory.docTree.mainNodes;
|
|
196737
|
+
iteratesNodes(mainNodes);
|
|
196738
|
+
}
|
|
196739
|
+
|
|
196740
|
+
if (scope === "footer") {
|
|
196741
|
+
var footerNodes = hoEditorFactory.docTree.footerNodes;
|
|
196742
|
+
|
|
196743
|
+
for (var f = 0; f < footerNodes.length; f++) {
|
|
196744
|
+
iteratesNodes(footerNodes[f]);
|
|
196745
|
+
|
|
196746
|
+
if (!bFindAll && nodes.length > 0) {
|
|
196747
|
+
break;
|
|
196748
|
+
}
|
|
196749
|
+
}
|
|
196750
|
+
}
|
|
196751
|
+
|
|
196752
|
+
if (scope === "all") {
|
|
196753
|
+
var _headerNodes4 = hoEditorFactory.docTree.headerNodes;
|
|
196754
|
+
|
|
196755
|
+
for (var _h4 = 0; _h4 < _headerNodes4.length; _h4++) {
|
|
196756
|
+
iteratesNodes(_headerNodes4[_h4]);
|
|
196757
|
+
|
|
196758
|
+
if (!bFindAll && nodes.length > 0) {
|
|
196759
|
+
break;
|
|
196760
|
+
}
|
|
196761
|
+
}
|
|
196762
|
+
|
|
196763
|
+
if (bFindAll || !bFindAll && nodes.length === 0) {
|
|
196764
|
+
var _mainNodes4 = hoEditorFactory.docTree.mainNodes;
|
|
196765
|
+
iteratesNodes(_mainNodes4);
|
|
196766
|
+
}
|
|
196767
|
+
|
|
196768
|
+
if (bFindAll || !bFindAll && nodes.length === 0) {
|
|
196769
|
+
var _footerNodes4 = hoEditorFactory.docTree.footerNodes;
|
|
196770
|
+
|
|
196771
|
+
for (var _f4 = 0; _f4 < _footerNodes4.length; _f4++) {
|
|
196772
|
+
iteratesNodes(_footerNodes4[_f4]);
|
|
196396
196773
|
|
|
196397
196774
|
if (!bFindAll && nodes.length > 0) {
|
|
196398
196775
|
break;
|
|
@@ -197731,15 +198108,18 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
197731
198108
|
var header = [];
|
|
197732
198109
|
var main = [];
|
|
197733
198110
|
var footer = [];
|
|
198111
|
+
var allArr = [];
|
|
197734
198112
|
|
|
197735
198113
|
var getAllNodes = function getAllNodes(nodes, arr) {
|
|
197736
|
-
|
|
198114
|
+
var _loop = function _loop(i) {
|
|
197737
198115
|
var node = nodes[i];
|
|
197738
198116
|
|
|
197739
198117
|
if (node instanceof DownListNode["a" /* DownListNode */] || node instanceof DateTimeNode["a" /* DateTimeNode */] || node instanceof TextInputFieldNode["f" /* TextInputFieldNode */] && node.childNodes.filter(function (child) {
|
|
197740
198118
|
return child instanceof TextInputFieldNode["f" /* TextInputFieldNode */];
|
|
197741
198119
|
}).length === 0) {
|
|
197742
|
-
if (
|
|
198120
|
+
if (arr.filter(function (v) {
|
|
198121
|
+
return v.name == node.name;
|
|
198122
|
+
}).length == 0) {
|
|
197743
198123
|
var elementObj = {
|
|
197744
198124
|
id: "",
|
|
197745
198125
|
name: "",
|
|
@@ -197748,7 +198128,8 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
197748
198128
|
innerIdentifier: "",
|
|
197749
198129
|
controlStyle: ""
|
|
197750
198130
|
};
|
|
197751
|
-
elementObj.id = node.id;
|
|
198131
|
+
elementObj.id = node.id; //elementObj.dataid = node.dataId;
|
|
198132
|
+
|
|
197752
198133
|
elementObj.name = node.name;
|
|
197753
198134
|
elementObj.text = node.text;
|
|
197754
198135
|
elementObj.innerIdentifier = node.innerIdentifier;
|
|
@@ -197764,6 +198145,10 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
197764
198145
|
if (node instanceof BaseCombineNode["a" /* BaseCombineNode */]) {
|
|
197765
198146
|
getAllNodes(node.childNodes, arr);
|
|
197766
198147
|
}
|
|
198148
|
+
};
|
|
198149
|
+
|
|
198150
|
+
for (var i = 0; i < nodes.length; i++) {
|
|
198151
|
+
_loop(i);
|
|
197767
198152
|
}
|
|
197768
198153
|
};
|
|
197769
198154
|
|
|
@@ -197771,23 +198156,19 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
197771
198156
|
|
|
197772
198157
|
for (var h = 0; h < headerNodes.length; h++) {
|
|
197773
198158
|
if (!headerNodes[h]) continue;
|
|
197774
|
-
getAllNodes(headerNodes[h],
|
|
198159
|
+
getAllNodes(headerNodes[h], allArr);
|
|
197775
198160
|
}
|
|
197776
198161
|
|
|
197777
198162
|
var mainNodes = hoEditorFactory.docTree.mainNodes;
|
|
197778
|
-
getAllNodes(mainNodes,
|
|
198163
|
+
getAllNodes(mainNodes, allArr);
|
|
197779
198164
|
var footerNodes = hoEditorFactory.docTree.footerNodes;
|
|
197780
198165
|
|
|
197781
198166
|
for (var f = 0; f < footerNodes.length; f++) {
|
|
197782
198167
|
if (!footerNodes[f]) continue;
|
|
197783
|
-
getAllNodes(footerNodes[f],
|
|
198168
|
+
getAllNodes(footerNodes[f], allArr);
|
|
197784
198169
|
}
|
|
197785
198170
|
|
|
197786
|
-
return
|
|
197787
|
-
header: header,
|
|
197788
|
-
main: main,
|
|
197789
|
-
footer: footer
|
|
197790
|
-
};
|
|
198171
|
+
return allArr;
|
|
197791
198172
|
}
|
|
197792
198173
|
/**
|
|
197793
198174
|
* 根据元素id更新元素(引用元素用)
|
|
@@ -197837,77 +198218,100 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
197837
198218
|
}, {
|
|
197838
198219
|
key: "updateElementText",
|
|
197839
198220
|
value: function () {
|
|
197840
|
-
var _updateElementText = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(scope,
|
|
197841
|
-
var node;
|
|
198221
|
+
var _updateElementText = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(scope, name, text) {
|
|
198222
|
+
var nodes, i, node;
|
|
197842
198223
|
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
197843
198224
|
while (1) {
|
|
197844
198225
|
switch (_context5.prev = _context5.next) {
|
|
197845
198226
|
case 0:
|
|
197846
|
-
|
|
198227
|
+
if (!(name === "" || name === "请输入" || name === "请选择")) {
|
|
198228
|
+
_context5.next = 2;
|
|
198229
|
+
break;
|
|
198230
|
+
}
|
|
197847
198231
|
|
|
197848
|
-
|
|
197849
|
-
|
|
198232
|
+
return _context5.abrupt("return");
|
|
198233
|
+
|
|
198234
|
+
case 2:
|
|
198235
|
+
nodes = this.getNodesByName(scope, true, name);
|
|
198236
|
+
|
|
198237
|
+
if (!(nodes.length > 0)) {
|
|
198238
|
+
_context5.next = 29;
|
|
197850
198239
|
break;
|
|
197851
198240
|
}
|
|
197852
198241
|
|
|
197853
|
-
|
|
197854
|
-
|
|
198242
|
+
i = nodes.length - 1;
|
|
198243
|
+
|
|
198244
|
+
case 5:
|
|
198245
|
+
if (!(i >= 0)) {
|
|
198246
|
+
_context5.next = 27;
|
|
197855
198247
|
break;
|
|
197856
198248
|
}
|
|
197857
198249
|
|
|
197858
|
-
|
|
197859
|
-
|
|
198250
|
+
node = nodes[i];
|
|
198251
|
+
|
|
198252
|
+
if (!node) {
|
|
198253
|
+
_context5.next = 23;
|
|
198254
|
+
break;
|
|
198255
|
+
}
|
|
198256
|
+
|
|
198257
|
+
if (!(node instanceof DateTimeNode["a" /* DateTimeNode */] || node instanceof DownListNode["a" /* DownListNode */] || node instanceof TextInputFieldNode["f" /* TextInputFieldNode */])) {
|
|
198258
|
+
_context5.next = 20;
|
|
197860
198259
|
break;
|
|
197861
198260
|
}
|
|
197862
198261
|
|
|
197863
198262
|
if (!(node instanceof TextInputFieldNode["f" /* TextInputFieldNode */])) {
|
|
197864
|
-
_context5.next =
|
|
198263
|
+
_context5.next = 12;
|
|
197865
198264
|
break;
|
|
197866
198265
|
}
|
|
197867
198266
|
|
|
197868
|
-
_context5.next =
|
|
198267
|
+
_context5.next = 12;
|
|
197869
198268
|
return node.setFieldText(text);
|
|
197870
198269
|
|
|
197871
|
-
case
|
|
198270
|
+
case 12:
|
|
197872
198271
|
if (!(node instanceof DateTimeNode["a" /* DateTimeNode */])) {
|
|
197873
|
-
_context5.next =
|
|
198272
|
+
_context5.next = 15;
|
|
197874
198273
|
break;
|
|
197875
198274
|
}
|
|
197876
198275
|
|
|
197877
|
-
_context5.next =
|
|
198276
|
+
_context5.next = 15;
|
|
197878
198277
|
return node.setDateTimeText(text);
|
|
197879
198278
|
|
|
197880
|
-
case
|
|
198279
|
+
case 15:
|
|
197881
198280
|
if (!(node instanceof DownListNode["a" /* DownListNode */])) {
|
|
197882
|
-
_context5.next =
|
|
198281
|
+
_context5.next = 18;
|
|
197883
198282
|
break;
|
|
197884
198283
|
}
|
|
197885
198284
|
|
|
197886
|
-
_context5.next =
|
|
198285
|
+
_context5.next = 18;
|
|
197887
198286
|
return node.setDownListText(text);
|
|
197888
198287
|
|
|
197889
|
-
case
|
|
197890
|
-
_context5.next =
|
|
198288
|
+
case 18:
|
|
198289
|
+
_context5.next = 21;
|
|
197891
198290
|
break;
|
|
197892
198291
|
|
|
197893
|
-
case
|
|
197894
|
-
throw new Error("根据元素
|
|
198292
|
+
case 20:
|
|
198293
|
+
throw new Error("根据元素name:" + name + "定位到的元素非可回填元素");
|
|
197895
198294
|
|
|
197896
|
-
case
|
|
197897
|
-
_context5.next =
|
|
198295
|
+
case 21:
|
|
198296
|
+
_context5.next = 24;
|
|
197898
198297
|
break;
|
|
197899
198298
|
|
|
197900
|
-
case
|
|
197901
|
-
throw new Error("根据元素
|
|
198299
|
+
case 23:
|
|
198300
|
+
throw new Error("根据元素name:" + name + "未找到对应的元素");
|
|
197902
198301
|
|
|
197903
|
-
case
|
|
197904
|
-
|
|
198302
|
+
case 24:
|
|
198303
|
+
i--;
|
|
198304
|
+
_context5.next = 5;
|
|
197905
198305
|
break;
|
|
197906
198306
|
|
|
197907
|
-
case
|
|
197908
|
-
|
|
198307
|
+
case 27:
|
|
198308
|
+
_context5.next = 30;
|
|
198309
|
+
break;
|
|
197909
198310
|
|
|
197910
|
-
case
|
|
198311
|
+
case 29:
|
|
198312
|
+
throw new Error("根据元素name:" + name + "未找到对应的元素");
|
|
198313
|
+
|
|
198314
|
+
case 30:
|
|
197911
198315
|
case "end":
|
|
197912
198316
|
return _context5.stop();
|
|
197913
198317
|
}
|
|
@@ -197959,7 +198363,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
197959
198363
|
|
|
197960
198364
|
}, {
|
|
197961
198365
|
key: "createPNG",
|
|
197962
|
-
value: function createPNG() {
|
|
198366
|
+
value: function createPNG(quality) {
|
|
197963
198367
|
var _this = this;
|
|
197964
198368
|
|
|
197965
198369
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
@@ -197981,7 +198385,8 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
197981
198385
|
|
|
197982
198386
|
var png = document.createElement("img");
|
|
197983
198387
|
var canvas = (_drawpage$drawDomLeve = drawpage.drawDomLevel) === null || _drawpage$drawDomLeve === void 0 ? void 0 : _drawpage$drawDomLeve.domCanvas;
|
|
197984
|
-
|
|
198388
|
+
var imgQuality = quality ? quality : 0.8;
|
|
198389
|
+
png.src = canvas.toDataURL("image/jpeg", imgQuality);
|
|
197985
198390
|
pngBox.appendChild(png);
|
|
197986
198391
|
});
|
|
197987
198392
|
pngBox.id = "hoImageFileBox";
|
|
@@ -200047,6 +200452,10 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200047
200452
|
|
|
200048
200453
|
this._waitSavepdf = false; // 生成pdf等待
|
|
200049
200454
|
|
|
200455
|
+
this._a4Size = {
|
|
200456
|
+
p: [793, 1122],
|
|
200457
|
+
l: [1122, 793]
|
|
200458
|
+
};
|
|
200050
200459
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
200051
200460
|
}
|
|
200052
200461
|
/**
|
|
@@ -200081,7 +200490,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200081
200490
|
|
|
200082
200491
|
}, {
|
|
200083
200492
|
key: "saveAsPDF",
|
|
200084
|
-
value: function saveAsPDF(pdfName, type) {
|
|
200493
|
+
value: function saveAsPDF(pdfName, type, isSpecial) {
|
|
200085
200494
|
var _this = this;
|
|
200086
200495
|
|
|
200087
200496
|
if (!this._isSetFont) {
|
|
@@ -200094,7 +200503,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200094
200503
|
var fileName = pdfName ? pdfName : hoEditorFactory.vueController.getDocTitle() ? hoEditorFactory.vueController.getDocTitle() : "电子病历文档"; // 保存打印前文档状态 和 内容
|
|
200095
200504
|
|
|
200096
200505
|
var beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
200097
|
-
var xml = hoEditorFactory.vueController.getDocXml();
|
|
200506
|
+
var xml = hoEditorFactory.vueController.getDocXml(true);
|
|
200098
200507
|
var hPromise = Promise.resolve();
|
|
200099
200508
|
hPromise = hPromise.then(function () {
|
|
200100
200509
|
return new Promise(function (resolve) {
|
|
@@ -200106,16 +200515,22 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200106
200515
|
hPromise = hPromise.then(function () {
|
|
200107
200516
|
return new Promise(function (resolve) {
|
|
200108
200517
|
var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
200518
|
+
var format = [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes];
|
|
200519
|
+
|
|
200520
|
+
if (hoEditorFactory.isFixedPrintToA4 && isSpecial) {
|
|
200521
|
+
format = _this._a4Size[orientation];
|
|
200522
|
+
}
|
|
200523
|
+
|
|
200109
200524
|
var options = {
|
|
200110
200525
|
orientation: orientation,
|
|
200111
|
-
unit:
|
|
200112
|
-
format:
|
|
200526
|
+
unit: "px",
|
|
200527
|
+
format: format,
|
|
200113
200528
|
hotfixes: ["px_scaling"]
|
|
200114
200529
|
}; // const PDF = new JsPDF(orientation, "px", [hoEditorFactory.pageProperty.widthMm, hoEditorFactory.pageProperty.heightMm], false, true, );
|
|
200115
200530
|
|
|
200116
200531
|
var PDF = new jspdf_es_min["d" /* default */](options);
|
|
200117
200532
|
PDF.setFont("SimSun");
|
|
200118
|
-
PrintStatus["a" /* Print */].printToPDF(_this._hoEditorFactoryID, PDF, fileType, fileName, resolve);
|
|
200533
|
+
PrintStatus["a" /* Print */].printToPDF(_this._hoEditorFactoryID, PDF, fileType, fileName, resolve, undefined, format);
|
|
200119
200534
|
});
|
|
200120
200535
|
});
|
|
200121
200536
|
hPromise.then(function (resolve) {
|
|
@@ -200187,15 +200602,21 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200187
200602
|
if (res) {
|
|
200188
200603
|
return new Promise(function (reslove, reject) {
|
|
200189
200604
|
var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
200605
|
+
var format = [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes];
|
|
200606
|
+
|
|
200607
|
+
if (hoEditorFactory.isFixedPrintToA4) {
|
|
200608
|
+
format = _this2._a4Size[orientation];
|
|
200609
|
+
}
|
|
200610
|
+
|
|
200190
200611
|
var options = {
|
|
200191
200612
|
orientation: orientation,
|
|
200192
|
-
unit:
|
|
200193
|
-
format:
|
|
200613
|
+
unit: "px",
|
|
200614
|
+
format: format,
|
|
200194
200615
|
hotfixes: ["px_scaling"]
|
|
200195
200616
|
};
|
|
200196
200617
|
var PDF = new jspdf_es_min["d" /* default */](options);
|
|
200197
200618
|
PDF.setFont("SimSun");
|
|
200198
|
-
PrintStatus["a" /* Print */].printToPDF(_this2._hoEditorFactoryID, PDF, undefined, undefined, reslove);
|
|
200619
|
+
PrintStatus["a" /* Print */].printToPDF(_this2._hoEditorFactoryID, PDF, undefined, undefined, reslove, undefined, format);
|
|
200199
200620
|
});
|
|
200200
200621
|
}
|
|
200201
200622
|
}).then(function (res) {
|
|
@@ -200204,7 +200625,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200204
200625
|
hoEditorFactory.printStatus.printRange = 2;
|
|
200205
200626
|
hoEditorFactory.printStatus.drawPrintRecord.clear();
|
|
200206
200627
|
hoEditorFactory.printStatus.clearArea();
|
|
200207
|
-
hoEditorFactory.
|
|
200628
|
+
hoEditorFactory.drawTree.rebuildAllDrawLine(false);
|
|
200208
200629
|
}
|
|
200209
200630
|
});
|
|
200210
200631
|
}
|
|
@@ -200278,7 +200699,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200278
200699
|
hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // 保存打印前文档状态 和 内容
|
|
200279
200700
|
|
|
200280
200701
|
beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
200281
|
-
xml = hoEditorFactory.vueController.getDocXml(); // 提前设置打印预览状态 合并后减少一次重绘时间
|
|
200702
|
+
xml = hoEditorFactory.vueController.getDocXml(true); // 提前设置打印预览状态 合并后减少一次重绘时间
|
|
200282
200703
|
|
|
200283
200704
|
if (!hoEditorFactory.isHideComments) {
|
|
200284
200705
|
hoEditorFactory.vueController.hideComments(true);
|
|
@@ -200316,24 +200737,42 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200316
200737
|
hPromise = hPromise.then(function () {
|
|
200317
200738
|
return new Promise( /*#__PURE__*/function () {
|
|
200318
200739
|
var _ref = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(resolve) {
|
|
200319
|
-
var
|
|
200740
|
+
var _hoEditorFactory$draw;
|
|
200741
|
+
|
|
200742
|
+
var lastPage, orientation, format, options, PDF;
|
|
200320
200743
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
200321
200744
|
while (1) {
|
|
200322
200745
|
switch (_context.prev = _context.next) {
|
|
200323
200746
|
case 0:
|
|
200747
|
+
lastPage = (_hoEditorFactory$draw = hoEditorFactory.drawTree.drawPages[hoEditorFactory.drawTree.drawPages.length - 1]) === null || _hoEditorFactory$draw === void 0 ? void 0 : _hoEditorFactory$draw.drawMainDoc;
|
|
200748
|
+
|
|
200749
|
+
if (!(lastPage.children.length == 0 || lastPage.children.length > 0 && lastPage.children[0].rootPath)) {
|
|
200750
|
+
_context.next = 4;
|
|
200751
|
+
break;
|
|
200752
|
+
}
|
|
200753
|
+
|
|
200754
|
+
_context.next = 4;
|
|
200755
|
+
return hoEditorFactory.drawTree.rebuildAllDrawLine(false);
|
|
200756
|
+
|
|
200757
|
+
case 4:
|
|
200324
200758
|
orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
200759
|
+
format = [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes];
|
|
200760
|
+
|
|
200761
|
+
if (hoEditorFactory.isFixedPrintToA4) {
|
|
200762
|
+
format = _this3._a4Size[orientation];
|
|
200763
|
+
}
|
|
200764
|
+
|
|
200325
200765
|
options = {
|
|
200326
200766
|
orientation: orientation,
|
|
200327
|
-
unit:
|
|
200328
|
-
format:
|
|
200767
|
+
unit: "px",
|
|
200768
|
+
format: format,
|
|
200329
200769
|
hotfixes: ["px_scaling"]
|
|
200330
200770
|
};
|
|
200331
200771
|
PDF = new jspdf_es_min["d" /* default */](options);
|
|
200332
|
-
PDF.setFont("SimSun");
|
|
200333
|
-
|
|
200334
|
-
PrintStatus["a" /* Print */].printToPDF(_this3._hoEditorFactoryID, PDF, undefined, undefined, resolve, positionY);
|
|
200772
|
+
PDF.setFont("SimSun");
|
|
200773
|
+
PrintStatus["a" /* Print */].printToPDF(_this3._hoEditorFactoryID, PDF, undefined, undefined, resolve, positionY, format);
|
|
200335
200774
|
|
|
200336
|
-
case
|
|
200775
|
+
case 11:
|
|
200337
200776
|
case "end":
|
|
200338
200777
|
return _context.stop();
|
|
200339
200778
|
}
|
|
@@ -200420,13 +200859,13 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200420
200859
|
}, {
|
|
200421
200860
|
key: "pintAllToPDF",
|
|
200422
200861
|
value: function () {
|
|
200423
|
-
var _pintAllToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function
|
|
200862
|
+
var _pintAllToPDF = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(xmlList) {
|
|
200424
200863
|
var _this4 = this;
|
|
200425
200864
|
|
|
200426
|
-
var hoEditorFactory, beforePrintStatus, xml, xmlIndex, PDF, loadingInstance, callback, toPrint, createSvg;
|
|
200427
|
-
return regeneratorRuntime.wrap(function
|
|
200865
|
+
var hoEditorFactory, beforePrintStatus, xml, xmlIndex, PDF, loadingInstance, callback, format, toPrint, createSvg;
|
|
200866
|
+
return regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
200428
200867
|
while (1) {
|
|
200429
|
-
switch (
|
|
200868
|
+
switch (_context5.prev = _context5.next) {
|
|
200430
200869
|
case 0:
|
|
200431
200870
|
hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
200432
200871
|
beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
@@ -200451,52 +200890,109 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200451
200890
|
loadingInstance.text = "正在加载病历文件:" + params.text;
|
|
200452
200891
|
};
|
|
200453
200892
|
|
|
200454
|
-
|
|
200455
|
-
PrintStatus["a" /* Print */].printAllXml(_this4._hoEditorFactoryID, createSvg, PDF);
|
|
200456
|
-
};
|
|
200893
|
+
format = [0, 0];
|
|
200457
200894
|
|
|
200458
|
-
|
|
200459
|
-
|
|
200460
|
-
|
|
200461
|
-
|
|
200462
|
-
|
|
200463
|
-
|
|
200464
|
-
|
|
200465
|
-
|
|
200466
|
-
|
|
200467
|
-
|
|
200468
|
-
|
|
200469
|
-
|
|
200470
|
-
|
|
200471
|
-
|
|
200472
|
-
|
|
200895
|
+
toPrint = /*#__PURE__*/function () {
|
|
200896
|
+
var _ref2 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(status) {
|
|
200897
|
+
var _hoEditorFactory$draw2;
|
|
200898
|
+
|
|
200899
|
+
var lastPage;
|
|
200900
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
200901
|
+
while (1) {
|
|
200902
|
+
switch (_context3.prev = _context3.next) {
|
|
200903
|
+
case 0:
|
|
200904
|
+
lastPage = (_hoEditorFactory$draw2 = hoEditorFactory.drawTree.drawPages[hoEditorFactory.drawTree.drawPages.length - 1]) === null || _hoEditorFactory$draw2 === void 0 ? void 0 : _hoEditorFactory$draw2.drawMainDoc;
|
|
200905
|
+
|
|
200906
|
+
if (!(lastPage.children.length == 0 || lastPage.children.length > 0 && lastPage.children[0].rootPath)) {
|
|
200907
|
+
_context3.next = 4;
|
|
200908
|
+
break;
|
|
200909
|
+
}
|
|
200910
|
+
|
|
200911
|
+
_context3.next = 4;
|
|
200912
|
+
return hoEditorFactory.drawTree.rebuildAllDrawLine(false);
|
|
200913
|
+
|
|
200914
|
+
case 4:
|
|
200915
|
+
PrintStatus["a" /* Print */].printAllXml(_this4._hoEditorFactoryID, createSvg, PDF, undefined, format);
|
|
200916
|
+
|
|
200917
|
+
case 5:
|
|
200918
|
+
case "end":
|
|
200919
|
+
return _context3.stop();
|
|
200920
|
+
}
|
|
200473
200921
|
}
|
|
200922
|
+
}, _callee3);
|
|
200923
|
+
}));
|
|
200474
200924
|
|
|
200475
|
-
|
|
200476
|
-
|
|
200477
|
-
|
|
200478
|
-
|
|
200479
|
-
|
|
200925
|
+
return function toPrint(_x4) {
|
|
200926
|
+
return _ref2.apply(this, arguments);
|
|
200927
|
+
};
|
|
200928
|
+
}();
|
|
200929
|
+
|
|
200930
|
+
createSvg = /*#__PURE__*/function () {
|
|
200931
|
+
var _ref3 = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
|
200932
|
+
var name;
|
|
200933
|
+
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
200934
|
+
while (1) {
|
|
200935
|
+
switch (_context4.prev = _context4.next) {
|
|
200936
|
+
case 0:
|
|
200937
|
+
xmlIndex++;
|
|
200938
|
+
|
|
200939
|
+
if (xmlIndex <= xmlList.length - 1) {
|
|
200940
|
+
Promise.all([hoEditorFactory.vueController.openXml(xmlList[xmlIndex], callback)]).then(function () {
|
|
200941
|
+
if (xmlIndex === 0) {
|
|
200942
|
+
var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
200943
|
+
format = [hoEditorFactory.pageProperty.widthPixes, hoEditorFactory.pageProperty.heightPixes];
|
|
200944
|
+
|
|
200945
|
+
if (hoEditorFactory.isFixedPrintToA4) {
|
|
200946
|
+
format = _this4._a4Size[orientation];
|
|
200947
|
+
}
|
|
200948
|
+
|
|
200949
|
+
var options = {
|
|
200950
|
+
orientation: orientation,
|
|
200951
|
+
unit: "px",
|
|
200952
|
+
format: format,
|
|
200953
|
+
hotfixes: ["px_scaling"]
|
|
200954
|
+
};
|
|
200955
|
+
PDF = new jspdf_es_min["d" /* default */](options);
|
|
200956
|
+
PDF.setFont("SimSun");
|
|
200957
|
+
}
|
|
200958
|
+
|
|
200959
|
+
if (hoEditorFactory.loadImageCount === 0) {
|
|
200960
|
+
toPrint();
|
|
200961
|
+
hoEditorFactory.loadImageCallback = null;
|
|
200962
|
+
} else {
|
|
200963
|
+
hoEditorFactory.loadImageCallback = toPrint;
|
|
200964
|
+
}
|
|
200965
|
+
});
|
|
200966
|
+
} else if (xmlIndex > xmlList.length - 1) {
|
|
200967
|
+
loadingInstance && loadingInstance.close();
|
|
200968
|
+
hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
|
|
200969
|
+
hoEditorFactory.vueController.openXml(xml);
|
|
200970
|
+
PDF.deletePage(1);
|
|
200971
|
+
name = hoEditorFactory.vueController.getDocTitle() ? hoEditorFactory.vueController.getDocTitle() : "电子病历文档";
|
|
200972
|
+
PrintStatus["a" /* Print */].openDataUriInWindow(PDF, name, hoEditorFactory.pageProperty.widthPixes);
|
|
200973
|
+
}
|
|
200974
|
+
|
|
200975
|
+
case 2:
|
|
200976
|
+
case "end":
|
|
200977
|
+
return _context4.stop();
|
|
200978
|
+
}
|
|
200480
200979
|
}
|
|
200481
|
-
});
|
|
200482
|
-
}
|
|
200483
|
-
|
|
200484
|
-
|
|
200485
|
-
|
|
200486
|
-
|
|
200487
|
-
|
|
200488
|
-
PrintStatus["a" /* Print */].openDataUriInWindow(PDF, name, hoEditorFactory.pageProperty.widthPixes);
|
|
200489
|
-
}
|
|
200490
|
-
};
|
|
200980
|
+
}, _callee4);
|
|
200981
|
+
}));
|
|
200982
|
+
|
|
200983
|
+
return function createSvg() {
|
|
200984
|
+
return _ref3.apply(this, arguments);
|
|
200985
|
+
};
|
|
200986
|
+
}();
|
|
200491
200987
|
|
|
200492
200988
|
createSvg();
|
|
200493
200989
|
|
|
200494
|
-
case
|
|
200990
|
+
case 13:
|
|
200495
200991
|
case "end":
|
|
200496
|
-
return
|
|
200992
|
+
return _context5.stop();
|
|
200497
200993
|
}
|
|
200498
200994
|
}
|
|
200499
|
-
},
|
|
200995
|
+
}, _callee5, this);
|
|
200500
200996
|
}));
|
|
200501
200997
|
|
|
200502
200998
|
function pintAllToPDF(_x3) {
|
|
@@ -200600,13 +201096,11 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200600
201096
|
|
|
200601
201097
|
if (_this6._xmlIndex <= _this6._viewXmlList.length - 1) {
|
|
200602
201098
|
var current = typeof _this6._viewXmlList[_this6._xmlIndex] != "string";
|
|
200603
|
-
|
|
200604
|
-
var _xml = current ? _this6._viewXmlList[_this6._xmlIndex].xml : _this6._viewXmlList[_this6._xmlIndex];
|
|
200605
|
-
|
|
201099
|
+
var xml = current ? _this6._viewXmlList[_this6._xmlIndex].xml : _this6._viewXmlList[_this6._xmlIndex];
|
|
200606
201100
|
var isMerge = current ? _this6._viewXmlList[_this6._xmlIndex].isMerge : false;
|
|
200607
201101
|
|
|
200608
201102
|
if (_this6._xmlIndex === 0) {
|
|
200609
|
-
Promise.all([hoEditorFactory.vueController.openXml(
|
|
201103
|
+
Promise.all([hoEditorFactory.vueController.openXml(xml, undefined, true)]).then(function () {
|
|
200610
201104
|
if (hoEditorFactory.loadImageCount == 0) {
|
|
200611
201105
|
hoEditorFactory.loadImageCallback = null;
|
|
200612
201106
|
createSvg();
|
|
@@ -200615,7 +201109,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
200615
201109
|
}
|
|
200616
201110
|
});
|
|
200617
201111
|
} else {
|
|
200618
|
-
Promise.all([hoEditorFactory.vueController.mergeDocs(
|
|
201112
|
+
Promise.all([hoEditorFactory.vueController.mergeDocs(xml, isMerge, undefined, true)]).then(function () {
|
|
200619
201113
|
if (hoEditorFactory.loadImageCount == 0) {
|
|
200620
201114
|
hoEditorFactory.loadImageCallback = null;
|
|
200621
201115
|
createSvg();
|
|
@@ -202087,25 +202581,35 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
202087
202581
|
this._superiorSigns = value;
|
|
202088
202582
|
}
|
|
202089
202583
|
}
|
|
202584
|
+
}, {
|
|
202585
|
+
key: "isFixedPrintToA4",
|
|
202586
|
+
get: function get() {
|
|
202587
|
+
return this._isFixedPrintToA4;
|
|
202588
|
+
},
|
|
202589
|
+
set: function set(value) {
|
|
202590
|
+
if (this._isFixedPrintToA4 !== value) {
|
|
202591
|
+
this._isFixedPrintToA4 = value;
|
|
202592
|
+
}
|
|
202593
|
+
}
|
|
202090
202594
|
}]);
|
|
202091
202595
|
|
|
202092
202596
|
return HOEditorFactory;
|
|
202093
202597
|
}();
|
|
202094
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202598
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoFooter.vue?vue&type=template&id=5908306a&scoped=true&
|
|
202095
202599
|
var HoFootervue_type_template_id_5908306a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ho-footer"},[_c('div',{staticClass:"footer-item"}),_c('div',{staticClass:"footer-item"},[_c('span',{staticClass:"text"},[_vm._v("第 "+_vm._s(_vm.currentActivePages + 1 === 0 ? 1 : _vm.currentActivePages + 1)+" 页 / 共 "+_vm._s(_vm.drawPages)+" 页")]),(!!_vm.docName)?_c('span',{staticClass:"text"},[_vm._v("名称:"+_vm._s(_vm.docName))]):_vm._e(),(!!_vm.userNames)?_c('span',{staticClass:"text"},[_vm._v("书写人:"+_vm._s(_vm.userNames))]):_vm._e(),(!!_vm.historyTime)?_c('span',{staticClass:"text"},[_vm._v("书写时间:"+_vm._s(_vm.historyTime))]):_vm._e()]),_c('p',{staticStyle:{"flex":"1"}}),_c('div',{staticClass:"footer-item"})])}
|
|
202096
202600
|
var HoFootervue_type_template_id_5908306a_scoped_true_staticRenderFns = []
|
|
202097
202601
|
|
|
202098
202602
|
|
|
202099
202603
|
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=template&id=5908306a&scoped=true&
|
|
202100
202604
|
|
|
202101
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202605
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/popers/Poper.vue?vue&type=template&id=0f8bfa37&
|
|
202102
202606
|
var Popervue_type_template_id_0f8bfa37_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.classSelected,style:(_vm.poperStyle),on:{"mouseenter":_vm.mouseenter,"mouseleave":_vm.mouseleave}},[_vm._t("default",function(){return [_c('span',{class:_vm.classNames})]}),(_vm.title && _vm.show)?_c('Title',{attrs:{"title":_vm.title,"styles":_vm.styles}}):_vm._e()],2)}
|
|
202103
202607
|
var Popervue_type_template_id_0f8bfa37_staticRenderFns = []
|
|
202104
202608
|
|
|
202105
202609
|
|
|
202106
202610
|
// CONCATENATED MODULE: ./src/components/controls/popers/Poper.vue?vue&type=template&id=0f8bfa37&
|
|
202107
202611
|
|
|
202108
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202612
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/popers/Title.vue?vue&type=template&id=3d9d462b&scoped=true&
|
|
202109
202613
|
var Titlevue_type_template_id_3d9d462b_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"fade"}},[_c('span',{staticClass:"poper-title",style:(_vm.styles)},[_vm._v(_vm._s(_vm.title))])])}
|
|
202110
202614
|
var Titlevue_type_template_id_3d9d462b_scoped_true_staticRenderFns = []
|
|
202111
202615
|
|
|
@@ -202394,14 +202898,14 @@ var HoFooter_component = normalizeComponent(
|
|
|
202394
202898
|
)
|
|
202395
202899
|
|
|
202396
202900
|
/* harmony default export */ var components_HoFooter = (HoFooter_component.exports);
|
|
202397
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202901
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/ControlModal.vue?vue&type=template&id=3be7d6ee&
|
|
202398
202902
|
var ControlModalvue_type_template_id_3be7d6ee_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"toolModals",staticClass:"control-modal",on:{"mousedown":_vm.toolModalDown}},[(_vm.controlType === 'barcode')?_c('Barcode',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'qrcode')?_c('QrCode',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'express')?_c('ExpressionForm',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"controlProperty":_vm.controlProperty},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'text')?_c('TextDialog',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId},on:{"closed":_vm.handleClose},scopedSlots:_vm._u([{key:"hoTextFieldModal",fn:function(){return [_vm._t("hoTextModal")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlType === 'date')?_c('DateDialog',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId},on:{"closed":_vm.handleClose},scopedSlots:_vm._u([{key:"hoDateFieldModal",fn:function(){return [_vm._t("hoDateModal")]},proxy:true},{key:"hoTextFieldModal",fn:function(){return [_vm._t("hoTextModal")]},proxy:true}],null,true)}):_vm._e(),(_vm.controlType === 'select')?_c('SelectDialog',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController,"controlStatus":_vm.controlStatus},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'table')?_c('TableProperty',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'table-row')?_c('TableRowProperty',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'table-cell')?_c('TableCellProperty',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'table-col')?_c('TableColProperty',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.isCustoms)?_c('CustomAttributes',{on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.isDataSource)?_c('DataSourceDialog',{on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.isListStyle)?_c('ListSource',{on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'RadioBox' || _vm.controlType === 'CheckBox')?_c('RadioCheckbox',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus,"hoEditorFactoryId":_vm.hoEditorFactoryId,"controlProperty":_vm.controlProperty},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'waterset')?_c('WaterSetDialog',{attrs:{"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'comment')?_c('CommentDialog',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus},on:{"insertComments":_vm.insertComments,"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'pageInfoes')?_c('PageInfoes',{attrs:{"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'delimiter')?_c('Delimiter',{attrs:{"vueController":_vm.vueController},on:{"closed":_vm.handleClose}}):_vm._e(),(_vm.controlType === 'sign')?_c('Sign',{attrs:{"vueController":_vm.vueController,"controlStatus":_vm.controlStatus},on:{"closed":_vm.handleClose}}):_vm._e()],1)}
|
|
202399
202903
|
var ControlModalvue_type_template_id_3be7d6ee_staticRenderFns = []
|
|
202400
202904
|
|
|
202401
202905
|
|
|
202402
202906
|
// CONCATENATED MODULE: ./src/components/controls/ControlModal.vue?vue&type=template&id=3be7d6ee&
|
|
202403
202907
|
|
|
202404
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202908
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=3cb0320e&scoped=true&
|
|
202405
202909
|
var SelectDialogvue_type_template_id_3cb0320e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("下拉框")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.innerIdentifier),callback:function ($$v) {_vm.innerIdentifier=$$v},expression:"innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.dataMetaIdentifier),callback:function ($$v) {_vm.dataMetaIdentifier=$$v},expression:"dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.identifierFormat),callback:function ($$v) {_vm.identifierFormat=$$v},expression:"identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.tipText),callback:function ($$v) {_vm.tipText=$$v},expression:"tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.allowMultiSelect),callback:function ($$v) {_vm.allowMultiSelect=$$v},expression:"allowMultiSelect"}},[_vm._v("允许多选")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动回填")])],1),_c('div',{staticStyle:{"width":"20%"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.allowMultiSelect},model:{value:(_vm.mutexSelect),callback:function ($$v) {_vm.mutexSelect=$$v},expression:"mutexSelect"}},[_vm._v("选项互斥")])],1)]),_c('li',{staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.downListContent,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{attrs:{"label":"类型","width":"70"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.type),callback:function ($$v) {_vm.$set(scope.row, "type", $$v)},expression:"scope.row.type"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认")]):_vm._e(),(scope.$index !== _vm.downListContent.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
202406
202910
|
var SelectDialogvue_type_template_id_3cb0320e_scoped_true_staticRenderFns = []
|
|
202407
202911
|
|
|
@@ -202771,14 +203275,14 @@ var SelectDialog_component = normalizeComponent(
|
|
|
202771
203275
|
// CONCATENATED MODULE: ./src/components/controls/selectDialog/index.ts
|
|
202772
203276
|
|
|
202773
203277
|
/* harmony default export */ var selectDialog = (selectDialog_SelectDialog);
|
|
202774
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203278
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=3f07b3fe&
|
|
202775
203279
|
var DateDialogvue_type_template_id_3f07b3fe_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("日期时间")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('tabs',{attrs:{"tabKey":_vm.textActiveName}},[_c('tab-pane',{attrs:{"label":"基本属性","notHover":false,"name":"first"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.innerIdentifier),callback:function ($$v) {_vm.innerIdentifier=$$v},expression:"innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.dataMetaIdentifier),callback:function ($$v) {_vm.dataMetaIdentifier=$$v},expression:"dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.identifierFormat),callback:function ($$v) {_vm.identifierFormat=$$v},expression:"identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("输入样式")]),_c('el-select',{attrs:{"placeholder":"输入样式","size":"mini"},model:{value:(_vm.controlStyle),callback:function ($$v) {_vm.controlStyle=$$v},expression:"controlStyle"}},_vm._l((_vm.dateFormatList),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1)]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("日期时间")]),(_vm.controlStyle.includes('MM') && !_vm.controlStyle.includes('dd'))?_c('el-date-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"month","placeholder":"选择月"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e(),(_vm.controlStyle.includes('yyyy') && !_vm.controlStyle.includes('MM'))?_c('el-date-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"year","placeholder":"选择年"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e(),(_vm.controlStyle.includes('dd') && _vm.controlStyle.includes('mm'))?_c('el-date-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"datetime","format":_vm.controlStyle,"placeholder":"日期时间"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e(),(!_vm.controlStyle.includes('dd') && _vm.controlStyle.includes('mm'))?_c('el-time-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"time","format":_vm.controlStyle,"placeholder":"时间"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e(),(!_vm.controlStyle.includes('mm') && _vm.controlStyle.includes('dd'))?_c('el-date-picker',{attrs:{"prefix-icon":"null","size":"mini","type":"date","format":_vm.controlStyle,"placeholder":"日期"},model:{value:(_vm.text),callback:function ($$v) {_vm.text=$$v},expression:"text"}}):_vm._e()],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"size":"mini","placeholder":"提示文本"},model:{value:(_vm.tipText),callback:function ($$v) {_vm.tipText=$$v},expression:"tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('div',[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"margin":"0 0 0 20px"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticClass:"control-item",staticStyle:{"margin-left":"20px"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_vm._v("自动回填")])],1)])])]),_vm._t("hoTextFieldModal")],2)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
202776
203280
|
var DateDialogvue_type_template_id_3f07b3fe_staticRenderFns = []
|
|
202777
203281
|
|
|
202778
203282
|
|
|
202779
203283
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=3f07b3fe&
|
|
202780
203284
|
|
|
202781
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203285
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/tab/Tab.vue?vue&type=template&id=7c6c4d81&
|
|
202782
203286
|
var Tabvue_type_template_id_7c6c4d81_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ho-toolbar"},[_c('ul',{staticClass:"main-bar"},[_vm._l((_vm.navList),function(item){return _c('li',{key:item.name,class:{ selected: item.name === _vm.currentValue },on:{"click":function($event){return _vm.handleChange(_vm.currentValue, item.name)}}},[_vm._v(" "+_vm._s(item.label)+" ")])}),_c('li',{staticClass:"tabs-active-bar",style:(_vm.activeBarStyle)})],2),_c('div',{staticClass:"sub-bar-box"},[_vm._t("default")],2)])}
|
|
202783
203287
|
var Tabvue_type_template_id_7c6c4d81_staticRenderFns = []
|
|
202784
203288
|
|
|
@@ -203170,7 +203674,7 @@ var DateDialog_component = normalizeComponent(
|
|
|
203170
203674
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/index.ts
|
|
203171
203675
|
|
|
203172
203676
|
/* harmony default export */ var dateDialog = (dateDialog_DateDialog);
|
|
203173
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203677
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/barCode/BarCodes.vue?vue&type=template&id=b90e0398&
|
|
203174
203678
|
var BarCodesvue_type_template_id_b90e0398_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("条形码")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("条形码内容")]),_c('el-input',{attrs:{"size":"mini","placeholder":"条形码内容不能为空","maxlength":"20","show-word-limit":""},on:{"input":_vm.codeChange},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("是否显示文本")]),_c('el-checkbox',{on:{"change":_vm.codeChange},model:{value:(_vm.isDisplayText),callback:function ($$v) {_vm.isDisplayText=$$v},expression:"isDisplayText"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1),_c('fieldset',{staticClass:"fieldset"},[_c('legend',[_vm._v("预 览")]),_c('div',{staticClass:"bar-code"},[_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.textContent && !_vm.textField),expression:"textContent && !textField"}],ref:"barcode",attrs:{"id":"barcode"}}),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.textContent && _vm.textField),expression:"textContent && textField"}]},[_vm._v(_vm._s(_vm.textField))])])])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
203175
203679
|
var BarCodesvue_type_template_id_b90e0398_staticRenderFns = []
|
|
203176
203680
|
|
|
@@ -203354,7 +203858,7 @@ var BarCodes_component = normalizeComponent(
|
|
|
203354
203858
|
// CONCATENATED MODULE: ./src/components/controls/barCode/index.ts
|
|
203355
203859
|
|
|
203356
203860
|
/* harmony default export */ var barCode = (BarCodes);
|
|
203357
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203861
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/qrCode/QrCode.vue?vue&type=template&id=bff70498&
|
|
203358
203862
|
var QrCodevue_type_template_id_bff70498_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("二维码")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本内容")]),_c('el-input',{attrs:{"type":"textarea","size":"mini","autosize":{ minRows: 4, maxRows: 8 },"clearable":"","placeholder":"文本内容","maxlength":"256","show-word-limit":""},on:{"input":_vm.codeChange},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("宽(高)")]),_c('el-input-number',{attrs:{"controls":false,"size":"mini","autocomplete":"off"},on:{"change":_vm.qrSizeChange},model:{value:(_vm.size),callback:function ($$v) {_vm.size=$$v},expression:"size"}}),_c('span',{staticStyle:{"padding":"0 20px 0 10px"}},[_vm._v("px")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("纠错能力")]),_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},model:{value:(_vm.correctLevel),callback:function ($$v) {_vm.correctLevel=$$v},expression:"correctLevel"}},[_c('el-option',{attrs:{"label":"L: 7%的字码可被修正","value":"L"}}),_c('el-option',{attrs:{"label":"M: 15%的字码可被修正","value":"M"}}),_c('el-option',{attrs:{"label":"Q: 25%的字码可被修正","value":"Q"}}),_c('el-option',{attrs:{"label":"H: 30%的字码可被修正","value":"H"}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]),_c('div',{staticClass:"section-right"},[_c('fieldset',{staticClass:"fieldset"},[_c('legend',[_vm._v("预 览")]),_c('div',{ref:"hoQrcode",style:(_vm.qrCanvasBoxStyle),attrs:{"id":"qrcode"}})])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
203359
203863
|
var QrCodevue_type_template_id_bff70498_staticRenderFns = []
|
|
203360
203864
|
|
|
@@ -203540,7 +204044,7 @@ var QrCode_component = normalizeComponent(
|
|
|
203540
204044
|
// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
|
|
203541
204045
|
|
|
203542
204046
|
/* harmony default export */ var qrCode = (QrCode);
|
|
203543
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204047
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=8c37eab6&
|
|
203544
204048
|
var TextDialogvue_type_template_id_8c37eab6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("文本域")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('tabs',{attrs:{"tabKey":_vm.textActiveName}},[_c('tab-pane',{attrs:{"label":"基本属性","notHover":false,"name":"first"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("直接输入文本数据")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.textParam.inputFieldType),callback:function ($$v) {_vm.$set(_vm.textParam, "inputFieldType", $$v)},expression:"textParam.inputFieldType"}},[_vm._v("下拉列表方式")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.textParam.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.textParam.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "innerIdentifier", $$v)},expression:"textParam.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.textParam.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.textParam, "dataMetaIdentifier", $$v)},expression:"textParam.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.textParam.identifierFormat),callback:function ($$v) {_vm.$set(_vm.textParam, "identifierFormat", $$v)},expression:"textParam.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"size":"mini","placeholder":"名称"},model:{value:(_vm.textParam.name),callback:function ($$v) {_vm.$set(_vm.textParam, "name", $$v)},expression:"textParam.name"}})],1),_c('li',{staticClass:"line"}),(_vm.textParam.inputFieldType === 0)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本内容")]),_c('el-input',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"mini","placeholder":"文本内容"},model:{value:(_vm.textParam.text),callback:function ($$v) {_vm.$set(_vm.textParam, "text", $$v)},expression:"textParam.text"}})],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("下拉列表")]),_c('el-input',{attrs:{"size":"mini","disabled":true,"placeholder":"下拉列表项"},model:{value:(_vm.textParam.downListProperty.source),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "source", $$v)},expression:"textParam.downListProperty.source"}}),_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.openListArrModel.apply(null, arguments)}}},[_vm._v("浏览")])],1):_vm._e(),(_vm.textParam.inputFieldType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("是否多选")]),_c('div',{staticStyle:{"width":"40%"}},[_c('el-checkbox',{on:{"change":_vm.allowMultiSelectChange},model:{value:(_vm.textParam.downListProperty.allowMultiSelected),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "allowMultiSelected", $$v)},expression:"textParam.downListProperty.allowMultiSelected"}},[_vm._v("允许多选")]),_c('el-checkbox',{model:{value:(_vm.textParam.downListProperty.mutexSelect),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "mutexSelect", $$v)},expression:"textParam.downListProperty.mutexSelect"}},[_vm._v("选项互斥")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"60px"}},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.textParam.downListProperty.splitCharacter),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "splitCharacter", $$v)},expression:"textParam.downListProperty.splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}}),_c('el-option',{attrs:{"label":"\\","value":"\\"}})],1)],1)]):_vm._e(),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"textarea","size":"mini","placeholder":"提示文本"},model:{value:(_vm.textParam.tipText),callback:function ($$v) {_vm.$set(_vm.textParam, "tipText", $$v)},expression:"textParam.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内容只读状态")]),_c('el-select',{staticStyle:{"text-align":"left"},attrs:{"placeholder":"请选择","size":"mini"},model:{value:(_vm.textParam.readOnlyStatus),callback:function ($$v) {_vm.$set(_vm.textParam, "readOnlyStatus", $$v)},expression:"textParam.readOnlyStatus"}},[_c('el-option',{attrs:{"label":"继承父元素","value":2}}),_c('el-option',{attrs:{"label":"是","value":0}}),_c('el-option',{attrs:{"label":"否","value":1}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("固定宽度")]),_c('el-input-number',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini","precision":2,"min":0,"controls":false},model:{value:(_vm.textParam.fixedWidth),callback:function ($$v) {_vm.$set(_vm.textParam, "fixedWidth", $$v)},expression:"textParam.fixedWidth"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("厘米")])],1),_c('li',{staticClass:"line"}),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.canModifyContent),callback:function ($$v) {_vm.$set(_vm.textParam, "canModifyContent", $$v)},expression:"textParam.canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.textParam, "isAllowDelete", $$v)},expression:"textParam.isAllowDelete"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.enableGlobalColor),callback:function ($$v) {_vm.$set(_vm.textParam, "enableGlobalColor", $$v)},expression:"textParam.enableGlobalColor"}},[_vm._v("启用全局文本颜色")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.textParam.alignWithBlocked),callback:function ($$v) {_vm.$set(_vm.textParam, "alignWithBlocked", $$v)},expression:"textParam.alignWithBlocked"}},[_vm._v("文本域中的段落使用块对齐(诊断专用)")])],1),_c('div',{staticClass:"control-item",staticStyle:{"margin-left":"38px"}},[_c('el-checkbox',{model:{value:(_vm.textParam.readType),callback:function ($$v) {_vm.$set(_vm.textParam, "readType", $$v)},expression:"textParam.readType"}},[_vm._v("自动回填")])],1)])])]),_c('tab-pane',{attrs:{"label":"其他属性","notHover":false,"name":"third"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)])]),_vm._t("hoTextFieldModal")],2)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
203545
204049
|
var TextDialogvue_type_template_id_8c37eab6_staticRenderFns = []
|
|
203546
204050
|
|
|
@@ -203837,7 +204341,7 @@ var TextDialog_component = normalizeComponent(
|
|
|
203837
204341
|
// CONCATENATED MODULE: ./src/components/controls/textDialog/index.ts
|
|
203838
204342
|
|
|
203839
204343
|
/* harmony default export */ var textDialog = (textDialog_TextDialog);
|
|
203840
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204344
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/expressionForm/ExpressionForm.vue?vue&type=template&id=0fa85a23&scoped=true&
|
|
203841
204345
|
var ExpressionFormvue_type_template_id_0fa85a23_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v(_vm._s(_vm.names[_vm.expressStyle]))]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.cancel}})]),_c('section',{staticClass:"expression-form"},[(_vm.expressStyle === 'style1')?[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("经期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menseDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menseDays", $$v)},expression:"menstrualHistory.menseDays"}})],1),_c('div',{staticClass:"expression-style1"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("初潮年龄")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menarcheAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menarcheAge", $$v)},expression:"menstrualHistory.menarcheAge"}})],1),_c('div',{staticClass:"line style1-line"}),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("末次月经/绝经年龄")]),(_vm.isUseDate)?_c('el-date-picker',{attrs:{"prefix-icon":"null","type":"date","size":"small","format":_vm.useDateFormat,"value-format":_vm.useDateFormat,"placeholder":"日期"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e(),(!_vm.isUseDate)?_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e()],1)]),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("周期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.cycleDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "cycleDays", $$v)},expression:"menstrualHistory.cycleDays"}})],1)]:_vm._e(),(_vm.expressStyle === 'style2')?[_c('div',{staticClass:"expression-style1"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("初潮年龄")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menarcheAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menarcheAge", $$v)},expression:"menstrualHistory.menarcheAge"}})],1),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("经期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menseDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menseDays", $$v)},expression:"menstrualHistory.menseDays"}})],1)]),_c('div',{staticClass:"line style21-line"}),_c('div',{staticClass:"line style22-line"}),_c('div',{staticClass:"expression-style1"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("末次月经/绝经年龄")]),(_vm.isUseDate)?_c('el-date-picker',{attrs:{"prefix-icon":"null","type":"date","size":"small","format":_vm.useDateFormat,"value-format":_vm.useDateFormat,"placeholder":"日期"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e(),(!_vm.isUseDate)?_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e()],1),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("周期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.cycleDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "cycleDays", $$v)},expression:"menstrualHistory.cycleDays"}})],1)])]:_vm._e(),(_vm.expressStyle === 'style3')?[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("经期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menseDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menseDays", $$v)},expression:"menstrualHistory.menseDays"}})],1),_c('div',{staticClass:"expression-style1"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("初潮年龄")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menarcheAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menarcheAge", $$v)},expression:"menstrualHistory.menarcheAge"}})],1),_c('div',{staticClass:"line style31-line"}),_c('div',{staticClass:"line style32-line"}),_c('div',{staticClass:"expression-item",staticStyle:{"margin-left":"73px"}},[_c('span',[_vm._v("周期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.cycleDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "cycleDays", $$v)},expression:"menstrualHistory.cycleDays"}})],1)]),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("末次月经/绝经年龄")]),(_vm.isUseDate)?_c('el-date-picker',{attrs:{"prefix-icon":"null","type":"date","size":"small","format":_vm.useDateFormat,"value-format":_vm.useDateFormat,"placeholder":"日期"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e(),(!_vm.isUseDate)?_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menoPauseAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menoPauseAge", $$v)},expression:"menstrualHistory.menoPauseAge"}}):_vm._e()],1)]:_vm._e(),(_vm.expressStyle === 'style4')?_c('div',{staticClass:"style4"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("初潮年龄")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menarcheAge),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menarcheAge", $$v)},expression:"menstrualHistory.menarcheAge"}})],1),_c('div',{staticClass:"line style41-line"}),_c('div',{staticClass:"expression-style4"},[_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("经期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.menseDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "menseDays", $$v)},expression:"menstrualHistory.menseDays"}})],1),_c('div',{staticClass:"line style42-line"}),_c('div',{staticClass:"expression-item"},[_c('span',[_vm._v("周期(天)")]),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.menstrualHistory.cycleDays),callback:function ($$v) {_vm.$set(_vm.menstrualHistory, "cycleDays", $$v)},expression:"menstrualHistory.cycleDays"}})],1)])]):_vm._e(),(_vm.expressStyle === 'style1' || _vm.expressStyle === 'style2' || _vm.expressStyle === 'style3')?[_c('div',{staticClass:"express-date-items"},[_c('el-checkbox',{on:{"change":_vm.useDateChange},model:{value:(_vm.isUseDate),callback:function ($$v) {_vm.isUseDate=$$v},expression:"isUseDate"}},[_vm._v("使用日期")])],1),(_vm.isUseDate)?_c('div',{staticClass:"express-date-items"},[_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},on:{"change":_vm.dateFormatChange},model:{value:(_vm.useDateFormat),callback:function ($$v) {_vm.useDateFormat=$$v},expression:"useDateFormat"}},[_c('el-option',{attrs:{"label":"yyyy-MM-dd","value":"yyyy-MM-dd"}}),_c('el-option',{attrs:{"label":"yyyy/MM/dd","value":"yyyy/MM/dd"}}),_c('el-option',{attrs:{"label":"yyyy年MM月dd日","value":"yyyy年MM月dd日"}})],1)],1):_vm._e()]:_vm._e(),(_vm.expressStyle === 'style5')?[_c('div',{staticClass:"expression-style5"},[_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value1),callback:function ($$v) {_vm.$set(_vm.style567, "value1", $$v)},expression:"style567.value1"}}),_c('div',{staticStyle:{"width":"100px"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value2),callback:function ($$v) {_vm.$set(_vm.style567, "value2", $$v)},expression:"style567.value2"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value3),callback:function ($$v) {_vm.$set(_vm.style567, "value3", $$v)},expression:"style567.value3"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value4),callback:function ($$v) {_vm.$set(_vm.style567, "value4", $$v)},expression:"style567.value4"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value5),callback:function ($$v) {_vm.$set(_vm.style567, "value5", $$v)},expression:"style567.value5"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value6),callback:function ($$v) {_vm.$set(_vm.style567, "value6", $$v)},expression:"style567.value6"}}),_c('div',{staticStyle:{"width":"100px"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value7),callback:function ($$v) {_vm.$set(_vm.style567, "value7", $$v)},expression:"style567.value7"}})],1)]:_vm._e(),(_vm.expressStyle === 'style6')?[_c('div',{staticClass:"expression-style5"},[_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value1),callback:function ($$v) {_vm.$set(_vm.style567, "value1", $$v)},expression:"style567.value1"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value2),callback:function ($$v) {_vm.$set(_vm.style567, "value2", $$v)},expression:"style567.value2"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value3),callback:function ($$v) {_vm.$set(_vm.style567, "value3", $$v)},expression:"style567.value3"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value4),callback:function ($$v) {_vm.$set(_vm.style567, "value4", $$v)},expression:"style567.value4"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value5),callback:function ($$v) {_vm.$set(_vm.style567, "value5", $$v)},expression:"style567.value5"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value6),callback:function ($$v) {_vm.$set(_vm.style567, "value6", $$v)},expression:"style567.value6"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value7),callback:function ($$v) {_vm.$set(_vm.style567, "value7", $$v)},expression:"style567.value7"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value8),callback:function ($$v) {_vm.$set(_vm.style567, "value8", $$v)},expression:"style567.value8"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value9),callback:function ($$v) {_vm.$set(_vm.style567, "value9", $$v)},expression:"style567.value9"}})],1)]:_vm._e(),(_vm.expressStyle === 'style7')?[_c('div',{staticClass:"expression-style5 style7"},[_c('div',{staticClass:"line style71-line"}),_c('div',{staticClass:"line style72-line"}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value1),callback:function ($$v) {_vm.$set(_vm.style567, "value1", $$v)},expression:"style567.value1"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value2),callback:function ($$v) {_vm.$set(_vm.style567, "value2", $$v)},expression:"style567.value2"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value3),callback:function ($$v) {_vm.$set(_vm.style567, "value3", $$v)},expression:"style567.value3"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value4),callback:function ($$v) {_vm.$set(_vm.style567, "value4", $$v)},expression:"style567.value4"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value5),callback:function ($$v) {_vm.$set(_vm.style567, "value5", $$v)},expression:"style567.value5"}}),_c('el-input',{attrs:{"type":"text","size":"small"},model:{value:(_vm.style567.value6),callback:function ($$v) {_vm.$set(_vm.style567, "value6", $$v)},expression:"style567.value6"}})],1)]:_vm._e(),(_vm.expressStyle === 'style8')?[_c('div',{staticClass:"style89"},[_c('span',{staticClass:"pos-top"},[_vm._v("上颌")]),_c('span',{staticClass:"pos-bottom"},[_vm._v("下颌")]),_c('span',{staticClass:"pos-left"},[_vm._v("左")]),_c('span',{staticClass:"pos-right"},[_vm._v("右")]),_vm._m(0),_c('ul',[_vm._l((['8', '7', '6', '5', '4', '3', '2', '1']),function(item){return _c('li',{key:item + 'a'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.topLeft),callback:function ($$v) {_vm.$set(_vm.style89, "topLeft", $$v)},expression:"style89.topLeft"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)}),_vm._l((['1', '2', '3', '4', '5', '6', '7', '8']),function(item){return _c('li',{key:item + 'b'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.topRight),callback:function ($$v) {_vm.$set(_vm.style89, "topRight", $$v)},expression:"style89.topRight"}},[_c('el-checkbox-button',{attrs:{"size":"mini","label":item}})],1)],1)})],2),_c('ul',[_vm._l((['8', '7', '6', '5', '4', '3', '2', '1']),function(item){return _c('li',{key:item + 'c'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.bottomLeft),callback:function ($$v) {_vm.$set(_vm.style89, "bottomLeft", $$v)},expression:"style89.bottomLeft"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)}),_vm._l((['1', '2', '3', '4', '5', '6', '7', '8']),function(item){return _c('li',{key:item + 'd'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.bottomRight),callback:function ($$v) {_vm.$set(_vm.style89, "bottomRight", $$v)},expression:"style89.bottomRight"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)})],2)])]:_vm._e(),(_vm.expressStyle === 'style9')?[_c('div',{staticClass:"style89 style9"},[_c('span',{staticClass:"pos-top"},[_vm._v("上颌")]),_c('span',{staticClass:"pos-bottom"},[_vm._v("下颌")]),_c('span',{staticClass:"pos-left"},[_vm._v("左")]),_c('span',{staticClass:"pos-right"},[_vm._v("右")]),_vm._m(1),_c('ul',[_vm._l((['V', 'IV', 'III', 'II', 'I']),function(item){return _c('li',{key:item + 'a'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.topLeft),callback:function ($$v) {_vm.$set(_vm.style89, "topLeft", $$v)},expression:"style89.topLeft"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)}),_vm._l((['I', 'II', 'III', 'IV', 'V']),function(item){return _c('li',{key:item + 'b'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.topRight),callback:function ($$v) {_vm.$set(_vm.style89, "topRight", $$v)},expression:"style89.topRight"}},[_c('el-checkbox-button',{attrs:{"size":"mini","label":item}})],1)],1)})],2),_c('ul',[_vm._l((['V', 'IV', 'III', 'II', 'I']),function(item){return _c('li',{key:item + 'c'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.bottomLeft),callback:function ($$v) {_vm.$set(_vm.style89, "bottomLeft", $$v)},expression:"style89.bottomLeft"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)}),_vm._l((['I', 'II', 'III', 'IV', 'V']),function(item){return _c('li',{key:item + 'd'},[_c('el-checkbox-group',{attrs:{"size":"mini"},model:{value:(_vm.style89.bottomRight),callback:function ($$v) {_vm.$set(_vm.style89, "bottomRight", $$v)},expression:"style89.bottomRight"}},[_c('el-checkbox-button',{attrs:{"label":item}})],1)],1)})],2)])]:_vm._e()],2),_c('footer',{staticClass:"dialog-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")]),(_vm.expressStyle === 'style8' || _vm.expressStyle === 'style9')?_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reset}},[_vm._v("重 置")]):_vm._e(),(_vm.expressStyle === 'style8' || _vm.expressStyle === 'style9')?_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.reverse}},[_vm._v("反 选")]):_vm._e(),(_vm.expressStyle === 'style8' || _vm.expressStyle === 'style9')?_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.all}},[_vm._v("全 选")]):_vm._e(),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.cancel}},[_vm._v("取 消")])],1)])}
|
|
203842
204346
|
var ExpressionFormvue_type_template_id_0fa85a23_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"titles"},[_c('li',[_vm._v("第三磨牙")]),_c('li',[_vm._v("第二磨牙")]),_c('li',[_vm._v("第一磨牙")]),_c('li',[_vm._v("第二前磨牙")]),_c('li',[_vm._v("第一前磨牙")]),_c('li',[_vm._v("尖牙")]),_c('li',[_vm._v("侧切牙")]),_c('li',[_vm._v("中切牙")]),_c('li',[_vm._v("中切牙")]),_c('li',[_vm._v("侧切牙")]),_c('li',[_vm._v("尖牙")]),_c('li',[_vm._v("第一前磨牙")]),_c('li',[_vm._v("第二前磨牙")]),_c('li',[_vm._v("第一磨牙")]),_c('li',[_vm._v("第二磨牙")]),_c('li',[_vm._v("第三磨牙")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"titles"},[_c('li',[_vm._v("第二乳磨牙")]),_c('li',[_vm._v("第一乳磨牙")]),_c('li',[_vm._v("乳尖牙")]),_c('li',[_vm._v("乳侧切牙")]),_c('li',[_vm._v("乳中切牙")]),_c('li',[_vm._v("乳中切牙")]),_c('li',[_vm._v("乳侧切牙")]),_c('li',[_vm._v("乳尖牙")]),_c('li',[_vm._v("第一乳磨牙")]),_c('li',[_vm._v("第二乳磨牙")])])}]
|
|
203843
204347
|
|
|
@@ -204334,7 +204838,7 @@ var ExpressionForm_component = normalizeComponent(
|
|
|
204334
204838
|
// CONCATENATED MODULE: ./src/components/controls/expressionForm/index.ts
|
|
204335
204839
|
|
|
204336
204840
|
/* harmony default export */ var expressionForm = (expressionForm_ExpressionForm);
|
|
204337
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204841
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=63a63a26&
|
|
204338
204842
|
var RadioCheckboxvue_type_template_id_63a63a26_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'control-modal-contents radio-checkbox-modal ' + _vm.animationClassName,style:({ width: _vm.boxGroup === 1 ? '1060px' : '500px' })},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v(_vm._s(_vm.controlType === "RadioBox" ? "单选框" : "复选框")+_vm._s(_vm.boxGroup === 1 ? "组" : ""))]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("类型")]),_c('el-radio',{attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":1},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("多项")]),_c('el-radio',{staticStyle:{"margin-left":"30px"},attrs:{"disabled":_vm.controlStatus === 'update',"size":"small","label":0},model:{value:(_vm.boxGroup),callback:function ($$v) {_vm.boxGroup=$$v},expression:"boxGroup"}},[_vm._v("单项")])],1),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.groupName),callback:function ($$v) {_vm.groupName=$$v},expression:"groupName"}})],1):_vm._e(),(_vm.boxGroup === 1)?_c('li',{staticClass:"control-item",staticStyle:{"padding":"0"}},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.radioCheckBoxGroup,"height":"300px"}},[_c('el-table-column',{attrs:{"label":"文本","width":"160"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}],null,false,4204152597)}),_c('el-table-column',{attrs:{"label":"提示文本","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(scope.row.tipText),callback:function ($$v) {_vm.$set(scope.row, "tipText", $$v)},expression:"scope.row.tipText"}})]}}],null,false,2396764658)}),_c('el-table-column',{attrs:{"label":"数值","width":"80"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(scope.row.numericValue),callback:function ($$v) {_vm.$set(scope.row, "numericValue", $$v)},expression:"scope.row.numericValue"}})]}}],null,false,3789767535)}),_c('el-table-column',{attrs:{"label":"内部标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"内部标识符"},model:{value:(scope.row.innerIdentifier),callback:function ($$v) {_vm.$set(scope.row, "innerIdentifier", $$v)},expression:"scope.row.innerIdentifier"}})]}}],null,false,1119088692)}),_c('el-table-column',{attrs:{"label":"数据元标识符","width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数据元标识符"},model:{value:(scope.row.dataMetaIdentifier),callback:function ($$v) {_vm.$set(scope.row, "dataMetaIdentifier", $$v)},expression:"scope.row.dataMetaIdentifier"}})]}}],null,false,479119831)}),_c('el-table-column',{attrs:{"label":"表示格式","width":"100"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"表示格式"},model:{value:(scope.row.identifierFormat),callback:function ($$v) {_vm.$set(scope.row, "identifierFormat", $$v)},expression:"scope.row.identifierFormat"}})]}}],null,false,241604674)}),_c('el-table-column',{attrs:{"label":"默认选中","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(_vm.controlType === 'RadioBox')?_c('el-radio',{staticClass:"table-radio",attrs:{"label":scope.row.id},model:{value:(_vm.tableRadio),callback:function ($$v) {_vm.tableRadio=$$v},expression:"tableRadio"}}):_vm._e(),(_vm.controlType === 'CheckBox')?_c('el-checkbox',{model:{value:(scope.row.isSelected),callback:function ($$v) {_vm.$set(scope.row, "isSelected", $$v)},expression:"scope.row.isSelected"}}):_vm._e()]}}],null,false,1265273066)}),_c('el-table-column',{attrs:{"label":"勾选框左对齐","width":"58"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.boxAlign),callback:function ($$v) {_vm.$set(scope.row, "boxAlign", $$v)},expression:"scope.row.boxAlign"}})]}}],null,false,599012276)}),_c('el-table-column',{attrs:{"label":"内容转文本","width":"58"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isTransToText),callback:function ($$v) {_vm.$set(scope.row, "isTransToText", $$v)},expression:"scope.row.isTransToText"}})]}}],null,false,1354544746)}),_c('el-table-column',{attrs:{"label":"编辑文本","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isEditText),callback:function ($$v) {_vm.$set(scope.row, "isEditText", $$v)},expression:"scope.row.isEditText"}})]}}],null,false,3019799127)}),_c('el-table-column',{attrs:{"label":"可以删除","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.isAllowDelete),callback:function ($$v) {_vm.$set(scope.row, "isAllowDelete", $$v)},expression:"scope.row.isAllowDelete"}})]}}],null,false,2012793206)}),_c('el-table-column',{attrs:{"label":"自动回填","width":"44"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-checkbox',{model:{value:(scope.row.readType),callback:function ($$v) {_vm.$set(scope.row, "readType", $$v)},expression:"scope.row.readType"}})]}}],null,false,373021414)}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]}}],null,false,1240557165)})],1)],1):_vm._e(),(_vm.boxGroup === 0)?[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.radioCheckbox.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内部标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"内部标识符"},model:{value:(_vm.radioCheckbox.innerIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "innerIdentifier", $$v)},expression:"radioCheckbox.innerIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据元标识符")]),_c('el-input',{attrs:{"size":"mini","placeholder":"数据元标识符"},model:{value:(_vm.radioCheckbox.dataMetaIdentifier),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "dataMetaIdentifier", $$v)},expression:"radioCheckbox.dataMetaIdentifier"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("表示格式")]),_c('el-input',{attrs:{"size":"mini","placeholder":"表示格式"},model:{value:(_vm.radioCheckbox.identifierFormat),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "identifierFormat", $$v)},expression:"radioCheckbox.identifierFormat"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("名称")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"名称"},model:{value:(_vm.radioCheckbox.groupName),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "groupName", $$v)},expression:"radioCheckbox.groupName"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"文本"},model:{value:(_vm.radioCheckbox.text),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "text", $$v)},expression:"radioCheckbox.text"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("提示文本")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"提示文本"},model:{value:(_vm.radioCheckbox.tipText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "tipText", $$v)},expression:"radioCheckbox.tipText"}})],1),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isSelected),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isSelected", $$v)},expression:"radioCheckbox.isSelected"}},[_vm._v("处于选择状态")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isAllowDelete),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isAllowDelete", $$v)},expression:"radioCheckbox.isAllowDelete"}},[_vm._v("可以删除")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.boxAlign),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "boxAlign", $$v)},expression:"radioCheckbox.boxAlign"}},[_vm._v("勾选框左对齐")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.readType),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "readType", $$v)},expression:"radioCheckbox.readType"}},[_vm._v("自动回填")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isTransToText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isTransToText", $$v)},expression:"radioCheckbox.isTransToText"}},[_vm._v("内容转文本")]),_c('el-checkbox',{model:{value:(_vm.radioCheckbox.isEditText),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isEditText", $$v)},expression:"radioCheckbox.isEditText"}},[_vm._v("编辑文本")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数值")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"数值"},model:{value:(_vm.radioCheckbox.numericValue),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "numericValue", $$v)},expression:"radioCheckbox.numericValue"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("附加数据")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"附加数据"},model:{value:(_vm.radioCheckbox.additionalData),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "additionalData", $$v)},expression:"radioCheckbox.additionalData"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"勾选级联对象"},model:{value:(_vm.radioCheckbox.checkCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "checkCascadeObject", $$v)},expression:"radioCheckbox.checkCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("不勾选级联对象")]),_c('el-input',{attrs:{"type":"text","size":"mini","placeholder":"不勾选级联对象"},model:{value:(_vm.radioCheckbox.unCheckCascadeObject),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "unCheckCascadeObject", $$v)},expression:"radioCheckbox.unCheckCascadeObject"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]:_vm._e()],2)]),_c('footer',{staticClass:"modal-footer"},[(_vm.boxGroup === 1)?_c('el-button',{staticStyle:{"transform":"translateX(-352px)"},attrs:{"type":"primary","size":"small"},on:{"click":_vm.addBox}},[_vm._v("增加"+_vm._s(_vm.controlType === "RadioBox" ? "单选项" : "复选项"))]):_vm._e(),_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
204339
204843
|
var RadioCheckboxvue_type_template_id_63a63a26_staticRenderFns = []
|
|
204340
204844
|
|
|
@@ -204565,7 +205069,7 @@ var RadioCheckbox_component = normalizeComponent(
|
|
|
204565
205069
|
// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/index.ts
|
|
204566
205070
|
|
|
204567
205071
|
/* harmony default export */ var radioCheckBox = (radioCheckBox_RadioCheckbox);
|
|
204568
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205072
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/commentDialog/CommentDialog.vue?vue&type=template&id=34f4e997&
|
|
204569
205073
|
var CommentDialogvue_type_template_id_34f4e997_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents comment-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("批注")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":function($event){return _vm.$emit('closed')}}})]),_c('section',{staticClass:"modal-content"},[_c('el-input',{attrs:{"type":"textarea","size":"mini","autosize":{ minRows: 13, maxRows: 13 },"clearable":"","placeholder":"批注内容","maxlength":"256","show-word-limit":""},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":function($event){return _vm.$emit('closed')}}},[_vm._v("取消")])],1)])}
|
|
204570
205074
|
var CommentDialogvue_type_template_id_34f4e997_staticRenderFns = []
|
|
204571
205075
|
|
|
@@ -204661,7 +205165,7 @@ var CommentDialog_component = normalizeComponent(
|
|
|
204661
205165
|
// CONCATENATED MODULE: ./src/components/controls/commentDialog/index.ts
|
|
204662
205166
|
|
|
204663
205167
|
/* harmony default export */ var commentDialog = (commentDialog_CommentDialog);
|
|
204664
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205168
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/watermark/WaterSet.vue?vue&type=template&id=468ee214&
|
|
204665
205169
|
var WaterSetvue_type_template_id_468ee214_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents water-set animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("水印")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"50px"}},[_vm._v("内容")]),_c('el-input',{attrs:{"type":"text","size":"mini","clearable":"","placeholder":"文本内容","maxlength":"20","show-word-limit":""},on:{"input":_vm.codeChange},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"50px"}},[_vm._v("角度")]),_c('el-radio-group',{attrs:{"size":"mini"},on:{"change":_vm.codeChange},model:{value:(_vm.rotate),callback:function ($$v) {_vm.rotate=$$v},expression:"rotate"}},[_c('el-radio-button',{attrs:{"label":0}},[_vm._v("水平")]),_c('el-radio-button',{attrs:{"label":1}},[_vm._v("倾斜")])],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"50px"}},[_vm._v("颜色")]),_c('el-color-picker',{attrs:{"show-alpha":""},on:{"change":_vm.codeChange},model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:"color"}})],1)]),_c('div',{staticClass:"section-right"},[_c('fieldset',{staticClass:"fieldset"},[_c('legend',[_vm._v("预 览")]),_c('div',{attrs:{"id":"water"}},[_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.waterUrl),expression:"waterUrl"}],attrs:{"src":_vm.waterUrl,"alt":"背景水印"}})])])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
204666
205170
|
var WaterSetvue_type_template_id_468ee214_staticRenderFns = []
|
|
204667
205171
|
|
|
@@ -204776,7 +205280,7 @@ var WaterSet_component = normalizeComponent(
|
|
|
204776
205280
|
// CONCATENATED MODULE: ./src/components/controls/watermark/index.ts
|
|
204777
205281
|
|
|
204778
205282
|
|
|
204779
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205283
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/customAttributes/CustomAttributes.vue?vue&type=template&id=caf6d86c&scoped=true&
|
|
204780
205284
|
var CustomAttributesvue_type_template_id_caf6d86c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"customsFormModal",staticClass:"control-modal-contents customs-modal",on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("自定义属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.customsValue,"max-height":"360px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"名称","width":"210"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)}},model:{value:(scope.row.name),callback:function ($$v) {_vm.$set(scope.row, "name", $$v)},expression:"scope.row.name"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"210"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])})],1)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
204781
205285
|
var CustomAttributesvue_type_template_id_caf6d86c_scoped_true_staticRenderFns = []
|
|
204782
205286
|
|
|
@@ -204929,7 +205433,7 @@ var CustomAttributes_component = normalizeComponent(
|
|
|
204929
205433
|
// CONCATENATED MODULE: ./src/components/controls/customAttributes/index.ts
|
|
204930
205434
|
|
|
204931
205435
|
/* harmony default export */ var customAttributes = (customAttributes_CustomAttributes);
|
|
204932
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205436
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/dataSource/DataSource.vue?vue&type=template&id=d0d17200&
|
|
204933
205437
|
var DataSourcevue_type_template_id_d0d17200_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"dataSourceModal",staticClass:"control-modal-contents data-modal",on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("绑定数据源")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",staticStyle:{"padding":"10px"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('div',[_c('el-checkbox',{model:{value:(_vm.dataSource.dataSourceEnabled),callback:function ($$v) {_vm.$set(_vm.dataSource, "dataSourceEnabled", $$v)},expression:"dataSource.dataSourceEnabled"}},[_vm._v("数据源绑定设置有效")])],1)]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-input',{attrs:{"size":"mini","disabled":!_vm.dataSource.dataSourceEnabled,"placeholder":"数据源"},model:{value:(_vm.dataSource.dataSource),callback:function ($$v) {_vm.$set(_vm.dataSource, "dataSource", $$v)},expression:"dataSource.dataSource"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("格式化")]),_c('el-input',{attrs:{"size":"mini","disabled":!_vm.dataSource.dataSourceEnabled,"placeholder":"格式化"},model:{value:(_vm.dataSource.format),callback:function ($$v) {_vm.$set(_vm.dataSource, "format", $$v)},expression:"dataSource.format"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("访问路径")]),_c('el-input',{attrs:{"size":"mini","disabled":!_vm.dataSource.dataSourceEnabled,"placeholder":"访问路径"},model:{value:(_vm.dataSource.visitPath),callback:function ($$v) {_vm.$set(_vm.dataSource, "visitPath", $$v)},expression:"dataSource.visitPath"}})],1),_c('li',{staticClass:"control-item"},[_c('div',[_c('el-checkbox',{attrs:{"disabled":!_vm.dataSource.dataSourceEnabled},model:{value:(_vm.dataSource.isReadOnly),callback:function ($$v) {_vm.$set(_vm.dataSource, "isReadOnly", $$v)},expression:"dataSource.isReadOnly"}},[_vm._v("只读")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',[_c('el-checkbox',{attrs:{"disabled":!_vm.dataSource.dataSourceEnabled},model:{value:(_vm.dataSource.autoUpdate),callback:function ($$v) {_vm.$set(_vm.dataSource, "autoUpdate", $$v)},expression:"dataSource.autoUpdate"}},[_vm._v("自动更新,当加载文档或者数据源发生改变时自动更新数值")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("执行状态")]),_c('el-select',{staticStyle:{"text-align":"left"},attrs:{"disabled":!_vm.dataSource.dataSourceEnabled,"placeholder":"请选择","size":"mini"},model:{value:(_vm.dataSource.executeStatus),callback:function ($$v) {_vm.$set(_vm.dataSource, "executeStatus", $$v)},expression:"dataSource.executeStatus"}},[_c('el-option',{attrs:{"label":"总是执行","value":0}}),_c('el-option',{attrs:{"label":"只执行一次","value":1}}),_c('el-option',{attrs:{"label":"不执行","value":2}})],1)],1)])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
204934
205438
|
var DataSourcevue_type_template_id_d0d17200_staticRenderFns = []
|
|
204935
205439
|
|
|
@@ -205039,7 +205543,7 @@ var DataSource_component = normalizeComponent(
|
|
|
205039
205543
|
// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
|
|
205040
205544
|
|
|
205041
205545
|
/* harmony default export */ var controls_dataSource = (DataSource);
|
|
205042
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205546
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=template&id=433a8f7f&scoped=true&
|
|
205043
205547
|
var ListSourcevue_type_template_id_433a8f7f_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.handleClose),expression:"handleClose"}],ref:"listSourceModal",staticClass:"control-modal-contents list-source-modal",on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("下拉列表")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item",staticStyle:{"width":"100%"}},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini","placeholder":"来源"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"42px"}},[_vm._v("列表")]),_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listValue,"height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{attrs:{"label":"类型","width":"70"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"mini"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.type),callback:function ($$v) {_vm.$set(scope.row, "type", $$v)},expression:"scope.row.type"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.default)?_c('span',{staticClass:"tags"},[_vm._v("默认")]):_vm._e(),(scope.row.default)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.cancelDefault(scope.row.id)}}},[_vm._v("取消")]):_vm._e(),(!scope.row.default && scope.row.text)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.setDefault(scope.row.id)}}},[_vm._v("设为默认")]):_vm._e(),(scope.$index !== _vm.listValue.length - 1 && _vm.focusIndexs === scope.$index)?_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")]):_vm._e()]}}])})],1)],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
205044
205548
|
var ListSourcevue_type_template_id_433a8f7f_scoped_true_staticRenderFns = []
|
|
205045
205549
|
|
|
@@ -205321,7 +205825,7 @@ var ListSource_component = normalizeComponent(
|
|
|
205321
205825
|
// CONCATENATED MODULE: ./src/components/controls/listsource/index.ts
|
|
205322
205826
|
|
|
205323
205827
|
/* harmony default export */ var listsource = (listsource_ListSource);
|
|
205324
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205828
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableProperty.vue?vue&type=template&id=4b692cf7&scoped=true&
|
|
205325
205829
|
var TablePropertyvue_type_template_id_4b692cf7_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canAdjustRowHeight),callback:function ($$v) {_vm.canAdjustRowHeight=$$v},expression:"canAdjustRowHeight"}},[_vm._v("用户可调整行高")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canAdjustRowWidth),callback:function ($$v) {_vm.canAdjustRowWidth=$$v},expression:"canAdjustRowWidth"}},[_vm._v("用户可调整列宽")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canAddRow),callback:function ($$v) {_vm.canAddRow=$$v},expression:"canAddRow"}},[_vm._v("用户可新增表格行列")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canDeleteRow),callback:function ($$v) {_vm.canDeleteRow=$$v},expression:"canDeleteRow"}},[_vm._v("用户可删除表格行列")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.canDeleteTable),callback:function ($$v) {_vm.canDeleteTable=$$v},expression:"canDeleteTable"}},[_vm._v("用户可删除表格")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.continuePrintBorders),callback:function ($$v) {_vm.continuePrintBorders=$$v},expression:"continuePrintBorders"}},[_vm._v("续打时打印所有单元格边框")])],1),_c('div',{staticStyle:{"width":"50%"}},[_c('el-checkbox',{model:{value:(_vm.isAutoChangeLine),callback:function ($$v) {_vm.isAutoChangeLine=$$v},expression:"isAutoChangeLine"}},[_vm._v("表格内自动换行")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('span',{staticStyle:{"padding":"0 10px 0 23px"}},[_vm._v("表格内自动换行行高")]),_c('el-input-number',{attrs:{"size":"mini","disabled":!_vm.isAutoChangeLine,"step":1,"min":0,"precision":2,"controls":false},model:{value:(_vm.autoLineHeight),callback:function ($$v) {_vm.autoLineHeight=$$v},expression:"autoLineHeight"}}),_c('span',{staticStyle:{"padding-left":"6px"}},[_vm._v(" 厘米")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('span',{staticStyle:{"padding":"0 10px 0 23px"}},[_vm._v("当前光标所在行行高 "+_vm._s(_vm.rowHeightMm)+" 厘米")])])])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
205326
205830
|
var TablePropertyvue_type_template_id_4b692cf7_scoped_true_staticRenderFns = []
|
|
205327
205831
|
|
|
@@ -205526,7 +206030,7 @@ var TableProperty_component = normalizeComponent(
|
|
|
205526
206030
|
)
|
|
205527
206031
|
|
|
205528
206032
|
/* harmony default export */ var table_TableProperty = (TableProperty_component.exports);
|
|
205529
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206033
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=template&id=561d76c0&scoped=true&
|
|
205530
206034
|
var TableRowPropertyvue_type_template_id_561d76c0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-row-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格行属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"padding-right":"20px"}},[_c('el-checkbox',{on:{"change":_vm.watchParamsChange},model:{value:(_vm.isSpecifyHeight),callback:function ($$v) {_vm.isSpecifyHeight=$$v},expression:"isSpecifyHeight"}},[_vm._v("指定高度(厘米)")])],1),_c('el-input-number',{attrs:{"size":"mini","disabled":!_vm.isSpecifyHeight,"precision":2,"step":1,"min":0,"controls":false,"controls-position":"right"},model:{value:(_vm.rowHeight),callback:function ($$v) {_vm.rowHeight=$$v},expression:"rowHeight"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("当前显示高度 "+_vm._s(_vm.rowHeightMm)+" 厘米")])],1),_c('li',{staticClass:"control-item",staticStyle:{"padding":"0 0 0 10px"}},[_c('el-checkbox',{attrs:{"disabled":!_vm.isSpecifyHeight},model:{value:(_vm.isAutoRaiseHeight),callback:function ($$v) {_vm.isAutoRaiseHeight=$$v},expression:"isAutoRaiseHeight"}},[_vm._v("内容过多时自动撑大行高以显示所有内容")])],1),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.repeatAsTitleAtPageTop),callback:function ($$v) {_vm.repeatAsTitleAtPageTop=$$v},expression:"repeatAsTitleAtPageTop"}},[_vm._v("在隔页顶端以标题行形式重复出现")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.sameLineCanAcrossPages),callback:function ($$v) {_vm.sameLineCanAcrossPages=$$v},expression:"sameLineCanAcrossPages"}},[_vm._v("同行内容能跨页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.forcedPageBreak),callback:function ($$v) {_vm.forcedPageBreak=$$v},expression:"forcedPageBreak"}},[_vm._v("强制分页")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBorders),callback:function ($$v) {_vm.printCellBorders=$$v},expression:"printCellBorders"}},[_vm._v("打印单元格边框线")])],1),_c('div',{staticStyle:{"width":"100%"}},[_c('el-checkbox',{model:{value:(_vm.printCellBg),callback:function ($$v) {_vm.printCellBg=$$v},expression:"printCellBg"}},[_vm._v("打印单元格背景")])],1)])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
205531
206035
|
var TableRowPropertyvue_type_template_id_561d76c0_scoped_true_staticRenderFns = []
|
|
205532
206036
|
|
|
@@ -205794,7 +206298,7 @@ var TableRowProperty_component = normalizeComponent(
|
|
|
205794
206298
|
)
|
|
205795
206299
|
|
|
205796
206300
|
/* harmony default export */ var TableRowProperty = (TableRowProperty_component.exports);
|
|
205797
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206301
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableColProperty.vue?vue&type=template&id=d037fa9c&
|
|
205798
206302
|
var TableColPropertyvue_type_template_id_d037fa9c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-row-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("表格列属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('li',{staticClass:"control-item"},[_c('div',{staticStyle:{"padding-right":"20px"}},[_c('el-checkbox',{on:{"change":_vm.watchParamsChange},model:{value:(_vm.isSpecifyWidth),callback:function ($$v) {_vm.isSpecifyWidth=$$v},expression:"isSpecifyWidth"}},[_vm._v("指定宽度(厘米)")])],1),_c('el-input-number',{attrs:{"size":"mini","disabled":!_vm.isSpecifyWidth,"step":1,"min":0,"precision":2,"controls":false},model:{value:(_vm.width),callback:function ($$v) {_vm.width=$$v},expression:"width"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("当前显示宽度 "+_vm._s(_vm.colWidth)+" 厘米")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("垂直对齐方式")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"垂直对齐方式","size":"mini"},model:{value:(_vm.align),callback:function ($$v) {_vm.align=$$v},expression:"align"}},[_c('el-option',{attrs:{"label":"靠上","value":0}}),_c('el-option',{attrs:{"label":"居中","value":1}}),_c('el-option',{attrs:{"label":"靠下","value":2}})],1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编辑器属性")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"编辑器属性","size":"mini"},on:{"change":_vm.editorPropertyChange},model:{value:(_vm.editorProperty),callback:function ($$v) {_vm.editorProperty=$$v},expression:"editorProperty"}},[_c('el-option',{attrs:{"label":"无","value":0}}),_c('el-option',{attrs:{"label":"下拉列表","value":1}}),_c('el-option',{attrs:{"label":"日期","value":2}}),_c('el-option',{attrs:{"label":"数值","value":3}})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.splitCharacter),callback:function ($$v) {_vm.splitCharacter=$$v},expression:"splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}})],1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.allowMultiSelected),callback:function ($$v) {_vm.allowMultiSelected=$$v},expression:"allowMultiSelected"}},[_vm._v("允许多选")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.isAllowDel),callback:function ($$v) {_vm.isAllowDel=$$v},expression:"isAllowDel"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.canModifyContent),callback:function ($$v) {_vm.canModifyContent=$$v},expression:"canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listItems,"max-height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return (scope.$index !== _vm.listItems.length - 1 && _vm.focusIndexs === scope.$index)?[_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]:undefined}}],null,true)})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 2),expression:"editorProperty === 2"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("日期格式")]),_c('el-select',{attrs:{"placeholder":"输入样式","size":"mini"},model:{value:(_vm.inputStyle),callback:function ($$v) {_vm.inputStyle=$$v},expression:"inputStyle"}},_vm._l((_vm.dateFormatList),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 3),expression:"editorProperty === 3"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("最小值")]),_c('el-input-number',{attrs:{"size":"mini","max":Number(_vm.maxNumVal),"min":0,"step":10,"controls":false},model:{value:(_vm.minNumVal),callback:function ($$v) {_vm.minNumVal=$$v},expression:"minNumVal"}})],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("最大值")]),_c('el-input-number',{attrs:{"size":"mini","min":Number(_vm.minNumVal),"step":10,"controls":false},model:{value:(_vm.maxNumVal),callback:function ($$v) {_vm.maxNumVal=$$v},expression:"maxNumVal"}})],1)])])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
205799
206303
|
var TableColPropertyvue_type_template_id_d037fa9c_staticRenderFns = []
|
|
205800
206304
|
|
|
@@ -206105,19 +206609,19 @@ var TableColProperty_component = normalizeComponent(
|
|
|
206105
206609
|
)
|
|
206106
206610
|
|
|
206107
206611
|
/* harmony default export */ var TableColProperty = (TableColProperty_component.exports);
|
|
206108
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206612
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=134c4d55&scoped=true&
|
|
206109
206613
|
var TableCellPropertyvue_type_template_id_134c4d55_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal-contents table-cell-modal animation-in"},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("单元格属性")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('el-tabs',{model:{value:(_vm.textActiveName),callback:function ($$v) {_vm.textActiveName=$$v},expression:"textActiveName"}},[_c('el-tab-pane',{attrs:{"label":"常规","name":"0"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编号")]),_c('span',{staticClass:"readonly-value"},[_vm._v(_vm._s(_vm.id))])]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"margin-left":"10px"}},[_vm._v("标题")]),_c('el-input',{attrs:{"size":"mini","placeholder":"标题"},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:"title"}})],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("自定义属性")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openCustomsModal}},[_vm._v("自定义属性")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"margin-left":"10px"}},[_vm._v("数据源")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.openDataSourceModal}},[_vm._v("设置数据源")])],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.lightCellBorders),callback:function ($$v) {_vm.lightCellBorders=$$v},expression:"lightCellBorders"}},[_vm._v("突出显示单元格边框")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"margin-left":"10px"}},[_vm._v("垂直对齐方式")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"垂直对齐方式","size":"mini"},model:{value:(_vm.align),callback:function ($$v) {_vm.align=$$v},expression:"align"}},[_c('el-option',{attrs:{"label":"靠上","value":0}}),_c('el-option',{attrs:{"label":"垂直居中","value":1}}),_c('el-option',{attrs:{"label":"靠下","value":2}})],1)],1)]),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("单元格背景色")]),_c('ho-color-picker',{attrs:{"defaultColor":"#ffffff"},model:{value:(_vm.backColor),callback:function ($$v) {_vm.backColor=$$v},expression:"backColor"}})],1)]),_c('li',{staticClass:"control-item"},[_c('div',[_c('span',{staticClass:"label",staticStyle:{"display":"inline-block"}},[_vm._v("单元格内边距")]),_c('span',{staticClass:"label"},[_vm._v("上")]),_c('el-input-number',{attrs:{"size":"mini","step":1,"min":0,"controls":false},model:{value:(_vm.cellTop),callback:function ($$v) {_vm.cellTop=$$v},expression:"cellTop"}}),_c('span',{staticStyle:{"padding":"0 30px 0 10px"}},[_vm._v("厘米")]),_c('span',{staticClass:"label"},[_vm._v("下")]),_c('el-input-number',{attrs:{"size":"mini","step":1,"min":0,"controls":false},model:{value:(_vm.cellBottom),callback:function ($$v) {_vm.cellBottom=$$v},expression:"cellBottom"}}),_c('span',{staticStyle:{"padding":"0 30px 0 10px"}},[_vm._v("厘米")])],1),_c('div',[_c('span',{staticClass:"label",staticStyle:{"display":"inline-block","padding":"0 44px","margin-left":"-1px"}}),_c('span',{staticClass:"label"},[_vm._v("左")]),_c('el-input-number',{attrs:{"size":"mini","step":1,"min":0,"controls":false},model:{value:(_vm.cellLeft),callback:function ($$v) {_vm.cellLeft=$$v},expression:"cellLeft"}}),_c('span',{staticStyle:{"padding":"0 30px 0 10px"}},[_vm._v("厘米")]),_c('span',{staticClass:"label"},[_vm._v("右")]),_c('el-input-number',{attrs:{"size":"mini","step":1,"min":0,"controls":false},model:{value:(_vm.cellRight),callback:function ($$v) {_vm.cellRight=$$v},expression:"cellRight"}}),_c('span',{staticStyle:{"padding":"0 30px 0 10px"}},[_vm._v("厘米")])],1)]),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("边框设置")]),_c('div',[_c('el-checkbox',{on:{"change":_vm.isDrawGridlinesChange},model:{value:(_vm.isDrawGridlines),callback:function ($$v) {_vm.isDrawGridlines=$$v},expression:"isDrawGridlines"}},[_vm._v("绘制边框")])],1)]),_c('li',{staticClass:"control-item grid-lines-style",style:({ color: _vm.isDrawGridlines ? '#000000' : '#C0C4CC' })},[_c('span',{staticClass:"label"}),_c('div',[_c('div',{staticClass:"control-item"},[_c('div',{staticClass:"grid-lines-color-item"},[_c('span',{staticClass:"label",staticStyle:{"display":"inline-block"}},[_vm._v("边框颜色")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[0]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 0, $$v)},expression:"gridLinesColor[0]"}})],1)]),_c('PrintLineStyle',{attrs:{"isDrawGridlines":_vm.isDrawGridlines,"defaultStyle":_vm.gridLinesStyle,"placeholder":"边框样式"},on:{"change":_vm.printStyleChange}}),_c('li',{staticClass:"control-item"},[_c('el-checkbox',{attrs:{"disabled":!_vm.isDrawGridlines},model:{value:(_vm.printGridLines),callback:function ($$v) {_vm.printGridLines=$$v},expression:"printGridLines"}},[_vm._v("打印边框")])],1)],1)])])]),_c('el-tab-pane',{attrs:{"label":"双击属性","name":"1"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("编辑器属性")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"编辑器属性","size":"mini"},model:{value:(_vm.editorProperty),callback:function ($$v) {_vm.editorProperty=$$v},expression:"editorProperty"}},[_c('el-option',{attrs:{"label":"无","value":0}}),_c('el-option',{attrs:{"label":"下拉列表","value":1}}),_c('el-option',{attrs:{"label":"日期","value":2}})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("分隔符")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"分隔符","size":"mini"},model:{value:(_vm.splitCharacter),callback:function ($$v) {_vm.splitCharacter=$$v},expression:"splitCharacter"}},[_c('el-option',{attrs:{"label":",","value":","}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"-","value":"-"}})],1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.allowMultiSelected),callback:function ($$v) {_vm.allowMultiSelected=$$v},expression:"allowMultiSelected"}},[_vm._v("允许多选")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.isAllowDel),callback:function ($$v) {_vm.isAllowDel=$$v},expression:"isAllowDel"}},[_vm._v("允许被删除")])],1),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.canModifyContent),callback:function ($$v) {_vm.canModifyContent=$$v},expression:"canModifyContent"}},[_vm._v("用户可以直接编辑修改内容")])],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("来源")]),_c('el-input',{attrs:{"size":"mini"},model:{value:(_vm.source),callback:function ($$v) {_vm.source=$$v},expression:"source"}})],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 1),expression:"editorProperty === 1"}],staticClass:"control-item"},[_c('el-table',{staticStyle:{"width":"100%"},attrs:{"data":_vm.listItems,"max-height":"210px"}},[_c('el-table-column',{staticStyle:{"text-align":"center"},attrs:{"label":"","width":"32"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('i',{directives:[{name:"show",rawName:"v-show",value:(scope.$index === _vm.focusIndexs),expression:"scope.$index === focusIndexs"}],staticClass:"el-icon-edit",staticStyle:{"transform":"translateX(6px)"}})]}}])}),_c('el-table-column',{attrs:{"label":"文本","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{class:_vm.errorIndex.includes(scope.row.id) ? 'error' : '',attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.text),callback:function ($$v) {_vm.$set(scope.row, "text", $$v)},expression:"scope.row.text"}})]}}])}),_c('el-table-column',{attrs:{"label":"值","width":"130"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('el-input',{attrs:{"size":"small"},on:{"focus":function($event){return _vm.focusIndex(scope.$index)},"input":function($event){return _vm.inputIndex(scope.$index)},"blur":function($event){return _vm.blurIndex(scope.$index)}},model:{value:(scope.row.value),callback:function ($$v) {_vm.$set(scope.row, "value", $$v)},expression:"scope.row.value"}})]}}])}),_c('el-table-column',{scopedSlots:_vm._u([{key:"default",fn:function(scope){return (scope.$index !== _vm.listItems.length - 1 && _vm.focusIndexs === scope.$index)?[_c('el-button',{attrs:{"size":"mini"},on:{"click":function($event){$event.stopPropagation();return _vm.deleteCurrentRow(scope.row.id)}}},[_vm._v("删除")])]:undefined}}],null,true)})],1)],1),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 2),expression:"editorProperty === 2"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("日期格式")]),_c('el-select',{attrs:{"placeholder":"输入样式","size":"mini"},model:{value:(_vm.inputStyle),callback:function ($$v) {_vm.inputStyle=$$v},expression:"inputStyle"}},_vm._l((_vm.dateFormatList),function(item){return _c('el-option',{key:item,attrs:{"label":item,"value":item}})}),1)],1)]),_c('li',{directives:[{name:"show",rawName:"v-show",value:(_vm.editorProperty === 2),expression:"editorProperty === 2"}],staticClass:"control-item"},[_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.isAutoInputCurDate),callback:function ($$v) {_vm.isAutoInputCurDate=$$v},expression:"isAutoInputCurDate"}},[_vm._v("双击设置当前日期时间")])],1)])])]),_c('el-tab-pane',{attrs:{"label":"斜分割线","name":"2"}},[_c('ul',{staticClass:"diagonal-line"},[_c('li',{class:_vm.obliqueSplitLine === 0 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(0)}}},[_c('span',{staticClass:"line no-line"}),_c('span',[_vm._v("None")])]),_c('li',{class:_vm.obliqueSplitLine === 1 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(1)}}},[_c('span',{staticClass:"line left-line top-line top-left-one-line"}),_c('span',[_vm._v("TopLeftOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 2 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(2)}}},[_c('span',{staticClass:"line left-line top-line top-left-two-line"}),_c('span',[_vm._v("TopLeftTwoLine")])]),_c('li',{class:_vm.obliqueSplitLine === 3 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(3)}}},[_c('span',{staticClass:"line right-line top-line top-right-one-line"}),_c('span',[_vm._v("TopRightOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 4 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(4)}}},[_c('span',{staticClass:"line right-line top-line top-right-two-line"}),_c('span',[_vm._v("TopRightTwoLine")])]),_c('li',{class:_vm.obliqueSplitLine === 5 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(5)}}},[_c('span',{staticClass:"line left-line bottom-line bottom-left-one-line"}),_c('span',[_vm._v("BottomLeftOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 6 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(6)}}},[_c('span',{staticClass:"line left-line bottom-line bottom-left-two-line"}),_c('span',[_vm._v("BottomLeftTwoLine")])]),_c('li',{class:_vm.obliqueSplitLine === 7 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(7)}}},[_c('span',{staticClass:"line right-line bottom-line bottom-right-one-line"}),_c('span',[_vm._v("BottomRightOneLine")])]),_c('li',{class:_vm.obliqueSplitLine === 8 ? 'selected' : '',on:{"click":function($event){return _vm.setObliqueSplitLine(8)}}},[_c('span',{staticClass:"line right-line bottom-line bottom-right-two-line"}),_c('span',[_vm._v("BottomRightTwoLine")])])])])],1)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
206110
206614
|
var TableCellPropertyvue_type_template_id_134c4d55_scoped_true_staticRenderFns = []
|
|
206111
206615
|
|
|
206112
206616
|
|
|
206113
206617
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=134c4d55&scoped=true&
|
|
206114
206618
|
|
|
206115
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206116
|
-
var
|
|
206117
|
-
var
|
|
206619
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/printstyle/PrintLineStyle.vue?vue&type=template&id=01f80e1a&scoped=true&
|
|
206620
|
+
var PrintLineStylevue_type_template_id_01f80e1a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",style:({ width: _vm.labelWidth })},[_vm._v(_vm._s(_vm.placeholder))]),_c('el-select',{staticClass:"grid-lines-style",staticStyle:{"width":"144px"},attrs:{"disabled":_vm.isDrawGridlines,"placeholder":_vm.placeholder,"size":"mini"},on:{"change":_vm.linesStyleChange},model:{value:(_vm.linesStyle),callback:function ($$v) {_vm.linesStyle=$$v},expression:"linesStyle"}},[_c('el-option',{attrs:{"label":"solid","value":0}},[_c('svg',{attrs:{"viewBox":"0 0 18236 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"100","height":"34"}},[_c('path',{attrs:{"d":"M0 0h18236.952381v1024H0z","fill":"#333"}})]),_c('span',{staticStyle:{"flex":"1"}}),_c('span',[_vm._v("solid")])]),_c('el-option',{attrs:{"label":"dash","value":1}},[_c('svg',{attrs:{"viewBox":"0 0 15360 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"100","height":"32","fill":"#333"}},[_c('path',{attrs:{"d":"M0 1024V0h3072v1024H0z m4096 0V0h3072v1024H4096z m8192 0V0h3072v1024h-3072z m-4096 0V0h3072v1024H8192z"}})]),_c('span',{staticStyle:{"flex":"1"}}),_c('span',[_vm._v("dash")])]),_c('el-option',{attrs:{"label":"dashdot","value":2}},[_c('svg',{staticStyle:{"transform":"translateY(8px)"},attrs:{"viewBox":"0 0 7680 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"50","height":"20","fill":"#333"}},[_c('path',{attrs:{"d":"M0 0h2304v1024H0V0z m3328 0h1024v1024h-1024V0z m2048 0h2304v1024h-2304V0z"}})]),_c('span',{staticStyle:{"flex":"1"}}),_c('span',[_vm._v("dashdot")])]),_c('el-option',{attrs:{"label":"dashdotdo","value":3}},[_c('svg',{attrs:{"viewBox":"0 0 12288 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"80","height":"34","fill":"#333"}},[_c('path',{attrs:{"d":"M6912 0h1536v1024h-1536V0zM3840 0h1536v1024h-1536V0zM0 0h2304v1024H0V0z m9984 0h2304v1024h-2304V0z"}})]),_c('span',{staticStyle:{"flex":"1","padding":"0 33px"}}),_c('span',[_vm._v("dashdotdot")])]),_c('el-option',{attrs:{"label":"dot","value":4}},[_c('svg',{staticStyle:{"transform":"translateY(-12px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"36","height":"34","fill":"#333"}},[_c('path',{attrs:{"d":"M424.96 797.184h174.08v174.08H424.96zM790.016 797.184h174.08v174.08h-174.08zM59.904 797.184h174.08v174.08h-174.08z"}})]),_c('svg',{staticStyle:{"transform":"translateY(-12px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"36","height":"34","fill":"#333"}},[_c('path',{attrs:{"d":"M424.96 797.184h174.08v174.08H424.96zM790.016 797.184h174.08v174.08h-174.08zM59.904 797.184h174.08v174.08h-174.08z"}})]),_c('svg',{staticStyle:{"transform":"translateY(-12px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"36","height":"34","fill":"#333"}},[_c('path',{attrs:{"d":"M424.96 797.184h174.08v174.08H424.96zM790.016 797.184h174.08v174.08h-174.08zM59.904 797.184h174.08v174.08h-174.08z"}})]),_c('span',{staticStyle:{"flex":"1"}}),_c('span',[_vm._v("dot")])])],1)],1)}
|
|
206621
|
+
var PrintLineStylevue_type_template_id_01f80e1a_scoped_true_staticRenderFns = []
|
|
206118
206622
|
|
|
206119
206623
|
|
|
206120
|
-
// CONCATENATED MODULE: ./src/components/controls/printstyle/PrintLineStyle.vue?vue&type=template&id=
|
|
206624
|
+
// CONCATENATED MODULE: ./src/components/controls/printstyle/PrintLineStyle.vue?vue&type=template&id=01f80e1a&scoped=true&
|
|
206121
206625
|
|
|
206122
206626
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.is-finite.js
|
|
206123
206627
|
var es_number_is_finite = __webpack_require__("f00c8");
|
|
@@ -206193,11 +206697,11 @@ PrintLineStylevue_type_script_lang_ts_PrintLineStyle = __decorate([vue_class_com
|
|
|
206193
206697
|
|
|
206194
206698
|
var PrintLineStyle_component = normalizeComponent(
|
|
206195
206699
|
printstyle_PrintLineStylevue_type_script_lang_ts_,
|
|
206196
|
-
|
|
206197
|
-
|
|
206700
|
+
PrintLineStylevue_type_template_id_01f80e1a_scoped_true_render,
|
|
206701
|
+
PrintLineStylevue_type_template_id_01f80e1a_scoped_true_staticRenderFns,
|
|
206198
206702
|
false,
|
|
206199
206703
|
null,
|
|
206200
|
-
"
|
|
206704
|
+
"01f80e1a",
|
|
206201
206705
|
null
|
|
206202
206706
|
|
|
206203
206707
|
)
|
|
@@ -206206,7 +206710,7 @@ var PrintLineStyle_component = normalizeComponent(
|
|
|
206206
206710
|
// CONCATENATED MODULE: ./src/components/controls/printstyle/index.ts
|
|
206207
206711
|
|
|
206208
206712
|
|
|
206209
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206713
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/colorPicker/HoColorPicker.vue?vue&type=template&id=a4ad5878&scoped=true&
|
|
206210
206714
|
var HoColorPickervue_type_template_id_a4ad5878_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.closed),expression:"closed"}],ref:"colorPicker",staticClass:"ho-color-picker"},[_c('div',{staticClass:"color-btn",class:{ disabled: _vm.disabled },style:({'background-color': _vm.showColor, 'border-color': _vm.showColor.toLowerCase() === '#ffffff' ? '#333' : 'transparent'}),on:{"click":_vm.openPanel}}),_c('div',{staticClass:"box",class:{ open: _vm.openStatus }},[_c('div',{staticClass:"hd"},[_c('div',{staticClass:"color-view",style:(("background-color: " + _vm.showPanelColor))}),_c('div',{staticClass:"default-color",on:{"click":_vm.handleDefaultColor,"mouseover":function($event){_vm.hoveColor = _vm.defaultColor},"mouseout":function($event){_vm.hoveColor = null}}},[_vm._v("默认颜色")])]),_c('div',{staticClass:"bd"},[_c('h3',[_vm._v("主题颜色")]),_c('ul',{staticClass:"t-color"},_vm._l((_vm.tColor),function(color,index){return _c('li',{key:index,style:({ backgroundColor: color }),on:{"mouseover":function($event){_vm.hoveColor = color},"mouseout":function($event){_vm.hoveColor = null},"click":function($event){return _vm.updataValue(color)}}})}),0),_c('h3',[_vm._v("标准颜色")]),_c('ul',{staticClass:"t-color"},_vm._l((_vm.bColor),function(color,index){return _c('li',{key:index,style:({ backgroundColor: color }),on:{"mouseover":function($event){_vm.hoveColor = color},"mouseout":function($event){_vm.hoveColor = null},"click":function($event){return _vm.updataValue(color)}}})}),0)])])])}
|
|
206211
206715
|
var HoColorPickervue_type_template_id_a4ad5878_scoped_true_staticRenderFns = []
|
|
206212
206716
|
|
|
@@ -206827,7 +207331,7 @@ var TableCellProperty_component = normalizeComponent(
|
|
|
206827
207331
|
|
|
206828
207332
|
|
|
206829
207333
|
|
|
206830
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207334
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/pageInfoes/PageInfoes.vue?vue&type=template&id=4da72a3a&scoped=true&
|
|
206831
207335
|
var PageInfoesvue_type_template_id_4da72a3a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'control-modal-contents pageinfoes-modal ' + _vm.animationClassName},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("页码页数信息")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("内容")]),_c('el-radio',{attrs:{"size":"small","label":0},model:{value:(_vm.content),callback:function ($$v) {_vm.content=$$v},expression:"content"}},[_vm._v("页码")]),_c('el-radio',{attrs:{"size":"small","label":1},model:{value:(_vm.content),callback:function ($$v) {_vm.content=$$v},expression:"content"}},[_vm._v("总页数")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("数字显示格式")]),_c('el-select',{staticStyle:{"text-align":"left","font-size":"20px"},attrs:{"placeholder":"数字显示格式","size":"mini"},model:{value:(_vm.format),callback:function ($$v) {_vm.format=$$v},expression:"format"}},[_c('el-option',{attrs:{"label":"1. 2. 3. 4. ···","value":0}}),_c('el-option',{attrs:{"label":"一. 二. 三. 四. ···","value":1}})],1)],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.sure}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
206832
207336
|
var PageInfoesvue_type_template_id_4da72a3a_scoped_true_staticRenderFns = []
|
|
206833
207337
|
|
|
@@ -206924,7 +207428,7 @@ var PageInfoes_component = normalizeComponent(
|
|
|
206924
207428
|
// CONCATENATED MODULE: ./src/components/controls/pageInfoes/index.ts
|
|
206925
207429
|
|
|
206926
207430
|
/* harmony default export */ var pageInfoes = (pageInfoes_PageInfoes);
|
|
206927
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207431
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/delimiter/Delimiter.vue?vue&type=template&id=0277f9ca&
|
|
206928
207432
|
var Delimitervue_type_template_id_0277f9ca_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("分割符")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",staticStyle:{"padding":"20px"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("宽度")]),_c('el-input-number',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini","precision":2,"min":0,"controls":false},model:{value:(_vm.width),callback:function ($$v) {_vm.width=$$v},expression:"width"}}),_c('span',{staticStyle:{"padding-left":"10px"}},[_vm._v("px")])],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("颜色")]),_c('ho-color-picker',{model:{value:(_vm.color),callback:function ($$v) {_vm.color=$$v},expression:"color"}})],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.insertDelimiter}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
206929
207433
|
var Delimitervue_type_template_id_0277f9ca_staticRenderFns = []
|
|
206930
207434
|
|
|
@@ -207016,7 +207520,7 @@ var Delimiter_component = normalizeComponent(
|
|
|
207016
207520
|
// CONCATENATED MODULE: ./src/components/controls/delimiter/index.ts
|
|
207017
207521
|
|
|
207018
207522
|
/* harmony default export */ var delimiter = (delimiter_Delimiter);
|
|
207019
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207523
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/sign/Sign.vue?vue&type=template&id=f4860f7c&
|
|
207020
207524
|
var Signvue_type_template_id_f4860f7c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.animationClassNames},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("签名")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content",staticStyle:{"paDDing":"20px"}},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("签名名称")]),_c('el-input',{staticStyle:{"width":"120px","display":"flex"},attrs:{"size":"mini"},model:{value:(_vm.name),callback:function ($$v) {_vm.name=$$v},expression:"name"}})],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"}),_c('el-radio',{attrs:{"label":0},model:{value:(_vm.signType),callback:function ($$v) {_vm.signType=$$v},expression:"signType"}},[_vm._v("单人签名")]),_c('el-radio',{attrs:{"label":1},model:{value:(_vm.signType),callback:function ($$v) {_vm.signType=$$v},expression:"signType"}},[_vm._v("多人签名")])],1),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("签名格式")]),_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},model:{value:(_vm.signFormat),callback:function ($$v) {_vm.signFormat=$$v},expression:"signFormat"}},[_c('el-option',{attrs:{"label":"<医师姓名>","value":"<医师姓名>"}}),_c('el-option',{attrs:{"label":"<医师姓名>(<医师职称>)","value":"<医师姓名>(<医师职称>)"}}),_c('el-option',{attrs:{"label":"<医师姓名>:<医师职称>","value":"<医师姓名>:<医师职称>"}}),_c('el-option',{attrs:{"label":"<医师姓名>:<医师职称>\\n<签名时间>","value":"<医师姓名>:<医师职称>\\n<签名时间>"}}),_vm._l((_vm.customSignFormatList),function(format){return _c('el-option',{key:format.label,attrs:{"label":format.label,"value":format.value}})})],2)],1):_vm._e(),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("签名时间格式")]),_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},model:{value:(_vm.signTimeFormat),callback:function ($$v) {_vm.signTimeFormat=$$v},expression:"signTimeFormat"}},[_c('el-option',{attrs:{"label":"yyyy-MM-DD HH:mm:ss","value":"yyyy-MM-DD HH:mm:ss"}}),_c('el-option',{attrs:{"label":"yyyy-MM-DD HH:mm","value":"yyyy-MM-DD HH:mm"}}),_c('el-option',{attrs:{"label":"yyyy/MM/DD HH:mm:ss","value":"yyyy/MM/DD HH:mm:ss"}}),_c('el-option',{attrs:{"label":"yyyy/MM/DD HH:mm","value":"yyyy/MM/DD HH:mm"}}),_c('el-option',{attrs:{"label":"yyyy年MM月DD日 HH时mm分ss秒","value":"yyyy年MM月DD日 HH时mm分ss秒"}}),_c('el-option',{attrs:{"label":"yyyy年MM月DD日 HH时mm分","value":"yyyy年MM月DD日 HH时mm分"}})],1)],1):_vm._e(),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("签名连接方式")]),_c('el-select',{attrs:{"size":"mini","placeholder":"请选择"},model:{value:(_vm.connectMode),callback:function ($$v) {_vm.connectMode=$$v},expression:"connectMode"}},[_c('el-option',{attrs:{"label":"/","value":"/"}}),_c('el-option',{attrs:{"label":"换行","value":"换行"}}),_c('el-option',{attrs:{"label":"、","value":"、"}}),_c('el-option',{attrs:{"label":",","value":","}})],1)],1):_vm._e(),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"}),_c('el-checkbox',{model:{value:(_vm.isFront),callback:function ($$v) {_vm.isFront=$$v},expression:"isFront"}},[_vm._v("连接符前置")]),_c('el-tooltip',{attrs:{"placement":"right","effect":"dark"}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._v("不勾选参数: 医师签名 / "),_c('br'),_vm._v(" 勾选参数: / 医师签名 ")]),_c('i',{staticClass:"el-icon-info",staticStyle:{"font-size":"18px","margin-left":"10px"}})])],1):_vm._e(),(_vm.signType === 1)?_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"}),_c('el-checkbox',{model:{value:(_vm.allowEditSignTime),callback:function ($$v) {_vm.allowEditSignTime=$$v},expression:"allowEditSignTime"}},[_vm._v("允许修改签名时间")])],1):_vm._e()]),(_vm.signType === 1)?_c('div',{staticClass:"section-right"},[_c('div',{staticClass:"custom-format-tool-box"},[_c('ul',{staticClass:"custom-format-tool"},[_c('li',[_c('el-button',{attrs:{"size":"small","plain":""},on:{"click":function($event){_vm.customFormatContent += '<医师姓名>'}}},[_vm._v("医师姓名")]),_c('i',{staticClass:"el-icon-circle-plus"})],1),_c('li',[_c('el-button',{attrs:{"size":"small","plain":""},on:{"click":function($event){_vm.customFormatContent += '<医师工号>'}}},[_vm._v("医师工号")]),_c('i',{staticClass:"el-icon-circle-plus"})],1),_c('li',[_c('el-button',{attrs:{"size":"small","plain":""},on:{"click":function($event){_vm.customFormatContent += '<医师职称>'}}},[_vm._v("医师职称")]),_c('i',{staticClass:"el-icon-circle-plus"})],1),_c('li',[_c('el-button',{attrs:{"size":"small","plain":""},on:{"click":function($event){_vm.customFormatContent += '<签名时间>'}}},[_vm._v("签名时间")]),_c('i',{staticClass:"el-icon-circle-plus"})],1)]),_c('el-input',{attrs:{"type":"textarea","placeholder":"请输入内容"},model:{value:(_vm.customFormatContent),callback:function ($$v) {_vm.customFormatContent=$$v},expression:"customFormatContent"}})],1),_c('p',[_vm._v("提示:")]),_c('p',[_vm._v("1. 尖括号内的内容用来替换, 不能修改")]),_c('p',[_vm._v("2. 尖括号外的内容处理格式,可以编辑")]),_c('p',[_vm._v("2. 回车键可以自动换行,或者手动插入换行符\\n")]),_c('div',{staticClass:"custom-format-tool-btn"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.createSignFormat}},[_vm._v("添加自定义签名格式")])],1)]):_vm._e()]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"small","type":"primary"},on:{"click":_vm.insertSign}},[_vm._v("确定")]),_c('el-button',{staticStyle:{"margin-left":"30px"},attrs:{"size":"small"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])}
|
|
207021
207525
|
var Signvue_type_template_id_f4860f7c_staticRenderFns = []
|
|
207022
207526
|
|
|
@@ -207403,7 +207907,7 @@ var ControlModal_component = normalizeComponent(
|
|
|
207403
207907
|
)
|
|
207404
207908
|
|
|
207405
207909
|
/* harmony default export */ var controls_ControlModal = (ControlModal_component.exports);
|
|
207406
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
207910
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/findReplace/FindReplace.vue?vue&type=template&id=fd4f089c&
|
|
207407
207911
|
var FindReplacevue_type_template_id_fd4f089c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"findModal",class:_vm.animationClassNames,on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("查找替换")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label"},[_vm._v("查找内容")]),_c('el-input',{attrs:{"type":"text","size":"mini"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.toFind.apply(null, arguments)}},model:{value:(_vm.findContent),callback:function ($$v) {_vm.findContent=$$v},expression:"findContent"}})],1),_c('li',{staticClass:"control-item"},[_c('div',{staticClass:"label"},[_c('el-checkbox',{on:{"change":_vm.switchTypes},model:{value:(_vm.switchType),callback:function ($$v) {_vm.switchType=$$v},expression:"switchType"}},[_vm._v("替换内容")])],1),_c('el-input',{attrs:{"disabled":!_vm.switchType,"type":"text","size":"mini"},model:{value:(_vm.replaceCentent),callback:function ($$v) {_vm.replaceCentent=$$v},expression:"replaceCentent"}})],1),_c('li',{staticClass:"control-item"},[_c('el-radio',{attrs:{"label":0},model:{value:(_vm.direction),callback:function ($$v) {_vm.direction=$$v},expression:"direction"}},[_vm._v("向下")]),_c('el-radio',{attrs:{"label":1},model:{value:(_vm.direction),callback:function ($$v) {_vm.direction=$$v},expression:"direction"}},[_vm._v("向上")]),_c('div',{staticStyle:{"margin-left":"30px"}},[_c('el-checkbox',{model:{value:(_vm.matchCase),callback:function ($$v) {_vm.matchCase=$$v},expression:"matchCase"}},[_vm._v("区分大小写")])],1)],1)])]),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"disabled":_vm.findContent === '',"size":"mini"},on:{"click":_vm.toFind}},[_vm._v("查找")]),_c('el-button',{attrs:{"disabled":_vm.findContent === '' || !_vm.switchType,"size":"mini"},on:{"click":_vm.toReplace}},[_vm._v("替换")]),_c('el-button',{attrs:{"disabled":_vm.findContent === '' || !_vm.switchType,"size":"mini"},on:{"click":_vm.toReplaceAll}},[_vm._v("全部替换")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("关闭")])],1)])}
|
|
207408
207912
|
var FindReplacevue_type_template_id_fd4f089c_staticRenderFns = []
|
|
207409
207913
|
|
|
@@ -207553,7 +208057,7 @@ var FindReplace_component = normalizeComponent(
|
|
|
207553
208057
|
// CONCATENATED MODULE: ./src/components/controls/findReplace/index.ts
|
|
207554
208058
|
|
|
207555
208059
|
/* harmony default export */ var findReplace = (FindReplace);
|
|
207556
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
208060
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/viewContinuousXml/ViewContinuousXml.vue?vue&type=template&id=db8cca98&
|
|
207557
208061
|
var ViewContinuousXmlvue_type_template_id_db8cca98_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:(_vm.loadMore),expression:"loadMore"}],staticClass:"ho-continuous-viewbox",staticStyle:{"overflow":"auto"}},_vm._l((_vm.continuousView.currentList),function(svgBox,index){return _c('div',{key:index,domProps:{"innerHTML":_vm._s(svgBox.innerHTML)}})}),0)}
|
|
207558
208062
|
var ViewContinuousXmlvue_type_template_id_db8cca98_staticRenderFns = []
|
|
207559
208063
|
|
|
@@ -208378,6 +208882,8 @@ background_BackgroundMixins = __decorate([vue_class_component_esm], background_B
|
|
|
208378
208882
|
|
|
208379
208883
|
|
|
208380
208884
|
|
|
208885
|
+
|
|
208886
|
+
|
|
208381
208887
|
var font_FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
208382
208888
|
Object(inherits["a" /* default */])(FontStyleMixin, _Vue);
|
|
208383
208889
|
|
|
@@ -208400,7 +208906,9 @@ var font_FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
208400
208906
|
backColor: "transparent",
|
|
208401
208907
|
color: "#000000",
|
|
208402
208908
|
aligned: 'both',
|
|
208403
|
-
lineSpace: 1.25
|
|
208909
|
+
lineSpace: 1.25,
|
|
208910
|
+
canAddRow: false,
|
|
208911
|
+
canDeleteRow: false
|
|
208404
208912
|
};
|
|
208405
208913
|
_this.aligned = ["left", "right", "center", "both"];
|
|
208406
208914
|
return _this;
|
|
@@ -208424,8 +208932,25 @@ var font_FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
208424
208932
|
hoEditorFactory.docTree.curParaNo = paragraphNode.paraNo;
|
|
208425
208933
|
}
|
|
208426
208934
|
|
|
208935
|
+
var _vueControllers$getDo = vueControllers.getDomRange().inSameTable(),
|
|
208936
|
+
_vueControllers$getDo2 = Object(slicedToArray["a" /* default */])(_vueControllers$getDo, 2),
|
|
208937
|
+
isInTable = _vueControllers$getDo2[0],
|
|
208938
|
+
tableNode = _vueControllers$getDo2[1];
|
|
208939
|
+
|
|
208940
|
+
var tableProperty = {
|
|
208941
|
+
canAddRow: false,
|
|
208942
|
+
canDeleteRow: false
|
|
208943
|
+
};
|
|
208944
|
+
|
|
208945
|
+
if (isInTable && tableNode) {
|
|
208946
|
+
tableProperty = {
|
|
208947
|
+
canAddRow: tableNode.tableProperty.canAddRow,
|
|
208948
|
+
canDeleteRow: tableNode.tableProperty.canDeleteRow
|
|
208949
|
+
};
|
|
208950
|
+
}
|
|
208951
|
+
|
|
208427
208952
|
vueControllers.getCurTextStyle();
|
|
208428
|
-
this.textStyle = {
|
|
208953
|
+
this.textStyle = _objectSpread2({
|
|
208429
208954
|
font: vueControllers.combineStyle.font !== undefined ? vueControllers.combineStyle.font : this.textStyle.font,
|
|
208430
208955
|
size: vueControllers.combineStyle.size !== undefined ? vueControllers.combineStyle.size : this.textStyle.size,
|
|
208431
208956
|
bold: vueControllers.combineStyle.bold !== undefined ? vueControllers.combineStyle.bold : this.textStyle.bold,
|
|
@@ -208437,7 +208962,7 @@ var font_FontStyleMixin = /*#__PURE__*/function (_Vue) {
|
|
|
208437
208962
|
backColor: vueControllers.combineStyle.backColor !== undefined ? vueControllers.combineStyle.backColor : this.textStyle.backColor,
|
|
208438
208963
|
aligned: combineParagraph ? this.aligned[combineParagraph.align] : 'both',
|
|
208439
208964
|
lineSpace: combineParagraph ? combineParagraph.lineSpace : 1.25
|
|
208440
|
-
};
|
|
208965
|
+
}, tableProperty);
|
|
208441
208966
|
}
|
|
208442
208967
|
}]);
|
|
208443
208968
|
|
|
@@ -208492,6 +209017,7 @@ var json_font = __webpack_require__("2c6d");
|
|
|
208492
209017
|
|
|
208493
209018
|
|
|
208494
209019
|
|
|
209020
|
+
|
|
208495
209021
|
|
|
208496
209022
|
|
|
208497
209023
|
var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
@@ -208663,7 +209189,16 @@ var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
|
208663
209189
|
hoEditorFactory && (hoEditorFactory.docTree.docProperty = this.defaultDocProperty);
|
|
208664
209190
|
}
|
|
208665
209191
|
}
|
|
208666
|
-
}
|
|
209192
|
+
} // 监听默认打印纸张设置变化
|
|
209193
|
+
|
|
209194
|
+
}, {
|
|
209195
|
+
key: "isFixedPrintToA4Change",
|
|
209196
|
+
value: function isFixedPrintToA4Change() {
|
|
209197
|
+
var activeDocId = this.activeDocId ? this.activeDocId : this.hoEditorFactoryIdList[0];
|
|
209198
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().hoEditorFactoryMap.get(activeDocId);
|
|
209199
|
+
hoEditorFactory && (hoEditorFactory.isFixedPrintToA4 = this.isFixedPrintToA4);
|
|
209200
|
+
} // 监听签名变化
|
|
209201
|
+
|
|
208667
209202
|
}, {
|
|
208668
209203
|
key: "superiorSignsChange",
|
|
208669
209204
|
value: function superiorSignsChange() {
|
|
@@ -208719,6 +209254,7 @@ var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
|
208719
209254
|
hoEditor.superiorSigns = Object(toConsumableArray["a" /* default */])(_this3.superiorSigns);
|
|
208720
209255
|
}
|
|
208721
209256
|
|
|
209257
|
+
hoEditor.isFixedPrintToA4 = _this3.isFixedPrintToA4;
|
|
208722
209258
|
hoEditor.contentIsModify = _this3.contentIsModify;
|
|
208723
209259
|
hoEditor.isCanEditHeadFoot = _this3.isCanEditHeadFoot;
|
|
208724
209260
|
hoEditor.docTree.docProperty = _this3.defaultDocProperty;
|
|
@@ -208791,6 +209327,20 @@ var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
|
208791
209327
|
nodeInfoes.isHideComments = hoEditorFactory.isHideComments;
|
|
208792
209328
|
nodeInfoes.activePageIndex = this.activePageIndex;
|
|
208793
209329
|
nodeInfoes.paintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
209330
|
+
var domRange = hoEditorFactory.vueController.getDomRange();
|
|
209331
|
+
|
|
209332
|
+
var _domRange$inSameTable = domRange.inSameTable(),
|
|
209333
|
+
_domRange$inSameTable2 = Object(slicedToArray["a" /* default */])(_domRange$inSameTable, 2),
|
|
209334
|
+
isInTable = _domRange$inSameTable2[0],
|
|
209335
|
+
tableNode = _domRange$inSameTable2[1];
|
|
209336
|
+
|
|
209337
|
+
if (isInTable && tableNode) {
|
|
209338
|
+
nodeInfoes.tableProperty = {
|
|
209339
|
+
canAddRow: tableNode.tableProperty.canAddRow,
|
|
209340
|
+
canDeleteRow: tableNode.tableProperty.canDeleteRow
|
|
209341
|
+
};
|
|
209342
|
+
}
|
|
209343
|
+
|
|
208794
209344
|
this.$emit("rightClickEvent", nodeInfoes);
|
|
208795
209345
|
}
|
|
208796
209346
|
/**
|
|
@@ -209042,6 +209592,10 @@ __decorate([Prop({
|
|
|
209042
209592
|
default: true
|
|
209043
209593
|
})], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "isCanEditHeadFoot", void 0);
|
|
209044
209594
|
|
|
209595
|
+
__decorate([Prop({
|
|
209596
|
+
default: false
|
|
209597
|
+
})], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "isFixedPrintToA4", void 0);
|
|
209598
|
+
|
|
209045
209599
|
__decorate([Watch("contentIsModify", {
|
|
209046
209600
|
deep: true
|
|
209047
209601
|
})], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "contentIsModifyChange", null);
|
|
@@ -209070,6 +209624,10 @@ __decorate([Watch("docProperty", {
|
|
|
209070
209624
|
deep: true
|
|
209071
209625
|
})], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "docPropertyChange", null);
|
|
209072
209626
|
|
|
209627
|
+
__decorate([Watch("isFixedPrintToA4", {
|
|
209628
|
+
deep: true
|
|
209629
|
+
})], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "isFixedPrintToA4Change", null);
|
|
209630
|
+
|
|
209073
209631
|
__decorate([Watch("superiorSigns")], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "superiorSignsChange", null);
|
|
209074
209632
|
|
|
209075
209633
|
__decorate([Watch("isCanEditHeadFoot")], HoDocsvue_type_script_lang_ts_HoDocs.prototype, "isCanEditHeadFootChange", null);
|
|
@@ -209101,7 +209659,7 @@ var HoDocsvue_type_style_index_0_lang_scss_media_print_ = __webpack_require__("e
|
|
|
209101
209659
|
|
|
209102
209660
|
var HoDocs_component = normalizeComponent(
|
|
209103
209661
|
components_HoDocsvue_type_script_lang_ts_,
|
|
209104
|
-
|
|
209662
|
+
HoDocsvue_type_template_id_54326928_render,
|
|
209105
209663
|
staticRenderFns,
|
|
209106
209664
|
false,
|
|
209107
209665
|
null,
|
|
@@ -209111,14 +209669,14 @@ var HoDocs_component = normalizeComponent(
|
|
|
209111
209669
|
)
|
|
209112
209670
|
|
|
209113
209671
|
/* harmony default export */ var components_HoDocs = (HoDocs_component.exports);
|
|
209114
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
209115
|
-
var
|
|
209116
|
-
var
|
|
209672
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=template&id=7fa9c0fe&
|
|
209673
|
+
var ToolBarvue_type_template_id_7fa9c0fe_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tabs',{attrs:{"tabKey":_vm.tabKey},on:{"tabClick":_vm.mainBarClick,"updateTabKey":_vm.updateTabKey}},[_vm._t("beforeBrowse"),_c('tab-pane',{attrs:{"isShow":_vm.defaultBrowseJson.isBrowse,"label":"浏览模式","notHover":true,"name":"ho-browse"}},[(_vm.defaultBrowseJson.saveAsFile)?_c('li',{staticClass:"sub-bar-items"},[_c('el-dropdown',{attrs:{"trigger":"click"}},[_c('span',{staticClass:"el-dropdown-link"},[_vm._v("另存为")]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('xml')}}},[_vm._v("XML")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('html')}}},[_vm._v("HTML")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('pdf')}}},[_vm._v("PDF")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('plain')}}},[_vm._v("TXT")]),_c('el-dropdown-item',{nativeOn:{"click":function($event){return _vm.saveAsFile('json')}}},[_vm._v("JSON")])],1)],1)],1):_vm._e(),(_vm.isPrinted)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{class:_vm.isPrintClass,on:{"click":_vm.outPrinted}},[_vm._v("退出打印预览状态")])]):_vm._e(),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultBrowseJson.printed)?_c('span',{class:_vm.printedClass,on:{"click":_vm.printed}},[_vm._v("打印")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultBrowseJson.printSelected)?_c('span',{class:_vm.printSelectedClass,on:{"click":_vm.printSelected}},[_vm._v("打印拖动鼠标选中区域")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items",staticStyle:{"border-right":"1px solid #e6e6e6"}},[(_vm.defaultBrowseJson.printCaret)?_c('span',{class:_vm.printCaretClass,on:{"click":_vm.printCaret}},[_vm._v("打印鼠标点击位置")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items",staticStyle:{"border":"0"}},[(_vm.defaultBrowseJson.printContinue)?_c('span',{class:_vm.printContinueClass,on:{"click":_vm.printContinue}},[_vm._v("续打")]):_vm._e()]),_c('HoPrintDialog',{attrs:{"vueController":_vm.vueController,"printBeforeStatus":5,"printModal":_vm.printModal},on:{"closed":_vm.closedHoPrintModal}})],1),_vm._t("beforeEdit"),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isEdit,"label":"编辑模式","notHover":true,"name":"ho-edit"}},[_c('ToolBarChild',{attrs:{"editJson":_vm.defaultEditJson,"vueController":_vm.vueController,"tabStatus":_vm.tabStatus,"textStyle":_vm.textStyle,"uploadImageParams":_vm.uploadImageParams},on:{"setModalStatus":_vm.setModalStatus}})],1),_vm._t("afterEdit"),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isInsertElement,"label":"插入","name":"ho-insert"}},[_c('tool-control',{attrs:{"insert":_vm.defaultEditJson,"vueController":_vm.vueController,"uploadImageParams":_vm.uploadImageParams},on:{"setModalStatus":_vm.setModalStatus},scopedSlots:_vm._u([{key:"hoInsertItem",fn:function(){return [_vm._t("insideInsert")]},proxy:true}],null,true)})],1),_c('tab-pane',{attrs:{"isShow":_vm.defaultEditJson.isInsertTable,"label":"表格","name":"ho-table"}},[_c('tool-table',{attrs:{"table":_vm.defaultEditJson,"tableProperty":{canAddRow: _vm.textStyle.canAddRow, canDeleteRow: _vm.textStyle.canDeleteRow},"vueController":_vm.vueController},scopedSlots:_vm._u([{key:"hoTableItem",fn:function(){return [_vm._t("insideTable")]},proxy:true}],null,true)})],1),_c('tab-pane',{attrs:{"isShow":_vm.defaultReviewJson.isReview,"label":"审阅模式","name":"ho-review"}},[_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.insertComment)?_c('span',{staticClass:"review",on:{"click":function($event){$event.stopPropagation();return _vm.createControlComment.apply(null, arguments)}}},[_vm._v("插入批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.editComment)?_c('span',{staticClass:"review",on:{"click":_vm.editComment}},[_vm._v("编辑批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.deleteComment)?_c('span',{staticClass:"review",on:{"click":_vm.deleteComment}},[_vm._v("删除批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.deleteAllComment)?_c('span',{staticClass:"review",on:{"click":_vm.deleteAllComment}},[_vm._v("删除全部批注")]):_vm._e()]),_c('li',{staticClass:"sub-bar-items"},[(_vm.defaultReviewJson.cancelDelete)?_c('span',{staticClass:"review",on:{"click":_vm.cancelDelete}},[_vm._v("取消删除文本")]):_vm._e()]),(_vm.userInfoes && _vm.userInfoes.permissionLevel)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{style:({ color: _vm.reviewLevel.color[_vm.userInfoes.permissionLevel - 1] })},[_vm._v(_vm._s(_vm.reviewLevel.text[_vm.userInfoes.permissionLevel - 1]))])]):_vm._e(),_vm._t("insertReview"),(_vm.defaultReviewJson.printStatus)?_c('li',{staticClass:"sub-bar-items"},[_c('span',{on:{"click":_vm.reviewPrintStatus}},[_vm._v(_vm._s(_vm.isPrinted ? "返回审阅模式" : "浏览模式"))])]):_vm._e()],2),_vm._t("afterReview")],2)}
|
|
209674
|
+
var ToolBarvue_type_template_id_7fa9c0fe_staticRenderFns = []
|
|
209117
209675
|
|
|
209118
209676
|
|
|
209119
|
-
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=
|
|
209677
|
+
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=7fa9c0fe&
|
|
209120
209678
|
|
|
209121
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
209679
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoMedicalExpression.vue?vue&type=template&id=71faca1e&scoped=true&
|
|
209122
209680
|
var HoMedicalExpressionvue_type_template_id_71faca1e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"sub-bar-items"},[_c('el-dropdown',{class:_vm.dropdownClassName + ' ho-medical-expression-list',attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange,"command":_vm.selectedSure}},[_c('span',{staticClass:"el-dropdown-link"},[_c('svg',{staticStyle:{"transform":"translateY(0px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M921.6 448.884364h89.6c6.376727 0 12.8-6.376727 12.8-12.753455V333.870545a13.777455 13.777455 0 0 0-12.8-12.8h-102.4c-6.423273 0-19.176727 6.423273-19.176727 12.8l-108.823273 115.060364c-6.376727 6.330182-12.8 6.330182-12.8 0l-57.576727-115.060364c-6.423273-6.376727-12.8-12.8-19.223273-12.8h-166.4a13.777455 13.777455 0 0 0-12.8 12.8V436.130909c0 6.376727 6.423273 12.753455 12.8 12.753455h102.4c6.423273 0 12.8 6.376727 19.176727 12.8l38.4 83.083636v19.130182l-115.2 134.190545c-6.376727 0-12.753455 6.423273-19.176727 6.423273H460.8c-6.376727 0-12.8 6.376727-12.8 12.753455v102.260363c0 6.376727 6.423273 12.8 12.8 12.8h102.4c6.376727 0 19.176727-6.423273 19.176727-12.8l147.223273-166.167273c6.423273-6.376727 12.8-6.376727 12.8 0l83.176727 166.167273c0 6.376727 12.8 12.8 19.223273 12.8h102.4a13.777455 13.777455 0 0 0 12.8-12.8V717.265455a13.777455 13.777455 0 0 0-12.8-12.753455h-38.4c-6.423273 0-12.8-6.423273-19.176727-12.8l-64.046546-127.813818v-19.130182l76.8-83.083636c6.423273-6.423273 12.846545-12.8 19.223273-12.8zM377.623273 65.489455c-32.023273 25.6-64.046545 63.906909-83.223273 127.813818l-31.976727 127.767272H76.8a13.777455 13.777455 0 0 0-12.8 12.8V436.130909c0 6.376727 6.376727 12.753455 12.8 12.753455h153.6l-96.023273 383.441454c-19.176727 76.660364-70.376727 63.860364-70.376727 63.860364H0V1024h64c51.2 0 102.4-6.376727 128-38.353455 32.023273-31.930182 51.2-89.460364 64-153.320727l96.023273-383.441454h147.176727c6.376727 0 12.8-6.376727 12.8-12.753455V333.870545a13.777455 13.777455 0 0 0-12.8-12.8H384l32.023273-121.390545c6.376727-19.130182 38.4-51.106909 57.576727-63.906909 70.376727-51.106909 166.4-19.176727 230.4-6.376727V20.759273c-64-12.753455-204.8-57.483636-326.376727 44.683636v0.046546z"}})]),_c('span',[_vm._v("医学表达式")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{attrs:{"command":"style1"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 130 60"}},[_c('g',{staticClass:"text",attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"48","y":"13"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"48","y":"55"}},[_vm._v("周期")]),_c('text',{attrs:{"x":"75","y":"33"}},[_vm._v("末次月经")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 52 30 L 70 30"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style2"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"5","y":"20"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"5","y":"50"}},[_vm._v("末次月经")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("周期")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 5 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style3"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"50","y":"13"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"40","y":"55"}},[_vm._v("末次月经")]),_c('text',{attrs:{"x":"83","y":"33"}},[_vm._v("周期")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 15 5 L 110 55"}}),_c('path',{attrs:{"d":"M 15 55 L 110 5"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style4"}},[_c('p',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("初潮年龄")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("经期")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("周期")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 62 30 L 110 30"}}),_c('path',{attrs:{"d":"M 45 45 L 55 15"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style5"}},[_c('p',[_vm._v("瞳孔图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"10","y":"25"}},[_vm._v("1")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("2")]),_c('text',{attrs:{"x":"10","y":"40"}},[_vm._v("3")]),_c('text',{attrs:{"x":"45","y":"40"}},[_vm._v("4")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("5")]),_c('text',{attrs:{"x":"10","y":"55"}},[_vm._v("6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("7")])])])]),_c('el-dropdown-item',{attrs:{"command":"style6"}},[_c('p',[_vm._v("光定位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"10","y":"25"}},[_vm._v("1")]),_c('text',{attrs:{"x":"10","y":"40"}},[_vm._v("4")]),_c('text',{attrs:{"x":"10","y":"55"}},[_vm._v("7")]),_c('text',{attrs:{"x":"45","y":"25"}},[_vm._v("2")]),_c('text',{attrs:{"x":"45","y":"40"}},[_vm._v("5")]),_c('text',{attrs:{"x":"45","y":"55"}},[_vm._v("8")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("3")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("9")])])])]),_c('el-dropdown-item',{attrs:{"command":"style7"}},[_c('p',[_vm._v("胎心图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"26","y":"15"}},[_vm._v("1")]),_c('text',{attrs:{"x":"26","y":"35"}},[_vm._v("4")]),_c('text',{attrs:{"x":"26","y":"55"}},[_vm._v("7")]),_c('text',{attrs:{"x":"84","y":"15"}},[_vm._v("2")]),_c('text',{attrs:{"x":"84","y":"35"}},[_vm._v("5")]),_c('text',{attrs:{"x":"84","y":"55"}},[_vm._v("8")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 0 30 L 10 30"}}),_c('path',{attrs:{"d":"M 52 30 L 67 30"}}),_c('path',{attrs:{"d":"M 110 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style8"}},[_c('p',[_vm._v("恒牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("12345678")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("12345678")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])]),_c('el-dropdown-item',{attrs:{"command":"style9"}},[_c('p',[_vm._v("乳牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("I II III IV V")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("I II III IV V")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])])],1)],1)],1)}
|
|
209123
209681
|
var HoMedicalExpressionvue_type_template_id_71faca1e_scoped_true_staticRenderFns = []
|
|
209124
209682
|
|
|
@@ -209223,7 +209781,7 @@ var HoMedicalExpression_component = normalizeComponent(
|
|
|
209223
209781
|
)
|
|
209224
209782
|
|
|
209225
209783
|
/* harmony default export */ var insert_HoMedicalExpression = (HoMedicalExpression_component.exports);
|
|
209226
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
209784
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoPrintDialog.vue?vue&type=template&id=79c29b08&
|
|
209227
209785
|
var HoPrintDialogvue_type_template_id_79c29b08_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{"title":"打印设置","top":"200px","visible":_vm.printDialog,"center":"","width":"40%","before-close":_vm.closedHoPrintModal,"append-to-body":"","destroy-on-close":"","close-on-click-modal":false},on:{"update:visible":function($event){_vm.printDialog=$event}}},[_c('section',{staticClass:"ho-print-content"},[_c('el-radio',{attrs:{"size":"medium","label":0},model:{value:(_vm.printMode),callback:function ($$v) {_vm.printMode=$$v},expression:"printMode"}},[_vm._v("全部打印")]),_c('el-radio',{attrs:{"label":1},model:{value:(_vm.printMode),callback:function ($$v) {_vm.printMode=$$v},expression:"printMode"}},[_vm._v("奇数页")]),_c('el-radio',{attrs:{"label":2},model:{value:(_vm.printMode),callback:function ($$v) {_vm.printMode=$$v},expression:"printMode"}},[_vm._v("偶数页")]),_c('div',{staticClass:"ho-print-more"},[_c('el-radio',{attrs:{"label":3},model:{value:(_vm.printMode),callback:function ($$v) {_vm.printMode=$$v},expression:"printMode"}},[_vm._v("打印指定页:")]),_c('el-input',{attrs:{"disabled":_vm.printMode !== 3,"size":"mini","placeholder":"示例: 1, 2-4, 5, 7-10, 12"},model:{value:(_vm.printAppoint),callback:function ($$v) {_vm.printAppoint=$$v},expression:"printAppoint"}})],1),(_vm.errorText)?_c('div',{staticClass:"ho-print-error"},[_vm._v(_vm._s(_vm.errorText))]):_vm._e(),_c('div',{staticClass:"ho-print-title"},[_vm._v("指定页: 1, 2-4, 5, 7-10, 12")])],1),_c('span',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"size":"mini","type":"primary"},on:{"click":_vm.hoPrinted}},[_vm._v("确 定")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.closedHoPrintModal}},[_vm._v("取 消")])],1)])}
|
|
209228
209786
|
var HoPrintDialogvue_type_template_id_79c29b08_staticRenderFns = []
|
|
209229
209787
|
|
|
@@ -210284,7 +210842,7 @@ ToolParagraph_ToolParagraph = __decorate([vue_class_component_esm({
|
|
|
210284
210842
|
}
|
|
210285
210843
|
})], ToolParagraph_ToolParagraph);
|
|
210286
210844
|
/* harmony default export */ var toolbar_ToolParagraph = (ToolParagraph_ToolParagraph);
|
|
210287
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
210845
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/MedicalExpressions.vue?vue&type=template&id=50152c2d&scoped=true&
|
|
210288
210846
|
var MedicalExpressionsvue_type_template_id_50152c2d_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{"overflow":"hidden","height":"640px"},attrs:{"native":false}},[_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style1"},on:{"click":function($event){return _vm.selectedSure('style1')}}},[_c('span',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"43","y":"13"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"43","y":"55"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"83","y":"33"}},[_vm._v("Value4")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 40 30 L 80 30"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style2"},on:{"click":function($event){return _vm.selectedSure('style2')}}},[_c('span',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"15","y":"20"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"15","y":"50"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("Value4")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 10 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style3"},on:{"click":function($event){return _vm.selectedSure('style3')}}},[_c('span',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"43","y":"13"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"43","y":"55"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"83","y":"33"}},[_vm._v("Value4")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 15 5 L 110 55"}}),_c('path',{attrs:{"d":"M 15 55 L 110 5"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style4"},on:{"click":function($event){return _vm.selectedSure('style4')}}},[_c('span',[_vm._v("经期史")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"33"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"70","y":"20"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"70","y":"50"}},[_vm._v("Value3")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 62 30 L 110 30"}}),_c('path',{attrs:{"d":"M 45 45 L 55 15"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style5"},on:{"click":function($event){return _vm.selectedSure('style5')}}},[_c('span',[_vm._v("瞳孔图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"25"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"0","y":"40"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"40","y":"40"}},[_vm._v("Value4")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("Value5")]),_c('text',{attrs:{"x":"0","y":"55"}},[_vm._v("Value6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("Value7")])])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style6"},on:{"click":function($event){return _vm.selectedSure('style6')}}},[_c('span',[_vm._v("光定位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"0","y":"25"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"0","y":"40"}},[_vm._v("Value4")]),_c('text',{attrs:{"x":"0","y":"55"}},[_vm._v("Value7")]),_c('text',{attrs:{"x":"40","y":"25"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"40","y":"40"}},[_vm._v("Value5")]),_c('text',{attrs:{"x":"40","y":"55"}},[_vm._v("Value8")]),_c('text',{attrs:{"x":"80","y":"25"}},[_vm._v("Value3")]),_c('text',{attrs:{"x":"80","y":"40"}},[_vm._v("Value6")]),_c('text',{attrs:{"x":"80","y":"55"}},[_vm._v("Value9")])])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style7"},on:{"click":function($event){return _vm.selectedSure('style7')}}},[_c('span',[_vm._v("胎心图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"12","y":"15"}},[_vm._v("Value1")]),_c('text',{attrs:{"x":"12","y":"35"}},[_vm._v("Value4")]),_c('text',{attrs:{"x":"12","y":"55"}},[_vm._v("Value7")]),_c('text',{attrs:{"x":"70","y":"15"}},[_vm._v("Value2")]),_c('text',{attrs:{"x":"70","y":"35"}},[_vm._v("Value5")]),_c('text',{attrs:{"x":"70","y":"55"}},[_vm._v("Value8")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 0 30 L 10 30"}}),_c('path',{attrs:{"d":"M 52 30 L 67 30"}}),_c('path',{attrs:{"d":"M 110 30 L 120 30"}}),_c('path',{attrs:{"d":"M 60 0 L 60 60"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style8"},on:{"click":function($event){return _vm.selectedSure('style8')}}},[_c('span',[_vm._v("恒牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("12345678")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("87654321")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("12345678")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])]),_c('el-menu-item',{staticClass:"express-item",attrs:{"index":"style9"},on:{"click":function($event){return _vm.selectedSure('style9')}}},[_c('span',[_vm._v("乳牙牙位图")]),_c('svg',{attrs:{"version":"1.1","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 120 60"}},[_c('g',{attrs:{"stroke":"none","fill":"#000000"}},[_c('text',{attrs:{"x":"3","y":"23"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"23"}},[_vm._v("I II III IV V")]),_c('text',{attrs:{"x":"3","y":"47"}},[_vm._v("V IV III II I")]),_c('text',{attrs:{"x":"63","y":"47"}},[_vm._v("I II III IV V")])]),_c('g',{attrs:{"fill":"none","stroke":"#000000"}},[_c('path',{attrs:{"d":"M 2 30 L 118 30"}}),_c('path',{attrs:{"d":"M 60 10 L 60 50"}})])])])],1)}
|
|
210289
210847
|
var MedicalExpressionsvue_type_template_id_50152c2d_scoped_true_staticRenderFns = []
|
|
210290
210848
|
|
|
@@ -210350,7 +210908,7 @@ var MedicalExpressions_component = normalizeComponent(
|
|
|
210350
210908
|
)
|
|
210351
210909
|
|
|
210352
210910
|
/* harmony default export */ var MedicalExpressions = (MedicalExpressions_component.exports);
|
|
210353
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
210911
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/UploadImage.vue?vue&type=template&id=208b2688&scoped=true&
|
|
210354
210912
|
var UploadImagevue_type_template_id_208b2688_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-upload',{ref:"upload",staticClass:"upload-image",attrs:{"action":"","file-list":_vm.fileList,"auto-upload":false,"on-change":_vm.uploadImage,"accept":"image/*"}},[_c('el-menu-item',{attrs:{"slot":"trigger","index":"upload"},slot:"trigger"},[_c('svg',{attrs:{"width":"16","height":"16","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('g',{attrs:{"transform":"translate(1 1)"}},[_c('path',{attrs:{"stroke":"none","d":"M1 0h12c.6 0 1 .4 1 1v11c0 .6-.4 1-1 1H1c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1zm0 1v11h12V1H1z"}}),_c('circle',{attrs:{"stroke":"none","cx":"10","cy":"4","r":"1"}}),_c('path',{attrs:{"stroke":"none","d":"M8.5 11.2l-4-4.1L1 10.7V9.2c1.7-1.6 2.7-2.5 3-2.8.4-.5.7-.4 1 0L8.5 10 11 7.3c.4-.5.6-.5 1-.1l2 2.8v1.5l-2.5-3.4-3 3.1z"}})])]),_c('span',{attrs:{"size":"small"}},[_vm._v("图片")])])],1)}
|
|
210355
210913
|
var UploadImagevue_type_template_id_208b2688_scoped_true_staticRenderFns = []
|
|
210356
210914
|
|
|
@@ -210518,7 +211076,7 @@ var UploadImage_component = normalizeComponent(
|
|
|
210518
211076
|
)
|
|
210519
211077
|
|
|
210520
211078
|
/* harmony default export */ var toolbar_UploadImage = (UploadImage_component.exports);
|
|
210521
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
211079
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/SpecialChars.vue?vue&type=template&id=517c34d3&scoped=true&
|
|
210522
211080
|
var SpecialCharsvue_type_template_id_517c34d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-menu-item',{staticClass:"special-characters",attrs:{"disabled":"","index":"style1"}},[_c('section',[_c('ul',[_c('li',[_c('header',[_vm._v("特殊字符")]),_c('p',{staticClass:"chars-list special-chars-list"},_vm._l((_vm.specialChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)]),_c('li',[_c('header',[_vm._v("罗马字符")]),_c('p',{staticClass:"chars-list"},_vm._l((_vm.romanChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)]),_c('li',[_c('header',[_vm._v("数学字符")]),_c('p',{staticClass:"chars-list"},_vm._l((_vm.mathChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)])])])])}
|
|
210523
211081
|
var SpecialCharsvue_type_template_id_517c34d3_scoped_true_staticRenderFns = []
|
|
210524
211082
|
|
|
@@ -211135,7 +211693,7 @@ ToolControl_ToolControls = __decorate([vue_class_component_esm({
|
|
|
211135
211693
|
}
|
|
211136
211694
|
})], ToolControl_ToolControls);
|
|
211137
211695
|
/* harmony default export */ var toolbar_ToolControl = (ToolControl_ToolControls);
|
|
211138
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
211696
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UpdateDocument.vue?vue&type=template&id=01703d21&scoped=true&
|
|
211139
211697
|
var UpdateDocumentvue_type_template_id_01703d21_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(
|
|
211140
211698
|
function () {
|
|
211141
211699
|
_vm.isDocumentShow = false;
|
|
@@ -211209,19 +211767,19 @@ var UpdateDocument_component = normalizeComponent(
|
|
|
211209
211767
|
)
|
|
211210
211768
|
|
|
211211
211769
|
/* harmony default export */ var components_UpdateDocument = (UpdateDocument_component.exports);
|
|
211212
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
211770
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/ToolTable.vue?vue&type=template&id=7e9dd939&
|
|
211213
211771
|
var ToolTablevue_type_template_id_7e9dd939_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-submenu',{attrs:{"popper-class":"insert-menus","index":"tables"}},[_c('template',{slot:"title"},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16","viewBox":"0 0 16 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-4 -4)"}},[_c('path',{attrs:{"stroke":"none","d":"M4,7 C4,5.34314575 5.34314575,4 7,4 L17,4 C18.6568542,4 20,5.34314575 20,7 L20,17 C20,18.6568542 18.6568542,20 17,20 L7,20 C5.34314575,20 4,18.6568542 4,17 L4,7 Z M7,6 C6.44771525,6 6,6.44771525 6,7 L6,11 L11,11 L11,6 L7,6 Z M13,6 L13,11 L18,11 L18,7 C18,6.44771525 17.5522847,6 17,6 L13,6 Z M18,13 L13,13 L13,18 L17,18 C17.5522847,18 18,17.5522847 18,17 L18,13 Z M11,18 L11,13 L6,13 L6,17 C6,17.5522847 6.44771525,18 7,18 L11,18 Z"}})])]),_c('span',[_vm._v("表格")])]),_c('el-submenu',{attrs:{"index":"insertTable","popper-append-to-body":true}},[_c('template',{slot:"title"},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16","viewBox":"0 0 16 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-4 -4)"}},[_c('path',{attrs:{"stroke":"none","d":"M4,7 C4,5.34314575 5.34314575,4 7,4 L17,4 C18.6568542,4 20,5.34314575 20,7 L20,17 C20,18.6568542 18.6568542,20 17,20 L7,20 C5.34314575,20 4,18.6568542 4,17 L4,7 Z M7,6 C6.44771525,6 6,6.44771525 6,7 L6,11 L11,11 L11,6 L7,6 Z M13,6 L13,11 L18,11 L18,7 C18,6.44771525 17.5522847,6 17,6 L13,6 Z M18,13 L13,13 L13,18 L17,18 C17.5522847,18 18,17.5522847 18,17 L18,13 Z M11,18 L11,13 L6,13 L6,17 C6,17.5522847 6.44771525,18 7,18 L11,18 Z"}})])]),_c('span',[_vm._v("插入表格")])]),_c('el-menu-item',{staticClass:"table-menus",attrs:{"index":"0"}},[_c('div',{staticClass:"columns",on:{"mouseleave":_vm.clearData}},[_c('p',{staticClass:"table-title"},[_vm._v(" "+_vm._s(_vm.rows ? _vm.rows + " x " + _vm.columns : "插入")+" 表格 ")]),_vm._l((10),function(row_index){return _c('div',{key:'row_' + row_index,staticClass:"rows",on:{"mousemove":_vm.mouse,"click":_vm.createdTables}},_vm._l((10),function(column_index){return _c('span',{key:'column_index' + column_index,class:row_index <= _vm.rows && column_index <= _vm.columns ? 'selected' : '',attrs:{"data-column":column_index,"data-row":row_index},on:{"touchstart":_vm.touch,"touchmove":_vm.touch,"touchend":_vm.touchend}})}),0)}),_c('p',{staticClass:"table-bottom-title",on:{"click":function($event){_vm.dialogFormVisible = true}}},[_vm._v(" 自定义行列数 ")])],2)])],2),(_vm.isOpen)?_c('TableFeatures',{attrs:{"className":"insert-rows-columns-menu","vueController":_vm.vueController,"table":_vm.table},on:{"closeMenu":_vm.closeMenu}}):_vm._e(),_c('el-dialog',{attrs:{"title":"自定义表格行列","width":"320px","visible":_vm.dialogFormVisible,"top":"200px","append-to-body":"","center":""},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{"model":_vm.form}},[_c('el-form-item',{attrs:{"label":"行数","label-width":_vm.formLabelWidth}},[_c('el-input-number',{attrs:{"precision":0,"min":1,"controls":false,"autocomplete":"off"},model:{value:(_vm.form.rows),callback:function ($$v) {_vm.$set(_vm.form, "rows", $$v)},expression:"form.rows"}})],1),_c('el-form-item',{attrs:{"label":"列数","label-width":_vm.formLabelWidth}},[_c('el-input-number',{attrs:{"precision":0,"min":1,"controls":false,"autocomplete":"off"},model:{value:(_vm.form.columns),callback:function ($$v) {_vm.$set(_vm.form, "columns", $$v)},expression:"form.columns"}})],1)],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{on:{"click":function($event){_vm.dialogFormVisible = false}}},[_vm._v("取 消")]),_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")])],1)],1)],2)}
|
|
211214
211772
|
var ToolTablevue_type_template_id_7e9dd939_staticRenderFns = []
|
|
211215
211773
|
|
|
211216
211774
|
|
|
211217
211775
|
// CONCATENATED MODULE: ./src/components/toolbar/ToolTable.vue?vue&type=template&id=7e9dd939&
|
|
211218
211776
|
|
|
211219
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
211220
|
-
var TableFeaturesvue_type_template_id_595addeb_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{class:_vm.className},[_c('ul',{staticClass:"mouse-right-menu"},[(_vm.table.insertRowAbove)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowAbove),expression:"tableInsertRowAbove",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"insertTableRowsColumns"}},[_c('path',{attrs:{"d":"M1024 1024H0V384h1024v640zM171.2 127.8L0 256V0l171.2 127.8z m132.9 512.1V512H128l0.1 127.9h176z m0 256.1V767.9h-176L128 896h176.1zM1024 192H256V64h768v128zM592.1 639.9V512h-160v127.9h160z m0 256.1V767.9h-160V896h160z m304-256.1L896 512H720.1v127.9h176zM896 896l0.1-128.1h-176V896H896z"}})])]),_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("上方插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-top",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.topRows),callback:function ($$v) {_vm.topRows=$$v},expression:"topRows"}}),_c('span',[_vm._v(" 行")])],1)]):_vm._e(),(_vm.table.insertRowBelow)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowBelow),expression:"tableInsertRowBelow",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{staticStyle:{"transform":"rotateX(180deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("下方插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-bottom",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.bottomRows),callback:function ($$v) {_vm.bottomRows=$$v},expression:"bottomRows"}}),_c('span',[_vm._v(" 行")])],1)]):_vm._e(),(_vm.table.insertColLeft)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColLeft),expression:"tableInsertColLeft",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{staticStyle:{"transform":"rotateZ(270deg) rotateY(180deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("左侧插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-left",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.leftRows),callback:function ($$v) {_vm.leftRows=$$v},expression:"leftRows"}}),_c('span',[_vm._v(" 列")])],1)]):_vm._e(),(_vm.table.insertColRight)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColRight),expression:"tableInsertColRight",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{staticStyle:{"transform":"rotateZ(90deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("右侧插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-right",attrs:{"size":"mini","precision":0,"controls":false,"min":1},model:{value:(_vm.rightRows),callback:function ($$v) {_vm.rightRows=$$v},expression:"rightRows"}}),_c('span',[_vm._v(" 列")])],1)]):_vm._e(),(_vm.table.deleteRows)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteRows),expression:"tableDeleteRows",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","p-id":"27213","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M1024.078512 835.218318v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963302H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963302v-161.779812a25.598072 25.598072 0 0 1 26.963302-26.963303h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963303zM1024.078512 27.00187v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963303H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963303V27.00187A25.598072 25.598072 0 0 1 296.410663 0.038568h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963302z m0 0M477.986318 424.625249v167.240734a21.843688 21.843688 0 0 1-18.771919 24.232842H18.927567a21.843688 21.843688 0 0 1-18.771919-24.232842v-167.240734a21.843688 21.843688 0 0 1 18.771919-24.232841h440.286832a21.843688 21.843688 0 0 1 18.771919 24.232841z m0 0"}}),_c('path',{attrs:{"d":"M961.619218 314.724195l-149.492738 149.492738-149.151431-149.492738a36.519915 36.519915 0 0 0-51.878759 0 36.178608 36.178608 0 0 0 0 51.537451l149.492739 149.492738-149.492739 149.492738a36.178608 36.178608 0 0 0 0 51.537451 36.519915 36.519915 0 0 0 51.878759 0l149.151431-149.151431L961.619218 716.784573a36.519915 36.519915 0 0 0 51.878758 0 36.861223 36.861223 0 0 0 0-51.537451l-149.492738-149.492738 149.492738-149.492738a36.861223 36.861223 0 0 0 0-51.537451 36.519915 36.519915 0 0 0-51.878758 0z m25.939379-25.939379"}})]),_c('span',[_vm._v("删除行")])]):_vm._e(),(_vm.table.deleteCols)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteCols),expression:"tableDeleteCols",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{staticStyle:{"transform":"rotateZ(90deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M1024.078512 835.218318v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963302H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963302v-161.779812a25.598072 25.598072 0 0 1 26.963302-26.963303h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963303zM1024.078512 27.00187v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963303H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963303V27.00187A25.598072 25.598072 0 0 1 296.410663 0.038568h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963302z m0 0M477.986318 424.625249v167.240734a21.843688 21.843688 0 0 1-18.771919 24.232842H18.927567a21.843688 21.843688 0 0 1-18.771919-24.232842v-167.240734a21.843688 21.843688 0 0 1 18.771919-24.232841h440.286832a21.843688 21.843688 0 0 1 18.771919 24.232841z m0 0"}}),_c('path',{attrs:{"d":"M961.619218 314.724195l-149.492738 149.492738-149.151431-149.492738a36.519915 36.519915 0 0 0-51.878759 0 36.178608 36.178608 0 0 0 0 51.537451l149.492739 149.492738-149.492739 149.492738a36.178608 36.178608 0 0 0 0 51.537451 36.519915 36.519915 0 0 0 51.878759 0l149.151431-149.151431L961.619218 716.784573a36.519915 36.519915 0 0 0 51.878758 0 36.861223 36.861223 0 0 0 0-51.537451l-149.492738-149.492738 149.492738-149.492738a36.861223 36.861223 0 0 0 0-51.537451 36.519915 36.519915 0 0 0-51.878758 0z m25.939379-25.939379"}})]),_c('span',[_vm._v("删除列")])]):_vm._e(),(_vm.table.mergerCells)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableMergerCells),expression:"tableMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"18","height":"16","viewBox":"0 0 18 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-3 -4)"}},[_c('path',{attrs:{"fill":"#F0F0F0","d":"M0,0 L24,0 L24,24 L0,24 L0,0 Z","opacity":"0"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"4 7 4 5 7 5 10 5 10 19 7 19 4 19 4 16.952","transform":"matrix(-1 0 0 1 14 0)"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"14 7 14 5 17 5 20 5 20 19 17 19 14 19 14 16.952"}}),_c('path',{attrs:{"stroke":"none","d":"M10.3652377,13.1421629 L8.12342591,13.1421629 L8.79597093,13.8610652 C9.03778436,14.1357021 9.02267185,14.5638117 8.76574414,14.8222945 C8.64483728,14.9353803 8.49370422,15 8.33501255,15 C8.17632235,15 8.01763215,14.9353796 7.8967247,14.8142158 L6.1889167,12.9886918 C6.06800984,12.859451 6,12.689822 6,12.5121164 C6,12.4232634 6.01511339,12.3344109 6.05289673,12.2455566 C6.08312352,12.1647811 6.12846356,12.0840053 6.18891699,12.0193853 L7.90427979,10.1938613 C8.02518665,10.0646205 8.18387744,10 8.3501239,10 C8.51637035,10 8.68261828,10.0726979 8.80352426,10.2019384 C8.92443112,10.3311791 8.9848847,10.5008082 8.9848847,10.6785137 C8.98488469,10.8562192 8.91687457,11.0258476 8.795968,11.155089 L8.19898995,11.7932157 L10.3652392,11.7932157 C10.7128461,11.7851381 11,12.0840068 11,12.4636523 C11,12.835216 10.7128446,13.1421629 10.3652377,13.1421629 Z","transform":"matrix(-1 0 0 1 17 0)"}}),_c('path',{attrs:{"stroke":"none","d":"M17.3652377,13.1421629 L15.1234259,13.1421629 L15.7959709,13.8610652 C16.0377844,14.1357021 16.0226718,14.5638117 15.7657441,14.8222945 C15.6448373,14.9353803 15.4937042,15 15.3350126,15 C15.1763223,15 15.0176321,14.9353796 14.8967247,14.8142158 L13.1889167,12.9886918 C13.0680098,12.859451 13,12.689822 13,12.5121164 C13,12.4232634 13.0151134,12.3344109 13.0528967,12.2455566 C13.0831235,12.1647811 13.1284636,12.0840053 13.188917,12.0193853 L14.9042798,10.1938613 C15.0251866,10.0646205 15.1838774,10 15.3501239,10 C15.5163704,10 15.6826183,10.0726979 15.8035243,10.2019384 C15.9244311,10.3311791 15.9848847,10.5008082 15.9848847,10.6785137 C15.9848847,10.8562192 15.9168746,11.0258476 15.795968,11.155089 L15.19899,11.7932157 L17.3652392,11.7932157 C17.7128461,11.7851381 18,12.0840068 18,12.4636523 C18,12.835216 17.7128446,13.1421629 17.3652377,13.1421629 Z"}})])]),_c('span',[_vm._v("合并单元格")])]):_vm._e(),(_vm.table.unMergerCells)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableUnMergerCells),expression:"tableUnMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"18","height":"16","viewBox":"0 0 18 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-3 -4)"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"4 7 4 5 7 5 10 5 10 19 7 19 4 19 4 16.952"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"14 7 14 5 17 5 20 5 20 19 17 19 14 19 14 16.952","transform":"matrix(-1 0 0 1 34 0)"}}),_c('path',{attrs:{"stroke":"none","d":"M7.36523773,13.1421629 L5.12342591,13.1421629 L5.79597093,13.8610652 C6.03778436,14.1357021 6.02267185,14.5638117 5.76574414,14.8222945 C5.64483728,14.9353803 5.49370422,15 5.33501255,15 C5.17632235,15 5.01763215,14.9353796 4.8967247,14.8142158 L3.1889167,12.9886918 C3.06800984,12.859451 3,12.689822 3,12.5121164 C3,12.4232634 3.01511339,12.3344109 3.05289673,12.2455566 C3.08312352,12.1647811 3.12846356,12.0840053 3.18891699,12.0193853 L4.90427979,10.1938613 C5.02518665,10.0646205 5.18387744,10 5.3501239,10 C5.51637035,10 5.68261828,10.0726979 5.80352426,10.2019384 C5.92443112,10.3311791 5.9848847,10.5008082 5.9848847,10.6785137 C5.98488469,10.8562192 5.91687457,11.0258476 5.795968,11.155089 L5.19898995,11.7932157 L7.36523919,11.7932157 C7.71284609,11.7851381 8,12.0840068 8,12.4636523 C8,12.835216 7.71284463,13.1421629 7.36523773,13.1421629 Z"}}),_c('path',{attrs:{"stroke":"none","d":"M20.3652377,13.1421629 L18.1234259,13.1421629 L18.7959709,13.8610652 C19.0377844,14.1357021 19.0226718,14.5638117 18.7657441,14.8222945 C18.6448373,14.9353803 18.4937042,15 18.3350126,15 C18.1763223,15 18.0176321,14.9353796 17.8967247,14.8142158 L16.1889167,12.9886918 C16.0680098,12.859451 16,12.689822 16,12.5121164 C16,12.4232634 16.0151134,12.3344109 16.0528967,12.2455566 C16.0831235,12.1647811 16.1284636,12.0840053 16.188917,12.0193853 L17.9042798,10.1938613 C18.0251866,10.0646205 18.1838774,10 18.3501239,10 C18.5163704,10 18.6826183,10.0726979 18.8035243,10.2019384 C18.9244311,10.3311791 18.9848847,10.5008082 18.9848847,10.6785137 C18.9848847,10.8562192 18.9168746,11.0258476 18.795968,11.155089 L18.19899,11.7932157 L20.3652392,11.7932157 C20.7128461,11.7851381 21,12.0840068 21,12.4636523 C21,12.835216 20.7128446,13.1421629 20.3652377,13.1421629 Z","transform":"matrix(-1 0 0 1 37 0)"}})])]),_c('span',[_vm._v("取消合并单元格")])]):_vm._e()]),_c('el-dialog',{attrs:{"title":"表格计算公式","width":"520px","visible":_vm.dialogFormVisible,"top":"200px","center":""},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[_c('section',[_c('div',{staticStyle:{"height":"26px","line-height":"36px","font-size":"16px"}},[_vm._v(" "+_vm._s(_vm.dialogFormTitle === "a3:a10" ? "求和公式" : "四则运算公式")+" ")]),_c('div',{staticStyle:{"height":"36px","line-height":"36px"}},[_vm._v("示例: "+_vm._s(_vm.dialogFormTitle))]),_c('el-input',{attrs:{"autocomplete":"off"},model:{value:(_vm.formula),callback:function ($$v) {_vm.formula=$$v},expression:"formula"}})],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")])],1)])],1)}
|
|
211221
|
-
var
|
|
211777
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/TableFeatures.vue?vue&type=template&id=624de6d8&
|
|
211778
|
+
var TableFeaturesvue_type_template_id_624de6d8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{class:_vm.className},[_c('ul',{staticClass:"mouse-right-menu"},[(_vm.table.insertRowAbove && _vm.tableProperty.canAddRow)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowAbove),expression:"tableInsertRowAbove",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('defs',[_c('g',{attrs:{"id":"insertTableRowsColumns"}},[_c('path',{attrs:{"d":"M1024 1024H0V384h1024v640zM171.2 127.8L0 256V0l171.2 127.8z m132.9 512.1V512H128l0.1 127.9h176z m0 256.1V767.9h-176L128 896h176.1zM1024 192H256V64h768v128zM592.1 639.9V512h-160v127.9h160z m0 256.1V767.9h-160V896h160z m304-256.1L896 512H720.1v127.9h176zM896 896l0.1-128.1h-176V896H896z"}})])]),_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("上方插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-top",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.topRows),callback:function ($$v) {_vm.topRows=$$v},expression:"topRows"}}),_c('span',[_vm._v(" 行")])],1)]):_vm._e(),(_vm.table.insertRowBelow && _vm.tableProperty.canAddRow)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowBelow),expression:"tableInsertRowBelow",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{staticStyle:{"transform":"rotateX(180deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("下方插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-bottom",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.bottomRows),callback:function ($$v) {_vm.bottomRows=$$v},expression:"bottomRows"}}),_c('span',[_vm._v(" 行")])],1)]):_vm._e(),(_vm.table.insertColLeft && _vm.tableProperty.canAddRow)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColLeft),expression:"tableInsertColLeft",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{staticStyle:{"transform":"rotateZ(270deg) rotateY(180deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("左侧插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-left",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.leftRows),callback:function ($$v) {_vm.leftRows=$$v},expression:"leftRows"}}),_c('span',[_vm._v(" 列")])],1)]):_vm._e(),(_vm.table.insertColRight && _vm.tableProperty.canAddRow)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColRight),expression:"tableInsertColRight",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{staticStyle:{"transform":"rotateZ(90deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('use',{attrs:{"xlink:href":"#insertTableRowsColumns"}})]),_c('div',{staticClass:"insert-rows-columns"},[_c('span',[_vm._v("右侧插入 ")]),_c('el-input-number',{staticClass:"insert-rows-columns-right",attrs:{"size":"mini","precision":0,"controls":false,"min":1},model:{value:(_vm.rightRows),callback:function ($$v) {_vm.rightRows=$$v},expression:"rightRows"}}),_c('span',[_vm._v(" 列")])],1)]):_vm._e(),(_vm.table.deleteRows && _vm.tableProperty.canDeleteRow)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteRows),expression:"tableDeleteRows",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","p-id":"27213","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M1024.078512 835.218318v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963302H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963302v-161.779812a25.598072 25.598072 0 0 1 26.963302-26.963303h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963303zM1024.078512 27.00187v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963303H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963303V27.00187A25.598072 25.598072 0 0 1 296.410663 0.038568h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963302z m0 0M477.986318 424.625249v167.240734a21.843688 21.843688 0 0 1-18.771919 24.232842H18.927567a21.843688 21.843688 0 0 1-18.771919-24.232842v-167.240734a21.843688 21.843688 0 0 1 18.771919-24.232841h440.286832a21.843688 21.843688 0 0 1 18.771919 24.232841z m0 0"}}),_c('path',{attrs:{"d":"M961.619218 314.724195l-149.492738 149.492738-149.151431-149.492738a36.519915 36.519915 0 0 0-51.878759 0 36.178608 36.178608 0 0 0 0 51.537451l149.492739 149.492738-149.492739 149.492738a36.178608 36.178608 0 0 0 0 51.537451 36.519915 36.519915 0 0 0 51.878759 0l149.151431-149.151431L961.619218 716.784573a36.519915 36.519915 0 0 0 51.878758 0 36.861223 36.861223 0 0 0 0-51.537451l-149.492738-149.492738 149.492738-149.492738a36.861223 36.861223 0 0 0 0-51.537451 36.519915 36.519915 0 0 0-51.878758 0z m25.939379-25.939379"}})]),_c('span',[_vm._v("删除行")])]):_vm._e(),(_vm.table.deleteCols && _vm.tableProperty.canDeleteRow)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteCols),expression:"tableDeleteCols",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{staticStyle:{"transform":"rotateZ(90deg)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M1024.078512 835.218318v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963302H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963302v-161.779812a25.598072 25.598072 0 0 1 26.963302-26.963303h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963303zM1024.078512 27.00187v161.779812a25.598072 25.598072 0 0 1-26.963302 26.963303H18.410663a25.598072 25.598072 0 0 1-26.963302-26.963303V27.00187A25.598072 25.598072 0 0 1 296.410663 0.038568h700.704547a25.598072 25.598072 0 0 1 26.963302 26.963302z m0 0M477.986318 424.625249v167.240734a21.843688 21.843688 0 0 1-18.771919 24.232842H18.927567a21.843688 21.843688 0 0 1-18.771919-24.232842v-167.240734a21.843688 21.843688 0 0 1 18.771919-24.232841h440.286832a21.843688 21.843688 0 0 1 18.771919 24.232841z m0 0"}}),_c('path',{attrs:{"d":"M961.619218 314.724195l-149.492738 149.492738-149.151431-149.492738a36.519915 36.519915 0 0 0-51.878759 0 36.178608 36.178608 0 0 0 0 51.537451l149.492739 149.492738-149.492739 149.492738a36.178608 36.178608 0 0 0 0 51.537451 36.519915 36.519915 0 0 0 51.878759 0l149.151431-149.151431L961.619218 716.784573a36.519915 36.519915 0 0 0 51.878758 0 36.861223 36.861223 0 0 0 0-51.537451l-149.492738-149.492738 149.492738-149.492738a36.861223 36.861223 0 0 0 0-51.537451 36.519915 36.519915 0 0 0-51.878758 0z m25.939379-25.939379"}})]),_c('span',[_vm._v("删除列")])]):_vm._e(),(_vm.table.mergerCells)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableMergerCells),expression:"tableMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"18","height":"16","viewBox":"0 0 18 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-3 -4)"}},[_c('path',{attrs:{"fill":"#F0F0F0","d":"M0,0 L24,0 L24,24 L0,24 L0,0 Z","opacity":"0"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"4 7 4 5 7 5 10 5 10 19 7 19 4 19 4 16.952","transform":"matrix(-1 0 0 1 14 0)"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"14 7 14 5 17 5 20 5 20 19 17 19 14 19 14 16.952"}}),_c('path',{attrs:{"stroke":"none","d":"M10.3652377,13.1421629 L8.12342591,13.1421629 L8.79597093,13.8610652 C9.03778436,14.1357021 9.02267185,14.5638117 8.76574414,14.8222945 C8.64483728,14.9353803 8.49370422,15 8.33501255,15 C8.17632235,15 8.01763215,14.9353796 7.8967247,14.8142158 L6.1889167,12.9886918 C6.06800984,12.859451 6,12.689822 6,12.5121164 C6,12.4232634 6.01511339,12.3344109 6.05289673,12.2455566 C6.08312352,12.1647811 6.12846356,12.0840053 6.18891699,12.0193853 L7.90427979,10.1938613 C8.02518665,10.0646205 8.18387744,10 8.3501239,10 C8.51637035,10 8.68261828,10.0726979 8.80352426,10.2019384 C8.92443112,10.3311791 8.9848847,10.5008082 8.9848847,10.6785137 C8.98488469,10.8562192 8.91687457,11.0258476 8.795968,11.155089 L8.19898995,11.7932157 L10.3652392,11.7932157 C10.7128461,11.7851381 11,12.0840068 11,12.4636523 C11,12.835216 10.7128446,13.1421629 10.3652377,13.1421629 Z","transform":"matrix(-1 0 0 1 17 0)"}}),_c('path',{attrs:{"stroke":"none","d":"M17.3652377,13.1421629 L15.1234259,13.1421629 L15.7959709,13.8610652 C16.0377844,14.1357021 16.0226718,14.5638117 15.7657441,14.8222945 C15.6448373,14.9353803 15.4937042,15 15.3350126,15 C15.1763223,15 15.0176321,14.9353796 14.8967247,14.8142158 L13.1889167,12.9886918 C13.0680098,12.859451 13,12.689822 13,12.5121164 C13,12.4232634 13.0151134,12.3344109 13.0528967,12.2455566 C13.0831235,12.1647811 13.1284636,12.0840053 13.188917,12.0193853 L14.9042798,10.1938613 C15.0251866,10.0646205 15.1838774,10 15.3501239,10 C15.5163704,10 15.6826183,10.0726979 15.8035243,10.2019384 C15.9244311,10.3311791 15.9848847,10.5008082 15.9848847,10.6785137 C15.9848847,10.8562192 15.9168746,11.0258476 15.795968,11.155089 L15.19899,11.7932157 L17.3652392,11.7932157 C17.7128461,11.7851381 18,12.0840068 18,12.4636523 C18,12.835216 17.7128446,13.1421629 17.3652377,13.1421629 Z"}})])]),_c('span',[_vm._v("合并单元格")])]):_vm._e(),(_vm.table.unMergerCells)?_c('li',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableUnMergerCells),expression:"tableUnMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item"},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"18","height":"16","viewBox":"0 0 18 16"}},[_c('g',{attrs:{"fill-rule":"evenodd","transform":"translate(-3 -4)"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"4 7 4 5 7 5 10 5 10 19 7 19 4 19 4 16.952"}}),_c('polyline',{attrs:{"fill":"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2","points":"14 7 14 5 17 5 20 5 20 19 17 19 14 19 14 16.952","transform":"matrix(-1 0 0 1 34 0)"}}),_c('path',{attrs:{"stroke":"none","d":"M7.36523773,13.1421629 L5.12342591,13.1421629 L5.79597093,13.8610652 C6.03778436,14.1357021 6.02267185,14.5638117 5.76574414,14.8222945 C5.64483728,14.9353803 5.49370422,15 5.33501255,15 C5.17632235,15 5.01763215,14.9353796 4.8967247,14.8142158 L3.1889167,12.9886918 C3.06800984,12.859451 3,12.689822 3,12.5121164 C3,12.4232634 3.01511339,12.3344109 3.05289673,12.2455566 C3.08312352,12.1647811 3.12846356,12.0840053 3.18891699,12.0193853 L4.90427979,10.1938613 C5.02518665,10.0646205 5.18387744,10 5.3501239,10 C5.51637035,10 5.68261828,10.0726979 5.80352426,10.2019384 C5.92443112,10.3311791 5.9848847,10.5008082 5.9848847,10.6785137 C5.98488469,10.8562192 5.91687457,11.0258476 5.795968,11.155089 L5.19898995,11.7932157 L7.36523919,11.7932157 C7.71284609,11.7851381 8,12.0840068 8,12.4636523 C8,12.835216 7.71284463,13.1421629 7.36523773,13.1421629 Z"}}),_c('path',{attrs:{"stroke":"none","d":"M20.3652377,13.1421629 L18.1234259,13.1421629 L18.7959709,13.8610652 C19.0377844,14.1357021 19.0226718,14.5638117 18.7657441,14.8222945 C18.6448373,14.9353803 18.4937042,15 18.3350126,15 C18.1763223,15 18.0176321,14.9353796 17.8967247,14.8142158 L16.1889167,12.9886918 C16.0680098,12.859451 16,12.689822 16,12.5121164 C16,12.4232634 16.0151134,12.3344109 16.0528967,12.2455566 C16.0831235,12.1647811 16.1284636,12.0840053 16.188917,12.0193853 L17.9042798,10.1938613 C18.0251866,10.0646205 18.1838774,10 18.3501239,10 C18.5163704,10 18.6826183,10.0726979 18.8035243,10.2019384 C18.9244311,10.3311791 18.9848847,10.5008082 18.9848847,10.6785137 C18.9848847,10.8562192 18.9168746,11.0258476 18.795968,11.155089 L18.19899,11.7932157 L20.3652392,11.7932157 C20.7128461,11.7851381 21,12.0840068 21,12.4636523 C21,12.835216 20.7128446,13.1421629 20.3652377,13.1421629 Z","transform":"matrix(-1 0 0 1 37 0)"}})])]),_c('span',[_vm._v("取消合并单元格")])]):_vm._e()]),_c('el-dialog',{attrs:{"title":"表格计算公式","width":"520px","visible":_vm.dialogFormVisible,"top":"200px","center":""},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[_c('section',[_c('div',{staticStyle:{"height":"26px","line-height":"36px","font-size":"16px"}},[_vm._v(" "+_vm._s(_vm.dialogFormTitle === "a3:a10" ? "求和公式" : "四则运算公式")+" ")]),_c('div',{staticStyle:{"height":"36px","line-height":"36px"}},[_vm._v("示例: "+_vm._s(_vm.dialogFormTitle))]),_c('el-input',{attrs:{"autocomplete":"off"},model:{value:(_vm.formula),callback:function ($$v) {_vm.formula=$$v},expression:"formula"}})],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")])],1)])],1)}
|
|
211779
|
+
var TableFeaturesvue_type_template_id_624de6d8_staticRenderFns = []
|
|
211222
211780
|
|
|
211223
211781
|
|
|
211224
|
-
// CONCATENATED MODULE: ./src/components/toolbar/TableFeatures.vue?vue&type=template&id=
|
|
211782
|
+
// CONCATENATED MODULE: ./src/components/toolbar/TableFeatures.vue?vue&type=template&id=624de6d8&
|
|
211225
211783
|
|
|
211226
211784
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/TableFeatures.vue?vue&type=script&lang=ts&
|
|
211227
211785
|
|
|
@@ -211376,6 +211934,8 @@ __decorate([Prop()], TableFeaturesvue_type_script_lang_ts_TableFeatures.prototyp
|
|
|
211376
211934
|
|
|
211377
211935
|
__decorate([Prop()], TableFeaturesvue_type_script_lang_ts_TableFeatures.prototype, "table", void 0);
|
|
211378
211936
|
|
|
211937
|
+
__decorate([Prop()], TableFeaturesvue_type_script_lang_ts_TableFeatures.prototype, "tableProperty", void 0);
|
|
211938
|
+
|
|
211379
211939
|
TableFeaturesvue_type_script_lang_ts_TableFeatures = __decorate([vue_class_component_esm({
|
|
211380
211940
|
name: "TableFeatures"
|
|
211381
211941
|
})], TableFeaturesvue_type_script_lang_ts_TableFeatures);
|
|
@@ -211396,8 +211956,8 @@ var TableFeaturesvue_type_style_index_0_lang_scss_ = __webpack_require__("c0da")
|
|
|
211396
211956
|
|
|
211397
211957
|
var TableFeatures_component = normalizeComponent(
|
|
211398
211958
|
toolbar_TableFeaturesvue_type_script_lang_ts_,
|
|
211399
|
-
|
|
211400
|
-
|
|
211959
|
+
TableFeaturesvue_type_template_id_624de6d8_render,
|
|
211960
|
+
TableFeaturesvue_type_template_id_624de6d8_staticRenderFns,
|
|
211401
211961
|
false,
|
|
211402
211962
|
null,
|
|
211403
211963
|
null,
|
|
@@ -211545,12 +212105,12 @@ var ToolTable_component = normalizeComponent(
|
|
|
211545
212105
|
)
|
|
211546
212106
|
|
|
211547
212107
|
/* harmony default export */ var toolbar_ToolTable = (ToolTable_component.exports);
|
|
211548
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
211549
|
-
var PageSettingvue_type_template_id_187fdd38_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal"},[_c('div',{ref:"pageSettingModal",class:_vm.animationClassNames,on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("页面设置")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('el-tabs',{model:{value:(_vm.textActiveName),callback:function ($$v) {_vm.textActiveName=$$v},expression:"textActiveName"}},[_c('el-tab-pane',{attrs:{"label":"页面设置","name":"first"}},[_c('div',{staticClass:"control-list"},[_c('fieldset',{staticClass:"control-item fieldset",staticStyle:{"margin":"0 10px 10px 10px"}},[_c('legend',[_vm._v("页边距 毫米")]),_c('ul',{staticClass:"page-spacing"},[_c('li',{staticClass:"page-spacing-item",staticStyle:{"justify-content":"space-between"}},[_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("上(T)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.topMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "topMarginMm", $$v)},expression:"property.topMarginMm"}})],1),_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("左(L)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.leftMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "leftMarginMm", $$v)},expression:"property.leftMarginMm"}})],1)]),_c('li',{staticClass:"page-spacing-item",staticStyle:{"justify-content":"space-between"}},[_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("下(B)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.bottomMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "bottomMarginMm", $$v)},expression:"property.bottomMarginMm"}})],1),_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("右(R)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.rightMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "rightMarginMm", $$v)},expression:"property.rightMarginMm"}})],1)])])]),_c('div',{staticClass:"print-settings"},[_c('fieldset',{staticClass:"fieldset print-direction-item"},[_c('legend',[_vm._v("打印方向")]),_c('div',{class:_vm.property.printDirection === 0 ? 'print-direction is-actived' : 'print-direction',on:{"click":function($event){return _vm.setPrintDirection(0)}}},[_c('div',[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32"}},[_c('path',{attrs:{"d":"M850.56 297.984l-254.336-233.088s-6.314667-7.637333-14.464-7.637333H211.968c-24.064 0-43.776 19.584-43.776 43.776v825.557333c0 24.064 19.584 43.776 43.776 43.776h600.021333c24.064 0 43.776-19.584 43.776-43.776V309.717333a16.213333 16.213333 0 0 0-5.205333-11.733333z m-252.757333-188.416l200.874666 184.149333-149.034666-0.085333a52.053333 52.053333 0 0 1-51.84-51.925333V109.568z m225.92 816.981333a11.733333 11.733333 0 0 1-11.733334 11.733334H211.882667a11.733333 11.733333 0 0 1-11.733334-11.733334V100.992c0-6.528 5.290667-11.733333 11.733334-11.733333h353.877333v152.405333c0 46.208 37.546667 83.84 83.754667 83.84l174.250666 0.213333v600.832z m0 0"}}),_c('path',{attrs:{"d":"M535.04 367.36h-46.08l-127.274667 334.037333h47.616l32.128-91.477333h139.093334l34.090666 91.477333h47.616L535.04 367.36z m-80.042667 204.928l50.048-138.837333c1.962667-5.504 3.797333-13.226667 5.376-23.253334h1.109334c1.962667 11.008 3.669333 18.730667 5.205333 23.253334l50.474667 138.837333h-112.213334z"}})])]),_c('p',[_vm._v("纵向(P)")])]),_c('div',{class:_vm.property.printDirection === 1 ? 'print-direction is-actived' : 'print-direction',on:{"click":function($event){return _vm.setPrintDirection(1)}}},[_c('div',[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32"}},[_c('path',{attrs:{"d":"M296.192 175.189333l-233.088 254.336s-7.637333 6.314667-7.637333 14.464v369.792c0 24.064 19.584 43.776 43.776 43.776h825.557333c24.064 0 43.776-19.584 43.776-43.776V213.76c0-24.064-19.584-43.776-43.776-43.776H307.925333a16.384 16.384 0 0 0-11.733333 5.205333z m-188.416 252.8l184.149333-200.874666-0.128 149.034666a52.053333 52.053333 0 0 1-51.925333 51.84H107.776z m817.024-225.962666c6.528 0 11.733333 5.290667 11.733333 11.733333v600.149333a11.733333 11.733333 0 0 1-11.733333 11.733334H99.2a11.733333 11.733333 0 0 1-11.733333-11.733334v-353.877333h152.405333c46.208 0 83.84-37.546667 83.84-83.754667l0.213333-174.250666h600.874667z m0 0"}}),_c('path',{attrs:{"d":"M555.648 346.752h-46.08L382.293333 680.789333h47.616l32.128-91.477333h139.093334l34.090666 91.477333h47.616l-127.189333-334.037333z m-80.085333 204.928l50.048-138.837333c1.962667-5.504 3.797333-13.226667 5.376-23.253334h1.109333c1.962667 11.008 3.669333 18.730667 5.205333 23.253334l50.474667 138.837333h-112.213333z"}})])]),_c('p',[_vm._v("横向(P)")])])]),_c('div',{staticClass:"control-item",staticStyle:{"padding":"0","margin-left":"10px"}},[_c('fieldset',{staticClass:"fieldset",staticStyle:{"width":"250px","padding":"0 10px","margin":"0"}},[_c('legend',[_vm._v("纸张 毫米")]),_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("大小(Z)")]),_c('el-select',{staticStyle:{"width":"100%"},attrs:{"size":"mini","placeholder":"请选择纸张大小"},on:{"change":function($event){return _vm.setPrintDirection(_vm.property.printDirection)}},model:{value:(_vm.property.pageSize),callback:function ($$v) {_vm.$set(_vm.property, "pageSize", $$v)},expression:"property.pageSize"}},_vm._l((_vm.paperStyle),function(style,index){return _c('el-option',{key:index,attrs:{"label":style[0],"value":style[0]}})}),1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("来源(S)")]),_c('el-select',{staticStyle:{"width":"100%"},attrs:{"size":"mini","placeholder":"请选择来源"},model:{value:(_vm.property.source),callback:function ($$v) {_vm.$set(_vm.property, "source", $$v)},expression:"property.source"}},[_c('el-option',{attrs:{"label":"自动选择","value":"0"}})],1)],1),_c('li',{staticClass:"control-item paper-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("宽度(W)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"disabled":_vm.property.pageSize !== '自定义',"controls":false,"size":"mini","step":1,"min":0},model:{value:(_vm.property.widthMm),callback:function ($$v) {_vm.$set(_vm.property, "widthMm", $$v)},expression:"property.widthMm"}})],1),_c('li',{staticClass:"control-item paper-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("高度(H)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"disabled":_vm.property.pageSize !== '自定义',"controls":false,"size":"mini","step":1,"min":0},model:{value:(_vm.property.heightMm),callback:function ($$v) {_vm.$set(_vm.property, "heightMm", $$v)},expression:"property.heightMm"}})],1)])]),_c('fieldset',{staticClass:"fieldset",staticStyle:{"width":"250px","padding":"0 10px 10px"}},[_c('legend',[_vm._v("边框")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("边框颜色")]),_c('el-color-picker',{attrs:{"size":"mini"},model:{value:(_vm.property.borderColor),callback:function ($$v) {_vm.$set(_vm.property, "borderColor", $$v)},expression:"property.borderColor"}})],1),_c('PrintLineStyle',{attrs:{"labelWidth":"64px","defaultStyle":_vm.property.paintRowLine,"placeholder":"绘制行线"},on:{"change":_vm.printStyleChange}})],1)])])])]),_c('el-tab-pane',{attrs:{"label":"页眉页脚","name":"second"}},[_c('fieldset',{staticClass:"control-item fieldset page-header",staticStyle:{"padding":"0 10px 10px"}},[_c('legend',[_vm._v("页眉 毫米")]),_c('div',{staticClass:"control-item"},[_vm._v("距页边界:")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px","padding-left":"54px"}},[_vm._v("至页眉(H):")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.headerYMm),callback:function ($$v) {_vm.$set(_vm.property, "headerYMm", $$v)},expression:"property.headerYMm"}})],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px"}}),_c('el-checkbox',{model:{value:(_vm.property.showFirstPageHead),callback:function ($$v) {_vm.$set(_vm.property, "showFirstPageHead", $$v)},expression:"property.showFirstPageHead"}},[_vm._v("显示-第一页的页眉(H)")])],1)]),_c('fieldset',{staticClass:"control-item fieldset page-header",staticStyle:{"padding":"0 10px 10px"}},[_c('legend',[_vm._v("页脚 毫米")]),_c('div',{staticClass:"control-item"},[_vm._v("距页边界:")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px","padding-left":"54px"}},[_vm._v("至页脚(F):")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.footerYMm),callback:function ($$v) {_vm.$set(_vm.property, "footerYMm", $$v)},expression:"property.footerYMm"}})],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px"}}),_c('el-checkbox',{model:{value:(_vm.property.showFirstPageFoot),callback:function ($$v) {_vm.$set(_vm.property, "showFirstPageFoot", $$v)},expression:"property.showFirstPageFoot"}},[_vm._v("显示-第一页的页脚(F)")])],1)]),_c('fieldset',{staticClass:"control-item fieldset page-header",staticStyle:{"padding":"0 10px 10px"}},[_c('legend',[_vm._v("页数")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px"}},[_vm._v("从第几页开始(S):")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.pageNumber),callback:function ($$v) {_vm.$set(_vm.property, "pageNumber", $$v)},expression:"property.pageNumber"}})],1)])])],1)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"mini","type":"primary"},on:{"click":_vm.sureSetPageing}},[_vm._v("确定")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])])}
|
|
211550
|
-
var
|
|
212108
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/PageSetting.vue?vue&type=template&id=4b2e27ea&scoped=true&
|
|
212109
|
+
var PageSettingvue_type_template_id_4b2e27ea_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control-modal"},[_c('div',{ref:"pageSettingModal",class:_vm.animationClassNames,on:{"mousedown":_vm.toolModalDown}},[_c('header',{staticClass:"modal-title"},[_c('span',[_vm._v("页面设置")]),_c('i',{staticClass:"el-icon-close modal-title-close",on:{"click":_vm.handleClose}})]),_c('section',{staticClass:"modal-content"},[_c('el-tabs',{model:{value:(_vm.textActiveName),callback:function ($$v) {_vm.textActiveName=$$v},expression:"textActiveName"}},[_c('el-tab-pane',{attrs:{"label":"页面设置","name":"first"}},[_c('div',{staticClass:"control-list"},[_c('fieldset',{staticClass:"control-item fieldset",staticStyle:{"margin":"0 10px 10px 10px"}},[_c('legend',[_vm._v("页边距 毫米")]),_c('ul',{staticClass:"page-spacing"},[_c('li',{staticClass:"page-spacing-item",staticStyle:{"justify-content":"space-between"}},[_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("上(T)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.topMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "topMarginMm", $$v)},expression:"property.topMarginMm"}})],1),_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("左(L)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.leftMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "leftMarginMm", $$v)},expression:"property.leftMarginMm"}})],1)]),_c('li',{staticClass:"page-spacing-item",staticStyle:{"justify-content":"space-between"}},[_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("下(B)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.bottomMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "bottomMarginMm", $$v)},expression:"property.bottomMarginMm"}})],1),_c('div',{staticClass:"page-spacing-form"},[_c('span',{staticClass:"labels"},[_vm._v("右(R)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.rightMarginMm),callback:function ($$v) {_vm.$set(_vm.property, "rightMarginMm", $$v)},expression:"property.rightMarginMm"}})],1)])])]),_c('div',{staticClass:"print-settings"},[_c('fieldset',{staticClass:"fieldset print-direction-item"},[_c('legend',[_vm._v("打印方向")]),_c('div',{class:_vm.property.printDirection === 0 ? 'print-direction is-actived' : 'print-direction',on:{"click":function($event){return _vm.setPrintDirection(0)}}},[_c('div',[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32"}},[_c('path',{attrs:{"d":"M850.56 297.984l-254.336-233.088s-6.314667-7.637333-14.464-7.637333H211.968c-24.064 0-43.776 19.584-43.776 43.776v825.557333c0 24.064 19.584 43.776 43.776 43.776h600.021333c24.064 0 43.776-19.584 43.776-43.776V309.717333a16.213333 16.213333 0 0 0-5.205333-11.733333z m-252.757333-188.416l200.874666 184.149333-149.034666-0.085333a52.053333 52.053333 0 0 1-51.84-51.925333V109.568z m225.92 816.981333a11.733333 11.733333 0 0 1-11.733334 11.733334H211.882667a11.733333 11.733333 0 0 1-11.733334-11.733334V100.992c0-6.528 5.290667-11.733333 11.733334-11.733333h353.877333v152.405333c0 46.208 37.546667 83.84 83.754667 83.84l174.250666 0.213333v600.832z m0 0"}}),_c('path',{attrs:{"d":"M535.04 367.36h-46.08l-127.274667 334.037333h47.616l32.128-91.477333h139.093334l34.090666 91.477333h47.616L535.04 367.36z m-80.042667 204.928l50.048-138.837333c1.962667-5.504 3.797333-13.226667 5.376-23.253334h1.109334c1.962667 11.008 3.669333 18.730667 5.205333 23.253334l50.474667 138.837333h-112.213334z"}})])]),_c('p',[_vm._v("纵向(P)")])]),_c('div',{class:_vm.property.printDirection === 1 ? 'print-direction is-actived' : 'print-direction',on:{"click":function($event){return _vm.setPrintDirection(1)}}},[_c('div',[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"32","height":"32"}},[_c('path',{attrs:{"d":"M296.192 175.189333l-233.088 254.336s-7.637333 6.314667-7.637333 14.464v369.792c0 24.064 19.584 43.776 43.776 43.776h825.557333c24.064 0 43.776-19.584 43.776-43.776V213.76c0-24.064-19.584-43.776-43.776-43.776H307.925333a16.384 16.384 0 0 0-11.733333 5.205333z m-188.416 252.8l184.149333-200.874666-0.128 149.034666a52.053333 52.053333 0 0 1-51.925333 51.84H107.776z m817.024-225.962666c6.528 0 11.733333 5.290667 11.733333 11.733333v600.149333a11.733333 11.733333 0 0 1-11.733333 11.733334H99.2a11.733333 11.733333 0 0 1-11.733333-11.733334v-353.877333h152.405333c46.208 0 83.84-37.546667 83.84-83.754667l0.213333-174.250666h600.874667z m0 0"}}),_c('path',{attrs:{"d":"M555.648 346.752h-46.08L382.293333 680.789333h47.616l32.128-91.477333h139.093334l34.090666 91.477333h47.616l-127.189333-334.037333z m-80.085333 204.928l50.048-138.837333c1.962667-5.504 3.797333-13.226667 5.376-23.253334h1.109333c1.962667 11.008 3.669333 18.730667 5.205333 23.253334l50.474667 138.837333h-112.213333z"}})])]),_c('p',[_vm._v("横向(P)")])])]),_c('div',{staticClass:"control-item",staticStyle:{"padding":"0","margin-left":"10px"}},[_c('fieldset',{staticClass:"fieldset",staticStyle:{"width":"250px","padding":"0 10px","margin":"0"}},[_c('legend',[_vm._v("纸张 毫米")]),_c('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("大小(Z)")]),_c('el-select',{staticStyle:{"width":"100%"},attrs:{"size":"mini","placeholder":"请选择纸张大小"},on:{"change":function($event){return _vm.setPrintDirection(_vm.property.printDirection)}},model:{value:(_vm.property.pageSize),callback:function ($$v) {_vm.$set(_vm.property, "pageSize", $$v)},expression:"property.pageSize"}},_vm._l((_vm.paperStyle),function(style,index){return _c('el-option',{key:index,attrs:{"label":style[0],"value":style[0]}})}),1)],1),_c('li',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("来源(S)")]),_c('el-select',{staticStyle:{"width":"100%"},attrs:{"size":"mini","placeholder":"请选择来源"},model:{value:(_vm.property.source),callback:function ($$v) {_vm.$set(_vm.property, "source", $$v)},expression:"property.source"}},[_c('el-option',{attrs:{"label":"自动选择","value":"0"}})],1)],1),_c('li',{staticClass:"control-item paper-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("宽度(W)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"disabled":_vm.property.pageSize !== '自定义',"controls":false,"size":"mini","step":1,"min":0},model:{value:(_vm.property.widthMm),callback:function ($$v) {_vm.$set(_vm.property, "widthMm", $$v)},expression:"property.widthMm"}})],1),_c('li',{staticClass:"control-item paper-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("高度(H)")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"disabled":_vm.property.pageSize !== '自定义',"controls":false,"size":"mini","step":1,"min":0},model:{value:(_vm.property.heightMm),callback:function ($$v) {_vm.$set(_vm.property, "heightMm", $$v)},expression:"property.heightMm"}})],1)])]),_c('fieldset',{staticClass:"fieldset",staticStyle:{"width":"250px","padding":"0 10px 10px"}},[_c('legend',[_vm._v("边框")]),_c('div',{staticClass:"control-item"},[_c('el-checkbox',{model:{value:(_vm.property.isPaintBorder),callback:function ($$v) {_vm.$set(_vm.property, "isPaintBorder", $$v)},expression:"property.isPaintBorder"}},[_vm._v("绘制边框")])],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"64px"}},[_vm._v("边框颜色")]),_c('ho-color-picker',{model:{value:(_vm.property.borderColor),callback:function ($$v) {_vm.$set(_vm.property, "borderColor", $$v)},expression:"property.borderColor"}})],1),_c('PrintLineStyle',{attrs:{"labelWidth":"64px","defaultStyle":_vm.property.paintRowLine,"placeholder":"绘制行线"},on:{"change":_vm.printStyleChange}})],1)])])])]),_c('el-tab-pane',{attrs:{"label":"页眉页脚","name":"second"}},[_c('fieldset',{staticClass:"control-item fieldset page-header",staticStyle:{"padding":"0 10px 10px"}},[_c('legend',[_vm._v("页眉 毫米")]),_c('div',{staticClass:"control-item"},[_vm._v("距页边界:")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px","padding-left":"54px"}},[_vm._v("至页眉(H):")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.headerYMm),callback:function ($$v) {_vm.$set(_vm.property, "headerYMm", $$v)},expression:"property.headerYMm"}})],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px"}}),_c('el-checkbox',{model:{value:(_vm.property.showFirstPageHead),callback:function ($$v) {_vm.$set(_vm.property, "showFirstPageHead", $$v)},expression:"property.showFirstPageHead"}},[_vm._v("显示-第一页的页眉(H)")])],1)]),_c('fieldset',{staticClass:"control-item fieldset page-header",staticStyle:{"padding":"0 10px 10px"}},[_c('legend',[_vm._v("页脚 毫米")]),_c('div',{staticClass:"control-item"},[_vm._v("距页边界:")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px","padding-left":"54px"}},[_vm._v("至页脚(F):")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.footerYMm),callback:function ($$v) {_vm.$set(_vm.property, "footerYMm", $$v)},expression:"property.footerYMm"}})],1),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px"}}),_c('el-checkbox',{model:{value:(_vm.property.showFirstPageFoot),callback:function ($$v) {_vm.$set(_vm.property, "showFirstPageFoot", $$v)},expression:"property.showFirstPageFoot"}},[_vm._v("显示-第一页的页脚(F)")])],1)]),_c('fieldset',{staticClass:"control-item fieldset page-header",staticStyle:{"padding":"0 10px 10px"}},[_c('legend',[_vm._v("页数")]),_c('div',{staticClass:"control-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"138px"}},[_vm._v("从第几页开始(S):")]),_c('el-input-number',{staticStyle:{"text-align":"left"},attrs:{"controls-position":"right","size":"mini","step":1,"min":0},model:{value:(_vm.property.pageNumber),callback:function ($$v) {_vm.$set(_vm.property, "pageNumber", $$v)},expression:"property.pageNumber"}})],1)])])],1)],1),_c('footer',{staticClass:"modal-footer"},[_c('el-button',{attrs:{"size":"mini","type":"primary"},on:{"click":_vm.sureSetPageing}},[_vm._v("确定")]),_c('el-button',{attrs:{"size":"mini"},on:{"click":_vm.handleClose}},[_vm._v("取消")])],1)])])}
|
|
212110
|
+
var PageSettingvue_type_template_id_4b2e27ea_scoped_true_staticRenderFns = []
|
|
211551
212111
|
|
|
211552
212112
|
|
|
211553
|
-
// CONCATENATED MODULE: ./src/components/toolbar/PageSetting.vue?vue&type=template&id=
|
|
212113
|
+
// CONCATENATED MODULE: ./src/components/toolbar/PageSetting.vue?vue&type=template&id=4b2e27ea&scoped=true&
|
|
211554
212114
|
|
|
211555
212115
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/PageSetting.vue?vue&type=script&lang=ts&
|
|
211556
212116
|
|
|
@@ -211570,6 +212130,7 @@ var PageSettingvue_type_template_id_187fdd38_scoped_true_staticRenderFns = []
|
|
|
211570
212130
|
|
|
211571
212131
|
|
|
211572
212132
|
|
|
212133
|
+
|
|
211573
212134
|
var PageSettingvue_type_script_lang_ts_PageSetting = /*#__PURE__*/function (_Mixins) {
|
|
211574
212135
|
Object(inherits["a" /* default */])(PageSetting, _Mixins);
|
|
211575
212136
|
|
|
@@ -211602,8 +212163,9 @@ var PageSettingvue_type_script_lang_ts_PageSetting = /*#__PURE__*/function (_Mix
|
|
|
211602
212163
|
showFirstPageHead: true,
|
|
211603
212164
|
showFirstPageFoot: true,
|
|
211604
212165
|
pageNumber: 1,
|
|
211605
|
-
borderColor: "#
|
|
211606
|
-
paintRowLine: 0
|
|
212166
|
+
borderColor: "#FFFFFF",
|
|
212167
|
+
paintRowLine: 0,
|
|
212168
|
+
isPaintBorder: false
|
|
211607
212169
|
};
|
|
211608
212170
|
_this.textActiveName = "first";
|
|
211609
212171
|
_this.backFile = null;
|
|
@@ -211694,6 +212256,7 @@ var PageSettingvue_type_script_lang_ts_PageSetting = /*#__PURE__*/function (_Mix
|
|
|
211694
212256
|
}
|
|
211695
212257
|
|
|
211696
212258
|
this.vueController.setPageProperty(JSON.stringify(_objectSpread2({}, params)));
|
|
212259
|
+
this.vueController.fullRedraw();
|
|
211697
212260
|
this.handleClose();
|
|
211698
212261
|
}
|
|
211699
212262
|
}, {
|
|
@@ -211713,14 +212276,15 @@ __decorate([Prop()], PageSettingvue_type_script_lang_ts_PageSetting.prototype, "
|
|
|
211713
212276
|
PageSettingvue_type_script_lang_ts_PageSetting = __decorate([vue_class_component_esm({
|
|
211714
212277
|
name: "PageSetting",
|
|
211715
212278
|
components: {
|
|
212279
|
+
HoColorPicker: colorPicker_HoColorPicker,
|
|
211716
212280
|
PrintLineStyle: printstyle_PrintLineStyle
|
|
211717
212281
|
}
|
|
211718
212282
|
})], PageSettingvue_type_script_lang_ts_PageSetting);
|
|
211719
212283
|
/* harmony default export */ var PageSettingvue_type_script_lang_ts_ = (PageSettingvue_type_script_lang_ts_PageSetting);
|
|
211720
212284
|
// CONCATENATED MODULE: ./src/components/toolbar/PageSetting.vue?vue&type=script&lang=ts&
|
|
211721
212285
|
/* harmony default export */ var toolbar_PageSettingvue_type_script_lang_ts_ = (PageSettingvue_type_script_lang_ts_);
|
|
211722
|
-
// EXTERNAL MODULE: ./src/components/toolbar/PageSetting.vue?vue&type=style&index=0&id=
|
|
211723
|
-
var
|
|
212286
|
+
// EXTERNAL MODULE: ./src/components/toolbar/PageSetting.vue?vue&type=style&index=0&id=4b2e27ea&lang=scss&scoped=true&
|
|
212287
|
+
var PageSettingvue_type_style_index_0_id_4b2e27ea_lang_scss_scoped_true_ = __webpack_require__("de76");
|
|
211724
212288
|
|
|
211725
212289
|
// CONCATENATED MODULE: ./src/components/toolbar/PageSetting.vue
|
|
211726
212290
|
|
|
@@ -211733,17 +212297,17 @@ var PageSettingvue_type_style_index_0_id_187fdd38_lang_scss_scoped_true_ = __web
|
|
|
211733
212297
|
|
|
211734
212298
|
var PageSetting_component = normalizeComponent(
|
|
211735
212299
|
toolbar_PageSettingvue_type_script_lang_ts_,
|
|
211736
|
-
|
|
211737
|
-
|
|
212300
|
+
PageSettingvue_type_template_id_4b2e27ea_scoped_true_render,
|
|
212301
|
+
PageSettingvue_type_template_id_4b2e27ea_scoped_true_staticRenderFns,
|
|
211738
212302
|
false,
|
|
211739
212303
|
null,
|
|
211740
|
-
"
|
|
212304
|
+
"4b2e27ea",
|
|
211741
212305
|
null
|
|
211742
212306
|
|
|
211743
212307
|
)
|
|
211744
212308
|
|
|
211745
212309
|
/* harmony default export */ var toolbar_PageSetting = (PageSetting_component.exports);
|
|
211746
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
212310
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/UploadFile.vue?vue&type=template&id=4361e817&
|
|
211747
212311
|
var UploadFilevue_type_template_id_4361e817_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-upload',{staticClass:"upload-image",attrs:{"action":"","accept":".xml","multiple":false,"show-file-list":false,"auto-upload":false,"file-list":_vm.fileList,"on-change":_vm.uploadFiles}},[_c('span',{attrs:{"size":"small"}},[_vm._v("打开文件")])])}
|
|
211748
212312
|
var UploadFilevue_type_template_id_4361e817_staticRenderFns = []
|
|
211749
212313
|
|
|
@@ -211826,7 +212390,7 @@ var UploadFile_component = normalizeComponent(
|
|
|
211826
212390
|
)
|
|
211827
212391
|
|
|
211828
212392
|
/* harmony default export */ var toolbar_UploadFile = (UploadFile_component.exports);
|
|
211829
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
212393
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HistoryLogs.vue?vue&type=template&id=13465a06&scoped=true&
|
|
211830
212394
|
var HistoryLogsvue_type_template_id_13465a06_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"sub-bar-items item-history-logs"},[_c('span',{staticStyle:{"padding":"0 10px"},on:{"click":_vm.openHistoryLogs}},[_vm._v("历史记录")]),(_vm.showHistoryLogs && _vm.historyLog)?_c('div',{staticClass:"document-item animation-in"},[_c('p',{staticStyle:{"text-align":"left","border-bottom":"1px solid #ccc"}},[_c('i',{staticClass:"el-icon-circle-close"}),_c('span',{on:{"click":_vm.closeHistoryLogs}},[_vm._v("关闭历史记录")])]),(Array.isArray(_vm.historyLog))?_c('ul',_vm._l((_vm.historyLog),function(history,auto_save_index){return _c('li',{key:history.saveTime + Math.random(0, 1)},[_c('div',[_c('p',{staticClass:"flex-rows"},[_c('span',{staticStyle:{"padding-left":"4px"}},[_vm._v("缓存时间:"+_vm._s(history.saveTime))]),_c('span',{staticClass:"cover",on:{"click":function($event){return _vm.manualSaveLocalStorage(auto_save_index)}}},[_vm._v("恢复")])]),_vm._l((history.logs),function(logs){return [_c('p',{key:logs.operTime},[_c('span',[_vm._v("操作类型:"+_vm._s(logs._operType))]),_c('span',[_vm._v("操作时间:"+_vm._s(_vm.dateFormat(logs._operTime)))]),_c('span',[_vm._v("操作内容:"+_vm._s(logs._operText))])])]})],2)])}),0):_vm._e()]):_vm._e()])}
|
|
211831
212395
|
var HistoryLogsvue_type_template_id_13465a06_scoped_true_staticRenderFns = []
|
|
211832
212396
|
|
|
@@ -212265,10 +212829,15 @@ var ToolBarChild_ToolBarChild = /*#__PURE__*/function (_Vue) {
|
|
|
212265
212829
|
key: "saveAsFile",
|
|
212266
212830
|
value: function saveAsFile(fileType) {
|
|
212267
212831
|
var fileName = this.vueController.getDocTitle() ? this.vueController.getDocTitle() : "电子病历文档";
|
|
212268
|
-
var file = this.vueController.saveAsFile(fileType, true);
|
|
212269
212832
|
|
|
212270
|
-
if (fileType
|
|
212271
|
-
this.
|
|
212833
|
+
if (fileType == 'pdf') {
|
|
212834
|
+
this.vueController.saveAsPDF(undefined, undefined, false);
|
|
212835
|
+
} else {
|
|
212836
|
+
var file = this.vueController.saveAsFile(fileType, true);
|
|
212837
|
+
|
|
212838
|
+
if (fileType !== 'html') {
|
|
212839
|
+
this.downloadFile(file, fileName, fileType);
|
|
212840
|
+
}
|
|
212272
212841
|
}
|
|
212273
212842
|
}
|
|
212274
212843
|
}, {
|
|
@@ -212458,6 +213027,15 @@ var ToolBarChild_ToolBarChild = /*#__PURE__*/function (_Vue) {
|
|
|
212458
213027
|
}
|
|
212459
213028
|
}
|
|
212460
213029
|
}, ["HTML"]), h("el-menu-item", {
|
|
213030
|
+
"attrs": {
|
|
213031
|
+
"index": "json"
|
|
213032
|
+
},
|
|
213033
|
+
"nativeOn": {
|
|
213034
|
+
"click": function click() {
|
|
213035
|
+
return _this5.saveAsFile("pdf");
|
|
213036
|
+
}
|
|
213037
|
+
}
|
|
213038
|
+
}, ["PDF"]), h("el-menu-item", {
|
|
212461
213039
|
"attrs": {
|
|
212462
213040
|
"index": "plain"
|
|
212463
213041
|
},
|
|
@@ -212637,14 +213215,14 @@ ToolBarChild_ToolBarChild = __decorate([vue_class_component_esm({
|
|
|
212637
213215
|
}
|
|
212638
213216
|
})], ToolBarChild_ToolBarChild);
|
|
212639
213217
|
/* harmony default export */ var toolbar_ToolBarChild = (ToolBarChild_ToolBarChild);
|
|
212640
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
213218
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=0d21dc43&
|
|
212641
213219
|
var ToolControlvue_type_template_id_0d21dc43_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"sub-bar"},[_vm._t("insertBefore"),(_vm.insert.delimiter)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('delimiter')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M535.630769 606.523077c55.138462 55.138462 106.338462 110.276923 161.476923 165.415385 23.630769 23.630769-11.815385 55.138462-35.446154 35.446154-47.261538-47.261538-94.523077-98.461538-141.784615-145.723077-47.261538 51.2-98.461538 98.461538-145.723077 149.661538-23.630769 23.630769-59.076923-11.815385-35.446154-35.446154 55.138462-55.138462 110.276923-110.276923 165.415385-165.415385C508.061538 598.646154 527.753846 598.646154 535.630769 606.523077z"}}),_c('path',{attrs:{"d":"M500.184615 417.476923c-55.138462-55.138462-110.276923-110.276923-165.415385-165.415385C311.138462 228.430769 346.584615 192.984615 370.215385 216.615385c47.261538 51.2 98.461538 98.461538 145.723077 149.661538 47.261538-47.261538 94.523077-98.461538 141.784615-145.723077 23.630769-23.630769 59.076923 11.815385 35.446154 35.446154-55.138462 55.138462-106.338462 110.276923-161.476923 165.415385C527.753846 425.353846 508.061538 425.353846 500.184615 417.476923z"}}),_c('path',{attrs:{"d":"M1024 515.938462c0 11.815385-27.569231 23.630769-63.015385 23.630769l-894.030769 0c-35.446154 0-63.015385-11.815385-63.015385-23.630769l0 0c0-11.815385 27.569231-23.630769 63.015385-23.630769l894.030769 0C996.430769 492.307692 1024 504.123077 1024 515.938462L1024 515.938462z"}})]),_c('span',[_vm._v("分割符")])]):_vm._e(),(_vm.insert.uploadImage)?_c('li',{staticClass:"sub-bar-items"},[_c('el-upload',{ref:"upload",staticClass:"upload-image",attrs:{"action":"","file-list":_vm.fileList,"show-file-list":false,"auto-upload":false,"on-change":_vm.uploadImage,"accept":"image/*"}},[_c('svg',{staticStyle:{"transform":"translateY(3px)"},attrs:{"width":"16","height":"16","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('g',{attrs:{"transform":"translate(1 1)"}},[_c('path',{attrs:{"stroke":"none","d":"M1 0h12c.6 0 1 .4 1 1v11c0 .6-.4 1-1 1H1c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1zm0 1v11h12V1H1z"}}),_c('circle',{attrs:{"stroke":"none","cx":"10","cy":"4","r":"1"}}),_c('path',{attrs:{"stroke":"none","d":"M8.5 11.2l-4-4.1L1 10.7V9.2c1.7-1.6 2.7-2.5 3-2.8.4-.5.7-.4 1 0L8.5 10 11 7.3c.4-.5.6-.5 1-.1l2 2.8v1.5l-2.5-3.4-3 3.1z"}})])]),_c('span',{attrs:{"size":"small"}},[_vm._v("图片")])])],1):_vm._e(),(_vm.insert.barcode)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('barcode')}}},[_c('svg',{staticStyle:{"transform":"translateY(5px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M65.7 158.7h134v703h-134zM703.3 158.7h134v703h-134zM263.4 158.7h57.4v703h-57.4zM901 158.7h57.4v703H901zM572.6 158.7h76.6v703h-76.6zM394.1 158.7H509v703H394.1z"}})]),_c('span',[_vm._v("条形码")])]):_vm._e(),(_vm.insert.qrcode)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('qrcode')}}},[_c('svg',{staticStyle:{"transform":"translateY(6px)"},attrs:{"viewBox":"0 0 1041 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"13"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M948.906667 931.84h92.16V1024h-92.16zM948.906667 559.786667v184.32H853.333333v-184.32H576.853333V1024h92.16V651.946667h92.16v184.32h279.893334v-276.48z"}}),_c('path',{attrs:{"d":"M761.173333 931.84H853.333333V1024h-92.16zM187.733333 187.733333h92.16v92.16H187.733333z","p-id":"1209"}}),_c('path',{attrs:{"d":"M0 464.213333h464.213333V0H0v464.213333zM92.16 92.16h279.893333v279.893333H92.16V92.16zM187.733333 744.106667h92.16v92.16H187.733333z"}}),_c('path',{attrs:{"d":"M0 1024h464.213333V559.786667H0V1024z m92.16-372.053333h279.893333v279.893333H92.16v-279.893333zM761.173333 187.733333H853.333333v92.16h-92.16z"}}),_c('path',{attrs:{"d":"M1041.066667 0H576.853333v464.213333h464.213334V0z m-92.16 372.053333h-279.893334V92.16h279.893334v279.893333z"}})]),_c('span',[_vm._v("二维码")])]):_vm._e(),(_vm.insert.express)?_c('HoMedicalExpression',{on:{"openExpress":_vm.openExpress}}):_vm._e(),(_vm.insert.datetime)?_c('li',{staticClass:"sub-bar-items"},[_c('HoDateTime',{attrs:{"vueController":_vm.vueController},on:{"setModal":_vm.createControl}})],1):_vm._e(),(_vm.insert.select)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('select')}}},[_c('svg',{attrs:{"viewBox":"0 0 1573 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M890.432646 976.724088l649.322886-750.693969A136.987951 136.987951 0 0 0 1435.64469 0H136.998917a136.987951 136.987951 0 0 0-104.110842 226.030119l649.322886 749.32409a136.987951 136.987951 0 0 0 208.221685 1.369879z"}})]),_c('span',[_vm._v("下拉框")])]):_vm._e(),(_vm.insert.text)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('text')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M34.909091 474.763636c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V442.181818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0-104.727272c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581819c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581819z m0 209.454545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818zM51.2 279.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909V230.4c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818c0 9.309091 4.654545 16.290909 16.290909 16.290909z m-16.290909 404.945455c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V651.636364c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0 107.054545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909V791.272727z m921.6-316.509091c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V442.181818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0-104.727272c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581819c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581819z m0 209.454545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m16.290909-300.218182c9.309091 0 16.290909-6.981818 16.290909-16.290909V230.4c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818c0 9.309091 6.981818 16.290909 16.290909 16.290909z m-16.290909 404.945455c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909V651.636364c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909v32.581818z m0 107.054545c0 9.309091 6.981818 16.290909 16.290909 16.290909 9.309091 0 16.290909-6.981818 16.290909-16.290909v-32.581818c0-9.309091-6.981818-16.290909-16.290909-16.290909-9.309091 0-16.290909 6.981818-16.290909 16.290909V791.272727z m-481.745455 165.236364H442.181818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m-104.727272 0h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m211.781818 0h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909H581.818182c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-9.309091-16.290909-16.290909-16.290909z m-318.836364 0H230.4c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m-104.727273-11.636364H109.381818V930.909091c0-9.309091-6.981818-18.618182-18.618182-18.618182H65.163636v-53.527273c0-9.309091-6.981818-18.618182-16.290909-18.618181-9.309091 0-16.290909 6.981818-16.290909 18.618181v53.527273H18.618182c-9.309091 0-18.618182 6.981818-18.618182 18.618182v74.472727c0 9.309091 6.981818 18.618182 18.618182 18.618182H93.090909c9.309091 0 18.618182-6.981818 18.618182-18.618182v-16.290909h48.872727c9.309091-2.327273 18.618182-11.636364 18.618182-18.618182-2.327273-11.636364-20.945455-25.6-20.945455-25.6z m528.29091 11.636364h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909z m104.727272 0h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909H791.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909zM442.181818 65.163636h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909H442.181818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m-104.727273 0h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m209.454546 0H581.818182c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909-2.327273 6.981818 6.981818 16.290909 13.963636 16.290909z m-316.509091 0h32.581818c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909H230.4c-9.309091 0-16.290909 6.981818-16.290909 18.618182 0 6.981818 6.981818 13.963636 16.290909 13.963636zM158.254545 32.581818H109.381818V18.618182c0-11.636364-9.309091-18.618182-18.618182-18.618182H18.618182C9.309091 0 0 6.981818 0 18.618182V93.090909c0 9.309091 6.981818 18.618182 18.618182 18.618182h16.290909v48.872727c2.327273 9.309091 11.636364 18.618182 18.618182 18.618182 9.309091 0 23.272727-18.618182 23.272727-18.618182V109.381818H93.090909c9.309091 0 18.618182-6.981818 18.618182-18.618182V65.163636h48.872727c9.309091 0 16.290909-6.981818 16.290909-16.290909-2.327273-9.309091-9.309091-16.290909-18.618182-16.290909z m495.709091 32.581818h32.581819c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581819c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 6.981818 6.981818 16.290909 16.290909 16.290909z m104.727273 0H791.272727c9.309091 0 16.290909-6.981818 16.290909-16.290909 0-9.309091-6.981818-16.290909-16.290909-16.290909h-32.581818c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909zM1005.381818 0H930.909091c-9.309091 0-18.618182 6.981818-18.618182 18.618182v16.290909h-48.872727c-9.309091 2.327273-18.618182 11.636364-18.618182 18.618182 0 9.309091 18.618182 23.272727 18.618182 23.272727h48.872727V93.090909c0 9.309091 6.981818 18.618182 18.618182 18.618182h25.6v53.527273c0 9.309091 6.981818 18.618182 16.290909 18.618181 9.309091 0 16.290909-6.981818 16.290909-18.618181V109.381818h16.290909c9.309091 0 18.618182-6.981818 18.618182-18.618182V18.618182c-2.327273-11.636364-9.309091-18.618182-18.618182-18.618182z m0 912.290909h-16.290909v-48.872727c-2.327273-9.309091-11.636364-18.618182-18.618182-18.618182-9.309091 0-23.272727 18.618182-23.272727 18.618182v48.872727H930.909091c-9.309091 0-18.618182 6.981818-18.618182 18.618182v25.6h-48.872727c-9.309091 0-16.290909 6.981818-16.290909 16.290909 0 9.309091 6.981818 16.290909 16.290909 16.290909h48.872727v16.290909c0 9.309091 6.981818 18.618182 18.618182 18.618182h74.472727c9.309091 0 18.618182-6.981818 18.618182-18.618182V930.909091c-2.327273-11.636364-9.309091-18.618182-18.618182-18.618182z m0 0"}}),_c('path',{attrs:{"d":"M781.963636 288.581818c0-11.636364 0-20.945455 2.327273-30.254545 0-9.309091 2.327273-16.290909 2.327273-25.6 0-11.636364-6.981818-20.945455-18.618182-23.272728-6.981818-2.327273-18.618182-2.327273-30.254545-2.327272H288.581818c-11.636364 0-20.945455 2.327273-30.254545 4.654545-18.618182 4.654545-20.945455 18.618182-20.945455 25.6 2.327273 20.945455 4.654545 41.890909 4.654546 62.836364 0 20.945455-2.327273 41.890909-4.654546 62.836363 0 4.654545 0 9.309091 9.309091 16.29091 4.654545 2.327273 9.309091 4.654545 13.963636 4.654545 4.654545 0 9.309091 0 13.963637-2.327273 6.981818-2.327273 11.636364-9.309091 13.963636-16.290909 4.654545-20.945455 9.309091-39.563636 13.963637-53.527273 4.654545-11.636364 11.636364-20.945455 18.618181-27.927272 6.981818-6.981818 16.290909-11.636364 27.927273-13.963637 11.636364-2.327273 27.927273-4.654545 48.872727-4.654545 27.927273 0 41.890909 4.654545 46.545455 6.981818 6.981818 4.654545 9.309091 18.618182 9.309091 27.927273v372.363636c0 18.618182 0 30.254545-2.327273 41.890909-2.327273 6.981818-4.654545 13.963636-9.309091 18.618182-4.654545 4.654545-11.636364 6.981818-18.618182 9.309091-9.309091 2.327273-23.272727 4.654545-39.563636 6.981818-6.981818 0-11.636364 4.654545-16.290909 11.636364-2.327273 4.654545-4.654545 9.309091-4.654546 16.290909 0 4.654545 2.327273 11.636364 4.654546 16.290909 4.654545 6.981818 9.309091 9.309091 18.618182 9.309091 18.618182 0 39.563636 0 62.836363-2.327273 44.218182-4.654545 83.781818-4.654545 123.345455 0 20.945455 2.327273 41.890909 2.327273 65.163636 2.327273 6.981818 0 13.963636-2.327273 18.618182-9.309091 2.327273-4.654545 4.654545-9.309091 4.654546-16.290909 0-4.654545-2.327273-11.636364-4.654546-16.290909-4.654545-11.636364-9.309091-16.290909-18.618182-16.290909-16.290909-2.327273-30.254545-4.654545-41.890909-6.981818-9.309091-2.327273-13.963636-4.654545-18.618182-9.309091-4.654545-4.654545-6.981818-9.309091-6.981818-16.290909-2.327273-9.309091-2.327273-23.272727-2.327273-41.89091v-372.363636c0-16.290909 2.327273-25.6 9.309091-27.927273 6.981818-2.327273 20.945455-6.981818 48.872728-6.981818 16.290909 0 32.581818 2.327273 44.218181 4.654546s20.945455 6.981818 27.927273 13.963636c6.981818 6.981818 13.963636 16.290909 18.618182 27.927273 4.654545 13.963636 9.309091 30.254545 11.636364 53.527272 2.327273 6.981818 6.981818 13.963636 13.963636 16.29091 4.654545 2.327273 9.309091 2.327273 13.963636 2.327272 4.654545 0 9.309091-2.327273 13.963637-4.654545 6.981818-4.654545 9.309091-11.636364 9.309091-16.290909 0-11.636364-2.327273-23.272727-2.327273-34.909091 4.654545-13.963636 4.654545-25.6 4.654545-37.236364z"}})]),_c('span',[_vm._v("文本域")])]):_vm._e(),(_vm.insert.radioBox)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('RadioBox')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M511.262 3.070c-282.949 0-507.681 227.919-507.681 509.095 0 281.143 227.919 509.092 509.063 509.092 281.175 0 509.095-227.948 509.095-509.092 0-281.175-227.527-509.095-510.477-509.095zM513.578 926.348c-230.265 0-416.953-186.688-416.953-416.951 0-230.292 186.688-416.98 416.953-416.98 230.293 0 416.951 186.689 416.951 416.98 0 230.265-186.658 416.951-416.951 416.951zM820.797 327.158c-17.682-18.585-46.313-18.585-63.99 0l-292.576 307.665-167.863-156.253c-17.683-18.553-46.311-18.553-63.995 0-17.653 18.587-17.653 48.719 0 67.303l195.65 182.058c16.923 17.817 43.956 18.539 61.716 2.196 8.935-1.589 17.508-5.991 24.41-13.234l306.649-322.463c17.653-18.583 17.653-48.685 0.002-67.27z"}})]),_c('span',[_vm._v("单选框")])]):_vm._e(),(_vm.insert.checkBox)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('CheckBox')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M877.714286 0H146.285714a146.285714 146.285714 0 0 0-146.285714 146.285714v731.428572a146.285714 146.285714 0 0 0 146.285714 146.285714h731.428572a146.285714 146.285714 0 0 0 146.285714-146.285714V146.285714a146.285714 146.285714 0 0 0-146.285714-146.285714z m73.142857 877.714286a73.142857 73.142857 0 0 1-73.142857 73.142857H146.285714a73.142857 73.142857 0 0 1-73.142857-73.142857V146.285714a73.142857 73.142857 0 0 1 73.142857-73.142857h731.428572a73.142857 73.142857 0 0 1 73.142857 73.142857z"}}),_c('path',{attrs:{"d":"M761.417143 282.331429L416.182857 628.297143 223.817143 438.857143A58.514286 58.514286 0 0 0 146.285714 438.857143a58.514286 58.514286 0 0 0 0 73.142857l230.4 230.4a90.697143 90.697143 0 0 0 38.765715 13.165714 67.291429 67.291429 0 0 0 38.034285-13.165714l384-384a47.542857 47.542857 0 0 0 0-76.8 58.514286 58.514286 0 0 0-76.068571 0.731429z"}})]),_c('span',[_vm._v("复选框")])]):_vm._e(),(_vm.insert.mathFormula)?_c('li',{staticClass:"sub-bar-items"},[_c('HoFormula',{attrs:{"vueController":_vm.vueController}})],1):_vm._e(),(_vm.insert.sign)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('sign')}}},[_c('span',[_vm._v("签名")])]):_vm._e(),(_vm.insert.pageInfoes)?_c('li',{staticClass:"sub-bar-items",on:{"click":function($event){return _vm.createControl('pageInfoes')}}},[_c('svg',{attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M732.258937 608.38132H448.886312a32.154589 32.154589 0 0 0-31.659903 32.237037 31.742351 31.742351 0 0 0 31.659903 32.237038h283.372625a32.237037 32.237037 0 0 0 0-64.474075zM793.929791 0h-439.446055a132.41095 132.41095 0 0 0-126.144928 127.793881l-36.689211 1.071819A127.1343 127.1343 0 0 0 70.533977 256.082448v640.041223a131.916264 131.916264 0 0 0 126.144928 127.793881h472.837359a132.41095 132.41095 0 0 0 126.144928-127.793881h31.659903a132.41095 132.41095 0 0 0 126.144928-127.79388V214.446377zM669.516264 959.525926H196.349114a65.958132 65.958132 0 0 1-62.742673-63.89694V256.164895a62.907568 62.907568 0 0 1 60.0219-62.742673l34.463124-1.071819v575.567149a131.916264 131.916264 0 0 0 126.144928 127.793881h378.022544a67.277295 67.277295 0 0 1-62.990016 63.814493z m220.547504-191.690821a66.37037 66.37037 0 0 1-62.742673 63.89694H353.98905a65.958132 65.958132 0 0 1-62.742673-63.89694V127.793881A66.37037 66.37037 0 0 1 353.98905 63.89694h376.703382c-0.577134 74.202899 0 25.558776 0 25.558777 0 66.700161 34.463124 127.216747 101.657971 127.216747h57.713365zM732.258937 448.350403H448.886312a32.154589 32.154589 0 0 0-31.659903 32.237037 31.742351 31.742351 0 0 0 31.659903 32.237037h283.372625a32.237037 32.237037 0 0 0 0-64.474074z"}})]),_c('span',[_vm._v("页码页数信息")])]):_vm._e(),_vm._t("hoInsertItem"),(_vm.insert.specialChars)?_c('li',{staticClass:"sub-bar-items"},[_c('HoSpecialChars',{attrs:{"vueController":_vm.vueController}})],1):_vm._e()],2)}
|
|
212642
213220
|
var ToolControlvue_type_template_id_0d21dc43_staticRenderFns = []
|
|
212643
213221
|
|
|
212644
213222
|
|
|
212645
213223
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=0d21dc43&
|
|
212646
213224
|
|
|
212647
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
213225
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoSpecialChars.vue?vue&type=template&id=18ad3397&scoped=true&
|
|
212648
213226
|
var HoSpecialCharsvue_type_template_id_18ad3397_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange}},[_c('span',{staticClass:"el-dropdown-link"},[_c('svg',{staticStyle:{"transform":"translateY(0px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('path',{attrs:{"d":"M825.163595 883.651765H416.226184v-10.842353c62.162824-39.996235 99.629176-117.157647 99.629176-211.727059 0-32.768-4.999529-64.813176-12.047059-95.232H727.642654a18.432 18.432 0 0 0 18.130824-18.672941V477.605647a18.432 18.432 0 0 0-18.130824-18.612706h-254.192941c-16.263529-52.525176-30.358588-106.194824-30.358588-163.84 0-101.074824 77.101176-163.117176 198.053647-163.117176 48.790588 0 96.496941 9.517176 137.095529 24.395294 11.806118 4.457412 24.094118-4.638118 24.094118-17.648941V46.983529a18.853647 18.853647 0 0 0-11.866353-17.468235A448.752941 448.752941 0 0 0 630.904772 0c-210.823529 0-343.762824 103.424-343.762824 279.491765 0 61.138824 15.661176 120.892235 33.129412 179.2H198.776772A18.432 18.432 0 0 0 180.706184 477.304471V546.936471c0 10.24 8.192 18.612706 18.130823 18.612705H351.172066c7.710118 34.153412 13.372235 68.306824 13.372235 102.701177 0 105.050353-65.355294 193.536-165.165176 218.895059a18.552471 18.552471 0 0 0-13.854118 18.070588v89.509647c0 10.24 8.192 18.612706 18.130824 18.612706H825.223831a18.432 18.432 0 0 0 18.130823-18.672941V902.324706a18.432 18.432 0 0 0-18.130823-18.672941z"}})]),_c('span',[_vm._v("特殊字符")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{staticClass:"special-characters",attrs:{"disabled":""}},[_c('section',[_c('ul',[_c('li',[_c('header',[_vm._v("特殊字符")]),_c('p',{staticClass:"chars-list special-chars-list"},_vm._l((_vm.specialChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)]),_c('li',[_c('header',[_vm._v("罗马字符")]),_c('p',{staticClass:"chars-list"},_vm._l((_vm.romanChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)]),_c('li',[_c('header',[_vm._v("数学字符")]),_c('p',{staticClass:"chars-list"},_vm._l((_vm.mathChars),function(chars){return _c('span',{key:chars,on:{"click":function($event){return _vm.specialCharsClick(chars)}}},[_vm._v(_vm._s(chars))])}),0)])])])])],1)],1)}
|
|
212649
213227
|
var HoSpecialCharsvue_type_template_id_18ad3397_scoped_true_staticRenderFns = []
|
|
212650
213228
|
|
|
@@ -212749,7 +213327,7 @@ var HoSpecialChars_component = normalizeComponent(
|
|
|
212749
213327
|
)
|
|
212750
213328
|
|
|
212751
213329
|
/* harmony default export */ var insert_HoSpecialChars = (HoSpecialChars_component.exports);
|
|
212752
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
213330
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoDateTime.vue?vue&type=template&id=5e85d543&
|
|
212753
213331
|
var HoDateTimevue_type_template_id_5e85d543_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange}},[_c('span',{staticClass:"el-dropdown-link"},[_c('svg',{staticStyle:{"transform":"translateY(0px)"},attrs:{"viewBox":"0 0 1024 1024","version":"1.1","xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16"}},[_c('rect',{attrs:{"width":"24","height":"24","fill":"#F0F0F0","opacity":"0"}}),_c('path',{attrs:{"d":"M3.323286 405.074141v577.095823c0 23.005753 18.822889 41.828641 41.828641 41.828642h933.696146c23.005753 0 41.828641-18.822889 41.828641-41.828642v-577.095823H3.323286z m295.734072 386.159229h-107.197048c-15.4027 0-27.885761-12.484455-27.885761-27.885761s12.483061-27.885761 27.885761-27.885761h107.197048c15.399911 0 27.885761 12.484455 27.885761 27.885761s-12.487244 27.885761-27.885761 27.885761m0-145.005957h-107.197048c-15.4027 0-27.885761-12.484455-27.885761-27.885761s12.483061-27.885761 27.885761-27.885761h107.197048c15.399911 0 27.885761 12.484455 27.885761 27.885761s-12.487244 27.885761-27.885761 27.885761m283.110188 145.005957h-107.197048c-15.4027 0-27.885761-12.484455-27.885761-27.885761s12.483061-27.885761 27.885761-27.885761h107.197048c15.399911 0 27.885761 12.484455 27.885761 27.885761s-12.485849 27.885761-27.885761 27.885761m0-145.005957h-107.197048c-15.4027 0-27.885761-12.484455-27.885761-27.885761s12.483061-27.885761 27.885761-27.885761h107.197048c15.399911 0 27.885761 12.484455 27.885761 27.885761s-12.485849 27.885761-27.885761 27.885761m249.973539 145.005957h-107.197049c-15.399911 0-27.885761-12.484455-27.88576-27.885761s12.485849-27.885761 27.88576-27.885761h107.197049c15.4027 0 27.885761 12.484455 27.88576 27.885761s-12.484455 27.885761-27.88576 27.885761m0-145.005957h-107.197049c-15.399911 0-27.885761-12.484455-27.88576-27.885761s12.485849-27.885761 27.88576-27.885761h107.197049c15.4027 0 27.885761 12.484455 27.88576 27.885761s-12.484455 27.885761-27.88576 27.885761M293.55968 230.408889c-23.486782 0-42.525785-19.039003-42.525785-42.525786V42.525785c0-23.486782 19.039003-42.525785 42.525785-42.525785s42.525785 19.039003 42.525786 42.525785v145.357318c0 23.486782-19.039003 42.525785-42.525786 42.525786M719.447753 230.408889c-23.486782 0-42.525785-19.039003-42.525785-42.525786V42.525785c0-23.486782 19.039003-42.525785 42.525785-42.525785s42.525785 19.039003 42.525785 42.525785v145.357318c0 23.486782-19.039003 42.525785-42.525785 42.525786","p-id":"2003"}}),_c('path',{attrs:{"d":"M978.848073 101.085884H787.767867v86.797219c0 37.730829-30.587891 68.320114-68.320114 68.320114s-68.320114-30.589285-68.320114-68.320114V101.085884H361.879794v86.797219c0 37.730829-30.589285 68.320114-68.320114 68.320114-37.732223 0-68.320114-30.589285-68.320114-68.320114V101.085884H45.151927c-23.005753 0-41.828641 18.822889-41.828641 41.828641v206.388094h1017.353428V142.914525c0-23.005753-18.822889-41.828641-41.828641-41.828641"}})]),_c('span',[_vm._v("日期时间")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_vm._l((_vm.dateFormatValue),function(value,index){return _c('el-dropdown-item',{key:value + index,staticClass:"date-time-item",attrs:{"index":_vm.dateFormatList[index]},nativeOn:{"click":function($event){return _vm.selectedDate(_vm.dateFormatList[index], value)}}},[_vm._v(_vm._s(value))])}),_c('el-dropdown-item',{staticClass:"date-time-item",nativeOn:{"click":function($event){return _vm.selectedDate('more', '')}}},[_vm._v("更多日期属性")])],2)],1)}
|
|
212754
213332
|
var HoDateTimevue_type_template_id_5e85d543_staticRenderFns = []
|
|
212755
213333
|
|
|
@@ -212854,7 +213432,7 @@ var HoDateTime_component = normalizeComponent(
|
|
|
212854
213432
|
)
|
|
212855
213433
|
|
|
212856
213434
|
/* harmony default export */ var insert_HoDateTime = (HoDateTime_component.exports);
|
|
212857
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
213435
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/hoformula/HoFormula.vue?vue&type=template&id=88e6be42&
|
|
212858
213436
|
var HoFormulavue_type_template_id_88e6be42_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',{on:{"click":_vm.insertFormula}},[_vm._v("插入公式")]),_c('el-dialog',{staticClass:"ho-formula-iframe",attrs:{"title":"公式编辑","width":"868px","visible":_vm.createFormula,"close-on-click-modal":false,"top":"150px","append-to-body":"","center":""},on:{"update:visible":function($event){_vm.createFormula=$event},"before-close":_vm.closeFormula}},[_c('section',[_c('div',{staticClass:"kf-editor",attrs:{"id":"HoKfEditorContainer"}}),(_vm.kityformulaError)?_c('p',[_vm._v(_vm._s(_vm.kityformulaError))]):_vm._e()]),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{staticClass:"right",attrs:{"id":"kityformula-btn"},on:{"click":_vm.sureInsertKityFormula}},[_vm._v("确认插入")]),_c('el-button',{staticClass:"right",attrs:{"id":"kityformula-btn"},on:{"click":_vm.closeFormula}},[_vm._v("取消")])],1)])],1)}
|
|
212859
213437
|
var HoFormulavue_type_template_id_88e6be42_staticRenderFns = []
|
|
212860
213438
|
|
|
@@ -213212,19 +213790,19 @@ var ToolControl_component = normalizeComponent(
|
|
|
213212
213790
|
)
|
|
213213
213791
|
|
|
213214
213792
|
/* harmony default export */ var insert_ToolControl = (ToolControl_component.exports);
|
|
213215
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
213216
|
-
var
|
|
213217
|
-
var
|
|
213793
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=194f516e&
|
|
213794
|
+
var ToolTablevue_type_template_id_194f516e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"sub-bar table-bar"},[_c('el-dialog',{attrs:{"title":"自定义表格行列","width":"320px","visible":_vm.dialogFormVisible,"top":"200px","append-to-body":"","center":""},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{"model":_vm.form}},[_c('el-form-item',{attrs:{"label":"行数","label-width":_vm.formLabelWidth}},[_c('el-input-number',{attrs:{"precision":0,"min":1,"controls":false,"autocomplete":"off"},model:{value:(_vm.form.rows),callback:function ($$v) {_vm.$set(_vm.form, "rows", $$v)},expression:"form.rows"}})],1),_c('el-form-item',{attrs:{"label":"列数","label-width":_vm.formLabelWidth}},[_c('el-input-number',{attrs:{"precision":0,"min":1,"controls":false,"autocomplete":"off"},model:{value:(_vm.form.columns),callback:function ($$v) {_vm.$set(_vm.form, "columns", $$v)},expression:"form.columns"}})],1)],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary"},on:{"click":_vm.sure}},[_vm._v("确 定")]),_c('el-button',{on:{"click":function($event){_vm.dialogFormVisible = false}}},[_vm._v("取 消")])],1)],1),_vm._t("insertBefore"),(_vm.table.insertTable)?_c('li',{staticClass:"sub-bar-items"},[_c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange}},[_c('span',{staticClass:"el-dropdown-link"},[_c('span',[_vm._v("插入表格")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[_c('el-dropdown-item',{staticClass:"ho-insert-table-item",attrs:{"disabled":""}},[_c('div',{staticClass:"columns",on:{"mouseleave":_vm.clearData}},[_c('p',{staticClass:"table-title"},[_vm._v(_vm._s(_vm.rows ? _vm.rows + " x " + _vm.columns : "插入")+" 表格")]),_vm._l((10),function(row_index){return _c('div',{key:'row_' + row_index,staticClass:"rows",on:{"mousemove":_vm.mouse,"click":_vm.createdTables}},_vm._l((10),function(column_index){return _c('span',{key:'column_index' + column_index,class:row_index <= _vm.rows && column_index <= _vm.columns ? 'selected' : '',attrs:{"data-column":column_index,"data-row":row_index},on:{"touchstart":_vm.touch,"touchmove":_vm.touch,"touchend":_vm.touchend}})}),0)})],2),_c('p',{staticClass:"table-bottom-title",on:{"click":function($event){_vm.dialogFormVisible = true}}},[_vm._v("自定义行列数")])])],1)],1)],1):_vm._e(),_c('HoTableFeatures',{attrs:{"vueController":_vm.vueController,"tableProperty":_vm.tableProperty,"dropdownClassName":_vm.dropdownClassName,"table":_vm.table}}),_vm._t("hoTableItem")],2)}
|
|
213795
|
+
var ToolTablevue_type_template_id_194f516e_staticRenderFns = []
|
|
213218
213796
|
|
|
213219
213797
|
|
|
213220
|
-
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=
|
|
213798
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=194f516e&
|
|
213221
213799
|
|
|
213222
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
213223
|
-
var
|
|
213224
|
-
var
|
|
213800
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=489ffad0&
|
|
213801
|
+
var HoTableFeaturesvue_type_template_id_489ffad0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{ref:"hoTableFeatures",staticClass:"ho-table-features"},[_c('el-dialog',{attrs:{"width":"520px","top":"20%","center":"","append-to-body":"","close-on-click-modal":false,"title":_vm.dialogFormTitle,"visible":_vm.dialogFormVisible},on:{"update:visible":function($event){_vm.dialogFormVisible=$event}}},[(_vm.formula === 'a1: a2' || _vm.formula === '(a1 + a2) * 2')?_c('section',[_c('p',{staticStyle:{"padding":"10px 0"}},[_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]),_c('div',{staticStyle:{"height":"26px","line-height":"36px","font-size":"16px"}},[_vm._v(" "+_vm._s(_vm.dialogFormTitle)+" ")]),_c('div',{staticStyle:{"height":"36px","line-height":"36px"}},[_vm._v("示例: "+_vm._s(_vm.dialogFormTitle === "表格行列求和公式" ? "a1: a2" : "(a1 + a2) * 2"))]),_c('el-checkbox',{model:{value:(_vm.isHideZero),callback:function ($$v) {_vm.isHideZero=$$v},expression:"isHideZero"}},[_vm._v("结果为 0 不显示")]),_c('p',{staticStyle:{"height":"10px"}}),_c('el-input',{attrs:{"autocomplete":"off"},model:{value:(_vm.simpleFormula),callback:function ($$v) {_vm.simpleFormula=$$v},expression:"simpleFormula"}})],1):_vm._e(),(_vm.formula === 'bmi')?_c('section',[_c('p',{staticStyle:{"padding":"10px 0"}},[_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v("身高")]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.height),callback:function ($$v) {_vm.height=$$v},expression:"height"}})],1),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v("体重")]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.weight),callback:function ($$v) {_vm.weight=$$v},expression:"weight"}})],1)]):_vm._e(),(_vm.formula === 'labor')?_c('section',[_c('p',{staticStyle:{"padding":"10px 0"}},[_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]),_c('el-checkbox',{model:{value:(_vm.isHideZero),callback:function ($$v) {_vm.isHideZero=$$v},expression:"isHideZero"}},[_vm._v("结果为 0 不显示")]),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v("产程类型")]),_c('el-select',{attrs:{"size":"mini"},on:{"change":_vm.laborTypeChange},model:{value:(_vm.laborType),callback:function ($$v) {_vm.laborType=$$v},expression:"laborType"}},[_c('el-option',{attrs:{"value":1,"label":"第一产程"}}),_c('el-option',{attrs:{"value":2,"label":"第二产程"}}),_c('el-option',{attrs:{"value":3,"label":"第三产程"}}),_c('el-option',{attrs:{"value":0,"label":"总产程"}})],1)],1),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v(_vm._s(["第一产程", "宫缩开始", "宫口全开", "胎儿娩出"][_vm.laborType]))]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.labor1),callback:function ($$v) {_vm.labor1=$$v},expression:"labor1"}})],1),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v(_vm._s(["第二产程", "宫口全开", "胎儿娩出", "胎盘娩出"][_vm.laborType]))]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.labor2),callback:function ($$v) {_vm.labor2=$$v},expression:"labor2"}})],1),(_vm.laborType === 0)?_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v(_vm._s(["第三产程", "宫缩开始", "宫口全开", "胎儿娩出"][_vm.laborType]))]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.labor3),callback:function ($$v) {_vm.labor3=$$v},expression:"labor3"}})],1):_vm._e()],1):_vm._e(),(_vm.formula === 'expectedDate' || _vm.formula === 'pregnantDays' || _vm.formula === 'pregnantWeeks')?_c('section',[_c('p',{staticStyle:{"padding":"10px 0"}},[_vm._v("请输入表单项对应的单元格编号,从左到右依次为ABCD...,从上到下依次为1234...")]),_c('div',{staticClass:"ho-table-features-list"},[_c('p',[_vm._v("末次月经")]),_c('el-input',{attrs:{"size":"mini","autocomplete":"off"},model:{value:(_vm.expectedDate),callback:function ($$v) {_vm.expectedDate=$$v},expression:"expectedDate"}})],1)]):_vm._e(),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.sure}},[_vm._v("确 定")]),_c('el-button',{attrs:{"size":"small"},on:{"click":function($event){_vm.dialogFormVisible = false}}},[_vm._v("取 消")])],1)]),(_vm.table.tableFormula)?_c('div',{staticClass:"sub-bar-items"},[_c('el-dropdown',{class:_vm.dropdownClassName,attrs:{"trigger":"click","placement":"bottom-start","popper-append-to-body":"","tabindex":-1},on:{"visible-change":_vm.dropdownChange}},[_c('span',{staticClass:"el-dropdown-link"},[_c('span',[_vm._v("表格计算公式")]),_c('i',{staticClass:"el-icon-arrow-down el-icon--right"})]),_c('el-dropdown-menu',{attrs:{"slot":"dropdown"},slot:"dropdown"},[(_vm.table.isTableCode)?_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{directives:[{name:"debounce",rawName:"v-debounce:30.click",value:(_vm.setCellCode),expression:"setCellCode",arg:"30",modifiers:{"click":true}}]},[_c('span',[_vm._v(_vm._s(_vm.tableCellCode ? "隐藏" : "显示")+"单元格编号")])])]):_vm._e(),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"sumFormula"},on:{"click":function($event){return _vm.openFormula(['表格行列求和公式', 'a1: a2'])}}},[_vm._v(" 表格行列求和 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"arithmeticFormula"},on:{"click":function($event){_vm.openFormula(['表格行列混合运算公式', '(a1 + a2) * 2'])}}},[_vm._v(" 表格行列混合运算 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"bmiFormula"},on:{"click":function($event){return _vm.openFormula(['BMI指数计算公式', 'bmi'])}}},[_vm._v(" BMI指数 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"laborFormula"},on:{"click":function($event){return _vm.openFormula(['产程计算公式', 'labor'])}}},[_vm._v(" 产程 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"expectedDateFormula"},on:{"click":function($event){return _vm.openFormula(['预产期计算公式', 'expectedDate'])}}},[_vm._v(" 预产期 ")])]),_c('el-dropdown-item',{staticClass:"ho-insert-table-item"},[_c('div',{attrs:{"index":"expectedDateFormula"},on:{"click":function($event){return _vm.openFormula(['孕周计算公式', 'pregnantWeeks'])}}},[_vm._v(" 孕周 ")])])],1)],1)],1):_vm._e(),(_vm.table.insertRowAbove && _vm.tableProperty.canAddRow)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowAbove),expression:"tableInsertRowAbove",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("上方插入 ")]),_c('el-input-number',{staticClass:"insert-top",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.topRows),callback:function ($$v) {_vm.topRows=$$v},expression:"topRows"}}),_c('span',[_vm._v(" 行")])],1):_vm._e(),(_vm.table.insertRowBelow && _vm.tableProperty.canAddRow)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowBelow),expression:"tableInsertRowBelow",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("下方插入 ")]),_c('el-input-number',{staticClass:"insert-bottom",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.bottomRows),callback:function ($$v) {_vm.bottomRows=$$v},expression:"bottomRows"}}),_c('span',[_vm._v(" 行")])],1):_vm._e(),(_vm.table.insertColLeft && _vm.tableProperty.canAddRow)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColLeft),expression:"tableInsertColLeft",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("左侧插入 ")]),_c('el-input-number',{staticClass:"insert-left",attrs:{"size":"mini","controls":false,"precision":0,"min":1},model:{value:(_vm.leftRows),callback:function ($$v) {_vm.leftRows=$$v},expression:"leftRows"}}),_c('span',[_vm._v(" 列")])],1):_vm._e(),(_vm.table.insertColRight && _vm.tableProperty.canAddRow)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColRight),expression:"tableInsertColRight",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("右侧插入 ")]),_c('el-input-number',{staticClass:"insert-right",attrs:{"size":"mini","precision":0,"controls":false,"min":1},model:{value:(_vm.rightRows),callback:function ($$v) {_vm.rightRows=$$v},expression:"rightRows"}}),_c('span',[_vm._v(" 列")])],1):_vm._e(),(_vm.table.deleteRows && _vm.tableProperty.canDeleteRow)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteRows),expression:"tableDeleteRows",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("删除行")])]):_vm._e(),(_vm.table.deleteCols && _vm.tableProperty.canDeleteRow)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteCols),expression:"tableDeleteCols",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("删除列")])]):_vm._e(),(_vm.table.mergerCells)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableMergerCells),expression:"tableMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("合并单元格")])]):_vm._e(),(_vm.table.unMergerCells)?_c('div',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableUnMergerCells),expression:"tableUnMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"sub-bar-items"},[_c('span',[_vm._v("取消合并单元格")])]):_vm._e()],1)}
|
|
213802
|
+
var HoTableFeaturesvue_type_template_id_489ffad0_staticRenderFns = []
|
|
213225
213803
|
|
|
213226
213804
|
|
|
213227
|
-
// CONCATENATED MODULE: ./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=
|
|
213805
|
+
// CONCATENATED MODULE: ./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=489ffad0&
|
|
213228
213806
|
|
|
213229
213807
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--14-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--14-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=script&lang=ts&
|
|
213230
213808
|
|
|
@@ -213253,7 +213831,7 @@ var HoTableFeaturesvue_type_script_lang_ts_HoTableFeatures = /*#__PURE__*/functi
|
|
|
213253
213831
|
_this.dialogFormVisible = false;
|
|
213254
213832
|
_this.dialogFormTitle = "";
|
|
213255
213833
|
_this.formula = "";
|
|
213256
|
-
_this.simpleFormula =
|
|
213834
|
+
_this.simpleFormula = "";
|
|
213257
213835
|
_this.isCellSplitModal = false;
|
|
213258
213836
|
_this.row = 1;
|
|
213259
213837
|
_this.column = 1;
|
|
@@ -213262,15 +213840,15 @@ var HoTableFeaturesvue_type_script_lang_ts_HoTableFeatures = /*#__PURE__*/functi
|
|
|
213262
213840
|
_this.leftRows = 1;
|
|
213263
213841
|
_this.rightRows = 1; // bmi
|
|
213264
213842
|
|
|
213265
|
-
_this.height =
|
|
213266
|
-
_this.weight =
|
|
213843
|
+
_this.height = "";
|
|
213844
|
+
_this.weight = ""; // 产程
|
|
213267
213845
|
|
|
213268
213846
|
_this.laborType = 1;
|
|
213269
|
-
_this.labor1 =
|
|
213270
|
-
_this.labor2 =
|
|
213271
|
-
_this.labor3 =
|
|
213847
|
+
_this.labor1 = "";
|
|
213848
|
+
_this.labor2 = "";
|
|
213849
|
+
_this.labor3 = ""; // 预产期 孕周 孕周天
|
|
213272
213850
|
|
|
213273
|
-
_this.expectedDate =
|
|
213851
|
+
_this.expectedDate = "";
|
|
213274
213852
|
_this.isHideZero = true;
|
|
213275
213853
|
_this.isOnceClick = false;
|
|
213276
213854
|
return _this;
|
|
@@ -213352,18 +213930,18 @@ var HoTableFeaturesvue_type_script_lang_ts_HoTableFeatures = /*#__PURE__*/functi
|
|
|
213352
213930
|
this.bottomRows = 1;
|
|
213353
213931
|
this.leftRows = 1;
|
|
213354
213932
|
this.rightRows = 1;
|
|
213355
|
-
this.formula =
|
|
213356
|
-
this.height =
|
|
213357
|
-
this.weight =
|
|
213933
|
+
this.formula = "";
|
|
213934
|
+
this.height = "";
|
|
213935
|
+
this.weight = "";
|
|
213358
213936
|
this.laborType = 1;
|
|
213359
|
-
this.expectedDate =
|
|
213937
|
+
this.expectedDate = ""; // this.isOnceClick = false;
|
|
213360
213938
|
}
|
|
213361
213939
|
}, {
|
|
213362
213940
|
key: "laborTypeChange",
|
|
213363
213941
|
value: function laborTypeChange() {
|
|
213364
|
-
this.labor1 =
|
|
213365
|
-
this.labor2 =
|
|
213366
|
-
this.labor3 =
|
|
213942
|
+
this.labor1 = "";
|
|
213943
|
+
this.labor2 = "";
|
|
213944
|
+
this.labor3 = "";
|
|
213367
213945
|
} // 打开计算公式熟入弹窗
|
|
213368
213946
|
|
|
213369
213947
|
}, {
|
|
@@ -213380,23 +213958,23 @@ var HoTableFeaturesvue_type_script_lang_ts_HoTableFeatures = /*#__PURE__*/functi
|
|
|
213380
213958
|
this.dialogFormVisible = false;
|
|
213381
213959
|
this.$emit("closeMenu");
|
|
213382
213960
|
|
|
213383
|
-
if (this.formula ===
|
|
213961
|
+
if (this.formula === "bmi") {
|
|
213384
213962
|
this.vueController.insertTableFormula("".concat(this.weight, ",").concat(this.height).toLocaleLowerCase(), this.isHideZero, TableFormula["a" /* FormularType */].ftBMI);
|
|
213385
|
-
} else if (this.formula ===
|
|
213963
|
+
} else if (this.formula === "a1: a2") {
|
|
213386
213964
|
this.vueController.insertTableFormula(this.simpleFormula.toLocaleLowerCase(), this.isHideZero, TableFormula["a" /* FormularType */].ftSum);
|
|
213387
|
-
} else if (this.formula ===
|
|
213965
|
+
} else if (this.formula === "(a1 + a2) * 2") {
|
|
213388
213966
|
this.vueController.insertTableFormula(this.simpleFormula.toLocaleLowerCase(), this.isHideZero, TableFormula["a" /* FormularType */].ftFormular);
|
|
213389
|
-
} else if (this.formula ===
|
|
213967
|
+
} else if (this.formula === "labor") {
|
|
213390
213968
|
if (this.laborType === 0) {
|
|
213391
213969
|
this.vueController.insertTableFormula("".concat(this.labor1, ",").concat(this.labor2, ",").concat(this.labor3).toLocaleLowerCase(), this.isHideZero, TableFormula["a" /* FormularType */].ftLaborProcess);
|
|
213392
213970
|
} else {
|
|
213393
213971
|
this.vueController.insertTableFormula("".concat(this.labor1, ",").concat(this.labor2).toLocaleLowerCase(), this.isHideZero, TableFormula["a" /* FormularType */].ftLaborProcess);
|
|
213394
213972
|
}
|
|
213395
|
-
} else if (this.formula ===
|
|
213973
|
+
} else if (this.formula === "expectedDate") {
|
|
213396
213974
|
this.vueController.insertTableFormula("".concat(this.expectedDate).toLocaleLowerCase(), this.isHideZero, TableFormula["a" /* FormularType */].ftExpectedBirthDate);
|
|
213397
|
-
} else if (this.formula ===
|
|
213975
|
+
} else if (this.formula === "pregnantWeeks") {
|
|
213398
213976
|
this.vueController.insertTableFormula("".concat(this.expectedDate).toLocaleLowerCase(), this.isHideZero, TableFormula["a" /* FormularType */].ftPregnantWeeks);
|
|
213399
|
-
} else if (this.formula ===
|
|
213977
|
+
} else if (this.formula === "pregnantDays") {// this.vueController.insertTableFormula(`${this.expectedDate}`.toLocaleLowerCase(), this.isHideZero, FormularType.ftPregnantDays)
|
|
213400
213978
|
}
|
|
213401
213979
|
}
|
|
213402
213980
|
}, {
|
|
@@ -213415,6 +213993,8 @@ __decorate([Prop()], HoTableFeaturesvue_type_script_lang_ts_HoTableFeatures.prot
|
|
|
213415
213993
|
|
|
213416
213994
|
__decorate([Prop()], HoTableFeaturesvue_type_script_lang_ts_HoTableFeatures.prototype, "table", void 0);
|
|
213417
213995
|
|
|
213996
|
+
__decorate([Prop()], HoTableFeaturesvue_type_script_lang_ts_HoTableFeatures.prototype, "tableProperty", void 0);
|
|
213997
|
+
|
|
213418
213998
|
__decorate([Ref()], HoTableFeaturesvue_type_script_lang_ts_HoTableFeatures.prototype, "hoTableFeatures", void 0);
|
|
213419
213999
|
|
|
213420
214000
|
HoTableFeaturesvue_type_script_lang_ts_HoTableFeatures = __decorate([vue_class_component_esm({
|
|
@@ -213437,8 +214017,8 @@ var HoTableFeaturesvue_type_style_index_0_lang_scss_ = __webpack_require__("7c64
|
|
|
213437
214017
|
|
|
213438
214018
|
var HoTableFeatures_component = normalizeComponent(
|
|
213439
214019
|
insert_HoTableFeaturesvue_type_script_lang_ts_,
|
|
213440
|
-
|
|
213441
|
-
|
|
214020
|
+
HoTableFeaturesvue_type_template_id_489ffad0_render,
|
|
214021
|
+
HoTableFeaturesvue_type_template_id_489ffad0_staticRenderFns,
|
|
213442
214022
|
false,
|
|
213443
214023
|
null,
|
|
213444
214024
|
null,
|
|
@@ -213552,6 +214132,8 @@ __decorate([Prop()], ToolTablevue_type_script_lang_ts_ToolTable.prototype, "vueC
|
|
|
213552
214132
|
|
|
213553
214133
|
__decorate([Prop()], ToolTablevue_type_script_lang_ts_ToolTable.prototype, "table", void 0);
|
|
213554
214134
|
|
|
214135
|
+
__decorate([Prop()], ToolTablevue_type_script_lang_ts_ToolTable.prototype, "tableProperty", void 0);
|
|
214136
|
+
|
|
213555
214137
|
ToolTablevue_type_script_lang_ts_ToolTable = __decorate([vue_class_component_esm({
|
|
213556
214138
|
name: "ToolTable",
|
|
213557
214139
|
components: {
|
|
@@ -213575,8 +214157,8 @@ var insert_ToolTablevue_type_style_index_0_lang_scss_ = __webpack_require__("b55
|
|
|
213575
214157
|
|
|
213576
214158
|
var insert_ToolTable_component = normalizeComponent(
|
|
213577
214159
|
toolbar_insert_ToolTablevue_type_script_lang_ts_,
|
|
213578
|
-
|
|
213579
|
-
|
|
214160
|
+
ToolTablevue_type_template_id_194f516e_render,
|
|
214161
|
+
ToolTablevue_type_template_id_194f516e_staticRenderFns,
|
|
213580
214162
|
false,
|
|
213581
214163
|
null,
|
|
213582
214164
|
null,
|
|
@@ -214108,10 +214690,15 @@ var ToolBarvue_type_script_lang_ts_ToolBar = /*#__PURE__*/function (_Vue) {
|
|
|
214108
214690
|
key: "saveAsFile",
|
|
214109
214691
|
value: function saveAsFile(fileType) {
|
|
214110
214692
|
var fileName = this.vueController.getDocTitle() ? this.vueController.getDocTitle() : "电子病历文档";
|
|
214111
|
-
var file = this.vueController.saveAsFile(fileType, true);
|
|
214112
214693
|
|
|
214113
|
-
if (fileType
|
|
214114
|
-
this.
|
|
214694
|
+
if (fileType == 'pdf') {
|
|
214695
|
+
this.vueController.saveAsPDF(undefined, undefined, false);
|
|
214696
|
+
} else {
|
|
214697
|
+
var file = this.vueController.saveAsFile(fileType, true);
|
|
214698
|
+
|
|
214699
|
+
if (fileType !== 'html') {
|
|
214700
|
+
this.downloadFile(file, fileName, fileType);
|
|
214701
|
+
}
|
|
214115
214702
|
}
|
|
214116
214703
|
}
|
|
214117
214704
|
/**
|
|
@@ -214209,8 +214796,8 @@ var ToolBarvue_type_style_index_0_lang_scss_ = __webpack_require__("e530");
|
|
|
214209
214796
|
|
|
214210
214797
|
var ToolBar_component = normalizeComponent(
|
|
214211
214798
|
toolbar_ToolBarvue_type_script_lang_ts_,
|
|
214212
|
-
|
|
214213
|
-
|
|
214799
|
+
ToolBarvue_type_template_id_7fa9c0fe_render,
|
|
214800
|
+
ToolBarvue_type_template_id_7fa9c0fe_staticRenderFns,
|
|
214214
214801
|
false,
|
|
214215
214802
|
null,
|
|
214216
214803
|
null,
|
|
@@ -214219,7 +214806,7 @@ var ToolBar_component = normalizeComponent(
|
|
|
214219
214806
|
)
|
|
214220
214807
|
|
|
214221
214808
|
/* harmony default export */ var toolbar_ToolBar = (ToolBar_component.exports);
|
|
214222
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
214809
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"45d5a15a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/tab/TabPane.vue?vue&type=template&id=71cdc485&
|
|
214223
214810
|
var TabPanevue_type_template_id_71cdc485_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],class:_vm.className},[_vm._t("default")],2)}
|
|
214224
214811
|
var TabPanevue_type_template_id_71cdc485_staticRenderFns = []
|
|
214225
214812
|
|
|
@@ -214670,7 +215257,8 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
214670
215257
|
"attrs": _objectSpread2({}, {
|
|
214671
215258
|
vueController: this.vueController,
|
|
214672
215259
|
className: "insert-rows-columns-right",
|
|
214673
|
-
table: this.defaultTable
|
|
215260
|
+
table: this.defaultTable,
|
|
215261
|
+
tableProperty: this.rightNode.tableProperty
|
|
214674
215262
|
})
|
|
214675
215263
|
})]), ((_this$rightNode15 = this.rightNode) === null || _this$rightNode15 === void 0 ? void 0 : _this$rightNode15.canShowComment) && h("ul", {
|
|
214676
215264
|
"class": "mouse-right-menu"
|