st-comp 0.0.122 → 0.0.124
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 +2 -2
- package/es/Dialog.cjs +1 -1
- package/es/Dialog.js +14 -13
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +26 -25
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +849 -1605
- package/es/KlineBasic.cjs +6 -0
- package/es/KlineBasic.js +2888 -0
- package/es/KlineNew.cjs +1 -1
- package/es/KlineNew.js +12 -12
- package/es/Pagination.cjs +1 -1
- package/es/Pagination.js +18 -17
- package/es/Pie.cjs +1 -1
- package/es/Pie.js +1 -1
- package/es/Table.cjs +1 -1
- package/es/Table.js +18 -17
- package/es/User.cjs +1 -1
- package/es/User.js +75 -74
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +903 -1253
- package/es/VirtualTable.cjs +1 -1
- package/es/VirtualTable.js +13 -12
- package/es/{base-f7877059.js → base-a8f938bd.js} +6 -6
- package/es/{castArray-18f43497.js → castArray-5c01dae1.js} +1 -1
- package/es/config-provider-4954003d.cjs +1 -0
- package/es/{config-provider-6479d795.js → config-provider-d3edea8a.js} +3 -3
- package/es/{debounce-2336e546.js → debounce-edbff018.js} +10 -10
- package/es/{dropdown-46daf582.js → dropdown-7e381525.js} +4 -4
- package/es/el-button-c7b375c4.cjs +1 -0
- package/es/{el-button-802f579a.js → el-button-ce99c64e.js} +6 -5
- package/es/{el-empty-3c5ec277.js → el-empty-ed6c115b.js} +1 -1
- package/es/{el-form-item-84099d46.js → el-form-item-b686a8bb.js} +9 -9
- package/es/{el-form-item-c39f717e.cjs → el-form-item-ff0d8d07.cjs} +1 -1
- package/es/{el-input-fac5b401.js → el-input-21e079e4.js} +5 -5
- package/es/el-menu-item-9369a2ad.js +771 -0
- package/es/el-menu-item-dc904a35.cjs +1 -0
- package/es/el-message-e97bdea1.cjs +1 -0
- package/es/el-message-fd827012.js +374 -0
- package/es/el-overlay-7b90d61c.cjs +1 -0
- package/es/{el-overlay-69e9ae49.js → el-overlay-9245ec1e.js} +77 -76
- package/es/{el-popover-694ded47.js → el-popover-6f075cee.js} +4 -4
- package/es/{el-popover-8735b1fa.cjs → el-popover-6f48d00b.cjs} +1 -1
- package/es/{el-popper-6126b1f6.js → el-popper-8dca8dd4.js} +4 -4
- package/es/{el-scrollbar-e0493906.js → el-scrollbar-906103f8.js} +1 -1
- package/es/{el-select-513126a5.js → el-select-6d6093eb.js} +10 -10
- package/es/el-table-column-26e7f13f.cjs +14 -0
- package/es/{el-table-column-3c920bdd.js → el-table-column-3f388c44.js} +15 -14
- package/es/{el-tag-5becabc9.js → el-tag-cdf0019e.js} +19 -19
- package/es/{index-7e40be25.js → index-53bce290.js} +3 -3
- package/es/index-669a0983.js +14 -0
- package/es/{index-048dca7e.js → index-6ced00c4.js} +1 -1
- package/es/index-c4649a37.cjs +3 -0
- package/es/{index-dc273ea2.cjs → index-d1b7c61e.cjs} +39 -39
- package/es/{index-57f8f7b9.js → index-f8e448bc.js} +5893 -5856
- package/es/{raf-07da7cdf.js → raf-b584bce8.js} +1 -1
- package/es/{refs-1b1fe6ca.js → refs-e1675167.js} +1 -1
- package/es/{scroll-3b521d81.js → scroll-25ec9230.js} +1 -1
- package/es/style.css +1 -1
- package/es/{use-form-common-props-f3a520d0.js → use-form-common-props-f7d2e83c.js} +18 -18
- package/es/use-global-config-8429db7d.js +72 -0
- package/es/{index-8a0b1c53.cjs → use-global-config-ac2dad80.cjs} +1 -3
- package/es/{vnode-25d7c2f5.js → vnode-699e61cb.js} +1 -1
- package/es/{zh-cn-74781bbd.js → zh-cn-61ca7f91.js} +2 -2
- package/es/{zh-cn-ab9a583d.cjs → zh-cn-a20960b5.cjs} +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +213 -208
- package/lib/{index-62c62885.js → index-741ecbcc.js} +38391 -35484
- package/lib/{python-6cdad7a6.js → python-5a672b35.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +2 -2
- package/packages/KlineBasic/api.js +60 -0
- package/packages/KlineBasic/components/Contextmenu/index.vue +105 -0
- package/packages/KlineBasic/components/KlineSub/index.vue +297 -0
- package/packages/KlineBasic/components/KlineTips/index.vue +66 -0
- package/packages/KlineBasic/components/Tips/index.vue +33 -0
- package/packages/KlineBasic/index.ts +8 -0
- package/packages/KlineBasic/index.vue +565 -0
- package/packages/KlineBasic/utils.js +86 -0
- package/packages/VarietySearch/components/FactorScreen/index.vue +7 -7
- package/packages/index.ts +2 -0
- package/src/main.ts +2 -0
- package/src/pages/KlineBasic/api.js +45 -0
- package/src/pages/KlineBasic/index.vue +74 -0
- package/src/pages/KlineBasic/indicator.js +114 -0
- package/src/pages/VarietySearch/index.vue +3 -2
- package/src/router/routes.ts +5 -0
- package/es/config-provider-7cdfca4d.cjs +0 -1
- package/es/el-button-196807af.cjs +0 -1
- package/es/el-overlay-891dcc40.cjs +0 -1
- package/es/el-table-column-dd8b62aa.cjs +0 -14
- package/es/index-35117549.js +0 -81
package/es/VarietySearch.js
CHANGED
|
@@ -1,119 +1,38 @@
|
|
|
1
|
-
import { b as te,
|
|
2
|
-
import { b as
|
|
3
|
-
import { b as
|
|
4
|
-
import {
|
|
5
|
-
import { E as
|
|
6
|
-
import { E as
|
|
7
|
-
import "./el-tag-
|
|
8
|
-
import { E as
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
1
|
+
import { b as te, i as be, a as ke, c as _e, C as he, u as se, _ as ie, e as Ge, f as je, w as Ye, v as Oe } from "./base-a8f938bd.js";
|
|
2
|
+
import { b as Ae, E as Ke, a as Ie, c as Qe } from "./el-form-item-b686a8bb.js";
|
|
3
|
+
import { b as Je, c as He, E as We, a as Xe } from "./el-table-column-3f388c44.js";
|
|
4
|
+
import { ref as A, inject as Ze, computed as P, defineComponent as H, openBlock as o, createElementBlock as b, normalizeClass as Y, unref as m, createElementVNode as _, withDirectives as $e, isRef as we, withModifiers as ee, vModelRadio as Te, renderSlot as de, createTextVNode as F, toDisplayString as G, nextTick as Ce, normalizeStyle as el, onMounted as ll, provide as tl, reactive as nl, toRefs as al, watch as le, mergeModels as ne, useModel as ae, createBlock as D, withCtx as p, createVNode as u, Fragment as E, createCommentVNode as z, renderList as N, pushScopeId as ce, popScopeId as pe, createSlots as re } from "vue";
|
|
5
|
+
import { E as ve } from "./el-overlay-9245ec1e.js";
|
|
6
|
+
import { E as Se } from "./el-input-21e079e4.js";
|
|
7
|
+
import "./el-tag-cdf0019e.js";
|
|
8
|
+
import { E as Ue, a as Ee } from "./el-select-6d6093eb.js";
|
|
9
|
+
import "./el-scrollbar-906103f8.js";
|
|
10
|
+
import { u as ol, E as rl } from "./el-popper-8dca8dd4.js";
|
|
11
11
|
import "./el-tooltip-4ed993c7.js";
|
|
12
|
-
import { E as
|
|
13
|
-
import { u as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import "./
|
|
24
|
-
import "./
|
|
25
|
-
import "./refs-
|
|
26
|
-
import "./scroll-
|
|
12
|
+
import { E as Re } from "./el-button-ce99c64e.js";
|
|
13
|
+
import { u as Me, a as ul, b as sl, d as il, e as dl, v as ue, i as cl, w as pl, E as vl } from "./use-form-common-props-f7d2e83c.js";
|
|
14
|
+
import { E as j } from "./el-message-fd827012.js";
|
|
15
|
+
import { _ as me } from "./_plugin-vue_export-helper-dad06003.js";
|
|
16
|
+
import { E as qe } from "./index-53bce290.js";
|
|
17
|
+
import { U as fe, C as ml } from "./event-09e37cc8.js";
|
|
18
|
+
import { u as fl } from "./index-669a0983.js";
|
|
19
|
+
import "./castArray-5c01dae1.js";
|
|
20
|
+
import "./use-global-config-8429db7d.js";
|
|
21
|
+
import "./debounce-edbff018.js";
|
|
22
|
+
import "./raf-b584bce8.js";
|
|
23
|
+
import "./vnode-699e61cb.js";
|
|
24
|
+
import "./index-6ced00c4.js";
|
|
25
|
+
import "./refs-e1675167.js";
|
|
26
|
+
import "./scroll-25ec9230.js";
|
|
27
|
+
import "./typescript-7ae59c4c.js";
|
|
27
28
|
import "./index-657047bb.js";
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
type: [String, Number],
|
|
31
|
-
default: ""
|
|
32
|
-
},
|
|
33
|
-
max: {
|
|
34
|
-
type: Number,
|
|
35
|
-
default: 99
|
|
36
|
-
},
|
|
37
|
-
isDot: Boolean,
|
|
38
|
-
hidden: Boolean,
|
|
39
|
-
type: {
|
|
40
|
-
type: String,
|
|
41
|
-
values: ["primary", "success", "warning", "info", "danger"],
|
|
42
|
-
default: "danger"
|
|
43
|
-
},
|
|
44
|
-
showZero: {
|
|
45
|
-
type: Boolean,
|
|
46
|
-
default: !0
|
|
47
|
-
},
|
|
48
|
-
color: String,
|
|
49
|
-
badgeStyle: {
|
|
50
|
-
type: ue([String, Object, Array])
|
|
51
|
-
},
|
|
52
|
-
offset: {
|
|
53
|
-
type: ue(Array),
|
|
54
|
-
default: [0, 0]
|
|
55
|
-
},
|
|
56
|
-
badgeClass: {
|
|
57
|
-
type: String
|
|
58
|
-
}
|
|
59
|
-
}), Pl = J({
|
|
60
|
-
name: "ElBadge"
|
|
61
|
-
}), Gl = /* @__PURE__ */ J({
|
|
62
|
-
...Pl,
|
|
63
|
-
props: Bl,
|
|
64
|
-
setup(a, { expose: m }) {
|
|
65
|
-
const l = a, n = ce("badge"), f = L(() => l.isDot ? "" : W(l.value) && W(l.max) ? l.max < l.value ? `${l.max}+` : `${l.value}` : `${l.value}`), C = L(() => {
|
|
66
|
-
var o, t, w, E, b;
|
|
67
|
-
return [
|
|
68
|
-
{
|
|
69
|
-
backgroundColor: l.color,
|
|
70
|
-
marginRight: Ce(-((t = (o = l.offset) == null ? void 0 : o[0]) != null ? t : 0)),
|
|
71
|
-
marginTop: Ce((E = (w = l.offset) == null ? void 0 : w[1]) != null ? E : 0)
|
|
72
|
-
},
|
|
73
|
-
(b = l.badgeStyle) != null ? b : {}
|
|
74
|
-
];
|
|
75
|
-
});
|
|
76
|
-
return m({
|
|
77
|
-
content: f
|
|
78
|
-
}), (o, t) => (i(), h("div", {
|
|
79
|
-
class: B(r(n).b())
|
|
80
|
-
}, [
|
|
81
|
-
ee(o.$slots, "default"),
|
|
82
|
-
p(Ne, {
|
|
83
|
-
name: `${r(n).namespace.value}-zoom-in-center`,
|
|
84
|
-
persisted: ""
|
|
85
|
-
}, {
|
|
86
|
-
default: g(() => [
|
|
87
|
-
pe(V("sup", {
|
|
88
|
-
class: B([
|
|
89
|
-
r(n).e("content"),
|
|
90
|
-
r(n).em("content", o.type),
|
|
91
|
-
r(n).is("fixed", !!o.$slots.default),
|
|
92
|
-
r(n).is("dot", o.isDot),
|
|
93
|
-
r(n).is("hide-zero", !o.showZero && l.value === 0),
|
|
94
|
-
o.badgeClass
|
|
95
|
-
]),
|
|
96
|
-
style: _e(r(C))
|
|
97
|
-
}, [
|
|
98
|
-
ee(o.$slots, "content", { value: r(f) }, () => [
|
|
99
|
-
N(A(r(f)), 1)
|
|
100
|
-
])
|
|
101
|
-
], 6), [
|
|
102
|
-
[ze, !o.hidden && (r(f) || o.isDot || o.$slots.content)]
|
|
103
|
-
])
|
|
104
|
-
]),
|
|
105
|
-
_: 3
|
|
106
|
-
}, 8, ["name"])
|
|
107
|
-
], 2));
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
var jl = /* @__PURE__ */ oe(Gl, [["__file", "badge.vue"]]);
|
|
111
|
-
const Al = Re(jl), We = te({
|
|
29
|
+
import "./config-provider-d3edea8a.js";
|
|
30
|
+
const De = te({
|
|
112
31
|
modelValue: {
|
|
113
32
|
type: [String, Number, Boolean],
|
|
114
33
|
default: void 0
|
|
115
34
|
},
|
|
116
|
-
size:
|
|
35
|
+
size: Me,
|
|
117
36
|
disabled: Boolean,
|
|
118
37
|
label: {
|
|
119
38
|
type: [String, Number, Boolean],
|
|
@@ -127,166 +46,166 @@ const Al = Re(jl), We = te({
|
|
|
127
46
|
type: String,
|
|
128
47
|
default: void 0
|
|
129
48
|
}
|
|
130
|
-
}),
|
|
131
|
-
...
|
|
49
|
+
}), yl = te({
|
|
50
|
+
...De,
|
|
132
51
|
border: Boolean
|
|
133
|
-
}),
|
|
134
|
-
[
|
|
135
|
-
[
|
|
136
|
-
},
|
|
137
|
-
const
|
|
52
|
+
}), Fe = {
|
|
53
|
+
[fe]: (d) => be(d) || ke(d) || _e(d),
|
|
54
|
+
[ml]: (d) => be(d) || ke(d) || _e(d)
|
|
55
|
+
}, Le = Symbol("radioGroupKey"), Ne = (d, V) => {
|
|
56
|
+
const k = A(), s = Ze(Le, void 0), x = P(() => !!s), R = P(() => he(d.value) ? d.label : d.value), i = P({
|
|
138
57
|
get() {
|
|
139
|
-
return
|
|
58
|
+
return x.value ? s.modelValue : d.modelValue;
|
|
140
59
|
},
|
|
141
|
-
set(
|
|
142
|
-
|
|
60
|
+
set(n) {
|
|
61
|
+
x.value ? s.changeEvent(n) : V && V(fe, n), k.value.checked = d.modelValue === R.value;
|
|
143
62
|
}
|
|
144
|
-
}),
|
|
145
|
-
return
|
|
63
|
+
}), l = ul(P(() => s == null ? void 0 : s.size)), S = sl(P(() => s == null ? void 0 : s.disabled)), M = A(!1), y = P(() => S.value || x.value && i.value !== R.value ? -1 : 0);
|
|
64
|
+
return fl({
|
|
146
65
|
from: "label act as value",
|
|
147
66
|
replacement: "value",
|
|
148
67
|
version: "3.0.0",
|
|
149
68
|
scope: "el-radio",
|
|
150
69
|
ref: "https://element-plus.org/en-US/component/radio.html"
|
|
151
|
-
},
|
|
152
|
-
radioRef:
|
|
153
|
-
isGroup:
|
|
154
|
-
radioGroup:
|
|
155
|
-
focus:
|
|
156
|
-
size:
|
|
157
|
-
disabled:
|
|
158
|
-
tabIndex:
|
|
159
|
-
modelValue:
|
|
160
|
-
actualValue:
|
|
70
|
+
}, P(() => x.value && he(d.value))), {
|
|
71
|
+
radioRef: k,
|
|
72
|
+
isGroup: x,
|
|
73
|
+
radioGroup: s,
|
|
74
|
+
focus: M,
|
|
75
|
+
size: l,
|
|
76
|
+
disabled: S,
|
|
77
|
+
tabIndex: y,
|
|
78
|
+
modelValue: i,
|
|
79
|
+
actualValue: R
|
|
161
80
|
};
|
|
162
|
-
},
|
|
81
|
+
}, gl = H({
|
|
163
82
|
name: "ElRadio"
|
|
164
|
-
}),
|
|
165
|
-
...
|
|
166
|
-
props:
|
|
167
|
-
emits:
|
|
168
|
-
setup(
|
|
169
|
-
const
|
|
170
|
-
function
|
|
171
|
-
|
|
83
|
+
}), bl = /* @__PURE__ */ H({
|
|
84
|
+
...gl,
|
|
85
|
+
props: yl,
|
|
86
|
+
emits: Fe,
|
|
87
|
+
setup(d, { emit: V }) {
|
|
88
|
+
const k = d, s = se("radio"), { radioRef: x, radioGroup: R, focus: i, size: l, disabled: S, modelValue: M, actualValue: y } = Ne(k, V);
|
|
89
|
+
function n() {
|
|
90
|
+
Ce(() => V("change", M.value));
|
|
172
91
|
}
|
|
173
|
-
return (
|
|
174
|
-
var
|
|
175
|
-
return
|
|
176
|
-
class:
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
92
|
+
return (C, q) => {
|
|
93
|
+
var r;
|
|
94
|
+
return o(), b("label", {
|
|
95
|
+
class: Y([
|
|
96
|
+
m(s).b(),
|
|
97
|
+
m(s).is("disabled", m(S)),
|
|
98
|
+
m(s).is("focus", m(i)),
|
|
99
|
+
m(s).is("bordered", C.border),
|
|
100
|
+
m(s).is("checked", m(M) === m(y)),
|
|
101
|
+
m(s).m(m(l))
|
|
183
102
|
])
|
|
184
103
|
}, [
|
|
185
|
-
|
|
186
|
-
class:
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
104
|
+
_("span", {
|
|
105
|
+
class: Y([
|
|
106
|
+
m(s).e("input"),
|
|
107
|
+
m(s).is("disabled", m(S)),
|
|
108
|
+
m(s).is("checked", m(M) === m(y))
|
|
190
109
|
])
|
|
191
110
|
}, [
|
|
192
|
-
|
|
111
|
+
$e(_("input", {
|
|
193
112
|
ref_key: "radioRef",
|
|
194
|
-
ref:
|
|
195
|
-
"onUpdate:modelValue": (e) =>
|
|
196
|
-
class:
|
|
197
|
-
value:
|
|
198
|
-
name:
|
|
199
|
-
disabled:
|
|
200
|
-
checked:
|
|
113
|
+
ref: x,
|
|
114
|
+
"onUpdate:modelValue": (e) => we(M) ? M.value = e : null,
|
|
115
|
+
class: Y(m(s).e("original")),
|
|
116
|
+
value: m(y),
|
|
117
|
+
name: C.name || ((r = m(R)) == null ? void 0 : r.name),
|
|
118
|
+
disabled: m(S),
|
|
119
|
+
checked: m(M) === m(y),
|
|
201
120
|
type: "radio",
|
|
202
|
-
onFocus: (e) =>
|
|
203
|
-
onBlur: (e) =>
|
|
204
|
-
onChange:
|
|
205
|
-
onClick:
|
|
121
|
+
onFocus: (e) => i.value = !0,
|
|
122
|
+
onBlur: (e) => i.value = !1,
|
|
123
|
+
onChange: n,
|
|
124
|
+
onClick: ee(() => {
|
|
206
125
|
}, ["stop"])
|
|
207
126
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "checked", "onFocus", "onBlur", "onClick"]), [
|
|
208
|
-
[
|
|
127
|
+
[Te, m(M)]
|
|
209
128
|
]),
|
|
210
|
-
|
|
211
|
-
class:
|
|
129
|
+
_("span", {
|
|
130
|
+
class: Y(m(s).e("inner"))
|
|
212
131
|
}, null, 2)
|
|
213
132
|
], 2),
|
|
214
|
-
|
|
215
|
-
class:
|
|
216
|
-
onKeydown:
|
|
133
|
+
_("span", {
|
|
134
|
+
class: Y(m(s).e("label")),
|
|
135
|
+
onKeydown: ee(() => {
|
|
217
136
|
}, ["stop"])
|
|
218
137
|
}, [
|
|
219
|
-
|
|
220
|
-
|
|
138
|
+
de(C.$slots, "default", {}, () => [
|
|
139
|
+
F(G(C.label), 1)
|
|
221
140
|
])
|
|
222
141
|
], 42, ["onKeydown"])
|
|
223
142
|
], 2);
|
|
224
143
|
};
|
|
225
144
|
}
|
|
226
145
|
});
|
|
227
|
-
var
|
|
228
|
-
const
|
|
229
|
-
...
|
|
230
|
-
}),
|
|
146
|
+
var kl = /* @__PURE__ */ ie(bl, [["__file", "radio.vue"]]);
|
|
147
|
+
const _l = te({
|
|
148
|
+
...De
|
|
149
|
+
}), hl = H({
|
|
231
150
|
name: "ElRadioButton"
|
|
232
|
-
}),
|
|
233
|
-
...
|
|
234
|
-
props:
|
|
235
|
-
setup(
|
|
236
|
-
const
|
|
237
|
-
backgroundColor: (
|
|
238
|
-
borderColor: (
|
|
239
|
-
boxShadow:
|
|
240
|
-
color: (
|
|
151
|
+
}), xl = /* @__PURE__ */ H({
|
|
152
|
+
...hl,
|
|
153
|
+
props: _l,
|
|
154
|
+
setup(d) {
|
|
155
|
+
const V = d, k = se("radio"), { radioRef: s, focus: x, size: R, disabled: i, modelValue: l, radioGroup: S, actualValue: M } = Ne(V), y = P(() => ({
|
|
156
|
+
backgroundColor: (S == null ? void 0 : S.fill) || "",
|
|
157
|
+
borderColor: (S == null ? void 0 : S.fill) || "",
|
|
158
|
+
boxShadow: S != null && S.fill ? `-1px 0 0 0 ${S.fill}` : "",
|
|
159
|
+
color: (S == null ? void 0 : S.textColor) || ""
|
|
241
160
|
}));
|
|
242
|
-
return (
|
|
243
|
-
var
|
|
244
|
-
return
|
|
245
|
-
class:
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
161
|
+
return (n, C) => {
|
|
162
|
+
var q;
|
|
163
|
+
return o(), b("label", {
|
|
164
|
+
class: Y([
|
|
165
|
+
m(k).b("button"),
|
|
166
|
+
m(k).is("active", m(l) === m(M)),
|
|
167
|
+
m(k).is("disabled", m(i)),
|
|
168
|
+
m(k).is("focus", m(x)),
|
|
169
|
+
m(k).bm("button", m(R))
|
|
251
170
|
])
|
|
252
171
|
}, [
|
|
253
|
-
|
|
172
|
+
$e(_("input", {
|
|
254
173
|
ref_key: "radioRef",
|
|
255
|
-
ref:
|
|
256
|
-
"onUpdate:modelValue": (
|
|
257
|
-
class:
|
|
258
|
-
value:
|
|
174
|
+
ref: s,
|
|
175
|
+
"onUpdate:modelValue": (r) => we(l) ? l.value = r : null,
|
|
176
|
+
class: Y(m(k).be("button", "original-radio")),
|
|
177
|
+
value: m(M),
|
|
259
178
|
type: "radio",
|
|
260
|
-
name:
|
|
261
|
-
disabled:
|
|
262
|
-
onFocus: (
|
|
263
|
-
onBlur: (
|
|
264
|
-
onClick:
|
|
179
|
+
name: n.name || ((q = m(S)) == null ? void 0 : q.name),
|
|
180
|
+
disabled: m(i),
|
|
181
|
+
onFocus: (r) => x.value = !0,
|
|
182
|
+
onBlur: (r) => x.value = !1,
|
|
183
|
+
onClick: ee(() => {
|
|
265
184
|
}, ["stop"])
|
|
266
185
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
|
|
267
|
-
[
|
|
186
|
+
[Te, m(l)]
|
|
268
187
|
]),
|
|
269
|
-
|
|
270
|
-
class:
|
|
271
|
-
style:
|
|
272
|
-
onKeydown:
|
|
188
|
+
_("span", {
|
|
189
|
+
class: Y(m(k).be("button", "inner")),
|
|
190
|
+
style: el(m(l) === m(M) ? m(y) : {}),
|
|
191
|
+
onKeydown: ee(() => {
|
|
273
192
|
}, ["stop"])
|
|
274
193
|
}, [
|
|
275
|
-
|
|
276
|
-
|
|
194
|
+
de(n.$slots, "default", {}, () => [
|
|
195
|
+
F(G(n.label), 1)
|
|
277
196
|
])
|
|
278
197
|
], 46, ["onKeydown"])
|
|
279
198
|
], 2);
|
|
280
199
|
};
|
|
281
200
|
}
|
|
282
201
|
});
|
|
283
|
-
var
|
|
284
|
-
const
|
|
202
|
+
var ze = /* @__PURE__ */ ie(xl, [["__file", "radio-button.vue"]]);
|
|
203
|
+
const Vl = te({
|
|
285
204
|
id: {
|
|
286
205
|
type: String,
|
|
287
206
|
default: void 0
|
|
288
207
|
},
|
|
289
|
-
size:
|
|
208
|
+
size: Me,
|
|
290
209
|
disabled: Boolean,
|
|
291
210
|
modelValue: {
|
|
292
211
|
type: [String, Number, Boolean],
|
|
@@ -308,328 +227,49 @@ const Xl = te({
|
|
|
308
227
|
type: Boolean,
|
|
309
228
|
default: !0
|
|
310
229
|
},
|
|
311
|
-
|
|
312
|
-
}),
|
|
230
|
+
...ol(["ariaLabel"])
|
|
231
|
+
}), Ol = Fe, Il = H({
|
|
313
232
|
name: "ElRadioGroup"
|
|
314
|
-
}),
|
|
315
|
-
...
|
|
316
|
-
props:
|
|
317
|
-
emits:
|
|
318
|
-
setup(
|
|
319
|
-
const
|
|
320
|
-
formItemContext:
|
|
321
|
-
}),
|
|
322
|
-
|
|
233
|
+
}), $l = /* @__PURE__ */ H({
|
|
234
|
+
...Il,
|
|
235
|
+
props: Vl,
|
|
236
|
+
emits: Ol,
|
|
237
|
+
setup(d, { emit: V }) {
|
|
238
|
+
const k = d, s = se("radio"), x = Ge(), R = A(), { formItem: i } = il(), { inputId: l, isLabeledByFormItem: S } = dl(k, {
|
|
239
|
+
formItemContext: i
|
|
240
|
+
}), M = (n) => {
|
|
241
|
+
V(fe, n), Ce(() => V("change", n));
|
|
323
242
|
};
|
|
324
|
-
|
|
325
|
-
const
|
|
326
|
-
!Array.from(
|
|
243
|
+
ll(() => {
|
|
244
|
+
const n = R.value.querySelectorAll("[type=radio]"), C = n[0];
|
|
245
|
+
!Array.from(n).some((q) => q.checked) && C && (C.tabIndex = 0);
|
|
327
246
|
});
|
|
328
|
-
const
|
|
329
|
-
return
|
|
330
|
-
...
|
|
331
|
-
changeEvent:
|
|
332
|
-
name:
|
|
333
|
-
})),
|
|
334
|
-
|
|
335
|
-
}), (
|
|
336
|
-
id:
|
|
247
|
+
const y = P(() => k.name || x.value);
|
|
248
|
+
return tl(Le, nl({
|
|
249
|
+
...al(k),
|
|
250
|
+
changeEvent: M,
|
|
251
|
+
name: y
|
|
252
|
+
})), le(() => k.modelValue, () => {
|
|
253
|
+
k.validateEvent && (i == null || i.validate("change").catch((n) => je(n)));
|
|
254
|
+
}), (n, C) => (o(), b("div", {
|
|
255
|
+
id: m(l),
|
|
337
256
|
ref_key: "radioGroupRef",
|
|
338
|
-
ref:
|
|
339
|
-
class:
|
|
257
|
+
ref: R,
|
|
258
|
+
class: Y(m(s).b("group")),
|
|
340
259
|
role: "radiogroup",
|
|
341
|
-
"aria-label":
|
|
342
|
-
"aria-labelledby":
|
|
260
|
+
"aria-label": m(S) ? void 0 : n.ariaLabel || "radio-group",
|
|
261
|
+
"aria-labelledby": m(S) ? m(i).labelId : void 0
|
|
343
262
|
}, [
|
|
344
|
-
|
|
263
|
+
de(n.$slots, "default")
|
|
345
264
|
], 10, ["id", "aria-label", "aria-labelledby"]));
|
|
346
265
|
}
|
|
347
266
|
});
|
|
348
|
-
var
|
|
349
|
-
const
|
|
350
|
-
RadioButton:
|
|
351
|
-
RadioGroup:
|
|
352
|
-
}),
|
|
353
|
-
|
|
354
|
-
center: !1,
|
|
355
|
-
dangerouslyUseHTMLString: !1,
|
|
356
|
-
duration: 3e3,
|
|
357
|
-
icon: void 0,
|
|
358
|
-
id: "",
|
|
359
|
-
message: "",
|
|
360
|
-
onClose: void 0,
|
|
361
|
-
showClose: !1,
|
|
362
|
-
type: "info",
|
|
363
|
-
plain: !1,
|
|
364
|
-
offset: 16,
|
|
365
|
-
zIndex: 0,
|
|
366
|
-
grouping: !1,
|
|
367
|
-
repeatNum: 1,
|
|
368
|
-
appendTo: Le ? document.body : void 0
|
|
369
|
-
}), at = te({
|
|
370
|
-
customClass: {
|
|
371
|
-
type: String,
|
|
372
|
-
default: G.customClass
|
|
373
|
-
},
|
|
374
|
-
center: {
|
|
375
|
-
type: Boolean,
|
|
376
|
-
default: G.center
|
|
377
|
-
},
|
|
378
|
-
dangerouslyUseHTMLString: {
|
|
379
|
-
type: Boolean,
|
|
380
|
-
default: G.dangerouslyUseHTMLString
|
|
381
|
-
},
|
|
382
|
-
duration: {
|
|
383
|
-
type: Number,
|
|
384
|
-
default: G.duration
|
|
385
|
-
},
|
|
386
|
-
icon: {
|
|
387
|
-
type: Ml,
|
|
388
|
-
default: G.icon
|
|
389
|
-
},
|
|
390
|
-
id: {
|
|
391
|
-
type: String,
|
|
392
|
-
default: G.id
|
|
393
|
-
},
|
|
394
|
-
message: {
|
|
395
|
-
type: ue([
|
|
396
|
-
String,
|
|
397
|
-
Object,
|
|
398
|
-
Function
|
|
399
|
-
]),
|
|
400
|
-
default: G.message
|
|
401
|
-
},
|
|
402
|
-
onClose: {
|
|
403
|
-
type: ue(Function),
|
|
404
|
-
default: G.onClose
|
|
405
|
-
},
|
|
406
|
-
showClose: {
|
|
407
|
-
type: Boolean,
|
|
408
|
-
default: G.showClose
|
|
409
|
-
},
|
|
410
|
-
type: {
|
|
411
|
-
type: String,
|
|
412
|
-
values: al,
|
|
413
|
-
default: G.type
|
|
414
|
-
},
|
|
415
|
-
plain: {
|
|
416
|
-
type: Boolean,
|
|
417
|
-
default: G.plain
|
|
418
|
-
},
|
|
419
|
-
offset: {
|
|
420
|
-
type: Number,
|
|
421
|
-
default: G.offset
|
|
422
|
-
},
|
|
423
|
-
zIndex: {
|
|
424
|
-
type: Number,
|
|
425
|
-
default: G.zIndex
|
|
426
|
-
},
|
|
427
|
-
grouping: {
|
|
428
|
-
type: Boolean,
|
|
429
|
-
default: G.grouping
|
|
430
|
-
},
|
|
431
|
-
repeatNum: {
|
|
432
|
-
type: Number,
|
|
433
|
-
default: G.repeatNum
|
|
434
|
-
}
|
|
435
|
-
}), ot = {
|
|
436
|
-
destroy: () => !0
|
|
437
|
-
}, K = xl([]), st = (a) => {
|
|
438
|
-
const m = K.findIndex((f) => f.id === a), l = K[m];
|
|
439
|
-
let n;
|
|
440
|
-
return m > 0 && (n = K[m - 1]), { current: l, prev: n };
|
|
441
|
-
}, rt = (a) => {
|
|
442
|
-
const { prev: m } = st(a);
|
|
443
|
-
return m ? m.vm.exposed.bottom.value : 0;
|
|
444
|
-
}, ut = (a, m) => K.findIndex((n) => n.id === a) > 0 ? 16 : m, it = J({
|
|
445
|
-
name: "ElMessage"
|
|
446
|
-
}), dt = /* @__PURE__ */ J({
|
|
447
|
-
...it,
|
|
448
|
-
props: at,
|
|
449
|
-
emits: ot,
|
|
450
|
-
setup(a, { expose: m }) {
|
|
451
|
-
const l = a, { Close: n } = Ul, { ns: f, zIndex: C } = Fl("message"), { currentZIndex: o, nextZIndex: t } = C, w = Y(), E = Y(!1), b = Y(0);
|
|
452
|
-
let u;
|
|
453
|
-
const U = L(() => l.type ? l.type === "error" ? "danger" : l.type : "info"), D = L(() => {
|
|
454
|
-
const v = l.type;
|
|
455
|
-
return { [f.bm("icon", v)]: v && Ee[v] };
|
|
456
|
-
}), c = L(() => l.icon || Ee[l.type] || ""), e = L(() => rt(l.id)), O = L(() => ut(l.id, l.offset) + e.value), _ = L(() => b.value + O.value), k = L(() => ({
|
|
457
|
-
top: `${O.value}px`,
|
|
458
|
-
zIndex: o.value
|
|
459
|
-
}));
|
|
460
|
-
function T() {
|
|
461
|
-
l.duration !== 0 && ({ stop: u } = ul(() => {
|
|
462
|
-
s();
|
|
463
|
-
}, l.duration));
|
|
464
|
-
}
|
|
465
|
-
function $() {
|
|
466
|
-
u == null || u();
|
|
467
|
-
}
|
|
468
|
-
function s() {
|
|
469
|
-
E.value = !1;
|
|
470
|
-
}
|
|
471
|
-
function I({ code: v }) {
|
|
472
|
-
v === Nl.esc && s();
|
|
473
|
-
}
|
|
474
|
-
return je(() => {
|
|
475
|
-
T(), t(), E.value = !0;
|
|
476
|
-
}), ae(() => l.repeatNum, () => {
|
|
477
|
-
$(), T();
|
|
478
|
-
}), Ol(document, "keydown", I), Il(w, () => {
|
|
479
|
-
b.value = w.value.getBoundingClientRect().height;
|
|
480
|
-
}), m({
|
|
481
|
-
visible: E,
|
|
482
|
-
bottom: _,
|
|
483
|
-
close: s
|
|
484
|
-
}), (v, y) => (i(), q(Ne, {
|
|
485
|
-
name: r(f).b("fade"),
|
|
486
|
-
onBeforeLeave: v.onClose,
|
|
487
|
-
onAfterLeave: (j) => v.$emit("destroy"),
|
|
488
|
-
persisted: ""
|
|
489
|
-
}, {
|
|
490
|
-
default: g(() => [
|
|
491
|
-
pe(V("div", {
|
|
492
|
-
id: v.id,
|
|
493
|
-
ref_key: "messageRef",
|
|
494
|
-
ref: w,
|
|
495
|
-
class: B([
|
|
496
|
-
r(f).b(),
|
|
497
|
-
{ [r(f).m(v.type)]: v.type },
|
|
498
|
-
r(f).is("center", v.center),
|
|
499
|
-
r(f).is("closable", v.showClose),
|
|
500
|
-
r(f).is("plain", v.plain),
|
|
501
|
-
v.customClass
|
|
502
|
-
]),
|
|
503
|
-
style: _e(r(k)),
|
|
504
|
-
role: "alert",
|
|
505
|
-
onMouseenter: $,
|
|
506
|
-
onMouseleave: T
|
|
507
|
-
}, [
|
|
508
|
-
v.repeatNum > 1 ? (i(), q(r(Al), {
|
|
509
|
-
key: 0,
|
|
510
|
-
value: v.repeatNum,
|
|
511
|
-
type: r(U),
|
|
512
|
-
class: B(r(f).e("badge"))
|
|
513
|
-
}, null, 8, ["value", "type", "class"])) : F("v-if", !0),
|
|
514
|
-
r(c) ? (i(), q(r(ke), {
|
|
515
|
-
key: 1,
|
|
516
|
-
class: B([r(f).e("icon"), r(D)])
|
|
517
|
-
}, {
|
|
518
|
-
default: g(() => [
|
|
519
|
-
(i(), q(Vl(r(c))))
|
|
520
|
-
]),
|
|
521
|
-
_: 1
|
|
522
|
-
}, 8, ["class"])) : F("v-if", !0),
|
|
523
|
-
ee(v.$slots, "default", {}, () => [
|
|
524
|
-
v.dangerouslyUseHTMLString ? (i(), h(R, { key: 1 }, [
|
|
525
|
-
F(" Caution here, message could've been compromised, never use user's input as message "),
|
|
526
|
-
V("p", {
|
|
527
|
-
class: B(r(f).e("content")),
|
|
528
|
-
innerHTML: v.message
|
|
529
|
-
}, null, 10, ["innerHTML"])
|
|
530
|
-
], 2112)) : (i(), h("p", {
|
|
531
|
-
key: 0,
|
|
532
|
-
class: B(r(f).e("content"))
|
|
533
|
-
}, A(v.message), 3))
|
|
534
|
-
]),
|
|
535
|
-
v.showClose ? (i(), q(r(ke), {
|
|
536
|
-
key: 2,
|
|
537
|
-
class: B(r(f).e("closeBtn")),
|
|
538
|
-
onClick: ne(s, ["stop"])
|
|
539
|
-
}, {
|
|
540
|
-
default: g(() => [
|
|
541
|
-
p(r(n))
|
|
542
|
-
]),
|
|
543
|
-
_: 1
|
|
544
|
-
}, 8, ["class", "onClick"])) : F("v-if", !0)
|
|
545
|
-
], 46, ["id"]), [
|
|
546
|
-
[ze, E.value]
|
|
547
|
-
])
|
|
548
|
-
]),
|
|
549
|
-
_: 3
|
|
550
|
-
}, 8, ["name", "onBeforeLeave", "onAfterLeave"]));
|
|
551
|
-
}
|
|
552
|
-
});
|
|
553
|
-
var ct = /* @__PURE__ */ oe(dt, [["__file", "message.vue"]]);
|
|
554
|
-
let pt = 1;
|
|
555
|
-
const ol = (a) => {
|
|
556
|
-
const m = !a || ie(a) || Ae(a) || be(a) ? { message: a } : a, l = {
|
|
557
|
-
...G,
|
|
558
|
-
...m
|
|
559
|
-
};
|
|
560
|
-
if (!l.appendTo)
|
|
561
|
-
l.appendTo = document.body;
|
|
562
|
-
else if (ie(l.appendTo)) {
|
|
563
|
-
let n = document.querySelector(l.appendTo);
|
|
564
|
-
il(n) || (qe("ElMessage", "the appendTo option is not an HTMLElement. Falling back to document.body."), n = document.body), l.appendTo = n;
|
|
565
|
-
}
|
|
566
|
-
return de(Q.grouping) && !l.grouping && (l.grouping = Q.grouping), W(Q.duration) && l.duration === 3e3 && (l.duration = Q.duration), W(Q.offset) && l.offset === 16 && (l.offset = Q.offset), de(Q.showClose) && !l.showClose && (l.showClose = Q.showClose), l;
|
|
567
|
-
}, ft = (a) => {
|
|
568
|
-
const m = K.indexOf(a);
|
|
569
|
-
if (m === -1)
|
|
570
|
-
return;
|
|
571
|
-
K.splice(m, 1);
|
|
572
|
-
const { handler: l } = a;
|
|
573
|
-
l.close();
|
|
574
|
-
}, mt = ({ appendTo: a, ...m }, l) => {
|
|
575
|
-
const n = `message_${pt++}`, f = m.onClose, C = document.createElement("div"), o = {
|
|
576
|
-
...m,
|
|
577
|
-
id: n,
|
|
578
|
-
onClose: () => {
|
|
579
|
-
f == null || f(), ft(b);
|
|
580
|
-
},
|
|
581
|
-
onDestroy: () => {
|
|
582
|
-
Se(null, C);
|
|
583
|
-
}
|
|
584
|
-
}, t = p(ct, o, be(o.message) || Ae(o.message) ? {
|
|
585
|
-
default: be(o.message) ? o.message : () => o.message
|
|
586
|
-
} : null);
|
|
587
|
-
t.appContext = l || le._context, Se(t, C), a.appendChild(C.firstElementChild);
|
|
588
|
-
const w = t.component, b = {
|
|
589
|
-
id: n,
|
|
590
|
-
vnode: t,
|
|
591
|
-
vm: w,
|
|
592
|
-
handler: {
|
|
593
|
-
close: () => {
|
|
594
|
-
w.exposed.visible.value = !1;
|
|
595
|
-
}
|
|
596
|
-
},
|
|
597
|
-
props: t.component.props
|
|
598
|
-
};
|
|
599
|
-
return b;
|
|
600
|
-
}, le = (a = {}, m) => {
|
|
601
|
-
if (!Le)
|
|
602
|
-
return { close: () => {
|
|
603
|
-
} };
|
|
604
|
-
const l = ol(a);
|
|
605
|
-
if (l.grouping && K.length) {
|
|
606
|
-
const f = K.find(({ vnode: C }) => {
|
|
607
|
-
var o;
|
|
608
|
-
return ((o = C.props) == null ? void 0 : o.message) === l.message;
|
|
609
|
-
});
|
|
610
|
-
if (f)
|
|
611
|
-
return f.props.repeatNum += 1, f.props.type = l.type, f.handler;
|
|
612
|
-
}
|
|
613
|
-
if (W(Q.max) && K.length >= Q.max)
|
|
614
|
-
return { close: () => {
|
|
615
|
-
} };
|
|
616
|
-
const n = mt(l, m);
|
|
617
|
-
return K.push(n), n.handler;
|
|
618
|
-
};
|
|
619
|
-
al.forEach((a) => {
|
|
620
|
-
le[a] = (m = {}, l) => {
|
|
621
|
-
const n = ol(m);
|
|
622
|
-
return le({ ...n, type: a }, l);
|
|
623
|
-
};
|
|
624
|
-
});
|
|
625
|
-
function vt(a) {
|
|
626
|
-
for (const m of K)
|
|
627
|
-
(!a || a === m.props.type) && m.handler.close();
|
|
628
|
-
}
|
|
629
|
-
le.closeAll = vt;
|
|
630
|
-
le._context = null;
|
|
631
|
-
const H = dl(le, "$message");
|
|
632
|
-
const Me = {
|
|
267
|
+
var Pe = /* @__PURE__ */ ie($l, [["__file", "radio-group.vue"]]);
|
|
268
|
+
const ye = Ye(kl, {
|
|
269
|
+
RadioButton: ze,
|
|
270
|
+
RadioGroup: Pe
|
|
271
|
+
}), ge = Oe(Pe), wl = Oe(ze);
|
|
272
|
+
const xe = {
|
|
633
273
|
// 品种市场 [选项: 前端默认]
|
|
634
274
|
varietyMarket: {
|
|
635
275
|
show: !0,
|
|
@@ -1154,49 +794,49 @@ const Me = {
|
|
|
1154
794
|
}
|
|
1155
795
|
]
|
|
1156
796
|
}
|
|
1157
|
-
},
|
|
1158
|
-
!
|
|
1159
|
-
},
|
|
1160
|
-
const
|
|
1161
|
-
return
|
|
1162
|
-
},
|
|
797
|
+
}, Tl = (d, V, k) => {
|
|
798
|
+
!V[0] && V[0] !== 0 && !V[1] && V[1] !== 0 ? k(new Error("至少填写一个分数")) : k();
|
|
799
|
+
}, Ve = (d) => {
|
|
800
|
+
const V = /(条件(\d+))/g;
|
|
801
|
+
return d.match(V) || [];
|
|
802
|
+
}, Cl = {
|
|
1163
803
|
__name: "FactorDescription",
|
|
1164
|
-
props: /* @__PURE__ */
|
|
804
|
+
props: /* @__PURE__ */ ne({
|
|
1165
805
|
data: { type: Array, default: [] }
|
|
1166
806
|
}, {
|
|
1167
807
|
visible: { default: !1 },
|
|
1168
808
|
visibleModifiers: {}
|
|
1169
809
|
}),
|
|
1170
810
|
emits: ["update:visible"],
|
|
1171
|
-
setup(
|
|
1172
|
-
const
|
|
1173
|
-
return (
|
|
1174
|
-
const
|
|
1175
|
-
return
|
|
1176
|
-
modelValue:
|
|
1177
|
-
"onUpdate:modelValue":
|
|
811
|
+
setup(d) {
|
|
812
|
+
const V = ae(d, "visible");
|
|
813
|
+
return (k, s) => {
|
|
814
|
+
const x = Je, R = He, i = ve;
|
|
815
|
+
return o(), D(i, {
|
|
816
|
+
modelValue: V.value,
|
|
817
|
+
"onUpdate:modelValue": s[0] || (s[0] = (l) => V.value = l),
|
|
1178
818
|
title: "因子使用说明",
|
|
1179
819
|
width: "1000",
|
|
1180
820
|
"align-center": "",
|
|
1181
821
|
"destroy-on-close": ""
|
|
1182
822
|
}, {
|
|
1183
|
-
default:
|
|
1184
|
-
|
|
1185
|
-
data:
|
|
823
|
+
default: p(() => [
|
|
824
|
+
u(R, {
|
|
825
|
+
data: d.data,
|
|
1186
826
|
border: "",
|
|
1187
827
|
height: "500"
|
|
1188
828
|
}, {
|
|
1189
|
-
default:
|
|
1190
|
-
|
|
829
|
+
default: p(() => [
|
|
830
|
+
u(x, {
|
|
1191
831
|
prop: "factorName",
|
|
1192
832
|
label: "因子名称",
|
|
1193
833
|
width: "200"
|
|
1194
834
|
}),
|
|
1195
|
-
|
|
835
|
+
u(x, {
|
|
1196
836
|
prop: "factorDesc",
|
|
1197
837
|
label: "因子说明"
|
|
1198
838
|
}),
|
|
1199
|
-
|
|
839
|
+
u(x, {
|
|
1200
840
|
prop: "factorScoreDefine",
|
|
1201
841
|
label: "分值定义"
|
|
1202
842
|
})
|
|
@@ -1209,9 +849,9 @@ const Me = {
|
|
|
1209
849
|
};
|
|
1210
850
|
}
|
|
1211
851
|
};
|
|
1212
|
-
const
|
|
852
|
+
const Be = (d) => (ce("data-v-ef576faa"), d = d(), pe(), d), Sl = { class: "factor-screen" }, Ul = { class: "custom-header" }, El = ["id"], Rl = { class: "form-row" }, Ml = { class: "index" }, ql = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Dl = /* @__PURE__ */ Be(() => /* @__PURE__ */ _("span", null, "~", -1)), Fl = /* @__PURE__ */ Be(() => /* @__PURE__ */ _("span", null, "&&代表and,||代表or", -1)), Ll = { class: "dialog-footer" }, Nl = {
|
|
1213
853
|
__name: "index",
|
|
1214
|
-
props: /* @__PURE__ */
|
|
854
|
+
props: /* @__PURE__ */ ne({
|
|
1215
855
|
config: {
|
|
1216
856
|
type: Object,
|
|
1217
857
|
default: {
|
|
@@ -1240,12 +880,12 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
|
|
|
1240
880
|
dataModifiers: {}
|
|
1241
881
|
}),
|
|
1242
882
|
emits: ["update:data"],
|
|
1243
|
-
setup(
|
|
1244
|
-
const
|
|
883
|
+
setup(d) {
|
|
884
|
+
const V = d, k = ae(d, "data"), s = A(!1), x = A(!1), R = A(null), i = A({
|
|
1245
885
|
// 筛选因子列表
|
|
1246
886
|
list: [
|
|
1247
887
|
{
|
|
1248
|
-
cycle:
|
|
888
|
+
cycle: V.config.cycleDefault ?? null,
|
|
1249
889
|
// 周期
|
|
1250
890
|
factor: null,
|
|
1251
891
|
// 因子
|
|
@@ -1257,81 +897,81 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
|
|
|
1257
897
|
sqlEnable: 0,
|
|
1258
898
|
// SQL语句
|
|
1259
899
|
sqlValue: null
|
|
1260
|
-
}),
|
|
1261
|
-
const { list:
|
|
1262
|
-
|
|
1263
|
-
list: JSON.parse(JSON.stringify(
|
|
900
|
+
}), l = () => {
|
|
901
|
+
const { list: r, sqlEnable: e, sqlValue: h } = k.value;
|
|
902
|
+
i.value = {
|
|
903
|
+
list: JSON.parse(JSON.stringify(r)),
|
|
1264
904
|
sqlEnable: e,
|
|
1265
|
-
sqlValue:
|
|
1266
|
-
},
|
|
1267
|
-
},
|
|
1268
|
-
|
|
1269
|
-
const { list: e, sqlEnable:
|
|
1270
|
-
if (
|
|
1271
|
-
if (
|
|
1272
|
-
if (!
|
|
1273
|
-
return
|
|
1274
|
-
const
|
|
1275
|
-
if (
|
|
1276
|
-
return
|
|
905
|
+
sqlValue: h
|
|
906
|
+
}, i.value.list.length || y(), s.value = !0;
|
|
907
|
+
}, S = () => {
|
|
908
|
+
R.value.validate((r) => {
|
|
909
|
+
const { list: e, sqlEnable: h, sqlValue: g } = i.value;
|
|
910
|
+
if (r) {
|
|
911
|
+
if (h) {
|
|
912
|
+
if (!g)
|
|
913
|
+
return j.error("SQL语句不能为空");
|
|
914
|
+
const v = Ve(g), T = e.map((t, $) => `条件${$ + 1}`), w = v.filter((t) => !T.includes(t));
|
|
915
|
+
if (w.length)
|
|
916
|
+
return j.error(`请检查SQL语句, 不存在[${w}]`);
|
|
1277
917
|
}
|
|
1278
|
-
|
|
918
|
+
k.value = {
|
|
1279
919
|
list: JSON.parse(JSON.stringify(e)),
|
|
1280
|
-
sqlEnable:
|
|
1281
|
-
sqlValue:
|
|
1282
|
-
},
|
|
920
|
+
sqlEnable: h,
|
|
921
|
+
sqlValue: g
|
|
922
|
+
}, s.value = !1;
|
|
1283
923
|
}
|
|
1284
924
|
});
|
|
1285
|
-
},
|
|
1286
|
-
|
|
1287
|
-
},
|
|
1288
|
-
switch (
|
|
925
|
+
}, M = (r) => {
|
|
926
|
+
i.value.list.splice(r, 1);
|
|
927
|
+
}, y = (r) => {
|
|
928
|
+
switch (r) {
|
|
1289
929
|
case "compare": {
|
|
1290
|
-
|
|
930
|
+
i.value.list.push({
|
|
1291
931
|
key: "compare",
|
|
1292
|
-
cycle:
|
|
932
|
+
cycle: V.config.cycleDefault ?? null,
|
|
1293
933
|
factor: null,
|
|
1294
934
|
compareType: ">",
|
|
1295
|
-
cycle2:
|
|
935
|
+
cycle2: V.config.cycleDefault ?? null,
|
|
1296
936
|
factor2: null
|
|
1297
937
|
});
|
|
1298
938
|
break;
|
|
1299
939
|
}
|
|
1300
940
|
default: {
|
|
1301
|
-
|
|
1302
|
-
cycle:
|
|
941
|
+
i.value.list.push({
|
|
942
|
+
cycle: V.config.cycleDefault ?? null,
|
|
1303
943
|
factor: null,
|
|
1304
944
|
score: [null, null]
|
|
1305
945
|
});
|
|
1306
946
|
break;
|
|
1307
947
|
}
|
|
1308
948
|
}
|
|
1309
|
-
},
|
|
1310
|
-
|
|
1311
|
-
if (
|
|
1312
|
-
if (
|
|
1313
|
-
const e =
|
|
1314
|
-
|
|
949
|
+
}, n = () => {
|
|
950
|
+
R.value.validate((r) => {
|
|
951
|
+
if (r)
|
|
952
|
+
if (i.value.sqlValue) {
|
|
953
|
+
const e = Ve(i.value.sqlValue);
|
|
954
|
+
i.value.sqlValue = i.value.list.reduce((h, g, v) => (e.includes(`条件${v + 1}`) || (h += `&& 条件${v + 1} `), h), i.value.sqlValue);
|
|
1315
955
|
} else
|
|
1316
|
-
|
|
956
|
+
i.value.sqlValue = i.value.list.reduce((e, h, g) => (g === 0 ? e += `条件${g + 1} ` : e += `&& 条件${g + 1} `, e), "");
|
|
1317
957
|
});
|
|
1318
|
-
},
|
|
1319
|
-
switch (
|
|
958
|
+
}, C = (r) => {
|
|
959
|
+
switch (r.key) {
|
|
1320
960
|
case "compare": {
|
|
1321
|
-
const { cycle: e, factor:
|
|
1322
|
-
let
|
|
1323
|
-
return
|
|
961
|
+
const { cycle: e, factor: h, compareType: g, cycle2: v, factor2: T } = r;
|
|
962
|
+
let w = "";
|
|
963
|
+
return w += ` ${V.config.cycleOptions.find(({ value: t }) => t === e).label}`, w += ` ${V.config.factorOptions.find(({ value: t }) => t === h).label}`, w += ` ${g}`, w += ` ${V.config.cycleOptions.find(({ value: t }) => t === v).label}`, w += ` ${V.config.factorOptions.find(({ value: t }) => t === T).label}`, w;
|
|
1324
964
|
}
|
|
1325
965
|
default: {
|
|
1326
|
-
const { cycle: e, factor:
|
|
1327
|
-
let
|
|
1328
|
-
return
|
|
966
|
+
const { cycle: e, factor: h, score: g } = r;
|
|
967
|
+
let v = "";
|
|
968
|
+
return v += ` ${V.config.cycleOptions.find(({ value: T }) => T === e).label}`, v += ` ${V.config.factorOptions.find(({ value: T }) => T === h).label}`, v += ` ${g[0] || g[0] === 0 ? `${g[0]}分` : "∞"}`, v += " ~", v += ` ${g[1] || g[1] === 0 ? `${g[1]}分` : "∞"}`, v;
|
|
1329
969
|
}
|
|
1330
970
|
}
|
|
1331
|
-
},
|
|
1332
|
-
switch (
|
|
971
|
+
}, q = (r, e) => {
|
|
972
|
+
switch (r) {
|
|
1333
973
|
case "sqlTag": {
|
|
1334
|
-
|
|
974
|
+
k.value = {
|
|
1335
975
|
list: [],
|
|
1336
976
|
sqlEnable: 0,
|
|
1337
977
|
sqlValue: null
|
|
@@ -1339,85 +979,86 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
|
|
|
1339
979
|
break;
|
|
1340
980
|
}
|
|
1341
981
|
case "factorTag": {
|
|
1342
|
-
|
|
982
|
+
k.value.list.splice(e, 1);
|
|
1343
983
|
break;
|
|
1344
984
|
}
|
|
1345
985
|
}
|
|
1346
986
|
};
|
|
1347
|
-
return (
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
987
|
+
return (r, e) => {
|
|
988
|
+
var Z;
|
|
989
|
+
const h = Ae, g = qe, v = Re, T = vl, w = rl, t = Ue, $ = Ee, O = Ke, c = Ie, B = ye, a = ge, Q = Se, J = Qe, X = ve;
|
|
990
|
+
return o(), b(E, null, [
|
|
991
|
+
_("div", Sl, [
|
|
992
|
+
_("div", null, [
|
|
993
|
+
k.value.sqlEnable && k.value.sqlValue ? (o(), D(g, {
|
|
1353
994
|
key: 0,
|
|
1354
995
|
closable: "",
|
|
1355
996
|
type: "info",
|
|
1356
|
-
title:
|
|
1357
|
-
onClose: e[0] || (e[0] = (
|
|
997
|
+
title: k.value.sqlValue,
|
|
998
|
+
onClose: e[0] || (e[0] = (I) => q("sqlTag"))
|
|
1358
999
|
}, {
|
|
1359
|
-
default:
|
|
1360
|
-
|
|
1000
|
+
default: p(() => [
|
|
1001
|
+
u(h, {
|
|
1361
1002
|
type: "info",
|
|
1362
1003
|
truncated: "",
|
|
1363
1004
|
style: { "max-width": "500px" }
|
|
1364
1005
|
}, {
|
|
1365
|
-
default:
|
|
1366
|
-
|
|
1006
|
+
default: p(() => [
|
|
1007
|
+
F(G(k.value.sqlValue), 1)
|
|
1367
1008
|
]),
|
|
1368
1009
|
_: 1
|
|
1369
1010
|
})
|
|
1370
1011
|
]),
|
|
1371
1012
|
_: 1
|
|
1372
|
-
}, 8, ["title"])) :
|
|
1373
|
-
!
|
|
1013
|
+
}, 8, ["title"])) : z("", !0),
|
|
1014
|
+
!k.value.sqlEnable && k.value.list.length ? (o(!0), b(E, { key: 1 }, N(k.value.list, (I, U) => (o(), D(g, {
|
|
1374
1015
|
closable: "",
|
|
1375
1016
|
type: "info",
|
|
1376
|
-
onClose: (
|
|
1017
|
+
onClose: (f) => q("factorTag", U)
|
|
1377
1018
|
}, {
|
|
1378
|
-
default:
|
|
1379
|
-
|
|
1019
|
+
default: p(() => [
|
|
1020
|
+
F(G(C(I)), 1)
|
|
1380
1021
|
]),
|
|
1381
1022
|
_: 2
|
|
1382
|
-
}, 1032, ["onClose"]))), 256)) :
|
|
1383
|
-
|
|
1023
|
+
}, 1032, ["onClose"]))), 256)) : z("", !0),
|
|
1024
|
+
u(v, {
|
|
1384
1025
|
class: "screen-btn",
|
|
1385
1026
|
type: "primary",
|
|
1386
1027
|
plain: "",
|
|
1387
1028
|
size: "small",
|
|
1388
|
-
icon:
|
|
1389
|
-
onClick:
|
|
1029
|
+
icon: m(ue),
|
|
1030
|
+
onClick: l
|
|
1390
1031
|
}, {
|
|
1391
|
-
default:
|
|
1392
|
-
|
|
1032
|
+
default: p(() => [
|
|
1033
|
+
F(" 添加因子 ")
|
|
1393
1034
|
]),
|
|
1394
1035
|
_: 1
|
|
1395
1036
|
}, 8, ["icon"])
|
|
1396
1037
|
]),
|
|
1397
|
-
|
|
1398
|
-
modelValue:
|
|
1399
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
1038
|
+
u(X, {
|
|
1039
|
+
modelValue: s.value,
|
|
1040
|
+
"onUpdate:modelValue": e[5] || (e[5] = (I) => s.value = I),
|
|
1400
1041
|
width: "602",
|
|
1401
1042
|
"align-center": "",
|
|
1402
1043
|
"destroy-on-close": ""
|
|
1403
1044
|
}, {
|
|
1404
|
-
header:
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
id:
|
|
1408
|
-
class:
|
|
1409
|
-
}, " 因子筛选 ", 10,
|
|
1410
|
-
|
|
1045
|
+
header: p(({ titleId: I, titleClass: U }) => [
|
|
1046
|
+
_("div", Ul, [
|
|
1047
|
+
_("span", {
|
|
1048
|
+
id: I,
|
|
1049
|
+
class: Y(U)
|
|
1050
|
+
}, " 因子筛选 ", 10, El),
|
|
1051
|
+
u(w, {
|
|
1411
1052
|
effect: "dark",
|
|
1412
1053
|
content: "点击查看: 因子使用说明",
|
|
1413
1054
|
placement: "right"
|
|
1414
1055
|
}, {
|
|
1415
|
-
default:
|
|
1416
|
-
|
|
1417
|
-
onClick: e[1] || (e[1] = (
|
|
1056
|
+
default: p(() => [
|
|
1057
|
+
u(T, {
|
|
1058
|
+
onClick: e[1] || (e[1] = (f) => x.value = !0)
|
|
1418
1059
|
}, {
|
|
1419
|
-
default:
|
|
1420
|
-
|
|
1060
|
+
default: p(() => [
|
|
1061
|
+
u(m(cl))
|
|
1421
1062
|
]),
|
|
1422
1063
|
_: 1
|
|
1423
1064
|
})
|
|
@@ -1426,92 +1067,95 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
|
|
|
1426
1067
|
})
|
|
1427
1068
|
])
|
|
1428
1069
|
]),
|
|
1429
|
-
footer:
|
|
1430
|
-
|
|
1431
|
-
|
|
1070
|
+
footer: p(() => [
|
|
1071
|
+
_("div", Ll, [
|
|
1072
|
+
u(v, {
|
|
1432
1073
|
type: "primary",
|
|
1433
|
-
onClick:
|
|
1074
|
+
onClick: S
|
|
1434
1075
|
}, {
|
|
1435
|
-
default:
|
|
1436
|
-
|
|
1076
|
+
default: p(() => [
|
|
1077
|
+
F("确定")
|
|
1437
1078
|
]),
|
|
1438
1079
|
_: 1
|
|
1439
1080
|
})
|
|
1440
1081
|
])
|
|
1441
1082
|
]),
|
|
1442
|
-
default:
|
|
1443
|
-
|
|
1083
|
+
default: p(() => [
|
|
1084
|
+
u(J, {
|
|
1444
1085
|
ref_key: "dialogFormRef",
|
|
1445
|
-
ref:
|
|
1446
|
-
model:
|
|
1086
|
+
ref: R,
|
|
1087
|
+
model: i.value
|
|
1447
1088
|
}, {
|
|
1448
|
-
default:
|
|
1449
|
-
(
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1089
|
+
default: p(() => [
|
|
1090
|
+
(o(!0), b(E, null, N(i.value.list, (I, U) => (o(), b("div", Rl, [
|
|
1091
|
+
_("span", Ml, G(`条件${U + 1}`), 1),
|
|
1092
|
+
I.key === "compare" ? (o(), b(E, { key: 0 }, [
|
|
1093
|
+
d.config.cycleShow ? (o(), D(O, {
|
|
1453
1094
|
key: 0,
|
|
1454
|
-
prop: "list." +
|
|
1095
|
+
prop: "list." + U + ".cycle",
|
|
1455
1096
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
1456
1097
|
style: { width: "100px", "margin-right": "10px" }
|
|
1457
1098
|
}, {
|
|
1458
|
-
default:
|
|
1459
|
-
|
|
1460
|
-
modelValue:
|
|
1461
|
-
"onUpdate:modelValue": (
|
|
1099
|
+
default: p(() => [
|
|
1100
|
+
u($, {
|
|
1101
|
+
modelValue: I.cycle,
|
|
1102
|
+
"onUpdate:modelValue": (f) => I.cycle = f,
|
|
1462
1103
|
placeholder: "选择周期",
|
|
1463
1104
|
size: "small"
|
|
1464
1105
|
}, {
|
|
1465
|
-
default:
|
|
1466
|
-
(
|
|
1467
|
-
label:
|
|
1468
|
-
value:
|
|
1469
|
-
key:
|
|
1106
|
+
default: p(() => [
|
|
1107
|
+
(o(!0), b(E, null, N(d.config.cycleOptions, ({ label: f, value: L }) => (o(), D(t, {
|
|
1108
|
+
label: f,
|
|
1109
|
+
value: L,
|
|
1110
|
+
key: L
|
|
1470
1111
|
}, null, 8, ["label", "value"]))), 128))
|
|
1471
1112
|
]),
|
|
1472
1113
|
_: 2
|
|
1473
1114
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1474
1115
|
]),
|
|
1475
1116
|
_: 2
|
|
1476
|
-
}, 1032, ["prop"])) :
|
|
1477
|
-
|
|
1478
|
-
prop: "list." +
|
|
1117
|
+
}, 1032, ["prop"])) : z("", !0),
|
|
1118
|
+
u(O, {
|
|
1119
|
+
prop: "list." + U + ".factor",
|
|
1479
1120
|
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
1480
1121
|
style: { width: "100px", "margin-right": "10px" }
|
|
1481
1122
|
}, {
|
|
1482
|
-
default:
|
|
1483
|
-
|
|
1484
|
-
modelValue:
|
|
1485
|
-
"onUpdate:modelValue": (
|
|
1123
|
+
default: p(() => [
|
|
1124
|
+
u($, {
|
|
1125
|
+
modelValue: I.factor,
|
|
1126
|
+
"onUpdate:modelValue": (f) => I.factor = f,
|
|
1486
1127
|
placeholder: "选择因子",
|
|
1487
1128
|
filterable: "",
|
|
1488
1129
|
size: "small",
|
|
1489
1130
|
"no-match-text": "无匹配数据"
|
|
1490
1131
|
}, {
|
|
1491
|
-
default:
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
value:
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1132
|
+
default: p(() => {
|
|
1133
|
+
var f;
|
|
1134
|
+
return [
|
|
1135
|
+
(o(!0), b(E, null, N((f = d.config.factorOptions) == null ? void 0 : f.filter((L) => [4].includes(L.type)), ({ label: L, value: K }) => (o(), D(t, {
|
|
1136
|
+
label: L,
|
|
1137
|
+
value: K,
|
|
1138
|
+
key: K
|
|
1139
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1140
|
+
];
|
|
1141
|
+
}),
|
|
1498
1142
|
_: 2
|
|
1499
1143
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1500
1144
|
]),
|
|
1501
1145
|
_: 2
|
|
1502
1146
|
}, 1032, ["prop"]),
|
|
1503
|
-
|
|
1504
|
-
default:
|
|
1505
|
-
|
|
1506
|
-
modelValue:
|
|
1507
|
-
"onUpdate:modelValue": (
|
|
1147
|
+
u(O, { style: { width: "52px", "margin-right": "10px" } }, {
|
|
1148
|
+
default: p(() => [
|
|
1149
|
+
u($, {
|
|
1150
|
+
modelValue: I.compareType,
|
|
1151
|
+
"onUpdate:modelValue": (f) => I.compareType = f,
|
|
1508
1152
|
size: "small"
|
|
1509
1153
|
}, {
|
|
1510
|
-
default:
|
|
1511
|
-
(
|
|
1512
|
-
label:
|
|
1513
|
-
value:
|
|
1514
|
-
key:
|
|
1154
|
+
default: p(() => [
|
|
1155
|
+
(o(), b(E, null, N([">", ">=", "<", "<="], (f) => u(t, {
|
|
1156
|
+
label: f,
|
|
1157
|
+
value: f,
|
|
1158
|
+
key: f
|
|
1515
1159
|
}, null, 8, ["label", "value"])), 64))
|
|
1516
1160
|
]),
|
|
1517
1161
|
_: 2
|
|
@@ -1519,126 +1163,132 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
|
|
|
1519
1163
|
]),
|
|
1520
1164
|
_: 2
|
|
1521
1165
|
}, 1024),
|
|
1522
|
-
|
|
1166
|
+
d.config.cycleShow ? (o(), D(O, {
|
|
1523
1167
|
key: 1,
|
|
1524
|
-
prop: "list." +
|
|
1168
|
+
prop: "list." + U + ".cycle2",
|
|
1525
1169
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
1526
1170
|
style: { width: "100px", "margin-right": "10px" }
|
|
1527
1171
|
}, {
|
|
1528
|
-
default:
|
|
1529
|
-
|
|
1530
|
-
modelValue:
|
|
1531
|
-
"onUpdate:modelValue": (
|
|
1172
|
+
default: p(() => [
|
|
1173
|
+
u($, {
|
|
1174
|
+
modelValue: I.cycle2,
|
|
1175
|
+
"onUpdate:modelValue": (f) => I.cycle2 = f,
|
|
1532
1176
|
placeholder: "选择周期",
|
|
1533
1177
|
size: "small"
|
|
1534
1178
|
}, {
|
|
1535
|
-
default:
|
|
1536
|
-
(
|
|
1537
|
-
label:
|
|
1538
|
-
value:
|
|
1539
|
-
key:
|
|
1179
|
+
default: p(() => [
|
|
1180
|
+
(o(!0), b(E, null, N(d.config.cycleOptions, ({ label: f, value: L }) => (o(), D(t, {
|
|
1181
|
+
label: f,
|
|
1182
|
+
value: L,
|
|
1183
|
+
key: L
|
|
1540
1184
|
}, null, 8, ["label", "value"]))), 128))
|
|
1541
1185
|
]),
|
|
1542
1186
|
_: 2
|
|
1543
1187
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1544
1188
|
]),
|
|
1545
1189
|
_: 2
|
|
1546
|
-
}, 1032, ["prop"])) :
|
|
1547
|
-
|
|
1548
|
-
prop: "list." +
|
|
1190
|
+
}, 1032, ["prop"])) : z("", !0),
|
|
1191
|
+
u(O, {
|
|
1192
|
+
prop: "list." + U + ".factor2",
|
|
1549
1193
|
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
1550
1194
|
style: { width: "100px", "margin-right": "10px" }
|
|
1551
1195
|
}, {
|
|
1552
|
-
default:
|
|
1553
|
-
|
|
1554
|
-
modelValue:
|
|
1555
|
-
"onUpdate:modelValue": (
|
|
1196
|
+
default: p(() => [
|
|
1197
|
+
u($, {
|
|
1198
|
+
modelValue: I.factor2,
|
|
1199
|
+
"onUpdate:modelValue": (f) => I.factor2 = f,
|
|
1556
1200
|
placeholder: "选择因子",
|
|
1557
1201
|
filterable: "",
|
|
1558
1202
|
size: "small",
|
|
1559
1203
|
"no-match-text": "无匹配数据"
|
|
1560
1204
|
}, {
|
|
1561
|
-
default:
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
value:
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1205
|
+
default: p(() => {
|
|
1206
|
+
var f;
|
|
1207
|
+
return [
|
|
1208
|
+
(o(!0), b(E, null, N((f = d.config.factorOptions) == null ? void 0 : f.filter((L) => [4].includes(L.type)), ({ label: L, value: K }) => (o(), D(t, {
|
|
1209
|
+
label: L,
|
|
1210
|
+
value: K,
|
|
1211
|
+
key: K
|
|
1212
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1213
|
+
];
|
|
1214
|
+
}),
|
|
1568
1215
|
_: 2
|
|
1569
1216
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1570
1217
|
]),
|
|
1571
1218
|
_: 2
|
|
1572
1219
|
}, 1032, ["prop"])
|
|
1573
|
-
], 64)) : (
|
|
1574
|
-
|
|
1220
|
+
], 64)) : (o(), b(E, { key: 1 }, [
|
|
1221
|
+
d.config.cycleShow ? (o(), D(O, {
|
|
1575
1222
|
key: 0,
|
|
1576
|
-
prop: "list." +
|
|
1223
|
+
prop: "list." + U + ".cycle",
|
|
1577
1224
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
1578
1225
|
style: { width: "100px", "margin-right": "10px" }
|
|
1579
1226
|
}, {
|
|
1580
|
-
default:
|
|
1581
|
-
|
|
1582
|
-
modelValue:
|
|
1583
|
-
"onUpdate:modelValue": (
|
|
1227
|
+
default: p(() => [
|
|
1228
|
+
u($, {
|
|
1229
|
+
modelValue: I.cycle,
|
|
1230
|
+
"onUpdate:modelValue": (f) => I.cycle = f,
|
|
1584
1231
|
placeholder: "选择周期",
|
|
1585
1232
|
size: "small"
|
|
1586
1233
|
}, {
|
|
1587
|
-
default:
|
|
1588
|
-
(
|
|
1589
|
-
label:
|
|
1590
|
-
value:
|
|
1591
|
-
key:
|
|
1234
|
+
default: p(() => [
|
|
1235
|
+
(o(!0), b(E, null, N(d.config.cycleOptions, ({ label: f, value: L }) => (o(), D(t, {
|
|
1236
|
+
label: f,
|
|
1237
|
+
value: L,
|
|
1238
|
+
key: L
|
|
1592
1239
|
}, null, 8, ["label", "value"]))), 128))
|
|
1593
1240
|
]),
|
|
1594
1241
|
_: 2
|
|
1595
1242
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1596
1243
|
]),
|
|
1597
1244
|
_: 2
|
|
1598
|
-
}, 1032, ["prop"])) :
|
|
1599
|
-
|
|
1600
|
-
prop: "list." +
|
|
1245
|
+
}, 1032, ["prop"])) : z("", !0),
|
|
1246
|
+
u(O, {
|
|
1247
|
+
prop: "list." + U + ".factor",
|
|
1601
1248
|
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
1602
1249
|
style: { width: "100px", "margin-right": "10px" }
|
|
1603
1250
|
}, {
|
|
1604
|
-
default:
|
|
1605
|
-
|
|
1606
|
-
modelValue:
|
|
1607
|
-
"onUpdate:modelValue": (
|
|
1251
|
+
default: p(() => [
|
|
1252
|
+
u($, {
|
|
1253
|
+
modelValue: I.factor,
|
|
1254
|
+
"onUpdate:modelValue": (f) => I.factor = f,
|
|
1608
1255
|
placeholder: "选择因子",
|
|
1609
1256
|
filterable: "",
|
|
1610
1257
|
size: "small",
|
|
1611
1258
|
"no-match-text": "无匹配数据"
|
|
1612
1259
|
}, {
|
|
1613
|
-
default:
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
value:
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1260
|
+
default: p(() => {
|
|
1261
|
+
var f;
|
|
1262
|
+
return [
|
|
1263
|
+
(o(!0), b(E, null, N((f = d.config.factorOptions) == null ? void 0 : f.filter((L) => [1, 3].includes(L.type)), ({ label: L, value: K }) => (o(), D(t, {
|
|
1264
|
+
label: L,
|
|
1265
|
+
value: K,
|
|
1266
|
+
key: K
|
|
1267
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1268
|
+
];
|
|
1269
|
+
}),
|
|
1620
1270
|
_: 2
|
|
1621
1271
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1622
1272
|
]),
|
|
1623
1273
|
_: 2
|
|
1624
1274
|
}, 1032, ["prop"]),
|
|
1625
|
-
|
|
1626
|
-
prop: "list." +
|
|
1627
|
-
rules: { validator:
|
|
1275
|
+
u(O, {
|
|
1276
|
+
prop: "list." + U + ".score",
|
|
1277
|
+
rules: { validator: m(Tl), trigger: "blur" },
|
|
1628
1278
|
style: { width: "200px", "margin-right": "10px" }
|
|
1629
1279
|
}, {
|
|
1630
|
-
default:
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
modelValue:
|
|
1634
|
-
"onUpdate:modelValue": (
|
|
1280
|
+
default: p(() => [
|
|
1281
|
+
_("div", ql, [
|
|
1282
|
+
u(c, {
|
|
1283
|
+
modelValue: I.score[0],
|
|
1284
|
+
"onUpdate:modelValue": (f) => I.score[0] = f,
|
|
1635
1285
|
size: "small",
|
|
1636
1286
|
"controls-position": "right"
|
|
1637
1287
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
modelValue:
|
|
1641
|
-
"onUpdate:modelValue": (
|
|
1288
|
+
Dl,
|
|
1289
|
+
u(c, {
|
|
1290
|
+
modelValue: I.score[1],
|
|
1291
|
+
"onUpdate:modelValue": (f) => I.score[1] = f,
|
|
1642
1292
|
size: "small",
|
|
1643
1293
|
"controls-position": "right"
|
|
1644
1294
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -1647,86 +1297,86 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
|
|
|
1647
1297
|
_: 2
|
|
1648
1298
|
}, 1032, ["prop", "rules"])
|
|
1649
1299
|
], 64)),
|
|
1650
|
-
|
|
1651
|
-
onClick: (
|
|
1300
|
+
u(T, {
|
|
1301
|
+
onClick: (f) => M(U)
|
|
1652
1302
|
}, {
|
|
1653
|
-
default:
|
|
1654
|
-
|
|
1303
|
+
default: p(() => [
|
|
1304
|
+
u(m(pl))
|
|
1655
1305
|
]),
|
|
1656
1306
|
_: 2
|
|
1657
1307
|
}, 1032, ["onClick"])
|
|
1658
1308
|
]))), 256)),
|
|
1659
|
-
|
|
1309
|
+
u(v, {
|
|
1660
1310
|
type: "primary",
|
|
1661
1311
|
plain: "",
|
|
1662
1312
|
size: "small",
|
|
1663
|
-
icon:
|
|
1664
|
-
onClick:
|
|
1313
|
+
icon: m(ue),
|
|
1314
|
+
onClick: y,
|
|
1665
1315
|
style: { "margin-bottom": "10px" }
|
|
1666
1316
|
}, {
|
|
1667
|
-
default:
|
|
1668
|
-
|
|
1317
|
+
default: p(() => [
|
|
1318
|
+
F("添加因子")
|
|
1669
1319
|
]),
|
|
1670
1320
|
_: 1
|
|
1671
1321
|
}, 8, ["icon"]),
|
|
1672
|
-
|
|
1322
|
+
u(v, {
|
|
1673
1323
|
type: "primary",
|
|
1674
1324
|
plain: "",
|
|
1675
1325
|
size: "small",
|
|
1676
|
-
icon:
|
|
1677
|
-
onClick: e[2] || (e[2] = (
|
|
1326
|
+
icon: m(ue),
|
|
1327
|
+
onClick: e[2] || (e[2] = (I) => y("compare")),
|
|
1678
1328
|
style: { "margin-bottom": "10px" }
|
|
1679
1329
|
}, {
|
|
1680
|
-
default:
|
|
1681
|
-
|
|
1330
|
+
default: p(() => [
|
|
1331
|
+
F("添加因子对比")
|
|
1682
1332
|
]),
|
|
1683
1333
|
_: 1
|
|
1684
1334
|
}, 8, ["icon"]),
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
default:
|
|
1688
|
-
|
|
1689
|
-
modelValue:
|
|
1690
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
1335
|
+
d.config.sqlShow ? (o(), b(E, { key: 0 }, [
|
|
1336
|
+
u(O, { label: "SQL功能: " }, {
|
|
1337
|
+
default: p(() => [
|
|
1338
|
+
u(a, {
|
|
1339
|
+
modelValue: i.value.sqlEnable,
|
|
1340
|
+
"onUpdate:modelValue": e[3] || (e[3] = (I) => i.value.sqlEnable = I)
|
|
1691
1341
|
}, {
|
|
1692
|
-
default:
|
|
1693
|
-
|
|
1342
|
+
default: p(() => [
|
|
1343
|
+
u(B, {
|
|
1694
1344
|
label: "关闭",
|
|
1695
1345
|
value: 0
|
|
1696
1346
|
}),
|
|
1697
|
-
|
|
1347
|
+
u(B, {
|
|
1698
1348
|
label: "启用",
|
|
1699
1349
|
value: 1
|
|
1700
1350
|
})
|
|
1701
1351
|
]),
|
|
1702
1352
|
_: 1
|
|
1703
1353
|
}, 8, ["modelValue"]),
|
|
1704
|
-
|
|
1354
|
+
i.value.sqlEnable ? (o(), D(v, {
|
|
1705
1355
|
key: 0,
|
|
1706
1356
|
type: "primary",
|
|
1707
1357
|
size: "small",
|
|
1708
|
-
onClick:
|
|
1358
|
+
onClick: n,
|
|
1709
1359
|
style: { "margin-left": "auto" }
|
|
1710
1360
|
}, {
|
|
1711
|
-
default:
|
|
1712
|
-
|
|
1361
|
+
default: p(() => [
|
|
1362
|
+
F("生成SQL")
|
|
1713
1363
|
]),
|
|
1714
1364
|
_: 1
|
|
1715
|
-
})) :
|
|
1365
|
+
})) : z("", !0)
|
|
1716
1366
|
]),
|
|
1717
1367
|
_: 1
|
|
1718
1368
|
}),
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
modelValue:
|
|
1722
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
1369
|
+
i.value.sqlEnable ? (o(), b(E, { key: 0 }, [
|
|
1370
|
+
u(Q, {
|
|
1371
|
+
modelValue: i.value.sqlValue,
|
|
1372
|
+
"onUpdate:modelValue": e[4] || (e[4] = (I) => i.value.sqlValue = I),
|
|
1723
1373
|
autosize: { minRows: 4 },
|
|
1724
1374
|
type: "textarea",
|
|
1725
1375
|
style: { "margin-bottom": "10px" }
|
|
1726
1376
|
}, null, 8, ["modelValue"]),
|
|
1727
|
-
|
|
1728
|
-
], 64)) :
|
|
1729
|
-
], 64)) :
|
|
1377
|
+
Fl
|
|
1378
|
+
], 64)) : z("", !0)
|
|
1379
|
+
], 64)) : z("", !0)
|
|
1730
1380
|
]),
|
|
1731
1381
|
_: 1
|
|
1732
1382
|
}, 8, ["model"])
|
|
@@ -1734,30 +1384,30 @@ const sl = (a) => (he("data-v-3cac46e2"), a = a(), xe(), a), bt = { class: "fact
|
|
|
1734
1384
|
_: 1
|
|
1735
1385
|
}, 8, ["modelValue"])
|
|
1736
1386
|
]),
|
|
1737
|
-
|
|
1738
|
-
visible:
|
|
1739
|
-
"onUpdate:visible": e[6] || (e[6] = (
|
|
1740
|
-
data:
|
|
1387
|
+
u(Cl, {
|
|
1388
|
+
visible: x.value,
|
|
1389
|
+
"onUpdate:visible": e[6] || (e[6] = (I) => x.value = I),
|
|
1390
|
+
data: (Z = d.config.factorDescriptions) == null ? void 0 : Z.filter((I) => [1, 3].includes(I.type))
|
|
1741
1391
|
}, null, 8, ["visible", "data"])
|
|
1742
1392
|
], 64);
|
|
1743
1393
|
};
|
|
1744
1394
|
}
|
|
1745
|
-
},
|
|
1746
|
-
const
|
|
1395
|
+
}, zl = /* @__PURE__ */ me(Nl, [["__scopeId", "data-v-ef576faa"]]);
|
|
1396
|
+
const oe = (d) => (ce("data-v-bdb03941"), d = d(), pe(), d), Pl = {
|
|
1747
1397
|
key: 0,
|
|
1748
1398
|
class: "common-indicator"
|
|
1749
|
-
},
|
|
1750
|
-
/* @__PURE__ */
|
|
1751
|
-
/* @__PURE__ */
|
|
1752
|
-
], -1)),
|
|
1399
|
+
}, Bl = { class: "indicator" }, Gl = /* @__PURE__ */ oe(() => /* @__PURE__ */ _("div", { class: "title" }, [
|
|
1400
|
+
/* @__PURE__ */ _("span", null, "常用指标: "),
|
|
1401
|
+
/* @__PURE__ */ _("span", null, "不限")
|
|
1402
|
+
], -1)), jl = { class: "options" }, Yl = ["onClick"], Al = { class: "tags" }, Kl = ["onClick"], Ql = { style: { "font-size": "18px" } }, Jl = {
|
|
1753
1403
|
key: 0,
|
|
1754
1404
|
class: "out-box"
|
|
1755
|
-
},
|
|
1405
|
+
}, Hl = /* @__PURE__ */ oe(() => /* @__PURE__ */ _("span", null, "自定义: ", -1)), Wl = {
|
|
1756
1406
|
key: 0,
|
|
1757
1407
|
class: "convenient-option-box"
|
|
1758
|
-
},
|
|
1408
|
+
}, Xl = { class: "out-box" }, Zl = /* @__PURE__ */ oe(() => /* @__PURE__ */ _("span", null, "自定义: ", -1)), et = { key: 0 }, lt = { key: 0 }, tt = { key: 0 }, nt = { key: 1 }, at = { class: "tFeaturelncomes-option-box" }, ot = { class: "tFeaturelncomes-out-box" }, rt = /* @__PURE__ */ oe(() => /* @__PURE__ */ _("span", null, "自定义: ", -1)), ut = { key: 2 }, st = { key: 3 }, it = { key: 4 }, dt = { class: "dialog-footer" }, ct = {
|
|
1759
1409
|
__name: "index",
|
|
1760
|
-
props: /* @__PURE__ */
|
|
1410
|
+
props: /* @__PURE__ */ ne({
|
|
1761
1411
|
config: { type: Object, default: () => {
|
|
1762
1412
|
} },
|
|
1763
1413
|
varietyMarket: { type: Number, default: () => null },
|
|
@@ -1769,30 +1419,30 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
|
|
|
1769
1419
|
dataModifiers: {}
|
|
1770
1420
|
}),
|
|
1771
1421
|
emits: ["update:data"],
|
|
1772
|
-
setup(
|
|
1773
|
-
const
|
|
1774
|
-
var
|
|
1775
|
-
return (
|
|
1776
|
-
}),
|
|
1777
|
-
let
|
|
1778
|
-
return
|
|
1779
|
-
const { commonOptionIds:
|
|
1780
|
-
return [.../* @__PURE__ */ new Set([...
|
|
1781
|
-
}))),
|
|
1782
|
-
}),
|
|
1783
|
-
|
|
1422
|
+
setup(d) {
|
|
1423
|
+
const V = ae(d, "data"), k = d, s = A(!1), x = P(() => {
|
|
1424
|
+
var r;
|
|
1425
|
+
return (r = k.data.find((e) => e.radioType === "1")) == null ? void 0 : r.key;
|
|
1426
|
+
}), R = P(() => {
|
|
1427
|
+
let r = [];
|
|
1428
|
+
return k.varietyMarket === null && !k.commonOption.length ? r = k.config.options : (r = k.config.options, k.varietyMarket && (r = r.filter(({ parent: e }) => e.varietyMarketIds.includes(k.varietyMarket))), k.commonOption.length && (r = r.filter(({ parent: e }) => {
|
|
1429
|
+
const { commonOptionIds: h } = e;
|
|
1430
|
+
return [.../* @__PURE__ */ new Set([...h, ...k.commonOption])].length !== [...h, ...k.commonOption].length;
|
|
1431
|
+
}))), r;
|
|
1432
|
+
}), i = A({}), l = A({}), S = (r) => {
|
|
1433
|
+
i.value = r;
|
|
1784
1434
|
const e = {
|
|
1785
|
-
key:
|
|
1786
|
-
type:
|
|
1787
|
-
label:
|
|
1435
|
+
key: r.key,
|
|
1436
|
+
type: r.type,
|
|
1437
|
+
label: r.label
|
|
1788
1438
|
};
|
|
1789
|
-
switch (
|
|
1439
|
+
switch (r.key) {
|
|
1790
1440
|
case "st": {
|
|
1791
|
-
|
|
1441
|
+
l.value = { ...e, st: null };
|
|
1792
1442
|
break;
|
|
1793
1443
|
}
|
|
1794
1444
|
case "tFeaturelncomes": {
|
|
1795
|
-
|
|
1445
|
+
l.value = {
|
|
1796
1446
|
...e,
|
|
1797
1447
|
rule: 1,
|
|
1798
1448
|
// 1超 2跌
|
|
@@ -1803,15 +1453,15 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
|
|
|
1803
1453
|
break;
|
|
1804
1454
|
}
|
|
1805
1455
|
case "priceLevels": {
|
|
1806
|
-
|
|
1456
|
+
l.value = { ...e, priceLevels: null };
|
|
1807
1457
|
break;
|
|
1808
1458
|
}
|
|
1809
1459
|
case "peTtmLevels": {
|
|
1810
|
-
|
|
1460
|
+
l.value = { ...e, peTtmLevels: null };
|
|
1811
1461
|
break;
|
|
1812
1462
|
}
|
|
1813
1463
|
case "optionsCpType": {
|
|
1814
|
-
|
|
1464
|
+
l.value = {
|
|
1815
1465
|
...e,
|
|
1816
1466
|
optionsCpType: null
|
|
1817
1467
|
// 1看涨 2看跌
|
|
@@ -1819,83 +1469,83 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
|
|
|
1819
1469
|
break;
|
|
1820
1470
|
}
|
|
1821
1471
|
default:
|
|
1822
|
-
|
|
1472
|
+
l.value = {
|
|
1823
1473
|
...e,
|
|
1824
1474
|
range: [null, null],
|
|
1825
|
-
unit:
|
|
1826
|
-
radioType:
|
|
1475
|
+
unit: r.defaultUnit.length ? [...r.defaultUnit] : [null, null],
|
|
1476
|
+
radioType: x.value && x.value !== r.key ? "0" : r.defaultRadioType,
|
|
1827
1477
|
// 0数值 1排名
|
|
1828
|
-
rankRange:
|
|
1478
|
+
rankRange: r.defaultRankRange || [null, null]
|
|
1829
1479
|
// 默认排名
|
|
1830
1480
|
};
|
|
1831
1481
|
}
|
|
1832
|
-
|
|
1833
|
-
},
|
|
1834
|
-
switch (
|
|
1482
|
+
s.value = !0;
|
|
1483
|
+
}, M = () => {
|
|
1484
|
+
switch (l.value.key) {
|
|
1835
1485
|
case "st": {
|
|
1836
|
-
const { label: e, st:
|
|
1837
|
-
if (
|
|
1838
|
-
return
|
|
1839
|
-
|
|
1486
|
+
const { label: e, st: h } = l.value;
|
|
1487
|
+
if (h === null)
|
|
1488
|
+
return j.warning("格式错误: 请至少选择一个值");
|
|
1489
|
+
l.value.tagText = `${e}: ${h ? "是" : "否"}`;
|
|
1840
1490
|
break;
|
|
1841
1491
|
}
|
|
1842
1492
|
case "tFeaturelncomes": {
|
|
1843
|
-
const { label: e, rule:
|
|
1844
|
-
if (["", null].includes(
|
|
1845
|
-
return
|
|
1846
|
-
|
|
1493
|
+
const { label: e, rule: h, withFewYears: g, yearsCount: v, netProfit: T } = l.value;
|
|
1494
|
+
if (["", null].includes(g) || ["", null].includes(v) || ["", null].includes(T))
|
|
1495
|
+
return j.warning("格式错误: 请填写完整");
|
|
1496
|
+
l.value.tagText = `${e}: ${g}年内${v}年以上盈利${h === 1 ? "超" : "跌"}过${T}亿`;
|
|
1847
1497
|
break;
|
|
1848
1498
|
}
|
|
1849
1499
|
case "priceLevels": {
|
|
1850
|
-
const { label: e, priceLevels:
|
|
1851
|
-
if (!
|
|
1852
|
-
return
|
|
1853
|
-
|
|
1500
|
+
const { label: e, priceLevels: h } = l.value;
|
|
1501
|
+
if (!h || h.length === 0)
|
|
1502
|
+
return j.warning("格式错误: 请至少选择一个值");
|
|
1503
|
+
l.value.tagText = `${e}: 已选${h}分位`;
|
|
1854
1504
|
break;
|
|
1855
1505
|
}
|
|
1856
1506
|
case "peTtmLevels": {
|
|
1857
|
-
const { label: e, peTtmLevels:
|
|
1858
|
-
if (!
|
|
1859
|
-
return
|
|
1860
|
-
|
|
1507
|
+
const { label: e, peTtmLevels: h } = l.value;
|
|
1508
|
+
if (!h || h.length === 0)
|
|
1509
|
+
return j.warning("格式错误: 请至少选择一个值");
|
|
1510
|
+
l.value.tagText = `${e}: 已选${h}分位`;
|
|
1861
1511
|
break;
|
|
1862
1512
|
}
|
|
1863
1513
|
case "optionsCpType": {
|
|
1864
|
-
const { label: e, optionsCpType:
|
|
1865
|
-
if (
|
|
1866
|
-
return
|
|
1867
|
-
|
|
1514
|
+
const { label: e, optionsCpType: h } = l.value;
|
|
1515
|
+
if (h === null)
|
|
1516
|
+
return j.warning("格式错误: 请至少选择一个值");
|
|
1517
|
+
l.value.tagText = `${e}: ${h === 1 ? "看涨" : "看跌"}`;
|
|
1868
1518
|
break;
|
|
1869
1519
|
}
|
|
1870
1520
|
default: {
|
|
1871
|
-
const { label: e, unit:
|
|
1872
|
-
if (["", null].includes(
|
|
1873
|
-
return
|
|
1874
|
-
if (
|
|
1875
|
-
const
|
|
1876
|
-
if (isNaN(
|
|
1877
|
-
return
|
|
1878
|
-
if (
|
|
1879
|
-
return
|
|
1880
|
-
if (
|
|
1881
|
-
return
|
|
1521
|
+
const { label: e, unit: h, radioType: g } = l.value, v = g === "1" ? l.value.rankRange : l.value.range;
|
|
1522
|
+
if (["", null].includes(v[0]) && ["", null].includes(v[1]))
|
|
1523
|
+
return j.warning("格式错误: 请至少填写一个值");
|
|
1524
|
+
if (g === "1") {
|
|
1525
|
+
const t = Number(v[0]), $ = Number(v[1]);
|
|
1526
|
+
if (isNaN(t) || isNaN($))
|
|
1527
|
+
return j.warning("格式错误: 请填写数字");
|
|
1528
|
+
if (t < 0 || $ < 0)
|
|
1529
|
+
return j.warning("格式错误: 请填写大于0的数字");
|
|
1530
|
+
if (t > $)
|
|
1531
|
+
return j.warning("格式错误: 请填写正确的排名范围");
|
|
1882
1532
|
}
|
|
1883
|
-
const T =
|
|
1884
|
-
!["", null].includes(
|
|
1533
|
+
const T = g === "1" ? "" : h[0] ?? "", w = g === "1" ? "" : h[1] ?? "";
|
|
1534
|
+
!["", null].includes(v[0]) && !["", null].includes(v[1]) ? l.value.tagText = `${e}${g === "1" ? "排名" : ""}: ${v[0]}${T} ~ ${v[1]}${w}` : ["", null].includes(v[0]) ? l.value.tagText = `${e}${g === "1" ? "排名" : ""}: ≤${v[1]}${w}` : l.value.tagText = `${e}${g === "1" ? "排名" : ""}: ≥${v[0]}${T}`;
|
|
1885
1535
|
}
|
|
1886
1536
|
}
|
|
1887
|
-
const
|
|
1888
|
-
|
|
1889
|
-
},
|
|
1890
|
-
|
|
1891
|
-
},
|
|
1892
|
-
|
|
1893
|
-
},
|
|
1894
|
-
|
|
1895
|
-
},
|
|
1896
|
-
switch (
|
|
1537
|
+
const r = V.value.findIndex(({ key: e }) => e === l.value.key);
|
|
1538
|
+
r === -1 ? V.value.push(l.value) : V.value.splice(r, 1, l.value), s.value = !1;
|
|
1539
|
+
}, y = (r) => {
|
|
1540
|
+
i.value = R.value.find(({ key: e }) => e === r.key), l.value = JSON.parse(JSON.stringify(r)), s.value = !0;
|
|
1541
|
+
}, n = (r) => {
|
|
1542
|
+
V.value.splice(r, 1);
|
|
1543
|
+
}, C = (r) => {
|
|
1544
|
+
l.value.range = [...r.range], l.value.unit = [...r.unit];
|
|
1545
|
+
}, q = (r) => {
|
|
1546
|
+
switch (r) {
|
|
1897
1547
|
case "≤0":
|
|
1898
|
-
Object.assign(
|
|
1548
|
+
Object.assign(l.value, {
|
|
1899
1549
|
rule: 2,
|
|
1900
1550
|
// 1超 2跌
|
|
1901
1551
|
withFewYears: 1,
|
|
@@ -1904,7 +1554,7 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
|
|
|
1904
1554
|
});
|
|
1905
1555
|
break;
|
|
1906
1556
|
case "≥0":
|
|
1907
|
-
Object.assign(
|
|
1557
|
+
Object.assign(l.value, {
|
|
1908
1558
|
rule: 1,
|
|
1909
1559
|
withFewYears: 1,
|
|
1910
1560
|
yearsCount: 1,
|
|
@@ -1912,7 +1562,7 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
|
|
|
1912
1562
|
});
|
|
1913
1563
|
break;
|
|
1914
1564
|
case "五年内有四年以上盈利超过5千万":
|
|
1915
|
-
Object.assign(
|
|
1565
|
+
Object.assign(l.value, {
|
|
1916
1566
|
rule: 1,
|
|
1917
1567
|
withFewYears: 5,
|
|
1918
1568
|
yearsCount: 4,
|
|
@@ -1920,7 +1570,7 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
|
|
|
1920
1570
|
});
|
|
1921
1571
|
break;
|
|
1922
1572
|
case "≥10亿":
|
|
1923
|
-
Object.assign(
|
|
1573
|
+
Object.assign(l.value, {
|
|
1924
1574
|
rule: 1,
|
|
1925
1575
|
withFewYears: 1,
|
|
1926
1576
|
yearsCount: 1,
|
|
@@ -1928,7 +1578,7 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
|
|
|
1928
1578
|
});
|
|
1929
1579
|
break;
|
|
1930
1580
|
case "≥20亿":
|
|
1931
|
-
Object.assign(
|
|
1581
|
+
Object.assign(l.value, {
|
|
1932
1582
|
rule: 1,
|
|
1933
1583
|
withFewYears: 1,
|
|
1934
1584
|
yearsCount: 1,
|
|
@@ -1937,106 +1587,106 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
|
|
|
1937
1587
|
break;
|
|
1938
1588
|
}
|
|
1939
1589
|
};
|
|
1940
|
-
return
|
|
1941
|
-
() =>
|
|
1590
|
+
return le(
|
|
1591
|
+
() => R.value,
|
|
1942
1592
|
() => {
|
|
1943
|
-
|
|
1593
|
+
V.value.length && (V.value = V.value.filter(({ key: r }) => R.value.find((e) => e.key === r)));
|
|
1944
1594
|
}
|
|
1945
|
-
), (
|
|
1946
|
-
const
|
|
1947
|
-
return
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
(
|
|
1952
|
-
key:
|
|
1953
|
-
onClick: (
|
|
1954
|
-
},
|
|
1595
|
+
), (r, e) => {
|
|
1596
|
+
const h = qe, g = wl, v = ge, T = Se, w = Re, t = Ue, $ = Ee, O = ye, c = Ie, B = ve;
|
|
1597
|
+
return d.config.show && R.value.length ? (o(), b("div", Pl, [
|
|
1598
|
+
_("div", Bl, [
|
|
1599
|
+
Gl,
|
|
1600
|
+
_("div", jl, [
|
|
1601
|
+
(o(!0), b(E, null, N(R.value, (a) => (o(), b("span", {
|
|
1602
|
+
key: a.key,
|
|
1603
|
+
onClick: (Q) => S(a)
|
|
1604
|
+
}, G(a.label), 9, Yl))), 128))
|
|
1955
1605
|
])
|
|
1956
1606
|
]),
|
|
1957
|
-
|
|
1958
|
-
(
|
|
1607
|
+
_("div", Al, [
|
|
1608
|
+
(o(!0), b(E, null, N(V.value, (a, Q) => (o(), D(h, {
|
|
1959
1609
|
closable: "",
|
|
1960
1610
|
type: "info",
|
|
1961
|
-
onClose: (
|
|
1611
|
+
onClose: (J) => n(Q)
|
|
1962
1612
|
}, {
|
|
1963
|
-
default:
|
|
1964
|
-
|
|
1965
|
-
|
|
1613
|
+
default: p(() => [
|
|
1614
|
+
_("span", null, G(a.tagText), 1),
|
|
1615
|
+
_("span", {
|
|
1966
1616
|
class: "edit",
|
|
1967
|
-
onClick: (
|
|
1968
|
-
}, "编辑", 8,
|
|
1617
|
+
onClick: (J) => y(a)
|
|
1618
|
+
}, "编辑", 8, Kl)
|
|
1969
1619
|
]),
|
|
1970
1620
|
_: 2
|
|
1971
1621
|
}, 1032, ["onClose"]))), 256))
|
|
1972
1622
|
]),
|
|
1973
|
-
|
|
1974
|
-
modelValue:
|
|
1975
|
-
"onUpdate:modelValue": e[19] || (e[19] = (
|
|
1976
|
-
title:
|
|
1623
|
+
u(B, {
|
|
1624
|
+
modelValue: s.value,
|
|
1625
|
+
"onUpdate:modelValue": e[19] || (e[19] = (a) => s.value = a),
|
|
1626
|
+
title: i.value.label,
|
|
1977
1627
|
width: "600",
|
|
1978
1628
|
"align-center": "",
|
|
1979
1629
|
"destroy-on-close": ""
|
|
1980
|
-
},
|
|
1981
|
-
footer:
|
|
1982
|
-
|
|
1983
|
-
|
|
1630
|
+
}, re({
|
|
1631
|
+
footer: p(() => [
|
|
1632
|
+
_("div", dt, [
|
|
1633
|
+
u(w, {
|
|
1984
1634
|
type: "primary",
|
|
1985
|
-
onClick:
|
|
1635
|
+
onClick: M
|
|
1986
1636
|
}, {
|
|
1987
|
-
default:
|
|
1988
|
-
|
|
1637
|
+
default: p(() => [
|
|
1638
|
+
F("确定")
|
|
1989
1639
|
]),
|
|
1990
1640
|
_: 1
|
|
1991
1641
|
})
|
|
1992
1642
|
])
|
|
1993
1643
|
]),
|
|
1994
|
-
default:
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
modelValue:
|
|
1999
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
1644
|
+
default: p(() => [
|
|
1645
|
+
i.value.type === void 0 && l.value.radioType === "1" ? (o(), b("div", Jl, [
|
|
1646
|
+
Hl,
|
|
1647
|
+
u(T, {
|
|
1648
|
+
modelValue: l.value.rankRange[0],
|
|
1649
|
+
"onUpdate:modelValue": e[1] || (e[1] = (a) => l.value.rankRange[0] = a),
|
|
2000
1650
|
style: { flex: "1" }
|
|
2001
1651
|
}, null, 8, ["modelValue"]),
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
modelValue:
|
|
2005
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
1652
|
+
F(" ~ "),
|
|
1653
|
+
u(T, {
|
|
1654
|
+
modelValue: l.value.rankRange[1],
|
|
1655
|
+
"onUpdate:modelValue": e[2] || (e[2] = (a) => l.value.rankRange[1] = a),
|
|
2006
1656
|
style: { flex: "1" }
|
|
2007
1657
|
}, null, 8, ["modelValue"])
|
|
2008
|
-
])) :
|
|
2009
|
-
|
|
2010
|
-
(
|
|
2011
|
-
key:
|
|
2012
|
-
onClick: (
|
|
1658
|
+
])) : i.value.type === void 0 ? (o(), b(E, { key: 1 }, [
|
|
1659
|
+
i.value.convenientOptions.length ? (o(), b("div", Wl, [
|
|
1660
|
+
(o(!0), b(E, null, N(i.value.convenientOptions, (a) => (o(), D(w, {
|
|
1661
|
+
key: a.text,
|
|
1662
|
+
onClick: (Q) => C(a)
|
|
2013
1663
|
}, {
|
|
2014
|
-
default:
|
|
2015
|
-
|
|
1664
|
+
default: p(() => [
|
|
1665
|
+
F(G(a.text), 1)
|
|
2016
1666
|
]),
|
|
2017
1667
|
_: 2
|
|
2018
1668
|
}, 1032, ["onClick"]))), 128))
|
|
2019
|
-
])) :
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
modelValue:
|
|
2024
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
1669
|
+
])) : z("", !0),
|
|
1670
|
+
_("div", Xl, [
|
|
1671
|
+
Zl,
|
|
1672
|
+
u(T, {
|
|
1673
|
+
modelValue: l.value.range[0],
|
|
1674
|
+
"onUpdate:modelValue": e[4] || (e[4] = (a) => l.value.range[0] = a),
|
|
2025
1675
|
style: { flex: "1" }
|
|
2026
|
-
},
|
|
2027
|
-
|
|
1676
|
+
}, re({ _: 2 }, [
|
|
1677
|
+
i.value.unitOptions.length ? {
|
|
2028
1678
|
name: "append",
|
|
2029
|
-
fn:
|
|
2030
|
-
|
|
1679
|
+
fn: p(() => [
|
|
1680
|
+
i.value.unitOptions.length === 1 ? (o(), b("span", et, G(l.value.unit[0]), 1)) : (o(), D($, {
|
|
2031
1681
|
key: 1,
|
|
2032
|
-
modelValue:
|
|
2033
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
1682
|
+
modelValue: l.value.unit[0],
|
|
1683
|
+
"onUpdate:modelValue": e[3] || (e[3] = (a) => l.value.unit[0] = a),
|
|
2034
1684
|
style: { width: "72px" }
|
|
2035
1685
|
}, {
|
|
2036
|
-
default:
|
|
2037
|
-
(
|
|
2038
|
-
label:
|
|
2039
|
-
value:
|
|
1686
|
+
default: p(() => [
|
|
1687
|
+
(o(!0), b(E, null, N(i.value.unitOptions, (a) => (o(), D(t, {
|
|
1688
|
+
label: a,
|
|
1689
|
+
value: a
|
|
2040
1690
|
}, null, 8, ["label", "value"]))), 256))
|
|
2041
1691
|
]),
|
|
2042
1692
|
_: 1
|
|
@@ -2045,25 +1695,25 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
|
|
|
2045
1695
|
key: "0"
|
|
2046
1696
|
} : void 0
|
|
2047
1697
|
]), 1032, ["modelValue"]),
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
modelValue:
|
|
2051
|
-
"onUpdate:modelValue": e[6] || (e[6] = (
|
|
1698
|
+
F(" ~ "),
|
|
1699
|
+
u(T, {
|
|
1700
|
+
modelValue: l.value.range[1],
|
|
1701
|
+
"onUpdate:modelValue": e[6] || (e[6] = (a) => l.value.range[1] = a),
|
|
2052
1702
|
style: { flex: "1" }
|
|
2053
|
-
},
|
|
2054
|
-
|
|
1703
|
+
}, re({ _: 2 }, [
|
|
1704
|
+
i.value.unitOptions.length ? {
|
|
2055
1705
|
name: "append",
|
|
2056
|
-
fn:
|
|
2057
|
-
|
|
1706
|
+
fn: p(() => [
|
|
1707
|
+
i.value.unitOptions.length === 1 ? (o(), b("span", lt, G(l.value.unit[1]), 1)) : (o(), D($, {
|
|
2058
1708
|
key: 1,
|
|
2059
|
-
modelValue:
|
|
2060
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
1709
|
+
modelValue: l.value.unit[1],
|
|
1710
|
+
"onUpdate:modelValue": e[5] || (e[5] = (a) => l.value.unit[1] = a),
|
|
2061
1711
|
style: { width: "72px" }
|
|
2062
1712
|
}, {
|
|
2063
|
-
default:
|
|
2064
|
-
(
|
|
2065
|
-
label:
|
|
2066
|
-
value:
|
|
1713
|
+
default: p(() => [
|
|
1714
|
+
(o(!0), b(E, null, N(i.value.unitOptions, (a) => (o(), D(t, {
|
|
1715
|
+
label: a,
|
|
1716
|
+
value: a
|
|
2067
1717
|
}, null, 8, ["label", "value"]))), 256))
|
|
2068
1718
|
]),
|
|
2069
1719
|
_: 1
|
|
@@ -2073,168 +1723,168 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
|
|
|
2073
1723
|
} : void 0
|
|
2074
1724
|
]), 1032, ["modelValue"])
|
|
2075
1725
|
])
|
|
2076
|
-
], 64)) : (
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
modelValue:
|
|
2080
|
-
"onUpdate:modelValue": e[7] || (e[7] = (
|
|
1726
|
+
], 64)) : (o(), b(E, { key: 2 }, [
|
|
1727
|
+
i.value.key === "st" ? (o(), b("div", tt, [
|
|
1728
|
+
u(v, {
|
|
1729
|
+
modelValue: l.value.st,
|
|
1730
|
+
"onUpdate:modelValue": e[7] || (e[7] = (a) => l.value.st = a)
|
|
2081
1731
|
}, {
|
|
2082
|
-
default:
|
|
2083
|
-
|
|
1732
|
+
default: p(() => [
|
|
1733
|
+
u(O, {
|
|
2084
1734
|
label: "是",
|
|
2085
1735
|
value: 1
|
|
2086
1736
|
}),
|
|
2087
|
-
|
|
1737
|
+
u(O, {
|
|
2088
1738
|
label: "否",
|
|
2089
1739
|
value: 0
|
|
2090
1740
|
})
|
|
2091
1741
|
]),
|
|
2092
1742
|
_: 1
|
|
2093
1743
|
}, 8, ["modelValue"])
|
|
2094
|
-
])) :
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
onClick: e[8] || (e[8] = (
|
|
1744
|
+
])) : z("", !0),
|
|
1745
|
+
i.value.key === "tFeaturelncomes" ? (o(), b("div", nt, [
|
|
1746
|
+
_("div", at, [
|
|
1747
|
+
u(w, {
|
|
1748
|
+
onClick: e[8] || (e[8] = (a) => q("≤0"))
|
|
2099
1749
|
}, {
|
|
2100
|
-
default:
|
|
2101
|
-
|
|
1750
|
+
default: p(() => [
|
|
1751
|
+
F("≤0")
|
|
2102
1752
|
]),
|
|
2103
1753
|
_: 1
|
|
2104
1754
|
}),
|
|
2105
|
-
|
|
2106
|
-
onClick: e[9] || (e[9] = (
|
|
1755
|
+
u(w, {
|
|
1756
|
+
onClick: e[9] || (e[9] = (a) => q("≥0"))
|
|
2107
1757
|
}, {
|
|
2108
|
-
default:
|
|
2109
|
-
|
|
1758
|
+
default: p(() => [
|
|
1759
|
+
F("≥0")
|
|
2110
1760
|
]),
|
|
2111
1761
|
_: 1
|
|
2112
1762
|
}),
|
|
2113
|
-
|
|
2114
|
-
onClick: e[10] || (e[10] = (
|
|
1763
|
+
u(w, {
|
|
1764
|
+
onClick: e[10] || (e[10] = (a) => q("五年内有四年以上盈利超过5千万"))
|
|
2115
1765
|
}, {
|
|
2116
|
-
default:
|
|
2117
|
-
|
|
1766
|
+
default: p(() => [
|
|
1767
|
+
F("五年内有四年以上盈利超过5千万")
|
|
2118
1768
|
]),
|
|
2119
1769
|
_: 1
|
|
2120
1770
|
}),
|
|
2121
|
-
|
|
2122
|
-
onClick: e[11] || (e[11] = (
|
|
1771
|
+
u(w, {
|
|
1772
|
+
onClick: e[11] || (e[11] = (a) => q("≥10亿"))
|
|
2123
1773
|
}, {
|
|
2124
|
-
default:
|
|
2125
|
-
|
|
1774
|
+
default: p(() => [
|
|
1775
|
+
F("≥10亿")
|
|
2126
1776
|
]),
|
|
2127
1777
|
_: 1
|
|
2128
1778
|
}),
|
|
2129
|
-
|
|
2130
|
-
onClick: e[12] || (e[12] = (
|
|
1779
|
+
u(w, {
|
|
1780
|
+
onClick: e[12] || (e[12] = (a) => q("≥20亿"))
|
|
2131
1781
|
}, {
|
|
2132
|
-
default:
|
|
2133
|
-
|
|
1782
|
+
default: p(() => [
|
|
1783
|
+
F("≥20亿")
|
|
2134
1784
|
]),
|
|
2135
1785
|
_: 1
|
|
2136
1786
|
})
|
|
2137
1787
|
]),
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
modelValue:
|
|
2143
|
-
"onUpdate:modelValue": e[13] || (e[13] = (
|
|
1788
|
+
_("div", ot, [
|
|
1789
|
+
rt,
|
|
1790
|
+
_("div", null, [
|
|
1791
|
+
u(c, {
|
|
1792
|
+
modelValue: l.value.withFewYears,
|
|
1793
|
+
"onUpdate:modelValue": e[13] || (e[13] = (a) => l.value.withFewYears = a),
|
|
2144
1794
|
"controls-position": "right"
|
|
2145
1795
|
}, null, 8, ["modelValue"]),
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
modelValue:
|
|
2149
|
-
"onUpdate:modelValue": e[14] || (e[14] = (
|
|
1796
|
+
F(" 年内 "),
|
|
1797
|
+
u(c, {
|
|
1798
|
+
modelValue: l.value.yearsCount,
|
|
1799
|
+
"onUpdate:modelValue": e[14] || (e[14] = (a) => l.value.yearsCount = a),
|
|
2150
1800
|
"controls-position": "right"
|
|
2151
1801
|
}, null, 8, ["modelValue"]),
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
modelValue:
|
|
2155
|
-
"onUpdate:modelValue": e[15] || (e[15] = (
|
|
1802
|
+
F(" 年以上盈利" + G(l.value.rule === 1 ? "超" : "跌") + "过 ", 1),
|
|
1803
|
+
u(c, {
|
|
1804
|
+
modelValue: l.value.netProfit,
|
|
1805
|
+
"onUpdate:modelValue": e[15] || (e[15] = (a) => l.value.netProfit = a),
|
|
2156
1806
|
"controls-position": "right"
|
|
2157
1807
|
}, null, 8, ["modelValue"]),
|
|
2158
|
-
|
|
1808
|
+
F(" 亿 ")
|
|
2159
1809
|
])
|
|
2160
1810
|
])
|
|
2161
|
-
])) :
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
modelValue:
|
|
2165
|
-
"onUpdate:modelValue": e[16] || (e[16] = (
|
|
1811
|
+
])) : z("", !0),
|
|
1812
|
+
i.value.key === "priceLevels" ? (o(), b("div", ut, [
|
|
1813
|
+
u($, {
|
|
1814
|
+
modelValue: l.value.priceLevels,
|
|
1815
|
+
"onUpdate:modelValue": e[16] || (e[16] = (a) => l.value.priceLevels = a),
|
|
2166
1816
|
multiple: "",
|
|
2167
1817
|
clearable: "",
|
|
2168
1818
|
placeholder: "请选择",
|
|
2169
1819
|
style: { width: "420px" }
|
|
2170
1820
|
}, {
|
|
2171
|
-
default:
|
|
2172
|
-
(
|
|
2173
|
-
key:
|
|
2174
|
-
label: `${
|
|
2175
|
-
value:
|
|
1821
|
+
default: p(() => [
|
|
1822
|
+
(o(), b(E, null, N([1, 2, 3, 4, 5], (a) => u(t, {
|
|
1823
|
+
key: a,
|
|
1824
|
+
label: `${a}分位`,
|
|
1825
|
+
value: a
|
|
2176
1826
|
}, null, 8, ["label", "value"])), 64))
|
|
2177
1827
|
]),
|
|
2178
1828
|
_: 1
|
|
2179
1829
|
}, 8, ["modelValue"])
|
|
2180
|
-
])) :
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
modelValue:
|
|
2184
|
-
"onUpdate:modelValue": e[17] || (e[17] = (
|
|
1830
|
+
])) : z("", !0),
|
|
1831
|
+
i.value.key === "peTtmLevels" ? (o(), b("div", st, [
|
|
1832
|
+
u($, {
|
|
1833
|
+
modelValue: l.value.peTtmLevels,
|
|
1834
|
+
"onUpdate:modelValue": e[17] || (e[17] = (a) => l.value.peTtmLevels = a),
|
|
2185
1835
|
multiple: "",
|
|
2186
1836
|
clearable: "",
|
|
2187
1837
|
placeholder: "请选择",
|
|
2188
1838
|
style: { width: "420px" }
|
|
2189
1839
|
}, {
|
|
2190
|
-
default:
|
|
2191
|
-
(
|
|
2192
|
-
key:
|
|
2193
|
-
label: `${
|
|
2194
|
-
value:
|
|
1840
|
+
default: p(() => [
|
|
1841
|
+
(o(), b(E, null, N([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (a) => u(t, {
|
|
1842
|
+
key: a,
|
|
1843
|
+
label: `${a}分位`,
|
|
1844
|
+
value: a
|
|
2195
1845
|
}, null, 8, ["label", "value"])), 64))
|
|
2196
1846
|
]),
|
|
2197
1847
|
_: 1
|
|
2198
1848
|
}, 8, ["modelValue"])
|
|
2199
|
-
])) :
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
modelValue:
|
|
2203
|
-
"onUpdate:modelValue": e[18] || (e[18] = (
|
|
1849
|
+
])) : z("", !0),
|
|
1850
|
+
i.value.key === "optionsCpType" ? (o(), b("div", it, [
|
|
1851
|
+
u(v, {
|
|
1852
|
+
modelValue: l.value.optionsCpType,
|
|
1853
|
+
"onUpdate:modelValue": e[18] || (e[18] = (a) => l.value.optionsCpType = a)
|
|
2204
1854
|
}, {
|
|
2205
|
-
default:
|
|
2206
|
-
|
|
1855
|
+
default: p(() => [
|
|
1856
|
+
u(O, {
|
|
2207
1857
|
label: "看涨",
|
|
2208
1858
|
value: 1
|
|
2209
1859
|
}),
|
|
2210
|
-
|
|
1860
|
+
u(O, {
|
|
2211
1861
|
label: "看跌",
|
|
2212
1862
|
value: 2
|
|
2213
1863
|
})
|
|
2214
1864
|
]),
|
|
2215
1865
|
_: 1
|
|
2216
1866
|
}, 8, ["modelValue"])
|
|
2217
|
-
])) :
|
|
1867
|
+
])) : z("", !0)
|
|
2218
1868
|
], 64))
|
|
2219
1869
|
]),
|
|
2220
1870
|
_: 2
|
|
2221
1871
|
}, [
|
|
2222
|
-
|
|
1872
|
+
i.value.showRankType ? {
|
|
2223
1873
|
name: "header",
|
|
2224
|
-
fn:
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
modelValue:
|
|
2228
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
1874
|
+
fn: p(() => [
|
|
1875
|
+
_("span", Ql, G(i.value.label), 1),
|
|
1876
|
+
u(v, {
|
|
1877
|
+
modelValue: l.value.radioType,
|
|
1878
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => l.value.radioType = a),
|
|
2229
1879
|
style: { "vertical-align": "4px", "margin-left": "12px" }
|
|
2230
1880
|
}, {
|
|
2231
|
-
default:
|
|
2232
|
-
|
|
1881
|
+
default: p(() => [
|
|
1882
|
+
u(g, {
|
|
2233
1883
|
label: "数值",
|
|
2234
1884
|
value: "0"
|
|
2235
1885
|
}),
|
|
2236
|
-
|
|
2237
|
-
disabled:
|
|
1886
|
+
u(g, {
|
|
1887
|
+
disabled: x.value && x.value !== i.value.key,
|
|
2238
1888
|
label: "排名",
|
|
2239
1889
|
value: "1"
|
|
2240
1890
|
}, null, 8, ["disabled"])
|
|
@@ -2245,35 +1895,35 @@ const ve = (a) => (he("data-v-bdb03941"), a = a(), xe(), a), Tt = {
|
|
|
2245
1895
|
key: "0"
|
|
2246
1896
|
} : void 0
|
|
2247
1897
|
]), 1032, ["modelValue", "title"])
|
|
2248
|
-
])) :
|
|
1898
|
+
])) : z("", !0);
|
|
2249
1899
|
};
|
|
2250
1900
|
}
|
|
2251
|
-
},
|
|
2252
|
-
const
|
|
1901
|
+
}, pt = /* @__PURE__ */ me(ct, [["__scopeId", "data-v-bdb03941"]]);
|
|
1902
|
+
const W = (d) => (ce("data-v-5d0d1a7a"), d = d(), pe(), d), vt = { class: "variety-search" }, mt = {
|
|
2253
1903
|
key: 0,
|
|
2254
1904
|
class: "variety-search-row"
|
|
2255
|
-
},
|
|
1905
|
+
}, ft = { class: "title" }, yt = /* @__PURE__ */ W(() => /* @__PURE__ */ _("span", null, "品种市场: ", -1)), gt = {
|
|
2256
1906
|
key: 1,
|
|
2257
1907
|
class: "variety-search-row"
|
|
2258
|
-
},
|
|
1908
|
+
}, bt = { class: "title" }, kt = /* @__PURE__ */ W(() => /* @__PURE__ */ _("span", null, "常用选项: ", -1)), _t = {
|
|
2259
1909
|
key: 2,
|
|
2260
1910
|
class: "variety-search-row"
|
|
2261
|
-
},
|
|
1911
|
+
}, ht = { class: "title" }, xt = /* @__PURE__ */ W(() => /* @__PURE__ */ _("span", null, "上市板块: ", -1)), Vt = {
|
|
2262
1912
|
key: 3,
|
|
2263
1913
|
class: "variety-search-row"
|
|
2264
|
-
},
|
|
1914
|
+
}, Ot = { class: "title" }, It = /* @__PURE__ */ W(() => /* @__PURE__ */ _("span", null, "自定标签: ", -1)), $t = {
|
|
2265
1915
|
key: 4,
|
|
2266
1916
|
class: "variety-search-row"
|
|
2267
|
-
},
|
|
1917
|
+
}, wt = { class: "title" }, Tt = /* @__PURE__ */ W(() => /* @__PURE__ */ _("span", null, "因子筛选: ", -1)), Ct = {
|
|
2268
1918
|
__name: "index",
|
|
2269
|
-
props: /* @__PURE__ */
|
|
1919
|
+
props: /* @__PURE__ */ ne({ config: { type: Object, default: {} } }, {
|
|
2270
1920
|
searchData: {},
|
|
2271
1921
|
searchDataModifiers: {}
|
|
2272
1922
|
}),
|
|
2273
1923
|
emits: ["update:searchData"],
|
|
2274
|
-
setup(
|
|
2275
|
-
const
|
|
2276
|
-
|
|
1924
|
+
setup(d, { expose: V }) {
|
|
1925
|
+
const k = d, s = ae(d, "searchData");
|
|
1926
|
+
s.value = Object.assign(s.value, {
|
|
2277
1927
|
// 品种市场
|
|
2278
1928
|
varietyMarket: null,
|
|
2279
1929
|
// 常用选项
|
|
@@ -2291,193 +1941,193 @@ const se = (a) => (he("data-v-5d0d1a7a"), a = a(), xe(), a), ln = { class: "vari
|
|
|
2291
1941
|
// 常用指标
|
|
2292
1942
|
commonIndicator: []
|
|
2293
1943
|
});
|
|
2294
|
-
const
|
|
2295
|
-
const
|
|
2296
|
-
return Object.keys(
|
|
2297
|
-
const
|
|
2298
|
-
|
|
2299
|
-
}),
|
|
2300
|
-
}),
|
|
2301
|
-
const { varietyMarket:
|
|
2302
|
-
if (
|
|
2303
|
-
const
|
|
2304
|
-
return
|
|
1944
|
+
const x = P(() => {
|
|
1945
|
+
const y = {};
|
|
1946
|
+
return Object.keys(xe).forEach((n) => {
|
|
1947
|
+
const C = xe[n], q = k.config[n] ?? {}, r = { ...C, ...q };
|
|
1948
|
+
y[n] = r;
|
|
1949
|
+
}), y;
|
|
1950
|
+
}), R = P(() => x.value.varietyMarket.options), i = P(() => {
|
|
1951
|
+
const { varietyMarket: y } = s.value;
|
|
1952
|
+
if (y) {
|
|
1953
|
+
const n = R.value.find(({ value: C }) => C === y).memo;
|
|
1954
|
+
return x.value.commonOption.options.filter(({ value: C }) => n.includes(C));
|
|
2305
1955
|
} else
|
|
2306
|
-
return
|
|
2307
|
-
}),
|
|
2308
|
-
const { varietyMarket:
|
|
2309
|
-
return
|
|
2310
|
-
}),
|
|
2311
|
-
["commonOption", "marketIds", "customTag", "factorScreen", "commonIndicator"].includes(
|
|
1956
|
+
return x.value.commonOption.options;
|
|
1957
|
+
}), l = P(() => {
|
|
1958
|
+
const { varietyMarket: y } = s.value;
|
|
1959
|
+
return y ? x.value.marketIds.options.filter((n) => n.varietyMarketIds.includes(y)) : x.value.marketIds.options;
|
|
1960
|
+
}), S = P(() => x.value.customTag.options), M = (y) => {
|
|
1961
|
+
["commonOption", "marketIds", "customTag", "factorScreen", "commonIndicator"].includes(y) ? s.value[y] = [] : s.value[y] = null;
|
|
2312
1962
|
};
|
|
2313
|
-
return
|
|
2314
|
-
() =>
|
|
2315
|
-
(
|
|
2316
|
-
var
|
|
2317
|
-
(
|
|
1963
|
+
return le(
|
|
1964
|
+
() => i.value,
|
|
1965
|
+
(y) => {
|
|
1966
|
+
var n;
|
|
1967
|
+
(n = s.value.commonOption) != null && n.length && (s.value.commonOption = s.value.commonOption.filter((C) => y.find(({ value: q }) => q === C)));
|
|
2318
1968
|
}
|
|
2319
|
-
),
|
|
2320
|
-
() =>
|
|
2321
|
-
(
|
|
2322
|
-
var
|
|
2323
|
-
(
|
|
1969
|
+
), le(
|
|
1970
|
+
() => l.value,
|
|
1971
|
+
(y) => {
|
|
1972
|
+
var n;
|
|
1973
|
+
(n = s.value.marketIds) != null && n.length && (s.value.marketIds = s.value.marketIds.filter((C) => y.find(({ value: q }) => q === C)));
|
|
2324
1974
|
}
|
|
2325
|
-
),
|
|
1975
|
+
), V({
|
|
2326
1976
|
// 生成接口传参结构的数据
|
|
2327
|
-
formatData: (
|
|
2328
|
-
var
|
|
1977
|
+
formatData: (y) => {
|
|
1978
|
+
var C, q, r, e, h;
|
|
2329
1979
|
console.log("%c[st-varietySearch]: 正在生成接口传参结构的数据...", "color: tomato");
|
|
2330
|
-
const
|
|
2331
|
-
if (
|
|
2332
|
-
const { factorScreen:
|
|
2333
|
-
if ((
|
|
2334
|
-
switch (
|
|
1980
|
+
const n = {};
|
|
1981
|
+
if (y.varietyMarket && (n.exchangeId = String(y.varietyMarket)), (C = y.commonOption) != null && C.length && (n.optionId = y.commonOption.join(",")), (q = y.marketIds) != null && q.length && (n.marketIds = y.marketIds), (r = y.customTag) != null && r.length && (n.tagIds = y.customTag), (e = x.value.factorScreen) != null && e.show) {
|
|
1982
|
+
const { factorScreen: g } = y;
|
|
1983
|
+
if ((h = g == null ? void 0 : g.list) != null && h.length && (n.tbFeatureFactorScores = g.list.map((v) => {
|
|
1984
|
+
switch (v.key) {
|
|
2335
1985
|
case "compare":
|
|
2336
1986
|
return {
|
|
2337
|
-
freqId:
|
|
2338
|
-
factorId:
|
|
2339
|
-
compareType:
|
|
2340
|
-
freqId2:
|
|
2341
|
-
factorId2:
|
|
1987
|
+
freqId: v.cycle,
|
|
1988
|
+
factorId: v.factor,
|
|
1989
|
+
compareType: v.compareType,
|
|
1990
|
+
freqId2: v.cycle2,
|
|
1991
|
+
factorId2: v.factor2
|
|
2342
1992
|
};
|
|
2343
1993
|
default:
|
|
2344
1994
|
return {
|
|
2345
|
-
freqId:
|
|
2346
|
-
factorId:
|
|
2347
|
-
startScore:
|
|
2348
|
-
endScore:
|
|
1995
|
+
freqId: v.cycle,
|
|
1996
|
+
factorId: v.factor,
|
|
1997
|
+
startScore: v.score[0],
|
|
1998
|
+
endScore: v.score[1]
|
|
2349
1999
|
};
|
|
2350
2000
|
}
|
|
2351
|
-
})),
|
|
2352
|
-
const
|
|
2353
|
-
var
|
|
2354
|
-
const
|
|
2355
|
-
switch (
|
|
2001
|
+
})), g.sqlEnable) {
|
|
2002
|
+
const v = g.list.reduce((w, t, $) => {
|
|
2003
|
+
var c, B;
|
|
2004
|
+
const O = `条件${$ + 1}`;
|
|
2005
|
+
switch (t.key) {
|
|
2356
2006
|
case "compare": {
|
|
2357
|
-
let
|
|
2358
|
-
(
|
|
2007
|
+
let a = "";
|
|
2008
|
+
(c = x.value.factorScreen) != null && c.cycleShow ? a = `freq_id = ${t.cycle} and factor_id = ${t.factor} ${t.compareType} freq_id = ${t.cycle2} and factor_id = ${t.factor2}` : a = `factor_id = ${t.factor} ${t.compareType} factor_id = ${t.factor2}`, w.set(O, `(${a})`);
|
|
2359
2009
|
break;
|
|
2360
2010
|
}
|
|
2361
2011
|
default: {
|
|
2362
|
-
let
|
|
2363
|
-
(
|
|
2012
|
+
let a = `factor_id = ${t.factor} and `;
|
|
2013
|
+
(B = x.value.factorScreen) != null && B.cycleShow && (a = `freq_id = ${t.cycle} and factor_id = ${t.factor} and `), (t.score[0] || t.score[0] === 0) && (t.score[1] || t.score[1] === 0) ? a += `score >= ${t.score[0]} and score <= ${t.score[1]}` : t.score[0] || t.score[0] === 0 ? a += `score >= ${t.score[0]}` : (t.score[1] || t.score[1] === 0) && (a += `score <= ${t.score[1]}`), w.set(O, `(${a})`);
|
|
2364
2014
|
}
|
|
2365
2015
|
}
|
|
2366
|
-
return
|
|
2016
|
+
return w;
|
|
2367
2017
|
}, /* @__PURE__ */ new Map([]));
|
|
2368
|
-
let T =
|
|
2369
|
-
for (const [
|
|
2370
|
-
const
|
|
2371
|
-
T = T.replace(
|
|
2018
|
+
let T = g.sqlValue;
|
|
2019
|
+
for (const [w, t] of v) {
|
|
2020
|
+
const $ = new RegExp(w, "g");
|
|
2021
|
+
T = T.replace($, t);
|
|
2372
2022
|
}
|
|
2373
|
-
|
|
2023
|
+
n.sql = T, n.sqlExpression = g.sqlValue;
|
|
2374
2024
|
}
|
|
2375
|
-
|
|
2025
|
+
n.enableSql = g.sqlEnable === 1 ? 2 : 1;
|
|
2376
2026
|
}
|
|
2377
2027
|
{
|
|
2378
|
-
const
|
|
2379
|
-
const { key:
|
|
2380
|
-
if (
|
|
2381
|
-
|
|
2382
|
-
column:
|
|
2383
|
-
start:
|
|
2384
|
-
end:
|
|
2028
|
+
const g = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], v = y.commonIndicator.reduce((c, B) => {
|
|
2029
|
+
const { key: a, type: Q, range: J, unit: X, radioType: Z, rankRange: I } = B;
|
|
2030
|
+
if (Z === "1")
|
|
2031
|
+
n.sortBy = {
|
|
2032
|
+
column: B.key,
|
|
2033
|
+
start: I[0] || null,
|
|
2034
|
+
end: I[1] || null
|
|
2385
2035
|
};
|
|
2386
|
-
else if (
|
|
2387
|
-
let [
|
|
2388
|
-
["", null].includes(
|
|
2389
|
-
column:
|
|
2390
|
-
start:
|
|
2391
|
-
end:
|
|
2036
|
+
else if (a === "dividendYield") {
|
|
2037
|
+
let [U, f] = J;
|
|
2038
|
+
["", null].includes(U) || (U = U / 100), ["", null].includes(f) || (f = f / 100), c.push({
|
|
2039
|
+
column: B.key,
|
|
2040
|
+
start: U,
|
|
2041
|
+
end: f
|
|
2392
2042
|
});
|
|
2393
|
-
} else if (
|
|
2394
|
-
let [
|
|
2395
|
-
if (!["", null].includes(
|
|
2396
|
-
switch (
|
|
2043
|
+
} else if (Q === void 0 && !g.includes(a)) {
|
|
2044
|
+
let [U, f] = J;
|
|
2045
|
+
if (!["", null].includes(U))
|
|
2046
|
+
switch (X[0]) {
|
|
2397
2047
|
case "亿":
|
|
2398
|
-
|
|
2048
|
+
U = U * 1e8;
|
|
2399
2049
|
break;
|
|
2400
2050
|
case "千万":
|
|
2401
|
-
|
|
2051
|
+
U = U * 1e7;
|
|
2402
2052
|
break;
|
|
2403
2053
|
default:
|
|
2404
|
-
|
|
2054
|
+
U = U;
|
|
2405
2055
|
break;
|
|
2406
2056
|
}
|
|
2407
|
-
if (!["", null].includes(
|
|
2408
|
-
switch (
|
|
2057
|
+
if (!["", null].includes(f))
|
|
2058
|
+
switch (X[1]) {
|
|
2409
2059
|
case "亿":
|
|
2410
|
-
|
|
2060
|
+
f = f * 1e8;
|
|
2411
2061
|
break;
|
|
2412
2062
|
case "千万":
|
|
2413
|
-
|
|
2063
|
+
f = f * 1e7;
|
|
2414
2064
|
break;
|
|
2415
2065
|
default:
|
|
2416
|
-
|
|
2066
|
+
f = f;
|
|
2417
2067
|
break;
|
|
2418
2068
|
}
|
|
2419
|
-
|
|
2420
|
-
column:
|
|
2421
|
-
start:
|
|
2422
|
-
end:
|
|
2069
|
+
c.push({
|
|
2070
|
+
column: B.key,
|
|
2071
|
+
start: U,
|
|
2072
|
+
end: f
|
|
2423
2073
|
});
|
|
2424
2074
|
}
|
|
2425
|
-
return
|
|
2075
|
+
return c;
|
|
2426
2076
|
}, []);
|
|
2427
|
-
|
|
2428
|
-
const T =
|
|
2429
|
-
T && (
|
|
2430
|
-
const
|
|
2431
|
-
|
|
2432
|
-
const
|
|
2433
|
-
|
|
2434
|
-
const
|
|
2435
|
-
|
|
2436
|
-
const
|
|
2437
|
-
|
|
2438
|
-
const { key:
|
|
2439
|
-
switch (
|
|
2077
|
+
v.length && (n.query = v);
|
|
2078
|
+
const T = y.commonIndicator.find(({ key: c }) => c === "st");
|
|
2079
|
+
T && (n.st = T.st);
|
|
2080
|
+
const w = y.commonIndicator.find(({ key: c }) => c === "tFeaturelncomes");
|
|
2081
|
+
w && (n.netProfitQueryDto = { ...w, netProfit: w.netProfit * 1e8 });
|
|
2082
|
+
const t = y.commonIndicator.find(({ key: c }) => c === "priceLevels");
|
|
2083
|
+
t && (n.priceLevels = t.priceLevels);
|
|
2084
|
+
const $ = y.commonIndicator.find(({ key: c }) => c === "peTtmLevels");
|
|
2085
|
+
$ && (n.peTtmLevels = $.peTtmLevels);
|
|
2086
|
+
const O = {};
|
|
2087
|
+
y.commonIndicator.forEach((c) => {
|
|
2088
|
+
const { key: B } = c;
|
|
2089
|
+
switch (B) {
|
|
2440
2090
|
case "expireDays":
|
|
2441
|
-
["", null].includes(
|
|
2091
|
+
["", null].includes(c.range[0]) || (O.minExpireDays = c.range[0]), ["", null].includes(c.range[1]) || (O.maxExpireDays = c.range[1]);
|
|
2442
2092
|
break;
|
|
2443
2093
|
case "virtualRealDegree":
|
|
2444
|
-
["", null].includes(
|
|
2094
|
+
["", null].includes(c.range[0]) || (O.minVirtualRealDegree = c.range[0] / 100), ["", null].includes(c.range[1]) || (O.maxVirtualRealDegree = c.range[1] / 100);
|
|
2445
2095
|
break;
|
|
2446
2096
|
case "yearProfitRate":
|
|
2447
|
-
["", null].includes(
|
|
2097
|
+
["", null].includes(c.range[0]) || (O.minYearProfitRate = c.range[0] / 100), ["", null].includes(c.range[1]) || (O.maxYearProfitRate = c.range[1] / 100);
|
|
2448
2098
|
break;
|
|
2449
2099
|
case "impliedVolatility":
|
|
2450
|
-
["", null].includes(
|
|
2100
|
+
["", null].includes(c.range[0]) || (O.minImpliedVolatility = c.range[0] / 100), ["", null].includes(c.range[1]) || (O.maxImpliedVolatility = c.range[1] / 100);
|
|
2451
2101
|
break;
|
|
2452
2102
|
case "levelMultiplier":
|
|
2453
|
-
["", null].includes(
|
|
2103
|
+
["", null].includes(c.range[0]) || (O.minLevelMultiplier = c.range[0]), ["", null].includes(c.range[1]) || (O.maxLevelMultiplier = c.range[1]);
|
|
2454
2104
|
break;
|
|
2455
2105
|
case "turnover":
|
|
2456
|
-
["", null].includes(
|
|
2106
|
+
["", null].includes(c.range[0]) || (O.minTurnover = c.range[0] * 1e4), ["", null].includes(c.range[1]) || (O.maxTurnover = c.range[1] * 1e4);
|
|
2457
2107
|
break;
|
|
2458
2108
|
case "volume":
|
|
2459
|
-
["", null].includes(
|
|
2109
|
+
["", null].includes(c.range[0]) || (O.minVolume = c.range[0]), ["", null].includes(c.range[1]) || (O.maxVolume = c.range[1]);
|
|
2460
2110
|
break;
|
|
2461
2111
|
case "openInterest":
|
|
2462
|
-
["", null].includes(
|
|
2112
|
+
["", null].includes(c.range[0]) || (O.minOpenInterest = c.range[0]), ["", null].includes(c.range[1]) || (O.maxOpenInterest = c.range[1]);
|
|
2463
2113
|
break;
|
|
2464
2114
|
case "optionsCpType":
|
|
2465
|
-
|
|
2115
|
+
O.optionsCpType = c.optionsCpType;
|
|
2466
2116
|
break;
|
|
2467
2117
|
case "optionGear":
|
|
2468
|
-
["", null].includes(
|
|
2118
|
+
["", null].includes(c.range[0]) || (O.minOptionGear = c.range[0]), ["", null].includes(c.range[1]) || (O.maxOptionGear = c.range[1]);
|
|
2469
2119
|
break;
|
|
2470
2120
|
}
|
|
2471
|
-
}), Object.keys(
|
|
2472
|
-
...
|
|
2473
|
-
...
|
|
2121
|
+
}), Object.keys(O).length && (n.searchOptionDto = {
|
|
2122
|
+
...n.searchOptionDto,
|
|
2123
|
+
...O
|
|
2474
2124
|
});
|
|
2475
2125
|
}
|
|
2476
|
-
return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green",
|
|
2126
|
+
return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green", n), n;
|
|
2477
2127
|
},
|
|
2478
2128
|
// 重置函数
|
|
2479
2129
|
reset: () => {
|
|
2480
|
-
|
|
2130
|
+
s.value = {
|
|
2481
2131
|
// 品种市场
|
|
2482
2132
|
varietyMarket: null,
|
|
2483
2133
|
// 常用选项
|
|
@@ -2496,126 +2146,126 @@ const se = (a) => (he("data-v-5d0d1a7a"), a = a(), xe(), a), ln = { class: "vari
|
|
|
2496
2146
|
commonIndicator: []
|
|
2497
2147
|
};
|
|
2498
2148
|
}
|
|
2499
|
-
}), (
|
|
2500
|
-
var
|
|
2501
|
-
const
|
|
2502
|
-
return
|
|
2503
|
-
(
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
onClick:
|
|
2149
|
+
}), (y, n) => {
|
|
2150
|
+
var h, g, v, T, w;
|
|
2151
|
+
const C = ye, q = ge, r = We, e = Xe;
|
|
2152
|
+
return o(), b("div", vt, [
|
|
2153
|
+
(h = x.value.varietyMarket) != null && h.show ? (o(), b("div", mt, [
|
|
2154
|
+
_("div", ft, [
|
|
2155
|
+
yt,
|
|
2156
|
+
_("span", {
|
|
2157
|
+
onClick: n[0] || (n[0] = (t) => M("varietyMarket"))
|
|
2508
2158
|
}, "不限")
|
|
2509
2159
|
]),
|
|
2510
|
-
|
|
2511
|
-
modelValue:
|
|
2512
|
-
"onUpdate:modelValue":
|
|
2160
|
+
u(q, {
|
|
2161
|
+
modelValue: s.value.varietyMarket,
|
|
2162
|
+
"onUpdate:modelValue": n[1] || (n[1] = (t) => s.value.varietyMarket = t),
|
|
2513
2163
|
size: "small"
|
|
2514
2164
|
}, {
|
|
2515
|
-
default:
|
|
2516
|
-
(
|
|
2517
|
-
label:
|
|
2518
|
-
value:
|
|
2519
|
-
key:
|
|
2165
|
+
default: p(() => [
|
|
2166
|
+
(o(!0), b(E, null, N(R.value, ({ label: t, value: $ }) => (o(), D(C, {
|
|
2167
|
+
label: t,
|
|
2168
|
+
value: $,
|
|
2169
|
+
key: $
|
|
2520
2170
|
}, null, 8, ["label", "value"]))), 128))
|
|
2521
2171
|
]),
|
|
2522
2172
|
_: 1
|
|
2523
2173
|
}, 8, ["modelValue"])
|
|
2524
|
-
])) :
|
|
2525
|
-
(
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
onClick:
|
|
2174
|
+
])) : z("", !0),
|
|
2175
|
+
(g = x.value.commonOption) != null && g.show && i.value.length ? (o(), b("div", gt, [
|
|
2176
|
+
_("div", bt, [
|
|
2177
|
+
kt,
|
|
2178
|
+
_("span", {
|
|
2179
|
+
onClick: n[2] || (n[2] = (t) => M("commonOption"))
|
|
2530
2180
|
}, "不限")
|
|
2531
2181
|
]),
|
|
2532
|
-
|
|
2533
|
-
modelValue:
|
|
2534
|
-
"onUpdate:modelValue":
|
|
2182
|
+
u(e, {
|
|
2183
|
+
modelValue: s.value.commonOption,
|
|
2184
|
+
"onUpdate:modelValue": n[3] || (n[3] = (t) => s.value.commonOption = t),
|
|
2535
2185
|
size: "small"
|
|
2536
2186
|
}, {
|
|
2537
|
-
default:
|
|
2538
|
-
(
|
|
2539
|
-
label:
|
|
2540
|
-
value:
|
|
2541
|
-
key:
|
|
2187
|
+
default: p(() => [
|
|
2188
|
+
(o(!0), b(E, null, N(i.value, ({ label: t, value: $ }) => (o(), D(r, {
|
|
2189
|
+
label: t,
|
|
2190
|
+
value: $,
|
|
2191
|
+
key: $
|
|
2542
2192
|
}, null, 8, ["label", "value"]))), 128))
|
|
2543
2193
|
]),
|
|
2544
2194
|
_: 1
|
|
2545
2195
|
}, 8, ["modelValue"])
|
|
2546
|
-
])) :
|
|
2547
|
-
(
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
onClick:
|
|
2196
|
+
])) : z("", !0),
|
|
2197
|
+
(v = x.value.marketIds) != null && v.show && l.value.length ? (o(), b("div", _t, [
|
|
2198
|
+
_("div", ht, [
|
|
2199
|
+
xt,
|
|
2200
|
+
_("span", {
|
|
2201
|
+
onClick: n[4] || (n[4] = (t) => M("marketIds"))
|
|
2552
2202
|
}, "不限")
|
|
2553
2203
|
]),
|
|
2554
|
-
|
|
2555
|
-
modelValue:
|
|
2556
|
-
"onUpdate:modelValue":
|
|
2204
|
+
u(e, {
|
|
2205
|
+
modelValue: s.value.marketIds,
|
|
2206
|
+
"onUpdate:modelValue": n[5] || (n[5] = (t) => s.value.marketIds = t),
|
|
2557
2207
|
size: "small"
|
|
2558
2208
|
}, {
|
|
2559
|
-
default:
|
|
2560
|
-
(
|
|
2561
|
-
label:
|
|
2562
|
-
value:
|
|
2563
|
-
key:
|
|
2209
|
+
default: p(() => [
|
|
2210
|
+
(o(!0), b(E, null, N(l.value, ({ label: t, value: $ }) => (o(), D(r, {
|
|
2211
|
+
label: t,
|
|
2212
|
+
value: $,
|
|
2213
|
+
key: $
|
|
2564
2214
|
}, null, 8, ["label", "value"]))), 128))
|
|
2565
2215
|
]),
|
|
2566
2216
|
_: 1
|
|
2567
2217
|
}, 8, ["modelValue"])
|
|
2568
|
-
])) :
|
|
2569
|
-
(T =
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
onClick:
|
|
2218
|
+
])) : z("", !0),
|
|
2219
|
+
(T = x.value.customTag) != null && T.show && S.value.length ? (o(), b("div", Vt, [
|
|
2220
|
+
_("div", Ot, [
|
|
2221
|
+
It,
|
|
2222
|
+
_("span", {
|
|
2223
|
+
onClick: n[6] || (n[6] = (t) => M("customTag"))
|
|
2574
2224
|
}, "不限")
|
|
2575
2225
|
]),
|
|
2576
|
-
|
|
2577
|
-
modelValue:
|
|
2578
|
-
"onUpdate:modelValue":
|
|
2226
|
+
u(e, {
|
|
2227
|
+
modelValue: s.value.customTag,
|
|
2228
|
+
"onUpdate:modelValue": n[7] || (n[7] = (t) => s.value.customTag = t),
|
|
2579
2229
|
size: "small"
|
|
2580
2230
|
}, {
|
|
2581
|
-
default:
|
|
2582
|
-
(
|
|
2583
|
-
label:
|
|
2584
|
-
value:
|
|
2585
|
-
key:
|
|
2231
|
+
default: p(() => [
|
|
2232
|
+
(o(!0), b(E, null, N(S.value, ({ label: t, value: $ }) => (o(), D(r, {
|
|
2233
|
+
label: t,
|
|
2234
|
+
value: $,
|
|
2235
|
+
key: $
|
|
2586
2236
|
}, null, 8, ["label", "value"]))), 128))
|
|
2587
2237
|
]),
|
|
2588
2238
|
_: 1
|
|
2589
2239
|
}, 8, ["modelValue"])
|
|
2590
|
-
])) :
|
|
2591
|
-
(
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
onClick:
|
|
2240
|
+
])) : z("", !0),
|
|
2241
|
+
(w = x.value.factorScreen) != null && w.show ? (o(), b("div", $t, [
|
|
2242
|
+
_("div", wt, [
|
|
2243
|
+
Tt,
|
|
2244
|
+
_("span", {
|
|
2245
|
+
onClick: n[8] || (n[8] = (t) => M("factorScreen"))
|
|
2596
2246
|
}, "不限")
|
|
2597
2247
|
]),
|
|
2598
|
-
|
|
2599
|
-
data:
|
|
2600
|
-
"onUpdate:data":
|
|
2601
|
-
config:
|
|
2248
|
+
u(zl, {
|
|
2249
|
+
data: s.value.factorScreen,
|
|
2250
|
+
"onUpdate:data": n[9] || (n[9] = (t) => s.value.factorScreen = t),
|
|
2251
|
+
config: x.value.factorScreen
|
|
2602
2252
|
}, null, 8, ["data", "config"])
|
|
2603
|
-
])) :
|
|
2604
|
-
|
|
2605
|
-
data:
|
|
2606
|
-
"onUpdate:data":
|
|
2607
|
-
varietyMarket:
|
|
2608
|
-
commonOption:
|
|
2609
|
-
config:
|
|
2253
|
+
])) : z("", !0),
|
|
2254
|
+
u(pt, {
|
|
2255
|
+
data: s.value.commonIndicator,
|
|
2256
|
+
"onUpdate:data": n[10] || (n[10] = (t) => s.value.commonIndicator = t),
|
|
2257
|
+
varietyMarket: s.value.varietyMarket,
|
|
2258
|
+
commonOption: s.value.commonOption,
|
|
2259
|
+
config: x.value.commonIndicator
|
|
2610
2260
|
}, null, 8, ["data", "varietyMarket", "commonOption", "config"])
|
|
2611
2261
|
]);
|
|
2612
2262
|
};
|
|
2613
2263
|
}
|
|
2614
|
-
},
|
|
2615
|
-
install(
|
|
2616
|
-
|
|
2264
|
+
}, St = /* @__PURE__ */ me(Ct, [["__scopeId", "data-v-5d0d1a7a"]]), rn = {
|
|
2265
|
+
install(d) {
|
|
2266
|
+
d.component("st-varietySearch", St);
|
|
2617
2267
|
}
|
|
2618
2268
|
};
|
|
2619
2269
|
export {
|
|
2620
|
-
|
|
2270
|
+
rn as default
|
|
2621
2271
|
};
|