st-comp 0.0.166 → 0.0.167

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.
@@ -1,30 +1,28 @@
1
- import { k as ie, a as Re, v as Ue, s as qe, A as Me, u as ke, _ as he, f as nl, w as ol, p as ze } from "./base-4bcd2756.js";
1
+ import { k as ie, a as Se, v as Ce, s as Ee, A as Re, u as fe, _ as ye, f as We, w as Xe, p as qe } from "./base-4bcd2756.js";
2
2
  import "./el-tag-6036f51c.js";
3
- import { E as de, a as ce } from "./el-select-d3bce4d1.js";
3
+ import { E as ge, a as be } from "./el-select-d3bce4d1.js";
4
4
  import "./el-scrollbar-bcf29780.js";
5
- import { u as ul, E as je } from "./el-popper-85365d5b.js";
6
- import { E as sl } from "./el-checkbox-group-779f353a.js";
7
- import { b as rl, c as il, E as dl, a as cl } from "./el-table-column-9691b26d.js";
8
- import { ref as G, inject as Ve, computed as Q, defineComponent as ee, openBlock as a, createElementBlock as y, normalizeClass as W, unref as V, createElementVNode as b, withDirectives as pe, isRef as Ne, withModifiers as re, vModelRadio as Pe, renderSlot as xe, createTextVNode as D, toDisplayString as A, nextTick as $e, normalizeStyle as Oe, onMounted as Be, provide as pl, reactive as vl, toRefs as ml, watch as ne, mergeModels as ve, useModel as me, createBlock as z, withCtx as d, createVNode as t, createCommentVNode as M, Fragment as U, renderList as P, vShow as Ge, pushScopeId as fe, popScopeId as ye, createSlots as be } from "vue";
9
- import { E as Ie } from "./el-dialog-f45ec2a1.js";
5
+ import { u as el, E as ll } from "./el-popper-85365d5b.js";
6
+ import { E as tl } from "./el-checkbox-group-779f353a.js";
7
+ import { b as al, c as nl, E as ol, a as ul } from "./el-table-column-9691b26d.js";
8
+ import { ref as H, inject as rl, computed as A, defineComponent as le, openBlock as u, createElementBlock as g, normalizeClass as X, unref as b, createElementVNode as _, withDirectives as ke, isRef as De, withModifiers as se, vModelRadio as Fe, renderSlot as _e, createTextVNode as E, toDisplayString as K, nextTick as Ve, normalizeStyle as Le, onMounted as sl, provide as il, reactive as dl, toRefs as cl, watch as oe, mergeModels as de, useModel as ce, createBlock as L, withCtx as d, createVNode as t, resolveComponent as pl, Fragment as R, createCommentVNode as F, renderList as z, pushScopeId as xe, popScopeId as he, createSlots as ve, vShow as vl } from "vue";
9
+ import { E as Oe } from "./el-dialog-f45ec2a1.js";
10
10
  import "./el-overlay-690b50aa.js";
11
- import { E as fl, a as yl } from "./el-form-item-b31e7a98.js";
12
- import { E as we } from "./el-input-42315ac4.js";
13
- import { E as Ye } from "./el-input-number-ebd64e22.js";
11
+ import { E as ml, a as fl } from "./el-form-item-b31e7a98.js";
12
+ import { E as je } from "./el-input-42315ac4.js";
13
+ import { E as ze } from "./el-input-number-ebd64e22.js";
14
14
  import "./el-tooltip-4ed993c7.js";
15
- import { E as Te } from "./el-button-d39472d3.js";
16
- import { c as gl, i as Ae, E as Je, p as _e, j as bl } from "./index-3425f2f0.js";
17
- import { E as _l, i as Fe } from "./el-autocomplete-5064d466.js";
18
- import { V as kl } from "./index-7ed0999e.js";
19
- import { _ as oe } from "./_plugin-vue_export-helper-dad06003.js";
20
- import { E as K } from "./el-message-bd1d2c82.js";
21
- import { _ as hl } from "./index.vue_vue_type_script_setup_true_lang-745718ff.js";
22
- import { E as Ke } from "./index-d3c37134.js";
23
- import { E as Vl } from "./index-8ee89b40.js";
24
- import { f as Qe, b as xl, d as $l, u as Ol, c as Il } from "./use-form-common-props-54c31983.js";
25
- import { U as Se, C as wl } from "./index-21fb27eb.js";
26
- import { u as Tl } from "./index-c45ac024.js";
27
- import { u as Sl } from "./index-ef7c4392.js";
15
+ import { E as Ne } from "./el-button-d39472d3.js";
16
+ import { p as me, i as yl, j as gl, E as bl } from "./index-3425f2f0.js";
17
+ import { _ as kl } from "./index.vue_vue_type_script_setup_true_lang-745718ff.js";
18
+ import { E as J } from "./el-message-bd1d2c82.js";
19
+ import { _ as $e } from "./_plugin-vue_export-helper-dad06003.js";
20
+ import { E as Pe } from "./index-d3c37134.js";
21
+ import { E as _l } from "./index-8ee89b40.js";
22
+ import { f as Be, b as Vl, d as xl, u as hl, c as Ol } from "./use-form-common-props-54c31983.js";
23
+ import { U as Ie, C as $l } from "./index-21fb27eb.js";
24
+ import { u as Il } from "./index-c45ac024.js";
25
+ import { u as wl } from "./index-ef7c4392.js";
28
26
  import "./castArray-681d750b.js";
29
27
  import "./index-fbe85773.js";
30
28
  import "./scroll-0277d145.js";
@@ -35,15 +33,14 @@ import "./raf-36faa519.js";
35
33
  import "./vnode-dfc92f20.js";
36
34
  import "./typescript-7ae59c4c.js";
37
35
  import "./index-657047bb.js";
38
- import "./_commonjsHelpers-10dfc225.js";
39
36
  import "./config-provider-93846ae3.js";
40
37
  import "./dropdown-65e74de8.js";
