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