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