st-comp 0.0.173 → 0.0.174
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/es/ChartLayout.js +3 -3
- package/es/Dialog.js +14 -14
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +337 -817
- package/es/Kline.js +16 -16
- package/es/KlineBasic.js +26 -26
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +41 -40
- package/es/KlineNew.js +14 -14
- package/es/KlinePlus.js +17 -17
- package/es/Pagination.js +19 -19
- package/es/PasswordPrompt.js +3 -3
- package/es/Table.js +21 -21
- package/es/User.js +39 -39
- package/es/VarSelectDialog.cjs +2 -2
- package/es/VarSelectDialog.js +146 -144
- package/es/VarietySearch.cjs +5 -5
- package/es/VarietySearch.js +529 -513
- package/es/VirtualTable.js +494 -494
- package/es/{_initCloneObject-a9305c1e.js → _initCloneObject-da90eef0.js} +3 -3
- package/es/{base-4bcd2756.js → base-d9284bf0.js} +23 -23
- package/es/{castArray-681d750b.js → castArray-b0ab0165.js} +1 -1
- package/es/{config-provider-93846ae3.js → config-provider-f0151e9f.js} +10 -10
- package/es/{debounce-51046b06.js → debounce-3cec4646.js} +1 -1
- package/es/{dropdown-65e74de8.js → dropdown-82b80e8b.js} +6 -6
- package/es/{el-button-d39472d3.js → el-button-34665425.js} +9 -9
- package/es/{el-dialog-f45ec2a1.js → el-dialog-a412484e.js} +17 -17
- package/es/{el-divider-7cf13678.js → el-divider-fd2b4e2e.js} +4 -4
- package/es/{el-empty-64b2ea8a.js → el-empty-412fc297.js} +2 -2
- package/es/{el-form-item-b31e7a98.js → el-form-item-668ba024.js} +65 -65
- package/es/{el-input-42315ac4.js → el-input-22e66e37.js} +22 -22
- package/es/{el-input-number-ebd64e22.js → el-input-number-481e21c5.js} +26 -26
- package/es/{el-loading-5d29f26d.js → el-loading-d4e403ab.js} +5 -5
- package/es/{el-menu-item-d62e0a3f.js → el-menu-item-404c10e5.js} +8 -8
- package/es/el-message-box-41f39f6d.js +558 -0
- package/es/el-message-box-6694f827.cjs +1 -0
- package/es/{el-message-bd1d2c82.js → el-message-ef506caa.js} +24 -24
- package/es/{el-overlay-690b50aa.js → el-overlay-4a9fa4e1.js} +30 -30
- package/es/{el-popconfirm-88bbd066.js → el-popconfirm-7b9183aa.js} +6 -6
- package/es/{el-popper-85365d5b.js → el-popper-e73466eb.js} +5 -5
- package/es/{el-scrollbar-bcf29780.js → el-scrollbar-45318df0.js} +8 -8
- package/es/el-segmented-3ba6d664.cjs +1 -0
- package/es/el-segmented-41820018.js +135 -0
- package/es/{el-select-d3bce4d1.js → el-select-d7a00294.js} +13 -13
- package/es/{el-table-column-9691b26d.js → el-table-column-a2d0c635.js} +122 -122
- package/es/{el-tag-6036f51c.js → el-tag-7f391090.js} +32 -32
- package/es/{index-d3c37134.js → index-1c41bd56.js} +3 -3
- package/es/index-3120be08.js +14 -0
- package/es/{index-fbe85773.js → index-85a32a00.js} +15 -15
- package/es/{index-21fb27eb.js → index-94f38460.js} +19 -19
- package/es/{index-ef7c4392.js → index-a8e9ec0f.js} +23 -23
- package/es/{index-cb8157f2.js → index-d577b81b.js} +2 -2
- package/es/{index-8ee89b40.js → index-d99fdc6d.js} +8 -8
- package/es/{index-3425f2f0.js → index-ee1cebbc.js} +5 -5
- package/es/{raf-36faa519.js → raf-bfbf42e4.js} +1 -1
- package/es/{scroll-0277d145.js → scroll-e3cb691f.js} +2 -2
- package/es/style.css +1 -1
- package/es/{use-form-common-props-54c31983.js → use-form-common-props-cc347a83.js} +36 -36
- package/es/{use-global-config-946f61a4.js → use-global-config-c7f0a7e3.js} +3 -3
- package/es/validator-10fa54fe.js +5 -0
- package/es/validator-af488a9a.cjs +1 -0
- package/es/{vnode-dfc92f20.js → vnode-6be33bb1.js} +1 -1
- package/es/{zh-cn-5066f5e9.js → zh-cn-d883afa8.js} +2 -2
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +135 -135
- package/lib/{index-c35886c2.js → index-c5c93747.js} +6970 -6953
- package/lib/{python-37ee7d62.js → python-1b054f75.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarSelectDialog/index.vue +3 -1
- package/packages/VarietySearch/components/FactorScreen/index.vue +54 -40
- package/es/el-checkbox-group-020b49f5.cjs +0 -1
- package/es/el-checkbox-group-779f353a.js +0 -67
- package/es/el-segmented-84707138.js +0 -136
- package/es/el-segmented-bccd9f2a.cjs +0 -1
- package/es/index-c45ac024.js +0 -14
package/es/FactorWarning.js
CHANGED
|
@@ -1,521 +1,41 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { z as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import "./el-tag-
|
|
1
|
+
import "./base-d9284bf0.js";
|
|
2
|
+
import { z as re, E as ne } from "./zh-cn-d883afa8.js";
|
|
3
|
+
import { E as ue } from "./el-dialog-a412484e.js";
|
|
4
|
+
import "./el-overlay-4a9fa4e1.js";
|
|
5
|
+
import "./el-tag-7f391090.js";
|
|
6
6
|
import "./el-tooltip-4ed993c7.js";
|
|
7
|
-
import { E as
|
|
8
|
-
import { E as
|
|
9
|
-
import "./el-scrollbar-
|
|
10
|
-
import { E as
|
|
11
|
-
import { E as
|
|
12
|
-
import { E as
|
|
13
|
-
import { E as
|
|
14
|
-
import { E as
|
|
15
|
-
import { E as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { G as
|
|
20
|
-
import { _ as
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import "./
|
|
27
|
-
import "./index-
|
|
28
|
-
import "./vnode-
|
|
29
|
-
import "./scroll-
|
|
30
|
-
import "./_initCloneObject-
|
|
31
|
-
import "./debounce-
|
|
32
|
-
import "./raf-
|
|
7
|
+
import { E as se } from "./el-popper-e73466eb.js";
|
|
8
|
+
import { E as ie, a as ce, b as de, c as me } from "./el-table-column-a2d0c635.js";
|
|
9
|
+
import "./el-scrollbar-45318df0.js";
|
|
10
|
+
import { E as fe } from "./el-popconfirm-7b9183aa.js";
|
|
11
|
+
import { E as pe } from "./el-button-34665425.js";
|
|
12
|
+
import { E as ye, a as ve } from "./el-form-item-668ba024.js";
|
|
13
|
+
import { E as _e } from "./el-input-22e66e37.js";
|
|
14
|
+
import { E as be, a as he } from "./el-message-box-41f39f6d.js";
|
|
15
|
+
import { E as ge } from "./el-input-number-481e21c5.js";
|
|
16
|
+
import { E as ke } from "./el-segmented-41820018.js";
|
|
17
|
+
import { mergeModels as R, ref as w, useModel as Ce, watch as Te, openBlock as o, createElementBlock as c, createVNode as a, unref as g, withCtx as l, createElementVNode as m, normalizeClass as we, toDisplayString as k, createTextVNode as d, createBlock as f, createCommentVNode as p, Fragment as x, renderList as N, pushScopeId as xe, popScopeId as Se } from "vue";
|
|
18
|
+
import { i as j, E as Ve } from "./index-ee1cebbc.js";
|
|
19
|
+
import { G as Ee } from "./index-7ed0999e.js";
|
|
20
|
+
import { _ as Ne } from "./_plugin-vue_export-helper-dad06003.js";
|
|
21
|
+
import { E as Fe } from "./index-1c41bd56.js";
|
|
22
|
+
import "./config-provider-f0151e9f.js";
|
|
23
|
+
import "./use-global-config-c7f0a7e3.js";
|
|
24
|
+
import "./use-form-common-props-cc347a83.js";
|
|
25
|
+
import "./index-a8e9ec0f.js";
|
|
26
|
+
import "./index-94f38460.js";
|
|
27
|
+
import "./index-3120be08.js";
|
|
28
|
+
import "./vnode-6be33bb1.js";
|
|
29
|
+
import "./scroll-e3cb691f.js";
|
|
30
|
+
import "./_initCloneObject-da90eef0.js";
|
|
31
|
+
import "./debounce-3cec4646.js";
|
|
32
|
+
import "./raf-bfbf42e4.js";
|
|
33
33
|
import "./index-657047bb.js";
|
|
34
|
-
import "./castArray-
|
|
34
|
+
import "./castArray-b0ab0165.js";
|
|
35
35
|
import "./typescript-7ae59c4c.js";
|
|
36
|
-
import "./index-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
if (H.length === 0)
|
|
40
|
-
return;
|
|
41
|
-
const i = H[H.length - 1][pe];
|
|
42
|
-
if (i.length > 0 && e.code === bt.tab) {
|
|
43
|
-
if (i.length === 1) {
|
|
44
|
-
e.preventDefault(), document.activeElement !== i[0] && i[0].focus();
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
const p = e.shiftKey, v = e.target === i[0], u = e.target === i[i.length - 1];
|
|
48
|
-
if (v && p && (e.preventDefault(), i[i.length - 1].focus()), u && !p && (e.preventDefault(), i[0].focus()), process.env.NODE_ENV === "test") {
|
|
49
|
-
const b = i.indexOf(e.target);
|
|
50
|
-
b !== -1 && ((d = i[p ? b - 1 : b + 1]) == null || d.focus());
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}, wt = {
|
|
54
|
-
beforeMount(e) {
|
|
55
|
-
e[pe] = we(e), H.push(e), H.length <= 1 && document.addEventListener("keydown", _e);
|
|
56
|
-
},
|
|
57
|
-
updated(e) {
|
|
58
|
-
x(() => {
|
|
59
|
-
e[pe] = we(e);
|
|
60
|
-
});
|
|
61
|
-
},
|
|
62
|
-
unmounted() {
|
|
63
|
-
H.shift(), H.length === 0 && document.removeEventListener("keydown", _e);
|
|
64
|
-
}
|
|
65
|
-
}, Tt = st({
|
|
66
|
-
name: "ElMessageBox",
|
|
67
|
-
directives: {
|
|
68
|
-
TrapFocus: wt
|
|
69
|
-
},
|
|
70
|
-
components: {
|
|
71
|
-
ElButton: Be,
|
|
72
|
-
ElFocusTrap: ht,
|
|
73
|
-
ElInput: Ve,
|
|
74
|
-
ElOverlay: je,
|
|
75
|
-
ElIcon: Ie,
|
|
76
|
-
...Ct
|
|
77
|
-
},
|
|
78
|
-
inheritAttrs: !1,
|
|
79
|
-
props: {
|
|
80
|
-
buttonSize: {
|
|
81
|
-
type: String,
|
|
82
|
-
validator: at
|
|
83
|
-
},
|
|
84
|
-
modal: {
|
|
85
|
-
type: Boolean,
|
|
86
|
-
default: !0
|
|
87
|
-
},
|
|
88
|
-
lockScroll: {
|
|
89
|
-
type: Boolean,
|
|
90
|
-
default: !0
|
|
91
|
-
},
|
|
92
|
-
showClose: {
|
|
93
|
-
type: Boolean,
|
|
94
|
-
default: !0
|
|
95
|
-
},
|
|
96
|
-
closeOnClickModal: {
|
|
97
|
-
type: Boolean,
|
|
98
|
-
default: !0
|
|
99
|
-
},
|
|
100
|
-
closeOnPressEscape: {
|
|
101
|
-
type: Boolean,
|
|
102
|
-
default: !0
|
|
103
|
-
},
|
|
104
|
-
closeOnHashChange: {
|
|
105
|
-
type: Boolean,
|
|
106
|
-
default: !0
|
|
107
|
-
},
|
|
108
|
-
center: Boolean,
|
|
109
|
-
draggable: Boolean,
|
|
110
|
-
overflow: Boolean,
|
|
111
|
-
roundButton: {
|
|
112
|
-
default: !1,
|
|
113
|
-
type: Boolean
|
|
114
|
-
},
|
|
115
|
-
container: {
|
|
116
|
-
type: String,
|
|
117
|
-
default: "body"
|
|
118
|
-
},
|
|
119
|
-
boxType: {
|
|
120
|
-
type: String,
|
|
121
|
-
default: ""
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
emits: ["vanish", "action"],
|
|
125
|
-
setup(e, { emit: d }) {
|
|
126
|
-
const {
|
|
127
|
-
locale: i,
|
|
128
|
-
zIndex: p,
|
|
129
|
-
ns: v,
|
|
130
|
-
size: u
|
|
131
|
-
} = kt("message-box", U(() => e.buttonSize)), { t: b } = i, { nextZIndex: B } = p, s = I(!1), r = rt({
|
|
132
|
-
autofocus: !0,
|
|
133
|
-
beforeClose: null,
|
|
134
|
-
callback: null,
|
|
135
|
-
cancelButtonText: "",
|
|
136
|
-
cancelButtonClass: "",
|
|
137
|
-
confirmButtonText: "",
|
|
138
|
-
confirmButtonClass: "",
|
|
139
|
-
customClass: "",
|
|
140
|
-
customStyle: {},
|
|
141
|
-
dangerouslyUseHTMLString: !1,
|
|
142
|
-
distinguishCancelAndClose: !1,
|
|
143
|
-
icon: "",
|
|
144
|
-
inputPattern: null,
|
|
145
|
-
inputPlaceholder: "",
|
|
146
|
-
inputType: "text",
|
|
147
|
-
inputValue: "",
|
|
148
|
-
inputValidator: void 0,
|
|
149
|
-
inputErrorMessage: "",
|
|
150
|
-
message: "",
|
|
151
|
-
modalFade: !0,
|
|
152
|
-
modalClass: "",
|
|
153
|
-
showCancelButton: !1,
|
|
154
|
-
showConfirmButton: !0,
|
|
155
|
-
type: "",
|
|
156
|
-
title: void 0,
|
|
157
|
-
showInput: !1,
|
|
158
|
-
action: "",
|
|
159
|
-
confirmButtonLoading: !1,
|
|
160
|
-
cancelButtonLoading: !1,
|
|
161
|
-
confirmButtonLoadingIcon: be(ke),
|
|
162
|
-
cancelButtonLoadingIcon: be(ke),
|
|
163
|
-
confirmButtonDisabled: !1,
|
|
164
|
-
editorErrorMessage: "",
|
|
165
|
-
validateError: !1,
|
|
166
|
-
zIndex: B()
|
|
167
|
-
}), K = U(() => {
|
|
168
|
-
const m = r.type;
|
|
169
|
-
return { [v.bm("icon", m)]: m && Te[m] };
|
|
170
|
-
}), f = Se(), O = Se(), j = U(() => {
|
|
171
|
-
const m = r.type;
|
|
172
|
-
return r.icon || m && Te[m] || "";
|
|
173
|
-
}), te = U(() => !!r.message), z = I(), G = I(), D = I(), W = I(), oe = I(), E = U(() => r.confirmButtonClass);
|
|
174
|
-
me(() => r.inputValue, async (m) => {
|
|
175
|
-
await x(), e.boxType === "prompt" && m !== null && le();
|
|
176
|
-
}, { immediate: !0 }), me(() => s.value, (m) => {
|
|
177
|
-
var M, V;
|
|
178
|
-
m && (e.boxType !== "prompt" && (r.autofocus ? D.value = (V = (M = oe.value) == null ? void 0 : M.$el) != null ? V : z.value : D.value = z.value), r.zIndex = B()), e.boxType === "prompt" && (m ? x().then(() => {
|
|
179
|
-
var Y;
|
|
180
|
-
W.value && W.value.$el && (r.autofocus ? D.value = (Y = ae()) != null ? Y : z.value : D.value = z.value);
|
|
181
|
-
}) : (r.editorErrorMessage = "", r.validateError = !1));
|
|
182
|
-
});
|
|
183
|
-
const l = U(() => e.draggable), F = U(() => e.overflow);
|
|
184
|
-
He(z, G, l, F), it(async () => {
|
|
185
|
-
await x(), e.closeOnHashChange && window.addEventListener("hashchange", y);
|
|
186
|
-
}), ut(() => {
|
|
187
|
-
e.closeOnHashChange && window.removeEventListener("hashchange", y);
|
|
188
|
-
});
|
|
189
|
-
function y() {
|
|
190
|
-
s.value && (s.value = !1, x(() => {
|
|
191
|
-
r.action && d("action", r.action);
|
|
192
|
-
}));
|
|
193
|
-
}
|
|
194
|
-
const T = () => {
|
|
195
|
-
e.closeOnClickModal && S(r.distinguishCancelAndClose ? "close" : "cancel");
|
|
196
|
-
}, N = We(T), P = (m) => {
|
|
197
|
-
if (r.inputType !== "textarea")
|
|
198
|
-
return m.preventDefault(), S("confirm");
|
|
199
|
-
}, S = (m) => {
|
|
200
|
-
var M;
|
|
201
|
-
e.boxType === "prompt" && m === "confirm" && !le() || (r.action = m, r.beforeClose ? (M = r.beforeClose) == null || M.call(r, m, r, y) : y());
|
|
202
|
-
}, le = () => {
|
|
203
|
-
if (e.boxType === "prompt") {
|
|
204
|
-
const m = r.inputPattern;
|
|
205
|
-
if (m && !m.test(r.inputValue || ""))
|
|
206
|
-
return r.editorErrorMessage = r.inputErrorMessage || b("el.messagebox.error"), r.validateError = !0, !1;
|
|
207
|
-
const M = r.inputValidator;
|
|
208
|
-
if (fe(M)) {
|
|
209
|
-
const V = M(r.inputValue);
|
|
210
|
-
if (V === !1)
|
|
211
|
-
return r.editorErrorMessage = r.inputErrorMessage || b("el.messagebox.error"), r.validateError = !0, !1;
|
|
212
|
-
if (ve(V))
|
|
213
|
-
return r.editorErrorMessage = V, r.validateError = !0, !1;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
return r.editorErrorMessage = "", r.validateError = !1, !0;
|
|
217
|
-
}, ae = () => {
|
|
218
|
-
var m, M;
|
|
219
|
-
const V = (m = W.value) == null ? void 0 : m.$refs;
|
|
220
|
-
return (M = V == null ? void 0 : V.input) != null ? M : V == null ? void 0 : V.textarea;
|
|
221
|
-
}, Q = () => {
|
|
222
|
-
S("close");
|
|
223
|
-
}, $ = () => {
|
|
224
|
-
e.closeOnPressEscape && Q();
|
|
225
|
-
};
|
|
226
|
-
return e.lockScroll && Ge(s), {
|
|
227
|
-
...ct(r),
|
|
228
|
-
ns: v,
|
|
229
|
-
overlayEvent: N,
|
|
230
|
-
visible: s,
|
|
231
|
-
hasMessage: te,
|
|
232
|
-
typeClass: K,
|
|
233
|
-
contentId: f,
|
|
234
|
-
inputId: O,
|
|
235
|
-
btnSize: u,
|
|
236
|
-
iconComponent: j,
|
|
237
|
-
confirmButtonClasses: E,
|
|
238
|
-
rootRef: z,
|
|
239
|
-
focusStartRef: D,
|
|
240
|
-
headerRef: G,
|
|
241
|
-
inputRef: W,
|
|
242
|
-
confirmRef: oe,
|
|
243
|
-
doClose: y,
|
|
244
|
-
handleClose: Q,
|
|
245
|
-
onCloseRequested: $,
|
|
246
|
-
handleWrapperClick: T,
|
|
247
|
-
handleInputEnter: P,
|
|
248
|
-
handleAction: S,
|
|
249
|
-
t: b
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
});
|
|
253
|
-
function St(e, d, i, p, v, u) {
|
|
254
|
-
const b = J("el-icon"), B = J("close"), s = J("el-input"), r = J("el-button"), K = J("el-focus-trap"), f = J("el-overlay");
|
|
255
|
-
return n(), g(dt, {
|
|
256
|
-
name: "fade-in-linear",
|
|
257
|
-
onAfterLeave: (O) => e.$emit("vanish"),
|
|
258
|
-
persisted: ""
|
|
259
|
-
}, {
|
|
260
|
-
default: o(() => [
|
|
261
|
-
ce(a(f, {
|
|
262
|
-
"z-index": e.zIndex,
|
|
263
|
-
"overlay-class": [e.ns.is("message-box"), e.modalClass],
|
|
264
|
-
mask: e.modal
|
|
265
|
-
}, {
|
|
266
|
-
default: o(() => [
|
|
267
|
-
c("div", {
|
|
268
|
-
role: "dialog",
|
|
269
|
-
"aria-label": e.title,
|
|
270
|
-
"aria-modal": "true",
|
|
271
|
-
"aria-describedby": e.showInput ? void 0 : e.contentId,
|
|
272
|
-
class: w(`${e.ns.namespace.value}-overlay-message-box`),
|
|
273
|
-
onClick: e.overlayEvent.onClick,
|
|
274
|
-
onMousedown: e.overlayEvent.onMousedown,
|
|
275
|
-
onMouseup: e.overlayEvent.onMouseup
|
|
276
|
-
}, [
|
|
277
|
-
a(K, {
|
|
278
|
-
loop: "",
|
|
279
|
-
trapped: e.visible,
|
|
280
|
-
"focus-trap-el": e.rootRef,
|
|
281
|
-
"focus-start-el": e.focusStartRef,
|
|
282
|
-
onReleaseRequested: e.onCloseRequested
|
|
283
|
-
}, {
|
|
284
|
-
default: o(() => [
|
|
285
|
-
c("div", {
|
|
286
|
-
ref: "rootRef",
|
|
287
|
-
class: w([
|
|
288
|
-
e.ns.b(),
|
|
289
|
-
e.customClass,
|
|
290
|
-
e.ns.is("draggable", e.draggable),
|
|
291
|
-
{ [e.ns.m("center")]: e.center }
|
|
292
|
-
]),
|
|
293
|
-
style: he(e.customStyle),
|
|
294
|
-
tabindex: "-1",
|
|
295
|
-
onClick: ne(() => {
|
|
296
|
-
}, ["stop"])
|
|
297
|
-
}, [
|
|
298
|
-
e.title !== null && e.title !== void 0 ? (n(), C("div", {
|
|
299
|
-
key: 0,
|
|
300
|
-
ref: "headerRef",
|
|
301
|
-
class: w([e.ns.e("header"), { "show-close": e.showClose }])
|
|
302
|
-
}, [
|
|
303
|
-
c("div", {
|
|
304
|
-
class: w(e.ns.e("title"))
|
|
305
|
-
}, [
|
|
306
|
-
e.iconComponent && e.center ? (n(), g(b, {
|
|
307
|
-
key: 0,
|
|
308
|
-
class: w([e.ns.e("status"), e.typeClass])
|
|
309
|
-
}, {
|
|
310
|
-
default: o(() => [
|
|
311
|
-
(n(), g(se(e.iconComponent)))
|
|
312
|
-
]),
|
|
313
|
-
_: 1
|
|
314
|
-
}, 8, ["class"])) : h("v-if", !0),
|
|
315
|
-
c("span", null, _(e.title), 1)
|
|
316
|
-
], 2),
|
|
317
|
-
e.showClose ? (n(), C("button", {
|
|
318
|
-
key: 0,
|
|
319
|
-
type: "button",
|
|
320
|
-
class: w(e.ns.e("headerbtn")),
|
|
321
|
-
"aria-label": e.t("el.messagebox.close"),
|
|
322
|
-
onClick: (O) => e.handleAction(e.distinguishCancelAndClose ? "close" : "cancel"),
|
|
323
|
-
onKeydown: re(ne((O) => e.handleAction(e.distinguishCancelAndClose ? "close" : "cancel"), ["prevent"]), ["enter"])
|
|
324
|
-
}, [
|
|
325
|
-
a(b, {
|
|
326
|
-
class: w(e.ns.e("close"))
|
|
327
|
-
}, {
|
|
328
|
-
default: o(() => [
|
|
329
|
-
a(B)
|
|
330
|
-
]),
|
|
331
|
-
_: 1
|
|
332
|
-
}, 8, ["class"])
|
|
333
|
-
], 42, ["aria-label", "onClick", "onKeydown"])) : h("v-if", !0)
|
|
334
|
-
], 2)) : h("v-if", !0),
|
|
335
|
-
c("div", {
|
|
336
|
-
id: e.contentId,
|
|
337
|
-
class: w(e.ns.e("content"))
|
|
338
|
-
}, [
|
|
339
|
-
c("div", {
|
|
340
|
-
class: w(e.ns.e("container"))
|
|
341
|
-
}, [
|
|
342
|
-
e.iconComponent && !e.center && e.hasMessage ? (n(), g(b, {
|
|
343
|
-
key: 0,
|
|
344
|
-
class: w([e.ns.e("status"), e.typeClass])
|
|
345
|
-
}, {
|
|
346
|
-
default: o(() => [
|
|
347
|
-
(n(), g(se(e.iconComponent)))
|
|
348
|
-
]),
|
|
349
|
-
_: 1
|
|
350
|
-
}, 8, ["class"])) : h("v-if", !0),
|
|
351
|
-
e.hasMessage ? (n(), C("div", {
|
|
352
|
-
key: 1,
|
|
353
|
-
class: w(e.ns.e("message"))
|
|
354
|
-
}, [
|
|
355
|
-
ft(e.$slots, "default", {}, () => [
|
|
356
|
-
e.dangerouslyUseHTMLString ? (n(), g(se(e.showInput ? "label" : "p"), {
|
|
357
|
-
key: 1,
|
|
358
|
-
for: e.showInput ? e.inputId : void 0,
|
|
359
|
-
innerHTML: e.message
|
|
360
|
-
}, null, 8, ["for", "innerHTML"])) : (n(), g(se(e.showInput ? "label" : "p"), {
|
|
361
|
-
key: 0,
|
|
362
|
-
for: e.showInput ? e.inputId : void 0
|
|
363
|
-
}, {
|
|
364
|
-
default: o(() => [
|
|
365
|
-
k(_(e.dangerouslyUseHTMLString ? "" : e.message), 1)
|
|
366
|
-
]),
|
|
367
|
-
_: 1
|
|
368
|
-
}, 8, ["for"]))
|
|
369
|
-
])
|
|
370
|
-
], 2)) : h("v-if", !0)
|
|
371
|
-
], 2),
|
|
372
|
-
ce(c("div", {
|
|
373
|
-
class: w(e.ns.e("input"))
|
|
374
|
-
}, [
|
|
375
|
-
a(s, {
|
|
376
|
-
id: e.inputId,
|
|
377
|
-
ref: "inputRef",
|
|
378
|
-
modelValue: e.inputValue,
|
|
379
|
-
"onUpdate:modelValue": (O) => e.inputValue = O,
|
|
380
|
-
type: e.inputType,
|
|
381
|
-
placeholder: e.inputPlaceholder,
|
|
382
|
-
"aria-invalid": e.validateError,
|
|
383
|
-
class: w({ invalid: e.validateError }),
|
|
384
|
-
onKeydown: re(e.handleInputEnter, ["enter"])
|
|
385
|
-
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "type", "placeholder", "aria-invalid", "class", "onKeydown"]),
|
|
386
|
-
c("div", {
|
|
387
|
-
class: w(e.ns.e("errormsg")),
|
|
388
|
-
style: he({
|
|
389
|
-
visibility: e.editorErrorMessage ? "visible" : "hidden"
|
|
390
|
-
})
|
|
391
|
-
}, _(e.editorErrorMessage), 7)
|
|
392
|
-
], 2), [
|
|
393
|
-
[de, e.showInput]
|
|
394
|
-
])
|
|
395
|
-
], 10, ["id"]),
|
|
396
|
-
c("div", {
|
|
397
|
-
class: w(e.ns.e("btns"))
|
|
398
|
-
}, [
|
|
399
|
-
e.showCancelButton ? (n(), g(r, {
|
|
400
|
-
key: 0,
|
|
401
|
-
loading: e.cancelButtonLoading,
|
|
402
|
-
"loading-icon": e.cancelButtonLoadingIcon,
|
|
403
|
-
class: w([e.cancelButtonClass]),
|
|
404
|
-
round: e.roundButton,
|
|
405
|
-
size: e.btnSize,
|
|
406
|
-
onClick: (O) => e.handleAction("cancel"),
|
|
407
|
-
onKeydown: re(ne((O) => e.handleAction("cancel"), ["prevent"]), ["enter"])
|
|
408
|
-
}, {
|
|
409
|
-
default: o(() => [
|
|
410
|
-
k(_(e.cancelButtonText || e.t("el.messagebox.cancel")), 1)
|
|
411
|
-
]),
|
|
412
|
-
_: 1
|
|
413
|
-
}, 8, ["loading", "loading-icon", "class", "round", "size", "onClick", "onKeydown"])) : h("v-if", !0),
|
|
414
|
-
ce(a(r, {
|
|
415
|
-
ref: "confirmRef",
|
|
416
|
-
type: "primary",
|
|
417
|
-
loading: e.confirmButtonLoading,
|
|
418
|
-
"loading-icon": e.confirmButtonLoadingIcon,
|
|
419
|
-
class: w([e.confirmButtonClasses]),
|
|
420
|
-
round: e.roundButton,
|
|
421
|
-
disabled: e.confirmButtonDisabled,
|
|
422
|
-
size: e.btnSize,
|
|
423
|
-
onClick: (O) => e.handleAction("confirm"),
|
|
424
|
-
onKeydown: re(ne((O) => e.handleAction("confirm"), ["prevent"]), ["enter"])
|
|
425
|
-
}, {
|
|
426
|
-
default: o(() => [
|
|
427
|
-
k(_(e.confirmButtonText || e.t("el.messagebox.confirm")), 1)
|
|
428
|
-
]),
|
|
429
|
-
_: 1
|
|
430
|
-
}, 8, ["loading", "loading-icon", "class", "round", "disabled", "size", "onClick", "onKeydown"]), [
|
|
431
|
-
[de, e.showConfirmButton]
|
|
432
|
-
])
|
|
433
|
-
], 2)
|
|
434
|
-
], 14, ["onClick"])
|
|
435
|
-
]),
|
|
436
|
-
_: 3
|
|
437
|
-
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
|
|
438
|
-
], 42, ["aria-label", "aria-describedby", "onClick", "onMousedown", "onMouseup"])
|
|
439
|
-
]),
|
|
440
|
-
_: 3
|
|
441
|
-
}, 8, ["z-index", "overlay-class", "mask"]), [
|
|
442
|
-
[de, e.visible]
|
|
443
|
-
])
|
|
444
|
-
]),
|
|
445
|
-
_: 3
|
|
446
|
-
}, 8, ["onAfterLeave"]);
|
|
447
|
-
}
|
|
448
|
-
var _t = /* @__PURE__ */ Ae(Tt, [["render", St], ["__file", "index.vue"]]);
|
|
449
|
-
const ee = /* @__PURE__ */ new Map(), Bt = (e) => {
|
|
450
|
-
let d = document.body;
|
|
451
|
-
return e.appendTo && (ve(e.appendTo) && (d = document.querySelector(e.appendTo)), ge(e.appendTo) && (d = e.appendTo), ge(d) || (De("ElMessageBox", "the appendTo option is not an HTMLElement. Falling back to document.body."), d = document.body)), d;
|
|
452
|
-
}, Vt = (e, d, i = null) => {
|
|
453
|
-
const p = a(_t, e, fe(e.message) || Me(e.message) ? {
|
|
454
|
-
default: fe(e.message) ? e.message : () => e.message
|
|
455
|
-
} : null);
|
|
456
|
-
return p.appContext = i, Le(p, d), Bt(e).appendChild(d.firstElementChild), p.component;
|
|
457
|
-
}, Mt = () => document.createElement("div"), Lt = (e, d) => {
|
|
458
|
-
const i = Mt();
|
|
459
|
-
e.onVanish = () => {
|
|
460
|
-
Le(null, i), ee.delete(v);
|
|
461
|
-
}, e.onAction = (u) => {
|
|
462
|
-
const b = ee.get(v);
|
|
463
|
-
let B;
|
|
464
|
-
e.showInput ? B = { value: v.inputValue, action: u } : B = u, e.callback ? e.callback(B, p.proxy) : u === "cancel" || u === "close" ? e.distinguishCancelAndClose && u !== "cancel" ? b.reject("close") : b.reject("cancel") : b.resolve(B);
|
|
465
|
-
};
|
|
466
|
-
const p = Vt(e, i, d), v = p.proxy;
|
|
467
|
-
for (const u in e)
|
|
468
|
-
ye(e, u) && !ye(v.$props, u) && (v[u] = e[u]);
|
|
469
|
-
return v.visible = !0, v;
|
|
470
|
-
};
|
|
471
|
-
function Z(e, d = null) {
|
|
472
|
-
if (!ze)
|
|
473
|
-
return Promise.reject();
|
|
474
|
-
let i;
|
|
475
|
-
return ve(e) || Me(e) ? e = {
|
|
476
|
-
message: e
|
|
477
|
-
} : i = e.callback, new Promise((p, v) => {
|
|
478
|
-
const u = Lt(e, d ?? Z._context);
|
|
479
|
-
ee.set(u, {
|
|
480
|
-
options: e,
|
|
481
|
-
callback: i,
|
|
482
|
-
resolve: p,
|
|
483
|
-
reject: v
|
|
484
|
-
});
|
|
485
|
-
});
|
|
486
|
-
}
|
|
487
|
-
const It = ["alert", "confirm", "prompt"], Ot = {
|
|
488
|
-
alert: { closeOnPressEscape: !1, closeOnClickModal: !1 },
|
|
489
|
-
confirm: { showCancelButton: !0 },
|
|
490
|
-
prompt: { showCancelButton: !0, showInput: !0 }
|
|
491
|
-
};
|
|
492
|
-
It.forEach((e) => {
|
|
493
|
-
Z[e] = Ft(e);
|
|
494
|
-
});
|
|
495
|
-
function Ft(e) {
|
|
496
|
-
return (d, i, p, v) => {
|
|
497
|
-
let u = "";
|
|
498
|
-
return Pe(i) ? (p = i, u = "") : Re(i) ? u = "" : u = i, Z(Object.assign({
|
|
499
|
-
title: u,
|
|
500
|
-
message: d,
|
|
501
|
-
type: "",
|
|
502
|
-
...Ot[e]
|
|
503
|
-
}, p, {
|
|
504
|
-
boxType: e
|
|
505
|
-
}), v);
|
|
506
|
-
};
|
|
507
|
-
}
|
|
508
|
-
Z.close = () => {
|
|
509
|
-
ee.forEach((e, d) => {
|
|
510
|
-
d.doClose();
|
|
511
|
-
}), ee.clear();
|
|
512
|
-
};
|
|
513
|
-
Z._context = null;
|
|
514
|
-
const R = Z;
|
|
515
|
-
R.install = (e) => {
|
|
516
|
-
R._context = e._context, e.config.globalProperties.$msgbox = R, e.config.globalProperties.$messageBox = R, e.config.globalProperties.$alert = R.alert, e.config.globalProperties.$confirm = R.confirm, e.config.globalProperties.$prompt = R.prompt;
|
|
517
|
-
};
|
|
518
|
-
const Nt = R, $t = {
|
|
36
|
+
import "./index-85a32a00.js";
|
|
37
|
+
import "./validator-10fa54fe.js";
|
|
38
|
+
const Le = {
|
|
519
39
|
// 表单字段
|
|
520
40
|
ruleFormPrice: !0,
|
|
521
41
|
// 价格范围
|
|
@@ -531,21 +51,21 @@ const Nt = R, $t = {
|
|
|
531
51
|
tableEnable: !0
|
|
532
52
|
// 启用按钮
|
|
533
53
|
};
|
|
534
|
-
const
|
|
54
|
+
const D = (n) => (xe("data-v-b57c57a6"), n = n(), Se(), n), Oe = { class: "st-factorWarning" }, De = { class: "custom-header" }, Pe = /* @__PURE__ */ D(() => /* @__PURE__ */ m("span", { style: { "margin-right": "4px" } }, "因子预警", -1)), $e = { class: "factor-name" }, ze = ["onClick"], Ue = { class: "factor-name" }, Be = ["onClick"], Ie = { style: { display: "flex", "align-items": "start" } }, Me = {
|
|
535
55
|
key: 0,
|
|
536
56
|
style: { flex: "1" }
|
|
537
|
-
},
|
|
57
|
+
}, qe = /* @__PURE__ */ D(() => /* @__PURE__ */ m("span", { style: { margin: "0 5px" } }, "~", -1)), Ae = {
|
|
538
58
|
key: 0,
|
|
539
59
|
style: { color: "#f56c6c" }
|
|
540
|
-
},
|
|
60
|
+
}, Re = {
|
|
541
61
|
key: 1,
|
|
542
62
|
style: { color: "#67c23a" }
|
|
543
|
-
},
|
|
63
|
+
}, je = { key: 0 }, Je = { key: 1 }, We = { key: 2 }, Ge = { class: "shortcut-title" }, He = /* @__PURE__ */ D(() => /* @__PURE__ */ m("span", null, "我的配置", -1)), Ke = { class: "shortcut-config" }, Qe = {
|
|
544
64
|
key: 1,
|
|
545
65
|
class: "empty"
|
|
546
|
-
},
|
|
66
|
+
}, Xe = { class: "shortcut-title" }, Ye = /* @__PURE__ */ D(() => /* @__PURE__ */ m("span", null, "新增配置", -1)), Ze = { class: "custom-footer" }, et = {
|
|
547
67
|
__name: "index",
|
|
548
|
-
props: /* @__PURE__ */
|
|
68
|
+
props: /* @__PURE__ */ R({
|
|
549
69
|
// 弹窗名称
|
|
550
70
|
title: { type: [String, null], default: null },
|
|
551
71
|
// 因子数据
|
|
@@ -563,316 +83,316 @@ const ie = (e) => (pt("data-v-b57c57a6"), e = e(), vt(), e), At = { class: "st-f
|
|
|
563
83
|
visible: { default: !1 },
|
|
564
84
|
visibleModifiers: {}
|
|
565
85
|
}),
|
|
566
|
-
emits: /* @__PURE__ */
|
|
567
|
-
setup(
|
|
568
|
-
const
|
|
86
|
+
emits: /* @__PURE__ */ R(["add", "delete", "enabled", "closed", "shortcutAdd", "shortcutDelete"], ["update:visible"]),
|
|
87
|
+
setup(n, { emit: J }) {
|
|
88
|
+
const C = w("ruleForm"), F = Ce(n, "visible"), S = J, P = n, V = Object.assign(Le, P.showConfig), L = w(null), r = w({
|
|
569
89
|
factorType: 1,
|
|
570
90
|
factorSelectedList: [],
|
|
571
91
|
totalCount: 1,
|
|
572
92
|
minPrice: null,
|
|
573
93
|
maxPrice: null,
|
|
574
94
|
mark: null
|
|
575
|
-
}),
|
|
95
|
+
}), W = w({
|
|
576
96
|
factorType: [{ required: !0, message: "请选择交易类型", trigger: "blur" }],
|
|
577
97
|
factorSelectedList: [{ required: !0, message: "请选择预警因子", trigger: "blur" }],
|
|
578
98
|
totalCount: [{ required: !0, message: "请填写预警次数", trigger: "blur" }]
|
|
579
|
-
}),
|
|
99
|
+
}), U = w(null), u = w({
|
|
580
100
|
shortcutName: null,
|
|
581
101
|
factorType: 1,
|
|
582
102
|
factorSelectedList: [],
|
|
583
103
|
totalCount: 1
|
|
584
|
-
}),
|
|
104
|
+
}), G = w({
|
|
585
105
|
factorType: [{ required: !0, message: "请选择交易类型", trigger: "blur" }],
|
|
586
106
|
factorSelectedList: [{ required: !0, message: "请选择预警因子", trigger: "blur" }],
|
|
587
107
|
totalCount: [{ required: !0, message: "请填写预警次数", trigger: "blur" }],
|
|
588
108
|
shortcutName: [{ required: !0, message: "请填写配置名称", trigger: "blur" }]
|
|
589
|
-
}),
|
|
590
|
-
|
|
109
|
+
}), O = () => {
|
|
110
|
+
r.value = {
|
|
591
111
|
factorType: 1,
|
|
592
112
|
factorSelectedList: [],
|
|
593
113
|
totalCount: 1,
|
|
594
114
|
minPrice: null,
|
|
595
115
|
maxPrice: null,
|
|
596
116
|
mark: null
|
|
597
|
-
},
|
|
117
|
+
}, u.value = {
|
|
598
118
|
shortcutName: null,
|
|
599
119
|
factorType: 1,
|
|
600
120
|
factorSelectedList: [],
|
|
601
121
|
totalCount: 1
|
|
602
122
|
};
|
|
603
|
-
},
|
|
604
|
-
Object.assign(
|
|
605
|
-
factorSelectedList: [
|
|
123
|
+
}, B = async (i) => {
|
|
124
|
+
Object.assign(r.value, {
|
|
125
|
+
factorSelectedList: [i],
|
|
606
126
|
totalCount: 3
|
|
607
127
|
});
|
|
608
|
-
const
|
|
609
|
-
factorSelectedList:
|
|
610
|
-
factorName:
|
|
611
|
-
...
|
|
128
|
+
const t = {
|
|
129
|
+
factorSelectedList: r.value.factorSelectedList.map((s) => ({
|
|
130
|
+
factorName: s,
|
|
131
|
+
...r.value
|
|
612
132
|
}))
|
|
613
|
-
},
|
|
614
|
-
const
|
|
615
|
-
|
|
133
|
+
}, _ = () => {
|
|
134
|
+
const s = r.value.factorType;
|
|
135
|
+
O(), r.value.factorType = s;
|
|
616
136
|
};
|
|
617
|
-
|
|
618
|
-
},
|
|
619
|
-
const
|
|
620
|
-
Object.assign(
|
|
621
|
-
factorType:
|
|
622
|
-
factorSelectedList:
|
|
623
|
-
totalCount:
|
|
137
|
+
$(L.value, t, _);
|
|
138
|
+
}, H = async (i) => {
|
|
139
|
+
const t = JSON.parse(i.data);
|
|
140
|
+
Object.assign(r.value, {
|
|
141
|
+
factorType: t.factorType,
|
|
142
|
+
factorSelectedList: t.factorSelectedList,
|
|
143
|
+
totalCount: t.totalCount
|
|
624
144
|
});
|
|
625
|
-
const
|
|
145
|
+
const _ = {
|
|
626
146
|
// 通过快捷进行添加的因子, 具备有效次数上限10的校验
|
|
627
|
-
factorSelectedList:
|
|
628
|
-
let
|
|
629
|
-
const
|
|
630
|
-
if (
|
|
631
|
-
const
|
|
632
|
-
|
|
147
|
+
factorSelectedList: r.value.factorSelectedList.map((y) => {
|
|
148
|
+
let b = t.totalCount;
|
|
149
|
+
const E = P.tableData.find(({ factorExtendName: h }) => h === y);
|
|
150
|
+
if (E) {
|
|
151
|
+
const h = E.totalCount - E.currentCount;
|
|
152
|
+
h === 0 ? b = t.totalCount : b = Math.min(t.totalCount, 10 - h >= 0 ? 10 - h : 0);
|
|
633
153
|
}
|
|
634
154
|
return {
|
|
635
|
-
factorName:
|
|
636
|
-
...
|
|
637
|
-
totalCount:
|
|
155
|
+
factorName: y,
|
|
156
|
+
...r.value,
|
|
157
|
+
totalCount: b
|
|
638
158
|
};
|
|
639
159
|
})
|
|
640
|
-
},
|
|
641
|
-
|
|
642
|
-
},
|
|
643
|
-
|
|
644
|
-
if (!
|
|
160
|
+
}, s = () => O();
|
|
161
|
+
$(L.value, _, s);
|
|
162
|
+
}, $ = Ee(async (i, t, _) => {
|
|
163
|
+
i && await i.validate((s) => {
|
|
164
|
+
if (!s)
|
|
645
165
|
return !1;
|
|
646
|
-
const
|
|
647
|
-
factorSelectedList:
|
|
648
|
-
factorName:
|
|
649
|
-
...
|
|
166
|
+
const y = t ?? {
|
|
167
|
+
factorSelectedList: r.value.factorSelectedList.map((b) => ({
|
|
168
|
+
factorName: b,
|
|
169
|
+
...r.value
|
|
650
170
|
}))
|
|
651
171
|
};
|
|
652
|
-
|
|
172
|
+
S("add", y), _ ? _() : F.value = !1;
|
|
653
173
|
});
|
|
654
|
-
}, 200),
|
|
655
|
-
|
|
656
|
-
if (!
|
|
174
|
+
}, 200), K = async (i) => {
|
|
175
|
+
i && await i.validate((t) => {
|
|
176
|
+
if (!t)
|
|
657
177
|
return !1;
|
|
658
|
-
const
|
|
659
|
-
shortcutName:
|
|
660
|
-
data: JSON.stringify(
|
|
178
|
+
const _ = {
|
|
179
|
+
shortcutName: u.value.shortcutName,
|
|
180
|
+
data: JSON.stringify(u.value)
|
|
661
181
|
};
|
|
662
|
-
|
|
182
|
+
S("shortcutAdd", _), O();
|
|
663
183
|
});
|
|
664
|
-
},
|
|
665
|
-
|
|
666
|
-
},
|
|
667
|
-
|
|
184
|
+
}, Q = (i) => {
|
|
185
|
+
u.value = JSON.parse(i.data);
|
|
186
|
+
}, X = (i) => {
|
|
187
|
+
be.confirm(`是否确认删除配置: ${i.shortcutName} ?`, "删除提示", {
|
|
668
188
|
confirmButtonText: "确认",
|
|
669
189
|
cancelButtonText: "取消",
|
|
670
190
|
type: "warning"
|
|
671
|
-
}).then(() =>
|
|
191
|
+
}).then(() => S("shortcutDelete", i));
|
|
672
192
|
};
|
|
673
|
-
return
|
|
674
|
-
() =>
|
|
675
|
-
(
|
|
676
|
-
|
|
193
|
+
return Te(
|
|
194
|
+
() => F.value,
|
|
195
|
+
(i) => {
|
|
196
|
+
i && (C.value = P.allowOperation ? "ruleForm" : "table", O());
|
|
677
197
|
},
|
|
678
198
|
{
|
|
679
199
|
immediate: !0
|
|
680
200
|
}
|
|
681
|
-
), (
|
|
682
|
-
const
|
|
683
|
-
return
|
|
684
|
-
a(
|
|
685
|
-
default:
|
|
686
|
-
a(
|
|
687
|
-
modelValue:
|
|
688
|
-
"onUpdate:modelValue":
|
|
201
|
+
), (i, t) => {
|
|
202
|
+
const _ = ke, s = pe, y = ye, b = ie, E = ce, h = ge, Y = he, I = _e, M = ve, T = de, Z = fe, ee = me, q = Ve, A = se, te = Fe, le = ue, ae = ne;
|
|
203
|
+
return o(), c("div", Oe, [
|
|
204
|
+
a(ae, { locale: g(re) }, {
|
|
205
|
+
default: l(() => [
|
|
206
|
+
a(le, {
|
|
207
|
+
modelValue: F.value,
|
|
208
|
+
"onUpdate:modelValue": t[17] || (t[17] = (e) => F.value = e),
|
|
689
209
|
width: "1020",
|
|
690
210
|
"align-center": "",
|
|
691
211
|
"destroy-on-close": "",
|
|
692
|
-
onClosed:
|
|
212
|
+
onClosed: t[18] || (t[18] = (e) => S("closed"))
|
|
693
213
|
}, {
|
|
694
|
-
header:
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
class:
|
|
214
|
+
header: l(({ close: e, titleId: v, titleClass: z }) => [
|
|
215
|
+
m("div", De, [
|
|
216
|
+
m("div", {
|
|
217
|
+
class: we(z)
|
|
698
218
|
}, [
|
|
699
|
-
|
|
700
|
-
|
|
219
|
+
Pe,
|
|
220
|
+
m("span", null, k(n.title), 1)
|
|
701
221
|
], 2),
|
|
702
|
-
a(
|
|
703
|
-
modelValue:
|
|
704
|
-
"onUpdate:modelValue":
|
|
222
|
+
a(_, {
|
|
223
|
+
modelValue: C.value,
|
|
224
|
+
"onUpdate:modelValue": t[0] || (t[0] = (oe) => C.value = oe),
|
|
705
225
|
size: "default",
|
|
706
226
|
options: [
|
|
707
|
-
{ label: "添加", value: "ruleForm", disabled: !
|
|
227
|
+
{ label: "添加", value: "ruleForm", disabled: !n.allowOperation },
|
|
708
228
|
{ label: "管理", value: "table", disabled: !1 },
|
|
709
|
-
{ label: "快捷配置", value: "shortcut", disabled: !
|
|
229
|
+
{ label: "快捷配置", value: "shortcut", disabled: !n.allowOperation }
|
|
710
230
|
]
|
|
711
231
|
}, null, 8, ["modelValue", "options"])
|
|
712
232
|
])
|
|
713
233
|
]),
|
|
714
|
-
footer:
|
|
715
|
-
|
|
716
|
-
a(
|
|
234
|
+
footer: l(() => [
|
|
235
|
+
m("div", Ze, [
|
|
236
|
+
a(s, {
|
|
717
237
|
size: "default",
|
|
718
|
-
onClick:
|
|
238
|
+
onClick: t[14] || (t[14] = (e) => F.value = !1)
|
|
719
239
|
}, {
|
|
720
|
-
default:
|
|
721
|
-
|
|
240
|
+
default: l(() => [
|
|
241
|
+
d("关闭")
|
|
722
242
|
]),
|
|
723
243
|
_: 1
|
|
724
244
|
}),
|
|
725
|
-
|
|
245
|
+
C.value === "ruleForm" ? (o(), f(s, {
|
|
726
246
|
key: 0,
|
|
727
247
|
size: "default",
|
|
728
248
|
type: "primary",
|
|
729
|
-
onClick:
|
|
249
|
+
onClick: t[15] || (t[15] = (e) => g($)(L.value))
|
|
730
250
|
}, {
|
|
731
|
-
default:
|
|
732
|
-
|
|
251
|
+
default: l(() => [
|
|
252
|
+
d(" 确认 ")
|
|
733
253
|
]),
|
|
734
254
|
_: 1
|
|
735
|
-
})) :
|
|
736
|
-
|
|
255
|
+
})) : p("", !0),
|
|
256
|
+
C.value === "shortcut" ? (o(), f(s, {
|
|
737
257
|
key: 1,
|
|
738
258
|
size: "default",
|
|
739
259
|
type: "primary",
|
|
740
|
-
onClick:
|
|
260
|
+
onClick: t[16] || (t[16] = (e) => K(U.value))
|
|
741
261
|
}, {
|
|
742
|
-
default:
|
|
743
|
-
|
|
262
|
+
default: l(() => [
|
|
263
|
+
d(" 保存配置 ")
|
|
744
264
|
]),
|
|
745
265
|
_: 1
|
|
746
|
-
})) :
|
|
266
|
+
})) : p("", !0)
|
|
747
267
|
])
|
|
748
268
|
]),
|
|
749
|
-
default:
|
|
750
|
-
|
|
269
|
+
default: l(() => [
|
|
270
|
+
C.value === "ruleForm" ? (o(), f(M, {
|
|
751
271
|
key: 0,
|
|
752
272
|
ref_key: "ruleFormRef",
|
|
753
|
-
ref:
|
|
754
|
-
model:
|
|
755
|
-
rules:
|
|
273
|
+
ref: L,
|
|
274
|
+
model: r.value,
|
|
275
|
+
rules: W.value,
|
|
756
276
|
size: "default",
|
|
757
277
|
"label-width": "90px"
|
|
758
278
|
}, {
|
|
759
|
-
default:
|
|
760
|
-
a(
|
|
279
|
+
default: l(() => [
|
|
280
|
+
a(y, {
|
|
761
281
|
label: "交易类型:",
|
|
762
282
|
prop: "factorType"
|
|
763
283
|
}, {
|
|
764
|
-
default:
|
|
765
|
-
a(
|
|
284
|
+
default: l(() => [
|
|
285
|
+
a(s, {
|
|
766
286
|
type: "danger",
|
|
767
|
-
plain:
|
|
768
|
-
onClick:
|
|
769
|
-
|
|
287
|
+
plain: r.value.factorType !== 1,
|
|
288
|
+
onClick: t[1] || (t[1] = () => {
|
|
289
|
+
r.value.factorType === -1 && (r.value.factorSelectedList = []), r.value.factorType = 1;
|
|
770
290
|
})
|
|
771
291
|
}, {
|
|
772
|
-
default:
|
|
773
|
-
|
|
292
|
+
default: l(() => [
|
|
293
|
+
d(" 多 ")
|
|
774
294
|
]),
|
|
775
295
|
_: 1
|
|
776
296
|
}, 8, ["plain"]),
|
|
777
|
-
a(
|
|
297
|
+
a(s, {
|
|
778
298
|
type: "success",
|
|
779
|
-
plain:
|
|
780
|
-
onClick:
|
|
781
|
-
|
|
299
|
+
plain: r.value.factorType !== -1,
|
|
300
|
+
onClick: t[2] || (t[2] = () => {
|
|
301
|
+
r.value.factorType === 1 && (r.value.factorSelectedList = []), r.value.factorType = -1;
|
|
782
302
|
})
|
|
783
303
|
}, {
|
|
784
|
-
default:
|
|
785
|
-
|
|
304
|
+
default: l(() => [
|
|
305
|
+
d(" 空 ")
|
|
786
306
|
]),
|
|
787
307
|
_: 1
|
|
788
308
|
}, 8, ["plain"])
|
|
789
309
|
]),
|
|
790
310
|
_: 1
|
|
791
311
|
}),
|
|
792
|
-
a(
|
|
312
|
+
a(y, {
|
|
793
313
|
label: "预警因子:",
|
|
794
314
|
prop: "factorSelectedList"
|
|
795
315
|
}, {
|
|
796
|
-
default:
|
|
797
|
-
a(
|
|
798
|
-
modelValue:
|
|
799
|
-
"onUpdate:modelValue":
|
|
316
|
+
default: l(() => [
|
|
317
|
+
a(E, {
|
|
318
|
+
modelValue: r.value.factorSelectedList,
|
|
319
|
+
"onUpdate:modelValue": t[3] || (t[3] = (e) => r.value.factorSelectedList = e)
|
|
800
320
|
}, {
|
|
801
|
-
default:
|
|
802
|
-
|
|
321
|
+
default: l(() => [
|
|
322
|
+
r.value.factorType === 1 ? (o(!0), c(x, { key: 0 }, N(n.moreFactorOptions, (e, v) => (o(), c("div", {
|
|
803
323
|
class: "factor-checkbox",
|
|
804
|
-
key:
|
|
324
|
+
key: v
|
|
805
325
|
}, [
|
|
806
|
-
a(
|
|
807
|
-
label:
|
|
808
|
-
value:
|
|
326
|
+
a(b, {
|
|
327
|
+
label: e.factorTypeName,
|
|
328
|
+
value: e.factorTypeName
|
|
809
329
|
}, {
|
|
810
|
-
default:
|
|
811
|
-
|
|
330
|
+
default: l(() => [
|
|
331
|
+
m("span", $e, k(e.factorTypeName), 1)
|
|
812
332
|
]),
|
|
813
333
|
_: 2
|
|
814
334
|
}, 1032, ["label", "value"]),
|
|
815
|
-
|
|
335
|
+
m("span", {
|
|
816
336
|
class: "tag-button",
|
|
817
|
-
onClick: (
|
|
818
|
-
}, "+3", 8,
|
|
819
|
-
]))), 128)) :
|
|
820
|
-
|
|
337
|
+
onClick: (z) => B(e.factorTypeName)
|
|
338
|
+
}, "+3", 8, ze)
|
|
339
|
+
]))), 128)) : p("", !0),
|
|
340
|
+
r.value.factorType === -1 ? (o(!0), c(x, { key: 1 }, N(n.emptyFactorOptions, (e, v) => (o(), c("div", {
|
|
821
341
|
class: "factor-checkbox",
|
|
822
|
-
key:
|
|
342
|
+
key: v
|
|
823
343
|
}, [
|
|
824
|
-
a(
|
|
825
|
-
label:
|
|
826
|
-
value:
|
|
344
|
+
a(b, {
|
|
345
|
+
label: e.factorTypeName,
|
|
346
|
+
value: e.factorTypeName
|
|
827
347
|
}, {
|
|
828
|
-
default:
|
|
829
|
-
|
|
348
|
+
default: l(() => [
|
|
349
|
+
m("span", Ue, k(e.factorTypeName), 1)
|
|
830
350
|
]),
|
|
831
351
|
_: 2
|
|
832
352
|
}, 1032, ["label", "value"]),
|
|
833
|
-
|
|
353
|
+
m("span", {
|
|
834
354
|
class: "tag-button",
|
|
835
|
-
onClick: (
|
|
836
|
-
}, "+3", 8,
|
|
837
|
-
]))), 128)) :
|
|
355
|
+
onClick: (z) => B(e.factorTypeName)
|
|
356
|
+
}, "+3", 8, Be)
|
|
357
|
+
]))), 128)) : p("", !0)
|
|
838
358
|
]),
|
|
839
359
|
_: 1
|
|
840
360
|
}, 8, ["modelValue"])
|
|
841
361
|
]),
|
|
842
362
|
_: 1
|
|
843
363
|
}),
|
|
844
|
-
a(
|
|
364
|
+
a(y, {
|
|
845
365
|
label: "预警次数:",
|
|
846
366
|
prop: "totalCount"
|
|
847
367
|
}, {
|
|
848
|
-
default:
|
|
849
|
-
|
|
850
|
-
a(
|
|
851
|
-
modelValue:
|
|
852
|
-
"onUpdate:modelValue":
|
|
368
|
+
default: l(() => [
|
|
369
|
+
m("div", Ie, [
|
|
370
|
+
a(h, {
|
|
371
|
+
modelValue: r.value.totalCount,
|
|
372
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => r.value.totalCount = e),
|
|
853
373
|
min: 1,
|
|
854
374
|
"controls-position": "right",
|
|
855
375
|
style: { "margin-right": "20px" }
|
|
856
376
|
}, null, 8, ["modelValue"]),
|
|
857
|
-
|
|
858
|
-
(
|
|
859
|
-
key:
|
|
860
|
-
onClick: (
|
|
377
|
+
n.shortcutData.length ? (o(), c("div", Me, [
|
|
378
|
+
(o(!0), c(x, null, N(n.shortcutData, (e) => (o(), f(s, {
|
|
379
|
+
key: e.id,
|
|
380
|
+
onClick: (v) => H(e),
|
|
861
381
|
style: { margin: "0 12px 4px 0" }
|
|
862
382
|
}, {
|
|
863
|
-
default:
|
|
864
|
-
k(
|
|
383
|
+
default: l(() => [
|
|
384
|
+
d(k(e.shortcutName), 1)
|
|
865
385
|
]),
|
|
866
386
|
_: 2
|
|
867
387
|
}, 1032, ["onClick"]))), 128))
|
|
868
|
-
])) : (
|
|
388
|
+
])) : (o(), f(Y, {
|
|
869
389
|
key: 1,
|
|
870
390
|
type: "primary",
|
|
871
391
|
style: { cursor: "pointer" },
|
|
872
|
-
onClick:
|
|
392
|
+
onClick: t[5] || (t[5] = () => C.value = "shortcut")
|
|
873
393
|
}, {
|
|
874
|
-
default:
|
|
875
|
-
|
|
394
|
+
default: l(() => [
|
|
395
|
+
d(" 暂无快捷配置, 是否点击前往自定义配置? ")
|
|
876
396
|
]),
|
|
877
397
|
_: 1
|
|
878
398
|
}))
|
|
@@ -880,23 +400,23 @@ const ie = (e) => (pt("data-v-b57c57a6"), e = e(), vt(), e), At = { class: "st-f
|
|
|
880
400
|
]),
|
|
881
401
|
_: 1
|
|
882
402
|
}),
|
|
883
|
-
|
|
403
|
+
g(V).ruleFormPrice ? (o(), f(y, {
|
|
884
404
|
key: 0,
|
|
885
405
|
label: "价格范围:"
|
|
886
406
|
}, {
|
|
887
|
-
default:
|
|
888
|
-
a(
|
|
889
|
-
modelValue:
|
|
890
|
-
"onUpdate:modelValue":
|
|
407
|
+
default: l(() => [
|
|
408
|
+
a(h, {
|
|
409
|
+
modelValue: r.value.minPrice,
|
|
410
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => r.value.minPrice = e),
|
|
891
411
|
min: -999,
|
|
892
412
|
placeholder: "请输入",
|
|
893
413
|
max: 999,
|
|
894
414
|
"controls-position": "right"
|
|
895
415
|
}, null, 8, ["modelValue"]),
|
|
896
|
-
|
|
897
|
-
a(
|
|
898
|
-
modelValue:
|
|
899
|
-
"onUpdate:modelValue":
|
|
416
|
+
qe,
|
|
417
|
+
a(h, {
|
|
418
|
+
modelValue: r.value.maxPrice,
|
|
419
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => r.value.maxPrice = e),
|
|
900
420
|
placeholder: "请输入",
|
|
901
421
|
min: -999,
|
|
902
422
|
max: 999,
|
|
@@ -904,15 +424,15 @@ const ie = (e) => (pt("data-v-b57c57a6"), e = e(), vt(), e), At = { class: "st-f
|
|
|
904
424
|
}, null, 8, ["modelValue"])
|
|
905
425
|
]),
|
|
906
426
|
_: 1
|
|
907
|
-
})) :
|
|
908
|
-
|
|
427
|
+
})) : p("", !0),
|
|
428
|
+
g(V).ruleFormMark ? (o(), f(y, {
|
|
909
429
|
key: 1,
|
|
910
430
|
label: "备注:"
|
|
911
431
|
}, {
|
|
912
|
-
default:
|
|
913
|
-
a(
|
|
914
|
-
modelValue:
|
|
915
|
-
"onUpdate:modelValue":
|
|
432
|
+
default: l(() => [
|
|
433
|
+
a(I, {
|
|
434
|
+
modelValue: r.value.mark,
|
|
435
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => r.value.mark = e),
|
|
916
436
|
type: "textarea",
|
|
917
437
|
placeholder: "请输入关键字",
|
|
918
438
|
rows: 2,
|
|
@@ -920,106 +440,106 @@ const ie = (e) => (pt("data-v-b57c57a6"), e = e(), vt(), e), At = { class: "st-f
|
|
|
920
440
|
}, null, 8, ["modelValue"])
|
|
921
441
|
]),
|
|
922
442
|
_: 1
|
|
923
|
-
})) :
|
|
443
|
+
})) : p("", !0)
|
|
924
444
|
]),
|
|
925
445
|
_: 1
|
|
926
|
-
}, 8, ["model", "rules"])) :
|
|
927
|
-
|
|
446
|
+
}, 8, ["model", "rules"])) : p("", !0),
|
|
447
|
+
C.value === "table" ? (o(), f(ee, {
|
|
928
448
|
key: 1,
|
|
929
|
-
data:
|
|
449
|
+
data: n.tableData,
|
|
930
450
|
size: "small"
|
|
931
451
|
}, {
|
|
932
|
-
default:
|
|
933
|
-
a(
|
|
452
|
+
default: l(() => [
|
|
453
|
+
a(T, {
|
|
934
454
|
label: "预警周期",
|
|
935
455
|
width: "70"
|
|
936
456
|
}, {
|
|
937
|
-
default:
|
|
938
|
-
k(
|
|
457
|
+
default: l((e) => [
|
|
458
|
+
d(k(e.row.freqName || "-"), 1)
|
|
939
459
|
]),
|
|
940
460
|
_: 1
|
|
941
461
|
}),
|
|
942
|
-
a(
|
|
462
|
+
a(T, {
|
|
943
463
|
label: "交易类型",
|
|
944
464
|
width: "70"
|
|
945
465
|
}, {
|
|
946
|
-
default:
|
|
947
|
-
|
|
466
|
+
default: l((e) => [
|
|
467
|
+
e.row.factorExtendValue == 1 ? (o(), c("span", Ae, "多")) : (o(), c("span", Re, "空"))
|
|
948
468
|
]),
|
|
949
469
|
_: 1
|
|
950
470
|
}),
|
|
951
|
-
a(
|
|
952
|
-
default:
|
|
953
|
-
k(
|
|
471
|
+
a(T, { label: "预警因子" }, {
|
|
472
|
+
default: l((e) => [
|
|
473
|
+
d(k(e.row.factorExtendName || "-"), 1)
|
|
954
474
|
]),
|
|
955
475
|
_: 1
|
|
956
476
|
}),
|
|
957
|
-
a(
|
|
477
|
+
a(T, {
|
|
958
478
|
label: "预警次数",
|
|
959
479
|
width: "70"
|
|
960
480
|
}, {
|
|
961
|
-
default:
|
|
962
|
-
k(
|
|
481
|
+
default: l((e) => [
|
|
482
|
+
d(k(`${e.row.currentCount} / ${e.row.totalCount}`), 1)
|
|
963
483
|
]),
|
|
964
484
|
_: 1
|
|
965
485
|
}),
|
|
966
|
-
|
|
486
|
+
g(V).tableStatus ? (o(), f(T, {
|
|
967
487
|
key: 0,
|
|
968
488
|
label: "状态",
|
|
969
489
|
width: "70"
|
|
970
490
|
}, {
|
|
971
|
-
default:
|
|
972
|
-
|
|
973
|
-
|
|
491
|
+
default: l((e) => [
|
|
492
|
+
m("div", null, [
|
|
493
|
+
e.row.enable === 1 ? (o(), c("span", je, "未触发")) : e.row.enable === 2 ? (o(), c("span", Je, "已触发")) : (o(), c("span", We, "-"))
|
|
974
494
|
])
|
|
975
495
|
]),
|
|
976
496
|
_: 1
|
|
977
|
-
})) :
|
|
978
|
-
|
|
497
|
+
})) : p("", !0),
|
|
498
|
+
g(V).tableCreateTime ? (o(), f(T, {
|
|
979
499
|
key: 1,
|
|
980
500
|
label: "设置时间",
|
|
981
501
|
width: "136"
|
|
982
502
|
}, {
|
|
983
|
-
default:
|
|
984
|
-
k(
|
|
503
|
+
default: l((e) => [
|
|
504
|
+
d(k(e.row.createdTime || "-"), 1)
|
|
985
505
|
]),
|
|
986
506
|
_: 1
|
|
987
|
-
})) :
|
|
988
|
-
|
|
507
|
+
})) : p("", !0),
|
|
508
|
+
g(V).tableMark ? (o(), f(T, {
|
|
989
509
|
key: 2,
|
|
990
510
|
label: "备注",
|
|
991
511
|
width: "70"
|
|
992
512
|
}, {
|
|
993
|
-
default:
|
|
994
|
-
k(
|
|
513
|
+
default: l((e) => [
|
|
514
|
+
d(k(e.row.mark || "-"), 1)
|
|
995
515
|
]),
|
|
996
516
|
_: 1
|
|
997
|
-
})) :
|
|
998
|
-
|
|
517
|
+
})) : p("", !0),
|
|
518
|
+
n.allowOperation ? (o(), f(T, {
|
|
999
519
|
key: 3,
|
|
1000
520
|
label: "操作",
|
|
1001
521
|
width: "140"
|
|
1002
522
|
}, {
|
|
1003
|
-
default:
|
|
1004
|
-
|
|
523
|
+
default: l((e) => [
|
|
524
|
+
g(V).tableEnable ? (o(), f(s, {
|
|
1005
525
|
key: 0,
|
|
1006
|
-
disabled:
|
|
526
|
+
disabled: e.row.currentCount !== e.row.totalCount,
|
|
1007
527
|
size: "small",
|
|
1008
|
-
onClick: (
|
|
528
|
+
onClick: (v) => S("enabled", e.row)
|
|
1009
529
|
}, {
|
|
1010
|
-
default:
|
|
1011
|
-
|
|
530
|
+
default: l(() => [
|
|
531
|
+
d(" 启用 ")
|
|
1012
532
|
]),
|
|
1013
533
|
_: 2
|
|
1014
|
-
}, 1032, ["disabled", "onClick"])) :
|
|
1015
|
-
a(
|
|
534
|
+
}, 1032, ["disabled", "onClick"])) : p("", !0),
|
|
535
|
+
a(Z, {
|
|
1016
536
|
title: "确定删除?",
|
|
1017
|
-
onConfirm: (
|
|
537
|
+
onConfirm: (v) => S("delete", e.row)
|
|
1018
538
|
}, {
|
|
1019
|
-
reference:
|
|
1020
|
-
a(
|
|
1021
|
-
default:
|
|
1022
|
-
|
|
539
|
+
reference: l(() => [
|
|
540
|
+
a(s, { size: "small" }, {
|
|
541
|
+
default: l(() => [
|
|
542
|
+
d("删除")
|
|
1023
543
|
]),
|
|
1024
544
|
_: 1
|
|
1025
545
|
})
|
|
@@ -1028,22 +548,22 @@ const ie = (e) => (pt("data-v-b57c57a6"), e = e(), vt(), e), At = { class: "st-f
|
|
|
1028
548
|
}, 1032, ["onConfirm"])
|
|
1029
549
|
]),
|
|
1030
550
|
_: 1
|
|
1031
|
-
})) :
|
|
551
|
+
})) : p("", !0)
|
|
1032
552
|
]),
|
|
1033
553
|
_: 1
|
|
1034
|
-
}, 8, ["data"])) :
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
a(
|
|
554
|
+
}, 8, ["data"])) : p("", !0),
|
|
555
|
+
C.value === "shortcut" ? (o(), c(x, { key: 2 }, [
|
|
556
|
+
m("div", Ge, [
|
|
557
|
+
He,
|
|
558
|
+
a(A, {
|
|
1039
559
|
effect: "dark",
|
|
1040
560
|
content: "如有配置数据, 可点击查看该配置的具体信息",
|
|
1041
561
|
placement: "right-start"
|
|
1042
562
|
}, {
|
|
1043
|
-
default:
|
|
1044
|
-
a(
|
|
1045
|
-
default:
|
|
1046
|
-
a(
|
|
563
|
+
default: l(() => [
|
|
564
|
+
a(q, null, {
|
|
565
|
+
default: l(() => [
|
|
566
|
+
a(g(j))
|
|
1047
567
|
]),
|
|
1048
568
|
_: 1
|
|
1049
569
|
})
|
|
@@ -1051,32 +571,32 @@ const ie = (e) => (pt("data-v-b57c57a6"), e = e(), vt(), e), At = { class: "st-f
|
|
|
1051
571
|
_: 1
|
|
1052
572
|
})
|
|
1053
573
|
]),
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
key:
|
|
574
|
+
m("div", Ke, [
|
|
575
|
+
n.shortcutData.length ? (o(!0), c(x, { key: 0 }, N(n.shortcutData, (e) => (o(), f(te, {
|
|
576
|
+
key: e.id,
|
|
1057
577
|
type: "primary",
|
|
1058
578
|
size: "default",
|
|
1059
579
|
closable: "",
|
|
1060
|
-
onClick: (
|
|
1061
|
-
onClose: (
|
|
580
|
+
onClick: (v) => Q(e),
|
|
581
|
+
onClose: (v) => X(e)
|
|
1062
582
|
}, {
|
|
1063
|
-
default:
|
|
1064
|
-
k(
|
|
583
|
+
default: l(() => [
|
|
584
|
+
d(k(e.shortcutName), 1)
|
|
1065
585
|
]),
|
|
1066
586
|
_: 2
|
|
1067
|
-
}, 1032, ["onClick", "onClose"]))), 128)) : (
|
|
587
|
+
}, 1032, ["onClick", "onClose"]))), 128)) : (o(), c("span", Qe, "暂无数据"))
|
|
1068
588
|
]),
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
a(
|
|
589
|
+
m("div", Xe, [
|
|
590
|
+
Ye,
|
|
591
|
+
a(A, {
|
|
1072
592
|
effect: "dark",
|
|
1073
593
|
content: "同名配置将会进行覆盖",
|
|
1074
594
|
placement: "right-start"
|
|
1075
595
|
}, {
|
|
1076
|
-
default:
|
|
1077
|
-
a(
|
|
1078
|
-
default:
|
|
1079
|
-
a(
|
|
596
|
+
default: l(() => [
|
|
597
|
+
a(q, null, {
|
|
598
|
+
default: l(() => [
|
|
599
|
+
a(g(j))
|
|
1080
600
|
]),
|
|
1081
601
|
_: 1
|
|
1082
602
|
})
|
|
@@ -1084,23 +604,23 @@ const ie = (e) => (pt("data-v-b57c57a6"), e = e(), vt(), e), At = { class: "st-f
|
|
|
1084
604
|
_: 1
|
|
1085
605
|
})
|
|
1086
606
|
]),
|
|
1087
|
-
a(
|
|
607
|
+
a(M, {
|
|
1088
608
|
ref_key: "shortcut_ruleFormRef",
|
|
1089
|
-
ref:
|
|
1090
|
-
model:
|
|
1091
|
-
rules:
|
|
609
|
+
ref: U,
|
|
610
|
+
model: u.value,
|
|
611
|
+
rules: G.value,
|
|
1092
612
|
"label-width": "90px",
|
|
1093
613
|
size: "default"
|
|
1094
614
|
}, {
|
|
1095
|
-
default:
|
|
1096
|
-
a(
|
|
615
|
+
default: l(() => [
|
|
616
|
+
a(y, {
|
|
1097
617
|
label: "配置名称:",
|
|
1098
618
|
prop: "shortcutName"
|
|
1099
619
|
}, {
|
|
1100
|
-
default:
|
|
1101
|
-
a(
|
|
1102
|
-
modelValue:
|
|
1103
|
-
"onUpdate:modelValue":
|
|
620
|
+
default: l(() => [
|
|
621
|
+
a(I, {
|
|
622
|
+
modelValue: u.value.shortcutName,
|
|
623
|
+
"onUpdate:modelValue": t[9] || (t[9] = (e) => u.value.shortcutName = e),
|
|
1104
624
|
maxlength: "6",
|
|
1105
625
|
"show-word-limit": "",
|
|
1106
626
|
style: { width: "160px" }
|
|
@@ -1108,74 +628,74 @@ const ie = (e) => (pt("data-v-b57c57a6"), e = e(), vt(), e), At = { class: "st-f
|
|
|
1108
628
|
]),
|
|
1109
629
|
_: 1
|
|
1110
630
|
}),
|
|
1111
|
-
a(
|
|
631
|
+
a(y, {
|
|
1112
632
|
label: "交易类型:",
|
|
1113
633
|
prop: "factorType"
|
|
1114
634
|
}, {
|
|
1115
|
-
default:
|
|
1116
|
-
a(
|
|
635
|
+
default: l(() => [
|
|
636
|
+
a(s, {
|
|
1117
637
|
type: "danger",
|
|
1118
|
-
plain:
|
|
1119
|
-
onClick:
|
|
1120
|
-
|
|
638
|
+
plain: u.value.factorType !== 1,
|
|
639
|
+
onClick: t[10] || (t[10] = () => {
|
|
640
|
+
u.value.factorType === -1 && (u.value.factorSelectedList = []), u.value.factorType = 1;
|
|
1121
641
|
})
|
|
1122
642
|
}, {
|
|
1123
|
-
default:
|
|
1124
|
-
|
|
643
|
+
default: l(() => [
|
|
644
|
+
d(" 多 ")
|
|
1125
645
|
]),
|
|
1126
646
|
_: 1
|
|
1127
647
|
}, 8, ["plain"]),
|
|
1128
|
-
a(
|
|
648
|
+
a(s, {
|
|
1129
649
|
type: "success",
|
|
1130
|
-
plain:
|
|
1131
|
-
onClick:
|
|
1132
|
-
|
|
650
|
+
plain: u.value.factorType !== -1,
|
|
651
|
+
onClick: t[11] || (t[11] = () => {
|
|
652
|
+
u.value.factorType === 1 && (u.value.factorSelectedList = []), u.value.factorType = -1;
|
|
1133
653
|
})
|
|
1134
654
|
}, {
|
|
1135
|
-
default:
|
|
1136
|
-
|
|
655
|
+
default: l(() => [
|
|
656
|
+
d(" 空 ")
|
|
1137
657
|
]),
|
|
1138
658
|
_: 1
|
|
1139
659
|
}, 8, ["plain"])
|
|
1140
660
|
]),
|
|
1141
661
|
_: 1
|
|
1142
662
|
}),
|
|
1143
|
-
a(
|
|
663
|
+
a(y, {
|
|
1144
664
|
label: "预警因子:",
|
|
1145
665
|
prop: "factorSelectedList"
|
|
1146
666
|
}, {
|
|
1147
|
-
default:
|
|
1148
|
-
a(
|
|
1149
|
-
modelValue:
|
|
1150
|
-
"onUpdate:modelValue":
|
|
667
|
+
default: l(() => [
|
|
668
|
+
a(E, {
|
|
669
|
+
modelValue: u.value.factorSelectedList,
|
|
670
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => u.value.factorSelectedList = e)
|
|
1151
671
|
}, {
|
|
1152
|
-
default:
|
|
1153
|
-
|
|
1154
|
-
key:
|
|
1155
|
-
label:
|
|
1156
|
-
value:
|
|
672
|
+
default: l(() => [
|
|
673
|
+
u.value.factorType === 1 ? (o(!0), c(x, { key: 0 }, N(n.moreFactorOptions, (e, v) => (o(), f(b, {
|
|
674
|
+
key: v,
|
|
675
|
+
label: e.factorTypeName,
|
|
676
|
+
value: e.factorTypeName,
|
|
1157
677
|
style: { width: "200px" }
|
|
1158
|
-
}, null, 8, ["label", "value"]))), 128)) :
|
|
1159
|
-
|
|
1160
|
-
key:
|
|
1161
|
-
label:
|
|
1162
|
-
value:
|
|
678
|
+
}, null, 8, ["label", "value"]))), 128)) : p("", !0),
|
|
679
|
+
u.value.factorType === -1 ? (o(!0), c(x, { key: 1 }, N(n.emptyFactorOptions, (e, v) => (o(), f(b, {
|
|
680
|
+
key: v,
|
|
681
|
+
label: e.factorTypeName,
|
|
682
|
+
value: e.factorTypeName,
|
|
1163
683
|
style: { width: "200px" }
|
|
1164
|
-
}, null, 8, ["label", "value"]))), 128)) :
|
|
684
|
+
}, null, 8, ["label", "value"]))), 128)) : p("", !0)
|
|
1165
685
|
]),
|
|
1166
686
|
_: 1
|
|
1167
687
|
}, 8, ["modelValue"])
|
|
1168
688
|
]),
|
|
1169
689
|
_: 1
|
|
1170
690
|
}),
|
|
1171
|
-
a(
|
|
691
|
+
a(y, {
|
|
1172
692
|
label: "预警次数:",
|
|
1173
693
|
prop: "totalCount"
|
|
1174
694
|
}, {
|
|
1175
|
-
default:
|
|
1176
|
-
a(
|
|
1177
|
-
modelValue:
|
|
1178
|
-
"onUpdate:modelValue":
|
|
695
|
+
default: l(() => [
|
|
696
|
+
a(h, {
|
|
697
|
+
modelValue: u.value.totalCount,
|
|
698
|
+
"onUpdate:modelValue": t[13] || (t[13] = (e) => u.value.totalCount = e),
|
|
1179
699
|
min: 1,
|
|
1180
700
|
max: 10,
|
|
1181
701
|
"controls-position": "right",
|
|
@@ -1187,7 +707,7 @@ const ie = (e) => (pt("data-v-b57c57a6"), e = e(), vt(), e), At = { class: "st-f
|
|
|
1187
707
|
]),
|
|
1188
708
|
_: 1
|
|
1189
709
|
}, 8, ["model", "rules"])
|
|
1190
|
-
], 64)) :
|
|
710
|
+
], 64)) : p("", !0)
|
|
1191
711
|
]),
|
|
1192
712
|
_: 1
|
|
1193
713
|
}, 8, ["modelValue"])
|
|
@@ -1197,11 +717,11 @@ const ie = (e) => (pt("data-v-b57c57a6"), e = e(), vt(), e), At = { class: "st-f
|
|
|
1197
717
|
]);
|
|
1198
718
|
};
|
|
1199
719
|
}
|
|
1200
|
-
},
|
|
1201
|
-
install(
|
|
1202
|
-
|
|
720
|
+
}, tt = /* @__PURE__ */ Ne(et, [["__scopeId", "data-v-b57c57a6"]]), It = {
|
|
721
|
+
install(n) {
|
|
722
|
+
n.component("st-factorWarning", tt);
|
|
1203
723
|
}
|
|
1204
724
|
};
|
|
1205
725
|
export {
|
|
1206
|
-
|
|
726
|
+
It as default
|
|
1207
727
|
};
|