hoeditor-web 3.3.6-beta.7 → 3.3.6-beta.8

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.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { H as i, d as r, b as e, a as l, e as t, T as H, f as d, i as f } from "./index-DBTgcDAr.mjs";
2
+ import { H as i, d as r, b as e, a as l, e as t, T as H, f as d, i as f } from "./index-CJWk6KWR.mjs";
3
3
  export {
4
4
  i as HoDocs,
5
5
  r as HoEditorProvide,
@@ -23012,7 +23012,7 @@ WebPDecoder.prototype.getData = function() {
23012
23012
  (function(a) {
23013
23013
  function t() {
23014
23014
  return function() {
23015
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-Dv0NcP4S.mjs");
23015
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-D-_c3pZ0.mjs");
23016
23016
  }().catch(function(r) {
23017
23017
  return Promise.reject(new Error("Could not load canvg: " + r));
23018
23018
  }).then(function(r) {
@@ -24602,10 +24602,10 @@ class DrawSignNode extends DrawCombineNode {
24602
24602
  }
24603
24603
  }
24604
24604
  }
24605
- const version = "3.3.6-beta.7";
24605
+ const version = "3.3.6-beta.8";
24606
24606
  var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
24607
24607
  class SignNode extends BaseNode {
24608
- constructor(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute, connectChar, otherProperties, dataId, associatedElement, isTemp, innerIdentifier) {
24608
+ constructor(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute, connectChar, otherProperties, dataId, associatedElement, associatedPatientElement, isTemp, innerIdentifier) {
24609
24609
  super(hoEditorFactoryID, rootNodes, pNode, nodeType);
24610
24610
  b(this, "_dataId", "");
24611
24611
  //dataId
@@ -24655,12 +24655,14 @@ class SignNode extends BaseNode {
24655
24655
  //其它属性{"isDisplayTitle":true,"title":"职称","isDisplayTime":true,"time":"签名日期","timePosition":"1"}
24656
24656
  b(this, "_associatedElement", "");
24657
24657
  //关联元素的dataid
24658
+ b(this, "_associatedPatientElement", "");
24659
+ //关联患者关系元素的dataid
24658
24660
  b(this, "oldNodePath", "");
24659
24661
  //删除前的路径
24660
24662
  b(this, "isTemp", !1);
24661
24663
  b(this, "innerIdentifier", "");
24662
24664
  const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
24663
- this.number = number, this._type = type, this._signor = signor, this._signTime = signTime, this._attribute = attribute === void 0 ? 0 : attribute, this._connectChar = connectChar === void 0 ? ":" : connectChar, dataId ? this.dataId = dataId : this.dataId = HOEditorFactorys.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("Sign"), fingerPrintSrc && (this._fingerPrintSrc = fingerPrintSrc), this._fingerPosition = fingerPosition || 0, this._name = name, this._imgWidth = imgWidth, this._imgHeight = imgHeight, this._isTemplate = isTemplate, this.isTemp = isTemp || isTemplate, this._signType = signType, this._signFormat = signFormat, this._signTimeFormat = signTimeFormat, styleIndex || styleIndex == 0 ? this._styleIndex = styleIndex : this._styleIndex = hoEditorFactory.docTree.curStyleIndex, this._connectMode = connectMode, signType === 1 && type !== 1 && (this._isFront = isFront, this._allowEditSignTime = allowEditSignTime), this._otherProperties = new Object(), this._associatedElement = associatedElement || "", this._customProperty = new Object();
24665
+ this.number = number, this._type = type, this._signor = signor, this._signTime = signTime, this._attribute = attribute === void 0 ? 0 : attribute, this._connectChar = connectChar === void 0 ? ":" : connectChar, dataId ? this.dataId = dataId : this.dataId = HOEditorFactorys.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("Sign"), fingerPrintSrc && (this._fingerPrintSrc = fingerPrintSrc), this._fingerPosition = fingerPosition || 0, this._name = name, this._imgWidth = imgWidth, this._imgHeight = imgHeight, this._isTemplate = isTemplate, this.isTemp = isTemp || isTemplate, this._signType = signType, this._signFormat = signFormat, this._signTimeFormat = signTimeFormat, styleIndex || styleIndex == 0 ? this._styleIndex = styleIndex : this._styleIndex = hoEditorFactory.docTree.curStyleIndex, this._connectMode = connectMode, signType === 1 && type !== 1 && (this._isFront = isFront, this._allowEditSignTime = allowEditSignTime), this._otherProperties = new Object(), this._associatedElement = associatedElement || "", this._associatedPatientElement = associatedPatientElement || "", this._customProperty = new Object();
24664
24666
  const assignvalue = (target, source) => {
24665
24667
  Object.keys(source).forEach((value) => {
24666
24668
  typeof target[value] == "object" ? Object.prototype.toString.call(source[value]) === "[object Object]" ? assignvalue(target[value], source[value]) : source[value] !== "" && source[value] !== null && assignvalue(target[value], eval("(" + source[value] + ")")) : target[value] = source[value];
@@ -24820,6 +24822,12 @@ class SignNode extends BaseNode {
24820
24822
  set associatedElement(t) {
24821
24823
  this._associatedElement !== t && (this._associatedElement = t);
24822
24824
  }
24825
+ get associatedPatientElement() {
24826
+ return this._associatedPatientElement;
24827
+ }
24828
+ set associatedPatientElement(t) {
24829
+ this._associatedPatientElement !== t && (this._associatedPatientElement = t);
24830
+ }
24823
24831
  /**
24824
24832
  *
24825
24833
  * @param drawTree 绘制树
@@ -24912,7 +24920,7 @@ class SignNode extends BaseNode {
24912
24920
  otherProperties: this.otherProperties,
24913
24921
  innerIdentifier: this.innerIdentifier
24914
24922
  };
24915
- return l.imgSrc.substring(0, 4) == "http" && (l.imgSrc = l.imgSrc.replace(`?_=${version}`, "")), this.associatedElement && (l.associatedElement = this.associatedElement), r ? l : {
24923
+ return l.imgSrc.substring(0, 4) == "http" && (l.imgSrc = l.imgSrc.replace(`?_=${version}`, "")), this.associatedElement && (l.associatedElement = this.associatedElement), this.associatedPatientElement && (l.associatedPatientElement = this.associatedPatientElement), r ? l : {
24916
24924
  SignNode: l
24917
24925
  };
24918
24926
  }
@@ -24950,6 +24958,7 @@ class SignNode extends BaseNode {
24950
24958
  r.otherProperties,
24951
24959
  r.dataId,
24952
24960
  r.associatedElement,
24961
+ r.associatedPatientElement,
24953
24962
  g,
24954
24963
  r.innerIdentifier
24955
24964
  );
@@ -62233,10 +62242,10 @@ class VueController {
62233
62242
  * @param isFront 新插入的签名是否前置 true:前置 false:后置
62234
62243
  * @param allowEditSignTime 允许修改签名时间 true:允许 false:不允许
62235
62244
  */
62236
- insertEmptySignNode(t, r, o, n, s, l, c, d, u, f, p, m, g) {
62237
- const y = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), w = y.docTree.curDomRange.normalize(), v = w.normalize().startPath, C = w.normalize().endPath, _ = new NodeChangingEvent(DocAction.daInsert, v, C, OperType.insertSign);
62238
- y.docTree.changing(_) && y.docController.insertEmptySignNode(
62239
- w,
62245
+ insertEmptySignNode(t, r, o, n, s, l, c, d, u, f, p, m, g, y) {
62246
+ const w = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), v = w.docTree.curDomRange.normalize(), C = v.normalize().startPath, _ = v.normalize().endPath, D = new NodeChangingEvent(DocAction.daInsert, C, _, OperType.insertSign);
62247
+ w.docTree.changing(D) && w.docController.insertEmptySignNode(
62248
+ v,
62240
62249
  t,
62241
62250
  r,
62242
62251
  o,
@@ -62249,7 +62258,8 @@ class VueController {
62249
62258
  f,
62250
62259
  p,
62251
62260
  m,
62252
- g
62261
+ g,
62262
+ y
62253
62263
  );
62254
62264
  }
62255
62265
  /**
@@ -62299,7 +62309,7 @@ class VueController {
62299
62309
  * @param otherProperties
62300
62310
  * @param isFront 是否前置
62301
62311
  */
62302
- updateEmptySignNode(t, r, o, n, s, l, c, d, u, f, p, m, g) {
62312
+ updateEmptySignNode(t, r, o, n, s, l, c, d, u, f, p, m, g, y) {
62303
62313
  if (t.type !== 0)
62304
62314
  return;
62305
62315
  HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docController.updateEmptySignNode(
@@ -62315,7 +62325,8 @@ class VueController {
62315
62325
  f,
62316
62326
  p,
62317
62327
  m,
62318
- g
62328
+ g,
62329
+ y
62319
62330
  );
62320
62331
  }
62321
62332
  /**
@@ -72608,11 +72619,11 @@ class DocController {
72608
72619
  * @param isFront 新插入的签名是否前置 true:前置 false:后置
72609
72620
  * @param allowEditSignTime 允许修改签名时间 true:允许 false:不允许
72610
72621
  */
72611
- insertEmptySignNode(a, t, r, o, n, s, l, c, d, u, f, p, m, g) {
72612
- const y = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), w = a.startPath, v = y.docTree.getParentNode(w), C = new SignNode(
72622
+ insertEmptySignNode(a, t, r, o, n, s, l, c, d, u, f, p, m, g, y) {
72623
+ const w = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), v = a.startPath, C = w.docTree.getParentNode(v), _ = new SignNode(
72613
72624
  this._hoEditorFactoryID,
72614
72625
  a.npStart.roots,
72615
- v,
72626
+ C,
72616
72627
  NodeType$1.ntSign,
72617
72628
  0,
72618
72629
  0,
@@ -72627,7 +72638,7 @@ class DocController {
72627
72638
  0,
72628
72639
  s,
72629
72640
  !0,
72630
- y.docTree.curStyleIndex,
72641
+ w.docTree.curStyleIndex,
72631
72642
  l,
72632
72643
  c,
72633
72644
  d,
@@ -72638,10 +72649,11 @@ class DocController {
72638
72649
  p,
72639
72650
  void 0,
72640
72651
  m,
72652
+ g,
72641
72653
  void 0,
72642
- g
72654
+ y
72643
72655
  );
72644
- y.undoService.begin(), y.undoService.add(new NodeInsertUndoUnit(this._hoEditorFactoryID, w, C)), y.undoService.commit();
72656
+ w.undoService.begin(), w.undoService.add(new NodeInsertUndoUnit(this._hoEditorFactoryID, v, _)), w.undoService.commit();
72645
72657
  }
72646
72658
  /**
72647
72659
  * 插入签名
@@ -72774,9 +72786,9 @@ class DocController {
72774
72786
  * @param otherProperties
72775
72787
  * @param isFront 是否前置
72776
72788
  */
72777
- updateEmptySignNode(a, t, r, o, n, s, l, c, d, u, f, p, m) {
72778
- const g = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), y = g.docTree.getNodeLastPath(a.previousLeaf()), w = g.docTree.getNodeLastPath(a), v = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daModifyStyle, y, w);
72779
- v.oldEndPath = w, v.afterChangePath = w, v.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(y, w, !0, !0), a.name = t, a.connectChar = o, a.signType = n, a.signFormat = s, a.signor = l, a.signTime = c, a.signTimeFormat = d, a.attribute = r, a.isFront = p, a.associatedElement = m || "", a.connectMode = u, a.otherProperties = f, g.docTree.change(v);
72789
+ updateEmptySignNode(a, t, r, o, n, s, l, c, d, u, f, p, m, g) {
72790
+ const y = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), w = y.docTree.getNodeLastPath(a.previousLeaf()), v = y.docTree.getNodeLastPath(a), C = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daModifyStyle, w, v);
72791
+ C.oldEndPath = v, C.afterChangePath = v, C.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(w, v, !0, !0), a.name = t, a.connectChar = o, a.signType = n, a.signFormat = s, a.signor = l, a.signTime = c, a.signTimeFormat = d, a.attribute = r, a.isFront = p, a.associatedElement = m || "", a.associatedPatientElement = g || "", a.connectMode = u, a.otherProperties = f, y.docTree.change(C);
72780
72792
  }
72781
72793
  /**
72782
72794
  * 更新签名时间
@@ -74876,6 +74888,8 @@ const ExpressionForm = __component__$15.exports, _sfc_main$14 = {
74876
74888
  lockContentBeforeSign: !1,
74877
74889
  dateTimeList: [],
74878
74890
  associatedElement: "",
74891
+ patientElementList: [],
74892
+ associatedPatientElement: "",
74879
74893
  modifyProps: {},
74880
74894
  unwatchProps: [],
74881
74895
  innerIdentifier: "",
@@ -74892,6 +74906,7 @@ const ExpressionForm = __component__$15.exports, _sfc_main$14 = {
74892
74906
  "isDisplayTime",
74893
74907
  "timePosition",
74894
74908
  "associatedElement",
74909
+ "associatedPatientElement",
74895
74910
  "isHigher",
74896
74911
  "additionsEditor",
74897
74912
  "lockContentBeforeSign",
@@ -74900,21 +74915,21 @@ const ExpressionForm = __component__$15.exports, _sfc_main$14 = {
74900
74915
  };
74901
74916
  },
74902
74917
  mounted() {
74903
- var n, s, l, c, d, u, f, p, m, g, y, w, v;
74918
+ var s, l, c, d, u, f, p, m, g, y, w, v, C;
74904
74919
  const a = this.vueController.getAllSignNodeList(), t = [...a.sign, ...a.patientSign];
74905
- let r = [];
74906
- t.forEach((C) => {
74907
- C.associatedElement && !r.includes(C.associatedElement) && r.push(C.associatedElement);
74920
+ let r = [], o = [];
74921
+ t.forEach((_) => {
74922
+ _.associatedElement && !r.includes(_.associatedElement) && r.push(_.associatedElement), _.associatedPatientElement && !o.includes(_.associatedPatientElement) && o.push(_.associatedPatientElement);
74908
74923
  });
74909
- const o = this.vueController.getAllElements();
74924
+ const n = this.vueController.getAllElements();
74910
74925
  if (this.dateTimeList = [], this.controlStatus === "update") {
74911
- const C = this.getCurrentSelectNode();
74912
- C && (this.name = C.name, C.attribute == 2 ? this.signType = 2 : C.attribute == 3 ? this.signType = 3 : C.attribute == 4 ? this.signType = 4 : C.attribute == 1 ? (this.signType = 1, this.innerIdentifier = C.innerIdentifier || "") : C.signType == 0 ? this.signType = 0 : this.signType = 9, this.signFormat = C.signFormat, this.connectMode = C.connectMode, this.connectChar = C.connectChar, this.isFront = C.isFront === !0 || C.isFront === "true", this.signTimeFormat = C.signTimeFormat, this.customFormatContent = C.customFormatContent ? C.customFormatContent : "", this.isDisplayTitle = !!(((n = C.otherProperties) == null ? void 0 : n.isDisplayTitle) === "true" | ((s = C.otherProperties) == null ? void 0 : s.isDisplayTitle) === !0), this.isHigher = !!(((l = C.otherProperties) == null ? void 0 : l.isHigher) === "true" | ((c = C.otherProperties) == null ? void 0 : c.isHigher) === !0), this.additionsEditor = !!(((d = C.otherProperties) == null ? void 0 : d.additionsEditor) === "true" | ((u = C.otherProperties) == null ? void 0 : u.additionsEditor) === !0), this.isDisplayTime = !!(((f = C.otherProperties) == null ? void 0 : f.isDisplayTime) === "true" | ((p = C.otherProperties) == null ? void 0 : p.isDisplayTime) === !0), this.timePosition = ((m = C.otherProperties) == null ? void 0 : m.timePosition) == "1" ? "1" : "0", this.associatedElement = C.associatedElement ? C.associatedElement : "", this.validatePriorSignatures = !!(((g = C.otherProperties) == null ? void 0 : g.validatePriorSignatures) === "true" | ((y = C.otherProperties) == null ? void 0 : y.validatePriorSignatures) === !0), this.lockContentBeforeSign = !!(((w = C.otherProperties) == null ? void 0 : w.lockContentBeforeSign) === "true" | ((v = C.otherProperties) == null ? void 0 : v.lockContentBeforeSign) === !0), o.forEach((_) => {
74913
- _.nodeType == 8 && (!r.includes(_.dataId) || C.associatedElement == _.dataId) && this.dateTimeList.push(_);
74926
+ const _ = this.getCurrentSelectNode();
74927
+ _ && (this.name = _.name, _.attribute == 2 ? this.signType = 2 : _.attribute == 3 ? this.signType = 3 : _.attribute == 4 ? this.signType = 4 : _.attribute == 1 ? (this.signType = 1, this.innerIdentifier = _.innerIdentifier || "") : _.signType == 0 ? this.signType = 0 : this.signType = 9, this.signFormat = _.signFormat, this.connectMode = _.connectMode, this.connectChar = _.connectChar, this.isFront = _.isFront === !0 || _.isFront === "true", this.signTimeFormat = _.signTimeFormat, this.customFormatContent = _.customFormatContent ? _.customFormatContent : "", this.isDisplayTitle = !!(((s = _.otherProperties) == null ? void 0 : s.isDisplayTitle) === "true" | ((l = _.otherProperties) == null ? void 0 : l.isDisplayTitle) === !0), this.isHigher = !!(((c = _.otherProperties) == null ? void 0 : c.isHigher) === "true" | ((d = _.otherProperties) == null ? void 0 : d.isHigher) === !0), this.additionsEditor = !!(((u = _.otherProperties) == null ? void 0 : u.additionsEditor) === "true" | ((f = _.otherProperties) == null ? void 0 : f.additionsEditor) === !0), this.isDisplayTime = !!(((p = _.otherProperties) == null ? void 0 : p.isDisplayTime) === "true" | ((m = _.otherProperties) == null ? void 0 : m.isDisplayTime) === !0), this.timePosition = ((g = _.otherProperties) == null ? void 0 : g.timePosition) == "1" ? "1" : "0", this.associatedElement = _.associatedElement ? _.associatedElement : "", this.associatedPatientElement = _.associatedPatientElement ? _.associatedPatientElement : "", this.validatePriorSignatures = !!(((y = _.otherProperties) == null ? void 0 : y.validatePriorSignatures) === "true" | ((w = _.otherProperties) == null ? void 0 : w.validatePriorSignatures) === !0), this.lockContentBeforeSign = !!(((v = _.otherProperties) == null ? void 0 : v.lockContentBeforeSign) === "true" | ((C = _.otherProperties) == null ? void 0 : C.lockContentBeforeSign) === !0), n.forEach((D) => {
74928
+ D.nodeType == 8 && (!r.includes(D.dataId) || _.associatedElement == D.dataId) && this.dateTimeList.push(D), D.nodeType == 7 && (!o.includes(D.dataId) || _.associatedPatientElement == D.dataId) && this.patientElementList.push(D);
74914
74929
  }), this.setWatchProps());
74915
74930
  } else
74916
- o.forEach((C) => {
74917
- C.nodeType == 8 && !r.includes(C.dataId) && this.dateTimeList.push(C);
74931
+ n.forEach((_) => {
74932
+ _.nodeType == 8 && !r.includes(_.dataId) && this.dateTimeList.push(_), _.nodeType == 7 && !o.includes(_.dataId) && this.patientElementList.push(_);
74918
74933
  });
74919
74934
  },
74920
74935
  methods: {
@@ -74997,7 +75012,8 @@ const ExpressionForm = __component__$15.exports, _sfc_main$14 = {
74997
75012
  additionsEditor: this.additionsEditor,
74998
75013
  ...r
74999
75014
  },
75000
- this.associatedElement
75015
+ this.associatedElement,
75016
+ this.associatedPatientElement
75001
75017
  );
75002
75018
  else if (this.signType === 2)
75003
75019
  this.vueController.insertEmptySignNode(
@@ -75012,7 +75028,8 @@ const ExpressionForm = __component__$15.exports, _sfc_main$14 = {
75012
75028
  this.signType,
75013
75029
  this.connectChar,
75014
75030
  { isHigher: this.isHigher, additionsEditor: this.additionsEditor, ...r },
75015
- this.associatedElement
75031
+ this.associatedElement,
75032
+ this.associatedPatientElement
75016
75033
  );
75017
75034
  else if (this.signType === 3)
75018
75035
  this.vueController.insertEmptySignNode(
@@ -75027,7 +75044,8 @@ const ExpressionForm = __component__$15.exports, _sfc_main$14 = {
75027
75044
  this.signType,
75028
75045
  this.connectChar,
75029
75046
  { isHigher: this.isHigher, additionsEditor: this.additionsEditor, ...r },
75030
- this.associatedElement
75047
+ this.associatedElement,
75048
+ this.associatedPatientElement
75031
75049
  );
75032
75050
  else if (this.signType === 4)
75033
75051
  this.vueController.insertEmptySignNode(
@@ -75042,14 +75060,15 @@ const ExpressionForm = __component__$15.exports, _sfc_main$14 = {
75042
75060
  this.signType,
75043
75061
  this.connectChar,
75044
75062
  { isDisplayTitle: this.isDisplayTitle, additionsEditor: this.additionsEditor, isHigher: this.isHigher, ...t, ...r },
75045
- this.associatedElement
75063
+ this.associatedElement,
75064
+ this.associatedPatientElement
75046
75065
  );
75047
75066
  else {
75048
75067
  const o = this.name ? this.name : this.signType == 1 ? i18nHelper("04-001-009-EMR.3.3.129", null, "患者签名") : i18nHelper("04-001-009-EMR.3.3.128", null, "医生签名");
75049
75068
  let n = { isHigher: this.isHigher, additionsEditor: this.additionsEditor, ...r };
75050
75069
  this.signType == 1 && (n = {});
75051
75070
  const s = this.signType === 1 && this.innerIdentifier ? this.innerIdentifier : "";
75052
- this.vueController.insertEmptySignNode(o, 0, "", "", a, "", void 0, void 0, this.signType, "", n, this.associatedElement, s);
75071
+ this.vueController.insertEmptySignNode(o, 0, "", "", a, "", void 0, void 0, this.signType, "", n, this.associatedElement, this.associatedPatientElement, s);
75053
75072
  }
75054
75073
  else if (this.controlStatus === "update") {
75055
75074
  this.clearWatchProps();
@@ -75078,7 +75097,8 @@ const ExpressionForm = __component__$15.exports, _sfc_main$14 = {
75078
75097
  this.connectMode,
75079
75098
  c,
75080
75099
  this.isFront,
75081
- this.associatedElement
75100
+ this.associatedElement,
75101
+ this.associatedPatientElement
75082
75102
  );
75083
75103
  }
75084
75104
  this.handleClose();
@@ -75125,7 +75145,11 @@ var _sfc_render$14 = function a() {
75125
75145
  t.associatedElement = o;
75126
75146
  }, expression: "associatedElement" } }, t._l(t.dateTimeList, function(o) {
75127
75147
  return r("a-select-option", { key: o.dataId, attrs: { value: o.dataId } }, [t._v(t._s(`${o.name}(${o.dataId})`))]);
75128
- }), 1)], 1), t.signType === 1 ? r("li", { staticClass: "control-item" }, [r("span", { staticClass: "label" }, [t._v("内联标识符")]), r("a-input", { attrs: { placeholder: "请输入内联标识符" }, model: { value: t.innerIdentifier, callback: function(o) {
75148
+ }), 1)], 1), t.signType === 1 ? r("li", { staticClass: "control-item" }, [r("span", { staticClass: "label" }, [t._v("关联患者关系元素")]), r("a-select", { attrs: { showSearch: "", allowClear: "", placeholder: "请选择关联患者关系元素", "filter-option": t.filterOption, getPopupContainer: (o) => o.parentNode }, model: { value: t.associatedPatientElement, callback: function(o) {
75149
+ t.associatedPatientElement = o;
75150
+ }, expression: "associatedPatientElement" } }, t._l(t.patientElementList, function(o) {
75151
+ return r("a-select-option", { key: o.dataId, attrs: { value: o.dataId } }, [t._v(t._s(`${o.name}(${o.dataId})`))]);
75152
+ }), 1)], 1) : t._e(), t.signType === 1 ? r("li", { staticClass: "control-item" }, [r("span", { staticClass: "label" }, [t._v("内联标识符")]), r("a-input", { attrs: { placeholder: "请输入内联标识符" }, model: { value: t.innerIdentifier, callback: function(o) {
75129
75153
  t.innerIdentifier = o;
75130
75154
  }, expression: "innerIdentifier" } })], 1) : t._e(), t.signType !== 1 ? r("li", { staticClass: "control-item" }, [r("div", { staticClass: "col-checkbox-group" }, [r("a-checkbox", { model: { value: t.isHigher, callback: function(o) {
75131
75155
  t.isHigher = o;
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-DBTgcDAr.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-CJWk6KWR.mjs";
2
2
  var fn = {}, cn = {}, cr, vn;
3
3
  function Q() {
4
4
  if (vn) return cr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hoeditor-web",
3
- "version": "3.3.6-beta.7",
3
+ "version": "3.3.6-beta.8",
4
4
  "private": false,
5
5
  "main": "lib/hoeditor.mjs",
6
6
  "typings": "types/index.d.ts",