hoeditor-web 3.0.39 → 3.0.41
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 +407 -1
- package/lib/hoeditor.umd.js +390 -121
- package/lib/hoeditor.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/hoeditor.umd.js
CHANGED
|
@@ -8877,7 +8877,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
8877
8877
|
|
|
8878
8878
|
/***/ }),
|
|
8879
8879
|
|
|
8880
|
-
/***/
|
|
8880
|
+
/***/ 16512:
|
|
8881
8881
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
8882
8882
|
|
|
8883
8883
|
"use strict";
|
|
@@ -8897,7 +8897,7 @@ var es_string_includes = __webpack_require__(32023);
|
|
|
8897
8897
|
var es_regexp_exec = __webpack_require__(74916);
|
|
8898
8898
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
8899
8899
|
var es_string_replace = __webpack_require__(15306);
|
|
8900
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
8900
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=4e689c5a&
|
|
8901
8901
|
|
|
8902
8902
|
|
|
8903
8903
|
|
|
@@ -9176,14 +9176,19 @@ var render = function render() {
|
|
|
9176
9176
|
}, [_c('template', {
|
|
9177
9177
|
slot: "renderExtraFooter"
|
|
9178
9178
|
}, [_vm.dateTimeStyle.includes('mm') ? _c('a-time-picker', {
|
|
9179
|
+
ref: "timePicker",
|
|
9179
9180
|
staticStyle: {
|
|
9180
9181
|
"width": "100%"
|
|
9181
9182
|
},
|
|
9182
9183
|
attrs: {
|
|
9183
9184
|
"type": "time",
|
|
9185
|
+
"size": "small",
|
|
9184
9186
|
"format": _vm.dateTimeStyle.split(' ')[1],
|
|
9185
|
-
"valueFormat": _vm.dateTimeStyle.split(' ')[1]
|
|
9186
|
-
|
|
9187
|
+
"valueFormat": _vm.dateTimeStyle.split(' ')[1]
|
|
9188
|
+
},
|
|
9189
|
+
on: {
|
|
9190
|
+
"focus": _vm.timeFocus,
|
|
9191
|
+
"blur": _vm.timeBlur
|
|
9187
9192
|
},
|
|
9188
9193
|
model: {
|
|
9189
9194
|
value: _vm.time,
|
|
@@ -9225,6 +9230,7 @@ var render = function render() {
|
|
|
9225
9230
|
}, [_vm._v("确定")])], 1)], 1)], 2) : _c('div', {
|
|
9226
9231
|
staticClass: "timepicker"
|
|
9227
9232
|
}, [_c('a-time-picker', {
|
|
9233
|
+
ref: "timePicker",
|
|
9228
9234
|
style: {
|
|
9229
9235
|
marginLeft: '2px',
|
|
9230
9236
|
width: '30px'
|
|
@@ -9279,7 +9285,7 @@ var render = function render() {
|
|
|
9279
9285
|
};
|
|
9280
9286
|
var staticRenderFns = [];
|
|
9281
9287
|
|
|
9282
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=
|
|
9288
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=template&id=4e689c5a&
|
|
9283
9289
|
|
|
9284
9290
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
|
|
9285
9291
|
var toConsumableArray = __webpack_require__(61748);
|
|
@@ -11355,7 +11361,8 @@ var type = __webpack_require__(41542);
|
|
|
11355
11361
|
enterIndex: 0,
|
|
11356
11362
|
// 保存打开表单时的节点路径
|
|
11357
11363
|
endPath: '',
|
|
11358
|
-
calendarInstance: null
|
|
11364
|
+
calendarInstance: null,
|
|
11365
|
+
calendarTimeInstance: null
|
|
11359
11366
|
};
|
|
11360
11367
|
},
|
|
11361
11368
|
computed: {
|
|
@@ -11476,12 +11483,14 @@ var type = __webpack_require__(41542);
|
|
|
11476
11483
|
}
|
|
11477
11484
|
}, 100);
|
|
11478
11485
|
}
|
|
11479
|
-
if (this.dateTimeStyle.
|
|
11486
|
+
if (this.dateTimeStyle.replace(/yyyy|YYYY|MM|DD|dd/g, '').length !== this.dateTimeStyle.length) {
|
|
11480
11487
|
this.$nextTick(function () {
|
|
11481
11488
|
if (_this2.$refs.datePicker) {
|
|
11482
11489
|
_this2.calendarInstance = _this2.$refs.datePicker.$refs.picker.$refs.calendarInstance.$el.querySelector('.ant-calendar-input');
|
|
11483
|
-
_this2.calendarInstance
|
|
11484
|
-
|
|
11490
|
+
if (_this2.calendarInstance) {
|
|
11491
|
+
_this2.calendarInstance.addEventListener('input', _this2.calendarInstanceChange);
|
|
11492
|
+
_this2.calendarInstance.addEventListener('keydown', _this2.calendarInstanceKeydown);
|
|
11493
|
+
}
|
|
11485
11494
|
}
|
|
11486
11495
|
});
|
|
11487
11496
|
}
|
|
@@ -11490,15 +11499,84 @@ var type = __webpack_require__(41542);
|
|
|
11490
11499
|
// datePickerChange(event) {
|
|
11491
11500
|
// console.log('datePickerChange ==> ', event.target.value);
|
|
11492
11501
|
// },
|
|
11493
|
-
|
|
11502
|
+
timeFocus: function timeFocus(event) {
|
|
11503
|
+
if (this.calendarTimeInstance) {
|
|
11504
|
+
this.calendarTimeInstance.removeEventListener('input', this.calendarTimeInstance);
|
|
11505
|
+
this.calendarTimeInstance.removeEventListener('keydown', this.calendarTimeInstance);
|
|
11506
|
+
this.calendarTimeInstance = null;
|
|
11507
|
+
}
|
|
11508
|
+
},
|
|
11509
|
+
timeBlur: function timeBlur(event) {
|
|
11510
|
+
if (this.calendarTimeInstance == null) {
|
|
11511
|
+
this.timeBindEvent();
|
|
11512
|
+
}
|
|
11513
|
+
},
|
|
11514
|
+
timeBindEvent: function timeBindEvent() {
|
|
11494
11515
|
var _this3 = this;
|
|
11516
|
+
if (this.dateTimeStyle.replace(/hh|HH|mm|ss/g, '').length !== this.dateTimeStyle.length) {
|
|
11517
|
+
this.$nextTick(function () {
|
|
11518
|
+
if (_this3.$refs.timePicker && _this3.$refs.timePicker.$refs.timePicker && _this3.$refs.timePicker.$refs.timePicker.$refs.panel) {
|
|
11519
|
+
_this3.calendarTimeInstance = _this3.$refs.timePicker.$refs.timePicker.$refs.panel.$el.querySelector(".ant-time-picker-panel-input ");
|
|
11520
|
+
if (_this3.calendarTimeInstance) {
|
|
11521
|
+
_this3.calendarTimeInstance.addEventListener('input', _this3.calendarTimeInstanceChange);
|
|
11522
|
+
_this3.calendarTimeInstance.addEventListener('keydown', _this3.calendarTimeInstanceKeydown);
|
|
11523
|
+
}
|
|
11524
|
+
}
|
|
11525
|
+
});
|
|
11526
|
+
}
|
|
11527
|
+
},
|
|
11528
|
+
calendarTimeInstanceChange: function calendarTimeInstanceChange(event) {
|
|
11529
|
+
var style = this.dateTimeStyle.replace(/dd/g, 'DD').replace(/yyyy/g, 'YYYY');
|
|
11530
|
+
var timeFormat = this.dateTimeStyle.includes(' ') ? this.dateTimeStyle.split(' ')[1] : this.dateTimeStyle;
|
|
11531
|
+
var format = this.dateTimeStyle.replace(/[^a-zA-Z]/g, '').replace(/dd/g, 'DD').replace(/yyyy/g, 'YYYY');
|
|
11532
|
+
var timeStyle = format.replace(/yyyy|YYYY|MM|DD/g, '');
|
|
11533
|
+
var defaultValue = event.target.value;
|
|
11534
|
+
if (event.target.value.replace(/[^0-9]/g, '').length !== defaultValue.length) {
|
|
11535
|
+
console.warn("value: ".concat(defaultValue));
|
|
11536
|
+
return;
|
|
11537
|
+
}
|
|
11538
|
+
if (timeStyle) {
|
|
11539
|
+
if (defaultValue.length >= timeStyle.length) {
|
|
11540
|
+
var value = moment_default()(String(defaultValue), timeStyle).format(timeFormat);
|
|
11541
|
+
if (value != 'Invalid date') {
|
|
11542
|
+
if (this.dateTimeStyle.includes(' ')) {
|
|
11543
|
+
this.time = value;
|
|
11544
|
+
} else {
|
|
11545
|
+
this.date = value;
|
|
11546
|
+
}
|
|
11547
|
+
}
|
|
11548
|
+
}
|
|
11549
|
+
}
|
|
11550
|
+
},
|
|
11551
|
+
calendarTimeInstanceKeydown: function calendarTimeInstanceKeydown(event) {
|
|
11552
|
+
var _this4 = this;
|
|
11553
|
+
if (event && event.keyCode == 13) {
|
|
11554
|
+
this.$nextTick(function () {
|
|
11555
|
+
if (_this4.calendarInstance) {
|
|
11556
|
+
_this4.calendarInstance.removeEventListener('input', _this4.calendarInstanceChange);
|
|
11557
|
+
_this4.calendarInstance.removeEventListener('keydown', _this4.calendarInstanceKeydown);
|
|
11558
|
+
}
|
|
11559
|
+
if (_this4.calendarTimeInstance) {
|
|
11560
|
+
_this4.calendarTimeInstance.removeEventListener('input', _this4.calendarTimeInstanceChange);
|
|
11561
|
+
_this4.calendarTimeInstance.removeEventListener('keydown', _this4.calendarTimeInstanceKeydown);
|
|
11562
|
+
}
|
|
11563
|
+
_this4.sureDate();
|
|
11564
|
+
});
|
|
11565
|
+
}
|
|
11566
|
+
},
|
|
11567
|
+
calendarInstanceKeydown: function calendarInstanceKeydown(event) {
|
|
11568
|
+
var _this5 = this;
|
|
11495
11569
|
if (event && event.keyCode == 13) {
|
|
11496
11570
|
this.$nextTick(function () {
|
|
11497
|
-
if (
|
|
11498
|
-
|
|
11499
|
-
|
|
11571
|
+
if (_this5.calendarInstance) {
|
|
11572
|
+
_this5.calendarInstance.removeEventListener('input', _this5.calendarInstanceChange);
|
|
11573
|
+
_this5.calendarInstance.removeEventListener('keydown', _this5.calendarInstanceKeydown);
|
|
11574
|
+
}
|
|
11575
|
+
if (_this5.calendarTimeInstance) {
|
|
11576
|
+
_this5.calendarTimeInstance.removeEventListener('input', _this5.calendarTimeInstanceChange);
|
|
11577
|
+
_this5.calendarTimeInstance.removeEventListener('keydown', _this5.calendarTimeInstanceKeydown);
|
|
11500
11578
|
}
|
|
11501
|
-
|
|
11579
|
+
_this5.sureDate();
|
|
11502
11580
|
});
|
|
11503
11581
|
}
|
|
11504
11582
|
},
|
|
@@ -11514,15 +11592,15 @@ var type = __webpack_require__(41542);
|
|
|
11514
11592
|
}
|
|
11515
11593
|
if (dateStyle && timeStyle) {
|
|
11516
11594
|
if (defaultValue.length >= dateStyle.length && defaultValue.length < format.length) {
|
|
11517
|
-
var value = moment_default()(String(defaultValue), dateStyle).format(style.split(
|
|
11595
|
+
var value = moment_default()(String(defaultValue), dateStyle).format(style.split(' ')[0]);
|
|
11518
11596
|
if (value != 'Invalid date') {
|
|
11519
11597
|
this.date = value;
|
|
11520
11598
|
}
|
|
11521
11599
|
} else if (defaultValue.length >= format.length) {
|
|
11522
11600
|
var _value = moment_default()(String(defaultValue), format).format(style);
|
|
11523
11601
|
if (_value != 'Invalid date') {
|
|
11524
|
-
this.date = _value.split(
|
|
11525
|
-
this.time = _value.split(
|
|
11602
|
+
this.date = _value.split(' ')[0];
|
|
11603
|
+
this.time = _value.split(' ')[1];
|
|
11526
11604
|
}
|
|
11527
11605
|
}
|
|
11528
11606
|
} else if (dateStyle && !timeStyle) {
|
|
@@ -11591,7 +11669,7 @@ var type = __webpack_require__(41542);
|
|
|
11591
11669
|
this.sureDate();
|
|
11592
11670
|
},
|
|
11593
11671
|
currentDateTime: function currentDateTime() {
|
|
11594
|
-
var
|
|
11672
|
+
var _this6 = this;
|
|
11595
11673
|
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this.hoEditorId);
|
|
11596
11674
|
var node = this.getCurrentPoperNode();
|
|
11597
11675
|
var date = this.dateFormat(new Date(), node.controlStyle);
|
|
@@ -11613,7 +11691,7 @@ var type = __webpack_require__(41542);
|
|
|
11613
11691
|
};
|
|
11614
11692
|
hoEditorFactory.vueController.updateDateTime(JSON.stringify(params));
|
|
11615
11693
|
this.$nextTick(function () {
|
|
11616
|
-
return
|
|
11694
|
+
return _this6.handleClose();
|
|
11617
11695
|
});
|
|
11618
11696
|
},
|
|
11619
11697
|
sureDate: function sureDate() {
|
|
@@ -11693,12 +11771,12 @@ var type = __webpack_require__(41542);
|
|
|
11693
11771
|
* 互斥列表选择
|
|
11694
11772
|
*/
|
|
11695
11773
|
mutexSelectItemsChange: function mutexSelectItemsChange(value) {
|
|
11696
|
-
var
|
|
11774
|
+
var _this7 = this;
|
|
11697
11775
|
if (value.length > 0) {
|
|
11698
11776
|
this.poperSelectList.forEach(function (v) {
|
|
11699
11777
|
if (value.includes(v.id)) {
|
|
11700
11778
|
v.selected = true;
|
|
11701
|
-
|
|
11779
|
+
_this7.mutexType = String(v.type);
|
|
11702
11780
|
} else {
|
|
11703
11781
|
v.selected = false;
|
|
11704
11782
|
}
|
|
@@ -11707,7 +11785,7 @@ var type = __webpack_require__(41542);
|
|
|
11707
11785
|
} else if (value.length === 0) {
|
|
11708
11786
|
this.poperSelectList.forEach(function (v) {
|
|
11709
11787
|
v.selected = false;
|
|
11710
|
-
|
|
11788
|
+
_this7.mutexType = '';
|
|
11711
11789
|
});
|
|
11712
11790
|
this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
|
|
11713
11791
|
}
|
|
@@ -11716,7 +11794,7 @@ var type = __webpack_require__(41542);
|
|
|
11716
11794
|
* 选择
|
|
11717
11795
|
*/
|
|
11718
11796
|
selectItemsChange: function selectItemsChange(value) {
|
|
11719
|
-
var
|
|
11797
|
+
var _this8 = this;
|
|
11720
11798
|
if (!this.isAllowMultiSelect) {
|
|
11721
11799
|
var item = {};
|
|
11722
11800
|
var selectItemIndex = 0;
|
|
@@ -11738,12 +11816,12 @@ var type = __webpack_require__(41542);
|
|
|
11738
11816
|
this.poperSelectList.map(function (v) {
|
|
11739
11817
|
if (value.target.id == v.id) {
|
|
11740
11818
|
v.selected = value.target.checked;
|
|
11741
|
-
if (v.selected &&
|
|
11819
|
+
if (v.selected && _this8.selectedList.filter(function (m) {
|
|
11742
11820
|
return m.id == v.id;
|
|
11743
11821
|
}).length == 0) {
|
|
11744
|
-
|
|
11822
|
+
_this8.selectedList.push(v);
|
|
11745
11823
|
} else {
|
|
11746
|
-
|
|
11824
|
+
_this8.selectedList = _this8.selectedList.filter(function (m) {
|
|
11747
11825
|
return m.id != v.id;
|
|
11748
11826
|
});
|
|
11749
11827
|
}
|
|
@@ -11761,7 +11839,7 @@ var type = __webpack_require__(41542);
|
|
|
11761
11839
|
}
|
|
11762
11840
|
},
|
|
11763
11841
|
selectItems: function selectItems(item, index) {
|
|
11764
|
-
var
|
|
11842
|
+
var _this9 = this;
|
|
11765
11843
|
if (!this.isAllowMultiSelect) {
|
|
11766
11844
|
this.poperSelectList.forEach(function (v) {
|
|
11767
11845
|
v.selected = false;
|
|
@@ -11776,13 +11854,13 @@ var type = __webpack_require__(41542);
|
|
|
11776
11854
|
v.selected = !v.selected;
|
|
11777
11855
|
}
|
|
11778
11856
|
if (v.selected) {
|
|
11779
|
-
if (
|
|
11857
|
+
if (_this9.isCanSearch && _this9.selectedList.filter(function (m) {
|
|
11780
11858
|
return m.id == v.id;
|
|
11781
11859
|
}).length == 0) {
|
|
11782
|
-
|
|
11860
|
+
_this9.selectedList.push(v);
|
|
11783
11861
|
}
|
|
11784
11862
|
} else {
|
|
11785
|
-
if (
|
|
11863
|
+
if (_this9.isCanSearch) _this9.selectedList = _this9.selectedList.filter(function (m) {
|
|
11786
11864
|
return m.id != v.id;
|
|
11787
11865
|
});
|
|
11788
11866
|
}
|
|
@@ -11793,12 +11871,12 @@ var type = __webpack_require__(41542);
|
|
|
11793
11871
|
},
|
|
11794
11872
|
// 全选
|
|
11795
11873
|
allSelect: function allSelect() {
|
|
11796
|
-
var
|
|
11874
|
+
var _this10 = this;
|
|
11797
11875
|
this.selectedList = [];
|
|
11798
11876
|
this.poperSelectList.forEach(function (v) {
|
|
11799
11877
|
v.selected = true;
|
|
11800
|
-
|
|
11801
|
-
|
|
11878
|
+
_this10.selectedList.push(v);
|
|
11879
|
+
_this10.selectedIds.push(v.id);
|
|
11802
11880
|
});
|
|
11803
11881
|
this.currentList = (0,toConsumableArray/* default */.Z)(this.poperSelectList);
|
|
11804
11882
|
},
|
|
@@ -11819,7 +11897,7 @@ var type = __webpack_require__(41542);
|
|
|
11819
11897
|
},
|
|
11820
11898
|
// 选中
|
|
11821
11899
|
sureSelect: function sureSelect() {
|
|
11822
|
-
var
|
|
11900
|
+
var _this11 = this;
|
|
11823
11901
|
console.time('下拉选中时间');
|
|
11824
11902
|
var text = '';
|
|
11825
11903
|
var keyValue = '';
|
|
@@ -11847,7 +11925,7 @@ var type = __webpack_require__(41542);
|
|
|
11847
11925
|
text += v.text + ',';
|
|
11848
11926
|
textArr.push(v.text);
|
|
11849
11927
|
}
|
|
11850
|
-
if (
|
|
11928
|
+
if (_this11.isAllowMultiSelect && _this11.isMultiLinesDisplay && !_this11.mutexSelect) {
|
|
11851
11929
|
text += '\n';
|
|
11852
11930
|
}
|
|
11853
11931
|
keyValue += v.id + ',';
|
|
@@ -11889,7 +11967,7 @@ var type = __webpack_require__(41542);
|
|
|
11889
11967
|
} else if (currentPoperNode instanceof TextInputFieldNode/* TextInputFieldNode */.re) {
|
|
11890
11968
|
text = text.replace(/,/g, currentPoperNode.downListProperty.splitCharacter);
|
|
11891
11969
|
Object.keys(this.textParam).map(function (v) {
|
|
11892
|
-
|
|
11970
|
+
_this11.textParam[v] = currentPoperNode[v];
|
|
11893
11971
|
});
|
|
11894
11972
|
this.textParam.text = text;
|
|
11895
11973
|
this.textParam.keyValue = keyValue;
|
|
@@ -11911,7 +11989,7 @@ var type = __webpack_require__(41542);
|
|
|
11911
11989
|
// 元素联动内容延时关闭下拉选项,防止双击把光标移动到联动元素外
|
|
11912
11990
|
if (selected.length === 1 && selected[0].text.indexOf('<元素>') !== -1) {
|
|
11913
11991
|
setTimeout(function () {
|
|
11914
|
-
|
|
11992
|
+
_this11.handleClose();
|
|
11915
11993
|
}, 200);
|
|
11916
11994
|
} else {
|
|
11917
11995
|
this.handleClose();
|
|
@@ -11957,10 +12035,10 @@ var type = __webpack_require__(41542);
|
|
|
11957
12035
|
});
|
|
11958
12036
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=script&lang=js&
|
|
11959
12037
|
/* harmony default export */ var poperSelect_PoperSelectvue_type_script_lang_js_ = (PoperSelectvue_type_script_lang_js_);
|
|
11960
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
12038
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=4e689c5a&prod&lang=scss&
|
|
11961
12039
|
// extracted by mini-css-extract-plugin
|
|
11962
12040
|
|
|
11963
|
-
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=
|
|
12041
|
+
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/PoperSelect.vue?vue&type=style&index=0&id=4e689c5a&prod&lang=scss&
|
|
11964
12042
|
|
|
11965
12043
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
11966
12044
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -18562,7 +18640,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
18562
18640
|
|
|
18563
18641
|
/***/ }),
|
|
18564
18642
|
|
|
18565
|
-
/***/
|
|
18643
|
+
/***/ 79032:
|
|
18566
18644
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
18567
18645
|
|
|
18568
18646
|
"use strict";
|
|
@@ -18574,7 +18652,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
18574
18652
|
"default": function() { return /* binding */ table_TableFormula; }
|
|
18575
18653
|
});
|
|
18576
18654
|
|
|
18577
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=template&id=
|
|
18655
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/controls/table/TableFormula.vue?vue&type=template&id=0f994c3d&
|
|
18578
18656
|
var render = function render() {
|
|
18579
18657
|
var _vm = this,
|
|
18580
18658
|
_c = _vm._self._c;
|
|
@@ -18882,6 +18960,9 @@ var render = function render() {
|
|
|
18882
18960
|
}, [_c('div', {
|
|
18883
18961
|
staticClass: "ho-table-features-list"
|
|
18884
18962
|
}, [_c('p', [_vm._v("行数")]), _c('a-input-number', {
|
|
18963
|
+
staticStyle: {
|
|
18964
|
+
"width": "90%"
|
|
18965
|
+
},
|
|
18885
18966
|
attrs: {
|
|
18886
18967
|
"precision": 0,
|
|
18887
18968
|
"min": 1,
|
|
@@ -18898,6 +18979,9 @@ var render = function render() {
|
|
|
18898
18979
|
})], 1), _c('div', {
|
|
18899
18980
|
staticClass: "ho-table-features-list"
|
|
18900
18981
|
}, [_c('p', [_vm._v("列数")]), _c('a-input-number', {
|
|
18982
|
+
staticStyle: {
|
|
18983
|
+
"width": "90%"
|
|
18984
|
+
},
|
|
18901
18985
|
attrs: {
|
|
18902
18986
|
"precision": 0,
|
|
18903
18987
|
"min": 1,
|
|
@@ -18911,6 +18995,44 @@ var render = function render() {
|
|
|
18911
18995
|
},
|
|
18912
18996
|
expression: "form.columns"
|
|
18913
18997
|
}
|
|
18998
|
+
})], 1)]) : _vm._e(), _vm.formula === 'ftCalcDays' ? _c('section', {
|
|
18999
|
+
staticClass: "costum-row-columns"
|
|
19000
|
+
}, [_c('div', {
|
|
19001
|
+
staticClass: "ho-table-features-list"
|
|
19002
|
+
}, [_c('p', {
|
|
19003
|
+
staticStyle: {
|
|
19004
|
+
"width": "160px",
|
|
19005
|
+
"padding": "0"
|
|
19006
|
+
}
|
|
19007
|
+
}, [_vm._v("开始时间单元格编号")]), _c('a-input', {
|
|
19008
|
+
attrs: {
|
|
19009
|
+
"autocomplete": "off"
|
|
19010
|
+
},
|
|
19011
|
+
model: {
|
|
19012
|
+
value: _vm.startDateCode,
|
|
19013
|
+
callback: function callback($$v) {
|
|
19014
|
+
_vm.startDateCode = $$v;
|
|
19015
|
+
},
|
|
19016
|
+
expression: "startDateCode"
|
|
19017
|
+
}
|
|
19018
|
+
})], 1), _c('div', {
|
|
19019
|
+
staticClass: "ho-table-features-list"
|
|
19020
|
+
}, [_c('p', {
|
|
19021
|
+
staticStyle: {
|
|
19022
|
+
"width": "160px",
|
|
19023
|
+
"padding": "0"
|
|
19024
|
+
}
|
|
19025
|
+
}, [_vm._v("结束时间单元格编号")]), _c('a-input', {
|
|
19026
|
+
attrs: {
|
|
19027
|
+
"autocomplete": "off"
|
|
19028
|
+
},
|
|
19029
|
+
model: {
|
|
19030
|
+
value: _vm.endDateCode,
|
|
19031
|
+
callback: function callback($$v) {
|
|
19032
|
+
_vm.endDateCode = $$v;
|
|
19033
|
+
},
|
|
19034
|
+
expression: "endDateCode"
|
|
19035
|
+
}
|
|
18914
19036
|
})], 1)]) : _vm._e()]), _c('footer', {
|
|
18915
19037
|
staticClass: "ho-modal-footer"
|
|
18916
19038
|
}, [_c('a-button', {
|
|
@@ -19028,7 +19150,9 @@ var TableFormula = __webpack_require__(90832);
|
|
|
19028
19150
|
ftScoreMapping: '通过多个分值组合计算,转换为对应的值域信息。例如:1-5分(高),6-10分中,10-15分(低)',
|
|
19029
19151
|
labor: ['将时间元素设置成运算模式,比如这个第一产程时间=宫口全开时间-宫缩开始时间', '第1产程是从规律 “宫缩开始”到“宫口开全”,(“宫口开全” - “宫缩开始”)', '第2产程是从 “宫口开全” 到 “胎儿娩出”, (“胎儿娩出” - “宫口开全” )', '第3产程是从 “胎儿娩出” 到 “胎盘娩出” , (“胎盘娩出” - “胎儿娩出” )', '总产程:= 第1产程+第2产程+第3产程', '表示格式 示例: 9小时24分24秒,当时间大于24小时时, 显示格式为“28小时30分30秒”']
|
|
19030
19152
|
},
|
|
19031
|
-
bodySurfaceAreaWeight: ''
|
|
19153
|
+
bodySurfaceAreaWeight: '',
|
|
19154
|
+
startDateCode: '',
|
|
19155
|
+
endDateCode: ''
|
|
19032
19156
|
};
|
|
19033
19157
|
},
|
|
19034
19158
|
inject: ['hoEditorProvider'],
|
|
@@ -19091,6 +19215,11 @@ var TableFormula = __webpack_require__(90832);
|
|
|
19091
19215
|
console.warn("\u5206\u503C\u6620\u5C04\u516C\u5F0F\u89E3\u6790\u5931\u8D25\uFF1A".concat(node.formulaStr));
|
|
19092
19216
|
}
|
|
19093
19217
|
}
|
|
19218
|
+
} else if (this.formula === 'ftCalcDays') {
|
|
19219
|
+
if (node.formulaStr) {
|
|
19220
|
+
this.startDateCode = node.formulaStr.split(',')[0];
|
|
19221
|
+
this.endDateCode = node.formulaStr.split(',')[1];
|
|
19222
|
+
}
|
|
19094
19223
|
}
|
|
19095
19224
|
}
|
|
19096
19225
|
}
|
|
@@ -19145,6 +19274,8 @@ var TableFormula = __webpack_require__(90832);
|
|
|
19145
19274
|
this.vueController.insertTable(this.form.rows, this.form.columns);
|
|
19146
19275
|
} else if (this.formula === 'bodySurfaceArea') {
|
|
19147
19276
|
this.vueController.insertTableFormula("".concat(this.bodySurfaceAreaWeight).toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType.ftBodySurfaceArea */.a.ftBodySurfaceArea);
|
|
19277
|
+
} else if (this.formula === 'ftCalcDays') {
|
|
19278
|
+
this.vueController.insertTableFormula("".concat(this.startDateCode, ",").concat(this.endDateCode).toLocaleLowerCase(), this.isHideZero, TableFormula/* FormularType.ftCalcDays */.a.ftCalcDays);
|
|
19148
19279
|
}
|
|
19149
19280
|
this.handleClose();
|
|
19150
19281
|
},
|
|
@@ -19166,10 +19297,10 @@ var TableFormula = __webpack_require__(90832);
|
|
|
19166
19297
|
});
|
|
19167
19298
|
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormula.vue?vue&type=script&lang=js&
|
|
19168
19299
|
/* harmony default export */ var table_TableFormulavue_type_script_lang_js_ = (TableFormulavue_type_script_lang_js_);
|
|
19169
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
19300
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=0f994c3d&prod&lang=scss&
|
|
19170
19301
|
// extracted by mini-css-extract-plugin
|
|
19171
19302
|
|
|
19172
|
-
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=
|
|
19303
|
+
;// CONCATENATED MODULE: ./src/components/controls/table/TableFormula.vue?vue&type=style&index=0&id=0f994c3d&prod&lang=scss&
|
|
19173
19304
|
|
|
19174
19305
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
19175
19306
|
var componentNormalizer = __webpack_require__(70713);
|
|
@@ -58699,6 +58830,10 @@ var SignNode = /*#__PURE__*/function (_BaseNode) {
|
|
|
58699
58830
|
var imgHeight = isClearSign ? 0 : Number(json.imgHeight);
|
|
58700
58831
|
var isTemplate = json.isTemplate === true || json.isTemplate === "true" ? true : false;
|
|
58701
58832
|
var attribute = json.attribute ? Number(json.attribute) : 0;
|
|
58833
|
+
// 处理otherProperties参数传错导致fingerPrintSrc属性错误问题
|
|
58834
|
+
if ((0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(json.fingerPrintSrc) == 'object') {
|
|
58835
|
+
json.fingerPrintSrc = '';
|
|
58836
|
+
}
|
|
58702
58837
|
var signNode = new SignNode(hoEditorFactoryID, rootNodes, pNode ? pNode : null, _BaseNode__WEBPACK_IMPORTED_MODULE_15__/* .NodeType.ntSign */ .Jq.ntSign, number, type, json.name, json.signType ? Number(json.signType) : 0, json.signFormat ? json.signFormat : "签名医师", isClearSign ? "" : json.signor, isClearSign ? "" : json.signTime, json.signTimeFormat ? json.signTimeFormat : "yyyy-MM-dd HH:mm", isClearSign ? "" : json.imgSrc, imgWidth, imgHeight, isClearSign ? undefined : json.customProperty, isTemplate, json.styleIndex ? Number(json.styleIndex) : undefined, json.connectMode, json.isFront, json.allowEditSignTime, isClearSign ? "" : json.fingerPrintSrc, isClearSign ? 0 : json.fingerPosition, attribute, json.connectChar, json.otherProperties);
|
|
58703
58838
|
signNode.PNGToJPG = json.PNGToJPG == 1 ? 1 : 0;
|
|
58704
58839
|
// if (json.id != "") {
|
|
@@ -59019,6 +59154,7 @@ var FormularType;
|
|
|
59019
59154
|
FormularType[FormularType["ftPregnantWeeks"] = 5] = "ftPregnantWeeks";
|
|
59020
59155
|
FormularType[FormularType["ftScoreMapping"] = 6] = "ftScoreMapping";
|
|
59021
59156
|
FormularType[FormularType["ftBodySurfaceArea"] = 7] = "ftBodySurfaceArea";
|
|
59157
|
+
FormularType[FormularType["ftCalcDays"] = 8] = "ftCalcDays";
|
|
59022
59158
|
})(FormularType || (FormularType = {}));
|
|
59023
59159
|
var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
59024
59160
|
(0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_inherits_js__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(TableFormula, _ControlNode);
|
|
@@ -59126,6 +59262,9 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
59126
59262
|
if (this.formularType === FormularType.ftBodySurfaceArea) {
|
|
59127
59263
|
this.clacBodySurfaceArea();
|
|
59128
59264
|
}
|
|
59265
|
+
if (this.formularType === FormularType.ftCalcDays) {
|
|
59266
|
+
this.clacDays();
|
|
59267
|
+
}
|
|
59129
59268
|
}
|
|
59130
59269
|
}
|
|
59131
59270
|
}, {
|
|
@@ -59871,6 +60010,46 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
59871
60010
|
}
|
|
59872
60011
|
return strRet;
|
|
59873
60012
|
}
|
|
60013
|
+
}, {
|
|
60014
|
+
key: "clacDays",
|
|
60015
|
+
value: function clacDays() {
|
|
60016
|
+
var strRet = " ";
|
|
60017
|
+
var table = this.getParentCell().table;
|
|
60018
|
+
var arrStr = this.formulaStr.split(",");
|
|
60019
|
+
if (arrStr.length < 2) {
|
|
60020
|
+
ant_design_vue_es_message__WEBPACK_IMPORTED_MODULE_38__/* ["default"].warn */ .Z.warn("入院时间和出院时间对应的单元格编号传入有误:" + this.formulaStr);
|
|
60021
|
+
}
|
|
60022
|
+
var _this$getRowColByCell25 = this.getRowColByCellAdress(arrStr[0]),
|
|
60023
|
+
_this$getRowColByCell26 = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this$getRowColByCell25, 2),
|
|
60024
|
+
rysjRow = _this$getRowColByCell26[0],
|
|
60025
|
+
rysjCol = _this$getRowColByCell26[1];
|
|
60026
|
+
var _this$getRowColByCell27 = this.getRowColByCellAdress(arrStr[1]),
|
|
60027
|
+
_this$getRowColByCell28 = (0,D_project_go_test_createJS_hoeditor_web_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(_this$getRowColByCell27, 2),
|
|
60028
|
+
cysjRow = _this$getRowColByCell28[0],
|
|
60029
|
+
cysjCol = _this$getRowColByCell28[1];
|
|
60030
|
+
if (rysjRow >= 0 && rysjCol >= 0 && cysjRow >= 0 && cysjCol >= 0) {
|
|
60031
|
+
if (!table.rows[rysjRow]) return strRet;
|
|
60032
|
+
if (!table.rows[cysjRow]) return strRet;
|
|
60033
|
+
var rCell = table.rows[rysjRow][rysjCol];
|
|
60034
|
+
var cCell = table.rows[cysjRow][cysjCol];
|
|
60035
|
+
if (rCell && cCell) {
|
|
60036
|
+
var rysj = rCell.getCellText();
|
|
60037
|
+
var cysj = cCell.getCellText();
|
|
60038
|
+
if (!rysj || !cysj) return strRet;
|
|
60039
|
+
if ((0,_plugins_util__WEBPACK_IMPORTED_MODULE_30__/* .isDate */ .J_)(rysj) && (0,_plugins_util__WEBPACK_IMPORTED_MODULE_30__/* .isDate */ .J_)(cysj)) {
|
|
60040
|
+
var rDate = new Date(rysj);
|
|
60041
|
+
var cDate = new Date(cysj);
|
|
60042
|
+
var rTime = rDate.getTime();
|
|
60043
|
+
var cTime = cDate.getTime();
|
|
60044
|
+
var subTime = ((cTime - rTime + 1) / (1000 * 3600 * 24)).toString();
|
|
60045
|
+
var dayData = subTime.split('.');
|
|
60046
|
+
var day = dayData[0] + "天";
|
|
60047
|
+
return day;
|
|
60048
|
+
}
|
|
60049
|
+
}
|
|
60050
|
+
}
|
|
60051
|
+
return strRet;
|
|
60052
|
+
}
|
|
59874
60053
|
}, {
|
|
59875
60054
|
key: "isCellInFormula",
|
|
59876
60055
|
value: function isCellInFormula(acell, r, c) {
|
|
@@ -59942,6 +60121,8 @@ var TableFormula = /*#__PURE__*/function (_ControlNode) {
|
|
|
59942
60121
|
this._text = this.getScoreMapping();
|
|
59943
60122
|
} else if (this.formularType === FormularType.ftBodySurfaceArea) {
|
|
59944
60123
|
this._text = this.clacBodySurfaceArea();
|
|
60124
|
+
} else if (this.formularType === FormularType.ftCalcDays) {
|
|
60125
|
+
this._text = this.clacDays();
|
|
59945
60126
|
}
|
|
59946
60127
|
this.node2DrawNode();
|
|
59947
60128
|
}
|
|
@@ -68443,6 +68624,7 @@ var DrawArea = /*#__PURE__*/function (_DrawRect) {
|
|
|
68443
68624
|
this._endDline = -2;
|
|
68444
68625
|
}
|
|
68445
68626
|
isFull = true;
|
|
68627
|
+
this._docHeight -= aTop;
|
|
68446
68628
|
// this.clearOverDitem(dlines, nextDline);
|
|
68447
68629
|
return [isFull, dTop, restHeight];
|
|
68448
68630
|
} else {
|
|
@@ -70504,10 +70686,11 @@ var DrawCell = /*#__PURE__*/function (_DrawRect) {
|
|
|
70504
70686
|
var valignTop = 0;
|
|
70505
70687
|
if (startDline === 0) {
|
|
70506
70688
|
var aHeight = this._cell.drawCell.calcCellHeight();
|
|
70689
|
+
var cellMaxHeigth = Math.min(maxHeight, aHeight);
|
|
70507
70690
|
if (this._cell.cellProperty.align === _editor_dom_TableProperty__WEBPACK_IMPORTED_MODULE_13__/* .VAlign.vatop */ .TR.vatop) {
|
|
70508
70691
|
valignTop = 0;
|
|
70509
|
-
} else if (this._cell.cellProperty.align === _editor_dom_TableProperty__WEBPACK_IMPORTED_MODULE_13__/* .VAlign.vacenter */ .TR.vacenter &&
|
|
70510
|
-
valignTop = (
|
|
70692
|
+
} else if (this._cell.cellProperty.align === _editor_dom_TableProperty__WEBPACK_IMPORTED_MODULE_13__/* .VAlign.vacenter */ .TR.vacenter && cellMaxHeigth > this._cell.drawCell.docHeight) {
|
|
70693
|
+
valignTop = (cellMaxHeigth - this._cell.drawCell.docHeight) / 2;
|
|
70511
70694
|
} else if (this._cell.cellProperty.align === _editor_dom_TableProperty__WEBPACK_IMPORTED_MODULE_13__/* .VAlign.vabottom */ .TR.vabottom && aHeight > this._cell.drawCell.docHeight) {
|
|
70512
70695
|
valignTop = aHeight - this._cell.drawCell.docHeight;
|
|
70513
70696
|
}
|
|
@@ -83964,7 +84147,7 @@ var DrawTree = /*#__PURE__*/function () {
|
|
|
83964
84147
|
value.parentNode.update();
|
|
83965
84148
|
}
|
|
83966
84149
|
var isCellInFormula = value.isCellInFormula(cell, r, c);
|
|
83967
|
-
if (isCellInFormula || value.formularType === TableFormula/* FormularType.ftBMI */.a.ftBMI || value.formularType === TableFormula/* FormularType.ftLaborProcess */.a.ftLaborProcess || value.formularType === TableFormula/* FormularType.ftExpectedBirthDate */.a.ftExpectedBirthDate || value.formularType === TableFormula/* FormularType.ftPregnantWeeks */.a.ftPregnantWeeks || value.formularType === TableFormula/* FormularType.ftScoreMapping */.a.ftScoreMapping || value.formularType === TableFormula/* FormularType.ftBodySurfaceArea */.a.ftBodySurfaceArea) {
|
|
84150
|
+
if (isCellInFormula || value.formularType === TableFormula/* FormularType.ftBMI */.a.ftBMI || value.formularType === TableFormula/* FormularType.ftLaborProcess */.a.ftLaborProcess || value.formularType === TableFormula/* FormularType.ftExpectedBirthDate */.a.ftExpectedBirthDate || value.formularType === TableFormula/* FormularType.ftPregnantWeeks */.a.ftPregnantWeeks || value.formularType === TableFormula/* FormularType.ftScoreMapping */.a.ftScoreMapping || value.formularType === TableFormula/* FormularType.ftBodySurfaceArea */.a.ftBodySurfaceArea || value.formularType === TableFormula/* FormularType.ftCalcDays */.a.ftCalcDays) {
|
|
83968
84151
|
//const str = value.formulaStr;
|
|
83969
84152
|
value.updateResult();
|
|
83970
84153
|
value.getParentCell().drawCell.needUpdate = true;
|
|
@@ -195577,7 +195760,7 @@ var map = {
|
|
|
195577
195760
|
"./pageInfoes/PageInfoes.vue": 17481,
|
|
195578
195761
|
"./paragraph/ParagraphDialog.vue": 54949,
|
|
195579
195762
|
"./poperSelect/PoperMark.vue": 71472,
|
|
195580
|
-
"./poperSelect/PoperSelect.vue":
|
|
195763
|
+
"./poperSelect/PoperSelect.vue": 16512,
|
|
195581
195764
|
"./poperTipText/PoperTipText.vue": 15845,
|
|
195582
195765
|
"./popers/Poper.vue": 57937,
|
|
195583
195766
|
"./popers/Title.vue": 89987,
|
|
@@ -195591,7 +195774,7 @@ var map = {
|
|
|
195591
195774
|
"./table/TableColProperty.vue": 2116,
|
|
195592
195775
|
"./table/TableForm.vue": 19064,
|
|
195593
195776
|
"./table/TableFormTree.vue": 39703,
|
|
195594
|
-
"./table/TableFormula.vue":
|
|
195777
|
+
"./table/TableFormula.vue": 79032,
|
|
195595
195778
|
"./table/TableProperty.vue": 47130,
|
|
195596
195779
|
"./table/TableRowProperty.vue": 5218,
|
|
195597
195780
|
"./textDialog/TextDialog.vue": 94535,
|
|
@@ -231712,7 +231895,7 @@ Input.install = function (Vue) {
|
|
|
231712
231895
|
|
|
231713
231896
|
|
|
231714
231897
|
/* harmony default export */ var antd = ([es_button, input, input_number, es_checkbox, date_picker, time_picker, es_radio, es_select, es_tabs, es_dropdown, es_menu, es_upload, tooltip, table, popover, es_icon/* default */.Z, config_provider]);
|
|
231715
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=
|
|
231898
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=template&id=1ebd4c64&
|
|
231716
231899
|
var render = function render() {
|
|
231717
231900
|
var _vm = this,
|
|
231718
231901
|
_c = _vm._self._c;
|
|
@@ -231830,8 +232013,8 @@ var es_string_match = __webpack_require__(4723);
|
|
|
231830
232013
|
var es_number_constructor = __webpack_require__(9653);
|
|
231831
232014
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
231832
232015
|
var es_json_stringify = __webpack_require__(38862);
|
|
231833
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=
|
|
231834
|
-
var
|
|
232016
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=template&id=41bb5f98&
|
|
232017
|
+
var HoDocvue_type_template_id_41bb5f98_render = function render() {
|
|
231835
232018
|
var _vm = this,
|
|
231836
232019
|
_c = _vm._self._c;
|
|
231837
232020
|
return _c('div', {
|
|
@@ -231861,7 +232044,6 @@ var HoDocvue_type_template_id_1e74a76d_render = function render() {
|
|
|
231861
232044
|
"currentActivePages": _vm.activePageIndex.index,
|
|
231862
232045
|
"hoEditorId": _vm.hoEditorId,
|
|
231863
232046
|
"hoEditorFactoryIdList": _vm.hoEditorFactoryIdList,
|
|
231864
|
-
"mouseMoveNodes": _vm.mouseMoveNodes,
|
|
231865
232047
|
"viewableAreaObserver": _vm.viewableAreaObserver,
|
|
231866
232048
|
"inViewPages": _vm.inViewPages,
|
|
231867
232049
|
"canvasHeadFootPos": _vm.canvasHeadFootPos,
|
|
@@ -231977,7 +232159,7 @@ var HoDocvue_type_template_id_1e74a76d_render = function render() {
|
|
|
231977
232159
|
}
|
|
231978
232160
|
}, [_vm._v("v " + _vm._s(_vm.version))])])])], 1);
|
|
231979
232161
|
};
|
|
231980
|
-
var
|
|
232162
|
+
var HoDocvue_type_template_id_41bb5f98_staticRenderFns = [];
|
|
231981
232163
|
|
|
231982
232164
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
231983
232165
|
var es_array_filter = __webpack_require__(57327);
|
|
@@ -232497,10 +232679,16 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
232497
232679
|
if (!dPage.drawDomLevel) {
|
|
232498
232680
|
return false;
|
|
232499
232681
|
}
|
|
232682
|
+
if (!hoeditorfactory.canvasListNode) {
|
|
232683
|
+
hoeditorfactory.canvasListNode = document.querySelector(".ho-editor-list");
|
|
232684
|
+
}
|
|
232685
|
+
hoeditorfactory.moveY = aevent.stageY + this._pageIndex * hoeditorfactory.pageProperty.heightPixes;
|
|
232500
232686
|
if (aevent.currentTarget === this.stage) {
|
|
232501
232687
|
var _hoeditorfactory$draw;
|
|
232502
|
-
|
|
232503
|
-
|
|
232688
|
+
if (aevent.nativeEvent.button === 0) {
|
|
232689
|
+
hoeditorfactory.drawTree.selectRange.clearAllSelectShape();
|
|
232690
|
+
hoeditorfactory.drawTree.selectRange.beginRangeSelect = true;
|
|
232691
|
+
}
|
|
232504
232692
|
if ((_hoeditorfactory$draw = hoeditorfactory.drawTree.activePage) !== null && _hoeditorfactory$draw !== void 0 && _hoeditorfactory$draw.activeDrawRect.rootPath.startsWith(DocTree/* gMainPath */.d9)) {
|
|
232505
232693
|
hoeditorfactory.drawTree.activePage = dPage;
|
|
232506
232694
|
}
|
|
@@ -232510,58 +232698,48 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
232510
232698
|
this._oldRange = hoeditorfactory.docTree.curDomRange.clone();
|
|
232511
232699
|
var startPos = hoeditorfactory.drawTree.getStagePosition(dPage, dPage.activeDrawRect, aevent.stageX, aevent.stageY);
|
|
232512
232700
|
if (startPos) {
|
|
232513
|
-
|
|
232514
|
-
|
|
232515
|
-
|
|
232516
|
-
|
|
232517
|
-
|
|
232518
|
-
|
|
232519
|
-
|
|
232520
|
-
|
|
232521
|
-
|
|
232522
|
-
|
|
232523
|
-
// });
|
|
232524
|
-
if (nodePath !== startPos.path) {
|
|
232525
|
-
var drawNode = curOnDragNode.drawNodes[0];
|
|
232526
|
-
for (var d = drawNode.children.length - 1; d >= 0; d--) {
|
|
232527
|
-
if (drawNode.children[d].name !== curOnDragNode.id) {
|
|
232528
|
-
drawNode.children.splice(d, 1);
|
|
232701
|
+
if (aevent.nativeEvent.button === 0) {
|
|
232702
|
+
var curOnDragNode = hoeditorfactory.docTree.curOnDragNode;
|
|
232703
|
+
if (curOnDragNode) {
|
|
232704
|
+
var nodePath = curOnDragNode.getNodePath();
|
|
232705
|
+
if (nodePath !== startPos.path) {
|
|
232706
|
+
var drawNode = curOnDragNode.drawNodes[0];
|
|
232707
|
+
for (var d = drawNode.children.length - 1; d >= 0; d--) {
|
|
232708
|
+
if (drawNode.children[d].name !== curOnDragNode.id) {
|
|
232709
|
+
drawNode.children.splice(d, 1);
|
|
232710
|
+
}
|
|
232529
232711
|
}
|
|
232712
|
+
hoeditorfactory.docTree.curOnDragNode = null;
|
|
232713
|
+
HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).drawPageTree.updateDrawPage(dPage.pageIndex);
|
|
232530
232714
|
}
|
|
232531
|
-
hoeditorfactory.docTree.curOnDragNode = null;
|
|
232532
|
-
HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).drawPageTree.updateDrawPage(dPage.pageIndex);
|
|
232533
232715
|
}
|
|
232534
|
-
|
|
232535
|
-
|
|
232536
|
-
|
|
232537
|
-
|
|
232538
|
-
|
|
232539
|
-
|
|
232540
|
-
|
|
232541
|
-
|
|
232542
|
-
|
|
232543
|
-
|
|
232544
|
-
|
|
232545
|
-
|
|
232546
|
-
|
|
232547
|
-
|
|
232548
|
-
|
|
232549
|
-
|
|
232550
|
-
|
|
232551
|
-
value.alpha = 0.5;
|
|
232552
|
-
}
|
|
232553
|
-
});
|
|
232716
|
+
var curComment = hoeditorfactory.drawTree.curOnSelectedComment;
|
|
232717
|
+
if (curComment) {
|
|
232718
|
+
var endDrawNode = curComment.eNode.drawNodes[0];
|
|
232719
|
+
var drawArea = hoeditorfactory.drawPageTree.getMainRootArea(endDrawNode);
|
|
232720
|
+
if (!drawArea) return false;
|
|
232721
|
+
for (var i = 0; i < drawArea.children.length; i++) {
|
|
232722
|
+
var child = drawArea.children[i];
|
|
232723
|
+
if (child instanceof createjs.Shape && curComment.id === child.name) {
|
|
232724
|
+
child.alpha = 0.5;
|
|
232725
|
+
}
|
|
232726
|
+
if (child instanceof createjs.Container && curComment.id === child.name) {
|
|
232727
|
+
child.children.forEach(function (value) {
|
|
232728
|
+
if (value.name === 'back') {
|
|
232729
|
+
value.alpha = 0.5;
|
|
232730
|
+
}
|
|
232731
|
+
});
|
|
232732
|
+
}
|
|
232554
232733
|
}
|
|
232734
|
+
hoeditorfactory.drawTree.curOnSelectedComment = null;
|
|
232735
|
+
HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).drawPageTree.updateDrawPage(dPage.pageIndex);
|
|
232555
232736
|
}
|
|
232556
|
-
hoeditorfactory.drawTree.curOnSelectedComment = null;
|
|
232557
|
-
//drawArea.stage.update();
|
|
232558
|
-
HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID).drawPageTree.updateDrawPage(dPage.pageIndex);
|
|
232559
|
-
//dline.stage.update();
|
|
232560
232737
|
}
|
|
232561
|
-
|
|
232562
232738
|
hoeditorfactory.drawTree.selectRange.spStart = startPos;
|
|
232563
232739
|
hoeditorfactory.drawTree.selectRange.spEnd = startPos;
|
|
232564
|
-
|
|
232740
|
+
if (aevent.nativeEvent.button === 0) {
|
|
232741
|
+
hoeditorfactory.docTree.curDomRange.setSamePath(startPos.path);
|
|
232742
|
+
}
|
|
232565
232743
|
hoeditorfactory.drawTree.moveCaretToPath(startPos.path);
|
|
232566
232744
|
// const selchange = new SelectionChangeEvent(
|
|
232567
232745
|
// this._oldRange,
|
|
@@ -232614,7 +232792,8 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
232614
232792
|
this.mouseDownHandle(aevent);
|
|
232615
232793
|
}
|
|
232616
232794
|
} else if (aevent.nativeEvent.button === 2) {
|
|
232617
|
-
hoeditorfactory.drawTree.selectRange.beginRangeSelect = false;
|
|
232795
|
+
//hoeditorfactory.drawTree.selectRange.beginRangeSelect = false;
|
|
232796
|
+
this.mouseDownHandle(aevent);
|
|
232618
232797
|
}
|
|
232619
232798
|
return true;
|
|
232620
232799
|
}
|
|
@@ -232632,6 +232811,7 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
232632
232811
|
if (hoeditorfactory.drawTree.inViewPages.indexOf(this._pageIndex) < 0) {
|
|
232633
232812
|
hoeditorfactory.drawTree.inViewPages.push(this._pageIndex);
|
|
232634
232813
|
}
|
|
232814
|
+
var y = this._pageIndex * hoeditorfactory.pageProperty.heightPixes;
|
|
232635
232815
|
// this._scrollYList.push(aevent.stageY);
|
|
232636
232816
|
if (hoeditorfactory.drawTree.selectRange.beginRangeSelect && (parseInt(aevent.nativeEvent.buttons) && 1) === 1) {
|
|
232637
232817
|
var _hoeditorfactory$draw2;
|
|
@@ -232641,8 +232821,13 @@ var DrawSelectLevel = /*#__PURE__*/function () {
|
|
|
232641
232821
|
}
|
|
232642
232822
|
var endPos = hoeditorfactory.drawTree.getStagePosition(dPage, dPage.activeDrawRect, aevent.stageX, aevent.stageY);
|
|
232643
232823
|
if (endPos) {
|
|
232644
|
-
|
|
232645
|
-
|
|
232824
|
+
if (hoeditorfactory.moveY && hoeditorfactory.canvasListNode) {
|
|
232825
|
+
if (aevent.stageY + y - hoeditorfactory.moveY > 0) {
|
|
232826
|
+
hoeditorfactory.canvasListNode.scrollTop += 13;
|
|
232827
|
+
} else {
|
|
232828
|
+
hoeditorfactory.canvasListNode.scrollTop -= 13;
|
|
232829
|
+
}
|
|
232830
|
+
}
|
|
232646
232831
|
// const listNode = document.querySelector('.ho-editor-list') as HTMLDivElement;
|
|
232647
232832
|
// if (listNode) {
|
|
232648
232833
|
// if (startLine - endLine > 8) {
|
|
@@ -233490,7 +233675,7 @@ var DrawPage = __webpack_require__(72722);
|
|
|
233490
233675
|
// EXTERNAL MODULE: ./src/plugins/util.ts
|
|
233491
233676
|
var plugins_util = __webpack_require__(62783);
|
|
233492
233677
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperSelect.vue + 9 modules
|
|
233493
|
-
var PoperSelect = __webpack_require__(
|
|
233678
|
+
var PoperSelect = __webpack_require__(16512);
|
|
233494
233679
|
// EXTERNAL MODULE: ./src/components/controls/poperSelect/PoperMark.vue + 5 modules
|
|
233495
233680
|
var PoperMark = __webpack_require__(71472);
|
|
233496
233681
|
;// CONCATENATED MODULE: ./src/components/controls/poperSelect/index.ts
|
|
@@ -235189,7 +235374,7 @@ var ParagraphNode = __webpack_require__(67945);
|
|
|
235189
235374
|
// EXTERNAL MODULE: ./src/editor/dom/treeNode/MarkNode.ts
|
|
235190
235375
|
var MarkNode = __webpack_require__(57727);
|
|
235191
235376
|
;// CONCATENATED MODULE: ./src/components/version.ts
|
|
235192
|
-
/* harmony default export */ var version = ('3.0.
|
|
235377
|
+
/* harmony default export */ var version = ('3.0.41');
|
|
235193
235378
|
// EXTERNAL MODULE: ./src/components/controls/poperTipText/PoperTipText.vue + 5 modules
|
|
235194
235379
|
var PoperTipText = __webpack_require__(15845);
|
|
235195
235380
|
;// CONCATENATED MODULE: ./src/components/controls/poperTipText/index.ts
|
|
@@ -235896,10 +236081,10 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
|
|
|
235896
236081
|
});
|
|
235897
236082
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=script&lang=js&
|
|
235898
236083
|
/* harmony default export */ var components_HoDocvue_type_script_lang_js_ = (HoDocvue_type_script_lang_js_);
|
|
235899
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
236084
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDoc.vue?vue&type=style&index=0&id=41bb5f98&prod&lang=scss&
|
|
235900
236085
|
// extracted by mini-css-extract-plugin
|
|
235901
236086
|
|
|
235902
|
-
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=
|
|
236087
|
+
;// CONCATENATED MODULE: ./src/components/HoDoc.vue?vue&type=style&index=0&id=41bb5f98&prod&lang=scss&
|
|
235903
236088
|
|
|
235904
236089
|
;// CONCATENATED MODULE: ./src/components/HoDoc.vue
|
|
235905
236090
|
|
|
@@ -235912,8 +236097,8 @@ var defaultHeight = Math.floor(1122 * DrawConfig/* DrawConfig.instance */.f.inst
|
|
|
235912
236097
|
|
|
235913
236098
|
var HoDoc_component = (0,componentNormalizer/* default */.Z)(
|
|
235914
236099
|
components_HoDocvue_type_script_lang_js_,
|
|
235915
|
-
|
|
235916
|
-
|
|
236100
|
+
HoDocvue_type_template_id_41bb5f98_render,
|
|
236101
|
+
HoDocvue_type_template_id_41bb5f98_staticRenderFns,
|
|
235917
236102
|
false,
|
|
235918
236103
|
null,
|
|
235919
236104
|
null,
|
|
@@ -240906,7 +241091,7 @@ var StructureConvert = /*#__PURE__*/function () {
|
|
|
240906
241091
|
var formularNodes = hoEditorFactory.drawTree.formularNodes;
|
|
240907
241092
|
var tableArr = [];
|
|
240908
241093
|
formularNodes.forEach(function (value, key) {
|
|
240909
|
-
if (value.formularType === TableFormula/* FormularType.ftSum */.a.ftSum || value.formularType === TableFormula/* FormularType.ftFormular */.a.ftFormular || value.formularType === TableFormula/* FormularType.ftBMI */.a.ftBMI || value.formularType === TableFormula/* FormularType.ftLaborProcess */.a.ftLaborProcess || value.formularType === TableFormula/* FormularType.ftExpectedBirthDate */.a.ftExpectedBirthDate || value.formularType === TableFormula/* FormularType.ftPregnantWeeks */.a.ftPregnantWeeks || value.formularType === TableFormula/* FormularType.ftScoreMapping */.a.ftScoreMapping || value.formularType === TableFormula/* FormularType.ftBodySurfaceArea */.a.ftBodySurfaceArea) {
|
|
241094
|
+
if (value.formularType === TableFormula/* FormularType.ftSum */.a.ftSum || value.formularType === TableFormula/* FormularType.ftFormular */.a.ftFormular || value.formularType === TableFormula/* FormularType.ftBMI */.a.ftBMI || value.formularType === TableFormula/* FormularType.ftLaborProcess */.a.ftLaborProcess || value.formularType === TableFormula/* FormularType.ftExpectedBirthDate */.a.ftExpectedBirthDate || value.formularType === TableFormula/* FormularType.ftPregnantWeeks */.a.ftPregnantWeeks || value.formularType === TableFormula/* FormularType.ftScoreMapping */.a.ftScoreMapping || value.formularType === TableFormula/* FormularType.ftBodySurfaceArea */.a.ftBodySurfaceArea || value.formularType === TableFormula/* FormularType.ftCalcDays */.a.ftCalcDays) {
|
|
240910
241095
|
value.updateResult();
|
|
240911
241096
|
value.getParentCell().drawCell.needUpdate = true;
|
|
240912
241097
|
// const prevNode = value.previousLeaf();
|
|
@@ -248204,6 +248389,61 @@ var VueController = /*#__PURE__*/function () {
|
|
|
248204
248389
|
return hasEmptyDoctorSign;
|
|
248205
248390
|
}
|
|
248206
248391
|
}
|
|
248392
|
+
/**
|
|
248393
|
+
* 查询是否有空签名元素
|
|
248394
|
+
* @returns boolean
|
|
248395
|
+
*/
|
|
248396
|
+
}, {
|
|
248397
|
+
key: "getAllSignNodeList",
|
|
248398
|
+
value: function getAllSignNodeList() {
|
|
248399
|
+
var hoEditorFactory = HOEditorFactorys/* HOEditorFactorys.instance */.b.instance().getFactory(this._hoEditorFactoryID);
|
|
248400
|
+
var signList = [];
|
|
248401
|
+
var patientSignList = [];
|
|
248402
|
+
var getAllNodes = function getAllNodes(nodes) {
|
|
248403
|
+
for (var i = 0; i < nodes.length; i++) {
|
|
248404
|
+
var node = nodes[i];
|
|
248405
|
+
if (node instanceof SignNode/* SignNode */.N) {
|
|
248406
|
+
var sign = {
|
|
248407
|
+
type: 'sign',
|
|
248408
|
+
signed: false,
|
|
248409
|
+
customProperty: node.customProperty
|
|
248410
|
+
};
|
|
248411
|
+
// 有值的患者签名
|
|
248412
|
+
if (node.attribute === 1) {
|
|
248413
|
+
sign.type = 'patientSign';
|
|
248414
|
+
if (node.imgSrc == '' && node.fingerPrintSrc == '') {
|
|
248415
|
+
sign.signed = false;
|
|
248416
|
+
patientSignList.push(sign);
|
|
248417
|
+
} else {
|
|
248418
|
+
sign.signed = true;
|
|
248419
|
+
patientSignList.push(sign);
|
|
248420
|
+
}
|
|
248421
|
+
}
|
|
248422
|
+
// 空的医生签名
|
|
248423
|
+
if (node.attribute != 1) {
|
|
248424
|
+
sign.type = 'sign';
|
|
248425
|
+
if (node.imgSrc == '') {
|
|
248426
|
+
sign.signed = false;
|
|
248427
|
+
signList.push(sign);
|
|
248428
|
+
} else {
|
|
248429
|
+
sign.signed = true;
|
|
248430
|
+
signList.push(sign);
|
|
248431
|
+
}
|
|
248432
|
+
}
|
|
248433
|
+
}
|
|
248434
|
+
if (node instanceof BaseCombineNode/* BaseCombineNode */.V) {
|
|
248435
|
+
// 医生签名不存在的情况不在深层调用深层遍历
|
|
248436
|
+
getAllNodes(node.childNodes);
|
|
248437
|
+
}
|
|
248438
|
+
}
|
|
248439
|
+
};
|
|
248440
|
+
var mainNodes = hoEditorFactory.docTree.mainNodes;
|
|
248441
|
+
getAllNodes(mainNodes);
|
|
248442
|
+
return {
|
|
248443
|
+
sign: signList,
|
|
248444
|
+
patientSign: patientSignList
|
|
248445
|
+
};
|
|
248446
|
+
}
|
|
248207
248447
|
/**
|
|
248208
248448
|
* 查询是否存在医生签名
|
|
248209
248449
|
* @returns boolean
|
|
@@ -254227,6 +254467,8 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
254227
254467
|
(0,esm_defineProperty/* default */.Z)(this, "_printSilently", false);
|
|
254228
254468
|
(0,esm_defineProperty/* default */.Z)(this, "_limitCharNumber", 0);
|
|
254229
254469
|
(0,esm_defineProperty/* default */.Z)(this, "_reviewJson", void 0);
|
|
254470
|
+
(0,esm_defineProperty/* default */.Z)(this, "_moveY", void 0);
|
|
254471
|
+
(0,esm_defineProperty/* default */.Z)(this, "_canvasListNode", void 0);
|
|
254230
254472
|
this._hoEditorFactoryId = id;
|
|
254231
254473
|
}
|
|
254232
254474
|
(0,esm_createClass/* default */.Z)(HOEditorFactory, [{
|
|
@@ -254266,6 +254508,7 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
254266
254508
|
// 封装浏览器静默打印
|
|
254267
254509
|
// 限制复制病历文本的字符数
|
|
254268
254510
|
// 审阅列表菜单权限
|
|
254511
|
+
|
|
254269
254512
|
/**
|
|
254270
254513
|
* Getter hoLocalStorage
|
|
254271
254514
|
* @return {HoLocalStorage}
|
|
@@ -255015,6 +255258,26 @@ var HOEditorFactory = /*#__PURE__*/function () {
|
|
|
255015
255258
|
this._printSilently = value;
|
|
255016
255259
|
}
|
|
255017
255260
|
}
|
|
255261
|
+
}, {
|
|
255262
|
+
key: "canvasListNode",
|
|
255263
|
+
get: function get() {
|
|
255264
|
+
return this._canvasListNode;
|
|
255265
|
+
},
|
|
255266
|
+
set: function set(value) {
|
|
255267
|
+
if (value && this._canvasListNode !== value) {
|
|
255268
|
+
this._canvasListNode = value;
|
|
255269
|
+
}
|
|
255270
|
+
}
|
|
255271
|
+
}, {
|
|
255272
|
+
key: "moveY",
|
|
255273
|
+
get: function get() {
|
|
255274
|
+
return this._moveY;
|
|
255275
|
+
},
|
|
255276
|
+
set: function set(value) {
|
|
255277
|
+
if (value && this._moveY !== value) {
|
|
255278
|
+
this._moveY = value;
|
|
255279
|
+
}
|
|
255280
|
+
}
|
|
255018
255281
|
}, {
|
|
255019
255282
|
key: "clear",
|
|
255020
255283
|
value: function clear() {
|
|
@@ -255227,11 +255490,13 @@ var formularType = {
|
|
|
255227
255490
|
4: 'expectedDate',
|
|
255228
255491
|
5: 'pregnantWeeks',
|
|
255229
255492
|
6: 'ftScoreMapping',
|
|
255230
|
-
7: 'bodySurfaceArea'
|
|
255493
|
+
7: 'bodySurfaceArea',
|
|
255494
|
+
8: 'ftCalcDays' //计算天数
|
|
255231
255495
|
};
|
|
255232
255496
|
|
|
255233
255497
|
var getFormula = function getFormula(tableFormular) {
|
|
255234
255498
|
// 获取公式类型
|
|
255499
|
+
|
|
255235
255500
|
return formularType[tableFormular.formularType];
|
|
255236
255501
|
};
|
|
255237
255502
|
// EXTERNAL MODULE: ./src/components/common/commondata/index.ts
|
|
@@ -256127,10 +256392,10 @@ var commondata = __webpack_require__(76285);
|
|
|
256127
256392
|
});
|
|
256128
256393
|
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=script&lang=js&
|
|
256129
256394
|
/* harmony default export */ var components_HoDocsvue_type_script_lang_js_ = (HoDocsvue_type_script_lang_js_);
|
|
256130
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=style&index=0&id=
|
|
256395
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HoDocs.vue?vue&type=style&index=0&id=1ebd4c64&prod&lang=scss&media=print&
|
|
256131
256396
|
// extracted by mini-css-extract-plugin
|
|
256132
256397
|
|
|
256133
|
-
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=style&index=0&id=
|
|
256398
|
+
;// CONCATENATED MODULE: ./src/components/HoDocs.vue?vue&type=style&index=0&id=1ebd4c64&prod&lang=scss&media=print&
|
|
256134
256399
|
|
|
256135
256400
|
;// CONCATENATED MODULE: ./src/components/HoDocs.vue
|
|
256136
256401
|
|
|
@@ -260311,8 +260576,8 @@ var ToolTablevue_type_template_id_753fa24b_render = function render() {
|
|
|
260311
260576
|
};
|
|
260312
260577
|
var ToolTablevue_type_template_id_753fa24b_staticRenderFns = [];
|
|
260313
260578
|
|
|
260314
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=
|
|
260315
|
-
var
|
|
260579
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=template&id=6ecf79fe&
|
|
260580
|
+
var HoTableFeaturesvue_type_template_id_6ecf79fe_render = function render() {
|
|
260316
260581
|
var _vm = this,
|
|
260317
260582
|
_c = _vm._self._c;
|
|
260318
260583
|
return _c('div', {
|
|
@@ -260357,7 +260622,9 @@ var HoTableFeaturesvue_type_template_id_42203191_render = function render() {
|
|
|
260357
260622
|
key: "ftScoreMapping"
|
|
260358
260623
|
}, [_vm._v("分值映射")]), _c('a-menu-item', {
|
|
260359
260624
|
key: "bodySurfaceArea"
|
|
260360
|
-
}, [_vm._v("体表面积")])
|
|
260625
|
+
}, [_vm._v("体表面积")]), _c('a-menu-item', {
|
|
260626
|
+
key: "ftCalcDays"
|
|
260627
|
+
}, [_vm._v("计算天数")])], 1)], 1)], 2)], 1) : _vm._e(), _vm.table.insertRowAbove && _vm.tableProperty.canAddRow ? _c('div', {
|
|
260361
260628
|
directives: [{
|
|
260362
260629
|
name: "debounce",
|
|
260363
260630
|
rawName: "v-debounce:1000.click",
|
|
@@ -260515,7 +260782,7 @@ var HoTableFeaturesvue_type_template_id_42203191_render = function render() {
|
|
|
260515
260782
|
staticClass: "ho-emr-tool-item"
|
|
260516
260783
|
}, [_c('span', [_vm._v("取消合并单元格")])]) : _vm._e()]);
|
|
260517
260784
|
};
|
|
260518
|
-
var
|
|
260785
|
+
var HoTableFeaturesvue_type_template_id_6ecf79fe_staticRenderFns = [];
|
|
260519
260786
|
|
|
260520
260787
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/toolbar/insert/HoTableFeatures.vue?vue&type=script&lang=js&
|
|
260521
260788
|
|
|
@@ -260675,7 +260942,8 @@ var HoTableFeaturesvue_type_template_id_42203191_staticRenderFns = [];
|
|
|
260675
260942
|
labor: '产程计算公式',
|
|
260676
260943
|
expectedDate: '预产期计算公式',
|
|
260677
260944
|
ftScoreMapping: '分值映射计算公式',
|
|
260678
|
-
bodySurfaceArea: '体表面积公式'
|
|
260945
|
+
bodySurfaceArea: '体表面积公式',
|
|
260946
|
+
ftCalcDays: '计算天数公式'
|
|
260679
260947
|
};
|
|
260680
260948
|
if (formula[formulaType] === 'code') {
|
|
260681
260949
|
this.setCellCode();
|
|
@@ -260750,8 +261018,8 @@ var HoTableFeaturesvue_type_template_id_42203191_staticRenderFns = [];
|
|
|
260750
261018
|
;
|
|
260751
261019
|
var HoTableFeatures_component = (0,componentNormalizer/* default */.Z)(
|
|
260752
261020
|
insert_HoTableFeaturesvue_type_script_lang_js_,
|
|
260753
|
-
|
|
260754
|
-
|
|
261021
|
+
HoTableFeaturesvue_type_template_id_6ecf79fe_render,
|
|
261022
|
+
HoTableFeaturesvue_type_template_id_6ecf79fe_staticRenderFns,
|
|
260755
261023
|
false,
|
|
260756
261024
|
null,
|
|
260757
261025
|
null,
|
|
@@ -262189,7 +262457,8 @@ var popper = __webpack_require__(95551);
|
|
|
262189
262457
|
expectedDate: '预产期公式',
|
|
262190
262458
|
pregnantWeeks: '孕周公式',
|
|
262191
262459
|
ftScoreMapping: '分值映射公式',
|
|
262192
|
-
bodySurfaceArea: '
|
|
262460
|
+
bodySurfaceArea: '体表面积公式',
|
|
262461
|
+
ftCalcDays: '计算天数公式'
|
|
262193
262462
|
},
|
|
262194
262463
|
isPasted: false,
|
|
262195
262464
|
isWebview: false,
|