costy-plus 1.0.95-0 → 1.0.97-0
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/dist/es/src/EcgWave/index.vue_vue_type_template_lang.js +26 -15
- package/dist/es/src/EcgWave/method.d.ts +3 -1
- package/dist/es/src/EcgWave/method.js +352 -348
- package/dist/lib/src/EcgWave/index.vue_vue_type_template_lang.js +1 -1
- package/dist/lib/src/EcgWave/method.d.ts +3 -1
- package/dist/lib/src/EcgWave/method.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var C = function() {
|
|
2
|
-
var
|
|
2
|
+
var i, o, l, r, n, s, d, g, c, v, h, f, m, p, a = this, u = a.$createElement, e = a._self._c || u;
|
|
3
3
|
return e("div", {
|
|
4
4
|
style: {
|
|
5
5
|
width: `${a.width}px`,
|
|
@@ -23,7 +23,7 @@ var C = function() {
|
|
|
23
23
|
width: a.canvasContainer.width,
|
|
24
24
|
height: a.canvasContainer.height,
|
|
25
25
|
"cell-mg": a.gridConfig.cellMg,
|
|
26
|
-
"speed-value": ((
|
|
26
|
+
"speed-value": ((i = a.formatEcgData) === null || i === void 0 ? void 0 : i.speed) || 0,
|
|
27
27
|
sens: a.formatEcgData.sens,
|
|
28
28
|
"prefix-id": a.prefixId
|
|
29
29
|
}
|
|
@@ -33,7 +33,7 @@ var C = function() {
|
|
|
33
33
|
width: a.canvasContainer.width,
|
|
34
34
|
height: a.canvasContainer.height,
|
|
35
35
|
"cell-mg": a.gridConfig.cellMg,
|
|
36
|
-
"speed-value": ((
|
|
36
|
+
"speed-value": ((o = a.formatEcgData) === null || o === void 0 ? void 0 : o.speed) || 0,
|
|
37
37
|
sens: a.formatEcgData.sens,
|
|
38
38
|
"heart-rate": a.ventricularRate,
|
|
39
39
|
"prefix-id": a.prefixId
|
|
@@ -46,7 +46,7 @@ var C = function() {
|
|
|
46
46
|
"grid-config": a.gridConfig,
|
|
47
47
|
"speed-value": ((l = a.formatEcgData) === null || l === void 0 ? void 0 : l.speed) || 0,
|
|
48
48
|
sens: a.formatEcgData.sens,
|
|
49
|
-
step: ((
|
|
49
|
+
step: ((r = a.formatEcgData) === null || r === void 0 ? void 0 : r.step) || 0,
|
|
50
50
|
"lead-head-config": a.leadHeadConfig,
|
|
51
51
|
"wave-data": a.waveDataCopy,
|
|
52
52
|
"add-wave-data": a.addWaveDataCopy,
|
|
@@ -56,7 +56,7 @@ var C = function() {
|
|
|
56
56
|
"split-point": a.splitPoint,
|
|
57
57
|
"lead-config": a.leadConfig,
|
|
58
58
|
"heart-fight": a.heartFight,
|
|
59
|
-
"normal-lead-names": ((
|
|
59
|
+
"normal-lead-names": ((n = a.formatEcgData) === null || n === void 0 ? void 0 : n.processedData.otherParams.LeadName) || [],
|
|
60
60
|
"prefix-id": a.prefixId
|
|
61
61
|
}
|
|
62
62
|
}) : a._e(), a.isShowEnlargeWave ? e("MXEnlargeWave", a._g({
|
|
@@ -68,18 +68,18 @@ var C = function() {
|
|
|
68
68
|
"grid-config": a.gridConfig,
|
|
69
69
|
"speed-value": ((s = a.formatEcgData) === null || s === void 0 ? void 0 : s.speed) || 0,
|
|
70
70
|
sens: a.formatEcgData.sens,
|
|
71
|
-
step: ((
|
|
72
|
-
"sample-rate": ((
|
|
73
|
-
sensitivity: ((
|
|
71
|
+
step: ((d = a.formatEcgData) === null || d === void 0 ? void 0 : d.step) || 0,
|
|
72
|
+
"sample-rate": ((g = a.formatEcgData) === null || g === void 0 ? void 0 : g.processedData.otherParams.SampleRate) || 0,
|
|
73
|
+
sensitivity: ((c = a.formatEcgData) === null || c === void 0 ? void 0 : c.processedData.otherParams.Sensitivity) || 0,
|
|
74
74
|
"normal-data": ((v = a.formatEcgData) === null || v === void 0 ? void 0 : v.processedData.originData.Data) || [],
|
|
75
|
-
"complex-data": ((
|
|
75
|
+
"complex-data": ((h = a.formatEcgData) === null || h === void 0 ? void 0 : h.processedData.originData.ComplexData) || [],
|
|
76
76
|
"lead-name-list": a.leadNameList,
|
|
77
77
|
"lead-head-config": a.leadHeadConfig,
|
|
78
78
|
"active-lead-idx": a.activeLeadIdx,
|
|
79
79
|
"active-lead-analyse-value": a.activeLeadAnalyseValue,
|
|
80
|
-
"analyse-value": ((
|
|
80
|
+
"analyse-value": ((f = a.formatEcgData) === null || f === void 0 ? void 0 : f.processedData.otherParams.AnalyseValue) || [],
|
|
81
81
|
"enlarge-wave-mode": a.enlargeWaveMode,
|
|
82
|
-
"q-td-algorithm": ((
|
|
82
|
+
"q-td-algorithm": ((m = a.conventionalECGConfig) === null || m === void 0 || (p = m.ecgReviewSetting) === null || p === void 0 ? void 0 : p.QTd_algorithm) || 1,
|
|
83
83
|
"is-sync-analyse-value-check": a.isSyncAnalyseValueCheck,
|
|
84
84
|
"enlarge-gains": a.enlargeGains,
|
|
85
85
|
"lead-name-texts-porps": a.LeadNameTextsPorps,
|
|
@@ -87,11 +87,11 @@ var C = function() {
|
|
|
87
87
|
"prefix-id": a.prefixId
|
|
88
88
|
},
|
|
89
89
|
on: {
|
|
90
|
-
"update:isShowEnlargeWave": function(
|
|
91
|
-
a.isShowEnlargeWave =
|
|
90
|
+
"update:isShowEnlargeWave": function(t) {
|
|
91
|
+
a.isShowEnlargeWave = t;
|
|
92
92
|
},
|
|
93
|
-
"update:is-show-enlarge-wave": function(
|
|
94
|
-
a.isShowEnlargeWave =
|
|
93
|
+
"update:is-show-enlarge-wave": function(t) {
|
|
94
|
+
a.isShowEnlargeWave = t;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
}, a.$listeners)) : a._e(), e("div", {
|
|
@@ -104,6 +104,17 @@ var C = function() {
|
|
|
104
104
|
style: {
|
|
105
105
|
width: `${a.width}px`,
|
|
106
106
|
height: `${a.height}px`
|
|
107
|
+
},
|
|
108
|
+
on: {
|
|
109
|
+
touchmove: function(t) {
|
|
110
|
+
t.stopPropagation();
|
|
111
|
+
},
|
|
112
|
+
touchend: function(t) {
|
|
113
|
+
t.stopPropagation();
|
|
114
|
+
},
|
|
115
|
+
touchstart: function(t) {
|
|
116
|
+
t.stopPropagation();
|
|
117
|
+
}
|
|
107
118
|
}
|
|
108
119
|
}, [a.scrollConfig.isNativeScroll ? e("div", {
|
|
109
120
|
ref: a.prefixId + "nativeScroll",
|
|
@@ -167,11 +167,12 @@ export default class Methods extends Vue {
|
|
|
167
167
|
/** 场景画图 mouseDown */
|
|
168
168
|
protected sceneIsMouseDown: Readonly<boolean>;
|
|
169
169
|
protected sceneIsMouseDownX: number;
|
|
170
|
+
protected sceneIsMouseDownY: number;
|
|
170
171
|
protected isShowEnlargeWave: boolean;
|
|
171
172
|
/** 双指缩放相关 */
|
|
172
173
|
protected sceneFirstDistance: number;
|
|
173
174
|
protected sceneMagnification: number;
|
|
174
|
-
protected
|
|
175
|
+
protected rulerHistorySlidIdxs: number;
|
|
175
176
|
/** 实际画布容器大小 */
|
|
176
177
|
protected get canvasContainer(): {
|
|
177
178
|
width: number;
|
|
@@ -200,6 +201,7 @@ export default class Methods extends Vue {
|
|
|
200
201
|
protected onDbClickWaveFrom(e: ElementEvent, type: 'single' | 'rowAndCol' | 'add'): void;
|
|
201
202
|
/** 场景画布移动事件 */
|
|
202
203
|
protected sceneInsMousemove(event: ElementEvent): void;
|
|
204
|
+
protected moveUpAndDown(moveY: number): void;
|
|
203
205
|
/** 放大画布事件 */
|
|
204
206
|
protected zoomWave(): void;
|
|
205
207
|
/** 场景画布按下事件 */
|