st-comp 0.0.279 → 0.0.281
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.cjs +1 -1
- package/es/ChartLayout.js +13 -14
- package/es/CustomFunction.cjs +2 -2
- package/es/CustomFunction.js +377 -376
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +294 -294
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +19 -19
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +260 -260
- package/es/KlineConfig.cjs +1 -1
- package/es/KlineConfig.js +579 -553
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +17 -17
- package/es/KlinePlus.cjs +2 -2
- package/es/KlinePlus.js +23 -24
- package/es/MonacoEditor.cjs +1 -1
- package/es/MonacoEditor.js +30 -29
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +517 -425
- package/es/PasswordPrompt.cjs +1 -1
- package/es/PasswordPrompt.js +3 -3
- package/es/Table.cjs +1 -1
- package/es/Table.js +43 -43
- package/es/User.cjs +1 -1
- package/es/User.js +898 -866
- package/es/VarSelectDialog.cjs +3 -3
- package/es/VarSelectDialog.js +110 -109
- package/es/VarietyAiHelper.cjs +7 -7
- package/es/VarietyAiHelper.js +615 -464
- package/es/VarietyAutoComplete.cjs +1 -1
- package/es/VarietyAutoComplete.js +11 -11
- package/es/VarietySearch.cjs +18 -18
- package/es/VarietySearch.js +3079 -2913
- package/es/{VarietySelect-41daac7b.js → VarietySelect-3fc0f0ce.js} +5 -5
- package/es/{VarietySelect-d58eee29.cjs → VarietySelect-d2d25a3d.cjs} +1 -1
- package/es/VarietyTextCopy.cjs +3 -3
- package/es/VarietyTextCopy.js +51 -51
- package/es/VirtualTable.cjs +13 -1
- package/es/VirtualTable.js +1927 -2259
- package/es/_baseClone-f8e5d3ba.cjs +1 -0
- package/es/_baseClone-fb6a3947.js +210 -0
- package/es/base-d987e5c9.cjs +5 -0
- package/es/base-dd156b8e.js +790 -0
- package/es/{castArray-7741a212.js → castArray-18eb6a41.js} +1 -1
- package/es/{castArray-35947698.cjs → castArray-d9ffe84a.cjs} +1 -1
- package/es/clamp-17c4d8aa.cjs +1 -0
- package/es/clamp-c7512966.js +10 -0
- package/es/config-provider-06d8207f.js +86 -0
- package/es/config-provider-bb61bd3e.cjs +1 -0
- package/es/debounce-0a98a9c6.js +57 -0
- package/es/debounce-37b17615.cjs +1 -0
- package/es/dropdown-8fa21bfd.cjs +1 -0
- package/es/dropdown-bcf8d198.js +178 -0
- package/es/el-autocomplete-13b9e372.cjs +1 -0
- package/es/el-autocomplete-419bfbcf.js +434 -0
- package/es/el-button-ee9fe159.js +343 -0
- package/es/el-button-fac5e058.cjs +1 -0
- package/es/el-checkbox-6cf1a71c.cjs +1 -0
- package/es/el-checkbox-b5ac7f04.js +566 -0
- package/es/el-dialog-060b3735.js +252 -0
- package/es/el-dialog-54aebacd.cjs +1 -0
- package/es/el-divider-3f0320be.cjs +1 -0
- package/es/el-divider-c5d72961.js +51 -0
- package/es/el-empty-552baf04.js +159 -0
- package/es/el-empty-58bc2a10.cjs +1 -0
- package/es/el-form-item-2be6b683.js +1265 -0
- package/es/el-form-item-758dfefa.cjs +12 -0
- package/es/el-input-7fe53030.cjs +1 -0
- package/es/el-input-d23f5442.js +761 -0
- package/es/el-input-number-484fb184.js +390 -0
- package/es/el-input-number-f0f4eedb.cjs +1 -0
- package/es/el-loading-9d3e405c.js +190 -0
- package/es/el-loading-fafaaa7b.cjs +1 -0
- package/es/el-menu-item-0ac22681.js +824 -0
- package/es/el-menu-item-c91ae430.cjs +1 -0
- package/es/el-message-box-568a0aa6.js +481 -0
- package/es/el-message-box-ceacb54e.cjs +1 -0
- package/es/el-overlay-9f36e73c.cjs +1 -0
- package/es/el-overlay-cb5c85aa.js +444 -0
- package/es/el-popconfirm-4a8cd35c.cjs +1 -0
- package/es/el-popconfirm-6f8e65c8.js +190 -0
- package/es/el-popper-0454c8e8.js +2235 -0
- package/es/el-popper-acd0ff35.cjs +1 -0
- package/es/{el-scrollbar-323542e7.js → el-scrollbar-0a42c1d0.js} +4 -9
- package/es/{el-scrollbar-bc3f790d.cjs → el-scrollbar-225c6c9e.cjs} +1 -1
- package/es/el-segmented-64dc7258.js +168 -0
- package/es/el-segmented-eb3c8e65.cjs +1 -0
- package/es/el-select-a573c78b.js +1535 -0
- package/es/el-select-c317294a.cjs +1 -0
- package/es/el-table-column-1c443963.js +3651 -0
- package/es/el-table-column-f555115d.cjs +14 -0
- package/es/el-tag-2d8a3fe7.js +77 -0
- package/es/el-tag-dca1292c.cjs +1 -0
- package/es/el-text-649c986a.cjs +1 -0
- package/es/el-text-761e6717.js +84 -0
- package/es/index-11181b5f.cjs +1 -0
- package/es/index-21a3dc89.cjs +1 -0
- package/es/index-33e039e3.cjs +1 -0
- package/es/index-3806160e.js +710 -0
- package/es/{index-a9246d17.cjs → index-4614e8e9.cjs} +109 -109
- package/es/{index-44a382a5.js → index-53beef02.js} +12 -12
- package/es/index-5cada1ed.cjs +1 -0
- package/es/index-6a36e1fc.cjs +1 -0
- package/es/{index-eb96e074.js → index-6a52dc7c.js} +235 -236
- package/es/index-71ba4c28.cjs +1 -0
- package/es/index-78dab605.js +141 -0
- package/es/index-798fec2d.cjs +1 -0
- package/es/index-9573f74b.js +372 -0
- package/es/index-a181f161.js +429 -0
- package/es/{index-a33b2fb8.js → index-ab0ad219.js} +5090 -5090
- package/es/index-beb5cb7d.cjs +1 -0
- package/es/index-c09fc6f5.js +131 -0
- package/es/index-ceae4c47.cjs +1 -0
- package/es/index-d372e68f.cjs +5 -0
- package/es/index-d9379af4.js +413 -0
- package/es/index-dddacf80.js +47 -0
- package/es/index-de9ad85c.js +12 -0
- package/es/index-e2e58ea9.js +468 -0
- package/es/index-f5474dcc.cjs +3 -0
- package/es/{python-a3db9620.cjs → python-60e79979.cjs} +1 -1
- package/es/{python-8a1664e6.js → python-673bf8b8.js} +32 -31
- package/es/{raf-8249652f.cjs → raf-735cc598.cjs} +1 -1
- package/es/{raf-80ef0c0a.js → raf-b4fd1e12.js} +1 -1
- package/es/scroll-07bade1e.cjs +1 -0
- package/es/scroll-70271cb1.js +35 -0
- package/es/style.css +1 -1
- package/es/toNumber-b47ceb68.cjs +1 -0
- package/es/toNumber-f077c66a.js +31 -0
- package/es/use-form-item-76516e50.cjs +2 -0
- package/es/use-form-item-784142b4.js +422 -0
- package/es/use-global-config-7ff9a1c2.cjs +1 -0
- package/es/use-global-config-9a4ccf33.js +71 -0
- package/es/validator-1926345b.cjs +1 -0
- package/es/{validator-c60a8956.js → validator-a66ec4f8.js} +1 -1
- package/es/vnode-6f7b84f0.cjs +1 -0
- package/es/vnode-8ee9bf4e.js +12 -0
- package/es/{zh-cn-b59a0910.js → zh-cn-51c2e528.js} +36 -33
- package/es/zh-cn-ad12d9f5.cjs +1 -0
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +265 -246
- package/lib/{index-62fa175a.js → index-7282d3be.js} +52335 -50156
- package/lib/{python-4a48fa39.js → python-418be57d.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/es/_initCloneObject-5e73c9c8.js +0 -81
- package/es/_initCloneObject-a5832933.cjs +0 -1
- package/es/base-a5af3db3.js +0 -288
- package/es/base-ef747d02.cjs +0 -5
- package/es/config-provider-06ea6b42.cjs +0 -1
- package/es/config-provider-88b637a8.js +0 -59
- package/es/dayjs.min-2c20abe6.cjs +0 -1
- package/es/dayjs.min-8313b006.js +0 -299
- package/es/debounce-62f5b6e8.cjs +0 -1
- package/es/debounce-8d53f4dd.js +0 -83
- package/es/dropdown-4ce4c3e2.cjs +0 -1
- package/es/dropdown-72fbc15d.js +0 -178
- package/es/el-autocomplete-6cafcdf1.js +0 -329
- package/es/el-autocomplete-e0857c5b.cjs +0 -1
- package/es/el-button-613e0bb2.cjs +0 -1
- package/es/el-button-94d3de38.js +0 -272
- package/es/el-checkbox-6d4cb393.js +0 -459
- package/es/el-checkbox-e90762df.cjs +0 -1
- package/es/el-dialog-02942e22.cjs +0 -1
- package/es/el-dialog-5e30161f.js +0 -276
- package/es/el-divider-4713d74c.cjs +0 -1
- package/es/el-divider-4e059794.js +0 -45
- package/es/el-empty-1697ded8.cjs +0 -1
- package/es/el-empty-33cb66f1.js +0 -183
- package/es/el-form-item-44f060d8.cjs +0 -12
- package/es/el-form-item-9e8969ea.js +0 -1269
- package/es/el-input-342b2def.js +0 -531
- package/es/el-input-9a9a7f7f.cjs +0 -1
- package/es/el-input-number-65c847d6.cjs +0 -1
- package/es/el-input-number-c22b803a.js +0 -311
- package/es/el-loading-8179b497.cjs +0 -1
- package/es/el-loading-bcc51e3d.js +0 -203
- package/es/el-menu-item-339baf6d.js +0 -768
- package/es/el-menu-item-83186444.cjs +0 -1
- package/es/el-message-box-035b699c.js +0 -489
- package/es/el-message-box-c62d3217.cjs +0 -1
- package/es/el-overlay-3e17604b.js +0 -324
- package/es/el-overlay-8f1da9e8.cjs +0 -1
- package/es/el-popconfirm-4e32ec1b.cjs +0 -1
- package/es/el-popconfirm-f8a86e2c.js +0 -162
- package/es/el-popper-a4f3ae4d.cjs +0 -1
- package/es/el-popper-fbd0dcea.js +0 -2094
- package/es/el-segmented-56bd58a8.js +0 -142
- package/es/el-segmented-833ac177.cjs +0 -1
- package/es/el-select-44fa547d.js +0 -1256
- package/es/el-select-70806166.cjs +0 -1
- package/es/el-table-column-3e2cdfca.cjs +0 -14
- package/es/el-table-column-b74a857d.js +0 -3432
- package/es/el-tag-66c83156.js +0 -117
- package/es/el-tag-9c2f329f.cjs +0 -1
- package/es/el-text-034bd3f4.js +0 -67
- package/es/el-text-6b2374bb.cjs +0 -1
- package/es/index-00f6ca75.cjs +0 -1
- package/es/index-185792a7.cjs +0 -1
- package/es/index-1e2a38ab.js +0 -113
- package/es/index-2e331d74.js +0 -10
- package/es/index-3153c1db.cjs +0 -1
- package/es/index-5216d5f5.js +0 -406
- package/es/index-5c0dd943.cjs +0 -1
- package/es/index-657047bb.js +0 -513
- package/es/index-870b6c9d.cjs +0 -1
- package/es/index-8c2d7e05.js +0 -368
- package/es/index-960806da.js +0 -314
- package/es/index-9780a537.cjs +0 -1
- package/es/index-9d16cea8.cjs +0 -1
- package/es/index-ac8dc53d.cjs +0 -1
- package/es/index-bb833443.cjs +0 -1
- package/es/index-c5f2d372.js +0 -326
- package/es/index-c6584658.js +0 -163
- package/es/index-d77a7336.js +0 -204
- package/es/index-eea0bcb3.cjs +0 -1
- package/es/index-f034b910.js +0 -60
- package/es/index-f1c702f6.cjs +0 -1
- package/es/index-f58b2920.cjs +0 -1
- package/es/scroll-679bd6bf.js +0 -35
- package/es/scroll-b108dabd.cjs +0 -1
- package/es/use-form-common-props-ac666630.cjs +0 -1
- package/es/use-form-common-props-ed72e914.js +0 -364
- package/es/use-global-config-23472471.cjs +0 -1
- package/es/use-global-config-ee406d58.js +0 -72
- package/es/validator-366dbf39.cjs +0 -1
- package/es/vnode-5ddb7ed1.js +0 -14
- package/es/vnode-b906ae6d.cjs +0 -1
- package/es/zh-cn-c21d12d8.cjs +0 -1
package/es/FactorWarning.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import { E as ue } from "./el-
|
|
4
|
-
import "./el-
|
|
5
|
-
import "./
|
|
1
|
+
import { i as I, E as ae } from "./index-6a52dc7c.js";
|
|
2
|
+
import { a as re, E as ne } from "./el-form-item-2be6b683.js";
|
|
3
|
+
import { E as ue } from "./el-popper-0454c8e8.js";
|
|
4
|
+
import { E as se } from "./el-input-d23f5442.js";
|
|
5
|
+
import { z as ie, E as de } from "./zh-cn-51c2e528.js";
|
|
6
|
+
import { E as me } from "./el-button-ee9fe159.js";
|
|
7
|
+
import { E as ce } from "./index-c09fc6f5.js";
|
|
8
|
+
import { E as fe, a as pe } from "./el-checkbox-b5ac7f04.js";
|
|
9
|
+
import { E as ye } from "./el-dialog-060b3735.js";
|
|
10
|
+
import { E as ve } from "./el-input-number-484fb184.js";
|
|
11
|
+
import { E as be } from "./el-popconfirm-6f8e65c8.js";
|
|
12
|
+
import { E as ge, a as ke } from "./el-table-column-1c443963.js";
|
|
13
|
+
import { E as _e } from "./el-text-761e6717.js";
|
|
14
|
+
import { E as Ce } from "./el-segmented-64dc7258.js";
|
|
15
|
+
import { E as Te } from "./el-message-box-568a0aa6.js";
|
|
16
|
+
import "./base-dd156b8e.js";
|
|
17
|
+
import "./el-overlay-cb5c85aa.js";
|
|
18
|
+
import "./el-tag-2d8a3fe7.js";
|
|
6
19
|
import "./el-tooltip-4ed993c7.js";
|
|
7
|
-
import
|
|
8
|
-
import { E as ie, a as ce } from "./el-table-column-b74a857d.js";
|
|
9
|
-
import { E as de, a as me } from "./el-checkbox-6d4cb393.js";
|
|
10
|
-
import "./el-scrollbar-323542e7.js";
|
|
11
|
-
import { E as fe } from "./el-popconfirm-f8a86e2c.js";
|
|
20
|
+
import "./el-scrollbar-0a42c1d0.js";
|
|
12
21
|
import "./el-popover-4ed993c7.js";
|
|
13
|
-
import { E as pe } from "./el-button-94d3de38.js";
|
|
14
|
-
import { a as ye, E as ve } from "./el-form-item-9e8969ea.js";
|
|
15
|
-
import { E as _e } from "./el-input-342b2def.js";
|
|
16
|
-
import { E as be } from "./el-text-034bd3f4.js";
|
|
17
|
-
import { E as he } from "./el-input-number-c22b803a.js";
|
|
18
22
|
import "./el-checkbox-group-4ed993c7.js";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import "./
|
|
27
|
-
import "./
|
|
28
|
-
import "./
|
|
29
|
-
import "./index-
|
|
30
|
-
import "./index-d77a7336.js";
|
|
31
|
-
import "./index-8c2d7e05.js";
|
|
32
|
-
import "./index-2e331d74.js";
|
|
33
|
-
import "./vnode-5ddb7ed1.js";
|
|
34
|
-
import "./scroll-679bd6bf.js";
|
|
35
|
-
import "./index-c5f2d372.js";
|
|
36
|
-
import "./_initCloneObject-5e73c9c8.js";
|
|
37
|
-
import "./castArray-7741a212.js";
|
|
38
|
-
import "./debounce-8d53f4dd.js";
|
|
39
|
-
import "./raf-80ef0c0a.js";
|
|
40
|
-
import "./index-657047bb.js";
|
|
23
|
+
import { mergeModels as j, ref as w, useModel as xe, watch as he, openBlock as a, createElementBlock as m, createVNode as o, unref as C, withCtx as l, createElementVNode as c, normalizeClass as we, toDisplayString as T, createTextVNode as f, createBlock as p, createCommentVNode as y, Fragment as S, renderList as N } from "vue";
|
|
24
|
+
import { j as Se } from "./index-53cc4e43.js";
|
|
25
|
+
import { _ as Ee } from "./_plugin-vue_export-helper-dad06003.js";
|
|
26
|
+
import "./use-global-config-9a4ccf33.js";
|
|
27
|
+
import "./index-a181f161.js";
|
|
28
|
+
import "./use-form-item-784142b4.js";
|
|
29
|
+
import "./index-9573f74b.js";
|
|
30
|
+
import "./castArray-18eb6a41.js";
|
|
31
|
+
import "./_baseClone-fb6a3947.js";
|
|
32
|
+
import "./raf-b4fd1e12.js";
|
|
33
|
+
import "./index-dddacf80.js";
|
|
41
34
|
import "./typescript-7ae59c4c.js";
|
|
42
|
-
import "./
|
|
43
|
-
import "./
|
|
44
|
-
|
|
35
|
+
import "./config-provider-06d8207f.js";
|
|
36
|
+
import "./index-de9ad85c.js";
|
|
37
|
+
import "./index-3806160e.js";
|
|
38
|
+
import "./clamp-c7512966.js";
|
|
39
|
+
import "./toNumber-f077c66a.js";
|
|
40
|
+
import "./index-d9379af4.js";
|
|
41
|
+
import "./debounce-0a98a9c6.js";
|
|
42
|
+
import "./validator-a66ec4f8.js";
|
|
43
|
+
import "./scroll-70271cb1.js";
|
|
44
|
+
const Ve = {
|
|
45
45
|
// 表单字段
|
|
46
46
|
ruleFormPrice: !0,
|
|
47
47
|
// 价格范围
|
|
@@ -57,19 +57,19 @@ const Le = {
|
|
|
57
57
|
tableEnable: !0
|
|
58
58
|
// 启用按钮
|
|
59
59
|
};
|
|
60
|
-
const
|
|
60
|
+
const Ne = { class: "st-factorWarning" }, Fe = { class: "custom-header" }, Le = { class: "factor-name" }, Oe = ["onClick"], De = { class: "factor-name" }, Pe = ["onClick"], $e = { style: { display: "flex", "align-items": "start" } }, ze = {
|
|
61
61
|
key: 0,
|
|
62
62
|
style: { flex: "1" }
|
|
63
|
-
},
|
|
63
|
+
}, Me = {
|
|
64
64
|
key: 0,
|
|
65
65
|
style: { color: "#f56c6c" }
|
|
66
|
-
},
|
|
66
|
+
}, Ue = {
|
|
67
67
|
key: 1,
|
|
68
68
|
style: { color: "#67c23a" }
|
|
69
|
-
},
|
|
69
|
+
}, Be = { key: 0 }, qe = { key: 1 }, Ae = { key: 2 }, Ie = { class: "shortcut-title" }, je = { class: "shortcut-config" }, Re = {
|
|
70
70
|
key: 1,
|
|
71
71
|
class: "empty"
|
|
72
|
-
},
|
|
72
|
+
}, Je = { class: "shortcut-title" }, We = { class: "custom-footer" }, Ge = {
|
|
73
73
|
__name: "index",
|
|
74
74
|
props: /* @__PURE__ */ j({
|
|
75
75
|
// 弹窗名称
|
|
@@ -90,24 +90,24 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
|
|
|
90
90
|
visibleModifiers: {}
|
|
91
91
|
}),
|
|
92
92
|
emits: /* @__PURE__ */ j(["add", "delete", "enabled", "closed", "shortcutAdd", "shortcutDelete"], ["update:visible"]),
|
|
93
|
-
setup(
|
|
94
|
-
const
|
|
93
|
+
setup(i, { emit: R }) {
|
|
94
|
+
const x = w("ruleForm"), F = xe(i, "visible"), E = R, L = i, V = Object.assign(Ve, L.showConfig), O = w(null), r = w({
|
|
95
95
|
factorType: 1,
|
|
96
96
|
factorSelectedList: [],
|
|
97
97
|
totalCount: 1,
|
|
98
98
|
minPrice: null,
|
|
99
99
|
maxPrice: null,
|
|
100
100
|
mark: null
|
|
101
|
-
}),
|
|
101
|
+
}), J = w({
|
|
102
102
|
factorType: [{ required: !0, message: "请选择交易类型", trigger: "blur" }],
|
|
103
103
|
factorSelectedList: [{ required: !0, message: "请选择预警因子", trigger: "blur" }],
|
|
104
104
|
totalCount: [{ required: !0, message: "请填写预警次数", trigger: "blur" }]
|
|
105
|
-
}),
|
|
105
|
+
}), z = w(null), n = w({
|
|
106
106
|
shortcutName: null,
|
|
107
107
|
factorType: 1,
|
|
108
108
|
factorSelectedList: [],
|
|
109
109
|
totalCount: 1
|
|
110
|
-
}),
|
|
110
|
+
}), W = w({
|
|
111
111
|
factorType: [{ required: !0, message: "请选择交易类型", trigger: "blur" }],
|
|
112
112
|
factorSelectedList: [{ required: !0, message: "请选择预警因子", trigger: "blur" }],
|
|
113
113
|
totalCount: [{ required: !0, message: "请填写预警次数", trigger: "blur" }],
|
|
@@ -120,255 +120,255 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
|
|
|
120
120
|
minPrice: null,
|
|
121
121
|
maxPrice: null,
|
|
122
122
|
mark: null
|
|
123
|
-
},
|
|
123
|
+
}, n.value = {
|
|
124
124
|
shortcutName: null,
|
|
125
125
|
factorType: 1,
|
|
126
126
|
factorSelectedList: [],
|
|
127
127
|
totalCount: 1
|
|
128
128
|
};
|
|
129
|
-
},
|
|
129
|
+
}, M = async (d) => {
|
|
130
130
|
Object.assign(r.value, {
|
|
131
|
-
factorSelectedList: [
|
|
131
|
+
factorSelectedList: [d],
|
|
132
132
|
totalCount: 3
|
|
133
133
|
});
|
|
134
|
-
const
|
|
135
|
-
factorSelectedList: r.value.factorSelectedList.map((
|
|
136
|
-
let
|
|
137
|
-
const v = L.tableData.find(({ factorExtendName:
|
|
134
|
+
const e = {
|
|
135
|
+
factorSelectedList: r.value.factorSelectedList.map((u) => {
|
|
136
|
+
let s = 3;
|
|
137
|
+
const v = L.tableData.find(({ factorExtendName: g }) => g === u);
|
|
138
138
|
if (v) {
|
|
139
|
-
const
|
|
140
|
-
|
|
139
|
+
const g = v.totalCount - v.currentCount;
|
|
140
|
+
g === 0 ? s = 3 : s = Math.min(3, 12 - g >= 0 ? 12 - g : 0);
|
|
141
141
|
}
|
|
142
142
|
return {
|
|
143
|
-
factorName:
|
|
143
|
+
factorName: u,
|
|
144
144
|
...r.value,
|
|
145
|
-
totalCount:
|
|
145
|
+
totalCount: s
|
|
146
146
|
};
|
|
147
147
|
})
|
|
148
|
-
},
|
|
149
|
-
const
|
|
150
|
-
D(), r.value.factorType =
|
|
148
|
+
}, k = () => {
|
|
149
|
+
const u = r.value.factorType;
|
|
150
|
+
D(), r.value.factorType = u;
|
|
151
151
|
};
|
|
152
|
-
|
|
153
|
-
},
|
|
154
|
-
const
|
|
152
|
+
P(O.value, e, k);
|
|
153
|
+
}, G = async (d) => {
|
|
154
|
+
const e = JSON.parse(d.data);
|
|
155
155
|
Object.assign(r.value, {
|
|
156
|
-
factorType:
|
|
157
|
-
factorSelectedList:
|
|
158
|
-
totalCount:
|
|
156
|
+
factorType: e.factorType,
|
|
157
|
+
factorSelectedList: e.factorSelectedList,
|
|
158
|
+
totalCount: e.totalCount
|
|
159
159
|
});
|
|
160
|
-
const
|
|
160
|
+
const k = {
|
|
161
161
|
// 通过快捷进行添加的因子, 具备有效次数上限10的校验
|
|
162
|
-
factorSelectedList: r.value.factorSelectedList.map((
|
|
163
|
-
let v =
|
|
164
|
-
const
|
|
165
|
-
if (
|
|
166
|
-
const
|
|
167
|
-
|
|
162
|
+
factorSelectedList: r.value.factorSelectedList.map((s) => {
|
|
163
|
+
let v = e.totalCount;
|
|
164
|
+
const g = L.tableData.find(({ factorExtendName: _ }) => _ === s);
|
|
165
|
+
if (g) {
|
|
166
|
+
const _ = g.totalCount - g.currentCount;
|
|
167
|
+
_ === 0 ? v = e.totalCount : v = Math.min(e.totalCount, 10 - _ >= 0 ? 10 - _ : 0);
|
|
168
168
|
}
|
|
169
169
|
return {
|
|
170
|
-
factorName:
|
|
170
|
+
factorName: s,
|
|
171
171
|
...r.value,
|
|
172
172
|
totalCount: v
|
|
173
173
|
};
|
|
174
174
|
})
|
|
175
|
-
},
|
|
176
|
-
|
|
177
|
-
},
|
|
178
|
-
|
|
179
|
-
if (!
|
|
175
|
+
}, u = () => D();
|
|
176
|
+
P(O.value, k, u);
|
|
177
|
+
}, P = Se(async (d, e, k) => {
|
|
178
|
+
d && await d.validate((u) => {
|
|
179
|
+
if (!u)
|
|
180
180
|
return !1;
|
|
181
|
-
const
|
|
181
|
+
const s = e ?? {
|
|
182
182
|
factorSelectedList: r.value.factorSelectedList.map((v) => ({
|
|
183
183
|
factorName: v,
|
|
184
184
|
...r.value
|
|
185
185
|
}))
|
|
186
186
|
};
|
|
187
|
-
E("add",
|
|
187
|
+
E("add", s), k ? k() : F.value = !1;
|
|
188
188
|
});
|
|
189
|
-
}, 200),
|
|
190
|
-
|
|
191
|
-
if (!
|
|
189
|
+
}, 200), H = async (d) => {
|
|
190
|
+
d && await d.validate((e) => {
|
|
191
|
+
if (!e)
|
|
192
192
|
return !1;
|
|
193
|
-
const
|
|
194
|
-
shortcutName:
|
|
195
|
-
data: JSON.stringify(
|
|
193
|
+
const k = {
|
|
194
|
+
shortcutName: n.value.shortcutName,
|
|
195
|
+
data: JSON.stringify(n.value)
|
|
196
196
|
};
|
|
197
|
-
E("shortcutAdd",
|
|
197
|
+
E("shortcutAdd", k), D();
|
|
198
198
|
});
|
|
199
|
-
},
|
|
200
|
-
|
|
201
|
-
},
|
|
202
|
-
|
|
199
|
+
}, K = (d) => {
|
|
200
|
+
n.value = JSON.parse(d.data);
|
|
201
|
+
}, Q = (d) => {
|
|
202
|
+
Te.confirm(`是否确认删除配置: ${d.shortcutName} ?`, "删除提示", {
|
|
203
203
|
confirmButtonText: "确认",
|
|
204
204
|
cancelButtonText: "取消",
|
|
205
205
|
type: "warning"
|
|
206
|
-
}).then(() => E("shortcutDelete",
|
|
206
|
+
}).then(() => E("shortcutDelete", d));
|
|
207
207
|
};
|
|
208
|
-
return
|
|
208
|
+
return he(
|
|
209
209
|
() => F.value,
|
|
210
|
-
(
|
|
211
|
-
|
|
210
|
+
(d) => {
|
|
211
|
+
d && (x.value = L.allowOperation ? "ruleForm" : "table", D());
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
214
|
immediate: !0
|
|
215
215
|
}
|
|
216
|
-
), (
|
|
217
|
-
const
|
|
218
|
-
return
|
|
219
|
-
|
|
216
|
+
), (d, e) => {
|
|
217
|
+
const k = Ce, u = me, s = re, v = fe, g = pe, _ = ve, X = _e, U = se, B = ne, h = ge, Y = be, Z = ke, q = ae, A = ue, ee = ce, te = ye, le = de;
|
|
218
|
+
return a(), m("div", Ne, [
|
|
219
|
+
o(le, { locale: C(ie) }, {
|
|
220
220
|
default: l(() => [
|
|
221
|
-
|
|
221
|
+
o(te, {
|
|
222
222
|
modelValue: F.value,
|
|
223
|
-
"onUpdate:modelValue":
|
|
223
|
+
"onUpdate:modelValue": e[17] || (e[17] = (t) => F.value = t),
|
|
224
224
|
width: "1020",
|
|
225
225
|
"align-center": "",
|
|
226
226
|
"destroy-on-close": "",
|
|
227
|
-
onClosed:
|
|
227
|
+
onClosed: e[18] || (e[18] = (t) => E("closed"))
|
|
228
228
|
}, {
|
|
229
|
-
header: l(({ close:
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
class:
|
|
229
|
+
header: l(({ close: t, titleId: b, titleClass: $ }) => [
|
|
230
|
+
c("div", Fe, [
|
|
231
|
+
c("div", {
|
|
232
|
+
class: we($)
|
|
233
233
|
}, [
|
|
234
|
-
|
|
235
|
-
|
|
234
|
+
e[19] || (e[19] = c("span", { style: { "margin-right": "4px" } }, "因子预警", -1)),
|
|
235
|
+
c("span", null, T(i.title), 1)
|
|
236
236
|
], 2),
|
|
237
|
-
|
|
238
|
-
modelValue:
|
|
239
|
-
"onUpdate:modelValue":
|
|
237
|
+
o(k, {
|
|
238
|
+
modelValue: x.value,
|
|
239
|
+
"onUpdate:modelValue": e[0] || (e[0] = (oe) => x.value = oe),
|
|
240
240
|
size: "default",
|
|
241
241
|
options: [
|
|
242
|
-
{ label: "添加", value: "ruleForm", disabled: !
|
|
242
|
+
{ label: "添加", value: "ruleForm", disabled: !i.allowOperation },
|
|
243
243
|
{ label: "管理", value: "table", disabled: !1 },
|
|
244
|
-
{ label: "快捷配置", value: "shortcut", disabled: !
|
|
244
|
+
{ label: "快捷配置", value: "shortcut", disabled: !i.allowOperation }
|
|
245
245
|
]
|
|
246
246
|
}, null, 8, ["modelValue", "options"])
|
|
247
247
|
])
|
|
248
248
|
]),
|
|
249
249
|
footer: l(() => [
|
|
250
|
-
|
|
251
|
-
|
|
250
|
+
c("div", We, [
|
|
251
|
+
o(u, {
|
|
252
252
|
size: "default",
|
|
253
|
-
onClick:
|
|
253
|
+
onClick: e[14] || (e[14] = (t) => F.value = !1)
|
|
254
254
|
}, {
|
|
255
|
-
default: l(() => [
|
|
256
|
-
|
|
257
|
-
]),
|
|
255
|
+
default: l(() => [...e[30] || (e[30] = [
|
|
256
|
+
f("关闭", -1)
|
|
257
|
+
])]),
|
|
258
258
|
_: 1
|
|
259
259
|
}),
|
|
260
|
-
|
|
260
|
+
x.value === "ruleForm" ? (a(), p(u, {
|
|
261
261
|
key: 0,
|
|
262
262
|
size: "default",
|
|
263
263
|
type: "primary",
|
|
264
|
-
onClick:
|
|
264
|
+
onClick: e[15] || (e[15] = (t) => C(P)(O.value))
|
|
265
265
|
}, {
|
|
266
|
-
default: l(() => [
|
|
267
|
-
|
|
268
|
-
]),
|
|
266
|
+
default: l(() => [...e[31] || (e[31] = [
|
|
267
|
+
f(" 确认 ", -1)
|
|
268
|
+
])]),
|
|
269
269
|
_: 1
|
|
270
270
|
})) : y("", !0),
|
|
271
|
-
|
|
271
|
+
x.value === "shortcut" ? (a(), p(u, {
|
|
272
272
|
key: 1,
|
|
273
273
|
size: "default",
|
|
274
274
|
type: "primary",
|
|
275
|
-
onClick:
|
|
275
|
+
onClick: e[16] || (e[16] = (t) => H(z.value))
|
|
276
276
|
}, {
|
|
277
|
-
default: l(() => [
|
|
278
|
-
|
|
279
|
-
]),
|
|
277
|
+
default: l(() => [...e[32] || (e[32] = [
|
|
278
|
+
f(" 保存配置 ", -1)
|
|
279
|
+
])]),
|
|
280
280
|
_: 1
|
|
281
281
|
})) : y("", !0)
|
|
282
282
|
])
|
|
283
283
|
]),
|
|
284
284
|
default: l(() => [
|
|
285
|
-
|
|
285
|
+
x.value === "ruleForm" ? (a(), p(B, {
|
|
286
286
|
key: 0,
|
|
287
287
|
ref_key: "ruleFormRef",
|
|
288
288
|
ref: O,
|
|
289
289
|
model: r.value,
|
|
290
|
-
rules:
|
|
290
|
+
rules: J.value,
|
|
291
291
|
size: "default",
|
|
292
292
|
"label-width": "90px"
|
|
293
293
|
}, {
|
|
294
294
|
default: l(() => [
|
|
295
|
-
|
|
295
|
+
o(s, {
|
|
296
296
|
label: "交易类型:",
|
|
297
297
|
prop: "factorType"
|
|
298
298
|
}, {
|
|
299
299
|
default: l(() => [
|
|
300
|
-
|
|
300
|
+
o(u, {
|
|
301
301
|
type: "danger",
|
|
302
302
|
plain: r.value.factorType !== 1,
|
|
303
|
-
onClick:
|
|
303
|
+
onClick: e[1] || (e[1] = () => {
|
|
304
304
|
r.value.factorType === -1 && (r.value.factorSelectedList = []), r.value.factorType = 1;
|
|
305
305
|
})
|
|
306
306
|
}, {
|
|
307
|
-
default: l(() => [
|
|
308
|
-
|
|
309
|
-
]),
|
|
307
|
+
default: l(() => [...e[20] || (e[20] = [
|
|
308
|
+
f(" 多 ", -1)
|
|
309
|
+
])]),
|
|
310
310
|
_: 1
|
|
311
311
|
}, 8, ["plain"]),
|
|
312
|
-
|
|
312
|
+
o(u, {
|
|
313
313
|
type: "success",
|
|
314
314
|
plain: r.value.factorType !== -1,
|
|
315
|
-
onClick:
|
|
315
|
+
onClick: e[2] || (e[2] = () => {
|
|
316
316
|
r.value.factorType === 1 && (r.value.factorSelectedList = []), r.value.factorType = -1;
|
|
317
317
|
})
|
|
318
318
|
}, {
|
|
319
|
-
default: l(() => [
|
|
320
|
-
|
|
321
|
-
]),
|
|
319
|
+
default: l(() => [...e[21] || (e[21] = [
|
|
320
|
+
f(" 空 ", -1)
|
|
321
|
+
])]),
|
|
322
322
|
_: 1
|
|
323
323
|
}, 8, ["plain"])
|
|
324
324
|
]),
|
|
325
325
|
_: 1
|
|
326
326
|
}),
|
|
327
|
-
|
|
327
|
+
o(s, {
|
|
328
328
|
label: "预警因子:",
|
|
329
329
|
prop: "factorSelectedList"
|
|
330
330
|
}, {
|
|
331
331
|
default: l(() => [
|
|
332
|
-
|
|
332
|
+
o(g, {
|
|
333
333
|
modelValue: r.value.factorSelectedList,
|
|
334
|
-
"onUpdate:modelValue":
|
|
334
|
+
"onUpdate:modelValue": e[3] || (e[3] = (t) => r.value.factorSelectedList = t)
|
|
335
335
|
}, {
|
|
336
336
|
default: l(() => [
|
|
337
|
-
r.value.factorType === 1 ? (
|
|
337
|
+
r.value.factorType === 1 ? (a(!0), m(S, { key: 0 }, N(i.moreFactorOptions, (t, b) => (a(), m("div", {
|
|
338
338
|
class: "factor-checkbox",
|
|
339
|
-
key:
|
|
339
|
+
key: b
|
|
340
340
|
}, [
|
|
341
|
-
|
|
342
|
-
label:
|
|
343
|
-
value:
|
|
341
|
+
o(v, {
|
|
342
|
+
label: t.factorTypeName,
|
|
343
|
+
value: t.factorTypeName
|
|
344
344
|
}, {
|
|
345
345
|
default: l(() => [
|
|
346
|
-
|
|
346
|
+
c("span", Le, T(t.factorTypeName), 1)
|
|
347
347
|
]),
|
|
348
348
|
_: 2
|
|
349
349
|
}, 1032, ["label", "value"]),
|
|
350
|
-
|
|
350
|
+
c("span", {
|
|
351
351
|
class: "tag-button",
|
|
352
|
-
onClick: (
|
|
353
|
-
}, "+3", 8,
|
|
352
|
+
onClick: ($) => M(t.factorTypeName)
|
|
353
|
+
}, "+3", 8, Oe)
|
|
354
354
|
]))), 128)) : y("", !0),
|
|
355
|
-
r.value.factorType === -1 ? (
|
|
355
|
+
r.value.factorType === -1 ? (a(!0), m(S, { key: 1 }, N(i.emptyFactorOptions, (t, b) => (a(), m("div", {
|
|
356
356
|
class: "factor-checkbox",
|
|
357
|
-
key:
|
|
357
|
+
key: b
|
|
358
358
|
}, [
|
|
359
|
-
|
|
360
|
-
label:
|
|
361
|
-
value:
|
|
359
|
+
o(v, {
|
|
360
|
+
label: t.factorTypeName,
|
|
361
|
+
value: t.factorTypeName
|
|
362
362
|
}, {
|
|
363
363
|
default: l(() => [
|
|
364
|
-
|
|
364
|
+
c("span", De, T(t.factorTypeName), 1)
|
|
365
365
|
]),
|
|
366
366
|
_: 2
|
|
367
367
|
}, 1032, ["label", "value"]),
|
|
368
|
-
|
|
368
|
+
c("span", {
|
|
369
369
|
class: "tag-button",
|
|
370
|
-
onClick: (
|
|
371
|
-
}, "+3", 8,
|
|
370
|
+
onClick: ($) => M(t.factorTypeName)
|
|
371
|
+
}, "+3", 8, Pe)
|
|
372
372
|
]))), 128)) : y("", !0)
|
|
373
373
|
]),
|
|
374
374
|
_: 1
|
|
@@ -376,62 +376,62 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
|
|
|
376
376
|
]),
|
|
377
377
|
_: 1
|
|
378
378
|
}),
|
|
379
|
-
|
|
379
|
+
o(s, {
|
|
380
380
|
label: "预警次数:",
|
|
381
381
|
prop: "totalCount"
|
|
382
382
|
}, {
|
|
383
383
|
default: l(() => [
|
|
384
|
-
|
|
385
|
-
|
|
384
|
+
c("div", $e, [
|
|
385
|
+
o(_, {
|
|
386
386
|
modelValue: r.value.totalCount,
|
|
387
|
-
"onUpdate:modelValue":
|
|
387
|
+
"onUpdate:modelValue": e[4] || (e[4] = (t) => r.value.totalCount = t),
|
|
388
388
|
min: 1,
|
|
389
389
|
"controls-position": "right",
|
|
390
390
|
style: { "margin-right": "20px" }
|
|
391
391
|
}, null, 8, ["modelValue"]),
|
|
392
|
-
|
|
393
|
-
(
|
|
394
|
-
key:
|
|
395
|
-
onClick: (
|
|
392
|
+
i.shortcutData.length ? (a(), m("div", ze, [
|
|
393
|
+
(a(!0), m(S, null, N(i.shortcutData, (t) => (a(), p(u, {
|
|
394
|
+
key: t.id,
|
|
395
|
+
onClick: (b) => G(t),
|
|
396
396
|
style: { margin: "0 12px 4px 0" }
|
|
397
397
|
}, {
|
|
398
398
|
default: l(() => [
|
|
399
|
-
|
|
399
|
+
f(T(t.shortcutName), 1)
|
|
400
400
|
]),
|
|
401
401
|
_: 2
|
|
402
402
|
}, 1032, ["onClick"]))), 128))
|
|
403
|
-
])) : (
|
|
403
|
+
])) : (a(), p(X, {
|
|
404
404
|
key: 1,
|
|
405
405
|
type: "primary",
|
|
406
406
|
style: { cursor: "pointer" },
|
|
407
|
-
onClick:
|
|
407
|
+
onClick: e[5] || (e[5] = () => x.value = "shortcut")
|
|
408
408
|
}, {
|
|
409
|
-
default: l(() => [
|
|
410
|
-
|
|
411
|
-
]),
|
|
409
|
+
default: l(() => [...e[22] || (e[22] = [
|
|
410
|
+
f(" 暂无快捷配置, 是否点击前往自定义配置? ", -1)
|
|
411
|
+
])]),
|
|
412
412
|
_: 1
|
|
413
413
|
}))
|
|
414
414
|
])
|
|
415
415
|
]),
|
|
416
416
|
_: 1
|
|
417
417
|
}),
|
|
418
|
-
|
|
418
|
+
C(V).ruleFormPrice ? (a(), p(s, {
|
|
419
419
|
key: 0,
|
|
420
420
|
label: "价格范围:"
|
|
421
421
|
}, {
|
|
422
422
|
default: l(() => [
|
|
423
|
-
|
|
423
|
+
o(_, {
|
|
424
424
|
modelValue: r.value.minPrice,
|
|
425
|
-
"onUpdate:modelValue":
|
|
425
|
+
"onUpdate:modelValue": e[6] || (e[6] = (t) => r.value.minPrice = t),
|
|
426
426
|
min: -999,
|
|
427
427
|
placeholder: "请输入",
|
|
428
428
|
max: 999,
|
|
429
429
|
"controls-position": "right"
|
|
430
430
|
}, null, 8, ["modelValue"]),
|
|
431
|
-
|
|
432
|
-
|
|
431
|
+
e[23] || (e[23] = c("span", { style: { margin: "0 5px" } }, "~", -1)),
|
|
432
|
+
o(_, {
|
|
433
433
|
modelValue: r.value.maxPrice,
|
|
434
|
-
"onUpdate:modelValue":
|
|
434
|
+
"onUpdate:modelValue": e[7] || (e[7] = (t) => r.value.maxPrice = t),
|
|
435
435
|
placeholder: "请输入",
|
|
436
436
|
min: -999,
|
|
437
437
|
max: 999,
|
|
@@ -440,14 +440,14 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
|
|
|
440
440
|
]),
|
|
441
441
|
_: 1
|
|
442
442
|
})) : y("", !0),
|
|
443
|
-
|
|
443
|
+
C(V).ruleFormMark ? (a(), p(s, {
|
|
444
444
|
key: 1,
|
|
445
445
|
label: "备注:"
|
|
446
446
|
}, {
|
|
447
447
|
default: l(() => [
|
|
448
|
-
|
|
448
|
+
o(U, {
|
|
449
449
|
modelValue: r.value.mark,
|
|
450
|
-
"onUpdate:modelValue":
|
|
450
|
+
"onUpdate:modelValue": e[8] || (e[8] = (t) => r.value.mark = t),
|
|
451
451
|
type: "textarea",
|
|
452
452
|
placeholder: "请输入关键字",
|
|
453
453
|
rows: 2,
|
|
@@ -459,126 +459,126 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
|
|
|
459
459
|
]),
|
|
460
460
|
_: 1
|
|
461
461
|
}, 8, ["model", "rules"])) : y("", !0),
|
|
462
|
-
|
|
462
|
+
x.value === "table" ? (a(), p(Z, {
|
|
463
463
|
key: 1,
|
|
464
|
-
data:
|
|
464
|
+
data: i.tableData,
|
|
465
465
|
size: "small"
|
|
466
466
|
}, {
|
|
467
467
|
default: l(() => [
|
|
468
|
-
|
|
468
|
+
o(h, {
|
|
469
469
|
label: "预警周期",
|
|
470
470
|
width: "70"
|
|
471
471
|
}, {
|
|
472
|
-
default: l((
|
|
473
|
-
|
|
472
|
+
default: l((t) => [
|
|
473
|
+
f(T(t.row.freqName || "-"), 1)
|
|
474
474
|
]),
|
|
475
475
|
_: 1
|
|
476
476
|
}),
|
|
477
|
-
|
|
477
|
+
o(h, {
|
|
478
478
|
label: "交易类型",
|
|
479
479
|
width: "70"
|
|
480
480
|
}, {
|
|
481
|
-
default: l((
|
|
482
|
-
|
|
481
|
+
default: l((t) => [
|
|
482
|
+
t.row.factorExtendValue == 1 ? (a(), m("span", Me, "多")) : (a(), m("span", Ue, "空"))
|
|
483
483
|
]),
|
|
484
484
|
_: 1
|
|
485
485
|
}),
|
|
486
|
-
|
|
487
|
-
default: l((
|
|
488
|
-
|
|
486
|
+
o(h, { label: "预警因子" }, {
|
|
487
|
+
default: l((t) => [
|
|
488
|
+
f(T(t.row.factorExtendName || "-"), 1)
|
|
489
489
|
]),
|
|
490
490
|
_: 1
|
|
491
491
|
}),
|
|
492
|
-
|
|
492
|
+
o(h, {
|
|
493
493
|
label: "预警次数",
|
|
494
494
|
width: "70"
|
|
495
495
|
}, {
|
|
496
|
-
default: l((
|
|
497
|
-
|
|
496
|
+
default: l((t) => [
|
|
497
|
+
f(T(`${t.row.currentCount} / ${t.row.totalCount}`), 1)
|
|
498
498
|
]),
|
|
499
499
|
_: 1
|
|
500
500
|
}),
|
|
501
|
-
|
|
501
|
+
C(V).tableStatus ? (a(), p(h, {
|
|
502
502
|
key: 0,
|
|
503
503
|
label: "状态",
|
|
504
504
|
width: "70"
|
|
505
505
|
}, {
|
|
506
|
-
default: l((
|
|
507
|
-
|
|
508
|
-
|
|
506
|
+
default: l((t) => [
|
|
507
|
+
c("div", null, [
|
|
508
|
+
t.row.enable === 1 ? (a(), m("span", Be, "未触发")) : t.row.enable === 2 ? (a(), m("span", qe, "已触发")) : (a(), m("span", Ae, "-"))
|
|
509
509
|
])
|
|
510
510
|
]),
|
|
511
511
|
_: 1
|
|
512
512
|
})) : y("", !0),
|
|
513
|
-
|
|
513
|
+
C(V).tableCreateTime ? (a(), p(h, {
|
|
514
514
|
key: 1,
|
|
515
515
|
label: "设置时间",
|
|
516
516
|
width: "136"
|
|
517
517
|
}, {
|
|
518
|
-
default: l((
|
|
519
|
-
|
|
518
|
+
default: l((t) => [
|
|
519
|
+
f(T(t.row.createdTime || "-"), 1)
|
|
520
520
|
]),
|
|
521
521
|
_: 1
|
|
522
522
|
})) : y("", !0),
|
|
523
|
-
|
|
523
|
+
C(V).tableMark ? (a(), p(h, {
|
|
524
524
|
key: 2,
|
|
525
525
|
label: "备注",
|
|
526
526
|
width: "70"
|
|
527
527
|
}, {
|
|
528
|
-
default: l((
|
|
529
|
-
|
|
528
|
+
default: l((t) => [
|
|
529
|
+
f(T(t.row.mark || "-"), 1)
|
|
530
530
|
]),
|
|
531
531
|
_: 1
|
|
532
532
|
})) : y("", !0),
|
|
533
|
-
|
|
533
|
+
i.allowOperation ? (a(), p(h, {
|
|
534
534
|
key: 3,
|
|
535
535
|
label: "操作",
|
|
536
536
|
width: "140"
|
|
537
537
|
}, {
|
|
538
|
-
default: l((
|
|
539
|
-
|
|
538
|
+
default: l((t) => [
|
|
539
|
+
C(V).tableEnable ? (a(), p(u, {
|
|
540
540
|
key: 0,
|
|
541
|
-
disabled:
|
|
541
|
+
disabled: t.row.currentCount !== t.row.totalCount,
|
|
542
542
|
size: "small",
|
|
543
|
-
onClick: (
|
|
543
|
+
onClick: (b) => E("enabled", t.row)
|
|
544
544
|
}, {
|
|
545
|
-
default: l(() => [
|
|
546
|
-
|
|
547
|
-
]),
|
|
548
|
-
_:
|
|
549
|
-
},
|
|
550
|
-
|
|
545
|
+
default: l(() => [...e[24] || (e[24] = [
|
|
546
|
+
f(" 启用 ", -1)
|
|
547
|
+
])]),
|
|
548
|
+
_: 1
|
|
549
|
+
}, 8, ["disabled", "onClick"])) : y("", !0),
|
|
550
|
+
o(Y, {
|
|
551
551
|
title: "确定删除?",
|
|
552
|
-
onConfirm: (
|
|
552
|
+
onConfirm: (b) => E("delete", t.row)
|
|
553
553
|
}, {
|
|
554
554
|
reference: l(() => [
|
|
555
|
-
|
|
556
|
-
default: l(() => [
|
|
557
|
-
|
|
558
|
-
]),
|
|
555
|
+
o(u, { size: "small" }, {
|
|
556
|
+
default: l(() => [...e[25] || (e[25] = [
|
|
557
|
+
f("删除", -1)
|
|
558
|
+
])]),
|
|
559
559
|
_: 1
|
|
560
560
|
})
|
|
561
561
|
]),
|
|
562
|
-
_:
|
|
563
|
-
},
|
|
562
|
+
_: 1
|
|
563
|
+
}, 8, ["onConfirm"])
|
|
564
564
|
]),
|
|
565
565
|
_: 1
|
|
566
566
|
})) : y("", !0)
|
|
567
567
|
]),
|
|
568
568
|
_: 1
|
|
569
569
|
}, 8, ["data"])) : y("", !0),
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
570
|
+
x.value === "shortcut" ? (a(), m(S, { key: 2 }, [
|
|
571
|
+
c("div", Ie, [
|
|
572
|
+
e[26] || (e[26] = c("span", null, "我的配置", -1)),
|
|
573
|
+
o(A, {
|
|
574
574
|
effect: "dark",
|
|
575
575
|
content: "如有配置数据, 可点击查看该配置的具体信息",
|
|
576
576
|
placement: "right-start"
|
|
577
577
|
}, {
|
|
578
578
|
default: l(() => [
|
|
579
|
-
|
|
579
|
+
o(q, null, {
|
|
580
580
|
default: l(() => [
|
|
581
|
-
|
|
581
|
+
o(C(I))
|
|
582
582
|
]),
|
|
583
583
|
_: 1
|
|
584
584
|
})
|
|
@@ -586,32 +586,32 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
|
|
|
586
586
|
_: 1
|
|
587
587
|
})
|
|
588
588
|
]),
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
key:
|
|
589
|
+
c("div", je, [
|
|
590
|
+
i.shortcutData.length ? (a(!0), m(S, { key: 0 }, N(i.shortcutData, (t) => (a(), p(ee, {
|
|
591
|
+
key: t.id,
|
|
592
592
|
type: "primary",
|
|
593
593
|
size: "default",
|
|
594
594
|
closable: "",
|
|
595
|
-
onClick: (
|
|
596
|
-
onClose: (
|
|
595
|
+
onClick: (b) => K(t),
|
|
596
|
+
onClose: (b) => Q(t)
|
|
597
597
|
}, {
|
|
598
598
|
default: l(() => [
|
|
599
|
-
|
|
599
|
+
f(T(t.shortcutName), 1)
|
|
600
600
|
]),
|
|
601
601
|
_: 2
|
|
602
|
-
}, 1032, ["onClick", "onClose"]))), 128)) : (
|
|
602
|
+
}, 1032, ["onClick", "onClose"]))), 128)) : (a(), m("span", Re, "暂无数据"))
|
|
603
603
|
]),
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
604
|
+
c("div", Je, [
|
|
605
|
+
e[27] || (e[27] = c("span", null, "新增配置", -1)),
|
|
606
|
+
o(A, {
|
|
607
607
|
effect: "dark",
|
|
608
608
|
content: "同名配置将会进行覆盖",
|
|
609
609
|
placement: "right-start"
|
|
610
610
|
}, {
|
|
611
611
|
default: l(() => [
|
|
612
|
-
|
|
612
|
+
o(q, null, {
|
|
613
613
|
default: l(() => [
|
|
614
|
-
|
|
614
|
+
o(C(I))
|
|
615
615
|
]),
|
|
616
616
|
_: 1
|
|
617
617
|
})
|
|
@@ -619,23 +619,23 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
|
|
|
619
619
|
_: 1
|
|
620
620
|
})
|
|
621
621
|
]),
|
|
622
|
-
|
|
622
|
+
o(B, {
|
|
623
623
|
ref_key: "shortcut_ruleFormRef",
|
|
624
|
-
ref:
|
|
625
|
-
model:
|
|
626
|
-
rules:
|
|
624
|
+
ref: z,
|
|
625
|
+
model: n.value,
|
|
626
|
+
rules: W.value,
|
|
627
627
|
"label-width": "90px",
|
|
628
628
|
size: "default"
|
|
629
629
|
}, {
|
|
630
630
|
default: l(() => [
|
|
631
|
-
|
|
631
|
+
o(s, {
|
|
632
632
|
label: "配置名称:",
|
|
633
633
|
prop: "shortcutName"
|
|
634
634
|
}, {
|
|
635
635
|
default: l(() => [
|
|
636
|
-
|
|
637
|
-
modelValue:
|
|
638
|
-
"onUpdate:modelValue":
|
|
636
|
+
o(U, {
|
|
637
|
+
modelValue: n.value.shortcutName,
|
|
638
|
+
"onUpdate:modelValue": e[9] || (e[9] = (t) => n.value.shortcutName = t),
|
|
639
639
|
maxlength: "6",
|
|
640
640
|
"show-word-limit": "",
|
|
641
641
|
style: { width: "160px" }
|
|
@@ -643,58 +643,58 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
|
|
|
643
643
|
]),
|
|
644
644
|
_: 1
|
|
645
645
|
}),
|
|
646
|
-
|
|
646
|
+
o(s, {
|
|
647
647
|
label: "交易类型:",
|
|
648
648
|
prop: "factorType"
|
|
649
649
|
}, {
|
|
650
650
|
default: l(() => [
|
|
651
|
-
|
|
651
|
+
o(u, {
|
|
652
652
|
type: "danger",
|
|
653
|
-
plain:
|
|
654
|
-
onClick:
|
|
655
|
-
|
|
653
|
+
plain: n.value.factorType !== 1,
|
|
654
|
+
onClick: e[10] || (e[10] = () => {
|
|
655
|
+
n.value.factorType === -1 && (n.value.factorSelectedList = []), n.value.factorType = 1;
|
|
656
656
|
})
|
|
657
657
|
}, {
|
|
658
|
-
default: l(() => [
|
|
659
|
-
|
|
660
|
-
]),
|
|
658
|
+
default: l(() => [...e[28] || (e[28] = [
|
|
659
|
+
f(" 多 ", -1)
|
|
660
|
+
])]),
|
|
661
661
|
_: 1
|
|
662
662
|
}, 8, ["plain"]),
|
|
663
|
-
|
|
663
|
+
o(u, {
|
|
664
664
|
type: "success",
|
|
665
|
-
plain:
|
|
666
|
-
onClick:
|
|
667
|
-
|
|
665
|
+
plain: n.value.factorType !== -1,
|
|
666
|
+
onClick: e[11] || (e[11] = () => {
|
|
667
|
+
n.value.factorType === 1 && (n.value.factorSelectedList = []), n.value.factorType = -1;
|
|
668
668
|
})
|
|
669
669
|
}, {
|
|
670
|
-
default: l(() => [
|
|
671
|
-
|
|
672
|
-
]),
|
|
670
|
+
default: l(() => [...e[29] || (e[29] = [
|
|
671
|
+
f(" 空 ", -1)
|
|
672
|
+
])]),
|
|
673
673
|
_: 1
|
|
674
674
|
}, 8, ["plain"])
|
|
675
675
|
]),
|
|
676
676
|
_: 1
|
|
677
677
|
}),
|
|
678
|
-
|
|
678
|
+
o(s, {
|
|
679
679
|
label: "预警因子:",
|
|
680
680
|
prop: "factorSelectedList"
|
|
681
681
|
}, {
|
|
682
682
|
default: l(() => [
|
|
683
|
-
|
|
684
|
-
modelValue:
|
|
685
|
-
"onUpdate:modelValue":
|
|
683
|
+
o(g, {
|
|
684
|
+
modelValue: n.value.factorSelectedList,
|
|
685
|
+
"onUpdate:modelValue": e[12] || (e[12] = (t) => n.value.factorSelectedList = t)
|
|
686
686
|
}, {
|
|
687
687
|
default: l(() => [
|
|
688
|
-
|
|
689
|
-
key:
|
|
690
|
-
label:
|
|
691
|
-
value:
|
|
688
|
+
n.value.factorType === 1 ? (a(!0), m(S, { key: 0 }, N(i.moreFactorOptions, (t, b) => (a(), p(v, {
|
|
689
|
+
key: b,
|
|
690
|
+
label: t.factorTypeName,
|
|
691
|
+
value: t.factorTypeName,
|
|
692
692
|
style: { width: "200px" }
|
|
693
693
|
}, null, 8, ["label", "value"]))), 128)) : y("", !0),
|
|
694
|
-
|
|
695
|
-
key:
|
|
696
|
-
label:
|
|
697
|
-
value:
|
|
694
|
+
n.value.factorType === -1 ? (a(!0), m(S, { key: 1 }, N(i.emptyFactorOptions, (t, b) => (a(), p(v, {
|
|
695
|
+
key: b,
|
|
696
|
+
label: t.factorTypeName,
|
|
697
|
+
value: t.factorTypeName,
|
|
698
698
|
style: { width: "200px" }
|
|
699
699
|
}, null, 8, ["label", "value"]))), 128)) : y("", !0)
|
|
700
700
|
]),
|
|
@@ -703,14 +703,14 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
|
|
|
703
703
|
]),
|
|
704
704
|
_: 1
|
|
705
705
|
}),
|
|
706
|
-
|
|
706
|
+
o(s, {
|
|
707
707
|
label: "预警次数:",
|
|
708
708
|
prop: "totalCount"
|
|
709
709
|
}, {
|
|
710
710
|
default: l(() => [
|
|
711
|
-
|
|
712
|
-
modelValue:
|
|
713
|
-
"onUpdate:modelValue":
|
|
711
|
+
o(_, {
|
|
712
|
+
modelValue: n.value.totalCount,
|
|
713
|
+
"onUpdate:modelValue": e[13] || (e[13] = (t) => n.value.totalCount = t),
|
|
714
714
|
min: 1,
|
|
715
715
|
max: 10,
|
|
716
716
|
"controls-position": "right",
|
|
@@ -732,11 +732,11 @@ const P = (n) => (we("data-v-347c378d"), n = n(), xe(), n), Oe = { class: "st-fa
|
|
|
732
732
|
]);
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
|
-
},
|
|
736
|
-
install(
|
|
737
|
-
|
|
735
|
+
}, He = /* @__PURE__ */ Ee(Ge, [["__scopeId", "data-v-347c378d"]]), Ut = {
|
|
736
|
+
install(i) {
|
|
737
|
+
i.component("st-factorWarning", He);
|
|
738
738
|
}
|
|
739
739
|
};
|
|
740
740
|
export {
|
|
741
|
-
|
|
741
|
+
Ut as default
|
|
742
742
|
};
|