hoeditor-web 2.0.54 → 2.0.55
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 +150 -102
- package/lib/hoeditor.css +853 -2
- package/lib/hoeditor.umd.js +150 -102
- package/lib/hoeditor.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/hoeditor.common.js
CHANGED
|
@@ -11518,7 +11518,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
11518
11518
|
key: "printToPDF",
|
|
11519
11519
|
value: function () {
|
|
11520
11520
|
var _printToPDF = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee2(hoEditorFactoryID, PDF, type, fileName, reslove, positionY, format) {
|
|
11521
|
-
var hoEditorFactory, dPage, docHeight, dHeight, startPageNum, svgBox, orientation, width, height, last, _iterator, _step, _cpage$drawDomLevel3, index, cpage, dShape, svg2pdfOptions, _cpage$drawDomLevel, _cpage$drawDomLevel$s, ctx, _cpage$drawDomLevel2, _cpage$drawDomLevel2$, _ctx, _ctx2, _svgBox2, svgData, _ctx3, _last, printStyle, _svgBox, exportHtml, url, link, name;
|
|
11521
|
+
var hoEditorFactory, dPage, docHeight, dHeight, startPageNum, svgBox, orientation, width, height, last, _iterator, _step, _cpage$drawDomLevel3, index, cpage, dShape, posIndex, posY, _dShape, svg2pdfOptions, _cpage$drawDomLevel, _cpage$drawDomLevel$s, ctx, _cpage$drawDomLevel2, _cpage$drawDomLevel2$, _ctx, _ctx2, _svgBox2, svgData, _ctx3, _last, printStyle, _svgBox, exportHtml, url, link, name;
|
|
11522
11522
|
|
|
11523
11523
|
return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee2$(_context3) {
|
|
11524
11524
|
while (1) {
|
|
@@ -11581,7 +11581,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
11581
11581
|
|
|
11582
11582
|
case 17:
|
|
11583
11583
|
if ((_step = _iterator.n()).done) {
|
|
11584
|
-
_context3.next =
|
|
11584
|
+
_context3.next = 58;
|
|
11585
11585
|
break;
|
|
11586
11586
|
}
|
|
11587
11587
|
|
|
@@ -11599,7 +11599,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
11599
11599
|
});
|
|
11600
11600
|
|
|
11601
11601
|
case 22:
|
|
11602
|
-
return _context3.abrupt("continue",
|
|
11602
|
+
return _context3.abrupt("continue", 56);
|
|
11603
11603
|
|
|
11604
11604
|
case 23:
|
|
11605
11605
|
last = index;
|
|
@@ -11610,19 +11610,35 @@ var Print = /*#__PURE__*/function () {
|
|
|
11610
11610
|
break;
|
|
11611
11611
|
}
|
|
11612
11612
|
|
|
11613
|
-
return _context3.abrupt("break",
|
|
11613
|
+
return _context3.abrupt("break", 58);
|
|
11614
11614
|
|
|
11615
11615
|
case 27:
|
|
11616
11616
|
if (cpage.drawDomLevel && !cpage.drawDomLevel.stage) {
|
|
11617
11617
|
cpage.drawDomLevel.bindStage();
|
|
11618
11618
|
cpage.needUpdateStage = true;
|
|
11619
|
-
}
|
|
11619
|
+
} // 合并续打: 上一页还有空余时续打起始页隐藏页脚
|
|
11620
|
+
|
|
11620
11621
|
|
|
11621
11622
|
if (index === hoEditorFactory.startPageNum && positionY) {
|
|
11622
11623
|
dShape = new createjs.Shape();
|
|
11623
11624
|
dShape.graphics.beginFill("#fff").rect(0, 0, width, positionY).endFill();
|
|
11624
11625
|
cpage.drawDocContainer.addChild(dShape);
|
|
11625
11626
|
cpage.drawFooter.alpha = 0; // 上一页还有空余时续打起始页隐藏页脚
|
|
11627
|
+
} // 光标处续打
|
|
11628
|
+
|
|
11629
|
+
|
|
11630
|
+
if (hoEditorFactory.printStatus.printRange == PrintRange.prCaret) {
|
|
11631
|
+
posIndex = hoEditorFactory.printStatus.drawPrintCaret.Position[0];
|
|
11632
|
+
posY = hoEditorFactory.printStatus.drawPrintCaret.Position[1];
|
|
11633
|
+
|
|
11634
|
+
if (index === posIndex && posY) {
|
|
11635
|
+
_dShape = new createjs.Shape();
|
|
11636
|
+
|
|
11637
|
+
_dShape.graphics.beginFill("#fff").rect(0, 0, width, posY).endFill();
|
|
11638
|
+
|
|
11639
|
+
cpage.drawDocContainer.addChild(_dShape);
|
|
11640
|
+
cpage.drawFooter.alpha = 0;
|
|
11641
|
+
}
|
|
11626
11642
|
}
|
|
11627
11643
|
|
|
11628
11644
|
if (cpage.drawDomLevel && cpage.needUpdateStage && cpage.drawDomLevel.stage) {
|
|
@@ -11645,7 +11661,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
11645
11661
|
}
|
|
11646
11662
|
|
|
11647
11663
|
if (!hoEditorFactory.isUseImagePrint) {
|
|
11648
|
-
_context3.next =
|
|
11664
|
+
_context3.next = 42;
|
|
11649
11665
|
break;
|
|
11650
11666
|
}
|
|
11651
11667
|
|
|
@@ -11655,10 +11671,10 @@ var Print = /*#__PURE__*/function () {
|
|
|
11655
11671
|
ctx.posY = svg2pdfOptions.y;
|
|
11656
11672
|
ctx && ((_cpage$drawDomLevel = cpage.drawDomLevel) === null || _cpage$drawDomLevel === void 0 ? void 0 : (_cpage$drawDomLevel$s = _cpage$drawDomLevel.stage) === null || _cpage$drawDomLevel$s === void 0 ? void 0 : _cpage$drawDomLevel$s.draw(ctx));
|
|
11657
11673
|
ctx = null;
|
|
11658
|
-
_context3.next =
|
|
11674
|
+
_context3.next = 55;
|
|
11659
11675
|
break;
|
|
11660
11676
|
|
|
11661
|
-
case
|
|
11677
|
+
case 42:
|
|
11662
11678
|
_ctx = new canvas2svg({
|
|
11663
11679
|
width: width,
|
|
11664
11680
|
height: height,
|
|
@@ -11667,68 +11683,68 @@ var Print = /*#__PURE__*/function () {
|
|
|
11667
11683
|
_ctx && ((_cpage$drawDomLevel2 = cpage.drawDomLevel) === null || _cpage$drawDomLevel2 === void 0 ? void 0 : (_cpage$drawDomLevel2$ = _cpage$drawDomLevel2.stage) === null || _cpage$drawDomLevel2$ === void 0 ? void 0 : _cpage$drawDomLevel2$.draw(_ctx));
|
|
11668
11684
|
|
|
11669
11685
|
if (!(type === "html")) {
|
|
11670
|
-
_context3.next =
|
|
11686
|
+
_context3.next = 49;
|
|
11671
11687
|
break;
|
|
11672
11688
|
}
|
|
11673
11689
|
|
|
11674
11690
|
svgData = (_ctx2 = _ctx) === null || _ctx2 === void 0 ? void 0 : _ctx2.getSvg();
|
|
11675
11691
|
svgData && ((_svgBox2 = svgBox) === null || _svgBox2 === void 0 ? void 0 : _svgBox2.appendChild(svgData));
|
|
11676
|
-
_context3.next =
|
|
11692
|
+
_context3.next = 54;
|
|
11677
11693
|
break;
|
|
11678
11694
|
|
|
11679
|
-
case
|
|
11695
|
+
case 49:
|
|
11680
11696
|
PDF === null || PDF === void 0 ? void 0 : PDF.addPage();
|
|
11681
11697
|
_context3.t0 = PDF;
|
|
11682
11698
|
|
|
11683
11699
|
if (!_context3.t0) {
|
|
11684
|
-
_context3.next =
|
|
11700
|
+
_context3.next = 54;
|
|
11685
11701
|
break;
|
|
11686
11702
|
}
|
|
11687
11703
|
|
|
11688
|
-
_context3.next =
|
|
11704
|
+
_context3.next = 54;
|
|
11689
11705
|
return svg2pdf((_ctx3 = _ctx) === null || _ctx3 === void 0 ? void 0 : _ctx3.getSvg(), PDF, svg2pdfOptions);
|
|
11690
11706
|
|
|
11691
|
-
case
|
|
11707
|
+
case 54:
|
|
11692
11708
|
_ctx = null;
|
|
11693
11709
|
|
|
11694
|
-
case
|
|
11710
|
+
case 55:
|
|
11695
11711
|
index > 0 && ((_cpage$drawDomLevel3 = cpage.drawDomLevel) === null || _cpage$drawDomLevel3 === void 0 ? void 0 : _cpage$drawDomLevel3.clearStage());
|
|
11696
11712
|
|
|
11697
|
-
case
|
|
11713
|
+
case 56:
|
|
11698
11714
|
_context3.next = 17;
|
|
11699
11715
|
break;
|
|
11700
11716
|
|
|
11701
|
-
case
|
|
11702
|
-
_context3.next =
|
|
11717
|
+
case 58:
|
|
11718
|
+
_context3.next = 63;
|
|
11703
11719
|
break;
|
|
11704
11720
|
|
|
11705
|
-
case
|
|
11706
|
-
_context3.prev =
|
|
11721
|
+
case 60:
|
|
11722
|
+
_context3.prev = 60;
|
|
11707
11723
|
_context3.t1 = _context3["catch"](15);
|
|
11708
11724
|
|
|
11709
11725
|
_iterator.e(_context3.t1);
|
|
11710
11726
|
|
|
11711
|
-
case
|
|
11712
|
-
_context3.prev =
|
|
11727
|
+
case 63:
|
|
11728
|
+
_context3.prev = 63;
|
|
11713
11729
|
|
|
11714
11730
|
_iterator.f();
|
|
11715
11731
|
|
|
11716
|
-
return _context3.finish(
|
|
11732
|
+
return _context3.finish(63);
|
|
11717
11733
|
|
|
11718
|
-
case
|
|
11734
|
+
case 66:
|
|
11719
11735
|
console.timeEnd("绘制svg和生成pdf");
|
|
11720
11736
|
if (hoEditorFactory.printStatus.printRange !== PrintRange.prSelected) hoEditorFactory.printStatus.recordLastPosByPageIndex(last);
|
|
11721
11737
|
hoEditorFactory.printStatus.DrawPrintRange().PrintOver();
|
|
11722
11738
|
|
|
11723
11739
|
if (!(positionY || hoEditorFactory.startPageNum !== 0 && positionY !== undefined)) {
|
|
11724
|
-
_context3.next =
|
|
11740
|
+
_context3.next = 75;
|
|
11725
11741
|
break;
|
|
11726
11742
|
}
|
|
11727
11743
|
|
|
11728
11744
|
_last = hoEditorFactory.printStatus.printRecord.last();
|
|
11729
11745
|
|
|
11730
11746
|
if (!(_last && hoEditorFactory.startPageNum == _last[0] && positionY === _last[1])) {
|
|
11731
|
-
_context3.next =
|
|
11747
|
+
_context3.next = 75;
|
|
11732
11748
|
break;
|
|
11733
11749
|
}
|
|
11734
11750
|
|
|
@@ -11740,21 +11756,21 @@ var Print = /*#__PURE__*/function () {
|
|
|
11740
11756
|
reslove && reslove("printend");
|
|
11741
11757
|
return _context3.abrupt("return");
|
|
11742
11758
|
|
|
11743
|
-
case
|
|
11759
|
+
case 75:
|
|
11744
11760
|
if (!(type === "pdf")) {
|
|
11745
|
-
_context3.next =
|
|
11761
|
+
_context3.next = 81;
|
|
11746
11762
|
break;
|
|
11747
11763
|
}
|
|
11748
11764
|
|
|
11749
11765
|
PDF === null || PDF === void 0 ? void 0 : PDF.deletePage(1);
|
|
11750
11766
|
PDF === null || PDF === void 0 ? void 0 : PDF.save(fileName + ".pdf");
|
|
11751
11767
|
hoEditorFactory.printStatus.drawPrintRecord.clear();
|
|
11752
|
-
_context3.next =
|
|
11768
|
+
_context3.next = 87;
|
|
11753
11769
|
break;
|
|
11754
11770
|
|
|
11755
|
-
case
|
|
11771
|
+
case 81:
|
|
11756
11772
|
if (!(svgBox && svgBox.childNodes.length === 0)) {
|
|
11757
|
-
_context3.next =
|
|
11773
|
+
_context3.next = 85;
|
|
11758
11774
|
break;
|
|
11759
11775
|
}
|
|
11760
11776
|
|
|
@@ -11766,7 +11782,7 @@ var Print = /*#__PURE__*/function () {
|
|
|
11766
11782
|
reslove && reslove("printend");
|
|
11767
11783
|
return _context3.abrupt("return");
|
|
11768
11784
|
|
|
11769
|
-
case
|
|
11785
|
+
case 85:
|
|
11770
11786
|
printStyle = (0,util/* createPrintHTMLStyle */.j_)(hoEditorFactory.pageProperty.pageSize, orientation);
|
|
11771
11787
|
|
|
11772
11788
|
if (type === "html") {
|
|
@@ -11789,15 +11805,15 @@ var Print = /*#__PURE__*/function () {
|
|
|
11789
11805
|
PDF && this.openDataUriInWindow(PDF, name, hoEditorFactory.pageProperty.widthPixes);
|
|
11790
11806
|
}
|
|
11791
11807
|
|
|
11792
|
-
case
|
|
11808
|
+
case 87:
|
|
11793
11809
|
reslove && reslove("printend");
|
|
11794
11810
|
|
|
11795
|
-
case
|
|
11811
|
+
case 88:
|
|
11796
11812
|
case "end":
|
|
11797
11813
|
return _context3.stop();
|
|
11798
11814
|
}
|
|
11799
11815
|
}
|
|
11800
|
-
}, _callee2, this, [[15,
|
|
11816
|
+
}, _callee2, this, [[15, 60, 63, 66]]);
|
|
11801
11817
|
}));
|
|
11802
11818
|
|
|
11803
11819
|
function printToPDF(_x2, _x3, _x4, _x5, _x6, _x7, _x8) {
|
|
@@ -16778,9 +16794,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
16778
16794
|
node.customProperty = customProperty;
|
|
16779
16795
|
node.imgWidth = imgWidth;
|
|
16780
16796
|
node.imgHeight = imgHeight;
|
|
16781
|
-
node.imgSrc = imgSrc;
|
|
16782
16797
|
node.fingerPrintSrc = fingerPrintSrc ? fingerPrintSrc : "";
|
|
16783
16798
|
node.fingerPosition = fingerPosition ? fingerPosition : 0;
|
|
16799
|
+
node.imgSrc = imgSrc;
|
|
16784
16800
|
|
|
16785
16801
|
if (type == 1 && node.signType == 1) {
|
|
16786
16802
|
node.isFront = true;
|
|
@@ -16839,7 +16855,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
16839
16855
|
|
|
16840
16856
|
}, {
|
|
16841
16857
|
key: "updateSignType",
|
|
16842
|
-
value: function updateSignType(node, type, imgSrc) {
|
|
16858
|
+
value: function updateSignType(node, type, imgSrc, imgWidth, imgHeight) {
|
|
16843
16859
|
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_77__/* .HOEditorFactorys.instance */ .b.instance().getFactory(this._hoEditorFactoryID);
|
|
16844
16860
|
var sPath = hoEditorFactory.docTree.getNodeLastPath(node.previousLeaf());
|
|
16845
16861
|
var ePath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
@@ -16847,11 +16863,9 @@ var DocController = /*#__PURE__*/function () {
|
|
|
16847
16863
|
changeEvent.oldEndPath = ePath;
|
|
16848
16864
|
changeEvent.afterChangePath = ePath;
|
|
16849
16865
|
changeEvent.oldDrawLines = new _draw_SelectRange__WEBPACK_IMPORTED_MODULE_76__/* .SelectRange */ .E(this._hoEditorFactoryID).getRangeDrawLines(sPath, ePath, true);
|
|
16850
|
-
|
|
16851
|
-
|
|
16852
|
-
|
|
16853
|
-
}
|
|
16854
|
-
|
|
16866
|
+
node.type = type;
|
|
16867
|
+
node.imgWidth = imgWidth;
|
|
16868
|
+
node.imgHeight = imgHeight;
|
|
16855
16869
|
node.imgSrc = imgSrc;
|
|
16856
16870
|
hoEditorFactory.docTree.change(changeEvent);
|
|
16857
16871
|
}
|
|
@@ -198747,7 +198761,7 @@ var es_function_name = __webpack_require__(68309);
|
|
|
198747
198761
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
198748
198762
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(13797);
|
|
198749
198763
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
198750
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=
|
|
198764
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=3651fabe&
|
|
198751
198765
|
var 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,"textStyle":_vm.textStyle},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,"isTableProperty":_vm.isTableProperty,"isListStyle":_vm.isListStyle,"uploadImageParams":_vm.uploadImageParams},on:{"insertComments":_vm.insertComments,"closeControlmodal":_vm.closeControlModal},scopedSlots:_vm._u([{key:"hoTextModal",fn:function(){return [_vm._t("hoTextField")]},proxy:true},{key:"hoComment",fn:function(){return [_vm._t("hoTextComment")]},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()}
|
|
198752
198766
|
var staticRenderFns = []
|
|
198753
198767
|
|
|
@@ -206729,7 +206743,7 @@ var SignNode = __webpack_require__(34450);
|
|
|
206729
206743
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
206730
206744
|
var ParagraphNode = __webpack_require__(14208);
|
|
206731
206745
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
206732
|
-
/* harmony default export */ var version = ('2.0.
|
|
206746
|
+
/* harmony default export */ var version = ('2.0.55');
|
|
206733
206747
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=3fa4e4d3&scoped=true&
|
|
206734
206748
|
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)}
|
|
206735
206749
|
var PoperTipTextvue_type_template_id_3fa4e4d3_scoped_true_staticRenderFns = []
|
|
@@ -218894,9 +218908,9 @@ var VueController = /*#__PURE__*/function () {
|
|
|
218894
218908
|
|
|
218895
218909
|
}, {
|
|
218896
218910
|
key: "updateSignType",
|
|
218897
|
-
value: function updateSignType(node, type, imgSrc) {
|
|
218911
|
+
value: function updateSignType(node, type, imgSrc, imgWidth, imgHeight) {
|
|
218898
218912
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
218899
|
-
hoEditorFactory.docController.updateSignType(node, type, imgSrc);
|
|
218913
|
+
hoEditorFactory.docController.updateSignType(node, type, imgSrc, imgWidth, imgHeight);
|
|
218900
218914
|
}
|
|
218901
218915
|
/**
|
|
218902
218916
|
* 强制删除
|
|
@@ -220251,6 +220265,15 @@ var VueController = /*#__PURE__*/function () {
|
|
|
220251
220265
|
});
|
|
220252
220266
|
return ishandle;
|
|
220253
220267
|
}
|
|
220268
|
+
/**
|
|
220269
|
+
* 获取当前病历中所以批注
|
|
220270
|
+
*/
|
|
220271
|
+
|
|
220272
|
+
}, {
|
|
220273
|
+
key: "getDocCommentValue",
|
|
220274
|
+
value: function getDocCommentValue() {
|
|
220275
|
+
return HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).drawTree.commentsMap;
|
|
220276
|
+
}
|
|
220254
220277
|
/**
|
|
220255
220278
|
* 批量修改当前病历中批注处理状态
|
|
220256
220279
|
* @param status 默认修改为 1==已处理
|
|
@@ -220262,10 +220285,12 @@ var VueController = /*#__PURE__*/function () {
|
|
|
220262
220285
|
var drawTree = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).drawTree;
|
|
220263
220286
|
var commentsMap = drawTree.commentsMap;
|
|
220264
220287
|
commentsMap.forEach(function (value, key) {
|
|
220265
|
-
if (value.customProperty) {
|
|
220266
|
-
value.customProperty
|
|
220267
|
-
commentsMap.set(key, value);
|
|
220288
|
+
if (!value.customProperty) {
|
|
220289
|
+
value.customProperty = {};
|
|
220268
220290
|
}
|
|
220291
|
+
|
|
220292
|
+
value.customProperty.ishandle = status == undefined ? '1' : status;
|
|
220293
|
+
commentsMap.set(key, value);
|
|
220269
220294
|
});
|
|
220270
220295
|
drawTree.commentsMap = commentsMap;
|
|
220271
220296
|
}
|
|
@@ -224974,9 +224999,9 @@ var HoFooter_component = normalizeComponent(
|
|
|
224974
224999
|
)
|
|
224975
225000
|
|
|
224976
225001
|
/* harmony default export */ var components_HoFooter = (HoFooter_component.exports);
|
|
224977
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/ControlModal.vue?vue&type=template&id=
|
|
224978
|
-
var
|
|
224979
|
-
var
|
|
225002
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/ControlModal.vue?vue&type=template&id=2efd7672&
|
|
225003
|
+
var ControlModalvue_type_template_id_2efd7672_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 === 'gestation')?_c('Gestation',{attrs:{"hoEditorFactoryId":_vm.hoEditorFactoryId,"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',{attrs:{"isTableProperty":_vm.isTableProperty},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},scopedSlots:_vm._u([{key:"hoCommentModal",fn:function(){return [_vm._t("hoComment")]},proxy:true}],null,true)}):_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(),(_vm.controlType === 'upload-image')?_c('UploadImageDialog',{attrs:{"uploadImageParams":_vm.uploadImageParams,"vueController":_vm.vueController,"controlStatus":_vm.controlStatus},on:{"closed":_vm.handleClose}}):_vm._e()],1)}
|
|
225004
|
+
var ControlModalvue_type_template_id_2efd7672_staticRenderFns = []
|
|
224980
225005
|
|
|
224981
225006
|
|
|
224982
225007
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=3b6d4c1e&scoped=true&
|
|
@@ -227167,9 +227192,9 @@ var RadioCheckbox_component = normalizeComponent(
|
|
|
227167
227192
|
;// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/index.ts
|
|
227168
227193
|
|
|
227169
227194
|
/* harmony default export */ var radioCheckBox = (radioCheckBox_RadioCheckbox);
|
|
227170
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/commentDialog/CommentDialog.vue?vue&type=template&id=
|
|
227171
|
-
var
|
|
227172
|
-
var
|
|
227195
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/commentDialog/CommentDialog.vue?vue&type=template&id=27b7d6e2&
|
|
227196
|
+
var CommentDialogvue_type_template_id_27b7d6e2_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('ul',{staticClass:"control-list"},[_c('li',{staticClass:"control-item",staticStyle:{"align-items":"baseline"}},[_c('span',{staticClass:"label"},[_vm._v("批注内容")]),_c('el-input',{attrs:{"type":"textarea","size":"mini","autosize":{ minRows: 6, maxRows: 6 },"clearable":"","placeholder":"批注内容","maxlength":"256","show-word-limit":""},model:{value:(_vm.textContent),callback:function ($$v) {_vm.textContent=$$v},expression:"textContent"}})],1),_vm._t("hoCommentModal")],2)]),_c('footer',{staticClass:"ho-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)])}
|
|
227197
|
+
var CommentDialogvue_type_template_id_27b7d6e2_staticRenderFns = []
|
|
227173
227198
|
|
|
227174
227199
|
|
|
227175
227200
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/commentDialog/CommentDialog.vue?vue&type=script&lang=js&
|
|
@@ -227222,15 +227247,27 @@ var CommentDialogvue_type_template_id_cea35636_staticRenderFns = []
|
|
|
227222
227247
|
mounted: function mounted() {},
|
|
227223
227248
|
methods: {
|
|
227224
227249
|
sure: function sure() {
|
|
227225
|
-
|
|
227226
|
-
|
|
227227
|
-
|
|
227228
|
-
|
|
227229
|
-
|
|
227230
|
-
this.vueController.insertComment(this.textContent, this.getCustomProperty());
|
|
227231
|
-
}
|
|
227250
|
+
var _this = this;
|
|
227251
|
+
|
|
227252
|
+
var callback = function callback() {
|
|
227253
|
+
_this.$emit('closed');
|
|
227254
|
+
};
|
|
227232
227255
|
|
|
227233
|
-
|
|
227256
|
+
if (this.controlStatus === 'update') {
|
|
227257
|
+
this.$emit('insertComments', {
|
|
227258
|
+
id: this.commentValue.id,
|
|
227259
|
+
content: this.textContent,
|
|
227260
|
+
customProperty: this.getCustomProperty(),
|
|
227261
|
+
type: 'update',
|
|
227262
|
+
callback: callback
|
|
227263
|
+
}); // this.vueController.editComment(this.commentValue.id, this.textContent, this.getCustomProperty());
|
|
227264
|
+
} else {
|
|
227265
|
+
this.$emit('insertComments', {
|
|
227266
|
+
content: this.textContent,
|
|
227267
|
+
customProperty: this.getCustomProperty(),
|
|
227268
|
+
type: 'add',
|
|
227269
|
+
callback: callback
|
|
227270
|
+
}); // this.vueController.insertComment(this.textContent, this.getCustomProperty());
|
|
227234
227271
|
}
|
|
227235
227272
|
}
|
|
227236
227273
|
}
|
|
@@ -227253,8 +227290,8 @@ var CommentDialogvue_type_template_id_cea35636_staticRenderFns = []
|
|
|
227253
227290
|
|
|
227254
227291
|
var CommentDialog_component = normalizeComponent(
|
|
227255
227292
|
commentDialog_CommentDialogvue_type_script_lang_js_,
|
|
227256
|
-
|
|
227257
|
-
|
|
227293
|
+
CommentDialogvue_type_template_id_27b7d6e2_render,
|
|
227294
|
+
CommentDialogvue_type_template_id_27b7d6e2_staticRenderFns,
|
|
227258
227295
|
false,
|
|
227259
227296
|
null,
|
|
227260
227297
|
null,
|
|
@@ -230578,8 +230615,8 @@ ControlModal = __decorate([vue_class_component_esm({
|
|
|
230578
230615
|
;
|
|
230579
230616
|
var ControlModal_component = normalizeComponent(
|
|
230580
230617
|
controls_ControlModalvue_type_script_lang_ts_,
|
|
230581
|
-
|
|
230582
|
-
|
|
230618
|
+
ControlModalvue_type_template_id_2efd7672_render,
|
|
230619
|
+
ControlModalvue_type_template_id_2efd7672_staticRenderFns,
|
|
230583
230620
|
false,
|
|
230584
230621
|
null,
|
|
230585
230622
|
null,
|
|
@@ -232425,9 +232462,9 @@ var HoDocs_component = normalizeComponent(
|
|
|
232425
232462
|
)
|
|
232426
232463
|
|
|
232427
232464
|
/* harmony default export */ var components_HoDocs = (HoDocs_component.exports);
|
|
232428
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=template&id=
|
|
232429
|
-
var
|
|
232430
|
-
var
|
|
232465
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=template&id=3f61d307&
|
|
232466
|
+
var ToolBarvue_type_template_id_3f61d307_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._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)}
|
|
232467
|
+
var ToolBarvue_type_template_id_3f61d307_staticRenderFns = []
|
|
232431
232468
|
|
|
232432
232469
|
|
|
232433
232470
|
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoMedicalExpression.vue?vue&type=template&id=7096edd1&scoped=true&
|
|
@@ -237549,27 +237586,32 @@ var ToolBar = /*#__PURE__*/function (_Vue) {
|
|
|
237549
237586
|
}, {
|
|
237550
237587
|
key: "deleteComment",
|
|
237551
237588
|
value: function deleteComment() {
|
|
237552
|
-
|
|
237553
|
-
|
|
237554
|
-
|
|
237555
|
-
|
|
237556
|
-
if (selectedComment) {
|
|
237557
|
-
|
|
237558
|
-
|
|
237559
|
-
|
|
237560
|
-
|
|
237561
|
-
|
|
237562
|
-
|
|
237563
|
-
|
|
237564
|
-
|
|
237565
|
-
|
|
237566
|
-
|
|
237567
|
-
|
|
237568
|
-
|
|
237569
|
-
|
|
237570
|
-
|
|
237571
|
-
|
|
237572
|
-
|
|
237589
|
+
this.$emit("insertComments", {
|
|
237590
|
+
type: 'delete',
|
|
237591
|
+
selectedComment: this.vueController.getOnSelectedComment()
|
|
237592
|
+
}); // const selectedComment = this.vueController.getOnSelectedComment();
|
|
237593
|
+
// if (selectedComment) {
|
|
237594
|
+
// (this as any)
|
|
237595
|
+
// .$elConfirm("确定要删除选中的批注吗", "删除确认", {
|
|
237596
|
+
// cancelButtonText: "取消",
|
|
237597
|
+
// confirmButtonText: "确定",
|
|
237598
|
+
// type: "warning",
|
|
237599
|
+
// })
|
|
237600
|
+
// .then(() => {
|
|
237601
|
+
// this.vueController.deleteComment(1);
|
|
237602
|
+
// })
|
|
237603
|
+
// .catch(() => {
|
|
237604
|
+
// console.log("取消删除");
|
|
237605
|
+
// });
|
|
237606
|
+
// } else {
|
|
237607
|
+
// (this as any).$elMessage.closeAll();
|
|
237608
|
+
// (this as any).$elMessage.warning({
|
|
237609
|
+
// message: "点击选中右侧批注区域内已添加的批注后,进行删除操作",
|
|
237610
|
+
// duration: 3000,
|
|
237611
|
+
// offset: 120,
|
|
237612
|
+
// });
|
|
237613
|
+
// return;
|
|
237614
|
+
// }
|
|
237573
237615
|
}
|
|
237574
237616
|
/**
|
|
237575
237617
|
* 删除全部批注
|
|
@@ -237578,15 +237620,21 @@ var ToolBar = /*#__PURE__*/function (_Vue) {
|
|
|
237578
237620
|
}, {
|
|
237579
237621
|
key: "deleteAllComment",
|
|
237580
237622
|
value: function deleteAllComment() {
|
|
237581
|
-
|
|
237582
|
-
|
|
237583
|
-
|
|
237584
|
-
|
|
237585
|
-
|
|
237586
|
-
|
|
237587
|
-
|
|
237588
|
-
|
|
237589
|
-
})
|
|
237623
|
+
this.$emit("insertComments", {
|
|
237624
|
+
type: 'deleteAll',
|
|
237625
|
+
commentValue: this.vueController.getDocCommentValue()
|
|
237626
|
+
}); // (this as any)
|
|
237627
|
+
// .$elConfirm("确定要删除文档内全部的批注吗(只能删除用户本人创建的批注)", "删除确认", {
|
|
237628
|
+
// cancelButtonText: "取消",
|
|
237629
|
+
// confirmButtonText: "确定",
|
|
237630
|
+
// type: "warning",
|
|
237631
|
+
// })
|
|
237632
|
+
// .then(() => {
|
|
237633
|
+
// this.vueController.deleteComment(0);
|
|
237634
|
+
// })
|
|
237635
|
+
// .catch(() => {
|
|
237636
|
+
// console.log("取消删除");
|
|
237637
|
+
// });
|
|
237590
237638
|
}
|
|
237591
237639
|
/**
|
|
237592
237640
|
* 取消删除
|
|
@@ -237714,8 +237762,8 @@ ToolBar = __decorate([vue_class_component_esm({
|
|
|
237714
237762
|
|
|
237715
237763
|
var ToolBar_component = normalizeComponent(
|
|
237716
237764
|
toolbar_ToolBarvue_type_script_lang_ts_,
|
|
237717
|
-
|
|
237718
|
-
|
|
237765
|
+
ToolBarvue_type_template_id_3f61d307_render,
|
|
237766
|
+
ToolBarvue_type_template_id_3f61d307_staticRenderFns,
|
|
237719
237767
|
false,
|
|
237720
237768
|
null,
|
|
237721
237769
|
null,
|