st-comp 0.0.151 → 0.0.152
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/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +1174 -987
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +121 -121
- package/lib/{index-9ea06c35.js → index-0ffc2521.js} +12318 -12131
- package/lib/{python-93a0241d.js → python-1f89356b.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/VarietySearch/components/CommonIndicator/index.vue +121 -1
- package/packages/VarietySearch/config.js +21 -1
- package/packages/VarietySearch/index.vue +15 -1
- package/src/pages/PasswordPrompt/index.vue +12 -12
package/es/VarietySearch.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { b as
|
|
1
|
+
import { b as ne, i as Oe, a as $e, c as Ie, A as we, u as ce, _ as pe, e as Ae, w as Ke, s as Re } from "./base-19787dfb.js";
|
|
2
2
|
import "./el-tag-7414e0c7.js";
|
|
3
|
-
import { E as
|
|
3
|
+
import { E as ve, a as me } from "./el-select-7395562b.js";
|
|
4
4
|
import "./el-scrollbar-29bcab5f.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import { E as
|
|
7
|
-
import { b as
|
|
8
|
-
import { ref as
|
|
9
|
-
import { E as
|
|
10
|
-
import { E as
|
|
11
|
-
import { E as
|
|
12
|
-
import { E as
|
|
5
|
+
import { u as Qe, E as Ze } from "./el-popper-b6527ae2.js";
|
|
6
|
+
import { E as He } from "./el-checkbox-group-d53bc316.js";
|
|
7
|
+
import { b as We, c as Xe, E as el, a as ll } from "./el-table-column-47d80736.js";
|
|
8
|
+
import { ref as W, inject as tl, computed as G, defineComponent as ee, openBlock as o, createElementBlock as b, normalizeClass as H, unref as g, createElementVNode as k, withDirectives as fe, isRef as Se, withModifiers as te, vModelRadio as Ue, renderSlot as ye, createTextVNode as E, toDisplayString as K, nextTick as Ee, normalizeStyle as al, onMounted as nl, provide as ol, reactive as ul, toRefs as rl, watch as ae, mergeModels as oe, useModel as ue, createBlock as L, withCtx as s, createVNode as t, Fragment as U, createCommentVNode as N, renderList as z, pushScopeId as ge, popScopeId as be, createSlots as ie, vShow as sl } from "vue";
|
|
9
|
+
import { E as ke } from "./el-overlay-26bf0945.js";
|
|
10
|
+
import { E as il, a as dl } from "./el-form-item-05c0e335.js";
|
|
11
|
+
import { E as Me } from "./el-input-1e309239.js";
|
|
12
|
+
import { E as qe } from "./el-input-number-60ebc58f.js";
|
|
13
13
|
import "./el-tooltip-4ed993c7.js";
|
|
14
|
-
import { E as
|
|
15
|
-
import { p as
|
|
16
|
-
import { E as
|
|
17
|
-
import { _ as
|
|
18
|
-
import { E as
|
|
19
|
-
import { u as
|
|
20
|
-
import { U as
|
|
21
|
-
import { a as
|
|
22
|
-
import { u as
|
|
14
|
+
import { E as Fe } from "./el-button-0bf1d532.js";
|
|
15
|
+
import { p as de, i as cl, h as pl, E as vl } from "./index-72151b24.js";
|
|
16
|
+
import { E as Q } from "./el-message-7d927756.js";
|
|
17
|
+
import { _ as _e } from "./_plugin-vue_export-helper-dad06003.js";
|
|
18
|
+
import { E as De } from "./index-273822d1.js";
|
|
19
|
+
import { u as Le, a as ml, b as fl, d as yl, e as gl } from "./use-form-common-props-5ff2f51b.js";
|
|
20
|
+
import { U as Ve, C as bl } from "./index-621b092b.js";
|
|
21
|
+
import { a as kl } from "./index-c066fe0d.js";
|
|
22
|
+
import { u as _l } from "./index-70372cdb.js";
|
|
23
23
|
import "./castArray-8405000b.js";
|
|
24
24
|
import "./index-dc22ffe4.js";
|
|
25
25
|
import "./scroll-d787d648.js";
|
|
@@ -30,12 +30,12 @@ import "./vnode-6a0c7411.js";
|
|
|
30
30
|
import "./typescript-7ae59c4c.js";
|
|
31
31
|
import "./index-657047bb.js";
|
|
32
32
|
import "./config-provider-0f6672af.js";
|
|
33
|
-
const
|
|
33
|
+
const je = ne({
|
|
34
34
|
modelValue: {
|
|
35
35
|
type: [String, Number, Boolean],
|
|
36
36
|
default: void 0
|
|
37
37
|
},
|
|
38
|
-
size:
|
|
38
|
+
size: Le,
|
|
39
39
|
disabled: Boolean,
|
|
40
40
|
label: {
|
|
41
41
|
type: [String, Number, Boolean],
|
|
@@ -49,166 +49,166 @@ const De = le({
|
|
|
49
49
|
type: String,
|
|
50
50
|
default: void 0
|
|
51
51
|
}
|
|
52
|
-
}),
|
|
53
|
-
...
|
|
52
|
+
}), Vl = ne({
|
|
53
|
+
...je,
|
|
54
54
|
border: Boolean
|
|
55
|
-
}),
|
|
56
|
-
[
|
|
57
|
-
[
|
|
58
|
-
},
|
|
59
|
-
const
|
|
55
|
+
}), Ne = {
|
|
56
|
+
[Ve]: (d) => Oe(d) || $e(d) || Ie(d),
|
|
57
|
+
[bl]: (d) => Oe(d) || $e(d) || Ie(d)
|
|
58
|
+
}, ze = Symbol("radioGroupKey"), Pe = (d, R) => {
|
|
59
|
+
const O = W(), a = tl(ze, void 0), x = G(() => !!a), q = G(() => we(d.value) ? d.label : d.value), h = G({
|
|
60
60
|
get() {
|
|
61
|
-
return
|
|
61
|
+
return x.value ? a.modelValue : d.modelValue;
|
|
62
62
|
},
|
|
63
63
|
set(i) {
|
|
64
|
-
|
|
64
|
+
x.value ? a.changeEvent(i) : R && R(Ve, i), O.value.checked = d.modelValue === q.value;
|
|
65
65
|
}
|
|
66
|
-
}),
|
|
67
|
-
return
|
|
66
|
+
}), $ = ml(G(() => a == null ? void 0 : a.size)), e = fl(G(() => a == null ? void 0 : a.disabled)), B = W(!1), j = G(() => e.value || x.value && h.value !== q.value ? -1 : 0);
|
|
67
|
+
return kl({
|
|
68
68
|
from: "label act as value",
|
|
69
69
|
replacement: "value",
|
|
70
70
|
version: "3.0.0",
|
|
71
71
|
scope: "el-radio",
|
|
72
72
|
ref: "https://element-plus.org/en-US/component/radio.html"
|
|
73
|
-
},
|
|
74
|
-
radioRef:
|
|
75
|
-
isGroup:
|
|
76
|
-
radioGroup:
|
|
77
|
-
focus:
|
|
78
|
-
size:
|
|
79
|
-
disabled:
|
|
80
|
-
tabIndex:
|
|
81
|
-
modelValue:
|
|
82
|
-
actualValue:
|
|
73
|
+
}, G(() => x.value && we(d.value))), {
|
|
74
|
+
radioRef: O,
|
|
75
|
+
isGroup: x,
|
|
76
|
+
radioGroup: a,
|
|
77
|
+
focus: B,
|
|
78
|
+
size: $,
|
|
79
|
+
disabled: e,
|
|
80
|
+
tabIndex: j,
|
|
81
|
+
modelValue: h,
|
|
82
|
+
actualValue: q
|
|
83
83
|
};
|
|
84
|
-
},
|
|
84
|
+
}, hl = ee({
|
|
85
85
|
name: "ElRadio"
|
|
86
|
-
}),
|
|
87
|
-
...
|
|
88
|
-
props:
|
|
89
|
-
emits:
|
|
90
|
-
setup(
|
|
91
|
-
const
|
|
86
|
+
}), xl = /* @__PURE__ */ ee({
|
|
87
|
+
...hl,
|
|
88
|
+
props: Vl,
|
|
89
|
+
emits: Ne,
|
|
90
|
+
setup(d, { emit: R }) {
|
|
91
|
+
const O = d, a = ce("radio"), { radioRef: x, radioGroup: q, focus: h, size: $, disabled: e, modelValue: B, actualValue: j } = Pe(O, R);
|
|
92
92
|
function i() {
|
|
93
|
-
|
|
93
|
+
Ee(() => R("change", B.value));
|
|
94
94
|
}
|
|
95
|
-
return (
|
|
96
|
-
var
|
|
97
|
-
return
|
|
98
|
-
class:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
95
|
+
return (n, M) => {
|
|
96
|
+
var I;
|
|
97
|
+
return o(), b("label", {
|
|
98
|
+
class: H([
|
|
99
|
+
g(a).b(),
|
|
100
|
+
g(a).is("disabled", g(e)),
|
|
101
|
+
g(a).is("focus", g(h)),
|
|
102
|
+
g(a).is("bordered", n.border),
|
|
103
|
+
g(a).is("checked", g(B) === g(j)),
|
|
104
|
+
g(a).m(g($))
|
|
105
105
|
])
|
|
106
106
|
}, [
|
|
107
|
-
|
|
108
|
-
class:
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
107
|
+
k("span", {
|
|
108
|
+
class: H([
|
|
109
|
+
g(a).e("input"),
|
|
110
|
+
g(a).is("disabled", g(e)),
|
|
111
|
+
g(a).is("checked", g(B) === g(j))
|
|
112
112
|
])
|
|
113
113
|
}, [
|
|
114
|
-
|
|
114
|
+
fe(k("input", {
|
|
115
115
|
ref_key: "radioRef",
|
|
116
|
-
ref:
|
|
117
|
-
"onUpdate:modelValue": (
|
|
118
|
-
class:
|
|
119
|
-
value:
|
|
120
|
-
name:
|
|
121
|
-
disabled:
|
|
122
|
-
checked:
|
|
116
|
+
ref: x,
|
|
117
|
+
"onUpdate:modelValue": (_) => Se(B) ? B.value = _ : null,
|
|
118
|
+
class: H(g(a).e("original")),
|
|
119
|
+
value: g(j),
|
|
120
|
+
name: n.name || ((I = g(q)) == null ? void 0 : I.name),
|
|
121
|
+
disabled: g(e),
|
|
122
|
+
checked: g(B) === g(j),
|
|
123
123
|
type: "radio",
|
|
124
|
-
onFocus: (
|
|
125
|
-
onBlur: (
|
|
124
|
+
onFocus: (_) => h.value = !0,
|
|
125
|
+
onBlur: (_) => h.value = !1,
|
|
126
126
|
onChange: i,
|
|
127
|
-
onClick:
|
|
127
|
+
onClick: te(() => {
|
|
128
128
|
}, ["stop"])
|
|
129
129
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "checked", "onFocus", "onBlur", "onClick"]), [
|
|
130
|
-
[
|
|
130
|
+
[Ue, g(B)]
|
|
131
131
|
]),
|
|
132
|
-
|
|
133
|
-
class:
|
|
132
|
+
k("span", {
|
|
133
|
+
class: H(g(a).e("inner"))
|
|
134
134
|
}, null, 2)
|
|
135
135
|
], 2),
|
|
136
|
-
|
|
137
|
-
class:
|
|
138
|
-
onKeydown:
|
|
136
|
+
k("span", {
|
|
137
|
+
class: H(g(a).e("label")),
|
|
138
|
+
onKeydown: te(() => {
|
|
139
139
|
}, ["stop"])
|
|
140
140
|
}, [
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
ye(n.$slots, "default", {}, () => [
|
|
142
|
+
E(K(n.label), 1)
|
|
143
143
|
])
|
|
144
144
|
], 42, ["onKeydown"])
|
|
145
145
|
], 2);
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
|
-
var
|
|
150
|
-
const
|
|
151
|
-
...
|
|
152
|
-
}),
|
|
149
|
+
var Ol = /* @__PURE__ */ pe(xl, [["__file", "radio.vue"]]);
|
|
150
|
+
const $l = ne({
|
|
151
|
+
...je
|
|
152
|
+
}), Il = ee({
|
|
153
153
|
name: "ElRadioButton"
|
|
154
|
-
}),
|
|
155
|
-
...
|
|
156
|
-
props:
|
|
157
|
-
setup(
|
|
158
|
-
const
|
|
159
|
-
backgroundColor: (
|
|
160
|
-
borderColor: (
|
|
161
|
-
boxShadow:
|
|
162
|
-
color: (
|
|
154
|
+
}), wl = /* @__PURE__ */ ee({
|
|
155
|
+
...Il,
|
|
156
|
+
props: $l,
|
|
157
|
+
setup(d) {
|
|
158
|
+
const R = d, O = ce("radio"), { radioRef: a, focus: x, size: q, disabled: h, modelValue: $, radioGroup: e, actualValue: B } = Pe(R), j = G(() => ({
|
|
159
|
+
backgroundColor: (e == null ? void 0 : e.fill) || "",
|
|
160
|
+
borderColor: (e == null ? void 0 : e.fill) || "",
|
|
161
|
+
boxShadow: e != null && e.fill ? `-1px 0 0 0 ${e.fill}` : "",
|
|
162
|
+
color: (e == null ? void 0 : e.textColor) || ""
|
|
163
163
|
}));
|
|
164
|
-
return (i,
|
|
165
|
-
var
|
|
166
|
-
return
|
|
167
|
-
class:
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
164
|
+
return (i, n) => {
|
|
165
|
+
var M;
|
|
166
|
+
return o(), b("label", {
|
|
167
|
+
class: H([
|
|
168
|
+
g(O).b("button"),
|
|
169
|
+
g(O).is("active", g($) === g(B)),
|
|
170
|
+
g(O).is("disabled", g(h)),
|
|
171
|
+
g(O).is("focus", g(x)),
|
|
172
|
+
g(O).bm("button", g(q))
|
|
173
173
|
])
|
|
174
174
|
}, [
|
|
175
|
-
|
|
175
|
+
fe(k("input", {
|
|
176
176
|
ref_key: "radioRef",
|
|
177
|
-
ref:
|
|
178
|
-
"onUpdate:modelValue": (
|
|
179
|
-
class:
|
|
180
|
-
value:
|
|
177
|
+
ref: a,
|
|
178
|
+
"onUpdate:modelValue": (I) => Se($) ? $.value = I : null,
|
|
179
|
+
class: H(g(O).be("button", "original-radio")),
|
|
180
|
+
value: g(B),
|
|
181
181
|
type: "radio",
|
|
182
|
-
name: i.name || ((
|
|
183
|
-
disabled:
|
|
184
|
-
onFocus: (
|
|
185
|
-
onBlur: (
|
|
186
|
-
onClick:
|
|
182
|
+
name: i.name || ((M = g(e)) == null ? void 0 : M.name),
|
|
183
|
+
disabled: g(h),
|
|
184
|
+
onFocus: (I) => x.value = !0,
|
|
185
|
+
onBlur: (I) => x.value = !1,
|
|
186
|
+
onClick: te(() => {
|
|
187
187
|
}, ["stop"])
|
|
188
188
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
|
|
189
|
-
[
|
|
189
|
+
[Ue, g($)]
|
|
190
190
|
]),
|
|
191
|
-
|
|
192
|
-
class:
|
|
193
|
-
style:
|
|
194
|
-
onKeydown:
|
|
191
|
+
k("span", {
|
|
192
|
+
class: H(g(O).be("button", "inner")),
|
|
193
|
+
style: al(g($) === g(B) ? g(j) : {}),
|
|
194
|
+
onKeydown: te(() => {
|
|
195
195
|
}, ["stop"])
|
|
196
196
|
}, [
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
ye(i.$slots, "default", {}, () => [
|
|
198
|
+
E(K(i.label), 1)
|
|
199
199
|
])
|
|
200
200
|
], 46, ["onKeydown"])
|
|
201
201
|
], 2);
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
204
|
});
|
|
205
|
-
var
|
|
206
|
-
const
|
|
205
|
+
var Be = /* @__PURE__ */ pe(wl, [["__file", "radio-button.vue"]]);
|
|
206
|
+
const Tl = ne({
|
|
207
207
|
id: {
|
|
208
208
|
type: String,
|
|
209
209
|
default: void 0
|
|
210
210
|
},
|
|
211
|
-
size:
|
|
211
|
+
size: Le,
|
|
212
212
|
disabled: Boolean,
|
|
213
213
|
modelValue: {
|
|
214
214
|
type: [String, Number, Boolean],
|
|
@@ -230,49 +230,49 @@ const Ol = le({
|
|
|
230
230
|
type: Boolean,
|
|
231
231
|
default: !0
|
|
232
232
|
},
|
|
233
|
-
...
|
|
234
|
-
}),
|
|
233
|
+
...Qe(["ariaLabel"])
|
|
234
|
+
}), Cl = Ne, Rl = ee({
|
|
235
235
|
name: "ElRadioGroup"
|
|
236
|
-
}),
|
|
237
|
-
|
|
238
|
-
props:
|
|
239
|
-
emits:
|
|
240
|
-
setup(
|
|
241
|
-
const
|
|
242
|
-
formItemContext:
|
|
243
|
-
}),
|
|
244
|
-
|
|
236
|
+
}), Sl = /* @__PURE__ */ ee({
|
|
237
|
+
...Rl,
|
|
238
|
+
props: Tl,
|
|
239
|
+
emits: Cl,
|
|
240
|
+
setup(d, { emit: R }) {
|
|
241
|
+
const O = d, a = ce("radio"), x = _l(), q = W(), { formItem: h } = yl(), { inputId: $, isLabeledByFormItem: e } = gl(O, {
|
|
242
|
+
formItemContext: h
|
|
243
|
+
}), B = (i) => {
|
|
244
|
+
R(Ve, i), Ee(() => R("change", i));
|
|
245
245
|
};
|
|
246
|
-
|
|
247
|
-
const i =
|
|
248
|
-
!Array.from(i).some((
|
|
246
|
+
nl(() => {
|
|
247
|
+
const i = q.value.querySelectorAll("[type=radio]"), n = i[0];
|
|
248
|
+
!Array.from(i).some((M) => M.checked) && n && (n.tabIndex = 0);
|
|
249
249
|
});
|
|
250
|
-
const
|
|
251
|
-
return
|
|
252
|
-
...
|
|
253
|
-
changeEvent:
|
|
254
|
-
name:
|
|
255
|
-
})),
|
|
256
|
-
|
|
257
|
-
}), (i,
|
|
258
|
-
id:
|
|
250
|
+
const j = G(() => O.name || x.value);
|
|
251
|
+
return ol(ze, ul({
|
|
252
|
+
...rl(O),
|
|
253
|
+
changeEvent: B,
|
|
254
|
+
name: j
|
|
255
|
+
})), ae(() => O.modelValue, () => {
|
|
256
|
+
O.validateEvent && (h == null || h.validate("change").catch((i) => Ae(i)));
|
|
257
|
+
}), (i, n) => (o(), b("div", {
|
|
258
|
+
id: g($),
|
|
259
259
|
ref_key: "radioGroupRef",
|
|
260
|
-
ref:
|
|
261
|
-
class:
|
|
260
|
+
ref: q,
|
|
261
|
+
class: H(g(a).b("group")),
|
|
262
262
|
role: "radiogroup",
|
|
263
|
-
"aria-label":
|
|
264
|
-
"aria-labelledby":
|
|
263
|
+
"aria-label": g(e) ? void 0 : i.ariaLabel || "radio-group",
|
|
264
|
+
"aria-labelledby": g(e) ? g(h).labelId : void 0
|
|
265
265
|
}, [
|
|
266
|
-
|
|
266
|
+
ye(i.$slots, "default")
|
|
267
267
|
], 10, ["id", "aria-label", "aria-labelledby"]));
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
|
-
var
|
|
271
|
-
const
|
|
272
|
-
RadioButton:
|
|
273
|
-
RadioGroup:
|
|
274
|
-
}),
|
|
275
|
-
const
|
|
270
|
+
var Ge = /* @__PURE__ */ pe(Sl, [["__file", "radio-group.vue"]]);
|
|
271
|
+
const he = Ke(Ol, {
|
|
272
|
+
RadioButton: Be,
|
|
273
|
+
RadioGroup: Ge
|
|
274
|
+
}), xe = Re(Ge), Ul = Re(Be);
|
|
275
|
+
const Te = {
|
|
276
276
|
// 品种市场 [选项: 预警字典1000]
|
|
277
277
|
varietyMarket: {
|
|
278
278
|
show: !0,
|
|
@@ -571,6 +571,16 @@ const Ie = {
|
|
|
571
571
|
// 默认数值
|
|
572
572
|
defaultRankRange: [0, 25]
|
|
573
573
|
},
|
|
574
|
+
// 成交量
|
|
575
|
+
{
|
|
576
|
+
key: "perVolumn",
|
|
577
|
+
label: "成交量",
|
|
578
|
+
type: "custom",
|
|
579
|
+
parent: {
|
|
580
|
+
varietyMarketIds: [3, 5, 7],
|
|
581
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
582
|
+
}
|
|
583
|
+
},
|
|
574
584
|
// 净资产收益率roe
|
|
575
585
|
{
|
|
576
586
|
key: "roe",
|
|
@@ -643,6 +653,16 @@ const Ie = {
|
|
|
643
653
|
},
|
|
644
654
|
type: "custom"
|
|
645
655
|
},
|
|
656
|
+
// 主力净流入资金
|
|
657
|
+
{
|
|
658
|
+
key: "mainFlow",
|
|
659
|
+
label: "主力净流入资金",
|
|
660
|
+
type: "custom",
|
|
661
|
+
parent: {
|
|
662
|
+
varietyMarketIds: [3, 5, 7],
|
|
663
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
664
|
+
}
|
|
665
|
+
},
|
|
646
666
|
// ----------期权-----------
|
|
647
667
|
// 过期天数
|
|
648
668
|
{
|
|
@@ -743,7 +763,7 @@ const Ie = {
|
|
|
743
763
|
// 成交量
|
|
744
764
|
{
|
|
745
765
|
key: "volume",
|
|
746
|
-
label: "成交量",
|
|
766
|
+
label: "成交量(期权)",
|
|
747
767
|
parent: {
|
|
748
768
|
varietyMarketIds: [8],
|
|
749
769
|
commonOptionIds: [11]
|
|
@@ -809,49 +829,49 @@ const Ie = {
|
|
|
809
829
|
}
|
|
810
830
|
]
|
|
811
831
|
}
|
|
812
|
-
},
|
|
813
|
-
!
|
|
814
|
-
},
|
|
815
|
-
const
|
|
816
|
-
return
|
|
817
|
-
},
|
|
832
|
+
}, El = (d, R, O) => {
|
|
833
|
+
!R[0] && R[0] !== 0 && !R[1] && R[1] !== 0 ? O(new Error("至少填写一个分数")) : O();
|
|
834
|
+
}, Ce = (d) => {
|
|
835
|
+
const R = /(条件(\d+))/g;
|
|
836
|
+
return d.match(R) || [];
|
|
837
|
+
}, Ml = {
|
|
818
838
|
__name: "FactorDescription",
|
|
819
|
-
props: /* @__PURE__ */
|
|
839
|
+
props: /* @__PURE__ */ oe({
|
|
820
840
|
data: { type: Array, default: [] }
|
|
821
841
|
}, {
|
|
822
842
|
visible: { default: !1 },
|
|
823
843
|
visibleModifiers: {}
|
|
824
844
|
}),
|
|
825
845
|
emits: ["update:visible"],
|
|
826
|
-
setup(
|
|
827
|
-
const
|
|
828
|
-
return (
|
|
829
|
-
const
|
|
830
|
-
return
|
|
831
|
-
modelValue:
|
|
832
|
-
"onUpdate:modelValue":
|
|
846
|
+
setup(d) {
|
|
847
|
+
const R = ue(d, "visible");
|
|
848
|
+
return (O, a) => {
|
|
849
|
+
const x = We, q = Xe, h = ke;
|
|
850
|
+
return o(), L(h, {
|
|
851
|
+
modelValue: R.value,
|
|
852
|
+
"onUpdate:modelValue": a[0] || (a[0] = ($) => R.value = $),
|
|
833
853
|
title: "因子使用说明",
|
|
834
854
|
width: "1000",
|
|
835
855
|
"align-center": "",
|
|
836
856
|
"destroy-on-close": ""
|
|
837
857
|
}, {
|
|
838
|
-
default:
|
|
839
|
-
|
|
840
|
-
data:
|
|
858
|
+
default: s(() => [
|
|
859
|
+
t(q, {
|
|
860
|
+
data: d.data,
|
|
841
861
|
border: "",
|
|
842
862
|
height: "500"
|
|
843
863
|
}, {
|
|
844
|
-
default:
|
|
845
|
-
|
|
864
|
+
default: s(() => [
|
|
865
|
+
t(x, {
|
|
846
866
|
prop: "factorName",
|
|
847
867
|
label: "因子名称",
|
|
848
868
|
width: "200"
|
|
849
869
|
}),
|
|
850
|
-
|
|
870
|
+
t(x, {
|
|
851
871
|
prop: "factorDesc",
|
|
852
872
|
label: "因子说明"
|
|
853
873
|
}),
|
|
854
|
-
|
|
874
|
+
t(x, {
|
|
855
875
|
prop: "factorScoreDefine",
|
|
856
876
|
label: "分值定义"
|
|
857
877
|
})
|
|
@@ -864,9 +884,9 @@ const Ie = {
|
|
|
864
884
|
};
|
|
865
885
|
}
|
|
866
886
|
};
|
|
867
|
-
const
|
|
887
|
+
const Ye = (d) => (ge("data-v-3592dee9"), d = d(), be(), d), ql = { class: "factor-screen" }, Fl = { class: "custom-header" }, Dl = ["id"], Ll = { class: "form-row" }, jl = { class: "index" }, Nl = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, zl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ k("span", null, "~", -1)), Pl = /* @__PURE__ */ Ye(() => /* @__PURE__ */ k("span", null, "&&代表and,||代表or", -1)), Bl = { class: "dialog-footer" }, Gl = {
|
|
868
888
|
__name: "index",
|
|
869
|
-
props: /* @__PURE__ */
|
|
889
|
+
props: /* @__PURE__ */ oe({
|
|
870
890
|
config: {
|
|
871
891
|
type: Object,
|
|
872
892
|
default: {
|
|
@@ -895,12 +915,12 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
895
915
|
dataModifiers: {}
|
|
896
916
|
}),
|
|
897
917
|
emits: ["update:data"],
|
|
898
|
-
setup(
|
|
899
|
-
const
|
|
918
|
+
setup(d) {
|
|
919
|
+
const R = d, O = ue(d, "data"), a = W(!1), x = W(!1), q = W(null), h = W({
|
|
900
920
|
// 筛选因子列表
|
|
901
921
|
list: [
|
|
902
922
|
{
|
|
903
|
-
cycle:
|
|
923
|
+
cycle: R.config.cycleDefault ?? null,
|
|
904
924
|
// 周期
|
|
905
925
|
factor: null,
|
|
906
926
|
// 因子
|
|
@@ -912,49 +932,49 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
912
932
|
sqlEnable: 0,
|
|
913
933
|
// SQL语句
|
|
914
934
|
sqlValue: null
|
|
915
|
-
}),
|
|
916
|
-
const { list:
|
|
917
|
-
|
|
918
|
-
list: JSON.parse(JSON.stringify(
|
|
919
|
-
sqlEnable:
|
|
920
|
-
sqlValue:
|
|
921
|
-
},
|
|
922
|
-
},
|
|
923
|
-
|
|
924
|
-
const { list:
|
|
925
|
-
if (
|
|
926
|
-
if (
|
|
927
|
-
if (!
|
|
928
|
-
return
|
|
929
|
-
const
|
|
930
|
-
if (
|
|
931
|
-
return
|
|
935
|
+
}), $ = () => {
|
|
936
|
+
const { list: I, sqlEnable: _, sqlValue: c } = O.value;
|
|
937
|
+
h.value = {
|
|
938
|
+
list: JSON.parse(JSON.stringify(I)),
|
|
939
|
+
sqlEnable: _,
|
|
940
|
+
sqlValue: c
|
|
941
|
+
}, h.value.list.length || j(), a.value = !0;
|
|
942
|
+
}, e = () => {
|
|
943
|
+
q.value.validate((I) => {
|
|
944
|
+
const { list: _, sqlEnable: c, sqlValue: l } = h.value;
|
|
945
|
+
if (I) {
|
|
946
|
+
if (c) {
|
|
947
|
+
if (!l)
|
|
948
|
+
return Q.error("SQL语句不能为空");
|
|
949
|
+
const V = Ce(l), m = _.map((p, T) => `条件${T + 1}`), f = V.filter((p) => !m.includes(p));
|
|
950
|
+
if (f.length)
|
|
951
|
+
return Q.error(`请检查SQL语句, 不存在[${f}]`);
|
|
932
952
|
}
|
|
933
|
-
|
|
934
|
-
list: JSON.parse(JSON.stringify(
|
|
935
|
-
sqlEnable:
|
|
936
|
-
sqlValue:
|
|
937
|
-
},
|
|
953
|
+
O.value = {
|
|
954
|
+
list: JSON.parse(JSON.stringify(_)),
|
|
955
|
+
sqlEnable: c,
|
|
956
|
+
sqlValue: l
|
|
957
|
+
}, a.value = !1;
|
|
938
958
|
}
|
|
939
959
|
});
|
|
940
|
-
},
|
|
941
|
-
|
|
942
|
-
},
|
|
943
|
-
switch (
|
|
960
|
+
}, B = (I) => {
|
|
961
|
+
h.value.list.splice(I, 1);
|
|
962
|
+
}, j = (I) => {
|
|
963
|
+
switch (I) {
|
|
944
964
|
case "compare": {
|
|
945
|
-
|
|
965
|
+
h.value.list.push({
|
|
946
966
|
key: "compare",
|
|
947
|
-
cycle:
|
|
967
|
+
cycle: R.config.cycleDefault ?? null,
|
|
948
968
|
factor: null,
|
|
949
969
|
compareType: ">",
|
|
950
|
-
cycle2:
|
|
970
|
+
cycle2: R.config.cycleDefault ?? null,
|
|
951
971
|
factor2: null
|
|
952
972
|
});
|
|
953
973
|
break;
|
|
954
974
|
}
|
|
955
975
|
default: {
|
|
956
|
-
|
|
957
|
-
cycle:
|
|
976
|
+
h.value.list.push({
|
|
977
|
+
cycle: R.config.cycleDefault ?? null,
|
|
958
978
|
factor: null,
|
|
959
979
|
score: [null, null]
|
|
960
980
|
});
|
|
@@ -962,31 +982,31 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
962
982
|
}
|
|
963
983
|
}
|
|
964
984
|
}, i = () => {
|
|
965
|
-
|
|
966
|
-
if (
|
|
967
|
-
if (
|
|
968
|
-
const
|
|
969
|
-
|
|
985
|
+
q.value.validate((I) => {
|
|
986
|
+
if (I)
|
|
987
|
+
if (h.value.sqlValue) {
|
|
988
|
+
const _ = Ce(h.value.sqlValue);
|
|
989
|
+
h.value.sqlValue = h.value.list.reduce((c, l, V) => (_.includes(`条件${V + 1}`) || (c += `&& 条件${V + 1} `), c), h.value.sqlValue);
|
|
970
990
|
} else
|
|
971
|
-
|
|
991
|
+
h.value.sqlValue = h.value.list.reduce((_, c, l) => (l === 0 ? _ += `条件${l + 1} ` : _ += `&& 条件${l + 1} `, _), "");
|
|
972
992
|
});
|
|
973
|
-
},
|
|
974
|
-
switch (
|
|
993
|
+
}, n = (I) => {
|
|
994
|
+
switch (I.key) {
|
|
975
995
|
case "compare": {
|
|
976
|
-
const { cycle:
|
|
977
|
-
let
|
|
978
|
-
return
|
|
996
|
+
const { cycle: _, factor: c, compareType: l, cycle2: V, factor2: m } = I;
|
|
997
|
+
let f = "";
|
|
998
|
+
return f += ` ${R.config.cycleOptions.find(({ value: p }) => p === _).label}`, f += ` ${R.config.factorOptions.find(({ value: p }) => p === c).label}`, f += ` ${l}`, f += ` ${R.config.cycleOptions.find(({ value: p }) => p === V).label}`, f += ` ${R.config.factorOptions.find(({ value: p }) => p === m).label}`, f;
|
|
979
999
|
}
|
|
980
1000
|
default: {
|
|
981
|
-
const { cycle:
|
|
982
|
-
let
|
|
983
|
-
return
|
|
1001
|
+
const { cycle: _, factor: c, score: l } = I;
|
|
1002
|
+
let V = "";
|
|
1003
|
+
return V += ` ${R.config.cycleOptions.find(({ value: m }) => m === _).label}`, V += ` ${R.config.factorOptions.find(({ value: m }) => m === c).label}`, V += ` ${l[0] || l[0] === 0 ? `${l[0]}分` : "∞"}`, V += " ~", V += ` ${l[1] || l[1] === 0 ? `${l[1]}分` : "∞"}`, V;
|
|
984
1004
|
}
|
|
985
1005
|
}
|
|
986
|
-
},
|
|
987
|
-
switch (
|
|
1006
|
+
}, M = (I, _) => {
|
|
1007
|
+
switch (I) {
|
|
988
1008
|
case "sqlTag": {
|
|
989
|
-
|
|
1009
|
+
O.value = {
|
|
990
1010
|
list: [],
|
|
991
1011
|
sqlEnable: 0,
|
|
992
1012
|
sqlValue: null
|
|
@@ -994,86 +1014,86 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
994
1014
|
break;
|
|
995
1015
|
}
|
|
996
1016
|
case "factorTag": {
|
|
997
|
-
|
|
1017
|
+
O.value.list.splice(_, 1);
|
|
998
1018
|
break;
|
|
999
1019
|
}
|
|
1000
1020
|
}
|
|
1001
1021
|
};
|
|
1002
|
-
return (
|
|
1003
|
-
var
|
|
1004
|
-
const
|
|
1005
|
-
return
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1022
|
+
return (I, _) => {
|
|
1023
|
+
var X;
|
|
1024
|
+
const c = He, l = De, V = Fe, m = vl, f = Ze, p = ve, T = me, y = il, F = qe, u = he, D = xe, v = Me, S = dl, r = ke;
|
|
1025
|
+
return o(), b(U, null, [
|
|
1026
|
+
k("div", ql, [
|
|
1027
|
+
k("div", null, [
|
|
1028
|
+
O.value.sqlEnable && O.value.sqlValue ? (o(), L(l, {
|
|
1009
1029
|
key: 0,
|
|
1010
1030
|
closable: "",
|
|
1011
1031
|
type: "info",
|
|
1012
|
-
title:
|
|
1013
|
-
onClose:
|
|
1032
|
+
title: O.value.sqlValue,
|
|
1033
|
+
onClose: _[0] || (_[0] = (C) => M("sqlTag"))
|
|
1014
1034
|
}, {
|
|
1015
|
-
default:
|
|
1016
|
-
|
|
1035
|
+
default: s(() => [
|
|
1036
|
+
t(c, {
|
|
1017
1037
|
type: "info",
|
|
1018
1038
|
truncated: "",
|
|
1019
1039
|
style: { "max-width": "500px" }
|
|
1020
1040
|
}, {
|
|
1021
|
-
default:
|
|
1022
|
-
|
|
1041
|
+
default: s(() => [
|
|
1042
|
+
E(K(O.value.sqlValue), 1)
|
|
1023
1043
|
]),
|
|
1024
1044
|
_: 1
|
|
1025
1045
|
})
|
|
1026
1046
|
]),
|
|
1027
1047
|
_: 1
|
|
1028
|
-
}, 8, ["title"])) :
|
|
1029
|
-
!
|
|
1048
|
+
}, 8, ["title"])) : N("", !0),
|
|
1049
|
+
!O.value.sqlEnable && O.value.list.length ? (o(!0), b(U, { key: 1 }, z(O.value.list, (C, Y) => (o(), L(l, {
|
|
1030
1050
|
closable: "",
|
|
1031
1051
|
type: "info",
|
|
1032
|
-
onClose: (
|
|
1052
|
+
onClose: (w) => M("factorTag", Y)
|
|
1033
1053
|
}, {
|
|
1034
|
-
default:
|
|
1035
|
-
|
|
1054
|
+
default: s(() => [
|
|
1055
|
+
E(K(n(C)), 1)
|
|
1036
1056
|
]),
|
|
1037
1057
|
_: 2
|
|
1038
|
-
}, 1032, ["onClose"]))), 256)) :
|
|
1039
|
-
|
|
1058
|
+
}, 1032, ["onClose"]))), 256)) : N("", !0),
|
|
1059
|
+
t(V, {
|
|
1040
1060
|
class: "screen-btn",
|
|
1041
1061
|
type: "primary",
|
|
1042
1062
|
plain: "",
|
|
1043
1063
|
size: "small",
|
|
1044
|
-
icon:
|
|
1045
|
-
onClick:
|
|
1064
|
+
icon: g(de),
|
|
1065
|
+
onClick: $
|
|
1046
1066
|
}, {
|
|
1047
|
-
default:
|
|
1048
|
-
|
|
1067
|
+
default: s(() => [
|
|
1068
|
+
E(" 添加因子 ")
|
|
1049
1069
|
]),
|
|
1050
1070
|
_: 1
|
|
1051
1071
|
}, 8, ["icon"])
|
|
1052
1072
|
]),
|
|
1053
|
-
r
|
|
1054
|
-
modelValue:
|
|
1055
|
-
"onUpdate:modelValue":
|
|
1073
|
+
t(r, {
|
|
1074
|
+
modelValue: a.value,
|
|
1075
|
+
"onUpdate:modelValue": _[5] || (_[5] = (C) => a.value = C),
|
|
1056
1076
|
width: "680",
|
|
1057
1077
|
"align-center": "",
|
|
1058
1078
|
"destroy-on-close": ""
|
|
1059
1079
|
}, {
|
|
1060
|
-
header:
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
id:
|
|
1064
|
-
class:
|
|
1065
|
-
}, " 因子筛选 ", 10,
|
|
1066
|
-
|
|
1080
|
+
header: s(({ titleId: C, titleClass: Y }) => [
|
|
1081
|
+
k("div", Fl, [
|
|
1082
|
+
k("span", {
|
|
1083
|
+
id: C,
|
|
1084
|
+
class: H(Y)
|
|
1085
|
+
}, " 因子筛选 ", 10, Dl),
|
|
1086
|
+
t(f, {
|
|
1067
1087
|
effect: "dark",
|
|
1068
1088
|
content: "点击查看: 因子使用说明",
|
|
1069
1089
|
placement: "right"
|
|
1070
1090
|
}, {
|
|
1071
|
-
default:
|
|
1072
|
-
|
|
1073
|
-
onClick:
|
|
1091
|
+
default: s(() => [
|
|
1092
|
+
t(m, {
|
|
1093
|
+
onClick: _[1] || (_[1] = (w) => x.value = !0)
|
|
1074
1094
|
}, {
|
|
1075
|
-
default:
|
|
1076
|
-
|
|
1095
|
+
default: s(() => [
|
|
1096
|
+
t(g(cl))
|
|
1077
1097
|
]),
|
|
1078
1098
|
_: 1
|
|
1079
1099
|
})
|
|
@@ -1082,75 +1102,75 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1082
1102
|
})
|
|
1083
1103
|
])
|
|
1084
1104
|
]),
|
|
1085
|
-
footer:
|
|
1086
|
-
|
|
1087
|
-
|
|
1105
|
+
footer: s(() => [
|
|
1106
|
+
k("div", Bl, [
|
|
1107
|
+
t(V, {
|
|
1088
1108
|
type: "primary",
|
|
1089
|
-
onClick:
|
|
1109
|
+
onClick: e
|
|
1090
1110
|
}, {
|
|
1091
|
-
default:
|
|
1092
|
-
|
|
1111
|
+
default: s(() => [
|
|
1112
|
+
E("确定")
|
|
1093
1113
|
]),
|
|
1094
1114
|
_: 1
|
|
1095
1115
|
})
|
|
1096
1116
|
])
|
|
1097
1117
|
]),
|
|
1098
|
-
default:
|
|
1099
|
-
|
|
1118
|
+
default: s(() => [
|
|
1119
|
+
t(S, {
|
|
1100
1120
|
ref_key: "dialogFormRef",
|
|
1101
|
-
ref:
|
|
1102
|
-
model:
|
|
1121
|
+
ref: q,
|
|
1122
|
+
model: h.value
|
|
1103
1123
|
}, {
|
|
1104
|
-
default:
|
|
1105
|
-
(
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1124
|
+
default: s(() => [
|
|
1125
|
+
(o(!0), b(U, null, z(h.value.list, (C, Y) => (o(), b("div", Ll, [
|
|
1126
|
+
k("span", jl, K(`条件${Y + 1}`), 1),
|
|
1127
|
+
C.key === "compare" ? (o(), b(U, { key: 0 }, [
|
|
1128
|
+
d.config.cycleShow ? (o(), L(y, {
|
|
1109
1129
|
key: 0,
|
|
1110
1130
|
prop: "list." + Y + ".cycle",
|
|
1111
1131
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
1112
1132
|
style: { width: "100px", "margin-right": "10px" }
|
|
1113
1133
|
}, {
|
|
1114
|
-
default:
|
|
1115
|
-
|
|
1116
|
-
modelValue:
|
|
1117
|
-
"onUpdate:modelValue": (
|
|
1134
|
+
default: s(() => [
|
|
1135
|
+
t(T, {
|
|
1136
|
+
modelValue: C.cycle,
|
|
1137
|
+
"onUpdate:modelValue": (w) => C.cycle = w,
|
|
1118
1138
|
placeholder: "选择周期",
|
|
1119
1139
|
size: "small"
|
|
1120
1140
|
}, {
|
|
1121
|
-
default:
|
|
1122
|
-
(
|
|
1123
|
-
label:
|
|
1124
|
-
value:
|
|
1125
|
-
key:
|
|
1141
|
+
default: s(() => [
|
|
1142
|
+
(o(!0), b(U, null, z(d.config.cycleOptions, ({ label: w, value: P }) => (o(), L(p, {
|
|
1143
|
+
label: w,
|
|
1144
|
+
value: P,
|
|
1145
|
+
key: P
|
|
1126
1146
|
}, null, 8, ["label", "value"]))), 128))
|
|
1127
1147
|
]),
|
|
1128
1148
|
_: 2
|
|
1129
1149
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1130
1150
|
]),
|
|
1131
1151
|
_: 2
|
|
1132
|
-
}, 1032, ["prop"])) :
|
|
1133
|
-
|
|
1152
|
+
}, 1032, ["prop"])) : N("", !0),
|
|
1153
|
+
t(y, {
|
|
1134
1154
|
prop: "list." + Y + ".factor",
|
|
1135
1155
|
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
1136
1156
|
style: { width: "132px", "margin-right": "10px" }
|
|
1137
1157
|
}, {
|
|
1138
|
-
default:
|
|
1139
|
-
|
|
1140
|
-
modelValue:
|
|
1141
|
-
"onUpdate:modelValue": (
|
|
1158
|
+
default: s(() => [
|
|
1159
|
+
t(T, {
|
|
1160
|
+
modelValue: C.factor,
|
|
1161
|
+
"onUpdate:modelValue": (w) => C.factor = w,
|
|
1142
1162
|
placeholder: "选择因子",
|
|
1143
1163
|
filterable: "",
|
|
1144
1164
|
size: "small",
|
|
1145
1165
|
"no-match-text": "无匹配数据"
|
|
1146
1166
|
}, {
|
|
1147
|
-
default:
|
|
1148
|
-
var
|
|
1167
|
+
default: s(() => {
|
|
1168
|
+
var w;
|
|
1149
1169
|
return [
|
|
1150
|
-
(
|
|
1151
|
-
label:
|
|
1152
|
-
value:
|
|
1153
|
-
key:
|
|
1170
|
+
(o(!0), b(U, null, z((w = d.config.factorOptions) == null ? void 0 : w.filter((P) => [4].includes(P.type)), ({ label: P, value: Z }) => (o(), L(p, {
|
|
1171
|
+
label: P,
|
|
1172
|
+
value: Z,
|
|
1173
|
+
key: Z
|
|
1154
1174
|
}, null, 8, ["label", "value"]))), 128))
|
|
1155
1175
|
];
|
|
1156
1176
|
}),
|
|
@@ -1159,18 +1179,18 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1159
1179
|
]),
|
|
1160
1180
|
_: 2
|
|
1161
1181
|
}, 1032, ["prop"]),
|
|
1162
|
-
|
|
1163
|
-
default:
|
|
1164
|
-
|
|
1165
|
-
modelValue:
|
|
1166
|
-
"onUpdate:modelValue": (
|
|
1182
|
+
t(y, { style: { width: "52px", "margin-right": "10px" } }, {
|
|
1183
|
+
default: s(() => [
|
|
1184
|
+
t(T, {
|
|
1185
|
+
modelValue: C.compareType,
|
|
1186
|
+
"onUpdate:modelValue": (w) => C.compareType = w,
|
|
1167
1187
|
size: "small"
|
|
1168
1188
|
}, {
|
|
1169
|
-
default:
|
|
1170
|
-
(
|
|
1171
|
-
label:
|
|
1172
|
-
value:
|
|
1173
|
-
key:
|
|
1189
|
+
default: s(() => [
|
|
1190
|
+
(o(), b(U, null, z([">", ">=", "<", "<="], (w) => t(p, {
|
|
1191
|
+
label: w,
|
|
1192
|
+
value: w,
|
|
1193
|
+
key: w
|
|
1174
1194
|
}, null, 8, ["label", "value"])), 64))
|
|
1175
1195
|
]),
|
|
1176
1196
|
_: 2
|
|
@@ -1178,52 +1198,52 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1178
1198
|
]),
|
|
1179
1199
|
_: 2
|
|
1180
1200
|
}, 1024),
|
|
1181
|
-
|
|
1201
|
+
d.config.cycleShow ? (o(), L(y, {
|
|
1182
1202
|
key: 1,
|
|
1183
1203
|
prop: "list." + Y + ".cycle2",
|
|
1184
1204
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
1185
1205
|
style: { width: "100px", "margin-right": "10px" }
|
|
1186
1206
|
}, {
|
|
1187
|
-
default:
|
|
1188
|
-
|
|
1189
|
-
modelValue:
|
|
1190
|
-
"onUpdate:modelValue": (
|
|
1207
|
+
default: s(() => [
|
|
1208
|
+
t(T, {
|
|
1209
|
+
modelValue: C.cycle2,
|
|
1210
|
+
"onUpdate:modelValue": (w) => C.cycle2 = w,
|
|
1191
1211
|
placeholder: "选择周期",
|
|
1192
1212
|
size: "small"
|
|
1193
1213
|
}, {
|
|
1194
|
-
default:
|
|
1195
|
-
(
|
|
1196
|
-
label:
|
|
1197
|
-
value:
|
|
1198
|
-
key:
|
|
1214
|
+
default: s(() => [
|
|
1215
|
+
(o(!0), b(U, null, z(d.config.cycleOptions, ({ label: w, value: P }) => (o(), L(p, {
|
|
1216
|
+
label: w,
|
|
1217
|
+
value: P,
|
|
1218
|
+
key: P
|
|
1199
1219
|
}, null, 8, ["label", "value"]))), 128))
|
|
1200
1220
|
]),
|
|
1201
1221
|
_: 2
|
|
1202
1222
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1203
1223
|
]),
|
|
1204
1224
|
_: 2
|
|
1205
|
-
}, 1032, ["prop"])) :
|
|
1206
|
-
|
|
1225
|
+
}, 1032, ["prop"])) : N("", !0),
|
|
1226
|
+
t(y, {
|
|
1207
1227
|
prop: "list." + Y + ".factor2",
|
|
1208
1228
|
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
1209
1229
|
style: { width: "132px", "margin-right": "10px" }
|
|
1210
1230
|
}, {
|
|
1211
|
-
default:
|
|
1212
|
-
|
|
1213
|
-
modelValue:
|
|
1214
|
-
"onUpdate:modelValue": (
|
|
1231
|
+
default: s(() => [
|
|
1232
|
+
t(T, {
|
|
1233
|
+
modelValue: C.factor2,
|
|
1234
|
+
"onUpdate:modelValue": (w) => C.factor2 = w,
|
|
1215
1235
|
placeholder: "选择因子",
|
|
1216
1236
|
filterable: "",
|
|
1217
1237
|
size: "small",
|
|
1218
1238
|
"no-match-text": "无匹配数据"
|
|
1219
1239
|
}, {
|
|
1220
|
-
default:
|
|
1221
|
-
var
|
|
1240
|
+
default: s(() => {
|
|
1241
|
+
var w;
|
|
1222
1242
|
return [
|
|
1223
|
-
(
|
|
1224
|
-
label:
|
|
1225
|
-
value:
|
|
1226
|
-
key:
|
|
1243
|
+
(o(!0), b(U, null, z((w = d.config.factorOptions) == null ? void 0 : w.filter((P) => [4].includes(P.type)), ({ label: P, value: Z }) => (o(), L(p, {
|
|
1244
|
+
label: P,
|
|
1245
|
+
value: Z,
|
|
1246
|
+
key: Z
|
|
1227
1247
|
}, null, 8, ["label", "value"]))), 128))
|
|
1228
1248
|
];
|
|
1229
1249
|
}),
|
|
@@ -1232,53 +1252,53 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1232
1252
|
]),
|
|
1233
1253
|
_: 2
|
|
1234
1254
|
}, 1032, ["prop"])
|
|
1235
|
-
], 64)) : (
|
|
1236
|
-
|
|
1255
|
+
], 64)) : (o(), b(U, { key: 1 }, [
|
|
1256
|
+
d.config.cycleShow ? (o(), L(y, {
|
|
1237
1257
|
key: 0,
|
|
1238
1258
|
prop: "list." + Y + ".cycle",
|
|
1239
1259
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
1240
1260
|
style: { width: "100px", "margin-right": "10px" }
|
|
1241
1261
|
}, {
|
|
1242
|
-
default:
|
|
1243
|
-
|
|
1244
|
-
modelValue:
|
|
1245
|
-
"onUpdate:modelValue": (
|
|
1262
|
+
default: s(() => [
|
|
1263
|
+
t(T, {
|
|
1264
|
+
modelValue: C.cycle,
|
|
1265
|
+
"onUpdate:modelValue": (w) => C.cycle = w,
|
|
1246
1266
|
placeholder: "选择周期",
|
|
1247
1267
|
size: "small"
|
|
1248
1268
|
}, {
|
|
1249
|
-
default:
|
|
1250
|
-
(
|
|
1251
|
-
label:
|
|
1252
|
-
value:
|
|
1253
|
-
key:
|
|
1269
|
+
default: s(() => [
|
|
1270
|
+
(o(!0), b(U, null, z(d.config.cycleOptions, ({ label: w, value: P }) => (o(), L(p, {
|
|
1271
|
+
label: w,
|
|
1272
|
+
value: P,
|
|
1273
|
+
key: P
|
|
1254
1274
|
}, null, 8, ["label", "value"]))), 128))
|
|
1255
1275
|
]),
|
|
1256
1276
|
_: 2
|
|
1257
1277
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1258
1278
|
]),
|
|
1259
1279
|
_: 2
|
|
1260
|
-
}, 1032, ["prop"])) :
|
|
1261
|
-
|
|
1280
|
+
}, 1032, ["prop"])) : N("", !0),
|
|
1281
|
+
t(y, {
|
|
1262
1282
|
prop: "list." + Y + ".factor",
|
|
1263
1283
|
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
1264
1284
|
style: { width: "194px", "margin-right": "10px" }
|
|
1265
1285
|
}, {
|
|
1266
|
-
default:
|
|
1267
|
-
|
|
1268
|
-
modelValue:
|
|
1269
|
-
"onUpdate:modelValue": (
|
|
1286
|
+
default: s(() => [
|
|
1287
|
+
t(T, {
|
|
1288
|
+
modelValue: C.factor,
|
|
1289
|
+
"onUpdate:modelValue": (w) => C.factor = w,
|
|
1270
1290
|
placeholder: "选择因子",
|
|
1271
1291
|
filterable: "",
|
|
1272
1292
|
size: "small",
|
|
1273
1293
|
"no-match-text": "无匹配数据"
|
|
1274
1294
|
}, {
|
|
1275
|
-
default:
|
|
1276
|
-
var
|
|
1295
|
+
default: s(() => {
|
|
1296
|
+
var w;
|
|
1277
1297
|
return [
|
|
1278
|
-
(
|
|
1279
|
-
label:
|
|
1280
|
-
value:
|
|
1281
|
-
key:
|
|
1298
|
+
(o(!0), b(U, null, z((w = d.config.factorOptions) == null ? void 0 : w.filter((P) => [1, 3].includes(P.type)), ({ label: P, value: Z }) => (o(), L(p, {
|
|
1299
|
+
label: P,
|
|
1300
|
+
value: Z,
|
|
1301
|
+
key: Z
|
|
1282
1302
|
}, null, 8, ["label", "value"]))), 128))
|
|
1283
1303
|
];
|
|
1284
1304
|
}),
|
|
@@ -1287,23 +1307,23 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1287
1307
|
]),
|
|
1288
1308
|
_: 2
|
|
1289
1309
|
}, 1032, ["prop"]),
|
|
1290
|
-
|
|
1310
|
+
t(y, {
|
|
1291
1311
|
prop: "list." + Y + ".score",
|
|
1292
|
-
rules: { validator:
|
|
1312
|
+
rules: { validator: g(El), trigger: "blur" },
|
|
1293
1313
|
style: { width: "200px", "margin-right": "10px" }
|
|
1294
1314
|
}, {
|
|
1295
|
-
default:
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
modelValue:
|
|
1299
|
-
"onUpdate:modelValue": (
|
|
1315
|
+
default: s(() => [
|
|
1316
|
+
k("div", Nl, [
|
|
1317
|
+
t(F, {
|
|
1318
|
+
modelValue: C.score[0],
|
|
1319
|
+
"onUpdate:modelValue": (w) => C.score[0] = w,
|
|
1300
1320
|
size: "small",
|
|
1301
1321
|
"controls-position": "right"
|
|
1302
1322
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
modelValue:
|
|
1306
|
-
"onUpdate:modelValue": (
|
|
1323
|
+
zl,
|
|
1324
|
+
t(F, {
|
|
1325
|
+
modelValue: C.score[1],
|
|
1326
|
+
"onUpdate:modelValue": (w) => C.score[1] = w,
|
|
1307
1327
|
size: "small",
|
|
1308
1328
|
"controls-position": "right"
|
|
1309
1329
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -1312,86 +1332,86 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1312
1332
|
_: 2
|
|
1313
1333
|
}, 1032, ["prop", "rules"])
|
|
1314
1334
|
], 64)),
|
|
1315
|
-
|
|
1316
|
-
onClick: (
|
|
1335
|
+
t(m, {
|
|
1336
|
+
onClick: (w) => B(Y)
|
|
1317
1337
|
}, {
|
|
1318
|
-
default:
|
|
1319
|
-
|
|
1338
|
+
default: s(() => [
|
|
1339
|
+
t(g(pl))
|
|
1320
1340
|
]),
|
|
1321
1341
|
_: 2
|
|
1322
1342
|
}, 1032, ["onClick"])
|
|
1323
1343
|
]))), 256)),
|
|
1324
|
-
|
|
1344
|
+
t(V, {
|
|
1325
1345
|
type: "primary",
|
|
1326
1346
|
plain: "",
|
|
1327
1347
|
size: "small",
|
|
1328
|
-
icon:
|
|
1329
|
-
onClick:
|
|
1348
|
+
icon: g(de),
|
|
1349
|
+
onClick: j,
|
|
1330
1350
|
style: { "margin-bottom": "10px" }
|
|
1331
1351
|
}, {
|
|
1332
|
-
default:
|
|
1333
|
-
|
|
1352
|
+
default: s(() => [
|
|
1353
|
+
E("添加因子")
|
|
1334
1354
|
]),
|
|
1335
1355
|
_: 1
|
|
1336
1356
|
}, 8, ["icon"]),
|
|
1337
|
-
|
|
1357
|
+
t(V, {
|
|
1338
1358
|
type: "primary",
|
|
1339
1359
|
plain: "",
|
|
1340
1360
|
size: "small",
|
|
1341
|
-
icon:
|
|
1342
|
-
onClick:
|
|
1361
|
+
icon: g(de),
|
|
1362
|
+
onClick: _[2] || (_[2] = (C) => j("compare")),
|
|
1343
1363
|
style: { "margin-bottom": "10px" }
|
|
1344
1364
|
}, {
|
|
1345
|
-
default:
|
|
1346
|
-
|
|
1365
|
+
default: s(() => [
|
|
1366
|
+
E("添加因子对比")
|
|
1347
1367
|
]),
|
|
1348
1368
|
_: 1
|
|
1349
1369
|
}, 8, ["icon"]),
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
default:
|
|
1353
|
-
|
|
1354
|
-
modelValue:
|
|
1355
|
-
"onUpdate:modelValue":
|
|
1370
|
+
d.config.sqlShow ? (o(), b(U, { key: 0 }, [
|
|
1371
|
+
t(y, { label: "SQL功能: " }, {
|
|
1372
|
+
default: s(() => [
|
|
1373
|
+
t(D, {
|
|
1374
|
+
modelValue: h.value.sqlEnable,
|
|
1375
|
+
"onUpdate:modelValue": _[3] || (_[3] = (C) => h.value.sqlEnable = C)
|
|
1356
1376
|
}, {
|
|
1357
|
-
default:
|
|
1358
|
-
|
|
1377
|
+
default: s(() => [
|
|
1378
|
+
t(u, {
|
|
1359
1379
|
label: "关闭",
|
|
1360
1380
|
value: 0
|
|
1361
1381
|
}),
|
|
1362
|
-
|
|
1382
|
+
t(u, {
|
|
1363
1383
|
label: "启用",
|
|
1364
1384
|
value: 1
|
|
1365
1385
|
})
|
|
1366
1386
|
]),
|
|
1367
1387
|
_: 1
|
|
1368
1388
|
}, 8, ["modelValue"]),
|
|
1369
|
-
|
|
1389
|
+
h.value.sqlEnable ? (o(), L(V, {
|
|
1370
1390
|
key: 0,
|
|
1371
1391
|
type: "primary",
|
|
1372
1392
|
size: "small",
|
|
1373
1393
|
onClick: i,
|
|
1374
1394
|
style: { "margin-left": "auto" }
|
|
1375
1395
|
}, {
|
|
1376
|
-
default:
|
|
1377
|
-
|
|
1396
|
+
default: s(() => [
|
|
1397
|
+
E("生成SQL")
|
|
1378
1398
|
]),
|
|
1379
1399
|
_: 1
|
|
1380
|
-
})) :
|
|
1400
|
+
})) : N("", !0)
|
|
1381
1401
|
]),
|
|
1382
1402
|
_: 1
|
|
1383
1403
|
}),
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
modelValue:
|
|
1387
|
-
"onUpdate:modelValue":
|
|
1404
|
+
h.value.sqlEnable ? (o(), b(U, { key: 0 }, [
|
|
1405
|
+
t(v, {
|
|
1406
|
+
modelValue: h.value.sqlValue,
|
|
1407
|
+
"onUpdate:modelValue": _[4] || (_[4] = (C) => h.value.sqlValue = C),
|
|
1388
1408
|
autosize: { minRows: 4 },
|
|
1389
1409
|
type: "textarea",
|
|
1390
1410
|
style: { "margin-bottom": "10px" }
|
|
1391
1411
|
}, null, 8, ["modelValue"]),
|
|
1392
|
-
|
|
1393
|
-
], 64)) :
|
|
1394
|
-
], 64)) :
|
|
1412
|
+
Pl
|
|
1413
|
+
], 64)) : N("", !0)
|
|
1414
|
+
], 64)) : N("", !0)
|
|
1395
1415
|
]),
|
|
1396
1416
|
_: 1
|
|
1397
1417
|
}, 8, ["model"])
|
|
@@ -1399,30 +1419,30 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1399
1419
|
_: 1
|
|
1400
1420
|
}, 8, ["modelValue"])
|
|
1401
1421
|
]),
|
|
1402
|
-
|
|
1403
|
-
visible:
|
|
1404
|
-
"onUpdate:visible":
|
|
1405
|
-
data: (
|
|
1422
|
+
t(Ml, {
|
|
1423
|
+
visible: x.value,
|
|
1424
|
+
"onUpdate:visible": _[6] || (_[6] = (C) => x.value = C),
|
|
1425
|
+
data: (X = d.config.factorDescriptions) == null ? void 0 : X.filter((C) => [1, 3].includes(C.type))
|
|
1406
1426
|
}, null, 8, ["visible", "data"])
|
|
1407
1427
|
], 64);
|
|
1408
1428
|
};
|
|
1409
1429
|
}
|
|
1410
|
-
},
|
|
1411
|
-
const
|
|
1430
|
+
}, Yl = /* @__PURE__ */ _e(Gl, [["__scopeId", "data-v-3592dee9"]]);
|
|
1431
|
+
const re = (d) => (ge("data-v-9fb382f7"), d = d(), be(), d), Jl = {
|
|
1412
1432
|
key: 0,
|
|
1413
1433
|
class: "common-indicator"
|
|
1414
|
-
},
|
|
1415
|
-
/* @__PURE__ */
|
|
1416
|
-
/* @__PURE__ */
|
|
1417
|
-
], -1)),
|
|
1434
|
+
}, Al = { class: "indicator" }, Kl = /* @__PURE__ */ re(() => /* @__PURE__ */ k("div", { class: "title" }, [
|
|
1435
|
+
/* @__PURE__ */ k("span", null, "常用指标: "),
|
|
1436
|
+
/* @__PURE__ */ k("span", null, "不限")
|
|
1437
|
+
], -1)), Ql = { class: "options" }, Zl = ["onClick"], Hl = { class: "tags" }, Wl = ["onClick"], Xl = { style: { "font-size": "18px" } }, et = {
|
|
1418
1438
|
key: 0,
|
|
1419
1439
|
class: "out-box"
|
|
1420
|
-
},
|
|
1440
|
+
}, lt = /* @__PURE__ */ re(() => /* @__PURE__ */ k("span", null, "自定义: ", -1)), tt = {
|
|
1421
1441
|
key: 0,
|
|
1422
1442
|
class: "convenient-option-box"
|
|
1423
|
-
},
|
|
1443
|
+
}, at = { class: "out-box" }, nt = /* @__PURE__ */ re(() => /* @__PURE__ */ k("span", null, "自定义: ", -1)), ot = { key: 0 }, ut = { key: 0 }, rt = { key: 0 }, st = { key: 1 }, it = { class: "tFeaturelncomes-option-box" }, dt = { class: "tFeaturelncomes-out-box" }, ct = /* @__PURE__ */ re(() => /* @__PURE__ */ k("span", null, "自定义: ", -1)), pt = { key: 2 }, vt = { key: 3 }, mt = { key: 4 }, ft = { key: 5 }, yt = { key: 6 }, gt = { style: { display: "flex", "align-items": "center" } }, bt = { class: "dialog-footer" }, kt = {
|
|
1424
1444
|
__name: "index",
|
|
1425
|
-
props: /* @__PURE__ */
|
|
1445
|
+
props: /* @__PURE__ */ oe({
|
|
1426
1446
|
config: { type: Object, default: () => {
|
|
1427
1447
|
} },
|
|
1428
1448
|
varietyMarket: { type: Number, default: () => null },
|
|
@@ -1434,30 +1454,36 @@ const ae = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1434
1454
|
dataModifiers: {}
|
|
1435
1455
|
}),
|
|
1436
1456
|
emits: ["update:data"],
|
|
1437
|
-
setup(
|
|
1438
|
-
const
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
}),
|
|
1448
|
-
|
|
1457
|
+
setup(d) {
|
|
1458
|
+
const R = [
|
|
1459
|
+
{ label: "近2周", value: "last2WeekVolumn" },
|
|
1460
|
+
{ label: "近1个月", value: "last1MonthVolumn" },
|
|
1461
|
+
{ label: "近3个月", value: "last3MonthVolumn" },
|
|
1462
|
+
{ label: "近6个月", value: "last6MonthVolumn" },
|
|
1463
|
+
{ label: "近1年", value: "last12MonthVolumn" }
|
|
1464
|
+
], O = ue(d, "data"), a = d, x = W(!1), q = G(() => {
|
|
1465
|
+
var c;
|
|
1466
|
+
return (c = a.data.find((l) => l.radioType === "1")) == null ? void 0 : c.key;
|
|
1467
|
+
}), h = G(() => {
|
|
1468
|
+
let c = [];
|
|
1469
|
+
return a.varietyMarket === null && !a.commonOption.length ? c = a.config.options : (c = a.config.options, a.varietyMarket && (c = c.filter(({ parent: l }) => l.varietyMarketIds.includes(a.varietyMarket))), a.commonOption.length && (c = c.filter(({ parent: l }) => {
|
|
1470
|
+
const { commonOptionIds: V } = l;
|
|
1471
|
+
return [.../* @__PURE__ */ new Set([...V, ...a.commonOption])].length !== [...V, ...a.commonOption].length;
|
|
1472
|
+
}))), c;
|
|
1473
|
+
}), $ = W({}), e = W({}), B = (c) => {
|
|
1474
|
+
$.value = c;
|
|
1449
1475
|
const l = {
|
|
1450
|
-
key:
|
|
1451
|
-
type:
|
|
1452
|
-
label:
|
|
1476
|
+
key: c.key,
|
|
1477
|
+
type: c.type,
|
|
1478
|
+
label: c.label
|
|
1453
1479
|
};
|
|
1454
|
-
switch (
|
|
1480
|
+
switch (c.key) {
|
|
1455
1481
|
case "st": {
|
|
1456
|
-
|
|
1482
|
+
e.value = { ...l, st: null };
|
|
1457
1483
|
break;
|
|
1458
1484
|
}
|
|
1459
1485
|
case "tFeaturelncomes": {
|
|
1460
|
-
|
|
1486
|
+
e.value = {
|
|
1461
1487
|
...l,
|
|
1462
1488
|
rule: 1,
|
|
1463
1489
|
// 1超 2跌
|
|
@@ -1468,99 +1494,137 @@ const ae = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1468
1494
|
break;
|
|
1469
1495
|
}
|
|
1470
1496
|
case "priceLevels": {
|
|
1471
|
-
|
|
1497
|
+
e.value = { ...l, priceLevels: null };
|
|
1472
1498
|
break;
|
|
1473
1499
|
}
|
|
1474
1500
|
case "peTtmLevels": {
|
|
1475
|
-
|
|
1501
|
+
e.value = { ...l, peTtmLevels: null };
|
|
1476
1502
|
break;
|
|
1477
1503
|
}
|
|
1478
1504
|
case "optionsCpType": {
|
|
1479
|
-
|
|
1505
|
+
e.value = {
|
|
1480
1506
|
...l,
|
|
1481
1507
|
optionsCpType: null
|
|
1482
1508
|
// 1看涨 2看跌
|
|
1483
1509
|
};
|
|
1484
1510
|
break;
|
|
1485
1511
|
}
|
|
1512
|
+
case "perVolumn": {
|
|
1513
|
+
e.value = {
|
|
1514
|
+
...l,
|
|
1515
|
+
radio: "last12MonthVolumn",
|
|
1516
|
+
levels: []
|
|
1517
|
+
};
|
|
1518
|
+
break;
|
|
1519
|
+
}
|
|
1520
|
+
case "mainFlow": {
|
|
1521
|
+
e.value = {
|
|
1522
|
+
...l,
|
|
1523
|
+
mainFlowRadioType: "0",
|
|
1524
|
+
rankRange: [null, null]
|
|
1525
|
+
};
|
|
1526
|
+
break;
|
|
1527
|
+
}
|
|
1486
1528
|
default:
|
|
1487
|
-
|
|
1529
|
+
e.value = {
|
|
1488
1530
|
...l,
|
|
1489
1531
|
range: [null, null],
|
|
1490
|
-
unit:
|
|
1491
|
-
radioType:
|
|
1532
|
+
unit: c.defaultUnit.length ? [...c.defaultUnit] : [null, null],
|
|
1533
|
+
radioType: q.value && q.value !== c.key ? "0" : c.defaultRadioType,
|
|
1492
1534
|
// 0数值 1排名
|
|
1493
|
-
rankRange:
|
|
1535
|
+
rankRange: c.defaultRankRange || [null, null]
|
|
1494
1536
|
// 默认排名
|
|
1495
1537
|
};
|
|
1496
1538
|
}
|
|
1497
|
-
|
|
1498
|
-
},
|
|
1499
|
-
|
|
1539
|
+
x.value = !0;
|
|
1540
|
+
}, j = () => {
|
|
1541
|
+
var l;
|
|
1542
|
+
switch (e.value.key) {
|
|
1500
1543
|
case "st": {
|
|
1501
|
-
const { label:
|
|
1502
|
-
if (
|
|
1503
|
-
return
|
|
1504
|
-
|
|
1544
|
+
const { label: V, st: m } = e.value;
|
|
1545
|
+
if (m === null)
|
|
1546
|
+
return Q.warning("格式错误: 请至少选择一个值");
|
|
1547
|
+
e.value.tagText = `${V}: ${m ? "是" : "否"}`;
|
|
1505
1548
|
break;
|
|
1506
1549
|
}
|
|
1507
1550
|
case "tFeaturelncomes": {
|
|
1508
|
-
const { label:
|
|
1509
|
-
if (["", null].includes(
|
|
1510
|
-
return
|
|
1511
|
-
|
|
1551
|
+
const { label: V, rule: m, withFewYears: f, yearsCount: p, netProfit: T } = e.value;
|
|
1552
|
+
if (["", null].includes(f) || ["", null].includes(p) || ["", null].includes(T))
|
|
1553
|
+
return Q.warning("格式错误: 请填写完整");
|
|
1554
|
+
e.value.tagText = `${V}: ${f}年内${p}年以上盈利${m === 1 ? "超" : "跌"}过${T}亿`;
|
|
1512
1555
|
break;
|
|
1513
1556
|
}
|
|
1514
1557
|
case "priceLevels": {
|
|
1515
|
-
const { label:
|
|
1516
|
-
if (!
|
|
1517
|
-
return
|
|
1518
|
-
|
|
1558
|
+
const { label: V, priceLevels: m } = e.value;
|
|
1559
|
+
if (!m || m.length === 0)
|
|
1560
|
+
return Q.warning("格式错误: 请至少选择一个值");
|
|
1561
|
+
e.value.tagText = `${V}: 已选${m}分位`;
|
|
1519
1562
|
break;
|
|
1520
1563
|
}
|
|
1521
1564
|
case "peTtmLevels": {
|
|
1522
|
-
const { label:
|
|
1523
|
-
if (!
|
|
1524
|
-
return
|
|
1525
|
-
|
|
1565
|
+
const { label: V, peTtmLevels: m } = e.value;
|
|
1566
|
+
if (!m || m.length === 0)
|
|
1567
|
+
return Q.warning("格式错误: 请至少选择一个值");
|
|
1568
|
+
e.value.tagText = `${V}: 已选${m}分位`;
|
|
1526
1569
|
break;
|
|
1527
1570
|
}
|
|
1528
1571
|
case "optionsCpType": {
|
|
1529
|
-
const { label:
|
|
1530
|
-
if (
|
|
1531
|
-
return
|
|
1532
|
-
|
|
1572
|
+
const { label: V, optionsCpType: m } = e.value;
|
|
1573
|
+
if (m === null)
|
|
1574
|
+
return Q.warning("格式错误: 请至少选择一个值");
|
|
1575
|
+
e.value.tagText = `${V}: ${m === 1 ? "看涨" : "看跌"}`;
|
|
1576
|
+
break;
|
|
1577
|
+
}
|
|
1578
|
+
case "perVolumn": {
|
|
1579
|
+
const { label: V, radio: m, levels: f } = e.value;
|
|
1580
|
+
if (!(f != null && f.length))
|
|
1581
|
+
return Q.warning("格式错误: 请选择分位");
|
|
1582
|
+
e.value.tagText = `${V}: ${(l = R.find((p) => p.value === m)) == null ? void 0 : l.label}${f.map((p) => `${p}分位`).join("、")}`;
|
|
1583
|
+
break;
|
|
1584
|
+
}
|
|
1585
|
+
case "mainFlow": {
|
|
1586
|
+
const { label: V, mainFlowRadioType: m, radio: f, rankRange: p } = e.value, T = (y) => {
|
|
1587
|
+
if (y === "" || y === null || y === void 0)
|
|
1588
|
+
return !1;
|
|
1589
|
+
const F = Number(y);
|
|
1590
|
+
return !isNaN(F);
|
|
1591
|
+
};
|
|
1592
|
+
if (!f)
|
|
1593
|
+
return Q.warning("格式错误: 请选择时间");
|
|
1594
|
+
if (!T(p[0]) || !T(p[1]))
|
|
1595
|
+
return Q.warning(`格式错误: 请填写${m === "0" ? "涨幅范围" : "排名范围"}`);
|
|
1596
|
+
e.value.tagText = `${V}: ${f}日${m === "0" ? "涨幅范围" : "排名范围"}: ${p[0]}${m === "0" ? "%" : ""} ~ ${p[1]}${m === "0" ? "%" : ""}`;
|
|
1533
1597
|
break;
|
|
1534
1598
|
}
|
|
1535
1599
|
default: {
|
|
1536
|
-
const { label:
|
|
1537
|
-
if (["", null].includes(
|
|
1538
|
-
return
|
|
1539
|
-
if (
|
|
1540
|
-
const
|
|
1541
|
-
if (isNaN(
|
|
1542
|
-
return
|
|
1543
|
-
if (
|
|
1544
|
-
return
|
|
1545
|
-
if (
|
|
1546
|
-
return
|
|
1600
|
+
const { label: V, unit: m, radioType: f } = e.value, p = f === "1" ? e.value.rankRange : e.value.range;
|
|
1601
|
+
if (["", null].includes(p[0]) && ["", null].includes(p[1]))
|
|
1602
|
+
return Q.warning("格式错误: 请至少填写一个值");
|
|
1603
|
+
if (f === "1") {
|
|
1604
|
+
const F = Number(p[0]), u = Number(p[1]);
|
|
1605
|
+
if (isNaN(F) || isNaN(u))
|
|
1606
|
+
return Q.warning("格式错误: 请填写数字");
|
|
1607
|
+
if (F < 0 || u < 0)
|
|
1608
|
+
return Q.warning("格式错误: 请填写大于0的数字");
|
|
1609
|
+
if (F > u)
|
|
1610
|
+
return Q.warning("格式错误: 请填写正确的排名范围");
|
|
1547
1611
|
}
|
|
1548
|
-
const
|
|
1549
|
-
!["", null].includes(
|
|
1612
|
+
const T = f === "1" ? "" : m[0] ?? "", y = f === "1" ? "" : m[1] ?? "";
|
|
1613
|
+
!["", null].includes(p[0]) && !["", null].includes(p[1]) ? e.value.tagText = `${V}${f === "1" ? "排名" : ""}: ${p[0]}${T} ~ ${p[1]}${y}` : ["", null].includes(p[0]) ? e.value.tagText = `${V}${f === "1" ? "排名" : ""}: ≤${p[1]}${y}` : e.value.tagText = `${V}${f === "1" ? "排名" : ""}: ≥${p[0]}${T}`;
|
|
1550
1614
|
}
|
|
1551
1615
|
}
|
|
1552
|
-
const
|
|
1553
|
-
|
|
1554
|
-
},
|
|
1555
|
-
|
|
1556
|
-
},
|
|
1557
|
-
|
|
1558
|
-
},
|
|
1559
|
-
|
|
1560
|
-
},
|
|
1561
|
-
switch (
|
|
1616
|
+
const c = O.value.findIndex(({ key: V }) => V === e.value.key);
|
|
1617
|
+
c === -1 ? O.value.push(e.value) : O.value.splice(c, 1, e.value), x.value = !1;
|
|
1618
|
+
}, i = (c) => {
|
|
1619
|
+
$.value = h.value.find(({ key: l }) => l === c.key), e.value = JSON.parse(JSON.stringify(c)), x.value = !0;
|
|
1620
|
+
}, n = (c) => {
|
|
1621
|
+
O.value.splice(c, 1);
|
|
1622
|
+
}, M = (c) => {
|
|
1623
|
+
e.value.range = [...c.range], e.value.unit = [...c.unit];
|
|
1624
|
+
}, I = (c) => {
|
|
1625
|
+
switch (c) {
|
|
1562
1626
|
case "≤0":
|
|
1563
|
-
Object.assign(
|
|
1627
|
+
Object.assign(e.value, {
|
|
1564
1628
|
rule: 2,
|
|
1565
1629
|
// 1超 2跌
|
|
1566
1630
|
withFewYears: 1,
|
|
@@ -1569,7 +1633,7 @@ const ae = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1569
1633
|
});
|
|
1570
1634
|
break;
|
|
1571
1635
|
case "≥0":
|
|
1572
|
-
Object.assign(
|
|
1636
|
+
Object.assign(e.value, {
|
|
1573
1637
|
rule: 1,
|
|
1574
1638
|
withFewYears: 1,
|
|
1575
1639
|
yearsCount: 1,
|
|
@@ -1577,7 +1641,7 @@ const ae = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1577
1641
|
});
|
|
1578
1642
|
break;
|
|
1579
1643
|
case "五年内有四年以上盈利超过5千万":
|
|
1580
|
-
Object.assign(
|
|
1644
|
+
Object.assign(e.value, {
|
|
1581
1645
|
rule: 1,
|
|
1582
1646
|
withFewYears: 5,
|
|
1583
1647
|
yearsCount: 4,
|
|
@@ -1585,7 +1649,7 @@ const ae = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1585
1649
|
});
|
|
1586
1650
|
break;
|
|
1587
1651
|
case "≥10亿":
|
|
1588
|
-
Object.assign(
|
|
1652
|
+
Object.assign(e.value, {
|
|
1589
1653
|
rule: 1,
|
|
1590
1654
|
withFewYears: 1,
|
|
1591
1655
|
yearsCount: 1,
|
|
@@ -1593,7 +1657,7 @@ const ae = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1593
1657
|
});
|
|
1594
1658
|
break;
|
|
1595
1659
|
case "≥20亿":
|
|
1596
|
-
Object.assign(
|
|
1660
|
+
Object.assign(e.value, {
|
|
1597
1661
|
rule: 1,
|
|
1598
1662
|
withFewYears: 1,
|
|
1599
1663
|
yearsCount: 1,
|
|
@@ -1602,304 +1666,395 @@ const ae = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1602
1666
|
break;
|
|
1603
1667
|
}
|
|
1604
1668
|
};
|
|
1605
|
-
|
|
1606
|
-
() =>
|
|
1669
|
+
ae(
|
|
1670
|
+
() => h.value,
|
|
1607
1671
|
() => {
|
|
1608
|
-
|
|
1672
|
+
O.value.length && (O.value = O.value.filter(({ key: c }) => h.value.find((l) => l.key === c)));
|
|
1609
1673
|
}
|
|
1610
|
-
)
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1674
|
+
);
|
|
1675
|
+
const _ = () => {
|
|
1676
|
+
e.value.radio = null, e.value.rankRange = [null, null];
|
|
1677
|
+
};
|
|
1678
|
+
return (c, l) => {
|
|
1679
|
+
const V = De, m = Ul, f = xe, p = Me, T = Fe, y = ve, F = me, u = he, D = qe, v = ke;
|
|
1680
|
+
return d.config.show && h.value.length ? (o(), b("div", Jl, [
|
|
1681
|
+
k("div", Al, [
|
|
1682
|
+
Kl,
|
|
1683
|
+
k("div", Ql, [
|
|
1684
|
+
(o(!0), b(U, null, z(h.value, (S) => (o(), b("span", {
|
|
1685
|
+
key: S.key,
|
|
1686
|
+
onClick: (r) => B(S)
|
|
1687
|
+
}, K(S.label), 9, Zl))), 128))
|
|
1620
1688
|
])
|
|
1621
1689
|
]),
|
|
1622
|
-
|
|
1623
|
-
(
|
|
1690
|
+
k("div", Hl, [
|
|
1691
|
+
(o(!0), b(U, null, z(O.value, (S, r) => (o(), L(V, {
|
|
1624
1692
|
closable: "",
|
|
1625
1693
|
type: "info",
|
|
1626
|
-
onClose: (
|
|
1694
|
+
onClose: (X) => n(r)
|
|
1627
1695
|
}, {
|
|
1628
|
-
default:
|
|
1629
|
-
|
|
1630
|
-
|
|
1696
|
+
default: s(() => [
|
|
1697
|
+
k("span", null, K(S.tagText), 1),
|
|
1698
|
+
k("span", {
|
|
1631
1699
|
class: "edit",
|
|
1632
|
-
onClick: (
|
|
1633
|
-
}, "编辑", 8,
|
|
1700
|
+
onClick: (X) => i(S)
|
|
1701
|
+
}, "编辑", 8, Wl)
|
|
1634
1702
|
]),
|
|
1635
1703
|
_: 2
|
|
1636
1704
|
}, 1032, ["onClose"]))), 256))
|
|
1637
1705
|
]),
|
|
1638
|
-
|
|
1639
|
-
modelValue:
|
|
1640
|
-
"onUpdate:modelValue": l[
|
|
1641
|
-
title:
|
|
1706
|
+
t(v, {
|
|
1707
|
+
modelValue: x.value,
|
|
1708
|
+
"onUpdate:modelValue": l[25] || (l[25] = (S) => x.value = S),
|
|
1709
|
+
title: $.value.label,
|
|
1642
1710
|
width: "600",
|
|
1643
1711
|
"align-center": "",
|
|
1644
1712
|
"destroy-on-close": ""
|
|
1645
|
-
},
|
|
1646
|
-
footer:
|
|
1647
|
-
|
|
1648
|
-
|
|
1713
|
+
}, ie({
|
|
1714
|
+
footer: s(() => [
|
|
1715
|
+
k("div", bt, [
|
|
1716
|
+
t(T, {
|
|
1649
1717
|
type: "primary",
|
|
1650
|
-
onClick:
|
|
1718
|
+
onClick: j
|
|
1651
1719
|
}, {
|
|
1652
|
-
default:
|
|
1653
|
-
|
|
1720
|
+
default: s(() => [
|
|
1721
|
+
E("确定")
|
|
1654
1722
|
]),
|
|
1655
1723
|
_: 1
|
|
1656
1724
|
})
|
|
1657
1725
|
])
|
|
1658
1726
|
]),
|
|
1659
|
-
default:
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
D(" ~ "),
|
|
1668
|
-
r($, {
|
|
1669
|
-
modelValue: t.value.rankRange[1],
|
|
1670
|
-
"onUpdate:modelValue": l[2] || (l[2] = (e) => t.value.rankRange[1] = e),
|
|
1671
|
-
style: { flex: "1" }
|
|
1672
|
-
}, null, 8, ["modelValue"])
|
|
1673
|
-
])) : u.value.type === void 0 ? (s(), m(U, { key: 1 }, [
|
|
1674
|
-
u.value.convenientOptions.length ? (s(), m("div", Wl, [
|
|
1675
|
-
(s(!0), m(U, null, j(u.value.convenientOptions, (e) => (s(), q(h, {
|
|
1676
|
-
key: e.text,
|
|
1677
|
-
onClick: (G) => a(e)
|
|
1678
|
-
}, {
|
|
1679
|
-
default: d(() => [
|
|
1680
|
-
D(J(e.text), 1)
|
|
1681
|
-
]),
|
|
1682
|
-
_: 2
|
|
1683
|
-
}, 1032, ["onClick"]))), 128))
|
|
1684
|
-
])) : z("", !0),
|
|
1685
|
-
f("div", Xl, [
|
|
1686
|
-
et,
|
|
1687
|
-
r($, {
|
|
1688
|
-
modelValue: t.value.range[0],
|
|
1689
|
-
"onUpdate:modelValue": l[4] || (l[4] = (e) => t.value.range[0] = e),
|
|
1727
|
+
default: s(() => {
|
|
1728
|
+
var S;
|
|
1729
|
+
return [
|
|
1730
|
+
$.value.type === void 0 && e.value.radioType === "1" ? (o(), b("div", et, [
|
|
1731
|
+
lt,
|
|
1732
|
+
t(p, {
|
|
1733
|
+
modelValue: e.value.rankRange[0],
|
|
1734
|
+
"onUpdate:modelValue": l[2] || (l[2] = (r) => e.value.rankRange[0] = r),
|
|
1690
1735
|
style: { flex: "1" }
|
|
1691
|
-
},
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
key: 1,
|
|
1697
|
-
modelValue: t.value.unit[0],
|
|
1698
|
-
"onUpdate:modelValue": l[3] || (l[3] = (e) => t.value.unit[0] = e),
|
|
1699
|
-
style: { width: "72px" }
|
|
1700
|
-
}, {
|
|
1701
|
-
default: d(() => [
|
|
1702
|
-
(s(!0), m(U, null, j(u.value.unitOptions, (e) => (s(), q(I, {
|
|
1703
|
-
label: e,
|
|
1704
|
-
value: e
|
|
1705
|
-
}, null, 8, ["label", "value"]))), 256))
|
|
1706
|
-
]),
|
|
1707
|
-
_: 1
|
|
1708
|
-
}, 8, ["modelValue"]))
|
|
1709
|
-
]),
|
|
1710
|
-
key: "0"
|
|
1711
|
-
} : void 0
|
|
1712
|
-
]), 1032, ["modelValue"]),
|
|
1713
|
-
D(" ~ "),
|
|
1714
|
-
r($, {
|
|
1715
|
-
modelValue: t.value.range[1],
|
|
1716
|
-
"onUpdate:modelValue": l[6] || (l[6] = (e) => t.value.range[1] = e),
|
|
1736
|
+
}, null, 8, ["modelValue"]),
|
|
1737
|
+
E(" ~ "),
|
|
1738
|
+
t(p, {
|
|
1739
|
+
modelValue: e.value.rankRange[1],
|
|
1740
|
+
"onUpdate:modelValue": l[3] || (l[3] = (r) => e.value.rankRange[1] = r),
|
|
1717
1741
|
style: { flex: "1" }
|
|
1718
|
-
},
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
}, {
|
|
1728
|
-
default: d(() => [
|
|
1729
|
-
(s(!0), m(U, null, j(u.value.unitOptions, (e) => (s(), q(I, {
|
|
1730
|
-
label: e,
|
|
1731
|
-
value: e
|
|
1732
|
-
}, null, 8, ["label", "value"]))), 256))
|
|
1733
|
-
]),
|
|
1734
|
-
_: 1
|
|
1735
|
-
}, 8, ["modelValue"]))
|
|
1742
|
+
}, null, 8, ["modelValue"])
|
|
1743
|
+
])) : $.value.type === void 0 ? (o(), b(U, { key: 1 }, [
|
|
1744
|
+
(S = $.value.convenientOptions) != null && S.length ? (o(), b("div", tt, [
|
|
1745
|
+
(o(!0), b(U, null, z($.value.convenientOptions, (r) => (o(), L(T, {
|
|
1746
|
+
key: r.text,
|
|
1747
|
+
onClick: (X) => M(r)
|
|
1748
|
+
}, {
|
|
1749
|
+
default: s(() => [
|
|
1750
|
+
E(K(r.text), 1)
|
|
1736
1751
|
]),
|
|
1737
|
-
|
|
1738
|
-
}
|
|
1739
|
-
])
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1752
|
+
_: 2
|
|
1753
|
+
}, 1032, ["onClick"]))), 128))
|
|
1754
|
+
])) : N("", !0),
|
|
1755
|
+
k("div", at, [
|
|
1756
|
+
nt,
|
|
1757
|
+
t(p, {
|
|
1758
|
+
modelValue: e.value.range[0],
|
|
1759
|
+
"onUpdate:modelValue": l[5] || (l[5] = (r) => e.value.range[0] = r),
|
|
1760
|
+
style: { flex: "1" }
|
|
1761
|
+
}, ie({ _: 2 }, [
|
|
1762
|
+
$.value.unitOptions.length ? {
|
|
1763
|
+
name: "append",
|
|
1764
|
+
fn: s(() => [
|
|
1765
|
+
$.value.unitOptions.length === 1 ? (o(), b("span", ot, K(e.value.unit[0]), 1)) : (o(), L(F, {
|
|
1766
|
+
key: 1,
|
|
1767
|
+
modelValue: e.value.unit[0],
|
|
1768
|
+
"onUpdate:modelValue": l[4] || (l[4] = (r) => e.value.unit[0] = r),
|
|
1769
|
+
style: { width: "72px" }
|
|
1770
|
+
}, {
|
|
1771
|
+
default: s(() => [
|
|
1772
|
+
(o(!0), b(U, null, z($.value.unitOptions, (r) => (o(), L(y, {
|
|
1773
|
+
label: r,
|
|
1774
|
+
value: r
|
|
1775
|
+
}, null, 8, ["label", "value"]))), 256))
|
|
1776
|
+
]),
|
|
1777
|
+
_: 1
|
|
1778
|
+
}, 8, ["modelValue"]))
|
|
1779
|
+
]),
|
|
1780
|
+
key: "0"
|
|
1781
|
+
} : void 0
|
|
1782
|
+
]), 1032, ["modelValue"]),
|
|
1783
|
+
E(" ~ "),
|
|
1784
|
+
t(p, {
|
|
1785
|
+
modelValue: e.value.range[1],
|
|
1786
|
+
"onUpdate:modelValue": l[7] || (l[7] = (r) => e.value.range[1] = r),
|
|
1787
|
+
style: { flex: "1" }
|
|
1788
|
+
}, ie({ _: 2 }, [
|
|
1789
|
+
$.value.unitOptions.length ? {
|
|
1790
|
+
name: "append",
|
|
1791
|
+
fn: s(() => [
|
|
1792
|
+
$.value.unitOptions.length === 1 ? (o(), b("span", ut, K(e.value.unit[1]), 1)) : (o(), L(F, {
|
|
1793
|
+
key: 1,
|
|
1794
|
+
modelValue: e.value.unit[1],
|
|
1795
|
+
"onUpdate:modelValue": l[6] || (l[6] = (r) => e.value.unit[1] = r),
|
|
1796
|
+
style: { width: "72px" }
|
|
1797
|
+
}, {
|
|
1798
|
+
default: s(() => [
|
|
1799
|
+
(o(!0), b(U, null, z($.value.unitOptions, (r) => (o(), L(y, {
|
|
1800
|
+
label: r,
|
|
1801
|
+
value: r
|
|
1802
|
+
}, null, 8, ["label", "value"]))), 256))
|
|
1803
|
+
]),
|
|
1804
|
+
_: 1
|
|
1805
|
+
}, 8, ["modelValue"]))
|
|
1806
|
+
]),
|
|
1807
|
+
key: "0"
|
|
1808
|
+
} : void 0
|
|
1809
|
+
]), 1032, ["modelValue"])
|
|
1810
|
+
])
|
|
1811
|
+
], 64)) : (o(), b(U, { key: 2 }, [
|
|
1812
|
+
$.value.key === "st" ? (o(), b("div", rt, [
|
|
1813
|
+
t(f, {
|
|
1814
|
+
modelValue: e.value.st,
|
|
1815
|
+
"onUpdate:modelValue": l[8] || (l[8] = (r) => e.value.st = r)
|
|
1816
|
+
}, {
|
|
1817
|
+
default: s(() => [
|
|
1818
|
+
t(u, {
|
|
1819
|
+
label: "是",
|
|
1820
|
+
value: 1
|
|
1821
|
+
}),
|
|
1822
|
+
t(u, {
|
|
1823
|
+
label: "否",
|
|
1824
|
+
value: 0
|
|
1825
|
+
})
|
|
1826
|
+
]),
|
|
1827
|
+
_: 1
|
|
1828
|
+
}, 8, ["modelValue"])
|
|
1829
|
+
])) : N("", !0),
|
|
1830
|
+
$.value.key === "tFeaturelncomes" ? (o(), b("div", st, [
|
|
1831
|
+
k("div", it, [
|
|
1832
|
+
t(T, {
|
|
1833
|
+
onClick: l[9] || (l[9] = (r) => I("≤0"))
|
|
1834
|
+
}, {
|
|
1835
|
+
default: s(() => [
|
|
1836
|
+
E("≤0")
|
|
1837
|
+
]),
|
|
1838
|
+
_: 1
|
|
1839
|
+
}),
|
|
1840
|
+
t(T, {
|
|
1841
|
+
onClick: l[10] || (l[10] = (r) => I("≥0"))
|
|
1842
|
+
}, {
|
|
1843
|
+
default: s(() => [
|
|
1844
|
+
E("≥0")
|
|
1845
|
+
]),
|
|
1846
|
+
_: 1
|
|
1847
|
+
}),
|
|
1848
|
+
t(T, {
|
|
1849
|
+
onClick: l[11] || (l[11] = (r) => I("五年内有四年以上盈利超过5千万"))
|
|
1850
|
+
}, {
|
|
1851
|
+
default: s(() => [
|
|
1852
|
+
E("五年内有四年以上盈利超过5千万")
|
|
1853
|
+
]),
|
|
1854
|
+
_: 1
|
|
1855
|
+
}),
|
|
1856
|
+
t(T, {
|
|
1857
|
+
onClick: l[12] || (l[12] = (r) => I("≥10亿"))
|
|
1858
|
+
}, {
|
|
1859
|
+
default: s(() => [
|
|
1860
|
+
E("≥10亿")
|
|
1861
|
+
]),
|
|
1862
|
+
_: 1
|
|
1751
1863
|
}),
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1864
|
+
t(T, {
|
|
1865
|
+
onClick: l[13] || (l[13] = (r) => I("≥20亿"))
|
|
1866
|
+
}, {
|
|
1867
|
+
default: s(() => [
|
|
1868
|
+
E("≥20亿")
|
|
1869
|
+
]),
|
|
1870
|
+
_: 1
|
|
1755
1871
|
})
|
|
1756
1872
|
]),
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1873
|
+
k("div", dt, [
|
|
1874
|
+
ct,
|
|
1875
|
+
k("div", null, [
|
|
1876
|
+
t(D, {
|
|
1877
|
+
modelValue: e.value.withFewYears,
|
|
1878
|
+
"onUpdate:modelValue": l[14] || (l[14] = (r) => e.value.withFewYears = r),
|
|
1879
|
+
"controls-position": "right"
|
|
1880
|
+
}, null, 8, ["modelValue"]),
|
|
1881
|
+
E(" 年内 "),
|
|
1882
|
+
t(D, {
|
|
1883
|
+
modelValue: e.value.yearsCount,
|
|
1884
|
+
"onUpdate:modelValue": l[15] || (l[15] = (r) => e.value.yearsCount = r),
|
|
1885
|
+
"controls-position": "right"
|
|
1886
|
+
}, null, 8, ["modelValue"]),
|
|
1887
|
+
E(" 年以上盈利" + K(e.value.rule === 1 ? "超" : "跌") + "过 ", 1),
|
|
1888
|
+
t(D, {
|
|
1889
|
+
modelValue: e.value.netProfit,
|
|
1890
|
+
"onUpdate:modelValue": l[16] || (l[16] = (r) => e.value.netProfit = r),
|
|
1891
|
+
"controls-position": "right"
|
|
1892
|
+
}, null, 8, ["modelValue"]),
|
|
1893
|
+
E(" 亿 ")
|
|
1894
|
+
])
|
|
1895
|
+
])
|
|
1896
|
+
])) : N("", !0),
|
|
1897
|
+
$.value.key === "priceLevels" ? (o(), b("div", pt, [
|
|
1898
|
+
t(F, {
|
|
1899
|
+
modelValue: e.value.priceLevels,
|
|
1900
|
+
"onUpdate:modelValue": l[17] || (l[17] = (r) => e.value.priceLevels = r),
|
|
1901
|
+
multiple: "",
|
|
1902
|
+
clearable: "",
|
|
1903
|
+
placeholder: "请选择",
|
|
1904
|
+
style: { width: "420px" }
|
|
1764
1905
|
}, {
|
|
1765
|
-
default:
|
|
1766
|
-
|
|
1906
|
+
default: s(() => [
|
|
1907
|
+
(o(), b(U, null, z([1, 2, 3, 4, 5], (r) => t(y, {
|
|
1908
|
+
key: r,
|
|
1909
|
+
label: `${r}分位`,
|
|
1910
|
+
value: r
|
|
1911
|
+
}, null, 8, ["label", "value"])), 64))
|
|
1767
1912
|
]),
|
|
1768
1913
|
_: 1
|
|
1769
|
-
})
|
|
1770
|
-
|
|
1771
|
-
|
|
1914
|
+
}, 8, ["modelValue"])
|
|
1915
|
+
])) : N("", !0),
|
|
1916
|
+
$.value.key === "peTtmLevels" ? (o(), b("div", vt, [
|
|
1917
|
+
t(F, {
|
|
1918
|
+
modelValue: e.value.peTtmLevels,
|
|
1919
|
+
"onUpdate:modelValue": l[18] || (l[18] = (r) => e.value.peTtmLevels = r),
|
|
1920
|
+
multiple: "",
|
|
1921
|
+
clearable: "",
|
|
1922
|
+
placeholder: "请选择",
|
|
1923
|
+
style: { width: "420px" }
|
|
1772
1924
|
}, {
|
|
1773
|
-
default:
|
|
1774
|
-
|
|
1925
|
+
default: s(() => [
|
|
1926
|
+
(o(), b(U, null, z([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (r) => t(y, {
|
|
1927
|
+
key: r,
|
|
1928
|
+
label: `${r}分位`,
|
|
1929
|
+
value: r
|
|
1930
|
+
}, null, 8, ["label", "value"])), 64))
|
|
1775
1931
|
]),
|
|
1776
1932
|
_: 1
|
|
1777
|
-
})
|
|
1778
|
-
|
|
1779
|
-
|
|
1933
|
+
}, 8, ["modelValue"])
|
|
1934
|
+
])) : N("", !0),
|
|
1935
|
+
$.value.key === "optionsCpType" ? (o(), b("div", mt, [
|
|
1936
|
+
t(f, {
|
|
1937
|
+
modelValue: e.value.optionsCpType,
|
|
1938
|
+
"onUpdate:modelValue": l[19] || (l[19] = (r) => e.value.optionsCpType = r)
|
|
1780
1939
|
}, {
|
|
1781
|
-
default:
|
|
1782
|
-
|
|
1940
|
+
default: s(() => [
|
|
1941
|
+
t(u, {
|
|
1942
|
+
label: "看涨",
|
|
1943
|
+
value: 1
|
|
1944
|
+
}),
|
|
1945
|
+
t(u, {
|
|
1946
|
+
label: "看跌",
|
|
1947
|
+
value: 2
|
|
1948
|
+
})
|
|
1783
1949
|
]),
|
|
1784
1950
|
_: 1
|
|
1785
|
-
})
|
|
1786
|
-
|
|
1787
|
-
|
|
1951
|
+
}, 8, ["modelValue"])
|
|
1952
|
+
])) : N("", !0),
|
|
1953
|
+
$.value.key === "perVolumn" ? (o(), b("div", ft, [
|
|
1954
|
+
t(f, {
|
|
1955
|
+
modelValue: e.value.radio,
|
|
1956
|
+
"onUpdate:modelValue": l[20] || (l[20] = (r) => e.value.radio = r)
|
|
1788
1957
|
}, {
|
|
1789
|
-
default:
|
|
1790
|
-
|
|
1958
|
+
default: s(() => [
|
|
1959
|
+
(o(), b(U, null, z(R, (r) => t(u, {
|
|
1960
|
+
key: r.value,
|
|
1961
|
+
value: r.value
|
|
1962
|
+
}, {
|
|
1963
|
+
default: s(() => [
|
|
1964
|
+
E(K(r.label), 1)
|
|
1965
|
+
]),
|
|
1966
|
+
_: 2
|
|
1967
|
+
}, 1032, ["value"])), 64))
|
|
1791
1968
|
]),
|
|
1792
1969
|
_: 1
|
|
1793
|
-
}),
|
|
1794
|
-
|
|
1795
|
-
|
|
1970
|
+
}, 8, ["modelValue"]),
|
|
1971
|
+
t(F, {
|
|
1972
|
+
modelValue: e.value.levels,
|
|
1973
|
+
"onUpdate:modelValue": l[21] || (l[21] = (r) => e.value.levels = r),
|
|
1974
|
+
multiple: "",
|
|
1975
|
+
clearable: "",
|
|
1976
|
+
placeholder: "请选择",
|
|
1977
|
+
style: { width: "420px" }
|
|
1796
1978
|
}, {
|
|
1797
|
-
default:
|
|
1798
|
-
|
|
1979
|
+
default: s(() => [
|
|
1980
|
+
(o(), b(U, null, z([1, 2, 3, 4, 5], (r) => t(y, {
|
|
1981
|
+
key: r,
|
|
1982
|
+
label: `${r}分位`,
|
|
1983
|
+
value: r
|
|
1984
|
+
}, null, 8, ["label", "value"])), 64))
|
|
1799
1985
|
]),
|
|
1800
1986
|
_: 1
|
|
1801
|
-
})
|
|
1802
|
-
]),
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1987
|
+
}, 8, ["modelValue"])
|
|
1988
|
+
])) : N("", !0),
|
|
1989
|
+
$.value.key === "mainFlow" ? (o(), b("div", yt, [
|
|
1990
|
+
t(f, {
|
|
1991
|
+
modelValue: e.value.radio,
|
|
1992
|
+
"onUpdate:modelValue": l[22] || (l[22] = (r) => e.value.radio = r)
|
|
1993
|
+
}, {
|
|
1994
|
+
default: s(() => [
|
|
1995
|
+
t(u, { value: "3" }, {
|
|
1996
|
+
default: s(() => [
|
|
1997
|
+
E("3日")
|
|
1998
|
+
]),
|
|
1999
|
+
_: 1
|
|
2000
|
+
}),
|
|
2001
|
+
t(u, { value: "5" }, {
|
|
2002
|
+
default: s(() => [
|
|
2003
|
+
E("5日")
|
|
2004
|
+
]),
|
|
2005
|
+
_: 1
|
|
2006
|
+
}),
|
|
2007
|
+
t(u, { value: "10" }, {
|
|
2008
|
+
default: s(() => [
|
|
2009
|
+
E("10日")
|
|
2010
|
+
]),
|
|
2011
|
+
_: 1
|
|
2012
|
+
}),
|
|
2013
|
+
t(u, { value: "20" }, {
|
|
2014
|
+
default: s(() => [
|
|
2015
|
+
E("20日")
|
|
2016
|
+
]),
|
|
2017
|
+
_: 1
|
|
2018
|
+
})
|
|
2019
|
+
]),
|
|
2020
|
+
_: 1
|
|
2021
|
+
}, 8, ["modelValue"]),
|
|
2022
|
+
k("div", gt, [
|
|
2023
|
+
k("span", null, K(e.value.mainFlowRadioType === "0" ? "涨幅范围" : "排名范围") + ": ", 1),
|
|
2024
|
+
t(p, {
|
|
2025
|
+
modelValue: e.value.rankRange[0],
|
|
2026
|
+
"onUpdate:modelValue": l[23] || (l[23] = (r) => e.value.rankRange[0] = r),
|
|
2027
|
+
style: { flex: "1" }
|
|
1822
2028
|
}, null, 8, ["modelValue"]),
|
|
1823
|
-
|
|
2029
|
+
E(" ~ "),
|
|
2030
|
+
t(p, {
|
|
2031
|
+
modelValue: e.value.rankRange[1],
|
|
2032
|
+
"onUpdate:modelValue": l[24] || (l[24] = (r) => e.value.rankRange[1] = r),
|
|
2033
|
+
style: { flex: "1" }
|
|
2034
|
+
}, null, 8, ["modelValue"])
|
|
1824
2035
|
])
|
|
1825
|
-
])
|
|
1826
|
-
]
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
modelValue: t.value.priceLevels,
|
|
1830
|
-
"onUpdate:modelValue": l[16] || (l[16] = (e) => t.value.priceLevels = e),
|
|
1831
|
-
multiple: "",
|
|
1832
|
-
clearable: "",
|
|
1833
|
-
placeholder: "请选择",
|
|
1834
|
-
style: { width: "420px" }
|
|
1835
|
-
}, {
|
|
1836
|
-
default: d(() => [
|
|
1837
|
-
(s(), m(U, null, j([1, 2, 3, 4, 5], (e) => r(I, {
|
|
1838
|
-
key: e,
|
|
1839
|
-
label: `${e}分位`,
|
|
1840
|
-
value: e
|
|
1841
|
-
}, null, 8, ["label", "value"])), 64))
|
|
1842
|
-
]),
|
|
1843
|
-
_: 1
|
|
1844
|
-
}, 8, ["modelValue"])
|
|
1845
|
-
])) : z("", !0),
|
|
1846
|
-
u.value.key === "peTtmLevels" ? (s(), m("div", it, [
|
|
1847
|
-
r(S, {
|
|
1848
|
-
modelValue: t.value.peTtmLevels,
|
|
1849
|
-
"onUpdate:modelValue": l[17] || (l[17] = (e) => t.value.peTtmLevels = e),
|
|
1850
|
-
multiple: "",
|
|
1851
|
-
clearable: "",
|
|
1852
|
-
placeholder: "请选择",
|
|
1853
|
-
style: { width: "420px" }
|
|
1854
|
-
}, {
|
|
1855
|
-
default: d(() => [
|
|
1856
|
-
(s(), m(U, null, j([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (e) => r(I, {
|
|
1857
|
-
key: e,
|
|
1858
|
-
label: `${e}分位`,
|
|
1859
|
-
value: e
|
|
1860
|
-
}, null, 8, ["label", "value"])), 64))
|
|
1861
|
-
]),
|
|
1862
|
-
_: 1
|
|
1863
|
-
}, 8, ["modelValue"])
|
|
1864
|
-
])) : z("", !0),
|
|
1865
|
-
u.value.key === "optionsCpType" ? (s(), m("div", ct, [
|
|
1866
|
-
r(_, {
|
|
1867
|
-
modelValue: t.value.optionsCpType,
|
|
1868
|
-
"onUpdate:modelValue": l[18] || (l[18] = (e) => t.value.optionsCpType = e)
|
|
1869
|
-
}, {
|
|
1870
|
-
default: d(() => [
|
|
1871
|
-
r(b, {
|
|
1872
|
-
label: "看涨",
|
|
1873
|
-
value: 1
|
|
1874
|
-
}),
|
|
1875
|
-
r(b, {
|
|
1876
|
-
label: "看跌",
|
|
1877
|
-
value: 2
|
|
1878
|
-
})
|
|
1879
|
-
]),
|
|
1880
|
-
_: 1
|
|
1881
|
-
}, 8, ["modelValue"])
|
|
1882
|
-
])) : z("", !0)
|
|
1883
|
-
], 64))
|
|
1884
|
-
]),
|
|
2036
|
+
])) : N("", !0)
|
|
2037
|
+
], 64))
|
|
2038
|
+
];
|
|
2039
|
+
}),
|
|
1885
2040
|
_: 2
|
|
1886
2041
|
}, [
|
|
1887
|
-
|
|
2042
|
+
$.value.showRankType ? {
|
|
1888
2043
|
name: "header",
|
|
1889
|
-
fn:
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
modelValue:
|
|
1893
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
2044
|
+
fn: s(() => [
|
|
2045
|
+
k("span", Xl, K($.value.label), 1),
|
|
2046
|
+
t(f, {
|
|
2047
|
+
modelValue: e.value.radioType,
|
|
2048
|
+
"onUpdate:modelValue": l[0] || (l[0] = (S) => e.value.radioType = S),
|
|
1894
2049
|
style: { "vertical-align": "4px", "margin-left": "12px" }
|
|
1895
2050
|
}, {
|
|
1896
|
-
default:
|
|
1897
|
-
|
|
2051
|
+
default: s(() => [
|
|
2052
|
+
t(m, {
|
|
1898
2053
|
label: "数值",
|
|
1899
2054
|
value: "0"
|
|
1900
2055
|
}),
|
|
1901
|
-
|
|
1902
|
-
disabled:
|
|
2056
|
+
t(m, {
|
|
2057
|
+
disabled: q.value && q.value !== $.value.key,
|
|
1903
2058
|
label: "排名",
|
|
1904
2059
|
value: "1"
|
|
1905
2060
|
}, null, 8, ["disabled"])
|
|
@@ -1908,40 +2063,64 @@ const ae = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1908
2063
|
}, 8, ["modelValue"])
|
|
1909
2064
|
]),
|
|
1910
2065
|
key: "0"
|
|
2066
|
+
} : $.value.key === "mainFlow" ? {
|
|
2067
|
+
name: "header",
|
|
2068
|
+
fn: s(() => [
|
|
2069
|
+
k("span", { style: { "font-size": "18px" } }, K($.value.label), 1),
|
|
2070
|
+
t(f, {
|
|
2071
|
+
modelValue: e.value.mainFlowRadioType,
|
|
2072
|
+
"onUpdate:modelValue": l[1] || (l[1] = (S) => e.value.mainFlowRadioType = S),
|
|
2073
|
+
style: { "vertical-align": "4px", "margin-left": "12px" },
|
|
2074
|
+
onChange: _
|
|
2075
|
+
}, {
|
|
2076
|
+
default: s(() => [
|
|
2077
|
+
t(m, {
|
|
2078
|
+
label: "涨幅范围",
|
|
2079
|
+
value: "0"
|
|
2080
|
+
}),
|
|
2081
|
+
t(m, {
|
|
2082
|
+
label: "排名范围",
|
|
2083
|
+
value: "1"
|
|
2084
|
+
})
|
|
2085
|
+
]),
|
|
2086
|
+
_: 1
|
|
2087
|
+
}, 8, ["modelValue"])
|
|
2088
|
+
]),
|
|
2089
|
+
key: "1"
|
|
1911
2090
|
} : void 0
|
|
1912
2091
|
]), 1032, ["modelValue", "title"])
|
|
1913
|
-
])) :
|
|
2092
|
+
])) : N("", !0);
|
|
1914
2093
|
};
|
|
1915
2094
|
}
|
|
1916
|
-
},
|
|
1917
|
-
const
|
|
2095
|
+
}, _t = /* @__PURE__ */ _e(kt, [["__scopeId", "data-v-9fb382f7"]]);
|
|
2096
|
+
const le = (d) => (ge("data-v-bdbe35cf"), d = d(), be(), d), Vt = { class: "variety-search" }, ht = {
|
|
1918
2097
|
key: 0,
|
|
1919
2098
|
class: "variety-search-row"
|
|
1920
|
-
},
|
|
2099
|
+
}, xt = { class: "title" }, Ot = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "品种市场: ", -1)), $t = {
|
|
1921
2100
|
key: 1,
|
|
1922
2101
|
class: "variety-search-row"
|
|
1923
|
-
},
|
|
2102
|
+
}, It = { class: "title" }, wt = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "常用选项: ", -1)), Tt = {
|
|
1924
2103
|
key: 2,
|
|
1925
2104
|
class: "variety-search-row"
|
|
1926
|
-
},
|
|
2105
|
+
}, Ct = { class: "title" }, Rt = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "上市板块: ", -1)), St = {
|
|
1927
2106
|
key: 3,
|
|
1928
2107
|
class: "variety-search-row"
|
|
1929
|
-
},
|
|
2108
|
+
}, Ut = { class: "title" }, Et = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "自定标签: ", -1)), Mt = {
|
|
1930
2109
|
key: 4,
|
|
1931
2110
|
class: "variety-search-row"
|
|
1932
|
-
},
|
|
2111
|
+
}, qt = { class: "title" }, Ft = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "价差转换: ", -1)), Dt = {
|
|
1933
2112
|
key: 5,
|
|
1934
2113
|
class: "variety-search-row"
|
|
1935
|
-
},
|
|
2114
|
+
}, Lt = { class: "title" }, jt = /* @__PURE__ */ le(() => /* @__PURE__ */ k("span", null, "因子筛选: ", -1)), Nt = {
|
|
1936
2115
|
__name: "index",
|
|
1937
|
-
props: /* @__PURE__ */
|
|
2116
|
+
props: /* @__PURE__ */ oe({ config: { type: Object, default: {} } }, {
|
|
1938
2117
|
searchData: {},
|
|
1939
2118
|
searchDataModifiers: {}
|
|
1940
2119
|
}),
|
|
1941
2120
|
emits: ["update:searchData"],
|
|
1942
|
-
setup(
|
|
1943
|
-
const
|
|
1944
|
-
|
|
2121
|
+
setup(d, { expose: R }) {
|
|
2122
|
+
const O = d, a = ue(d, "searchData");
|
|
2123
|
+
a.value = Object.assign(a.value, {
|
|
1945
2124
|
// 品种市场
|
|
1946
2125
|
varietyMarket: null,
|
|
1947
2126
|
// 常用选项
|
|
@@ -1964,44 +2143,44 @@ const H = (p) => (me("data-v-fe77e4e0"), p = p(), fe(), p), mt = { class: "varie
|
|
|
1964
2143
|
// 常用指标
|
|
1965
2144
|
commonIndicator: []
|
|
1966
2145
|
});
|
|
1967
|
-
const
|
|
2146
|
+
const x = G(() => {
|
|
1968
2147
|
const i = {};
|
|
1969
|
-
return Object.keys(
|
|
1970
|
-
const
|
|
1971
|
-
i[
|
|
2148
|
+
return Object.keys(Te).forEach((n) => {
|
|
2149
|
+
const M = Te[n], I = O.config[n] ?? {}, _ = { ...M, ...I };
|
|
2150
|
+
i[n] = _;
|
|
1972
2151
|
}), i;
|
|
1973
|
-
}),
|
|
1974
|
-
const { varietyMarket: i } =
|
|
1975
|
-
return i ?
|
|
1976
|
-
const
|
|
1977
|
-
return
|
|
1978
|
-
}, []) :
|
|
1979
|
-
}),
|
|
1980
|
-
const { varietyMarket: i } =
|
|
1981
|
-
return i ?
|
|
1982
|
-
}),
|
|
2152
|
+
}), q = G(() => x.value.varietyMarket.options), h = G(() => {
|
|
2153
|
+
const { varietyMarket: i } = a.value;
|
|
2154
|
+
return i ? q.value.find(({ value: M }) => M === i).memo.reduce((M, I) => {
|
|
2155
|
+
const _ = x.value.commonOption.options.find((c) => c.value === I);
|
|
2156
|
+
return _ && M.push(_), M;
|
|
2157
|
+
}, []) : x.value.commonOption.options;
|
|
2158
|
+
}), $ = G(() => {
|
|
2159
|
+
const { varietyMarket: i } = a.value;
|
|
2160
|
+
return i ? x.value.marketIds.options.filter((n) => n.varietyMarketIds.includes(i)) : x.value.marketIds.options;
|
|
2161
|
+
}), e = G(() => x.value.customTag.options), B = G(() => x.value.jcTranslate.jcOptions), j = (i) => {
|
|
1983
2162
|
switch (i) {
|
|
1984
2163
|
case "commonOption": {
|
|
1985
|
-
|
|
2164
|
+
a.value[i] = [];
|
|
1986
2165
|
break;
|
|
1987
2166
|
}
|
|
1988
2167
|
case "marketIds": {
|
|
1989
|
-
|
|
2168
|
+
a.value[i] = [];
|
|
1990
2169
|
break;
|
|
1991
2170
|
}
|
|
1992
2171
|
case "customTag": {
|
|
1993
|
-
|
|
2172
|
+
a.value[i] = [];
|
|
1994
2173
|
break;
|
|
1995
2174
|
}
|
|
1996
2175
|
case "jcTranslate": {
|
|
1997
|
-
|
|
2176
|
+
a.value[i] = {
|
|
1998
2177
|
type: null,
|
|
1999
2178
|
jcList: []
|
|
2000
2179
|
};
|
|
2001
2180
|
break;
|
|
2002
2181
|
}
|
|
2003
2182
|
case "factorScreen": {
|
|
2004
|
-
|
|
2183
|
+
a.value[i] = {
|
|
2005
2184
|
list: [],
|
|
2006
2185
|
sqlEnable: 0,
|
|
2007
2186
|
sqlValue: null
|
|
@@ -2009,194 +2188,202 @@ const H = (p) => (me("data-v-fe77e4e0"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2009
2188
|
break;
|
|
2010
2189
|
}
|
|
2011
2190
|
case "commonIndicator": {
|
|
2012
|
-
|
|
2191
|
+
a.value[i] = [];
|
|
2013
2192
|
break;
|
|
2014
2193
|
}
|
|
2015
2194
|
default: {
|
|
2016
|
-
|
|
2195
|
+
a.value[i] = null;
|
|
2017
2196
|
break;
|
|
2018
2197
|
}
|
|
2019
2198
|
}
|
|
2020
2199
|
};
|
|
2021
|
-
return
|
|
2022
|
-
() =>
|
|
2200
|
+
return ae(
|
|
2201
|
+
() => h.value,
|
|
2023
2202
|
(i) => {
|
|
2024
|
-
var
|
|
2025
|
-
(
|
|
2203
|
+
var n;
|
|
2204
|
+
(n = a.value.commonOption) != null && n.length && (a.value.commonOption = a.value.commonOption.filter((M) => i.find(({ value: I }) => I === M)));
|
|
2026
2205
|
}
|
|
2027
|
-
),
|
|
2028
|
-
() =>
|
|
2206
|
+
), ae(
|
|
2207
|
+
() => $.value,
|
|
2029
2208
|
(i) => {
|
|
2030
|
-
var
|
|
2031
|
-
(
|
|
2209
|
+
var n;
|
|
2210
|
+
(n = a.value.marketIds) != null && n.length && (a.value.marketIds = a.value.marketIds.filter((M) => i.find(({ value: I }) => I === M)));
|
|
2032
2211
|
}
|
|
2033
|
-
),
|
|
2212
|
+
), R({
|
|
2034
2213
|
// 生成接口传参结构的数据
|
|
2035
2214
|
formatData: (i) => {
|
|
2036
|
-
var
|
|
2215
|
+
var M, I, _, c, l, V;
|
|
2037
2216
|
console.log("%c[品种池搜索聚合组件]: 正在生成接口传参...", "color: tomato");
|
|
2038
|
-
const
|
|
2039
|
-
if (i.varietyMarket && (
|
|
2040
|
-
const { jcTranslate:
|
|
2041
|
-
switch (
|
|
2217
|
+
const n = {};
|
|
2218
|
+
if (i.varietyMarket && (n.exchangeId = String(i.varietyMarket)), (M = i.commonOption) != null && M.length && (n.optionId = i.commonOption.join(",")), (I = i.marketIds) != null && I.length && (n.marketIds = i.marketIds), (_ = i.customTag) != null && _.length && (n.tagIds = i.customTag), (c = x.value.jcTranslate) != null && c.show) {
|
|
2219
|
+
const { jcTranslate: m } = i, { type: f, jcList: p } = m;
|
|
2220
|
+
switch (f) {
|
|
2042
2221
|
case 1: {
|
|
2043
|
-
|
|
2222
|
+
n.translateType = 1, n.jcType = p.join(",");
|
|
2044
2223
|
break;
|
|
2045
2224
|
}
|
|
2046
2225
|
case 2:
|
|
2047
|
-
|
|
2226
|
+
n.translateType = 2;
|
|
2048
2227
|
}
|
|
2049
2228
|
}
|
|
2050
|
-
if ((
|
|
2051
|
-
const { factorScreen:
|
|
2052
|
-
if ((
|
|
2053
|
-
switch (
|
|
2229
|
+
if ((l = x.value.factorScreen) != null && l.show) {
|
|
2230
|
+
const { factorScreen: m } = i;
|
|
2231
|
+
if ((V = m == null ? void 0 : m.list) != null && V.length && (n.tbFeatureFactorScores = m.list.map((f) => {
|
|
2232
|
+
switch (f.key) {
|
|
2054
2233
|
case "compare":
|
|
2055
2234
|
return {
|
|
2056
|
-
freqId:
|
|
2057
|
-
factorId:
|
|
2058
|
-
compareType:
|
|
2059
|
-
freqId2:
|
|
2060
|
-
factorId2:
|
|
2235
|
+
freqId: f.cycle,
|
|
2236
|
+
factorId: f.factor,
|
|
2237
|
+
compareType: f.compareType,
|
|
2238
|
+
freqId2: f.cycle2,
|
|
2239
|
+
factorId2: f.factor2
|
|
2061
2240
|
};
|
|
2062
2241
|
default:
|
|
2063
2242
|
return {
|
|
2064
|
-
freqId:
|
|
2065
|
-
factorId:
|
|
2066
|
-
startScore:
|
|
2067
|
-
endScore:
|
|
2243
|
+
freqId: f.cycle,
|
|
2244
|
+
factorId: f.factor,
|
|
2245
|
+
startScore: f.score[0],
|
|
2246
|
+
endScore: f.score[1]
|
|
2068
2247
|
};
|
|
2069
2248
|
}
|
|
2070
|
-
})),
|
|
2071
|
-
const
|
|
2072
|
-
var
|
|
2073
|
-
const
|
|
2074
|
-
switch (
|
|
2249
|
+
})), m.sqlEnable) {
|
|
2250
|
+
const f = m.list.reduce((T, y, F) => {
|
|
2251
|
+
var D, v;
|
|
2252
|
+
const u = `条件${F + 1}`;
|
|
2253
|
+
switch (y.key) {
|
|
2075
2254
|
case "compare": {
|
|
2076
|
-
let
|
|
2077
|
-
(
|
|
2255
|
+
let S = "";
|
|
2256
|
+
(D = x.value.factorScreen) != null && D.cycleShow ? S = `freq_id = ${y.cycle} and factor_id = ${y.factor} ${y.compareType} freq_id = ${y.cycle2} and factor_id = ${y.factor2}` : S = `factor_id = ${y.factor} ${y.compareType} factor_id = ${y.factor2}`, T.set(u, `(${S})`);
|
|
2078
2257
|
break;
|
|
2079
2258
|
}
|
|
2080
2259
|
default: {
|
|
2081
|
-
let
|
|
2082
|
-
(
|
|
2260
|
+
let S = `factor_id = ${y.factor} and `;
|
|
2261
|
+
(v = x.value.factorScreen) != null && v.cycleShow && (S = `freq_id = ${y.cycle} and factor_id = ${y.factor} and `), (y.score[0] || y.score[0] === 0) && (y.score[1] || y.score[1] === 0) ? S += `score >= ${y.score[0]} and score <= ${y.score[1]}` : y.score[0] || y.score[0] === 0 ? S += `score >= ${y.score[0]}` : (y.score[1] || y.score[1] === 0) && (S += `score <= ${y.score[1]}`), T.set(u, `(${S})`);
|
|
2083
2262
|
}
|
|
2084
2263
|
}
|
|
2085
|
-
return
|
|
2264
|
+
return T;
|
|
2086
2265
|
}, /* @__PURE__ */ new Map([]));
|
|
2087
|
-
let
|
|
2088
|
-
for (const [
|
|
2089
|
-
const
|
|
2090
|
-
|
|
2266
|
+
let p = m.sqlValue;
|
|
2267
|
+
for (const [T, y] of f) {
|
|
2268
|
+
const F = new RegExp(T, "g");
|
|
2269
|
+
p = p.replace(F, y);
|
|
2091
2270
|
}
|
|
2092
|
-
|
|
2271
|
+
n.sql = p, n.sqlExpression = m.sqlValue;
|
|
2093
2272
|
}
|
|
2094
|
-
|
|
2273
|
+
n.enableSql = m.sqlEnable === 1 ? 2 : 1;
|
|
2095
2274
|
}
|
|
2096
2275
|
{
|
|
2097
|
-
const
|
|
2098
|
-
const { key:
|
|
2099
|
-
if (
|
|
2100
|
-
|
|
2101
|
-
column:
|
|
2102
|
-
start:
|
|
2103
|
-
end:
|
|
2276
|
+
const m = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], f = i.commonIndicator.reduce((v, S) => {
|
|
2277
|
+
const { key: r, type: X, range: C, unit: Y, radioType: w, mainFlowRadioType: P, radio: Z, rankRange: se } = S;
|
|
2278
|
+
if (w === "1")
|
|
2279
|
+
n.sortBy = {
|
|
2280
|
+
column: S.key,
|
|
2281
|
+
start: se[0] || null,
|
|
2282
|
+
end: se[1] || null
|
|
2104
2283
|
};
|
|
2105
|
-
else if (
|
|
2106
|
-
let [
|
|
2107
|
-
["", null].includes(
|
|
2108
|
-
column:
|
|
2109
|
-
start:
|
|
2110
|
-
end:
|
|
2284
|
+
else if (r === "dividendYield") {
|
|
2285
|
+
let [J, A] = C;
|
|
2286
|
+
["", null].includes(J) || (J = J / 100), ["", null].includes(A) || (A = A / 100), v.push({
|
|
2287
|
+
column: S.key,
|
|
2288
|
+
start: J,
|
|
2289
|
+
end: A
|
|
2111
2290
|
});
|
|
2112
|
-
} else if (
|
|
2113
|
-
let [
|
|
2114
|
-
|
|
2115
|
-
|
|
2291
|
+
} else if (r === "mainFlow") {
|
|
2292
|
+
let [J, A] = se, Je = P === "0" ? `netInfow${Z}d` : `last${Z}DayMianFlowRank`;
|
|
2293
|
+
v.push({ column: Je, start: J, end: A });
|
|
2294
|
+
} else if (X === void 0 && !m.includes(r)) {
|
|
2295
|
+
let [J, A] = C;
|
|
2296
|
+
if (!["", null].includes(J))
|
|
2297
|
+
switch (Y[0]) {
|
|
2116
2298
|
case "亿":
|
|
2117
|
-
|
|
2299
|
+
J = J * 1e8;
|
|
2118
2300
|
break;
|
|
2119
2301
|
case "千万":
|
|
2120
|
-
|
|
2302
|
+
J = J * 1e7;
|
|
2121
2303
|
break;
|
|
2122
2304
|
default:
|
|
2123
|
-
|
|
2305
|
+
J = J;
|
|
2124
2306
|
break;
|
|
2125
2307
|
}
|
|
2126
|
-
if (!["", null].includes(
|
|
2127
|
-
switch (
|
|
2308
|
+
if (!["", null].includes(A))
|
|
2309
|
+
switch (Y[1]) {
|
|
2128
2310
|
case "亿":
|
|
2129
|
-
|
|
2311
|
+
A = A * 1e8;
|
|
2130
2312
|
break;
|
|
2131
2313
|
case "千万":
|
|
2132
|
-
|
|
2314
|
+
A = A * 1e7;
|
|
2133
2315
|
break;
|
|
2134
2316
|
default:
|
|
2135
|
-
|
|
2317
|
+
A = A;
|
|
2136
2318
|
break;
|
|
2137
2319
|
}
|
|
2138
|
-
|
|
2139
|
-
column:
|
|
2140
|
-
start:
|
|
2141
|
-
end:
|
|
2320
|
+
v.push({
|
|
2321
|
+
column: S.key,
|
|
2322
|
+
start: J,
|
|
2323
|
+
end: A
|
|
2142
2324
|
});
|
|
2143
2325
|
}
|
|
2144
|
-
return
|
|
2326
|
+
return v;
|
|
2145
2327
|
}, []);
|
|
2146
|
-
|
|
2147
|
-
const
|
|
2148
|
-
|
|
2149
|
-
const
|
|
2150
|
-
|
|
2151
|
-
const
|
|
2152
|
-
|
|
2153
|
-
const
|
|
2154
|
-
|
|
2155
|
-
const
|
|
2156
|
-
i.commonIndicator.forEach((
|
|
2157
|
-
const { key:
|
|
2158
|
-
switch (
|
|
2328
|
+
f.length && (n.query = f);
|
|
2329
|
+
const p = i.commonIndicator.find(({ key: v }) => v === "st");
|
|
2330
|
+
p && (n.st = p.st);
|
|
2331
|
+
const T = i.commonIndicator.find(({ key: v }) => v === "tFeaturelncomes");
|
|
2332
|
+
T && (n.netProfitQueryDto = { ...T, netProfit: T.netProfit * 1e8 });
|
|
2333
|
+
const y = i.commonIndicator.find(({ key: v }) => v === "priceLevels");
|
|
2334
|
+
y && (n.priceLevels = y.priceLevels);
|
|
2335
|
+
const F = i.commonIndicator.find(({ key: v }) => v === "peTtmLevels");
|
|
2336
|
+
F && (n.peTtmLevels = F.peTtmLevels);
|
|
2337
|
+
const u = {};
|
|
2338
|
+
i.commonIndicator.forEach((v) => {
|
|
2339
|
+
const { key: S } = v;
|
|
2340
|
+
switch (S) {
|
|
2159
2341
|
case "expireDays":
|
|
2160
|
-
["", null].includes(
|
|
2342
|
+
["", null].includes(v.range[0]) || (u.minExpireDays = v.range[0]), ["", null].includes(v.range[1]) || (u.maxExpireDays = v.range[1]);
|
|
2161
2343
|
break;
|
|
2162
2344
|
case "virtualRealDegree":
|
|
2163
|
-
["", null].includes(
|
|
2345
|
+
["", null].includes(v.range[0]) || (u.minVirtualRealDegree = v.range[0] / 100), ["", null].includes(v.range[1]) || (u.maxVirtualRealDegree = v.range[1] / 100);
|
|
2164
2346
|
break;
|
|
2165
2347
|
case "yearProfitRate":
|
|
2166
|
-
["", null].includes(
|
|
2348
|
+
["", null].includes(v.range[0]) || (u.minYearProfitRate = v.range[0] / 100), ["", null].includes(v.range[1]) || (u.maxYearProfitRate = v.range[1] / 100);
|
|
2167
2349
|
break;
|
|
2168
2350
|
case "impliedVolatility":
|
|
2169
|
-
["", null].includes(
|
|
2351
|
+
["", null].includes(v.range[0]) || (u.minImpliedVolatility = v.range[0] / 100), ["", null].includes(v.range[1]) || (u.maxImpliedVolatility = v.range[1] / 100);
|
|
2170
2352
|
break;
|
|
2171
2353
|
case "levelMultiplier":
|
|
2172
|
-
["", null].includes(
|
|
2354
|
+
["", null].includes(v.range[0]) || (u.minLevelMultiplier = v.range[0]), ["", null].includes(v.range[1]) || (u.maxLevelMultiplier = v.range[1]);
|
|
2173
2355
|
break;
|
|
2174
2356
|
case "turnover":
|
|
2175
|
-
["", null].includes(
|
|
2357
|
+
["", null].includes(v.range[0]) || (u.minTurnover = v.range[0] * 1e4), ["", null].includes(v.range[1]) || (u.maxTurnover = v.range[1] * 1e4);
|
|
2176
2358
|
break;
|
|
2177
2359
|
case "volume":
|
|
2178
|
-
["", null].includes(
|
|
2360
|
+
["", null].includes(v.range[0]) || (u.minVolume = v.range[0]), ["", null].includes(v.range[1]) || (u.maxVolume = v.range[1]);
|
|
2179
2361
|
break;
|
|
2180
2362
|
case "openInterest":
|
|
2181
|
-
["", null].includes(
|
|
2363
|
+
["", null].includes(v.range[0]) || (u.minOpenInterest = v.range[0]), ["", null].includes(v.range[1]) || (u.maxOpenInterest = v.range[1]);
|
|
2182
2364
|
break;
|
|
2183
2365
|
case "optionsCpType":
|
|
2184
|
-
|
|
2366
|
+
u.optionsCpType = v.optionsCpType;
|
|
2185
2367
|
break;
|
|
2186
2368
|
case "optionGear":
|
|
2187
|
-
["", null].includes(
|
|
2369
|
+
["", null].includes(v.range[0]) || (u.minOptionGear = v.range[0]), ["", null].includes(v.range[1]) || (u.maxOptionGear = v.range[1]);
|
|
2188
2370
|
break;
|
|
2189
2371
|
}
|
|
2190
|
-
})
|
|
2191
|
-
|
|
2192
|
-
|
|
2372
|
+
});
|
|
2373
|
+
const D = i.commonIndicator.find(({ key: v }) => v === "perVolumn");
|
|
2374
|
+
D && (n.perVolumn = {
|
|
2375
|
+
type: D.radio,
|
|
2376
|
+
value: D.levels
|
|
2377
|
+
}), Object.keys(u).length && (n.searchOptionDto = {
|
|
2378
|
+
...n.searchOptionDto,
|
|
2379
|
+
...u
|
|
2193
2380
|
});
|
|
2194
2381
|
}
|
|
2195
|
-
return console.log("%c[品种池搜索聚合组件]: 接口传参数据生成完毕", "color: green",
|
|
2382
|
+
return console.log("%c[品种池搜索聚合组件]: 接口传参数据生成完毕", "color: green", n), n;
|
|
2196
2383
|
},
|
|
2197
2384
|
// 重置函数
|
|
2198
2385
|
reset: () => {
|
|
2199
|
-
|
|
2386
|
+
a.value = {
|
|
2200
2387
|
// 品种市场
|
|
2201
2388
|
varietyMarket: null,
|
|
2202
2389
|
// 常用选项
|
|
@@ -2220,129 +2407,129 @@ const H = (p) => (me("data-v-fe77e4e0"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2220
2407
|
commonIndicator: []
|
|
2221
2408
|
};
|
|
2222
2409
|
}
|
|
2223
|
-
}), (i,
|
|
2224
|
-
var
|
|
2225
|
-
const
|
|
2226
|
-
return
|
|
2227
|
-
(
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
onClick:
|
|
2410
|
+
}), (i, n) => {
|
|
2411
|
+
var m, f, p, T, y, F;
|
|
2412
|
+
const M = he, I = xe, _ = el, c = ll, l = ve, V = me;
|
|
2413
|
+
return o(), b("div", Vt, [
|
|
2414
|
+
(m = x.value.varietyMarket) != null && m.show ? (o(), b("div", ht, [
|
|
2415
|
+
k("div", xt, [
|
|
2416
|
+
Ot,
|
|
2417
|
+
k("span", {
|
|
2418
|
+
onClick: n[0] || (n[0] = (u) => j("varietyMarket"))
|
|
2232
2419
|
}, "不限")
|
|
2233
2420
|
]),
|
|
2234
|
-
|
|
2235
|
-
modelValue:
|
|
2236
|
-
"onUpdate:modelValue":
|
|
2421
|
+
t(I, {
|
|
2422
|
+
modelValue: a.value.varietyMarket,
|
|
2423
|
+
"onUpdate:modelValue": n[1] || (n[1] = (u) => a.value.varietyMarket = u),
|
|
2237
2424
|
size: "small"
|
|
2238
2425
|
}, {
|
|
2239
|
-
default:
|
|
2240
|
-
(
|
|
2241
|
-
label:
|
|
2242
|
-
value:
|
|
2243
|
-
key:
|
|
2426
|
+
default: s(() => [
|
|
2427
|
+
(o(!0), b(U, null, z(q.value, ({ label: u, value: D }) => (o(), L(M, {
|
|
2428
|
+
label: u,
|
|
2429
|
+
value: D,
|
|
2430
|
+
key: D
|
|
2244
2431
|
}, null, 8, ["label", "value"]))), 128))
|
|
2245
2432
|
]),
|
|
2246
2433
|
_: 1
|
|
2247
2434
|
}, 8, ["modelValue"])
|
|
2248
|
-
])) :
|
|
2249
|
-
(
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
onClick:
|
|
2435
|
+
])) : N("", !0),
|
|
2436
|
+
(f = x.value.commonOption) != null && f.show && h.value.length ? (o(), b("div", $t, [
|
|
2437
|
+
k("div", It, [
|
|
2438
|
+
wt,
|
|
2439
|
+
k("span", {
|
|
2440
|
+
onClick: n[2] || (n[2] = (u) => j("commonOption"))
|
|
2254
2441
|
}, "不限")
|
|
2255
2442
|
]),
|
|
2256
|
-
|
|
2257
|
-
modelValue:
|
|
2258
|
-
"onUpdate:modelValue":
|
|
2443
|
+
t(c, {
|
|
2444
|
+
modelValue: a.value.commonOption,
|
|
2445
|
+
"onUpdate:modelValue": n[3] || (n[3] = (u) => a.value.commonOption = u),
|
|
2259
2446
|
size: "small"
|
|
2260
2447
|
}, {
|
|
2261
|
-
default:
|
|
2262
|
-
(
|
|
2263
|
-
label:
|
|
2264
|
-
value:
|
|
2265
|
-
key:
|
|
2448
|
+
default: s(() => [
|
|
2449
|
+
(o(!0), b(U, null, z(h.value, ({ label: u, value: D }) => (o(), L(_, {
|
|
2450
|
+
label: u,
|
|
2451
|
+
value: D,
|
|
2452
|
+
key: D
|
|
2266
2453
|
}, null, 8, ["label", "value"]))), 128))
|
|
2267
2454
|
]),
|
|
2268
2455
|
_: 1
|
|
2269
2456
|
}, 8, ["modelValue"])
|
|
2270
|
-
])) :
|
|
2271
|
-
(
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
onClick:
|
|
2457
|
+
])) : N("", !0),
|
|
2458
|
+
(p = x.value.marketIds) != null && p.show && $.value.length ? (o(), b("div", Tt, [
|
|
2459
|
+
k("div", Ct, [
|
|
2460
|
+
Rt,
|
|
2461
|
+
k("span", {
|
|
2462
|
+
onClick: n[4] || (n[4] = (u) => j("marketIds"))
|
|
2276
2463
|
}, "不限")
|
|
2277
2464
|
]),
|
|
2278
|
-
|
|
2279
|
-
modelValue:
|
|
2280
|
-
"onUpdate:modelValue":
|
|
2465
|
+
t(c, {
|
|
2466
|
+
modelValue: a.value.marketIds,
|
|
2467
|
+
"onUpdate:modelValue": n[5] || (n[5] = (u) => a.value.marketIds = u),
|
|
2281
2468
|
size: "small"
|
|
2282
2469
|
}, {
|
|
2283
|
-
default:
|
|
2284
|
-
(
|
|
2285
|
-
label:
|
|
2286
|
-
value:
|
|
2287
|
-
key:
|
|
2470
|
+
default: s(() => [
|
|
2471
|
+
(o(!0), b(U, null, z($.value, ({ label: u, value: D }) => (o(), L(_, {
|
|
2472
|
+
label: u,
|
|
2473
|
+
value: D,
|
|
2474
|
+
key: D
|
|
2288
2475
|
}, null, 8, ["label", "value"]))), 128))
|
|
2289
2476
|
]),
|
|
2290
2477
|
_: 1
|
|
2291
2478
|
}, 8, ["modelValue"])
|
|
2292
|
-
])) :
|
|
2293
|
-
(
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
onClick:
|
|
2479
|
+
])) : N("", !0),
|
|
2480
|
+
(T = x.value.customTag) != null && T.show && e.value.length ? (o(), b("div", St, [
|
|
2481
|
+
k("div", Ut, [
|
|
2482
|
+
Et,
|
|
2483
|
+
k("span", {
|
|
2484
|
+
onClick: n[6] || (n[6] = (u) => j("customTag"))
|
|
2298
2485
|
}, "不限")
|
|
2299
2486
|
]),
|
|
2300
|
-
|
|
2301
|
-
modelValue:
|
|
2302
|
-
"onUpdate:modelValue":
|
|
2487
|
+
t(c, {
|
|
2488
|
+
modelValue: a.value.customTag,
|
|
2489
|
+
"onUpdate:modelValue": n[7] || (n[7] = (u) => a.value.customTag = u),
|
|
2303
2490
|
size: "small"
|
|
2304
2491
|
}, {
|
|
2305
|
-
default:
|
|
2306
|
-
(
|
|
2307
|
-
label:
|
|
2308
|
-
value:
|
|
2309
|
-
key:
|
|
2492
|
+
default: s(() => [
|
|
2493
|
+
(o(!0), b(U, null, z(e.value, ({ label: u, value: D }) => (o(), L(_, {
|
|
2494
|
+
label: u,
|
|
2495
|
+
value: D,
|
|
2496
|
+
key: D
|
|
2310
2497
|
}, null, 8, ["label", "value"]))), 128))
|
|
2311
2498
|
]),
|
|
2312
2499
|
_: 1
|
|
2313
2500
|
}, 8, ["modelValue"])
|
|
2314
|
-
])) :
|
|
2315
|
-
(
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
onClick:
|
|
2501
|
+
])) : N("", !0),
|
|
2502
|
+
(y = x.value.jcTranslate) != null && y.show ? (o(), b("div", Mt, [
|
|
2503
|
+
k("div", qt, [
|
|
2504
|
+
Ft,
|
|
2505
|
+
k("span", {
|
|
2506
|
+
onClick: n[8] || (n[8] = (u) => j("jcTranslate"))
|
|
2320
2507
|
}, "不限")
|
|
2321
2508
|
]),
|
|
2322
|
-
|
|
2323
|
-
modelValue:
|
|
2324
|
-
"onUpdate:modelValue":
|
|
2509
|
+
t(I, {
|
|
2510
|
+
modelValue: a.value.jcTranslate.type,
|
|
2511
|
+
"onUpdate:modelValue": n[9] || (n[9] = (u) => a.value.jcTranslate.type = u),
|
|
2325
2512
|
size: "small"
|
|
2326
2513
|
}, {
|
|
2327
|
-
default:
|
|
2328
|
-
|
|
2329
|
-
default:
|
|
2330
|
-
|
|
2514
|
+
default: s(() => [
|
|
2515
|
+
t(M, { value: 2 }, {
|
|
2516
|
+
default: s(() => [
|
|
2517
|
+
E("价差转品种")
|
|
2331
2518
|
]),
|
|
2332
2519
|
_: 1
|
|
2333
2520
|
}),
|
|
2334
|
-
|
|
2335
|
-
default:
|
|
2336
|
-
|
|
2521
|
+
t(M, { value: 1 }, {
|
|
2522
|
+
default: s(() => [
|
|
2523
|
+
E("品种转价差")
|
|
2337
2524
|
]),
|
|
2338
2525
|
_: 1
|
|
2339
2526
|
})
|
|
2340
2527
|
]),
|
|
2341
2528
|
_: 1
|
|
2342
2529
|
}, 8, ["modelValue"]),
|
|
2343
|
-
|
|
2344
|
-
modelValue:
|
|
2345
|
-
"onUpdate:modelValue":
|
|
2530
|
+
fe(t(V, {
|
|
2531
|
+
modelValue: a.value.jcTranslate.jcList,
|
|
2532
|
+
"onUpdate:modelValue": n[10] || (n[10] = (u) => a.value.jcTranslate.jcList = u),
|
|
2346
2533
|
size: "small",
|
|
2347
2534
|
multiple: "",
|
|
2348
2535
|
"collapse-tags": "",
|
|
@@ -2350,46 +2537,46 @@ const H = (p) => (me("data-v-fe77e4e0"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2350
2537
|
placeholder: "请选择价差品种",
|
|
2351
2538
|
style: { width: "140px" }
|
|
2352
2539
|
}, {
|
|
2353
|
-
default:
|
|
2354
|
-
(
|
|
2355
|
-
key:
|
|
2356
|
-
label:
|
|
2357
|
-
value:
|
|
2540
|
+
default: s(() => [
|
|
2541
|
+
(o(!0), b(U, null, z(B.value, (u) => (o(), L(l, {
|
|
2542
|
+
key: u.value,
|
|
2543
|
+
label: u.label,
|
|
2544
|
+
value: u.value
|
|
2358
2545
|
}, null, 8, ["label", "value"]))), 128))
|
|
2359
2546
|
]),
|
|
2360
2547
|
_: 1
|
|
2361
2548
|
}, 8, ["modelValue"]), [
|
|
2362
|
-
[
|
|
2549
|
+
[sl, a.value.jcTranslate.type === 1]
|
|
2363
2550
|
])
|
|
2364
|
-
])) :
|
|
2365
|
-
(
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
onClick:
|
|
2551
|
+
])) : N("", !0),
|
|
2552
|
+
(F = x.value.factorScreen) != null && F.show ? (o(), b("div", Dt, [
|
|
2553
|
+
k("div", Lt, [
|
|
2554
|
+
jt,
|
|
2555
|
+
k("span", {
|
|
2556
|
+
onClick: n[11] || (n[11] = (u) => j("factorScreen"))
|
|
2370
2557
|
}, "不限")
|
|
2371
2558
|
]),
|
|
2372
|
-
|
|
2373
|
-
data:
|
|
2374
|
-
"onUpdate:data":
|
|
2375
|
-
config:
|
|
2559
|
+
t(Yl, {
|
|
2560
|
+
data: a.value.factorScreen,
|
|
2561
|
+
"onUpdate:data": n[12] || (n[12] = (u) => a.value.factorScreen = u),
|
|
2562
|
+
config: x.value.factorScreen
|
|
2376
2563
|
}, null, 8, ["data", "config"])
|
|
2377
|
-
])) :
|
|
2378
|
-
|
|
2379
|
-
data:
|
|
2380
|
-
"onUpdate:data":
|
|
2381
|
-
varietyMarket:
|
|
2382
|
-
commonOption:
|
|
2383
|
-
config:
|
|
2564
|
+
])) : N("", !0),
|
|
2565
|
+
t(_t, {
|
|
2566
|
+
data: a.value.commonIndicator,
|
|
2567
|
+
"onUpdate:data": n[13] || (n[13] = (u) => a.value.commonIndicator = u),
|
|
2568
|
+
varietyMarket: a.value.varietyMarket,
|
|
2569
|
+
commonOption: a.value.commonOption,
|
|
2570
|
+
config: x.value.commonIndicator
|
|
2384
2571
|
}, null, 8, ["data", "varietyMarket", "commonOption", "config"])
|
|
2385
2572
|
]);
|
|
2386
2573
|
};
|
|
2387
2574
|
}
|
|
2388
|
-
},
|
|
2389
|
-
install(
|
|
2390
|
-
|
|
2575
|
+
}, zt = /* @__PURE__ */ _e(Nt, [["__scopeId", "data-v-bdbe35cf"]]), _a = {
|
|
2576
|
+
install(d) {
|
|
2577
|
+
d.component("st-varietySearch", zt);
|
|
2391
2578
|
}
|
|
2392
2579
|
};
|
|
2393
2580
|
export {
|
|
2394
|
-
|
|
2581
|
+
_a as default
|
|
2395
2582
|
};
|