hoeditor-web 0.3.108 → 0.3.112
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 +750 -368
- package/lib/hoeditor.css +1 -1
- package/lib/hoeditor.umd.js +750 -368
- package/lib/hoeditor.umd.min.js +11 -11
- package/package.json +1 -1
package/lib/hoeditor.common.js
CHANGED
|
@@ -20022,6 +20022,11 @@ var DrawLine_DrawLine = /*#__PURE__*/function (_DrawContainer) {
|
|
|
20022
20022
|
|
|
20023
20023
|
return true;
|
|
20024
20024
|
}
|
|
20025
|
+
}, {
|
|
20026
|
+
key: "docHeight",
|
|
20027
|
+
get: function get() {
|
|
20028
|
+
return this._docHeight;
|
|
20029
|
+
}
|
|
20025
20030
|
}], [{
|
|
20026
20031
|
key: "inSameLine",
|
|
20027
20032
|
value: function inSameLine(dobj1, dobj2) {
|
|
@@ -21313,7 +21318,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21313
21318
|
var eDate = new Date(eDateStr);
|
|
21314
21319
|
var sTime = sDate.getTime();
|
|
21315
21320
|
var eTime = eDate.getTime();
|
|
21316
|
-
var subTime = ((eTime - sTime) / (1000 * 3600 * 24)).toString();
|
|
21321
|
+
var subTime = ((eTime - sTime + 1) / (1000 * 3600 * 24)).toString();
|
|
21317
21322
|
var dayData = subTime.split('.');
|
|
21318
21323
|
var day = Number(dayData[0]);
|
|
21319
21324
|
var hour = 0;
|
|
@@ -21474,25 +21479,23 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21474
21479
|
var lastMenstryDate = cell.getCellText();
|
|
21475
21480
|
|
|
21476
21481
|
if (Object(util["j" /* isDate */])(lastMenstryDate)) {
|
|
21477
|
-
var date = new Date(lastMenstryDate);
|
|
21478
|
-
|
|
21479
|
-
|
|
21480
|
-
|
|
21481
|
-
|
|
21482
|
-
|
|
21483
|
-
|
|
21484
|
-
|
|
21485
|
-
|
|
21486
|
-
|
|
21487
|
-
|
|
21488
|
-
}
|
|
21489
|
-
|
|
21490
|
-
|
|
21491
|
-
|
|
21482
|
+
var date = new Date(lastMenstryDate); // const year = date.getFullYear();
|
|
21483
|
+
// const month = date.getMonth()+1;
|
|
21484
|
+
// const day = date.getDate();
|
|
21485
|
+
// let expectYear = 0;
|
|
21486
|
+
// let expectMonth = 0;
|
|
21487
|
+
// if (month > 3) {//预产期在次年
|
|
21488
|
+
// expectYear = year + 1;
|
|
21489
|
+
// expectMonth = month - 3;
|
|
21490
|
+
// } else {
|
|
21491
|
+
// expectYear = year;
|
|
21492
|
+
// expectMonth = month + 9;
|
|
21493
|
+
// }
|
|
21494
|
+
// const expect= expectYear.toString()+"-"+expectMonth.toString()+"-"+day.toString();
|
|
21495
|
+
// let expectTime=(new Date(expect)).getTime();
|
|
21496
|
+
//expectTime+=7*24*3600*1000;
|
|
21492
21497
|
|
|
21493
|
-
var
|
|
21494
|
-
var expectTime = new Date(expect).getTime();
|
|
21495
|
-
expectTime += 7 * 24 * 3600 * 1000;
|
|
21498
|
+
var expectTime = date.getTime() + 280 * 24 * 3600 * 1000;
|
|
21496
21499
|
var result = new Date(expectTime);
|
|
21497
21500
|
var expectDate = result.getFullYear().toString() + "年" + (result.getMonth() + 1).toString() + "月" + result.getDate().toString() + "日";
|
|
21498
21501
|
strRet = expectDate;
|
|
@@ -21523,7 +21526,7 @@ var TableFormula_TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
21523
21526
|
var date = new Date(lastMenstryDate);
|
|
21524
21527
|
var sTime = date.getTime();
|
|
21525
21528
|
var eTime = Date.now();
|
|
21526
|
-
var subTime = ((eTime - sTime) / (1000 * 3600 * 24 * 7)).toString();
|
|
21529
|
+
var subTime = ((eTime - sTime + 1) / (1000 * 3600 * 24 * 7)).toString();
|
|
21527
21530
|
var weekData = subTime.split('.');
|
|
21528
21531
|
var week = Number(weekData[0]);
|
|
21529
21532
|
var days = 0;
|
|
@@ -24353,6 +24356,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24353
24356
|
dShape = new createjs.Shape();
|
|
24354
24357
|
dShape.graphics.beginFill("#fff").rect(0, 0, hoeditorfactory.pageProperty.widthPixes, positionY).endFill();
|
|
24355
24358
|
cpage.drawDocContainer.addChild(dShape);
|
|
24359
|
+
cpage.drawFooter.alpha = 0; // 上一页还有空余时续打起始页隐藏页脚
|
|
24356
24360
|
}
|
|
24357
24361
|
|
|
24358
24362
|
if (!cpage.drawDomLevel) {
|
|
@@ -24789,7 +24793,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24789
24793
|
|
|
24790
24794
|
case 11:
|
|
24791
24795
|
if ((_step4 = _iterator4.n()).done) {
|
|
24792
|
-
_context5.next =
|
|
24796
|
+
_context5.next = 32;
|
|
24793
24797
|
break;
|
|
24794
24798
|
}
|
|
24795
24799
|
|
|
@@ -24807,7 +24811,7 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24807
24811
|
});
|
|
24808
24812
|
|
|
24809
24813
|
case 16:
|
|
24810
|
-
return _context5.abrupt("continue",
|
|
24814
|
+
return _context5.abrupt("continue", 30);
|
|
24811
24815
|
|
|
24812
24816
|
case 17:
|
|
24813
24817
|
last = index;
|
|
@@ -24829,34 +24833,35 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24829
24833
|
});
|
|
24830
24834
|
ctx && ((_cpage$drawDomLevel6 = cpage.drawDomLevel) === null || _cpage$drawDomLevel6 === void 0 ? void 0 : (_cpage$drawDomLevel6$ = _cpage$drawDomLevel6.stage) === null || _cpage$drawDomLevel6$ === void 0 ? void 0 : _cpage$drawDomLevel6$.draw(ctx));
|
|
24831
24835
|
svgData = ctx === null || ctx === void 0 ? void 0 : ctx.getSvg();
|
|
24836
|
+
svgData.style.top = hoeditorfactory.pageProperty.heightPixes * index + 'px';
|
|
24832
24837
|
svgBox.style.width = hoeditorfactory.pageProperty.widthPixes + "px";
|
|
24833
|
-
svgBox.style.height =
|
|
24838
|
+
svgBox.style.height = hoeditorfactory.drawTree.drawPages.length * hoeditorfactory.pageProperty.heightPixes + 'px';
|
|
24834
24839
|
svgBox.style.overflow = "hidden";
|
|
24835
24840
|
svgBox === null || svgBox === void 0 ? void 0 : svgBox.appendChild(svgData);
|
|
24836
24841
|
index > 0 && ((_cpage$drawDomLevel7 = cpage.drawDomLevel) === null || _cpage$drawDomLevel7 === void 0 ? void 0 : _cpage$drawDomLevel7.clearStage());
|
|
24837
24842
|
|
|
24838
|
-
case
|
|
24843
|
+
case 30:
|
|
24839
24844
|
_context5.next = 11;
|
|
24840
24845
|
break;
|
|
24841
24846
|
|
|
24842
|
-
case
|
|
24843
|
-
_context5.next =
|
|
24847
|
+
case 32:
|
|
24848
|
+
_context5.next = 37;
|
|
24844
24849
|
break;
|
|
24845
24850
|
|
|
24846
|
-
case
|
|
24847
|
-
_context5.prev =
|
|
24851
|
+
case 34:
|
|
24852
|
+
_context5.prev = 34;
|
|
24848
24853
|
_context5.t0 = _context5["catch"](9);
|
|
24849
24854
|
|
|
24850
24855
|
_iterator4.e(_context5.t0);
|
|
24851
24856
|
|
|
24852
|
-
case
|
|
24853
|
-
_context5.prev =
|
|
24857
|
+
case 37:
|
|
24858
|
+
_context5.prev = 37;
|
|
24854
24859
|
|
|
24855
24860
|
_iterator4.f();
|
|
24856
24861
|
|
|
24857
|
-
return _context5.finish(
|
|
24862
|
+
return _context5.finish(37);
|
|
24858
24863
|
|
|
24859
|
-
case
|
|
24864
|
+
case 40:
|
|
24860
24865
|
if (hoeditorfactory.printStatus.printRange !== PrintRange.prSelected) {
|
|
24861
24866
|
hoeditorfactory.printStatus.recordLastPosByPageIndex(last);
|
|
24862
24867
|
}
|
|
@@ -24865,12 +24870,12 @@ var PrintStatus_Print = /*#__PURE__*/function () {
|
|
|
24865
24870
|
printIframeHtml === null || printIframeHtml === void 0 ? void 0 : printIframeHtml.appendChild(svgBox);
|
|
24866
24871
|
reslove && reslove("printend");
|
|
24867
24872
|
|
|
24868
|
-
case
|
|
24873
|
+
case 44:
|
|
24869
24874
|
case "end":
|
|
24870
24875
|
return _context5.stop();
|
|
24871
24876
|
}
|
|
24872
24877
|
}
|
|
24873
|
-
}, _callee4, null, [[9,
|
|
24878
|
+
}, _callee4, null, [[9, 34, 37, 40]]);
|
|
24874
24879
|
}));
|
|
24875
24880
|
|
|
24876
24881
|
function printToHtml(_x13, _x14, _x15) {
|
|
@@ -37681,11 +37686,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37681
37686
|
hoEditorFactory.undoService.commit();
|
|
37682
37687
|
|
|
37683
37688
|
if (pNode && pNode instanceof _treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_49__[/* TextInputFieldNode */ "f"] && pNode.childNodes.length === 2) {
|
|
37684
|
-
|
|
37685
|
-
var insertPath = hoEditorFactory.docTree.getNodeLastPath(pNode.childNodes[0]);
|
|
37686
|
-
hoEditorFactory.undoService.begin();
|
|
37687
|
-
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_28__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, insertPath, contentMarkNode));
|
|
37688
|
-
hoEditorFactory.undoService.commit();
|
|
37689
|
+
this.resetEmptyInputFieldNode(hoEditorFactory, pNode);
|
|
37689
37690
|
}
|
|
37690
37691
|
}
|
|
37691
37692
|
}
|
|
@@ -37693,6 +37694,15 @@ var DocController = /*#__PURE__*/function () {
|
|
|
37693
37694
|
}
|
|
37694
37695
|
}
|
|
37695
37696
|
}
|
|
37697
|
+
}, {
|
|
37698
|
+
key: "resetEmptyInputFieldNode",
|
|
37699
|
+
value: function resetEmptyInputFieldNode(hoEditorFactory, node) {
|
|
37700
|
+
var contentMarkNode = node.childNodes2[1];
|
|
37701
|
+
var insertPath = hoEditorFactory.docTree.getNodeLastPath(node.childNodes[0]);
|
|
37702
|
+
hoEditorFactory.undoService.begin();
|
|
37703
|
+
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_28__[/* NodeInsertUndoUnit */ "a"](this._hoEditorFactoryID, insertPath, contentMarkNode));
|
|
37704
|
+
hoEditorFactory.undoService.commit();
|
|
37705
|
+
}
|
|
37696
37706
|
/**
|
|
37697
37707
|
* 删除(Delete):根据光标所在路径删除后面的文本 也可删除选中区域的文本
|
|
37698
37708
|
* @param 光标所在路径
|
|
@@ -38575,7 +38585,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
38575
38585
|
c = _cell$table$getCellIn2[1];
|
|
38576
38586
|
|
|
38577
38587
|
hoEditorFactory.undoService.begin();
|
|
38578
|
-
hoEditorFactory.undoService.add(new _undoRedo_TableUndos_TableInsertRowUndoUnit__WEBPACK_IMPORTED_MODULE_66__[/* TableInsertRowUndoUnit */ "a"](this._hoEditorFactoryID, cell.table, r, count));
|
|
38588
|
+
hoEditorFactory.undoService.add(new _undoRedo_TableUndos_TableInsertRowUndoUnit__WEBPACK_IMPORTED_MODULE_66__[/* TableInsertRowUndoUnit */ "a"](this._hoEditorFactoryID, cell.table, r, r, count));
|
|
38579
38589
|
hoEditorFactory.undoService.commit();
|
|
38580
38590
|
var sCellNode = cell.table.rows[r][0];
|
|
38581
38591
|
var eCellNode = cell.table.rows[r + count - 1][cell.table.colCount - 1];
|
|
@@ -38623,7 +38633,7 @@ var DocController = /*#__PURE__*/function () {
|
|
|
38623
38633
|
c = _cell$table$getCellIn4[1];
|
|
38624
38634
|
|
|
38625
38635
|
hoEditorFactory.undoService.begin();
|
|
38626
|
-
hoEditorFactory.undoService.add(new _undoRedo_TableUndos_TableInsertRowUndoUnit__WEBPACK_IMPORTED_MODULE_66__[/* TableInsertRowUndoUnit */ "a"](this._hoEditorFactoryID, cell.table, r + 1, count));
|
|
38636
|
+
hoEditorFactory.undoService.add(new _undoRedo_TableUndos_TableInsertRowUndoUnit__WEBPACK_IMPORTED_MODULE_66__[/* TableInsertRowUndoUnit */ "a"](this._hoEditorFactoryID, cell.table, r + 1, r, count));
|
|
38627
38637
|
hoEditorFactory.undoService.commit();
|
|
38628
38638
|
var sCellNode = cell.table.rows[r + 1][0];
|
|
38629
38639
|
var eCellNode = cell.table.rows[r + count][cell.table.colCount - 1];
|
|
@@ -43496,6 +43506,16 @@ var DrawText_DrawText = /*#__PURE__*/function (_createjs$Text) {
|
|
|
43496
43506
|
get: function get() {
|
|
43497
43507
|
return this._dWidth;
|
|
43498
43508
|
}
|
|
43509
|
+
}, {
|
|
43510
|
+
key: "_prepContext",
|
|
43511
|
+
value: function _prepContext(ctx) {
|
|
43512
|
+
ctx.font = this.font || "12px 宋体";
|
|
43513
|
+
ctx.textAlign = this.textAlign || "left";
|
|
43514
|
+
ctx.textBaseline = this.textBaseline || "top";
|
|
43515
|
+
ctx.lineJoin = "miter";
|
|
43516
|
+
ctx.miterLimit = 10;
|
|
43517
|
+
return ctx;
|
|
43518
|
+
}
|
|
43499
43519
|
}, {
|
|
43500
43520
|
key: "_drawText",
|
|
43501
43521
|
value: function _drawText(ctx, o, lines) {
|
|
@@ -43518,7 +43538,8 @@ var DrawText_DrawText = /*#__PURE__*/function (_createjs$Text) {
|
|
|
43518
43538
|
ctx.fillStyle = col;
|
|
43519
43539
|
}
|
|
43520
43540
|
|
|
43521
|
-
ctx = this._prepContext(ctx);
|
|
43541
|
+
ctx = this._prepContext(ctx); // ctx.font = this.font;
|
|
43542
|
+
|
|
43522
43543
|
var str = this.text;
|
|
43523
43544
|
var left = 0;
|
|
43524
43545
|
var docWidth = 0;
|
|
@@ -44133,6 +44154,17 @@ module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
44133
44154
|
});
|
|
44134
44155
|
|
|
44135
44156
|
|
|
44157
|
+
/***/ }),
|
|
44158
|
+
|
|
44159
|
+
/***/ "495d":
|
|
44160
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
44161
|
+
|
|
44162
|
+
"use strict";
|
|
44163
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_03aef4bc_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9b73");
|
|
44164
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_03aef4bc_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_03aef4bc_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
44165
|
+
/* unused harmony reexport * */
|
|
44166
|
+
|
|
44167
|
+
|
|
44136
44168
|
/***/ }),
|
|
44137
44169
|
|
|
44138
44170
|
/***/ "498a":
|
|
@@ -56511,17 +56543,6 @@ module.exports = function (argument) {
|
|
|
56511
56543
|
};
|
|
56512
56544
|
|
|
56513
56545
|
|
|
56514
|
-
/***/ }),
|
|
56515
|
-
|
|
56516
|
-
/***/ "57a0":
|
|
56517
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
56518
|
-
|
|
56519
|
-
"use strict";
|
|
56520
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_4ada7674_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f31a");
|
|
56521
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_4ada7674_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PoperSelect_vue_vue_type_style_index_0_id_4ada7674_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
56522
|
-
/* unused harmony reexport * */
|
|
56523
|
-
|
|
56524
|
-
|
|
56525
56546
|
/***/ }),
|
|
56526
56547
|
|
|
56527
56548
|
/***/ "583f":
|
|
@@ -58756,13 +58777,13 @@ var DrawPageCell_DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
58756
58777
|
this.setChildIndex(this._backImg, 0);
|
|
58757
58778
|
}
|
|
58758
58779
|
|
|
58759
|
-
if (hoEditorFactory.docTree.docProperty.type === DocTree["d" /* EmrType */].etForm && !this.cell.table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop && this.cell.cellProperty.align !== TableProperty["k" /* VAlign */].vacenter) this.paintLineGrid();
|
|
58780
|
+
if ((hoEditorFactory.docTree.docProperty.type === DocTree["d" /* EmrType */].etForm || this._cell.table.tableProperty.isAutoChangeLine) && !this.cell.table.rowInfos[r].rowProperty.repeatAsTitleAtPageTop && this.cell.cellProperty.align !== TableProperty["k" /* VAlign */].vacenter) this.paintLineGrid();
|
|
58760
58781
|
this.setBounds(0, 0, this._dWidth, newHeight); // this._backImg.cache(0, 0, this._dWidth, newHeight);
|
|
58761
58782
|
}
|
|
58762
58783
|
}, {
|
|
58763
58784
|
key: "paintLineGrid",
|
|
58764
58785
|
value: function paintLineGrid() {
|
|
58765
|
-
var dHeight =
|
|
58786
|
+
var dHeight = this._cell.drawCell.drawLines[0].dHeight + this._cell.drawCell.drawLines[0].paragraphNode.combineParagraph.lineSpace;
|
|
58766
58787
|
var halfHeight = Math.ceil(dHeight / 2);
|
|
58767
58788
|
var totalHeight = 0;
|
|
58768
58789
|
|
|
@@ -58776,16 +58797,14 @@ var DrawPageCell_DrawPageCell = /*#__PURE__*/function (_DrawArea) {
|
|
|
58776
58797
|
}
|
|
58777
58798
|
|
|
58778
58799
|
totalHeight += count * dHeight;
|
|
58779
|
-
totalHeight
|
|
58780
|
-
if (this.dHeight - totalHeight > halfHeight) this._backImg.graphics.beginStroke("#333").setStrokeStyle(1).moveTo(0 + 0.5, totalHeight + 0.5).lineTo(this._dWidth + 0.5, totalHeight + 0.5);
|
|
58800
|
+
if (this.dHeight - totalHeight > halfHeight) this._backImg.graphics.beginStroke("#333").setStrokeStyle(1).moveTo(0 + 0.5, Math.ceil(totalHeight) - 1).lineTo(this._dWidth + 0.5, Math.ceil(totalHeight) - 1);
|
|
58781
58801
|
}
|
|
58782
58802
|
}
|
|
58783
58803
|
|
|
58784
58804
|
while (totalHeight < this.dHeight + dHeight) {
|
|
58785
58805
|
totalHeight += dHeight;
|
|
58786
|
-
totalHeight = Math.ceil(totalHeight);
|
|
58787
58806
|
var restHeight = this.dHeight - totalHeight;
|
|
58788
|
-
if (restHeight > halfHeight) this._backImg.graphics.beginStroke("#333").setStrokeStyle(1).moveTo(0.5, totalHeight
|
|
58807
|
+
if (restHeight > halfHeight) this._backImg.graphics.beginStroke("#333").setStrokeStyle(1).moveTo(0.5, Math.ceil(totalHeight) - 1).lineTo(this._dWidth + 0.5, Math.ceil(totalHeight) - 1);
|
|
58789
58808
|
}
|
|
58790
58809
|
}
|
|
58791
58810
|
}, {
|
|
@@ -77526,8 +77545,9 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
77526
77545
|
value: function init() {
|
|
77527
77546
|
var _this = this;
|
|
77528
77547
|
|
|
77529
|
-
createjs.Ticker.timingMode = createjs.Ticker.RAF;
|
|
77530
|
-
createjs.Ticker.framerate =
|
|
77548
|
+
// createjs.Ticker.timingMode = createjs.Ticker.RAF;
|
|
77549
|
+
createjs.Ticker.framerate = 20; // createjs.Ticker.paused = true;
|
|
77550
|
+
|
|
77531
77551
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
77532
77552
|
createjs.Ticker.addEventListener("tick", function (e) {
|
|
77533
77553
|
return _this.onTick(e);
|
|
@@ -77635,9 +77655,12 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
77635
77655
|
}, {
|
|
77636
77656
|
key: "onTick",
|
|
77637
77657
|
value: function onTick(e) {
|
|
77658
|
+
// if(!(e as any).paused) {
|
|
77659
|
+
// console.log("Paused:", (e as any).paused, (e as any).delta);
|
|
77638
77660
|
if (this._activePage && this._activePage.drawSelectLevel && this._activePage.drawSelectLevel.stage) {
|
|
77639
77661
|
this._activePage.drawSelectLevel.stage.update(e);
|
|
77640
|
-
}
|
|
77662
|
+
} // }
|
|
77663
|
+
|
|
77641
77664
|
}
|
|
77642
77665
|
}, {
|
|
77643
77666
|
key: "deleteDLines",
|
|
@@ -79473,12 +79496,7 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
79473
79496
|
}, {
|
|
79474
79497
|
key: "moveCaretToDitem",
|
|
79475
79498
|
value: function moveCaretToDitem(dPage, dLine, index) {
|
|
79476
|
-
//
|
|
79477
|
-
if (this._paintStatus === PaintState.psReadOnly) {
|
|
79478
|
-
return;
|
|
79479
|
-
} // this._caret.visible = true;
|
|
79480
|
-
|
|
79481
|
-
|
|
79499
|
+
// this._caret.visible = true;
|
|
79482
79500
|
var dParent = dLine.parent;
|
|
79483
79501
|
|
|
79484
79502
|
while (dParent && !(dParent instanceof DrawArea["a" /* DrawArea */])) {
|
|
@@ -79510,9 +79528,11 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
79510
79528
|
} //this._caret.dLine = dLine;
|
|
79511
79529
|
|
|
79512
79530
|
|
|
79513
|
-
this._caret.height = dLine.dHeight + dLine.paragraphNode.combineParagraph.lineSpace;
|
|
79531
|
+
this._caret.height = dLine.dHeight + dLine.paragraphNode.combineParagraph.lineSpace; // 只读模式
|
|
79514
79532
|
|
|
79515
|
-
this.
|
|
79533
|
+
if (this._paintStatus !== PaintState.psReadOnly) {
|
|
79534
|
+
this._caret.moveTo(dPage.pageIndex, dest.x, dest.y);
|
|
79535
|
+
}
|
|
79516
79536
|
|
|
79517
79537
|
this.moveEditTo(dPage.pageIndex, dest.x, dest.y);
|
|
79518
79538
|
} else {
|
|
@@ -79548,7 +79568,9 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
79548
79568
|
// dLine.dHeight + dLine.paragraphNode.combineParagraph.lineSpace;
|
|
79549
79569
|
// }
|
|
79550
79570
|
|
|
79551
|
-
this.
|
|
79571
|
+
if (this._paintStatus !== PaintState.psReadOnly) {
|
|
79572
|
+
this._caret.moveTo(dPage.pageIndex, _dest.x, _dest.y);
|
|
79573
|
+
}
|
|
79552
79574
|
|
|
79553
79575
|
this.moveEditTo(dPage.pageIndex, _dest.x, _dest.y);
|
|
79554
79576
|
}
|
|
@@ -79778,6 +79800,7 @@ var DrawTree_DrawTree = /*#__PURE__*/function () {
|
|
|
79778
79800
|
var drawArea = hoEditorFactory.drawPageTree.getFirstDrawArea(strPath);
|
|
79779
79801
|
|
|
79780
79802
|
if (drawArea instanceof DrawPageMainDoc["a" /* DrawPageMainDoc */]) {
|
|
79803
|
+
nodes[0].dTop = hoEditorFactory.firstPageStartTop;
|
|
79781
79804
|
nodes[0].drawlines[0].dTop = hoEditorFactory.firstPageStartTop;
|
|
79782
79805
|
nodes[0].drawlines[0].y = hoEditorFactory.firstPageStartTop;
|
|
79783
79806
|
}
|
|
@@ -87840,12 +87863,14 @@ var DrawTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
87840
87863
|
dPageTable.y = dTop;
|
|
87841
87864
|
dPageTable.x = dPageTable.paragraphNode.combineParagraph.leftMarginPixes;
|
|
87842
87865
|
var rowTop = 0;
|
|
87866
|
+
var isEndRowFinished = false;
|
|
87843
87867
|
|
|
87844
87868
|
if (dPageTable) {
|
|
87845
87869
|
// }
|
|
87846
87870
|
if (bNewTable) dPageTable.paint(dTop, dParent, dRestHeight);else dPageTable.drawUpdate(prevdPageTable, dRestHeight);
|
|
87871
|
+
isEndRowFinished = dPageTable.isEndRowFinished();
|
|
87847
87872
|
|
|
87848
|
-
if (dPageTable.endRow === this._table.rowCount - 1 &&
|
|
87873
|
+
if (dPageTable.endRow === this._table.rowCount - 1 && isEndRowFinished) {
|
|
87849
87874
|
var _index = this.drawPageTables.indexOf(dPageTable);
|
|
87850
87875
|
|
|
87851
87876
|
if (_index >= 0 && _index < this._drawPageTables.length - 1) {
|
|
@@ -87864,7 +87889,12 @@ var DrawTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
87864
87889
|
}
|
|
87865
87890
|
}
|
|
87866
87891
|
|
|
87867
|
-
rowTop = dTop + dPageTable.dHeight
|
|
87892
|
+
rowTop = dTop + dPageTable.dHeight;
|
|
87893
|
+
|
|
87894
|
+
if (isEndRowFinished && dPageTable.endRow === this._table.rowCount - 1) {
|
|
87895
|
+
rowTop += dPageTable.paragraphNode.combineParagraph.lineSpace;
|
|
87896
|
+
}
|
|
87897
|
+
|
|
87868
87898
|
return rowTop;
|
|
87869
87899
|
}
|
|
87870
87900
|
}, {
|
|
@@ -88376,6 +88406,11 @@ var DrawTable = /*#__PURE__*/function (_DrawRect) {
|
|
|
88376
88406
|
}
|
|
88377
88407
|
}
|
|
88378
88408
|
}
|
|
88409
|
+
}, {
|
|
88410
|
+
key: "docHeight",
|
|
88411
|
+
get: function get() {
|
|
88412
|
+
return this._dHeight;
|
|
88413
|
+
}
|
|
88379
88414
|
}]);
|
|
88380
88415
|
|
|
88381
88416
|
return DrawTable;
|
|
@@ -89102,10 +89137,12 @@ var DrawImageNode_DrawImageNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
89102
89137
|
var atype = hoEditorFactory.subDocManger.getHeaderFooterType(_this2.node.getNodePath());
|
|
89103
89138
|
|
|
89104
89139
|
if (atype === SubDocManger["a" /* HeaderFooterType */].hftHead && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawHeader) {
|
|
89105
|
-
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype)
|
|
89140
|
+
// hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype)
|
|
89141
|
+
hoEditorFactory.subDocManger.updateAllSameSubDoc(dArea.index, atype, false, false);
|
|
89106
89142
|
} else {
|
|
89107
89143
|
if (atype === SubDocManger["a" /* HeaderFooterType */].hftFoot && dArea != hoEditorFactory.drawTree.drawPages[dArea.index].drawFooter) {
|
|
89108
|
-
hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype)
|
|
89144
|
+
// hoEditorFactory.subDocManger.copySubDocToPages(dArea, dArea.index, atype)
|
|
89145
|
+
hoEditorFactory.subDocManger.updateAllSameSubDoc(dArea.index, atype, false, false);
|
|
89109
89146
|
}
|
|
89110
89147
|
}
|
|
89111
89148
|
|
|
@@ -100895,6 +100932,13 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
100895
100932
|
|
|
100896
100933
|
if (isDisPlay) {
|
|
100897
100934
|
drawNode.alpha = 1;
|
|
100935
|
+
|
|
100936
|
+
for (var i = 0; i < drawNode.children.length; i++) {
|
|
100937
|
+
if (drawNode.children[i].name === "backColor") {
|
|
100938
|
+
drawNode.children.splice(i, 1);
|
|
100939
|
+
}
|
|
100940
|
+
}
|
|
100941
|
+
|
|
100898
100942
|
var color = hoEditorFactory.option.getColorByLevel(11);
|
|
100899
100943
|
var backColor = new createjs.Shape();
|
|
100900
100944
|
backColor.graphics.clear().beginFill(color).drawRect(0, -drawNode.dHeight + 2, drawNode.dWidth, drawNode.dHeight);
|
|
@@ -100904,9 +100948,9 @@ var DateTimeNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
100904
100948
|
if (this.text === this.labelText) {
|
|
100905
100949
|
drawNode.alpha = 0;
|
|
100906
100950
|
} else {
|
|
100907
|
-
for (var
|
|
100908
|
-
if (drawNode.children[
|
|
100909
|
-
drawNode.children.splice(
|
|
100951
|
+
for (var _i = drawNode.children.length - 1; _i >= 0; _i--) {
|
|
100952
|
+
if (drawNode.children[_i].name === "backColor") {
|
|
100953
|
+
drawNode.children.splice(_i, 1);
|
|
100910
100954
|
}
|
|
100911
100955
|
}
|
|
100912
100956
|
}
|
|
@@ -103868,6 +103912,13 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
103868
103912
|
|
|
103869
103913
|
/***/ }),
|
|
103870
103914
|
|
|
103915
|
+
/***/ "9b73":
|
|
103916
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
103917
|
+
|
|
103918
|
+
// extracted by mini-css-extract-plugin
|
|
103919
|
+
|
|
103920
|
+
/***/ }),
|
|
103921
|
+
|
|
103871
103922
|
/***/ "9bb6":
|
|
103872
103923
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
103873
103924
|
|
|
@@ -114199,6 +114250,8 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
114199
114250
|
/* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_yuki_createjs__WEBPACK_IMPORTED_MODULE_16__);
|
|
114200
114251
|
/* harmony import */ var _editor_dom_NodePosition__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("ca11");
|
|
114201
114252
|
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("8d1d");
|
|
114253
|
+
/* harmony import */ var _editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("49d1");
|
|
114254
|
+
|
|
114202
114255
|
|
|
114203
114256
|
|
|
114204
114257
|
|
|
@@ -114679,8 +114732,13 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
114679
114732
|
var dPrevTable = null;
|
|
114680
114733
|
var startChildIndex = 0;
|
|
114681
114734
|
var dHeadHeight = dTable.getHeadHeight();
|
|
114735
|
+
var dPageTable = dTable.getDrawTableByParentArea(this);
|
|
114736
|
+
|
|
114737
|
+
if (dHeadHeight + _editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_19__[/* gDefaultRowHeight */ "d"] > dRestHeight) {
|
|
114738
|
+
if (dPageTable) {
|
|
114739
|
+
dPageTable.parent.removeChild(dPageTable);
|
|
114740
|
+
}
|
|
114682
114741
|
|
|
114683
|
-
if (dHeadHeight + hoEditorFactory.defaultLineHeight > dRestHeight) {
|
|
114684
114742
|
break;
|
|
114685
114743
|
}
|
|
114686
114744
|
|
|
@@ -114692,8 +114750,6 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
114692
114750
|
}
|
|
114693
114751
|
}
|
|
114694
114752
|
|
|
114695
|
-
var dPageTable = dTable.getDrawTableByParentArea(this);
|
|
114696
|
-
|
|
114697
114753
|
if (!dPageTable && dTable.drawPageTables.length > 0 && !dPrevTable) {
|
|
114698
114754
|
dPageTable = dTable.drawPageTables[0];
|
|
114699
114755
|
dTable.needUpdate = true;
|
|
@@ -114708,9 +114764,9 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
114708
114764
|
if (dPageTable) {
|
|
114709
114765
|
if (dTable.needUpdate || dPageTable.dHeight > dRestHeight || dTable.drawPageTables.indexOf(dPageTable) < dTable.drawPageTables.length - 1 && restHeight > dPageTable.dHeight + hoEditorFactory.defaultLineHeight) {
|
|
114710
114766
|
var newTop = dTable.drawUpdate(this, dPrevTable, dTop, dRestHeight);
|
|
114711
|
-
dTop = newTop
|
|
114767
|
+
dTop = newTop;
|
|
114712
114768
|
} else {
|
|
114713
|
-
dTop = dTop + dPageTable.dHeight
|
|
114769
|
+
dTop = dTop + dPageTable.dHeight;
|
|
114714
114770
|
}
|
|
114715
114771
|
|
|
114716
114772
|
this._lastDrawLine = dPageTable;
|
|
@@ -114729,7 +114785,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
114729
114785
|
dPageTable = dTable.paintTable(this, dTop, dRestHeight, _startChildIndex);
|
|
114730
114786
|
|
|
114731
114787
|
if (dPageTable) {
|
|
114732
|
-
dTop = dTop + dPageTable.dHeight
|
|
114788
|
+
dTop = dTop + dPageTable.dHeight;
|
|
114733
114789
|
this._lastDrawLine = dPageTable;
|
|
114734
114790
|
}
|
|
114735
114791
|
}
|
|
@@ -114743,12 +114799,13 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
114743
114799
|
break;
|
|
114744
114800
|
}
|
|
114745
114801
|
|
|
114802
|
+
dTop += dTable.paragraphNode.combineParagraph.lineSpace;
|
|
114746
114803
|
if (this.allowAcrossPage) dRestHeight = this._maxHeight - dTop;
|
|
114747
114804
|
this._docHeight = dTop;
|
|
114748
114805
|
this._usedHeight = dTop; // const index = this.dTable.update(this, dTop, dRestHeight);
|
|
114749
114806
|
// if (dTable.drawPageTables.length > 0) {
|
|
114750
114807
|
// }
|
|
114751
|
-
|
|
114808
|
+
//如果当前表格未绘制完成,需要在下一页继续绘制、
|
|
114752
114809
|
|
|
114753
114810
|
nextDline += 1;
|
|
114754
114811
|
continue;
|
|
@@ -114851,7 +114908,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
114851
114908
|
if (dline instanceof _drawNode_DrawTable__WEBPACK_IMPORTED_MODULE_14__[/* DrawTable */ "a"]) {
|
|
114852
114909
|
var dTable = dline;
|
|
114853
114910
|
|
|
114854
|
-
if (dTable.getHeadHeight() +
|
|
114911
|
+
if (dTable.getHeadHeight() + _editor_dom_treeNode_TableNode__WEBPACK_IMPORTED_MODULE_19__[/* gDefaultRowHeight */ "d"] > restHeight) {
|
|
114855
114912
|
isFull = true;
|
|
114856
114913
|
this.clearOverDitem(dlines, nextDline);
|
|
114857
114914
|
return [isFull, dTop, restHeight];
|
|
@@ -114868,14 +114925,15 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
114868
114925
|
}
|
|
114869
114926
|
}
|
|
114870
114927
|
|
|
114871
|
-
dTable.paintTable(this, dTop, this.restHeight, startDTableRow);
|
|
114928
|
+
var dPageTable = dTable.paintTable(this, dTop, this.restHeight, startDTableRow);
|
|
114872
114929
|
|
|
114873
114930
|
if (dTable.isFinishedPaint()) {
|
|
114874
114931
|
nextDline += 1;
|
|
114875
114932
|
} else {
|
|
114876
114933
|
this._endDline = nextDline;
|
|
114877
114934
|
isFull = true;
|
|
114878
|
-
this._docHeight = dTop +
|
|
114935
|
+
if (dPageTable) this._docHeight = dTop + dPageTable.dHeight; // + dline.paragraphNode.combineParagraph.lineSpace;
|
|
114936
|
+
|
|
114879
114937
|
this.clearOverDitem(dlines, nextDline + 1);
|
|
114880
114938
|
break;
|
|
114881
114939
|
} // else {
|
|
@@ -119570,7 +119628,7 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
119570
119628
|
|
|
119571
119629
|
|
|
119572
119630
|
var TableInsertRowUndoUnit = /*#__PURE__*/function () {
|
|
119573
|
-
function TableInsertRowUndoUnit(hoEditorFactoryID, table, row, count) {
|
|
119631
|
+
function TableInsertRowUndoUnit(hoEditorFactoryID, table, row, copyRow, count) {
|
|
119574
119632
|
Object(D_project_master_hoeditor_web_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(this, TableInsertRowUndoUnit);
|
|
119575
119633
|
|
|
119576
119634
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
@@ -119578,6 +119636,7 @@ var TableInsertRowUndoUnit = /*#__PURE__*/function () {
|
|
|
119578
119636
|
this._row = row;
|
|
119579
119637
|
this._count = count;
|
|
119580
119638
|
this._opTime = new Date();
|
|
119639
|
+
this._copyRow = copyRow;
|
|
119581
119640
|
this._affectText = this._affectText = "起始行" + (row + 1).toString() + "行数:" + count.toString();
|
|
119582
119641
|
}
|
|
119583
119642
|
|
|
@@ -119597,7 +119656,7 @@ var TableInsertRowUndoUnit = /*#__PURE__*/function () {
|
|
|
119597
119656
|
key: "redo",
|
|
119598
119657
|
value: function redo() {
|
|
119599
119658
|
//上方插入行
|
|
119600
|
-
var copyRow = this.
|
|
119659
|
+
var copyRow = this._copyRow;
|
|
119601
119660
|
|
|
119602
119661
|
if (this._row > this._table.rowCount - 1) {
|
|
119603
119662
|
copyRow = this._table.rowCount - 1;
|
|
@@ -124982,8 +125041,9 @@ var DrawPageMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
124982
125041
|
}], [{
|
|
124983
125042
|
key: "getPageMarkText",
|
|
124984
125043
|
value: function getPageMarkText(hoEditorFactoryID, formatType, num, bOnlyBlock) {
|
|
124985
|
-
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__[/* HOEditorFactorys */ "a"].instance().getFactory(hoEditorFactoryID);
|
|
124986
|
-
|
|
125044
|
+
var hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_17__[/* HOEditorFactorys */ "a"].instance().getFactory(hoEditorFactoryID); // const pageCountLen = Math.max((hoEditorFactory.drawTree.drawPages.length + hoEditorFactory.startPageNum).toString().length, 2);
|
|
125045
|
+
|
|
125046
|
+
var pageCountLen = Math.max(hoEditorFactory.drawTree.drawPages.length.toString().length, 2); //页眉页脚中时,仅显示占位空白
|
|
124987
125047
|
|
|
124988
125048
|
if (formatType === 0) {
|
|
124989
125049
|
if (!bOnlyBlock) return num.toString();else return " ".repeat(pageCountLen);
|
|
@@ -125011,9 +125071,11 @@ var DrawPageMarkNode = /*#__PURE__*/function (_DrawCombineNode) {
|
|
|
125011
125071
|
var markNum;
|
|
125012
125072
|
|
|
125013
125073
|
if (markNode instanceof _editor_dom_treeNode_PageNumNode__WEBPACK_IMPORTED_MODULE_13__[/* PageNumNode */ "a"]) {
|
|
125014
|
-
markNum = dArea.index + 1 + hoEditorFactory.startPageNum;
|
|
125074
|
+
// markNum = dArea.index + 1 + hoEditorFactory.startPageNum;
|
|
125075
|
+
markNum = dArea.index + 1;
|
|
125015
125076
|
} else {
|
|
125016
|
-
markNum = hoEditorFactory.drawTree.drawPages.length + hoEditorFactory.startPageNum;
|
|
125077
|
+
// markNum = hoEditorFactory.drawTree.drawPages.length + hoEditorFactory.startPageNum;
|
|
125078
|
+
markNum = hoEditorFactory.drawTree.drawPages.length; // dMarkNode = new DrawPageCountNode(
|
|
125017
125079
|
// this._hoEditorFactory,
|
|
125018
125080
|
// markNode.rootPath,
|
|
125019
125081
|
// markNode as PageCountNode,
|
|
@@ -160329,6 +160391,8 @@ var NodesDeleteUndoUnit = /*#__PURE__*/function () {
|
|
|
160329
160391
|
|
|
160330
160392
|
if (_tmp3) {
|
|
160331
160393
|
this._tmp.end = hoEditorFactory.docTree.getNodeLastPath(_tmp3.theNode);
|
|
160394
|
+
} else {
|
|
160395
|
+
this._tmp.end = hoEditorFactory.docTree.getNodeLastPath(e);
|
|
160332
160396
|
}
|
|
160333
160397
|
}
|
|
160334
160398
|
|
|
@@ -169423,13 +169487,6 @@ function setCanvasModule(canvasModule) {
|
|
|
169423
169487
|
|
|
169424
169488
|
|
|
169425
169489
|
|
|
169426
|
-
/***/ }),
|
|
169427
|
-
|
|
169428
|
-
/***/ "f31a":
|
|
169429
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
169430
|
-
|
|
169431
|
-
// extracted by mini-css-extract-plugin
|
|
169432
|
-
|
|
169433
169490
|
/***/ }),
|
|
169434
169491
|
|
|
169435
169492
|
/***/ "f331":
|
|
@@ -173252,6 +173309,13 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
173252
173309
|
|
|
173253
173310
|
if (isDisPlay) {
|
|
173254
173311
|
drawNode.alpha = 1;
|
|
173312
|
+
|
|
173313
|
+
for (var i = 0; i < drawNode.children.length; i++) {
|
|
173314
|
+
if (drawNode.children[i].name === "backColor") {
|
|
173315
|
+
drawNode.children.splice(i, 1);
|
|
173316
|
+
}
|
|
173317
|
+
}
|
|
173318
|
+
|
|
173255
173319
|
var color = hoEditorFactory.option.getColorByLevel(12);
|
|
173256
173320
|
var backColor = new createjs.Shape();
|
|
173257
173321
|
backColor.graphics.clear().beginFill(color).drawRect(0, -drawNode.dHeight + 2, drawNode.dWidth, drawNode.dHeight);
|
|
@@ -173261,9 +173325,9 @@ var DownListNode = /*#__PURE__*/function (_ControlNode) {
|
|
|
173261
173325
|
if (this.text === this.labelText) {
|
|
173262
173326
|
drawNode.alpha = 0;
|
|
173263
173327
|
} else {
|
|
173264
|
-
for (var
|
|
173265
|
-
if (drawNode.children[
|
|
173266
|
-
drawNode.children.splice(
|
|
173328
|
+
for (var _i = drawNode.children.length - 1; _i >= 0; _i--) {
|
|
173329
|
+
if (drawNode.children[_i].name === "backColor") {
|
|
173330
|
+
drawNode.children.splice(_i, 1);
|
|
173267
173331
|
}
|
|
173268
173332
|
}
|
|
173269
173333
|
}
|
|
@@ -173615,14 +173679,14 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
173615
173679
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
173616
173680
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
173617
173681
|
|
|
173618
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
173619
|
-
var
|
|
173682
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=8a71f35e&
|
|
173683
|
+
var HoDocsvue_type_template_id_8a71f35e_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
|
|
173620
173684
|
? 'ho-editor-list'
|
|
173621
173685
|
: '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},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),_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.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()}
|
|
173622
173686
|
var staticRenderFns = []
|
|
173623
173687
|
|
|
173624
173688
|
|
|
173625
|
-
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=
|
|
173689
|
+
// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=template&id=8a71f35e&
|
|
173626
173690
|
|
|
173627
173691
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
173628
173692
|
var es_object_keys = __webpack_require__("b64b");
|
|
@@ -174537,7 +174601,7 @@ function isPromise(obj) {
|
|
|
174537
174601
|
return obj instanceof Promise || (obj && typeof obj.then === 'function');
|
|
174538
174602
|
}
|
|
174539
174603
|
|
|
174540
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
174604
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=1fa8b5b5&
|
|
174541
174605
|
var HoDocvue_type_template_id_1fa8b5b5_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 [(pgIndex - 1 >= _vm.currentPageIndex * _vm.paginationCount - 1 && pgIndex - 1 < (_vm.currentPageIndex + 1) * _vm.paginationCount + 1)?_c('HoPage',{directives:[{name:"show",rawName:"v-show",value:(pgIndex - 1 >= _vm.currentPageIndex * _vm.paginationCount && pgIndex - 1 < (_vm.currentPageIndex + 1) * _vm.paginationCount),expression:"pgIndex - 1 >= currentPageIndex * paginationCount && pgIndex - 1 < (currentPageIndex + 1) * paginationCount"}],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},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)}):_vm._e()]})],2):_vm._e(),(_vm.currentPageList > 1)?_c('ul',{staticClass:"draw-pagination"},_vm._l((_vm.currentPageList),function(i){return _c('li',{key:i,class:_vm.currentPageIndex === i - 1 ? 'current-pagination' : '',on:{"click":function($event){return _vm.setCurrentPagination(i - 1)}}},[_vm._v(_vm._s(i))])}),0):_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(),(_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('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)}
|
|
174542
174606
|
var HoDocvue_type_template_id_1fa8b5b5_staticRenderFns = []
|
|
174543
174607
|
|
|
@@ -174559,7 +174623,7 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
174559
174623
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
174560
174624
|
var es_string_replace = __webpack_require__("5319");
|
|
174561
174625
|
|
|
174562
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
174626
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoPage.vue?vue&type=template&id=1c05a630&scoped=true&
|
|
174563
174627
|
var HoPagevue_type_template_id_1c05a630_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,style:(_vm.style),attrs:{"width":_vm.doubleCanvasWidth,"height":_vm.doubleCanvasHeight}}),_c('canvas',{ref:"selectcanvas",staticClass:"selectcanvas",style:(_vm.style),attrs:{"width":_vm.doubleCanvasWidth,"height":_vm.doubleCanvasHeight},on:{"contextmenu":function($event){return _vm.canvasRightClick.apply(null, arguments)}}}),(_vm.isPoperText)?_c('PoperTipText',{attrs:{"poperText":_vm.poperText,"poperPos":_vm.poperPos},on:{"poperTextClose":_vm.poperTextClose}}):_vm._e(),(_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)}
|
|
174564
174628
|
var HoPagevue_type_template_id_1c05a630_scoped_true_staticRenderFns = []
|
|
174565
174629
|
|
|
@@ -175699,7 +175763,7 @@ var DrawDomLevel_DrawDomLevel = /*#__PURE__*/function () {
|
|
|
175699
175763
|
|
|
175700
175764
|
return DrawDomLevel;
|
|
175701
175765
|
}();
|
|
175702
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
175766
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoHeadFoot.vue?vue&type=template&id=5d96d796&scoped=true&
|
|
175703
175767
|
var HoHeadFootvue_type_template_id_5d96d796_scoped_true_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)])}
|
|
175704
175768
|
var HoHeadFootvue_type_template_id_5d96d796_scoped_true_staticRenderFns = []
|
|
175705
175769
|
|
|
@@ -175874,7 +175938,7 @@ var component = normalizeComponent(
|
|
|
175874
175938
|
)
|
|
175875
175939
|
|
|
175876
175940
|
/* harmony default export */ var components_HoHeadFoot = (component.exports);
|
|
175877
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
175941
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperTipText/PoperTipText.vue?vue&type=template&id=06cc5327&scoped=true&
|
|
175878
175942
|
var PoperTipTextvue_type_template_id_06cc5327_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"}],staticClass:"poper-text-modal animation-in",style:(_vm.posStyle)},[_c('div',{class:_vm.poperDirection === 'bottom' ? 'poper-arrow poper-arrow-bottom' : 'poper-arrow poper-arrow-top'}),_vm._l((_vm.poperText),function(text){return _c('div',{key:text + Math.random(0, 1),staticClass:"poper-text"},[_vm._v(" "+_vm._s(text)+" ")])})],2)}
|
|
175879
175943
|
var PoperTipTextvue_type_template_id_06cc5327_scoped_true_staticRenderFns = []
|
|
175880
175944
|
|
|
@@ -176291,7 +176355,7 @@ var HoPage_component = normalizeComponent(
|
|
|
176291
176355
|
)
|
|
176292
176356
|
|
|
176293
176357
|
/* harmony default export */ var components_HoPage = (HoPage_component.exports);
|
|
176294
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
176358
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/backToPage/HoToPage.vue?vue&type=template&id=2e02cb8f&
|
|
176295
176359
|
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:({
|
|
176296
176360
|
right: _vm.styleRight,
|
|
176297
176361
|
bottom: _vm.styleBottom,
|
|
@@ -176463,12 +176527,12 @@ var HoToPage_component = normalizeComponent(
|
|
|
176463
176527
|
// CONCATENATED MODULE: ./src/components/backToPage/index.ts
|
|
176464
176528
|
|
|
176465
176529
|
/* harmony default export */ var backToPage = (HoToPage);
|
|
176466
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
176467
|
-
var
|
|
176468
|
-
var
|
|
176530
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=03aef4bc&scoped=true&
|
|
176531
|
+
var PoperSelectvue_type_template_id_03aef4bc_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:"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)?_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"},[_c('ul',{ref:"selectPoperList",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 && 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"}})])])}),0),(_vm.selectedList.length > 0 && _vm.isAllowMultiSelect && _vm.isCanSearch)?_c('transition-group',{staticClass:"list",attrs:{"name":"drag","tag":"ul"}},[_c('li',{key:"已选择"},[_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.split("<元素>")[0]))]),_c('i',{staticClass:"el-icon-delete",on:{"click":function($event){return _vm.selectItems(item, index)}}})])]})],2):_vm._e()],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 === 'selectPoper' && _vm.currentList.length === 0)?_c('div',[_vm._m(0)]):_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()])}
|
|
176532
|
+
var PoperSelectvue_type_template_id_03aef4bc_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"list"},[_c('li',{staticStyle:{"text-align":"center"}},[_vm._v("无选项")])])}]
|
|
176469
176533
|
|
|
176470
176534
|
|
|
176471
|
-
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
176535
|
+
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=03aef4bc&scoped=true&
|
|
176472
176536
|
|
|
176473
176537
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
176474
176538
|
var es_object_assign = __webpack_require__("cca6");
|
|
@@ -176545,7 +176609,7 @@ var textParams = {
|
|
|
176545
176609
|
readType: false,
|
|
176546
176610
|
keyValue: ''
|
|
176547
176611
|
};
|
|
176548
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
176612
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/dateDialog/DatePanel.vue?vue&type=template&id=104516fd&
|
|
176549
176613
|
var DatePanelvue_type_template_id_104516fd_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:{"click":function($event){return _vm.getDate(cell, $event)}}},[_vm._v(_vm._s(cell.text))])])}),0)})],2)])])}
|
|
176550
176614
|
var DatePanelvue_type_template_id_104516fd_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("六")])])}]
|
|
176551
176615
|
|
|
@@ -176966,6 +177030,7 @@ var popper = __webpack_require__("39c3");
|
|
|
176966
177030
|
|
|
176967
177031
|
|
|
176968
177032
|
|
|
177033
|
+
|
|
176969
177034
|
|
|
176970
177035
|
|
|
176971
177036
|
var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function (_Mixins) {
|
|
@@ -176982,8 +177047,9 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
176982
177047
|
_this.textParam = Object.assign({}, textParams);
|
|
176983
177048
|
_this.isCanSearch = false;
|
|
176984
177049
|
_this.input = "";
|
|
176985
|
-
_this.currentListNameText =
|
|
177050
|
+
_this.currentListNameText = "";
|
|
176986
177051
|
_this.currentList = [];
|
|
177052
|
+
_this.selectedList = [];
|
|
176987
177053
|
_this.posStyle = {
|
|
176988
177054
|
left: "",
|
|
176989
177055
|
right: "",
|
|
@@ -176996,9 +177062,12 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
176996
177062
|
_this.time = "";
|
|
176997
177063
|
_this.dateStyle = "";
|
|
176998
177064
|
_this.timeStyle = "";
|
|
176999
|
-
_this.dateTimeStyle = "";
|
|
177065
|
+
_this.dateTimeStyle = "";
|
|
177066
|
+
_this.dragIndex = 0;
|
|
177067
|
+
_this.enterIndex = 0; // 保存打开表单时的节点路径
|
|
177000
177068
|
|
|
177001
177069
|
_this.endPath = "";
|
|
177070
|
+
_this.poppernIstance = null;
|
|
177002
177071
|
return _this;
|
|
177003
177072
|
}
|
|
177004
177073
|
|
|
@@ -177014,12 +177083,20 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
177014
177083
|
} else {
|
|
177015
177084
|
return false;
|
|
177016
177085
|
}
|
|
177086
|
+
}
|
|
177087
|
+
}, {
|
|
177088
|
+
key: "selectedListChange",
|
|
177089
|
+
value: function selectedListChange(oldValue, newValue) {
|
|
177090
|
+
if (oldValue.length === 0 && newValue.length > 0 || oldValue.length > 0 && newValue.length === 0) {
|
|
177091
|
+
this.poppernIstance && this.poppernIstance.update();
|
|
177092
|
+
}
|
|
177017
177093
|
} // 初始化
|
|
177018
177094
|
|
|
177019
177095
|
}, {
|
|
177020
177096
|
key: "created",
|
|
177021
177097
|
value: function created() {
|
|
177022
|
-
var _document$querySelect
|
|
177098
|
+
var _document$querySelect,
|
|
177099
|
+
_this2 = this;
|
|
177023
177100
|
|
|
177024
177101
|
(_document$querySelect = document.querySelector(".ho-editor-list")) === null || _document$querySelect === void 0 ? void 0 : _document$querySelect.addEventListener("scroll", this.handleClose, true);
|
|
177025
177102
|
window.addEventListener("keydown", this.arrowKeysController);
|
|
@@ -177081,22 +177158,32 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
177081
177158
|
} else {
|
|
177082
177159
|
var _this$poperSelectList;
|
|
177083
177160
|
|
|
177084
|
-
var selectedString;
|
|
177161
|
+
var selectedString = [];
|
|
177085
177162
|
|
|
177086
177163
|
if (currentPoperNode instanceof DownListNode["a" /* DownListNode */]) {
|
|
177087
177164
|
selectedString = currentPoperNode.keyValue ? currentPoperNode.keyValue.split(",") : [];
|
|
177088
177165
|
} else if (currentPoperNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
177089
177166
|
selectedString = currentPoperNode.keyValue ? currentPoperNode.keyValue.split(",") : [];
|
|
177090
|
-
}
|
|
177167
|
+
} // if(this.isAllowMultiSelect && this.poperSelectList.length >= 20 && selectedString.length > 0) {
|
|
177168
|
+
// this.selectedList.length = selectedString.length;
|
|
177169
|
+
// }
|
|
177170
|
+
|
|
177091
177171
|
|
|
177092
177172
|
(_this$poperSelectList = this.poperSelectList) === null || _this$poperSelectList === void 0 ? void 0 : _this$poperSelectList.forEach(function (v, index) {
|
|
177093
177173
|
if (!v.id) v.id = "DL" + new Date().getTime() + index;
|
|
177174
|
+
v.id = String(v.id);
|
|
177094
177175
|
v.default = false;
|
|
177095
177176
|
|
|
177096
177177
|
if (selectedString.length > 0 && selectedString.filter(function (m) {
|
|
177097
177178
|
return v.id == m;
|
|
177098
177179
|
}).length === 1) {
|
|
177099
177180
|
v.default = true;
|
|
177181
|
+
|
|
177182
|
+
if (_this2.isAllowMultiSelect && _this2.poperSelectList.length >= 20) {
|
|
177183
|
+
_this2.selectedList[selectedString.indexOf(v.id)] = v;
|
|
177184
|
+
}
|
|
177185
|
+
|
|
177186
|
+
;
|
|
177100
177187
|
}
|
|
177101
177188
|
});
|
|
177102
177189
|
this.currentListNameText = currentPoperNode.name;
|
|
@@ -177110,12 +177197,12 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
177110
177197
|
var virtualElement = {
|
|
177111
177198
|
getBoundingClientRect: Object(util["h" /* generateGetBoundingClientRect */])(this.poperPos)
|
|
177112
177199
|
};
|
|
177113
|
-
Object(popper["a" /* createPopper */])(virtualElement, this.poperSelectedModal, {
|
|
177114
|
-
placement:
|
|
177200
|
+
this.poppernIstance = Object(popper["a" /* createPopper */])(virtualElement, this.poperSelectedModal, {
|
|
177201
|
+
placement: "bottom-start",
|
|
177115
177202
|
modifiers: [{
|
|
177116
|
-
name:
|
|
177203
|
+
name: "flip",
|
|
177117
177204
|
options: {
|
|
177118
|
-
fallbackPlacements: [
|
|
177205
|
+
fallbackPlacements: ["top-start", "top", "left", "right"],
|
|
177119
177206
|
padding: 10
|
|
177120
177207
|
}
|
|
177121
177208
|
}]
|
|
@@ -177191,7 +177278,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
177191
177278
|
}, {
|
|
177192
177279
|
key: "currentDateTime",
|
|
177193
177280
|
value: function currentDateTime() {
|
|
177194
|
-
var
|
|
177281
|
+
var _this3 = this;
|
|
177195
177282
|
|
|
177196
177283
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this.hoEditorId);
|
|
177197
177284
|
var node = this.getCurrentPoperNode();
|
|
@@ -177208,7 +177295,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
177208
177295
|
};
|
|
177209
177296
|
hoEditorFactory.vueController.updateDateTime(JSON.stringify(params));
|
|
177210
177297
|
this.$nextTick(function () {
|
|
177211
|
-
return
|
|
177298
|
+
return _this3.handleClose();
|
|
177212
177299
|
});
|
|
177213
177300
|
}
|
|
177214
177301
|
}, {
|
|
@@ -177268,6 +177355,8 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
177268
177355
|
}, {
|
|
177269
177356
|
key: "selectItems",
|
|
177270
177357
|
value: function selectItems(item, index) {
|
|
177358
|
+
var _this4 = this;
|
|
177359
|
+
|
|
177271
177360
|
if (!this.isAllowMultiSelect) {
|
|
177272
177361
|
this.poperSelectList.forEach(function (v) {
|
|
177273
177362
|
v.default = false;
|
|
@@ -177278,23 +177367,51 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
177278
177367
|
this.sureSelect();
|
|
177279
177368
|
} else {
|
|
177280
177369
|
this.poperSelectList.forEach(function (v) {
|
|
177281
|
-
if (v.id
|
|
177370
|
+
if (v.id == item.id) {
|
|
177282
177371
|
v.default = !v.default;
|
|
177283
177372
|
}
|
|
177373
|
+
|
|
177374
|
+
if (v.default) {
|
|
177375
|
+
if (_this4.isCanSearch && _this4.selectedList.filter(function (m) {
|
|
177376
|
+
return m.id == v.id;
|
|
177377
|
+
}).length == 0) {
|
|
177378
|
+
_this4.selectedList.push(v);
|
|
177379
|
+
}
|
|
177380
|
+
} else {
|
|
177381
|
+
if (_this4.isCanSearch) _this4.selectedList = _this4.selectedList.filter(function (m) {
|
|
177382
|
+
return m.id != v.id;
|
|
177383
|
+
});
|
|
177384
|
+
}
|
|
177284
177385
|
});
|
|
177285
177386
|
this.currentList = Object(toConsumableArray["a" /* default */])(this.poperSelectList);
|
|
177387
|
+
if (this.isCanSearch) this.searchList(this.input);
|
|
177388
|
+
}
|
|
177389
|
+
} // 取消选中
|
|
177390
|
+
|
|
177391
|
+
}, {
|
|
177392
|
+
key: "cancelSelect",
|
|
177393
|
+
value: function cancelSelect() {
|
|
177394
|
+
this.poperSelectList.forEach(function (v) {
|
|
177395
|
+
v.default = false;
|
|
177396
|
+
});
|
|
177397
|
+
this.currentList = Object(toConsumableArray["a" /* default */])(this.poperSelectList);
|
|
177398
|
+
this.selectedList = [];
|
|
177399
|
+
|
|
177400
|
+
if (this.isAllowMultiSelect && this.isCanSearch) {
|
|
177286
177401
|
this.searchList(this.input);
|
|
177287
177402
|
}
|
|
177288
|
-
}
|
|
177403
|
+
} // 选中
|
|
177404
|
+
|
|
177289
177405
|
}, {
|
|
177290
177406
|
key: "sureSelect",
|
|
177291
177407
|
value: function sureSelect() {
|
|
177292
|
-
var
|
|
177408
|
+
var _this5 = this;
|
|
177293
177409
|
|
|
177294
177410
|
var text = "";
|
|
177295
177411
|
var keyValue = "";
|
|
177296
|
-
var currentPoperNode = this.getCurrentPoperNode();
|
|
177297
|
-
|
|
177412
|
+
var currentPoperNode = this.getCurrentPoperNode(); // const selected = this.poperSelectList.filter((v) => v.default);
|
|
177413
|
+
|
|
177414
|
+
var selected = this.isAllowMultiSelect && this.isCanSearch ? this.selectedList : this.poperSelectList.filter(function (v) {
|
|
177298
177415
|
return v.default;
|
|
177299
177416
|
});
|
|
177300
177417
|
var len = selected.length;
|
|
@@ -177361,7 +177478,7 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
177361
177478
|
currentPoperNode.text = text;
|
|
177362
177479
|
currentPoperNode.keyValue = keyValue;
|
|
177363
177480
|
Object.keys(this.textParam).map(function (v) {
|
|
177364
|
-
|
|
177481
|
+
_this5.textParam[v] = currentPoperNode[v];
|
|
177365
177482
|
});
|
|
177366
177483
|
|
|
177367
177484
|
if (this.textParam.downListProperty.allowMultiSelected) {
|
|
@@ -177373,13 +177490,40 @@ var PoperSelectvue_type_script_lang_ts_PoperSelectModal = /*#__PURE__*/function
|
|
|
177373
177490
|
|
|
177374
177491
|
this.handleClose();
|
|
177375
177492
|
}
|
|
177493
|
+
}, {
|
|
177494
|
+
key: "shuffle",
|
|
177495
|
+
value: function shuffle() {// this.selectedList = this.(this.selectedList);
|
|
177496
|
+
}
|
|
177497
|
+
}, {
|
|
177498
|
+
key: "dragstart",
|
|
177499
|
+
value: function dragstart(index) {
|
|
177500
|
+
this.dragIndex = index;
|
|
177501
|
+
}
|
|
177502
|
+
}, {
|
|
177503
|
+
key: "dragenter",
|
|
177504
|
+
value: function dragenter(e, index) {
|
|
177505
|
+
e.preventDefault(); // 避免源对象触发自身的dragenter事件
|
|
177506
|
+
|
|
177507
|
+
if (this.dragIndex !== index) {
|
|
177508
|
+
var moving = this.selectedList[this.dragIndex];
|
|
177509
|
+
this.selectedList.splice(Number(this.dragIndex), 1);
|
|
177510
|
+
this.selectedList.splice(index, 0, moving); // 排序变化后目标对象的索引变成源对象的索引
|
|
177511
|
+
|
|
177512
|
+
this.dragIndex = index;
|
|
177513
|
+
}
|
|
177514
|
+
}
|
|
177515
|
+
}, {
|
|
177516
|
+
key: "dragover",
|
|
177517
|
+
value: function dragover(e) {
|
|
177518
|
+
e.preventDefault();
|
|
177519
|
+
}
|
|
177376
177520
|
}, {
|
|
177377
177521
|
key: "handleClose",
|
|
177378
177522
|
value: function handleClose() {
|
|
177379
|
-
var
|
|
177523
|
+
var _this6 = this;
|
|
177380
177524
|
|
|
177381
177525
|
this.$nextTick(function () {
|
|
177382
|
-
return
|
|
177526
|
+
return _this6.$emit("poperClose");
|
|
177383
177527
|
});
|
|
177384
177528
|
}
|
|
177385
177529
|
}, {
|
|
@@ -177409,6 +177553,8 @@ __decorate([Ref()], PoperSelectvue_type_script_lang_ts_PoperSelectModal.prototyp
|
|
|
177409
177553
|
|
|
177410
177554
|
__decorate([Ref()], PoperSelectvue_type_script_lang_ts_PoperSelectModal.prototype, "selectPoperList", void 0);
|
|
177411
177555
|
|
|
177556
|
+
__decorate([Watch("selectedList")], PoperSelectvue_type_script_lang_ts_PoperSelectModal.prototype, "selectedListChange", null);
|
|
177557
|
+
|
|
177412
177558
|
PoperSelectvue_type_script_lang_ts_PoperSelectModal = __decorate([vue_class_component_esm({
|
|
177413
177559
|
name: "PoperSelectModal",
|
|
177414
177560
|
components: {
|
|
@@ -177418,8 +177564,8 @@ PoperSelectvue_type_script_lang_ts_PoperSelectModal = __decorate([vue_class_comp
|
|
|
177418
177564
|
/* harmony default export */ var PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_PoperSelectModal);
|
|
177419
177565
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=ts&
|
|
177420
177566
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_ts_ = (PoperSelectvue_type_script_lang_ts_);
|
|
177421
|
-
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
177422
|
-
var
|
|
177567
|
+
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=03aef4bc&lang=scss&scoped=true&
|
|
177568
|
+
var PoperSelectvue_type_style_index_0_id_03aef4bc_lang_scss_scoped_true_ = __webpack_require__("495d");
|
|
177423
177569
|
|
|
177424
177570
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue
|
|
177425
177571
|
|
|
@@ -177432,11 +177578,11 @@ var PoperSelectvue_type_style_index_0_id_4ada7674_lang_scss_scoped_true_ = __web
|
|
|
177432
177578
|
|
|
177433
177579
|
var PoperSelect_component = normalizeComponent(
|
|
177434
177580
|
poperSelect_PoperSelectvue_type_script_lang_ts_,
|
|
177435
|
-
|
|
177436
|
-
|
|
177581
|
+
PoperSelectvue_type_template_id_03aef4bc_scoped_true_render,
|
|
177582
|
+
PoperSelectvue_type_template_id_03aef4bc_scoped_true_staticRenderFns,
|
|
177437
177583
|
false,
|
|
177438
177584
|
null,
|
|
177439
|
-
"
|
|
177585
|
+
"03aef4bc",
|
|
177440
177586
|
null
|
|
177441
177587
|
|
|
177442
177588
|
)
|
|
@@ -177445,7 +177591,7 @@ var PoperSelect_component = normalizeComponent(
|
|
|
177445
177591
|
// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
177446
177592
|
|
|
177447
177593
|
/* harmony default export */ var poperSelect = (PoperSelect);
|
|
177448
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
177594
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableCellPoper.vue?vue&type=template&id=51088f79&scoped=true&
|
|
177449
177595
|
var TableCellPopervue_type_template_id_51088f79_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"}],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)}
|
|
177450
177596
|
var TableCellPopervue_type_template_id_51088f79_scoped_true_staticRenderFns = []
|
|
177451
177597
|
|
|
@@ -179327,7 +179473,7 @@ var SignNode = __webpack_require__("2bc5");
|
|
|
179327
179473
|
var ParagraphNode = __webpack_require__("1551");
|
|
179328
179474
|
|
|
179329
179475
|
// CONCATENATED MODULE: ./src/components/version.ts
|
|
179330
|
-
/* harmony default export */ var version = ('0.3.
|
|
179476
|
+
/* harmony default export */ var version = ('0.3.112');
|
|
179331
179477
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-2!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoDoc.vue?vue&type=script&lang=ts&
|
|
179332
179478
|
|
|
179333
179479
|
|
|
@@ -180017,6 +180163,10 @@ var DrawTable = __webpack_require__("7d22");
|
|
|
180017
180163
|
|
|
180018
180164
|
|
|
180019
180165
|
|
|
180166
|
+
|
|
180167
|
+
|
|
180168
|
+
|
|
180169
|
+
|
|
180020
180170
|
|
|
180021
180171
|
|
|
180022
180172
|
|
|
@@ -180205,13 +180355,21 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
180205
180355
|
} else prevDObj = prevLine;
|
|
180206
180356
|
|
|
180207
180357
|
var prevArea = this.getMainRootArea(prevDObj);
|
|
180208
|
-
|
|
180358
|
+
|
|
180359
|
+
if (prevArea === drawArea) {
|
|
180360
|
+
dTop = prevDObj.y + prevDObj.dHeight + prevDObj.paragraphNode.combineParagraph.lineSpace;
|
|
180361
|
+
|
|
180362
|
+
if (prevDObj instanceof DrawPageTable["a" /* DrawPageTable */] && prevDObj.endRow == prevDObj.table.rowCount - 1 && prevDObj.isEndRowFinished()) {
|
|
180363
|
+
dTop -= prevDObj.paragraphNode.combineParagraph.lineSpace;
|
|
180364
|
+
}
|
|
180365
|
+
} // } else {
|
|
180209
180366
|
// dTop =
|
|
180210
180367
|
// prevLine.y +
|
|
180211
180368
|
// prevLine.dHeight +
|
|
180212
180369
|
// prevLine.paragraphNode.combineParagraph.lineSpace;
|
|
180213
180370
|
// if (drawArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
|
|
180214
180371
|
// }
|
|
180372
|
+
|
|
180215
180373
|
}
|
|
180216
180374
|
}
|
|
180217
180375
|
} else {
|
|
@@ -180232,7 +180390,7 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
180232
180390
|
}
|
|
180233
180391
|
|
|
180234
180392
|
var nextLine = startLine;
|
|
180235
|
-
var
|
|
180393
|
+
var pageIsFull = new Map();
|
|
180236
180394
|
|
|
180237
180395
|
try {
|
|
180238
180396
|
this._startNeedUpdatePage = -1;
|
|
@@ -180244,6 +180402,7 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
180244
180402
|
if (dline.paragraphNode.printAsSinglePage && dline.paragraphNode.drawlines[0] === dline && dTop > 0 && drawArea instanceof DrawPageMainDoc["a" /* DrawPageMainDoc */]) {
|
|
180245
180403
|
this._startNeedUpdatePage = Math.min(drawArea.pageIndex, this._startNeedUpdatePage === -1 ? 99999 : this._startNeedUpdatePage);
|
|
180246
180404
|
this._endNeedUpdatePage = Math.max(drawArea.pageIndex, this._endNeedUpdatePage);
|
|
180405
|
+
pageIsFull.set(drawArea.index, true);
|
|
180247
180406
|
drawArea = this.getNextDrawArea(drawArea, true);
|
|
180248
180407
|
dTop = 0;
|
|
180249
180408
|
if (drawArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
|
|
@@ -180254,9 +180413,8 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
180254
180413
|
if (drawArea.contains(dline)) {
|
|
180255
180414
|
drawArea.removeChild(dline);
|
|
180256
180415
|
}
|
|
180257
|
-
}
|
|
180258
|
-
|
|
180259
|
-
bIsFull = true; // if (drawArea instanceof DrawPageCell) {
|
|
180416
|
+
} // bIsFull = true;
|
|
180417
|
+
// if (drawArea instanceof DrawPageCell) {
|
|
180260
180418
|
// // const mainArea= this.getMainRootArea(drawArea);
|
|
180261
180419
|
// // if (mainArea){
|
|
180262
180420
|
// // const nextArea= this.getNextDrawArea(mainArea);
|
|
@@ -180265,13 +180423,18 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
180265
180423
|
// // }
|
|
180266
180424
|
// }
|
|
180267
180425
|
|
|
180426
|
+
|
|
180268
180427
|
if (drawArea instanceof DrawPageMainDoc["a" /* DrawPageMainDoc */]) {
|
|
180269
180428
|
this.afterAreaFinishPaint(drawArea);
|
|
180270
180429
|
this._startNeedUpdatePage = Math.min(drawArea.pageIndex, this._startNeedUpdatePage === -1 ? 99999 : this._startNeedUpdatePage);
|
|
180271
180430
|
this._endNeedUpdatePage = Math.max(drawArea.pageIndex, this._endNeedUpdatePage);
|
|
180431
|
+
pageIsFull.set(drawArea.index, true);
|
|
180272
180432
|
drawArea = this.getNextDrawArea(drawArea);
|
|
180273
180433
|
dTop = 0;
|
|
180274
|
-
|
|
180434
|
+
|
|
180435
|
+
if (drawArea.allowAcrossPage) {
|
|
180436
|
+
restHeight = drawArea.maxHeight - dTop;
|
|
180437
|
+
}
|
|
180275
180438
|
}
|
|
180276
180439
|
}
|
|
180277
180440
|
|
|
@@ -180306,7 +180469,7 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
180306
180469
|
var dPageTable = _dobj.paintTable(drawArea, dTop, restHeight, startRow);
|
|
180307
180470
|
|
|
180308
180471
|
if (dPageTable) {
|
|
180309
|
-
dTop = dPageTable.y + dPageTable.dHeight
|
|
180472
|
+
dTop = dPageTable.y + dPageTable.dHeight;
|
|
180310
180473
|
if (drawArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;else mainArea.docHeight = dTop;
|
|
180311
180474
|
}
|
|
180312
180475
|
|
|
@@ -180319,12 +180482,18 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
180319
180482
|
|
|
180320
180483
|
drawArea = this.getNextDrawArea(drawArea);
|
|
180321
180484
|
dTop = 0;
|
|
180322
|
-
|
|
180485
|
+
|
|
180486
|
+
if (drawArea.allowAcrossPage) {
|
|
180487
|
+
restHeight = drawArea.maxHeight - dTop;
|
|
180488
|
+
pageIsFull.set(drawArea.index, true);
|
|
180489
|
+
}
|
|
180323
180490
|
} else {
|
|
180324
180491
|
break;
|
|
180325
180492
|
}
|
|
180326
180493
|
}
|
|
180327
180494
|
}
|
|
180495
|
+
|
|
180496
|
+
dTop += cbParagraph.lineSpace;
|
|
180328
180497
|
}
|
|
180329
180498
|
} else {
|
|
180330
180499
|
if (_dobj.dHeight > restHeight && dTop > 0) {
|
|
@@ -180334,9 +180503,13 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
180334
180503
|
|
|
180335
180504
|
this._startNeedUpdatePage = Math.min(drawArea.pageIndex, this._startNeedUpdatePage === -1 ? 99999 : this._startNeedUpdatePage);
|
|
180336
180505
|
this._endNeedUpdatePage = Math.max(drawArea.pageIndex, this._endNeedUpdatePage);
|
|
180506
|
+
pageIsFull.set(drawArea.index, true);
|
|
180337
180507
|
drawArea = this.getNextDrawArea(drawArea);
|
|
180338
180508
|
dTop = 0;
|
|
180339
|
-
|
|
180509
|
+
|
|
180510
|
+
if (drawArea.allowAcrossPage) {
|
|
180511
|
+
restHeight = drawArea.maxHeight - dTop;
|
|
180512
|
+
}
|
|
180340
180513
|
}
|
|
180341
180514
|
}
|
|
180342
180515
|
|
|
@@ -180401,6 +180574,12 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
180401
180574
|
var dMainRoots = redrawPostion.drawRoots;
|
|
180402
180575
|
mainIndex = redrawPostion.index;
|
|
180403
180576
|
|
|
180577
|
+
if (drawArea instanceof DrawPageMainDoc["a" /* DrawPageMainDoc */]) {
|
|
180578
|
+
mainArea = drawArea;
|
|
180579
|
+
}
|
|
180580
|
+
|
|
180581
|
+
var bIsFull = pageIsFull.get(mainArea.index);
|
|
180582
|
+
|
|
180404
180583
|
if (bIsFull) {
|
|
180405
180584
|
var index = this._drawMainDocs.indexOf(mainArea);
|
|
180406
180585
|
|
|
@@ -180460,7 +180639,7 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
180460
180639
|
|
|
180461
180640
|
if (prevLine instanceof DrawTable["a" /* DrawTable */]) {
|
|
180462
180641
|
var dPrevTable = prevLine.drawPageTables[prevLine.drawPageTables.length - 1];
|
|
180463
|
-
dTop = dPrevTable.y + dPrevTable.dHeight
|
|
180642
|
+
dTop = dPrevTable.y + dPrevTable.dHeight;
|
|
180464
180643
|
} else {
|
|
180465
180644
|
dTop = prevLine.y + prevLine.dHeight + prevLine.paragraphNode.combineParagraph.lineSpace;
|
|
180466
180645
|
}
|
|
@@ -180546,12 +180725,14 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
180546
180725
|
var dPageTable = _dobj2.paintTable(drawArea, dTop, restHeight, startRow);
|
|
180547
180726
|
|
|
180548
180727
|
if (dPageTable) {
|
|
180549
|
-
dTop = dPageTable.y + dPageTable.dHeight
|
|
180728
|
+
dTop = dPageTable.y + dPageTable.dHeight;
|
|
180550
180729
|
if (drawArea.allowAcrossPage && mainArea.allowAcrossPage) restHeight = drawArea.maxHeight - dTop;
|
|
180551
180730
|
}
|
|
180552
180731
|
|
|
180553
180732
|
bFinishedPaint = _dobj2.isFinishedPaint();
|
|
180554
180733
|
}
|
|
180734
|
+
|
|
180735
|
+
dTop += _dobj2.paragraphNode.combineParagraph.lineSpace;
|
|
180555
180736
|
}
|
|
180556
180737
|
} else {
|
|
180557
180738
|
if (_dobj2.dHeight > restHeight && dTop > 0) {
|
|
@@ -181004,13 +181185,13 @@ var DrawPageTree_DrawPageTree = /*#__PURE__*/function () {
|
|
|
181004
181185
|
value: function afterAreaFinishPaint(drawArea) {
|
|
181005
181186
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
181006
181187
|
|
|
181007
|
-
if (hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psReview || hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psEdit && !hoEditorFactory.isHideComments) {
|
|
181188
|
+
if (hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psReview || (hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psEdit || hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psReadOnly) && !hoEditorFactory.isHideComments) {
|
|
181008
181189
|
drawArea.drawComments();
|
|
181009
181190
|
}
|
|
181010
181191
|
|
|
181011
181192
|
var isDisplayComments = false;
|
|
181012
181193
|
|
|
181013
|
-
if (hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psReview || hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psEdit && !hoEditorFactory.isHideComments) {
|
|
181194
|
+
if (hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psReview || (hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psEdit || hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psReadOnly) && !hoEditorFactory.isHideComments) {
|
|
181014
181195
|
isDisplayComments = true;
|
|
181015
181196
|
}
|
|
181016
181197
|
|
|
@@ -182446,6 +182627,9 @@ var PageNumNode = __webpack_require__("d5e7");
|
|
|
182446
182627
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ControlNode.ts
|
|
182447
182628
|
var ControlNode = __webpack_require__("8841");
|
|
182448
182629
|
|
|
182630
|
+
// EXTERNAL MODULE: ./src/editor/draw/SelectRange.ts
|
|
182631
|
+
var SelectRange = __webpack_require__("49e9");
|
|
182632
|
+
|
|
182449
182633
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TableFormula.ts + 3 modules
|
|
182450
182634
|
var TableFormula = __webpack_require__("2273");
|
|
182451
182635
|
|
|
@@ -182596,6 +182780,7 @@ var LabelNode = __webpack_require__("d4b2");
|
|
|
182596
182780
|
|
|
182597
182781
|
|
|
182598
182782
|
|
|
182783
|
+
|
|
182599
182784
|
|
|
182600
182785
|
|
|
182601
182786
|
var StructureConvert_StructureConvert = /*#__PURE__*/function () {
|
|
@@ -185021,7 +185206,26 @@ var StructureConvert_StructureConvert = /*#__PURE__*/function () {
|
|
|
185021
185206
|
var range = new DomRange["a" /* DomRange */](this._hoEditorFactoryID, strFirstPath, strFirstPath);
|
|
185022
185207
|
hoEditorFactory.docTree.curDomRange = range;
|
|
185023
185208
|
var cgEvent = new SelectionChangeEvent["a" /* SelectionChangeEvent */](range, range);
|
|
185024
|
-
hoEditorFactory.docTree.selectChange(cgEvent);
|
|
185209
|
+
hoEditorFactory.docTree.selectChange(cgEvent); //加载完重新加载一下计算公式
|
|
185210
|
+
|
|
185211
|
+
var formularNodes = hoEditorFactory.drawTree.formularNodes;
|
|
185212
|
+
formularNodes.forEach(function (value, key) {
|
|
185213
|
+
if (value.formularType === TableFormula["a" /* FormularType */].ftSum || value.formularType === TableFormula["a" /* FormularType */].ftFormular || value.formularType === TableFormula["a" /* FormularType */].ftBMI || value.formularType === TableFormula["a" /* FormularType */].ftLaborProcess || value.formularType === TableFormula["a" /* FormularType */].ftExpectedBirthDate || value.formularType === TableFormula["a" /* FormularType */].ftPregnantWeeks) {
|
|
185214
|
+
value.updateResult();
|
|
185215
|
+
value.getParentCell().drawCell.needUpdate = true;
|
|
185216
|
+
var prevNode = value.previousLeaf();
|
|
185217
|
+
|
|
185218
|
+
if (!prevNode) {
|
|
185219
|
+
throw new Error('错误的绘制位置');
|
|
185220
|
+
}
|
|
185221
|
+
|
|
185222
|
+
var startPath = hoEditorFactory.docTree.getNodeLastPath(prevNode);
|
|
185223
|
+
var changeEvent = new NodeChangeEvent["a" /* NodeChangeEvent */](_this5._hoEditorFactoryID, DocTree["a" /* DocAction */].daModifyStyle, startPath, startPath);
|
|
185224
|
+
changeEvent.oldEndPath = startPath;
|
|
185225
|
+
changeEvent.oldDrawLines = new SelectRange["a" /* SelectRange */](_this5._hoEditorFactoryID).getRangeDrawLines(startPath, startPath, false);
|
|
185226
|
+
hoEditorFactory.docTree.change(changeEvent);
|
|
185227
|
+
}
|
|
185228
|
+
}); //模板加载完成后 开始加载数据集
|
|
185025
185229
|
// if (test) {
|
|
185026
185230
|
// const data =hoEditorFactory.testDataSet.getTestJsonData();
|
|
185027
185231
|
// const jsonData = JSON.parse(JSON.stringify(data));
|
|
@@ -185402,6 +185606,10 @@ var StructureNode_NodeConvert = /*#__PURE__*/function () {
|
|
|
185402
185606
|
|
|
185403
185607
|
if (_result) {
|
|
185404
185608
|
jsons.push(value.node.node2Json(value.range, true));
|
|
185609
|
+
} else {
|
|
185610
|
+
if (index === recs.length - 1) {
|
|
185611
|
+
hoEditorFactory.docTree.curDomRange.endPath = hoEditorFactory.docTree.getNodeLastPath(value.node.previousLeaf());
|
|
185612
|
+
}
|
|
185405
185613
|
}
|
|
185406
185614
|
}
|
|
185407
185615
|
} else {
|
|
@@ -186314,9 +186522,6 @@ var pretty_data = __webpack_require__("4752");
|
|
|
186314
186522
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/BaseCombineNode.ts
|
|
186315
186523
|
var BaseCombineNode = __webpack_require__("c1cd");
|
|
186316
186524
|
|
|
186317
|
-
// EXTERNAL MODULE: ./src/editor/draw/SelectRange.ts
|
|
186318
|
-
var SelectRange = __webpack_require__("49e9");
|
|
186319
|
-
|
|
186320
186525
|
// EXTERNAL MODULE: ./src/plugins/type.ts
|
|
186321
186526
|
var plugins_type = __webpack_require__("2026");
|
|
186322
186527
|
|
|
@@ -186397,6 +186602,7 @@ var MedicalExpressionNode = __webpack_require__("b790");
|
|
|
186397
186602
|
|
|
186398
186603
|
|
|
186399
186604
|
|
|
186605
|
+
|
|
186400
186606
|
|
|
186401
186607
|
|
|
186402
186608
|
var VueController_VueController = /*#__PURE__*/function () {
|
|
@@ -188006,7 +188212,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
188006
188212
|
var changingEvent = new NodeChangingEvent["a" /* NodeChangingEvent */](DocTree["a" /* DocAction */].daInsert, startPath, endPath, NodeChangingEvent["b" /* OperType */].insertDownList);
|
|
188007
188213
|
|
|
188008
188214
|
if (HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID).docTree.changing(changingEvent)) {
|
|
188009
|
-
HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID).docController.insertDownList(
|
|
188215
|
+
HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID).docController.insertDownList("add", _curDomRange, valuesObject, downListContent, HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID).docTree.curStyleIndex);
|
|
188010
188216
|
}
|
|
188011
188217
|
}
|
|
188012
188218
|
/**
|
|
@@ -188145,7 +188351,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
188145
188351
|
}
|
|
188146
188352
|
|
|
188147
188353
|
if (type === "html") {
|
|
188148
|
-
this.saveAsPDF(
|
|
188354
|
+
this.saveAsPDF("", "html"); // ret = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).structureConvert.doc2Html();
|
|
188149
188355
|
}
|
|
188150
188356
|
|
|
188151
188357
|
if (type === "json") {
|
|
@@ -188161,7 +188367,6 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
188161
188367
|
}
|
|
188162
188368
|
/**
|
|
188163
188369
|
* 文档标题
|
|
188164
|
-
* @param type 文件类型
|
|
188165
188370
|
*/
|
|
188166
188371
|
|
|
188167
188372
|
}, {
|
|
@@ -188169,6 +188374,15 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
188169
188374
|
value: function getDocTitle() {
|
|
188170
188375
|
return HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID).docTree.docProperty.title;
|
|
188171
188376
|
}
|
|
188377
|
+
/**
|
|
188378
|
+
* 文档内容
|
|
188379
|
+
*/
|
|
188380
|
+
|
|
188381
|
+
}, {
|
|
188382
|
+
key: "getDocProperty",
|
|
188383
|
+
value: function getDocProperty() {
|
|
188384
|
+
return HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID).docTree.docProperty;
|
|
188385
|
+
}
|
|
188172
188386
|
/**
|
|
188173
188387
|
*
|
|
188174
188388
|
* @param type 测试 另存为
|
|
@@ -188479,13 +188693,25 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
188479
188693
|
}
|
|
188480
188694
|
|
|
188481
188695
|
var commentWidthMm = 0;
|
|
188482
|
-
|
|
188696
|
+
|
|
188697
|
+
if (status === 4) {
|
|
188698
|
+
commentWidthMm = 50;
|
|
188699
|
+
hoEditorFactory.isHideComments = false; // 切换到审阅模式需要设置isHideComments为true
|
|
188700
|
+
}
|
|
188701
|
+
|
|
188702
|
+
;
|
|
188483
188703
|
|
|
188484
188704
|
if (commentWidthMm !== hoEditorFactory.pageProperty.commentWidthMm) {
|
|
188485
188705
|
hoEditorFactory.vueController.setPageProperty(JSON.stringify({
|
|
188486
188706
|
commentWidthMm: commentWidthMm
|
|
188487
188707
|
}));
|
|
188488
188708
|
}
|
|
188709
|
+
|
|
188710
|
+
if (status === 0 || status === 1 || status === 4) {
|
|
188711
|
+
this.tickerPaused(false);
|
|
188712
|
+
} else {
|
|
188713
|
+
this.tickerPaused(true);
|
|
188714
|
+
}
|
|
188489
188715
|
}
|
|
188490
188716
|
}, {
|
|
188491
188717
|
key: "pageProperty",
|
|
@@ -188522,13 +188748,17 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
188522
188748
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
188523
188749
|
var beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
188524
188750
|
|
|
188751
|
+
if (!hoEditorFactory.isHideComments) {
|
|
188752
|
+
this.hideComments(true);
|
|
188753
|
+
}
|
|
188754
|
+
|
|
188525
188755
|
if (printMode && printAppoint) {
|
|
188526
|
-
var appoint = printAppoint.replace(/\s*/g, "").replace(/[^\d]/g, ",").split(
|
|
188756
|
+
var appoint = printAppoint.replace(/\s*/g, "").replace(/[^\d]/g, ",").split(",");
|
|
188527
188757
|
var maxLen = hoEditorFactory.drawTree.drawPages.length;
|
|
188528
188758
|
var error = appoint.filter(function (pages) {
|
|
188529
188759
|
return pages && Number(pages) > maxLen;
|
|
188530
188760
|
});
|
|
188531
|
-
if (error.length > 0) return
|
|
188761
|
+
if (error.length > 0) return "指定页输入超出文档页范围";
|
|
188532
188762
|
}
|
|
188533
188763
|
|
|
188534
188764
|
var setStatus = new Promise(function (resolve, reject) {
|
|
@@ -188552,7 +188782,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
188552
188782
|
});
|
|
188553
188783
|
}
|
|
188554
188784
|
}).then(function (res) {
|
|
188555
|
-
if (res ===
|
|
188785
|
+
if (res === "printend") {
|
|
188556
188786
|
setTimeout(function () {
|
|
188557
188787
|
_this.setEditorStatus(beforePrintStatus);
|
|
188558
188788
|
}, 0);
|
|
@@ -188570,7 +188800,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
188570
188800
|
var _this2 = this;
|
|
188571
188801
|
|
|
188572
188802
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
188573
|
-
var fileType = type ? type :
|
|
188803
|
+
var fileType = type ? type : "pdf";
|
|
188574
188804
|
var fileName = pdfName ? pdfName : hoEditorFactory.vueController.getDocTitle() ? hoEditorFactory.vueController.getDocTitle() : "电子病历文档"; // 保存打印前文档状态 和 内容
|
|
188575
188805
|
|
|
188576
188806
|
var beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
@@ -189051,10 +189281,10 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189051
189281
|
return hoEditorFactory.docController.getRedrawObject(startPath, endPath, DocTree["a" /* DocAction */].daDelete);
|
|
189052
189282
|
}
|
|
189053
189283
|
/**
|
|
189054
|
-
|
|
189055
|
-
|
|
189056
|
-
|
|
189057
|
-
|
|
189284
|
+
* @description 修改、删除后的重绘
|
|
189285
|
+
* @param cgEvent 变更绘制事件对象 在getRedrawObject中获取
|
|
189286
|
+
* @param endModifyNode 变更后的最后一个节点
|
|
189287
|
+
*/
|
|
189058
189288
|
|
|
189059
189289
|
}, {
|
|
189060
189290
|
key: "modifyRedraw",
|
|
@@ -189063,10 +189293,10 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189063
189293
|
hoEditorFactory.docController.modifyRedraw(cgEvent, endModifyNode);
|
|
189064
189294
|
}
|
|
189065
189295
|
/**
|
|
189066
|
-
|
|
189067
|
-
|
|
189068
|
-
|
|
189069
|
-
|
|
189296
|
+
* @description 修改、删除后的重绘
|
|
189297
|
+
* @param cgEvent 变更绘制事件对象 在getRedrawObject中获取
|
|
189298
|
+
* @param endModifyNode 变更后的最后一个节点
|
|
189299
|
+
*/
|
|
189070
189300
|
|
|
189071
189301
|
}, {
|
|
189072
189302
|
key: "deleteRedraw",
|
|
@@ -189291,11 +189521,11 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189291
189521
|
var rootPath = "main";
|
|
189292
189522
|
|
|
189293
189523
|
if (area === "header") {
|
|
189294
|
-
rootPath =
|
|
189524
|
+
rootPath = "header/" + pageCount.toString();
|
|
189295
189525
|
}
|
|
189296
189526
|
|
|
189297
189527
|
if (area === "footer") {
|
|
189298
|
-
rootPath =
|
|
189528
|
+
rootPath = "footer/" + pageCount.toString();
|
|
189299
189529
|
}
|
|
189300
189530
|
|
|
189301
189531
|
var nodes = hoEditorFactory.structureNode.Parse(ClipboardType.ctJSON, jsonData, rootPath);
|
|
@@ -189308,7 +189538,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189308
189538
|
var arrNodes = new Array();
|
|
189309
189539
|
|
|
189310
189540
|
if (area === "header") {
|
|
189311
|
-
var arootPath =
|
|
189541
|
+
var arootPath = "header/" + pageCount.toString();
|
|
189312
189542
|
var dHeader = new DrawHeader["a" /* DrawHeader */](this._hoEditorFactoryID, arootPath, pageCount);
|
|
189313
189543
|
hoEditorFactory.drawPageTree.drawHeaders[pageCount] = dHeader;
|
|
189314
189544
|
hoEditorFactory.drawTree.headerDNodes[pageCount] = new Array();
|
|
@@ -189318,7 +189548,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189318
189548
|
paragraphNode.rootNodes = arrNodes;
|
|
189319
189549
|
hoEditorFactory.docTree.headerNodes[pageCount] = arrNodes;
|
|
189320
189550
|
hoEditorFactory.drawTree.initAreaFirstNode(arrNodes, hoEditorFactory.drawTree.headerDNodes[pageCount]);
|
|
189321
|
-
hoEditorFactory.docTree.curDomRange.setSamePath(arootPath +
|
|
189551
|
+
hoEditorFactory.docTree.curDomRange.setSamePath(arootPath + "/0");
|
|
189322
189552
|
|
|
189323
189553
|
if (nodes[0] instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
189324
189554
|
hoEditorFactory.docTree.headerNodes[pageCount][0].paraNo = nodes[0].paraNo;
|
|
@@ -189329,7 +189559,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189329
189559
|
hoEditorFactory.docController.parseNodeData(nodes);
|
|
189330
189560
|
} else if (area === "footer") {
|
|
189331
189561
|
//hoEditorFactory.docTree.footerNodes[pageCount] = nodes;
|
|
189332
|
-
var _arootPath =
|
|
189562
|
+
var _arootPath = "footer/" + pageCount.toString();
|
|
189333
189563
|
|
|
189334
189564
|
var dFooter = new DrawFooter["a" /* DrawFooter */](this._hoEditorFactoryID, _arootPath, pageCount);
|
|
189335
189565
|
hoEditorFactory.drawPageTree.drawFooters[pageCount] = dFooter;
|
|
@@ -189342,7 +189572,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189342
189572
|
_paragraphNode.rootNodes = arrNodes;
|
|
189343
189573
|
hoEditorFactory.docTree.footerNodes[pageCount] = arrNodes;
|
|
189344
189574
|
hoEditorFactory.drawTree.initAreaFirstNode(arrNodes, hoEditorFactory.drawTree.footerDNodes[pageCount]);
|
|
189345
|
-
hoEditorFactory.docTree.curDomRange.setSamePath(rootPath +
|
|
189575
|
+
hoEditorFactory.docTree.curDomRange.setSamePath(rootPath + "/0");
|
|
189346
189576
|
|
|
189347
189577
|
if (nodes[0] instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
189348
189578
|
hoEditorFactory.docTree.footerNodes[pageCount][0].paraNo = nodes[0].paraNo;
|
|
@@ -189394,10 +189624,10 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189394
189624
|
}
|
|
189395
189625
|
}
|
|
189396
189626
|
/**
|
|
189397
|
-
|
|
189398
|
-
|
|
189399
|
-
|
|
189400
|
-
|
|
189627
|
+
* 合并病历
|
|
189628
|
+
* @param xml 该份病历的xml
|
|
189629
|
+
* @param printAsSinglePage 是否另起一页 true:需要新建一页 依次插入xml的页眉、页脚和正文 false:直接插入xml(正文)
|
|
189630
|
+
*/
|
|
189401
189631
|
|
|
189402
189632
|
}, {
|
|
189403
189633
|
key: "mergeDocs",
|
|
@@ -189638,13 +189868,21 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189638
189868
|
}, {
|
|
189639
189869
|
key: "openXml",
|
|
189640
189870
|
value: function () {
|
|
189641
|
-
var _openXml = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(xml, callback, isDelBlockLine) {
|
|
189871
|
+
var _openXml = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(xml, callback, isDelBlockLine, isRender) {
|
|
189642
189872
|
var hoEditorFactory, _curDomRange, startPath, endPath, changingEvent;
|
|
189643
189873
|
|
|
189644
189874
|
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
189645
189875
|
while (1) {
|
|
189646
189876
|
switch (_context4.prev = _context4.next) {
|
|
189647
189877
|
case 0:
|
|
189878
|
+
if (!(isRender === false)) {
|
|
189879
|
+
_context4.next = 2;
|
|
189880
|
+
break;
|
|
189881
|
+
}
|
|
189882
|
+
|
|
189883
|
+
return _context4.abrupt("return");
|
|
189884
|
+
|
|
189885
|
+
case 2:
|
|
189648
189886
|
hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // const fPage = hoEditorFactory.drawTree.drawPages[0];
|
|
189649
189887
|
// if (fPage.drawDomLevel && !fPage.drawDomLevel.stage) {
|
|
189650
189888
|
// fPage.drawDomLevel.bindStage();
|
|
@@ -189659,25 +189897,25 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189659
189897
|
hoEditorFactory.openXmled = true;
|
|
189660
189898
|
|
|
189661
189899
|
if (!hoEditorFactory.docTree.changing(changingEvent)) {
|
|
189662
|
-
_context4.next =
|
|
189900
|
+
_context4.next = 15;
|
|
189663
189901
|
break;
|
|
189664
189902
|
}
|
|
189665
189903
|
|
|
189666
|
-
_context4.next =
|
|
189904
|
+
_context4.next = 11;
|
|
189667
189905
|
return hoEditorFactory.docController.initBlankDoc();
|
|
189668
189906
|
|
|
189669
|
-
case
|
|
189907
|
+
case 11:
|
|
189670
189908
|
hoEditorFactory.drawTree.inViewPages = [0];
|
|
189671
189909
|
|
|
189672
189910
|
if (!(xml > "")) {
|
|
189673
|
-
_context4.next =
|
|
189911
|
+
_context4.next = 15;
|
|
189674
189912
|
break;
|
|
189675
189913
|
}
|
|
189676
189914
|
|
|
189677
|
-
_context4.next =
|
|
189915
|
+
_context4.next = 15;
|
|
189678
189916
|
return hoEditorFactory.structureConvert.openXml(xml, callback, isDelBlockLine);
|
|
189679
189917
|
|
|
189680
|
-
case
|
|
189918
|
+
case 15:
|
|
189681
189919
|
case "end":
|
|
189682
189920
|
return _context4.stop();
|
|
189683
189921
|
}
|
|
@@ -189685,7 +189923,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189685
189923
|
}, _callee4, this);
|
|
189686
189924
|
}));
|
|
189687
189925
|
|
|
189688
|
-
function openXml(_x6, _x7, _x8) {
|
|
189926
|
+
function openXml(_x6, _x7, _x8, _x9) {
|
|
189689
189927
|
return _openXml.apply(this, arguments);
|
|
189690
189928
|
}
|
|
189691
189929
|
|
|
@@ -189719,12 +189957,12 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189719
189957
|
}
|
|
189720
189958
|
}
|
|
189721
189959
|
|
|
189722
|
-
return
|
|
189960
|
+
return "";
|
|
189723
189961
|
}
|
|
189724
189962
|
/**
|
|
189725
|
-
|
|
189726
|
-
|
|
189727
|
-
|
|
189963
|
+
* 获取选区内文本
|
|
189964
|
+
* @param range 选区
|
|
189965
|
+
*/
|
|
189728
189966
|
|
|
189729
189967
|
}, {
|
|
189730
189968
|
key: "getRangeText",
|
|
@@ -189747,7 +189985,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189747
189985
|
} else if (node instanceof CellNode["a" /* CellNode */]) {
|
|
189748
189986
|
nodeText = node.getCellText();
|
|
189749
189987
|
} else if (node instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
189750
|
-
nodeText =
|
|
189988
|
+
nodeText = "\n";
|
|
189751
189989
|
}
|
|
189752
189990
|
|
|
189753
189991
|
return nodeText;
|
|
@@ -189872,8 +190110,8 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189872
190110
|
}
|
|
189873
190111
|
}
|
|
189874
190112
|
/**
|
|
189875
|
-
|
|
189876
|
-
|
|
190113
|
+
* 选区普通文本转化为标签文本
|
|
190114
|
+
*/
|
|
189877
190115
|
|
|
189878
190116
|
}, {
|
|
189879
190117
|
key: "textToLabel",
|
|
@@ -189885,9 +190123,9 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189885
190123
|
hoEditorFactory.docController.textToLabel(curDomRange);
|
|
189886
190124
|
}
|
|
189887
190125
|
/**
|
|
189888
|
-
|
|
189889
|
-
|
|
189890
|
-
|
|
190126
|
+
* 标签文本转化为普通文本
|
|
190127
|
+
* @param 标签节点
|
|
190128
|
+
*/
|
|
189891
190129
|
|
|
189892
190130
|
}, {
|
|
189893
190131
|
key: "labelToText",
|
|
@@ -189958,7 +190196,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
189958
190196
|
}
|
|
189959
190197
|
} else {
|
|
189960
190198
|
//非必须是整数
|
|
189961
|
-
if (dataVerifyFormat.maxSmallBits !== 0 && node.text.split(
|
|
190199
|
+
if (dataVerifyFormat.maxSmallBits !== 0 && node.text.split(".")[1].length > dataVerifyFormat.maxSmallBits) {
|
|
189962
190200
|
errorInfo = "小数位数不能多于" + dataVerifyFormat.maxSmallBits.toString() + "位";
|
|
189963
190201
|
errorArray.push([node, errorInfo]);
|
|
189964
190202
|
}
|
|
@@ -190043,17 +190281,17 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
190043
190281
|
}
|
|
190044
190282
|
}
|
|
190045
190283
|
/**
|
|
190046
|
-
|
|
190047
|
-
|
|
190048
|
-
|
|
190049
|
-
|
|
190050
|
-
|
|
190051
|
-
|
|
190052
|
-
|
|
190053
|
-
|
|
190054
|
-
|
|
190055
|
-
|
|
190056
|
-
|
|
190284
|
+
* 更新签名
|
|
190285
|
+
* @param node 签名节点
|
|
190286
|
+
* @param type 1图片 2字符串
|
|
190287
|
+
* @param name 签名名称
|
|
190288
|
+
* @param signor 签名人
|
|
190289
|
+
* @param signTime 签名时间
|
|
190290
|
+
* @param imgSrc type=1:图片路径或者base64,type=2:字符串
|
|
190291
|
+
* @param imgWidth 图片宽
|
|
190292
|
+
* @param imgHeight 图片高
|
|
190293
|
+
* @param customProperty 自定义参数
|
|
190294
|
+
*/
|
|
190057
190295
|
|
|
190058
190296
|
}, {
|
|
190059
190297
|
key: "updateSignNode",
|
|
@@ -190181,7 +190419,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
190181
190419
|
} else if (node instanceof BaseCombineNode["a" /* BaseCombineNode */]) {
|
|
190182
190420
|
loopChildNodes(node.childNodes);
|
|
190183
190421
|
} else if (node instanceof ParagraphNode["a" /* ParagraphNode */]) {
|
|
190184
|
-
docText +=
|
|
190422
|
+
docText += "\n";
|
|
190185
190423
|
}
|
|
190186
190424
|
});
|
|
190187
190425
|
};
|
|
@@ -190204,9 +190442,8 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
190204
190442
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
190205
190443
|
var curDomRange = hoEditorFactory.docTree.curDomRange.normalize();
|
|
190206
190444
|
var sPath = curDomRange.startPath;
|
|
190207
|
-
var ePath = curDomRange.endPath;
|
|
190208
|
-
|
|
190209
|
-
var userIndex = userHistoty.userCompare();
|
|
190445
|
+
var ePath = curDomRange.endPath; // const userHistoty = new UserHistory(this.hoEditorFactoryID, HistoryEditType.hetDelete)
|
|
190446
|
+
// const userIndex = userHistoty.userCompare();
|
|
190210
190447
|
|
|
190211
190448
|
var _DomRange$getSelectDo = DomRange["a" /* DomRange */].getSelectDomNodes(this._hoEditorFactoryID, sPath, ePath, true),
|
|
190212
190449
|
_DomRange$getSelectDo2 = Object(slicedToArray["a" /* default */])(_DomRange$getSelectDo, 3),
|
|
@@ -190221,7 +190458,7 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
190221
190458
|
var style = hoEditorFactory.docTree.styles[node.styleIndex];
|
|
190222
190459
|
style = style ? style : hoEditorFactory.docTree.styles[0];
|
|
190223
190460
|
|
|
190224
|
-
if (style.deleterIndex !==
|
|
190461
|
+
if (style.deleterIndex !== undefined && style.deleterIndex !== -1) {
|
|
190225
190462
|
style.deleterIndex = -1;
|
|
190226
190463
|
style.strikeout = false;
|
|
190227
190464
|
node.styleIndex = hoEditorFactory.docTree.styleCompare(style);
|
|
@@ -190263,6 +190500,115 @@ var VueController_VueController = /*#__PURE__*/function () {
|
|
|
190263
190500
|
|
|
190264
190501
|
return isModify;
|
|
190265
190502
|
}
|
|
190503
|
+
/**
|
|
190504
|
+
* 获取当前病历中的所有元素
|
|
190505
|
+
* @returns 返回元素是{id,name,text,json}的数据
|
|
190506
|
+
*/
|
|
190507
|
+
|
|
190508
|
+
}, {
|
|
190509
|
+
key: "getAllElements",
|
|
190510
|
+
value: function getAllElements() {
|
|
190511
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
190512
|
+
var ret = [];
|
|
190513
|
+
|
|
190514
|
+
var getAllNodes = function getAllNodes(nodes) {
|
|
190515
|
+
for (var i = 0; i < nodes.length; i++) {
|
|
190516
|
+
var node = nodes[i];
|
|
190517
|
+
|
|
190518
|
+
if (node instanceof TextInputFieldNode["f" /* TextInputFieldNode */] || node instanceof DownListNode["a" /* DownListNode */] || node instanceof DateTimeNode["a" /* DateTimeNode */]) {
|
|
190519
|
+
var elementObj = {
|
|
190520
|
+
id: "",
|
|
190521
|
+
name: "",
|
|
190522
|
+
text: "",
|
|
190523
|
+
json: ""
|
|
190524
|
+
};
|
|
190525
|
+
elementObj.id = node.id;
|
|
190526
|
+
elementObj.name = node.name;
|
|
190527
|
+
elementObj.text = node.text;
|
|
190528
|
+
elementObj.json = JSON.stringify(node.node2Json(undefined, true));
|
|
190529
|
+
ret.push(elementObj);
|
|
190530
|
+
}
|
|
190531
|
+
|
|
190532
|
+
if (node instanceof BaseCombineNode["a" /* BaseCombineNode */]) {
|
|
190533
|
+
getAllNodes(node.childNodes);
|
|
190534
|
+
}
|
|
190535
|
+
}
|
|
190536
|
+
};
|
|
190537
|
+
|
|
190538
|
+
var headerNodes = hoEditorFactory.docTree.headerNodes;
|
|
190539
|
+
|
|
190540
|
+
for (var h = 0; h < headerNodes.length; h++) {
|
|
190541
|
+
if (!headerNodes[h]) continue;
|
|
190542
|
+
getAllNodes(headerNodes[h]);
|
|
190543
|
+
}
|
|
190544
|
+
|
|
190545
|
+
var mainNodes = hoEditorFactory.docTree.mainNodes;
|
|
190546
|
+
getAllNodes(mainNodes);
|
|
190547
|
+
var footerNodes = hoEditorFactory.docTree.footerNodes;
|
|
190548
|
+
|
|
190549
|
+
for (var f = 0; f < footerNodes.length; f++) {
|
|
190550
|
+
if (!footerNodes[f]) continue;
|
|
190551
|
+
getAllNodes(footerNodes[f]);
|
|
190552
|
+
}
|
|
190553
|
+
|
|
190554
|
+
return ret;
|
|
190555
|
+
}
|
|
190556
|
+
/**
|
|
190557
|
+
* 根据元素id更新元素
|
|
190558
|
+
*/
|
|
190559
|
+
|
|
190560
|
+
}, {
|
|
190561
|
+
key: "updateElementById",
|
|
190562
|
+
value: function updateElementById(id, eleJson) {
|
|
190563
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
190564
|
+
var node = this.getNodeByID("all", id);
|
|
190565
|
+
|
|
190566
|
+
if (node) {
|
|
190567
|
+
if (node instanceof TextInputFieldNode["f" /* TextInputFieldNode */] || node instanceof DateTimeNode["a" /* DateTimeNode */] || node instanceof DownListNode["a" /* DownListNode */]) {
|
|
190568
|
+
if (node instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
190569
|
+
TextInputFieldNode["f" /* TextInputFieldNode */].json2Node(this._hoEditorFactoryID, eleJson, node.rootNodes, node.parentNode);
|
|
190570
|
+
}
|
|
190571
|
+
|
|
190572
|
+
if (node instanceof DateTimeNode["a" /* DateTimeNode */]) {
|
|
190573
|
+
DateTimeNode["a" /* DateTimeNode */].json2Node(this._hoEditorFactoryID, eleJson, node.rootNodes, node.parentNode);
|
|
190574
|
+
}
|
|
190575
|
+
|
|
190576
|
+
if (node instanceof DownListNode["a" /* DownListNode */]) {
|
|
190577
|
+
DownListNode["a" /* DownListNode */].json2Node(this._hoEditorFactoryID, eleJson, node.rootNodes, node.parentNode);
|
|
190578
|
+
}
|
|
190579
|
+
|
|
190580
|
+
var sPath = hoEditorFactory.docTree.getNodeLastPath(node.previousLeaf());
|
|
190581
|
+
var ePath = hoEditorFactory.docTree.getNodeLastPath(node);
|
|
190582
|
+
var hChangeEvent = new NodeChangeEvent["a" /* NodeChangeEvent */](this._hoEditorFactoryID, DocTree["a" /* DocAction */].daInsert, sPath, ePath);
|
|
190583
|
+
hChangeEvent.repaintImmediate = true;
|
|
190584
|
+
hoEditorFactory.docTree.change(hChangeEvent);
|
|
190585
|
+
} else {
|
|
190586
|
+
lib_message_box_default.a.alert("根据元素id:" + id + "定位到的元素非可回填元素");
|
|
190587
|
+
|
|
190588
|
+
return;
|
|
190589
|
+
}
|
|
190590
|
+
} else {
|
|
190591
|
+
lib_message_box_default.a.alert("根据元素id:" + id + "未找到对应的元素");
|
|
190592
|
+
|
|
190593
|
+
return;
|
|
190594
|
+
}
|
|
190595
|
+
}
|
|
190596
|
+
}, {
|
|
190597
|
+
key: "tickerPaused",
|
|
190598
|
+
value: function tickerPaused(paused) {
|
|
190599
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
190600
|
+
createjs.Ticker.paused = paused;
|
|
190601
|
+
|
|
190602
|
+
if (paused) {
|
|
190603
|
+
createjs.Ticker.addEventListener("tick", function (e) {
|
|
190604
|
+
return hoEditorFactory.drawTree.onTick(e);
|
|
190605
|
+
});
|
|
190606
|
+
} else {
|
|
190607
|
+
createjs.Ticker.removeEventListener("tick", function (e) {
|
|
190608
|
+
return hoEditorFactory.drawTree.onTick(e);
|
|
190609
|
+
});
|
|
190610
|
+
}
|
|
190611
|
+
}
|
|
190266
190612
|
}]);
|
|
190267
190613
|
|
|
190268
190614
|
return VueController;
|
|
@@ -190469,7 +190815,7 @@ var BaseController_BaseController = /*#__PURE__*/function () {
|
|
|
190469
190815
|
/*
|
|
190470
190816
|
* @Author: your name
|
|
190471
190817
|
* @Date: 2021-07-31 09:22:55
|
|
190472
|
-
* @LastEditTime: 2021-11-11
|
|
190818
|
+
* @LastEditTime: 2021-11-17 11:40:25
|
|
190473
190819
|
* @LastEditors: Please set LastEditors
|
|
190474
190820
|
* @Description: In User Settings Edit
|
|
190475
190821
|
* @FilePath: \hoeditor-web\src\editor\externalCall\DomController.ts
|
|
@@ -190725,22 +191071,28 @@ var DomController_DomController = /*#__PURE__*/function () {
|
|
|
190725
191071
|
/**
|
|
190726
191072
|
* 读取xml
|
|
190727
191073
|
* @param xml
|
|
191074
|
+
* @param isRender是否渲染
|
|
190728
191075
|
*/
|
|
190729
191076
|
|
|
190730
191077
|
}, {
|
|
190731
191078
|
key: "openXml",
|
|
190732
191079
|
value: function () {
|
|
190733
|
-
var _openXml = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(xml) {
|
|
191080
|
+
var _openXml = Object(asyncToGenerator["a" /* default */])( /*#__PURE__*/regeneratorRuntime.mark(function _callee(xml, isRender) {
|
|
190734
191081
|
var hoEditorFactory;
|
|
190735
191082
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
190736
191083
|
while (1) {
|
|
190737
191084
|
switch (_context.prev = _context.next) {
|
|
190738
191085
|
case 0:
|
|
191086
|
+
if (!(isRender === undefined || isRender === true)) {
|
|
191087
|
+
_context.next = 4;
|
|
191088
|
+
break;
|
|
191089
|
+
}
|
|
191090
|
+
|
|
190739
191091
|
hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
190740
|
-
_context.next =
|
|
190741
|
-
return hoEditorFactory.vueController.openXml(xml);
|
|
191092
|
+
_context.next = 4;
|
|
191093
|
+
return hoEditorFactory.vueController.openXml(xml, undefined, undefined, isRender);
|
|
190742
191094
|
|
|
190743
|
-
case
|
|
191095
|
+
case 4:
|
|
190744
191096
|
case "end":
|
|
190745
191097
|
return _context.stop();
|
|
190746
191098
|
}
|
|
@@ -190748,7 +191100,7 @@ var DomController_DomController = /*#__PURE__*/function () {
|
|
|
190748
191100
|
}, _callee, this);
|
|
190749
191101
|
}));
|
|
190750
191102
|
|
|
190751
|
-
function openXml(_x) {
|
|
191103
|
+
function openXml(_x, _x2) {
|
|
190752
191104
|
return _openXml.apply(this, arguments);
|
|
190753
191105
|
}
|
|
190754
191106
|
|
|
@@ -190786,7 +191138,7 @@ var DomController_DomController = /*#__PURE__*/function () {
|
|
|
190786
191138
|
}, _callee2, this);
|
|
190787
191139
|
}));
|
|
190788
191140
|
|
|
190789
|
-
function mergeDocs(
|
|
191141
|
+
function mergeDocs(_x3, _x4) {
|
|
190790
191142
|
return _mergeDocs.apply(this, arguments);
|
|
190791
191143
|
}
|
|
190792
191144
|
|
|
@@ -190843,7 +191195,7 @@ var DomController_DomController = /*#__PURE__*/function () {
|
|
|
190843
191195
|
}, _callee3, this);
|
|
190844
191196
|
}));
|
|
190845
191197
|
|
|
190846
|
-
function loadFileList(
|
|
191198
|
+
function loadFileList(_x5) {
|
|
190847
191199
|
return _loadFileList.apply(this, arguments);
|
|
190848
191200
|
}
|
|
190849
191201
|
|
|
@@ -191282,7 +191634,7 @@ var EditController_EditController = /*#__PURE__*/function () {
|
|
|
191282
191634
|
/*
|
|
191283
191635
|
* @Author: your name
|
|
191284
191636
|
* @Date: 2021-07-31 09:27:53
|
|
191285
|
-
* @LastEditTime: 2021-
|
|
191637
|
+
* @LastEditTime: 2021-11-17 11:14:27
|
|
191286
191638
|
* @LastEditors: Please set LastEditors
|
|
191287
191639
|
* @Description: In User Settings Edit
|
|
191288
191640
|
* @FilePath: \hoeditor-web\src\editor\externalCall\ElementController.ts
|
|
@@ -191543,6 +191895,27 @@ var ElementController_ElementController = /*#__PURE__*/function () {
|
|
|
191543
191895
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
191544
191896
|
hoEditorFactory.vueController.editRadioCheckBoxText(node, appendText);
|
|
191545
191897
|
}
|
|
191898
|
+
/**
|
|
191899
|
+
* 获取当前病历中的所有元素
|
|
191900
|
+
* @returns 返回元素是{id,name,text,json}的数据
|
|
191901
|
+
*/
|
|
191902
|
+
|
|
191903
|
+
}, {
|
|
191904
|
+
key: "getAllElements",
|
|
191905
|
+
value: function getAllElements() {
|
|
191906
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
191907
|
+
hoEditorFactory.vueController.getAllElements();
|
|
191908
|
+
}
|
|
191909
|
+
/**
|
|
191910
|
+
* 根据元素id更新元素
|
|
191911
|
+
*/
|
|
191912
|
+
|
|
191913
|
+
}, {
|
|
191914
|
+
key: "updateElementById",
|
|
191915
|
+
value: function updateElementById(id, eleJson) {
|
|
191916
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
191917
|
+
hoEditorFactory.vueController.updateElementById(id, eleJson);
|
|
191918
|
+
}
|
|
191546
191919
|
}]);
|
|
191547
191920
|
|
|
191548
191921
|
return ElementController;
|
|
@@ -192182,8 +192555,10 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192182
192555
|
this._mergeImage = {
|
|
192183
192556
|
width: 0,
|
|
192184
192557
|
height: 0,
|
|
192185
|
-
src:
|
|
192558
|
+
src: ""
|
|
192186
192559
|
};
|
|
192560
|
+
this._viewXmlList = [];
|
|
192561
|
+
this._xmlIndex = 0;
|
|
192187
192562
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
192188
192563
|
}
|
|
192189
192564
|
/**
|
|
@@ -192261,6 +192636,10 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192261
192636
|
beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
192262
192637
|
xml = hoEditorFactory.vueController.getDocXml(); // 提前设置打印预览状态 合并后减少一次重绘时间
|
|
192263
192638
|
|
|
192639
|
+
if (!hoEditorFactory.isHideComments) {
|
|
192640
|
+
hoEditorFactory.vueController.hideComments(true);
|
|
192641
|
+
}
|
|
192642
|
+
|
|
192264
192643
|
hoEditorFactory.printStatus.printMode = 0;
|
|
192265
192644
|
hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
|
|
192266
192645
|
hPromise = Promise.resolve();
|
|
@@ -192317,7 +192696,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192317
192696
|
PrintStatus["a" /* Print */].printToPDF(_this._hoEditorFactoryID, undefined, undefined, resolve, positionY);
|
|
192318
192697
|
});
|
|
192319
192698
|
});
|
|
192320
|
-
_context2.next =
|
|
192699
|
+
_context2.next = 16;
|
|
192321
192700
|
return hPromise.then(function (resolve) {
|
|
192322
192701
|
return new Promise(function (resolve) {
|
|
192323
192702
|
var last = hoEditorFactory.printStatus.printRecord.last();
|
|
@@ -192352,11 +192731,11 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192352
192731
|
});
|
|
192353
192732
|
});
|
|
192354
192733
|
|
|
192355
|
-
case
|
|
192734
|
+
case 16:
|
|
192356
192735
|
lastPrintPosition = _context2.sent;
|
|
192357
192736
|
|
|
192358
192737
|
if (!lastPrintPosition) {
|
|
192359
|
-
_context2.next =
|
|
192738
|
+
_context2.next = 19;
|
|
192360
192739
|
break;
|
|
192361
192740
|
}
|
|
192362
192741
|
|
|
@@ -192366,10 +192745,10 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192366
192745
|
positionY: lastPrintPosition[2]
|
|
192367
192746
|
});
|
|
192368
192747
|
|
|
192369
|
-
case
|
|
192748
|
+
case 19:
|
|
192370
192749
|
return _context2.abrupt("return", null);
|
|
192371
192750
|
|
|
192372
|
-
case
|
|
192751
|
+
case 20:
|
|
192373
192752
|
case "end":
|
|
192374
192753
|
return _context2.stop();
|
|
192375
192754
|
}
|
|
@@ -192401,8 +192780,8 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192401
192780
|
case 0:
|
|
192402
192781
|
loadingInstance = lib_loading_default.a.service({
|
|
192403
192782
|
target: "ho-docs",
|
|
192404
|
-
spinner:
|
|
192405
|
-
background:
|
|
192783
|
+
spinner: "el-icon-loading",
|
|
192784
|
+
background: "rgba(246, 246, 246, 1)",
|
|
192406
192785
|
text: "准备打印文件中"
|
|
192407
192786
|
});
|
|
192408
192787
|
hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // 保存打印前文档状态 和 内容
|
|
@@ -192418,7 +192797,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192418
192797
|
printIframe = Object(util["b" /* createPrintHTMLIframe */])(style);
|
|
192419
192798
|
|
|
192420
192799
|
callback = function callback(params) {
|
|
192421
|
-
loadingInstance.text =
|
|
192800
|
+
loadingInstance.text = "正在加载文件:" + params.text;
|
|
192422
192801
|
};
|
|
192423
192802
|
|
|
192424
192803
|
xmlList.forEach(function (file, fileIndex) {
|
|
@@ -192496,6 +192875,11 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192496
192875
|
hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
192497
192876
|
beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
192498
192877
|
xml = hoEditorFactory.vueController.getDocXml();
|
|
192878
|
+
|
|
192879
|
+
if (!hoEditorFactory.isHideComments) {
|
|
192880
|
+
hoEditorFactory.vueController.hideComments(true);
|
|
192881
|
+
}
|
|
192882
|
+
|
|
192499
192883
|
hoEditorFactory.printStatus.printMode = 0;
|
|
192500
192884
|
hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
|
|
192501
192885
|
orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
@@ -192504,14 +192888,14 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192504
192888
|
xmlIndex = -1;
|
|
192505
192889
|
loadingInstance = lib_loading_default.a.service({
|
|
192506
192890
|
target: "ho-docs",
|
|
192507
|
-
spinner:
|
|
192508
|
-
background:
|
|
192891
|
+
spinner: "el-icon-loading",
|
|
192892
|
+
background: "rgba(246, 246, 246, 1)",
|
|
192509
192893
|
text: "准备打印中"
|
|
192510
192894
|
});
|
|
192511
192895
|
|
|
192512
192896
|
callback = function callback(params) {
|
|
192513
192897
|
params && void 0;
|
|
192514
|
-
loadingInstance.text =
|
|
192898
|
+
loadingInstance.text = "正在加载病历文件:" + params.text;
|
|
192515
192899
|
};
|
|
192516
192900
|
|
|
192517
192901
|
toPrint = function toPrint() {
|
|
@@ -192546,7 +192930,7 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192546
192930
|
|
|
192547
192931
|
createSvg();
|
|
192548
192932
|
|
|
192549
|
-
case
|
|
192933
|
+
case 15:
|
|
192550
192934
|
case "end":
|
|
192551
192935
|
return _context5.stop();
|
|
192552
192936
|
}
|
|
@@ -192574,32 +192958,30 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192574
192958
|
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
192575
192959
|
hoEditorFactory.printStatus.printMode = 0;
|
|
192576
192960
|
hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
|
|
192577
|
-
var beforePrintStatus = hoEditorFactory.drawTree.paintStatus;
|
|
192578
|
-
hoEditorFactory.printStatus.printMode = 0;
|
|
192579
|
-
hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psPreview;
|
|
192580
192961
|
|
|
192581
192962
|
if (!hoEditorFactory.continuousView.status) {
|
|
192582
192963
|
hoEditorFactory.continuousView.status = true;
|
|
192583
192964
|
hoEditorFactory.continuousView.currentList = [];
|
|
192965
|
+
this._viewXmlList = Object(toConsumableArray["a" /* default */])(xmlList);
|
|
192966
|
+
this._xmlIndex = 0;
|
|
192967
|
+
} else {
|
|
192968
|
+
this._viewXmlList = [].concat(Object(toConsumableArray["a" /* default */])(this._viewXmlList), Object(toConsumableArray["a" /* default */])(xmlList));
|
|
192584
192969
|
}
|
|
192585
192970
|
|
|
192586
|
-
var xmlIndex = 0;
|
|
192587
192971
|
var viewElementContent;
|
|
192588
192972
|
|
|
192589
192973
|
var toPrint = function toPrint() {
|
|
192590
|
-
viewElementContent = document.createElement(
|
|
192974
|
+
viewElementContent = document.createElement("div");
|
|
192591
192975
|
PrintStatus["a" /* Print */].printToHtml(_this4._hoEditorFactoryID, createSvg, viewElementContent);
|
|
192592
192976
|
};
|
|
192593
192977
|
|
|
192594
192978
|
var createSvg = function createSvg() {
|
|
192595
|
-
|
|
192596
|
-
|
|
192597
|
-
if (xmlIndex > 0 && viewElementContent) {
|
|
192979
|
+
if (_this4._xmlIndex > 0 && viewElementContent) {
|
|
192598
192980
|
var orientation = hoEditorFactory.pageProperty.widthMm > hoEditorFactory.pageProperty.heightMm ? "l" : "p";
|
|
192599
192981
|
viewElementContent.dataset.size = hoEditorFactory.pageProperty.pageSize;
|
|
192600
192982
|
viewElementContent.dataset.orientation = orientation;
|
|
192601
192983
|
|
|
192602
|
-
if (
|
|
192984
|
+
if (_this4._xmlIndex < 3) {
|
|
192603
192985
|
hoEditorFactory.continuousView.currentList.push(viewElementContent);
|
|
192604
192986
|
hoEditorFactory.continuousView.allList.push(viewElementContent);
|
|
192605
192987
|
} else {
|
|
@@ -192607,9 +192989,9 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192607
192989
|
}
|
|
192608
192990
|
}
|
|
192609
192991
|
|
|
192610
|
-
if (
|
|
192611
|
-
if (
|
|
192612
|
-
Promise.all([hoEditorFactory.vueController.openXml(
|
|
192992
|
+
if (_this4._xmlIndex <= _this4._viewXmlList.length - 1) {
|
|
192993
|
+
if (_this4._viewXmlList[_this4._xmlIndex]) {
|
|
192994
|
+
Promise.all([hoEditorFactory.vueController.openXml(_this4._viewXmlList[_this4._xmlIndex])]).then(function () {
|
|
192613
192995
|
if (hoEditorFactory.loadImageCount === 0) {
|
|
192614
192996
|
toPrint();
|
|
192615
192997
|
hoEditorFactory.loadImageCallback = null;
|
|
@@ -192617,11 +192999,8 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192617
192999
|
hoEditorFactory.loadImageCallback = toPrint;
|
|
192618
193000
|
}
|
|
192619
193001
|
});
|
|
192620
|
-
|
|
192621
|
-
createSvg();
|
|
193002
|
+
_this4._xmlIndex++;
|
|
192622
193003
|
}
|
|
192623
|
-
} else {
|
|
192624
|
-
hoEditorFactory.drawTree.paintStatus = beforePrintStatus;
|
|
192625
193004
|
}
|
|
192626
193005
|
};
|
|
192627
193006
|
|
|
@@ -192629,75 +193008,67 @@ var PrintController_PrintController = /*#__PURE__*/function () {
|
|
|
192629
193008
|
}
|
|
192630
193009
|
/**
|
|
192631
193010
|
* 合并预览病历
|
|
192632
|
-
* @param xmlList ['xml内容',
|
|
193011
|
+
* @param xmlList `xmlList: [{ xml: 'xml内容', isMerge: false }], // isMerge: false合并到上一页中 / isMerge: true新起一页`
|
|
193012
|
+
* @param mergeEnd `病历数组全部传入后,等待加载完成后清空 this._viewXmlList`
|
|
192633
193013
|
*/
|
|
192634
193014
|
|
|
192635
193015
|
}, {
|
|
192636
193016
|
key: "mergeViewAll",
|
|
192637
|
-
value: function mergeViewAll(xmlList) {
|
|
193017
|
+
value: function mergeViewAll(xmlList, mergeEnd) {
|
|
192638
193018
|
var _this5 = this;
|
|
192639
193019
|
|
|
192640
|
-
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID);
|
|
192641
|
-
|
|
193020
|
+
var hoEditorFactory = HOEditorFactorys["a" /* HOEditorFactorys */].instance().getFactory(this._hoEditorFactoryID); // 提前设置打印预览状态 合并后减少一次重绘时间
|
|
193021
|
+
|
|
193022
|
+
if (!hoEditorFactory.isHideComments) {
|
|
193023
|
+
hoEditorFactory.vueController.hideComments(true);
|
|
193024
|
+
}
|
|
192642
193025
|
|
|
192643
193026
|
hoEditorFactory.printStatus.printMode = 0;
|
|
192644
|
-
hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].
|
|
193027
|
+
hoEditorFactory.drawTree.paintStatus = DrawTree["b" /* PaintState */].psReadOnly;
|
|
192645
193028
|
|
|
192646
193029
|
if (!hoEditorFactory.continuousView.status) {
|
|
192647
193030
|
hoEditorFactory.continuousView.status = true;
|
|
192648
|
-
|
|
193031
|
+
this._viewXmlList = Object(toConsumableArray["a" /* default */])(xmlList);
|
|
193032
|
+
this._xmlIndex = -1;
|
|
193033
|
+
} else {
|
|
193034
|
+
this._viewXmlList = [].concat(Object(toConsumableArray["a" /* default */])(this._viewXmlList), Object(toConsumableArray["a" /* default */])(xmlList));
|
|
192649
193035
|
}
|
|
192650
193036
|
|
|
192651
|
-
var
|
|
192652
|
-
|
|
193037
|
+
var createSvg = function createSvg() {
|
|
193038
|
+
_this5._xmlIndex++;
|
|
192653
193039
|
|
|
192654
|
-
|
|
192655
|
-
|
|
192656
|
-
// 合并打印时获取上一份病历结尾位置 设置当前病历的起始位置
|
|
192657
|
-
var dPage = hoEditorFactory.drawTree.drawPages[hoEditorFactory.drawTree.drawPages.length - 1];
|
|
192658
|
-
var docHeight = dPage.drawMainDoc.dHeight;
|
|
192659
|
-
var bottomDlineHeight = dPage.drawMainDoc.bottomDline.dHeight + dPage.drawMainDoc.bottomDline.y;
|
|
193040
|
+
if (_this5._xmlIndex <= _this5._viewXmlList.length - 1) {
|
|
193041
|
+
var current = typeof _this5._viewXmlList[_this5._xmlIndex] != 'string';
|
|
192660
193042
|
|
|
192661
|
-
|
|
192662
|
-
hoEditorFactory.firstPageStartTop = bottomDlineHeight;
|
|
192663
|
-
} else {
|
|
192664
|
-
hoEditorFactory.firstPageStartTop = 0;
|
|
192665
|
-
}
|
|
192666
|
-
}
|
|
192667
|
-
|
|
192668
|
-
createSvg();
|
|
192669
|
-
};
|
|
193043
|
+
var _xml = current ? _this5._viewXmlList[_this5._xmlIndex].xml : _this5._viewXmlList[_this5._xmlIndex];
|
|
192670
193044
|
|
|
192671
|
-
|
|
192672
|
-
viewElementContent = document.createElement('div');
|
|
192673
|
-
PrintStatus["a" /* Print */].mergePrintAll(_this5._hoEditorFactoryID, setNextFirstPageTop, viewElementContent);
|
|
192674
|
-
};
|
|
193045
|
+
var isMerge = current ? _this5._viewXmlList[_this5._xmlIndex].isMerge : false;
|
|
192675
193046
|
|
|
192676
|
-
|
|
192677
|
-
|
|
192678
|
-
|
|
192679
|
-
|
|
192680
|
-
|
|
192681
|
-
|
|
192682
|
-
|
|
192683
|
-
|
|
192684
|
-
|
|
193047
|
+
if (_this5._xmlIndex === 0) {
|
|
193048
|
+
Promise.all([hoEditorFactory.vueController.openXml(_xml)]).then(function () {
|
|
193049
|
+
if (hoEditorFactory.loadImageCount != 0) {
|
|
193050
|
+
// hoEditorFactory.loadImageCallback = null;
|
|
193051
|
+
// // createSvg();
|
|
193052
|
+
// } else {
|
|
193053
|
+
hoEditorFactory.loadImageCallback = createSvg;
|
|
193054
|
+
}
|
|
193055
|
+
});
|
|
192685
193056
|
} else {
|
|
192686
|
-
hoEditorFactory.
|
|
192687
|
-
|
|
192688
|
-
|
|
192689
|
-
|
|
192690
|
-
|
|
192691
|
-
|
|
192692
|
-
Promise.all([hoEditorFactory.vueController.openXml(xmlList[xmlIndex])]).then(function () {
|
|
192693
|
-
if (hoEditorFactory.loadImageCount === 0) {
|
|
192694
|
-
toPrint();
|
|
192695
|
-
hoEditorFactory.loadImageCallback = null;
|
|
192696
|
-
} else {
|
|
192697
|
-
hoEditorFactory.loadImageCallback = toPrint;
|
|
193057
|
+
Promise.all([hoEditorFactory.vueController.mergeDocs(_xml, isMerge)]).then(function () {
|
|
193058
|
+
if (hoEditorFactory.loadImageCount != 0) {
|
|
193059
|
+
// hoEditorFactory.loadImageCallback = null;
|
|
193060
|
+
// createSvg();
|
|
193061
|
+
// } else {
|
|
193062
|
+
hoEditorFactory.loadImageCallback = createSvg;
|
|
192698
193063
|
}
|
|
192699
193064
|
});
|
|
192700
|
-
|
|
193065
|
+
}
|
|
193066
|
+
|
|
193067
|
+
if (_this5._xmlIndex === _this5._viewXmlList.length - 1) {}
|
|
193068
|
+
|
|
193069
|
+
if (mergeEnd) {
|
|
193070
|
+
_this5._xmlIndex = 0;
|
|
193071
|
+
_this5._viewXmlList = [];
|
|
192701
193072
|
}
|
|
192702
193073
|
}
|
|
192703
193074
|
};
|
|
@@ -193908,21 +194279,21 @@ var HOEditorFactory_HOEditorFactory = /*#__PURE__*/function () {
|
|
|
193908
194279
|
|
|
193909
194280
|
return HOEditorFactory;
|
|
193910
194281
|
}();
|
|
193911
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194282
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HoFooter.vue?vue&type=template&id=fad373b2&scoped=true&
|
|
193912
194283
|
var HoFootervue_type_template_id_fad373b2_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"})])}
|
|
193913
194284
|
var HoFootervue_type_template_id_fad373b2_scoped_true_staticRenderFns = []
|
|
193914
194285
|
|
|
193915
194286
|
|
|
193916
194287
|
// CONCATENATED MODULE: ./src/components/HoFooter.vue?vue&type=template&id=fad373b2&scoped=true&
|
|
193917
194288
|
|
|
193918
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194289
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/popers/Poper.vue?vue&type=template&id=0f8bfa37&
|
|
193919
194290
|
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)}
|
|
193920
194291
|
var Popervue_type_template_id_0f8bfa37_staticRenderFns = []
|
|
193921
194292
|
|
|
193922
194293
|
|
|
193923
194294
|
// CONCATENATED MODULE: ./src/components/controls/popers/Poper.vue?vue&type=template&id=0f8bfa37&
|
|
193924
194295
|
|
|
193925
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194296
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/popers/Title.vue?vue&type=template&id=3d9d462b&scoped=true&
|
|
193926
194297
|
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))])])}
|
|
193927
194298
|
var Titlevue_type_template_id_3d9d462b_scoped_true_staticRenderFns = []
|
|
193928
194299
|
|
|
@@ -194211,14 +194582,14 @@ var HoFooter_component = normalizeComponent(
|
|
|
194211
194582
|
)
|
|
194212
194583
|
|
|
194213
194584
|
/* harmony default export */ var components_HoFooter = (HoFooter_component.exports);
|
|
194214
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194585
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/ControlModal.vue?vue&type=template&id=3be7d6ee&
|
|
194215
194586
|
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)}
|
|
194216
194587
|
var ControlModalvue_type_template_id_3be7d6ee_staticRenderFns = []
|
|
194217
194588
|
|
|
194218
194589
|
|
|
194219
194590
|
// CONCATENATED MODULE: ./src/components/controls/ControlModal.vue?vue&type=template&id=3be7d6ee&
|
|
194220
194591
|
|
|
194221
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194592
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/selectDialog/SelectDialog.vue?vue&type=template&id=fb1c8b12&scoped=true&
|
|
194222
194593
|
var SelectDialogvue_type_template_id_fb1c8b12_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":"25%"}},[_c('el-checkbox',{model:{value:(_vm.isReadOnly),callback:function ($$v) {_vm.isReadOnly=$$v},expression:"isReadOnly"}},[_vm._v("内容只读")])],1),_c('div',{staticStyle:{"width":"25%"}},[_c('el-checkbox',{model:{value:(_vm.isAllowDelete),callback:function ($$v) {_vm.isAllowDelete=$$v},expression:"isAllowDelete"}},[_vm._v("允许删除")])],1),_c('div',{staticStyle:{"width":"25%"}},[_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":"25%"}},[_c('el-checkbox',{model:{value:(_vm.readType),callback:function ($$v) {_vm.readType=$$v},expression:"readType"}},[_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":"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.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)])}
|
|
194223
194594
|
var SelectDialogvue_type_template_id_fb1c8b12_scoped_true_staticRenderFns = []
|
|
194224
194595
|
|
|
@@ -194590,14 +194961,14 @@ var SelectDialog_component = normalizeComponent(
|
|
|
194590
194961
|
// CONCATENATED MODULE: ./src/components/controls/selectDialog/index.ts
|
|
194591
194962
|
|
|
194592
194963
|
/* harmony default export */ var selectDialog = (selectDialog_SelectDialog);
|
|
194593
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194964
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=03f03576&
|
|
194594
194965
|
var DateDialogvue_type_template_id_03f03576_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)])}
|
|
194595
194966
|
var DateDialogvue_type_template_id_03f03576_staticRenderFns = []
|
|
194596
194967
|
|
|
194597
194968
|
|
|
194598
194969
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/DateDialog.vue?vue&type=template&id=03f03576&
|
|
194599
194970
|
|
|
194600
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
194971
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/tab/Tab.vue?vue&type=template&id=5ccacc33&
|
|
194601
194972
|
var Tabvue_type_template_id_5ccacc33_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)])}
|
|
194602
194973
|
var Tabvue_type_template_id_5ccacc33_staticRenderFns = []
|
|
194603
194974
|
|
|
@@ -194994,7 +195365,7 @@ var DateDialog_component = normalizeComponent(
|
|
|
194994
195365
|
// CONCATENATED MODULE: ./src/components/controls/dateDialog/index.ts
|
|
194995
195366
|
|
|
194996
195367
|
/* harmony default export */ var dateDialog = (dateDialog_DateDialog);
|
|
194997
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195368
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/barCode/BarCodes.vue?vue&type=template&id=b90e0398&
|
|
194998
195369
|
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)])}
|
|
194999
195370
|
var BarCodesvue_type_template_id_b90e0398_staticRenderFns = []
|
|
195000
195371
|
|
|
@@ -195184,7 +195555,7 @@ var BarCodes_component = normalizeComponent(
|
|
|
195184
195555
|
// CONCATENATED MODULE: ./src/components/controls/barCode/index.ts
|
|
195185
195556
|
|
|
195186
195557
|
/* harmony default export */ var barCode = (BarCodes);
|
|
195187
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195558
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/qrCode/QrCode.vue?vue&type=template&id=bff70498&
|
|
195188
195559
|
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)])}
|
|
195189
195560
|
var QrCodevue_type_template_id_bff70498_staticRenderFns = []
|
|
195190
195561
|
|
|
@@ -195370,7 +195741,7 @@ var QrCode_component = normalizeComponent(
|
|
|
195370
195741
|
// CONCATENATED MODULE: ./src/components/controls/qrCode/index.ts
|
|
195371
195742
|
|
|
195372
195743
|
/* harmony default export */ var qrCode = (QrCode);
|
|
195373
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
195744
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/textDialog/TextDialog.vue?vue&type=template&id=31f831d2&
|
|
195374
195745
|
var TextDialogvue_type_template_id_31f831d2_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":"30%"}},[_c('el-checkbox',{model:{value:(_vm.textParam.downListProperty.allowMultiSelected),callback:function ($$v) {_vm.$set(_vm.textParam.downListProperty, "allowMultiSelected", $$v)},expression:"textParam.downListProperty.allowMultiSelected"}},[_vm._v("允许多选")])],1),_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.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:{"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":"43px"}},[_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)])}
|
|
195375
195746
|
var TextDialogvue_type_template_id_31f831d2_staticRenderFns = []
|
|
195376
195747
|
|
|
@@ -195662,7 +196033,7 @@ var TextDialog_component = normalizeComponent(
|
|
|
195662
196033
|
// CONCATENATED MODULE: ./src/components/controls/textDialog/index.ts
|
|
195663
196034
|
|
|
195664
196035
|
/* harmony default export */ var textDialog = (textDialog_TextDialog);
|
|
195665
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
196036
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/expressionForm/ExpressionForm.vue?vue&type=template&id=0fa85a23&scoped=true&
|
|
195666
196037
|
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)])}
|
|
195667
196038
|
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("第二乳磨牙")])])}]
|
|
195668
196039
|
|
|
@@ -196161,7 +196532,7 @@ var ExpressionForm_component = normalizeComponent(
|
|
|
196161
196532
|
// CONCATENATED MODULE: ./src/components/controls/expressionForm/index.ts
|
|
196162
196533
|
|
|
196163
196534
|
/* harmony default export */ var expressionForm = (expressionForm_ExpressionForm);
|
|
196164
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
196535
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/radioCheckBox/RadioCheckbox.vue?vue&type=template&id=6d6aeec0&
|
|
196165
196536
|
var RadioCheckboxvue_type_template_id_6d6aeec0_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.isTransToTextNode),callback:function ($$v) {_vm.$set(scope.row, "isTransToTextNode", $$v)},expression:"scope.row.isTransToTextNode"}})]}}],null,false,614432202)}),_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.isTransToTextNode),callback:function ($$v) {_vm.$set(_vm.radioCheckbox, "isTransToTextNode", $$v)},expression:"radioCheckbox.isTransToTextNode"}},[_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)])}
|
|
196166
196537
|
var RadioCheckboxvue_type_template_id_6d6aeec0_staticRenderFns = []
|
|
196167
196538
|
|
|
@@ -196394,7 +196765,7 @@ var RadioCheckbox_component = normalizeComponent(
|
|
|
196394
196765
|
// CONCATENATED MODULE: ./src/components/controls/radioCheckBox/index.ts
|
|
196395
196766
|
|
|
196396
196767
|
/* harmony default export */ var radioCheckBox = (radioCheckBox_RadioCheckbox);
|
|
196397
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
196768
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/commentDialog/CommentDialog.vue?vue&type=template&id=34f4e997&
|
|
196398
196769
|
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)])}
|
|
196399
196770
|
var CommentDialogvue_type_template_id_34f4e997_staticRenderFns = []
|
|
196400
196771
|
|
|
@@ -196490,7 +196861,7 @@ var CommentDialog_component = normalizeComponent(
|
|
|
196490
196861
|
// CONCATENATED MODULE: ./src/components/controls/commentDialog/index.ts
|
|
196491
196862
|
|
|
196492
196863
|
/* harmony default export */ var commentDialog = (commentDialog_CommentDialog);
|
|
196493
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
196864
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/watermark/WaterSet.vue?vue&type=template&id=468ee214&
|
|
196494
196865
|
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)])}
|
|
196495
196866
|
var WaterSetvue_type_template_id_468ee214_staticRenderFns = []
|
|
196496
196867
|
|
|
@@ -196606,7 +196977,7 @@ var WaterSet_component = normalizeComponent(
|
|
|
196606
196977
|
// CONCATENATED MODULE: ./src/components/controls/watermark/index.ts
|
|
196607
196978
|
|
|
196608
196979
|
|
|
196609
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
196980
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/customAttributes/CustomAttributes.vue?vue&type=template&id=caf6d86c&scoped=true&
|
|
196610
196981
|
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)])}
|
|
196611
196982
|
var CustomAttributesvue_type_template_id_caf6d86c_scoped_true_staticRenderFns = []
|
|
196612
196983
|
|
|
@@ -196759,7 +197130,7 @@ var CustomAttributes_component = normalizeComponent(
|
|
|
196759
197130
|
// CONCATENATED MODULE: ./src/components/controls/customAttributes/index.ts
|
|
196760
197131
|
|
|
196761
197132
|
/* harmony default export */ var customAttributes = (customAttributes_CustomAttributes);
|
|
196762
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197133
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/dataSource/DataSource.vue?vue&type=template&id=d0d17200&
|
|
196763
197134
|
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)])}
|
|
196764
197135
|
var DataSourcevue_type_template_id_d0d17200_staticRenderFns = []
|
|
196765
197136
|
|
|
@@ -196869,7 +197240,7 @@ var DataSource_component = normalizeComponent(
|
|
|
196869
197240
|
// CONCATENATED MODULE: ./src/components/controls/dataSource/index.ts
|
|
196870
197241
|
|
|
196871
197242
|
/* harmony default export */ var controls_dataSource = (DataSource);
|
|
196872
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197243
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/listsource/ListSource.vue?vue&type=template&id=530d6908&
|
|
196873
197244
|
var ListSourcevue_type_template_id_530d6908_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',{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)])}
|
|
196874
197245
|
var ListSourcevue_type_template_id_530d6908_staticRenderFns = []
|
|
196875
197246
|
|
|
@@ -197150,7 +197521,7 @@ var ListSource_component = normalizeComponent(
|
|
|
197150
197521
|
// CONCATENATED MODULE: ./src/components/controls/listsource/index.ts
|
|
197151
197522
|
|
|
197152
197523
|
/* harmony default export */ var listsource = (listsource_ListSource);
|
|
197153
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197524
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableProperty.vue?vue&type=template&id=7331209a&scoped=true&
|
|
197154
197525
|
var TablePropertyvue_type_template_id_7331209a_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('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)])}
|
|
197155
197526
|
var TablePropertyvue_type_template_id_7331209a_scoped_true_staticRenderFns = []
|
|
197156
197527
|
|
|
@@ -197330,7 +197701,7 @@ var TableProperty_component = normalizeComponent(
|
|
|
197330
197701
|
)
|
|
197331
197702
|
|
|
197332
197703
|
/* harmony default export */ var table_TableProperty = (TableProperty_component.exports);
|
|
197333
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197704
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableRowProperty.vue?vue&type=template&id=561d76c0&scoped=true&
|
|
197334
197705
|
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)])}
|
|
197335
197706
|
var TableRowPropertyvue_type_template_id_561d76c0_scoped_true_staticRenderFns = []
|
|
197336
197707
|
|
|
@@ -197600,7 +197971,7 @@ var TableRowProperty_component = normalizeComponent(
|
|
|
197600
197971
|
)
|
|
197601
197972
|
|
|
197602
197973
|
/* harmony default export */ var TableRowProperty = (TableRowProperty_component.exports);
|
|
197603
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
197974
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableColProperty.vue?vue&type=template&id=4ec6e040&
|
|
197604
197975
|
var TableColPropertyvue_type_template_id_4ec6e040_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)])}
|
|
197605
197976
|
var TableColPropertyvue_type_template_id_4ec6e040_staticRenderFns = []
|
|
197606
197977
|
|
|
@@ -197914,14 +198285,14 @@ var TableColProperty_component = normalizeComponent(
|
|
|
197914
198285
|
)
|
|
197915
198286
|
|
|
197916
198287
|
/* harmony default export */ var TableColProperty = (TableColProperty_component.exports);
|
|
197917
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198288
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=f044d33c&scoped=true&
|
|
197918
198289
|
var TableCellPropertyvue_type_template_id_f044d33c_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',{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('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("上")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[0]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 0, $$v)},expression:"gridLinesColor[0]"}}),_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("下")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[1]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 1, $$v)},expression:"gridLinesColor[1]"}})],1),_c('div',{staticClass:"grid-lines-color-item"},[_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("左")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[2]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 2, $$v)},expression:"gridLinesColor[2]"}}),_c('span',{staticClass:"label",staticStyle:{"width":"20px"}},[_vm._v("右")]),_c('ho-color-picker',{model:{value:(_vm.gridLinesColor[3]),callback:function ($$v) {_vm.$set(_vm.gridLinesColor, 3, $$v)},expression:"gridLinesColor[3]"}})],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)])}
|
|
197919
198290
|
var TableCellPropertyvue_type_template_id_f044d33c_scoped_true_staticRenderFns = []
|
|
197920
198291
|
|
|
197921
198292
|
|
|
197922
198293
|
// CONCATENATED MODULE: ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=f044d33c&scoped=true&
|
|
197923
198294
|
|
|
197924
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198295
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/printstyle/PrintLineStyle.vue?vue&type=template&id=3a0156b2&scoped=true&
|
|
197925
198296
|
var PrintLineStylevue_type_template_id_3a0156b2_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)}
|
|
197926
198297
|
var PrintLineStylevue_type_template_id_3a0156b2_scoped_true_staticRenderFns = []
|
|
197927
198298
|
|
|
@@ -198015,7 +198386,7 @@ var PrintLineStyle_component = normalizeComponent(
|
|
|
198015
198386
|
// CONCATENATED MODULE: ./src/components/controls/printstyle/index.ts
|
|
198016
198387
|
|
|
198017
198388
|
|
|
198018
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
198389
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/colorPicker/HoColorPicker.vue?vue&type=template&id=a4ad5878&scoped=true&
|
|
198019
198390
|
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)])])])}
|
|
198020
198391
|
var HoColorPickervue_type_template_id_a4ad5878_scoped_true_staticRenderFns = []
|
|
198021
198392
|
|
|
@@ -198630,7 +199001,7 @@ var TableCellProperty_component = normalizeComponent(
|
|
|
198630
199001
|
|
|
198631
199002
|
|
|
198632
199003
|
|
|
198633
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199004
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/pageInfoes/PageInfoes.vue?vue&type=template&id=4da72a3a&scoped=true&
|
|
198634
199005
|
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)])}
|
|
198635
199006
|
var PageInfoesvue_type_template_id_4da72a3a_scoped_true_staticRenderFns = []
|
|
198636
199007
|
|
|
@@ -198727,7 +199098,7 @@ var PageInfoes_component = normalizeComponent(
|
|
|
198727
199098
|
// CONCATENATED MODULE: ./src/components/controls/pageInfoes/index.ts
|
|
198728
199099
|
|
|
198729
199100
|
/* harmony default export */ var pageInfoes = (pageInfoes_PageInfoes);
|
|
198730
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199101
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/delimiter/Delimiter.vue?vue&type=template&id=0277f9ca&
|
|
198731
199102
|
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)])}
|
|
198732
199103
|
var Delimitervue_type_template_id_0277f9ca_staticRenderFns = []
|
|
198733
199104
|
|
|
@@ -198819,7 +199190,7 @@ var Delimiter_component = normalizeComponent(
|
|
|
198819
199190
|
// CONCATENATED MODULE: ./src/components/controls/delimiter/index.ts
|
|
198820
199191
|
|
|
198821
199192
|
/* harmony default export */ var delimiter = (delimiter_Delimiter);
|
|
198822
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199193
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/sign/Sign.vue?vue&type=template&id=f4860f7c&
|
|
198823
199194
|
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)])}
|
|
198824
199195
|
var Signvue_type_template_id_f4860f7c_staticRenderFns = []
|
|
198825
199196
|
|
|
@@ -199208,7 +199579,7 @@ var ControlModal_component = normalizeComponent(
|
|
|
199208
199579
|
)
|
|
199209
199580
|
|
|
199210
199581
|
/* harmony default export */ var controls_ControlModal = (ControlModal_component.exports);
|
|
199211
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199582
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/controls/findReplace/FindReplace.vue?vue&type=template&id=fd4f089c&
|
|
199212
199583
|
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)])}
|
|
199213
199584
|
var FindReplacevue_type_template_id_fd4f089c_staticRenderFns = []
|
|
199214
199585
|
|
|
@@ -199359,12 +199730,12 @@ var FindReplace_component = normalizeComponent(
|
|
|
199359
199730
|
// CONCATENATED MODULE: ./src/components/controls/findReplace/index.ts
|
|
199360
199731
|
|
|
199361
199732
|
/* harmony default export */ var findReplace = (FindReplace);
|
|
199362
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
199363
|
-
var
|
|
199364
|
-
var
|
|
199733
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/viewContinuousXml/ViewContinuousXml.vue?vue&type=template&id=db8cca98&
|
|
199734
|
+
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)}
|
|
199735
|
+
var ViewContinuousXmlvue_type_template_id_db8cca98_staticRenderFns = []
|
|
199365
199736
|
|
|
199366
199737
|
|
|
199367
|
-
// CONCATENATED MODULE: ./src/components/viewContinuousXml/ViewContinuousXml.vue?vue&type=template&id=
|
|
199738
|
+
// CONCATENATED MODULE: ./src/components/viewContinuousXml/ViewContinuousXml.vue?vue&type=template&id=db8cca98&
|
|
199368
199739
|
|
|
199369
199740
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-2!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/viewContinuousXml/ViewContinuousXml.vue?vue&type=script&lang=ts&
|
|
199370
199741
|
|
|
@@ -199447,8 +199818,8 @@ var ViewContinuousXmlvue_type_style_index_0_lang_scss_ = __webpack_require__("f6
|
|
|
199447
199818
|
|
|
199448
199819
|
var ViewContinuousXml_component = normalizeComponent(
|
|
199449
199820
|
viewContinuousXml_ViewContinuousXmlvue_type_script_lang_ts_,
|
|
199450
|
-
|
|
199451
|
-
|
|
199821
|
+
ViewContinuousXmlvue_type_template_id_db8cca98_render,
|
|
199822
|
+
ViewContinuousXmlvue_type_template_id_db8cca98_staticRenderFns,
|
|
199452
199823
|
false,
|
|
199453
199824
|
null,
|
|
199454
199825
|
null,
|
|
@@ -200300,6 +200671,7 @@ var font = __webpack_require__("2c6d");
|
|
|
200300
200671
|
|
|
200301
200672
|
|
|
200302
200673
|
|
|
200674
|
+
|
|
200303
200675
|
|
|
200304
200676
|
|
|
200305
200677
|
var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
@@ -200560,6 +200932,7 @@ var HoDocsvue_type_script_lang_ts_HoDocs = /*#__PURE__*/function (_Mixins) {
|
|
|
200560
200932
|
nodeInfoes.labelNode = getLabelNode; // 是否是元素类型;
|
|
200561
200933
|
|
|
200562
200934
|
nodeInfoes.isElement = false;
|
|
200935
|
+
nodeInfoes.canShowComment = hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psEdit || hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psReview || hoEditorFactory.drawTree.paintStatus === DrawTree["b" /* PaintState */].psReadOnly;
|
|
200563
200936
|
|
|
200564
200937
|
if (nodeInfoes.node instanceof TextInputFieldNode["f" /* TextInputFieldNode */] || nodeInfoes.node instanceof DateTimeNode["a" /* DateTimeNode */] || nodeInfoes.node instanceof DownListNode["a" /* DownListNode */] || nodeInfoes.node instanceof RadioAndCheckBoxNode["a" /* RadioAndCheckBoxNode */] || nodeInfoes.node instanceof MarkNode["a" /* MarkNode */] || nodeInfoes.node instanceof TextNode["a" /* TextNode */] && nodeInfoes.node.parentNode instanceof TextInputFieldNode["f" /* TextInputFieldNode */]) {
|
|
200565
200938
|
nodeInfoes.isElement = true;
|
|
@@ -200821,7 +201194,7 @@ var HoDocsvue_type_style_index_0_lang_scss_media_print_ = __webpack_require__("e
|
|
|
200821
201194
|
|
|
200822
201195
|
var HoDocs_component = normalizeComponent(
|
|
200823
201196
|
components_HoDocsvue_type_script_lang_ts_,
|
|
200824
|
-
|
|
201197
|
+
HoDocsvue_type_template_id_8a71f35e_render,
|
|
200825
201198
|
staticRenderFns,
|
|
200826
201199
|
false,
|
|
200827
201200
|
null,
|
|
@@ -200831,12 +201204,12 @@ var HoDocs_component = normalizeComponent(
|
|
|
200831
201204
|
)
|
|
200832
201205
|
|
|
200833
201206
|
/* harmony default export */ var components_HoDocs = (HoDocs_component.exports);
|
|
200834
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
200835
|
-
var
|
|
200836
|
-
var
|
|
201207
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/ToolBar.vue?vue&type=template&id=4398ea5b&
|
|
201208
|
+
var ToolBarvue_type_template_id_4398ea5b_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('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,"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.defaultReviewJson.qualityControl)?_c('li',{staticClass:"sub-bar-items sub-bar-paragraph sub-bar-print"},[_c('el-menu',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.closeToolMenusTest),expression:"closeToolMenusTest"}],ref:"controlMenus",staticStyle:{"width":"94px","height":"25px","justify-content":"left"},attrs:{"mode":"horizontal","menu-trigger":"click","popper-append-to-body":"","unique-opened":""},on:{"open":_vm.toolMenuSelectedTest}},[_c('el-submenu',{attrs:{"index":"file"}},[_c('template',{slot:"title"},[_c('span',{style:({ color: _vm.reviewLevel.color })},[_vm._v(" "+_vm._s(_vm.reviewLevel.text[_vm.reviewLevel.limit - 1])+" ")])]),_c('el-menu-item',{staticStyle:{"color":"#f19191","font-size":"14px"},attrs:{"index":"oneReview"},on:{"click":function($event){return _vm.setLogin(1, '#F19191')}}},[_vm._v("一级质控")]),_c('el-menu-item',{staticStyle:{"color":"#8198f7","font-size":"14px"},attrs:{"index":"twoReview"},on:{"click":function($event){return _vm.setLogin(2, '#8198F7')}}},[_vm._v("二级质控")]),_c('el-menu-item',{staticStyle:{"color":"#7fd27f","font-size":"14px"},attrs:{"index":"threeReview"},on:{"click":function($event){return _vm.setLogin(3, '#7FD27F')}}},[_vm._v("三级质控")])],2)],1)],1):_vm._e(),_vm._t("insertReview")],2),_vm._t("afterReview")],2)}
|
|
201209
|
+
var ToolBarvue_type_template_id_4398ea5b_staticRenderFns = []
|
|
200837
201210
|
|
|
200838
201211
|
|
|
200839
|
-
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=
|
|
201212
|
+
// CONCATENATED MODULE: ./src/components/toolbar/ToolBar.vue?vue&type=template&id=4398ea5b&
|
|
200840
201213
|
|
|
200841
201214
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url.js
|
|
200842
201215
|
var web_url = __webpack_require__("2b3d");
|
|
@@ -200844,7 +201217,7 @@ var web_url = __webpack_require__("2b3d");
|
|
|
200844
201217
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.js
|
|
200845
201218
|
var web_url_search_params = __webpack_require__("9861");
|
|
200846
201219
|
|
|
200847
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
201220
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoPrintDialog.vue?vue&type=template&id=f3e9ff84&
|
|
200848
201221
|
var HoPrintDialogvue_type_template_id_f3e9ff84_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)])}
|
|
200849
201222
|
var HoPrintDialogvue_type_template_id_f3e9ff84_staticRenderFns = []
|
|
200850
201223
|
|
|
@@ -201915,7 +202288,7 @@ ToolParagraph_ToolParagraph = __decorate([vue_class_component_esm({
|
|
|
201915
202288
|
}
|
|
201916
202289
|
})], ToolParagraph_ToolParagraph);
|
|
201917
202290
|
/* harmony default export */ var toolbar_ToolParagraph = (ToolParagraph_ToolParagraph);
|
|
201918
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202291
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/MedicalExpressions.vue?vue&type=template&id=50152c2d&scoped=true&
|
|
201919
202292
|
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)}
|
|
201920
202293
|
var MedicalExpressionsvue_type_template_id_50152c2d_scoped_true_staticRenderFns = []
|
|
201921
202294
|
|
|
@@ -201981,7 +202354,7 @@ var MedicalExpressions_component = normalizeComponent(
|
|
|
201981
202354
|
)
|
|
201982
202355
|
|
|
201983
202356
|
/* harmony default export */ var MedicalExpressions = (MedicalExpressions_component.exports);
|
|
201984
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202357
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/UploadImage.vue?vue&type=template&id=208b2688&scoped=true&
|
|
201985
202358
|
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)}
|
|
201986
202359
|
var UploadImagevue_type_template_id_208b2688_scoped_true_staticRenderFns = []
|
|
201987
202360
|
|
|
@@ -202149,7 +202522,7 @@ var UploadImage_component = normalizeComponent(
|
|
|
202149
202522
|
)
|
|
202150
202523
|
|
|
202151
202524
|
/* harmony default export */ var toolbar_UploadImage = (UploadImage_component.exports);
|
|
202152
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
202525
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/SpecialChars.vue?vue&type=template&id=517c34d3&scoped=true&
|
|
202153
202526
|
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)])])])])}
|
|
202154
202527
|
var SpecialCharsvue_type_template_id_517c34d3_scoped_true_staticRenderFns = []
|
|
202155
202528
|
|
|
@@ -202768,7 +203141,7 @@ ToolControl_ToolControls = __decorate([vue_class_component_esm({
|
|
|
202768
203141
|
}
|
|
202769
203142
|
})], ToolControl_ToolControls);
|
|
202770
203143
|
/* harmony default export */ var toolbar_ToolControl = (ToolControl_ToolControls);
|
|
202771
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203144
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UpdateDocument.vue?vue&type=template&id=01703d21&scoped=true&
|
|
202772
203145
|
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:(
|
|
202773
203146
|
function () {
|
|
202774
203147
|
_vm.isDocumentShow = false;
|
|
@@ -202842,14 +203215,14 @@ var UpdateDocument_component = normalizeComponent(
|
|
|
202842
203215
|
)
|
|
202843
203216
|
|
|
202844
203217
|
/* harmony default export */ var components_UpdateDocument = (UpdateDocument_component.exports);
|
|
202845
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203218
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/ToolTable.vue?vue&type=template&id=7e9dd939&
|
|
202846
203219
|
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)}
|
|
202847
203220
|
var ToolTablevue_type_template_id_7e9dd939_staticRenderFns = []
|
|
202848
203221
|
|
|
202849
203222
|
|
|
202850
203223
|
// CONCATENATED MODULE: ./src/components/toolbar/ToolTable.vue?vue&type=template&id=7e9dd939&
|
|
202851
203224
|
|
|
202852
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203225
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/TableFeatures.vue?vue&type=template&id=907964ce&
|
|
202853
203226
|
var TableFeaturesvue_type_template_id_907964ce_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.className},[(_vm.table.insertRowAbove)?_c('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowAbove),expression:"tableInsertRowAbove",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"disabled":"","index":"1"}},[_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('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertRowBelow),expression:"tableInsertRowBelow",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"disabled":"","index":"2"}},[_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('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColLeft),expression:"tableInsertColLeft",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"3","disabled":""}},[_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('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableInsertColRight),expression:"tableInsertColRight",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"4","disabled":""}},[_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('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteRows),expression:"tableDeleteRows",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"5"}},[_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('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableDeleteCols),expression:"tableDeleteCols",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"6"}},[_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('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableMergerCells),expression:"tableMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"7"}},[_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('el-menu-item',{directives:[{name:"debounce",rawName:"v-debounce:1000.click",value:(_vm.tableUnMergerCells),expression:"tableUnMergerCells",arg:"1000",modifiers:{"click":true}}],staticClass:"mouse-menu-item",attrs:{"index":"8"}},[_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)}
|
|
202854
203227
|
var TableFeaturesvue_type_template_id_907964ce_staticRenderFns = []
|
|
202855
203228
|
|
|
@@ -203178,7 +203551,7 @@ var ToolTable_component = normalizeComponent(
|
|
|
203178
203551
|
)
|
|
203179
203552
|
|
|
203180
203553
|
/* harmony default export */ var toolbar_ToolTable = (ToolTable_component.exports);
|
|
203181
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203554
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/PageSetting.vue?vue&type=template&id=187fdd38&scoped=true&
|
|
203182
203555
|
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)])])}
|
|
203183
203556
|
var PageSettingvue_type_template_id_187fdd38_scoped_true_staticRenderFns = []
|
|
203184
203557
|
|
|
@@ -203378,7 +203751,7 @@ var PageSetting_component = normalizeComponent(
|
|
|
203378
203751
|
)
|
|
203379
203752
|
|
|
203380
203753
|
/* harmony default export */ var toolbar_PageSetting = (PageSetting_component.exports);
|
|
203381
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
203754
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/UploadFile.vue?vue&type=template&id=4361e817&
|
|
203382
203755
|
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("打开文件")])])}
|
|
203383
203756
|
var UploadFilevue_type_template_id_4361e817_staticRenderFns = []
|
|
203384
203757
|
|
|
@@ -204150,14 +204523,14 @@ ToolBarChild_ToolBarChild = __decorate([vue_class_component_esm({
|
|
|
204150
204523
|
}
|
|
204151
204524
|
})], ToolBarChild_ToolBarChild);
|
|
204152
204525
|
/* harmony default export */ var toolbar_ToolBarChild = (ToolBarChild_ToolBarChild);
|
|
204153
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204526
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=0f2f61c6&
|
|
204154
204527
|
var ToolControlvue_type_template_id_0f2f61c6_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('li',{staticClass:"sub-bar-items"},[_c('HoMedicalExpression',{on:{"openExpress":_vm.openExpress}})],1):_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)}
|
|
204155
204528
|
var ToolControlvue_type_template_id_0f2f61c6_staticRenderFns = []
|
|
204156
204529
|
|
|
204157
204530
|
|
|
204158
204531
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolControl.vue?vue&type=template&id=0f2f61c6&
|
|
204159
204532
|
|
|
204160
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204533
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoMedicalExpression.vue?vue&type=template&id=4944018f&scoped=true&
|
|
204161
204534
|
var HoMedicalExpressionvue_type_template_id_4944018f_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,"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 120 60"}},[_c('g',{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","viewBox":"0 0 120 60"}},[_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","viewBox":"0 0 120 60"}},[_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","viewBox":"0 0 120 60"}},[_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","viewBox":"0 0 120 60"}},[_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","viewBox":"0 0 120 60"}},[_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","viewBox":"0 0 120 60"}},[_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","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-dropdown-item',{attrs:{"command":"style9"}},[_c('p',[_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)],1)}
|
|
204162
204535
|
var HoMedicalExpressionvue_type_template_id_4944018f_scoped_true_staticRenderFns = []
|
|
204163
204536
|
|
|
@@ -204262,7 +204635,7 @@ var HoMedicalExpression_component = normalizeComponent(
|
|
|
204262
204635
|
)
|
|
204263
204636
|
|
|
204264
204637
|
/* harmony default export */ var insert_HoMedicalExpression = (HoMedicalExpression_component.exports);
|
|
204265
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204638
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoSpecialChars.vue?vue&type=template&id=18ad3397&scoped=true&
|
|
204266
204639
|
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)}
|
|
204267
204640
|
var HoSpecialCharsvue_type_template_id_18ad3397_scoped_true_staticRenderFns = []
|
|
204268
204641
|
|
|
@@ -204367,7 +204740,7 @@ var HoSpecialChars_component = normalizeComponent(
|
|
|
204367
204740
|
)
|
|
204368
204741
|
|
|
204369
204742
|
/* harmony default export */ var insert_HoSpecialChars = (HoSpecialChars_component.exports);
|
|
204370
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204743
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoDateTime.vue?vue&type=template&id=07b294c6&
|
|
204371
204744
|
var HoDateTimevue_type_template_id_07b294c6_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)}
|
|
204372
204745
|
var HoDateTimevue_type_template_id_07b294c6_staticRenderFns = []
|
|
204373
204746
|
|
|
@@ -204473,7 +204846,7 @@ var HoDateTime_component = normalizeComponent(
|
|
|
204473
204846
|
)
|
|
204474
204847
|
|
|
204475
204848
|
/* harmony default export */ var insert_HoDateTime = (HoDateTime_component.exports);
|
|
204476
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
204849
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/hoformula/HoFormula.vue?vue&type=template&id=88e6be42&
|
|
204477
204850
|
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)}
|
|
204478
204851
|
var HoFormulavue_type_template_id_88e6be42_staticRenderFns = []
|
|
204479
204852
|
|
|
@@ -204831,14 +205204,14 @@ var ToolControl_component = normalizeComponent(
|
|
|
204831
205204
|
)
|
|
204832
205205
|
|
|
204833
205206
|
/* harmony default export */ var insert_ToolControl = (ToolControl_component.exports);
|
|
204834
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205207
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=3c999b04&
|
|
204835
205208
|
var ToolTablevue_type_template_id_3c999b04_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,"dropdownClassName":_vm.dropdownClassName,"table":_vm.table}}),_vm._t("hoTableItem")],2)}
|
|
204836
205209
|
var ToolTablevue_type_template_id_3c999b04_staticRenderFns = []
|
|
204837
205210
|
|
|
204838
205211
|
|
|
204839
205212
|
// CONCATENATED MODULE: ./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=3c999b04&
|
|
204840
205213
|
|
|
204841
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
205214
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=57db8374&
|
|
204842
205215
|
var HoTableFeaturesvue_type_template_id_57db8374_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)?_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)?_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)?_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)?_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)?_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)?_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)}
|
|
204843
205216
|
var HoTableFeaturesvue_type_template_id_57db8374_staticRenderFns = []
|
|
204844
205217
|
|
|
@@ -205793,8 +206166,8 @@ var ToolBarvue_type_style_index_0_lang_scss_ = __webpack_require__("e530");
|
|
|
205793
206166
|
|
|
205794
206167
|
var ToolBar_component = normalizeComponent(
|
|
205795
206168
|
toolbar_ToolBarvue_type_script_lang_ts_,
|
|
205796
|
-
|
|
205797
|
-
|
|
206169
|
+
ToolBarvue_type_template_id_4398ea5b_render,
|
|
206170
|
+
ToolBarvue_type_template_id_4398ea5b_staticRenderFns,
|
|
205798
206171
|
false,
|
|
205799
206172
|
null,
|
|
205800
206173
|
null,
|
|
@@ -205803,7 +206176,7 @@ var ToolBar_component = normalizeComponent(
|
|
|
205803
206176
|
)
|
|
205804
206177
|
|
|
205805
206178
|
/* harmony default export */ var toolbar_ToolBar = (ToolBar_component.exports);
|
|
205806
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
206179
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"fa44b58a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toolbar/tab/TabPane.vue?vue&type=template&id=71cdc485&
|
|
205807
206180
|
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)}
|
|
205808
206181
|
var TabPanevue_type_template_id_71cdc485_staticRenderFns = []
|
|
205809
206182
|
|
|
@@ -206068,7 +206441,8 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
206068
206441
|
_this$rightNode11,
|
|
206069
206442
|
_this$rightNode12,
|
|
206070
206443
|
_this$rightNode13,
|
|
206071
|
-
_this$rightNode14
|
|
206444
|
+
_this$rightNode14,
|
|
206445
|
+
_this$rightNode15;
|
|
206072
206446
|
|
|
206073
206447
|
var h = arguments[0];
|
|
206074
206448
|
return h("div", {
|
|
@@ -206224,7 +206598,7 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
206224
206598
|
className: "insert-rows-columns-right",
|
|
206225
206599
|
table: this.defaultTable
|
|
206226
206600
|
})
|
|
206227
|
-
})])])]), h("ul", {
|
|
206601
|
+
})])])]), ((_this$rightNode14 = this.rightNode) === null || _this$rightNode14 === void 0 ? void 0 : _this$rightNode14.canShowComment) && h("ul", {
|
|
206228
206602
|
"class": "mouse-right-menu"
|
|
206229
206603
|
}, [h("li", {
|
|
206230
206604
|
"class": "mouse-menu-item",
|
|
@@ -206233,7 +206607,7 @@ var HoRightMenu_HoRightMenu = /*#__PURE__*/function (_Mixins) {
|
|
|
206233
206607
|
return _this4.hideComments();
|
|
206234
206608
|
}
|
|
206235
206609
|
}
|
|
206236
|
-
}, [(_this$
|
|
206610
|
+
}, [(_this$rightNode15 = this.rightNode) !== null && _this$rightNode15 !== void 0 && _this$rightNode15.isHideComments ? '显示' : '隐藏', "\u6279\u6CE8"])]), h("ul", {
|
|
206237
206611
|
"class": "mouse-right-menu"
|
|
206238
206612
|
}, [h("li", {
|
|
206239
206613
|
"class": "mouse-menu-item"
|
|
@@ -207429,6 +207803,8 @@ exports.f = Object.getOwnPropertySymbols;
|
|
|
207429
207803
|
/* harmony import */ var _draw_SelectRange__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__("49e9");
|
|
207430
207804
|
/* harmony import */ var _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__("8d1d");
|
|
207431
207805
|
/* harmony import */ var _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__("4b89");
|
|
207806
|
+
/* harmony import */ var _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__("053b");
|
|
207807
|
+
|
|
207432
207808
|
|
|
207433
207809
|
|
|
207434
207810
|
|
|
@@ -207487,6 +207863,12 @@ var ParseUndoUnit = /*#__PURE__*/function () {
|
|
|
207487
207863
|
|
|
207488
207864
|
hoEditorFactory.docTree.change(delEvent);
|
|
207489
207865
|
hoEditorFactory.drawTree.moveCaretToPath(this._endPath);
|
|
207866
|
+
var np = hoEditorFactory.docTree.findNodePositionByPath(this._endPath);
|
|
207867
|
+
|
|
207868
|
+
if (np && np.node instanceof _dom_treeNode_MarkNode__WEBPACK_IMPORTED_MODULE_18__[/* MarkNode */ "a"] && np.node.parentNode && np.node.parentNode instanceof _dom_treeNode_TextInputFieldNode__WEBPACK_IMPORTED_MODULE_17__[/* TextInputFieldNode */ "f"] && np.node.parentNode.childNodes.length === 2) {
|
|
207869
|
+
hoEditorFactory.docController.resetEmptyInputFieldNode(hoEditorFactory, np.node.parentNode);
|
|
207870
|
+
}
|
|
207871
|
+
|
|
207490
207872
|
hoEditorFactory.docTree.curDomRange = new _dom_DomRange__WEBPACK_IMPORTED_MODULE_7__[/* DomRange */ "a"](this._hoEditorFactoryID, this._startPath, this._endPath); // HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).drawTree.repaintSelectShape();
|
|
207491
207873
|
}
|
|
207492
207874
|
/**
|