st-comp 0.0.91 → 0.0.92
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/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +337 -286
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +168 -168
- package/lib/{index-ee45a01a.js → index-74cdff5f.js} +12257 -12208
- package/lib/{python-1c6a2ac7.js → python-ed84da20.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/FactorWarning/index.vue +254 -203
- package/src/pages/FactorWarning/index.vue +10 -0
package/es/FactorWarning.js
CHANGED
|
@@ -1,56 +1,82 @@
|
|
|
1
1
|
import "./base-1bc9f12c.js";
|
|
2
|
-
import { E as
|
|
3
|
-
import { E as
|
|
2
|
+
import { z as Q, E as X } from "./zh-cn-d29347f8.js";
|
|
3
|
+
import { E as Y } from "./el-overlay-53eb27a5.js";
|
|
4
|
+
import { E as Z, a as ee, b as te, c as le } from "./el-table-column-b8e2141b.js";
|
|
4
5
|
import "./el-tooltip-4ed993c7.js";
|
|
5
6
|
import "./el-tag-9493bdff.js";
|
|
6
7
|
import "./el-scrollbar-e17fad47.js";
|
|
7
|
-
import { E as
|
|
8
|
-
import { E as
|
|
9
|
-
import { E as
|
|
10
|
-
import { E as
|
|
11
|
-
import { mergeModels as
|
|
12
|
-
import { _ as
|
|
13
|
-
import "./
|
|
8
|
+
import { E as oe } from "./el-popover-dd66e2c8.js";
|
|
9
|
+
import { E as ae } from "./el-button-93e0ac7c.js";
|
|
10
|
+
import { E as re, a as ne, b as ue, c as ie, d as de, e as se } from "./el-radio-group-caebab9d.js";
|
|
11
|
+
import { E as me } from "./el-input-29806e42.js";
|
|
12
|
+
import { mergeModels as L, useModel as ce, ref as E, watch as pe, openBlock as r, createElementBlock as c, createVNode as o, unref as f, withCtx as t, createElementVNode as _, normalizeClass as fe, toDisplayString as p, createTextVNode as n, createBlock as i, createCommentVNode as d, Fragment as M, renderList as $, pushScopeId as _e, popScopeId as be } from "vue";
|
|
13
|
+
import { _ as ye } from "./_plugin-vue_export-helper-dad06003.js";
|
|
14
|
+
import "./config-provider-c8d3957d.js";
|
|
15
|
+
import "./use-global-config-b07c467a.js";
|
|
14
16
|
import "./use-form-item-aeec8499.js";
|
|
17
|
+
import "./vnode-aa872900.js";
|
|
15
18
|
import "./focus-trap-1b2aef75.js";
|
|
16
|
-
import "./use-global-config-b07c467a.js";
|
|
17
19
|
import "./scroll-a928a93e.js";
|
|
18
20
|
import "./_commonjsHelpers-10dfc225.js";
|
|
19
21
|
import "./raf-6d7e80f4.js";
|
|
20
22
|
import "./index-657047bb.js";
|
|
21
23
|
import "./castArray-f42865a2.js";
|
|
22
24
|
import "./typescript-7ae59c4c.js";
|
|
23
|
-
const I = (
|
|
25
|
+
const I = (u) => (_e("data-v-677b273f"), u = u(), be(), u), ve = { class: "st-factorWarning" }, ke = { class: "custom-header" }, ge = /* @__PURE__ */ I(() => /* @__PURE__ */ _("span", { style: { "margin-right": "4px" } }, "因子预警", -1)), we = /* @__PURE__ */ I(() => /* @__PURE__ */ _("span", { style: { margin: "0 5px" } }, "~", -1)), xe = {
|
|
26
|
+
key: 0,
|
|
27
|
+
style: { color: "#67c23a" }
|
|
28
|
+
}, Ce = {
|
|
29
|
+
key: 1,
|
|
30
|
+
style: { color: "#f56c6c" }
|
|
31
|
+
}, Ee = { key: 0 }, Ve = { key: 1 }, he = { key: 2 }, Te = { class: "custom-footer" }, Fe = {
|
|
24
32
|
__name: "index",
|
|
25
|
-
props: /* @__PURE__ */
|
|
26
|
-
//
|
|
33
|
+
props: /* @__PURE__ */ L({
|
|
34
|
+
// 弹窗标题
|
|
27
35
|
title: { type: [String, null], default: null },
|
|
28
|
-
//
|
|
36
|
+
// 因子选项[多, 空]
|
|
29
37
|
moreFactorOptions: { type: Array, default: () => [] },
|
|
30
38
|
emptyFactorOptions: { type: Array, default: () => [] },
|
|
31
|
-
//
|
|
39
|
+
// 管理表格数据
|
|
32
40
|
tableData: { type: Array, default: () => [] },
|
|
33
41
|
// 是否允许进行操作(表单, 表格的操作)
|
|
34
|
-
allowOperation: { type: Boolean, default: !0 }
|
|
42
|
+
allowOperation: { type: Boolean, default: !0 },
|
|
43
|
+
// 个别字段功能是否展示
|
|
44
|
+
showConfig: { type: Object, default: () => ({}) }
|
|
35
45
|
}, {
|
|
36
46
|
visible: { default: !1 },
|
|
37
47
|
visibleModifiers: {}
|
|
38
48
|
}),
|
|
39
|
-
emits: /* @__PURE__ */
|
|
40
|
-
setup(
|
|
41
|
-
const
|
|
49
|
+
emits: /* @__PURE__ */ L(["add", "delete", "enabled", "closed"], ["update:visible"]),
|
|
50
|
+
setup(u, { emit: U }) {
|
|
51
|
+
const g = ce(u, "visible"), V = u, x = U, b = Object.assign(
|
|
52
|
+
{
|
|
53
|
+
ruleFormPrice: !0,
|
|
54
|
+
// 表单-价格范围
|
|
55
|
+
ruleFormMark: !0,
|
|
56
|
+
// 表单-备注
|
|
57
|
+
tableStatus: !0,
|
|
58
|
+
// 表格-状态
|
|
59
|
+
tableCreateTime: !0,
|
|
60
|
+
// 表格-设置时间
|
|
61
|
+
tableMark: !0,
|
|
62
|
+
// 表格-备注
|
|
63
|
+
tableEnable: !0
|
|
64
|
+
// 表格-操作-启用
|
|
65
|
+
},
|
|
66
|
+
V.showConfig
|
|
67
|
+
), y = E(V.allowOperation ? "ruleForm" : "table"), h = E(null), a = E({
|
|
42
68
|
factorType: 1,
|
|
43
69
|
factorSelectedList: [],
|
|
44
70
|
totalCount: 1,
|
|
45
71
|
minPrice: null,
|
|
46
72
|
maxPrice: null,
|
|
47
73
|
mark: null
|
|
48
|
-
}),
|
|
74
|
+
}), B = E({
|
|
49
75
|
factorType: [{ required: !0, message: "请选择交易类型", trigger: "blur" }],
|
|
50
76
|
factorSelectedList: [{ required: !0, message: "请选择预警因子", trigger: "blur" }],
|
|
51
77
|
totalCount: [{ required: !0, message: "请填写预警次数", trigger: "blur" }]
|
|
52
|
-
}),
|
|
53
|
-
switch (
|
|
78
|
+
}), F = async (s) => {
|
|
79
|
+
switch (s) {
|
|
54
80
|
case "threeMore":
|
|
55
81
|
Object.assign(a.value, {
|
|
56
82
|
factorType: 1,
|
|
@@ -66,12 +92,12 @@ const I = (n) => (se("data-v-1805b983"), n = n(), me(), n), ce = { class: "st-fa
|
|
|
66
92
|
});
|
|
67
93
|
break;
|
|
68
94
|
}
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
if (!
|
|
95
|
+
S(h.value, !1);
|
|
96
|
+
}, S = async (s, l = !0) => {
|
|
97
|
+
s && await s.validate((C) => {
|
|
98
|
+
if (!C)
|
|
73
99
|
return !1;
|
|
74
|
-
|
|
100
|
+
x("add", a.value), l ? g.value = !1 : a.value = {
|
|
75
101
|
factorType: 1,
|
|
76
102
|
factorSelectedList: [],
|
|
77
103
|
totalCount: 1,
|
|
@@ -80,11 +106,11 @@ const I = (n) => (se("data-v-1805b983"), n = n(), me(), n), ce = { class: "st-fa
|
|
|
80
106
|
mark: null
|
|
81
107
|
};
|
|
82
108
|
});
|
|
83
|
-
},
|
|
84
|
-
return
|
|
85
|
-
() =>
|
|
86
|
-
(
|
|
87
|
-
|
|
109
|
+
}, z = (s) => x("delete", s), R = (s) => x("enabled", s);
|
|
110
|
+
return pe(
|
|
111
|
+
() => g.value,
|
|
112
|
+
(s) => {
|
|
113
|
+
s && (y.value = V.allowOperation ? "ruleForm" : "table", a.value = {
|
|
88
114
|
factorType: 1,
|
|
89
115
|
factorSelectedList: [],
|
|
90
116
|
totalCount: 1,
|
|
@@ -93,318 +119,343 @@ const I = (n) => (se("data-v-1805b983"), n = n(), me(), n), ce = { class: "st-fa
|
|
|
93
119
|
mark: null
|
|
94
120
|
});
|
|
95
121
|
}
|
|
96
|
-
), (
|
|
97
|
-
const
|
|
98
|
-
return
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
label: "ruleForm",
|
|
121
|
-
disabled: !n.allowOperation
|
|
122
|
+
), (s, l) => {
|
|
123
|
+
const C = re, P = ne, O = ue, w = ie, N = Z, D = ee, T = de, v = ae, j = me, q = se, m = te, A = oe, W = le, G = Y, H = X;
|
|
124
|
+
return r(), c("div", ve, [
|
|
125
|
+
o(H, { locale: f(Q) }, {
|
|
126
|
+
default: t(() => [
|
|
127
|
+
o(G, {
|
|
128
|
+
modelValue: g.value,
|
|
129
|
+
"onUpdate:modelValue": l[11] || (l[11] = (e) => g.value = e),
|
|
130
|
+
width: "840",
|
|
131
|
+
"align-center": "",
|
|
132
|
+
"destroy-on-close": "",
|
|
133
|
+
onClosed: l[12] || (l[12] = (e) => x("closed"))
|
|
134
|
+
}, {
|
|
135
|
+
header: t(({ close: e, titleId: k, titleClass: J }) => [
|
|
136
|
+
_("div", ke, [
|
|
137
|
+
_("div", {
|
|
138
|
+
class: fe(J)
|
|
139
|
+
}, [
|
|
140
|
+
ge,
|
|
141
|
+
_("span", null, p(u.title), 1)
|
|
142
|
+
], 2),
|
|
143
|
+
o(P, {
|
|
144
|
+
modelValue: y.value,
|
|
145
|
+
"onUpdate:modelValue": l[0] || (l[0] = (K) => y.value = K)
|
|
122
146
|
}, {
|
|
123
147
|
default: t(() => [
|
|
124
|
-
|
|
148
|
+
o(C, {
|
|
149
|
+
label: "ruleForm",
|
|
150
|
+
disabled: !u.allowOperation
|
|
151
|
+
}, {
|
|
152
|
+
default: t(() => [
|
|
153
|
+
n("添加")
|
|
154
|
+
]),
|
|
155
|
+
_: 1
|
|
156
|
+
}, 8, ["disabled"]),
|
|
157
|
+
o(C, { label: "table" }, {
|
|
158
|
+
default: t(() => [
|
|
159
|
+
n("管理")
|
|
160
|
+
]),
|
|
161
|
+
_: 1
|
|
162
|
+
})
|
|
125
163
|
]),
|
|
126
164
|
_: 1
|
|
127
|
-
}, 8, ["
|
|
128
|
-
|
|
165
|
+
}, 8, ["modelValue"])
|
|
166
|
+
])
|
|
167
|
+
]),
|
|
168
|
+
footer: t(() => [
|
|
169
|
+
_("div", Te, [
|
|
170
|
+
o(v, {
|
|
171
|
+
onClick: l[9] || (l[9] = (e) => g.value = !1)
|
|
172
|
+
}, {
|
|
129
173
|
default: t(() => [
|
|
130
|
-
|
|
174
|
+
n("关闭")
|
|
131
175
|
]),
|
|
132
176
|
_: 1
|
|
133
|
-
})
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
]),
|
|
147
|
-
_: 1
|
|
148
|
-
}),
|
|
149
|
-
p.value === "ruleForm" ? (u(), b(c, {
|
|
150
|
-
key: 0,
|
|
151
|
-
type: "primary",
|
|
152
|
-
onClick: o[10] || (o[10] = (e) => T(C.value))
|
|
153
|
-
}, {
|
|
154
|
-
default: t(() => [
|
|
155
|
-
r(" 确认 ")
|
|
156
|
-
]),
|
|
157
|
-
_: 1
|
|
158
|
-
})) : v("", !0)
|
|
159
|
-
])
|
|
160
|
-
]),
|
|
161
|
-
default: t(() => [
|
|
162
|
-
p.value === "ruleForm" ? (u(), b(q, {
|
|
163
|
-
key: 0,
|
|
164
|
-
ref_key: "ruleFormRef",
|
|
165
|
-
ref: C,
|
|
166
|
-
model: a.value,
|
|
167
|
-
rules: $.value,
|
|
168
|
-
"label-width": "90px"
|
|
169
|
-
}, {
|
|
177
|
+
}),
|
|
178
|
+
y.value === "ruleForm" ? (r(), i(v, {
|
|
179
|
+
key: 0,
|
|
180
|
+
type: "primary",
|
|
181
|
+
onClick: l[10] || (l[10] = (e) => S(h.value))
|
|
182
|
+
}, {
|
|
183
|
+
default: t(() => [
|
|
184
|
+
n(" 确认 ")
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
})) : d("", !0)
|
|
188
|
+
])
|
|
189
|
+
]),
|
|
170
190
|
default: t(() => [
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
191
|
+
y.value === "ruleForm" ? (r(), i(q, {
|
|
192
|
+
key: 0,
|
|
193
|
+
ref_key: "ruleFormRef",
|
|
194
|
+
ref: h,
|
|
195
|
+
model: a.value,
|
|
196
|
+
rules: B.value,
|
|
197
|
+
"label-width": "90px"
|
|
174
198
|
}, {
|
|
175
199
|
default: t(() => [
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
200
|
+
o(w, {
|
|
201
|
+
label: "交易类型:",
|
|
202
|
+
prop: "factorType"
|
|
179
203
|
}, {
|
|
180
204
|
default: t(() => [
|
|
181
|
-
|
|
205
|
+
o(P, {
|
|
206
|
+
modelValue: a.value.factorType,
|
|
207
|
+
"onUpdate:modelValue": l[1] || (l[1] = (e) => a.value.factorType = e)
|
|
208
|
+
}, {
|
|
182
209
|
default: t(() => [
|
|
183
|
-
|
|
210
|
+
o(O, { label: 1 }, {
|
|
211
|
+
default: t(() => [
|
|
212
|
+
n("多")
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
}),
|
|
216
|
+
o(O, { label: -1 }, {
|
|
217
|
+
default: t(() => [
|
|
218
|
+
n("空")
|
|
219
|
+
]),
|
|
220
|
+
_: 1
|
|
221
|
+
})
|
|
184
222
|
]),
|
|
185
223
|
_: 1
|
|
186
|
-
})
|
|
187
|
-
|
|
224
|
+
}, 8, ["modelValue"])
|
|
225
|
+
]),
|
|
226
|
+
_: 1
|
|
227
|
+
}),
|
|
228
|
+
o(w, {
|
|
229
|
+
label: "预警因子:",
|
|
230
|
+
prop: "factorSelectedList"
|
|
231
|
+
}, {
|
|
232
|
+
default: t(() => [
|
|
233
|
+
o(D, {
|
|
234
|
+
modelValue: a.value.factorSelectedList,
|
|
235
|
+
"onUpdate:modelValue": l[2] || (l[2] = (e) => a.value.factorSelectedList = e)
|
|
236
|
+
}, {
|
|
188
237
|
default: t(() => [
|
|
189
|
-
r(
|
|
238
|
+
a.value.factorType === 1 ? (r(!0), c(M, { key: 0 }, $(u.moreFactorOptions, (e, k) => (r(), i(N, {
|
|
239
|
+
key: k,
|
|
240
|
+
label: e.factorTypeName,
|
|
241
|
+
style: { width: "200px" }
|
|
242
|
+
}, {
|
|
243
|
+
default: t(() => [
|
|
244
|
+
n(p(e.factorTypeName), 1)
|
|
245
|
+
]),
|
|
246
|
+
_: 2
|
|
247
|
+
}, 1032, ["label"]))), 128)) : d("", !0),
|
|
248
|
+
a.value.factorType === -1 ? (r(!0), c(M, { key: 1 }, $(u.emptyFactorOptions, (e, k) => (r(), i(N, {
|
|
249
|
+
key: k,
|
|
250
|
+
label: e.factorTypeName,
|
|
251
|
+
style: { width: "200px" }
|
|
252
|
+
}, {
|
|
253
|
+
default: t(() => [
|
|
254
|
+
n(p(e.factorTypeName), 1)
|
|
255
|
+
]),
|
|
256
|
+
_: 2
|
|
257
|
+
}, 1032, ["label"]))), 128)) : d("", !0)
|
|
190
258
|
]),
|
|
191
259
|
_: 1
|
|
192
|
-
})
|
|
260
|
+
}, 8, ["modelValue"])
|
|
193
261
|
]),
|
|
194
262
|
_: 1
|
|
195
|
-
},
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
l(k, {
|
|
200
|
-
label: "预警因子:",
|
|
201
|
-
prop: "factorSelectedList"
|
|
202
|
-
}, {
|
|
203
|
-
default: t(() => [
|
|
204
|
-
l(D, {
|
|
205
|
-
modelValue: a.value.factorSelectedList,
|
|
206
|
-
"onUpdate:modelValue": o[2] || (o[2] = (e) => a.value.factorSelectedList = e)
|
|
263
|
+
}),
|
|
264
|
+
o(w, {
|
|
265
|
+
label: "预警次数:",
|
|
266
|
+
prop: "totalCount"
|
|
207
267
|
}, {
|
|
208
268
|
default: t(() => [
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
269
|
+
o(T, {
|
|
270
|
+
modelValue: a.value.totalCount,
|
|
271
|
+
"onUpdate:modelValue": l[3] || (l[3] = (e) => a.value.totalCount = e),
|
|
272
|
+
min: 1,
|
|
273
|
+
"controls-position": "right",
|
|
274
|
+
style: { "margin-right": "20px" }
|
|
275
|
+
}, null, 8, ["modelValue"]),
|
|
276
|
+
o(v, {
|
|
277
|
+
onClick: l[4] || (l[4] = (e) => F("threeMore"))
|
|
213
278
|
}, {
|
|
214
279
|
default: t(() => [
|
|
215
|
-
|
|
280
|
+
n("3次多")
|
|
216
281
|
]),
|
|
217
|
-
_:
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
label: e.factorTypeName,
|
|
222
|
-
style: { width: "200px" }
|
|
282
|
+
_: 1
|
|
283
|
+
}),
|
|
284
|
+
o(v, {
|
|
285
|
+
onClick: l[5] || (l[5] = (e) => F("threeEmpty"))
|
|
223
286
|
}, {
|
|
224
287
|
default: t(() => [
|
|
225
|
-
|
|
288
|
+
n("3次空")
|
|
226
289
|
]),
|
|
227
|
-
_:
|
|
228
|
-
}
|
|
290
|
+
_: 1
|
|
291
|
+
})
|
|
229
292
|
]),
|
|
230
293
|
_: 1
|
|
231
|
-
},
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
l(k, {
|
|
236
|
-
label: "预警次数:",
|
|
237
|
-
prop: "totalCount"
|
|
238
|
-
}, {
|
|
239
|
-
default: t(() => [
|
|
240
|
-
l(V, {
|
|
241
|
-
modelValue: a.value.totalCount,
|
|
242
|
-
"onUpdate:modelValue": o[3] || (o[3] = (e) => a.value.totalCount = e),
|
|
243
|
-
min: 1,
|
|
244
|
-
"controls-position": "right",
|
|
245
|
-
style: { "margin-right": "20px" }
|
|
246
|
-
}, null, 8, ["modelValue"]),
|
|
247
|
-
l(c, {
|
|
248
|
-
onClick: o[4] || (o[4] = (e) => h("threeMore"))
|
|
294
|
+
}),
|
|
295
|
+
f(b).ruleFormPrice ? (r(), i(w, {
|
|
296
|
+
key: 0,
|
|
297
|
+
label: "价格范围:"
|
|
249
298
|
}, {
|
|
250
299
|
default: t(() => [
|
|
251
|
-
|
|
300
|
+
o(T, {
|
|
301
|
+
modelValue: a.value.minPrice,
|
|
302
|
+
"onUpdate:modelValue": l[6] || (l[6] = (e) => a.value.minPrice = e),
|
|
303
|
+
min: -999,
|
|
304
|
+
placeholder: "请输入",
|
|
305
|
+
max: 999,
|
|
306
|
+
"controls-position": "right"
|
|
307
|
+
}, null, 8, ["modelValue"]),
|
|
308
|
+
we,
|
|
309
|
+
o(T, {
|
|
310
|
+
modelValue: a.value.maxPrice,
|
|
311
|
+
"onUpdate:modelValue": l[7] || (l[7] = (e) => a.value.maxPrice = e),
|
|
312
|
+
placeholder: "请输入",
|
|
313
|
+
min: -999,
|
|
314
|
+
max: 999,
|
|
315
|
+
"controls-position": "right"
|
|
316
|
+
}, null, 8, ["modelValue"])
|
|
252
317
|
]),
|
|
253
318
|
_: 1
|
|
254
|
-
}),
|
|
255
|
-
|
|
256
|
-
|
|
319
|
+
})) : d("", !0),
|
|
320
|
+
f(b).ruleFormMark ? (r(), i(w, {
|
|
321
|
+
key: 1,
|
|
322
|
+
label: "备注:"
|
|
257
323
|
}, {
|
|
258
324
|
default: t(() => [
|
|
259
|
-
|
|
325
|
+
o(j, {
|
|
326
|
+
modelValue: a.value.mark,
|
|
327
|
+
"onUpdate:modelValue": l[8] || (l[8] = (e) => a.value.mark = e),
|
|
328
|
+
type: "textarea",
|
|
329
|
+
placeholder: "请输入关键字",
|
|
330
|
+
rows: 2,
|
|
331
|
+
style: { width: "380px" }
|
|
332
|
+
}, null, 8, ["modelValue"])
|
|
260
333
|
]),
|
|
261
334
|
_: 1
|
|
262
|
-
})
|
|
263
|
-
]),
|
|
264
|
-
_: 1
|
|
265
|
-
}),
|
|
266
|
-
l(k, { label: "价格范围:" }, {
|
|
267
|
-
default: t(() => [
|
|
268
|
-
l(V, {
|
|
269
|
-
modelValue: a.value.minPrice,
|
|
270
|
-
"onUpdate:modelValue": o[6] || (o[6] = (e) => a.value.minPrice = e),
|
|
271
|
-
min: -999,
|
|
272
|
-
placeholder: "请输入",
|
|
273
|
-
max: 999,
|
|
274
|
-
"controls-position": "right"
|
|
275
|
-
}, null, 8, ["modelValue"]),
|
|
276
|
-
be,
|
|
277
|
-
l(V, {
|
|
278
|
-
modelValue: a.value.maxPrice,
|
|
279
|
-
"onUpdate:modelValue": o[7] || (o[7] = (e) => a.value.maxPrice = e),
|
|
280
|
-
placeholder: "请输入",
|
|
281
|
-
min: -999,
|
|
282
|
-
max: 999,
|
|
283
|
-
"controls-position": "right"
|
|
284
|
-
}, null, 8, ["modelValue"])
|
|
335
|
+
})) : d("", !0)
|
|
285
336
|
]),
|
|
286
337
|
_: 1
|
|
287
|
-
}),
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
338
|
+
}, 8, ["model", "rules"])) : d("", !0),
|
|
339
|
+
y.value === "table" ? (r(), i(W, {
|
|
340
|
+
key: 1,
|
|
341
|
+
data: u.tableData,
|
|
342
|
+
size: "small"
|
|
291
343
|
}, {
|
|
292
344
|
default: t(() => [
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
type: "textarea",
|
|
297
|
-
placeholder: "请输入关键字",
|
|
298
|
-
rows: 2,
|
|
299
|
-
style: { width: "380px" }
|
|
300
|
-
}, null, 8, ["modelValue"])
|
|
301
|
-
]),
|
|
302
|
-
_: 1
|
|
303
|
-
})
|
|
304
|
-
]),
|
|
305
|
-
_: 1
|
|
306
|
-
}, 8, ["model", "rules"])) : v("", !0),
|
|
307
|
-
p.value === "table" ? (u(), b(A, {
|
|
308
|
-
key: 1,
|
|
309
|
-
data: n.tableData,
|
|
310
|
-
height: "590",
|
|
311
|
-
size: "small"
|
|
312
|
-
}, {
|
|
313
|
-
default: t(() => [
|
|
314
|
-
l(s, {
|
|
315
|
-
label: "预警周期",
|
|
316
|
-
width: "80"
|
|
317
|
-
}, {
|
|
318
|
-
default: t((e) => [
|
|
319
|
-
r(d(e.row.freqName || "-"), 1)
|
|
320
|
-
]),
|
|
321
|
-
_: 1
|
|
322
|
-
}),
|
|
323
|
-
l(s, { label: "预警因子" }, {
|
|
324
|
-
default: t((e) => [
|
|
325
|
-
r(d(e.row.factorExtendName || "-"), 1)
|
|
326
|
-
]),
|
|
327
|
-
_: 1
|
|
328
|
-
}),
|
|
329
|
-
l(s, {
|
|
330
|
-
label: "预警次数",
|
|
331
|
-
width: "80"
|
|
332
|
-
}, {
|
|
333
|
-
default: t((e) => [
|
|
334
|
-
r(d(`${e.row.currentCount} / ${e.row.totalCount}`), 1)
|
|
335
|
-
]),
|
|
336
|
-
_: 1
|
|
337
|
-
}),
|
|
338
|
-
l(s, {
|
|
339
|
-
label: "状态",
|
|
340
|
-
width: "80"
|
|
341
|
-
}, {
|
|
342
|
-
default: t((e) => [
|
|
343
|
-
m("div", null, [
|
|
344
|
-
e.row.enable === 1 ? (u(), _("span", ve, "未触发")) : e.row.enable === 2 ? (u(), _("span", ye, "已触发")) : (u(), _("span", ke, "-"))
|
|
345
|
-
])
|
|
346
|
-
]),
|
|
347
|
-
_: 1
|
|
348
|
-
}),
|
|
349
|
-
l(s, { label: "设置时间" }, {
|
|
350
|
-
default: t((e) => [
|
|
351
|
-
r(d(e.row.createdTime || "-"), 1)
|
|
352
|
-
]),
|
|
353
|
-
_: 1
|
|
354
|
-
}),
|
|
355
|
-
l(s, { label: "备注" }, {
|
|
356
|
-
default: t((e) => [
|
|
357
|
-
r(d(e.row.mark || "-"), 1)
|
|
358
|
-
]),
|
|
359
|
-
_: 1
|
|
360
|
-
}),
|
|
361
|
-
n.allowOperation ? (u(), b(s, {
|
|
362
|
-
key: 0,
|
|
363
|
-
label: "操作",
|
|
364
|
-
width: "140"
|
|
365
|
-
}, {
|
|
366
|
-
default: t((e) => [
|
|
367
|
-
l(c, {
|
|
368
|
-
size: "small",
|
|
369
|
-
disabled: e.row.currentCount !== e.row.totalCount,
|
|
370
|
-
onClick: (f) => R(e.row)
|
|
345
|
+
o(m, {
|
|
346
|
+
label: "预警周期",
|
|
347
|
+
width: "80"
|
|
371
348
|
}, {
|
|
372
|
-
default: t(() => [
|
|
373
|
-
|
|
349
|
+
default: t((e) => [
|
|
350
|
+
n(p(e.row.freqName || "-"), 1)
|
|
351
|
+
]),
|
|
352
|
+
_: 1
|
|
353
|
+
}),
|
|
354
|
+
o(m, {
|
|
355
|
+
label: "交易类型",
|
|
356
|
+
width: "80"
|
|
357
|
+
}, {
|
|
358
|
+
default: t((e) => [
|
|
359
|
+
e.row.factorExtendValue == 1 ? (r(), c("span", xe, "多")) : (r(), c("span", Ce, "空"))
|
|
360
|
+
]),
|
|
361
|
+
_: 1
|
|
362
|
+
}),
|
|
363
|
+
o(m, { label: "预警因子" }, {
|
|
364
|
+
default: t((e) => [
|
|
365
|
+
n(p(e.row.factorExtendName || "-"), 1)
|
|
374
366
|
]),
|
|
375
|
-
_:
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
367
|
+
_: 1
|
|
368
|
+
}),
|
|
369
|
+
o(m, {
|
|
370
|
+
label: "预警次数",
|
|
371
|
+
width: "80"
|
|
380
372
|
}, {
|
|
381
|
-
|
|
382
|
-
|
|
373
|
+
default: t((e) => [
|
|
374
|
+
n(p(`${e.row.currentCount} / ${e.row.totalCount}`), 1)
|
|
375
|
+
]),
|
|
376
|
+
_: 1
|
|
377
|
+
}),
|
|
378
|
+
f(b).tableStatus ? (r(), i(m, {
|
|
379
|
+
key: 0,
|
|
380
|
+
label: "状态",
|
|
381
|
+
width: "80"
|
|
382
|
+
}, {
|
|
383
|
+
default: t((e) => [
|
|
384
|
+
_("div", null, [
|
|
385
|
+
e.row.enable === 1 ? (r(), c("span", Ee, "未触发")) : e.row.enable === 2 ? (r(), c("span", Ve, "已触发")) : (r(), c("span", he, "-"))
|
|
386
|
+
])
|
|
387
|
+
]),
|
|
388
|
+
_: 1
|
|
389
|
+
})) : d("", !0),
|
|
390
|
+
f(b).tableCreateTime ? (r(), i(m, {
|
|
391
|
+
key: 1,
|
|
392
|
+
label: "设置时间"
|
|
393
|
+
}, {
|
|
394
|
+
default: t((e) => [
|
|
395
|
+
n(p(e.row.createdTime || "-"), 1)
|
|
396
|
+
]),
|
|
397
|
+
_: 1
|
|
398
|
+
})) : d("", !0),
|
|
399
|
+
f(b).tableMark ? (r(), i(m, {
|
|
400
|
+
key: 2,
|
|
401
|
+
label: "备注"
|
|
402
|
+
}, {
|
|
403
|
+
default: t((e) => [
|
|
404
|
+
n(p(e.row.mark || "-"), 1)
|
|
405
|
+
]),
|
|
406
|
+
_: 1
|
|
407
|
+
})) : d("", !0),
|
|
408
|
+
u.allowOperation ? (r(), i(m, {
|
|
409
|
+
key: 3,
|
|
410
|
+
label: "操作",
|
|
411
|
+
width: "140"
|
|
412
|
+
}, {
|
|
413
|
+
default: t((e) => [
|
|
414
|
+
f(b).tableEnable ? (r(), i(v, {
|
|
415
|
+
key: 0,
|
|
416
|
+
disabled: e.row.currentCount !== e.row.totalCount,
|
|
417
|
+
size: "small",
|
|
418
|
+
onClick: (k) => R(e.row)
|
|
419
|
+
}, {
|
|
383
420
|
default: t(() => [
|
|
384
|
-
|
|
421
|
+
n(" 启用 ")
|
|
385
422
|
]),
|
|
386
|
-
_:
|
|
387
|
-
})
|
|
423
|
+
_: 2
|
|
424
|
+
}, 1032, ["disabled", "onClick"])) : d("", !0),
|
|
425
|
+
o(A, {
|
|
426
|
+
title: "确定删除?",
|
|
427
|
+
onConfirm: (k) => z(e.row)
|
|
428
|
+
}, {
|
|
429
|
+
reference: t(() => [
|
|
430
|
+
o(v, { size: "small" }, {
|
|
431
|
+
default: t(() => [
|
|
432
|
+
n("删除")
|
|
433
|
+
]),
|
|
434
|
+
_: 1
|
|
435
|
+
})
|
|
436
|
+
]),
|
|
437
|
+
_: 2
|
|
438
|
+
}, 1032, ["onConfirm"])
|
|
388
439
|
]),
|
|
389
|
-
_:
|
|
390
|
-
}
|
|
440
|
+
_: 1
|
|
441
|
+
})) : d("", !0)
|
|
391
442
|
]),
|
|
392
443
|
_: 1
|
|
393
|
-
})) :
|
|
444
|
+
}, 8, ["data"])) : d("", !0)
|
|
394
445
|
]),
|
|
395
446
|
_: 1
|
|
396
|
-
}, 8, ["
|
|
447
|
+
}, 8, ["modelValue"])
|
|
397
448
|
]),
|
|
398
449
|
_: 1
|
|
399
|
-
}, 8, ["
|
|
450
|
+
}, 8, ["locale"])
|
|
400
451
|
]);
|
|
401
452
|
};
|
|
402
453
|
}
|
|
403
|
-
},
|
|
404
|
-
install(
|
|
405
|
-
|
|
454
|
+
}, Se = /* @__PURE__ */ ye(Fe, [["__scopeId", "data-v-677b273f"]]), et = {
|
|
455
|
+
install(u) {
|
|
456
|
+
u.component("st-factorWarning", Se);
|
|
406
457
|
}
|
|
407
458
|
};
|
|
408
459
|
export {
|
|
409
|
-
|
|
460
|
+
et as default
|
|
410
461
|
};
|