st-comp 0.0.103 → 0.0.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +174 -146
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +975 -789
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +122 -122
- package/lib/{index-03c4eb8b.js → index-38c2d1b4.js} +7234 -7020
- package/lib/{python-d247bec1.js → python-3ba5a0ac.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/FactorWarning/index.vue +62 -30
- package/packages/VarietySearch/components/FactorScreen/index.vue +222 -75
- package/packages/VarietySearch/index.vue +50 -21
- package/src/pages/FactorWarning/index.vue +5 -749
- package/src/pages/VarietySearch/index.vue +4 -4
package/es/VarietySearch.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import { b as Ke, c as
|
|
3
|
-
import { b as et, c as tt, E as
|
|
4
|
-
import { defineComponent as
|
|
5
|
-
import { E as
|
|
1
|
+
import { b as de, d as le, u as Se, m as K, o as he, _ as pe, w as Me, y as xe, q as Ue, c as Qe, i as Oe, z as ue, A as Je, l as We, n as Ie, B as Ze } from "./base-a3fcf99a.js";
|
|
2
|
+
import { b as Ke, c as Ee, e as fe, a as me, d as Xe } from "./el-radio-group-12b07ac2.js";
|
|
3
|
+
import { b as et, c as tt, E as lt, a as nt } from "./el-table-column-661deade.js";
|
|
4
|
+
import { defineComponent as Z, computed as j, openBlock as s, createElementBlock as k, normalizeClass as Q, unref as I, renderSlot as ne, createVNode as u, Transition as qe, withCtx as f, withDirectives as De, createElementVNode as x, normalizeStyle as ve, createTextVNode as z, toDisplayString as A, vShow as Le, ref as Y, useAttrs as at, onMounted as Fe, onUpdated as ot, createBlock as C, resolveDynamicComponent as ze, shallowReactive as st, watch as ae, createCommentVNode as q, Fragment as T, withModifiers as rt, isVNode as Ne, render as Ve, mergeModels as oe, useModel as se, renderList as F, pushScopeId as ge, popScopeId as ye, createSlots as $e } from "vue";
|
|
5
|
+
import { E as be } from "./el-overlay-851ea246.js";
|
|
6
6
|
import { E as Re } from "./el-input-35c8ebc3.js";
|
|
7
7
|
import "./el-tag-7601f7e6.js";
|
|
8
8
|
import { b as Pe, E as Be, a as je } from "./el-select-d1a33fbe.js";
|
|
9
|
-
import { a as
|
|
9
|
+
import { a as it, u as ut } from "./el-scrollbar-c23060d5.js";
|
|
10
10
|
import { E as ct } from "./el-popper-e052fb84.js";
|
|
11
11
|
import "./el-tooltip-4ed993c7.js";
|
|
12
12
|
import { E as Ae } from "./el-button-fe99fee6.js";
|
|
13
|
-
import { c as dt, j as pt, i as
|
|
14
|
-
import { _ as
|
|
13
|
+
import { c as dt, j as pt, i as ft, T as we, E as ce, l as mt, p as ie, n as vt, o as gt } from "./use-form-common-props-d0739feb.js";
|
|
14
|
+
import { _ as ke } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
15
|
import { m as yt } from "./typescript-7ae59c4c.js";
|
|
16
16
|
import { a as bt } from "./index-28cd5fde.js";
|
|
17
|
-
import { E as
|
|
18
|
-
import { m as
|
|
17
|
+
import { E as kt } from "./index-af687c16.js";
|
|
18
|
+
import { m as G } from "./config-provider-e4ebacca.js";
|
|
19
19
|
import "./event-09e37cc8.js";
|
|
20
20
|
import "./castArray-0e8e51f9.js";
|
|
21
21
|
import "./debounce-7f3a3471.js";
|
|
@@ -25,7 +25,7 @@ import "./refs-f0ee592c.js";
|
|
|
25
25
|
import "./scroll-1e0c8fab.js";
|
|
26
26
|
import "./index-b4bbc58d.js";
|
|
27
27
|
import "./index-657047bb.js";
|
|
28
|
-
const
|
|
28
|
+
const _t = de({
|
|
29
29
|
value: {
|
|
30
30
|
type: [String, Number],
|
|
31
31
|
default: ""
|
|
@@ -47,59 +47,59 @@ const kt = ce({
|
|
|
47
47
|
},
|
|
48
48
|
color: String,
|
|
49
49
|
badgeStyle: {
|
|
50
|
-
type:
|
|
50
|
+
type: le([String, Object, Array])
|
|
51
51
|
},
|
|
52
52
|
offset: {
|
|
53
|
-
type:
|
|
53
|
+
type: le(Array),
|
|
54
54
|
default: [0, 0]
|
|
55
55
|
},
|
|
56
56
|
badgeClass: {
|
|
57
57
|
type: String
|
|
58
58
|
}
|
|
59
|
-
}), ht =
|
|
59
|
+
}), ht = Z({
|
|
60
60
|
name: "ElBadge"
|
|
61
|
-
}), xt = /* @__PURE__ */
|
|
61
|
+
}), xt = /* @__PURE__ */ Z({
|
|
62
62
|
...ht,
|
|
63
|
-
props:
|
|
64
|
-
setup(
|
|
65
|
-
const n =
|
|
66
|
-
var
|
|
63
|
+
props: _t,
|
|
64
|
+
setup(r, { expose: c }) {
|
|
65
|
+
const n = r, i = Se("badge"), d = j(() => n.isDot ? "" : K(n.value) && K(n.max) ? n.max < n.value ? `${n.max}+` : `${n.value}` : `${n.value}`), O = j(() => {
|
|
66
|
+
var e, E, D, L, v;
|
|
67
67
|
return [
|
|
68
68
|
{
|
|
69
69
|
backgroundColor: n.color,
|
|
70
|
-
marginRight:
|
|
71
|
-
marginTop:
|
|
70
|
+
marginRight: he(-((E = (e = n.offset) == null ? void 0 : e[0]) != null ? E : 0)),
|
|
71
|
+
marginTop: he((L = (D = n.offset) == null ? void 0 : D[1]) != null ? L : 0)
|
|
72
72
|
},
|
|
73
|
-
(
|
|
73
|
+
(v = n.badgeStyle) != null ? v : {}
|
|
74
74
|
];
|
|
75
75
|
});
|
|
76
76
|
return c({
|
|
77
|
-
content:
|
|
78
|
-
}), (
|
|
79
|
-
class:
|
|
77
|
+
content: d
|
|
78
|
+
}), (e, E) => (s(), k("div", {
|
|
79
|
+
class: Q(I(i).b())
|
|
80
80
|
}, [
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
name: `${
|
|
81
|
+
ne(e.$slots, "default"),
|
|
82
|
+
u(qe, {
|
|
83
|
+
name: `${I(i).namespace.value}-zoom-in-center`,
|
|
84
84
|
persisted: ""
|
|
85
85
|
}, {
|
|
86
|
-
default:
|
|
87
|
-
De(
|
|
88
|
-
class:
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
86
|
+
default: f(() => [
|
|
87
|
+
De(x("sup", {
|
|
88
|
+
class: Q([
|
|
89
|
+
I(i).e("content"),
|
|
90
|
+
I(i).em("content", e.type),
|
|
91
|
+
I(i).is("fixed", !!e.$slots.default),
|
|
92
|
+
I(i).is("dot", e.isDot),
|
|
93
|
+
I(i).is("hide-zero", !e.showZero && n.value === 0),
|
|
94
|
+
e.badgeClass
|
|
95
95
|
]),
|
|
96
|
-
style: ve(O
|
|
96
|
+
style: ve(I(O))
|
|
97
97
|
}, [
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
ne(e.$slots, "content", { value: I(d) }, () => [
|
|
99
|
+
z(A(I(d)), 1)
|
|
100
100
|
])
|
|
101
101
|
], 6), [
|
|
102
|
-
[Le, !
|
|
102
|
+
[Le, !e.hidden && (I(d) || e.isDot || e.$slots.content)]
|
|
103
103
|
])
|
|
104
104
|
]),
|
|
105
105
|
_: 3
|
|
@@ -107,8 +107,8 @@ const kt = ce({
|
|
|
107
107
|
], 2));
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
var Ot = /* @__PURE__ */
|
|
111
|
-
const It = Me(Ot),
|
|
110
|
+
var Ot = /* @__PURE__ */ pe(xt, [["__file", "badge.vue"]]);
|
|
111
|
+
const It = Me(Ot), Vt = de({
|
|
112
112
|
type: {
|
|
113
113
|
type: String,
|
|
114
114
|
values: ["primary", "success", "info", "warning", "danger", ""],
|
|
@@ -127,48 +127,48 @@ const It = Me(Ot), $t = ce({
|
|
|
127
127
|
type: String,
|
|
128
128
|
default: "span"
|
|
129
129
|
}
|
|
130
|
-
}),
|
|
130
|
+
}), $t = Z({
|
|
131
131
|
name: "ElText"
|
|
132
|
-
}),
|
|
133
|
-
|
|
134
|
-
props:
|
|
135
|
-
setup(
|
|
136
|
-
const c =
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
]),
|
|
143
|
-
var
|
|
144
|
-
if (
|
|
132
|
+
}), wt = /* @__PURE__ */ Z({
|
|
133
|
+
...$t,
|
|
134
|
+
props: Vt,
|
|
135
|
+
setup(r) {
|
|
136
|
+
const c = r, n = Y(), i = pt(), d = Se("text"), O = j(() => [
|
|
137
|
+
d.b(),
|
|
138
|
+
d.m(c.type),
|
|
139
|
+
d.m(i.value),
|
|
140
|
+
d.is("truncated", c.truncated),
|
|
141
|
+
d.is("line-clamp", !xe(c.lineClamp))
|
|
142
|
+
]), e = at().title, E = () => {
|
|
143
|
+
var D, L, v, p, S;
|
|
144
|
+
if (e)
|
|
145
145
|
return;
|
|
146
|
-
let
|
|
147
|
-
const l = ((
|
|
146
|
+
let g = !1;
|
|
147
|
+
const l = ((D = n.value) == null ? void 0 : D.textContent) || "";
|
|
148
148
|
if (c.truncated) {
|
|
149
|
-
const o = (
|
|
150
|
-
o &&
|
|
151
|
-
} else if (!
|
|
152
|
-
const o = (
|
|
153
|
-
o &&
|
|
149
|
+
const o = (L = n.value) == null ? void 0 : L.offsetWidth, _ = (v = n.value) == null ? void 0 : v.scrollWidth;
|
|
150
|
+
o && _ && _ > o && (g = !0);
|
|
151
|
+
} else if (!xe(c.lineClamp)) {
|
|
152
|
+
const o = (p = n.value) == null ? void 0 : p.offsetHeight, _ = (S = n.value) == null ? void 0 : S.scrollHeight;
|
|
153
|
+
o && _ && _ > o && (g = !0);
|
|
154
154
|
}
|
|
155
|
-
|
|
155
|
+
g ? n.value.setAttribute("title", l) : n.value.removeAttribute("title");
|
|
156
156
|
};
|
|
157
|
-
return Fe(
|
|
157
|
+
return Fe(E), ot(E), (D, L) => (s(), C(ze(D.tag), {
|
|
158
158
|
ref_key: "textRef",
|
|
159
159
|
ref: n,
|
|
160
|
-
class:
|
|
161
|
-
style: ve({ "-webkit-line-clamp":
|
|
160
|
+
class: Q(I(O)),
|
|
161
|
+
style: ve({ "-webkit-line-clamp": D.lineClamp })
|
|
162
162
|
}, {
|
|
163
|
-
default:
|
|
164
|
-
|
|
163
|
+
default: f(() => [
|
|
164
|
+
ne(D.$slots, "default")
|
|
165
165
|
]),
|
|
166
166
|
_: 3
|
|
167
167
|
}, 8, ["class", "style"]));
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
|
-
var
|
|
171
|
-
const Tt = Me(
|
|
170
|
+
var Ct = /* @__PURE__ */ pe(wt, [["__file", "text.vue"]]);
|
|
171
|
+
const Tt = Me(Ct), Ye = ["success", "info", "warning", "error"], B = yt({
|
|
172
172
|
customClass: "",
|
|
173
173
|
center: !1,
|
|
174
174
|
dangerouslyUseHTMLString: !1,
|
|
@@ -184,271 +184,271 @@ const Tt = Me(wt), Ye = ["success", "info", "warning", "error"], N = yt({
|
|
|
184
184
|
zIndex: 0,
|
|
185
185
|
grouping: !1,
|
|
186
186
|
repeatNum: 1,
|
|
187
|
-
appendTo:
|
|
188
|
-
}), St =
|
|
187
|
+
appendTo: Ue ? document.body : void 0
|
|
188
|
+
}), St = de({
|
|
189
189
|
customClass: {
|
|
190
190
|
type: String,
|
|
191
|
-
default:
|
|
191
|
+
default: B.customClass
|
|
192
192
|
},
|
|
193
193
|
center: {
|
|
194
194
|
type: Boolean,
|
|
195
|
-
default:
|
|
195
|
+
default: B.center
|
|
196
196
|
},
|
|
197
197
|
dangerouslyUseHTMLString: {
|
|
198
198
|
type: Boolean,
|
|
199
|
-
default:
|
|
199
|
+
default: B.dangerouslyUseHTMLString
|
|
200
200
|
},
|
|
201
201
|
duration: {
|
|
202
202
|
type: Number,
|
|
203
|
-
default:
|
|
203
|
+
default: B.duration
|
|
204
204
|
},
|
|
205
205
|
icon: {
|
|
206
|
-
type:
|
|
207
|
-
default:
|
|
206
|
+
type: ft,
|
|
207
|
+
default: B.icon
|
|
208
208
|
},
|
|
209
209
|
id: {
|
|
210
210
|
type: String,
|
|
211
|
-
default:
|
|
211
|
+
default: B.id
|
|
212
212
|
},
|
|
213
213
|
message: {
|
|
214
|
-
type:
|
|
214
|
+
type: le([
|
|
215
215
|
String,
|
|
216
216
|
Object,
|
|
217
217
|
Function
|
|
218
218
|
]),
|
|
219
|
-
default:
|
|
219
|
+
default: B.message
|
|
220
220
|
},
|
|
221
221
|
onClose: {
|
|
222
|
-
type:
|
|
223
|
-
default:
|
|
222
|
+
type: le(Function),
|
|
223
|
+
default: B.onClose
|
|
224
224
|
},
|
|
225
225
|
showClose: {
|
|
226
226
|
type: Boolean,
|
|
227
|
-
default:
|
|
227
|
+
default: B.showClose
|
|
228
228
|
},
|
|
229
229
|
type: {
|
|
230
230
|
type: String,
|
|
231
231
|
values: Ye,
|
|
232
|
-
default:
|
|
232
|
+
default: B.type
|
|
233
233
|
},
|
|
234
234
|
plain: {
|
|
235
235
|
type: Boolean,
|
|
236
|
-
default:
|
|
236
|
+
default: B.plain
|
|
237
237
|
},
|
|
238
238
|
offset: {
|
|
239
239
|
type: Number,
|
|
240
|
-
default:
|
|
240
|
+
default: B.offset
|
|
241
241
|
},
|
|
242
242
|
zIndex: {
|
|
243
243
|
type: Number,
|
|
244
|
-
default:
|
|
244
|
+
default: B.zIndex
|
|
245
245
|
},
|
|
246
246
|
grouping: {
|
|
247
247
|
type: Boolean,
|
|
248
|
-
default:
|
|
248
|
+
default: B.grouping
|
|
249
249
|
},
|
|
250
250
|
repeatNum: {
|
|
251
251
|
type: Number,
|
|
252
|
-
default:
|
|
252
|
+
default: B.repeatNum
|
|
253
253
|
}
|
|
254
254
|
}), Mt = {
|
|
255
255
|
destroy: () => !0
|
|
256
|
-
},
|
|
257
|
-
const c =
|
|
258
|
-
let
|
|
259
|
-
return c > 0 && (
|
|
260
|
-
},
|
|
261
|
-
const { prev: c } =
|
|
256
|
+
}, H = st([]), Ut = (r) => {
|
|
257
|
+
const c = H.findIndex((d) => d.id === r), n = H[c];
|
|
258
|
+
let i;
|
|
259
|
+
return c > 0 && (i = H[c - 1]), { current: n, prev: i };
|
|
260
|
+
}, Et = (r) => {
|
|
261
|
+
const { prev: c } = Ut(r);
|
|
262
262
|
return c ? c.vm.exposed.bottom.value : 0;
|
|
263
|
-
}, qt = (
|
|
263
|
+
}, qt = (r, c) => H.findIndex((i) => i.id === r) > 0 ? 16 : c, Dt = Z({
|
|
264
264
|
name: "ElMessage"
|
|
265
|
-
}), Lt = /* @__PURE__ */
|
|
265
|
+
}), Lt = /* @__PURE__ */ Z({
|
|
266
266
|
...Dt,
|
|
267
267
|
props: St,
|
|
268
268
|
emits: Mt,
|
|
269
|
-
setup(
|
|
270
|
-
const n =
|
|
271
|
-
let
|
|
272
|
-
const
|
|
269
|
+
setup(r, { expose: c }) {
|
|
270
|
+
const n = r, { Close: i } = mt, { ns: d, zIndex: O } = bt("message"), { currentZIndex: e, nextZIndex: E } = O, D = Y(), L = Y(!1), v = Y(0);
|
|
271
|
+
let p;
|
|
272
|
+
const S = j(() => n.type ? n.type === "error" ? "danger" : n.type : "info"), g = j(() => {
|
|
273
273
|
const m = n.type;
|
|
274
|
-
return { [
|
|
275
|
-
}), l =
|
|
276
|
-
top: `${
|
|
277
|
-
zIndex:
|
|
274
|
+
return { [d.bm("icon", m)]: m && we[m] };
|
|
275
|
+
}), l = j(() => n.icon || we[n.type] || ""), o = j(() => Et(n.id)), _ = j(() => qt(n.id, n.offset) + o.value), h = j(() => v.value + _.value), y = j(() => ({
|
|
276
|
+
top: `${_.value}px`,
|
|
277
|
+
zIndex: e.value
|
|
278
278
|
}));
|
|
279
|
-
function
|
|
280
|
-
n.duration !== 0 && ({ stop:
|
|
281
|
-
|
|
279
|
+
function M() {
|
|
280
|
+
n.duration !== 0 && ({ stop: p } = Qe(() => {
|
|
281
|
+
a();
|
|
282
282
|
}, n.duration));
|
|
283
283
|
}
|
|
284
|
-
function
|
|
285
|
-
|
|
284
|
+
function w() {
|
|
285
|
+
p == null || p();
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
|
|
287
|
+
function a() {
|
|
288
|
+
L.value = !1;
|
|
289
289
|
}
|
|
290
290
|
function $({ code: m }) {
|
|
291
|
-
m ===
|
|
291
|
+
m === kt.esc && a();
|
|
292
292
|
}
|
|
293
293
|
return Fe(() => {
|
|
294
|
-
|
|
295
|
-
}),
|
|
296
|
-
|
|
297
|
-
}),
|
|
298
|
-
|
|
294
|
+
M(), E(), L.value = !0;
|
|
295
|
+
}), ae(() => n.repeatNum, () => {
|
|
296
|
+
w(), M();
|
|
297
|
+
}), it(document, "keydown", $), ut(D, () => {
|
|
298
|
+
v.value = D.value.getBoundingClientRect().height;
|
|
299
299
|
}), c({
|
|
300
|
-
visible:
|
|
301
|
-
bottom:
|
|
302
|
-
close:
|
|
303
|
-
}), (m,
|
|
304
|
-
name:
|
|
300
|
+
visible: L,
|
|
301
|
+
bottom: h,
|
|
302
|
+
close: a
|
|
303
|
+
}), (m, t) => (s(), C(qe, {
|
|
304
|
+
name: I(d).b("fade"),
|
|
305
305
|
onBeforeLeave: m.onClose,
|
|
306
|
-
onAfterLeave: (
|
|
306
|
+
onAfterLeave: (R) => m.$emit("destroy"),
|
|
307
307
|
persisted: ""
|
|
308
308
|
}, {
|
|
309
|
-
default:
|
|
310
|
-
De(
|
|
309
|
+
default: f(() => [
|
|
310
|
+
De(x("div", {
|
|
311
311
|
id: m.id,
|
|
312
312
|
ref_key: "messageRef",
|
|
313
|
-
ref:
|
|
314
|
-
class:
|
|
315
|
-
|
|
316
|
-
{ [
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
313
|
+
ref: D,
|
|
314
|
+
class: Q([
|
|
315
|
+
I(d).b(),
|
|
316
|
+
{ [I(d).m(m.type)]: m.type },
|
|
317
|
+
I(d).is("center", m.center),
|
|
318
|
+
I(d).is("closable", m.showClose),
|
|
319
|
+
I(d).is("plain", m.plain),
|
|
320
320
|
m.customClass
|
|
321
321
|
]),
|
|
322
|
-
style: ve(
|
|
322
|
+
style: ve(I(y)),
|
|
323
323
|
role: "alert",
|
|
324
|
-
onMouseenter:
|
|
325
|
-
onMouseleave:
|
|
324
|
+
onMouseenter: w,
|
|
325
|
+
onMouseleave: M
|
|
326
326
|
}, [
|
|
327
|
-
m.repeatNum > 1 ? (
|
|
327
|
+
m.repeatNum > 1 ? (s(), C(I(It), {
|
|
328
328
|
key: 0,
|
|
329
329
|
value: m.repeatNum,
|
|
330
|
-
type:
|
|
331
|
-
class:
|
|
330
|
+
type: I(S),
|
|
331
|
+
class: Q(I(d).e("badge"))
|
|
332
332
|
}, null, 8, ["value", "type", "class"])) : q("v-if", !0),
|
|
333
|
-
|
|
333
|
+
I(l) ? (s(), C(I(ce), {
|
|
334
334
|
key: 1,
|
|
335
|
-
class:
|
|
335
|
+
class: Q([I(d).e("icon"), I(g)])
|
|
336
336
|
}, {
|
|
337
|
-
default:
|
|
338
|
-
(
|
|
337
|
+
default: f(() => [
|
|
338
|
+
(s(), C(ze(I(l))))
|
|
339
339
|
]),
|
|
340
340
|
_: 1
|
|
341
341
|
}, 8, ["class"])) : q("v-if", !0),
|
|
342
|
-
|
|
343
|
-
m.dangerouslyUseHTMLString ? (
|
|
342
|
+
ne(m.$slots, "default", {}, () => [
|
|
343
|
+
m.dangerouslyUseHTMLString ? (s(), k(T, { key: 1 }, [
|
|
344
344
|
q(" Caution here, message could've been compromised, never use user's input as message "),
|
|
345
|
-
|
|
346
|
-
class:
|
|
345
|
+
x("p", {
|
|
346
|
+
class: Q(I(d).e("content")),
|
|
347
347
|
innerHTML: m.message
|
|
348
348
|
}, null, 10, ["innerHTML"])
|
|
349
|
-
], 2112)) : (
|
|
349
|
+
], 2112)) : (s(), k("p", {
|
|
350
350
|
key: 0,
|
|
351
|
-
class:
|
|
352
|
-
},
|
|
351
|
+
class: Q(I(d).e("content"))
|
|
352
|
+
}, A(m.message), 3))
|
|
353
353
|
]),
|
|
354
|
-
m.showClose ? (
|
|
354
|
+
m.showClose ? (s(), C(I(ce), {
|
|
355
355
|
key: 2,
|
|
356
|
-
class:
|
|
357
|
-
onClick:
|
|
356
|
+
class: Q(I(d).e("closeBtn")),
|
|
357
|
+
onClick: rt(a, ["stop"])
|
|
358
358
|
}, {
|
|
359
|
-
default:
|
|
360
|
-
|
|
359
|
+
default: f(() => [
|
|
360
|
+
u(I(i))
|
|
361
361
|
]),
|
|
362
362
|
_: 1
|
|
363
363
|
}, 8, ["class", "onClick"])) : q("v-if", !0)
|
|
364
364
|
], 46, ["id"]), [
|
|
365
|
-
[Le,
|
|
365
|
+
[Le, L.value]
|
|
366
366
|
])
|
|
367
367
|
]),
|
|
368
368
|
_: 3
|
|
369
369
|
}, 8, ["name", "onBeforeLeave", "onAfterLeave"]));
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
|
-
var Ft = /* @__PURE__ */
|
|
373
|
-
let
|
|
374
|
-
const He = (
|
|
375
|
-
const c = !
|
|
376
|
-
...
|
|
372
|
+
var Ft = /* @__PURE__ */ pe(Lt, [["__file", "message.vue"]]);
|
|
373
|
+
let zt = 1;
|
|
374
|
+
const He = (r) => {
|
|
375
|
+
const c = !r || Oe(r) || Ne(r) || ue(r) ? { message: r } : r, n = {
|
|
376
|
+
...B,
|
|
377
377
|
...c
|
|
378
378
|
};
|
|
379
379
|
if (!n.appendTo)
|
|
380
380
|
n.appendTo = document.body;
|
|
381
|
-
else if (
|
|
382
|
-
let
|
|
383
|
-
Je(
|
|
381
|
+
else if (Oe(n.appendTo)) {
|
|
382
|
+
let i = document.querySelector(n.appendTo);
|
|
383
|
+
Je(i) || (We("ElMessage", "the appendTo option is not an HTMLElement. Falling back to document.body."), i = document.body), n.appendTo = i;
|
|
384
384
|
}
|
|
385
|
-
return
|
|
386
|
-
},
|
|
387
|
-
const c =
|
|
385
|
+
return Ie(G.grouping) && !n.grouping && (n.grouping = G.grouping), K(G.duration) && n.duration === 3e3 && (n.duration = G.duration), K(G.offset) && n.offset === 16 && (n.offset = G.offset), Ie(G.showClose) && !n.showClose && (n.showClose = G.showClose), n;
|
|
386
|
+
}, Nt = (r) => {
|
|
387
|
+
const c = H.indexOf(r);
|
|
388
388
|
if (c === -1)
|
|
389
389
|
return;
|
|
390
|
-
|
|
391
|
-
const { handler: n } =
|
|
390
|
+
H.splice(c, 1);
|
|
391
|
+
const { handler: n } = r;
|
|
392
392
|
n.close();
|
|
393
|
-
}, Rt = ({ appendTo:
|
|
394
|
-
const
|
|
393
|
+
}, Rt = ({ appendTo: r, ...c }, n) => {
|
|
394
|
+
const i = `message_${zt++}`, d = c.onClose, O = document.createElement("div"), e = {
|
|
395
395
|
...c,
|
|
396
|
-
id:
|
|
396
|
+
id: i,
|
|
397
397
|
onClose: () => {
|
|
398
|
-
|
|
398
|
+
d == null || d(), Nt(v);
|
|
399
399
|
},
|
|
400
400
|
onDestroy: () => {
|
|
401
|
-
|
|
401
|
+
Ve(null, O);
|
|
402
402
|
}
|
|
403
|
-
},
|
|
404
|
-
default:
|
|
403
|
+
}, E = u(Ft, e, ue(e.message) || Ne(e.message) ? {
|
|
404
|
+
default: ue(e.message) ? e.message : () => e.message
|
|
405
405
|
} : null);
|
|
406
|
-
|
|
407
|
-
const
|
|
408
|
-
id:
|
|
409
|
-
vnode:
|
|
410
|
-
vm:
|
|
406
|
+
E.appContext = n || W._context, Ve(E, O), r.appendChild(O.firstElementChild);
|
|
407
|
+
const D = E.component, v = {
|
|
408
|
+
id: i,
|
|
409
|
+
vnode: E,
|
|
410
|
+
vm: D,
|
|
411
411
|
handler: {
|
|
412
412
|
close: () => {
|
|
413
|
-
|
|
413
|
+
D.exposed.visible.value = !1;
|
|
414
414
|
}
|
|
415
415
|
},
|
|
416
|
-
props:
|
|
416
|
+
props: E.component.props
|
|
417
417
|
};
|
|
418
|
-
return
|
|
419
|
-
},
|
|
420
|
-
if (!
|
|
418
|
+
return v;
|
|
419
|
+
}, W = (r = {}, c) => {
|
|
420
|
+
if (!Ue)
|
|
421
421
|
return { close: () => {
|
|
422
422
|
} };
|
|
423
|
-
const n = He(
|
|
424
|
-
if (n.grouping &&
|
|
425
|
-
const
|
|
426
|
-
var
|
|
427
|
-
return ((
|
|
423
|
+
const n = He(r);
|
|
424
|
+
if (n.grouping && H.length) {
|
|
425
|
+
const d = H.find(({ vnode: O }) => {
|
|
426
|
+
var e;
|
|
427
|
+
return ((e = O.props) == null ? void 0 : e.message) === n.message;
|
|
428
428
|
});
|
|
429
|
-
if (
|
|
430
|
-
return
|
|
429
|
+
if (d)
|
|
430
|
+
return d.props.repeatNum += 1, d.props.type = n.type, d.handler;
|
|
431
431
|
}
|
|
432
|
-
if (K(
|
|
432
|
+
if (K(G.max) && H.length >= G.max)
|
|
433
433
|
return { close: () => {
|
|
434
434
|
} };
|
|
435
|
-
const
|
|
436
|
-
return
|
|
435
|
+
const i = Rt(n, c);
|
|
436
|
+
return H.push(i), i.handler;
|
|
437
437
|
};
|
|
438
|
-
Ye.forEach((
|
|
439
|
-
|
|
440
|
-
const
|
|
441
|
-
return
|
|
438
|
+
Ye.forEach((r) => {
|
|
439
|
+
W[r] = (c = {}, n) => {
|
|
440
|
+
const i = He(c);
|
|
441
|
+
return W({ ...i, type: r }, n);
|
|
442
442
|
};
|
|
443
443
|
});
|
|
444
|
-
function Pt(
|
|
445
|
-
for (const c of
|
|
446
|
-
(!
|
|
444
|
+
function Pt(r) {
|
|
445
|
+
for (const c of H)
|
|
446
|
+
(!r || r === c.props.type) && c.handler.close();
|
|
447
447
|
}
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
const
|
|
451
|
-
const
|
|
448
|
+
W.closeAll = Pt;
|
|
449
|
+
W._context = null;
|
|
450
|
+
const J = Ze(W, "$message");
|
|
451
|
+
const Ce = {
|
|
452
452
|
// 品种市场 [选项: 前端默认]
|
|
453
453
|
varietyMarket: {
|
|
454
454
|
show: !0,
|
|
@@ -950,49 +950,49 @@ const we = {
|
|
|
950
950
|
]
|
|
951
951
|
}
|
|
952
952
|
};
|
|
953
|
-
const Bt = (
|
|
953
|
+
const Bt = (r, c, n) => {
|
|
954
954
|
!c[0] && c[0] !== 0 && !c[1] && c[1] !== 0 ? n(new Error("至少填写一个分数")) : n();
|
|
955
|
-
}, Te = (
|
|
955
|
+
}, Te = (r) => {
|
|
956
956
|
const c = /(条件(\d+))/g;
|
|
957
|
-
return
|
|
957
|
+
return r.match(c) || [];
|
|
958
958
|
}, jt = {
|
|
959
959
|
__name: "FactorDescription",
|
|
960
|
-
props: /* @__PURE__ */
|
|
960
|
+
props: /* @__PURE__ */ oe({
|
|
961
961
|
data: { type: Array, default: [] }
|
|
962
962
|
}, {
|
|
963
963
|
visible: { default: !1 },
|
|
964
964
|
visibleModifiers: {}
|
|
965
965
|
}),
|
|
966
966
|
emits: ["update:visible"],
|
|
967
|
-
setup(
|
|
968
|
-
const c = se(
|
|
969
|
-
return (n,
|
|
970
|
-
const
|
|
971
|
-
return
|
|
967
|
+
setup(r) {
|
|
968
|
+
const c = se(r, "visible");
|
|
969
|
+
return (n, i) => {
|
|
970
|
+
const d = et, O = tt, e = be;
|
|
971
|
+
return s(), C(e, {
|
|
972
972
|
modelValue: c.value,
|
|
973
|
-
"onUpdate:modelValue":
|
|
973
|
+
"onUpdate:modelValue": i[0] || (i[0] = (E) => c.value = E),
|
|
974
974
|
title: "因子使用说明",
|
|
975
975
|
width: "1000",
|
|
976
976
|
"align-center": "",
|
|
977
977
|
"destroy-on-close": ""
|
|
978
978
|
}, {
|
|
979
|
-
default:
|
|
980
|
-
|
|
981
|
-
data:
|
|
979
|
+
default: f(() => [
|
|
980
|
+
u(O, {
|
|
981
|
+
data: r.data,
|
|
982
982
|
border: "",
|
|
983
983
|
height: "500"
|
|
984
984
|
}, {
|
|
985
|
-
default:
|
|
986
|
-
|
|
985
|
+
default: f(() => [
|
|
986
|
+
u(d, {
|
|
987
987
|
prop: "factorName",
|
|
988
988
|
label: "因子名称",
|
|
989
989
|
width: "200"
|
|
990
990
|
}),
|
|
991
|
-
|
|
991
|
+
u(d, {
|
|
992
992
|
prop: "factorDesc",
|
|
993
993
|
label: "因子说明"
|
|
994
994
|
}),
|
|
995
|
-
|
|
995
|
+
u(d, {
|
|
996
996
|
prop: "factorScoreDefine",
|
|
997
997
|
label: "分值定义"
|
|
998
998
|
})
|
|
@@ -1005,9 +1005,9 @@ const Bt = (s, c, n) => {
|
|
|
1005
1005
|
};
|
|
1006
1006
|
}
|
|
1007
1007
|
};
|
|
1008
|
-
const Ge = (
|
|
1008
|
+
const Ge = (r) => (ge("data-v-3cac46e2"), r = r(), ye(), r), At = { class: "factor-screen" }, Yt = { class: "custom-header" }, Ht = ["id"], Gt = { class: "form-row" }, Qt = { class: "index" }, Jt = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Wt = /* @__PURE__ */ Ge(() => /* @__PURE__ */ x("span", null, "~", -1)), Zt = /* @__PURE__ */ Ge(() => /* @__PURE__ */ x("span", null, "&&代表and,||代表or", -1)), Kt = { class: "dialog-footer" }, Xt = {
|
|
1009
1009
|
__name: "index",
|
|
1010
|
-
props: /* @__PURE__ */
|
|
1010
|
+
props: /* @__PURE__ */ oe({
|
|
1011
1011
|
config: {
|
|
1012
1012
|
type: Object,
|
|
1013
1013
|
default: {
|
|
@@ -1036,8 +1036,8 @@ const Ge = (s) => (fe("data-v-adfec7fb"), s = s(), ge(), s), At = { class: "fact
|
|
|
1036
1036
|
dataModifiers: {}
|
|
1037
1037
|
}),
|
|
1038
1038
|
emits: ["update:data"],
|
|
1039
|
-
setup(
|
|
1040
|
-
const c =
|
|
1039
|
+
setup(r) {
|
|
1040
|
+
const c = r, n = se(r, "data"), i = Y(!1), d = Y(!1), O = Y(null), e = Y({
|
|
1041
1041
|
// 筛选因子列表
|
|
1042
1042
|
list: [
|
|
1043
1043
|
{
|
|
@@ -1053,53 +1053,78 @@ const Ge = (s) => (fe("data-v-adfec7fb"), s = s(), ge(), s), At = { class: "fact
|
|
|
1053
1053
|
sqlEnable: 0,
|
|
1054
1054
|
// SQL语句
|
|
1055
1055
|
sqlValue: null
|
|
1056
|
-
}),
|
|
1057
|
-
const { list: l, sqlEnable: o, sqlValue:
|
|
1058
|
-
|
|
1056
|
+
}), E = () => {
|
|
1057
|
+
const { list: l, sqlEnable: o, sqlValue: _ } = n.value;
|
|
1058
|
+
e.value = {
|
|
1059
1059
|
list: JSON.parse(JSON.stringify(l)),
|
|
1060
1060
|
sqlEnable: o,
|
|
1061
|
-
sqlValue:
|
|
1062
|
-
},
|
|
1063
|
-
},
|
|
1064
|
-
|
|
1065
|
-
const { list: o, sqlEnable:
|
|
1061
|
+
sqlValue: _
|
|
1062
|
+
}, e.value.list.length || v(), i.value = !0;
|
|
1063
|
+
}, D = () => {
|
|
1064
|
+
O.value.validate((l) => {
|
|
1065
|
+
const { list: o, sqlEnable: _, sqlValue: h } = e.value;
|
|
1066
1066
|
if (l) {
|
|
1067
|
-
if (
|
|
1068
|
-
if (!
|
|
1069
|
-
return
|
|
1070
|
-
const
|
|
1071
|
-
if (
|
|
1072
|
-
return
|
|
1067
|
+
if (_) {
|
|
1068
|
+
if (!h)
|
|
1069
|
+
return J.error("SQL语句不能为空");
|
|
1070
|
+
const y = Te(h), M = o.map((a, $) => `条件${$ + 1}`), w = y.filter((a) => !M.includes(a));
|
|
1071
|
+
if (w.length)
|
|
1072
|
+
return J.error(`请检查SQL语句, 不存在[${w}]`);
|
|
1073
1073
|
}
|
|
1074
1074
|
n.value = {
|
|
1075
1075
|
list: JSON.parse(JSON.stringify(o)),
|
|
1076
|
-
sqlEnable:
|
|
1077
|
-
sqlValue:
|
|
1078
|
-
},
|
|
1076
|
+
sqlEnable: _,
|
|
1077
|
+
sqlValue: h
|
|
1078
|
+
}, i.value = !1;
|
|
1079
1079
|
}
|
|
1080
1080
|
});
|
|
1081
|
-
},
|
|
1082
|
-
|
|
1083
|
-
},
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1081
|
+
}, L = (l) => {
|
|
1082
|
+
e.value.list.splice(l, 1);
|
|
1083
|
+
}, v = (l) => {
|
|
1084
|
+
switch (l) {
|
|
1085
|
+
case "compare": {
|
|
1086
|
+
e.value.list.push({
|
|
1087
|
+
key: "compare",
|
|
1088
|
+
cycle: c.config.cycleDefault ?? null,
|
|
1089
|
+
factor: null,
|
|
1090
|
+
compareType: ">",
|
|
1091
|
+
cycle2: c.config.cycleDefault ?? null,
|
|
1092
|
+
factor2: null
|
|
1093
|
+
});
|
|
1094
|
+
break;
|
|
1095
|
+
}
|
|
1096
|
+
default: {
|
|
1097
|
+
e.value.list.push({
|
|
1098
|
+
cycle: c.config.cycleDefault ?? null,
|
|
1099
|
+
factor: null,
|
|
1100
|
+
score: [null, null]
|
|
1101
|
+
});
|
|
1102
|
+
break;
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
}, p = () => {
|
|
1106
|
+
O.value.validate((l) => {
|
|
1091
1107
|
if (l)
|
|
1092
|
-
if (
|
|
1093
|
-
const o = Te(
|
|
1094
|
-
|
|
1108
|
+
if (e.value.sqlValue) {
|
|
1109
|
+
const o = Te(e.value.sqlValue);
|
|
1110
|
+
e.value.sqlValue = e.value.list.reduce((_, h, y) => (o.includes(`条件${y + 1}`) || (_ += `&& 条件${y + 1} `), _), e.value.sqlValue);
|
|
1095
1111
|
} else
|
|
1096
|
-
|
|
1112
|
+
e.value.sqlValue = e.value.list.reduce((o, _, h) => (h === 0 ? o += `条件${h + 1} ` : o += `&& 条件${h + 1} `, o), "");
|
|
1097
1113
|
});
|
|
1098
|
-
},
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1114
|
+
}, S = (l) => {
|
|
1115
|
+
switch (l.key) {
|
|
1116
|
+
case "compare": {
|
|
1117
|
+
const { cycle: o, factor: _, compareType: h, cycle2: y, factor2: M } = l;
|
|
1118
|
+
let w = "";
|
|
1119
|
+
return w += ` ${c.config.cycleOptions.find(({ value: a }) => a === o).label}`, w += ` ${c.config.factorOptions.find(({ value: a }) => a === _).label}`, w += ` ${h}`, w += ` ${c.config.cycleOptions.find(({ value: a }) => a === y).label}`, w += ` ${c.config.factorOptions.find(({ value: a }) => a === M).label}`, w;
|
|
1120
|
+
}
|
|
1121
|
+
default: {
|
|
1122
|
+
const { cycle: o, factor: _, score: h } = l;
|
|
1123
|
+
let y = "";
|
|
1124
|
+
return y += ` ${c.config.cycleOptions.find(({ value: M }) => M === o).label}`, y += ` ${c.config.factorOptions.find(({ value: M }) => M === _).label}`, y += ` ${h[0] || h[0] === 0 ? `${h[0]}分` : "∞"}`, y += " ~", y += ` ${h[1] || h[1] === 0 ? `${h[1]}分` : "∞"}`, y;
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
}, g = (l, o) => {
|
|
1103
1128
|
switch (l) {
|
|
1104
1129
|
case "sqlTag": {
|
|
1105
1130
|
n.value = {
|
|
@@ -1116,79 +1141,79 @@ const Ge = (s) => (fe("data-v-adfec7fb"), s = s(), ge(), s), At = { class: "fact
|
|
|
1116
1141
|
}
|
|
1117
1142
|
};
|
|
1118
1143
|
return (l, o) => {
|
|
1119
|
-
const
|
|
1120
|
-
return
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
n.value.sqlEnable && n.value.sqlValue ? (
|
|
1144
|
+
const _ = Tt, h = Pe, y = Ae, M = ce, w = ct, a = Be, $ = je, m = Ke, t = Ee, R = fe, P = me, re = Re, ee = Xe, te = be;
|
|
1145
|
+
return s(), k(T, null, [
|
|
1146
|
+
x("div", At, [
|
|
1147
|
+
x("div", null, [
|
|
1148
|
+
n.value.sqlEnable && n.value.sqlValue ? (s(), C(h, {
|
|
1124
1149
|
key: 0,
|
|
1125
1150
|
closable: "",
|
|
1126
1151
|
type: "info",
|
|
1127
1152
|
title: n.value.sqlValue,
|
|
1128
|
-
onClose: o[0] || (o[0] = (
|
|
1153
|
+
onClose: o[0] || (o[0] = (b) => g("sqlTag"))
|
|
1129
1154
|
}, {
|
|
1130
|
-
default:
|
|
1131
|
-
|
|
1155
|
+
default: f(() => [
|
|
1156
|
+
u(_, {
|
|
1132
1157
|
type: "info",
|
|
1133
1158
|
truncated: "",
|
|
1134
1159
|
style: { "max-width": "500px" }
|
|
1135
1160
|
}, {
|
|
1136
|
-
default:
|
|
1137
|
-
|
|
1161
|
+
default: f(() => [
|
|
1162
|
+
z(A(n.value.sqlValue), 1)
|
|
1138
1163
|
]),
|
|
1139
1164
|
_: 1
|
|
1140
1165
|
})
|
|
1141
1166
|
]),
|
|
1142
1167
|
_: 1
|
|
1143
1168
|
}, 8, ["title"])) : q("", !0),
|
|
1144
|
-
!n.value.sqlEnable && n.value.list.length ? (
|
|
1169
|
+
!n.value.sqlEnable && n.value.list.length ? (s(!0), k(T, { key: 1 }, F(n.value.list, (b, U) => (s(), C(h, {
|
|
1145
1170
|
closable: "",
|
|
1146
1171
|
type: "info",
|
|
1147
|
-
onClose: (
|
|
1172
|
+
onClose: (V) => g("factorTag", U)
|
|
1148
1173
|
}, {
|
|
1149
|
-
default:
|
|
1150
|
-
|
|
1174
|
+
default: f(() => [
|
|
1175
|
+
z(A(S(b)), 1)
|
|
1151
1176
|
]),
|
|
1152
1177
|
_: 2
|
|
1153
1178
|
}, 1032, ["onClose"]))), 256)) : q("", !0),
|
|
1154
|
-
|
|
1179
|
+
u(y, {
|
|
1155
1180
|
class: "screen-btn",
|
|
1156
1181
|
type: "primary",
|
|
1157
1182
|
plain: "",
|
|
1158
1183
|
size: "small",
|
|
1159
|
-
icon:
|
|
1160
|
-
onClick:
|
|
1184
|
+
icon: I(ie),
|
|
1185
|
+
onClick: E
|
|
1161
1186
|
}, {
|
|
1162
|
-
default:
|
|
1163
|
-
|
|
1187
|
+
default: f(() => [
|
|
1188
|
+
z(" 添加因子 ")
|
|
1164
1189
|
]),
|
|
1165
1190
|
_: 1
|
|
1166
1191
|
}, 8, ["icon"])
|
|
1167
1192
|
]),
|
|
1168
|
-
|
|
1169
|
-
modelValue:
|
|
1170
|
-
"onUpdate:modelValue": o[
|
|
1171
|
-
width: "
|
|
1193
|
+
u(te, {
|
|
1194
|
+
modelValue: i.value,
|
|
1195
|
+
"onUpdate:modelValue": o[5] || (o[5] = (b) => i.value = b),
|
|
1196
|
+
width: "602",
|
|
1172
1197
|
"align-center": "",
|
|
1173
1198
|
"destroy-on-close": ""
|
|
1174
1199
|
}, {
|
|
1175
|
-
header:
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
id:
|
|
1179
|
-
class:
|
|
1200
|
+
header: f(({ titleId: b, titleClass: U }) => [
|
|
1201
|
+
x("div", Yt, [
|
|
1202
|
+
x("span", {
|
|
1203
|
+
id: b,
|
|
1204
|
+
class: Q(U)
|
|
1180
1205
|
}, " 因子筛选 ", 10, Ht),
|
|
1181
|
-
|
|
1206
|
+
u(w, {
|
|
1182
1207
|
effect: "dark",
|
|
1183
1208
|
content: "点击查看: 因子使用说明",
|
|
1184
1209
|
placement: "right"
|
|
1185
1210
|
}, {
|
|
1186
|
-
default:
|
|
1187
|
-
|
|
1188
|
-
onClick: o[1] || (o[1] = (
|
|
1211
|
+
default: f(() => [
|
|
1212
|
+
u(M, {
|
|
1213
|
+
onClick: o[1] || (o[1] = (V) => d.value = !0)
|
|
1189
1214
|
}, {
|
|
1190
|
-
default:
|
|
1191
|
-
|
|
1215
|
+
default: f(() => [
|
|
1216
|
+
u(I(vt))
|
|
1192
1217
|
]),
|
|
1193
1218
|
_: 1
|
|
1194
1219
|
})
|
|
@@ -1197,163 +1222,300 @@ const Ge = (s) => (fe("data-v-adfec7fb"), s = s(), ge(), s), At = { class: "fact
|
|
|
1197
1222
|
})
|
|
1198
1223
|
])
|
|
1199
1224
|
]),
|
|
1200
|
-
footer:
|
|
1201
|
-
|
|
1202
|
-
|
|
1225
|
+
footer: f(() => [
|
|
1226
|
+
x("div", Kt, [
|
|
1227
|
+
u(y, {
|
|
1203
1228
|
type: "primary",
|
|
1204
|
-
onClick:
|
|
1229
|
+
onClick: D
|
|
1205
1230
|
}, {
|
|
1206
|
-
default:
|
|
1207
|
-
|
|
1231
|
+
default: f(() => [
|
|
1232
|
+
z("确定")
|
|
1208
1233
|
]),
|
|
1209
1234
|
_: 1
|
|
1210
1235
|
})
|
|
1211
1236
|
])
|
|
1212
1237
|
]),
|
|
1213
|
-
default:
|
|
1214
|
-
|
|
1238
|
+
default: f(() => [
|
|
1239
|
+
u(ee, {
|
|
1215
1240
|
ref_key: "dialogFormRef",
|
|
1216
|
-
ref:
|
|
1217
|
-
model:
|
|
1241
|
+
ref: O,
|
|
1242
|
+
model: e.value
|
|
1218
1243
|
}, {
|
|
1219
|
-
default:
|
|
1220
|
-
(
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
label:
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
label:
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1244
|
+
default: f(() => [
|
|
1245
|
+
(s(!0), k(T, null, F(e.value.list, (b, U) => (s(), k("div", Gt, [
|
|
1246
|
+
x("span", Qt, A(`条件${U + 1}`), 1),
|
|
1247
|
+
b.key === "compare" ? (s(), k(T, { key: 0 }, [
|
|
1248
|
+
r.config.cycleShow ? (s(), C(m, {
|
|
1249
|
+
key: 0,
|
|
1250
|
+
prop: "list." + U + ".cycle",
|
|
1251
|
+
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
1252
|
+
style: { width: "100px", "margin-right": "10px" }
|
|
1253
|
+
}, {
|
|
1254
|
+
default: f(() => [
|
|
1255
|
+
u($, {
|
|
1256
|
+
modelValue: b.cycle,
|
|
1257
|
+
"onUpdate:modelValue": (V) => b.cycle = V,
|
|
1258
|
+
placeholder: "选择周期",
|
|
1259
|
+
size: "small"
|
|
1260
|
+
}, {
|
|
1261
|
+
default: f(() => [
|
|
1262
|
+
(s(!0), k(T, null, F(r.config.cycleOptions, ({ label: V, value: N }) => (s(), C(a, {
|
|
1263
|
+
label: V,
|
|
1264
|
+
value: N,
|
|
1265
|
+
key: N
|
|
1266
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1267
|
+
]),
|
|
1268
|
+
_: 2
|
|
1269
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1270
|
+
]),
|
|
1271
|
+
_: 2
|
|
1272
|
+
}, 1032, ["prop"])) : q("", !0),
|
|
1273
|
+
u(m, {
|
|
1274
|
+
prop: "list." + U + ".factor",
|
|
1275
|
+
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
1276
|
+
style: { width: "100px", "margin-right": "10px" }
|
|
1277
|
+
}, {
|
|
1278
|
+
default: f(() => [
|
|
1279
|
+
u($, {
|
|
1280
|
+
modelValue: b.factor,
|
|
1281
|
+
"onUpdate:modelValue": (V) => b.factor = V,
|
|
1282
|
+
placeholder: "选择因子",
|
|
1283
|
+
filterable: "",
|
|
1284
|
+
size: "small",
|
|
1285
|
+
"no-match-text": "无匹配数据"
|
|
1286
|
+
}, {
|
|
1287
|
+
default: f(() => [
|
|
1288
|
+
(s(!0), k(T, null, F(r.config.factorOptions, ({ label: V, value: N }) => (s(), C(a, {
|
|
1289
|
+
label: V,
|
|
1290
|
+
value: N,
|
|
1291
|
+
key: N
|
|
1292
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1293
|
+
]),
|
|
1294
|
+
_: 2
|
|
1295
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1296
|
+
]),
|
|
1297
|
+
_: 2
|
|
1298
|
+
}, 1032, ["prop"]),
|
|
1299
|
+
u(m, { style: { width: "52px", "margin-right": "10px" } }, {
|
|
1300
|
+
default: f(() => [
|
|
1301
|
+
u($, {
|
|
1302
|
+
modelValue: b.compareType,
|
|
1303
|
+
"onUpdate:modelValue": (V) => b.compareType = V,
|
|
1304
|
+
size: "small"
|
|
1305
|
+
}, {
|
|
1306
|
+
default: f(() => [
|
|
1307
|
+
(s(), k(T, null, F([">", ">=", "<", "<="], (V) => u(a, {
|
|
1308
|
+
label: V,
|
|
1309
|
+
value: V,
|
|
1310
|
+
key: V
|
|
1311
|
+
}, null, 8, ["label", "value"])), 64))
|
|
1312
|
+
]),
|
|
1313
|
+
_: 2
|
|
1314
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1315
|
+
]),
|
|
1316
|
+
_: 2
|
|
1317
|
+
}, 1024),
|
|
1318
|
+
r.config.cycleShow ? (s(), C(m, {
|
|
1319
|
+
key: 1,
|
|
1320
|
+
prop: "list." + U + ".cycle2",
|
|
1321
|
+
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
1322
|
+
style: { width: "100px", "margin-right": "10px" }
|
|
1323
|
+
}, {
|
|
1324
|
+
default: f(() => [
|
|
1325
|
+
u($, {
|
|
1326
|
+
modelValue: b.cycle2,
|
|
1327
|
+
"onUpdate:modelValue": (V) => b.cycle2 = V,
|
|
1328
|
+
placeholder: "选择周期",
|
|
1329
|
+
size: "small"
|
|
1330
|
+
}, {
|
|
1331
|
+
default: f(() => [
|
|
1332
|
+
(s(!0), k(T, null, F(r.config.cycleOptions, ({ label: V, value: N }) => (s(), C(a, {
|
|
1333
|
+
label: V,
|
|
1334
|
+
value: N,
|
|
1335
|
+
key: N
|
|
1336
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1337
|
+
]),
|
|
1338
|
+
_: 2
|
|
1339
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1340
|
+
]),
|
|
1341
|
+
_: 2
|
|
1342
|
+
}, 1032, ["prop"])) : q("", !0),
|
|
1343
|
+
u(m, {
|
|
1344
|
+
prop: "list." + U + ".factor2",
|
|
1345
|
+
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
1346
|
+
style: { width: "100px", "margin-right": "10px" }
|
|
1347
|
+
}, {
|
|
1348
|
+
default: f(() => [
|
|
1349
|
+
u($, {
|
|
1350
|
+
modelValue: b.factor2,
|
|
1351
|
+
"onUpdate:modelValue": (V) => b.factor2 = V,
|
|
1352
|
+
placeholder: "选择因子",
|
|
1353
|
+
filterable: "",
|
|
1283
1354
|
size: "small",
|
|
1284
|
-
"
|
|
1285
|
-
},
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1355
|
+
"no-match-text": "无匹配数据"
|
|
1356
|
+
}, {
|
|
1357
|
+
default: f(() => [
|
|
1358
|
+
(s(!0), k(T, null, F(r.config.factorOptions, ({ label: V, value: N }) => (s(), C(a, {
|
|
1359
|
+
label: V,
|
|
1360
|
+
value: N,
|
|
1361
|
+
key: N
|
|
1362
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1363
|
+
]),
|
|
1364
|
+
_: 2
|
|
1365
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1366
|
+
]),
|
|
1367
|
+
_: 2
|
|
1368
|
+
}, 1032, ["prop"])
|
|
1369
|
+
], 64)) : (s(), k(T, { key: 1 }, [
|
|
1370
|
+
r.config.cycleShow ? (s(), C(m, {
|
|
1371
|
+
key: 0,
|
|
1372
|
+
prop: "list." + U + ".cycle",
|
|
1373
|
+
rules: { required: !0, message: "周期不能为空", trigger: "blur" },
|
|
1374
|
+
style: { width: "100px", "margin-right": "10px" }
|
|
1375
|
+
}, {
|
|
1376
|
+
default: f(() => [
|
|
1377
|
+
u($, {
|
|
1378
|
+
modelValue: b.cycle,
|
|
1379
|
+
"onUpdate:modelValue": (V) => b.cycle = V,
|
|
1380
|
+
placeholder: "选择周期",
|
|
1381
|
+
size: "small"
|
|
1382
|
+
}, {
|
|
1383
|
+
default: f(() => [
|
|
1384
|
+
(s(!0), k(T, null, F(r.config.cycleOptions, ({ label: V, value: N }) => (s(), C(a, {
|
|
1385
|
+
label: V,
|
|
1386
|
+
value: N,
|
|
1387
|
+
key: N
|
|
1388
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1389
|
+
]),
|
|
1390
|
+
_: 2
|
|
1391
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1392
|
+
]),
|
|
1393
|
+
_: 2
|
|
1394
|
+
}, 1032, ["prop"])) : q("", !0),
|
|
1395
|
+
u(m, {
|
|
1396
|
+
prop: "list." + U + ".factor",
|
|
1397
|
+
rules: { required: !0, message: "因子不能为空", trigger: "blur" },
|
|
1398
|
+
style: { width: "100px", "margin-right": "10px" }
|
|
1399
|
+
}, {
|
|
1400
|
+
default: f(() => [
|
|
1401
|
+
u($, {
|
|
1402
|
+
modelValue: b.factor,
|
|
1403
|
+
"onUpdate:modelValue": (V) => b.factor = V,
|
|
1404
|
+
placeholder: "选择因子",
|
|
1405
|
+
filterable: "",
|
|
1290
1406
|
size: "small",
|
|
1291
|
-
"
|
|
1292
|
-
},
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1407
|
+
"no-match-text": "无匹配数据"
|
|
1408
|
+
}, {
|
|
1409
|
+
default: f(() => [
|
|
1410
|
+
(s(!0), k(T, null, F(r.config.factorOptions, ({ label: V, value: N }) => (s(), C(a, {
|
|
1411
|
+
label: V,
|
|
1412
|
+
value: N,
|
|
1413
|
+
key: N
|
|
1414
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
1415
|
+
]),
|
|
1416
|
+
_: 2
|
|
1417
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
1418
|
+
]),
|
|
1419
|
+
_: 2
|
|
1420
|
+
}, 1032, ["prop"]),
|
|
1421
|
+
u(m, {
|
|
1422
|
+
prop: "list." + U + ".score",
|
|
1423
|
+
rules: { validator: I(Bt), trigger: "blur" },
|
|
1424
|
+
style: { width: "200px", "margin-right": "10px" }
|
|
1425
|
+
}, {
|
|
1426
|
+
default: f(() => [
|
|
1427
|
+
x("div", Jt, [
|
|
1428
|
+
u(t, {
|
|
1429
|
+
modelValue: b.score[0],
|
|
1430
|
+
"onUpdate:modelValue": (V) => b.score[0] = V,
|
|
1431
|
+
size: "small",
|
|
1432
|
+
"controls-position": "right"
|
|
1433
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
1434
|
+
Wt,
|
|
1435
|
+
u(t, {
|
|
1436
|
+
modelValue: b.score[1],
|
|
1437
|
+
"onUpdate:modelValue": (V) => b.score[1] = V,
|
|
1438
|
+
size: "small",
|
|
1439
|
+
"controls-position": "right"
|
|
1440
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
1441
|
+
])
|
|
1442
|
+
]),
|
|
1443
|
+
_: 2
|
|
1444
|
+
}, 1032, ["prop", "rules"])
|
|
1445
|
+
], 64)),
|
|
1446
|
+
u(M, {
|
|
1447
|
+
onClick: (V) => L(U)
|
|
1299
1448
|
}, {
|
|
1300
|
-
default:
|
|
1301
|
-
|
|
1449
|
+
default: f(() => [
|
|
1450
|
+
u(I(gt))
|
|
1302
1451
|
]),
|
|
1303
1452
|
_: 2
|
|
1304
1453
|
}, 1032, ["onClick"])
|
|
1305
1454
|
]))), 256)),
|
|
1306
|
-
|
|
1455
|
+
u(y, {
|
|
1456
|
+
type: "primary",
|
|
1457
|
+
plain: "",
|
|
1458
|
+
size: "small",
|
|
1459
|
+
icon: I(ie),
|
|
1460
|
+
onClick: v,
|
|
1461
|
+
style: { "margin-bottom": "10px" }
|
|
1462
|
+
}, {
|
|
1463
|
+
default: f(() => [
|
|
1464
|
+
z("添加因子")
|
|
1465
|
+
]),
|
|
1466
|
+
_: 1
|
|
1467
|
+
}, 8, ["icon"]),
|
|
1468
|
+
u(y, {
|
|
1307
1469
|
type: "primary",
|
|
1308
1470
|
plain: "",
|
|
1309
1471
|
size: "small",
|
|
1310
|
-
icon:
|
|
1311
|
-
onClick:
|
|
1472
|
+
icon: I(ie),
|
|
1473
|
+
onClick: o[2] || (o[2] = (b) => v("compare")),
|
|
1312
1474
|
style: { "margin-bottom": "10px" }
|
|
1313
1475
|
}, {
|
|
1314
|
-
default:
|
|
1315
|
-
|
|
1476
|
+
default: f(() => [
|
|
1477
|
+
z("添加因子对比")
|
|
1316
1478
|
]),
|
|
1317
1479
|
_: 1
|
|
1318
1480
|
}, 8, ["icon"]),
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
default:
|
|
1322
|
-
|
|
1323
|
-
modelValue:
|
|
1324
|
-
"onUpdate:modelValue": o[
|
|
1481
|
+
r.config.sqlShow ? (s(), k(T, { key: 0 }, [
|
|
1482
|
+
u(m, { label: "SQL功能: " }, {
|
|
1483
|
+
default: f(() => [
|
|
1484
|
+
u(P, {
|
|
1485
|
+
modelValue: e.value.sqlEnable,
|
|
1486
|
+
"onUpdate:modelValue": o[3] || (o[3] = (b) => e.value.sqlEnable = b)
|
|
1325
1487
|
}, {
|
|
1326
|
-
default:
|
|
1327
|
-
|
|
1488
|
+
default: f(() => [
|
|
1489
|
+
u(R, {
|
|
1328
1490
|
label: "关闭",
|
|
1329
1491
|
value: 0
|
|
1330
1492
|
}),
|
|
1331
|
-
|
|
1493
|
+
u(R, {
|
|
1332
1494
|
label: "启用",
|
|
1333
1495
|
value: 1
|
|
1334
1496
|
})
|
|
1335
1497
|
]),
|
|
1336
1498
|
_: 1
|
|
1337
1499
|
}, 8, ["modelValue"]),
|
|
1338
|
-
|
|
1500
|
+
e.value.sqlEnable ? (s(), C(y, {
|
|
1339
1501
|
key: 0,
|
|
1340
1502
|
type: "primary",
|
|
1341
1503
|
size: "small",
|
|
1342
|
-
onClick:
|
|
1504
|
+
onClick: p,
|
|
1343
1505
|
style: { "margin-left": "auto" }
|
|
1344
1506
|
}, {
|
|
1345
|
-
default:
|
|
1346
|
-
|
|
1507
|
+
default: f(() => [
|
|
1508
|
+
z("生成SQL")
|
|
1347
1509
|
]),
|
|
1348
1510
|
_: 1
|
|
1349
1511
|
})) : q("", !0)
|
|
1350
1512
|
]),
|
|
1351
1513
|
_: 1
|
|
1352
1514
|
}),
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
modelValue:
|
|
1356
|
-
"onUpdate:modelValue": o[
|
|
1515
|
+
e.value.sqlEnable ? (s(), k(T, { key: 0 }, [
|
|
1516
|
+
u(re, {
|
|
1517
|
+
modelValue: e.value.sqlValue,
|
|
1518
|
+
"onUpdate:modelValue": o[4] || (o[4] = (b) => e.value.sqlValue = b),
|
|
1357
1519
|
autosize: { minRows: 4 },
|
|
1358
1520
|
type: "textarea",
|
|
1359
1521
|
style: { "margin-bottom": "10px" }
|
|
@@ -1368,27 +1530,27 @@ const Ge = (s) => (fe("data-v-adfec7fb"), s = s(), ge(), s), At = { class: "fact
|
|
|
1368
1530
|
_: 1
|
|
1369
1531
|
}, 8, ["modelValue"])
|
|
1370
1532
|
]),
|
|
1371
|
-
|
|
1372
|
-
visible:
|
|
1373
|
-
"onUpdate:visible": o[
|
|
1374
|
-
data:
|
|
1533
|
+
u(jt, {
|
|
1534
|
+
visible: d.value,
|
|
1535
|
+
"onUpdate:visible": o[6] || (o[6] = (b) => d.value = b),
|
|
1536
|
+
data: r.config.factorDescriptions
|
|
1375
1537
|
}, null, 8, ["visible", "data"])
|
|
1376
1538
|
], 64);
|
|
1377
1539
|
};
|
|
1378
1540
|
}
|
|
1379
|
-
},
|
|
1380
|
-
const _e = (
|
|
1541
|
+
}, el = /* @__PURE__ */ ke(Xt, [["__scopeId", "data-v-3cac46e2"]]);
|
|
1542
|
+
const _e = (r) => (ge("data-v-c3a0c0f0"), r = r(), ye(), r), tl = {
|
|
1381
1543
|
key: 0,
|
|
1382
1544
|
class: "common-indicator"
|
|
1383
|
-
},
|
|
1384
|
-
/* @__PURE__ */
|
|
1385
|
-
/* @__PURE__ */
|
|
1386
|
-
], -1)),
|
|
1545
|
+
}, ll = { class: "indicator" }, nl = /* @__PURE__ */ _e(() => /* @__PURE__ */ x("div", { class: "title" }, [
|
|
1546
|
+
/* @__PURE__ */ x("span", null, "常用指标: "),
|
|
1547
|
+
/* @__PURE__ */ x("span", null, "不限")
|
|
1548
|
+
], -1)), al = { class: "options" }, ol = ["onClick"], sl = { class: "tags" }, rl = ["onClick"], il = {
|
|
1387
1549
|
key: 0,
|
|
1388
1550
|
class: "convenient-option-box"
|
|
1389
|
-
},
|
|
1551
|
+
}, ul = { class: "out-box" }, cl = /* @__PURE__ */ _e(() => /* @__PURE__ */ x("span", null, "自定义: ", -1)), dl = { key: 0 }, pl = { key: 0 }, fl = { key: 0 }, ml = { key: 1 }, vl = { class: "tFeaturelncomes-option-box" }, gl = { class: "tFeaturelncomes-out-box" }, yl = /* @__PURE__ */ _e(() => /* @__PURE__ */ x("span", null, "自定义: ", -1)), bl = { key: 2 }, kl = { key: 3 }, _l = { key: 4 }, hl = { class: "dialog-footer" }, xl = {
|
|
1390
1552
|
__name: "index",
|
|
1391
|
-
props: /* @__PURE__ */
|
|
1553
|
+
props: /* @__PURE__ */ oe({
|
|
1392
1554
|
config: { type: Object, default: () => {
|
|
1393
1555
|
} },
|
|
1394
1556
|
varietyMarket: { type: Number, default: () => null },
|
|
@@ -1400,27 +1562,27 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
|
|
|
1400
1562
|
dataModifiers: {}
|
|
1401
1563
|
}),
|
|
1402
1564
|
emits: ["update:data"],
|
|
1403
|
-
setup(
|
|
1404
|
-
const c = se(
|
|
1405
|
-
let
|
|
1406
|
-
return n.varietyMarket === null && !n.commonOption.length ?
|
|
1565
|
+
setup(r) {
|
|
1566
|
+
const c = se(r, "data"), n = r, i = Y(!1), d = j(() => {
|
|
1567
|
+
let g = [];
|
|
1568
|
+
return n.varietyMarket === null && !n.commonOption.length ? g = n.config.options : (g = n.config.options, n.varietyMarket && (g = g.filter(({ parent: l }) => l.varietyMarketIds.includes(n.varietyMarket))), n.commonOption.length && (g = g.filter(({ parent: l }) => {
|
|
1407
1569
|
const { commonOptionIds: o } = l;
|
|
1408
1570
|
return [.../* @__PURE__ */ new Set([...o, ...n.commonOption])].length !== [...o, ...n.commonOption].length;
|
|
1409
|
-
}))),
|
|
1410
|
-
}),
|
|
1411
|
-
|
|
1571
|
+
}))), g;
|
|
1572
|
+
}), O = Y({}), e = Y({}), E = (g) => {
|
|
1573
|
+
O.value = g;
|
|
1412
1574
|
const l = {
|
|
1413
|
-
key:
|
|
1414
|
-
type:
|
|
1415
|
-
label:
|
|
1575
|
+
key: g.key,
|
|
1576
|
+
type: g.type,
|
|
1577
|
+
label: g.label
|
|
1416
1578
|
};
|
|
1417
|
-
switch (
|
|
1579
|
+
switch (g.key) {
|
|
1418
1580
|
case "st": {
|
|
1419
|
-
|
|
1581
|
+
e.value = { ...l, st: null };
|
|
1420
1582
|
break;
|
|
1421
1583
|
}
|
|
1422
1584
|
case "tFeaturelncomes": {
|
|
1423
|
-
|
|
1585
|
+
e.value = {
|
|
1424
1586
|
...l,
|
|
1425
1587
|
rule: 1,
|
|
1426
1588
|
// 1超 2跌
|
|
@@ -1431,15 +1593,15 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
|
|
|
1431
1593
|
break;
|
|
1432
1594
|
}
|
|
1433
1595
|
case "priceLevels": {
|
|
1434
|
-
|
|
1596
|
+
e.value = { ...l, priceLevels: null };
|
|
1435
1597
|
break;
|
|
1436
1598
|
}
|
|
1437
1599
|
case "peTtmLevels": {
|
|
1438
|
-
|
|
1600
|
+
e.value = { ...l, peTtmLevels: null };
|
|
1439
1601
|
break;
|
|
1440
1602
|
}
|
|
1441
1603
|
case "optionsCpType": {
|
|
1442
|
-
|
|
1604
|
+
e.value = {
|
|
1443
1605
|
...l,
|
|
1444
1606
|
optionsCpType: null
|
|
1445
1607
|
// 1看涨 2看跌
|
|
@@ -1447,69 +1609,69 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
|
|
|
1447
1609
|
break;
|
|
1448
1610
|
}
|
|
1449
1611
|
default:
|
|
1450
|
-
|
|
1612
|
+
e.value = {
|
|
1451
1613
|
...l,
|
|
1452
1614
|
range: [null, null],
|
|
1453
|
-
unit:
|
|
1615
|
+
unit: g.defaultUnit.length ? [...g.defaultUnit] : [null, null]
|
|
1454
1616
|
};
|
|
1455
1617
|
}
|
|
1456
|
-
|
|
1457
|
-
},
|
|
1458
|
-
switch (
|
|
1618
|
+
i.value = !0;
|
|
1619
|
+
}, D = () => {
|
|
1620
|
+
switch (e.value.key) {
|
|
1459
1621
|
case "st": {
|
|
1460
|
-
const { label: l, st: o } =
|
|
1622
|
+
const { label: l, st: o } = e.value;
|
|
1461
1623
|
if (o === null)
|
|
1462
|
-
return
|
|
1463
|
-
|
|
1624
|
+
return J.warning("格式错误: 请至少选择一个值");
|
|
1625
|
+
e.value.tagText = `${l}: ${o ? "是" : "否"}`;
|
|
1464
1626
|
break;
|
|
1465
1627
|
}
|
|
1466
1628
|
case "tFeaturelncomes": {
|
|
1467
|
-
const { label: l, rule: o, withFewYears:
|
|
1468
|
-
if (["", null].includes(
|
|
1469
|
-
return
|
|
1470
|
-
|
|
1629
|
+
const { label: l, rule: o, withFewYears: _, yearsCount: h, netProfit: y } = e.value;
|
|
1630
|
+
if (["", null].includes(_) || ["", null].includes(h) || ["", null].includes(y))
|
|
1631
|
+
return J.warning("格式错误: 请填写完整");
|
|
1632
|
+
e.value.tagText = `${l}: ${_}年内${h}年以上盈利${o === 1 ? "超" : "跌"}过${y}亿`;
|
|
1471
1633
|
break;
|
|
1472
1634
|
}
|
|
1473
1635
|
case "priceLevels": {
|
|
1474
|
-
const { label: l, priceLevels: o } =
|
|
1636
|
+
const { label: l, priceLevels: o } = e.value;
|
|
1475
1637
|
if (!o || o.length === 0)
|
|
1476
|
-
return
|
|
1477
|
-
|
|
1638
|
+
return J.warning("格式错误: 请至少选择一个值");
|
|
1639
|
+
e.value.tagText = `${l}: 已选${o}分位`;
|
|
1478
1640
|
break;
|
|
1479
1641
|
}
|
|
1480
1642
|
case "peTtmLevels": {
|
|
1481
|
-
const { label: l, peTtmLevels: o } =
|
|
1643
|
+
const { label: l, peTtmLevels: o } = e.value;
|
|
1482
1644
|
if (!o || o.length === 0)
|
|
1483
|
-
return
|
|
1484
|
-
|
|
1645
|
+
return J.warning("格式错误: 请至少选择一个值");
|
|
1646
|
+
e.value.tagText = `${l}: 已选${o}分位`;
|
|
1485
1647
|
break;
|
|
1486
1648
|
}
|
|
1487
1649
|
case "optionsCpType": {
|
|
1488
|
-
const { label: l, optionsCpType: o } =
|
|
1650
|
+
const { label: l, optionsCpType: o } = e.value;
|
|
1489
1651
|
if (o === null)
|
|
1490
|
-
return
|
|
1491
|
-
|
|
1652
|
+
return J.warning("格式错误: 请至少选择一个值");
|
|
1653
|
+
e.value.tagText = `${l}: ${o === 1 ? "看涨" : "看跌"}`;
|
|
1492
1654
|
break;
|
|
1493
1655
|
}
|
|
1494
1656
|
default: {
|
|
1495
|
-
const { label: l, range: o, unit:
|
|
1657
|
+
const { label: l, range: o, unit: _ } = e.value;
|
|
1496
1658
|
if (["", null].includes(o[0]) && ["", null].includes(o[1]))
|
|
1497
|
-
return
|
|
1498
|
-
!["", null].includes(o[0]) && !["", null].includes(o[1]) ?
|
|
1659
|
+
return J.warning("格式错误: 请至少填写一个值");
|
|
1660
|
+
!["", null].includes(o[0]) && !["", null].includes(o[1]) ? e.value.tagText = `${l}: ${o[0]}${_[0] ?? ""} ~ ${o[1]}${_[1] ?? ""}` : ["", null].includes(o[0]) ? e.value.tagText = `${l}: ≤${o[1]}${_[1] ?? ""}` : e.value.tagText = `${l}: ≥${o[0]}${_[0] ?? ""}`;
|
|
1499
1661
|
}
|
|
1500
1662
|
}
|
|
1501
|
-
const
|
|
1502
|
-
|
|
1503
|
-
},
|
|
1504
|
-
|
|
1505
|
-
},
|
|
1506
|
-
c.value.splice(
|
|
1507
|
-
},
|
|
1508
|
-
|
|
1509
|
-
},
|
|
1510
|
-
switch (
|
|
1663
|
+
const g = c.value.findIndex(({ key: l }) => l === e.value.key);
|
|
1664
|
+
g === -1 ? c.value.push(e.value) : c.value.splice(g, 1, e.value), i.value = !1;
|
|
1665
|
+
}, L = (g) => {
|
|
1666
|
+
O.value = d.value.find(({ key: l }) => l === g.key), e.value = JSON.parse(JSON.stringify(g)), i.value = !0;
|
|
1667
|
+
}, v = (g) => {
|
|
1668
|
+
c.value.splice(g, 1);
|
|
1669
|
+
}, p = (g) => {
|
|
1670
|
+
e.value.range = [...g.range], e.value.unit = [...g.unit];
|
|
1671
|
+
}, S = (g) => {
|
|
1672
|
+
switch (g) {
|
|
1511
1673
|
case "≤0":
|
|
1512
|
-
Object.assign(
|
|
1674
|
+
Object.assign(e.value, {
|
|
1513
1675
|
rule: 2,
|
|
1514
1676
|
// 1超 2跌
|
|
1515
1677
|
withFewYears: 1,
|
|
@@ -1518,7 +1680,7 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
|
|
|
1518
1680
|
});
|
|
1519
1681
|
break;
|
|
1520
1682
|
case "≥0":
|
|
1521
|
-
Object.assign(
|
|
1683
|
+
Object.assign(e.value, {
|
|
1522
1684
|
rule: 1,
|
|
1523
1685
|
withFewYears: 1,
|
|
1524
1686
|
yearsCount: 1,
|
|
@@ -1526,7 +1688,7 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
|
|
|
1526
1688
|
});
|
|
1527
1689
|
break;
|
|
1528
1690
|
case "五年内有四年以上盈利超过5千万":
|
|
1529
|
-
Object.assign(
|
|
1691
|
+
Object.assign(e.value, {
|
|
1530
1692
|
rule: 1,
|
|
1531
1693
|
withFewYears: 5,
|
|
1532
1694
|
yearsCount: 4,
|
|
@@ -1534,7 +1696,7 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
|
|
|
1534
1696
|
});
|
|
1535
1697
|
break;
|
|
1536
1698
|
case "≥10亿":
|
|
1537
|
-
Object.assign(
|
|
1699
|
+
Object.assign(e.value, {
|
|
1538
1700
|
rule: 1,
|
|
1539
1701
|
withFewYears: 1,
|
|
1540
1702
|
yearsCount: 1,
|
|
@@ -1542,7 +1704,7 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
|
|
|
1542
1704
|
});
|
|
1543
1705
|
break;
|
|
1544
1706
|
case "≥20亿":
|
|
1545
|
-
Object.assign(
|
|
1707
|
+
Object.assign(e.value, {
|
|
1546
1708
|
rule: 1,
|
|
1547
1709
|
withFewYears: 1,
|
|
1548
1710
|
yearsCount: 1,
|
|
@@ -1551,93 +1713,93 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
|
|
|
1551
1713
|
break;
|
|
1552
1714
|
}
|
|
1553
1715
|
};
|
|
1554
|
-
return
|
|
1555
|
-
() =>
|
|
1716
|
+
return ae(
|
|
1717
|
+
() => d.value,
|
|
1556
1718
|
() => {
|
|
1557
|
-
c.value.length && (c.value = c.value.filter(({ key:
|
|
1719
|
+
c.value.length && (c.value = c.value.filter(({ key: g }) => d.value.find((l) => l.key === g)));
|
|
1558
1720
|
}
|
|
1559
|
-
), (
|
|
1560
|
-
const o = Pe,
|
|
1561
|
-
return
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
(
|
|
1566
|
-
key:
|
|
1567
|
-
onClick: (
|
|
1568
|
-
},
|
|
1721
|
+
), (g, l) => {
|
|
1722
|
+
const o = Pe, _ = Ae, h = Be, y = je, M = Re, w = fe, a = me, $ = Ee, m = be;
|
|
1723
|
+
return r.config.show && d.value.length ? (s(), k("div", tl, [
|
|
1724
|
+
x("div", ll, [
|
|
1725
|
+
nl,
|
|
1726
|
+
x("div", al, [
|
|
1727
|
+
(s(!0), k(T, null, F(d.value, (t) => (s(), k("span", {
|
|
1728
|
+
key: t.key,
|
|
1729
|
+
onClick: (R) => E(t)
|
|
1730
|
+
}, A(t.label), 9, ol))), 128))
|
|
1569
1731
|
])
|
|
1570
1732
|
]),
|
|
1571
|
-
|
|
1572
|
-
(
|
|
1733
|
+
x("div", sl, [
|
|
1734
|
+
(s(!0), k(T, null, F(c.value, (t, R) => (s(), C(o, {
|
|
1573
1735
|
closable: "",
|
|
1574
1736
|
type: "info",
|
|
1575
|
-
onClose: (
|
|
1737
|
+
onClose: (P) => v(R)
|
|
1576
1738
|
}, {
|
|
1577
|
-
default:
|
|
1578
|
-
|
|
1579
|
-
|
|
1739
|
+
default: f(() => [
|
|
1740
|
+
x("span", null, A(t.tagText), 1),
|
|
1741
|
+
x("span", {
|
|
1580
1742
|
class: "edit",
|
|
1581
|
-
onClick: (
|
|
1582
|
-
}, "编辑", 8,
|
|
1743
|
+
onClick: (P) => L(t)
|
|
1744
|
+
}, "编辑", 8, rl)
|
|
1583
1745
|
]),
|
|
1584
1746
|
_: 2
|
|
1585
1747
|
}, 1032, ["onClose"]))), 256))
|
|
1586
1748
|
]),
|
|
1587
|
-
|
|
1588
|
-
modelValue:
|
|
1589
|
-
"onUpdate:modelValue": l[16] || (l[16] = (
|
|
1590
|
-
title:
|
|
1749
|
+
u(m, {
|
|
1750
|
+
modelValue: i.value,
|
|
1751
|
+
"onUpdate:modelValue": l[16] || (l[16] = (t) => i.value = t),
|
|
1752
|
+
title: O.value.label,
|
|
1591
1753
|
width: "600",
|
|
1592
1754
|
"align-center": "",
|
|
1593
1755
|
"destroy-on-close": ""
|
|
1594
1756
|
}, {
|
|
1595
|
-
footer:
|
|
1596
|
-
|
|
1597
|
-
|
|
1757
|
+
footer: f(() => [
|
|
1758
|
+
x("div", hl, [
|
|
1759
|
+
u(_, {
|
|
1598
1760
|
type: "primary",
|
|
1599
|
-
onClick:
|
|
1761
|
+
onClick: D
|
|
1600
1762
|
}, {
|
|
1601
|
-
default:
|
|
1602
|
-
|
|
1763
|
+
default: f(() => [
|
|
1764
|
+
z("确定")
|
|
1603
1765
|
]),
|
|
1604
1766
|
_: 1
|
|
1605
1767
|
})
|
|
1606
1768
|
])
|
|
1607
1769
|
]),
|
|
1608
|
-
default:
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
(
|
|
1612
|
-
key:
|
|
1613
|
-
onClick: (
|
|
1770
|
+
default: f(() => [
|
|
1771
|
+
O.value.type === void 0 ? (s(), k(T, { key: 0 }, [
|
|
1772
|
+
O.value.convenientOptions.length ? (s(), k("div", il, [
|
|
1773
|
+
(s(!0), k(T, null, F(O.value.convenientOptions, (t) => (s(), C(_, {
|
|
1774
|
+
key: t.text,
|
|
1775
|
+
onClick: (R) => p(t)
|
|
1614
1776
|
}, {
|
|
1615
|
-
default:
|
|
1616
|
-
|
|
1777
|
+
default: f(() => [
|
|
1778
|
+
z(A(t.text), 1)
|
|
1617
1779
|
]),
|
|
1618
1780
|
_: 2
|
|
1619
1781
|
}, 1032, ["onClick"]))), 128))
|
|
1620
1782
|
])) : q("", !0),
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
modelValue:
|
|
1625
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
1783
|
+
x("div", ul, [
|
|
1784
|
+
cl,
|
|
1785
|
+
u(M, {
|
|
1786
|
+
modelValue: e.value.range[0],
|
|
1787
|
+
"onUpdate:modelValue": l[1] || (l[1] = (t) => e.value.range[0] = t),
|
|
1626
1788
|
style: { flex: "1" }
|
|
1627
1789
|
}, $e({ _: 2 }, [
|
|
1628
|
-
|
|
1790
|
+
O.value.unitOptions.length ? {
|
|
1629
1791
|
name: "append",
|
|
1630
|
-
fn:
|
|
1631
|
-
|
|
1792
|
+
fn: f(() => [
|
|
1793
|
+
O.value.unitOptions.length === 1 ? (s(), k("span", dl, A(e.value.unit[0]), 1)) : (s(), C(y, {
|
|
1632
1794
|
key: 1,
|
|
1633
|
-
modelValue:
|
|
1634
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
1795
|
+
modelValue: e.value.unit[0],
|
|
1796
|
+
"onUpdate:modelValue": l[0] || (l[0] = (t) => e.value.unit[0] = t),
|
|
1635
1797
|
style: { width: "72px" }
|
|
1636
1798
|
}, {
|
|
1637
|
-
default:
|
|
1638
|
-
(
|
|
1639
|
-
label:
|
|
1640
|
-
value:
|
|
1799
|
+
default: f(() => [
|
|
1800
|
+
(s(!0), k(T, null, F(O.value.unitOptions, (t) => (s(), C(h, {
|
|
1801
|
+
label: t,
|
|
1802
|
+
value: t
|
|
1641
1803
|
}, null, 8, ["label", "value"]))), 256))
|
|
1642
1804
|
]),
|
|
1643
1805
|
_: 1
|
|
@@ -1646,25 +1808,25 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
|
|
|
1646
1808
|
key: "0"
|
|
1647
1809
|
} : void 0
|
|
1648
1810
|
]), 1032, ["modelValue"]),
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
modelValue:
|
|
1652
|
-
"onUpdate:modelValue": l[3] || (l[3] = (
|
|
1811
|
+
z(" ~ "),
|
|
1812
|
+
u(M, {
|
|
1813
|
+
modelValue: e.value.range[1],
|
|
1814
|
+
"onUpdate:modelValue": l[3] || (l[3] = (t) => e.value.range[1] = t),
|
|
1653
1815
|
style: { flex: "1" }
|
|
1654
1816
|
}, $e({ _: 2 }, [
|
|
1655
|
-
|
|
1817
|
+
O.value.unitOptions.length ? {
|
|
1656
1818
|
name: "append",
|
|
1657
|
-
fn:
|
|
1658
|
-
|
|
1819
|
+
fn: f(() => [
|
|
1820
|
+
O.value.unitOptions.length === 1 ? (s(), k("span", pl, A(e.value.unit[1]), 1)) : (s(), C(y, {
|
|
1659
1821
|
key: 1,
|
|
1660
|
-
modelValue:
|
|
1661
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
1822
|
+
modelValue: e.value.unit[1],
|
|
1823
|
+
"onUpdate:modelValue": l[2] || (l[2] = (t) => e.value.unit[1] = t),
|
|
1662
1824
|
style: { width: "72px" }
|
|
1663
1825
|
}, {
|
|
1664
|
-
default:
|
|
1665
|
-
(
|
|
1666
|
-
label:
|
|
1667
|
-
value:
|
|
1826
|
+
default: f(() => [
|
|
1827
|
+
(s(!0), k(T, null, F(O.value.unitOptions, (t) => (s(), C(h, {
|
|
1828
|
+
label: t,
|
|
1829
|
+
value: t
|
|
1668
1830
|
}, null, 8, ["label", "value"]))), 256))
|
|
1669
1831
|
]),
|
|
1670
1832
|
_: 1
|
|
@@ -1674,18 +1836,18 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
|
|
|
1674
1836
|
} : void 0
|
|
1675
1837
|
]), 1032, ["modelValue"])
|
|
1676
1838
|
])
|
|
1677
|
-
], 64)) : (
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
modelValue:
|
|
1681
|
-
"onUpdate:modelValue": l[4] || (l[4] = (
|
|
1839
|
+
], 64)) : (s(), k(T, { key: 1 }, [
|
|
1840
|
+
O.value.key === "st" ? (s(), k("div", fl, [
|
|
1841
|
+
u(a, {
|
|
1842
|
+
modelValue: e.value.st,
|
|
1843
|
+
"onUpdate:modelValue": l[4] || (l[4] = (t) => e.value.st = t)
|
|
1682
1844
|
}, {
|
|
1683
|
-
default:
|
|
1684
|
-
|
|
1845
|
+
default: f(() => [
|
|
1846
|
+
u(w, {
|
|
1685
1847
|
label: "是",
|
|
1686
1848
|
value: 1
|
|
1687
1849
|
}),
|
|
1688
|
-
|
|
1850
|
+
u(w, {
|
|
1689
1851
|
label: "否",
|
|
1690
1852
|
value: 0
|
|
1691
1853
|
})
|
|
@@ -1693,122 +1855,122 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
|
|
|
1693
1855
|
_: 1
|
|
1694
1856
|
}, 8, ["modelValue"])
|
|
1695
1857
|
])) : q("", !0),
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
onClick: l[5] || (l[5] = (
|
|
1858
|
+
O.value.key === "tFeaturelncomes" ? (s(), k("div", ml, [
|
|
1859
|
+
x("div", vl, [
|
|
1860
|
+
u(_, {
|
|
1861
|
+
onClick: l[5] || (l[5] = (t) => S("≤0"))
|
|
1700
1862
|
}, {
|
|
1701
|
-
default:
|
|
1702
|
-
|
|
1863
|
+
default: f(() => [
|
|
1864
|
+
z("≤0")
|
|
1703
1865
|
]),
|
|
1704
1866
|
_: 1
|
|
1705
1867
|
}),
|
|
1706
|
-
|
|
1707
|
-
onClick: l[6] || (l[6] = (
|
|
1868
|
+
u(_, {
|
|
1869
|
+
onClick: l[6] || (l[6] = (t) => S("≥0"))
|
|
1708
1870
|
}, {
|
|
1709
|
-
default:
|
|
1710
|
-
|
|
1871
|
+
default: f(() => [
|
|
1872
|
+
z("≥0")
|
|
1711
1873
|
]),
|
|
1712
1874
|
_: 1
|
|
1713
1875
|
}),
|
|
1714
|
-
|
|
1715
|
-
onClick: l[7] || (l[7] = (
|
|
1876
|
+
u(_, {
|
|
1877
|
+
onClick: l[7] || (l[7] = (t) => S("五年内有四年以上盈利超过5千万"))
|
|
1716
1878
|
}, {
|
|
1717
|
-
default:
|
|
1718
|
-
|
|
1879
|
+
default: f(() => [
|
|
1880
|
+
z("五年内有四年以上盈利超过5千万")
|
|
1719
1881
|
]),
|
|
1720
1882
|
_: 1
|
|
1721
1883
|
}),
|
|
1722
|
-
|
|
1723
|
-
onClick: l[8] || (l[8] = (
|
|
1884
|
+
u(_, {
|
|
1885
|
+
onClick: l[8] || (l[8] = (t) => S("≥10亿"))
|
|
1724
1886
|
}, {
|
|
1725
|
-
default:
|
|
1726
|
-
|
|
1887
|
+
default: f(() => [
|
|
1888
|
+
z("≥10亿")
|
|
1727
1889
|
]),
|
|
1728
1890
|
_: 1
|
|
1729
1891
|
}),
|
|
1730
|
-
|
|
1731
|
-
onClick: l[9] || (l[9] = (
|
|
1892
|
+
u(_, {
|
|
1893
|
+
onClick: l[9] || (l[9] = (t) => S("≥20亿"))
|
|
1732
1894
|
}, {
|
|
1733
|
-
default:
|
|
1734
|
-
|
|
1895
|
+
default: f(() => [
|
|
1896
|
+
z("≥20亿")
|
|
1735
1897
|
]),
|
|
1736
1898
|
_: 1
|
|
1737
1899
|
})
|
|
1738
1900
|
]),
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
modelValue:
|
|
1744
|
-
"onUpdate:modelValue": l[10] || (l[10] = (
|
|
1901
|
+
x("div", gl, [
|
|
1902
|
+
yl,
|
|
1903
|
+
x("div", null, [
|
|
1904
|
+
u($, {
|
|
1905
|
+
modelValue: e.value.withFewYears,
|
|
1906
|
+
"onUpdate:modelValue": l[10] || (l[10] = (t) => e.value.withFewYears = t),
|
|
1745
1907
|
"controls-position": "right"
|
|
1746
1908
|
}, null, 8, ["modelValue"]),
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
modelValue:
|
|
1750
|
-
"onUpdate:modelValue": l[11] || (l[11] = (
|
|
1909
|
+
z(" 年内 "),
|
|
1910
|
+
u($, {
|
|
1911
|
+
modelValue: e.value.yearsCount,
|
|
1912
|
+
"onUpdate:modelValue": l[11] || (l[11] = (t) => e.value.yearsCount = t),
|
|
1751
1913
|
"controls-position": "right"
|
|
1752
1914
|
}, null, 8, ["modelValue"]),
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
modelValue:
|
|
1756
|
-
"onUpdate:modelValue": l[12] || (l[12] = (
|
|
1915
|
+
z(" 年以上盈利" + A(e.value.rule === 1 ? "超" : "跌") + "过 ", 1),
|
|
1916
|
+
u($, {
|
|
1917
|
+
modelValue: e.value.netProfit,
|
|
1918
|
+
"onUpdate:modelValue": l[12] || (l[12] = (t) => e.value.netProfit = t),
|
|
1757
1919
|
"controls-position": "right"
|
|
1758
1920
|
}, null, 8, ["modelValue"]),
|
|
1759
|
-
|
|
1921
|
+
z(" 亿 ")
|
|
1760
1922
|
])
|
|
1761
1923
|
])
|
|
1762
1924
|
])) : q("", !0),
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
modelValue:
|
|
1766
|
-
"onUpdate:modelValue": l[13] || (l[13] = (
|
|
1925
|
+
O.value.key === "priceLevels" ? (s(), k("div", bl, [
|
|
1926
|
+
u(y, {
|
|
1927
|
+
modelValue: e.value.priceLevels,
|
|
1928
|
+
"onUpdate:modelValue": l[13] || (l[13] = (t) => e.value.priceLevels = t),
|
|
1767
1929
|
multiple: "",
|
|
1768
1930
|
clearable: "",
|
|
1769
1931
|
placeholder: "请选择",
|
|
1770
1932
|
style: { width: "420px" }
|
|
1771
1933
|
}, {
|
|
1772
|
-
default:
|
|
1773
|
-
(
|
|
1774
|
-
key:
|
|
1775
|
-
label: `${
|
|
1776
|
-
value:
|
|
1934
|
+
default: f(() => [
|
|
1935
|
+
(s(), k(T, null, F([1, 2, 3, 4, 5], (t) => u(h, {
|
|
1936
|
+
key: t,
|
|
1937
|
+
label: `${t}分位`,
|
|
1938
|
+
value: t
|
|
1777
1939
|
}, null, 8, ["label", "value"])), 64))
|
|
1778
1940
|
]),
|
|
1779
1941
|
_: 1
|
|
1780
1942
|
}, 8, ["modelValue"])
|
|
1781
1943
|
])) : q("", !0),
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
modelValue:
|
|
1785
|
-
"onUpdate:modelValue": l[14] || (l[14] = (
|
|
1944
|
+
O.value.key === "peTtmLevels" ? (s(), k("div", kl, [
|
|
1945
|
+
u(y, {
|
|
1946
|
+
modelValue: e.value.peTtmLevels,
|
|
1947
|
+
"onUpdate:modelValue": l[14] || (l[14] = (t) => e.value.peTtmLevels = t),
|
|
1786
1948
|
multiple: "",
|
|
1787
1949
|
clearable: "",
|
|
1788
1950
|
placeholder: "请选择",
|
|
1789
1951
|
style: { width: "420px" }
|
|
1790
1952
|
}, {
|
|
1791
|
-
default:
|
|
1792
|
-
(
|
|
1793
|
-
key:
|
|
1794
|
-
label: `${
|
|
1795
|
-
value:
|
|
1953
|
+
default: f(() => [
|
|
1954
|
+
(s(), k(T, null, F([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (t) => u(h, {
|
|
1955
|
+
key: t,
|
|
1956
|
+
label: `${t}分位`,
|
|
1957
|
+
value: t
|
|
1796
1958
|
}, null, 8, ["label", "value"])), 64))
|
|
1797
1959
|
]),
|
|
1798
1960
|
_: 1
|
|
1799
1961
|
}, 8, ["modelValue"])
|
|
1800
1962
|
])) : q("", !0),
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
modelValue:
|
|
1804
|
-
"onUpdate:modelValue": l[15] || (l[15] = (
|
|
1963
|
+
O.value.key === "optionsCpType" ? (s(), k("div", _l, [
|
|
1964
|
+
u(a, {
|
|
1965
|
+
modelValue: e.value.optionsCpType,
|
|
1966
|
+
"onUpdate:modelValue": l[15] || (l[15] = (t) => e.value.optionsCpType = t)
|
|
1805
1967
|
}, {
|
|
1806
|
-
default:
|
|
1807
|
-
|
|
1968
|
+
default: f(() => [
|
|
1969
|
+
u(w, {
|
|
1808
1970
|
label: "看涨",
|
|
1809
1971
|
value: 1
|
|
1810
1972
|
}),
|
|
1811
|
-
|
|
1973
|
+
u(w, {
|
|
1812
1974
|
label: "看跌",
|
|
1813
1975
|
value: 2
|
|
1814
1976
|
})
|
|
@@ -1823,32 +1985,32 @@ const _e = (s) => (fe("data-v-c3a0c0f0"), s = s(), ge(), s), tn = {
|
|
|
1823
1985
|
])) : q("", !0);
|
|
1824
1986
|
};
|
|
1825
1987
|
}
|
|
1826
|
-
},
|
|
1827
|
-
const X = (
|
|
1988
|
+
}, Ol = /* @__PURE__ */ ke(xl, [["__scopeId", "data-v-c3a0c0f0"]]);
|
|
1989
|
+
const X = (r) => (ge("data-v-3d6e5358"), r = r(), ye(), r), Il = { class: "variety-search" }, Vl = {
|
|
1828
1990
|
key: 0,
|
|
1829
1991
|
class: "variety-search-row"
|
|
1830
|
-
},
|
|
1992
|
+
}, $l = { class: "title" }, wl = /* @__PURE__ */ X(() => /* @__PURE__ */ x("span", null, "品种市场: ", -1)), Cl = {
|
|
1831
1993
|
key: 1,
|
|
1832
1994
|
class: "variety-search-row"
|
|
1833
|
-
},
|
|
1995
|
+
}, Tl = { class: "title" }, Sl = /* @__PURE__ */ X(() => /* @__PURE__ */ x("span", null, "常用选项: ", -1)), Ml = {
|
|
1834
1996
|
key: 2,
|
|
1835
1997
|
class: "variety-search-row"
|
|
1836
|
-
},
|
|
1998
|
+
}, Ul = { class: "title" }, El = /* @__PURE__ */ X(() => /* @__PURE__ */ x("span", null, "上市板块: ", -1)), ql = {
|
|
1837
1999
|
key: 3,
|
|
1838
2000
|
class: "variety-search-row"
|
|
1839
|
-
},
|
|
2001
|
+
}, Dl = { class: "title" }, Ll = /* @__PURE__ */ X(() => /* @__PURE__ */ x("span", null, "自定标签: ", -1)), Fl = {
|
|
1840
2002
|
key: 4,
|
|
1841
2003
|
class: "variety-search-row"
|
|
1842
|
-
},
|
|
2004
|
+
}, zl = { class: "title" }, Nl = /* @__PURE__ */ X(() => /* @__PURE__ */ x("span", null, "因子筛选: ", -1)), Rl = {
|
|
1843
2005
|
__name: "index",
|
|
1844
|
-
props: /* @__PURE__ */
|
|
2006
|
+
props: /* @__PURE__ */ oe({ config: { type: Object, default: {} } }, {
|
|
1845
2007
|
searchData: {},
|
|
1846
2008
|
searchDataModifiers: {}
|
|
1847
2009
|
}),
|
|
1848
2010
|
emits: ["update:searchData"],
|
|
1849
|
-
setup(
|
|
1850
|
-
const n =
|
|
1851
|
-
|
|
2011
|
+
setup(r, { expose: c }) {
|
|
2012
|
+
const n = r, i = se(r, "searchData");
|
|
2013
|
+
i.value = Object.assign(i.value, {
|
|
1852
2014
|
// 品种市场
|
|
1853
2015
|
varietyMarket: null,
|
|
1854
2016
|
// 常用选项
|
|
@@ -1866,160 +2028,184 @@ const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "varie
|
|
|
1866
2028
|
// 常用指标
|
|
1867
2029
|
commonIndicator: []
|
|
1868
2030
|
});
|
|
1869
|
-
const
|
|
1870
|
-
const
|
|
1871
|
-
return Object.keys(
|
|
1872
|
-
const
|
|
1873
|
-
|
|
1874
|
-
}),
|
|
1875
|
-
}),
|
|
1876
|
-
const { varietyMarket:
|
|
1877
|
-
if (
|
|
1878
|
-
const
|
|
1879
|
-
return
|
|
2031
|
+
const d = j(() => {
|
|
2032
|
+
const v = {};
|
|
2033
|
+
return Object.keys(Ce).forEach((p) => {
|
|
2034
|
+
const S = Ce[p], g = n.config[p] ?? {}, l = { ...S, ...g };
|
|
2035
|
+
v[p] = l;
|
|
2036
|
+
}), v;
|
|
2037
|
+
}), O = j(() => d.value.varietyMarket.options), e = j(() => {
|
|
2038
|
+
const { varietyMarket: v } = i.value;
|
|
2039
|
+
if (v) {
|
|
2040
|
+
const p = O.value.find(({ value: S }) => S === v).memo;
|
|
2041
|
+
return d.value.commonOption.options.filter(({ value: S }) => p.includes(S));
|
|
1880
2042
|
} else
|
|
1881
|
-
return
|
|
1882
|
-
}),
|
|
1883
|
-
const { varietyMarket:
|
|
1884
|
-
return
|
|
1885
|
-
}),
|
|
1886
|
-
["commonOption", "marketIds", "customTag", "factorScreen", "commonIndicator"].includes(
|
|
2043
|
+
return d.value.commonOption.options;
|
|
2044
|
+
}), E = j(() => {
|
|
2045
|
+
const { varietyMarket: v } = i.value;
|
|
2046
|
+
return v ? d.value.marketIds.options.filter((p) => p.varietyMarketIds.includes(v)) : d.value.marketIds.options;
|
|
2047
|
+
}), D = j(() => d.value.customTag.options), L = (v) => {
|
|
2048
|
+
["commonOption", "marketIds", "customTag", "factorScreen", "commonIndicator"].includes(v) ? i.value[v] = [] : i.value[v] = null;
|
|
1887
2049
|
};
|
|
1888
|
-
return
|
|
1889
|
-
() =>
|
|
1890
|
-
(
|
|
1891
|
-
var
|
|
1892
|
-
(
|
|
2050
|
+
return ae(
|
|
2051
|
+
() => e.value,
|
|
2052
|
+
(v) => {
|
|
2053
|
+
var p;
|
|
2054
|
+
(p = i.value.commonOption) != null && p.length && (i.value.commonOption = i.value.commonOption.filter((S) => v.find(({ value: g }) => g === S)));
|
|
1893
2055
|
}
|
|
1894
|
-
),
|
|
1895
|
-
() =>
|
|
1896
|
-
(
|
|
1897
|
-
var
|
|
1898
|
-
(
|
|
2056
|
+
), ae(
|
|
2057
|
+
() => E.value,
|
|
2058
|
+
(v) => {
|
|
2059
|
+
var p;
|
|
2060
|
+
(p = i.value.marketIds) != null && p.length && (i.value.marketIds = i.value.marketIds.filter((S) => v.find(({ value: g }) => g === S)));
|
|
1899
2061
|
}
|
|
1900
2062
|
), c({
|
|
1901
2063
|
// 生成接口传参结构的数据
|
|
1902
|
-
formatData: (
|
|
1903
|
-
var
|
|
2064
|
+
formatData: (v) => {
|
|
2065
|
+
var S, g, l, o, _;
|
|
1904
2066
|
console.log("%c[st-varietySearch]: 正在生成接口传参结构的数据...", "color: tomato");
|
|
1905
|
-
const
|
|
1906
|
-
if (
|
|
1907
|
-
const { factorScreen:
|
|
1908
|
-
if ((
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
2067
|
+
const p = {};
|
|
2068
|
+
if (v.varietyMarket && (p.exchangeId = String(v.varietyMarket)), (S = v.commonOption) != null && S.length && (p.optionId = v.commonOption.join(",")), (g = v.marketIds) != null && g.length && (p.marketIds = v.marketIds), (l = v.customTag) != null && l.length && (p.tagIds = v.customTag), (o = d.value.factorScreen) != null && o.show) {
|
|
2069
|
+
const { factorScreen: h } = v;
|
|
2070
|
+
if ((_ = h == null ? void 0 : h.list) != null && _.length && (p.tbFeatureFactorScores = h.list.map((y) => {
|
|
2071
|
+
switch (y.key) {
|
|
2072
|
+
case "compare":
|
|
2073
|
+
return {
|
|
2074
|
+
freqId: y.cycle,
|
|
2075
|
+
factorId: y.factor,
|
|
2076
|
+
compareType: y.compareType,
|
|
2077
|
+
freqId2: y.cycle2,
|
|
2078
|
+
factorId2: y.factor2
|
|
2079
|
+
};
|
|
2080
|
+
default:
|
|
2081
|
+
return {
|
|
2082
|
+
freqId: y.cycle,
|
|
2083
|
+
factorId: y.factor,
|
|
2084
|
+
startScore: y.score[0],
|
|
2085
|
+
endScore: y.score[1]
|
|
2086
|
+
};
|
|
2087
|
+
}
|
|
2088
|
+
})), h.sqlEnable) {
|
|
2089
|
+
const y = h.list.reduce((w, a, $) => {
|
|
2090
|
+
var t, R;
|
|
1916
2091
|
const m = `条件${$ + 1}`;
|
|
1917
|
-
|
|
1918
|
-
|
|
2092
|
+
switch (a.key) {
|
|
2093
|
+
case "compare": {
|
|
2094
|
+
let P = "";
|
|
2095
|
+
(t = d.value.factorScreen) != null && t.cycleShow ? P = `freq_id = ${a.cycle} and factor_id = ${a.factor} ${a.compareType} freq_id = ${a.cycle2} and factor_id = ${a.factor2}` : P = `factor_id = ${a.factor} ${a.compareType} factor_id = ${a.factor2}`, w.set(m, `(${P})`);
|
|
2096
|
+
break;
|
|
2097
|
+
}
|
|
2098
|
+
default: {
|
|
2099
|
+
let P = `factor_id = ${a.factor} and `;
|
|
2100
|
+
(R = d.value.factorScreen) != null && R.cycleShow && (P = `freq_id = ${a.cycle} and factor_id = ${a.factor} and `), (a.score[0] || a.score[0] === 0) && (a.score[1] || a.score[1] === 0) ? P += `score >= ${a.score[0]} and score <= ${a.score[1]}` : a.score[0] || a.score[0] === 0 ? P += `score >= ${a.score[0]}` : (a.score[1] || a.score[1] === 0) && (P += `score <= ${a.score[1]}`), w.set(m, `(${P})`);
|
|
2101
|
+
}
|
|
2102
|
+
}
|
|
2103
|
+
return w;
|
|
1919
2104
|
}, /* @__PURE__ */ new Map([]));
|
|
1920
|
-
let
|
|
1921
|
-
for (const [
|
|
1922
|
-
const $ = new RegExp(
|
|
1923
|
-
|
|
2105
|
+
let M = h.sqlValue;
|
|
2106
|
+
for (const [w, a] of y) {
|
|
2107
|
+
const $ = new RegExp(w, "g");
|
|
2108
|
+
M = M.replace($, a);
|
|
1924
2109
|
}
|
|
1925
|
-
|
|
2110
|
+
p.sql = M;
|
|
1926
2111
|
}
|
|
2112
|
+
p.enableSql = h.sqlEnable === 1 ? 2 : 1;
|
|
1927
2113
|
}
|
|
1928
2114
|
{
|
|
1929
|
-
const
|
|
1930
|
-
const { key:
|
|
1931
|
-
if (
|
|
1932
|
-
let [
|
|
1933
|
-
["", null].includes(
|
|
1934
|
-
column:
|
|
1935
|
-
start:
|
|
1936
|
-
end:
|
|
2115
|
+
const h = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], y = v.commonIndicator.reduce((t, R) => {
|
|
2116
|
+
const { key: P, type: re, range: ee, unit: te } = R;
|
|
2117
|
+
if (P === "dividendYield") {
|
|
2118
|
+
let [b, U] = ee;
|
|
2119
|
+
["", null].includes(b) || (b = b / 100), ["", null].includes(U) || (U = U / 100), t.push({
|
|
2120
|
+
column: R.key,
|
|
2121
|
+
start: b,
|
|
2122
|
+
end: U
|
|
1937
2123
|
});
|
|
1938
|
-
} else if (
|
|
1939
|
-
let [
|
|
1940
|
-
if (!["", null].includes(
|
|
2124
|
+
} else if (re === void 0 && !h.includes(P)) {
|
|
2125
|
+
let [b, U] = ee;
|
|
2126
|
+
if (!["", null].includes(b))
|
|
1941
2127
|
switch (te[0]) {
|
|
1942
2128
|
case "亿":
|
|
1943
|
-
|
|
2129
|
+
b = b * 1e8;
|
|
1944
2130
|
break;
|
|
1945
2131
|
case "千万":
|
|
1946
|
-
|
|
2132
|
+
b = b * 1e7;
|
|
1947
2133
|
break;
|
|
1948
2134
|
default:
|
|
1949
|
-
|
|
2135
|
+
b = b;
|
|
1950
2136
|
break;
|
|
1951
2137
|
}
|
|
1952
|
-
if (!["", null].includes(
|
|
2138
|
+
if (!["", null].includes(U))
|
|
1953
2139
|
switch (te[1]) {
|
|
1954
2140
|
case "亿":
|
|
1955
|
-
|
|
2141
|
+
U = U * 1e8;
|
|
1956
2142
|
break;
|
|
1957
2143
|
case "千万":
|
|
1958
|
-
|
|
2144
|
+
U = U * 1e7;
|
|
1959
2145
|
break;
|
|
1960
2146
|
default:
|
|
1961
|
-
|
|
2147
|
+
U = U;
|
|
1962
2148
|
break;
|
|
1963
2149
|
}
|
|
1964
|
-
|
|
1965
|
-
column:
|
|
1966
|
-
start:
|
|
1967
|
-
end:
|
|
2150
|
+
t.push({
|
|
2151
|
+
column: R.key,
|
|
2152
|
+
start: b,
|
|
2153
|
+
end: U
|
|
1968
2154
|
});
|
|
1969
2155
|
}
|
|
1970
|
-
return
|
|
2156
|
+
return t;
|
|
1971
2157
|
}, []);
|
|
1972
|
-
|
|
1973
|
-
const
|
|
1974
|
-
|
|
1975
|
-
const
|
|
1976
|
-
|
|
1977
|
-
const
|
|
1978
|
-
|
|
1979
|
-
const $ =
|
|
1980
|
-
$ && (
|
|
2158
|
+
y.length && (p.query = y);
|
|
2159
|
+
const M = v.commonIndicator.find(({ key: t }) => t === "st");
|
|
2160
|
+
M && (p.st = M.st);
|
|
2161
|
+
const w = v.commonIndicator.find(({ key: t }) => t === "tFeaturelncomes");
|
|
2162
|
+
w && (p.netProfitQueryDto = { ...w, netProfit: w.netProfit * 1e8 });
|
|
2163
|
+
const a = v.commonIndicator.find(({ key: t }) => t === "priceLevels");
|
|
2164
|
+
a && (p.priceLevels = a.priceLevels);
|
|
2165
|
+
const $ = v.commonIndicator.find(({ key: t }) => t === "peTtmLevels");
|
|
2166
|
+
$ && (p.peTtmLevels = $.peTtmLevels);
|
|
1981
2167
|
const m = {};
|
|
1982
|
-
|
|
1983
|
-
const { key:
|
|
1984
|
-
switch (
|
|
2168
|
+
v.commonIndicator.forEach((t) => {
|
|
2169
|
+
const { key: R } = t;
|
|
2170
|
+
switch (R) {
|
|
1985
2171
|
case "expireDays":
|
|
1986
|
-
["", null].includes(
|
|
2172
|
+
["", null].includes(t.range[0]) || (m.minExpireDays = t.range[0]), ["", null].includes(t.range[1]) || (m.maxExpireDays = t.range[1]);
|
|
1987
2173
|
break;
|
|
1988
2174
|
case "virtualRealDegree":
|
|
1989
|
-
["", null].includes(
|
|
2175
|
+
["", null].includes(t.range[0]) || (m.minVirtualRealDegree = t.range[0] / 100), ["", null].includes(t.range[1]) || (m.maxVirtualRealDegree = t.range[1] / 100);
|
|
1990
2176
|
break;
|
|
1991
2177
|
case "yearProfitRate":
|
|
1992
|
-
["", null].includes(
|
|
2178
|
+
["", null].includes(t.range[0]) || (m.minYearProfitRate = t.range[0] / 100), ["", null].includes(t.range[1]) || (m.maxYearProfitRate = t.range[1] / 100);
|
|
1993
2179
|
break;
|
|
1994
2180
|
case "impliedVolatility":
|
|
1995
|
-
["", null].includes(
|
|
2181
|
+
["", null].includes(t.range[0]) || (m.minImpliedVolatility = t.range[0] / 100), ["", null].includes(t.range[1]) || (m.maxImpliedVolatility = t.range[1] / 100);
|
|
1996
2182
|
break;
|
|
1997
2183
|
case "levelMultiplier":
|
|
1998
|
-
["", null].includes(
|
|
2184
|
+
["", null].includes(t.range[0]) || (m.minLevelMultiplier = t.range[0]), ["", null].includes(t.range[1]) || (m.maxLevelMultiplier = t.range[1]);
|
|
1999
2185
|
break;
|
|
2000
2186
|
case "turnover":
|
|
2001
|
-
["", null].includes(
|
|
2187
|
+
["", null].includes(t.range[0]) || (m.minTurnover = t.range[0] * 1e4), ["", null].includes(t.range[1]) || (m.maxTurnover = t.range[1] * 1e4);
|
|
2002
2188
|
break;
|
|
2003
2189
|
case "volume":
|
|
2004
|
-
["", null].includes(
|
|
2190
|
+
["", null].includes(t.range[0]) || (m.minVolume = t.range[0]), ["", null].includes(t.range[1]) || (m.maxVolume = t.range[1]);
|
|
2005
2191
|
break;
|
|
2006
2192
|
case "openInterest":
|
|
2007
|
-
["", null].includes(
|
|
2193
|
+
["", null].includes(t.range[0]) || (m.minOpenInterest = t.range[0]), ["", null].includes(t.range[1]) || (m.maxOpenInterest = t.range[1]);
|
|
2008
2194
|
break;
|
|
2009
2195
|
case "optionsCpType":
|
|
2010
|
-
m.optionsCpType =
|
|
2196
|
+
m.optionsCpType = t.optionsCpType;
|
|
2011
2197
|
break;
|
|
2012
2198
|
case "optionGear":
|
|
2013
|
-
["", null].includes(
|
|
2199
|
+
["", null].includes(t.range[0]) || (m.minOptionGear = t.range[0]), ["", null].includes(t.range[1]) || (m.maxOptionGear = t.range[1]);
|
|
2014
2200
|
break;
|
|
2015
2201
|
}
|
|
2016
|
-
}), Object.keys(m).length && (
|
|
2202
|
+
}), Object.keys(m).length && (p.searchOptionDto = m);
|
|
2017
2203
|
}
|
|
2018
|
-
return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green",
|
|
2204
|
+
return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green", p), p;
|
|
2019
2205
|
},
|
|
2020
2206
|
// 重置函数
|
|
2021
2207
|
reset: () => {
|
|
2022
|
-
|
|
2208
|
+
i.value = {
|
|
2023
2209
|
// 品种市场
|
|
2024
2210
|
varietyMarket: null,
|
|
2025
2211
|
// 常用选项
|
|
@@ -2038,25 +2224,25 @@ const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "varie
|
|
|
2038
2224
|
commonIndicator: []
|
|
2039
2225
|
};
|
|
2040
2226
|
}
|
|
2041
|
-
}), (
|
|
2042
|
-
var
|
|
2043
|
-
const
|
|
2044
|
-
return
|
|
2045
|
-
(
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
onClick:
|
|
2227
|
+
}), (v, p) => {
|
|
2228
|
+
var _, h, y, M, w;
|
|
2229
|
+
const S = fe, g = me, l = lt, o = nt;
|
|
2230
|
+
return s(), k("div", Il, [
|
|
2231
|
+
(_ = d.value.varietyMarket) != null && _.show ? (s(), k("div", Vl, [
|
|
2232
|
+
x("div", $l, [
|
|
2233
|
+
wl,
|
|
2234
|
+
x("span", {
|
|
2235
|
+
onClick: p[0] || (p[0] = (a) => L("varietyMarket"))
|
|
2050
2236
|
}, "不限")
|
|
2051
2237
|
]),
|
|
2052
|
-
|
|
2053
|
-
modelValue:
|
|
2054
|
-
"onUpdate:modelValue":
|
|
2238
|
+
u(g, {
|
|
2239
|
+
modelValue: i.value.varietyMarket,
|
|
2240
|
+
"onUpdate:modelValue": p[1] || (p[1] = (a) => i.value.varietyMarket = a),
|
|
2055
2241
|
size: "small"
|
|
2056
2242
|
}, {
|
|
2057
|
-
default:
|
|
2058
|
-
(
|
|
2059
|
-
label:
|
|
2243
|
+
default: f(() => [
|
|
2244
|
+
(s(!0), k(T, null, F(O.value, ({ label: a, value: $ }) => (s(), C(S, {
|
|
2245
|
+
label: a,
|
|
2060
2246
|
value: $,
|
|
2061
2247
|
key: $
|
|
2062
2248
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -2064,21 +2250,21 @@ const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "varie
|
|
|
2064
2250
|
_: 1
|
|
2065
2251
|
}, 8, ["modelValue"])
|
|
2066
2252
|
])) : q("", !0),
|
|
2067
|
-
(
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
onClick:
|
|
2253
|
+
(h = d.value.commonOption) != null && h.show && e.value.length ? (s(), k("div", Cl, [
|
|
2254
|
+
x("div", Tl, [
|
|
2255
|
+
Sl,
|
|
2256
|
+
x("span", {
|
|
2257
|
+
onClick: p[2] || (p[2] = (a) => L("commonOption"))
|
|
2072
2258
|
}, "不限")
|
|
2073
2259
|
]),
|
|
2074
|
-
|
|
2075
|
-
modelValue:
|
|
2076
|
-
"onUpdate:modelValue":
|
|
2260
|
+
u(o, {
|
|
2261
|
+
modelValue: i.value.commonOption,
|
|
2262
|
+
"onUpdate:modelValue": p[3] || (p[3] = (a) => i.value.commonOption = a),
|
|
2077
2263
|
size: "small"
|
|
2078
2264
|
}, {
|
|
2079
|
-
default:
|
|
2080
|
-
(
|
|
2081
|
-
label:
|
|
2265
|
+
default: f(() => [
|
|
2266
|
+
(s(!0), k(T, null, F(e.value, ({ label: a, value: $ }) => (s(), C(l, {
|
|
2267
|
+
label: a,
|
|
2082
2268
|
value: $,
|
|
2083
2269
|
key: $
|
|
2084
2270
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -2086,21 +2272,21 @@ const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "varie
|
|
|
2086
2272
|
_: 1
|
|
2087
2273
|
}, 8, ["modelValue"])
|
|
2088
2274
|
])) : q("", !0),
|
|
2089
|
-
(
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
onClick:
|
|
2275
|
+
(y = d.value.marketIds) != null && y.show && E.value.length ? (s(), k("div", Ml, [
|
|
2276
|
+
x("div", Ul, [
|
|
2277
|
+
El,
|
|
2278
|
+
x("span", {
|
|
2279
|
+
onClick: p[4] || (p[4] = (a) => L("marketIds"))
|
|
2094
2280
|
}, "不限")
|
|
2095
2281
|
]),
|
|
2096
|
-
|
|
2097
|
-
modelValue:
|
|
2098
|
-
"onUpdate:modelValue":
|
|
2282
|
+
u(o, {
|
|
2283
|
+
modelValue: i.value.marketIds,
|
|
2284
|
+
"onUpdate:modelValue": p[5] || (p[5] = (a) => i.value.marketIds = a),
|
|
2099
2285
|
size: "small"
|
|
2100
2286
|
}, {
|
|
2101
|
-
default:
|
|
2102
|
-
(
|
|
2103
|
-
label:
|
|
2287
|
+
default: f(() => [
|
|
2288
|
+
(s(!0), k(T, null, F(E.value, ({ label: a, value: $ }) => (s(), C(l, {
|
|
2289
|
+
label: a,
|
|
2104
2290
|
value: $,
|
|
2105
2291
|
key: $
|
|
2106
2292
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -2108,21 +2294,21 @@ const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "varie
|
|
|
2108
2294
|
_: 1
|
|
2109
2295
|
}, 8, ["modelValue"])
|
|
2110
2296
|
])) : q("", !0),
|
|
2111
|
-
(
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
onClick:
|
|
2297
|
+
(M = d.value.customTag) != null && M.show && D.value.length ? (s(), k("div", ql, [
|
|
2298
|
+
x("div", Dl, [
|
|
2299
|
+
Ll,
|
|
2300
|
+
x("span", {
|
|
2301
|
+
onClick: p[6] || (p[6] = (a) => L("customTag"))
|
|
2116
2302
|
}, "不限")
|
|
2117
2303
|
]),
|
|
2118
|
-
|
|
2119
|
-
modelValue:
|
|
2120
|
-
"onUpdate:modelValue":
|
|
2304
|
+
u(o, {
|
|
2305
|
+
modelValue: i.value.customTag,
|
|
2306
|
+
"onUpdate:modelValue": p[7] || (p[7] = (a) => i.value.customTag = a),
|
|
2121
2307
|
size: "small"
|
|
2122
2308
|
}, {
|
|
2123
|
-
default:
|
|
2124
|
-
(
|
|
2125
|
-
label:
|
|
2309
|
+
default: f(() => [
|
|
2310
|
+
(s(!0), k(T, null, F(D.value, ({ label: a, value: $ }) => (s(), C(l, {
|
|
2311
|
+
label: a,
|
|
2126
2312
|
value: $,
|
|
2127
2313
|
key: $
|
|
2128
2314
|
}, null, 8, ["label", "value"]))), 128))
|
|
@@ -2130,34 +2316,34 @@ const X = (s) => (fe("data-v-afc8efda"), s = s(), ge(), s), $n = { class: "varie
|
|
|
2130
2316
|
_: 1
|
|
2131
2317
|
}, 8, ["modelValue"])
|
|
2132
2318
|
])) : q("", !0),
|
|
2133
|
-
(
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
onClick:
|
|
2319
|
+
(w = d.value.factorScreen) != null && w.show ? (s(), k("div", Fl, [
|
|
2320
|
+
x("div", zl, [
|
|
2321
|
+
Nl,
|
|
2322
|
+
x("span", {
|
|
2323
|
+
onClick: p[8] || (p[8] = (a) => L("factorScreen"))
|
|
2138
2324
|
}, "不限")
|
|
2139
2325
|
]),
|
|
2140
|
-
|
|
2141
|
-
data:
|
|
2142
|
-
"onUpdate:data":
|
|
2143
|
-
config:
|
|
2326
|
+
u(el, {
|
|
2327
|
+
data: i.value.factorScreen,
|
|
2328
|
+
"onUpdate:data": p[9] || (p[9] = (a) => i.value.factorScreen = a),
|
|
2329
|
+
config: d.value.factorScreen
|
|
2144
2330
|
}, null, 8, ["data", "config"])
|
|
2145
2331
|
])) : q("", !0),
|
|
2146
|
-
|
|
2147
|
-
data:
|
|
2148
|
-
"onUpdate:data":
|
|
2149
|
-
varietyMarket:
|
|
2150
|
-
commonOption:
|
|
2151
|
-
config:
|
|
2332
|
+
u(Ol, {
|
|
2333
|
+
data: i.value.commonIndicator,
|
|
2334
|
+
"onUpdate:data": p[10] || (p[10] = (a) => i.value.commonIndicator = a),
|
|
2335
|
+
varietyMarket: i.value.varietyMarket,
|
|
2336
|
+
commonOption: i.value.commonOption,
|
|
2337
|
+
config: d.value.commonIndicator
|
|
2152
2338
|
}, null, 8, ["data", "varietyMarket", "commonOption", "config"])
|
|
2153
2339
|
]);
|
|
2154
2340
|
};
|
|
2155
2341
|
}
|
|
2156
|
-
},
|
|
2157
|
-
install(
|
|
2158
|
-
|
|
2342
|
+
}, Pl = /* @__PURE__ */ ke(Rl, [["__scopeId", "data-v-3d6e5358"]]), gn = {
|
|
2343
|
+
install(r) {
|
|
2344
|
+
r.component("st-varietySearch", Pl);
|
|
2159
2345
|
}
|
|
2160
2346
|
};
|
|
2161
2347
|
export {
|
|
2162
|
-
|
|
2348
|
+
gn as default
|
|
2163
2349
|
};
|