hoeditor-web 3.1.231 → 3.1.233
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 +184 -62
- 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
|
+
/***/ 36356:
|
|
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=38180e2f
|
|
99170
99178
|
|
|
99171
99179
|
var render = function render() {
|
|
99172
99180
|
var _vm = this,
|
|
@@ -99459,11 +99467,38 @@ 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"), _c('span', {
|
|
99493
|
+
staticStyle: {
|
|
99494
|
+
"color": "red"
|
|
99495
|
+
}
|
|
99496
|
+
}, [_vm._v("(推荐)")])])], 1), _c('div', {
|
|
99463
99497
|
staticClass: "ho-table-features-list"
|
|
99464
99498
|
}, [_c('p', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.292", null, "体重"))]), _c('a-input', {
|
|
99465
99499
|
attrs: {
|
|
99466
|
-
"autocomplete": "off"
|
|
99500
|
+
"autocomplete": "off",
|
|
99501
|
+
"addon-after": "kg"
|
|
99467
99502
|
},
|
|
99468
99503
|
model: {
|
|
99469
99504
|
value: _vm.bodySurfaceAreaWeight,
|
|
@@ -99472,7 +99507,31 @@ var render = function render() {
|
|
|
99472
99507
|
},
|
|
99473
99508
|
expression: "bodySurfaceAreaWeight"
|
|
99474
99509
|
}
|
|
99475
|
-
})], 1)
|
|
99510
|
+
})], 1), _vm.bodySurfaceAreaType == '1' ? _c('div', {
|
|
99511
|
+
staticClass: "ho-table-features-list"
|
|
99512
|
+
}, [_c('p', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.293", null, "身高"))]), _c('a-input', {
|
|
99513
|
+
attrs: {
|
|
99514
|
+
"autocomplete": "off",
|
|
99515
|
+
"addon-after": "cm"
|
|
99516
|
+
},
|
|
99517
|
+
model: {
|
|
99518
|
+
value: _vm.bodySurfaceAreaHeight,
|
|
99519
|
+
callback: function ($$v) {
|
|
99520
|
+
_vm.bodySurfaceAreaHeight = $$v;
|
|
99521
|
+
},
|
|
99522
|
+
expression: "bodySurfaceAreaHeight"
|
|
99523
|
+
}
|
|
99524
|
+
})], 1) : _vm._e()], 1) : _vm.formula === 'idealWeight' ? _c('section', [_c('div', {
|
|
99525
|
+
staticStyle: {
|
|
99526
|
+
"height": "36px",
|
|
99527
|
+
"line-height": "36px"
|
|
99528
|
+
}
|
|
99529
|
+
}, [_vm._v("示例:理想体重 = (身高cm)-105")]), _c('div', {
|
|
99530
|
+
staticStyle: {
|
|
99531
|
+
"height": "36px",
|
|
99532
|
+
"line-height": "36px"
|
|
99533
|
+
}
|
|
99534
|
+
}, [_vm._v("范围 = (0.9 * (身高(cm) - 105)) ~ (1.1 * (身高(cm) - 105)), 计算结果小于0时, 显示“?”")]), _c('div', {
|
|
99476
99535
|
staticClass: "ho-table-features-list"
|
|
99477
99536
|
}, [_c('span', {
|
|
99478
99537
|
staticStyle: {
|
|
@@ -99480,7 +99539,8 @@ var render = function render() {
|
|
|
99480
99539
|
}
|
|
99481
99540
|
}, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.293", null, "身高"))]), _c('a-input', {
|
|
99482
99541
|
attrs: {
|
|
99483
|
-
"autocomplete": "off"
|
|
99542
|
+
"autocomplete": "off",
|
|
99543
|
+
"addon-after": "cm"
|
|
99484
99544
|
},
|
|
99485
99545
|
model: {
|
|
99486
99546
|
value: _vm.idealWeightHeight,
|
|
@@ -99503,7 +99563,7 @@ var render = function render() {
|
|
|
99503
99563
|
}
|
|
99504
99564
|
})], 1)]) : _vm.formula === 'iss' ? _c('section', [_c('div', {
|
|
99505
99565
|
staticClass: "ho-table-features-list"
|
|
99506
|
-
}, [_vm._m(
|
|
99566
|
+
}, [_vm._m(1), _c('a-input', {
|
|
99507
99567
|
staticStyle: {
|
|
99508
99568
|
"margin-top": "10px"
|
|
99509
99569
|
},
|
|
@@ -99770,6 +99830,19 @@ var render = function render() {
|
|
|
99770
99830
|
}, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.346", null, "取消"))])], 1)]);
|
|
99771
99831
|
};
|
|
99772
99832
|
var staticRenderFns = [function () {
|
|
99833
|
+
var _vm = this,
|
|
99834
|
+
_c = _vm._self._c;
|
|
99835
|
+
return _c('div', {
|
|
99836
|
+
staticStyle: {
|
|
99837
|
+
"line-height": "20px",
|
|
99838
|
+
"font-size": "14px"
|
|
99839
|
+
}
|
|
99840
|
+
}, [_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('span', {
|
|
99841
|
+
staticStyle: {
|
|
99842
|
+
"color": "red"
|
|
99843
|
+
}
|
|
99844
|
+
}, [_vm._v("(推荐)")])]), _c('p', [_vm._v("BSA (m²) =0.0061*身高 (cm) +0.0128*体重(kg) -0.1529")]), _c('p', [_vm._v(" ")])]);
|
|
99845
|
+
}, function () {
|
|
99773
99846
|
var _vm = this,
|
|
99774
99847
|
_c = _vm._self._c;
|
|
99775
99848
|
return _c('p', {
|
|
@@ -99779,7 +99852,7 @@ var staticRenderFns = [function () {
|
|
|
99779
99852
|
}, [_c('span', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.254", null, "单元格编号"))]), _vm._v(":")]);
|
|
99780
99853
|
}];
|
|
99781
99854
|
|
|
99782
|
-
;// ./src/components/controls/table/TableFormula.vue?vue&type=template&id=
|
|
99855
|
+
;// ./src/components/controls/table/TableFormula.vue?vue&type=template&id=38180e2f
|
|
99783
99856
|
|
|
99784
99857
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
99785
99858
|
var es_array_push = __webpack_require__(44114);
|
|
@@ -99888,9 +99961,11 @@ var HoColorPicker = __webpack_require__(53071);
|
|
|
99888
99961
|
// "视力曲线图(Visual Acuity Curve)是眼科检查中常用的一种工具,用于评估和记录不同距离或不同条件下的视力情况。通过绘制视力曲线图,医生可以直观地了解患者的视力变化,从而帮助诊断和治疗各种眼部疾病。",
|
|
99889
99962
|
// "横轴(X轴): 通常表示距离,单位可以是米(m)或英尺(ft), 值域区间为(+2.00 到 -5.00, 每单元格间隔为0.5)",
|
|
99890
99963
|
// "纵轴(Y轴): 表示视力,通常以最小分辨角对数表示。值域区间为(0.0到1.5之间, 每单元格间隔为0.1)",
|
|
99891
|
-
|
|
99964
|
+
'单元格编号:(a1:a3表示从a1到a3的连续单元格)']
|
|
99892
99965
|
},
|
|
99966
|
+
bodySurfaceAreaType: '1',
|
|
99893
99967
|
bodySurfaceAreaWeight: '',
|
|
99968
|
+
bodySurfaceAreaHeight: '',
|
|
99894
99969
|
startDateCode: '',
|
|
99895
99970
|
endDateCode: '',
|
|
99896
99971
|
idealWeightHeight: '',
|
|
@@ -99988,6 +100063,11 @@ var HoColorPicker = __webpack_require__(53071);
|
|
|
99988
100063
|
if (node.formularProperty) {
|
|
99989
100064
|
this.curve = (0,objectSpread2/* default */.A)({}, node.formularProperty);
|
|
99990
100065
|
}
|
|
100066
|
+
} else if (this.formula === 'bodySurfaceArea') {
|
|
100067
|
+
const bodySurfaceAreaArr = node.formulaStr ? node.formulaStr.split('__') : ['', '', ''];
|
|
100068
|
+
this.bodySurfaceAreaWeight = bodySurfaceAreaArr[0];
|
|
100069
|
+
this.bodySurfaceAreaHeight = bodySurfaceAreaArr[1];
|
|
100070
|
+
this.bodySurfaceAreaType = bodySurfaceAreaArr[2];
|
|
99991
100071
|
}
|
|
99992
100072
|
}
|
|
99993
100073
|
}
|
|
@@ -100039,7 +100119,7 @@ var HoColorPicker = __webpack_require__(53071);
|
|
|
100039
100119
|
} else if (this.formula === 'costumRowColumns') {
|
|
100040
100120
|
this.vueController.insertTable(this.form.rows, this.form.columns);
|
|
100041
100121
|
} else if (this.formula === 'bodySurfaceArea') {
|
|
100042
|
-
this.vueController.insertTableFormula(`${this.bodySurfaceAreaWeight}`.toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType */.D.ftBodySurfaceArea);
|
|
100122
|
+
this.vueController.insertTableFormula(`${this.bodySurfaceAreaWeight}__${this.bodySurfaceAreaHeight}__${this.bodySurfaceAreaType}`.toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType */.D.ftBodySurfaceArea);
|
|
100043
100123
|
} else if (this.formula === 'ftCalcDays') {
|
|
100044
100124
|
this.vueController.insertTableFormula(`${this.startDateCode},${this.endDateCode}`.toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType */.D.ftCalcDays);
|
|
100045
100125
|
} else if (this.formula === 'ftCalcTime') {
|
|
@@ -100080,10 +100160,10 @@ var HoColorPicker = __webpack_require__(53071);
|
|
|
100080
100160
|
|
|
100081
100161
|
/* harmony default export */ var table_TableFormulavue_type_script_lang_js = (TableFormulavue_type_script_lang_js);
|
|
100082
100162
|
|
|
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=
|
|
100163
|
+
;// ./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=38180e2f&prod&lang=less
|
|
100084
100164
|
// extracted by mini-css-extract-plugin
|
|
100085
100165
|
|
|
100086
|
-
;// ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=
|
|
100166
|
+
;// ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=38180e2f&prod&lang=less
|
|
100087
100167
|
|
|
100088
100168
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
100089
100169
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -108211,7 +108291,7 @@ const textParams = {
|
|
|
108211
108291
|
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
|
108212
108292
|
|
|
108213
108293
|
"use strict";
|
|
108214
|
-
/* harmony default export */ __webpack_exports__.A = ('3.1.
|
|
108294
|
+
/* harmony default export */ __webpack_exports__.A = ('3.1.233');
|
|
108215
108295
|
|
|
108216
108296
|
/***/ }),
|
|
108217
108297
|
|
|
@@ -109313,9 +109393,7 @@ ctx.prototype.__applyCurrentDefaultPath = function () {
|
|
|
109313
109393
|
var currentElement = this.__currentElement;
|
|
109314
109394
|
if (currentElement.nodeName === "path") {
|
|
109315
109395
|
currentElement.setAttribute("d", this.__currentDefaultPath);
|
|
109316
|
-
} else {
|
|
109317
|
-
console.error("Attempted to apply path command to node", currentElement.nodeName);
|
|
109318
|
-
}
|
|
109396
|
+
} else {}
|
|
109319
109397
|
};
|
|
109320
109398
|
|
|
109321
109399
|
/**
|
|
@@ -131988,25 +132066,47 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
131988
132066
|
let strRet = " ";
|
|
131989
132067
|
const table = this.getParentCell().table;
|
|
131990
132068
|
if (this.formulaStr == "") {
|
|
131991
|
-
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
131992
132069
|
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
132070
|
}
|
|
131994
|
-
const
|
|
131995
|
-
|
|
131996
|
-
|
|
131997
|
-
|
|
131998
|
-
|
|
131999
|
-
|
|
132000
|
-
if (
|
|
132001
|
-
const
|
|
132002
|
-
if (
|
|
132003
|
-
|
|
132004
|
-
if (
|
|
132005
|
-
|
|
132006
|
-
}
|
|
132007
|
-
|
|
132071
|
+
const arr = this.formulaStr.split("__");
|
|
132072
|
+
let srow, scol, erow, ecol;
|
|
132073
|
+
let weightNum = 0;
|
|
132074
|
+
if (arr[0]) {
|
|
132075
|
+
[srow, scol] = this.getRowColByCellAdress(arr[0]);
|
|
132076
|
+
if (srow >= 0 && scol >= 0) {
|
|
132077
|
+
if (!table.rows[srow]) return strRet;
|
|
132078
|
+
const wCell = table.rows[srow][scol];
|
|
132079
|
+
if (wCell) {
|
|
132080
|
+
const [wRet, weight] = this.getCellNumber(table, srow, scol);
|
|
132081
|
+
if (wRet && weight) {
|
|
132082
|
+
weightNum = Number(weight);
|
|
132083
|
+
}
|
|
132084
|
+
}
|
|
132085
|
+
}
|
|
132086
|
+
}
|
|
132087
|
+
if (arr[2] != '1' && weightNum) {
|
|
132088
|
+
let num = 0;
|
|
132089
|
+
if (weightNum > 30) {
|
|
132090
|
+
num = 1.05 + (weightNum - 30) * 0.02;
|
|
132091
|
+
} else {
|
|
132092
|
+
num = 0.035 * weightNum + 0.1;
|
|
132093
|
+
}
|
|
132094
|
+
return num.toFixed(2);
|
|
132095
|
+
} else if (weightNum) {
|
|
132096
|
+
let heightNum = 0;
|
|
132097
|
+
if (arr[1]) {
|
|
132098
|
+
[erow, ecol] = this.getRowColByCellAdress(arr[1]);
|
|
132099
|
+
if (erow >= 0 && ecol >= 0) {
|
|
132100
|
+
if (!table.rows[erow]) return strRet;
|
|
132101
|
+
const wCell = table.rows[erow][ecol];
|
|
132102
|
+
if (wCell) {
|
|
132103
|
+
const [hRet, height] = this.getCellNumber(table, erow, ecol);
|
|
132104
|
+
if (hRet && height) {
|
|
132105
|
+
heightNum = Number(height);
|
|
132106
|
+
let result = 0.0061 * heightNum + 0.0128 * weightNum - 0.1529;
|
|
132107
|
+
return result.toFixed(4);
|
|
132108
|
+
}
|
|
132008
132109
|
}
|
|
132009
|
-
strRet = num.toFixed(2);
|
|
132010
132110
|
}
|
|
132011
132111
|
}
|
|
132012
132112
|
}
|
|
@@ -132017,7 +132117,6 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
132017
132117
|
const table = this.getParentCell().table;
|
|
132018
132118
|
const arrStr = this.formulaStr.split(",");
|
|
132019
132119
|
if (arrStr.length < 2) {
|
|
132020
|
-
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
132021
132120
|
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
132121
|
return strRet;
|
|
132023
132122
|
}
|
|
@@ -140191,7 +140290,7 @@ class DrawLine extends DrawContainer/* DrawContainer */.g {
|
|
|
140191
140290
|
const ileft = leftWidthInfos[0];
|
|
140192
140291
|
// this.x = ;
|
|
140193
140292
|
if (leftWidthInfos[2]) {
|
|
140194
|
-
this.x = this.paragraphNode.combineParagraph.leftMarginPixes + ileft;
|
|
140293
|
+
this.x = this.paragraphNode.combineParagraph.leftMarginPixes + ileft + this.dLeft;
|
|
140195
140294
|
} else {
|
|
140196
140295
|
this.x = this.paragraphNode.combineParagraph.leftMarginPixes + this.dLeft;
|
|
140197
140296
|
}
|
|
@@ -162247,7 +162346,7 @@ var map = {
|
|
|
162247
162346
|
"./pageInfoes/PageInfoes.vue": 59507,
|
|
162248
162347
|
"./paragraph/ParagraphDialog.vue": 88281,
|
|
162249
162348
|
"./poperSelect/PoperMark.vue": 11382,
|
|
162250
|
-
"./poperSelect/PoperSelect.vue":
|
|
162349
|
+
"./poperSelect/PoperSelect.vue": 40797,
|
|
162251
162350
|
"./poperTipText/PoperTipText.vue": 29731,
|
|
162252
162351
|
"./popers/Poper.vue": 77363,
|
|
162253
162352
|
"./popers/Title.vue": 25562,
|
|
@@ -162264,7 +162363,7 @@ var map = {
|
|
|
162264
162363
|
"./table/TableColProperty.vue": 81078,
|
|
162265
162364
|
"./table/TableForm.vue": 35121,
|
|
162266
162365
|
"./table/TableFormTree.vue": 75295,
|
|
162267
|
-
"./table/TableFormula.vue":
|
|
162366
|
+
"./table/TableFormula.vue": 36356,
|
|
162268
162367
|
"./table/TableProperty.vue": 65356,
|
|
162269
162368
|
"./table/TableRowProperty.vue": 51653,
|
|
162270
162369
|
"./textDialog/TextBorderDialog.vue": 80713,
|
|
@@ -216384,7 +216483,7 @@ var entry_lib_EditorType = __webpack_require__(27195);
|
|
|
216384
216483
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
216385
216484
|
var entry_lib_plugins_util = __webpack_require__(14865);
|
|
216386
216485
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
|
|
216387
|
-
var entry_lib_PoperSelect = __webpack_require__(
|
|
216486
|
+
var entry_lib_PoperSelect = __webpack_require__(40797);
|
|
216388
216487
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
|
|
216389
216488
|
var entry_lib_PoperMark = __webpack_require__(11382);
|
|
216390
216489
|
;// ./src/components/controls/poperSelect/index.ts
|
|
@@ -227813,6 +227912,27 @@ class entry_lib_VueController {
|
|
|
227813
227912
|
}
|
|
227814
227913
|
return '';
|
|
227815
227914
|
}
|
|
227915
|
+
downLoadFile(file, fileName, fileType) {
|
|
227916
|
+
let name = fileName;
|
|
227917
|
+
let type = fileType;
|
|
227918
|
+
if (fileType == 'plain') {
|
|
227919
|
+
type = '.txt';
|
|
227920
|
+
name += type;
|
|
227921
|
+
} else if (fileType == 'json') {
|
|
227922
|
+
type = '.json';
|
|
227923
|
+
name += type;
|
|
227924
|
+
}
|
|
227925
|
+
const files = window.URL.createObjectURL(new Blob([file], {
|
|
227926
|
+
type: `text/${fileType}`
|
|
227927
|
+
}));
|
|
227928
|
+
const aElement = document.createElement('a');
|
|
227929
|
+
aElement.setAttribute('rel', 'noopener noreferrer');
|
|
227930
|
+
// aElement.setAttribute('target', '_blank');
|
|
227931
|
+
aElement.style.display = 'none';
|
|
227932
|
+
aElement.setAttribute('href', files);
|
|
227933
|
+
aElement.setAttribute('download', name);
|
|
227934
|
+
aElement.click();
|
|
227935
|
+
}
|
|
227816
227936
|
/**
|
|
227817
227937
|
* 文档标题
|
|
227818
227938
|
*/
|
|
@@ -245098,27 +245218,29 @@ class entry_lib_HoLocalStorage {
|
|
|
245098
245218
|
this._hoEditorFactoryID = hoEditorFactoryID;
|
|
245099
245219
|
}
|
|
245100
245220
|
initEvent(message) {
|
|
245101
|
-
|
|
245102
|
-
|
|
245103
|
-
|
|
245104
|
-
|
|
245105
|
-
|
|
245106
|
-
|
|
245107
|
-
|
|
245108
|
-
|
|
245109
|
-
|
|
245110
|
-
|
|
245111
|
-
|
|
245112
|
-
|
|
245113
|
-
|
|
245114
|
-
|
|
245115
|
-
|
|
245116
|
-
|
|
245117
|
-
|
|
245118
|
-
|
|
245119
|
-
|
|
245221
|
+
try {
|
|
245222
|
+
const _this = this;
|
|
245223
|
+
if (message && message.data) {
|
|
245224
|
+
const res = JSON.parse(message.data);
|
|
245225
|
+
if (res.result == true && res.res.cmd == 'GetList') {
|
|
245226
|
+
var _this$callBack;
|
|
245227
|
+
_this._localXmlList = res.res.EMR;
|
|
245228
|
+
(_this$callBack = _this.callBack) === null || _this$callBack === void 0 || _this$callBack.call(_this, _this._localXmlList);
|
|
245229
|
+
}
|
|
245230
|
+
if (res.result == true && res.res.cmd == 'Load') {
|
|
245231
|
+
var _this$callBackForLoad;
|
|
245232
|
+
_this._localXmlContent = res.res.EMR;
|
|
245233
|
+
(_this$callBackForLoad = _this.callBackForLoad) === null || _this$callBackForLoad === void 0 || _this$callBackForLoad.call(_this, _this._localXmlContent);
|
|
245234
|
+
}
|
|
245235
|
+
if (res.res && res.res.cmd == 'save') {
|
|
245236
|
+
// console.warn('HO浏览器自动保存病历=>' + (res.result == true ? '成功' : '失败'));
|
|
245237
|
+
} else if (!res.res) {
|
|
245238
|
+
// console.warn('HO浏览器自动保存病历=>失败');
|
|
245239
|
+
} else {
|
|
245240
|
+
return false;
|
|
245241
|
+
}
|
|
245120
245242
|
}
|
|
245121
|
-
}
|
|
245243
|
+
} catch (error) {}
|
|
245122
245244
|
}
|
|
245123
245245
|
removeEvent() {
|
|
245124
245246
|
try {
|