st-comp 0.0.135 → 0.0.136
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/ConfigProvider.cjs +1 -0
- package/es/ConfigProvider.js +35 -0
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +352 -352
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +116 -116
- package/lib/{index-4f204e72.js → index-73a5840c.js} +5902 -5872
- package/lib/{python-4729ac83.js → python-bb104d23.js} +1 -1
- package/package.json +1 -1
- package/packages/ConfigProvider/index.ts +8 -0
- package/packages/ConfigProvider/index.vue +37 -0
- package/packages/VarietySearch/config.js +43 -43
- package/packages/index.ts +2 -0
- package/src/App.vue +18 -4
- package/src/pages/ConfigProvider/index.vue +9 -0
- package/src/router/routes.ts +5 -0
package/es/VarietySearch.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { b as le, i as he, a as Ve, c as xe, C as Oe, u as
|
|
1
|
+
import { b as le, i as he, a as Ve, c as xe, C as Oe, u as ue, _ as ie, e as Be, f as Ge, w as Ye, v as we } from "./base-3ecbc734.js";
|
|
2
2
|
import "./el-tag-6a31c968.js";
|
|
3
3
|
import { E as ce, a as de } from "./el-select-5fb7d469.js";
|
|
4
4
|
import "./el-scrollbar-66f3bb72.js";
|
|
5
5
|
import { u as Je, E as Ae } from "./el-popper-d3eef7ed.js";
|
|
6
6
|
import { a as Ke, E as Qe, b as Ze } from "./el-form-item-afc3dcf2.js";
|
|
7
7
|
import { b as He, c as We, E as Xe, a as el } from "./el-table-column-560db3aa.js";
|
|
8
|
-
import { ref as Q, inject as ll, computed as N, defineComponent as Z, openBlock as
|
|
8
|
+
import { ref as Q, inject as ll, computed as N, defineComponent as Z, openBlock as s, createElementBlock as f, normalizeClass as K, unref as v, createElementVNode as m, withDirectives as pe, isRef as Te, withModifiers as X, vModelRadio as Ce, renderSlot as ve, createTextVNode as D, toDisplayString as J, nextTick as Se, normalizeStyle as tl, onMounted as nl, provide as al, reactive as ol, toRefs as sl, watch as ee, mergeModels as te, useModel as ne, createBlock as q, withCtx as d, createVNode as o, Fragment as U, createCommentVNode as z, renderList as j, pushScopeId as fe, popScopeId as me, createSlots as se, vShow as rl } from "vue";
|
|
9
9
|
import { E as ye } from "./el-overlay-6056c89a.js";
|
|
10
10
|
import { E as Ue } from "./el-input-ee7db655.js";
|
|
11
11
|
import { E as Ee } from "./el-input-number-63c21037.js";
|
|
12
12
|
import "./el-tooltip-4ed993c7.js";
|
|
13
13
|
import { E as Re } from "./el-button-24f79286.js";
|
|
14
|
-
import { u as qe, a as
|
|
14
|
+
import { u as qe, a as ul, b as il, d as cl, e as dl, v as re, i as pl, w as vl, E as fl } from "./use-form-common-props-9c0363ac.js";
|
|
15
15
|
import { E as A } from "./el-message-71aa42ca.js";
|
|
16
16
|
import { _ as ge } from "./_plugin-vue_export-helper-dad06003.js";
|
|
17
17
|
import { E as Me } from "./index-a1ecf26c.js";
|
|
18
|
-
import { U as be, C as
|
|
18
|
+
import { U as be, C as ml } from "./event-09e37cc8.js";
|
|
19
19
|
import { a as yl } from "./index-68ee64fa.js";
|
|
20
20
|
import "./castArray-7d3fc921.js";
|
|
21
21
|
import "./index-fa07a823.js";
|
|
@@ -51,16 +51,16 @@ const De = le({
|
|
|
51
51
|
border: Boolean
|
|
52
52
|
}), Fe = {
|
|
53
53
|
[be]: (p) => he(p) || Ve(p) || xe(p),
|
|
54
|
-
[
|
|
54
|
+
[ml]: (p) => he(p) || Ve(p) || xe(p)
|
|
55
55
|
}, Le = Symbol("radioGroupKey"), je = (p, V) => {
|
|
56
|
-
const y = Q(),
|
|
56
|
+
const y = Q(), a = ll(Le, void 0), b = N(() => !!a), R = N(() => Oe(p.value) ? p.label : p.value), u = N({
|
|
57
57
|
get() {
|
|
58
|
-
return b.value ?
|
|
58
|
+
return b.value ? a.modelValue : p.modelValue;
|
|
59
59
|
},
|
|
60
60
|
set(i) {
|
|
61
|
-
b.value ?
|
|
61
|
+
b.value ? a.changeEvent(i) : V && V(be, i), y.value.checked = p.modelValue === R.value;
|
|
62
62
|
}
|
|
63
|
-
}), t =
|
|
63
|
+
}), t = ul(N(() => a == null ? void 0 : a.size)), E = il(N(() => a == null ? void 0 : a.disabled)), L = Q(!1), M = N(() => E.value || b.value && u.value !== R.value ? -1 : 0);
|
|
64
64
|
return yl({
|
|
65
65
|
from: "label act as value",
|
|
66
66
|
replacement: "value",
|
|
@@ -70,12 +70,12 @@ const De = le({
|
|
|
70
70
|
}, N(() => b.value && Oe(p.value))), {
|
|
71
71
|
radioRef: y,
|
|
72
72
|
isGroup: b,
|
|
73
|
-
radioGroup:
|
|
73
|
+
radioGroup: a,
|
|
74
74
|
focus: L,
|
|
75
75
|
size: t,
|
|
76
76
|
disabled: E,
|
|
77
77
|
tabIndex: M,
|
|
78
|
-
modelValue:
|
|
78
|
+
modelValue: u,
|
|
79
79
|
actualValue: R
|
|
80
80
|
};
|
|
81
81
|
}, bl = Z({
|
|
@@ -85,58 +85,58 @@ const De = le({
|
|
|
85
85
|
props: gl,
|
|
86
86
|
emits: Fe,
|
|
87
87
|
setup(p, { emit: V }) {
|
|
88
|
-
const y = p,
|
|
88
|
+
const y = p, a = ue("radio"), { radioRef: b, radioGroup: R, focus: u, size: t, disabled: E, modelValue: L, actualValue: M } = je(y, V);
|
|
89
89
|
function i() {
|
|
90
90
|
Se(() => V("change", L.value));
|
|
91
91
|
}
|
|
92
|
-
return (
|
|
93
|
-
var
|
|
94
|
-
return
|
|
92
|
+
return (n, C) => {
|
|
93
|
+
var r;
|
|
94
|
+
return s(), f("label", {
|
|
95
95
|
class: K([
|
|
96
|
-
v(
|
|
97
|
-
v(
|
|
98
|
-
v(
|
|
99
|
-
v(
|
|
100
|
-
v(
|
|
101
|
-
v(
|
|
96
|
+
v(a).b(),
|
|
97
|
+
v(a).is("disabled", v(E)),
|
|
98
|
+
v(a).is("focus", v(u)),
|
|
99
|
+
v(a).is("bordered", n.border),
|
|
100
|
+
v(a).is("checked", v(L) === v(M)),
|
|
101
|
+
v(a).m(v(t))
|
|
102
102
|
])
|
|
103
103
|
}, [
|
|
104
|
-
|
|
104
|
+
m("span", {
|
|
105
105
|
class: K([
|
|
106
|
-
v(
|
|
107
|
-
v(
|
|
108
|
-
v(
|
|
106
|
+
v(a).e("input"),
|
|
107
|
+
v(a).is("disabled", v(E)),
|
|
108
|
+
v(a).is("checked", v(L) === v(M))
|
|
109
109
|
])
|
|
110
110
|
}, [
|
|
111
|
-
pe(
|
|
111
|
+
pe(m("input", {
|
|
112
112
|
ref_key: "radioRef",
|
|
113
113
|
ref: b,
|
|
114
114
|
"onUpdate:modelValue": (l) => Te(L) ? L.value = l : null,
|
|
115
|
-
class: K(v(
|
|
115
|
+
class: K(v(a).e("original")),
|
|
116
116
|
value: v(M),
|
|
117
|
-
name:
|
|
117
|
+
name: n.name || ((r = v(R)) == null ? void 0 : r.name),
|
|
118
118
|
disabled: v(E),
|
|
119
119
|
checked: v(L) === v(M),
|
|
120
120
|
type: "radio",
|
|
121
|
-
onFocus: (l) =>
|
|
122
|
-
onBlur: (l) =>
|
|
121
|
+
onFocus: (l) => u.value = !0,
|
|
122
|
+
onBlur: (l) => u.value = !1,
|
|
123
123
|
onChange: i,
|
|
124
124
|
onClick: X(() => {
|
|
125
125
|
}, ["stop"])
|
|
126
126
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "checked", "onFocus", "onBlur", "onClick"]), [
|
|
127
127
|
[Ce, v(L)]
|
|
128
128
|
]),
|
|
129
|
-
|
|
130
|
-
class: K(v(
|
|
129
|
+
m("span", {
|
|
130
|
+
class: K(v(a).e("inner"))
|
|
131
131
|
}, null, 2)
|
|
132
132
|
], 2),
|
|
133
|
-
|
|
134
|
-
class: K(v(
|
|
133
|
+
m("span", {
|
|
134
|
+
class: K(v(a).e("label")),
|
|
135
135
|
onKeydown: X(() => {
|
|
136
136
|
}, ["stop"])
|
|
137
137
|
}, [
|
|
138
|
-
ve(
|
|
139
|
-
D(J(
|
|
138
|
+
ve(n.$slots, "default", {}, () => [
|
|
139
|
+
D(J(n.label), 1)
|
|
140
140
|
])
|
|
141
141
|
], 42, ["onKeydown"])
|
|
142
142
|
], 2);
|
|
@@ -152,40 +152,40 @@ const hl = le({
|
|
|
152
152
|
...Vl,
|
|
153
153
|
props: hl,
|
|
154
154
|
setup(p) {
|
|
155
|
-
const V = p, y =
|
|
155
|
+
const V = p, y = ue("radio"), { radioRef: a, focus: b, size: R, disabled: u, modelValue: t, radioGroup: E, actualValue: L } = je(V), M = N(() => ({
|
|
156
156
|
backgroundColor: (E == null ? void 0 : E.fill) || "",
|
|
157
157
|
borderColor: (E == null ? void 0 : E.fill) || "",
|
|
158
158
|
boxShadow: E != null && E.fill ? `-1px 0 0 0 ${E.fill}` : "",
|
|
159
159
|
color: (E == null ? void 0 : E.textColor) || ""
|
|
160
160
|
}));
|
|
161
|
-
return (i,
|
|
161
|
+
return (i, n) => {
|
|
162
162
|
var C;
|
|
163
|
-
return
|
|
163
|
+
return s(), f("label", {
|
|
164
164
|
class: K([
|
|
165
165
|
v(y).b("button"),
|
|
166
166
|
v(y).is("active", v(t) === v(L)),
|
|
167
|
-
v(y).is("disabled", v(
|
|
167
|
+
v(y).is("disabled", v(u)),
|
|
168
168
|
v(y).is("focus", v(b)),
|
|
169
169
|
v(y).bm("button", v(R))
|
|
170
170
|
])
|
|
171
171
|
}, [
|
|
172
|
-
pe(
|
|
172
|
+
pe(m("input", {
|
|
173
173
|
ref_key: "radioRef",
|
|
174
|
-
ref:
|
|
175
|
-
"onUpdate:modelValue": (
|
|
174
|
+
ref: a,
|
|
175
|
+
"onUpdate:modelValue": (r) => Te(t) ? t.value = r : null,
|
|
176
176
|
class: K(v(y).be("button", "original-radio")),
|
|
177
177
|
value: v(L),
|
|
178
178
|
type: "radio",
|
|
179
179
|
name: i.name || ((C = v(E)) == null ? void 0 : C.name),
|
|
180
|
-
disabled: v(
|
|
181
|
-
onFocus: (
|
|
182
|
-
onBlur: (
|
|
180
|
+
disabled: v(u),
|
|
181
|
+
onFocus: (r) => b.value = !0,
|
|
182
|
+
onBlur: (r) => b.value = !1,
|
|
183
183
|
onClick: X(() => {
|
|
184
184
|
}, ["stop"])
|
|
185
185
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
|
|
186
186
|
[Ce, v(t)]
|
|
187
187
|
]),
|
|
188
|
-
|
|
188
|
+
m("span", {
|
|
189
189
|
class: K(v(y).be("button", "inner")),
|
|
190
190
|
style: tl(v(t) === v(L) ? v(M) : {}),
|
|
191
191
|
onKeydown: X(() => {
|
|
@@ -235,30 +235,30 @@ const Ol = le({
|
|
|
235
235
|
props: Ol,
|
|
236
236
|
emits: Il,
|
|
237
237
|
setup(p, { emit: V }) {
|
|
238
|
-
const y = p,
|
|
239
|
-
formItemContext:
|
|
238
|
+
const y = p, a = ue("radio"), b = Be(), R = Q(), { formItem: u } = cl(), { inputId: t, isLabeledByFormItem: E } = dl(y, {
|
|
239
|
+
formItemContext: u
|
|
240
240
|
}), L = (i) => {
|
|
241
241
|
V(be, i), Se(() => V("change", i));
|
|
242
242
|
};
|
|
243
|
-
|
|
244
|
-
const i = R.value.querySelectorAll("[type=radio]"),
|
|
245
|
-
!Array.from(i).some((C) => C.checked) &&
|
|
243
|
+
nl(() => {
|
|
244
|
+
const i = R.value.querySelectorAll("[type=radio]"), n = i[0];
|
|
245
|
+
!Array.from(i).some((C) => C.checked) && n && (n.tabIndex = 0);
|
|
246
246
|
});
|
|
247
247
|
const M = N(() => y.name || b.value);
|
|
248
|
-
return
|
|
249
|
-
...
|
|
248
|
+
return al(Le, ol({
|
|
249
|
+
...sl(y),
|
|
250
250
|
changeEvent: L,
|
|
251
251
|
name: M
|
|
252
252
|
})), ee(() => y.modelValue, () => {
|
|
253
|
-
y.validateEvent && (
|
|
254
|
-
}), (i,
|
|
253
|
+
y.validateEvent && (u == null || u.validate("change").catch((i) => Ge(i)));
|
|
254
|
+
}), (i, n) => (s(), f("div", {
|
|
255
255
|
id: v(t),
|
|
256
256
|
ref_key: "radioGroupRef",
|
|
257
257
|
ref: R,
|
|
258
|
-
class: K(v(
|
|
258
|
+
class: K(v(a).b("group")),
|
|
259
259
|
role: "radiogroup",
|
|
260
260
|
"aria-label": v(E) ? void 0 : i.ariaLabel || "radio-group",
|
|
261
|
-
"aria-labelledby": v(E) ? v(
|
|
261
|
+
"aria-labelledby": v(E) ? v(u).labelId : void 0
|
|
262
262
|
}, [
|
|
263
263
|
ve(i.$slots, "default")
|
|
264
264
|
], 10, ["id", "aria-label", "aria-labelledby"]));
|
|
@@ -270,40 +270,40 @@ const ke = Ye(_l, {
|
|
|
270
270
|
RadioGroup: Ne
|
|
271
271
|
}), _e = we(Ne), Tl = we(ze);
|
|
272
272
|
const Ie = {
|
|
273
|
-
// 品种市场 [选项:
|
|
273
|
+
// 品种市场 [选项: 预警字典1000]
|
|
274
274
|
varietyMarket: {
|
|
275
275
|
show: !0,
|
|
276
276
|
options: [
|
|
277
|
-
{ label: "ETF", value: 2, memo: [] },
|
|
278
|
-
{ label: "A股", value: 3, memo: [4, 6, 12, 14, 15] },
|
|
279
|
-
{ label: "期货", value: 4, memo: [1, 2, 3, 5, 7, 8, 9, 10] },
|
|
280
|
-
{ label: "港股", value: 5, memo: [4, 6, 14] },
|
|
281
|
-
{ label: "外盘", value: 6, memo: [1, 2, 3, 5, 7, 8, 9, 10] },
|
|
282
|
-
{ label: "美股", value: 7, memo: [4, 6, 14] },
|
|
283
|
-
{ label: "期权", value: 8, memo: [11] }
|
|
277
|
+
// { label: "ETF", value: 2, memo: [] },
|
|
278
|
+
// { label: "A股", value: 3, memo: [4, 6, 12, 14, 15, 16] },
|
|
279
|
+
// { label: "期货", value: 4, memo: [1, 2, 3, 5, 7, 8, 9, 10] },
|
|
280
|
+
// { label: "港股", value: 5, memo: [4, 6, 14] },
|
|
281
|
+
// { label: "外盘", value: 6, memo: [1, 2, 3, 5, 7, 8, 9, 10] },
|
|
282
|
+
// { label: "美股", value: 7, memo: [4, 6, 14] },
|
|
283
|
+
// { label: "期权", value: 8, memo: [11] },
|
|
284
284
|
]
|
|
285
285
|
},
|
|
286
|
-
// 常用选项 [选项:
|
|
286
|
+
// 常用选项 [选项: 预警字典1003]
|
|
287
287
|
commonOption: {
|
|
288
288
|
show: !0,
|
|
289
289
|
options: [
|
|
290
|
-
{ label: "个股", value: 14 },
|
|
291
|
-
{ label: "期货主连", value: 1 },
|
|
292
|
-
{ label: "期货主力", value: 2 },
|
|
293
|
-
{ label: "期货加权", value: 3 },
|
|
294
|
-
{ label: "常用股票指数", value: 4 },
|
|
295
|
-
{ label: "期货收益率指数", value: 5 },
|
|
296
|
-
{ label: "行业板块指数", value: 6 },
|
|
297
|
-
{ label: "期货次主连", value: 7 },
|
|
298
|
-
{ label: "期货次主力", value: 8 },
|
|
299
|
-
{ label: "期货板块收益率指数", value: 9 },
|
|
300
|
-
{ label: "期货板块加权指数", value: 10 },
|
|
301
|
-
{ label: "期权", value: 11 },
|
|
302
|
-
{ label: "价差板块指数", value: 12 },
|
|
303
|
-
{ label: "概念板块指数", value: 15 }
|
|
290
|
+
// { label: "个股", value: 14 },
|
|
291
|
+
// { label: "期货主连", value: 1 },
|
|
292
|
+
// { label: "期货主力", value: 2 },
|
|
293
|
+
// { label: "期货加权", value: 3 },
|
|
294
|
+
// { label: "常用股票指数", value: 4 },
|
|
295
|
+
// { label: "期货收益率指数", value: 5 },
|
|
296
|
+
// { label: "行业板块指数", value: 6 },
|
|
297
|
+
// { label: "期货次主连", value: 7 },
|
|
298
|
+
// { label: "期货次主力", value: 8 },
|
|
299
|
+
// { label: "期货板块收益率指数", value: 9 },
|
|
300
|
+
// { label: "期货板块加权指数", value: 10 },
|
|
301
|
+
// { label: "期权", value: 11 },
|
|
302
|
+
// { label: "价差板块指数", value: 12 },
|
|
303
|
+
// { label: "概念板块指数", value: 15 },
|
|
304
304
|
]
|
|
305
305
|
},
|
|
306
|
-
// 上市板块 [选项:
|
|
306
|
+
// 上市板块 [选项: 预警字典1030]
|
|
307
307
|
marketIds: {
|
|
308
308
|
show: !0,
|
|
309
309
|
options: [
|
|
@@ -317,12 +317,12 @@ const Ie = {
|
|
|
317
317
|
// { label: "深港通", value: 8192, varietyMarketIds: "5" },
|
|
318
318
|
]
|
|
319
319
|
},
|
|
320
|
-
// 自定标签 [选项:
|
|
320
|
+
// 自定标签 [选项: 接口获取]
|
|
321
321
|
customTag: {
|
|
322
322
|
show: !0,
|
|
323
323
|
options: []
|
|
324
324
|
},
|
|
325
|
-
//
|
|
325
|
+
// 价差转换 [选项: 前端默认]
|
|
326
326
|
jcTranslate: {
|
|
327
327
|
show: !0,
|
|
328
328
|
jcOptions: [
|
|
@@ -334,7 +334,7 @@ const Ie = {
|
|
|
334
334
|
{ label: "中证1000", value: "ZZ1000JC" }
|
|
335
335
|
]
|
|
336
336
|
},
|
|
337
|
-
// 因子筛选 [选项:
|
|
337
|
+
// 因子筛选 [选项: 接口获取]
|
|
338
338
|
factorScreen: {
|
|
339
339
|
show: !0,
|
|
340
340
|
// SQL功能是否展示
|
|
@@ -350,7 +350,7 @@ const Ie = {
|
|
|
350
350
|
factorDescriptions: []
|
|
351
351
|
// 因子使用说明数据源
|
|
352
352
|
},
|
|
353
|
-
// 常用指标 [选项:
|
|
353
|
+
// 常用指标 [选项: 组件默认]
|
|
354
354
|
commonIndicator: {
|
|
355
355
|
show: !0,
|
|
356
356
|
options: [
|
|
@@ -360,7 +360,7 @@ const Ie = {
|
|
|
360
360
|
label: "总市值",
|
|
361
361
|
parent: {
|
|
362
362
|
varietyMarketIds: [3, 5, 7],
|
|
363
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
363
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
364
364
|
},
|
|
365
365
|
// 便捷选项
|
|
366
366
|
convenientOptions: [
|
|
@@ -384,7 +384,7 @@ const Ie = {
|
|
|
384
384
|
label: "流通市值",
|
|
385
385
|
parent: {
|
|
386
386
|
varietyMarketIds: [3, 5, 7],
|
|
387
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
387
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
388
388
|
},
|
|
389
389
|
// 便捷选项
|
|
390
390
|
convenientOptions: [
|
|
@@ -408,7 +408,7 @@ const Ie = {
|
|
|
408
408
|
label: "总股本",
|
|
409
409
|
parent: {
|
|
410
410
|
varietyMarketIds: [3, 5, 7],
|
|
411
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
411
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
412
412
|
},
|
|
413
413
|
// 便捷选项
|
|
414
414
|
convenientOptions: [
|
|
@@ -429,7 +429,7 @@ const Ie = {
|
|
|
429
429
|
label: "流通股本",
|
|
430
430
|
parent: {
|
|
431
431
|
varietyMarketIds: [3, 5, 7],
|
|
432
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
432
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
433
433
|
},
|
|
434
434
|
// 便捷选项
|
|
435
435
|
convenientOptions: [
|
|
@@ -451,7 +451,7 @@ const Ie = {
|
|
|
451
451
|
label: "换手率(实)",
|
|
452
452
|
parent: {
|
|
453
453
|
varietyMarketIds: [3, 5, 7],
|
|
454
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
454
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
455
455
|
},
|
|
456
456
|
// 便捷选项
|
|
457
457
|
convenientOptions: [
|
|
@@ -471,7 +471,7 @@ const Ie = {
|
|
|
471
471
|
label: "市盈率",
|
|
472
472
|
parent: {
|
|
473
473
|
varietyMarketIds: [3, 5, 7],
|
|
474
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
474
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
475
475
|
},
|
|
476
476
|
// 便捷选项
|
|
477
477
|
convenientOptions: [
|
|
@@ -493,7 +493,7 @@ const Ie = {
|
|
|
493
493
|
label: "每股净收益",
|
|
494
494
|
parent: {
|
|
495
495
|
varietyMarketIds: [3, 5, 7],
|
|
496
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
496
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
497
497
|
},
|
|
498
498
|
// 便捷选项
|
|
499
499
|
convenientOptions: [
|
|
@@ -515,7 +515,7 @@ const Ie = {
|
|
|
515
515
|
label: "是否ST",
|
|
516
516
|
parent: {
|
|
517
517
|
varietyMarketIds: [3, 5, 7],
|
|
518
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
518
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
519
519
|
},
|
|
520
520
|
type: "custom"
|
|
521
521
|
},
|
|
@@ -525,7 +525,7 @@ const Ie = {
|
|
|
525
525
|
label: "市净率",
|
|
526
526
|
parent: {
|
|
527
527
|
varietyMarketIds: [3, 5, 7],
|
|
528
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
528
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
529
529
|
},
|
|
530
530
|
// 便捷选项
|
|
531
531
|
convenientOptions: [
|
|
@@ -546,7 +546,7 @@ const Ie = {
|
|
|
546
546
|
label: "成交额",
|
|
547
547
|
parent: {
|
|
548
548
|
varietyMarketIds: [3, 5, 7],
|
|
549
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
549
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
550
550
|
},
|
|
551
551
|
// 便捷选项
|
|
552
552
|
convenientOptions: [
|
|
@@ -574,7 +574,7 @@ const Ie = {
|
|
|
574
574
|
label: "净资产收益率roe",
|
|
575
575
|
parent: {
|
|
576
576
|
varietyMarketIds: [3, 5, 7],
|
|
577
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
577
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
578
578
|
},
|
|
579
579
|
// 便捷选项
|
|
580
580
|
convenientOptions: [
|
|
@@ -596,7 +596,7 @@ const Ie = {
|
|
|
596
596
|
label: "净利润",
|
|
597
597
|
parent: {
|
|
598
598
|
varietyMarketIds: [3, 5, 7],
|
|
599
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
599
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
600
600
|
},
|
|
601
601
|
type: "custom"
|
|
602
602
|
},
|
|
@@ -606,7 +606,7 @@ const Ie = {
|
|
|
606
606
|
label: "股息率",
|
|
607
607
|
parent: {
|
|
608
608
|
varietyMarketIds: [3, 5, 7],
|
|
609
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
609
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
610
610
|
},
|
|
611
611
|
// 便捷选项
|
|
612
612
|
convenientOptions: [
|
|
@@ -626,7 +626,7 @@ const Ie = {
|
|
|
626
626
|
label: "股价分位",
|
|
627
627
|
parent: {
|
|
628
628
|
varietyMarketIds: [3, 5, 7],
|
|
629
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
629
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
630
630
|
},
|
|
631
631
|
type: "custom"
|
|
632
632
|
},
|
|
@@ -636,7 +636,7 @@ const Ie = {
|
|
|
636
636
|
label: "市盈率分位",
|
|
637
637
|
parent: {
|
|
638
638
|
varietyMarketIds: [3, 5, 7],
|
|
639
|
-
commonOptionIds: [4, 6, 12, 14, 15]
|
|
639
|
+
commonOptionIds: [4, 6, 12, 14, 15, 16]
|
|
640
640
|
},
|
|
641
641
|
type: "custom"
|
|
642
642
|
},
|
|
@@ -821,12 +821,12 @@ const Ie = {
|
|
|
821
821
|
}),
|
|
822
822
|
emits: ["update:visible"],
|
|
823
823
|
setup(p) {
|
|
824
|
-
const V =
|
|
825
|
-
return (y,
|
|
826
|
-
const b = He, R = We,
|
|
827
|
-
return
|
|
824
|
+
const V = ne(p, "visible");
|
|
825
|
+
return (y, a) => {
|
|
826
|
+
const b = He, R = We, u = ye;
|
|
827
|
+
return s(), q(u, {
|
|
828
828
|
modelValue: V.value,
|
|
829
|
-
"onUpdate:modelValue":
|
|
829
|
+
"onUpdate:modelValue": a[0] || (a[0] = (t) => V.value = t),
|
|
830
830
|
title: "因子使用说明",
|
|
831
831
|
width: "1000",
|
|
832
832
|
"align-center": "",
|
|
@@ -861,7 +861,7 @@ const Ie = {
|
|
|
861
861
|
};
|
|
862
862
|
}
|
|
863
863
|
};
|
|
864
|
-
const Pe = (p) => (
|
|
864
|
+
const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "factor-screen" }, El = { class: "custom-header" }, Rl = ["id"], ql = { class: "form-row" }, Ml = { class: "index" }, Dl = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Fl = /* @__PURE__ */ Pe(() => /* @__PURE__ */ m("span", null, "~", -1)), Ll = /* @__PURE__ */ Pe(() => /* @__PURE__ */ m("span", null, "&&代表and,||代表or", -1)), jl = { class: "dialog-footer" }, zl = {
|
|
865
865
|
__name: "index",
|
|
866
866
|
props: /* @__PURE__ */ te({
|
|
867
867
|
config: {
|
|
@@ -893,7 +893,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
893
893
|
}),
|
|
894
894
|
emits: ["update:data"],
|
|
895
895
|
setup(p) {
|
|
896
|
-
const V = p, y =
|
|
896
|
+
const V = p, y = ne(p, "data"), a = Q(!1), b = Q(!1), R = Q(null), u = Q({
|
|
897
897
|
// 筛选因子列表
|
|
898
898
|
list: [
|
|
899
899
|
{
|
|
@@ -910,16 +910,16 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
910
910
|
// SQL语句
|
|
911
911
|
sqlValue: null
|
|
912
912
|
}), t = () => {
|
|
913
|
-
const { list:
|
|
914
|
-
|
|
915
|
-
list: JSON.parse(JSON.stringify(
|
|
913
|
+
const { list: r, sqlEnable: l, sqlValue: k } = y.value;
|
|
914
|
+
u.value = {
|
|
915
|
+
list: JSON.parse(JSON.stringify(r)),
|
|
916
916
|
sqlEnable: l,
|
|
917
917
|
sqlValue: k
|
|
918
|
-
},
|
|
918
|
+
}, u.value.list.length || M(), a.value = !0;
|
|
919
919
|
}, E = () => {
|
|
920
|
-
R.value.validate((
|
|
921
|
-
const { list: l, sqlEnable: k, sqlValue: O } =
|
|
922
|
-
if (
|
|
920
|
+
R.value.validate((r) => {
|
|
921
|
+
const { list: l, sqlEnable: k, sqlValue: O } = u.value;
|
|
922
|
+
if (r) {
|
|
923
923
|
if (k) {
|
|
924
924
|
if (!O)
|
|
925
925
|
return A.error("SQL语句不能为空");
|
|
@@ -931,15 +931,15 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
931
931
|
list: JSON.parse(JSON.stringify(l)),
|
|
932
932
|
sqlEnable: k,
|
|
933
933
|
sqlValue: O
|
|
934
|
-
},
|
|
934
|
+
}, a.value = !1;
|
|
935
935
|
}
|
|
936
936
|
});
|
|
937
|
-
}, L = (
|
|
938
|
-
|
|
939
|
-
}, M = (
|
|
940
|
-
switch (
|
|
937
|
+
}, L = (r) => {
|
|
938
|
+
u.value.list.splice(r, 1);
|
|
939
|
+
}, M = (r) => {
|
|
940
|
+
switch (r) {
|
|
941
941
|
case "compare": {
|
|
942
|
-
|
|
942
|
+
u.value.list.push({
|
|
943
943
|
key: "compare",
|
|
944
944
|
cycle: V.config.cycleDefault ?? null,
|
|
945
945
|
factor: null,
|
|
@@ -950,7 +950,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
950
950
|
break;
|
|
951
951
|
}
|
|
952
952
|
default: {
|
|
953
|
-
|
|
953
|
+
u.value.list.push({
|
|
954
954
|
cycle: V.config.cycleDefault ?? null,
|
|
955
955
|
factor: null,
|
|
956
956
|
score: [null, null]
|
|
@@ -959,29 +959,29 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
959
959
|
}
|
|
960
960
|
}
|
|
961
961
|
}, i = () => {
|
|
962
|
-
R.value.validate((
|
|
963
|
-
if (
|
|
964
|
-
if (
|
|
965
|
-
const l = $e(
|
|
966
|
-
|
|
962
|
+
R.value.validate((r) => {
|
|
963
|
+
if (r)
|
|
964
|
+
if (u.value.sqlValue) {
|
|
965
|
+
const l = $e(u.value.sqlValue);
|
|
966
|
+
u.value.sqlValue = u.value.list.reduce((k, O, _) => (l.includes(`条件${_ + 1}`) || (k += `&& 条件${_ + 1} `), k), u.value.sqlValue);
|
|
967
967
|
} else
|
|
968
|
-
|
|
968
|
+
u.value.sqlValue = u.value.list.reduce((l, k, O) => (O === 0 ? l += `条件${O + 1} ` : l += `&& 条件${O + 1} `, l), "");
|
|
969
969
|
});
|
|
970
|
-
},
|
|
971
|
-
switch (
|
|
970
|
+
}, n = (r) => {
|
|
971
|
+
switch (r.key) {
|
|
972
972
|
case "compare": {
|
|
973
|
-
const { cycle: l, factor: k, compareType: O, cycle2: _, factor2: $ } =
|
|
973
|
+
const { cycle: l, factor: k, compareType: O, cycle2: _, factor2: $ } = r;
|
|
974
974
|
let h = "";
|
|
975
975
|
return h += ` ${V.config.cycleOptions.find(({ value: I }) => I === l).label}`, h += ` ${V.config.factorOptions.find(({ value: I }) => I === k).label}`, h += ` ${O}`, h += ` ${V.config.cycleOptions.find(({ value: I }) => I === _).label}`, h += ` ${V.config.factorOptions.find(({ value: I }) => I === $).label}`, h;
|
|
976
976
|
}
|
|
977
977
|
default: {
|
|
978
|
-
const { cycle: l, factor: k, score: O } =
|
|
978
|
+
const { cycle: l, factor: k, score: O } = r;
|
|
979
979
|
let _ = "";
|
|
980
980
|
return _ += ` ${V.config.cycleOptions.find(({ value: $ }) => $ === l).label}`, _ += ` ${V.config.factorOptions.find(({ value: $ }) => $ === k).label}`, _ += ` ${O[0] || O[0] === 0 ? `${O[0]}分` : "∞"}`, _ += " ~", _ += ` ${O[1] || O[1] === 0 ? `${O[1]}分` : "∞"}`, _;
|
|
981
981
|
}
|
|
982
982
|
}
|
|
983
|
-
}, C = (
|
|
984
|
-
switch (
|
|
983
|
+
}, C = (r, l) => {
|
|
984
|
+
switch (r) {
|
|
985
985
|
case "sqlTag": {
|
|
986
986
|
y.value = {
|
|
987
987
|
list: [],
|
|
@@ -996,13 +996,13 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
996
996
|
}
|
|
997
997
|
}
|
|
998
998
|
};
|
|
999
|
-
return (
|
|
999
|
+
return (r, l) => {
|
|
1000
1000
|
var W;
|
|
1001
|
-
const k = Ke, O = Me, _ = Re, $ =
|
|
1002
|
-
return
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
y.value.sqlEnable && y.value.sqlValue ? (
|
|
1001
|
+
const k = Ke, O = Me, _ = Re, $ = fl, h = Ae, I = ce, S = de, g = Qe, P = Ee, c = ke, e = _e, G = Ue, B = Ze, oe = ye;
|
|
1002
|
+
return s(), f(U, null, [
|
|
1003
|
+
m("div", Ul, [
|
|
1004
|
+
m("div", null, [
|
|
1005
|
+
y.value.sqlEnable && y.value.sqlValue ? (s(), q(O, {
|
|
1006
1006
|
key: 0,
|
|
1007
1007
|
closable: "",
|
|
1008
1008
|
type: "info",
|
|
@@ -1023,13 +1023,13 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1023
1023
|
]),
|
|
1024
1024
|
_: 1
|
|
1025
1025
|
}, 8, ["title"])) : z("", !0),
|
|
1026
|
-
!y.value.sqlEnable && y.value.list.length ? (
|
|
1026
|
+
!y.value.sqlEnable && y.value.list.length ? (s(!0), f(U, { key: 1 }, j(y.value.list, (w, Y) => (s(), q(O, {
|
|
1027
1027
|
closable: "",
|
|
1028
1028
|
type: "info",
|
|
1029
1029
|
onClose: (x) => C("factorTag", Y)
|
|
1030
1030
|
}, {
|
|
1031
1031
|
default: d(() => [
|
|
1032
|
-
D(J(
|
|
1032
|
+
D(J(n(w)), 1)
|
|
1033
1033
|
]),
|
|
1034
1034
|
_: 2
|
|
1035
1035
|
}, 1032, ["onClose"]))), 256)) : z("", !0),
|
|
@@ -1038,7 +1038,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1038
1038
|
type: "primary",
|
|
1039
1039
|
plain: "",
|
|
1040
1040
|
size: "small",
|
|
1041
|
-
icon: v(
|
|
1041
|
+
icon: v(re),
|
|
1042
1042
|
onClick: t
|
|
1043
1043
|
}, {
|
|
1044
1044
|
default: d(() => [
|
|
@@ -1048,15 +1048,15 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1048
1048
|
}, 8, ["icon"])
|
|
1049
1049
|
]),
|
|
1050
1050
|
o(oe, {
|
|
1051
|
-
modelValue:
|
|
1052
|
-
"onUpdate:modelValue": l[5] || (l[5] = (w) =>
|
|
1051
|
+
modelValue: a.value,
|
|
1052
|
+
"onUpdate:modelValue": l[5] || (l[5] = (w) => a.value = w),
|
|
1053
1053
|
width: "680",
|
|
1054
1054
|
"align-center": "",
|
|
1055
1055
|
"destroy-on-close": ""
|
|
1056
1056
|
}, {
|
|
1057
1057
|
header: d(({ titleId: w, titleClass: Y }) => [
|
|
1058
|
-
|
|
1059
|
-
|
|
1058
|
+
m("div", El, [
|
|
1059
|
+
m("span", {
|
|
1060
1060
|
id: w,
|
|
1061
1061
|
class: K(Y)
|
|
1062
1062
|
}, " 因子筛选 ", 10, Rl),
|
|
@@ -1080,7 +1080,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1080
1080
|
])
|
|
1081
1081
|
]),
|
|
1082
1082
|
footer: d(() => [
|
|
1083
|
-
|
|
1083
|
+
m("div", jl, [
|
|
1084
1084
|
o(_, {
|
|
1085
1085
|
type: "primary",
|
|
1086
1086
|
onClick: E
|
|
@@ -1096,13 +1096,13 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1096
1096
|
o(B, {
|
|
1097
1097
|
ref_key: "dialogFormRef",
|
|
1098
1098
|
ref: R,
|
|
1099
|
-
model:
|
|
1099
|
+
model: u.value
|
|
1100
1100
|
}, {
|
|
1101
1101
|
default: d(() => [
|
|
1102
|
-
(
|
|
1103
|
-
|
|
1104
|
-
w.key === "compare" ? (
|
|
1105
|
-
p.config.cycleShow ? (
|
|
1102
|
+
(s(!0), f(U, null, j(u.value.list, (w, Y) => (s(), f("div", ql, [
|
|
1103
|
+
m("span", Ml, J(`条件${Y + 1}`), 1),
|
|
1104
|
+
w.key === "compare" ? (s(), f(U, { key: 0 }, [
|
|
1105
|
+
p.config.cycleShow ? (s(), q(g, {
|
|
1106
1106
|
key: 0,
|
|
1107
1107
|
prop: "list." + Y + ".cycle",
|
|
1108
1108
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
@@ -1116,7 +1116,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1116
1116
|
size: "small"
|
|
1117
1117
|
}, {
|
|
1118
1118
|
default: d(() => [
|
|
1119
|
-
(
|
|
1119
|
+
(s(!0), f(U, null, j(p.config.cycleOptions, ({ label: x, value: T }) => (s(), q(I, {
|
|
1120
1120
|
label: x,
|
|
1121
1121
|
value: T,
|
|
1122
1122
|
key: T
|
|
@@ -1144,7 +1144,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1144
1144
|
default: d(() => {
|
|
1145
1145
|
var x;
|
|
1146
1146
|
return [
|
|
1147
|
-
(
|
|
1147
|
+
(s(!0), f(U, null, j((x = p.config.factorOptions) == null ? void 0 : x.filter((T) => [4].includes(T.type)), ({ label: T, value: F }) => (s(), q(I, {
|
|
1148
1148
|
label: T,
|
|
1149
1149
|
value: F,
|
|
1150
1150
|
key: F
|
|
@@ -1164,7 +1164,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1164
1164
|
size: "small"
|
|
1165
1165
|
}, {
|
|
1166
1166
|
default: d(() => [
|
|
1167
|
-
(
|
|
1167
|
+
(s(), f(U, null, j([">", ">=", "<", "<="], (x) => o(I, {
|
|
1168
1168
|
label: x,
|
|
1169
1169
|
value: x,
|
|
1170
1170
|
key: x
|
|
@@ -1175,7 +1175,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1175
1175
|
]),
|
|
1176
1176
|
_: 2
|
|
1177
1177
|
}, 1024),
|
|
1178
|
-
p.config.cycleShow ? (
|
|
1178
|
+
p.config.cycleShow ? (s(), q(g, {
|
|
1179
1179
|
key: 1,
|
|
1180
1180
|
prop: "list." + Y + ".cycle2",
|
|
1181
1181
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
@@ -1189,7 +1189,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1189
1189
|
size: "small"
|
|
1190
1190
|
}, {
|
|
1191
1191
|
default: d(() => [
|
|
1192
|
-
(
|
|
1192
|
+
(s(!0), f(U, null, j(p.config.cycleOptions, ({ label: x, value: T }) => (s(), q(I, {
|
|
1193
1193
|
label: x,
|
|
1194
1194
|
value: T,
|
|
1195
1195
|
key: T
|
|
@@ -1217,7 +1217,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1217
1217
|
default: d(() => {
|
|
1218
1218
|
var x;
|
|
1219
1219
|
return [
|
|
1220
|
-
(
|
|
1220
|
+
(s(!0), f(U, null, j((x = p.config.factorOptions) == null ? void 0 : x.filter((T) => [4].includes(T.type)), ({ label: T, value: F }) => (s(), q(I, {
|
|
1221
1221
|
label: T,
|
|
1222
1222
|
value: F,
|
|
1223
1223
|
key: F
|
|
@@ -1229,8 +1229,8 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1229
1229
|
]),
|
|
1230
1230
|
_: 2
|
|
1231
1231
|
}, 1032, ["prop"])
|
|
1232
|
-
], 64)) : (
|
|
1233
|
-
p.config.cycleShow ? (
|
|
1232
|
+
], 64)) : (s(), f(U, { key: 1 }, [
|
|
1233
|
+
p.config.cycleShow ? (s(), q(g, {
|
|
1234
1234
|
key: 0,
|
|
1235
1235
|
prop: "list." + Y + ".cycle",
|
|
1236
1236
|
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
@@ -1244,7 +1244,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1244
1244
|
size: "small"
|
|
1245
1245
|
}, {
|
|
1246
1246
|
default: d(() => [
|
|
1247
|
-
(
|
|
1247
|
+
(s(!0), f(U, null, j(p.config.cycleOptions, ({ label: x, value: T }) => (s(), q(I, {
|
|
1248
1248
|
label: x,
|
|
1249
1249
|
value: T,
|
|
1250
1250
|
key: T
|
|
@@ -1272,7 +1272,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1272
1272
|
default: d(() => {
|
|
1273
1273
|
var x;
|
|
1274
1274
|
return [
|
|
1275
|
-
(
|
|
1275
|
+
(s(!0), f(U, null, j((x = p.config.factorOptions) == null ? void 0 : x.filter((T) => [1, 3].includes(T.type)), ({ label: T, value: F }) => (s(), q(I, {
|
|
1276
1276
|
label: T,
|
|
1277
1277
|
value: F,
|
|
1278
1278
|
key: F
|
|
@@ -1290,7 +1290,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1290
1290
|
style: { width: "200px", "margin-right": "10px" }
|
|
1291
1291
|
}, {
|
|
1292
1292
|
default: d(() => [
|
|
1293
|
-
|
|
1293
|
+
m("div", Dl, [
|
|
1294
1294
|
o(P, {
|
|
1295
1295
|
modelValue: w.score[0],
|
|
1296
1296
|
"onUpdate:modelValue": (x) => w.score[0] = x,
|
|
@@ -1322,7 +1322,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1322
1322
|
type: "primary",
|
|
1323
1323
|
plain: "",
|
|
1324
1324
|
size: "small",
|
|
1325
|
-
icon: v(
|
|
1325
|
+
icon: v(re),
|
|
1326
1326
|
onClick: M,
|
|
1327
1327
|
style: { "margin-bottom": "10px" }
|
|
1328
1328
|
}, {
|
|
@@ -1335,7 +1335,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1335
1335
|
type: "primary",
|
|
1336
1336
|
plain: "",
|
|
1337
1337
|
size: "small",
|
|
1338
|
-
icon: v(
|
|
1338
|
+
icon: v(re),
|
|
1339
1339
|
onClick: l[2] || (l[2] = (w) => M("compare")),
|
|
1340
1340
|
style: { "margin-bottom": "10px" }
|
|
1341
1341
|
}, {
|
|
@@ -1344,12 +1344,12 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1344
1344
|
]),
|
|
1345
1345
|
_: 1
|
|
1346
1346
|
}, 8, ["icon"]),
|
|
1347
|
-
p.config.sqlShow ? (
|
|
1347
|
+
p.config.sqlShow ? (s(), f(U, { key: 0 }, [
|
|
1348
1348
|
o(g, { label: "SQL功能: " }, {
|
|
1349
1349
|
default: d(() => [
|
|
1350
1350
|
o(e, {
|
|
1351
|
-
modelValue:
|
|
1352
|
-
"onUpdate:modelValue": l[3] || (l[3] = (w) =>
|
|
1351
|
+
modelValue: u.value.sqlEnable,
|
|
1352
|
+
"onUpdate:modelValue": l[3] || (l[3] = (w) => u.value.sqlEnable = w)
|
|
1353
1353
|
}, {
|
|
1354
1354
|
default: d(() => [
|
|
1355
1355
|
o(c, {
|
|
@@ -1363,7 +1363,7 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1363
1363
|
]),
|
|
1364
1364
|
_: 1
|
|
1365
1365
|
}, 8, ["modelValue"]),
|
|
1366
|
-
|
|
1366
|
+
u.value.sqlEnable ? (s(), q(_, {
|
|
1367
1367
|
key: 0,
|
|
1368
1368
|
type: "primary",
|
|
1369
1369
|
size: "small",
|
|
@@ -1378,10 +1378,10 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1378
1378
|
]),
|
|
1379
1379
|
_: 1
|
|
1380
1380
|
}),
|
|
1381
|
-
|
|
1381
|
+
u.value.sqlEnable ? (s(), f(U, { key: 0 }, [
|
|
1382
1382
|
o(G, {
|
|
1383
|
-
modelValue:
|
|
1384
|
-
"onUpdate:modelValue": l[4] || (l[4] = (w) =>
|
|
1383
|
+
modelValue: u.value.sqlValue,
|
|
1384
|
+
"onUpdate:modelValue": l[4] || (l[4] = (w) => u.value.sqlValue = w),
|
|
1385
1385
|
autosize: { minRows: 4 },
|
|
1386
1386
|
type: "textarea",
|
|
1387
1387
|
style: { "margin-bottom": "10px" }
|
|
@@ -1405,19 +1405,19 @@ const Pe = (p) => (me("data-v-3592dee9"), p = p(), fe(), p), Ul = { class: "fact
|
|
|
1405
1405
|
};
|
|
1406
1406
|
}
|
|
1407
1407
|
}, Nl = /* @__PURE__ */ ge(zl, [["__scopeId", "data-v-3592dee9"]]);
|
|
1408
|
-
const
|
|
1408
|
+
const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
|
|
1409
1409
|
key: 0,
|
|
1410
1410
|
class: "common-indicator"
|
|
1411
|
-
}, Bl = { class: "indicator" }, Gl = /* @__PURE__ */
|
|
1412
|
-
/* @__PURE__ */
|
|
1413
|
-
/* @__PURE__ */
|
|
1411
|
+
}, Bl = { class: "indicator" }, Gl = /* @__PURE__ */ ae(() => /* @__PURE__ */ m("div", { class: "title" }, [
|
|
1412
|
+
/* @__PURE__ */ m("span", null, "常用指标: "),
|
|
1413
|
+
/* @__PURE__ */ m("span", null, "不限")
|
|
1414
1414
|
], -1)), Yl = { class: "options" }, Jl = ["onClick"], Al = { class: "tags" }, Kl = ["onClick"], Ql = { style: { "font-size": "18px" } }, Zl = {
|
|
1415
1415
|
key: 0,
|
|
1416
1416
|
class: "out-box"
|
|
1417
|
-
}, Hl = /* @__PURE__ */
|
|
1417
|
+
}, Hl = /* @__PURE__ */ ae(() => /* @__PURE__ */ m("span", null, "自定义: ", -1)), Wl = {
|
|
1418
1418
|
key: 0,
|
|
1419
1419
|
class: "convenient-option-box"
|
|
1420
|
-
}, Xl = { class: "out-box" }, et = /* @__PURE__ */
|
|
1420
|
+
}, Xl = { class: "out-box" }, et = /* @__PURE__ */ ae(() => /* @__PURE__ */ m("span", null, "自定义: ", -1)), lt = { key: 0 }, tt = { key: 0 }, nt = { key: 0 }, at = { key: 1 }, ot = { class: "tFeaturelncomes-option-box" }, st = { class: "tFeaturelncomes-out-box" }, rt = /* @__PURE__ */ ae(() => /* @__PURE__ */ m("span", null, "自定义: ", -1)), ut = { key: 2 }, it = { key: 3 }, ct = { key: 4 }, dt = { class: "dialog-footer" }, pt = {
|
|
1421
1421
|
__name: "index",
|
|
1422
1422
|
props: /* @__PURE__ */ te({
|
|
1423
1423
|
config: { type: Object, default: () => {
|
|
@@ -1432,23 +1432,23 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1432
1432
|
}),
|
|
1433
1433
|
emits: ["update:data"],
|
|
1434
1434
|
setup(p) {
|
|
1435
|
-
const V =
|
|
1436
|
-
var
|
|
1437
|
-
return (
|
|
1435
|
+
const V = ne(p, "data"), y = p, a = Q(!1), b = N(() => {
|
|
1436
|
+
var r;
|
|
1437
|
+
return (r = y.data.find((l) => l.radioType === "1")) == null ? void 0 : r.key;
|
|
1438
1438
|
}), R = N(() => {
|
|
1439
|
-
let
|
|
1440
|
-
return y.varietyMarket === null && !y.commonOption.length ?
|
|
1439
|
+
let r = [];
|
|
1440
|
+
return y.varietyMarket === null && !y.commonOption.length ? r = y.config.options : (r = y.config.options, y.varietyMarket && (r = r.filter(({ parent: l }) => l.varietyMarketIds.includes(y.varietyMarket))), y.commonOption.length && (r = r.filter(({ parent: l }) => {
|
|
1441
1441
|
const { commonOptionIds: k } = l;
|
|
1442
1442
|
return [.../* @__PURE__ */ new Set([...k, ...y.commonOption])].length !== [...k, ...y.commonOption].length;
|
|
1443
|
-
}))),
|
|
1444
|
-
}),
|
|
1445
|
-
|
|
1443
|
+
}))), r;
|
|
1444
|
+
}), u = Q({}), t = Q({}), E = (r) => {
|
|
1445
|
+
u.value = r;
|
|
1446
1446
|
const l = {
|
|
1447
|
-
key:
|
|
1448
|
-
type:
|
|
1449
|
-
label:
|
|
1447
|
+
key: r.key,
|
|
1448
|
+
type: r.type,
|
|
1449
|
+
label: r.label
|
|
1450
1450
|
};
|
|
1451
|
-
switch (
|
|
1451
|
+
switch (r.key) {
|
|
1452
1452
|
case "st": {
|
|
1453
1453
|
t.value = { ...l, st: null };
|
|
1454
1454
|
break;
|
|
@@ -1484,14 +1484,14 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1484
1484
|
t.value = {
|
|
1485
1485
|
...l,
|
|
1486
1486
|
range: [null, null],
|
|
1487
|
-
unit:
|
|
1488
|
-
radioType: b.value && b.value !==
|
|
1487
|
+
unit: r.defaultUnit.length ? [...r.defaultUnit] : [null, null],
|
|
1488
|
+
radioType: b.value && b.value !== r.key ? "0" : r.defaultRadioType,
|
|
1489
1489
|
// 0数值 1排名
|
|
1490
|
-
rankRange:
|
|
1490
|
+
rankRange: r.defaultRankRange || [null, null]
|
|
1491
1491
|
// 默认排名
|
|
1492
1492
|
};
|
|
1493
1493
|
}
|
|
1494
|
-
|
|
1494
|
+
a.value = !0;
|
|
1495
1495
|
}, L = () => {
|
|
1496
1496
|
switch (t.value.key) {
|
|
1497
1497
|
case "st": {
|
|
@@ -1546,16 +1546,16 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1546
1546
|
!["", null].includes(_[0]) && !["", null].includes(_[1]) ? t.value.tagText = `${l}${O === "1" ? "排名" : ""}: ${_[0]}${$} ~ ${_[1]}${h}` : ["", null].includes(_[0]) ? t.value.tagText = `${l}${O === "1" ? "排名" : ""}: ≤${_[1]}${h}` : t.value.tagText = `${l}${O === "1" ? "排名" : ""}: ≥${_[0]}${$}`;
|
|
1547
1547
|
}
|
|
1548
1548
|
}
|
|
1549
|
-
const
|
|
1550
|
-
|
|
1551
|
-
}, M = (
|
|
1552
|
-
|
|
1553
|
-
}, i = (
|
|
1554
|
-
V.value.splice(
|
|
1555
|
-
},
|
|
1556
|
-
t.value.range = [...
|
|
1557
|
-
}, C = (
|
|
1558
|
-
switch (
|
|
1549
|
+
const r = V.value.findIndex(({ key: l }) => l === t.value.key);
|
|
1550
|
+
r === -1 ? V.value.push(t.value) : V.value.splice(r, 1, t.value), a.value = !1;
|
|
1551
|
+
}, M = (r) => {
|
|
1552
|
+
u.value = R.value.find(({ key: l }) => l === r.key), t.value = JSON.parse(JSON.stringify(r)), a.value = !0;
|
|
1553
|
+
}, i = (r) => {
|
|
1554
|
+
V.value.splice(r, 1);
|
|
1555
|
+
}, n = (r) => {
|
|
1556
|
+
t.value.range = [...r.range], t.value.unit = [...r.unit];
|
|
1557
|
+
}, C = (r) => {
|
|
1558
|
+
switch (r) {
|
|
1559
1559
|
case "≤0":
|
|
1560
1560
|
Object.assign(t.value, {
|
|
1561
1561
|
rule: 2,
|
|
@@ -1602,29 +1602,29 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1602
1602
|
return ee(
|
|
1603
1603
|
() => R.value,
|
|
1604
1604
|
() => {
|
|
1605
|
-
V.value.length && (V.value = V.value.filter(({ key:
|
|
1605
|
+
V.value.length && (V.value = V.value.filter(({ key: r }) => R.value.find((l) => l.key === r)));
|
|
1606
1606
|
}
|
|
1607
|
-
), (
|
|
1607
|
+
), (r, l) => {
|
|
1608
1608
|
const k = Me, O = Tl, _ = _e, $ = Ue, h = Re, I = ce, S = de, g = ke, P = Ee, c = ye;
|
|
1609
|
-
return p.config.show && R.value.length ? (
|
|
1610
|
-
|
|
1609
|
+
return p.config.show && R.value.length ? (s(), f("div", Pl, [
|
|
1610
|
+
m("div", Bl, [
|
|
1611
1611
|
Gl,
|
|
1612
|
-
|
|
1613
|
-
(
|
|
1612
|
+
m("div", Yl, [
|
|
1613
|
+
(s(!0), f(U, null, j(R.value, (e) => (s(), f("span", {
|
|
1614
1614
|
key: e.key,
|
|
1615
1615
|
onClick: (G) => E(e)
|
|
1616
1616
|
}, J(e.label), 9, Jl))), 128))
|
|
1617
1617
|
])
|
|
1618
1618
|
]),
|
|
1619
|
-
|
|
1620
|
-
(
|
|
1619
|
+
m("div", Al, [
|
|
1620
|
+
(s(!0), f(U, null, j(V.value, (e, G) => (s(), q(k, {
|
|
1621
1621
|
closable: "",
|
|
1622
1622
|
type: "info",
|
|
1623
1623
|
onClose: (B) => i(G)
|
|
1624
1624
|
}, {
|
|
1625
1625
|
default: d(() => [
|
|
1626
|
-
|
|
1627
|
-
|
|
1626
|
+
m("span", null, J(e.tagText), 1),
|
|
1627
|
+
m("span", {
|
|
1628
1628
|
class: "edit",
|
|
1629
1629
|
onClick: (B) => M(e)
|
|
1630
1630
|
}, "编辑", 8, Kl)
|
|
@@ -1633,15 +1633,15 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1633
1633
|
}, 1032, ["onClose"]))), 256))
|
|
1634
1634
|
]),
|
|
1635
1635
|
o(c, {
|
|
1636
|
-
modelValue:
|
|
1637
|
-
"onUpdate:modelValue": l[19] || (l[19] = (e) =>
|
|
1638
|
-
title:
|
|
1636
|
+
modelValue: a.value,
|
|
1637
|
+
"onUpdate:modelValue": l[19] || (l[19] = (e) => a.value = e),
|
|
1638
|
+
title: u.value.label,
|
|
1639
1639
|
width: "600",
|
|
1640
1640
|
"align-center": "",
|
|
1641
1641
|
"destroy-on-close": ""
|
|
1642
|
-
},
|
|
1642
|
+
}, se({
|
|
1643
1643
|
footer: d(() => [
|
|
1644
|
-
|
|
1644
|
+
m("div", dt, [
|
|
1645
1645
|
o(h, {
|
|
1646
1646
|
type: "primary",
|
|
1647
1647
|
onClick: L
|
|
@@ -1654,7 +1654,7 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1654
1654
|
])
|
|
1655
1655
|
]),
|
|
1656
1656
|
default: d(() => [
|
|
1657
|
-
|
|
1657
|
+
u.value.type === void 0 && t.value.radioType === "1" ? (s(), f("div", Zl, [
|
|
1658
1658
|
Hl,
|
|
1659
1659
|
o($, {
|
|
1660
1660
|
modelValue: t.value.rankRange[0],
|
|
@@ -1667,11 +1667,11 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1667
1667
|
"onUpdate:modelValue": l[2] || (l[2] = (e) => t.value.rankRange[1] = e),
|
|
1668
1668
|
style: { flex: "1" }
|
|
1669
1669
|
}, null, 8, ["modelValue"])
|
|
1670
|
-
])) :
|
|
1671
|
-
|
|
1672
|
-
(
|
|
1670
|
+
])) : u.value.type === void 0 ? (s(), f(U, { key: 1 }, [
|
|
1671
|
+
u.value.convenientOptions.length ? (s(), f("div", Wl, [
|
|
1672
|
+
(s(!0), f(U, null, j(u.value.convenientOptions, (e) => (s(), q(h, {
|
|
1673
1673
|
key: e.text,
|
|
1674
|
-
onClick: (G) =>
|
|
1674
|
+
onClick: (G) => n(e)
|
|
1675
1675
|
}, {
|
|
1676
1676
|
default: d(() => [
|
|
1677
1677
|
D(J(e.text), 1)
|
|
@@ -1679,24 +1679,24 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1679
1679
|
_: 2
|
|
1680
1680
|
}, 1032, ["onClick"]))), 128))
|
|
1681
1681
|
])) : z("", !0),
|
|
1682
|
-
|
|
1682
|
+
m("div", Xl, [
|
|
1683
1683
|
et,
|
|
1684
1684
|
o($, {
|
|
1685
1685
|
modelValue: t.value.range[0],
|
|
1686
1686
|
"onUpdate:modelValue": l[4] || (l[4] = (e) => t.value.range[0] = e),
|
|
1687
1687
|
style: { flex: "1" }
|
|
1688
|
-
},
|
|
1689
|
-
|
|
1688
|
+
}, se({ _: 2 }, [
|
|
1689
|
+
u.value.unitOptions.length ? {
|
|
1690
1690
|
name: "append",
|
|
1691
1691
|
fn: d(() => [
|
|
1692
|
-
|
|
1692
|
+
u.value.unitOptions.length === 1 ? (s(), f("span", lt, J(t.value.unit[0]), 1)) : (s(), q(S, {
|
|
1693
1693
|
key: 1,
|
|
1694
1694
|
modelValue: t.value.unit[0],
|
|
1695
1695
|
"onUpdate:modelValue": l[3] || (l[3] = (e) => t.value.unit[0] = e),
|
|
1696
1696
|
style: { width: "72px" }
|
|
1697
1697
|
}, {
|
|
1698
1698
|
default: d(() => [
|
|
1699
|
-
(
|
|
1699
|
+
(s(!0), f(U, null, j(u.value.unitOptions, (e) => (s(), q(I, {
|
|
1700
1700
|
label: e,
|
|
1701
1701
|
value: e
|
|
1702
1702
|
}, null, 8, ["label", "value"]))), 256))
|
|
@@ -1712,18 +1712,18 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1712
1712
|
modelValue: t.value.range[1],
|
|
1713
1713
|
"onUpdate:modelValue": l[6] || (l[6] = (e) => t.value.range[1] = e),
|
|
1714
1714
|
style: { flex: "1" }
|
|
1715
|
-
},
|
|
1716
|
-
|
|
1715
|
+
}, se({ _: 2 }, [
|
|
1716
|
+
u.value.unitOptions.length ? {
|
|
1717
1717
|
name: "append",
|
|
1718
1718
|
fn: d(() => [
|
|
1719
|
-
|
|
1719
|
+
u.value.unitOptions.length === 1 ? (s(), f("span", tt, J(t.value.unit[1]), 1)) : (s(), q(S, {
|
|
1720
1720
|
key: 1,
|
|
1721
1721
|
modelValue: t.value.unit[1],
|
|
1722
1722
|
"onUpdate:modelValue": l[5] || (l[5] = (e) => t.value.unit[1] = e),
|
|
1723
1723
|
style: { width: "72px" }
|
|
1724
1724
|
}, {
|
|
1725
1725
|
default: d(() => [
|
|
1726
|
-
(
|
|
1726
|
+
(s(!0), f(U, null, j(u.value.unitOptions, (e) => (s(), q(I, {
|
|
1727
1727
|
label: e,
|
|
1728
1728
|
value: e
|
|
1729
1729
|
}, null, 8, ["label", "value"]))), 256))
|
|
@@ -1735,8 +1735,8 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1735
1735
|
} : void 0
|
|
1736
1736
|
]), 1032, ["modelValue"])
|
|
1737
1737
|
])
|
|
1738
|
-
], 64)) : (
|
|
1739
|
-
|
|
1738
|
+
], 64)) : (s(), f(U, { key: 2 }, [
|
|
1739
|
+
u.value.key === "st" ? (s(), f("div", nt, [
|
|
1740
1740
|
o(_, {
|
|
1741
1741
|
modelValue: t.value.st,
|
|
1742
1742
|
"onUpdate:modelValue": l[7] || (l[7] = (e) => t.value.st = e)
|
|
@@ -1754,8 +1754,8 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1754
1754
|
_: 1
|
|
1755
1755
|
}, 8, ["modelValue"])
|
|
1756
1756
|
])) : z("", !0),
|
|
1757
|
-
|
|
1758
|
-
|
|
1757
|
+
u.value.key === "tFeaturelncomes" ? (s(), f("div", at, [
|
|
1758
|
+
m("div", ot, [
|
|
1759
1759
|
o(h, {
|
|
1760
1760
|
onClick: l[8] || (l[8] = (e) => C("≤0"))
|
|
1761
1761
|
}, {
|
|
@@ -1797,9 +1797,9 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1797
1797
|
_: 1
|
|
1798
1798
|
})
|
|
1799
1799
|
]),
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1800
|
+
m("div", st, [
|
|
1801
|
+
rt,
|
|
1802
|
+
m("div", null, [
|
|
1803
1803
|
o(P, {
|
|
1804
1804
|
modelValue: t.value.withFewYears,
|
|
1805
1805
|
"onUpdate:modelValue": l[13] || (l[13] = (e) => t.value.withFewYears = e),
|
|
@@ -1821,7 +1821,7 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1821
1821
|
])
|
|
1822
1822
|
])
|
|
1823
1823
|
])) : z("", !0),
|
|
1824
|
-
|
|
1824
|
+
u.value.key === "priceLevels" ? (s(), f("div", ut, [
|
|
1825
1825
|
o(S, {
|
|
1826
1826
|
modelValue: t.value.priceLevels,
|
|
1827
1827
|
"onUpdate:modelValue": l[16] || (l[16] = (e) => t.value.priceLevels = e),
|
|
@@ -1831,7 +1831,7 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1831
1831
|
style: { width: "420px" }
|
|
1832
1832
|
}, {
|
|
1833
1833
|
default: d(() => [
|
|
1834
|
-
(
|
|
1834
|
+
(s(), f(U, null, j([1, 2, 3, 4, 5], (e) => o(I, {
|
|
1835
1835
|
key: e,
|
|
1836
1836
|
label: `${e}分位`,
|
|
1837
1837
|
value: e
|
|
@@ -1840,7 +1840,7 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1840
1840
|
_: 1
|
|
1841
1841
|
}, 8, ["modelValue"])
|
|
1842
1842
|
])) : z("", !0),
|
|
1843
|
-
|
|
1843
|
+
u.value.key === "peTtmLevels" ? (s(), f("div", it, [
|
|
1844
1844
|
o(S, {
|
|
1845
1845
|
modelValue: t.value.peTtmLevels,
|
|
1846
1846
|
"onUpdate:modelValue": l[17] || (l[17] = (e) => t.value.peTtmLevels = e),
|
|
@@ -1850,7 +1850,7 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1850
1850
|
style: { width: "420px" }
|
|
1851
1851
|
}, {
|
|
1852
1852
|
default: d(() => [
|
|
1853
|
-
(
|
|
1853
|
+
(s(), f(U, null, j([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (e) => o(I, {
|
|
1854
1854
|
key: e,
|
|
1855
1855
|
label: `${e}分位`,
|
|
1856
1856
|
value: e
|
|
@@ -1859,7 +1859,7 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1859
1859
|
_: 1
|
|
1860
1860
|
}, 8, ["modelValue"])
|
|
1861
1861
|
])) : z("", !0),
|
|
1862
|
-
|
|
1862
|
+
u.value.key === "optionsCpType" ? (s(), f("div", ct, [
|
|
1863
1863
|
o(_, {
|
|
1864
1864
|
modelValue: t.value.optionsCpType,
|
|
1865
1865
|
"onUpdate:modelValue": l[18] || (l[18] = (e) => t.value.optionsCpType = e)
|
|
@@ -1881,10 +1881,10 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1881
1881
|
]),
|
|
1882
1882
|
_: 2
|
|
1883
1883
|
}, [
|
|
1884
|
-
|
|
1884
|
+
u.value.showRankType ? {
|
|
1885
1885
|
name: "header",
|
|
1886
1886
|
fn: d(() => [
|
|
1887
|
-
|
|
1887
|
+
m("span", Ql, J(u.value.label), 1),
|
|
1888
1888
|
o(_, {
|
|
1889
1889
|
modelValue: t.value.radioType,
|
|
1890
1890
|
"onUpdate:modelValue": l[0] || (l[0] = (e) => t.value.radioType = e),
|
|
@@ -1896,7 +1896,7 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1896
1896
|
value: "0"
|
|
1897
1897
|
}),
|
|
1898
1898
|
o(O, {
|
|
1899
|
-
disabled: b.value && b.value !==
|
|
1899
|
+
disabled: b.value && b.value !== u.value.key,
|
|
1900
1900
|
label: "排名",
|
|
1901
1901
|
value: "1"
|
|
1902
1902
|
}, null, 8, ["disabled"])
|
|
@@ -1911,25 +1911,25 @@ const ne = (p) => (me("data-v-bdb03941"), p = p(), fe(), p), Pl = {
|
|
|
1911
1911
|
};
|
|
1912
1912
|
}
|
|
1913
1913
|
}, vt = /* @__PURE__ */ ge(pt, [["__scopeId", "data-v-bdb03941"]]);
|
|
1914
|
-
const H = (p) => (
|
|
1914
|
+
const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "variety-search" }, mt = {
|
|
1915
1915
|
key: 0,
|
|
1916
1916
|
class: "variety-search-row"
|
|
1917
|
-
}, yt = { class: "title" }, gt = /* @__PURE__ */ H(() => /* @__PURE__ */
|
|
1917
|
+
}, yt = { class: "title" }, gt = /* @__PURE__ */ H(() => /* @__PURE__ */ m("span", null, "品种市场: ", -1)), bt = {
|
|
1918
1918
|
key: 1,
|
|
1919
1919
|
class: "variety-search-row"
|
|
1920
|
-
}, kt = { class: "title" }, _t = /* @__PURE__ */ H(() => /* @__PURE__ */
|
|
1920
|
+
}, kt = { class: "title" }, _t = /* @__PURE__ */ H(() => /* @__PURE__ */ m("span", null, "常用选项: ", -1)), ht = {
|
|
1921
1921
|
key: 2,
|
|
1922
1922
|
class: "variety-search-row"
|
|
1923
|
-
}, Vt = { class: "title" }, xt = /* @__PURE__ */ H(() => /* @__PURE__ */
|
|
1923
|
+
}, Vt = { class: "title" }, xt = /* @__PURE__ */ H(() => /* @__PURE__ */ m("span", null, "上市板块: ", -1)), Ot = {
|
|
1924
1924
|
key: 3,
|
|
1925
1925
|
class: "variety-search-row"
|
|
1926
|
-
}, It = { class: "title" }, $t = /* @__PURE__ */ H(() => /* @__PURE__ */
|
|
1926
|
+
}, It = { class: "title" }, $t = /* @__PURE__ */ H(() => /* @__PURE__ */ m("span", null, "自定标签: ", -1)), wt = {
|
|
1927
1927
|
key: 4,
|
|
1928
1928
|
class: "variety-search-row"
|
|
1929
|
-
}, Tt = { class: "title" }, Ct = /* @__PURE__ */ H(() => /* @__PURE__ */
|
|
1929
|
+
}, Tt = { class: "title" }, Ct = /* @__PURE__ */ H(() => /* @__PURE__ */ m("span", null, "价差转换: ", -1)), St = {
|
|
1930
1930
|
key: 5,
|
|
1931
1931
|
class: "variety-search-row"
|
|
1932
|
-
}, Ut = { class: "title" }, Et = /* @__PURE__ */ H(() => /* @__PURE__ */
|
|
1932
|
+
}, Ut = { class: "title" }, Et = /* @__PURE__ */ H(() => /* @__PURE__ */ m("span", null, "因子筛选: ", -1)), Rt = {
|
|
1933
1933
|
__name: "index",
|
|
1934
1934
|
props: /* @__PURE__ */ te({ config: { type: Object, default: {} } }, {
|
|
1935
1935
|
searchData: {},
|
|
@@ -1937,8 +1937,8 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
1937
1937
|
}),
|
|
1938
1938
|
emits: ["update:searchData"],
|
|
1939
1939
|
setup(p, { expose: V }) {
|
|
1940
|
-
const y = p,
|
|
1941
|
-
|
|
1940
|
+
const y = p, a = ne(p, "searchData");
|
|
1941
|
+
a.value = Object.assign(a.value, {
|
|
1942
1942
|
// 品种市场
|
|
1943
1943
|
varietyMarket: null,
|
|
1944
1944
|
// 常用选项
|
|
@@ -1963,43 +1963,43 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
1963
1963
|
});
|
|
1964
1964
|
const b = N(() => {
|
|
1965
1965
|
const i = {};
|
|
1966
|
-
return Object.keys(Ie).forEach((
|
|
1967
|
-
const C = Ie[
|
|
1968
|
-
i[
|
|
1966
|
+
return Object.keys(Ie).forEach((n) => {
|
|
1967
|
+
const C = Ie[n], r = y.config[n] ?? {}, l = { ...C, ...r };
|
|
1968
|
+
i[n] = l;
|
|
1969
1969
|
}), i;
|
|
1970
|
-
}), R = N(() => b.value.varietyMarket.options),
|
|
1971
|
-
const { varietyMarket: i } =
|
|
1970
|
+
}), R = N(() => b.value.varietyMarket.options), u = N(() => {
|
|
1971
|
+
const { varietyMarket: i } = a.value;
|
|
1972
1972
|
if (i) {
|
|
1973
|
-
const
|
|
1974
|
-
return b.value.commonOption.options.filter(({ value: C }) =>
|
|
1973
|
+
const n = R.value.find(({ value: C }) => C === i).memo;
|
|
1974
|
+
return b.value.commonOption.options.filter(({ value: C }) => n.includes(C));
|
|
1975
1975
|
} else
|
|
1976
1976
|
return b.value.commonOption.options;
|
|
1977
1977
|
}), t = N(() => {
|
|
1978
|
-
const { varietyMarket: i } =
|
|
1979
|
-
return i ? b.value.marketIds.options.filter((
|
|
1978
|
+
const { varietyMarket: i } = a.value;
|
|
1979
|
+
return i ? b.value.marketIds.options.filter((n) => n.varietyMarketIds.includes(i)) : b.value.marketIds.options;
|
|
1980
1980
|
}), E = N(() => b.value.customTag.options), L = N(() => b.value.jcTranslate.jcOptions), M = (i) => {
|
|
1981
1981
|
switch (i) {
|
|
1982
1982
|
case "commonOption": {
|
|
1983
|
-
|
|
1983
|
+
a.value[i] = [];
|
|
1984
1984
|
break;
|
|
1985
1985
|
}
|
|
1986
1986
|
case "marketIds": {
|
|
1987
|
-
|
|
1987
|
+
a.value[i] = [];
|
|
1988
1988
|
break;
|
|
1989
1989
|
}
|
|
1990
1990
|
case "customTag": {
|
|
1991
|
-
|
|
1991
|
+
a.value[i] = [];
|
|
1992
1992
|
break;
|
|
1993
1993
|
}
|
|
1994
1994
|
case "jcTranslate": {
|
|
1995
|
-
|
|
1995
|
+
a.value[i] = {
|
|
1996
1996
|
type: null,
|
|
1997
1997
|
jcList: []
|
|
1998
1998
|
};
|
|
1999
1999
|
break;
|
|
2000
2000
|
}
|
|
2001
2001
|
case "factorScreen": {
|
|
2002
|
-
|
|
2002
|
+
a.value[i] = {
|
|
2003
2003
|
list: [],
|
|
2004
2004
|
sqlEnable: 0,
|
|
2005
2005
|
sqlValue: null
|
|
@@ -2007,47 +2007,47 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2007
2007
|
break;
|
|
2008
2008
|
}
|
|
2009
2009
|
case "commonIndicator": {
|
|
2010
|
-
|
|
2010
|
+
a.value[i] = [];
|
|
2011
2011
|
break;
|
|
2012
2012
|
}
|
|
2013
2013
|
default: {
|
|
2014
|
-
|
|
2014
|
+
a.value[i] = null;
|
|
2015
2015
|
break;
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
2018
|
};
|
|
2019
2019
|
return ee(
|
|
2020
|
-
() =>
|
|
2020
|
+
() => u.value,
|
|
2021
2021
|
(i) => {
|
|
2022
|
-
var
|
|
2023
|
-
(
|
|
2022
|
+
var n;
|
|
2023
|
+
(n = a.value.commonOption) != null && n.length && (a.value.commonOption = a.value.commonOption.filter((C) => i.find(({ value: r }) => r === C)));
|
|
2024
2024
|
}
|
|
2025
2025
|
), ee(
|
|
2026
2026
|
() => t.value,
|
|
2027
2027
|
(i) => {
|
|
2028
|
-
var
|
|
2029
|
-
(
|
|
2028
|
+
var n;
|
|
2029
|
+
(n = a.value.marketIds) != null && n.length && (a.value.marketIds = a.value.marketIds.filter((C) => i.find(({ value: r }) => r === C)));
|
|
2030
2030
|
}
|
|
2031
2031
|
), V({
|
|
2032
2032
|
// 生成接口传参结构的数据
|
|
2033
2033
|
formatData: (i) => {
|
|
2034
|
-
var C,
|
|
2034
|
+
var C, r, l, k, O, _;
|
|
2035
2035
|
console.log("%c[品种池搜索聚合组件]: 正在生成接口传参...", "color: tomato");
|
|
2036
|
-
const
|
|
2037
|
-
if (i.varietyMarket && (
|
|
2036
|
+
const n = {};
|
|
2037
|
+
if (i.varietyMarket && (n.exchangeId = String(i.varietyMarket)), (C = i.commonOption) != null && C.length && (n.optionId = i.commonOption.join(",")), (r = i.marketIds) != null && r.length && (n.marketIds = i.marketIds), (l = i.customTag) != null && l.length && (n.tagIds = i.customTag), (k = b.value.jcTranslate) != null && k.show) {
|
|
2038
2038
|
const { jcTranslate: $ } = i, { type: h, jcList: I } = $;
|
|
2039
2039
|
switch (h) {
|
|
2040
2040
|
case 1: {
|
|
2041
|
-
|
|
2041
|
+
n.translateType = 1, n.jcType = I.join(",");
|
|
2042
2042
|
break;
|
|
2043
2043
|
}
|
|
2044
2044
|
case 2:
|
|
2045
|
-
|
|
2045
|
+
n.translateType = 2;
|
|
2046
2046
|
}
|
|
2047
2047
|
}
|
|
2048
2048
|
if ((O = b.value.factorScreen) != null && O.show) {
|
|
2049
2049
|
const { factorScreen: $ } = i;
|
|
2050
|
-
if ((_ = $ == null ? void 0 : $.list) != null && _.length && (
|
|
2050
|
+
if ((_ = $ == null ? void 0 : $.list) != null && _.length && (n.tbFeatureFactorScores = $.list.map((h) => {
|
|
2051
2051
|
switch (h.key) {
|
|
2052
2052
|
case "compare":
|
|
2053
2053
|
return {
|
|
@@ -2087,15 +2087,15 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2087
2087
|
const P = new RegExp(S, "g");
|
|
2088
2088
|
I = I.replace(P, g);
|
|
2089
2089
|
}
|
|
2090
|
-
|
|
2090
|
+
n.sql = I, n.sqlExpression = $.sqlValue;
|
|
2091
2091
|
}
|
|
2092
|
-
|
|
2092
|
+
n.enableSql = $.sqlEnable === 1 ? 2 : 1;
|
|
2093
2093
|
}
|
|
2094
2094
|
{
|
|
2095
2095
|
const $ = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], h = i.commonIndicator.reduce((e, G) => {
|
|
2096
2096
|
const { key: B, type: oe, range: W, unit: w, radioType: Y, rankRange: x } = G;
|
|
2097
2097
|
if (Y === "1")
|
|
2098
|
-
|
|
2098
|
+
n.sortBy = {
|
|
2099
2099
|
column: G.key,
|
|
2100
2100
|
start: x[0] || null,
|
|
2101
2101
|
end: x[1] || null
|
|
@@ -2141,15 +2141,15 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2141
2141
|
}
|
|
2142
2142
|
return e;
|
|
2143
2143
|
}, []);
|
|
2144
|
-
h.length && (
|
|
2144
|
+
h.length && (n.query = h);
|
|
2145
2145
|
const I = i.commonIndicator.find(({ key: e }) => e === "st");
|
|
2146
|
-
I && (
|
|
2146
|
+
I && (n.st = I.st);
|
|
2147
2147
|
const S = i.commonIndicator.find(({ key: e }) => e === "tFeaturelncomes");
|
|
2148
|
-
S && (
|
|
2148
|
+
S && (n.netProfitQueryDto = { ...S, netProfit: S.netProfit * 1e8 });
|
|
2149
2149
|
const g = i.commonIndicator.find(({ key: e }) => e === "priceLevels");
|
|
2150
|
-
g && (
|
|
2150
|
+
g && (n.priceLevels = g.priceLevels);
|
|
2151
2151
|
const P = i.commonIndicator.find(({ key: e }) => e === "peTtmLevels");
|
|
2152
|
-
P && (
|
|
2152
|
+
P && (n.peTtmLevels = P.peTtmLevels);
|
|
2153
2153
|
const c = {};
|
|
2154
2154
|
i.commonIndicator.forEach((e) => {
|
|
2155
2155
|
const { key: G } = e;
|
|
@@ -2185,16 +2185,16 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2185
2185
|
["", null].includes(e.range[0]) || (c.minOptionGear = e.range[0]), ["", null].includes(e.range[1]) || (c.maxOptionGear = e.range[1]);
|
|
2186
2186
|
break;
|
|
2187
2187
|
}
|
|
2188
|
-
}), Object.keys(c).length && (
|
|
2189
|
-
...
|
|
2188
|
+
}), Object.keys(c).length && (n.searchOptionDto = {
|
|
2189
|
+
...n.searchOptionDto,
|
|
2190
2190
|
...c
|
|
2191
2191
|
});
|
|
2192
2192
|
}
|
|
2193
|
-
return console.log("%c[品种池搜索聚合组件]: 接口传参数据生成完毕", "color: green",
|
|
2193
|
+
return console.log("%c[品种池搜索聚合组件]: 接口传参数据生成完毕", "color: green", n), n;
|
|
2194
2194
|
},
|
|
2195
2195
|
// 重置函数
|
|
2196
2196
|
reset: () => {
|
|
2197
|
-
|
|
2197
|
+
a.value = {
|
|
2198
2198
|
// 品种市场
|
|
2199
2199
|
varietyMarket: null,
|
|
2200
2200
|
// 常用选项
|
|
@@ -2218,24 +2218,24 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2218
2218
|
commonIndicator: []
|
|
2219
2219
|
};
|
|
2220
2220
|
}
|
|
2221
|
-
}), (i,
|
|
2221
|
+
}), (i, n) => {
|
|
2222
2222
|
var $, h, I, S, g, P;
|
|
2223
|
-
const C = ke,
|
|
2224
|
-
return
|
|
2225
|
-
($ = b.value.varietyMarket) != null && $.show ? (
|
|
2226
|
-
|
|
2223
|
+
const C = ke, r = _e, l = Xe, k = el, O = ce, _ = de;
|
|
2224
|
+
return s(), f("div", ft, [
|
|
2225
|
+
($ = b.value.varietyMarket) != null && $.show ? (s(), f("div", mt, [
|
|
2226
|
+
m("div", yt, [
|
|
2227
2227
|
gt,
|
|
2228
|
-
|
|
2229
|
-
onClick:
|
|
2228
|
+
m("span", {
|
|
2229
|
+
onClick: n[0] || (n[0] = (c) => M("varietyMarket"))
|
|
2230
2230
|
}, "不限")
|
|
2231
2231
|
]),
|
|
2232
|
-
o(
|
|
2233
|
-
modelValue:
|
|
2234
|
-
"onUpdate:modelValue":
|
|
2232
|
+
o(r, {
|
|
2233
|
+
modelValue: a.value.varietyMarket,
|
|
2234
|
+
"onUpdate:modelValue": n[1] || (n[1] = (c) => a.value.varietyMarket = c),
|
|
2235
2235
|
size: "small"
|
|
2236
2236
|
}, {
|
|
2237
2237
|
default: d(() => [
|
|
2238
|
-
(
|
|
2238
|
+
(s(!0), f(U, null, j(R.value, ({ label: c, value: e }) => (s(), q(C, {
|
|
2239
2239
|
label: c,
|
|
2240
2240
|
value: e,
|
|
2241
2241
|
key: e
|
|
@@ -2244,20 +2244,20 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2244
2244
|
_: 1
|
|
2245
2245
|
}, 8, ["modelValue"])
|
|
2246
2246
|
])) : z("", !0),
|
|
2247
|
-
(h = b.value.commonOption) != null && h.show &&
|
|
2248
|
-
|
|
2247
|
+
(h = b.value.commonOption) != null && h.show && u.value.length ? (s(), f("div", bt, [
|
|
2248
|
+
m("div", kt, [
|
|
2249
2249
|
_t,
|
|
2250
|
-
|
|
2251
|
-
onClick:
|
|
2250
|
+
m("span", {
|
|
2251
|
+
onClick: n[2] || (n[2] = (c) => M("commonOption"))
|
|
2252
2252
|
}, "不限")
|
|
2253
2253
|
]),
|
|
2254
2254
|
o(k, {
|
|
2255
|
-
modelValue:
|
|
2256
|
-
"onUpdate:modelValue":
|
|
2255
|
+
modelValue: a.value.commonOption,
|
|
2256
|
+
"onUpdate:modelValue": n[3] || (n[3] = (c) => a.value.commonOption = c),
|
|
2257
2257
|
size: "small"
|
|
2258
2258
|
}, {
|
|
2259
2259
|
default: d(() => [
|
|
2260
|
-
(
|
|
2260
|
+
(s(!0), f(U, null, j(u.value, ({ label: c, value: e }) => (s(), q(l, {
|
|
2261
2261
|
label: c,
|
|
2262
2262
|
value: e,
|
|
2263
2263
|
key: e
|
|
@@ -2266,20 +2266,20 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2266
2266
|
_: 1
|
|
2267
2267
|
}, 8, ["modelValue"])
|
|
2268
2268
|
])) : z("", !0),
|
|
2269
|
-
(I = b.value.marketIds) != null && I.show && t.value.length ? (
|
|
2270
|
-
|
|
2269
|
+
(I = b.value.marketIds) != null && I.show && t.value.length ? (s(), f("div", ht, [
|
|
2270
|
+
m("div", Vt, [
|
|
2271
2271
|
xt,
|
|
2272
|
-
|
|
2273
|
-
onClick:
|
|
2272
|
+
m("span", {
|
|
2273
|
+
onClick: n[4] || (n[4] = (c) => M("marketIds"))
|
|
2274
2274
|
}, "不限")
|
|
2275
2275
|
]),
|
|
2276
2276
|
o(k, {
|
|
2277
|
-
modelValue:
|
|
2278
|
-
"onUpdate:modelValue":
|
|
2277
|
+
modelValue: a.value.marketIds,
|
|
2278
|
+
"onUpdate:modelValue": n[5] || (n[5] = (c) => a.value.marketIds = c),
|
|
2279
2279
|
size: "small"
|
|
2280
2280
|
}, {
|
|
2281
2281
|
default: d(() => [
|
|
2282
|
-
(
|
|
2282
|
+
(s(!0), f(U, null, j(t.value, ({ label: c, value: e }) => (s(), q(l, {
|
|
2283
2283
|
label: c,
|
|
2284
2284
|
value: e,
|
|
2285
2285
|
key: e
|
|
@@ -2288,20 +2288,20 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2288
2288
|
_: 1
|
|
2289
2289
|
}, 8, ["modelValue"])
|
|
2290
2290
|
])) : z("", !0),
|
|
2291
|
-
(S = b.value.customTag) != null && S.show && E.value.length ? (
|
|
2292
|
-
|
|
2291
|
+
(S = b.value.customTag) != null && S.show && E.value.length ? (s(), f("div", Ot, [
|
|
2292
|
+
m("div", It, [
|
|
2293
2293
|
$t,
|
|
2294
|
-
|
|
2295
|
-
onClick:
|
|
2294
|
+
m("span", {
|
|
2295
|
+
onClick: n[6] || (n[6] = (c) => M("customTag"))
|
|
2296
2296
|
}, "不限")
|
|
2297
2297
|
]),
|
|
2298
2298
|
o(k, {
|
|
2299
|
-
modelValue:
|
|
2300
|
-
"onUpdate:modelValue":
|
|
2299
|
+
modelValue: a.value.customTag,
|
|
2300
|
+
"onUpdate:modelValue": n[7] || (n[7] = (c) => a.value.customTag = c),
|
|
2301
2301
|
size: "small"
|
|
2302
2302
|
}, {
|
|
2303
2303
|
default: d(() => [
|
|
2304
|
-
(
|
|
2304
|
+
(s(!0), f(U, null, j(E.value, ({ label: c, value: e }) => (s(), q(l, {
|
|
2305
2305
|
label: c,
|
|
2306
2306
|
value: e,
|
|
2307
2307
|
key: e
|
|
@@ -2310,16 +2310,16 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2310
2310
|
_: 1
|
|
2311
2311
|
}, 8, ["modelValue"])
|
|
2312
2312
|
])) : z("", !0),
|
|
2313
|
-
(g = b.value.jcTranslate) != null && g.show ? (
|
|
2314
|
-
|
|
2313
|
+
(g = b.value.jcTranslate) != null && g.show ? (s(), f("div", wt, [
|
|
2314
|
+
m("div", Tt, [
|
|
2315
2315
|
Ct,
|
|
2316
|
-
|
|
2317
|
-
onClick:
|
|
2316
|
+
m("span", {
|
|
2317
|
+
onClick: n[8] || (n[8] = (c) => M("jcTranslate"))
|
|
2318
2318
|
}, "不限")
|
|
2319
2319
|
]),
|
|
2320
|
-
o(
|
|
2321
|
-
modelValue:
|
|
2322
|
-
"onUpdate:modelValue":
|
|
2320
|
+
o(r, {
|
|
2321
|
+
modelValue: a.value.jcTranslate.type,
|
|
2322
|
+
"onUpdate:modelValue": n[9] || (n[9] = (c) => a.value.jcTranslate.type = c),
|
|
2323
2323
|
size: "small"
|
|
2324
2324
|
}, {
|
|
2325
2325
|
default: d(() => [
|
|
@@ -2339,8 +2339,8 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2339
2339
|
_: 1
|
|
2340
2340
|
}, 8, ["modelValue"]),
|
|
2341
2341
|
pe(o(_, {
|
|
2342
|
-
modelValue:
|
|
2343
|
-
"onUpdate:modelValue":
|
|
2342
|
+
modelValue: a.value.jcTranslate.jcList,
|
|
2343
|
+
"onUpdate:modelValue": n[10] || (n[10] = (c) => a.value.jcTranslate.jcList = c),
|
|
2344
2344
|
size: "small",
|
|
2345
2345
|
multiple: "",
|
|
2346
2346
|
"collapse-tags": "",
|
|
@@ -2349,7 +2349,7 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2349
2349
|
style: { width: "140px" }
|
|
2350
2350
|
}, {
|
|
2351
2351
|
default: d(() => [
|
|
2352
|
-
(
|
|
2352
|
+
(s(!0), f(U, null, j(L.value, (c) => (s(), q(O, {
|
|
2353
2353
|
key: c.value,
|
|
2354
2354
|
label: c.label,
|
|
2355
2355
|
value: c.value
|
|
@@ -2357,37 +2357,37 @@ const H = (p) => (me("data-v-c41b2140"), p = p(), fe(), p), mt = { class: "varie
|
|
|
2357
2357
|
]),
|
|
2358
2358
|
_: 1
|
|
2359
2359
|
}, 8, ["modelValue"]), [
|
|
2360
|
-
[
|
|
2360
|
+
[rl, a.value.jcTranslate.type === 1]
|
|
2361
2361
|
])
|
|
2362
2362
|
])) : z("", !0),
|
|
2363
|
-
(P = b.value.factorScreen) != null && P.show ? (
|
|
2364
|
-
|
|
2363
|
+
(P = b.value.factorScreen) != null && P.show ? (s(), f("div", St, [
|
|
2364
|
+
m("div", Ut, [
|
|
2365
2365
|
Et,
|
|
2366
|
-
|
|
2367
|
-
onClick:
|
|
2366
|
+
m("span", {
|
|
2367
|
+
onClick: n[11] || (n[11] = (c) => M("factorScreen"))
|
|
2368
2368
|
}, "不限")
|
|
2369
2369
|
]),
|
|
2370
2370
|
o(Nl, {
|
|
2371
|
-
data:
|
|
2372
|
-
"onUpdate:data":
|
|
2371
|
+
data: a.value.factorScreen,
|
|
2372
|
+
"onUpdate:data": n[12] || (n[12] = (c) => a.value.factorScreen = c),
|
|
2373
2373
|
config: b.value.factorScreen
|
|
2374
2374
|
}, null, 8, ["data", "config"])
|
|
2375
2375
|
])) : z("", !0),
|
|
2376
2376
|
o(vt, {
|
|
2377
|
-
data:
|
|
2378
|
-
"onUpdate:data":
|
|
2379
|
-
varietyMarket:
|
|
2380
|
-
commonOption:
|
|
2377
|
+
data: a.value.commonIndicator,
|
|
2378
|
+
"onUpdate:data": n[13] || (n[13] = (c) => a.value.commonIndicator = c),
|
|
2379
|
+
varietyMarket: a.value.varietyMarket,
|
|
2380
|
+
commonOption: a.value.commonOption,
|
|
2381
2381
|
config: b.value.commonIndicator
|
|
2382
2382
|
}, null, 8, ["data", "varietyMarket", "commonOption", "config"])
|
|
2383
2383
|
]);
|
|
2384
2384
|
};
|
|
2385
2385
|
}
|
|
2386
|
-
}, qt = /* @__PURE__ */ ge(Rt, [["__scopeId", "data-v-c41b2140"]]),
|
|
2386
|
+
}, qt = /* @__PURE__ */ ge(Rt, [["__scopeId", "data-v-c41b2140"]]), dn = {
|
|
2387
2387
|
install(p) {
|
|
2388
2388
|
p.component("st-varietySearch", qt);
|
|
2389
2389
|
}
|
|
2390
2390
|
};
|
|
2391
2391
|
export {
|
|
2392
|
-
|
|
2392
|
+
dn as default
|
|
2393
2393
|
};
|