hoeditor-web 3.1.109 → 3.1.110

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.
@@ -59680,8 +59680,17 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
59680
59680
  json.fingerPrintSrc = '';
59681
59681
  }
59682
59682
  var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_20__/* .NodeType */ .Jq.ntSign, number, type, json.name, json.signType ? Number(json.signType) : 0, json.signFormat ? json.signFormat : "签名医师", isClearSign ? "" : json.signor, isClearSign ? "" : json.signTime, json.signTimeFormat ? json.signTimeFormat : "yyyy-MM-dd HH:mm", isClearSign ? "" : json.imgSrc, imgWidth, imgHeight, isClearSign ? undefined : json.customProperty, isTemplate, json.styleIndex ? Number(json.styleIndex) : undefined, json.connectMode, isFront, allowEditSignTime, isClearSign ? "" : json.fingerPrintSrc, isClearSign ? 0 : json.fingerPosition, attribute, json.connectChar, json.otherProperties, json.dataId, json.associatedElement);
59683
+ // 旧的上级医生签名锁定判断方式 上级医生签名位置 存bec01数组 病历加载时根据签名元素内的bec01处理
59684
+ var superLuck = hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(signNode.customProperty.bce01);
59685
+ // hoEditorFactory.forbidEditBeforeSign 锁定已签名元素前内容
59686
+ // hoEditorFactory.lockContent 锁定非患者签名所在行内容
59687
+ if (signNode.imgSrc) {}
59683
59688
  if (signNode.attribute != 1) {
59684
- if (signNode.imgSrc != "" && (hoEditorFactory.superiorSigns.length > 0 && hoEditorFactory.superiorSigns.includes(signNode.customProperty.bce01) || hoEditorFactory.forbidEditBeforeSign) || hoEditorFactory.lockContent) {
59689
+ if (signNode.imgSrc && (superLuck || hoEditorFactory.forbidEditBeforeSign) || hoEditorFactory.lockContent) {
59690
+ hoEditorFactory.structureConvert._superiorSign[0] = signNode;
59691
+ }
59692
+ } else {
59693
+ if (hoEditorFactory.reviewMode && (signNode.imgSrc || signNode.fingerPrintSrc)) {
59685
59694
  hoEditorFactory.structureConvert._superiorSign[0] = signNode;
59686
59695
  }
59687
59696
  }
@@ -206318,7 +206327,7 @@ Input.install = function (Vue) {
206318
206327
 
206319
206328
 
206320
206329
  /* harmony default export */ var antd = ([es_button, input, input_number, es_checkbox, date_picker, time_picker, es_radio, es_select, es_tabs, es_dropdown, es_menu, es_upload, tooltip, table, popover, es_icon/* default */.Z, config_provider]);
206321
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=643185d5&
206330
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=2055fa91&
206322
206331
  var render = function render() {
206323
206332
  var _vm = this,
206324
206333
  _c = _vm._self._c;
@@ -209636,7 +209645,7 @@ var TextNode = __webpack_require__(27198);
209636
209645
  // EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
209637
209646
  var ParagraphNode = __webpack_require__(67945);
209638
209647
  ;// CONCATENATED MODULE: ./src/components/version.ts
209639
- /* harmony default export */ var version = ('3.1.109');
209648
+ /* harmony default export */ var version = ('3.1.110');
209640
209649
  // EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
209641
209650
  var PoperTipText = __webpack_require__(50987);
209642
209651
  ;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
@@ -219699,7 +219708,7 @@ var VueController = /*#__PURE__*/function () {
219699
219708
  key: "hiddenMask",
219700
219709
  value: function () {
219701
219710
  var _hiddenMask = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/(0,regeneratorRuntime/* default */.Z)().mark(function _callee(isHidden) {
219702
- var hoEditorFactory, i, drawPage, children, j, superiorSign, signNode, _this$getAllSignNodeL, bce01List, curArea, actualHeight, pageWidth, pageHeight, curPageIndex, pageCount, paintMask, _yield$this$getPreEmp, _yield$this$getPreEmp2, isExist, pSignArr, drawNode, dline, stagePt, localPt, arrs, g, pSign, pDrawNode, pArea, pageIndex, pline, stagePt1, localPt1, start, h, n, k, _k, t, arr, _h, parr, _k2, sarr, _n, _k3, _k4, _i, _i2;
219711
+ var hoEditorFactory, i, drawPage, children, j, superiorSign, signNode, _this$getAllSignNodeL, bce01List, patientSign, hasPatientSign, curArea, actualHeight, pageWidth, pageHeight, curPageIndex, pageCount, paintMask, _yield$this$getPreEmp, _yield$this$getPreEmp2, isExist, pSignArr, drawNode, dline, stagePt, localPt, arrs, g, pSign, pDrawNode, pArea, pageIndex, pline, stagePt1, localPt1, start, h, n, k, _k, t, arr, _h, parr, _k2, sarr, _n, _k3, _k4, _i, _i2;
219703
219712
  return (0,regeneratorRuntime/* default */.Z)().wrap(function _callee$(_context) {
219704
219713
  while (1) switch (_context.prev = _context.next) {
219705
219714
  case 0:
@@ -219718,27 +219727,30 @@ var VueController = /*#__PURE__*/function () {
219718
219727
  }
219719
219728
  hoEditorFactory.drawPageTree.updateDrawPage(i);
219720
219729
  }
219721
- _context.next = 60;
219730
+ _context.next = 61;
219722
219731
  break;
219723
219732
  case 5:
219724
219733
  superiorSign = hoEditorFactory.structureConvert._superiorSign;
219725
219734
  signNode = superiorSign[0];
219726
219735
  if (!(hoEditorFactory.forbidEditBeforeSign && hoEditorFactory.reviewMode)) {
219727
- _context.next = 12;
219736
+ _context.next = 13;
219728
219737
  break;
219729
219738
  }
219730
- _this$getAllSignNodeL = this.getAllSignNodeList(hoEditorFactory.userInfo.id), bce01List = _this$getAllSignNodeL.bce01List;
219731
- if (bce01List.length) {
219732
- _context.next = 12;
219739
+ _this$getAllSignNodeL = this.getAllSignNodeList(hoEditorFactory.userInfo.id), bce01List = _this$getAllSignNodeL.bce01List, patientSign = _this$getAllSignNodeL.patientSign;
219740
+ hasPatientSign = patientSign.filter(function (v) {
219741
+ return v.signed;
219742
+ }).length > 0;
219743
+ if (!(!bce01List.length && !hasPatientSign)) {
219744
+ _context.next = 13;
219733
219745
  break;
219734
219746
  }
219735
219747
  this.hiddenMask(true);
219736
219748
  return _context.abrupt("return");
219737
- case 12:
219749
+ case 13:
219738
219750
  curArea = hoEditorFactory.drawPageTree.getMainRootArea(signNode.drawNodes[0]);
219739
219751
  actualHeight = hoEditorFactory.drawPageTree.drawHeaders[0].displayHeight;
219740
219752
  if (!(curArea && curArea instanceof DrawPageMainDoc/* DrawPageMainDoc */.$)) {
219741
- _context.next = 60;
219753
+ _context.next = 61;
219742
219754
  break;
219743
219755
  }
219744
219756
  pageWidth = hoEditorFactory.pageProperty.widthPixes + 1;
@@ -219774,9 +219786,9 @@ var VueController = /*#__PURE__*/function () {
219774
219786
  selectContainer.addChild(mask);
219775
219787
  hoEditorFactory.drawPageTree.updateDrawPage(index);
219776
219788
  };
219777
- _context.next = 22;
219789
+ _context.next = 23;
219778
219790
  return this.getPreEmptySign(signNode);
219779
- case 22:
219791
+ case 23:
219780
219792
  _yield$this$getPreEmp = _context.sent;
219781
219793
  _yield$this$getPreEmp2 = (0,esm_slicedToArray/* default */.Z)(_yield$this$getPreEmp, 2);
219782
219794
  isExist = _yield$this$getPreEmp2[0];
@@ -219789,21 +219801,21 @@ var VueController = /*#__PURE__*/function () {
219789
219801
  localPt = curArea.globalToLocal(stagePt.x, stagePt.y);
219790
219802
  superiorSign[2] = localPt.y - hoEditorFactory.signHeight;
219791
219803
  if (!isExist) {
219792
- _context.next = 59;
219804
+ _context.next = 60;
219793
219805
  break;
219794
219806
  }
219795
219807
  arrs = [];
219796
219808
  g = 0;
219797
- case 35:
219809
+ case 36:
219798
219810
  if (!(g < pSignArr.length)) {
219799
- _context.next = 54;
219811
+ _context.next = 55;
219800
219812
  break;
219801
219813
  }
219802
219814
  pSign = pSignArr[g];
219803
219815
  pDrawNode = pSign.drawNodes[0];
219804
219816
  pArea = hoEditorFactory.drawPageTree.getMainRootArea(pDrawNode);
219805
219817
  if (!(pArea && pArea instanceof DrawPageMainDoc/* DrawPageMainDoc */.$)) {
219806
- _context.next = 51;
219818
+ _context.next = 52;
219807
219819
  break;
219808
219820
  }
219809
219821
  pageIndex = pArea.pageIndex;
@@ -219812,7 +219824,7 @@ var VueController = /*#__PURE__*/function () {
219812
219824
  localPt1 = pArea.globalToLocal(stagePt1.x, stagePt1.y);
219813
219825
  start = localPt1.y;
219814
219826
  if (!(pSignArr.length === 1)) {
219815
- _context.next = 50;
219827
+ _context.next = 51;
219816
219828
  break;
219817
219829
  }
219818
219830
  for (h = 0; h < pageIndex; h++) {
@@ -219842,13 +219854,13 @@ var VueController = /*#__PURE__*/function () {
219842
219854
  }
219843
219855
  }
219844
219856
  return _context.abrupt("return");
219845
- case 50:
219846
- arrs.push([pageIndex, start]);
219847
219857
  case 51:
219858
+ arrs.push([pageIndex, start]);
219859
+ case 52:
219848
219860
  g++;
219849
- _context.next = 35;
219861
+ _context.next = 36;
219850
219862
  break;
219851
- case 54:
219863
+ case 55:
219852
219864
  for (t = 0; t < arrs.length; t++) {
219853
219865
  arr = arrs[t];
219854
219866
  if (t === 0) {
@@ -219892,9 +219904,9 @@ var VueController = /*#__PURE__*/function () {
219892
219904
  paintMask(curPageIndex, localPt.y + actualHeight - hoEditorFactory.signHeight);
219893
219905
  }
219894
219906
  }
219895
- _context.next = 60;
219907
+ _context.next = 61;
219896
219908
  break;
219897
- case 59:
219909
+ case 60:
219898
219910
  if (hoEditorFactory.lockContent) {
219899
219911
  for (_i = 0; _i < pageCount; _i++) {
219900
219912
  //给前面的页画遮罩层
@@ -219910,7 +219922,7 @@ var VueController = /*#__PURE__*/function () {
219910
219922
  //画当前页的遮罩层
219911
219923
  paintMask(curPageIndex, localPt.y + actualHeight - hoEditorFactory.signHeight);
219912
219924
  }
219913
- case 60:
219925
+ case 61:
219914
219926
  case "end":
219915
219927
  return _context.stop();
219916
219928
  }
@@ -219931,7 +219943,7 @@ var VueController = /*#__PURE__*/function () {
219931
219943
  var iteratesNodes = function iteratesNodes(nodes) {
219932
219944
  for (var i = 0; i < nodes.length; i++) {
219933
219945
  var anode = nodes[i];
219934
- if (anode instanceof SignNode/* SignNode */.N && anode.imgSrc === "") {
219946
+ if (anode instanceof SignNode/* SignNode */.N && anode.imgSrc === "" && anode.fingerPrintSrc === "") {
219935
219947
  if (hoEditorFactory.lockContent && anode.attribute == 1) {
219936
219948
  mark = true;
219937
219949
  signArr.push(anode);
@@ -220152,6 +220164,9 @@ var VueController = /*#__PURE__*/function () {
220152
220164
  var paragraphNode = new ParagraphNode/* ParagraphNode */.C(this._hoEditorFactoryID, npStart.roots, npStart.node.parentNode, hoEditorFactory.docTree.curParaNo);
220153
220165
  nodes.push(paragraphNode);
220154
220166
  }
220167
+ } else if (isAppentText) {
220168
+ var _paragraphNode = new ParagraphNode/* ParagraphNode */.C(this._hoEditorFactoryID, npStart.roots, npStart.node.parentNode, hoEditorFactory.docTree.curParaNo);
220169
+ nodes.push(_paragraphNode);
220155
220170
  }
220156
220171
  }
220157
220172
  hoEditorFactory.docController.parseNodeData(nodes);
@@ -221098,9 +221113,9 @@ var VueController = /*#__PURE__*/function () {
221098
221113
  var dFooter = new DrawFooter/* DrawFooter */.d(this._hoEditorFactoryID, _arootPath, pageCount);
221099
221114
  hoEditorFactory.drawPageTree.drawFooters.push(dFooter);
221100
221115
  hoEditorFactory.drawTree.footerDNodes.push(new Array());
221101
- var _paragraphNode = new ParagraphNode/* ParagraphNode */.C(this._hoEditorFactoryID, arrNodes, null, 0);
221102
- arrNodes.push(_paragraphNode);
221103
- _paragraphNode.rootPath = _arootPath;
221116
+ var _paragraphNode2 = new ParagraphNode/* ParagraphNode */.C(this._hoEditorFactoryID, arrNodes, null, 0);
221117
+ arrNodes.push(_paragraphNode2);
221118
+ _paragraphNode2.rootPath = _arootPath;
221104
221119
  //paragraphNode.rootNodes = arrNodes;
221105
221120
  var newFooter = new SubDocManger/* SubDocTree */.UJ(pageCount, '');
221106
221121
  newFooter.subDocNodes = arrNodes;
@@ -241207,10 +241222,10 @@ var commondata = __webpack_require__(76285);
241207
241222
  });
241208
241223
  ;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=script&lang=js&
241209
241224
  /* harmony default export */ var components_HoDocsvue_type_script_lang_js_ = (HoDocsvue_type_script_lang_js_);
241210
- ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=style&index=0&id=643185d5&prod&lang=less&media=print&
241225
+ ;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=style&index=0&id=2055fa91&prod&lang=less&media=print&
241211
241226
  // extracted by mini-css-extract-plugin
241212
241227
 
241213
- ;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=style&index=0&id=643185d5&prod&lang=less&media=print&
241228
+ ;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=style&index=0&id=2055fa91&prod&lang=less&media=print&
241214
241229
 
241215
241230
  ;// CONCATENATED MODULE: ./src/components/HoDocs.vue
241216
241231
 
@@ -244540,8 +244555,8 @@ var ToolControlvue_type_template_id_5eea3dcd_render = function render() {
244540
244555
  };
244541
244556
  var ToolControlvue_type_template_id_5eea3dcd_staticRenderFns = [];
244542
244557
 
244543
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoDateTime.vue?vue&type=template&id=d4373800&
244544
- var HoDateTimevue_type_template_id_d4373800_render = function render() {
244558
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoDateTime.vue?vue&type=template&id=545a7112&
244559
+ var HoDateTimevue_type_template_id_545a7112_render = function render() {
244545
244560
  var _vm = this,
244546
244561
  _c = _vm._self._c;
244547
244562
  return _c('a-dropdown', {
@@ -244602,7 +244617,7 @@ var HoDateTimevue_type_template_id_d4373800_render = function render() {
244602
244617
  staticClass: "date-time-item"
244603
244618
  }, [_vm._v("更多日期属性")])], 2)], 1)], 2);
244604
244619
  };
244605
- var HoDateTimevue_type_template_id_d4373800_staticRenderFns = [];
244620
+ var HoDateTimevue_type_template_id_545a7112_staticRenderFns = [];
244606
244621
 
244607
244622
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoDateTime.vue?vue&type=script&lang=js&
244608
244623
 
@@ -244656,6 +244671,7 @@ var HoDateTimevue_type_template_id_d4373800_staticRenderFns = [];
244656
244671
  var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys */.b.instance().getFactory(this.hoEditorProvider.activeDocId);
244657
244672
  var params = {
244658
244673
  id: this.vueController.generateID('DT'),
244674
+ innerIdentifier: '',
244659
244675
  name: '',
244660
244676
  text: value,
244661
244677
  title: '',
@@ -244682,8 +244698,8 @@ var HoDateTimevue_type_template_id_d4373800_staticRenderFns = [];
244682
244698
  ;
244683
244699
  var HoDateTime_component = (0,componentNormalizer/* default */.Z)(
244684
244700
  insert_HoDateTimevue_type_script_lang_js_,
244685
- HoDateTimevue_type_template_id_d4373800_render,
244686
- HoDateTimevue_type_template_id_d4373800_staticRenderFns,
244701
+ HoDateTimevue_type_template_id_545a7112_render,
244702
+ HoDateTimevue_type_template_id_545a7112_staticRenderFns,
244687
244703
  false,
244688
244704
  null,
244689
244705
  null,