hoeditor-web 3.2.60 → 3.2.63
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-
|
|
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-C77Q8cVc.mjs";
|
|
3
3
|
export {
|
|
4
4
|
i as HoDocs,
|
|
5
5
|
r as HoEditorProvide,
|
|
@@ -14940,7 +14940,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
14940
14940
|
}
|
|
14941
14941
|
}
|
|
14942
14942
|
}
|
|
14943
|
-
const version = "3.2.
|
|
14943
|
+
const version = "3.2.63";
|
|
14944
14944
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
14945
14945
|
class SignNode extends BaseNode {
|
|
14946
14946
|
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) {
|
|
@@ -30304,6 +30304,10 @@ class DocProperty {
|
|
|
30304
30304
|
//患者姓名
|
|
30305
30305
|
b(this, "_patientSex", "");
|
|
30306
30306
|
//患者性别
|
|
30307
|
+
b(this, "_patientAge", "");
|
|
30308
|
+
//患者年龄
|
|
30309
|
+
b(this, "_patientWeight", "");
|
|
30310
|
+
//患者体重
|
|
30307
30311
|
b(this, "_lastEditTime");
|
|
30308
30312
|
//最后一次修改(保存)时间
|
|
30309
30313
|
b(this, "_lastEditorID");
|
|
@@ -30364,6 +30368,18 @@ class DocProperty {
|
|
|
30364
30368
|
set patientName(t) {
|
|
30365
30369
|
t !== this._patientName && (this._patientName = t);
|
|
30366
30370
|
}
|
|
30371
|
+
get patientAge() {
|
|
30372
|
+
return this._patientAge;
|
|
30373
|
+
}
|
|
30374
|
+
set patientAge(t) {
|
|
30375
|
+
t !== this._patientAge && (this._patientAge = t);
|
|
30376
|
+
}
|
|
30377
|
+
get patientWeight() {
|
|
30378
|
+
return this._patientWeight;
|
|
30379
|
+
}
|
|
30380
|
+
set patientWeight(t) {
|
|
30381
|
+
t !== this._patientWeight && (this._patientWeight = t);
|
|
30382
|
+
}
|
|
30367
30383
|
get patientSex() {
|
|
30368
30384
|
return this._patientSex;
|
|
30369
30385
|
}
|
|
@@ -64438,7 +64454,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
64438
64454
|
(function(a) {
|
|
64439
64455
|
function t() {
|
|
64440
64456
|
return function() {
|
|
64441
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
64457
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-0cVfWWtJ.mjs");
|
|
64442
64458
|
}().catch(function(r) {
|
|
64443
64459
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
64444
64460
|
}).then(function(r) {
|
|
@@ -73195,7 +73211,7 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73195
73211
|
r(new Error("体重不能为空"));
|
|
73196
73212
|
return;
|
|
73197
73213
|
}
|
|
73198
|
-
if (!/^\d{
|
|
73214
|
+
if (!/^\d+(\.\d{1,2})?$/.test(t)) {
|
|
73199
73215
|
r(new Error("请输入正确的体重"));
|
|
73200
73216
|
return;
|
|
73201
73217
|
}
|
|
@@ -73212,7 +73228,7 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73212
73228
|
r(new Error("scr不能为空"));
|
|
73213
73229
|
return;
|
|
73214
73230
|
}
|
|
73215
|
-
if (!/^\d{
|
|
73231
|
+
if (!/^\d+(\.\d{1,2})?$/.test(t)) {
|
|
73216
73232
|
r(new Error("请输入正确的scr"));
|
|
73217
73233
|
return;
|
|
73218
73234
|
}
|
|
@@ -73229,8 +73245,8 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73229
73245
|
r();
|
|
73230
73246
|
return;
|
|
73231
73247
|
}
|
|
73232
|
-
if (!/^\d{
|
|
73233
|
-
r(new Error("
|
|
73248
|
+
if (!/^\d+(\.\d{1,2})?$/.test(t) || t < 5 || t > 7) {
|
|
73249
|
+
r(new Error("请输入5-7之间的数字"));
|
|
73234
73250
|
return;
|
|
73235
73251
|
}
|
|
73236
73252
|
r();
|
|
@@ -73338,7 +73354,10 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73338
73354
|
} else this.expressStyle == "style11" && (this.style11 = { ...a });
|
|
73339
73355
|
} else if (this.expressStyle == "style13") {
|
|
73340
73356
|
const a = this.vueController.getDocProperty();
|
|
73341
|
-
this.style13.sex = a.patientSex || "1"
|
|
73357
|
+
if (this.style13.sex = a.patientSex || "1", this.style13.weight = a.patientWeight || "", a.patientAge) {
|
|
73358
|
+
const t = a.patientAge.match(/(\d+)岁/);
|
|
73359
|
+
this.style13.age = t ? t[1] : "";
|
|
73360
|
+
}
|
|
73342
73361
|
}
|
|
73343
73362
|
},
|
|
73344
73363
|
methods: {
|
|
@@ -73742,7 +73761,7 @@ var _sfc_render$15 = function a() {
|
|
|
73742
73761
|
t.$set(t.style13, "weight", o);
|
|
73743
73762
|
}, expression: "style13.weight" } })], 1)], 1)], 1), r("a-row", { attrs: { gutter: 16 } }, [r("a-col", { attrs: { span: 12 } }, [r("a-form-model-item", { attrs: { label: "血清肌酐(scr)", prop: "scr" } }, [r("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "血清肌酐", suffix: "mg/dL" }, model: { value: t.style13.scr, callback: function(o) {
|
|
73744
73763
|
t.$set(t.style13, "scr", o);
|
|
73745
|
-
}, expression: "style13.scr" } })], 1)], 1), r("a-col", { attrs: { span: 12 } }, [r("a-form-model-item", { attrs: { label: "AUC(可选)", prop: "auc" } }, [r("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "AUC", suffix: "
|
|
73764
|
+
}, expression: "style13.scr" } })], 1)], 1), r("a-col", { attrs: { span: 12 } }, [r("a-form-model-item", { attrs: { label: "AUC(可选)", prop: "auc" } }, [r("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "AUC", suffix: "" }, model: { value: t.style13.auc, callback: function(o) {
|
|
73746
73765
|
t.$set(t.style13, "auc", o);
|
|
73747
73766
|
}, expression: "style13.auc" } })], 1)], 1)], 1)], 1), r("div", { staticClass: "style12-card", staticStyle: { "margin-top": "6px" } }, [t._m(7), r("div", { staticClass: "style12-card-content" }, [t.style13.ccr ? r("p", [t._v("CCR(肌酐清除率) = " + t._s(t.style13.ccr) + " mL/min")]) : t._e(), t.style13.dose ? r("p", [t._v("Carboplatin(卡铂剂量) = " + t._s(t.style13.dose) + " mg")]) : t._e()])])], 1)] : t._e()], 2), r("footer", { staticClass: "dialog-footer" }, [r("a-button", { staticStyle: { margin: "0 20px 0 0" }, attrs: { type: "primary" }, on: { click: t.sure } }, [t._v(i18nHelper("04-001-009-EMR.3.3.347", null, "确定"))]), t.expressStyle === "style8" || t.expressStyle === "style9" || t.expressStyle === "style10" ? r("a-button", { staticStyle: { margin: "0 20px 0 0" }, on: { click: t.reset } }, [t._v(i18nHelper("04-001-009-EMR.3.3.203", null, "重置"))]) : t._e(), t.expressStyle === "style8" || t.expressStyle === "style9" ? r("a-button", { staticStyle: { margin: "0 20px 0 0" }, on: { click: t.reverse } }, [t._v(i18nHelper("04-001-009-EMR.3.3.202", null, "反选"))]) : t._e(), t.expressStyle === "style8" || t.expressStyle === "style9" || t.expressStyle === "style10" ? r("a-button", { staticStyle: { margin: "0 20px 0 0" }, on: { click: t.all } }, [t._v(i18nHelper("04-001-009-EMR.3.3.201", null, "全选"))]) : t._e(), r("a-button", { on: { click: t.cancel } }, [t._v(i18nHelper("04-001-009-EMR.3.3.346", null, "取消"))])], 1)]);
|
|
73748
73767
|
}, _sfc_staticRenderFns$15 = [function() {
|