hoeditor-web 3.1.200 → 3.1.201
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 +806 -219
- package/lib/hoeditor.umd.min.js +21 -21
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -103476,7 +103476,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
103476
103476
|
|
|
103477
103477
|
/***/ }),
|
|
103478
103478
|
|
|
103479
|
-
/***/
|
|
103479
|
+
/***/ 37667:
|
|
103480
103480
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
103481
103481
|
|
|
103482
103482
|
"use strict";
|
|
@@ -103490,7 +103490,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
103490
103490
|
|
|
103491
103491
|
// EXTERNAL MODULE: ./src/i18n/index.ts + 1 modules
|
|
103492
103492
|
var i18n = __webpack_require__(49850);
|
|
103493
|
-
;// ./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/TableCellProperty.vue?vue&type=template&id=
|
|
103493
|
+
;// ./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/TableCellProperty.vue?vue&type=template&id=7b23ba21
|
|
103494
103494
|
|
|
103495
103495
|
var render = function render() {
|
|
103496
103496
|
var _vm = this,
|
|
@@ -103849,7 +103849,9 @@ var render = function render() {
|
|
|
103849
103849
|
},
|
|
103850
103850
|
expression: "printGridLines"
|
|
103851
103851
|
}
|
|
103852
|
-
}, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.42", null, "打印边框"))]), _c('
|
|
103852
|
+
}, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.42", null, "打印边框"))])], 1), _c('li', {
|
|
103853
|
+
staticClass: "control-item"
|
|
103854
|
+
}, [_c('a-checkbox', {
|
|
103853
103855
|
model: {
|
|
103854
103856
|
value: _vm.isSignLock,
|
|
103855
103857
|
callback: function ($$v) {
|
|
@@ -103857,7 +103859,17 @@ var render = function render() {
|
|
|
103857
103859
|
},
|
|
103858
103860
|
expression: "isSignLock"
|
|
103859
103861
|
}
|
|
103860
|
-
}, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.585", null, "签名完成后锁定单元格"))])], 1)
|
|
103862
|
+
}, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.585", null, "签名完成后锁定单元格"))])], 1), _c('li', {
|
|
103863
|
+
staticClass: "control-item"
|
|
103864
|
+
}, [_c('a-checkbox', {
|
|
103865
|
+
model: {
|
|
103866
|
+
value: _vm.notAllowEdit,
|
|
103867
|
+
callback: function ($$v) {
|
|
103868
|
+
_vm.notAllowEdit = $$v;
|
|
103869
|
+
},
|
|
103870
|
+
expression: "notAllowEdit"
|
|
103871
|
+
}
|
|
103872
|
+
}, [_vm._v("不允许编辑单元格")])], 1)], 1)])])]), _c('a-tab-pane', {
|
|
103861
103873
|
key: "1",
|
|
103862
103874
|
attrs: {
|
|
103863
103875
|
"tab": /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.41", null, "双击属性")
|
|
@@ -104319,7 +104331,7 @@ var render = function render() {
|
|
|
104319
104331
|
};
|
|
104320
104332
|
var staticRenderFns = [];
|
|
104321
104333
|
|
|
104322
|
-
;// ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=
|
|
104334
|
+
;// ./src/components/controls/table/TableCellProperty.vue?vue&type=template&id=7b23ba21
|
|
104323
104335
|
|
|
104324
104336
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
104325
104337
|
var es_array_push = __webpack_require__(44114);
|
|
@@ -104454,6 +104466,8 @@ const columns = [{
|
|
|
104454
104466
|
// 打印边框
|
|
104455
104467
|
isSignLock: false,
|
|
104456
104468
|
// 锁定单元格
|
|
104469
|
+
notAllowEdit: false,
|
|
104470
|
+
// 是否允许编辑
|
|
104457
104471
|
cellTop: 0,
|
|
104458
104472
|
cellBottom: 0,
|
|
104459
104473
|
cellLeft: 0,
|
|
@@ -104526,6 +104540,7 @@ const columns = [{
|
|
|
104526
104540
|
this.alignTextToGridline = cellNode.cellProperty.alignTextToGridline;
|
|
104527
104541
|
this.printGridLines = cellNode.cellProperty.printGridLines;
|
|
104528
104542
|
this.isSignLock = cellNode.cellProperty.isSignLock ? cellNode.cellProperty.isSignLock : false;
|
|
104543
|
+
this.notAllowEdit = cellNode.cellProperty.notAllowEdit ? cellNode.cellProperty.notAllowEdit : false;
|
|
104529
104544
|
// 单元格内边距 上、下、左、右
|
|
104530
104545
|
[this.cellTop, this.cellBottom, this.cellLeft, this.cellRight] = cellNode.cellProperty.cellInnerMargin ? cellNode.cellProperty.cellInnerMargin : [0, 0, 0, 0];
|
|
104531
104546
|
this.editorProperty = cellNode.cellProperty.editorProperty;
|
|
@@ -104672,6 +104687,7 @@ const columns = [{
|
|
|
104672
104687
|
alignTextToGridline: this.alignTextToGridline,
|
|
104673
104688
|
printGridLines: this.printGridLines,
|
|
104674
104689
|
isSignLock: this.isSignLock,
|
|
104690
|
+
notAllowEdit: this.notAllowEdit,
|
|
104675
104691
|
obliqueSplitLine: this.obliqueSplitLine,
|
|
104676
104692
|
editorProperty: this.editorProperty
|
|
104677
104693
|
};
|
|
@@ -104716,10 +104732,10 @@ const columns = [{
|
|
|
104716
104732
|
|
|
104717
104733
|
/* harmony default export */ var table_TableCellPropertyvue_type_script_lang_js = (TableCellPropertyvue_type_script_lang_js);
|
|
104718
104734
|
|
|
104719
|
-
;// ./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/TableCellProperty.vue?vue&type=style&index=0&id=
|
|
104735
|
+
;// ./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/TableCellProperty.vue?vue&type=style&index=0&id=7b23ba21&prod&lang=less
|
|
104720
104736
|
// extracted by mini-css-extract-plugin
|
|
104721
104737
|
|
|
104722
|
-
;// ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=
|
|
104738
|
+
;// ./src/components/controls/table/TableCellProperty.vue?vue&type=style&index=0&id=7b23ba21&prod&lang=less
|
|
104723
104739
|
|
|
104724
104740
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
104725
104741
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -106120,7 +106136,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
106120
106136
|
|
|
106121
106137
|
/***/ }),
|
|
106122
106138
|
|
|
106123
|
-
/***/
|
|
106139
|
+
/***/ 68707:
|
|
106124
106140
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
106125
106141
|
|
|
106126
106142
|
"use strict";
|
|
@@ -106134,7 +106150,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
106134
106150
|
|
|
106135
106151
|
// EXTERNAL MODULE: ./src/i18n/index.ts + 1 modules
|
|
106136
106152
|
var i18n = __webpack_require__(49850);
|
|
106137
|
-
;// ./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=
|
|
106153
|
+
;// ./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=22ffd471
|
|
106138
106154
|
|
|
106139
106155
|
var render = function render() {
|
|
106140
106156
|
var _vm = this,
|
|
@@ -106202,7 +106218,7 @@ var render = function render() {
|
|
|
106202
106218
|
},
|
|
106203
106219
|
expression: "simpleFormula"
|
|
106204
106220
|
}
|
|
106205
|
-
})], 1) : _vm.
|
|
106221
|
+
})], 1) : _vm.formula === 'bmi' ? _c('section', [_c('div', {
|
|
106206
106222
|
staticClass: "ho-table-features-list"
|
|
106207
106223
|
}, [_c('p', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.293", null, "身高"))]), _c('a-input', {
|
|
106208
106224
|
attrs: {
|
|
@@ -106228,7 +106244,7 @@ var render = function render() {
|
|
|
106228
106244
|
},
|
|
106229
106245
|
expression: "weight"
|
|
106230
106246
|
}
|
|
106231
|
-
})], 1)]) : _vm.
|
|
106247
|
+
})], 1)]) : _vm.formula === 'labor' ? _c('section', [_c('a-checkbox', {
|
|
106232
106248
|
model: {
|
|
106233
106249
|
value: _vm.isHideZero,
|
|
106234
106250
|
callback: function ($$v) {
|
|
@@ -106307,7 +106323,7 @@ var render = function render() {
|
|
|
106307
106323
|
},
|
|
106308
106324
|
expression: "labor3"
|
|
106309
106325
|
}
|
|
106310
|
-
})], 1) : _vm._e()], 1) : _vm.
|
|
106326
|
+
})], 1) : _vm._e()], 1) : _vm.formula === 'expectedDate' || _vm.formula === 'pregnantDays' || _vm.formula === 'pregnantWeeks' ? _c('section', [_c('div', {
|
|
106311
106327
|
staticClass: "ho-table-features-list"
|
|
106312
106328
|
}, [_c('p', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.272", null, "末次月经"))]), _c('a-input', {
|
|
106313
106329
|
attrs: {
|
|
@@ -106320,7 +106336,7 @@ var render = function render() {
|
|
|
106320
106336
|
},
|
|
106321
106337
|
expression: "expectedDate"
|
|
106322
106338
|
}
|
|
106323
|
-
})], 1)]) : _vm.
|
|
106339
|
+
})], 1)]) : _vm.formula === 'ftScoreMapping' ? _c('section', [_c('div', {
|
|
106324
106340
|
staticClass: "ho-table-features-list"
|
|
106325
106341
|
}, [_c('p', {
|
|
106326
106342
|
staticStyle: {
|
|
@@ -106427,7 +106443,7 @@ var render = function render() {
|
|
|
106427
106443
|
attrs: {
|
|
106428
106444
|
"type": "folder-add"
|
|
106429
106445
|
}
|
|
106430
|
-
})], 1)], 1)], 2)])]) : _vm.
|
|
106446
|
+
})], 1)], 1)], 2)])]) : _vm.formula === 'bodySurfaceArea' ? _c('section', [_c('div', {
|
|
106431
106447
|
staticClass: "ho-table-features-list"
|
|
106432
106448
|
}, [_c('p', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.292", null, "体重"))]), _c('a-input', {
|
|
106433
106449
|
attrs: {
|
|
@@ -106440,7 +106456,7 @@ var render = function render() {
|
|
|
106440
106456
|
},
|
|
106441
106457
|
expression: "bodySurfaceAreaWeight"
|
|
106442
106458
|
}
|
|
106443
|
-
})], 1)]) : _vm.
|
|
106459
|
+
})], 1)]) : _vm.formula === 'idealWeight' ? _c('section', [_c('div', {
|
|
106444
106460
|
staticClass: "ho-table-features-list"
|
|
106445
106461
|
}, [_c('span', {
|
|
106446
106462
|
staticStyle: {
|
|
@@ -106469,7 +106485,7 @@ var render = function render() {
|
|
|
106469
106485
|
},
|
|
106470
106486
|
expression: "displayRange"
|
|
106471
106487
|
}
|
|
106472
|
-
})], 1)]) : _vm.
|
|
106488
|
+
})], 1)]) : _vm.formula === 'iss' ? _c('section', [_c('div', {
|
|
106473
106489
|
staticClass: "ho-table-features-list"
|
|
106474
106490
|
}, [_vm._m(0), _c('a-input', {
|
|
106475
106491
|
staticStyle: {
|
|
@@ -106485,7 +106501,7 @@ var render = function render() {
|
|
|
106485
106501
|
},
|
|
106486
106502
|
expression: "issCode"
|
|
106487
106503
|
}
|
|
106488
|
-
})], 1)]) : _vm.
|
|
106504
|
+
})], 1)]) : _vm.formula === 'costumRowColumns' ? _c('section', {
|
|
106489
106505
|
staticClass: "costum-row-columns"
|
|
106490
106506
|
}, [_c('div', {
|
|
106491
106507
|
staticClass: "ho-table-features-list"
|
|
@@ -106525,7 +106541,7 @@ var render = function render() {
|
|
|
106525
106541
|
},
|
|
106526
106542
|
expression: "form.columns"
|
|
106527
106543
|
}
|
|
106528
|
-
})], 1)]) : _vm.
|
|
106544
|
+
})], 1)]) : _vm.formula === 'ftCalcDays' || _vm.formula === 'ftCalcTime' ? _c('section', {
|
|
106529
106545
|
staticClass: "costum-row-columns"
|
|
106530
106546
|
}, [_c('div', {
|
|
106531
106547
|
staticClass: "ho-table-features-list"
|
|
@@ -106563,6 +106579,162 @@ var render = function render() {
|
|
|
106563
106579
|
},
|
|
106564
106580
|
expression: "endDateCode"
|
|
106565
106581
|
}
|
|
106582
|
+
})], 1)]) : _vm.formula === 'curveChart' ? _c('section', [_c('div', {
|
|
106583
|
+
staticClass: "ho-table-features-list ho-table-features-list-column"
|
|
106584
|
+
}, [_c('p', {
|
|
106585
|
+
staticStyle: {
|
|
106586
|
+
"width": "100%"
|
|
106587
|
+
}
|
|
106588
|
+
}, [_vm._v("横轴(X轴)单元格编号")]), _c('div', {
|
|
106589
|
+
staticClass: "ho-table-features-list",
|
|
106590
|
+
staticStyle: {
|
|
106591
|
+
"width": "100%"
|
|
106592
|
+
}
|
|
106593
|
+
}, [_c('a-input', {
|
|
106594
|
+
staticStyle: {
|
|
106595
|
+
"flex": "1",
|
|
106596
|
+
"margin": "0 20px 0 0"
|
|
106597
|
+
},
|
|
106598
|
+
attrs: {
|
|
106599
|
+
"autocomplete": "off"
|
|
106600
|
+
},
|
|
106601
|
+
model: {
|
|
106602
|
+
value: _vm.curve.codeX,
|
|
106603
|
+
callback: function ($$v) {
|
|
106604
|
+
_vm.$set(_vm.curve, "codeX", $$v);
|
|
106605
|
+
},
|
|
106606
|
+
expression: "curve.codeX"
|
|
106607
|
+
}
|
|
106608
|
+
}), _c('a-checkbox', {
|
|
106609
|
+
model: {
|
|
106610
|
+
value: _vm.curve.lockX,
|
|
106611
|
+
callback: function ($$v) {
|
|
106612
|
+
_vm.$set(_vm.curve, "lockX", $$v);
|
|
106613
|
+
},
|
|
106614
|
+
expression: "curve.lockX"
|
|
106615
|
+
}
|
|
106616
|
+
}, [_vm._v("锁定对应单元格不允许编辑")])], 1)]), _c('div', {
|
|
106617
|
+
staticClass: "ho-table-features-list ho-table-features-list-column"
|
|
106618
|
+
}, [_c('p', {
|
|
106619
|
+
staticStyle: {
|
|
106620
|
+
"width": "100%"
|
|
106621
|
+
}
|
|
106622
|
+
}, [_vm._v("纵轴(Y轴)单元格编号")]), _c('div', {
|
|
106623
|
+
staticClass: "ho-table-features-list",
|
|
106624
|
+
staticStyle: {
|
|
106625
|
+
"width": "100%"
|
|
106626
|
+
}
|
|
106627
|
+
}, [_c('a-input', {
|
|
106628
|
+
staticStyle: {
|
|
106629
|
+
"flex": "1",
|
|
106630
|
+
"margin": "0 20px 0 0"
|
|
106631
|
+
},
|
|
106632
|
+
attrs: {
|
|
106633
|
+
"autocomplete": "off"
|
|
106634
|
+
},
|
|
106635
|
+
model: {
|
|
106636
|
+
value: _vm.curve.codeY,
|
|
106637
|
+
callback: function ($$v) {
|
|
106638
|
+
_vm.$set(_vm.curve, "codeY", $$v);
|
|
106639
|
+
},
|
|
106640
|
+
expression: "curve.codeY"
|
|
106641
|
+
}
|
|
106642
|
+
})], 1)]), _c('div', {
|
|
106643
|
+
staticClass: "ho-table-features-list"
|
|
106644
|
+
}, [_c('p', {
|
|
106645
|
+
staticStyle: {
|
|
106646
|
+
"width": "100px"
|
|
106647
|
+
}
|
|
106648
|
+
}, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.65", null, "最小值"))]), _c('a-input', {
|
|
106649
|
+
attrs: {
|
|
106650
|
+
"autocomplete": "off"
|
|
106651
|
+
},
|
|
106652
|
+
model: {
|
|
106653
|
+
value: _vm.curve.min,
|
|
106654
|
+
callback: function ($$v) {
|
|
106655
|
+
_vm.$set(_vm.curve, "min", $$v);
|
|
106656
|
+
},
|
|
106657
|
+
expression: "curve.min"
|
|
106658
|
+
}
|
|
106659
|
+
})], 1), _c('div', {
|
|
106660
|
+
staticClass: "ho-table-features-list"
|
|
106661
|
+
}, [_c('p', {
|
|
106662
|
+
staticStyle: {
|
|
106663
|
+
"width": "100px"
|
|
106664
|
+
}
|
|
106665
|
+
}, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.64", null, "最大值"))]), _c('a-input', {
|
|
106666
|
+
attrs: {
|
|
106667
|
+
"autocomplete": "off"
|
|
106668
|
+
},
|
|
106669
|
+
model: {
|
|
106670
|
+
value: _vm.curve.max,
|
|
106671
|
+
callback: function ($$v) {
|
|
106672
|
+
_vm.$set(_vm.curve, "max", $$v);
|
|
106673
|
+
},
|
|
106674
|
+
expression: "curve.max"
|
|
106675
|
+
}
|
|
106676
|
+
})], 1), _c('div', {
|
|
106677
|
+
staticClass: "ho-table-features-list"
|
|
106678
|
+
}, [_c('p', {
|
|
106679
|
+
staticStyle: {
|
|
106680
|
+
"width": "100px"
|
|
106681
|
+
}
|
|
106682
|
+
}, [_vm._v("间隔")]), _c('a-input', {
|
|
106683
|
+
attrs: {
|
|
106684
|
+
"autocomplete": "off"
|
|
106685
|
+
},
|
|
106686
|
+
model: {
|
|
106687
|
+
value: _vm.curve.step,
|
|
106688
|
+
callback: function ($$v) {
|
|
106689
|
+
_vm.$set(_vm.curve, "step", $$v);
|
|
106690
|
+
},
|
|
106691
|
+
expression: "curve.step"
|
|
106692
|
+
}
|
|
106693
|
+
})], 1), _c('div', {
|
|
106694
|
+
staticClass: "ho-table-features-list"
|
|
106695
|
+
}, [_c('p', {
|
|
106696
|
+
staticStyle: {
|
|
106697
|
+
"width": "100px"
|
|
106698
|
+
}
|
|
106699
|
+
}, [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.238", null, "高度"))]), _c('a-input', {
|
|
106700
|
+
attrs: {
|
|
106701
|
+
"autocomplete": "off"
|
|
106702
|
+
},
|
|
106703
|
+
model: {
|
|
106704
|
+
value: _vm.curve.height,
|
|
106705
|
+
callback: function ($$v) {
|
|
106706
|
+
_vm.$set(_vm.curve, "height", $$v);
|
|
106707
|
+
},
|
|
106708
|
+
expression: "curve.height"
|
|
106709
|
+
}
|
|
106710
|
+
})], 1), _c('div', {
|
|
106711
|
+
staticClass: "ho-table-features-list"
|
|
106712
|
+
}, [_c('p', {
|
|
106713
|
+
staticStyle: {
|
|
106714
|
+
"width": "100px"
|
|
106715
|
+
}
|
|
106716
|
+
}, [_vm._v("曲线图颜色")]), _c('ho-color-picker', {
|
|
106717
|
+
model: {
|
|
106718
|
+
value: _vm.curve.baseColor,
|
|
106719
|
+
callback: function ($$v) {
|
|
106720
|
+
_vm.$set(_vm.curve, "baseColor", $$v);
|
|
106721
|
+
},
|
|
106722
|
+
expression: "curve.baseColor"
|
|
106723
|
+
}
|
|
106724
|
+
})], 1), _c('div', {
|
|
106725
|
+
staticClass: "ho-table-features-list"
|
|
106726
|
+
}, [_c('p', {
|
|
106727
|
+
staticStyle: {
|
|
106728
|
+
"width": "100px"
|
|
106729
|
+
}
|
|
106730
|
+
}, [_vm._v("连接线颜色")]), _c('ho-color-picker', {
|
|
106731
|
+
model: {
|
|
106732
|
+
value: _vm.curve.lineColor,
|
|
106733
|
+
callback: function ($$v) {
|
|
106734
|
+
_vm.$set(_vm.curve, "lineColor", $$v);
|
|
106735
|
+
},
|
|
106736
|
+
expression: "curve.lineColor"
|
|
106737
|
+
}
|
|
106566
106738
|
})], 1)]) : _vm._e()]), _c('footer', {
|
|
106567
106739
|
staticClass: "ho-modal-footer"
|
|
106568
106740
|
}, [_c('a-button', {
|
|
@@ -106591,7 +106763,7 @@ var staticRenderFns = [function () {
|
|
|
106591
106763
|
}, [_c('span', [_vm._v(/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.254", null, "单元格编号"))]), _vm._v(":")]);
|
|
106592
106764
|
}];
|
|
106593
106765
|
|
|
106594
|
-
;// ./src/components/controls/table/TableFormula.vue?vue&type=template&id=
|
|
106766
|
+
;// ./src/components/controls/table/TableFormula.vue?vue&type=template&id=22ffd471
|
|
106595
106767
|
|
|
106596
106768
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
106597
106769
|
var es_array_push = __webpack_require__(44114);
|
|
@@ -106613,6 +106785,8 @@ var web_dom_collections_iterator = __webpack_require__(62953);
|
|
|
106613
106785
|
var objectSpread2 = __webpack_require__(33217);
|
|
106614
106786
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TableFormula.ts
|
|
106615
106787
|
var TableFormula = __webpack_require__(28646);
|
|
106788
|
+
// EXTERNAL MODULE: ./src/components/controls/colorPicker/HoColorPicker.vue + 6 modules
|
|
106789
|
+
var HoColorPicker = __webpack_require__(53071);
|
|
106616
106790
|
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[19].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=script&lang=js
|
|
106617
106791
|
|
|
106618
106792
|
|
|
@@ -106633,8 +106807,12 @@ var TableFormula = __webpack_require__(28646);
|
|
|
106633
106807
|
|
|
106634
106808
|
|
|
106635
106809
|
|
|
106810
|
+
|
|
106636
106811
|
/* harmony default export */ var TableFormulavue_type_script_lang_js = ({
|
|
106637
106812
|
name: 'TablePoperty',
|
|
106813
|
+
components: {
|
|
106814
|
+
HoColorPicker: HoColorPicker["default"]
|
|
106815
|
+
},
|
|
106638
106816
|
props: {
|
|
106639
106817
|
vueController: {
|
|
106640
106818
|
default: () => {}
|
|
@@ -106689,14 +106867,30 @@ var TableFormula = __webpack_require__(28646);
|
|
|
106689
106867
|
expectedDate: [/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.274", null, "预产期计算公式为末次月经第一天的月份加9个月或者减去3个月,为预产期的月份数;日期加7天,为预产期日。"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.273", null, "例如某孕妇的末次月经时间是1月11日来潮,她的预产期是,1+9=10,11+7=18,也就是10月18日的预产期。")],
|
|
106690
106868
|
ftScoreMapping: /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.270", null, "通过多个分值组合计算,转换为对应的值域信息。例如:1-5分(高),6-10分中,10-15分(低)"),
|
|
106691
106869
|
labor: [/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.290", null, "将时间元素设置成运算模式,比如这个第一产程时间=宫口全开时间-宫缩开始时间"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.289", null, "第1产程是从规律 “宫缩开始”到“宫口开全”,(“宫口开全” - “宫缩开始”)"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.288", null, "第2产程是从 “宫口开全” 到 “胎儿娩出”, (“胎儿娩出” - “宫口开全” )"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.287", null, "第3产程是从 “胎儿娩出” 到 “胎盘娩出” , (“胎盘娩出” - “胎儿娩出” )"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.286", null, "总产程:= 第1产程+第2产程+第3产程"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.285", null, "表示格式 示例: 9小时24分24秒,当时间大于24小时时, 显示格式为“28小时30分30秒”")],
|
|
106692
|
-
iss: [/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.256", null, "计算ISS的一般原则:本法把人体分为6个区域,ISS是身体3个最严重损伤区域的最高AIS值的平方和。ISS=AIS1²+AIS2²+AIS3²"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.255", null, "示例:a1,a2,a3,a4,a5,a6")]
|
|
106870
|
+
iss: [/*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.256", null, "计算ISS的一般原则:本法把人体分为6个区域,ISS是身体3个最严重损伤区域的最高AIS值的平方和。ISS=AIS1²+AIS2²+AIS3²"), /*#__PURE__*/(0,i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.255", null, "示例:a1,a2,a3,a4,a5,a6")],
|
|
106871
|
+
curveChart: [
|
|
106872
|
+
// "视力曲线图(Visual Acuity Curve)是眼科检查中常用的一种工具,用于评估和记录不同距离或不同条件下的视力情况。通过绘制视力曲线图,医生可以直观地了解患者的视力变化,从而帮助诊断和治疗各种眼部疾病。",
|
|
106873
|
+
"横轴(X轴): 通常表示距离,单位可以是米(m)或英尺(ft), 值域区间为(+2.00 到 -5.00, 每单元格间隔为0.5)", "纵轴(Y轴): 表示视力,通常以最小分辨角对数表示。值域区间为(0.0到1.5之间, 每单元格间隔为0.1)", "单元格编号:(a1:a3表示从a1到a3的连续单元格)"]
|
|
106693
106874
|
},
|
|
106694
106875
|
bodySurfaceAreaWeight: '',
|
|
106695
106876
|
startDateCode: '',
|
|
106696
106877
|
endDateCode: '',
|
|
106697
106878
|
idealWeightHeight: '',
|
|
106698
106879
|
displayRange: false,
|
|
106699
|
-
issCode: ''
|
|
106880
|
+
issCode: '',
|
|
106881
|
+
curve: {
|
|
106882
|
+
codeX: '',
|
|
106883
|
+
lockX: false,
|
|
106884
|
+
codeY: '',
|
|
106885
|
+
lockY: false,
|
|
106886
|
+
min: '',
|
|
106887
|
+
max: '',
|
|
106888
|
+
step: '',
|
|
106889
|
+
height: '',
|
|
106890
|
+
width: '',
|
|
106891
|
+
baseColor: '#000000',
|
|
106892
|
+
lineColor: '#000000'
|
|
106893
|
+
}
|
|
106700
106894
|
};
|
|
106701
106895
|
},
|
|
106702
106896
|
inject: ['hoEditorProvider'],
|
|
@@ -106772,6 +106966,10 @@ var TableFormula = __webpack_require__(28646);
|
|
|
106772
106966
|
} else {
|
|
106773
106967
|
this.idealWeightHeight = node.formulaStr;
|
|
106774
106968
|
}
|
|
106969
|
+
} else if (this.formula === 'curveChart') {
|
|
106970
|
+
if (node.formularProperty) {
|
|
106971
|
+
this.curve = (0,objectSpread2/* default */.A)({}, node.formularProperty);
|
|
106972
|
+
}
|
|
106775
106973
|
}
|
|
106776
106974
|
}
|
|
106777
106975
|
}
|
|
@@ -106832,6 +107030,13 @@ var TableFormula = __webpack_require__(28646);
|
|
|
106832
107030
|
this.vueController.insertTableFormula(`${this.idealWeightHeight},${this.displayRange}`.toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType */.D.ftIdealWeight);
|
|
106833
107031
|
} else if (this.formula === 'iss') {
|
|
106834
107032
|
this.vueController.insertTableFormula(`${this.issCode}`.toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType */.D.ftISS);
|
|
107033
|
+
} else if (this.formula === 'curveChart') {
|
|
107034
|
+
if (this.curve.lockX || this.curve.lockY) {
|
|
107035
|
+
this.vueController.lockCell(this.curve);
|
|
107036
|
+
}
|
|
107037
|
+
setTimeout(() => {
|
|
107038
|
+
this.vueController.insertTableFormula(this.curve.codeY.toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType */.D.ftCurveChart, this.curve);
|
|
107039
|
+
}, 100);
|
|
106835
107040
|
}
|
|
106836
107041
|
this.handleClose();
|
|
106837
107042
|
},
|
|
@@ -106855,10 +107060,10 @@ var TableFormula = __webpack_require__(28646);
|
|
|
106855
107060
|
|
|
106856
107061
|
/* harmony default export */ var table_TableFormulavue_type_script_lang_js = (TableFormulavue_type_script_lang_js);
|
|
106857
107062
|
|
|
106858
|
-
;// ./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=
|
|
107063
|
+
;// ./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=22ffd471&prod&lang=less
|
|
106859
107064
|
// extracted by mini-css-extract-plugin
|
|
106860
107065
|
|
|
106861
|
-
;// ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=
|
|
107066
|
+
;// ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=22ffd471&prod&lang=less
|
|
106862
107067
|
|
|
106863
107068
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
106864
107069
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -120644,7 +120849,7 @@ class DocController {
|
|
|
120644
120849
|
* @param 选区
|
|
120645
120850
|
* @param 公式
|
|
120646
120851
|
*/
|
|
120647
|
-
insertTableFormula(domRange, formulaStr, isHideZero, formulaType) {
|
|
120852
|
+
insertTableFormula(domRange, formulaStr, isHideZero, formulaType, formulaProperty) {
|
|
120648
120853
|
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_67__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
120649
120854
|
let startPath = domRange.normalize().endPath;
|
|
120650
120855
|
const pNode = hoEditorFactory.docTree.getParentNode(startPath);
|
|
@@ -120654,7 +120859,7 @@ class DocController {
|
|
|
120654
120859
|
hoEditorFactory.undoService.add(new _undoRedo_NodeDeleteUndoUnit__WEBPACK_IMPORTED_MODULE_27__/* .NodeDeleteUndoUnit */ .s(this._hoEditorFactoryID, domRange.npEnd.node, startPath, 'update'));
|
|
120655
120860
|
startPath = prePath;
|
|
120656
120861
|
}
|
|
120657
|
-
const tableFormula = new _treeNode_TableFormula__WEBPACK_IMPORTED_MODULE_61__/* .TableFormula */ .d(this._hoEditorFactoryID, domRange.npStart.roots, pNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType */ .Z6.ntTableFormula, formulaStr, hoEditorFactory.docTree.curStyleIndex, isHideZero, formulaType);
|
|
120862
|
+
const tableFormula = new _treeNode_TableFormula__WEBPACK_IMPORTED_MODULE_61__/* .TableFormula */ .d(this._hoEditorFactoryID, domRange.npStart.roots, pNode, _treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType */ .Z6.ntTableFormula, formulaStr, hoEditorFactory.docTree.curStyleIndex, isHideZero, formulaType, '', formulaProperty);
|
|
120658
120863
|
hoEditorFactory.undoService.add(new _undoRedo_NodeInsertUndoUnit__WEBPACK_IMPORTED_MODULE_16__/* .NodeInsertUndoUnit */ .Q(this._hoEditorFactoryID, startPath, tableFormula));
|
|
120659
120864
|
hoEditorFactory.undoService.commit();
|
|
120660
120865
|
}
|
|
@@ -125505,7 +125710,7 @@ var DiagonalType;
|
|
|
125505
125710
|
DiagonalType[DiagonalType["Right"] = 2] = "Right";
|
|
125506
125711
|
})(DiagonalType || (DiagonalType = {}));
|
|
125507
125712
|
class CellProperty {
|
|
125508
|
-
|
|
125713
|
+
//是否禁止编辑
|
|
125509
125714
|
constructor(objectValues) {
|
|
125510
125715
|
//private _lightCellBorders = false;//突出显示单元格边框
|
|
125511
125716
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "_customProperties", []);
|
|
@@ -125541,6 +125746,8 @@ class CellProperty {
|
|
|
125541
125746
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "_isSignLock", false);
|
|
125542
125747
|
// 签名后是否锁定
|
|
125543
125748
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "signed", new Map());
|
|
125749
|
+
//是否已签名 运行时属性
|
|
125750
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "notAllowEdit", false);
|
|
125544
125751
|
if (objectValues !== "") {
|
|
125545
125752
|
const valuesObj = eval('(' + objectValues + ')');
|
|
125546
125753
|
const assignvalue = (target, source) => {
|
|
@@ -128104,7 +128311,8 @@ class CellNode extends _RectNode__WEBPACK_IMPORTED_MODULE_22__/* .RectNode */ .P
|
|
|
128104
128311
|
dateTimeProperty: this.cellProperty.dateTimeProperty,
|
|
128105
128312
|
diagonalType: this.cellProperty.diagonalType,
|
|
128106
128313
|
formula: this.cellProperty.formula,
|
|
128107
|
-
isSignLock: this.cellProperty.isSignLock
|
|
128314
|
+
isSignLock: this.cellProperty.isSignLock,
|
|
128315
|
+
notAllowEdit: this.cellProperty.notAllowEdit
|
|
128108
128316
|
};
|
|
128109
128317
|
const cellPropertyJson = JSON.parse(JSON.stringify(cellProperty));
|
|
128110
128318
|
const keysName = Object.keys(defaultCellPropJson);
|
|
@@ -136398,7 +136606,7 @@ class SpecialCharsNode extends _ControlNode__WEBPACK_IMPORTED_MODULE_4__/* .Cont
|
|
|
136398
136606
|
/* harmony export */ });
|
|
136399
136607
|
/* harmony import */ var _i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49850);
|
|
136400
136608
|
/* harmony import */ var ant_design_vue_es_message_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21902);
|
|
136401
|
-
/* harmony import */ var
|
|
136609
|
+
/* harmony import */ var ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(40233);
|
|
136402
136610
|
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(32356);
|
|
136403
136611
|
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16280);
|
|
136404
136612
|
/* harmony import */ var core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_error_cause_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
@@ -136446,6 +136654,8 @@ class SpecialCharsNode extends _ControlNode__WEBPACK_IMPORTED_MODULE_4__/* .Cont
|
|
|
136446
136654
|
/* harmony import */ var _TextInputFieldNode__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(65018);
|
|
136447
136655
|
/* harmony import */ var _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(58382);
|
|
136448
136656
|
/* harmony import */ var decimal_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(76582);
|
|
136657
|
+
/* harmony import */ var _editor_draw_drawNode_DrawTableFormularChart__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(14968);
|
|
136658
|
+
|
|
136449
136659
|
|
|
136450
136660
|
|
|
136451
136661
|
|
|
@@ -136500,15 +136710,17 @@ var FormularType;
|
|
|
136500
136710
|
FormularType[FormularType["ftCalcTime"] = 9] = "ftCalcTime";
|
|
136501
136711
|
FormularType[FormularType["ftIdealWeight"] = 10] = "ftIdealWeight";
|
|
136502
136712
|
FormularType[FormularType["ftISS"] = 11] = "ftISS";
|
|
136713
|
+
FormularType[FormularType["ftCurveChart"] = 12] = "ftCurveChart";
|
|
136503
136714
|
})(FormularType || (FormularType = {}));
|
|
136504
136715
|
class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .ControlNode */ .g {
|
|
136505
|
-
constructor(hoEditorFactoryID, rootNodes, pNode, nodeType, formulaStr, styleIndex, hideZero, formularType, customProperty) {
|
|
136716
|
+
constructor(hoEditorFactoryID, rootNodes, pNode, nodeType, formulaStr, styleIndex, hideZero, formularType, customProperty, formularProperty) {
|
|
136506
136717
|
super(hoEditorFactoryID, rootNodes, pNode, nodeType);
|
|
136507
136718
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "_formularType", FormularType.ftSum);
|
|
136508
136719
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "_formulaStr", "");
|
|
136509
136720
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "_hideZero", true);
|
|
136510
136721
|
//计算结果为0时是否隐藏
|
|
136511
136722
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "_cellRange", void 0);
|
|
136723
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "formularProperty", null);
|
|
136512
136724
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(this, "code", void 0);
|
|
136513
136725
|
this._id = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("TFS");
|
|
136514
136726
|
this._styleIndex = styleIndex;
|
|
@@ -136520,7 +136732,9 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
136520
136732
|
this._formularType = formulaStr.indexOf(':') >= 0 ? FormularType.ftSum : FormularType.ftFormular;
|
|
136521
136733
|
}
|
|
136522
136734
|
this.formulaStr = formulaStr;
|
|
136523
|
-
|
|
136735
|
+
if (formularProperty) {
|
|
136736
|
+
this.formularProperty = formularProperty;
|
|
136737
|
+
}
|
|
136524
136738
|
if (hideZero !== undefined) this._hideZero = hideZero;
|
|
136525
136739
|
if (customProperty && customProperty !== "") {
|
|
136526
136740
|
this.setCustomProperty(customProperty);
|
|
@@ -136568,45 +136782,31 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
136568
136782
|
if (this._formulaStr !== val) {
|
|
136569
136783
|
this._formulaStr = val;
|
|
136570
136784
|
this._cellRange.length = 0;
|
|
136571
|
-
// if (
|
|
136785
|
+
// if (this.formularType === FormularType.ftSum) {
|
|
136572
136786
|
// this.calcSumValue(false)
|
|
136573
|
-
// } else this.
|
|
136574
|
-
|
|
136575
|
-
|
|
136576
|
-
|
|
136577
|
-
if (this.formularType === FormularType.
|
|
136578
|
-
|
|
136579
|
-
}
|
|
136580
|
-
|
|
136581
|
-
|
|
136582
|
-
|
|
136583
|
-
if (this.formularType === FormularType.
|
|
136584
|
-
|
|
136585
|
-
}
|
|
136586
|
-
|
|
136587
|
-
|
|
136588
|
-
|
|
136589
|
-
if (this.formularType === FormularType.
|
|
136590
|
-
|
|
136591
|
-
}
|
|
136592
|
-
|
|
136593
|
-
|
|
136594
|
-
|
|
136595
|
-
|
|
136596
|
-
this.clacBodySurfaceArea();
|
|
136597
|
-
}
|
|
136598
|
-
if (this.formularType === FormularType.ftCalcDays) {
|
|
136599
|
-
this.clacDays();
|
|
136600
|
-
}
|
|
136601
|
-
if (this.formularType === FormularType.ftCalcTime) {
|
|
136602
|
-
this.clacTime();
|
|
136603
|
-
}
|
|
136604
|
-
if (this.formularType === FormularType.ftIdealWeight) {
|
|
136605
|
-
this.clacIdealWeight();
|
|
136606
|
-
}
|
|
136607
|
-
if (this.formularType === FormularType.ftISS) {
|
|
136608
|
-
this.clacISS();
|
|
136609
|
-
}
|
|
136787
|
+
// } else if (this.formularType === FormularType.ftFormular) {
|
|
136788
|
+
// this.clacFormula(false);
|
|
136789
|
+
// } else if (this.formularType === FormularType.ftBMI) {
|
|
136790
|
+
// this.clacBMI();
|
|
136791
|
+
// } else if (this.formularType === FormularType.ftLaborProcess) {
|
|
136792
|
+
// this.clacLaborProcess();
|
|
136793
|
+
// } else if (this.formularType === FormularType.ftExpectedBirthDate) {
|
|
136794
|
+
// this.clacExpectedBirthDate();
|
|
136795
|
+
// } else if (this.formularType === FormularType.ftPregnantWeeks) {
|
|
136796
|
+
// this.clacPregnantWeeks();
|
|
136797
|
+
// } else if (this.formularType === FormularType.ftScoreMapping) {
|
|
136798
|
+
// this.getScoreMapping();
|
|
136799
|
+
// } else if (this.formularType === FormularType.ftBodySurfaceArea) {
|
|
136800
|
+
// this.clacBodySurfaceArea();
|
|
136801
|
+
// } else if (this.formularType === FormularType.ftCalcDays) {
|
|
136802
|
+
// this.clacDays();
|
|
136803
|
+
// } else if (this.formularType === FormularType.ftCalcTime) {
|
|
136804
|
+
// this.clacTime();
|
|
136805
|
+
// } else if (this.formularType === FormularType.ftIdealWeight) {
|
|
136806
|
+
// this.clacIdealWeight();
|
|
136807
|
+
// } else if (this.formularType === FormularType.ftISS) {
|
|
136808
|
+
// this.clacISS();
|
|
136809
|
+
// }
|
|
136610
136810
|
}
|
|
136611
136811
|
}
|
|
136612
136812
|
get styleIndex() {
|
|
@@ -136637,10 +136837,12 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
136637
136837
|
this.dCombineStyle = cbStyle;
|
|
136638
136838
|
}
|
|
136639
136839
|
node2DrawNodeRange(startIndex, endIndex) {
|
|
136640
|
-
this.
|
|
136641
|
-
|
|
136642
|
-
|
|
136643
|
-
|
|
136840
|
+
if (this.formularType === FormularType.ftCurveChart) {
|
|
136841
|
+
this._drawNodes.push(new _editor_draw_drawNode_DrawTableFormularChart__WEBPACK_IMPORTED_MODULE_32__/* .DrawTableFormularChart */ .t(this.hoEditorFactoryID, this._rootPath, this));
|
|
136842
|
+
} else {
|
|
136843
|
+
this.refreshDrawStyle();
|
|
136844
|
+
this._drawNodes.push(new _editor_draw_drawNode_DrawTableFormular__WEBPACK_IMPORTED_MODULE_20__/* .DrawTableFormular */ .$(this._rootPath, this, this._text));
|
|
136845
|
+
}
|
|
136644
136846
|
}
|
|
136645
136847
|
node2DrawNode() {
|
|
136646
136848
|
this.clearDrawNodes(0, 0);
|
|
@@ -136675,7 +136877,8 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
136675
136877
|
styleIndex: this.styleIndex,
|
|
136676
136878
|
//hideZero: this._hideZero,
|
|
136677
136879
|
formularType: this.formularType,
|
|
136678
|
-
customProperty: this.customProperty
|
|
136880
|
+
customProperty: this.customProperty,
|
|
136881
|
+
formularProperty: this.formularProperty
|
|
136679
136882
|
};
|
|
136680
136883
|
if (!this.hideZero) {
|
|
136681
136884
|
retObj.hideZero = this.hideZero;
|
|
@@ -136696,7 +136899,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
136696
136899
|
} else {
|
|
136697
136900
|
formularType = json.text.indexOf(':') >= 0 ? FormularType.ftSum : FormularType.ftFormular;
|
|
136698
136901
|
}
|
|
136699
|
-
const ret = new TableFormula(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_25__/* .NodeType */ .Z6.ntTableFormula, json.text, styleIndex, hideZero, formularType, json.customProperty);
|
|
136902
|
+
const ret = new TableFormula(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_25__/* .NodeType */ .Z6.ntTableFormula, json.text, styleIndex, hideZero, formularType, json.customProperty, json.formularProperty);
|
|
136700
136903
|
return ret;
|
|
136701
136904
|
}
|
|
136702
136905
|
getParentCell() {
|
|
@@ -136975,7 +137178,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
136975
137178
|
const arrStr = this.formulaStr.split(",");
|
|
136976
137179
|
if (arrStr.length < 2) {
|
|
136977
137180
|
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
136978
|
-
|
|
137181
|
+
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.444",null,"体重和身高对应的单元格编号传入有误:") + this.formulaStr);
|
|
136979
137182
|
}
|
|
136980
137183
|
const [weightRow, weightCol] = this.getRowColByCellAdress(arrStr[0]);
|
|
136981
137184
|
const [heightRow, heightCol] = this.getRowColByCellAdress(arrStr[1]);
|
|
@@ -137008,7 +137211,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
137008
137211
|
const arrStr = this.formulaStr.split(",");
|
|
137009
137212
|
if (arrStr.length < 2) {
|
|
137010
137213
|
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
137011
|
-
|
|
137214
|
+
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.443",null,"单元格编号传入有误:") + this.formulaStr);
|
|
137012
137215
|
}
|
|
137013
137216
|
const [sRow, sCol] = this.getRowColByCellAdress(arrStr[0]);
|
|
137014
137217
|
const [eRow, eCol] = this.getRowColByCellAdress(arrStr[1]);
|
|
@@ -137295,7 +137498,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
137295
137498
|
const table = this.getParentCell().table;
|
|
137296
137499
|
if (this.formulaStr == "") {
|
|
137297
137500
|
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
137298
|
-
|
|
137501
|
+
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);
|
|
137299
137502
|
}
|
|
137300
137503
|
const [row, col] = this.getRowColByCellAdress(this.formulaStr);
|
|
137301
137504
|
if (row >= 0 && col >= 0) {
|
|
@@ -137324,7 +137527,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
137324
137527
|
const arrStr = this.formulaStr.split(",");
|
|
137325
137528
|
if (arrStr.length < 2) {
|
|
137326
137529
|
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
137327
|
-
|
|
137530
|
+
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);
|
|
137328
137531
|
return strRet;
|
|
137329
137532
|
}
|
|
137330
137533
|
const [rysjRow, rysjCol] = this.getRowColByCellAdress(arrStr[0]);
|
|
@@ -137361,7 +137564,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
137361
137564
|
const arrStr = this.formulaStr.split(",");
|
|
137362
137565
|
if (arrStr.length < 2) {
|
|
137363
137566
|
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
137364
|
-
|
|
137567
|
+
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.440",null,"开始时间和结束时间对应的单元格编号传入有误:") + this.formulaStr);
|
|
137365
137568
|
return strRet;
|
|
137366
137569
|
}
|
|
137367
137570
|
const [rysjRow, rysjCol] = this.getRowColByCellAdress(arrStr[0]);
|
|
@@ -137447,7 +137650,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
137447
137650
|
const table = this.getParentCell().table;
|
|
137448
137651
|
if (this.formulaStr == "") {
|
|
137449
137652
|
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
137450
|
-
|
|
137653
|
+
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.439",null,"身高的单元格编号传入有误:") + this.formulaStr);
|
|
137451
137654
|
}
|
|
137452
137655
|
let cellNo = "";
|
|
137453
137656
|
let isRange = false;
|
|
@@ -137547,17 +137750,18 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
137547
137750
|
result = String.fromCharCode(abyte + achar - 1) + result;
|
|
137548
137751
|
icol = Math.floor(icol / 26);
|
|
137549
137752
|
}
|
|
137550
|
-
if (icol > 0)
|
|
137753
|
+
if (icol > 0) {
|
|
137754
|
+
result = String.fromCharCode(abyte + icol - 1) + result;
|
|
137755
|
+
}
|
|
137551
137756
|
return result;
|
|
137552
137757
|
}
|
|
137553
|
-
delete(operType) {
|
|
137758
|
+
delete(operType, nodeType, forceDelete) {
|
|
137554
137759
|
const hoEditorFactory = _HOEditorFactorys__WEBPACK_IMPORTED_MODULE_22__/* .HOEditorFactorys */ .O.instance().getFactory(this._hoEditorFactoryID);
|
|
137555
|
-
if (hoEditorFactory.drawTree.paintStatus == _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__/* .PaintState */ .ak.psDesign) {
|
|
137760
|
+
if (hoEditorFactory.drawTree.paintStatus == _editor_draw_drawTree_DrawTree__WEBPACK_IMPORTED_MODULE_30__/* .PaintState */ .ak.psDesign || forceDelete) {
|
|
137556
137761
|
hoEditorFactory.drawTree.formularNodes.delete(this._id);
|
|
137557
137762
|
super.delete(operType);
|
|
137558
137763
|
} else {
|
|
137559
|
-
|
|
137560
|
-
ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .A.warn(/*#__PURE__*/(0,_i18n__WEBPACK_IMPORTED_MODULE_0__/* .i18nHelper */ .p)("04-001-009-EMR.3.3.438",null,"不能删除表格计算公式"));
|
|
137764
|
+
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.438",null,"不能删除表格计算公式"));
|
|
137561
137765
|
}
|
|
137562
137766
|
return true;
|
|
137563
137767
|
}
|
|
@@ -137586,7 +137790,7 @@ class TableFormula extends _ControlNode__WEBPACK_IMPORTED_MODULE_27__/* .Control
|
|
|
137586
137790
|
this._text = this.clacIdealWeight();
|
|
137587
137791
|
} else if (this.formularType === FormularType.ftISS) {
|
|
137588
137792
|
this._text = this.clacISS();
|
|
137589
|
-
}
|
|
137793
|
+
} else if (this.formularType === FormularType.ftCurveChart) {}
|
|
137590
137794
|
this.node2DrawNode();
|
|
137591
137795
|
}
|
|
137592
137796
|
getTagNameCn() {
|
|
@@ -139089,6 +139293,7 @@ class TableNode extends _RectNode__WEBPACK_IMPORTED_MODULE_17__/* .RectNode */ .
|
|
|
139089
139293
|
dateTimeProperty: "",
|
|
139090
139294
|
diagonalType: _TableProperty__WEBPACK_IMPORTED_MODULE_19__/* .DiagonalType */ .Q_.None,
|
|
139091
139295
|
isSignLock: false,
|
|
139296
|
+
notAllowEdit: false,
|
|
139092
139297
|
formula: ""
|
|
139093
139298
|
};
|
|
139094
139299
|
const defaultCellPropJson = JSON.parse(JSON.stringify(defaultCellProp));
|
|
@@ -139421,15 +139626,25 @@ class TableNode extends _RectNode__WEBPACK_IMPORTED_MODULE_17__/* .RectNode */ .
|
|
|
139421
139626
|
const aRow = new Array();
|
|
139422
139627
|
const nodeRowSpan = node.rowSpan ? parseInt(node.rowSpan) : 1;
|
|
139423
139628
|
const nodeColSpan = node.colSpan ? parseInt(node.colSpan) : 1;
|
|
139424
|
-
if (nodeRowSpan > 1) {
|
|
139629
|
+
if (nodeRowSpan > 1 && nodeColSpan > 1) {
|
|
139630
|
+
for (let r = parseInt(node.rowNo); r < parseInt(node.rowNo) + nodeRowSpan; r++) {
|
|
139631
|
+
for (let c = parseInt(node.colNo); c < parseInt(node.colNo) + nodeColSpan; c++) {
|
|
139632
|
+
if (!(node.rowNo == r && node.colNo == c)) {
|
|
139633
|
+
rowSpanArr.push({
|
|
139634
|
+
rowCount: r,
|
|
139635
|
+
colCount: c
|
|
139636
|
+
});
|
|
139637
|
+
}
|
|
139638
|
+
}
|
|
139639
|
+
}
|
|
139640
|
+
} else if (nodeRowSpan > 1) {
|
|
139425
139641
|
for (let r = parseInt(node.rowNo) + 1; r < parseInt(node.rowNo) + nodeRowSpan; r++) {
|
|
139426
139642
|
rowSpanArr.push({
|
|
139427
139643
|
rowCount: r,
|
|
139428
139644
|
colCount: parseInt(node.colNo)
|
|
139429
139645
|
});
|
|
139430
139646
|
}
|
|
139431
|
-
}
|
|
139432
|
-
if (nodeColSpan > 1) {
|
|
139647
|
+
} else if (nodeColSpan > 1) {
|
|
139433
139648
|
for (let c = parseInt(node.colNo) + 1; c < parseInt(node.colNo) + nodeColSpan; c++) {
|
|
139434
139649
|
colSpanArr.push({
|
|
139435
139650
|
rowCount: parseInt(node.rowNo),
|
|
@@ -154461,6 +154676,198 @@ class DrawTableFormular extends DrawSimpleNode {
|
|
|
154461
154676
|
|
|
154462
154677
|
/***/ }),
|
|
154463
154678
|
|
|
154679
|
+
/***/ 14968:
|
|
154680
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
154681
|
+
|
|
154682
|
+
"use strict";
|
|
154683
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
154684
|
+
/* harmony export */ t: function() { return /* binding */ DrawTableFormularChart; }
|
|
154685
|
+
/* harmony export */ });
|
|
154686
|
+
/* harmony import */ var D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32356);
|
|
154687
|
+
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44114);
|
|
154688
|
+
/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
154689
|
+
/* harmony import */ var core_js_modules_es_array_unshift_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13609);
|
|
154690
|
+
/* harmony import */ var core_js_modules_es_array_unshift_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_unshift_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
154691
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(27495);
|
|
154692
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
154693
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25440);
|
|
154694
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
154695
|
+
/* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(98992);
|
|
154696
|
+
/* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
154697
|
+
/* harmony import */ var core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(54520);
|
|
154698
|
+
/* harmony import */ var core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
154699
|
+
/* harmony import */ var core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(3949);
|
|
154700
|
+
/* harmony import */ var core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_for_each_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
154701
|
+
/* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(81454);
|
|
154702
|
+
/* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
154703
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(62953);
|
|
154704
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
154705
|
+
/* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(56419);
|
|
154706
|
+
/* harmony import */ var _yuki_createjs__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_yuki_createjs__WEBPACK_IMPORTED_MODULE_10__);
|
|
154707
|
+
/* harmony import */ var _types_EditorType__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(27195);
|
|
154708
|
+
/* harmony import */ var _DrawCombineNode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(10431);
|
|
154709
|
+
|
|
154710
|
+
|
|
154711
|
+
|
|
154712
|
+
|
|
154713
|
+
|
|
154714
|
+
|
|
154715
|
+
|
|
154716
|
+
|
|
154717
|
+
|
|
154718
|
+
|
|
154719
|
+
|
|
154720
|
+
|
|
154721
|
+
|
|
154722
|
+
class DrawTableFormularChart extends _DrawCombineNode__WEBPACK_IMPORTED_MODULE_12__/* .DrawCombineNode */ .A {
|
|
154723
|
+
constructor(hoEditfactoryId, rootPath, node) {
|
|
154724
|
+
super(hoEditfactoryId, rootPath, node, 0);
|
|
154725
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "dNode", void 0);
|
|
154726
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "hoEditfactoryId", void 0);
|
|
154727
|
+
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "formularProperty", null);
|
|
154728
|
+
this.dNode = node;
|
|
154729
|
+
this.hoEditfactoryId = hoEditfactoryId;
|
|
154730
|
+
if (node.formularType == _types_EditorType__WEBPACK_IMPORTED_MODULE_11__/* .FormularType */ .Dd.ftCurveChart) {
|
|
154731
|
+
var _node$formularPropert, _node$formularPropert2;
|
|
154732
|
+
this.dWidth = Number((_node$formularPropert = node.formularProperty) === null || _node$formularPropert === void 0 ? void 0 : _node$formularPropert.width) || 100;
|
|
154733
|
+
this.dHeight = Number((_node$formularPropert2 = node.formularProperty) === null || _node$formularPropert2 === void 0 ? void 0 : _node$formularPropert2.height) || 100;
|
|
154734
|
+
this.formularProperty = node.formularProperty;
|
|
154735
|
+
this.drawCurveChart();
|
|
154736
|
+
}
|
|
154737
|
+
}
|
|
154738
|
+
getCell(table, arr) {
|
|
154739
|
+
const [startRow, startCol] = this.dNode.getRowColByCellAdress(arr[0]);
|
|
154740
|
+
const [endRow, endCol] = this.dNode.getRowColByCellAdress(arr[1]);
|
|
154741
|
+
const list = [];
|
|
154742
|
+
let notAllowEdit = false;
|
|
154743
|
+
if (startRow >= 0 && startCol >= 0 && endRow >= 0 && endCol >= 0) {
|
|
154744
|
+
if (startRow === endRow || startCol === endCol) {
|
|
154745
|
+
for (let r = startRow; r <= endRow; r++) {
|
|
154746
|
+
for (let c = startCol; c <= endCol; c++) {
|
|
154747
|
+
const cell = table.rows[r][c];
|
|
154748
|
+
if (cell) {
|
|
154749
|
+
notAllowEdit = cell.cellProperty.notAllowEdit || false;
|
|
154750
|
+
const text = cell.getCellText() || '';
|
|
154751
|
+
if (notAllowEdit) {
|
|
154752
|
+
list.push(text);
|
|
154753
|
+
} else {
|
|
154754
|
+
list.push(text.replace(/\+|-/g, ''));
|
|
154755
|
+
}
|
|
154756
|
+
}
|
|
154757
|
+
}
|
|
154758
|
+
}
|
|
154759
|
+
}
|
|
154760
|
+
}
|
|
154761
|
+
return {
|
|
154762
|
+
notAllowEdit,
|
|
154763
|
+
startRow,
|
|
154764
|
+
startCol,
|
|
154765
|
+
endRow,
|
|
154766
|
+
endCol,
|
|
154767
|
+
list
|
|
154768
|
+
};
|
|
154769
|
+
}
|
|
154770
|
+
drawCurveChart() {
|
|
154771
|
+
if (this.dNode && this.formularProperty) {
|
|
154772
|
+
const xArr = this.formularProperty.codeX.split(':');
|
|
154773
|
+
const yArr = this.formularProperty.codeY.split(':');
|
|
154774
|
+
const currentCell = this.dNode.getParentCell();
|
|
154775
|
+
this.dWidth = currentCell.drawCell.dWidth - 30;
|
|
154776
|
+
const xInfo = this.getCell(currentCell.table, xArr);
|
|
154777
|
+
const yInfo = this.getCell(currentCell.table, yArr);
|
|
154778
|
+
let xAxis = [];
|
|
154779
|
+
let yAxis = [];
|
|
154780
|
+
let valueList = [];
|
|
154781
|
+
if (this.formularProperty.lockX) {
|
|
154782
|
+
xAxis = xInfo.list;
|
|
154783
|
+
valueList = yInfo.list;
|
|
154784
|
+
let maxValue = Math.max(...yInfo.list.filter(item => item !== '').map(Number));
|
|
154785
|
+
maxValue = Math.ceil(maxValue * 10) / 10; // 向上取整到最近的 0.1
|
|
154786
|
+
for (let i = 0; i <= maxValue / Number(this.formularProperty.step); i++) {
|
|
154787
|
+
yAxis.push((i * Number(this.formularProperty.step)).toFixed(1));
|
|
154788
|
+
}
|
|
154789
|
+
if ((maxValue * 10).toString().split('.').length == 2) {
|
|
154790
|
+
yAxis.push(maxValue.toFixed(1));
|
|
154791
|
+
}
|
|
154792
|
+
}
|
|
154793
|
+
const formularChartContainer = new createjs.Container();
|
|
154794
|
+
const baseChild = this.createGraduation(xAxis, yAxis, valueList);
|
|
154795
|
+
formularChartContainer.addChild(...baseChild);
|
|
154796
|
+
this.addChild(formularChartContainer);
|
|
154797
|
+
setTimeout(() => {
|
|
154798
|
+
this.setChildIndex(formularChartContainer, this.children.length - 1);
|
|
154799
|
+
}, 0);
|
|
154800
|
+
}
|
|
154801
|
+
}
|
|
154802
|
+
createGraduation(xAxis, yAxis, valueList) {
|
|
154803
|
+
var _this$formularPropert, _this$formularPropert2;
|
|
154804
|
+
const baseChild = [];
|
|
154805
|
+
const baseColor = ((_this$formularPropert = this.formularProperty) === null || _this$formularPropert === void 0 ? void 0 : _this$formularPropert.baseColor) || '#000000';
|
|
154806
|
+
const lineColor = ((_this$formularPropert2 = this.formularProperty) === null || _this$formularPropert2 === void 0 ? void 0 : _this$formularPropert2.lineColor) || '#000000';
|
|
154807
|
+
const circleRadius = 4; // 坐标点半径
|
|
154808
|
+
if (this.formularProperty) {
|
|
154809
|
+
const line = new createjs.Shape();
|
|
154810
|
+
xAxis.unshift("0");
|
|
154811
|
+
valueList.unshift("");
|
|
154812
|
+
const xScale = Math.floor(this.dWidth / xAxis.length);
|
|
154813
|
+
const yScale = Math.floor(this.dHeight / yAxis.length);
|
|
154814
|
+
line.graphics.beginStroke(baseColor);
|
|
154815
|
+
let valuePoint = [];
|
|
154816
|
+
// 基本坐标系
|
|
154817
|
+
xAxis.forEach((xText, xIndex) => {
|
|
154818
|
+
let x = (xIndex + 1) * xScale;
|
|
154819
|
+
if (xIndex > 0) {
|
|
154820
|
+
const xT = new createjs.Text(xText, '12px Arial', baseColor);
|
|
154821
|
+
xT.x = x - xScale * 0.4;
|
|
154822
|
+
xT.y = -yScale * 0.7;
|
|
154823
|
+
baseChild.push(xT);
|
|
154824
|
+
}
|
|
154825
|
+
yAxis.forEach((yText, yIndex) => {
|
|
154826
|
+
let y = -yIndex * yScale - yScale;
|
|
154827
|
+
if (xIndex == 0) {
|
|
154828
|
+
const yT = new createjs.Text(yText, '12px Arial', baseColor);
|
|
154829
|
+
yT.x = 10;
|
|
154830
|
+
yT.y = y;
|
|
154831
|
+
baseChild.push(yT);
|
|
154832
|
+
}
|
|
154833
|
+
if (xIndex == 0 && yIndex == 0) {
|
|
154834
|
+
line.graphics.setStrokeStyle(2).moveTo(xScale, -yScale).lineTo(xScale, -this.dHeight);
|
|
154835
|
+
line.graphics.setStrokeStyle(2).moveTo(xScale, y).lineTo(this.dWidth, y);
|
|
154836
|
+
} else if (xIndex == xAxis.length - 1 && yIndex == yAxis.length - 1) {
|
|
154837
|
+
line.graphics.setStrokeStyle(1).setStrokeDash([6, 2]).moveTo(x, -yScale).lineTo(x, y);
|
|
154838
|
+
line.graphics.setStrokeStyle(1).setStrokeDash([6, 2]).moveTo(xScale, y).lineTo(x, y);
|
|
154839
|
+
} else if (xIndex > 0 && yIndex == yAxis.length - 1) {
|
|
154840
|
+
line.graphics.setStrokeStyle(1).setStrokeDash([6, 2]).moveTo(x, -yScale).lineTo(x, y);
|
|
154841
|
+
} else if (xIndex == xAxis.length - 1 && yIndex > 0) {
|
|
154842
|
+
line.graphics.setStrokeStyle(1).setStrokeDash([6, 2]).moveTo(xScale, y).lineTo(x, y);
|
|
154843
|
+
}
|
|
154844
|
+
});
|
|
154845
|
+
if (valueList[xIndex] !== '' && Number(valueList[xIndex]) > 0) {
|
|
154846
|
+
valuePoint.push({
|
|
154847
|
+
x: x,
|
|
154848
|
+
y: -Number(valueList[xIndex]) / Number(yAxis[yAxis.length - 1]) * this.dHeight
|
|
154849
|
+
});
|
|
154850
|
+
}
|
|
154851
|
+
});
|
|
154852
|
+
baseChild.push(line);
|
|
154853
|
+
valuePoint.forEach((point, index) => {
|
|
154854
|
+
const circle = new createjs.Shape();
|
|
154855
|
+
circle.graphics.beginFill(lineColor).drawCircle(point.x, point.y + circleRadius, 4);
|
|
154856
|
+
if (index > 0) {
|
|
154857
|
+
const prevPoint = valuePoint[index - 1];
|
|
154858
|
+
const line = new createjs.Shape();
|
|
154859
|
+
line.graphics.beginStroke(lineColor).moveTo(prevPoint.x, prevPoint.y + circleRadius).lineTo(point.x, point.y + circleRadius);
|
|
154860
|
+
baseChild.push(line);
|
|
154861
|
+
}
|
|
154862
|
+
baseChild.push(circle);
|
|
154863
|
+
});
|
|
154864
|
+
}
|
|
154865
|
+
return baseChild;
|
|
154866
|
+
}
|
|
154867
|
+
}
|
|
154868
|
+
|
|
154869
|
+
/***/ }),
|
|
154870
|
+
|
|
154464
154871
|
/***/ 68880:
|
|
154465
154872
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
154466
154873
|
|
|
@@ -157229,8 +157636,6 @@ var PrintStatus = __webpack_require__(61663);
|
|
|
157229
157636
|
var DrawPageMainDoc = __webpack_require__(54071);
|
|
157230
157637
|
// EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawTextNode.ts + 1 modules
|
|
157231
157638
|
var DrawTextNode = __webpack_require__(68880);
|
|
157232
|
-
// EXTERNAL MODULE: ./src/editor/dom/treeNode/TableFormula.ts
|
|
157233
|
-
var TableFormula = __webpack_require__(28646);
|
|
157234
157639
|
// EXTERNAL MODULE: ./src/editor/draw/drawNode/DrawSignNode.ts
|
|
157235
157640
|
var DrawSignNode = __webpack_require__(54625);
|
|
157236
157641
|
// EXTERNAL MODULE: ./src/editor/dom/TableProperty.ts
|
|
@@ -157297,7 +157702,6 @@ var UserHistory = __webpack_require__(78911);
|
|
|
157297
157702
|
|
|
157298
157703
|
|
|
157299
157704
|
|
|
157300
|
-
|
|
157301
157705
|
|
|
157302
157706
|
|
|
157303
157707
|
//当前的显示状态,psDesign为设计状态,psEdit为正常编辑状态 psPreview为打印预览态态 psPrint 正在打印状态, psReview审阅状态
|
|
@@ -159977,11 +160381,22 @@ class DrawTree {
|
|
|
159977
160381
|
this.formularNodes.forEach((value, key) => {
|
|
159978
160382
|
const pnode = value.getParentCell();
|
|
159979
160383
|
if (cell.table == pnode.table) {
|
|
159980
|
-
if (value.formularType ===
|
|
159981
|
-
|
|
159982
|
-
|
|
159983
|
-
|
|
159984
|
-
|
|
160384
|
+
// if (value.formularType === FormularType.ftSum
|
|
160385
|
+
// || value.formularType === FormularType.ftFormular
|
|
160386
|
+
// || value.formularType === FormularType.ftBMI
|
|
160387
|
+
// || value.formularType === FormularType.ftLaborProcess
|
|
160388
|
+
// || value.formularType === FormularType.ftExpectedBirthDate
|
|
160389
|
+
// || value.formularType === FormularType.ftPregnantWeeks
|
|
160390
|
+
// || value.formularType === FormularType.ftScoreMapping
|
|
160391
|
+
// || value.formularType === FormularType.ftBodySurfaceArea
|
|
160392
|
+
// || value.formularType === FormularType.ftCalcDays
|
|
160393
|
+
// || value.formularType === FormularType.ftCalcTime
|
|
160394
|
+
// || value.formularType === FormularType.ftIdealWeight
|
|
160395
|
+
// || value.formularType === FormularType.ftISS) {
|
|
160396
|
+
value.updateResult();
|
|
160397
|
+
value.getParentCell().drawCell.needUpdate = true;
|
|
160398
|
+
isNeedUpdate = true;
|
|
160399
|
+
// }
|
|
159985
160400
|
}
|
|
159986
160401
|
});
|
|
159987
160402
|
if (isNeedUpdate) {
|
|
@@ -165138,7 +165553,22 @@ class NodeConvert {
|
|
|
165138
165553
|
const item = data[i];
|
|
165139
165554
|
if (item["nodeType"]) {
|
|
165140
165555
|
if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType */ .Z6[_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType */ .Z6.ntText]) {
|
|
165141
|
-
paragraphText += item.text;
|
|
165556
|
+
// paragraphText += item.text;
|
|
165557
|
+
if (item.combination) {
|
|
165558
|
+
let combination = [];
|
|
165559
|
+
if (typeof item.combination === "string") {
|
|
165560
|
+
combination = item.combination.replace(/ /g, '').split(",");
|
|
165561
|
+
} else if (Array.isArray(item.combination)) {
|
|
165562
|
+
combination = item.combination;
|
|
165563
|
+
}
|
|
165564
|
+
let text = item.text;
|
|
165565
|
+
combination.forEach(cText => {
|
|
165566
|
+
text = text + cText;
|
|
165567
|
+
});
|
|
165568
|
+
paragraphText += text;
|
|
165569
|
+
} else {
|
|
165570
|
+
paragraphText += item.text;
|
|
165571
|
+
}
|
|
165142
165572
|
} else if (item.nodeType == _dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType */ .Z6[_dom_treeNode_BaseNode__WEBPACK_IMPORTED_MODULE_12__/* .NodeType */ .Z6.ntParagraph]) {
|
|
165143
165573
|
if (i != 0) {
|
|
165144
165574
|
paragraphText += "\n";
|
|
@@ -166277,10 +166707,11 @@ const createRarewordsCanvas = (text, textStyle) => {
|
|
|
166277
166707
|
|
|
166278
166708
|
"use strict";
|
|
166279
166709
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
166710
|
+
/* harmony export */ Dd: function() { return /* binding */ FormularType; },
|
|
166280
166711
|
/* harmony export */ Z6: function() { return /* binding */ NodeType; },
|
|
166281
166712
|
/* harmony export */ v2: function() { return /* binding */ SliderDecimalType; }
|
|
166282
166713
|
/* harmony export */ });
|
|
166283
|
-
/* unused harmony
|
|
166714
|
+
/* unused harmony export SliderFigureType */
|
|
166284
166715
|
var NodeType;
|
|
166285
166716
|
(function (NodeType) {
|
|
166286
166717
|
NodeType[NodeType["ntParagraph"] = 0] = "ntParagraph";
|
|
@@ -166320,6 +166751,7 @@ var FormularType;
|
|
|
166320
166751
|
FormularType[FormularType["ftCalcTime"] = 9] = "ftCalcTime";
|
|
166321
166752
|
FormularType[FormularType["ftIdealWeight"] = 10] = "ftIdealWeight";
|
|
166322
166753
|
FormularType[FormularType["ftISS"] = 11] = "ftISS";
|
|
166754
|
+
FormularType[FormularType["ftCurveChart"] = 12] = "ftCurveChart";
|
|
166323
166755
|
})(FormularType || (FormularType = {}));
|
|
166324
166756
|
var SliderDecimalType;
|
|
166325
166757
|
(function (SliderDecimalType) {
|
|
@@ -166331,7 +166763,7 @@ var SliderFigureType;
|
|
|
166331
166763
|
(function (SliderFigureType) {
|
|
166332
166764
|
SliderFigureType[SliderFigureType["Figure"] = 0] = "Figure";
|
|
166333
166765
|
SliderFigureType[SliderFigureType["Skin"] = 1] = "Skin";
|
|
166334
|
-
SliderFigureType[SliderFigureType["Joint"] = 2] = "Joint";
|
|
166766
|
+
SliderFigureType[SliderFigureType["Joint"] = 2] = "Joint";
|
|
166335
166767
|
})(SliderFigureType || (SliderFigureType = {}));
|
|
166336
166768
|
|
|
166337
166769
|
/***/ }),
|
|
@@ -167293,11 +167725,11 @@ var map = {
|
|
|
167293
167725
|
"./specialChars/HoSpecialChars.vue": 33336,
|
|
167294
167726
|
"./table/TableCellPoper.vue": 12097,
|
|
167295
167727
|
"./table/TableCellPoper1.vue": 8813,
|
|
167296
|
-
"./table/TableCellProperty.vue":
|
|
167728
|
+
"./table/TableCellProperty.vue": 37667,
|
|
167297
167729
|
"./table/TableColProperty.vue": 81078,
|
|
167298
167730
|
"./table/TableForm.vue": 35121,
|
|
167299
167731
|
"./table/TableFormTree.vue": 75295,
|
|
167300
|
-
"./table/TableFormula.vue":
|
|
167732
|
+
"./table/TableFormula.vue": 68707,
|
|
167301
167733
|
"./table/TableProperty.vue": 65356,
|
|
167302
167734
|
"./table/TableRowProperty.vue": 51653,
|
|
167303
167735
|
"./textDialog/TextBorderDialog.vue": 80713,
|
|
@@ -219614,7 +220046,7 @@ entry_lib_Input.install = function (Vue) {
|
|
|
219614
220046
|
|
|
219615
220047
|
|
|
219616
220048
|
/* harmony default export */ var entry_lib_antd = ([entry_lib_es_button, entry_lib_input, entry_lib_input_number, entry_lib_es_checkbox, entry_lib_date_picker, entry_lib_time_picker, entry_lib_es_radio, entry_lib_es_select, entry_lib_es_tabs, entry_lib_es_dropdown, entry_lib_es_menu, entry_lib_es_upload, entry_lib_tooltip, entry_lib_table, entry_lib_popover, entry_lib_es_icon/* default */.A, entry_lib_config_provider]);
|
|
219617
|
-
;// ./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/HoDocs.vue?vue&type=template&id=
|
|
220049
|
+
;// ./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/HoDocs.vue?vue&type=template&id=de9e9654
|
|
219618
220050
|
var entry_lib_render = function render() {
|
|
219619
220051
|
var _vm = this,
|
|
219620
220052
|
_c = _vm._self._c;
|
|
@@ -219640,6 +220072,7 @@ var entry_lib_render = function render() {
|
|
|
219640
220072
|
},
|
|
219641
220073
|
on: {
|
|
219642
220074
|
"leftclick": _vm.leftclick,
|
|
220075
|
+
"clickEvents": _vm.clickEvents,
|
|
219643
220076
|
"dblNodeClick": _vm.dblNodeClick,
|
|
219644
220077
|
"setFontStyles": _vm.setFontStyle,
|
|
219645
220078
|
"rightClickEventIn": _vm.rightClickEventIn,
|
|
@@ -219735,9 +220168,9 @@ var entry_lib_web_dom_collections_iterator = __webpack_require__(62953);
|
|
|
219735
220168
|
var build_entry_lib_objectSpread2 = __webpack_require__(33217);
|
|
219736
220169
|
// EXTERNAL MODULE: ./src/i18n/index.ts + 1 modules
|
|
219737
220170
|
var entry_lib_i18n = __webpack_require__(49850);
|
|
219738
|
-
;// ./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/HoDoc.vue?vue&type=template&id=
|
|
220171
|
+
;// ./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/HoDoc.vue?vue&type=template&id=2154845a
|
|
219739
220172
|
|
|
219740
|
-
var
|
|
220173
|
+
var entry_lib_HoDocvue_type_template_id_2154845a_render = function render() {
|
|
219741
220174
|
var _vm = this,
|
|
219742
220175
|
_c = _vm._self._c;
|
|
219743
220176
|
return _c('div', {
|
|
@@ -219936,9 +220369,9 @@ var entry_lib_HoDocvue_type_template_id_526129d2_render = function render() {
|
|
|
219936
220369
|
}
|
|
219937
220370
|
}, [_vm._v("v " + _vm._s(_vm.version))])])], 2)], 1);
|
|
219938
220371
|
};
|
|
219939
|
-
var
|
|
220372
|
+
var entry_lib_HoDocvue_type_template_id_2154845a_staticRenderFns = [];
|
|
219940
220373
|
|
|
219941
|
-
;// ./src/components/HoDoc.vue?vue&type=template&id=
|
|
220374
|
+
;// ./src/components/HoDoc.vue?vue&type=template&id=2154845a
|
|
219942
220375
|
|
|
219943
220376
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
|
|
219944
220377
|
var entry_lib_es_array_sort = __webpack_require__(26910);
|
|
@@ -222784,7 +223217,7 @@ var entry_lib_TextNode = __webpack_require__(32083);
|
|
|
222784
223217
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/ParagraphNode.ts
|
|
222785
223218
|
var entry_lib_ParagraphNode = __webpack_require__(40504);
|
|
222786
223219
|
;// ./src/components/version.ts
|
|
222787
|
-
/* harmony default export */ var entry_lib_version = ('3.1.
|
|
223220
|
+
/* harmony default export */ var entry_lib_version = ('3.1.201');
|
|
222788
223221
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
222789
223222
|
var entry_lib_PoperTipText = __webpack_require__(89316);
|
|
222790
223223
|
;// ./src/components/controls/poperTipText/index.ts
|
|
@@ -223208,6 +223641,23 @@ const entry_lib_defaultHeight = Math.floor(1122 * entry_lib_scaleXY) % 2 === 1 ?
|
|
|
223208
223641
|
});
|
|
223209
223642
|
}
|
|
223210
223643
|
}
|
|
223644
|
+
if (paintStatus == entry_lib_DrawTree/* PaintState */.ak.psEdit && hoEditorFactory.emitClickEvent) {
|
|
223645
|
+
const parentNode = node.parentNode;
|
|
223646
|
+
if (parentNode && parentNode instanceof entry_lib_TextInputFieldNode/* TextInputFieldNode */.IM && parentNode.canModifyContent) {
|
|
223647
|
+
this.$emit("clickEvents", {
|
|
223648
|
+
name: parentNode.name,
|
|
223649
|
+
id: parentNode.id,
|
|
223650
|
+
dataId: parentNode.dataId,
|
|
223651
|
+
pageIndex: pageIndex,
|
|
223652
|
+
innerIdentifier: parentNode.innerIdentifier,
|
|
223653
|
+
x: hoEditorFactory.drawTree.caret.X,
|
|
223654
|
+
y: hoEditorFactory.drawTree.caret.Y,
|
|
223655
|
+
height: hoEditorFactory.drawTree.caret.height,
|
|
223656
|
+
parentName: "edit-container",
|
|
223657
|
+
caretId: "ho_caret"
|
|
223658
|
+
});
|
|
223659
|
+
}
|
|
223660
|
+
}
|
|
223211
223661
|
} else if (e.clickType === 'rightClick') {
|
|
223212
223662
|
// this.mouseRightClickEvent(node)
|
|
223213
223663
|
}
|
|
@@ -223820,10 +224270,10 @@ const entry_lib_defaultHeight = Math.floor(1122 * entry_lib_scaleXY) % 2 === 1 ?
|
|
|
223820
224270
|
|
|
223821
224271
|
/* harmony default export */ var entry_lib_components_HoDocvue_type_script_lang_js = (entry_lib_HoDocvue_type_script_lang_js);
|
|
223822
224272
|
|
|
223823
|
-
;// ./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/HoDoc.vue?vue&type=style&index=0&id=
|
|
224273
|
+
;// ./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/HoDoc.vue?vue&type=style&index=0&id=2154845a&prod&lang=less
|
|
223824
224274
|
// extracted by mini-css-extract-plugin
|
|
223825
224275
|
|
|
223826
|
-
;// ./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
224276
|
+
;// ./src/components/HoDoc.vue?vue&type=style&index=0&id=2154845a&prod&lang=less
|
|
223827
224277
|
|
|
223828
224278
|
;// ./src/components/HoDoc.vue
|
|
223829
224279
|
|
|
@@ -223836,8 +224286,8 @@ const entry_lib_defaultHeight = Math.floor(1122 * entry_lib_scaleXY) % 2 === 1 ?
|
|
|
223836
224286
|
|
|
223837
224287
|
var entry_lib_HoDoc_component = (0,entry_lib_componentNormalizer/* default */.A)(
|
|
223838
224288
|
entry_lib_components_HoDocvue_type_script_lang_js,
|
|
223839
|
-
|
|
223840
|
-
|
|
224289
|
+
entry_lib_HoDocvue_type_template_id_2154845a_render,
|
|
224290
|
+
entry_lib_HoDocvue_type_template_id_2154845a_staticRenderFns,
|
|
223841
224291
|
false,
|
|
223842
224292
|
null,
|
|
223843
224293
|
null,
|
|
@@ -226152,9 +226602,17 @@ class entry_lib_HTMLconverter2 {
|
|
|
226152
226602
|
}
|
|
226153
226603
|
TransHTMLSPAN(jnode, style) {
|
|
226154
226604
|
const styleobj = this.mergestyle(entry_lib_jquery_default()(jnode).attr('style') || '', style);
|
|
226605
|
+
let combination = entry_lib_jquery_default()(jnode).attr('combination');
|
|
226606
|
+
let ctext = entry_lib_jquery_default()(jnode).attr('ctext');
|
|
226155
226607
|
if (jnode.childNodes.length == 0) {
|
|
226156
226608
|
const node = this.generateTextNode(entry_lib_jquery_default()(jnode).text(), styleobj);
|
|
226157
|
-
if (
|
|
226609
|
+
if (combination && ctext && node) {
|
|
226610
|
+
node.combination = combination.replace(/ /g, '').split(",");
|
|
226611
|
+
node.text = ctext;
|
|
226612
|
+
return [node];
|
|
226613
|
+
} else {
|
|
226614
|
+
return [];
|
|
226615
|
+
}
|
|
226158
226616
|
} else {
|
|
226159
226617
|
const tmp = new Array();
|
|
226160
226618
|
for (let i = 0; i < jnode.childNodes.length; i++) {
|
|
@@ -226273,7 +226731,15 @@ class entry_lib_HTMLconverter2 {
|
|
|
226273
226731
|
return tmp;
|
|
226274
226732
|
}
|
|
226275
226733
|
const node = this.generateTextNode(entry_lib_jquery_default()(jnode).text(), styleobj);
|
|
226276
|
-
|
|
226734
|
+
let combination = jnode.parentNode ? entry_lib_jquery_default()(jnode.parentNode).attr('combination') : "";
|
|
226735
|
+
let ctext = jnode.parentNode ? entry_lib_jquery_default()(jnode.parentNode).attr('ctext') : "";
|
|
226736
|
+
if (combination && ctext && node) {
|
|
226737
|
+
node.combination = combination.replace(/ /g, '').split(",");
|
|
226738
|
+
node.text = ctext;
|
|
226739
|
+
return [node];
|
|
226740
|
+
} else {
|
|
226741
|
+
return [];
|
|
226742
|
+
}
|
|
226277
226743
|
} else {
|
|
226278
226744
|
const tmp = new Array();
|
|
226279
226745
|
for (let i = 0; i < jnode.childNodes.length; i++) {
|
|
@@ -227576,29 +228042,33 @@ class entry_lib_StructureConvert {
|
|
|
227576
228042
|
if (entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID).fixTableInTextInput) {
|
|
227577
228043
|
// 处理正文
|
|
227578
228044
|
const mainNodes = root.main.node;
|
|
227579
|
-
|
|
227580
|
-
|
|
227581
|
-
|
|
227582
|
-
|
|
227583
|
-
|
|
227584
|
-
|
|
227585
|
-
|
|
227586
|
-
|
|
227587
|
-
|
|
227588
|
-
|
|
227589
|
-
|
|
227590
|
-
|
|
227591
|
-
|
|
227592
|
-
|
|
227593
|
-
|
|
227594
|
-
|
|
228045
|
+
if (Array.isArray(mainNodes)) {
|
|
228046
|
+
mainNodes.forEach((node, key) => {
|
|
228047
|
+
let arr = [];
|
|
228048
|
+
if (node.nodeType == "ntField") {
|
|
228049
|
+
// 文本域
|
|
228050
|
+
const childNode = node.childNodes.node;
|
|
228051
|
+
const index = childNode.findIndex(item => item.nodeType == "ntTable");
|
|
228052
|
+
if (childNode[1] && childNode[1].nodeType == "ntParagraph" && index > 0) {
|
|
228053
|
+
arr = childNode.slice(1, childNode.length - 1);
|
|
228054
|
+
let empty = {
|
|
228055
|
+
"nodeType": "ntMark",
|
|
228056
|
+
"type": "1",
|
|
228057
|
+
"text": node.name,
|
|
228058
|
+
"styleIndex": childNode[0].styleIndex
|
|
228059
|
+
};
|
|
228060
|
+
node.text = "";
|
|
228061
|
+
node.childNodes.node = [childNode[0], empty, childNode[childNode.length - 1]];
|
|
228062
|
+
}
|
|
227595
228063
|
}
|
|
227596
|
-
|
|
227597
|
-
|
|
227598
|
-
|
|
227599
|
-
|
|
227600
|
-
}
|
|
227601
|
-
}
|
|
228064
|
+
newMainNodes.push(node);
|
|
228065
|
+
if (arr.length > 0) {
|
|
228066
|
+
newMainNodes.push(...arr);
|
|
228067
|
+
}
|
|
228068
|
+
});
|
|
228069
|
+
} else {
|
|
228070
|
+
newMainNodes = root.main.node;
|
|
228071
|
+
}
|
|
227602
228072
|
} else {
|
|
227603
228073
|
newMainNodes = root.main.node;
|
|
227604
228074
|
}
|
|
@@ -228746,14 +229216,25 @@ class entry_lib_StructureConvert {
|
|
|
228746
229216
|
const formularNodes = hoEditorFactory.drawTree.formularNodes;
|
|
228747
229217
|
const tableArr = [];
|
|
228748
229218
|
formularNodes.forEach((value, key) => {
|
|
228749
|
-
if (value.formularType ===
|
|
228750
|
-
|
|
228751
|
-
|
|
228752
|
-
|
|
228753
|
-
|
|
228754
|
-
|
|
228755
|
-
|
|
229219
|
+
// if (value.formularType === FormularType.ftSum
|
|
229220
|
+
// || value.formularType === FormularType.ftFormular
|
|
229221
|
+
// || value.formularType === FormularType.ftBMI
|
|
229222
|
+
// || value.formularType === FormularType.ftLaborProcess
|
|
229223
|
+
// || value.formularType === FormularType.ftExpectedBirthDate
|
|
229224
|
+
// || value.formularType === FormularType.ftPregnantWeeks
|
|
229225
|
+
// || value.formularType === FormularType.ftScoreMapping
|
|
229226
|
+
// || value.formularType === FormularType.ftBodySurfaceArea
|
|
229227
|
+
// || value.formularType === FormularType.ftCalcDays
|
|
229228
|
+
// || value.formularType === FormularType.ftCalcTime
|
|
229229
|
+
// || value.formularType === FormularType.ftIdealWeight
|
|
229230
|
+
// || value.formularType === FormularType.ftISS) {
|
|
229231
|
+
value.updateResult();
|
|
229232
|
+
value.getParentCell().drawCell.needUpdate = true;
|
|
229233
|
+
const table = value.getParentCell().table;
|
|
229234
|
+
if (!tableArr.includes(table)) {
|
|
229235
|
+
tableArr.push(table);
|
|
228756
229236
|
}
|
|
229237
|
+
// }
|
|
228757
229238
|
});
|
|
228758
229239
|
for (let t = tableArr.length - 1; t >= 0; t--) {
|
|
228759
229240
|
tableArr[t].update();
|
|
@@ -229147,6 +229628,10 @@ class entry_lib_TestDataSet {
|
|
|
229147
229628
|
|
|
229148
229629
|
|
|
229149
229630
|
|
|
229631
|
+
|
|
229632
|
+
|
|
229633
|
+
|
|
229634
|
+
|
|
229150
229635
|
class entry_lib_TOHTMLConverter {
|
|
229151
229636
|
constructor(hoEditorFactoryID) {
|
|
229152
229637
|
(0,entry_lib_esm_defineProperty/* default */.A)(this, "convert", void 0);
|
|
@@ -229268,8 +229753,17 @@ class entry_lib_TOHTMLConverter {
|
|
|
229268
229753
|
TransText(jnode) {
|
|
229269
229754
|
const style = this.getNodesStyle(jnode);
|
|
229270
229755
|
let str = "";
|
|
229756
|
+
let combination = "";
|
|
229757
|
+
let ctext = "";
|
|
229271
229758
|
if (jnode.nodeType == entry_lib_BaseNode/* NodeType */.Z6[entry_lib_BaseNode/* NodeType */.Z6.ntText]) {
|
|
229272
229759
|
str += jnode.text;
|
|
229760
|
+
if (jnode.combination) {
|
|
229761
|
+
combination = jnode.combination;
|
|
229762
|
+
ctext = jnode.text;
|
|
229763
|
+
combination.replace(/ /g, "").split(",").forEach(item => {
|
|
229764
|
+
str += item;
|
|
229765
|
+
});
|
|
229766
|
+
}
|
|
229273
229767
|
} else if (jnode.nodeType == entry_lib_BaseNode/* NodeType */.Z6[entry_lib_BaseNode/* NodeType */.Z6.ntLabel]) {
|
|
229274
229768
|
str += jnode.text;
|
|
229275
229769
|
} else if (jnode.nodeType == entry_lib_BaseNode/* NodeType */.Z6[entry_lib_BaseNode/* NodeType */.Z6.ntTextBorder]) {
|
|
@@ -229288,7 +229782,7 @@ class entry_lib_TOHTMLConverter {
|
|
|
229288
229782
|
return this.TransImg(jnode);
|
|
229289
229783
|
}
|
|
229290
229784
|
}
|
|
229291
|
-
return `<span style="${style}">${str}</span>`;
|
|
229785
|
+
return `<span style="${style}" combination="${combination}" ctext="${ctext}">${str}</span>`;
|
|
229292
229786
|
}
|
|
229293
229787
|
TransField(jnode) {
|
|
229294
229788
|
const item = this.iterator.next();
|
|
@@ -233698,14 +234192,49 @@ class entry_lib_VueController {
|
|
|
233698
234192
|
* 插入表格计算公式
|
|
233699
234193
|
* @param formulaStr 公式
|
|
233700
234194
|
*/
|
|
233701
|
-
insertTableFormula(formulaStr, isHideZero, formulaType) {
|
|
234195
|
+
insertTableFormula(formulaStr, isHideZero, formulaType, formulaProperty) {
|
|
233702
234196
|
const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
|
|
233703
234197
|
const _curDomRange = hoEditorFactory.docTree.curDomRange; //获取当前选中区域
|
|
233704
234198
|
const startPath = _curDomRange.normalize().startPath;
|
|
233705
234199
|
const endPath = _curDomRange.normalize().endPath;
|
|
233706
234200
|
const changingEvent = new entry_lib_NodeChangingEvent/* NodeChangingEvent */.k(entry_lib_DocTree/* DocAction */.LC.daInsert, startPath, endPath, entry_lib_NodeChangingEvent/* OperType */.j.insertTableFormula);
|
|
233707
234201
|
if (hoEditorFactory.docTree.changing(changingEvent)) {
|
|
233708
|
-
hoEditorFactory.docController.insertTableFormula(_curDomRange, formulaStr, isHideZero, formulaType);
|
|
234202
|
+
hoEditorFactory.docController.insertTableFormula(_curDomRange, formulaStr, isHideZero, formulaType, formulaProperty);
|
|
234203
|
+
}
|
|
234204
|
+
}
|
|
234205
|
+
/**
|
|
234206
|
+
* 锁定单元格不允许编辑
|
|
234207
|
+
*/
|
|
234208
|
+
lockCell(curve) {
|
|
234209
|
+
var _hoEditorFactory$docT;
|
|
234210
|
+
const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this.hoEditorFactoryID);
|
|
234211
|
+
const endPos = hoEditorFactory.drawTree.selectRange.spEnd;
|
|
234212
|
+
let endNode = (_hoEditorFactory$docT = hoEditorFactory.docTree.findNodePositionByPath(endPos.path)) === null || _hoEditorFactory$docT === void 0 ? void 0 : _hoEditorFactory$docT.node;
|
|
234213
|
+
if (endNode) {
|
|
234214
|
+
const cellNode = this.getParentCellNode(endNode);
|
|
234215
|
+
if (cellNode) {
|
|
234216
|
+
this.setCellLock(cellNode.table, curve.codeX.split(':'), curve.lockX);
|
|
234217
|
+
}
|
|
234218
|
+
// if(cellNode && curve.lockY) {
|
|
234219
|
+
// this.setCellLock(cellNode.table, curve.codeX.split(':'))
|
|
234220
|
+
// }
|
|
234221
|
+
}
|
|
234222
|
+
}
|
|
234223
|
+
setCellLock(table, arr, lock) {
|
|
234224
|
+
const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this.hoEditorFactoryID);
|
|
234225
|
+
const [startRow, startCol] = hoEditorFactory.unitConvert.getRowColByCellAdress(arr[0]);
|
|
234226
|
+
const [endRow, endCol] = hoEditorFactory.unitConvert.getRowColByCellAdress(arr[1]);
|
|
234227
|
+
if (startRow >= 0 && startCol >= 0 && endRow >= 0 && endCol >= 0) {
|
|
234228
|
+
if (startRow === endRow || startCol === endCol) {
|
|
234229
|
+
for (let r = startRow; r <= endRow; r++) {
|
|
234230
|
+
for (let c = startCol; c <= endCol; c++) {
|
|
234231
|
+
const cell = table.rows[r][c];
|
|
234232
|
+
if (cell) {
|
|
234233
|
+
cell.cellProperty.notAllowEdit = lock;
|
|
234234
|
+
}
|
|
234235
|
+
}
|
|
234236
|
+
}
|
|
234237
|
+
}
|
|
233709
234238
|
}
|
|
233710
234239
|
}
|
|
233711
234240
|
/**
|
|
@@ -234659,20 +235188,17 @@ class entry_lib_VueController {
|
|
|
234659
235188
|
iteratesNodes(headerDocTree[h].subDocNodes);
|
|
234660
235189
|
if (node) break;
|
|
234661
235190
|
}
|
|
234662
|
-
}
|
|
234663
|
-
if (scope === 'main') {
|
|
235191
|
+
} else if (scope === 'main') {
|
|
234664
235192
|
const mainNodes = hoEditorFactory.docTree.mainNodes;
|
|
234665
235193
|
iteratesNodes(mainNodes);
|
|
234666
|
-
}
|
|
234667
|
-
if (scope === 'footer') {
|
|
235194
|
+
} else if (scope === 'footer') {
|
|
234668
235195
|
const footerDocTree = hoEditorFactory.subDocManger.footerDocTree;
|
|
234669
235196
|
for (let f = 0; f < footerDocTree.length; f++) {
|
|
234670
235197
|
if (!footerDocTree[f]) continue;
|
|
234671
235198
|
iteratesNodes(footerDocTree[f].subDocNodes);
|
|
234672
235199
|
if (node) break;
|
|
234673
235200
|
}
|
|
234674
|
-
}
|
|
234675
|
-
if (scope === 'all') {
|
|
235201
|
+
} else if (scope === 'all') {
|
|
234676
235202
|
const headerDocTree = hoEditorFactory.subDocManger.headerDocTree;
|
|
234677
235203
|
for (let h = 0; h < headerDocTree.length; h++) {
|
|
234678
235204
|
if (!headerDocTree[h]) continue;
|
|
@@ -235726,7 +236252,7 @@ class entry_lib_VueController {
|
|
|
235726
236252
|
}
|
|
235727
236253
|
updateNodesStyle(xmlobj.main, fontStyleMap, paraStyleMap);
|
|
235728
236254
|
const ilen = mergeObject.main.length;
|
|
235729
|
-
//
|
|
236255
|
+
//mergeObject.main.push(...xmlobj.main);
|
|
235730
236256
|
mergeObject.pageSettingsTree = [];
|
|
235731
236257
|
if (list[i][0]) {
|
|
235732
236258
|
updateNodesStyle(xmlobj.header[0].subDocNodes, fontStyleMap, paraStyleMap);
|
|
@@ -236014,6 +236540,17 @@ class entry_lib_VueController {
|
|
|
236014
236540
|
hoEditorFactory.structureNode.Copy(currDom, null, undefined, "copy");
|
|
236015
236541
|
return hoEditorFactory.structureNode.textdata;
|
|
236016
236542
|
}
|
|
236543
|
+
deleteFormula(formula) {
|
|
236544
|
+
if (formula) {
|
|
236545
|
+
const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
|
|
236546
|
+
const preNode = formula.previousLeaf();
|
|
236547
|
+
let sPath = hoEditorFactory.docTree.getNodeLastPath(preNode);
|
|
236548
|
+
let ePath = hoEditorFactory.docTree.getNodeLastPath(formula);
|
|
236549
|
+
hoEditorFactory.undoService.begin();
|
|
236550
|
+
hoEditorFactory.undoService.add(new entry_lib_NodesDeleteUndoUnit/* NodesDeleteUndoUnit */.p(this._hoEditorFactoryID, sPath, ePath, true));
|
|
236551
|
+
hoEditorFactory.undoService.commit();
|
|
236552
|
+
}
|
|
236553
|
+
}
|
|
236017
236554
|
deleteNode(node) {
|
|
236018
236555
|
const hoEditorFactory = entry_lib_HOEditorFactorys/* HOEditorFactorys */.O.instance().getFactory(this._hoEditorFactoryID);
|
|
236019
236556
|
if (!node) return;
|
|
@@ -236451,7 +236988,15 @@ class entry_lib_VueController {
|
|
|
236451
236988
|
if (node.hidden || node !== null && node !== void 0 && (_node$customProperty2 = node.customProperty) !== null && _node$customProperty2 !== void 0 && _node$customProperty2.hidden) {
|
|
236452
236989
|
// console.log(node.text, '111');
|
|
236453
236990
|
} else if (node instanceof entry_lib_TextNode/* TextNode */.E) {
|
|
236454
|
-
|
|
236991
|
+
if (node.combination) {
|
|
236992
|
+
let text = node.text;
|
|
236993
|
+
node.combination.forEach(cText => {
|
|
236994
|
+
text = text + cText;
|
|
236995
|
+
});
|
|
236996
|
+
docText += text;
|
|
236997
|
+
} else {
|
|
236998
|
+
docText += node.text;
|
|
236999
|
+
}
|
|
236455
237000
|
} else if (node instanceof entry_lib_ControlNode/* ControlNode */.g && !(node instanceof entry_lib_PageNumNode/* PageNumNode */.O) && !(node instanceof entry_lib_PageCountNode/* PageCountNode */.d)) {
|
|
236456
237001
|
docText += node.text;
|
|
236457
237002
|
} else if (node instanceof entry_lib_BaseCombineNode/* BaseCombineNode */.h) {
|
|
@@ -236847,16 +237392,11 @@ class entry_lib_VueController {
|
|
|
236847
237392
|
// if (node.readType === 1) {
|
|
236848
237393
|
if (node instanceof entry_lib_TextInputFieldNode/* TextInputFieldNode */.IM) {
|
|
236849
237394
|
await node.setFieldText(text);
|
|
236850
|
-
}
|
|
236851
|
-
if (node instanceof entry_lib_DateTimeNode/* DateTimeNode */.Y) {
|
|
237395
|
+
} else if (node instanceof entry_lib_DateTimeNode/* DateTimeNode */.Y) {
|
|
236852
237396
|
await node.setDateTimeText(text);
|
|
236853
|
-
}
|
|
236854
|
-
if (node instanceof entry_lib_DownListNode/* DownListNode */.dS) {
|
|
237397
|
+
} else if (node instanceof entry_lib_DownListNode/* DownListNode */.dS) {
|
|
236855
237398
|
await node.setDownListText(text);
|
|
236856
237399
|
}
|
|
236857
|
-
// } else {
|
|
236858
|
-
// throw new Error("根据元素name:" + name + "定位到的元素非可回填元素");
|
|
236859
|
-
// }
|
|
236860
237400
|
} else {
|
|
236861
237401
|
throw new Error('根据元素name:' + name + '定位到的元素非可回填元素');
|
|
236862
237402
|
}
|
|
@@ -236868,6 +237408,18 @@ class entry_lib_VueController {
|
|
|
236868
237408
|
throw new Error('根据元素name:' + name + '未找到对应的元素');
|
|
236869
237409
|
}
|
|
236870
237410
|
}
|
|
237411
|
+
async updateTextByDataId(dataId, text) {
|
|
237412
|
+
const node = this.getNodeByDataID('main', dataId);
|
|
237413
|
+
if (node) {
|
|
237414
|
+
if (node instanceof entry_lib_TextInputFieldNode/* TextInputFieldNode */.IM) {
|
|
237415
|
+
node.setFieldText(text);
|
|
237416
|
+
} else if (node instanceof entry_lib_DateTimeNode/* DateTimeNode */.Y) {
|
|
237417
|
+
node.setDateTimeText(text);
|
|
237418
|
+
} else if (node instanceof entry_lib_DownListNode/* DownListNode */.dS) {
|
|
237419
|
+
node.setDownListText(text);
|
|
237420
|
+
}
|
|
237421
|
+
}
|
|
237422
|
+
}
|
|
236871
237423
|
//元素替换
|
|
236872
237424
|
async updateElementTextById(id, text) {
|
|
236873
237425
|
const nodes = this.getNodeByID('all', id, 'array');
|
|
@@ -241324,7 +241876,10 @@ class entry_lib_EditController {
|
|
|
241324
241876
|
entry_lib_message/* default */.A.destroy();
|
|
241325
241877
|
const pNode = hoEditorFactory.docTree.getFinalParentNode(curDomRange.startPath);
|
|
241326
241878
|
if (pNode && pNode instanceof entry_lib_CellNode/* CellNode */.H) {
|
|
241327
|
-
if (pNode.
|
|
241879
|
+
if (pNode.cellProperty.notAllowEdit) {
|
|
241880
|
+
entry_lib_message/* default */.A.error("当前单元格已设置不允许编辑!");
|
|
241881
|
+
return false;
|
|
241882
|
+
} else if (pNode.table.tableProperty.isSignLock) {
|
|
241328
241883
|
// message.error("表格已完成签名,不允许修改编辑。")
|
|
241329
241884
|
// return false;
|
|
241330
241885
|
// } else {
|
|
@@ -250546,7 +251101,7 @@ var entry_lib_DocController = __webpack_require__(5011);
|
|
|
250546
251101
|
|
|
250547
251102
|
|
|
250548
251103
|
class entry_lib_HOEditorFactory {
|
|
250549
|
-
//
|
|
251104
|
+
// 点击元素是否触发click事件
|
|
250550
251105
|
/**
|
|
250551
251106
|
* Getter hoLocalStorage
|
|
250552
251107
|
* @return {HoLocalStorage}
|
|
@@ -250791,6 +251346,8 @@ class entry_lib_HOEditorFactory {
|
|
|
250791
251346
|
(0,entry_lib_esm_defineProperty/* default */.A)(this, "useFixTableMerge", false);
|
|
250792
251347
|
// 启用表格合并单元格问题修复功能
|
|
250793
251348
|
(0,entry_lib_esm_defineProperty/* default */.A)(this, "fixTableInTextInput", false);
|
|
251349
|
+
// 修复新增页在文本域中插入的表格问题
|
|
251350
|
+
(0,entry_lib_esm_defineProperty/* default */.A)(this, "emitClickEvent", false);
|
|
250794
251351
|
this._hoEditorFactoryId = id;
|
|
250795
251352
|
}
|
|
250796
251353
|
get defaultLineHeight() {
|
|
@@ -251532,7 +252089,23 @@ const entry_lib_formularType = {
|
|
|
251532
252089
|
8: 'ftCalcDays',
|
|
251533
252090
|
9: 'ftCalcTime',
|
|
251534
252091
|
10: 'idealWeight',
|
|
251535
|
-
11: 'iss'
|
|
252092
|
+
11: 'iss',
|
|
252093
|
+
12: 'curveChart' //曲线图
|
|
252094
|
+
};
|
|
252095
|
+
const entry_lib_formularName = {
|
|
252096
|
+
sum: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.300",null,"表格行列求和公式"),
|
|
252097
|
+
formula: '四则运算公式',
|
|
252098
|
+
bmi: 'BMI计算公式',
|
|
252099
|
+
labor: '产程公式',
|
|
252100
|
+
expectedDate: '预产期公式',
|
|
252101
|
+
pregnantWeeks: '孕周公式',
|
|
252102
|
+
ftScoreMapping: '分值映射公式',
|
|
252103
|
+
bodySurfaceArea: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.264",null,"体表面积公式"),
|
|
252104
|
+
ftCalcDays: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.263",null,"计算住院天数公式"),
|
|
252105
|
+
ftCalcTime: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.260",null,"时间计算公式"),
|
|
252106
|
+
idealWeight: '理想体重公式',
|
|
252107
|
+
iss: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.257",null,"损伤严重程度评分(ISS)"),
|
|
252108
|
+
curveChart: '曲线图'
|
|
251536
252109
|
};
|
|
251537
252110
|
const entry_lib_getFormula = tableFormular => {
|
|
251538
252111
|
// 获取公式类型
|
|
@@ -252216,6 +252789,9 @@ var entry_lib_commondata = __webpack_require__(92611);
|
|
|
252216
252789
|
leftclick(node) {
|
|
252217
252790
|
this.$emit('leftClickEvent', node);
|
|
252218
252791
|
},
|
|
252792
|
+
clickEvents(node) {
|
|
252793
|
+
this.$emit("clickEvents", node);
|
|
252794
|
+
},
|
|
252219
252795
|
openXmlList(xmlList) {
|
|
252220
252796
|
if (xmlList.length > 1) {
|
|
252221
252797
|
// this.hoEditorFactoryIdList = [];
|
|
@@ -252623,10 +253199,10 @@ var entry_lib_commondata = __webpack_require__(92611);
|
|
|
252623
253199
|
|
|
252624
253200
|
/* harmony default export */ var entry_lib_components_HoDocsvue_type_script_lang_js = (entry_lib_HoDocsvue_type_script_lang_js);
|
|
252625
253201
|
|
|
252626
|
-
;// ./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=
|
|
253202
|
+
;// ./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=de9e9654&prod&lang=less&media=print
|
|
252627
253203
|
// extracted by mini-css-extract-plugin
|
|
252628
253204
|
|
|
252629
|
-
;// ./src/components/HoDocs.vue?vue&type=style&index=0&id=
|
|
253205
|
+
;// ./src/components/HoDocs.vue?vue&type=style&index=0&id=de9e9654&prod&lang=less&media=print
|
|
252630
253206
|
|
|
252631
253207
|
;// ./src/components/HoDocs.vue
|
|
252632
253208
|
|
|
@@ -252649,9 +253225,9 @@ var entry_lib_HoDocs_component = (0,entry_lib_componentNormalizer/* default */.A
|
|
|
252649
253225
|
)
|
|
252650
253226
|
|
|
252651
253227
|
/* harmony default export */ var entry_lib_HoDocs = (entry_lib_HoDocs_component.exports);
|
|
252652
|
-
;// ./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/toolbar/ToolBar.vue?vue&type=template&id=
|
|
253228
|
+
;// ./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/toolbar/ToolBar.vue?vue&type=template&id=0caaf4d5
|
|
252653
253229
|
|
|
252654
|
-
var
|
|
253230
|
+
var entry_lib_ToolBarvue_type_template_id_0caaf4d5_render = function render() {
|
|
252655
253231
|
var _vm = this,
|
|
252656
253232
|
_c = _vm._self._c;
|
|
252657
253233
|
return _c('div', {
|
|
@@ -252701,8 +253277,10 @@ var entry_lib_ToolBarvue_type_template_id_7ff8d3aa_render = function render() {
|
|
|
252701
253277
|
}, [_c('a-menu-item', {
|
|
252702
253278
|
key: "xml"
|
|
252703
253279
|
}, [_vm._v("XML")]), _c('a-menu-item', {
|
|
252704
|
-
key: "html"
|
|
252705
|
-
}, [_vm._v("HTML")]), _c('a-menu-item', {
|
|
253280
|
+
key: "html(svg)"
|
|
253281
|
+
}, [_vm._v("HTML(svg)")]), _c('a-menu-item', {
|
|
253282
|
+
key: "html(html)"
|
|
253283
|
+
}, [_vm._v("HTML(txt)")]), _c('a-menu-item', {
|
|
252706
253284
|
key: "pdf"
|
|
252707
253285
|
}, [_vm._v("PDF")]), _c('a-menu-item', {
|
|
252708
253286
|
key: "plain"
|
|
@@ -252882,9 +253460,9 @@ var entry_lib_ToolBarvue_type_template_id_7ff8d3aa_render = function render() {
|
|
|
252882
253460
|
}, [_vm._v(_vm._s(item.key ? ['', /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.1", null, "浏览模式"), /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.5", null, "编辑模式"), /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.4", null, "插入"), /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.3", null, "表格"), /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.2", null, "审阅模式")][item.key] : item.title))]);
|
|
252883
253461
|
}), 1)], 1) : _vm._e()], 1);
|
|
252884
253462
|
};
|
|
252885
|
-
var
|
|
253463
|
+
var entry_lib_ToolBarvue_type_template_id_0caaf4d5_staticRenderFns = [];
|
|
252886
253464
|
|
|
252887
|
-
;// ./src/components/toolbar/ToolBar.vue?vue&type=template&id=
|
|
253465
|
+
;// ./src/components/toolbar/ToolBar.vue?vue&type=template&id=0caaf4d5
|
|
252888
253466
|
|
|
252889
253467
|
;// ./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/toolbar/insert/HoMedicalExpression.vue?vue&type=template&id=079ade04
|
|
252890
253468
|
|
|
@@ -256284,9 +256862,9 @@ var entry_lib_ToolTablevue_type_template_id_5f320070_staticRenderFns = [];
|
|
|
256284
256862
|
|
|
256285
256863
|
;// ./src/components/toolbar/insert/ToolTable.vue?vue&type=template&id=5f320070
|
|
256286
256864
|
|
|
256287
|
-
;// ./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/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=
|
|
256865
|
+
;// ./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/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=31a8ae0c
|
|
256288
256866
|
|
|
256289
|
-
var
|
|
256867
|
+
var entry_lib_HoTableFeaturesvue_type_template_id_31a8ae0c_render = function render() {
|
|
256290
256868
|
var _vm = this,
|
|
256291
256869
|
_c = _vm._self._c;
|
|
256292
256870
|
return _c('div', {
|
|
@@ -256339,7 +256917,9 @@ var entry_lib_HoTableFeaturesvue_type_template_id_18b19744_render = function ren
|
|
|
256339
256917
|
key: "idealWeight"
|
|
256340
256918
|
}, [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.259", null, "理想体重"))]), _c('a-menu-item', {
|
|
256341
256919
|
key: "iss"
|
|
256342
|
-
}, [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.257", null, "损伤严重程度评分(ISS)"))])
|
|
256920
|
+
}, [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.257", null, "损伤严重程度评分(ISS)"))]), _c('a-menu-item', {
|
|
256921
|
+
key: "curveChart"
|
|
256922
|
+
}, [_vm._v("曲线图")])], 1)], 1)], 2)], 1) : _vm._e(), _vm.table.insertRowAbove && _vm.tableProperty.canAddRow ? _c('div', {
|
|
256343
256923
|
directives: [{
|
|
256344
256924
|
name: "debounce",
|
|
256345
256925
|
rawName: "v-debounce:1000.click",
|
|
@@ -256497,9 +257077,9 @@ var entry_lib_HoTableFeaturesvue_type_template_id_18b19744_render = function ren
|
|
|
256497
257077
|
staticClass: "ho-emr-tool-item"
|
|
256498
257078
|
}, [_c('span', [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.319", null, "取消合并单元格"))])]) : _vm._e()]);
|
|
256499
257079
|
};
|
|
256500
|
-
var
|
|
257080
|
+
var entry_lib_HoTableFeaturesvue_type_template_id_31a8ae0c_staticRenderFns = [];
|
|
256501
257081
|
|
|
256502
|
-
;// ./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=
|
|
257082
|
+
;// ./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=31a8ae0c
|
|
256503
257083
|
|
|
256504
257084
|
;// ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[19].use[0]!./node_modules/unplugin/dist/webpack/loaders/transform.js?unpluginName=vite-plugin-i18n-helper!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=script&lang=js
|
|
256505
257085
|
|
|
@@ -256520,6 +257100,7 @@ var entry_lib_HoTableFeaturesvue_type_template_id_18b19744_staticRenderFns = [];
|
|
|
256520
257100
|
|
|
256521
257101
|
|
|
256522
257102
|
|
|
257103
|
+
|
|
256523
257104
|
/* harmony default export */ var entry_lib_HoTableFeaturesvue_type_script_lang_js = ({
|
|
256524
257105
|
name: 'HoTableFeatures',
|
|
256525
257106
|
props: {
|
|
@@ -256675,14 +257256,14 @@ var entry_lib_HoTableFeaturesvue_type_template_id_18b19744_staticRenderFns = [];
|
|
|
256675
257256
|
ftCalcDays: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.263", null, "计算住院天数公式"),
|
|
256676
257257
|
ftCalcTime: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.260", null, "时间计算公式"),
|
|
256677
257258
|
idealWeight: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.259", null, "理想体重"),
|
|
256678
|
-
iss: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.257", null, "损伤严重程度评分(ISS)")
|
|
257259
|
+
iss: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.257", null, "损伤严重程度评分(ISS)"),
|
|
257260
|
+
curveChart: '曲线图'
|
|
256679
257261
|
};
|
|
256680
|
-
if (
|
|
256681
|
-
this
|
|
257262
|
+
if (entry_lib_formularName[formulaType]) {
|
|
257263
|
+
this.$emit('setModalStatus', ['table-formula', 'add', [entry_lib_formularName[formulaType], formulaType]]);
|
|
256682
257264
|
} else {
|
|
256683
|
-
this
|
|
257265
|
+
this.setCellCode();
|
|
256684
257266
|
}
|
|
256685
|
-
|
|
256686
257267
|
// this.dialogFormVisible = true;
|
|
256687
257268
|
// this.dialogFormTitle = params[0];
|
|
256688
257269
|
// this.formula = params[1];
|
|
@@ -256750,8 +257331,8 @@ var entry_lib_HoTableFeaturesvue_type_template_id_18b19744_staticRenderFns = [];
|
|
|
256750
257331
|
;
|
|
256751
257332
|
var entry_lib_HoTableFeatures_component = (0,entry_lib_componentNormalizer/* default */.A)(
|
|
256752
257333
|
entry_lib_insert_HoTableFeaturesvue_type_script_lang_js,
|
|
256753
|
-
|
|
256754
|
-
|
|
257334
|
+
entry_lib_HoTableFeaturesvue_type_template_id_31a8ae0c_render,
|
|
257335
|
+
entry_lib_HoTableFeaturesvue_type_template_id_31a8ae0c_staticRenderFns,
|
|
256755
257336
|
false,
|
|
256756
257337
|
null,
|
|
256757
257338
|
null,
|
|
@@ -257596,13 +258177,15 @@ var entry_lib_ToolTable_component = (0,entry_lib_componentNormalizer/* default *
|
|
|
257596
258177
|
const fileName = this.vueController.getDocTitle() ? this.vueController.getDocTitle() : '电子病历文档';
|
|
257597
258178
|
if (fileType == 'pdf') {
|
|
257598
258179
|
this.vueController.saveAsPDF('', 'pdf', false);
|
|
258180
|
+
} else if (fileType == 'html(svg)') {
|
|
258181
|
+
this.vueController.saveAsPDF('', 'html', false);
|
|
258182
|
+
} else if (fileType == 'html(html)') {
|
|
258183
|
+
let fileName = this.vueController.getDocTitle();
|
|
258184
|
+
const file = this.vueController.getFileHtml();
|
|
258185
|
+
this.downloadFile(file, fileName + '.html', 'html');
|
|
257599
258186
|
} else {
|
|
257600
|
-
|
|
257601
|
-
|
|
257602
|
-
this.downloadFile(file, fileName, fileType);
|
|
257603
|
-
} else {
|
|
257604
|
-
this.vueController.saveAsPDF('', 'html', false);
|
|
257605
|
-
}
|
|
258187
|
+
const file = this.vueController.saveAsFile(fileType, true);
|
|
258188
|
+
this.downloadFile(file, fileName, fileType);
|
|
257606
258189
|
}
|
|
257607
258190
|
},
|
|
257608
258191
|
/**
|
|
@@ -257635,10 +258218,10 @@ var entry_lib_ToolTable_component = (0,entry_lib_componentNormalizer/* default *
|
|
|
257635
258218
|
|
|
257636
258219
|
/* harmony default export */ var entry_lib_toolbar_ToolBarvue_type_script_lang_js = (entry_lib_ToolBarvue_type_script_lang_js);
|
|
257637
258220
|
|
|
257638
|
-
;// ./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/toolbar/ToolBar.vue?vue&type=style&index=0&id=
|
|
258221
|
+
;// ./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/toolbar/ToolBar.vue?vue&type=style&index=0&id=0caaf4d5&prod&lang=less
|
|
257639
258222
|
// extracted by mini-css-extract-plugin
|
|
257640
258223
|
|
|
257641
|
-
;// ./src/components/toolbar/ToolBar.vue?vue&type=style&index=0&id=
|
|
258224
|
+
;// ./src/components/toolbar/ToolBar.vue?vue&type=style&index=0&id=0caaf4d5&prod&lang=less
|
|
257642
258225
|
|
|
257643
258226
|
;// ./src/components/toolbar/ToolBar.vue
|
|
257644
258227
|
|
|
@@ -257651,8 +258234,8 @@ var entry_lib_ToolTable_component = (0,entry_lib_componentNormalizer/* default *
|
|
|
257651
258234
|
|
|
257652
258235
|
var entry_lib_ToolBar_component = (0,entry_lib_componentNormalizer/* default */.A)(
|
|
257653
258236
|
entry_lib_toolbar_ToolBarvue_type_script_lang_js,
|
|
257654
|
-
|
|
257655
|
-
|
|
258237
|
+
entry_lib_ToolBarvue_type_template_id_0caaf4d5_render,
|
|
258238
|
+
entry_lib_ToolBarvue_type_template_id_0caaf4d5_staticRenderFns,
|
|
257656
258239
|
false,
|
|
257657
258240
|
null,
|
|
257658
258241
|
null,
|
|
@@ -258481,10 +259064,10 @@ var entry_lib_HoToolBar_component = (0,entry_lib_componentNormalizer/* default *
|
|
|
258481
259064
|
)
|
|
258482
259065
|
|
|
258483
259066
|
/* harmony default export */ var entry_lib_HoToolBar = (entry_lib_HoToolBar_component.exports);
|
|
258484
|
-
;// ./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/toolbar/HoRightMenu.vue?vue&type=template&id=
|
|
259067
|
+
;// ./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/toolbar/HoRightMenu.vue?vue&type=template&id=c072f7c2
|
|
258485
259068
|
|
|
258486
|
-
var
|
|
258487
|
-
var _vm$hoEditorProvider$, _vm$hoEditorProvider$2, _vm$hoEditorProvider$3, _vm$hoEditorProvider$4, _vm$hoEditorProvider$5, _vm$hoEditorProvider$6, _vm$hoEditorProvider$7, _vm$hoEditorProvider$8, _vm$hoEditorProvider$10, _vm$hoEditorProvider$11, _vm$hoEditorProvider$12, _vm$hoEditorProvider$13, _vm$hoEditorProvider$14, _vm$hoEditorProvider$15, _vm$hoEditorProvider$16, _vm$hoEditorProvider$17, _vm$hoEditorProvider$18, _vm$hoEditorProvider$19, _vm$hoEditorProvider$20, _vm$hoEditorProvider$21, _vm$hoEditorProvider$22, _vm$hoEditorProvider$23, _vm$hoEditorProvider$24, _vm$hoEditorProvider$25, _vm$hoEditorProvider$26;
|
|
259069
|
+
var entry_lib_HoRightMenuvue_type_template_id_c072f7c2_render = function render() {
|
|
259070
|
+
var _vm$hoEditorProvider$, _vm$hoEditorProvider$2, _vm$hoEditorProvider$3, _vm$hoEditorProvider$4, _vm$hoEditorProvider$5, _vm$hoEditorProvider$6, _vm$hoEditorProvider$7, _vm$hoEditorProvider$8, _vm$hoEditorProvider$10, _vm$hoEditorProvider$11, _vm$hoEditorProvider$12, _vm$hoEditorProvider$13, _vm$hoEditorProvider$14, _vm$hoEditorProvider$15, _vm$hoEditorProvider$16, _vm$hoEditorProvider$17, _vm$hoEditorProvider$18, _vm$hoEditorProvider$19, _vm$hoEditorProvider$20, _vm$hoEditorProvider$21, _vm$hoEditorProvider$22, _vm$hoEditorProvider$23, _vm$hoEditorProvider$24, _vm$hoEditorProvider$25, _vm$hoEditorProvider$26, _vm$hoEditorProvider$27;
|
|
258488
259071
|
var _vm = this,
|
|
258489
259072
|
_c = _vm._self._c;
|
|
258490
259073
|
return _c('div', {
|
|
@@ -258708,7 +259291,18 @@ var entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_render = function render(
|
|
|
258708
259291
|
return _vm.toUpdateNodes('table-formula');
|
|
258709
259292
|
}
|
|
258710
259293
|
}
|
|
258711
|
-
}, [_vm._v(" " + _vm._s(_vm.formularType[_vm.hoEditorProvider.rightNode.tableFormulaType]) + " ")]) : _vm._e()]) : _vm._e(), ((_vm$hoEditorProvider$21 = _vm.hoEditorProvider.rightNode) === null || _vm$hoEditorProvider$21 === void 0 ? void 0 : _vm$hoEditorProvider$21.paintStatus)
|
|
259294
|
+
}, [_vm._v(" " + _vm._s(_vm.formularType[_vm.hoEditorProvider.rightNode.tableFormulaType]) + " ")]) : _vm._e()]) : _vm._e(), ((_vm$hoEditorProvider$21 = _vm.hoEditorProvider.rightNode) === null || _vm$hoEditorProvider$21 === void 0 ? void 0 : _vm$hoEditorProvider$21.paintStatus) === 1 && _vm.hoEditorProvider.rightNode.tableFormulaType ? _c('ul', {
|
|
259295
|
+
staticClass: "mouse-right-menu"
|
|
259296
|
+
}, [_c('li', {
|
|
259297
|
+
staticClass: "mouse-menu-item mouse-right-menu-line"
|
|
259298
|
+
}), _c('li', {
|
|
259299
|
+
staticClass: "mouse-menu-item",
|
|
259300
|
+
on: {
|
|
259301
|
+
"click": function ($event) {
|
|
259302
|
+
return _vm.deleteFormula();
|
|
259303
|
+
}
|
|
259304
|
+
}
|
|
259305
|
+
}, [_c('span', [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.139", null, "删除"))]), _vm._v(" "), _c('span', [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.321", null, "表格计算公式"))])])]) : _vm._e(), ((_vm$hoEditorProvider$22 = _vm.hoEditorProvider.rightNode) === null || _vm$hoEditorProvider$22 === void 0 ? void 0 : _vm$hoEditorProvider$22.paintStatus) != 5 && (_vm$hoEditorProvider$23 = _vm.hoEditorProvider.rightNode) !== null && _vm$hoEditorProvider$23 !== void 0 && _vm$hoEditorProvider$23.rightTypeIsTable && this.defaultTable ? _c('ul', {
|
|
258712
259306
|
staticClass: "mouse-right-menu"
|
|
258713
259307
|
}, [_c('li', {
|
|
258714
259308
|
staticClass: "mouse-menu-item mouse-right-menu-line"
|
|
@@ -258770,7 +259364,7 @@ var entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_render = function render(
|
|
|
258770
259364
|
attrs: {
|
|
258771
259365
|
"type": "delete"
|
|
258772
259366
|
}
|
|
258773
|
-
}), _c('span', [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.9", null, "删除对角线"))])], 1) : _vm._e()]) : _vm._e(), ((_vm$hoEditorProvider$
|
|
259367
|
+
}), _c('span', [_vm._v(/*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.9", null, "删除对角线"))])], 1) : _vm._e()]) : _vm._e(), ((_vm$hoEditorProvider$24 = _vm.hoEditorProvider.rightNode) === null || _vm$hoEditorProvider$24 === void 0 ? void 0 : _vm$hoEditorProvider$24.paintStatus) != 5 && (_vm$hoEditorProvider$25 = _vm.hoEditorProvider.rightNode) !== null && _vm$hoEditorProvider$25 !== void 0 && _vm$hoEditorProvider$25.rightTypeIsTable && this.defaultTable ? _c('ul', {
|
|
258774
259368
|
staticClass: "mouse-right-menu"
|
|
258775
259369
|
}, [_c('li', {
|
|
258776
259370
|
staticClass: "mouse-menu-item mouse-right-menu-line"
|
|
@@ -258785,7 +259379,7 @@ var entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_render = function render(
|
|
|
258785
259379
|
on: {
|
|
258786
259380
|
"closeMenu": _vm.handleClose
|
|
258787
259381
|
}
|
|
258788
|
-
})], 1) : _vm._e(), (_vm$hoEditorProvider$
|
|
259382
|
+
})], 1) : _vm._e(), (_vm$hoEditorProvider$26 = _vm.hoEditorProvider.rightNode) !== null && _vm$hoEditorProvider$26 !== void 0 && _vm$hoEditorProvider$26.canShowComment ? _c('ul', {
|
|
258789
259383
|
staticClass: "mouse-right-menu"
|
|
258790
259384
|
}, [_c('li', {
|
|
258791
259385
|
staticClass: "mouse-menu-item",
|
|
@@ -258794,7 +259388,7 @@ var entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_render = function render(
|
|
|
258794
259388
|
return _vm.hideComments();
|
|
258795
259389
|
}
|
|
258796
259390
|
}
|
|
258797
|
-
}, [_vm._v(" " + _vm._s((_vm$hoEditorProvider$
|
|
259391
|
+
}, [_vm._v(" " + _vm._s((_vm$hoEditorProvider$27 = _vm.hoEditorProvider.rightNode) !== null && _vm$hoEditorProvider$27 !== void 0 && _vm$hoEditorProvider$27.isHideComments ? /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.8", null, "显示批注") : /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.7", null, "隐藏批注")) + " ")])]) : _vm._e()], 2) : _vm._e(), _c('ul', {
|
|
258798
259392
|
staticClass: "mouse-right-menu"
|
|
258799
259393
|
}, [_c('li', {
|
|
258800
259394
|
staticClass: "mouse-menu-item"
|
|
@@ -258805,9 +259399,9 @@ var entry_lib_HoRightMenuvue_type_template_id_0a3b51f0_render = function render(
|
|
|
258805
259399
|
}
|
|
258806
259400
|
}, [_vm._v("v " + _vm._s(_vm.versions))])])])], 2);
|
|
258807
259401
|
};
|
|
258808
|
-
var
|
|
259402
|
+
var entry_lib_HoRightMenuvue_type_template_id_c072f7c2_staticRenderFns = [];
|
|
258809
259403
|
|
|
258810
|
-
;// ./src/components/toolbar/HoRightMenu.vue?vue&type=template&id=
|
|
259404
|
+
;// ./src/components/toolbar/HoRightMenu.vue?vue&type=template&id=c072f7c2
|
|
258811
259405
|
|
|
258812
259406
|
;// ./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/toolbar/TableFeatures.vue?vue&type=template&id=5bcdf497
|
|
258813
259407
|
|
|
@@ -259366,6 +259960,7 @@ var entry_lib_popper = __webpack_require__(98234);
|
|
|
259366
259960
|
|
|
259367
259961
|
|
|
259368
259962
|
|
|
259963
|
+
|
|
259369
259964
|
|
|
259370
259965
|
|
|
259371
259966
|
/* harmony default export */ var entry_lib_HoRightMenuvue_type_script_lang_js = ({
|
|
@@ -259417,20 +260012,7 @@ var entry_lib_popper = __webpack_require__(98234);
|
|
|
259417
260012
|
isIncludes: '',
|
|
259418
260013
|
showTableOnRightMenu: false,
|
|
259419
260014
|
// 获取全局变量 showTableOnRightMenu
|
|
259420
|
-
formularType:
|
|
259421
|
-
sum: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.300", null, "表格行列求和公式"),
|
|
259422
|
-
formula: '四则运算公式',
|
|
259423
|
-
bmi: 'BMI计算公式',
|
|
259424
|
-
labor: '产程公式',
|
|
259425
|
-
expectedDate: '预产期公式',
|
|
259426
|
-
pregnantWeeks: '孕周公式',
|
|
259427
|
-
ftScoreMapping: '分值映射公式',
|
|
259428
|
-
bodySurfaceArea: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.264", null, "体表面积公式"),
|
|
259429
|
-
ftCalcDays: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.263", null, "计算住院天数公式"),
|
|
259430
|
-
ftCalcTime: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.260", null, "时间计算公式"),
|
|
259431
|
-
idealWeight: '理想体重公式',
|
|
259432
|
-
iss: /*#__PURE__*/(0,entry_lib_i18n/* i18nHelper */.p)("04-001-009-EMR.3.3.257", null, "损伤严重程度评分(ISS)")
|
|
259433
|
-
},
|
|
260015
|
+
formularType: entry_lib_formularName,
|
|
259434
260016
|
isPasted: false,
|
|
259435
260017
|
isWebview: false,
|
|
259436
260018
|
htmlText: '',
|
|
@@ -259668,6 +260250,11 @@ var entry_lib_popper = __webpack_require__(98234);
|
|
|
259668
260250
|
clearSelectedRangeParas() {
|
|
259669
260251
|
this.vueController.clearSelectedRangeParas();
|
|
259670
260252
|
this.handleClose();
|
|
260253
|
+
},
|
|
260254
|
+
deleteFormula() {
|
|
260255
|
+
const formulaNode = this.hoEditorProvider.rightNode.node();
|
|
260256
|
+
this.vueController.deleteFormula(formulaNode);
|
|
260257
|
+
this.handleClose();
|
|
259671
260258
|
}
|
|
259672
260259
|
}
|
|
259673
260260
|
|
|
@@ -259896,8 +260483,8 @@ var entry_lib_popper = __webpack_require__(98234);
|
|
|
259896
260483
|
;
|
|
259897
260484
|
var entry_lib_HoRightMenu_component = (0,entry_lib_componentNormalizer/* default */.A)(
|
|
259898
260485
|
entry_lib_toolbar_HoRightMenuvue_type_script_lang_js,
|
|
259899
|
-
|
|
259900
|
-
|
|
260486
|
+
entry_lib_HoRightMenuvue_type_template_id_c072f7c2_render,
|
|
260487
|
+
entry_lib_HoRightMenuvue_type_template_id_c072f7c2_staticRenderFns,
|
|
259901
260488
|
false,
|
|
259902
260489
|
null,
|
|
259903
260490
|
null,
|