hoeditor-web 3.1.231 → 3.1.232
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.css +1 -1
- package/lib/hoeditor.umd.js +171 -60
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -87049,7 +87049,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
87049
87049
|
|
|
87050
87050
|
/***/ }),
|
|
87051
87051
|
|
|
87052
|
-
/***/
|
|
87052
|
+
/***/ 40797:
|
|
87053
87053
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
87054
87054
|
|
|
87055
87055
|
"use strict";
|
|
@@ -87067,7 +87067,7 @@ var es_regexp_exec = __webpack_require__(27495);
|
|
|
87067
87067
|
var es_string_replace = __webpack_require__(25440);
|
|
87068
87068
|
// EXTERNAL MODULE: ./src/i18n/index.ts + 1 modules
|
|
87069
87069
|
var i18n = __webpack_require__(49850);
|
|
87070
|
-
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
87070
|
+
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=0d9a88f6
|
|
87071
87071
|
|
|
87072
87072
|
|
|
87073
87073
|
|
|
@@ -87405,6 +87405,10 @@ var render = function render() {
|
|
|
87405
87405
|
})], 2) : _vm._e()], 2)]) : _vm._e(), _vm.poperType === 'selectPoper' && !_vm.isAllowMultiSelect ? _c('footer', {
|
|
87406
87406
|
staticClass: "select-poper-footer"
|
|
87407
87407
|
}, [_c('a-button', {
|
|
87408
|
+
on: {
|
|
87409
|
+
"click": _vm.cancelSelectClose
|
|
87410
|
+
}
|
|
87411
|
+
}, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.533", null, "清空"))]), _c('a-button', {
|
|
87408
87412
|
on: {
|
|
87409
87413
|
"click": _vm.handleClose
|
|
87410
87414
|
}
|
|
@@ -87577,7 +87581,7 @@ var render = function render() {
|
|
|
87577
87581
|
};
|
|
87578
87582
|
var staticRenderFns = [];
|
|
87579
87583
|
|
|
87580
|
-
;// ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
87584
|
+
;// ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=0d9a88f6
|
|
87581
87585
|
|
|
87582
87586
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
87583
87587
|
var es_array_push = __webpack_require__(44114);
|
|
@@ -90251,6 +90255,10 @@ const columns = [{
|
|
|
90251
90255
|
this.selectedId = '';
|
|
90252
90256
|
this.mutexType = '';
|
|
90253
90257
|
},
|
|
90258
|
+
cancelSelectClose() {
|
|
90259
|
+
this.cancelSelect();
|
|
90260
|
+
this.sureSelect();
|
|
90261
|
+
},
|
|
90254
90262
|
// 选中
|
|
90255
90263
|
sureSelect(isAutoInput) {
|
|
90256
90264
|
console.time('下拉选中时间');
|
|
@@ -90431,10 +90439,10 @@ const columns = [{
|
|
|
90431
90439
|
|
|
90432
90440
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js = (PoperSelectvue_type_script_lang_js);
|
|
90433
90441
|
|
|
90434
|
-
;// ./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/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
90442
|
+
;// ./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/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0d9a88f6&prod&lang=less
|
|
90435
90443
|
// extracted by mini-css-extract-plugin
|
|
90436
90444
|
|
|
90437
|
-
;// ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
90445
|
+
;// ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=0d9a88f6&prod&lang=less
|
|
90438
90446
|
|
|
90439
90447
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
90440
90448
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -99152,7 +99160,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
99152
99160
|
|
|
99153
99161
|
/***/ }),
|
|
99154
99162
|
|
|
99155
|
-
/***/
|
|
99163
|
+
/***/ 57500:
|
|
99156
99164
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
99157
99165
|
|
|
99158
99166
|
"use strict";
|
|
@@ -99166,7 +99174,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
99166
99174
|
|
|
99167
99175
|
// EXTERNAL MODULE: ./src/i18n/index.ts + 1 modules
|
|
99168
99176
|
var i18n = __webpack_require__(49850);
|
|
99169
|
-
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=template&id=
|
|
99177
|
+
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[3].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[5]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=template&id=184ba8fc
|
|
99170
99178
|
|
|
99171
99179
|
var render = function render() {
|
|
99172
99180
|
var _vm = this,
|
|
@@ -99459,7 +99467,29 @@ var render = function render() {
|
|
|
99459
99467
|
attrs: {
|
|
99460
99468
|
"type": "folder-add"
|
|
99461
99469
|
}
|
|
99462
|
-
})], 1)], 1)], 2)])]) : _vm.formula === 'bodySurfaceArea' ? _c('section', [_c('
|
|
99470
|
+
})], 1)], 1)], 2)])]) : _vm.formula === 'bodySurfaceArea' ? _c('section', [_vm._m(0), _c('a-radio-group', {
|
|
99471
|
+
staticStyle: {
|
|
99472
|
+
"font-size": "14px"
|
|
99473
|
+
},
|
|
99474
|
+
attrs: {
|
|
99475
|
+
"size": "large"
|
|
99476
|
+
},
|
|
99477
|
+
model: {
|
|
99478
|
+
value: _vm.bodySurfaceAreaType,
|
|
99479
|
+
callback: function ($$v) {
|
|
99480
|
+
_vm.bodySurfaceAreaType = $$v;
|
|
99481
|
+
},
|
|
99482
|
+
expression: "bodySurfaceAreaType"
|
|
99483
|
+
}
|
|
99484
|
+
}, [_c('a-radio', {
|
|
99485
|
+
attrs: {
|
|
99486
|
+
"value": "0"
|
|
99487
|
+
}
|
|
99488
|
+
}, [_vm._v("体表面积公式1")]), _c('a-radio', {
|
|
99489
|
+
attrs: {
|
|
99490
|
+
"value": "1"
|
|
99491
|
+
}
|
|
99492
|
+
}, [_vm._v("体表面积公式2")])], 1), _c('div', {
|
|
99463
99493
|
staticClass: "ho-table-features-list"
|
|
99464
99494
|
}, [_c('p', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.292", null, "体重"))]), _c('a-input', {
|
|
99465
99495
|
attrs: {
|
|
@@ -99472,7 +99502,30 @@ var render = function render() {
|
|
|
99472
99502
|
},
|
|
99473
99503
|
expression: "bodySurfaceAreaWeight"
|
|
99474
99504
|
}
|
|
99475
|
-
})], 1)
|
|
99505
|
+
})], 1), _vm.bodySurfaceAreaType == '1' ? _c('div', {
|
|
99506
|
+
staticClass: "ho-table-features-list"
|
|
99507
|
+
}, [_c('p', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.293", null, "身高"))]), _c('a-input', {
|
|
99508
|
+
attrs: {
|
|
99509
|
+
"autocomplete": "off"
|
|
99510
|
+
},
|
|
99511
|
+
model: {
|
|
99512
|
+
value: _vm.bodySurfaceAreaHeight,
|
|
99513
|
+
callback: function ($$v) {
|
|
99514
|
+
_vm.bodySurfaceAreaHeight = $$v;
|
|
99515
|
+
},
|
|
99516
|
+
expression: "bodySurfaceAreaHeight"
|
|
99517
|
+
}
|
|
99518
|
+
})], 1) : _vm._e()], 1) : _vm.formula === 'idealWeight' ? _c('section', [_c('div', {
|
|
99519
|
+
staticStyle: {
|
|
99520
|
+
"height": "36px",
|
|
99521
|
+
"line-height": "36px"
|
|
99522
|
+
}
|
|
99523
|
+
}, [_vm._v("示例:理想体重= (身高m)-105")]), _c('div', {
|
|
99524
|
+
staticStyle: {
|
|
99525
|
+
"height": "36px",
|
|
99526
|
+
"line-height": "36px"
|
|
99527
|
+
}
|
|
99528
|
+
}, [_vm._v("范围 = (0.9 * (身高(cm) - 105)) ~ (1.1 * (身高(cm) - 105)), 计算结果小于0时, 显示“?”")]), _c('div', {
|
|
99476
99529
|
staticClass: "ho-table-features-list"
|
|
99477
99530
|
}, [_c('span', {
|
|
99478
99531
|
staticStyle: {
|
|
@@ -99503,7 +99556,7 @@ var render = function render() {
|
|
|
99503
99556
|
}
|
|
99504
99557
|
})], 1)]) : _vm.formula === 'iss' ? _c('section', [_c('div', {
|
|
99505
99558
|
staticClass: "ho-table-features-list"
|
|
99506
|
-
}, [_vm._m(
|
|
99559
|
+
}, [_vm._m(1), _c('a-input', {
|
|
99507
99560
|
staticStyle: {
|
|
99508
99561
|
"margin-top": "10px"
|
|
99509
99562
|
},
|
|
@@ -99770,6 +99823,15 @@ var render = function render() {
|
|
|
99770
99823
|
}, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.346", null, "取消"))])], 1)]);
|
|
99771
99824
|
};
|
|
99772
99825
|
var staticRenderFns = [function () {
|
|
99826
|
+
var _vm = this,
|
|
99827
|
+
_c = _vm._self._c;
|
|
99828
|
+
return _c('div', {
|
|
99829
|
+
staticStyle: {
|
|
99830
|
+
"line-height": "20px",
|
|
99831
|
+
"font-size": "14px"
|
|
99832
|
+
}
|
|
99833
|
+
}, [_c('p', [_vm._v(" 体表面积公式1: ")]), _c('p', [_vm._v("体重>30kg 体表面积= 1.05 + (体重kg - 30) * 0.02")]), _c('p', [_vm._v("体重<= 30kg 体表面积= 0.035 * 体重kg + 0.1")]), _c('p', [_vm._v(" ")]), _c('p', [_vm._v(" 体表面积公式2(推荐): ")]), _c('p', [_vm._v("BSA (m²) =0.0061*身高 (cm) +0.0128*体重(kg) -0.1529")]), _c('p', [_vm._v(" ")])]);
|
|
99834
|
+
}, function () {
|
|
99773
99835
|
var _vm = this,
|
|
99774
99836
|
_c = _vm._self._c;
|
|
99775
99837
|
return _c('p', {
|
|
@@ -99779,7 +99841,7 @@ var staticRenderFns = [function () {
|
|
|
99779
99841
|
}, [_c('span', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.254", null, "单元格编号"))]), _vm._v(":")]);
|
|
99780
99842
|
}];
|
|
99781
99843
|
|
|
99782
|
-
;// ./src/components/controls/table/TableFormula.vue?vue&type=template&id=
|
|
99844
|
+
;// ./src/components/controls/table/TableFormula.vue?vue&type=template&id=184ba8fc
|
|
99783
99845
|
|
|
99784
99846
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
99785
99847
|
var es_array_push = __webpack_require__(44114);
|
|
@@ -99888,9 +99950,11 @@ var HoColorPicker = __webpack_require__(53071);
|
|
|
99888
99950
|
// "视力曲线图(Visual Acuity Curve)是眼科检查中常用的一种工具,用于评估和记录不同距离或不同条件下的视力情况。通过绘制视力曲线图,医生可以直观地了解患者的视力变化,从而帮助诊断和治疗各种眼部疾病。",
|
|
99889
99951
|
// "横轴(X轴): 通常表示距离,单位可以是米(m)或英尺(ft), 值域区间为(+2.00 到 -5.00, 每单元格间隔为0.5)",
|
|
99890
99952
|
// "纵轴(Y轴): 表示视力,通常以最小分辨角对数表示。值域区间为(0.0到1.5之间, 每单元格间隔为0.1)",
|
|
99891
|
-
|
|
99953
|
+
'单元格编号:(a1:a3表示从a1到a3的连续单元格)']
|
|
99892
99954
|
},
|
|
99955
|
+
bodySurfaceAreaType: '0',
|
|
99893
99956
|
bodySurfaceAreaWeight: '',
|
|
99957
|
+
bodySurfaceAreaHeight: '',
|
|
99894
99958
|
startDateCode: '',
|
|
99895
99959
|
endDateCode: '',
|
|
99896
99960
|
idealWeightHeight: '',
|
|
@@ -99988,6 +100052,11 @@ var HoColorPicker = __webpack_require__(53071);
|
|
|
99988
100052
|
if (node.formularProperty) {
|
|
99989
100053
|
this.curve = (0,objectSpread2/* default */.A)({}, node.formularProperty);
|
|
99990
100054
|
}
|
|
100055
|
+
} else if (this.formula === 'bodySurfaceArea') {
|
|
100056
|
+
const bodySurfaceAreaArr = node.formulaStr ? node.formulaStr.split('__') : ['', '', ''];
|
|
100057
|
+
this.bodySurfaceAreaWeight = bodySurfaceAreaArr[0];
|
|
100058
|
+
this.bodySurfaceAreaHeight = bodySurfaceAreaArr[1];
|
|
100059
|
+
this.bodySurfaceAreaType = bodySurfaceAreaArr[2];
|
|
99991
100060
|
}
|
|
99992
100061
|
}
|
|
99993
100062
|
}
|
|
@@ -100039,7 +100108,7 @@ var HoColorPicker = __webpack_require__(53071);
|
|
|
100039
100108
|
} else if (this.formula === 'costumRowColumns') {
|
|
100040
100109
|
this.vueController.insertTable(this.form.rows, this.form.columns);
|
|
100041
100110
|
} else if (this.formula === 'bodySurfaceArea') {
|
|
100042
|
-
this.vueController.insertTableFormula(`${this.bodySurfaceAreaWeight}`.toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType */.D.ftBodySurfaceArea);
|
|
100111
|
+
this.vueController.insertTableFormula(`${this.bodySurfaceAreaWeight}__${this.bodySurfaceAreaHeight}__${this.bodySurfaceAreaType}`.toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType */.D.ftBodySurfaceArea);
|
|
100043
100112
|
} else if (this.formula === 'ftCalcDays') {
|
|
100044
100113
|
this.vueController.insertTableFormula(`${this.startDateCode},${this.endDateCode}`.toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType */.D.ftCalcDays);
|
|
100045
100114
|
} else if (this.formula === 'ftCalcTime') {
|
|
@@ -100080,10 +100149,10 @@ var HoColorPicker = __webpack_require__(53071);
|
|
|
100080
100149
|
|
|
100081
100150
|
/* harmony default export */ var table_TableFormulavue_type_script_lang_js = (TableFormulavue_type_script_lang_js);
|
|
100082
100151
|
|
|
100083
|
-
;// ./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/controls/table/TableFormula.vue?vue&type=style&index=0&id=
|
|
100152
|
+
;// ./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/controls/table/TableFormula.vue?vue&type=style&index=0&id=184ba8fc&prod&lang=less
|
|
100084
100153
|
// extracted by mini-css-extract-plugin
|
|
100085
100154
|
|
|
100086
|
-
;// ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=
|
|
100155
|
+
;// ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=184ba8fc&prod&lang=less
|
|
100087
100156
|
|
|
100088
100157
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
100089
100158
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -108211,7 +108280,7 @@ const textParams = {
|
|
|
108211
108280
|
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
|
108212
108281
|
|
|
108213
108282
|
"use strict";
|
|
108214
|
-
/* harmony default export */ __webpack_exports__.A = ('3.1.
|
|
108283
|
+
/* harmony default export */ __webpack_exports__.A = ('3.1.232');
|
|
108215
108284
|
|
|
108216
108285
|
/***/ }),
|
|
108217
108286
|
|
|
@@ -109313,9 +109382,7 @@ ctx.prototype.__applyCurrentDefaultPath = function () {
|
|
|
109313
109382
|
var currentElement = this.__currentElement;
|
|
109314
109383
|
if (currentElement.nodeName === "path") {
|
|
109315
109384
|
currentElement.setAttribute("d", this.__currentDefaultPath);
|
|
109316
|
-
} else {
|
|
109317
|
-
console.error("Attempted to apply path command to node", currentElement.nodeName);
|
|
109318
|
-
}
|
|
109385
|
+
} else {}
|
|
109319
109386
|
};
|
|
109320
109387
|
|
|
109321
109388
|
/**
|
|
@@ -131988,25 +132055,47 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
131988
132055
|
let strRet = " ";
|
|
131989
132056
|
const table = this.getParentCell().table;
|
|
131990
132057
|
if (this.formulaStr == "") {
|
|
131991
|
-
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
131992
132058
|
ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.442",null,"体重的单元格编号传入有误:") + this.formulaStr);
|
|
131993
132059
|
}
|
|
131994
|
-
const
|
|
131995
|
-
|
|
131996
|
-
|
|
131997
|
-
|
|
131998
|
-
|
|
131999
|
-
|
|
132000
|
-
if (
|
|
132001
|
-
const
|
|
132002
|
-
if (
|
|
132003
|
-
|
|
132004
|
-
if (
|
|
132005
|
-
|
|
132006
|
-
}
|
|
132007
|
-
|
|
132060
|
+
const arr = this.formulaStr.split("__");
|
|
132061
|
+
let srow, scol, erow, ecol;
|
|
132062
|
+
let weightNum = 0;
|
|
132063
|
+
if (arr[0]) {
|
|
132064
|
+
[srow, scol] = this.getRowColByCellAdress(arr[0]);
|
|
132065
|
+
if (srow >= 0 && scol >= 0) {
|
|
132066
|
+
if (!table.rows[srow]) return strRet;
|
|
132067
|
+
const wCell = table.rows[srow][scol];
|
|
132068
|
+
if (wCell) {
|
|
132069
|
+
const [wRet, weight] = this.getCellNumber(table, srow, scol);
|
|
132070
|
+
if (wRet && weight) {
|
|
132071
|
+
weightNum = Number(weight);
|
|
132072
|
+
}
|
|
132073
|
+
}
|
|
132074
|
+
}
|
|
132075
|
+
}
|
|
132076
|
+
if (arr[2] != '1' && weightNum) {
|
|
132077
|
+
let num = 0;
|
|
132078
|
+
if (weightNum > 30) {
|
|
132079
|
+
num = 1.05 + (weightNum - 30) * 0.02;
|
|
132080
|
+
} else {
|
|
132081
|
+
num = 0.035 * weightNum + 0.1;
|
|
132082
|
+
}
|
|
132083
|
+
return num.toFixed(2);
|
|
132084
|
+
} else if (weightNum) {
|
|
132085
|
+
let heightNum = 0;
|
|
132086
|
+
if (arr[1]) {
|
|
132087
|
+
[erow, ecol] = this.getRowColByCellAdress(arr[1]);
|
|
132088
|
+
if (erow >= 0 && ecol >= 0) {
|
|
132089
|
+
if (!table.rows[erow]) return strRet;
|
|
132090
|
+
const wCell = table.rows[erow][ecol];
|
|
132091
|
+
if (wCell) {
|
|
132092
|
+
const [hRet, height] = this.getCellNumber(table, erow, ecol);
|
|
132093
|
+
if (hRet && height) {
|
|
132094
|
+
heightNum = Number(height);
|
|
132095
|
+
let result = 0.0061 * heightNum + 0.0128 * weightNum - 0.1529;
|
|
132096
|
+
return result.toFixed(4);
|
|
132097
|
+
}
|
|
132008
132098
|
}
|
|
132009
|
-
strRet = num.toFixed(2);
|
|
132010
132099
|
}
|
|
132011
132100
|
}
|
|
132012
132101
|
}
|
|
@@ -132017,7 +132106,6 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
132017
132106
|
const table = this.getParentCell().table;
|
|
132018
132107
|
const arrStr = this.formulaStr.split(",");
|
|
132019
132108
|
if (arrStr.length < 2) {
|
|
132020
|
-
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
132021
132109
|
ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.441",null,"入院时间和出院时间对应的单元格编号传入有误:") + this.formulaStr);
|
|
132022
132110
|
return strRet;
|
|
132023
132111
|
}
|
|
@@ -140191,7 +140279,7 @@ class DrawLine extends DrawContainer/* DrawContainer */.g {
|
|
|
140191
140279
|
const ileft = leftWidthInfos[0];
|
|
140192
140280
|
// this.x = ;
|
|
140193
140281
|
if (leftWidthInfos[2]) {
|
|
140194
|
-
this.x = this.paragraphNode.combineParagraph.leftMarginPixes + ileft;
|
|
140282
|
+
this.x = this.paragraphNode.combineParagraph.leftMarginPixes + ileft + this.dLeft;
|
|
140195
140283
|
} else {
|
|
140196
140284
|
this.x = this.paragraphNode.combineParagraph.leftMarginPixes + this.dLeft;
|
|
140197
140285
|
}
|
|
@@ -162247,7 +162335,7 @@ var map = {
|
|
|
162247
162335
|
"./pageInfoes/PageInfoes.vue": 59507,
|
|
162248
162336
|
"./paragraph/ParagraphDialog.vue": 88281,
|
|
162249
162337
|
"./poperSelect/PoperMark.vue": 11382,
|
|
162250
|
-
"./poperSelect/PoperSelect.vue":
|
|
162338
|
+
"./poperSelect/PoperSelect.vue": 40797,
|
|
162251
162339
|
"./poperTipText/PoperTipText.vue": 29731,
|
|
162252
162340
|
"./popers/Poper.vue": 77363,
|
|
162253
162341
|
"./popers/Title.vue": 25562,
|
|
@@ -162264,7 +162352,7 @@ var map = {
|
|
|
162264
162352
|
"./table/TableColProperty.vue": 81078,
|
|
162265
162353
|
"./table/TableForm.vue": 35121,
|
|
162266
162354
|
"./table/TableFormTree.vue": 75295,
|
|
162267
|
-
"./table/TableFormula.vue":
|
|
162355
|
+
"./table/TableFormula.vue": 57500,
|
|
162268
162356
|
"./table/TableProperty.vue": 65356,
|
|
162269
162357
|
"./table/TableRowProperty.vue": 51653,
|
|
162270
162358
|
"./textDialog/TextBorderDialog.vue": 80713,
|
|
@@ -216384,7 +216472,7 @@ var entry_lib_EditorType = __webpack_require__(27195);
|
|
|
216384
216472
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
216385
216473
|
var entry_lib_plugins_util = __webpack_require__(14865);
|
|
216386
216474
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
|
|
216387
|
-
var entry_lib_PoperSelect = __webpack_require__(
|
|
216475
|
+
var entry_lib_PoperSelect = __webpack_require__(40797);
|
|
216388
216476
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
|
|
216389
216477
|
var entry_lib_PoperMark = __webpack_require__(11382);
|
|
216390
216478
|
;// ./src/components/controls/poperSelect/index.ts
|
|
@@ -227813,6 +227901,27 @@ class entry_lib_VueController {
|
|
|
227813
227901
|
}
|
|
227814
227902
|
return '';
|
|
227815
227903
|
}
|
|
227904
|
+
downLoadFile(file, fileName, fileType) {
|
|
227905
|
+
let name = fileName;
|
|
227906
|
+
let type = fileType;
|
|
227907
|
+
if (fileType == 'plain') {
|
|
227908
|
+
type = '.txt';
|
|
227909
|
+
name += type;
|
|
227910
|
+
} else if (fileType == 'json') {
|
|
227911
|
+
type = '.json';
|
|
227912
|
+
name += type;
|
|
227913
|
+
}
|
|
227914
|
+
const files = window.URL.createObjectURL(new Blob([file], {
|
|
227915
|
+
type: `text/${fileType}`
|
|
227916
|
+
}));
|
|
227917
|
+
const aElement = document.createElement('a');
|
|
227918
|
+
aElement.setAttribute('rel', 'noopener noreferrer');
|
|
227919
|
+
// aElement.setAttribute('target', '_blank');
|
|
227920
|
+
aElement.style.display = 'none';
|
|
227921
|
+
aElement.setAttribute('href', files);
|
|
227922
|
+
aElement.setAttribute('download', name);
|
|
227923
|
+
aElement.click();
|
|
227924
|
+
}
|
|
227816
227925
|
/**
|
|
227817
227926
|
* 文档标题
|
|
227818
227927
|
*/
|
|
@@ -245098,27 +245207,29 @@ class entry_lib_HoLocalStorage {
|
|
|
245098
245207
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
245099
245208
|
}
|
|
245100
245209
|
initEvent(message) {
|
|
245101
|
-
|
|
245102
|
-
|
|
245103
|
-
|
|
245104
|
-
|
|
245105
|
-
|
|
245106
|
-
|
|
245107
|
-
|
|
245108
|
-
|
|
245109
|
-
|
|
245110
|
-
|
|
245111
|
-
|
|
245112
|
-
|
|
245113
|
-
|
|
245114
|
-
|
|
245115
|
-
|
|
245116
|
-
|
|
245117
|
-
|
|
245118
|
-
|
|
245119
|
-
|
|
245210
|
+
try {
|
|
245211
|
+
const _this = this;
|
|
245212
|
+
if (message && message.data) {
|
|
245213
|
+
const res = JSON.parse(message.data);
|
|
245214
|
+
if (res.result == true && res.res.cmd == 'GetList') {
|
|
245215
|
+
var _this$callBack;
|
|
245216
|
+
_this._localXmlList = res.res.EMR;
|
|
245217
|
+
(_this$callBack = _this.callBack) === null || _this$callBack === void 0 || _this$callBack.call(_this, _this._localXmlList);
|
|
245218
|
+
}
|
|
245219
|
+
if (res.result == true && res.res.cmd == 'Load') {
|
|
245220
|
+
var _this$callBackForLoad;
|
|
245221
|
+
_this._localXmlContent = res.res.EMR;
|
|
245222
|
+
(_this$callBackForLoad = _this.callBackForLoad) === null || _this$callBackForLoad === void 0 || _this$callBackForLoad.call(_this, _this._localXmlContent);
|
|
245223
|
+
}
|
|
245224
|
+
if (res.res && res.res.cmd == 'save') {
|
|
245225
|
+
// console.warn('HO浏览器自动保存病历=>' + (res.result == true ? '成功' : '失败'));
|
|
245226
|
+
} else if (!res.res) {
|
|
245227
|
+
// console.warn('HO浏览器自动保存病历=>失败');
|
|
245228
|
+
} else {
|
|
245229
|
+
return false;
|
|
245230
|
+
}
|
|
245120
245231
|
}
|
|
245121
|
-
}
|
|
245232
|
+
} catch (error) {}
|
|
245122
245233
|
}
|
|
245123
245234
|
removeEvent() {
|
|
245124
245235
|
try {
|