41
- const He = ie({
38
+ const Ge = ie({
42
39
  modelValue: {
43
40
  type: [String, Number, Boolean],
44
41
  default: void 0
45
42
  },
46
- size: Qe,
43
+ size: Be,
47
44
  disabled: Boolean,
48
45
  label: {
49
46
  type: [String, Number, Boolean],
@@ -57,166 +54,166 @@ const He = ie({
57
54
  type: String,
58
55
  default: void 0
59
56
  }
60
- }), Cl = ie({
61
- ...He,
57
+ }), Tl = ie({
58
+ ...Ge,
62
59
  border: Boolean
63
- }), Ze = {
64
- [Se]: (g) => Re(g) || Ue(g) || qe(g),
65
- [wl]: (g) => Re(g) || Ue(g) || qe(g)
66
- }, We = Symbol("radioGroupKey"), Xe = (g, S) => {
67
- const I = G(), r = Ve(We, void 0), k = Q(() => !!r), q = Q(() => Me(g.value) ? g.label : g.value), R = Q({
60
+ }), Ye = {
61
+ [Ie]: (f) => Se(f) || Ce(f) || Ee(f),
62
+ [$l]: (f) => Se(f) || Ce(f) || Ee(f)
63
+ }, Je = Symbol("radioGroupKey"), Ae = (f, T) => {
64
+ const h = H(), s = rl(Je, void 0), V = A(() => !!s), U = A(() => Re(f.value) ? f.label : f.value), C = A({
68
65
  get() {
69
- return k.value ? r.modelValue : g.modelValue;
66
+ return V.value ? s.modelValue : f.modelValue;
70
67
  },
71
- set(v) {
72
- k.value ? r.changeEvent(v) : S && S(Se, v), I.value.checked = g.modelValue === q.value;
68
+ set(m) {
69
+ V.value ? s.changeEvent(m) : T && T(Ie, m), h.value.checked = f.modelValue === U.value;
73
70
  }
74
- }), w = xl(Q(() => r == null ? void 0 : r.size)), _ = $l(Q(() => r == null ? void 0 : r.disabled)), e = G(!1), F = Q(() => _.value || k.value && R.value !== q.value ? -1 : 0);
75
- return Tl({
71
+ }), S = Vl(A(() => s == null ? void 0 : s.size)), k = xl(A(() => s == null ? void 0 : s.disabled)), e = H(!1), P = A(() => k.value || V.value && C.value !== U.value ? -1 : 0);
72
+ return Il({
76
73
  from: "label act as value",
77
74
  replacement: "value",
78
75
  version: "3.0.0",
79
76
  scope: "el-radio",
80
77
  ref: "https://element-plus.org/en-US/component/radio.html"
81
- }, Q(() => k.value && Me(g.value))), {
82
- radioRef: I,
83
- isGroup: k,
84
- radioGroup: r,
78
+ }, A(() => V.value && Re(f.value))), {
79
+ radioRef: h,
80
+ isGroup: V,
81
+ radioGroup: s,
85
82
  focus: e,
86
- size: w,
87
- disabled: _,
88
- tabIndex: F,
89
- modelValue: R,
90
- actualValue: q
83
+ size: S,
84
+ disabled: k,
85
+ tabIndex: P,
86
+ modelValue: C,
87
+ actualValue: U
91
88
  };
92
- }, El = ee({
89
+ }, Sl = le({
93
90
  name: "ElRadio"
94
- }), Rl = /* @__PURE__ */ ee({
95
- ...El,
96
- props: Cl,
97
- emits: Ze,
98
- setup(g, { emit: S }) {
99
- const I = g, r = ke("radio"), { radioRef: k, radioGroup: q, focus: R, size: w, disabled: _, modelValue: e, actualValue: F } = Xe(I, S);
100
- function v() {
101
- $e(() => S("change", e.value));
91
+ }), Cl = /* @__PURE__ */ le({
92
+ ...Sl,
93
+ props: Tl,
94
+ emits: Ye,
95
+ setup(f, { emit: T }) {
96
+ const h = f, s = fe("radio"), { radioRef: V, radioGroup: U, focus: C, size: S, disabled: k, modelValue: e, actualValue: P } = Ae(h, T);
97
+ function m() {
98
+ Ve(() => T("change", e.value));
102
99
  }
103
- return (s, L) => {
104
- var C;
105
- return a(), y("label", {
106
- class: W([
107
- V(r).b(),
108
- V(r).is("disabled", V(_)),
109
- V(r).is("focus", V(R)),
110
- V(r).is("bordered", s.border),
111
- V(r).is("checked", V(e) === V(F)),
112
- V(r).m(V(w))
100
+ return (i, M) => {
101
+ var j;
102
+ return u(), g("label", {
103
+ class: X([
104
+ b(s).b(),
105
+ b(s).is("disabled", b(k)),
106
+ b(s).is("focus", b(C)),
107
+ b(s).is("bordered", i.border),
108
+ b(s).is("checked", b(e) === b(P)),
109
+ b(s).m(b(S))
113
110
  ])
114
111
  }, [
115
- b("span", {
116
- class: W([
117
- V(r).e("input"),
118
- V(r).is("disabled", V(_)),
119
- V(r).is("checked", V(e) === V(F))
112
+ _("span", {
113
+ class: X([
114
+ b(s).e("input"),
115
+ b(s).is("disabled", b(k)),
116
+ b(s).is("checked", b(e) === b(P))
120
117
  ])
121
118
  }, [
122
- pe(b("input", {
119
+ ke(_("input", {
123
120
  ref_key: "radioRef",
124
- ref: k,
125
- "onUpdate:modelValue": (E) => Ne(e) ? e.value = E : null,
126
- class: W(V(r).e("original")),
127
- value: V(F),
128
- name: s.name || ((C = V(q)) == null ? void 0 : C.name),
129
- disabled: V(_),
130
- checked: V(e) === V(F),
121
+ ref: V,
122
+ "onUpdate:modelValue": (N) => De(e) ? e.value = N : null,
123
+ class: X(b(s).e("original")),
124
+ value: b(P),
125
+ name: i.name || ((j = b(U)) == null ? void 0 : j.name),
126
+ disabled: b(k),
127
+ checked: b(e) === b(P),
131
128
  type: "radio",
132
- onFocus: (E) => R.value = !0,
133
- onBlur: (E) => R.value = !1,
134
- onChange: v,
135
- onClick: re(() => {
129
+ onFocus: (N) => C.value = !0,
130
+ onBlur: (N) => C.value = !1,
131
+ onChange: m,
132
+ onClick: se(() => {
136
133
  }, ["stop"])
137
134
  }, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "checked", "onFocus", "onBlur", "onClick"]), [
138
- [Pe, V(e)]
135
+ [Fe, b(e)]
139
136
  ]),
140
- b("span", {
141
- class: W(V(r).e("inner"))
137
+ _("span", {
138
+ class: X(b(s).e("inner"))
142
139
  }, null, 2)
143
140
  ], 2),
144
- b("span", {
145
- class: W(V(r).e("label")),
146
- onKeydown: re(() => {
141
+ _("span", {
142
+ class: X(b(s).e("label")),
143
+ onKeydown: se(() => {
147
144
  }, ["stop"])
148
145
  }, [
149
- xe(s.$slots, "default", {}, () => [
150
- D(A(s.label), 1)
146
+ _e(i.$slots, "default", {}, () => [
147
+ E(K(i.label), 1)
151
148
  ])
152
149
  ], 42, ["onKeydown"])
153
150
  ], 2);
154
151
  };
155
152
  }
156
153
  });
157
- var Ul = /* @__PURE__ */ he(Rl, [["__file", "radio.vue"]]);
158
- const ql = ie({
159
- ...He
160
- }), Ml = ee({
154
+ var El = /* @__PURE__ */ ye(Cl, [["__file", "radio.vue"]]);
155
+ const Rl = ie({
156
+ ...Ge
157
+ }), Ul = le({
161
158
  name: "ElRadioButton"
162
- }), Fl = /* @__PURE__ */ ee({
163
- ...Ml,
164
- props: ql,
165
- setup(g) {
166
- const S = g, I = ke("radio"), { radioRef: r, focus: k, size: q, disabled: R, modelValue: w, radioGroup: _, actualValue: e } = Xe(S), F = Q(() => ({
167
- backgroundColor: (_ == null ? void 0 : _.fill) || "",
168
- borderColor: (_ == null ? void 0 : _.fill) || "",
169
- boxShadow: _ != null && _.fill ? `-1px 0 0 0 ${_.fill}` : "",
170
- color: (_ == null ? void 0 : _.textColor) || ""
159
+ }), Ml = /* @__PURE__ */ le({
160
+ ...Ul,
161
+ props: Rl,
162
+ setup(f) {
163
+ const T = f, h = fe("radio"), { radioRef: s, focus: V, size: U, disabled: C, modelValue: S, radioGroup: k, actualValue: e } = Ae(T), P = A(() => ({
164
+ backgroundColor: (k == null ? void 0 : k.fill) || "",
165
+ borderColor: (k == null ? void 0 : k.fill) || "",
166
+ boxShadow: k != null && k.fill ? `-1px 0 0 0 ${k.fill}` : "",
167
+ color: (k == null ? void 0 : k.textColor) || ""
171
168
  }));
172
- return (v, s) => {
173
- var L;
174
- return a(), y("label", {
175
- class: W([
176
- V(I).b("button"),
177
- V(I).is("active", V(w) === V(e)),
178
- V(I).is("disabled", V(R)),
179
- V(I).is("focus", V(k)),
180
- V(I).bm("button", V(q))
169
+ return (m, i) => {
170
+ var M;
171
+ return u(), g("label", {
172
+ class: X([
173
+ b(h).b("button"),
174
+ b(h).is("active", b(S) === b(e)),
175
+ b(h).is("disabled", b(C)),
176
+ b(h).is("focus", b(V)),
177
+ b(h).bm("button", b(U))
181
178
  ])
182
179
  }, [
183
- pe(b("input", {
180
+ ke(_("input", {
184
181
  ref_key: "radioRef",
185
- ref: r,
186
- "onUpdate:modelValue": (C) => Ne(w) ? w.value = C : null,
187
- class: W(V(I).be("button", "original-radio")),
188
- value: V(e),
182
+ ref: s,
183
+ "onUpdate:modelValue": (j) => De(S) ? S.value = j : null,
184
+ class: X(b(h).be("button", "original-radio")),
185
+ value: b(e),
189
186
  type: "radio",
190
- name: v.name || ((L = V(_)) == null ? void 0 : L.name),
191
- disabled: V(R),
192
- onFocus: (C) => k.value = !0,
193
- onBlur: (C) => k.value = !1,
194
- onClick: re(() => {
187
+ name: m.name || ((M = b(k)) == null ? void 0 : M.name),
188
+ disabled: b(C),
189
+ onFocus: (j) => V.value = !0,
190
+ onBlur: (j) => V.value = !1,
191
+ onClick: se(() => {
195
192
  }, ["stop"])
196
193
  }, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
197
- [Pe, V(w)]
194
+ [Fe, b(S)]
198
195
  ]),
199
- b("span", {
200
- class: W(V(I).be("button", "inner")),
201
- style: Oe(V(w) === V(e) ? V(F) : {}),
202
- onKeydown: re(() => {
196
+ _("span", {
197
+ class: X(b(h).be("button", "inner")),
198
+ style: Le(b(S) === b(e) ? b(P) : {}),
199
+ onKeydown: se(() => {
203
200
  }, ["stop"])
204
201
  }, [
205
- xe(v.$slots, "default", {}, () => [
206
- D(A(v.label), 1)
202
+ _e(m.$slots, "default", {}, () => [
203
+ E(K(m.label), 1)
207
204
  ])
208
205
  ], 46, ["onKeydown"])
209
206
  ], 2);
210
207
  };
211
208
  }
212
209
  });
213
- var el = /* @__PURE__ */ he(Fl, [["__file", "radio-button.vue"]]);
214
- const Ll = ie({
210
+ var Ke = /* @__PURE__ */ ye(Ml, [["__file", "radio-button.vue"]]);
211
+ const ql = ie({
215
212
  id: {
216
213
  type: String,
217
214
  default: void 0
218
215
  },
219
- size: Qe,
216
+ size: Be,
220
217
  disabled: Boolean,
221
218
  modelValue: {
222
219
  type: [String, Number, Boolean],
@@ -238,49 +235,49 @@ const Ll = ie({
238
235
  type: Boolean,
239
236
  default: !0
240
237
  },
241
- ...ul(["ariaLabel"])
242
- }), Dl = Ze, zl = ee({
238
+ ...el(["ariaLabel"])
239
+ }), Dl = Ye, Fl = le({
243
240
  name: "ElRadioGroup"
244
- }), jl = /* @__PURE__ */ ee({
245
- ...zl,
246
- props: Ll,
241
+ }), Ll = /* @__PURE__ */ le({
242
+ ...Fl,
243
+ props: ql,
247
244
  emits: Dl,
248
- setup(g, { emit: S }) {
249
- const I = g, r = ke("radio"), k = Sl(), q = G(), { formItem: R } = Ol(), { inputId: w, isLabeledByFormItem: _ } = Il(I, {
250
- formItemContext: R
251
- }), e = (v) => {
252
- S(Se, v), $e(() => S("change", v));
245
+ setup(f, { emit: T }) {
246
+ const h = f, s = fe("radio"), V = wl(), U = H(), { formItem: C } = hl(), { inputId: S, isLabeledByFormItem: k } = Ol(h, {
247
+ formItemContext: C
248
+ }), e = (m) => {
249
+ T(Ie, m), Ve(() => T("change", m));
253
250
  };
254
- Be(() => {
255
- const v = q.value.querySelectorAll("[type=radio]"), s = v[0];
256
- !Array.from(v).some((L) => L.checked) && s && (s.tabIndex = 0);
251
+ sl(() => {
252
+ const m = U.value.querySelectorAll("[type=radio]"), i = m[0];
253
+ !Array.from(m).some((M) => M.checked) && i && (i.tabIndex = 0);
257
254
  });
258
- const F = Q(() => I.name || k.value);
259
- return pl(We, vl({
260
- ...ml(I),
255
+ const P = A(() => h.name || V.value);
256
+ return il(Je, dl({
257
+ ...cl(h),
261
258
  changeEvent: e,
262
- name: F
263
- })), ne(() => I.modelValue, () => {
264
- I.validateEvent && (R == null || R.validate("change").catch((v) => nl(v)));
265
- }), (v, s) => (a(), y("div", {
266
- id: V(w),
259
+ name: P
260
+ })), oe(() => h.modelValue, () => {
261
+ h.validateEvent && (C == null || C.validate("change").catch((m) => We(m)));
262
+ }), (m, i) => (u(), g("div", {
263
+ id: b(S),
267
264
  ref_key: "radioGroupRef",
268
- ref: q,
269
- class: W(V(r).b("group")),
265
+ ref: U,
266
+ class: X(b(s).b("group")),
270
267
  role: "radiogroup",
271
- "aria-label": V(_) ? void 0 : v.ariaLabel || "radio-group",
272
- "aria-labelledby": V(_) ? V(R).labelId : void 0
268
+ "aria-label": b(k) ? void 0 : m.ariaLabel || "radio-group",
269
+ "aria-labelledby": b(k) ? b(C).labelId : void 0
273
270
  }, [
274
- xe(v.$slots, "default")
271
+ _e(m.$slots, "default")
275
272
  ], 10, ["id", "aria-label", "aria-labelledby"]));
276
273
  }
277
274
  });
278
- var ll = /* @__PURE__ */ he(jl, [["__file", "radio-group.vue"]]);
279
- const Ce = ol(Ul, {
280
- RadioButton: el,
281
- RadioGroup: ll
282
- }), Ee = ze(ll), tl = ze(el);
283
- const Le = {
275
+ var Qe = /* @__PURE__ */ ye(Ll, [["__file", "radio-group.vue"]]);
276
+ const we = Xe(El, {
277
+ RadioButton: Ke,
278
+ RadioGroup: Qe
279
+ }), Te = qe(Qe), Ze = qe(Ke);
280
+ const Ue = {
284
281
  // 品种市场 [选项: 预警字典1000]
285
282
  varietyMarket: {
286
283
  show: !0,
@@ -887,49 +884,49 @@ const Le = {
887
884
  ]
888
885
  }
889
886
  };
890
- const Nl = (g, S, I) => {
891
- !S[0] && S[0] !== 0 && !S[1] && S[1] !== 0 ? I(new Error("至少填写一个分数")) : I();
892
- }, De = (g) => {
893
- const S = /(条件(\d+))/g;
894
- return g.match(S) || [];
895
- }, Pl = {
887
+ const jl = (f, T, h) => {
888
+ !T[0] && T[0] !== 0 && !T[1] && T[1] !== 0 ? h(new Error("至少填写一个分数")) : h();
889
+ }, Me = (f) => {
890
+ const T = /(条件(\d+))/g;
891
+ return f.match(T) || [];
892
+ }, zl = {
896
893
  __name: "FactorDescription",
897
- props: /* @__PURE__ */ ve({
894
+ props: /* @__PURE__ */ de({
898
895
  data: { type: Array, default: [] }
899
896
  }, {
900
897
  visible: { default: !1 },
901
898
  visibleModifiers: {}
902
899
  }),
903
900
  emits: ["update:visible"],
904
- setup(g) {
905
- const S = me(g, "visible");
906
- return (I, r) => {
907
- const k = rl, q = il, R = Ie;
908
- return a(), z(R, {
909
- modelValue: S.value,
910
- "onUpdate:modelValue": r[0] || (r[0] = (w) => S.value = w),
901
+ setup(f) {
902
+ const T = ce(f, "visible");
903
+ return (h, s) => {
904
+ const V = al, U = nl, C = Oe;
905
+ return u(), L(C, {
906
+ modelValue: T.value,
907
+ "onUpdate:modelValue": s[0] || (s[0] = (S) => T.value = S),
911
908
  title: "因子使用说明",
912
909
  width: "1000",
913
910
  "align-center": "",
914
911
  "destroy-on-close": ""
915
912
  }, {
916
913
  default: d(() => [
917
- t(q, {
918
- data: g.data,
914
+ t(U, {
915
+ data: f.data,
919
916
  border: "",
920
917
  height: "500"
921
918
  }, {
922
919
  default: d(() => [
923
- t(k, {
920
+ t(V, {
924
921
  prop: "factorName",
925
922
  label: "因子名称",
926
923
  width: "200"
927
924
  }),
928
- t(k, {
925
+ t(V, {
929
926
  prop: "factorDesc",
930
927
  label: "因子说明"
931
928
  }),
932
- t(k, {
929
+ t(V, {
933
930
  prop: "factorScoreDefine",
934
931
  label: "分值定义"
935
932
  })
@@ -942,266 +939,12 @@ const Nl = (g, S, I) => {
942
939
  };
943
940
  }
944
941
  };
945
- const Bl = { class: "variety-auto-complete" }, Gl = { key: 0 }, Yl = { class: "label" }, Al = {
946
- __name: "VarietySelect",
947
- props: {
948
- size: { type: String, default: "default" },
949
- placeholder: { type: String, default: "请输入品种名称或代码" },
950
- labelShowEnable: { type: Boolean, default: !0 },
951
- // 是否开启展示label
952
- selectClearEnable: { type: Boolean, default: !0 }
953
- // 是否开启选择回调后清除输入框值
954
- },
955
- emits: ["select", "change"],
956
- setup(g, { emit: S }) {
957
- const I = Ve("stConfig"), r = S, k = g, q = G(""), R = async (e, F) => {
958
- if (e === "" || e === "null")
959
- F([]);
960
- else {
961
- const v = {
962
- keyWord: e,
963
- pageNum: 1,
964
- pageSize: 999,
965
- userId: kl("id"),
966
- hotSearchFlag: 1
967
- }, { body: s } = await I.request.post("/common/qt/getFeatureInfosByPage", v), L = s.list.map(({ code: C, featureName: E }) => ({
968
- label: `${C}   ${E}`,
969
- value: C
970
- }));
971
- F(L);
972
- }
973
- }, w = ({ label: e, value: F }) => {
974
- const v = e.split(" ").at(-1);
975
- r("select", { name: v, code: F }), k.selectClearEnable && (q.value = "");
976
- }, _ = (e) => {
977
- r("change", e);
978
- };
979
- return (e, F) => {
980
- const v = _l;
981
- return a(), y("div", Bl, [
982
- g.labelShowEnable ? (a(), y("span", Gl, "品种搜索:")) : M("", !0),
983
- t(v, {
984
- modelValue: q.value,
985
- "onUpdate:modelValue": F[0] || (F[0] = (s) => q.value = s),
986
- clearable: "",
987
- size: k.size,
988
- placeholder: k.placeholder,
989
- "fetch-suggestions": R,
990
- onSelect: w,
991
- onChange: _
992
- }, {
993
- default: d(({ item: s }) => [
994
- b("div", Yl, A(s.label), 1)
995
- ]),
996
- _: 1
997
- }, 8, ["modelValue", "size", "placeholder"])
998
- ]);
999
- };
1000
- }
1001
- }, Jl = /* @__PURE__ */ oe(Al, [["__scopeId", "data-v-32166a24"]]);
1002
- const Kl = (g) => (fe("data-v-4089bd1f"), g = g(), ye(), g), Ql = { class: "custom-header" }, Hl = { class: "left" }, Zl = /* @__PURE__ */ Kl(() => /* @__PURE__ */ b("span", null, " 选择变量 ", -1)), Wl = { class: "right" }, Xl = { class: "custom-body" }, et = { class: "config-list" }, lt = { class: "config-item" }, tt = { key: 0 }, at = { key: 0 }, nt = { key: 0 }, ot = {
1003
- __name: "ScriptSelect",
1004
- setup(g, { expose: S }) {
1005
- const I = Ve("stConfig"), r = G(null), k = G((window.innerHeight - 542) / 2 - 220 > 0 ? (window.innerHeight - 542) / 2 - 220 : 0), q = G((window.innerWidth - 1e3) / 2 > 0 ? (window.innerWidth - 1e3) / 2 : 0), R = G(null), w = G(!1), _ = G(0), e = G(null), F = G([]), v = Q(() => {
1006
- var C;
1007
- return ((C = F.value.find((E) => E.varName === e.value)) == null ? void 0 : C.formatList) ?? [];
1008
- }), s = (C) => C.replace(/^\[|\]$/g, "").split("],[").map((x) => {
1009
- const l = x.replace(/\[|\]/g, ""), [m, p] = l.split(",");
1010
- return {
1011
- label: m.trim(),
1012
- value: p.trim()
1013
- };
1014
- }), L = (C) => {
1015
- const E = [];
1016
- for (let n = 0; n < C.length; n++) {
1017
- const c = C[n];
1018
- switch (console.log(c), c.vtype) {
1019
- case "text": {
1020
- E.push(c.param);
1021
- break;
1022
- }
1023
- default: {
1024
- if (!c.modelValue)
1025
- return K.error("请检查插入格式内是否填写完整");
1026
- E.push(c.suffix ? `${c.modelValue}${c.suffix}` : `${c.modelValue}`);
1027
- break;
1028
- }
1029
- }
1030
- }
1031
- const B = E.join("_"), x = R.value.getInstance(), l = x.getPosition(), p = R.value.getValue().split(`
1032
- `);
1033
- if (l.lineNumber <= p.length) {
1034
- const n = l.lineNumber - 1, c = p[n], o = c.substring(0, l.column - 1) + B + c.substring(l.column - 1);
1035
- p[n] = o;
1036
- const h = p.join(`
1037
- `);
1038
- R.value.setValue(h);
1039
- const u = l.column + B.length;
1040
- x.setPosition({
1041
- lineNumber: l.lineNumber,
1042
- column: u
1043
- }), x.focus();
1044
- }
1045
- };
1046
- return Be(async () => {
1047
- const { body: C } = await I.request.post("/common/conf/queryAllBackVariables", { useCase: "1" });
1048
- F.value = C;
1049
- }), S({
1050
- open: (C, E) => {
1051
- R.value = C, _.value = E, w.value = !0;
1052
- const B = document.querySelector("body");
1053
- Fe(r.value).draggable({
1054
- allowFrom: ".custom-header",
1055
- // 只有 .custom-header 元素可以触发拖拽
1056
- // 限制拖拽范围
1057
- modifiers: [
1058
- Fe.modifiers.restrictRect({
1059
- restriction: B,
1060
- // 限制在拖拽区域内
1061
- endOnly: !1
1062
- // 实时限制
1063
- })
1064
- ],
1065
- listeners: {
1066
- move(x) {
1067
- q.value -= x.dx, k.value += x.dy;
1068
- }
1069
- }
1070
- });
1071
- },
1072
- close: () => {
1073
- w.value = !1;
1074
- }
1075
- }), (C, E) => {
1076
- const B = de, x = ce, l = Je, m = we, p = Te, n = je;
1077
- return pe((a(), y("div", {
1078
- class: "var-select-dialog",
1079
- ref_key: "dialogRef",
1080
- ref: r,
1081
- style: Oe({ right: `${q.value}px`, top: `${k.value}px`, zIndex: _.value })
1082
- }, [
1083
- b("div", Ql, [
1084
- b("div", Hl, [
1085
- Zl,
1086
- t(x, {
1087
- modelValue: e.value,
1088
- "onUpdate:modelValue": E[0] || (E[0] = (c) => e.value = c),
1089
- placeholder: "选择变量",
1090
- filterable: "",
1091
- clearable: ""
1092
- }, {
1093
- default: d(() => [
1094
- (a(!0), y(U, null, P(F.value, (c, o) => (a(), z(B, {
1095
- key: o,
1096
- label: c.varName,
1097
- value: c.varName
1098
- }, null, 8, ["label", "value"]))), 128))
1099
- ]),
1100
- _: 1
1101
- }, 8, ["modelValue"])
1102
- ]),
1103
- b("div", Wl, [
1104
- t(l, {
1105
- class: "el-icon--left",
1106
- onClick: E[1] || (E[1] = (c) => w.value = !1)
1107
- }, {
1108
- default: d(() => [
1109
- t(V(gl))
1110
- ]),
1111
- _: 1
1112
- })
1113
- ])
1114
- ]),
1115
- b("div", Xl, [
1116
- v.value.length ? (a(!0), y(U, { key: 0 }, P(v.value, (c, o) => (a(), y("div", {
1117
- class: "format-item",
1118
- key: o
1119
- }, [
1120
- b("span", null, "格式" + A(o + 1) + ":", 1),
1121
- b("div", et, [
1122
- (a(!0), y(U, null, P(c.configList, (h, u) => (a(), y(U, null, [
1123
- b("div", lt, [
1124
- h.vtype === "text" ? (a(), y("span", tt, A(h.param), 1)) : M("", !0),
1125
- h.vtype === "inputVariety" ? (a(), z(Jl, {
1126
- key: 1,
1127
- size: "small",
1128
- placeholder: h.param,
1129
- selectClearEnable: !1,
1130
- labelShowEnable: !1,
1131
- onSelect: ({ name: O, code: f }) => h.modelValue = f,
1132
- onChange: (O) => h.modelValue = O,
1133
- style: { width: "100px" }
1134
- }, null, 8, ["placeholder", "onSelect", "onChange"])) : M("", !0),
1135
- h.vtype === "input" ? (a(), y(U, { key: 2 }, [
1136
- t(m, {
1137
- modelValue: h.modelValue,
1138
- "onUpdate:modelValue": (O) => h.modelValue = O,
1139
- placeholder: h.param,
1140
- size: "small"
1141
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
1142
- h.suffix ? (a(), y("span", at, A(h.suffix), 1)) : M("", !0)
1143
- ], 64)) : M("", !0),
1144
- h.vtype === "select" ? (a(), z(x, {
1145
- key: 3,
1146
- modelValue: h.modelValue,
1147
- "onUpdate:modelValue": (O) => h.modelValue = O,
1148
- placeholder: h.param,
1149
- clearable: "",
1150
- size: "small"
1151
- }, {
1152
- default: d(() => [
1153
- (a(!0), y(U, null, P(s(h.optionsStr), (O) => (a(), z(B, {
1154
- key: O.value,
1155
- label: O.label,
1156
- value: O.value
1157
- }, null, 8, ["label", "value"]))), 128))
1158
- ]),
1159
- _: 2
1160
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])) : M("", !0)
1161
- ]),
1162
- u !== c.configList.length - 1 ? (a(), y("span", nt, "_")) : M("", !0)
1163
- ], 64))), 256))
1164
- ]),
1165
- t(p, {
1166
- type: "primary",
1167
- plain: "",
1168
- size: "small",
1169
- onClick: (h) => L(c.configList)
1170
- }, {
1171
- default: d(() => [
1172
- D(" 插入变量 ")
1173
- ]),
1174
- _: 2
1175
- }, 1032, ["onClick"]),
1176
- t(n, {
1177
- effect: "dark",
1178
- content: c.tip,
1179
- placement: "top-start"
1180
- }, {
1181
- default: d(() => [
1182
- t(l, null, {
1183
- default: d(() => [
1184
- t(V(Ae))
1185
- ]),
1186
- _: 1
1187
- })
1188
- ]),
1189
- _: 2
1190
- }, 1032, ["content"])
1191
- ]))), 128)) : M("", !0)
1192
- ])
1193
- ], 4)), [
1194
- [Ge, w.value]
1195
- ]);
1196
- };
1197
- }
1198
- }, ut = /* @__PURE__ */ oe(ot, [["__scopeId", "data-v-4089bd1f"]]);
1199
- const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "factor-screen" }, rt = { style: { "white-space": "pre-line" } }, it = { class: "custom-header" }, dt = ["id"], ct = {
942
+ const He = (f) => (xe("data-v-28dc31e2"), f = f(), he(), f), Nl = { class: "factor-screen" }, Pl = { style: { "white-space": "pre-line" } }, Bl = { class: "custom-header" }, Gl = ["id"], Yl = {
1200
943
  key: 0,
1201
944
  style: { flex: "1", "text-align": "right" }
1202
- }, pt = { class: "form-row" }, vt = { class: "index" }, mt = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, ft = /* @__PURE__ */ al(() => /* @__PURE__ */ b("span", null, "~", -1)), yt = /* @__PURE__ */ al(() => /* @__PURE__ */ b("span", null, "&&代表and,||代表or", -1)), gt = { class: "dialog-footer" }, bt = {
945
+ }, Jl = { class: "form-row" }, Al = { class: "index" }, Kl = { style: { display: "flex", "align-items": "center", width: "100%", height: "24px" } }, Ql = /* @__PURE__ */ He(() => /* @__PURE__ */ _("span", null, "~", -1)), Zl = /* @__PURE__ */ He(() => /* @__PURE__ */ _("span", null, "&&代表and,||代表or", -1)), Hl = { class: "dialog-footer" }, Wl = {
1203
946
  __name: "index",
1204
- props: /* @__PURE__ */ ve({
947
+ props: /* @__PURE__ */ de({
1205
948
  config: {
1206
949
  type: Object,
1207
950
  default: {
@@ -1230,12 +973,12 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1230
973
  dataModifiers: {}
1231
974
  }),
1232
975
  emits: ["update:data"],
1233
- setup(g) {
1234
- const S = g, I = me(g, "data"), r = G(), k = G(), q = G(!1), R = G(!1), w = G("模版"), _ = G(null), e = G({
976
+ setup(f) {
977
+ const T = f, h = ce(f, "data"), s = H(), V = H(), U = H(!1), C = H(!1), S = H("模版"), k = H(null), e = H({
1235
978
  // 筛选因子列表
1236
979
  list: [
1237
980
  {
1238
- cycle: S.config.cycleDefault ?? null,
981
+ cycle: T.config.cycleDefault ?? null,
1239
982
  // 周期
1240
983
  factor: null,
1241
984
  // 因子
@@ -1250,100 +993,100 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1250
993
  // 脚本语句
1251
994
  factorSelectExpr: ""
1252
995
  });
1253
- ne(() => [w.value, q.value], () => {
1254
- (w.value === "模版" || q.value === !1) && k.value.close();
996
+ oe(() => [S.value, U.value], () => {
997
+ (S.value === "模版" || U.value === !1) && V.value.close();
1255
998
  }, { deep: !0 });
1256
- const F = () => {
1257
- const { list: l, sqlEnable: m, sqlValue: p, factorSelectExpr: n } = I.value;
999
+ const P = () => {
1000
+ const { list: l, sqlEnable: v, sqlValue: p, factorSelectExpr: r } = h.value;
1258
1001
  e.value = {
1259
1002
  list: JSON.parse(JSON.stringify(l)),
1260
- sqlEnable: m,
1003
+ sqlEnable: v,
1261
1004
  sqlValue: p,
1262
- factorSelectExpr: n
1263
- }, e.value.list.length || L(), q.value = !0, $e(() => {
1264
- n ? (w.value = "脚本", r.value.setValue(n)) : w.value = "模版", r.value.resize();
1005
+ factorSelectExpr: r
1006
+ }, e.value.list.length || M(), U.value = !0, Ve(() => {
1007
+ r ? (S.value = "脚本", s.value.setValue(r)) : S.value = "模版", s.value.resize();
1265
1008
  });
1266
- }, v = () => {
1267
- if (w.value === "模版")
1268
- _.value.validate((l) => {
1269
- const { list: m, sqlEnable: p, sqlValue: n } = e.value;
1009
+ }, m = () => {
1010
+ if (S.value === "模版")
1011
+ k.value.validate((l) => {
1012
+ const { list: v, sqlEnable: p, sqlValue: r } = e.value;
1270
1013
  if (l) {
1271
1014
  if (p) {
1272
- if (!n)
1273
- return K.error("SQL语句不能为空");
1274
- const c = De(n), o = m.map((u, O) => `条件${O + 1}`), h = c.filter((u) => !o.includes(u));
1275
- if (h.length)
1276
- return K.error(`请检查SQL语句, 不存在[${h}]`);
1015
+ if (!r)
1016
+ return J.error("SQL语句不能为空");
1017
+ const y = Me(r), o = v.map((n, $) => `条件${$ + 1}`), w = y.filter((n) => !o.includes(n));
1018
+ if (w.length)
1019
+ return J.error(`请检查SQL语句, 不存在[${w}]`);
1277
1020
  }
1278
- I.value = {
1279
- list: JSON.parse(JSON.stringify(m)),
1021
+ h.value = {
1022
+ list: JSON.parse(JSON.stringify(v)),
1280
1023
  sqlEnable: p,
1281
- sqlValue: n,
1024
+ sqlValue: r,
1282
1025
  factorSelectExpr: ""
1283
- }, q.value = !1;
1026
+ }, U.value = !1;
1284
1027
  }
1285
1028
  });
1286
1029
  else {
1287
- const l = r.value.getValue();
1030
+ const l = s.value.getValue();
1288
1031
  if (!l)
1289
- return K.error("请输入脚本语句");
1290
- I.value = {
1032
+ return J.error("请输入脚本语句");
1033
+ h.value = {
1291
1034
  list: [],
1292
1035
  sqlEnable: 0,
1293
1036
  sqlValue: null,
1294
1037
  factorSelectExpr: l
1295
- }, q.value = !1;
1038
+ }, U.value = !1;
1296
1039
  }
1297
- }, s = (l) => {
1040
+ }, i = (l) => {
1298
1041
  e.value.list.splice(l, 1);
1299
- }, L = (l) => {
1042
+ }, M = (l) => {
1300
1043
  switch (l) {
1301
1044
  case "compare": {
1302
1045
  e.value.list.push({
1303
1046
  key: "compare",
1304
- cycle: S.config.cycleDefault ?? null,
1047
+ cycle: T.config.cycleDefault ?? null,
1305
1048
  factor: null,
1306
1049
  compareType: ">",
1307
- cycle2: S.config.cycleDefault ?? null,
1050
+ cycle2: T.config.cycleDefault ?? null,
1308
1051
  factor2: null
1309
1052
  });
1310
1053
  break;
1311
1054
  }
1312
1055
  default: {
1313
1056
  e.value.list.push({
1314
- cycle: S.config.cycleDefault ?? null,
1057
+ cycle: T.config.cycleDefault ?? null,
1315
1058
  factor: null,
1316
1059
  score: [null, null]
1317
1060
  });
1318
1061
  break;
1319
1062
  }
1320
1063
  }
1321
- }, C = () => {
1322
- _.value.validate((l) => {
1064
+ }, j = () => {
1065
+ k.value.validate((l) => {
1323
1066
  if (l)
1324
1067
  if (e.value.sqlValue) {
1325
- const m = De(e.value.sqlValue);
1326
- e.value.sqlValue = e.value.list.reduce((p, n, c) => (m.includes(`条件${c + 1}`) || (p += `&& 条件${c + 1} `), p), e.value.sqlValue);
1068
+ const v = Me(e.value.sqlValue);
1069
+ e.value.sqlValue = e.value.list.reduce((p, r, y) => (v.includes(`条件${y + 1}`) || (p += `&& 条件${y + 1} `), p), e.value.sqlValue);
1327
1070
  } else
1328
- e.value.sqlValue = e.value.list.reduce((m, p, n) => (n === 0 ? m += `条件${n + 1} ` : m += `&& 条件${n + 1} `, m), "");
1071
+ e.value.sqlValue = e.value.list.reduce((v, p, r) => (r === 0 ? v += `条件${r + 1} ` : v += `&& 条件${r + 1} `, v), "");
1329
1072
  });
1330
- }, E = (l) => {
1073
+ }, N = (l) => {
1331
1074
  switch (l.key) {
1332
1075
  case "compare": {
1333
- const { cycle: m, factor: p, compareType: n, cycle2: c, factor2: o } = l;
1334
- let h = "";
1335
- return h += ` ${S.config.cycleOptions.find(({ value: u }) => u === m).label}`, h += ` ${S.config.factorOptions.find(({ value: u }) => u === p).label}`, h += ` ${n}`, h += ` ${S.config.cycleOptions.find(({ value: u }) => u === c).label}`, h += ` ${S.config.factorOptions.find(({ value: u }) => u === o).label}`, h;
1076
+ const { cycle: v, factor: p, compareType: r, cycle2: y, factor2: o } = l;
1077
+ let w = "";
1078
+ return w += ` ${T.config.cycleOptions.find(({ value: n }) => n === v).label}`, w += ` ${T.config.factorOptions.find(({ value: n }) => n === p).label}`, w += ` ${r}`, w += ` ${T.config.cycleOptions.find(({ value: n }) => n === y).label}`, w += ` ${T.config.factorOptions.find(({ value: n }) => n === o).label}`, w;
1336
1079
  }
1337
1080
  default: {
1338
- const { cycle: m, factor: p, score: n } = l;
1339
- let c = "";
1340
- return c += ` ${S.config.cycleOptions.find(({ value: o }) => o === m).label}`, c += ` ${S.config.factorOptions.find(({ value: o }) => o === p).label}`, c += ` ${n[0] || n[0] === 0 ? `${n[0]}分` : "∞"}`, c += " ~", c += ` ${n[1] || n[1] === 0 ? `${n[1]}分` : "∞"}`, c;
1081
+ const { cycle: v, factor: p, score: r } = l;
1082
+ let y = "";
1083
+ return y += ` ${T.config.cycleOptions.find(({ value: o }) => o === v).label}`, y += ` ${T.config.factorOptions.find(({ value: o }) => o === p).label}`, y += ` ${r[0] || r[0] === 0 ? `${r[0]}分` : "∞"}`, y += " ~", y += ` ${r[1] || r[1] === 0 ? `${r[1]}分` : "∞"}`, y;
1341
1084
  }
1342
1085
  }
1343
- }, B = (l, m) => {
1086
+ }, Q = (l, v) => {
1344
1087
  switch (l) {
1345
1088
  case "sqlTag": {
1346
- I.value = {
1089
+ h.value = {
1347
1090
  list: [],
1348
1091
  sqlEnable: 0,
1349
1092
  sqlValue: null
@@ -1351,11 +1094,11 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1351
1094
  break;
1352
1095
  }
1353
1096
  case "factorTag": {
1354
- I.value.list.splice(m, 1);
1097
+ h.value.list.splice(v, 1);
1355
1098
  break;
1356
1099
  }
1357
1100
  case "scriptTag": {
1358
- I.value = {
1101
+ h.value = {
1359
1102
  list: [],
1360
1103
  sqlEnable: 0,
1361
1104
  sqlValue: null,
@@ -1365,22 +1108,22 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1365
1108
  }
1366
1109
  }
1367
1110
  }, x = () => {
1368
- var m, p, n;
1369
- const l = (n = (p = (m = document.getElementsByClassName("factor-dialog")) == null ? void 0 : m[0]) == null ? void 0 : p.style) == null ? void 0 : n.zIndex;
1370
- console.log(l), k.value.open(r.value, l);
1111
+ var v, p, r;
1112
+ const l = (r = (p = (v = document.getElementsByClassName("factor-dialog")) == null ? void 0 : v[0]) == null ? void 0 : p.style) == null ? void 0 : r.zIndex;
1113
+ console.log(l), V.value.open(s.value, l);
1371
1114
  };
1372
- return (l, m) => {
1373
- var J;
1374
- const p = sl, n = Ke, c = Vl, o = Te, h = Je, u = je, O = tl, f = Ee, j = de, N = ce, i = fl, Z = Ye, te = Ce, ue = we, se = yl, ae = Ie;
1375
- return a(), y(U, null, [
1376
- b("div", st, [
1377
- b("div", null, [
1378
- I.value.sqlEnable && I.value.sqlValue ? (a(), z(n, {
1115
+ return (l, v) => {
1116
+ var G;
1117
+ const p = tl, r = Pe, y = _l, o = Ne, w = bl, n = ll, $ = Ze, c = Te, q = ge, D = be, a = ml, W = ze, ae = we, ue = je, re = fl, ne = Oe, Y = pl("st-varSelectDialog");
1118
+ return u(), g(R, null, [
1119
+ _("div", Nl, [
1120
+ _("div", null, [
1121
+ h.value.sqlEnable && h.value.sqlValue ? (u(), L(r, {
1379
1122
  key: 0,
1380
1123
  closable: "",
1381
1124
  type: "info",
1382
- title: I.value.sqlValue,
1383
- onClose: m[0] || (m[0] = ($) => B("sqlTag"))
1125
+ title: h.value.sqlValue,
1126
+ onClose: v[0] || (v[0] = (I) => Q("sqlTag"))
1384
1127
  }, {
1385
1128
  default: d(() => [
1386
1129
  t(p, {
@@ -1389,192 +1132,192 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1389
1132
  style: { "max-width": "500px" }
1390
1133
  }, {
1391
1134
  default: d(() => [
1392
- D(A(I.value.sqlValue), 1)
1135
+ E(K(h.value.sqlValue), 1)
1393
1136
  ]),
1394
1137
  _: 1
1395
1138
  })
1396
1139
  ]),
1397
1140
  _: 1
1398
- }, 8, ["title"])) : M("", !0),
1399
- !I.value.sqlEnable && I.value.list.length ? (a(!0), y(U, { key: 1 }, P(I.value.list, ($, H) => (a(), z(n, {
1141
+ }, 8, ["title"])) : F("", !0),
1142
+ !h.value.sqlEnable && h.value.list.length ? (u(!0), g(R, { key: 1 }, z(h.value.list, (I, Z) => (u(), L(r, {
1400
1143
  closable: "",
1401
1144
  type: "info",
1402
- onClose: (T) => B("factorTag", H)
1145
+ onClose: (O) => Q("factorTag", Z)
1403
1146
  }, {
1404
1147
  default: d(() => [
1405
- D(A(E($)), 1)
1148
+ E(K(N(I)), 1)
1406
1149
  ]),
1407
1150
  _: 2
1408
- }, 1032, ["onClose"]))), 256)) : M("", !0),
1409
- I.value.factorSelectExpr ? (a(), z(c, {
1151
+ }, 1032, ["onClose"]))), 256)) : F("", !0),
1152
+ h.value.factorSelectExpr ? (u(), L(y, {
1410
1153
  key: 2,
1411
1154
  width: "500",
1412
1155
  placement: "bottom-start"
1413
1156
  }, {
1414
1157
  reference: d(() => [
1415
- t(n, {
1158
+ t(r, {
1416
1159
  closable: "",
1417
1160
  type: "info",
1418
- onClose: m[1] || (m[1] = ($) => B("scriptTag"))
1161
+ onClose: v[1] || (v[1] = (I) => Q("scriptTag"))
1419
1162
  }, {
1420
1163
  default: d(() => [
1421
- D(" 脚本模式 ")
1164
+ E(" 脚本模式 ")
1422
1165
  ]),
1423
1166
  _: 1
1424
1167
  })
1425
1168
  ]),
1426
1169
  default: d(() => [
1427
- b("div", rt, A(I.value.factorSelectExpr), 1)
1170
+ _("div", Pl, K(h.value.factorSelectExpr), 1)
1428
1171
  ]),
1429
1172
  _: 1
1430
- })) : M("", !0),
1173
+ })) : F("", !0),
1431
1174
  t(o, {
1432
1175
  class: "screen-btn",
1433
1176
  type: "primary",
1434
1177
  plain: "",
1435
1178
  size: "small",
1436
- icon: V(_e),
1437
- onClick: F
1179
+ icon: b(me),
1180
+ onClick: P
1438
1181
  }, {
1439
1182
  default: d(() => [
1440
- D(" 添加因子 ")
1183
+ E(" 添加因子 ")
1441
1184
  ]),
1442
1185
  _: 1
1443
1186
  }, 8, ["icon"])
1444
1187
  ]),
1445
- t(ae, {
1188
+ t(ne, {
1446
1189
  "modal-class": "factor-dialog",
1447
- modelValue: q.value,
1448
- "onUpdate:modelValue": m[7] || (m[7] = ($) => q.value = $),
1190
+ modelValue: U.value,
1191
+ "onUpdate:modelValue": v[7] || (v[7] = (I) => U.value = I),
1449
1192
  width: "1000",
1450
1193
  "align-center": "",
1451
1194
  "destroy-on-close": ""
1452
1195
  }, {
1453
- header: d(({ titleId: $, titleClass: H }) => [
1454
- b("div", it, [
1455
- b("span", {
1456
- id: $,
1457
- class: W(H)
1458
- }, " 因子筛选 ", 10, dt),
1459
- t(u, {
1196
+ header: d(({ titleId: I, titleClass: Z }) => [
1197
+ _("div", Bl, [
1198
+ _("span", {
1199
+ id: I,
1200
+ class: X(Z)
1201
+ }, " 因子筛选 ", 10, Gl),
1202
+ t(n, {
1460
1203
  effect: "dark",
1461
1204
  content: "点击查看: 因子使用说明",
1462
1205
  placement: "right"
1463
1206
  }, {
1464
1207
  default: d(() => [
1465
- t(h, {
1466
- onClick: m[2] || (m[2] = (T) => R.value = !0)
1208
+ t(w, {
1209
+ onClick: v[2] || (v[2] = (O) => C.value = !0)
1467
1210
  }, {
1468
1211
  default: d(() => [
1469
- t(V(Ae))
1212
+ t(b(yl))
1470
1213
  ]),
1471
1214
  _: 1
1472
1215
  })
1473
1216
  ]),
1474
1217
  _: 1
1475
1218
  }),
1476
- t(f, {
1477
- modelValue: w.value,
1478
- "onUpdate:modelValue": m[3] || (m[3] = (T) => w.value = T),
1219
+ t(c, {
1220
+ modelValue: S.value,
1221
+ "onUpdate:modelValue": v[3] || (v[3] = (O) => S.value = O),
1479
1222
  size: "small",
1480
1223
  style: { "margin-left": "12px" }
1481
1224
  }, {
1482
1225
  default: d(() => [
1483
- t(O, {
1226
+ t($, {
1484
1227
  label: "模版",
1485
1228
  value: "模版"
1486
1229
  }),
1487
- t(O, {
1230
+ t($, {
1488
1231
  label: "脚本",
1489
1232
  value: "脚本"
1490
1233
  })
1491
1234
  ]),
1492
1235
  _: 1
1493
1236
  }, 8, ["modelValue"]),
1494
- w.value === "脚本" ? (a(), y("div", ct, [
1237
+ S.value === "脚本" ? (u(), g("div", Yl, [
1495
1238
  t(o, {
1496
1239
  size: "small",
1497
1240
  type: "primary",
1498
1241
  onClick: x
1499
1242
  }, {
1500
1243
  default: d(() => [
1501
- D("变量选择器")
1244
+ E("变量选择器")
1502
1245
  ]),
1503
1246
  _: 1
1504
1247
  })
1505
- ])) : M("", !0)
1248
+ ])) : F("", !0)
1506
1249
  ])
1507
1250
  ]),
1508
1251
  footer: d(() => [
1509
- b("div", gt, [
1252
+ _("div", Hl, [
1510
1253
  t(o, {
1511
1254
  type: "primary",
1512
- onClick: v
1255
+ onClick: m
1513
1256
  }, {
1514
1257
  default: d(() => [
1515
- D("确定")
1258
+ E("确定")
1516
1259
  ]),
1517
1260
  _: 1
1518
1261
  })
1519
1262
  ])
1520
1263
  ]),
1521
1264
  default: d(() => [
1522
- w.value === "模版" ? (a(), z(se, {
1265
+ S.value === "模版" ? (u(), L(re, {
1523
1266
  key: 0,
1524
1267
  ref_key: "dialogFormRef",
1525
- ref: _,
1268
+ ref: k,
1526
1269
  model: e.value
1527
1270
  }, {
1528
1271
  default: d(() => [
1529
- (a(!0), y(U, null, P(e.value.list, ($, H) => (a(), y("div", pt, [
1530
- b("span", vt, A(`条件${H + 1}`), 1),
1531
- $.key === "compare" ? (a(), y(U, { key: 0 }, [
1532
- g.config.cycleShow ? (a(), z(i, {
1272
+ (u(!0), g(R, null, z(e.value.list, (I, Z) => (u(), g("div", Jl, [
1273
+ _("span", Al, K(`条件${Z + 1}`), 1),
1274
+ I.key === "compare" ? (u(), g(R, { key: 0 }, [
1275
+ f.config.cycleShow ? (u(), L(a, {
1533
1276
  key: 0,
1534
- prop: "list." + H + ".cycle",
1277
+ prop: "list." + Z + ".cycle",
1535
1278
  rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1536
1279
  style: { width: "100px", "margin-right": "10px" }
1537
1280
  }, {
1538
1281
  default: d(() => [
1539
- t(N, {
1540
- modelValue: $.cycle,
1541
- "onUpdate:modelValue": (T) => $.cycle = T,
1282
+ t(D, {
1283
+ modelValue: I.cycle,
1284
+ "onUpdate:modelValue": (O) => I.cycle = O,
1542
1285
  placeholder: "选择周期",
1543
1286
  size: "small"
1544
1287
  }, {
1545
1288
  default: d(() => [
1546
- (a(!0), y(U, null, P(g.config.cycleOptions, ({ label: T, value: Y }) => (a(), z(j, {
1547
- label: T,
1548
- value: Y,
1549
- key: Y
1289
+ (u(!0), g(R, null, z(f.config.cycleOptions, ({ label: O, value: B }) => (u(), L(q, {
1290
+ label: O,
1291
+ value: B,
1292
+ key: B
1550
1293
  }, null, 8, ["label", "value"]))), 128))
1551
1294
  ]),
1552
1295
  _: 2
1553
1296
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1554
1297
  ]),
1555
1298
  _: 2
1556
- }, 1032, ["prop"])) : M("", !0),
1557
- t(i, {
1558
- prop: "list." + H + ".factor",
1299
+ }, 1032, ["prop"])) : F("", !0),
1300
+ t(a, {
1301
+ prop: "list." + Z + ".factor",
1559
1302
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1560
1303
  style: { width: "132px", "margin-right": "10px" }
1561
1304
  }, {
1562
1305
  default: d(() => [
1563
- t(N, {
1564
- modelValue: $.factor,
1565
- "onUpdate:modelValue": (T) => $.factor = T,
1306
+ t(D, {
1307
+ modelValue: I.factor,
1308
+ "onUpdate:modelValue": (O) => I.factor = O,
1566
1309
  placeholder: "选择因子",
1567
1310
  filterable: "",
1568
1311
  size: "small",
1569
1312
  "no-match-text": "无匹配数据"
1570
1313
  }, {
1571
1314
  default: d(() => {
1572
- var T;
1315
+ var O;
1573
1316
  return [
1574
- (a(!0), y(U, null, P((T = g.config.factorOptions) == null ? void 0 : T.filter((Y) => [4].includes(Y.type)), ({ label: Y, value: X }) => (a(), z(j, {
1575
- label: Y,
1576
- value: X,
1577
- key: X
1317
+ (u(!0), g(R, null, z((O = f.config.factorOptions) == null ? void 0 : O.filter((B) => [4].includes(B.type)), ({ label: B, value: ee }) => (u(), L(q, {
1318
+ label: B,
1319
+ value: ee,
1320
+ key: ee
1578
1321
  }, null, 8, ["label", "value"]))), 128))
1579
1322
  ];
1580
1323
  }),
@@ -1583,18 +1326,18 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1583
1326
  ]),
1584
1327
  _: 2
1585
1328
  }, 1032, ["prop"]),
1586
- t(i, { style: { width: "52px", "margin-right": "10px" } }, {
1329
+ t(a, { style: { width: "52px", "margin-right": "10px" } }, {
1587
1330
  default: d(() => [
1588
- t(N, {
1589
- modelValue: $.compareType,
1590
- "onUpdate:modelValue": (T) => $.compareType = T,
1331
+ t(D, {
1332
+ modelValue: I.compareType,
1333
+ "onUpdate:modelValue": (O) => I.compareType = O,
1591
1334
  size: "small"
1592
1335
  }, {
1593
1336
  default: d(() => [
1594
- (a(), y(U, null, P([">", ">=", "<", "<="], (T) => t(j, {
1595
- label: T,
1596
- value: T,
1597
- key: T
1337
+ (u(), g(R, null, z([">", ">=", "<", "<="], (O) => t(q, {
1338
+ label: O,
1339
+ value: O,
1340
+ key: O
1598
1341
  }, null, 8, ["label", "value"])), 64))
1599
1342
  ]),
1600
1343
  _: 2
@@ -1602,52 +1345,52 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1602
1345
  ]),
1603
1346
  _: 2
1604
1347
  }, 1024),
1605
- g.config.cycleShow ? (a(), z(i, {
1348
+ f.config.cycleShow ? (u(), L(a, {
1606
1349
  key: 1,
1607
- prop: "list." + H + ".cycle2",
1350
+ prop: "list." + Z + ".cycle2",
1608
1351
  rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1609
1352
  style: { width: "100px", "margin-right": "10px" }
1610
1353
  }, {
1611
1354
  default: d(() => [
1612
- t(N, {
1613
- modelValue: $.cycle2,
1614
- "onUpdate:modelValue": (T) => $.cycle2 = T,
1355
+ t(D, {
1356
+ modelValue: I.cycle2,
1357
+ "onUpdate:modelValue": (O) => I.cycle2 = O,
1615
1358
  placeholder: "选择周期",
1616
1359
  size: "small"
1617
1360
  }, {
1618
1361
  default: d(() => [
1619
- (a(!0), y(U, null, P(g.config.cycleOptions, ({ label: T, value: Y }) => (a(), z(j, {
1620
- label: T,
1621
- value: Y,
1622
- key: Y
1362
+ (u(!0), g(R, null, z(f.config.cycleOptions, ({ label: O, value: B }) => (u(), L(q, {
1363
+ label: O,
1364
+ value: B,
1365
+ key: B
1623
1366
  }, null, 8, ["label", "value"]))), 128))
1624
1367
  ]),
1625
1368
  _: 2
1626
1369
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1627
1370
  ]),
1628
1371
  _: 2
1629
- }, 1032, ["prop"])) : M("", !0),
1630
- t(i, {
1631
- prop: "list." + H + ".factor2",
1372
+ }, 1032, ["prop"])) : F("", !0),
1373
+ t(a, {
1374
+ prop: "list." + Z + ".factor2",
1632
1375
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1633
1376
  style: { width: "132px", "margin-right": "10px" }
1634
1377
  }, {
1635
1378
  default: d(() => [
1636
- t(N, {
1637
- modelValue: $.factor2,
1638
- "onUpdate:modelValue": (T) => $.factor2 = T,
1379
+ t(D, {
1380
+ modelValue: I.factor2,
1381
+ "onUpdate:modelValue": (O) => I.factor2 = O,
1639
1382
  placeholder: "选择因子",
1640
1383
  filterable: "",
1641
1384
  size: "small",
1642
1385
  "no-match-text": "无匹配数据"
1643
1386
  }, {
1644
1387
  default: d(() => {
1645
- var T;
1388
+ var O;
1646
1389
  return [
1647
- (a(!0), y(U, null, P((T = g.config.factorOptions) == null ? void 0 : T.filter((Y) => [4].includes(Y.type)), ({ label: Y, value: X }) => (a(), z(j, {
1648
- label: Y,
1649
- value: X,
1650
- key: X
1390
+ (u(!0), g(R, null, z((O = f.config.factorOptions) == null ? void 0 : O.filter((B) => [4].includes(B.type)), ({ label: B, value: ee }) => (u(), L(q, {
1391
+ label: B,
1392
+ value: ee,
1393
+ key: ee
1651
1394
  }, null, 8, ["label", "value"]))), 128))
1652
1395
  ];
1653
1396
  }),
@@ -1656,53 +1399,53 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1656
1399
  ]),
1657
1400
  _: 2
1658
1401
  }, 1032, ["prop"])
1659
- ], 64)) : (a(), y(U, { key: 1 }, [
1660
- g.config.cycleShow ? (a(), z(i, {
1402
+ ], 64)) : (u(), g(R, { key: 1 }, [
1403
+ f.config.cycleShow ? (u(), L(a, {
1661
1404
  key: 0,
1662
- prop: "list." + H + ".cycle",
1405
+ prop: "list." + Z + ".cycle",
1663
1406
  rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1664
1407
  style: { width: "100px", "margin-right": "10px" }
1665
1408
  }, {
1666
1409
  default: d(() => [
1667
- t(N, {
1668
- modelValue: $.cycle,
1669
- "onUpdate:modelValue": (T) => $.cycle = T,
1410
+ t(D, {
1411
+ modelValue: I.cycle,
1412
+ "onUpdate:modelValue": (O) => I.cycle = O,
1670
1413
  placeholder: "选择周期",
1671
1414
  size: "small"
1672
1415
  }, {
1673
1416
  default: d(() => [
1674
- (a(!0), y(U, null, P(g.config.cycleOptions, ({ label: T, value: Y }) => (a(), z(j, {
1675
- label: T,
1676
- value: Y,
1677
- key: Y
1417
+ (u(!0), g(R, null, z(f.config.cycleOptions, ({ label: O, value: B }) => (u(), L(q, {
1418
+ label: O,
1419
+ value: B,
1420
+ key: B
1678
1421
  }, null, 8, ["label", "value"]))), 128))
1679
1422
  ]),
1680
1423
  _: 2
1681
1424
  }, 1032, ["modelValue", "onUpdate:modelValue"])
1682
1425
  ]),
1683
1426
  _: 2
1684
- }, 1032, ["prop"])) : M("", !0),
1685
- t(i, {
1686
- prop: "list." + H + ".factor",
1427
+ }, 1032, ["prop"])) : F("", !0),
1428
+ t(a, {
1429
+ prop: "list." + Z + ".factor",
1687
1430
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1688
1431
  style: { width: "194px", "margin-right": "10px" }
1689
1432
  }, {
1690
1433
  default: d(() => [
1691
- t(N, {
1692
- modelValue: $.factor,
1693
- "onUpdate:modelValue": (T) => $.factor = T,
1434
+ t(D, {
1435
+ modelValue: I.factor,
1436
+ "onUpdate:modelValue": (O) => I.factor = O,
1694
1437
  placeholder: "选择因子",
1695
1438
  filterable: "",
1696
1439
  size: "small",
1697
1440
  "no-match-text": "无匹配数据"
1698
1441
  }, {
1699
1442
  default: d(() => {
1700
- var T;
1443
+ var O;
1701
1444
  return [
1702
- (a(!0), y(U, null, P((T = g.config.factorOptions) == null ? void 0 : T.filter((Y) => [1, 3].includes(Y.type)), ({ label: Y, value: X }) => (a(), z(j, {
1703
- label: Y,
1704
- value: X,
1705
- key: X
1445
+ (u(!0), g(R, null, z((O = f.config.factorOptions) == null ? void 0 : O.filter((B) => [1, 3].includes(B.type)), ({ label: B, value: ee }) => (u(), L(q, {
1446
+ label: B,
1447
+ value: ee,
1448
+ key: ee
1706
1449
  }, null, 8, ["label", "value"]))), 128))
1707
1450
  ];
1708
1451
  }),
@@ -1711,23 +1454,23 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1711
1454
  ]),
1712
1455
  _: 2
1713
1456
  }, 1032, ["prop"]),
1714
- t(i, {
1715
- prop: "list." + H + ".score",
1716
- rules: { validator: V(Nl), trigger: "blur" },
1457
+ t(a, {
1458
+ prop: "list." + Z + ".score",
1459
+ rules: { validator: b(jl), trigger: "blur" },
1717
1460
  style: { width: "200px", "margin-right": "10px" }
1718
1461
  }, {
1719
1462
  default: d(() => [
1720
- b("div", mt, [
1721
- t(Z, {
1722
- modelValue: $.score[0],
1723
- "onUpdate:modelValue": (T) => $.score[0] = T,
1463
+ _("div", Kl, [
1464
+ t(W, {
1465
+ modelValue: I.score[0],
1466
+ "onUpdate:modelValue": (O) => I.score[0] = O,
1724
1467
  size: "small",
1725
1468
  "controls-position": "right"
1726
1469
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
1727
- ft,
1728
- t(Z, {
1729
- modelValue: $.score[1],
1730
- "onUpdate:modelValue": (T) => $.score[1] = T,
1470
+ Ql,
1471
+ t(W, {
1472
+ modelValue: I.score[1],
1473
+ "onUpdate:modelValue": (O) => I.score[1] = O,
1731
1474
  size: "small",
1732
1475
  "controls-position": "right"
1733
1476
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -1736,11 +1479,11 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1736
1479
  _: 2
1737
1480
  }, 1032, ["prop", "rules"])
1738
1481
  ], 64)),
1739
- t(h, {
1740
- onClick: (T) => s(H)
1482
+ t(w, {
1483
+ onClick: (O) => i(Z)
1741
1484
  }, {
1742
1485
  default: d(() => [
1743
- t(V(bl))
1486
+ t(b(gl))
1744
1487
  ]),
1745
1488
  _: 2
1746
1489
  }, 1032, ["onClick"])
@@ -1749,12 +1492,12 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1749
1492
  type: "primary",
1750
1493
  plain: "",
1751
1494
  size: "small",
1752
- icon: V(_e),
1753
- onClick: L,
1495
+ icon: b(me),
1496
+ onClick: M,
1754
1497
  style: { "margin-bottom": "10px" }
1755
1498
  }, {
1756
1499
  default: d(() => [
1757
- D("添加因子")
1500
+ E("添加因子")
1758
1501
  ]),
1759
1502
  _: 1
1760
1503
  }, 8, ["icon"]),
@@ -1762,72 +1505,72 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1762
1505
  type: "primary",
1763
1506
  plain: "",
1764
1507
  size: "small",
1765
- icon: V(_e),
1766
- onClick: m[4] || (m[4] = ($) => L("compare")),
1508
+ icon: b(me),
1509
+ onClick: v[4] || (v[4] = (I) => M("compare")),
1767
1510
  style: { "margin-bottom": "10px" }
1768
1511
  }, {
1769
1512
  default: d(() => [
1770
- D("添加因子对比")
1513
+ E("添加因子对比")
1771
1514
  ]),
1772
1515
  _: 1
1773
1516
  }, 8, ["icon"]),
1774
- g.config.sqlShow ? (a(), y(U, { key: 0 }, [
1775
- t(i, { label: "SQL功能: " }, {
1517
+ f.config.sqlShow ? (u(), g(R, { key: 0 }, [
1518
+ t(a, { label: "SQL功能: " }, {
1776
1519
  default: d(() => [
1777
- t(f, {
1520
+ t(c, {
1778
1521
  modelValue: e.value.sqlEnable,
1779
- "onUpdate:modelValue": m[5] || (m[5] = ($) => e.value.sqlEnable = $)
1522
+ "onUpdate:modelValue": v[5] || (v[5] = (I) => e.value.sqlEnable = I)
1780
1523
  }, {
1781
1524
  default: d(() => [
1782
- t(te, {
1525
+ t(ae, {
1783
1526
  label: "关闭",
1784
1527
  value: 0
1785
1528
  }),
1786
- t(te, {
1529
+ t(ae, {
1787
1530
  label: "启用",
1788
1531
  value: 1
1789
1532
  })
1790
1533
  ]),
1791
1534
  _: 1
1792
1535
  }, 8, ["modelValue"]),
1793
- e.value.sqlEnable ? (a(), z(o, {
1536
+ e.value.sqlEnable ? (u(), L(o, {
1794
1537
  key: 0,
1795
1538
  type: "primary",
1796
1539
  size: "small",
1797
- onClick: C,
1540
+ onClick: j,
1798
1541
  style: { "margin-left": "auto" }
1799
1542
  }, {
1800
1543
  default: d(() => [
1801
- D("生成SQL")
1544
+ E("生成SQL")
1802
1545
  ]),
1803
1546
  _: 1
1804
- })) : M("", !0)
1547
+ })) : F("", !0)
1805
1548
  ]),
1806
1549
  _: 1
1807
1550
  }),
1808
- e.value.sqlEnable ? (a(), y(U, { key: 0 }, [
1551
+ e.value.sqlEnable ? (u(), g(R, { key: 0 }, [
1809
1552
  t(ue, {
1810
1553
  modelValue: e.value.sqlValue,
1811
- "onUpdate:modelValue": m[6] || (m[6] = ($) => e.value.sqlValue = $),
1554
+ "onUpdate:modelValue": v[6] || (v[6] = (I) => e.value.sqlValue = I),
1812
1555
  autosize: { minRows: 4 },
1813
1556
  type: "textarea",
1814
1557
  style: { "margin-bottom": "10px" }
1815
1558
  }, null, 8, ["modelValue"]),
1816
- yt
1817
- ], 64)) : M("", !0)
1818
- ], 64)) : M("", !0)
1559
+ Zl
1560
+ ], 64)) : F("", !0)
1561
+ ], 64)) : F("", !0)
1819
1562
  ]),
1820
1563
  _: 1
1821
- }, 8, ["model"])) : M("", !0),
1822
- b("div", {
1823
- style: Oe([
1564
+ }, 8, ["model"])) : F("", !0),
1565
+ _("div", {
1566
+ style: Le([
1824
1567
  { width: "968px", height: "400px" },
1825
- w.value === "脚本" ? null : { position: "fixed", top: "-400px", zIndex: -1 }
1568
+ S.value === "脚本" ? null : { position: "fixed", top: "-400px", zIndex: -1 }
1826
1569
  ])
1827
1570
  }, [
1828
- t(hl, {
1571
+ t(kl, {
1829
1572
  ref_key: "monacoEditorRef",
1830
- ref: r,
1573
+ ref: s,
1831
1574
  language: "lua"
1832
1575
  }, null, 512)
1833
1576
  ], 4)
@@ -1835,34 +1578,34 @@ const al = (g) => (fe("data-v-4af31cc3"), g = g(), ye(), g), st = { class: "fact
1835
1578
  _: 1
1836
1579
  }, 8, ["modelValue"])
1837
1580
  ]),
1838
- t(Pl, {
1839
- visible: R.value,
1840
- "onUpdate:visible": m[8] || (m[8] = ($) => R.value = $),
1841
- data: (J = g.config.factorDescriptions) == null ? void 0 : J.filter(($) => [1, 3].includes($.type))
1581
+ t(zl, {
1582
+ visible: C.value,
1583
+ "onUpdate:visible": v[8] || (v[8] = (I) => C.value = I),
1584
+ data: (G = f.config.factorDescriptions) == null ? void 0 : G.filter((I) => [1, 3].includes(I.type))
1842
1585
  }, null, 8, ["visible", "data"]),
1843
- t(ut, {
1844
- ref_key: "scriptSelectRef",
1845
- ref: k
1586
+ t(Y, {
1587
+ ref_key: "stVarSelectDialogRef",
1588
+ ref: V
1846
1589
  }, null, 512)
1847
1590
  ], 64);
1848
1591
  };
1849
1592
  }
1850
- }, _t = /* @__PURE__ */ oe(bt, [["__scopeId", "data-v-4af31cc3"]]);
1851
- const ge = (g) => (fe("data-v-3e69da40"), g = g(), ye(), g), kt = {
1593
+ }, Xl = /* @__PURE__ */ $e(Wl, [["__scopeId", "data-v-28dc31e2"]]);
1594
+ const pe = (f) => (xe("data-v-3e69da40"), f = f(), he(), f), et = {
1852
1595
  key: 0,
1853
1596
  class: "common-indicator"
1854
- }, ht = { class: "indicator" }, Vt = /* @__PURE__ */ ge(() => /* @__PURE__ */ b("div", { class: "title" }, [
1855
- /* @__PURE__ */ b("span", null, "常用指标: "),
1856
- /* @__PURE__ */ b("span", null, "不限")
1857
- ], -1)), xt = { class: "options" }, $t = ["onClick"], Ot = { class: "tags" }, It = ["onClick"], wt = { style: { "font-size": "18px" } }, Tt = {
1597
+ }, lt = { class: "indicator" }, tt = /* @__PURE__ */ pe(() => /* @__PURE__ */ _("div", { class: "title" }, [
1598
+ /* @__PURE__ */ _("span", null, "常用指标: "),
1599
+ /* @__PURE__ */ _("span", null, "不限")
1600
+ ], -1)), at = { class: "options" }, nt = ["onClick"], ot = { class: "tags" }, ut = ["onClick"], rt = { style: { "font-size": "18px" } }, st = {
1858
1601
  key: 0,
1859
1602
  class: "out-box"
1860
- }, St = /* @__PURE__ */ ge(() => /* @__PURE__ */ b("span", null, "自定义: ", -1)), Ct = {
1603
+ }, it = /* @__PURE__ */ pe(() => /* @__PURE__ */ _("span", null, "自定义: ", -1)), dt = {
1861
1604
  key: 0,
1862
1605
  class: "convenient-option-box"
1863
- }, Et = { class: "out-box" }, Rt = /* @__PURE__ */ ge(() => /* @__PURE__ */ b("span", null, "自定义: ", -1)), Ut = { key: 0 }, qt = { key: 0 }, Mt = { key: 0 }, Ft = { key: 1 }, Lt = { class: "tFeaturelncomes-option-box" }, Dt = { class: "tFeaturelncomes-out-box" }, zt = /* @__PURE__ */ ge(() => /* @__PURE__ */ b("span", null, "自定义: ", -1)), jt = { key: 2 }, Nt = { key: 3 }, Pt = { key: 4 }, Bt = { key: 5 }, Gt = { key: 6 }, Yt = { style: { display: "flex", "align-items": "center" } }, At = { key: 7 }, Jt = { class: "dialog-footer" }, Kt = {
1606
+ }, ct = { class: "out-box" }, pt = /* @__PURE__ */ pe(() => /* @__PURE__ */ _("span", null, "自定义: ", -1)), vt = { key: 0 }, mt = { key: 0 }, ft = { key: 0 }, yt = { key: 1 }, gt = { class: "tFeaturelncomes-option-box" }, bt = { class: "tFeaturelncomes-out-box" }, kt = /* @__PURE__ */ pe(() => /* @__PURE__ */ _("span", null, "自定义: ", -1)), _t = { key: 2 }, Vt = { key: 3 }, xt = { key: 4 }, ht = { key: 5 }, Ot = { key: 6 }, $t = { style: { display: "flex", "align-items": "center" } }, It = { key: 7 }, wt = { class: "dialog-footer" }, Tt = {
1864
1607
  __name: "index",
1865
- props: /* @__PURE__ */ ve({
1608
+ props: /* @__PURE__ */ de({
1866
1609
  config: { type: Object, default: () => {
1867
1610
  } },
1868
1611
  varietyMarket: { type: Number, default: () => null },
@@ -1874,29 +1617,29 @@ const ge = (g) => (fe("data-v-3e69da40"), g = g(), ye(), g), kt = {
1874
1617
  dataModifiers: {}
1875
1618
  }),
1876
1619
  emits: ["update:data"],
1877
- setup(g) {
1878
- const S = [
1620
+ setup(f) {
1621
+ const T = [
1879
1622
  { label: "近2周", value: "1" },
1880
1623
  { label: "近1个月", value: "2" },
1881
1624
  { label: "近3个月", value: "3" },
1882
1625
  { label: "近6个月", value: "4" },
1883
1626
  { label: "近1年", value: "5" }
1884
- ], I = [
1627
+ ], h = [
1885
1628
  { label: "无保留意见", value: 1 },
1886
1629
  { label: "保留意见", value: 2 },
1887
1630
  { label: "否定意见", value: 3 },
1888
1631
  { label: "无法表示意见", value: 4 }
1889
- ], r = me(g, "data"), k = g, q = G(!1), R = Q(() => {
1632
+ ], s = ce(f, "data"), V = f, U = H(!1), C = A(() => {
1890
1633
  var x;
1891
- return (x = k.data.find((l) => l.radioType === "1")) == null ? void 0 : x.key;
1892
- }), w = Q(() => {
1634
+ return (x = V.data.find((l) => l.radioType === "1")) == null ? void 0 : x.key;
1635
+ }), S = A(() => {
1893
1636
  let x = [];
1894
- return k.varietyMarket === null && !k.commonOption.length ? x = k.config.options : (x = k.config.options, k.varietyMarket && (x = x.filter(({ parent: l }) => l.varietyMarketIds.includes(k.varietyMarket))), k.commonOption.length && (x = x.filter(({ parent: l }) => {
1895
- const { commonOptionIds: m } = l;
1896
- return [.../* @__PURE__ */ new Set([...m, ...k.commonOption])].length !== [...m, ...k.commonOption].length;
1637
+ return V.varietyMarket === null && !V.commonOption.length ? x = V.config.options : (x = V.config.options, V.varietyMarket && (x = x.filter(({ parent: l }) => l.varietyMarketIds.includes(V.varietyMarket))), V.commonOption.length && (x = x.filter(({ parent: l }) => {
1638
+ const { commonOptionIds: v } = l;
1639
+ return [.../* @__PURE__ */ new Set([...v, ...V.commonOption])].length !== [...v, ...V.commonOption].length;
1897
1640
  }))), x;
1898
- }), _ = G({}), e = G({}), F = (x) => {
1899
- _.value = x;
1641
+ }), k = H({}), e = H({}), P = (x) => {
1642
+ k.value = x;
1900
1643
  const l = {
1901
1644
  key: x.key,
1902
1645
  type: x.type,
@@ -1959,107 +1702,107 @@ const ge = (g) => (fe("data-v-3e69da40"), g = g(), ye(), g), kt = {
1959
1702
  ...l,
1960
1703
  range: [null, null],
1961
1704
  unit: x.defaultUnit.length ? [...x.defaultUnit] : [null, null],
1962
- radioType: R.value && R.value !== x.key ? "0" : x.defaultRadioType,
1705
+ radioType: C.value && C.value !== x.key ? "0" : x.defaultRadioType,
1963
1706
  // 0数值 1排名
1964
1707
  rankRange: x.defaultRankRange || [null, null]
1965
1708
  // 默认排名
1966
1709
  };
1967
1710
  }
1968
- q.value = !0;
1969
- }, v = () => {
1970
- var l, m;
1711
+ U.value = !0;
1712
+ }, m = () => {
1713
+ var l, v;
1971
1714
  switch (e.value.key) {
1972
1715
  case "st": {
1973
- const { label: p, st: n } = e.value;
1974
- if (n === null)
1975
- return K.warning("格式错误: 请至少选择一个值");
1976
- e.value.tagText = `${p}: ${n ? "是" : "否"}`;
1716
+ const { label: p, st: r } = e.value;
1717
+ if (r === null)
1718
+ return J.warning("格式错误: 请至少选择一个值");
1719
+ e.value.tagText = `${p}: ${r ? "是" : "否"}`;
1977
1720
  break;
1978
1721
  }
1979
1722
  case "tFeaturelncomes": {
1980
- const { label: p, rule: n, withFewYears: c, yearsCount: o, netProfit: h } = e.value;
1981
- if (["", null].includes(c) || ["", null].includes(o) || ["", null].includes(h))
1982
- return K.warning("格式错误: 请填写完整");
1983
- e.value.tagText = `${p}: ${c}年内${o}年以上盈利${n === 1 ? "超" : "跌"}过${h}亿`;
1723
+ const { label: p, rule: r, withFewYears: y, yearsCount: o, netProfit: w } = e.value;
1724
+ if (["", null].includes(y) || ["", null].includes(o) || ["", null].includes(w))
1725
+ return J.warning("格式错误: 请填写完整");
1726
+ e.value.tagText = `${p}: ${y}年内${o}年以上盈利${r === 1 ? "超" : "跌"}过${w}亿`;
1984
1727
  break;
1985
1728
  }
1986
1729
  case "priceLevels": {
1987
- const { label: p, priceLevels: n } = e.value;
1988
- if (!n || n.length === 0)
1989
- return K.warning("格式错误: 请至少选择一个值");
1990
- e.value.tagText = `${p}: 已选${n}分位`;
1730
+ const { label: p, priceLevels: r } = e.value;
1731
+ if (!r || r.length === 0)
1732
+ return J.warning("格式错误: 请至少选择一个值");
1733
+ e.value.tagText = `${p}: 已选${r}分位`;
1991
1734
  break;
1992
1735
  }
1993
1736
  case "peTtmLevels": {
1994
- const { label: p, peTtmLevels: n } = e.value;
1995
- if (!n || n.length === 0)
1996
- return K.warning("格式错误: 请至少选择一个值");
1997
- e.value.tagText = `${p}: 已选${n}分位`;
1737
+ const { label: p, peTtmLevels: r } = e.value;
1738
+ if (!r || r.length === 0)
1739
+ return J.warning("格式错误: 请至少选择一个值");
1740
+ e.value.tagText = `${p}: 已选${r}分位`;
1998
1741
  break;
1999
1742
  }
2000
1743
  case "optionsCpType": {
2001
- const { label: p, optionsCpType: n } = e.value;
2002
- if (n === null)
2003
- return K.warning("格式错误: 请至少选择一个值");
2004
- e.value.tagText = `${p}: ${n === 1 ? "看涨" : "看跌"}`;
1744
+ const { label: p, optionsCpType: r } = e.value;
1745
+ if (r === null)
1746
+ return J.warning("格式错误: 请至少选择一个值");
1747
+ e.value.tagText = `${p}: ${r === 1 ? "看涨" : "看跌"}`;
2005
1748
  break;
2006
1749
  }
2007
1750
  case "perVolumn": {
2008
- const { label: p, radio: n, levels: c } = e.value;
2009
- if (!n)
2010
- return K.warning("格式错误: 请选择时间");
2011
- if (!(c != null && c.length))
2012
- return K.warning("格式错误: 请选择分位");
2013
- e.value.tagText = `${p}: ${(l = S.find((o) => o.value === n)) == null ? void 0 : l.label}${c.map((o) => `${o}分位`).join("、")}`;
1751
+ const { label: p, radio: r, levels: y } = e.value;
1752
+ if (!r)
1753
+ return J.warning("格式错误: 请选择时间");
1754
+ if (!(y != null && y.length))
1755
+ return J.warning("格式错误: 请选择分位");
1756
+ e.value.tagText = `${p}: ${(l = T.find((o) => o.value === r)) == null ? void 0 : l.label}${y.map((o) => `${o}分位`).join("、")}`;
2014
1757
  break;
2015
1758
  }
2016
1759
  case "mainFlow": {
2017
- const { label: p, radioType: n, radio: c, rankRange: o } = e.value, h = (u) => {
2018
- if (u === "" || u === null || u === void 0)
1760
+ const { label: p, radioType: r, radio: y, rankRange: o } = e.value, w = (n) => {
1761
+ if (n === "" || n === null || n === void 0)
2019
1762
  return !1;
2020
- const O = Number(u);
2021
- return !isNaN(O);
1763
+ const $ = Number(n);
1764
+ return !isNaN($);
2022
1765
  };
2023
- if (!c)
2024
- return K.warning("格式错误: 请选择时间");
2025
- if (!h(o[0]) && !h(o[1]))
2026
- return K.warning(`格式错误: 请填写${n === "0" ? "涨幅范围" : "排名范围"}`);
2027
- !["", null].includes(o[0]) && !["", null].includes(o[1]) ? e.value.tagText = `${p}: ${c}日${n === "0" ? "涨幅范围" : "排名范围"}: ${o[0]}${n === "0" ? "%" : ""} ~ ${o[1]}${n === "0" ? "%" : ""}` : ["", null].includes(o[0]) ? e.value.tagText = `${p}: ${c}日${n === "0" ? "涨幅范围" : "排名范围"}: ≤${o[1]}${n === "0" ? "%" : ""}` : e.value.tagText = `${p}: ${c}日${n === "0" ? "涨幅范围" : "排名范围"}: ≥${o[0]}${n === "0" ? "%" : ""}`;
1766
+ if (!y)
1767
+ return J.warning("格式错误: 请选择时间");
1768
+ if (!w(o[0]) && !w(o[1]))
1769
+ return J.warning(`格式错误: 请填写${r === "0" ? "涨幅范围" : "排名范围"}`);
1770
+ !["", null].includes(o[0]) && !["", null].includes(o[1]) ? e.value.tagText = `${p}: ${y}日${r === "0" ? "涨幅范围" : "排名范围"}: ${o[0]}${r === "0" ? "%" : ""} ~ ${o[1]}${r === "0" ? "%" : ""}` : ["", null].includes(o[0]) ? e.value.tagText = `${p}: ${y}日${r === "0" ? "涨幅范围" : "排名范围"}: ≤${o[1]}${r === "0" ? "%" : ""}` : e.value.tagText = `${p}: ${y}日${r === "0" ? "涨幅范围" : "排名范围"}: ≥${o[0]}${r === "0" ? "%" : ""}`;
2028
1771
  break;
2029
1772
  }
2030
1773
  case "auditOpinionType": {
2031
- const { label: p, enumType: n } = e.value;
2032
- if (n === null)
2033
- return K.warning("格式错误: 请至少选择一个值");
2034
- e.value.tagText = `${p}: ${(m = I.find((c) => c.value === n)) == null ? void 0 : m.label}`;
1774
+ const { label: p, enumType: r } = e.value;
1775
+ if (r === null)
1776
+ return J.warning("格式错误: 请至少选择一个值");
1777
+ e.value.tagText = `${p}: ${(v = h.find((y) => y.value === r)) == null ? void 0 : v.label}`;
2035
1778
  break;
2036
1779
  }
2037
1780
  default: {
2038
- const { label: p, unit: n, radioType: c } = e.value, o = c === "1" ? e.value.rankRange : e.value.range;
1781
+ const { label: p, unit: r, radioType: y } = e.value, o = y === "1" ? e.value.rankRange : e.value.range;
2039
1782
  if (["", null].includes(o[0]) && ["", null].includes(o[1]))
2040
- return K.warning("格式错误: 请至少填写一个值");
2041
- if (c === "1") {
2042
- const O = Number(o[0]), f = Number(o[1]);
2043
- if (isNaN(O) || isNaN(f))
2044
- return K.warning("格式错误: 请填写数字");
2045
- if (O < 0 || f < 0)
2046
- return K.warning("格式错误: 请填写大于0的数字");
2047
- if (O > f)
2048
- return K.warning("格式错误: 请填写正确的排名范围");
1783
+ return J.warning("格式错误: 请至少填写一个值");
1784
+ if (y === "1") {
1785
+ const $ = Number(o[0]), c = Number(o[1]);
1786
+ if (isNaN($) || isNaN(c))
1787
+ return J.warning("格式错误: 请填写数字");
1788
+ if ($ < 0 || c < 0)
1789
+ return J.warning("格式错误: 请填写大于0的数字");
1790
+ if ($ > c)
1791
+ return J.warning("格式错误: 请填写正确的排名范围");
2049
1792
  }
2050
- const h = c === "1" ? "" : n[0] ?? "", u = c === "1" ? "" : n[1] ?? "";
2051
- !["", null].includes(o[0]) && !["", null].includes(o[1]) ? e.value.tagText = `${p}${c === "1" ? "排名" : ""}: ${o[0]}${h} ~ ${o[1]}${u}` : ["", null].includes(o[0]) ? e.value.tagText = `${p}${c === "1" ? "排名" : ""}: ≤${o[1]}${u}` : e.value.tagText = `${p}${c === "1" ? "排名" : ""}: ≥${o[0]}${h}`;
1793
+ const w = y === "1" ? "" : r[0] ?? "", n = y === "1" ? "" : r[1] ?? "";
1794
+ !["", null].includes(o[0]) && !["", null].includes(o[1]) ? e.value.tagText = `${p}${y === "1" ? "排名" : ""}: ${o[0]}${w} ~ ${o[1]}${n}` : ["", null].includes(o[0]) ? e.value.tagText = `${p}${y === "1" ? "排名" : ""}: ≤${o[1]}${n}` : e.value.tagText = `${p}${y === "1" ? "排名" : ""}: ≥${o[0]}${w}`;
2052
1795
  }
2053
1796
  }
2054
- const x = r.value.findIndex(({ key: p }) => p === e.value.key);
2055
- x === -1 ? r.value.push(e.value) : r.value.splice(x, 1, e.value), q.value = !1;
2056
- }, s = (x) => {
2057
- _.value = w.value.find(({ key: l }) => l === x.key), e.value = JSON.parse(JSON.stringify(x)), q.value = !0;
2058
- }, L = (x) => {
2059
- r.value.splice(x, 1);
2060
- }, C = (x) => {
1797
+ const x = s.value.findIndex(({ key: p }) => p === e.value.key);
1798
+ x === -1 ? s.value.push(e.value) : s.value.splice(x, 1, e.value), U.value = !1;
1799
+ }, i = (x) => {
1800
+ k.value = S.value.find(({ key: l }) => l === x.key), e.value = JSON.parse(JSON.stringify(x)), U.value = !0;
1801
+ }, M = (x) => {
1802
+ s.value.splice(x, 1);
1803
+ }, j = (x) => {
2061
1804
  e.value.range = [...x.range], e.value.unit = [...x.unit];
2062
- }, E = (x) => {
1805
+ }, N = (x) => {
2063
1806
  switch (x) {
2064
1807
  case "≤0":
2065
1808
  Object.assign(e.value, {
@@ -2104,112 +1847,112 @@ const ge = (g) => (fe("data-v-3e69da40"), g = g(), ye(), g), kt = {
2104
1847
  break;
2105
1848
  }
2106
1849
  };
2107
- ne(
2108
- () => w.value,
1850
+ oe(
1851
+ () => S.value,
2109
1852
  () => {
2110
- r.value.length && (r.value = r.value.filter(({ key: x }) => w.value.find((l) => l.key === x)));
1853
+ s.value.length && (s.value = s.value.filter(({ key: x }) => S.value.find((l) => l.key === x)));
2111
1854
  }
2112
1855
  );
2113
- const B = () => {
1856
+ const Q = () => {
2114
1857
  e.value.radio = null, e.value.rankRange = [null, null];
2115
1858
  };
2116
1859
  return (x, l) => {
2117
- const m = Ke, p = tl, n = Ee, c = we, o = Te, h = de, u = ce, O = Ce, f = Ye, j = Ie;
2118
- return g.config.show && w.value.length ? (a(), y("div", kt, [
2119
- b("div", ht, [
2120
- Vt,
2121
- b("div", xt, [
2122
- (a(!0), y(U, null, P(w.value, (N) => (a(), y("span", {
2123
- key: N.key,
2124
- onClick: (i) => F(N)
2125
- }, A(N.label), 9, $t))), 128))
1860
+ const v = Pe, p = Ze, r = Te, y = je, o = Ne, w = ge, n = be, $ = we, c = ze, q = Oe;
1861
+ return f.config.show && S.value.length ? (u(), g("div", et, [
1862
+ _("div", lt, [
1863
+ tt,
1864
+ _("div", at, [
1865
+ (u(!0), g(R, null, z(S.value, (D) => (u(), g("span", {
1866
+ key: D.key,
1867
+ onClick: (a) => P(D)
1868
+ }, K(D.label), 9, nt))), 128))
2126
1869
  ])
2127
1870
  ]),
2128
- b("div", Ot, [
2129
- (a(!0), y(U, null, P(r.value, (N, i) => (a(), z(m, {
1871
+ _("div", ot, [
1872
+ (u(!0), g(R, null, z(s.value, (D, a) => (u(), L(v, {
2130
1873
  closable: "",
2131
1874
  type: "info",
2132
- onClose: (Z) => L(i)
1875
+ onClose: (W) => M(a)
2133
1876
  }, {
2134
1877
  default: d(() => [
2135
- b("span", null, A(N.tagText), 1),
2136
- b("span", {
1878
+ _("span", null, K(D.tagText), 1),
1879
+ _("span", {
2137
1880
  class: "edit",
2138
- onClick: (Z) => s(N)
2139
- }, "编辑", 8, It)
1881
+ onClick: (W) => i(D)
1882
+ }, "编辑", 8, ut)
2140
1883
  ]),
2141
1884
  _: 2
2142
1885
  }, 1032, ["onClose"]))), 256))
2143
1886
  ]),
2144
- t(j, {
2145
- modelValue: q.value,
2146
- "onUpdate:modelValue": l[26] || (l[26] = (N) => q.value = N),
2147
- title: _.value.label,
1887
+ t(q, {
1888
+ modelValue: U.value,
1889
+ "onUpdate:modelValue": l[26] || (l[26] = (D) => U.value = D),
1890
+ title: k.value.label,
2148
1891
  width: "600",
2149
1892
  "align-center": "",
2150
1893
  "destroy-on-close": ""
2151
- }, be({
1894
+ }, ve({
2152
1895
  footer: d(() => [
2153
- b("div", Jt, [
1896
+ _("div", wt, [
2154
1897
  t(o, {
2155
1898
  type: "primary",
2156
- onClick: v
1899
+ onClick: m
2157
1900
  }, {
2158
1901
  default: d(() => [
2159
- D("确定")
1902
+ E("确定")
2160
1903
  ]),
2161
1904
  _: 1
2162
1905
  })
2163
1906
  ])
2164
1907
  ]),
2165
1908
  default: d(() => {
2166
- var N;
1909
+ var D;
2167
1910
  return [
2168
- _.value.type === void 0 && e.value.radioType === "1" ? (a(), y("div", Tt, [
2169
- St,
2170
- t(c, {
1911
+ k.value.type === void 0 && e.value.radioType === "1" ? (u(), g("div", st, [
1912
+ it,
1913
+ t(y, {
2171
1914
  modelValue: e.value.rankRange[0],
2172
- "onUpdate:modelValue": l[2] || (l[2] = (i) => e.value.rankRange[0] = i),
1915
+ "onUpdate:modelValue": l[2] || (l[2] = (a) => e.value.rankRange[0] = a),
2173
1916
  style: { flex: "1" }
2174
1917
  }, null, 8, ["modelValue"]),
2175
- D(" ~ "),
2176
- t(c, {
1918
+ E(" ~ "),
1919
+ t(y, {
2177
1920
  modelValue: e.value.rankRange[1],
2178
- "onUpdate:modelValue": l[3] || (l[3] = (i) => e.value.rankRange[1] = i),
1921
+ "onUpdate:modelValue": l[3] || (l[3] = (a) => e.value.rankRange[1] = a),
2179
1922
  style: { flex: "1" }
2180
1923
  }, null, 8, ["modelValue"])
2181
- ])) : _.value.type === void 0 ? (a(), y(U, { key: 1 }, [
2182
- (N = _.value.convenientOptions) != null && N.length ? (a(), y("div", Ct, [
2183
- (a(!0), y(U, null, P(_.value.convenientOptions, (i) => (a(), z(o, {
2184
- key: i.text,
2185
- onClick: (Z) => C(i)
1924
+ ])) : k.value.type === void 0 ? (u(), g(R, { key: 1 }, [
1925
+ (D = k.value.convenientOptions) != null && D.length ? (u(), g("div", dt, [
1926
+ (u(!0), g(R, null, z(k.value.convenientOptions, (a) => (u(), L(o, {
1927
+ key: a.text,
1928
+ onClick: (W) => j(a)
2186
1929
  }, {
2187
1930
  default: d(() => [
2188
- D(A(i.text), 1)
1931
+ E(K(a.text), 1)
2189
1932
  ]),
2190
1933
  _: 2
2191
1934
  }, 1032, ["onClick"]))), 128))
2192
- ])) : M("", !0),
2193
- b("div", Et, [
2194
- Rt,
2195
- t(c, {
1935
+ ])) : F("", !0),
1936
+ _("div", ct, [
1937
+ pt,
1938
+ t(y, {
2196
1939
  modelValue: e.value.range[0],
2197
- "onUpdate:modelValue": l[5] || (l[5] = (i) => e.value.range[0] = i),
1940
+ "onUpdate:modelValue": l[5] || (l[5] = (a) => e.value.range[0] = a),
2198
1941
  style: { flex: "1" }
2199
- }, be({ _: 2 }, [
2200
- _.value.unitOptions.length ? {
1942
+ }, ve({ _: 2 }, [
1943
+ k.value.unitOptions.length ? {
2201
1944
  name: "append",
2202
1945
  fn: d(() => [
2203
- _.value.unitOptions.length === 1 ? (a(), y("span", Ut, A(e.value.unit[0]), 1)) : (a(), z(u, {
1946
+ k.value.unitOptions.length === 1 ? (u(), g("span", vt, K(e.value.unit[0]), 1)) : (u(), L(n, {
2204
1947
  key: 1,
2205
1948
  modelValue: e.value.unit[0],
2206
- "onUpdate:modelValue": l[4] || (l[4] = (i) => e.value.unit[0] = i),
1949
+ "onUpdate:modelValue": l[4] || (l[4] = (a) => e.value.unit[0] = a),
2207
1950
  style: { width: "72px" }
2208
1951
  }, {
2209
1952
  default: d(() => [
2210
- (a(!0), y(U, null, P(_.value.unitOptions, (i) => (a(), z(h, {
2211
- label: i,
2212
- value: i
1953
+ (u(!0), g(R, null, z(k.value.unitOptions, (a) => (u(), L(w, {
1954
+ label: a,
1955
+ value: a
2213
1956
  }, null, 8, ["label", "value"]))), 256))
2214
1957
  ]),
2215
1958
  _: 1
@@ -2218,25 +1961,25 @@ const ge = (g) => (fe("data-v-3e69da40"), g = g(), ye(), g), kt = {
2218
1961
  key: "0"
2219
1962
  } : void 0
2220
1963
  ]), 1032, ["modelValue"]),
2221
- D(" ~ "),
2222
- t(c, {
1964
+ E(" ~ "),
1965
+ t(y, {
2223
1966
  modelValue: e.value.range[1],
2224
- "onUpdate:modelValue": l[7] || (l[7] = (i) => e.value.range[1] = i),
1967
+ "onUpdate:modelValue": l[7] || (l[7] = (a) => e.value.range[1] = a),
2225
1968
  style: { flex: "1" }
2226
- }, be({ _: 2 }, [
2227
- _.value.unitOptions.length ? {
1969
+ }, ve({ _: 2 }, [
1970
+ k.value.unitOptions.length ? {
2228
1971
  name: "append",
2229
1972
  fn: d(() => [
2230
- _.value.unitOptions.length === 1 ? (a(), y("span", qt, A(e.value.unit[1]), 1)) : (a(), z(u, {
1973
+ k.value.unitOptions.length === 1 ? (u(), g("span", mt, K(e.value.unit[1]), 1)) : (u(), L(n, {
2231
1974
  key: 1,
2232
1975
  modelValue: e.value.unit[1],
2233
- "onUpdate:modelValue": l[6] || (l[6] = (i) => e.value.unit[1] = i),
1976
+ "onUpdate:modelValue": l[6] || (l[6] = (a) => e.value.unit[1] = a),
2234
1977
  style: { width: "72px" }
2235
1978
  }, {
2236
1979
  default: d(() => [
2237
- (a(!0), y(U, null, P(_.value.unitOptions, (i) => (a(), z(h, {
2238
- label: i,
2239
- value: i
1980
+ (u(!0), g(R, null, z(k.value.unitOptions, (a) => (u(), L(w, {
1981
+ label: a,
1982
+ value: a
2240
1983
  }, null, 8, ["label", "value"]))), 256))
2241
1984
  ]),
2242
1985
  _: 1
@@ -2246,259 +1989,259 @@ const ge = (g) => (fe("data-v-3e69da40"), g = g(), ye(), g), kt = {
2246
1989
  } : void 0
2247
1990
  ]), 1032, ["modelValue"])
2248
1991
  ])
2249
- ], 64)) : (a(), y(U, { key: 2 }, [
2250
- _.value.key === "st" ? (a(), y("div", Mt, [
2251
- t(n, {
1992
+ ], 64)) : (u(), g(R, { key: 2 }, [
1993
+ k.value.key === "st" ? (u(), g("div", ft, [
1994
+ t(r, {
2252
1995
  modelValue: e.value.st,
2253
- "onUpdate:modelValue": l[8] || (l[8] = (i) => e.value.st = i)
1996
+ "onUpdate:modelValue": l[8] || (l[8] = (a) => e.value.st = a)
2254
1997
  }, {
2255
1998
  default: d(() => [
2256
- t(O, {
1999
+ t($, {
2257
2000
  label: "是",
2258
2001
  value: 1
2259
2002
  }),
2260
- t(O, {
2003
+ t($, {
2261
2004
  label: "否",
2262
2005
  value: 0
2263
2006
  })
2264
2007
  ]),
2265
2008
  _: 1
2266
2009
  }, 8, ["modelValue"])
2267
- ])) : M("", !0),
2268
- _.value.key === "tFeaturelncomes" ? (a(), y("div", Ft, [
2269
- b("div", Lt, [
2010
+ ])) : F("", !0),
2011
+ k.value.key === "tFeaturelncomes" ? (u(), g("div", yt, [
2012
+ _("div", gt, [
2270
2013
  t(o, {
2271
- onClick: l[9] || (l[9] = (i) => E("≤0"))
2014
+ onClick: l[9] || (l[9] = (a) => N("≤0"))
2272
2015
  }, {
2273
2016
  default: d(() => [
2274
- D("≤0")
2017
+ E("≤0")
2275
2018
  ]),
2276
2019
  _: 1
2277
2020
  }),
2278
2021
  t(o, {
2279
- onClick: l[10] || (l[10] = (i) => E("≥0"))
2022
+ onClick: l[10] || (l[10] = (a) => N("≥0"))
2280
2023
  }, {
2281
2024
  default: d(() => [
2282
- D("≥0")
2025
+ E("≥0")
2283
2026
  ]),
2284
2027
  _: 1
2285
2028
  }),
2286
2029
  t(o, {
2287
- onClick: l[11] || (l[11] = (i) => E("五年内有四年以上盈利超过5千万"))
2030
+ onClick: l[11] || (l[11] = (a) => N("五年内有四年以上盈利超过5千万"))
2288
2031
  }, {
2289
2032
  default: d(() => [
2290
- D("五年内有四年以上盈利超过5千万")
2033
+ E("五年内有四年以上盈利超过5千万")
2291
2034
  ]),
2292
2035
  _: 1
2293
2036
  }),
2294
2037
  t(o, {
2295
- onClick: l[12] || (l[12] = (i) => E("≥10亿"))
2038
+ onClick: l[12] || (l[12] = (a) => N("≥10亿"))
2296
2039
  }, {
2297
2040
  default: d(() => [
2298
- D("≥10亿")
2041
+ E("≥10亿")
2299
2042
  ]),
2300
2043
  _: 1
2301
2044
  }),
2302
2045
  t(o, {
2303
- onClick: l[13] || (l[13] = (i) => E("≥20亿"))
2046
+ onClick: l[13] || (l[13] = (a) => N("≥20亿"))
2304
2047
  }, {
2305
2048
  default: d(() => [
2306
- D("≥20亿")
2049
+ E("≥20亿")
2307
2050
  ]),
2308
2051
  _: 1
2309
2052
  })
2310
2053
  ]),
2311
- b("div", Dt, [
2312
- zt,
2313
- b("div", null, [
2314
- t(f, {
2054
+ _("div", bt, [
2055
+ kt,
2056
+ _("div", null, [
2057
+ t(c, {
2315
2058
  modelValue: e.value.withFewYears,
2316
- "onUpdate:modelValue": l[14] || (l[14] = (i) => e.value.withFewYears = i),
2059
+ "onUpdate:modelValue": l[14] || (l[14] = (a) => e.value.withFewYears = a),
2317
2060
  "controls-position": "right"
2318
2061
  }, null, 8, ["modelValue"]),
2319
- D(" 年内 "),
2320
- t(f, {
2062
+ E(" 年内 "),
2063
+ t(c, {
2321
2064
  modelValue: e.value.yearsCount,
2322
- "onUpdate:modelValue": l[15] || (l[15] = (i) => e.value.yearsCount = i),
2065
+ "onUpdate:modelValue": l[15] || (l[15] = (a) => e.value.yearsCount = a),
2323
2066
  "controls-position": "right"
2324
2067
  }, null, 8, ["modelValue"]),
2325
- D(" 年以上盈利" + A(e.value.rule === 1 ? "超" : "跌") + "过 ", 1),
2326
- t(f, {
2068
+ E(" 年以上盈利" + K(e.value.rule === 1 ? "超" : "跌") + "过 ", 1),
2069
+ t(c, {
2327
2070
  modelValue: e.value.netProfit,
2328
- "onUpdate:modelValue": l[16] || (l[16] = (i) => e.value.netProfit = i),
2071
+ "onUpdate:modelValue": l[16] || (l[16] = (a) => e.value.netProfit = a),
2329
2072
  "controls-position": "right"
2330
2073
  }, null, 8, ["modelValue"]),
2331
- D(" 亿 ")
2074
+ E(" 亿 ")
2332
2075
  ])
2333
2076
  ])
2334
- ])) : M("", !0),
2335
- _.value.key === "priceLevels" ? (a(), y("div", jt, [
2336
- t(u, {
2077
+ ])) : F("", !0),
2078
+ k.value.key === "priceLevels" ? (u(), g("div", _t, [
2079
+ t(n, {
2337
2080
  modelValue: e.value.priceLevels,
2338
- "onUpdate:modelValue": l[17] || (l[17] = (i) => e.value.priceLevels = i),
2081
+ "onUpdate:modelValue": l[17] || (l[17] = (a) => e.value.priceLevels = a),
2339
2082
  multiple: "",
2340
2083
  clearable: "",
2341
2084
  placeholder: "请选择",
2342
2085
  style: { width: "420px" }
2343
2086
  }, {
2344
2087
  default: d(() => [
2345
- (a(), y(U, null, P([1, 2, 3, 4, 5], (i) => t(h, {
2346
- key: i,
2347
- label: `${i}分位`,
2348
- value: i
2088
+ (u(), g(R, null, z([1, 2, 3, 4, 5], (a) => t(w, {
2089
+ key: a,
2090
+ label: `${a}分位`,
2091
+ value: a
2349
2092
  }, null, 8, ["label", "value"])), 64))
2350
2093
  ]),
2351
2094
  _: 1
2352
2095
  }, 8, ["modelValue"])
2353
- ])) : M("", !0),
2354
- _.value.key === "peTtmLevels" ? (a(), y("div", Nt, [
2355
- t(u, {
2096
+ ])) : F("", !0),
2097
+ k.value.key === "peTtmLevels" ? (u(), g("div", Vt, [
2098
+ t(n, {
2356
2099
  modelValue: e.value.peTtmLevels,
2357
- "onUpdate:modelValue": l[18] || (l[18] = (i) => e.value.peTtmLevels = i),
2100
+ "onUpdate:modelValue": l[18] || (l[18] = (a) => e.value.peTtmLevels = a),
2358
2101
  multiple: "",
2359
2102
  clearable: "",
2360
2103
  placeholder: "请选择",
2361
2104
  style: { width: "420px" }
2362
2105
  }, {
2363
2106
  default: d(() => [
2364
- (a(), y(U, null, P([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (i) => t(h, {
2365
- key: i,
2366
- label: `${i}分位`,
2367
- value: i
2107
+ (u(), g(R, null, z([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (a) => t(w, {
2108
+ key: a,
2109
+ label: `${a}分位`,
2110
+ value: a
2368
2111
  }, null, 8, ["label", "value"])), 64))
2369
2112
  ]),
2370
2113
  _: 1
2371
2114
  }, 8, ["modelValue"])
2372
- ])) : M("", !0),
2373
- _.value.key === "optionsCpType" ? (a(), y("div", Pt, [
2374
- t(n, {
2115
+ ])) : F("", !0),
2116
+ k.value.key === "optionsCpType" ? (u(), g("div", xt, [
2117
+ t(r, {
2375
2118
  modelValue: e.value.optionsCpType,
2376
- "onUpdate:modelValue": l[19] || (l[19] = (i) => e.value.optionsCpType = i)
2119
+ "onUpdate:modelValue": l[19] || (l[19] = (a) => e.value.optionsCpType = a)
2377
2120
  }, {
2378
2121
  default: d(() => [
2379
- t(O, {
2122
+ t($, {
2380
2123
  label: "看涨",
2381
2124
  value: 1
2382
2125
  }),
2383
- t(O, {
2126
+ t($, {
2384
2127
  label: "看跌",
2385
2128
  value: 2
2386
2129
  })
2387
2130
  ]),
2388
2131
  _: 1
2389
2132
  }, 8, ["modelValue"])
2390
- ])) : M("", !0),
2391
- _.value.key === "perVolumn" ? (a(), y("div", Bt, [
2392
- t(n, {
2133
+ ])) : F("", !0),
2134
+ k.value.key === "perVolumn" ? (u(), g("div", ht, [
2135
+ t(r, {
2393
2136
  modelValue: e.value.radio,
2394
- "onUpdate:modelValue": l[20] || (l[20] = (i) => e.value.radio = i)
2137
+ "onUpdate:modelValue": l[20] || (l[20] = (a) => e.value.radio = a)
2395
2138
  }, {
2396
2139
  default: d(() => [
2397
- (a(), y(U, null, P(S, (i) => t(O, {
2398
- key: i.value,
2399
- value: i.value
2140
+ (u(), g(R, null, z(T, (a) => t($, {
2141
+ key: a.value,
2142
+ value: a.value
2400
2143
  }, {
2401
2144
  default: d(() => [
2402
- D(A(i.label), 1)
2145
+ E(K(a.label), 1)
2403
2146
  ]),
2404
2147
  _: 2
2405
2148
  }, 1032, ["value"])), 64))
2406
2149
  ]),
2407
2150
  _: 1
2408
2151
  }, 8, ["modelValue"]),
2409
- t(u, {
2152
+ t(n, {
2410
2153
  modelValue: e.value.levels,
2411
- "onUpdate:modelValue": l[21] || (l[21] = (i) => e.value.levels = i),
2154
+ "onUpdate:modelValue": l[21] || (l[21] = (a) => e.value.levels = a),
2412
2155
  multiple: "",
2413
2156
  clearable: "",
2414
2157
  placeholder: "请选择",
2415
2158
  style: { width: "420px" }
2416
2159
  }, {
2417
2160
  default: d(() => [
2418
- (a(), y(U, null, P([1, 2, 3, 4, 5], (i) => t(h, {
2419
- key: i,
2420
- label: `${i}分位`,
2421
- value: i
2161
+ (u(), g(R, null, z([1, 2, 3, 4, 5], (a) => t(w, {
2162
+ key: a,
2163
+ label: `${a}分位`,
2164
+ value: a
2422
2165
  }, null, 8, ["label", "value"])), 64))
2423
2166
  ]),
2424
2167
  _: 1
2425
2168
  }, 8, ["modelValue"])
2426
- ])) : M("", !0),
2427
- _.value.key === "mainFlow" ? (a(), y("div", Gt, [
2428
- t(n, {
2169
+ ])) : F("", !0),
2170
+ k.value.key === "mainFlow" ? (u(), g("div", Ot, [
2171
+ t(r, {
2429
2172
  modelValue: e.value.radio,
2430
- "onUpdate:modelValue": l[22] || (l[22] = (i) => e.value.radio = i)
2173
+ "onUpdate:modelValue": l[22] || (l[22] = (a) => e.value.radio = a)
2431
2174
  }, {
2432
2175
  default: d(() => [
2433
- t(O, { value: "3" }, {
2176
+ t($, { value: "3" }, {
2434
2177
  default: d(() => [
2435
- D("3日")
2178
+ E("3日")
2436
2179
  ]),
2437
2180
  _: 1
2438
2181
  }),
2439
- t(O, { value: "5" }, {
2182
+ t($, { value: "5" }, {
2440
2183
  default: d(() => [
2441
- D("5日")
2184
+ E("5日")
2442
2185
  ]),
2443
2186
  _: 1
2444
2187
  }),
2445
- t(O, { value: "10" }, {
2188
+ t($, { value: "10" }, {
2446
2189
  default: d(() => [
2447
- D("10日")
2190
+ E("10日")
2448
2191
  ]),
2449
2192
  _: 1
2450
2193
  }),
2451
- t(O, { value: "20" }, {
2194
+ t($, { value: "20" }, {
2452
2195
  default: d(() => [
2453
- D("20日")
2196
+ E("20日")
2454
2197
  ]),
2455
2198
  _: 1
2456
2199
  })
2457
2200
  ]),
2458
2201
  _: 1
2459
2202
  }, 8, ["modelValue"]),
2460
- b("div", Yt, [
2461
- b("span", null, A(e.value.radioType === "0" ? "涨幅范围" : "排名范围") + ": ", 1),
2462
- t(c, {
2203
+ _("div", $t, [
2204
+ _("span", null, K(e.value.radioType === "0" ? "涨幅范围" : "排名范围") + ": ", 1),
2205
+ t(y, {
2463
2206
  modelValue: e.value.rankRange[0],
2464
- "onUpdate:modelValue": l[23] || (l[23] = (i) => e.value.rankRange[0] = i),
2207
+ "onUpdate:modelValue": l[23] || (l[23] = (a) => e.value.rankRange[0] = a),
2465
2208
  style: { flex: "1" }
2466
2209
  }, null, 8, ["modelValue"]),
2467
- D(" ~ "),
2468
- t(c, {
2210
+ E(" ~ "),
2211
+ t(y, {
2469
2212
  modelValue: e.value.rankRange[1],
2470
- "onUpdate:modelValue": l[24] || (l[24] = (i) => e.value.rankRange[1] = i),
2213
+ "onUpdate:modelValue": l[24] || (l[24] = (a) => e.value.rankRange[1] = a),
2471
2214
  style: { flex: "1" }
2472
2215
  }, null, 8, ["modelValue"])
2473
2216
  ])
2474
- ])) : M("", !0),
2475
- _.value.key === "auditOpinionType" ? (a(), y("div", At, [
2476
- t(n, {
2217
+ ])) : F("", !0),
2218
+ k.value.key === "auditOpinionType" ? (u(), g("div", It, [
2219
+ t(r, {
2477
2220
  modelValue: e.value.enumType,
2478
- "onUpdate:modelValue": l[25] || (l[25] = (i) => e.value.enumType = i)
2221
+ "onUpdate:modelValue": l[25] || (l[25] = (a) => e.value.enumType = a)
2479
2222
  }, {
2480
2223
  default: d(() => [
2481
- (a(), y(U, null, P(I, (i, Z) => t(O, {
2482
- key: Z,
2483
- label: i.label,
2484
- value: i.value
2224
+ (u(), g(R, null, z(h, (a, W) => t($, {
2225
+ key: W,
2226
+ label: a.label,
2227
+ value: a.value
2485
2228
  }, null, 8, ["label", "value"])), 64))
2486
2229
  ]),
2487
2230
  _: 1
2488
2231
  }, 8, ["modelValue"])
2489
- ])) : M("", !0)
2232
+ ])) : F("", !0)
2490
2233
  ], 64))
2491
2234
  ];
2492
2235
  }),
2493
2236
  _: 2
2494
2237
  }, [
2495
- _.value.showRankType ? {
2238
+ k.value.showRankType ? {
2496
2239
  name: "header",
2497
2240
  fn: d(() => [
2498
- b("span", wt, A(_.value.label), 1),
2499
- t(n, {
2241
+ _("span", rt, K(k.value.label), 1),
2242
+ t(r, {
2500
2243
  modelValue: e.value.radioType,
2501
- "onUpdate:modelValue": l[0] || (l[0] = (N) => e.value.radioType = N),
2244
+ "onUpdate:modelValue": l[0] || (l[0] = (D) => e.value.radioType = D),
2502
2245
  style: { "vertical-align": "4px", "margin-left": "12px" }
2503
2246
  }, {
2504
2247
  default: d(() => [
@@ -2507,7 +2250,7 @@ const ge = (g) => (fe("data-v-3e69da40"), g = g(), ye(), g), kt = {
2507
2250
  value: "0"
2508
2251
  }),
2509
2252
  t(p, {
2510
- disabled: R.value && R.value !== _.value.key,
2253
+ disabled: C.value && C.value !== k.value.key,
2511
2254
  label: "排名",
2512
2255
  value: "1"
2513
2256
  }, null, 8, ["disabled"])
@@ -2516,15 +2259,15 @@ const ge = (g) => (fe("data-v-3e69da40"), g = g(), ye(), g), kt = {
2516
2259
  }, 8, ["modelValue"])
2517
2260
  ]),
2518
2261
  key: "0"
2519
- } : _.value.key === "mainFlow" ? {
2262
+ } : k.value.key === "mainFlow" ? {
2520
2263
  name: "header",
2521
2264
  fn: d(() => [
2522
- b("span", { style: { "font-size": "18px" } }, A(_.value.label), 1),
2523
- t(n, {
2265
+ _("span", { style: { "font-size": "18px" } }, K(k.value.label), 1),
2266
+ t(r, {
2524
2267
  modelValue: e.value.radioType,
2525
- "onUpdate:modelValue": l[1] || (l[1] = (N) => e.value.radioType = N),
2268
+ "onUpdate:modelValue": l[1] || (l[1] = (D) => e.value.radioType = D),
2526
2269
  style: { "vertical-align": "4px", "margin-left": "12px" },
2527
- onChange: B
2270
+ onChange: Q
2528
2271
  }, {
2529
2272
  default: d(() => [
2530
2273
  t(p, {
@@ -2532,7 +2275,7 @@ const ge = (g) => (fe("data-v-3e69da40"), g = g(), ye(), g), kt = {
2532
2275
  value: "0"
2533
2276
  }),
2534
2277
  t(p, {
2535
- disabled: R.value && R.value !== _.value.key,
2278
+ disabled: C.value && C.value !== k.value.key,
2536
2279
  label: "排名范围",
2537
2280
  value: "1"
2538
2281
  }, null, 8, ["disabled"])
@@ -2543,38 +2286,38 @@ const ge = (g) => (fe("data-v-3e69da40"), g = g(), ye(), g), kt = {
2543
2286
  key: "1"
2544
2287
  } : void 0
2545
2288
  ]), 1032, ["modelValue", "title"])
2546
- ])) : M("", !0);
2289
+ ])) : F("", !0);
2547
2290
  };
2548
2291
  }
2549
- }, Qt = /* @__PURE__ */ oe(Kt, [["__scopeId", "data-v-3e69da40"]]);
2550
- const le = (g) => (fe("data-v-efd872de"), g = g(), ye(), g), Ht = { class: "variety-search" }, Zt = {
2292
+ }, St = /* @__PURE__ */ $e(Tt, [["__scopeId", "data-v-3e69da40"]]);
2293
+ const te = (f) => (xe("data-v-efd872de"), f = f(), he(), f), Ct = { class: "variety-search" }, Et = {
2551
2294
  key: 0,
2552
2295
  class: "variety-search-row"
2553
- }, Wt = { class: "title" }, Xt = /* @__PURE__ */ le(() => /* @__PURE__ */ b("span", null, "品种市场: ", -1)), ea = {
2296
+ }, Rt = { class: "title" }, Ut = /* @__PURE__ */ te(() => /* @__PURE__ */ _("span", null, "品种市场: ", -1)), Mt = {
2554
2297
  key: 1,
2555
2298
  class: "variety-search-row"
2556
- }, la = { class: "title" }, ta = /* @__PURE__ */ le(() => /* @__PURE__ */ b("span", null, "常用选项: ", -1)), aa = {
2299
+ }, qt = { class: "title" }, Dt = /* @__PURE__ */ te(() => /* @__PURE__ */ _("span", null, "常用选项: ", -1)), Ft = {
2557
2300
  key: 2,
2558
2301
  class: "variety-search-row"
2559
- }, na = { class: "title" }, oa = /* @__PURE__ */ le(() => /* @__PURE__ */ b("span", null, "上市板块: ", -1)), ua = {
2302
+ }, Lt = { class: "title" }, jt = /* @__PURE__ */ te(() => /* @__PURE__ */ _("span", null, "上市板块: ", -1)), zt = {
2560
2303
  key: 3,
2561
2304
  class: "variety-search-row"
2562
- }, sa = { class: "title" }, ra = /* @__PURE__ */ le(() => /* @__PURE__ */ b("span", null, "自定标签: ", -1)), ia = {
2305
+ }, Nt = { class: "title" }, Pt = /* @__PURE__ */ te(() => /* @__PURE__ */ _("span", null, "自定标签: ", -1)), Bt = {
2563
2306
  key: 4,
2564
2307
  class: "variety-search-row"
2565
- }, da = { class: "title" }, ca = /* @__PURE__ */ le(() => /* @__PURE__ */ b("span", null, "价差转换: ", -1)), pa = {
2308
+ }, Gt = { class: "title" }, Yt = /* @__PURE__ */ te(() => /* @__PURE__ */ _("span", null, "价差转换: ", -1)), Jt = {
2566
2309
  key: 5,
2567
2310
  class: "variety-search-row"
2568
- }, va = { class: "title" }, ma = /* @__PURE__ */ le(() => /* @__PURE__ */ b("span", null, "因子筛选: ", -1)), fa = {
2311
+ }, At = { class: "title" }, Kt = /* @__PURE__ */ te(() => /* @__PURE__ */ _("span", null, "因子筛选: ", -1)), Qt = {
2569
2312
  __name: "index",
2570
- props: /* @__PURE__ */ ve({ config: { type: Object, default: {} } }, {
2313
+ props: /* @__PURE__ */ de({ config: { type: Object, default: {} } }, {
2571
2314
  searchData: {},
2572
2315
  searchDataModifiers: {}
2573
2316
  }),
2574
2317
  emits: ["update:searchData"],
2575
- setup(g, { expose: S }) {
2576
- const I = g, r = me(g, "searchData");
2577
- r.value = Object.assign(r.value, {
2318
+ setup(f, { expose: T }) {
2319
+ const h = f, s = ce(f, "searchData");
2320
+ s.value = Object.assign(s.value, {
2578
2321
  // 品种市场
2579
2322
  varietyMarket: null,
2580
2323
  // 常用选项
@@ -2598,44 +2341,44 @@ const le = (g) => (fe("data-v-efd872de"), g = g(), ye(), g), Ht = { class: "vari
2598
2341
  // 常用指标
2599
2342
  commonIndicator: []
2600
2343
  });
2601
- const k = Q(() => {
2602
- const v = {};
2603
- return Object.keys(Le).forEach((s) => {
2604
- const L = Le[s], C = I.config[s] ?? {}, E = { ...L, ...C };
2605
- v[s] = E;
2606
- }), v;
2607
- }), q = Q(() => k.value.varietyMarket.options), R = Q(() => {
2608
- const { varietyMarket: v } = r.value;
2609
- return v ? q.value.find(({ value: L }) => L === v).memo.reduce((L, C) => {
2610
- const E = k.value.commonOption.options.find((B) => B.value === C);
2611
- return E && L.push(E), L;
2612
- }, []) : k.value.commonOption.options;
2613
- }), w = Q(() => {
2614
- const { varietyMarket: v } = r.value;
2615
- return v ? k.value.marketIds.options.filter((s) => s.varietyMarketIds.includes(v)) : k.value.marketIds.options;
2616
- }), _ = Q(() => k.value.customTag.options), e = Q(() => k.value.jcTranslate.jcOptions), F = (v) => {
2617
- switch (v) {
2344
+ const V = A(() => {
2345
+ const m = {};
2346
+ return Object.keys(Ue).forEach((i) => {
2347
+ const M = Ue[i], j = h.config[i] ?? {}, N = { ...M, ...j };
2348
+ m[i] = N;
2349
+ }), m;
2350
+ }), U = A(() => V.value.varietyMarket.options), C = A(() => {
2351
+ const { varietyMarket: m } = s.value;
2352
+ return m ? U.value.find(({ value: M }) => M === m).memo.reduce((M, j) => {
2353
+ const N = V.value.commonOption.options.find((Q) => Q.value === j);
2354
+ return N && M.push(N), M;
2355
+ }, []) : V.value.commonOption.options;
2356
+ }), S = A(() => {
2357
+ const { varietyMarket: m } = s.value;
2358
+ return m ? V.value.marketIds.options.filter((i) => i.varietyMarketIds.includes(m)) : V.value.marketIds.options;
2359
+ }), k = A(() => V.value.customTag.options), e = A(() => V.value.jcTranslate.jcOptions), P = (m) => {
2360
+ switch (m) {
2618
2361
  case "commonOption": {
2619
- r.value[v] = [];
2362
+ s.value[m] = [];
2620
2363
  break;
2621
2364
  }
2622
2365
  case "marketIds": {
2623
- r.value[v] = [];
2366
+ s.value[m] = [];
2624
2367
  break;
2625
2368
  }
2626
2369
  case "customTag": {
2627
- r.value[v] = [];
2370
+ s.value[m] = [];
2628
2371
  break;
2629
2372
  }
2630
2373
  case "jcTranslate": {
2631
- r.value[v] = {
2374
+ s.value[m] = {
2632
2375
  type: null,
2633
2376
  jcList: []
2634
2377
  };
2635
2378
  break;
2636
2379
  }
2637
2380
  case "factorScreen": {
2638
- r.value[v] = {
2381
+ s.value[m] = {
2639
2382
  list: [],
2640
2383
  sqlEnable: 0,
2641
2384
  sqlValue: null,
@@ -2644,47 +2387,47 @@ const le = (g) => (fe("data-v-efd872de"), g = g(), ye(), g), Ht = { class: "vari
2644
2387
  break;
2645
2388
  }
2646
2389
  case "commonIndicator": {
2647
- r.value[v] = [];
2390
+ s.value[m] = [];
2648
2391
  break;
2649
2392
  }
2650
2393
  default: {
2651
- r.value[v] = null;
2394
+ s.value[m] = null;
2652
2395
  break;
2653
2396
  }
2654
2397
  }
2655
2398
  };
2656
- return ne(
2657
- () => R.value,
2658
- (v) => {
2659
- var s;
2660
- (s = r.value.commonOption) != null && s.length && (r.value.commonOption = r.value.commonOption.filter((L) => v.find(({ value: C }) => C === L)));
2399
+ return oe(
2400
+ () => C.value,
2401
+ (m) => {
2402
+ var i;
2403
+ (i = s.value.commonOption) != null && i.length && (s.value.commonOption = s.value.commonOption.filter((M) => m.find(({ value: j }) => j === M)));
2661
2404
  }
2662
- ), ne(
2663
- () => w.value,
2664
- (v) => {
2665
- var s;
2666
- (s = r.value.marketIds) != null && s.length && (r.value.marketIds = r.value.marketIds.filter((L) => v.find(({ value: C }) => C === L)));
2405
+ ), oe(
2406
+ () => S.value,
2407
+ (m) => {
2408
+ var i;
2409
+ (i = s.value.marketIds) != null && i.length && (s.value.marketIds = s.value.marketIds.filter((M) => m.find(({ value: j }) => j === M)));
2667
2410
  }
2668
- ), S({
2411
+ ), T({
2669
2412
  // 生成接口传参结构的数据
2670
- formatData: (v) => {
2671
- var L, C, E, B, x, l;
2413
+ formatData: (m) => {
2414
+ var M, j, N, Q, x, l;
2672
2415
  console.log("%c[st-varietySearch]: 正在生成接口传参...", "color: tomato");
2673
- const s = {};
2674
- if (v.varietyMarket && (s.exchangeId = String(v.varietyMarket)), (L = v.commonOption) != null && L.length && (s.optionId = v.commonOption.join(",")), (C = v.marketIds) != null && C.length && (s.marketIds = v.marketIds), (E = v.customTag) != null && E.length && (s.tagIds = v.customTag), (B = k.value.jcTranslate) != null && B.show) {
2675
- const { jcTranslate: m } = v, { type: p, jcList: n } = m;
2416
+ const i = {};
2417
+ if (m.varietyMarket && (i.exchangeId = String(m.varietyMarket)), (M = m.commonOption) != null && M.length && (i.optionId = m.commonOption.join(",")), (j = m.marketIds) != null && j.length && (i.marketIds = m.marketIds), (N = m.customTag) != null && N.length && (i.tagIds = m.customTag), (Q = V.value.jcTranslate) != null && Q.show) {
2418
+ const { jcTranslate: v } = m, { type: p, jcList: r } = v;
2676
2419
  switch (p) {
2677
2420
  case 1: {
2678
- s.translateType = 1, s.jcType = n.join(",");
2421
+ i.translateType = 1, i.jcType = r.join(",");
2679
2422
  break;
2680
2423
  }
2681
2424
  case 2:
2682
- s.translateType = 2;
2425
+ i.translateType = 2;
2683
2426
  }
2684
2427
  }
2685
- if ((x = k.value.factorScreen) != null && x.show) {
2686
- const { factorScreen: m } = v;
2687
- if ((l = m == null ? void 0 : m.list) != null && l.length && (s.tbFeatureFactorScores = m.list.map((p) => {
2428
+ if ((x = V.value.factorScreen) != null && x.show) {
2429
+ const { factorScreen: v } = m;
2430
+ if ((l = v == null ? void 0 : v.list) != null && l.length && (i.tbFeatureFactorScores = v.list.map((p) => {
2688
2431
  switch (p.key) {
2689
2432
  case "compare":
2690
2433
  return {
@@ -2702,147 +2445,147 @@ const le = (g) => (fe("data-v-efd872de"), g = g(), ye(), g), Ht = { class: "vari
2702
2445
  endScore: p.score[1]
2703
2446
  };
2704
2447
  }
2705
- })), m.sqlEnable) {
2706
- const p = m.list.reduce((c, o, h) => {
2707
- var O, f;
2708
- const u = `条件${h + 1}`;
2448
+ })), v.sqlEnable) {
2449
+ const p = v.list.reduce((y, o, w) => {
2450
+ var $, c;
2451
+ const n = `条件${w + 1}`;
2709
2452
  switch (o.key) {
2710
2453
  case "compare": {
2711
- let j = "";
2712
- (O = k.value.factorScreen) != null && O.cycleShow ? j = `freq_id = ${o.cycle} and factor_id = ${o.factor} ${o.compareType} freq_id = ${o.cycle2} and factor_id = ${o.factor2}` : j = `factor_id = ${o.factor} ${o.compareType} factor_id = ${o.factor2}`, c.set(u, `(${j})`);
2454
+ let q = "";
2455
+ ($ = V.value.factorScreen) != null && $.cycleShow ? q = `freq_id = ${o.cycle} and factor_id = ${o.factor} ${o.compareType} freq_id = ${o.cycle2} and factor_id = ${o.factor2}` : q = `factor_id = ${o.factor} ${o.compareType} factor_id = ${o.factor2}`, y.set(n, `(${q})`);
2713
2456
  break;
2714
2457
  }
2715
2458
  default: {
2716
- let j = `factor_id = ${o.factor} and `;
2717
- (f = k.value.factorScreen) != null && f.cycleShow && (j = `freq_id = ${o.cycle} and factor_id = ${o.factor} and `), (o.score[0] || o.score[0] === 0) && (o.score[1] || o.score[1] === 0) ? j += `score >= ${o.score[0]} and score <= ${o.score[1]}` : o.score[0] || o.score[0] === 0 ? j += `score >= ${o.score[0]}` : (o.score[1] || o.score[1] === 0) && (j += `score <= ${o.score[1]}`), c.set(u, `(${j})`);
2459
+ let q = `factor_id = ${o.factor} and `;
2460
+ (c = V.value.factorScreen) != null && c.cycleShow && (q = `freq_id = ${o.cycle} and factor_id = ${o.factor} and `), (o.score[0] || o.score[0] === 0) && (o.score[1] || o.score[1] === 0) ? q += `score >= ${o.score[0]} and score <= ${o.score[1]}` : o.score[0] || o.score[0] === 0 ? q += `score >= ${o.score[0]}` : (o.score[1] || o.score[1] === 0) && (q += `score <= ${o.score[1]}`), y.set(n, `(${q})`);
2718
2461
  }
2719
2462
  }
2720
- return c;
2463
+ return y;
2721
2464
  }, /* @__PURE__ */ new Map([]));
2722
- let n = m.sqlValue;
2723
- for (const [c, o] of p) {
2724
- const h = new RegExp(c, "g");
2725
- n = n.replace(h, o);
2465
+ let r = v.sqlValue;
2466
+ for (const [y, o] of p) {
2467
+ const w = new RegExp(y, "g");
2468
+ r = r.replace(w, o);
2726
2469
  }
2727
- s.sql = n, s.sqlExpression = m.sqlValue;
2470
+ i.sql = r, i.sqlExpression = v.sqlValue;
2728
2471
  }
2729
- s.enableSql = m.sqlEnable === 1 ? 2 : 1, m.factorSelectExpr && (s.factorSelectExpr = m.factorSelectExpr);
2472
+ i.enableSql = v.sqlEnable === 1 ? 2 : 1, v.factorSelectExpr && (i.factorSelectExpr = v.factorSelectExpr);
2730
2473
  }
2731
2474
  {
2732
- const m = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], p = v.commonIndicator.reduce((f, j) => {
2733
- const { key: N, type: i, range: Z, unit: te, radioType: ue, radio: se, rankRange: ae } = j;
2734
- if (N === "mainFlow") {
2735
- let [J, $] = ae, H = ue === "0" ? `netInfow${se}d` : `last${se}DayMainFlowRank`;
2736
- f.push({ column: H, start: J, end: $ });
2475
+ const v = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], p = m.commonIndicator.reduce((c, q) => {
2476
+ const { key: D, type: a, range: W, unit: ae, radioType: ue, radio: re, rankRange: ne } = q;
2477
+ if (D === "mainFlow") {
2478
+ let [Y, G] = ne, I = ue === "0" ? `netInfow${re}d` : `last${re}DayMainFlowRank`;
2479
+ c.push({ column: I, start: Y, end: G });
2737
2480
  }
2738
- if (N === "auditOpinionType")
2739
- f.push({ column: j.key, enumType: j.enumType });
2481
+ if (D === "auditOpinionType")
2482
+ c.push({ column: q.key, enumType: q.enumType });
2740
2483
  else if (ue === "1")
2741
- s.sortBy = {
2742
- column: j.key,
2743
- start: ae[0] || null,
2744
- end: ae[1] || null
2484
+ i.sortBy = {
2485
+ column: q.key,
2486
+ start: ne[0] || null,
2487
+ end: ne[1] || null
2745
2488
  };
2746
- else if (["dividendYield", "incrementRevenueLyr", "netProfitGrowthRatioLyr", "fiveYearRoe"].includes(N)) {
2747
- let [J, $] = Z;
2748
- ["", null].includes(J) || (J = J / 100), ["", null].includes($) || ($ = $ / 100), f.push({
2749
- column: j.key,
2750
- start: J,
2751
- end: $
2489
+ else if (["dividendYield", "incrementRevenueLyr", "netProfitGrowthRatioLyr", "fiveYearRoe"].includes(D)) {
2490
+ let [Y, G] = W;
2491
+ ["", null].includes(Y) || (Y = Y / 100), ["", null].includes(G) || (G = G / 100), c.push({
2492
+ column: q.key,
2493
+ start: Y,
2494
+ end: G
2752
2495
  });
2753
- } else if (i === void 0 && !m.includes(N)) {
2754
- let [J, $] = Z;
2755
- if (!["", null].includes(J))
2756
- switch (te[0]) {
2496
+ } else if (a === void 0 && !v.includes(D)) {
2497
+ let [Y, G] = W;
2498
+ if (!["", null].includes(Y))
2499
+ switch (ae[0]) {
2757
2500
  case "亿":
2758
- J = J * 1e8;
2501
+ Y = Y * 1e8;
2759
2502
  break;
2760
2503
  case "千万":
2761
- J = J * 1e7;
2504
+ Y = Y * 1e7;
2762
2505
  break;
2763
2506
  default:
2764
- J = J;
2507
+ Y = Y;
2765
2508
  break;
2766
2509
  }
2767
- if (!["", null].includes($))
2768
- switch (te[1]) {
2510
+ if (!["", null].includes(G))
2511
+ switch (ae[1]) {
2769
2512
  case "亿":
2770
- $ = $ * 1e8;
2513
+ G = G * 1e8;
2771
2514
  break;
2772
2515
  case "千万":
2773
- $ = $ * 1e7;
2516
+ G = G * 1e7;
2774
2517
  break;
2775
2518
  default:
2776
- $ = $;
2519
+ G = G;
2777
2520
  break;
2778
2521
  }
2779
- f.push({
2780
- column: j.key,
2781
- start: J,
2782
- end: $
2522
+ c.push({
2523
+ column: q.key,
2524
+ start: Y,
2525
+ end: G
2783
2526
  });
2784
2527
  }
2785
- return f;
2528
+ return c;
2786
2529
  }, []);
2787
- p.length && (s.query = p);
2788
- const n = v.commonIndicator.find(({ key: f }) => f === "st");
2789
- n && (s.st = n.st);
2790
- const c = v.commonIndicator.find(({ key: f }) => f === "tFeaturelncomes");
2791
- c && (s.netProfitQueryDto = { ...c, netProfit: c.netProfit * 1e8 });
2792
- const o = v.commonIndicator.find(({ key: f }) => f === "priceLevels");
2793
- o && (s.priceLevels = o.priceLevels);
2794
- const h = v.commonIndicator.find(({ key: f }) => f === "peTtmLevels");
2795
- h && (s.peTtmLevels = h.peTtmLevels);
2796
- const u = {};
2797
- v.commonIndicator.forEach((f) => {
2798
- const { key: j } = f;
2799
- switch (j) {
2530
+ p.length && (i.query = p);
2531
+ const r = m.commonIndicator.find(({ key: c }) => c === "st");
2532
+ r && (i.st = r.st);
2533
+ const y = m.commonIndicator.find(({ key: c }) => c === "tFeaturelncomes");
2534
+ y && (i.netProfitQueryDto = { ...y, netProfit: y.netProfit * 1e8 });
2535
+ const o = m.commonIndicator.find(({ key: c }) => c === "priceLevels");
2536
+ o && (i.priceLevels = o.priceLevels);
2537
+ const w = m.commonIndicator.find(({ key: c }) => c === "peTtmLevels");
2538
+ w && (i.peTtmLevels = w.peTtmLevels);
2539
+ const n = {};
2540
+ m.commonIndicator.forEach((c) => {
2541
+ const { key: q } = c;
2542
+ switch (q) {
2800
2543
  case "expireDays":
2801
- ["", null].includes(f.range[0]) || (u.minExpireDays = f.range[0]), ["", null].includes(f.range[1]) || (u.maxExpireDays = f.range[1]);
2544
+ ["", null].includes(c.range[0]) || (n.minExpireDays = c.range[0]), ["", null].includes(c.range[1]) || (n.maxExpireDays = c.range[1]);
2802
2545
  break;
2803
2546
  case "virtualRealDegree":
2804
- ["", null].includes(f.range[0]) || (u.minVirtualRealDegree = f.range[0] / 100), ["", null].includes(f.range[1]) || (u.maxVirtualRealDegree = f.range[1] / 100);
2547
+ ["", null].includes(c.range[0]) || (n.minVirtualRealDegree = c.range[0] / 100), ["", null].includes(c.range[1]) || (n.maxVirtualRealDegree = c.range[1] / 100);
2805
2548
  break;
2806
2549
  case "yearProfitRate":
2807
- ["", null].includes(f.range[0]) || (u.minYearProfitRate = f.range[0] / 100), ["", null].includes(f.range[1]) || (u.maxYearProfitRate = f.range[1] / 100);
2550
+ ["", null].includes(c.range[0]) || (n.minYearProfitRate = c.range[0] / 100), ["", null].includes(c.range[1]) || (n.maxYearProfitRate = c.range[1] / 100);
2808
2551
  break;
2809
2552
  case "impliedVolatility":
2810
- ["", null].includes(f.range[0]) || (u.minImpliedVolatility = f.range[0] / 100), ["", null].includes(f.range[1]) || (u.maxImpliedVolatility = f.range[1] / 100);
2553
+ ["", null].includes(c.range[0]) || (n.minImpliedVolatility = c.range[0] / 100), ["", null].includes(c.range[1]) || (n.maxImpliedVolatility = c.range[1] / 100);
2811
2554
  break;
2812
2555
  case "levelMultiplier":
2813
- ["", null].includes(f.range[0]) || (u.minLevelMultiplier = f.range[0]), ["", null].includes(f.range[1]) || (u.maxLevelMultiplier = f.range[1]);
2556
+ ["", null].includes(c.range[0]) || (n.minLevelMultiplier = c.range[0]), ["", null].includes(c.range[1]) || (n.maxLevelMultiplier = c.range[1]);
2814
2557
  break;
2815
2558
  case "turnover":
2816
- ["", null].includes(f.range[0]) || (u.minTurnover = f.range[0] * 1e4), ["", null].includes(f.range[1]) || (u.maxTurnover = f.range[1] * 1e4);
2559
+ ["", null].includes(c.range[0]) || (n.minTurnover = c.range[0] * 1e4), ["", null].includes(c.range[1]) || (n.maxTurnover = c.range[1] * 1e4);
2817
2560
  break;
2818
2561
  case "volume":
2819
- ["", null].includes(f.range[0]) || (u.minVolume = f.range[0]), ["", null].includes(f.range[1]) || (u.maxVolume = f.range[1]);
2562
+ ["", null].includes(c.range[0]) || (n.minVolume = c.range[0]), ["", null].includes(c.range[1]) || (n.maxVolume = c.range[1]);
2820
2563
  break;
2821
2564
  case "openInterest":
2822
- ["", null].includes(f.range[0]) || (u.minOpenInterest = f.range[0]), ["", null].includes(f.range[1]) || (u.maxOpenInterest = f.range[1]);
2565
+ ["", null].includes(c.range[0]) || (n.minOpenInterest = c.range[0]), ["", null].includes(c.range[1]) || (n.maxOpenInterest = c.range[1]);
2823
2566
  break;
2824
2567
  case "optionsCpType":
2825
- u.optionsCpType = f.optionsCpType;
2568
+ n.optionsCpType = c.optionsCpType;
2826
2569
  break;
2827
2570
  case "optionGear":
2828
- ["", null].includes(f.range[0]) || (u.minOptionGear = f.range[0]), ["", null].includes(f.range[1]) || (u.maxOptionGear = f.range[1]);
2571
+ ["", null].includes(c.range[0]) || (n.minOptionGear = c.range[0]), ["", null].includes(c.range[1]) || (n.maxOptionGear = c.range[1]);
2829
2572
  break;
2830
2573
  }
2831
2574
  });
2832
- const O = v.commonIndicator.find(({ key: f }) => f === "perVolumn");
2833
- O && (s.perVolumn = {
2834
- type: O.radio,
2835
- value: O.levels
2836
- }), Object.keys(u).length && (s.searchOptionDto = {
2837
- ...s.searchOptionDto,
2838
- ...u
2575
+ const $ = m.commonIndicator.find(({ key: c }) => c === "perVolumn");
2576
+ $ && (i.perVolumn = {
2577
+ type: $.radio,
2578
+ value: $.levels
2579
+ }), Object.keys(n).length && (i.searchOptionDto = {
2580
+ ...i.searchOptionDto,
2581
+ ...n
2839
2582
  });
2840
2583
  }
2841
- return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green", s), s;
2584
+ return console.log("%c[st-varietySearch]: 接口传参数据生成完毕", "color: green", i), i;
2842
2585
  },
2843
2586
  // 重置函数
2844
2587
  reset: () => {
2845
- r.value = {
2588
+ s.value = {
2846
2589
  // 品种市场
2847
2590
  varietyMarket: null,
2848
2591
  // 常用选项
@@ -2867,129 +2610,129 @@ const le = (g) => (fe("data-v-efd872de"), g = g(), ye(), g), Ht = { class: "vari
2867
2610
  commonIndicator: []
2868
2611
  };
2869
2612
  }
2870
- }), (v, s) => {
2871
- var m, p, n, c, o, h;
2872
- const L = Ce, C = Ee, E = dl, B = cl, x = de, l = ce;
2873
- return a(), y("div", Ht, [
2874
- (m = k.value.varietyMarket) != null && m.show ? (a(), y("div", Zt, [
2875
- b("div", Wt, [
2876
- Xt,
2877
- b("span", {
2878
- onClick: s[0] || (s[0] = (u) => F("varietyMarket"))
2613
+ }), (m, i) => {
2614
+ var v, p, r, y, o, w;
2615
+ const M = we, j = Te, N = ol, Q = ul, x = ge, l = be;
2616
+ return u(), g("div", Ct, [
2617
+ (v = V.value.varietyMarket) != null && v.show ? (u(), g("div", Et, [
2618
+ _("div", Rt, [
2619
+ Ut,
2620
+ _("span", {
2621
+ onClick: i[0] || (i[0] = (n) => P("varietyMarket"))
2879
2622
  }, "不限")
2880
2623
  ]),
2881
- t(C, {
2882
- modelValue: r.value.varietyMarket,
2883
- "onUpdate:modelValue": s[1] || (s[1] = (u) => r.value.varietyMarket = u),
2624
+ t(j, {
2625
+ modelValue: s.value.varietyMarket,
2626
+ "onUpdate:modelValue": i[1] || (i[1] = (n) => s.value.varietyMarket = n),
2884
2627
  size: "small"
2885
2628
  }, {
2886
2629
  default: d(() => [
2887
- (a(!0), y(U, null, P(q.value, ({ label: u, value: O }) => (a(), z(L, {
2888
- label: u,
2889
- value: O,
2890
- key: O
2630
+ (u(!0), g(R, null, z(U.value, ({ label: n, value: $ }) => (u(), L(M, {
2631
+ label: n,
2632
+ value: $,
2633
+ key: $
2891
2634
  }, null, 8, ["label", "value"]))), 128))
2892
2635
  ]),
2893
2636
  _: 1
2894
2637
  }, 8, ["modelValue"])
2895
- ])) : M("", !0),
2896
- (p = k.value.commonOption) != null && p.show && R.value.length ? (a(), y("div", ea, [
2897
- b("div", la, [
2898
- ta,
2899
- b("span", {
2900
- onClick: s[2] || (s[2] = (u) => F("commonOption"))
2638
+ ])) : F("", !0),
2639
+ (p = V.value.commonOption) != null && p.show && C.value.length ? (u(), g("div", Mt, [
2640
+ _("div", qt, [
2641
+ Dt,
2642
+ _("span", {
2643
+ onClick: i[2] || (i[2] = (n) => P("commonOption"))
2901
2644
  }, "不限")
2902
2645
  ]),
2903
- t(B, {
2904
- modelValue: r.value.commonOption,
2905
- "onUpdate:modelValue": s[3] || (s[3] = (u) => r.value.commonOption = u),
2646
+ t(Q, {
2647
+ modelValue: s.value.commonOption,
2648
+ "onUpdate:modelValue": i[3] || (i[3] = (n) => s.value.commonOption = n),
2906
2649
  size: "small"
2907
2650
  }, {
2908
2651
  default: d(() => [
2909
- (a(!0), y(U, null, P(R.value, ({ label: u, value: O }) => (a(), z(E, {
2910
- label: u,
2911
- value: O,
2912
- key: O
2652
+ (u(!0), g(R, null, z(C.value, ({ label: n, value: $ }) => (u(), L(N, {
2653
+ label: n,
2654
+ value: $,
2655
+ key: $
2913
2656
  }, null, 8, ["label", "value"]))), 128))
2914
2657
  ]),
2915
2658
  _: 1
2916
2659
  }, 8, ["modelValue"])
2917
- ])) : M("", !0),
2918
- (n = k.value.marketIds) != null && n.show && w.value.length ? (a(), y("div", aa, [
2919
- b("div", na, [
2920
- oa,
2921
- b("span", {
2922
- onClick: s[4] || (s[4] = (u) => F("marketIds"))
2660
+ ])) : F("", !0),
2661
+ (r = V.value.marketIds) != null && r.show && S.value.length ? (u(), g("div", Ft, [
2662
+ _("div", Lt, [
2663
+ jt,
2664
+ _("span", {
2665
+ onClick: i[4] || (i[4] = (n) => P("marketIds"))
2923
2666
  }, "不限")
2924
2667
  ]),
2925
- t(B, {
2926
- modelValue: r.value.marketIds,
2927
- "onUpdate:modelValue": s[5] || (s[5] = (u) => r.value.marketIds = u),
2668
+ t(Q, {
2669
+ modelValue: s.value.marketIds,
2670
+ "onUpdate:modelValue": i[5] || (i[5] = (n) => s.value.marketIds = n),
2928
2671
  size: "small"
2929
2672
  }, {
2930
2673
  default: d(() => [
2931
- (a(!0), y(U, null, P(w.value, ({ label: u, value: O }) => (a(), z(E, {
2932
- label: u,
2933
- value: O,
2934
- key: O
2674
+ (u(!0), g(R, null, z(S.value, ({ label: n, value: $ }) => (u(), L(N, {
2675
+ label: n,
2676
+ value: $,
2677
+ key: $
2935
2678
  }, null, 8, ["label", "value"]))), 128))
2936
2679
  ]),
2937
2680
  _: 1
2938
2681
  }, 8, ["modelValue"])
2939
- ])) : M("", !0),
2940
- (c = k.value.customTag) != null && c.show && _.value.length ? (a(), y("div", ua, [
2941
- b("div", sa, [
2942
- ra,
2943
- b("span", {
2944
- onClick: s[6] || (s[6] = (u) => F("customTag"))
2682
+ ])) : F("", !0),
2683
+ (y = V.value.customTag) != null && y.show && k.value.length ? (u(), g("div", zt, [
2684
+ _("div", Nt, [
2685
+ Pt,
2686
+ _("span", {
2687
+ onClick: i[6] || (i[6] = (n) => P("customTag"))
2945
2688
  }, "不限")
2946
2689
  ]),
2947
- t(B, {
2948
- modelValue: r.value.customTag,
2949
- "onUpdate:modelValue": s[7] || (s[7] = (u) => r.value.customTag = u),
2690
+ t(Q, {
2691
+ modelValue: s.value.customTag,
2692
+ "onUpdate:modelValue": i[7] || (i[7] = (n) => s.value.customTag = n),
2950
2693
  size: "small"
2951
2694
  }, {
2952
2695
  default: d(() => [
2953
- (a(!0), y(U, null, P(_.value, ({ label: u, value: O }) => (a(), z(E, {
2954
- label: u,
2955
- value: O,
2956
- key: O
2696
+ (u(!0), g(R, null, z(k.value, ({ label: n, value: $ }) => (u(), L(N, {
2697
+ label: n,
2698
+ value: $,
2699
+ key: $
2957
2700
  }, null, 8, ["label", "value"]))), 128))
2958
2701
  ]),
2959
2702
  _: 1
2960
2703
  }, 8, ["modelValue"])
2961
- ])) : M("", !0),
2962
- (o = k.value.jcTranslate) != null && o.show ? (a(), y("div", ia, [
2963
- b("div", da, [
2964
- ca,
2965
- b("span", {
2966
- onClick: s[8] || (s[8] = (u) => F("jcTranslate"))
2704
+ ])) : F("", !0),
2705
+ (o = V.value.jcTranslate) != null && o.show ? (u(), g("div", Bt, [
2706
+ _("div", Gt, [
2707
+ Yt,
2708
+ _("span", {
2709
+ onClick: i[8] || (i[8] = (n) => P("jcTranslate"))
2967
2710
  }, "不限")
2968
2711
  ]),
2969
- t(C, {
2970
- modelValue: r.value.jcTranslate.type,
2971
- "onUpdate:modelValue": s[9] || (s[9] = (u) => r.value.jcTranslate.type = u),
2712
+ t(j, {
2713
+ modelValue: s.value.jcTranslate.type,
2714
+ "onUpdate:modelValue": i[9] || (i[9] = (n) => s.value.jcTranslate.type = n),
2972
2715
  size: "small"
2973
2716
  }, {
2974
2717
  default: d(() => [
2975
- t(L, { value: 2 }, {
2718
+ t(M, { value: 2 }, {
2976
2719
  default: d(() => [
2977
- D("价差转品种")
2720
+ E("价差转品种")
2978
2721
  ]),
2979
2722
  _: 1
2980
2723
  }),
2981
- t(L, { value: 1 }, {
2724
+ t(M, { value: 1 }, {
2982
2725
  default: d(() => [
2983
- D("品种转价差")
2726
+ E("品种转价差")
2984
2727
  ]),
2985
2728
  _: 1
2986
2729
  })
2987
2730
  ]),
2988
2731
  _: 1
2989
2732
  }, 8, ["modelValue"]),
2990
- pe(t(l, {
2991
- modelValue: r.value.jcTranslate.jcList,
2992
- "onUpdate:modelValue": s[10] || (s[10] = (u) => r.value.jcTranslate.jcList = u),
2733
+ ke(t(l, {
2734
+ modelValue: s.value.jcTranslate.jcList,
2735
+ "onUpdate:modelValue": i[10] || (i[10] = (n) => s.value.jcTranslate.jcList = n),
2993
2736
  size: "small",
2994
2737
  multiple: "",
2995
2738
  "collapse-tags": "",
@@ -2998,45 +2741,45 @@ const le = (g) => (fe("data-v-efd872de"), g = g(), ye(), g), Ht = { class: "vari
2998
2741
  style: { width: "140px" }
2999
2742
  }, {
3000
2743
  default: d(() => [
3001
- (a(!0), y(U, null, P(e.value, (u) => (a(), z(x, {
3002
- key: u.value,
3003
- label: u.label,
3004
- value: u.value
2744
+ (u(!0), g(R, null, z(e.value, (n) => (u(), L(x, {
2745
+ key: n.value,
2746
+ label: n.label,
2747
+ value: n.value
3005
2748
  }, null, 8, ["label", "value"]))), 128))
3006
2749
  ]),
3007
2750
  _: 1
3008
2751
  }, 8, ["modelValue"]), [
3009
- [Ge, r.value.jcTranslate.type === 1]
2752
+ [vl, s.value.jcTranslate.type === 1]
3010
2753
  ])
3011
- ])) : M("", !0),
3012
- (h = k.value.factorScreen) != null && h.show ? (a(), y("div", pa, [
3013
- b("div", va, [
3014
- ma,
3015
- b("span", {
3016
- onClick: s[11] || (s[11] = (u) => F("factorScreen"))
2754
+ ])) : F("", !0),
2755
+ (w = V.value.factorScreen) != null && w.show ? (u(), g("div", Jt, [
2756
+ _("div", At, [
2757
+ Kt,
2758
+ _("span", {
2759
+ onClick: i[11] || (i[11] = (n) => P("factorScreen"))
3017
2760
  }, "不限")
3018
2761
  ]),
3019
- t(_t, {
3020
- data: r.value.factorScreen,
3021
- "onUpdate:data": s[12] || (s[12] = (u) => r.value.factorScreen = u),
3022
- config: k.value.factorScreen
2762
+ t(Xl, {
2763
+ data: s.value.factorScreen,
2764
+ "onUpdate:data": i[12] || (i[12] = (n) => s.value.factorScreen = n),
2765
+ config: V.value.factorScreen
3023
2766
  }, null, 8, ["data", "config"])
3024
- ])) : M("", !0),
3025
- t(Qt, {
3026
- data: r.value.commonIndicator,
3027
- "onUpdate:data": s[13] || (s[13] = (u) => r.value.commonIndicator = u),
3028
- varietyMarket: r.value.varietyMarket,
3029
- commonOption: r.value.commonOption,
3030
- config: k.value.commonIndicator
2767
+ ])) : F("", !0),
2768
+ t(St, {
2769
+ data: s.value.commonIndicator,
2770
+ "onUpdate:data": i[13] || (i[13] = (n) => s.value.commonIndicator = n),
2771
+ varietyMarket: s.value.varietyMarket,
2772
+ commonOption: s.value.commonOption,
2773
+ config: V.value.commonIndicator
3031
2774
  }, null, 8, ["data", "varietyMarket", "commonOption", "config"])
3032
2775
  ]);
3033
2776
  };
3034
2777
  }
3035
- }, ya = /* @__PURE__ */ oe(fa, [["__scopeId", "data-v-efd872de"]]), an = {
3036
- install(g) {
3037
- g.component("st-varietySearch", ya);
2778
+ }, Zt = /* @__PURE__ */ $e(Qt, [["__scopeId", "data-v-efd872de"]]), Ma = {
2779
+ install(f) {
2780
+ f.component("st-varietySearch", Zt);
3038
2781
  }
3039
2782
  };
3040
2783
  export {
3041
- an as default
2784
+ Ma as default
3042
2785
  };