st-comp 0.0.136 → 0.0.138

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.
@@ -5,7 +5,7 @@ import "./el-scrollbar-66f3bb72.js";
5
5
  import { u as Je, E as Ae } from "./el-popper-d3eef7ed.js";
6
6
  import { a as Ke, E as Qe, b as Ze } from "./el-form-item-afc3dcf2.js";
7
7
  import { b as He, c as We, E as Xe, a as el } from "./el-table-column-560db3aa.js";
8
- import { ref as Q, inject as ll, computed as N, defineComponent as Z, openBlock as s, createElementBlock as f, normalizeClass as K, unref as v, createElementVNode as m, withDirectives as pe, isRef as Te, withModifiers as X, vModelRadio as Ce, renderSlot as ve, createTextVNode as D, toDisplayString as J, nextTick as Se, normalizeStyle as tl, onMounted as nl, provide as al, reactive as ol, toRefs as sl, watch as ee, mergeModels as te, useModel as ne, createBlock as q, withCtx as d, createVNode as o, Fragment as U, createCommentVNode as z, renderList as j, pushScopeId as fe, popScopeId as me, createSlots as se, vShow as rl } from "vue";
8
+ import { ref as Q, inject as ll, computed as N, defineComponent as Z, openBlock as r, createElementBlock as f, normalizeClass as K, unref as v, createElementVNode as m, withDirectives as pe, isRef as Te, withModifiers as X, vModelRadio as Ce, renderSlot as ve, createTextVNode as D, toDisplayString as J, nextTick as Se, normalizeStyle as tl, onMounted as nl, provide as al, reactive as ol, toRefs as sl, watch as ee, mergeModels as te, useModel as ne, createBlock as q, withCtx as d, createVNode as s, Fragment as U, createCommentVNode as z, renderList as j, pushScopeId as fe, popScopeId as me, createSlots as se, vShow as rl } from "vue";
9
9
  import { E as ye } from "./el-overlay-6056c89a.js";
10
10
  import { E as Ue } from "./el-input-ee7db655.js";
11
11
  import { E as Ee } from "./el-input-number-63c21037.js";
@@ -53,24 +53,24 @@ const De = le({
53
53
  [be]: (p) => he(p) || Ve(p) || xe(p),
54
54
  [ml]: (p) => he(p) || Ve(p) || xe(p)
55
55
  }, Le = Symbol("radioGroupKey"), je = (p, V) => {
56
- const y = Q(), a = ll(Le, void 0), b = N(() => !!a), R = N(() => Oe(p.value) ? p.label : p.value), u = N({
56
+ const y = Q(), n = ll(Le, void 0), k = N(() => !!n), R = N(() => Oe(p.value) ? p.label : p.value), u = N({
57
57
  get() {
58
- return b.value ? a.modelValue : p.modelValue;
58
+ return k.value ? n.modelValue : p.modelValue;
59
59
  },
60
60
  set(i) {
61
- b.value ? a.changeEvent(i) : V && V(be, i), y.value.checked = p.modelValue === R.value;
61
+ k.value ? n.changeEvent(i) : V && V(be, i), y.value.checked = p.modelValue === R.value;
62
62
  }
63
- }), t = ul(N(() => a == null ? void 0 : a.size)), E = il(N(() => a == null ? void 0 : a.disabled)), L = Q(!1), M = N(() => E.value || b.value && u.value !== R.value ? -1 : 0);
63
+ }), t = ul(N(() => n == null ? void 0 : n.size)), E = il(N(() => n == null ? void 0 : n.disabled)), L = Q(!1), M = N(() => E.value || k.value && u.value !== R.value ? -1 : 0);
64
64
  return yl({
65
65
  from: "label act as value",
66
66
  replacement: "value",
67
67
  version: "3.0.0",
68
68
  scope: "el-radio",
69
69
  ref: "https://element-plus.org/en-US/component/radio.html"
70
- }, N(() => b.value && Oe(p.value))), {
70
+ }, N(() => k.value && Oe(p.value))), {
71
71
  radioRef: y,
72
- isGroup: b,
73
- radioGroup: a,
72
+ isGroup: k,
73
+ radioGroup: n,
74
74
  focus: L,
75
75
  size: t,
76
76
  disabled: E,
@@ -85,36 +85,36 @@ const De = le({
85
85
  props: gl,
86
86
  emits: Fe,
87
87
  setup(p, { emit: V }) {
88
- const y = p, a = ue("radio"), { radioRef: b, radioGroup: R, focus: u, size: t, disabled: E, modelValue: L, actualValue: M } = je(y, V);
88
+ const y = p, n = ue("radio"), { radioRef: k, radioGroup: R, focus: u, size: t, disabled: E, modelValue: L, actualValue: M } = je(y, V);
89
89
  function i() {
90
90
  Se(() => V("change", L.value));
91
91
  }
92
- return (n, C) => {
93
- var r;
94
- return s(), f("label", {
92
+ return (a, C) => {
93
+ var o;
94
+ return r(), f("label", {
95
95
  class: K([
96
- v(a).b(),
97
- v(a).is("disabled", v(E)),
98
- v(a).is("focus", v(u)),
99
- v(a).is("bordered", n.border),
100
- v(a).is("checked", v(L) === v(M)),
101
- v(a).m(v(t))
96
+ v(n).b(),
97
+ v(n).is("disabled", v(E)),
98
+ v(n).is("focus", v(u)),
99
+ v(n).is("bordered", a.border),
100
+ v(n).is("checked", v(L) === v(M)),
101
+ v(n).m(v(t))
102
102
  ])
103
103
  }, [
104
104
  m("span", {
105
105
  class: K([
106
- v(a).e("input"),
107
- v(a).is("disabled", v(E)),
108
- v(a).is("checked", v(L) === v(M))
106
+ v(n).e("input"),
107
+ v(n).is("disabled", v(E)),
108
+ v(n).is("checked", v(L) === v(M))
109
109
  ])
110
110
  }, [
111
111
  pe(m("input", {
112
112
  ref_key: "radioRef",
113
- ref: b,
113
+ ref: k,
114
114
  "onUpdate:modelValue": (l) => Te(L) ? L.value = l : null,
115
- class: K(v(a).e("original")),
115
+ class: K(v(n).e("original")),
116
116
  value: v(M),
117
- name: n.name || ((r = v(R)) == null ? void 0 : r.name),
117
+ name: a.name || ((o = v(R)) == null ? void 0 : o.name),
118
118
  disabled: v(E),
119
119
  checked: v(L) === v(M),
120
120
  type: "radio",
@@ -127,16 +127,16 @@ const De = le({
127
127
  [Ce, v(L)]
128
128
  ]),
129
129
  m("span", {
130
- class: K(v(a).e("inner"))
130
+ class: K(v(n).e("inner"))
131
131
  }, null, 2)
132
132
  ], 2),
133
133
  m("span", {
134
- class: K(v(a).e("label")),
134
+ class: K(v(n).e("label")),
135
135
  onKeydown: X(() => {
136
136
  }, ["stop"])
137
137
  }, [
138
- ve(n.$slots, "default", {}, () => [
139
- D(J(n.label), 1)
138
+ ve(a.$slots, "default", {}, () => [
139
+ D(J(a.label), 1)
140
140
  ])
141
141
  ], 42, ["onKeydown"])
142
142
  ], 2);
@@ -152,34 +152,34 @@ const hl = le({
152
152
  ...Vl,
153
153
  props: hl,
154
154
  setup(p) {
155
- const V = p, y = ue("radio"), { radioRef: a, focus: b, size: R, disabled: u, modelValue: t, radioGroup: E, actualValue: L } = je(V), M = N(() => ({
155
+ const V = p, y = ue("radio"), { radioRef: n, focus: k, size: R, disabled: u, modelValue: t, radioGroup: E, actualValue: L } = je(V), M = N(() => ({
156
156
  backgroundColor: (E == null ? void 0 : E.fill) || "",
157
157
  borderColor: (E == null ? void 0 : E.fill) || "",
158
158
  boxShadow: E != null && E.fill ? `-1px 0 0 0 ${E.fill}` : "",
159
159
  color: (E == null ? void 0 : E.textColor) || ""
160
160
  }));
161
- return (i, n) => {
161
+ return (i, a) => {
162
162
  var C;
163
- return s(), f("label", {
163
+ return r(), f("label", {
164
164
  class: K([
165
165
  v(y).b("button"),
166
166
  v(y).is("active", v(t) === v(L)),
167
167
  v(y).is("disabled", v(u)),
168
- v(y).is("focus", v(b)),
168
+ v(y).is("focus", v(k)),
169
169
  v(y).bm("button", v(R))
170
170
  ])
171
171
  }, [
172
172
  pe(m("input", {
173
173
  ref_key: "radioRef",
174
- ref: a,
175
- "onUpdate:modelValue": (r) => Te(t) ? t.value = r : null,
174
+ ref: n,
175
+ "onUpdate:modelValue": (o) => Te(t) ? t.value = o : null,
176
176
  class: K(v(y).be("button", "original-radio")),
177
177
  value: v(L),
178
178
  type: "radio",
179
179
  name: i.name || ((C = v(E)) == null ? void 0 : C.name),
180
180
  disabled: v(u),
181
- onFocus: (r) => b.value = !0,
182
- onBlur: (r) => b.value = !1,
181
+ onFocus: (o) => k.value = !0,
182
+ onBlur: (o) => k.value = !1,
183
183
  onClick: X(() => {
184
184
  }, ["stop"])
185
185
  }, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
@@ -235,27 +235,27 @@ const Ol = le({
235
235
  props: Ol,
236
236
  emits: Il,
237
237
  setup(p, { emit: V }) {
238
- const y = p, a = ue("radio"), b = Be(), R = Q(), { formItem: u } = cl(), { inputId: t, isLabeledByFormItem: E } = dl(y, {
238
+ const y = p, n = ue("radio"), k = Be(), R = Q(), { formItem: u } = cl(), { inputId: t, isLabeledByFormItem: E } = dl(y, {
239
239
  formItemContext: u
240
240
  }), L = (i) => {
241
241
  V(be, i), Se(() => V("change", i));
242
242
  };
243
243
  nl(() => {
244
- const i = R.value.querySelectorAll("[type=radio]"), n = i[0];
245
- !Array.from(i).some((C) => C.checked) && n && (n.tabIndex = 0);
244
+ const i = R.value.querySelectorAll("[type=radio]"), a = i[0];
245
+ !Array.from(i).some((C) => C.checked) && a && (a.tabIndex = 0);
246
246
  });
247
- const M = N(() => y.name || b.value);
247
+ const M = N(() => y.name || k.value);
248
248
  return al(Le, ol({
249
249
  ...sl(y),
250
250
  changeEvent: L,
251
251
  name: M
252
252
  })), ee(() => y.modelValue, () => {
253
253
  y.validateEvent && (u == null || u.validate("change").catch((i) => Ge(i)));
254
- }), (i, n) => (s(), f("div", {
254
+ }), (i, a) => (r(), f("div", {
255
255
  id: v(t),
256
256
  ref_key: "radioGroupRef",
257
257
  ref: R,
258
- class: K(v(a).b("group")),
258
+ class: K(v(n).b("group")),
259
259
  role: "radiogroup",
260
260
  "aria-label": v(E) ? void 0 : i.ariaLabel || "radio-group",
261
261
  "aria-labelledby": v(E) ? v(u).labelId : void 0
@@ -822,33 +822,33 @@ const Ie = {
822
822
  emits: ["update:visible"],
823
823
  setup(p) {
824
824
  const V = ne(p, "visible");
825
- return (y, a) => {
826
- const b = He, R = We, u = ye;
827
- return s(), q(u, {
825
+ return (y, n) => {
826
+ const k = He, R = We, u = ye;
827
+ return r(), q(u, {
828
828
  modelValue: V.value,
829
- "onUpdate:modelValue": a[0] || (a[0] = (t) => V.value = t),
829
+ "onUpdate:modelValue": n[0] || (n[0] = (t) => V.value = t),
830
830
  title: "因子使用说明",
831
831
  width: "1000",
832
832
  "align-center": "",
833
833
  "destroy-on-close": ""
834
834
  }, {
835
835
  default: d(() => [
836
- o(R, {
836
+ s(R, {
837
837
  data: p.data,
838
838
  border: "",
839
839
  height: "500"
840
840
  }, {
841
841
  default: d(() => [
842
- o(b, {
842
+ s(k, {
843
843
  prop: "factorName",
844
844
  label: "因子名称",
845
845
  width: "200"
846
846
  }),
847
- o(b, {
847
+ s(k, {
848
848
  prop: "factorDesc",
849
849
  label: "因子说明"
850
850
  }),
851
- o(b, {
851
+ s(k, {
852
852
  prop: "factorScoreDefine",
853
853
  label: "分值定义"
854
854
  })
@@ -893,7 +893,7 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
893
893
  }),
894
894
  emits: ["update:data"],
895
895
  setup(p) {
896
- const V = p, y = ne(p, "data"), a = Q(!1), b = Q(!1), R = Q(null), u = Q({
896
+ const V = p, y = ne(p, "data"), n = Q(!1), k = Q(!1), R = Q(null), u = Q({
897
897
  // 筛选因子列表
898
898
  list: [
899
899
  {
@@ -910,17 +910,17 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
910
910
  // SQL语句
911
911
  sqlValue: null
912
912
  }), t = () => {
913
- const { list: r, sqlEnable: l, sqlValue: k } = y.value;
913
+ const { list: o, sqlEnable: l, sqlValue: g } = y.value;
914
914
  u.value = {
915
- list: JSON.parse(JSON.stringify(r)),
915
+ list: JSON.parse(JSON.stringify(o)),
916
916
  sqlEnable: l,
917
- sqlValue: k
918
- }, u.value.list.length || M(), a.value = !0;
917
+ sqlValue: g
918
+ }, u.value.list.length || M(), n.value = !0;
919
919
  }, E = () => {
920
- R.value.validate((r) => {
921
- const { list: l, sqlEnable: k, sqlValue: O } = u.value;
922
- if (r) {
923
- if (k) {
920
+ R.value.validate((o) => {
921
+ const { list: l, sqlEnable: g, sqlValue: O } = u.value;
922
+ if (o) {
923
+ if (g) {
924
924
  if (!O)
925
925
  return A.error("SQL语句不能为空");
926
926
  const _ = $e(O), $ = l.map((I, S) => `条件${S + 1}`), h = _.filter((I) => !$.includes(I));
@@ -929,15 +929,15 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
929
929
  }
930
930
  y.value = {
931
931
  list: JSON.parse(JSON.stringify(l)),
932
- sqlEnable: k,
932
+ sqlEnable: g,
933
933
  sqlValue: O
934
- }, a.value = !1;
934
+ }, n.value = !1;
935
935
  }
936
936
  });
937
- }, L = (r) => {
938
- u.value.list.splice(r, 1);
939
- }, M = (r) => {
940
- switch (r) {
937
+ }, L = (o) => {
938
+ u.value.list.splice(o, 1);
939
+ }, M = (o) => {
940
+ switch (o) {
941
941
  case "compare": {
942
942
  u.value.list.push({
943
943
  key: "compare",
@@ -959,29 +959,29 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
959
959
  }
960
960
  }
961
961
  }, i = () => {
962
- R.value.validate((r) => {
963
- if (r)
962
+ R.value.validate((o) => {
963
+ if (o)
964
964
  if (u.value.sqlValue) {
965
965
  const l = $e(u.value.sqlValue);
966
- u.value.sqlValue = u.value.list.reduce((k, O, _) => (l.includes(`条件${_ + 1}`) || (k += `&& 条件${_ + 1} `), k), u.value.sqlValue);
966
+ u.value.sqlValue = u.value.list.reduce((g, O, _) => (l.includes(`条件${_ + 1}`) || (g += `&& 条件${_ + 1} `), g), u.value.sqlValue);
967
967
  } else
968
- u.value.sqlValue = u.value.list.reduce((l, k, O) => (O === 0 ? l += `条件${O + 1} ` : l += `&& 条件${O + 1} `, l), "");
968
+ u.value.sqlValue = u.value.list.reduce((l, g, O) => (O === 0 ? l += `条件${O + 1} ` : l += `&& 条件${O + 1} `, l), "");
969
969
  });
970
- }, n = (r) => {
971
- switch (r.key) {
970
+ }, a = (o) => {
971
+ switch (o.key) {
972
972
  case "compare": {
973
- const { cycle: l, factor: k, compareType: O, cycle2: _, factor2: $ } = r;
973
+ const { cycle: l, factor: g, compareType: O, cycle2: _, factor2: $ } = o;
974
974
  let h = "";
975
- return h += ` ${V.config.cycleOptions.find(({ value: I }) => I === l).label}`, h += ` ${V.config.factorOptions.find(({ value: I }) => I === k).label}`, h += ` ${O}`, h += ` ${V.config.cycleOptions.find(({ value: I }) => I === _).label}`, h += ` ${V.config.factorOptions.find(({ value: I }) => I === $).label}`, h;
975
+ return h += ` ${V.config.cycleOptions.find(({ value: I }) => I === l).label}`, h += ` ${V.config.factorOptions.find(({ value: I }) => I === g).label}`, h += ` ${O}`, h += ` ${V.config.cycleOptions.find(({ value: I }) => I === _).label}`, h += ` ${V.config.factorOptions.find(({ value: I }) => I === $).label}`, h;
976
976
  }
977
977
  default: {
978
- const { cycle: l, factor: k, score: O } = r;
978
+ const { cycle: l, factor: g, score: O } = o;
979
979
  let _ = "";
980
- return _ += ` ${V.config.cycleOptions.find(({ value: $ }) => $ === l).label}`, _ += ` ${V.config.factorOptions.find(({ value: $ }) => $ === k).label}`, _ += ` ${O[0] || O[0] === 0 ? `${O[0]}分` : "∞"}`, _ += " ~", _ += ` ${O[1] || O[1] === 0 ? `${O[1]}分` : "∞"}`, _;
980
+ return _ += ` ${V.config.cycleOptions.find(({ value: $ }) => $ === l).label}`, _ += ` ${V.config.factorOptions.find(({ value: $ }) => $ === g).label}`, _ += ` ${O[0] || O[0] === 0 ? `${O[0]}分` : "∞"}`, _ += " ~", _ += ` ${O[1] || O[1] === 0 ? `${O[1]}分` : "∞"}`, _;
981
981
  }
982
982
  }
983
- }, C = (r, l) => {
984
- switch (r) {
983
+ }, C = (o, l) => {
984
+ switch (o) {
985
985
  case "sqlTag": {
986
986
  y.value = {
987
987
  list: [],
@@ -996,13 +996,13 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
996
996
  }
997
997
  }
998
998
  };
999
- return (r, l) => {
999
+ return (o, l) => {
1000
1000
  var W;
1001
- const k = Ke, O = Me, _ = Re, $ = fl, h = Ae, I = ce, S = de, g = Qe, P = Ee, c = ke, e = _e, G = Ue, B = Ze, oe = ye;
1002
- return s(), f(U, null, [
1001
+ const g = Ke, O = Me, _ = Re, $ = fl, h = Ae, I = ce, S = de, b = Qe, P = Ee, c = ke, e = _e, G = Ue, B = Ze, oe = ye;
1002
+ return r(), f(U, null, [
1003
1003
  m("div", Ul, [
1004
1004
  m("div", null, [
1005
- y.value.sqlEnable && y.value.sqlValue ? (s(), q(O, {
1005
+ y.value.sqlEnable && y.value.sqlValue ? (r(), q(O, {
1006
1006
  key: 0,
1007
1007
  closable: "",
1008
1008
  type: "info",
@@ -1010,7 +1010,7 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1010
1010
  onClose: l[0] || (l[0] = (w) => C("sqlTag"))
1011
1011
  }, {
1012
1012
  default: d(() => [
1013
- o(k, {
1013
+ s(g, {
1014
1014
  type: "info",
1015
1015
  truncated: "",
1016
1016
  style: { "max-width": "500px" }
@@ -1023,17 +1023,17 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1023
1023
  ]),
1024
1024
  _: 1
1025
1025
  }, 8, ["title"])) : z("", !0),
1026
- !y.value.sqlEnable && y.value.list.length ? (s(!0), f(U, { key: 1 }, j(y.value.list, (w, Y) => (s(), q(O, {
1026
+ !y.value.sqlEnable && y.value.list.length ? (r(!0), f(U, { key: 1 }, j(y.value.list, (w, Y) => (r(), q(O, {
1027
1027
  closable: "",
1028
1028
  type: "info",
1029
1029
  onClose: (x) => C("factorTag", Y)
1030
1030
  }, {
1031
1031
  default: d(() => [
1032
- D(J(n(w)), 1)
1032
+ D(J(a(w)), 1)
1033
1033
  ]),
1034
1034
  _: 2
1035
1035
  }, 1032, ["onClose"]))), 256)) : z("", !0),
1036
- o(_, {
1036
+ s(_, {
1037
1037
  class: "screen-btn",
1038
1038
  type: "primary",
1039
1039
  plain: "",
@@ -1047,9 +1047,9 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1047
1047
  _: 1
1048
1048
  }, 8, ["icon"])
1049
1049
  ]),
1050
- o(oe, {
1051
- modelValue: a.value,
1052
- "onUpdate:modelValue": l[5] || (l[5] = (w) => a.value = w),
1050
+ s(oe, {
1051
+ modelValue: n.value,
1052
+ "onUpdate:modelValue": l[5] || (l[5] = (w) => n.value = w),
1053
1053
  width: "680",
1054
1054
  "align-center": "",
1055
1055
  "destroy-on-close": ""
@@ -1060,17 +1060,17 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1060
1060
  id: w,
1061
1061
  class: K(Y)
1062
1062
  }, " 因子筛选 ", 10, Rl),
1063
- o(h, {
1063
+ s(h, {
1064
1064
  effect: "dark",
1065
1065
  content: "点击查看: 因子使用说明",
1066
1066
  placement: "right"
1067
1067
  }, {
1068
1068
  default: d(() => [
1069
- o($, {
1070
- onClick: l[1] || (l[1] = (x) => b.value = !0)
1069
+ s($, {
1070
+ onClick: l[1] || (l[1] = (x) => k.value = !0)
1071
1071
  }, {
1072
1072
  default: d(() => [
1073
- o(v(pl))
1073
+ s(v(pl))
1074
1074
  ]),
1075
1075
  _: 1
1076
1076
  })
@@ -1081,7 +1081,7 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1081
1081
  ]),
1082
1082
  footer: d(() => [
1083
1083
  m("div", jl, [
1084
- o(_, {
1084
+ s(_, {
1085
1085
  type: "primary",
1086
1086
  onClick: E
1087
1087
  }, {
@@ -1093,30 +1093,30 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1093
1093
  ])
1094
1094
  ]),
1095
1095
  default: d(() => [
1096
- o(B, {
1096
+ s(B, {
1097
1097
  ref_key: "dialogFormRef",
1098
1098
  ref: R,
1099
1099
  model: u.value
1100
1100
  }, {
1101
1101
  default: d(() => [
1102
- (s(!0), f(U, null, j(u.value.list, (w, Y) => (s(), f("div", ql, [
1102
+ (r(!0), f(U, null, j(u.value.list, (w, Y) => (r(), f("div", ql, [
1103
1103
  m("span", Ml, J(`条件${Y + 1}`), 1),
1104
- w.key === "compare" ? (s(), f(U, { key: 0 }, [
1105
- p.config.cycleShow ? (s(), q(g, {
1104
+ w.key === "compare" ? (r(), f(U, { key: 0 }, [
1105
+ p.config.cycleShow ? (r(), q(b, {
1106
1106
  key: 0,
1107
1107
  prop: "list." + Y + ".cycle",
1108
1108
  rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1109
1109
  style: { width: "100px", "margin-right": "10px" }
1110
1110
  }, {
1111
1111
  default: d(() => [
1112
- o(S, {
1112
+ s(S, {
1113
1113
  modelValue: w.cycle,
1114
1114
  "onUpdate:modelValue": (x) => w.cycle = x,
1115
1115
  placeholder: "选择周期",
1116
1116
  size: "small"
1117
1117
  }, {
1118
1118
  default: d(() => [
1119
- (s(!0), f(U, null, j(p.config.cycleOptions, ({ label: x, value: T }) => (s(), q(I, {
1119
+ (r(!0), f(U, null, j(p.config.cycleOptions, ({ label: x, value: T }) => (r(), q(I, {
1120
1120
  label: x,
1121
1121
  value: T,
1122
1122
  key: T
@@ -1127,13 +1127,13 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1127
1127
  ]),
1128
1128
  _: 2
1129
1129
  }, 1032, ["prop"])) : z("", !0),
1130
- o(g, {
1130
+ s(b, {
1131
1131
  prop: "list." + Y + ".factor",
1132
1132
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1133
1133
  style: { width: "132px", "margin-right": "10px" }
1134
1134
  }, {
1135
1135
  default: d(() => [
1136
- o(S, {
1136
+ s(S, {
1137
1137
  modelValue: w.factor,
1138
1138
  "onUpdate:modelValue": (x) => w.factor = x,
1139
1139
  placeholder: "选择因子",
@@ -1144,7 +1144,7 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1144
1144
  default: d(() => {
1145
1145
  var x;
1146
1146
  return [
1147
- (s(!0), f(U, null, j((x = p.config.factorOptions) == null ? void 0 : x.filter((T) => [4].includes(T.type)), ({ label: T, value: F }) => (s(), q(I, {
1147
+ (r(!0), f(U, null, j((x = p.config.factorOptions) == null ? void 0 : x.filter((T) => [4].includes(T.type)), ({ label: T, value: F }) => (r(), q(I, {
1148
1148
  label: T,
1149
1149
  value: F,
1150
1150
  key: F
@@ -1156,15 +1156,15 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1156
1156
  ]),
1157
1157
  _: 2
1158
1158
  }, 1032, ["prop"]),
1159
- o(g, { style: { width: "52px", "margin-right": "10px" } }, {
1159
+ s(b, { style: { width: "52px", "margin-right": "10px" } }, {
1160
1160
  default: d(() => [
1161
- o(S, {
1161
+ s(S, {
1162
1162
  modelValue: w.compareType,
1163
1163
  "onUpdate:modelValue": (x) => w.compareType = x,
1164
1164
  size: "small"
1165
1165
  }, {
1166
1166
  default: d(() => [
1167
- (s(), f(U, null, j([">", ">=", "<", "<="], (x) => o(I, {
1167
+ (r(), f(U, null, j([">", ">=", "<", "<="], (x) => s(I, {
1168
1168
  label: x,
1169
1169
  value: x,
1170
1170
  key: x
@@ -1175,21 +1175,21 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1175
1175
  ]),
1176
1176
  _: 2
1177
1177
  }, 1024),
1178
- p.config.cycleShow ? (s(), q(g, {
1178
+ p.config.cycleShow ? (r(), q(b, {
1179
1179
  key: 1,
1180
1180
  prop: "list." + Y + ".cycle2",
1181
1181
  rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1182
1182
  style: { width: "100px", "margin-right": "10px" }
1183
1183
  }, {
1184
1184
  default: d(() => [
1185
- o(S, {
1185
+ s(S, {
1186
1186
  modelValue: w.cycle2,
1187
1187
  "onUpdate:modelValue": (x) => w.cycle2 = x,
1188
1188
  placeholder: "选择周期",
1189
1189
  size: "small"
1190
1190
  }, {
1191
1191
  default: d(() => [
1192
- (s(!0), f(U, null, j(p.config.cycleOptions, ({ label: x, value: T }) => (s(), q(I, {
1192
+ (r(!0), f(U, null, j(p.config.cycleOptions, ({ label: x, value: T }) => (r(), q(I, {
1193
1193
  label: x,
1194
1194
  value: T,
1195
1195
  key: T
@@ -1200,13 +1200,13 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1200
1200
  ]),
1201
1201
  _: 2
1202
1202
  }, 1032, ["prop"])) : z("", !0),
1203
- o(g, {
1203
+ s(b, {
1204
1204
  prop: "list." + Y + ".factor2",
1205
1205
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1206
1206
  style: { width: "132px", "margin-right": "10px" }
1207
1207
  }, {
1208
1208
  default: d(() => [
1209
- o(S, {
1209
+ s(S, {
1210
1210
  modelValue: w.factor2,
1211
1211
  "onUpdate:modelValue": (x) => w.factor2 = x,
1212
1212
  placeholder: "选择因子",
@@ -1217,7 +1217,7 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1217
1217
  default: d(() => {
1218
1218
  var x;
1219
1219
  return [
1220
- (s(!0), f(U, null, j((x = p.config.factorOptions) == null ? void 0 : x.filter((T) => [4].includes(T.type)), ({ label: T, value: F }) => (s(), q(I, {
1220
+ (r(!0), f(U, null, j((x = p.config.factorOptions) == null ? void 0 : x.filter((T) => [4].includes(T.type)), ({ label: T, value: F }) => (r(), q(I, {
1221
1221
  label: T,
1222
1222
  value: F,
1223
1223
  key: F
@@ -1229,22 +1229,22 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1229
1229
  ]),
1230
1230
  _: 2
1231
1231
  }, 1032, ["prop"])
1232
- ], 64)) : (s(), f(U, { key: 1 }, [
1233
- p.config.cycleShow ? (s(), q(g, {
1232
+ ], 64)) : (r(), f(U, { key: 1 }, [
1233
+ p.config.cycleShow ? (r(), q(b, {
1234
1234
  key: 0,
1235
1235
  prop: "list." + Y + ".cycle",
1236
1236
  rules: { required: !0, message: "周期不能为空", trigger: "blur" },
1237
1237
  style: { width: "100px", "margin-right": "10px" }
1238
1238
  }, {
1239
1239
  default: d(() => [
1240
- o(S, {
1240
+ s(S, {
1241
1241
  modelValue: w.cycle,
1242
1242
  "onUpdate:modelValue": (x) => w.cycle = x,
1243
1243
  placeholder: "选择周期",
1244
1244
  size: "small"
1245
1245
  }, {
1246
1246
  default: d(() => [
1247
- (s(!0), f(U, null, j(p.config.cycleOptions, ({ label: x, value: T }) => (s(), q(I, {
1247
+ (r(!0), f(U, null, j(p.config.cycleOptions, ({ label: x, value: T }) => (r(), q(I, {
1248
1248
  label: x,
1249
1249
  value: T,
1250
1250
  key: T
@@ -1255,13 +1255,13 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1255
1255
  ]),
1256
1256
  _: 2
1257
1257
  }, 1032, ["prop"])) : z("", !0),
1258
- o(g, {
1258
+ s(b, {
1259
1259
  prop: "list." + Y + ".factor",
1260
1260
  rules: { required: !0, message: "因子不能为空", trigger: "blur" },
1261
1261
  style: { width: "194px", "margin-right": "10px" }
1262
1262
  }, {
1263
1263
  default: d(() => [
1264
- o(S, {
1264
+ s(S, {
1265
1265
  modelValue: w.factor,
1266
1266
  "onUpdate:modelValue": (x) => w.factor = x,
1267
1267
  placeholder: "选择因子",
@@ -1272,7 +1272,7 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1272
1272
  default: d(() => {
1273
1273
  var x;
1274
1274
  return [
1275
- (s(!0), f(U, null, j((x = p.config.factorOptions) == null ? void 0 : x.filter((T) => [1, 3].includes(T.type)), ({ label: T, value: F }) => (s(), q(I, {
1275
+ (r(!0), f(U, null, j((x = p.config.factorOptions) == null ? void 0 : x.filter((T) => [1, 3].includes(T.type)), ({ label: T, value: F }) => (r(), q(I, {
1276
1276
  label: T,
1277
1277
  value: F,
1278
1278
  key: F
@@ -1284,21 +1284,21 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1284
1284
  ]),
1285
1285
  _: 2
1286
1286
  }, 1032, ["prop"]),
1287
- o(g, {
1287
+ s(b, {
1288
1288
  prop: "list." + Y + ".score",
1289
1289
  rules: { validator: v(Cl), trigger: "blur" },
1290
1290
  style: { width: "200px", "margin-right": "10px" }
1291
1291
  }, {
1292
1292
  default: d(() => [
1293
1293
  m("div", Dl, [
1294
- o(P, {
1294
+ s(P, {
1295
1295
  modelValue: w.score[0],
1296
1296
  "onUpdate:modelValue": (x) => w.score[0] = x,
1297
1297
  size: "small",
1298
1298
  "controls-position": "right"
1299
1299
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
1300
1300
  Fl,
1301
- o(P, {
1301
+ s(P, {
1302
1302
  modelValue: w.score[1],
1303
1303
  "onUpdate:modelValue": (x) => w.score[1] = x,
1304
1304
  size: "small",
@@ -1309,16 +1309,16 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1309
1309
  _: 2
1310
1310
  }, 1032, ["prop", "rules"])
1311
1311
  ], 64)),
1312
- o($, {
1312
+ s($, {
1313
1313
  onClick: (x) => L(Y)
1314
1314
  }, {
1315
1315
  default: d(() => [
1316
- o(v(vl))
1316
+ s(v(vl))
1317
1317
  ]),
1318
1318
  _: 2
1319
1319
  }, 1032, ["onClick"])
1320
1320
  ]))), 256)),
1321
- o(_, {
1321
+ s(_, {
1322
1322
  type: "primary",
1323
1323
  plain: "",
1324
1324
  size: "small",
@@ -1331,7 +1331,7 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1331
1331
  ]),
1332
1332
  _: 1
1333
1333
  }, 8, ["icon"]),
1334
- o(_, {
1334
+ s(_, {
1335
1335
  type: "primary",
1336
1336
  plain: "",
1337
1337
  size: "small",
@@ -1344,26 +1344,26 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1344
1344
  ]),
1345
1345
  _: 1
1346
1346
  }, 8, ["icon"]),
1347
- p.config.sqlShow ? (s(), f(U, { key: 0 }, [
1348
- o(g, { label: "SQL功能: " }, {
1347
+ p.config.sqlShow ? (r(), f(U, { key: 0 }, [
1348
+ s(b, { label: "SQL功能: " }, {
1349
1349
  default: d(() => [
1350
- o(e, {
1350
+ s(e, {
1351
1351
  modelValue: u.value.sqlEnable,
1352
1352
  "onUpdate:modelValue": l[3] || (l[3] = (w) => u.value.sqlEnable = w)
1353
1353
  }, {
1354
1354
  default: d(() => [
1355
- o(c, {
1355
+ s(c, {
1356
1356
  label: "关闭",
1357
1357
  value: 0
1358
1358
  }),
1359
- o(c, {
1359
+ s(c, {
1360
1360
  label: "启用",
1361
1361
  value: 1
1362
1362
  })
1363
1363
  ]),
1364
1364
  _: 1
1365
1365
  }, 8, ["modelValue"]),
1366
- u.value.sqlEnable ? (s(), q(_, {
1366
+ u.value.sqlEnable ? (r(), q(_, {
1367
1367
  key: 0,
1368
1368
  type: "primary",
1369
1369
  size: "small",
@@ -1378,8 +1378,8 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1378
1378
  ]),
1379
1379
  _: 1
1380
1380
  }),
1381
- u.value.sqlEnable ? (s(), f(U, { key: 0 }, [
1382
- o(G, {
1381
+ u.value.sqlEnable ? (r(), f(U, { key: 0 }, [
1382
+ s(G, {
1383
1383
  modelValue: u.value.sqlValue,
1384
1384
  "onUpdate:modelValue": l[4] || (l[4] = (w) => u.value.sqlValue = w),
1385
1385
  autosize: { minRows: 4 },
@@ -1396,9 +1396,9 @@ const Pe = (p) => (fe("data-v-3592dee9"), p = p(), me(), p), Ul = { class: "fact
1396
1396
  _: 1
1397
1397
  }, 8, ["modelValue"])
1398
1398
  ]),
1399
- o(Sl, {
1400
- visible: b.value,
1401
- "onUpdate:visible": l[6] || (l[6] = (w) => b.value = w),
1399
+ s(Sl, {
1400
+ visible: k.value,
1401
+ "onUpdate:visible": l[6] || (l[6] = (w) => k.value = w),
1402
1402
  data: (W = p.config.factorDescriptions) == null ? void 0 : W.filter((w) => [1, 3].includes(w.type))
1403
1403
  }, null, 8, ["visible", "data"])
1404
1404
  ], 64);
@@ -1432,23 +1432,23 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1432
1432
  }),
1433
1433
  emits: ["update:data"],
1434
1434
  setup(p) {
1435
- const V = ne(p, "data"), y = p, a = Q(!1), b = N(() => {
1436
- var r;
1437
- return (r = y.data.find((l) => l.radioType === "1")) == null ? void 0 : r.key;
1435
+ const V = ne(p, "data"), y = p, n = Q(!1), k = N(() => {
1436
+ var o;
1437
+ return (o = y.data.find((l) => l.radioType === "1")) == null ? void 0 : o.key;
1438
1438
  }), R = N(() => {
1439
- let r = [];
1440
- return y.varietyMarket === null && !y.commonOption.length ? r = y.config.options : (r = y.config.options, y.varietyMarket && (r = r.filter(({ parent: l }) => l.varietyMarketIds.includes(y.varietyMarket))), y.commonOption.length && (r = r.filter(({ parent: l }) => {
1441
- const { commonOptionIds: k } = l;
1442
- return [.../* @__PURE__ */ new Set([...k, ...y.commonOption])].length !== [...k, ...y.commonOption].length;
1443
- }))), r;
1444
- }), u = Q({}), t = Q({}), E = (r) => {
1445
- u.value = r;
1439
+ let o = [];
1440
+ return y.varietyMarket === null && !y.commonOption.length ? o = y.config.options : (o = y.config.options, y.varietyMarket && (o = o.filter(({ parent: l }) => l.varietyMarketIds.includes(y.varietyMarket))), y.commonOption.length && (o = o.filter(({ parent: l }) => {
1441
+ const { commonOptionIds: g } = l;
1442
+ return [.../* @__PURE__ */ new Set([...g, ...y.commonOption])].length !== [...g, ...y.commonOption].length;
1443
+ }))), o;
1444
+ }), u = Q({}), t = Q({}), E = (o) => {
1445
+ u.value = o;
1446
1446
  const l = {
1447
- key: r.key,
1448
- type: r.type,
1449
- label: r.label
1447
+ key: o.key,
1448
+ type: o.type,
1449
+ label: o.label
1450
1450
  };
1451
- switch (r.key) {
1451
+ switch (o.key) {
1452
1452
  case "st": {
1453
1453
  t.value = { ...l, st: null };
1454
1454
  break;
@@ -1484,53 +1484,53 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1484
1484
  t.value = {
1485
1485
  ...l,
1486
1486
  range: [null, null],
1487
- unit: r.defaultUnit.length ? [...r.defaultUnit] : [null, null],
1488
- radioType: b.value && b.value !== r.key ? "0" : r.defaultRadioType,
1487
+ unit: o.defaultUnit.length ? [...o.defaultUnit] : [null, null],
1488
+ radioType: k.value && k.value !== o.key ? "0" : o.defaultRadioType,
1489
1489
  // 0数值 1排名
1490
- rankRange: r.defaultRankRange || [null, null]
1490
+ rankRange: o.defaultRankRange || [null, null]
1491
1491
  // 默认排名
1492
1492
  };
1493
1493
  }
1494
- a.value = !0;
1494
+ n.value = !0;
1495
1495
  }, L = () => {
1496
1496
  switch (t.value.key) {
1497
1497
  case "st": {
1498
- const { label: l, st: k } = t.value;
1499
- if (k === null)
1498
+ const { label: l, st: g } = t.value;
1499
+ if (g === null)
1500
1500
  return A.warning("格式错误: 请至少选择一个值");
1501
- t.value.tagText = `${l}: ${k ? "是" : "否"}`;
1501
+ t.value.tagText = `${l}: ${g ? "是" : "否"}`;
1502
1502
  break;
1503
1503
  }
1504
1504
  case "tFeaturelncomes": {
1505
- const { label: l, rule: k, withFewYears: O, yearsCount: _, netProfit: $ } = t.value;
1505
+ const { label: l, rule: g, withFewYears: O, yearsCount: _, netProfit: $ } = t.value;
1506
1506
  if (["", null].includes(O) || ["", null].includes(_) || ["", null].includes($))
1507
1507
  return A.warning("格式错误: 请填写完整");
1508
- t.value.tagText = `${l}: ${O}年内${_}年以上盈利${k === 1 ? "超" : "跌"}过${$}亿`;
1508
+ t.value.tagText = `${l}: ${O}年内${_}年以上盈利${g === 1 ? "超" : "跌"}过${$}亿`;
1509
1509
  break;
1510
1510
  }
1511
1511
  case "priceLevels": {
1512
- const { label: l, priceLevels: k } = t.value;
1513
- if (!k || k.length === 0)
1512
+ const { label: l, priceLevels: g } = t.value;
1513
+ if (!g || g.length === 0)
1514
1514
  return A.warning("格式错误: 请至少选择一个值");
1515
- t.value.tagText = `${l}: 已选${k}分位`;
1515
+ t.value.tagText = `${l}: 已选${g}分位`;
1516
1516
  break;
1517
1517
  }
1518
1518
  case "peTtmLevels": {
1519
- const { label: l, peTtmLevels: k } = t.value;
1520
- if (!k || k.length === 0)
1519
+ const { label: l, peTtmLevels: g } = t.value;
1520
+ if (!g || g.length === 0)
1521
1521
  return A.warning("格式错误: 请至少选择一个值");
1522
- t.value.tagText = `${l}: 已选${k}分位`;
1522
+ t.value.tagText = `${l}: 已选${g}分位`;
1523
1523
  break;
1524
1524
  }
1525
1525
  case "optionsCpType": {
1526
- const { label: l, optionsCpType: k } = t.value;
1527
- if (k === null)
1526
+ const { label: l, optionsCpType: g } = t.value;
1527
+ if (g === null)
1528
1528
  return A.warning("格式错误: 请至少选择一个值");
1529
- t.value.tagText = `${l}: ${k === 1 ? "看涨" : "看跌"}`;
1529
+ t.value.tagText = `${l}: ${g === 1 ? "看涨" : "看跌"}`;
1530
1530
  break;
1531
1531
  }
1532
1532
  default: {
1533
- const { label: l, unit: k, radioType: O } = t.value, _ = O === "1" ? t.value.rankRange : t.value.range;
1533
+ const { label: l, unit: g, radioType: O } = t.value, _ = O === "1" ? t.value.rankRange : t.value.range;
1534
1534
  if (["", null].includes(_[0]) && ["", null].includes(_[1]))
1535
1535
  return A.warning("格式错误: 请至少填写一个值");
1536
1536
  if (O === "1") {
@@ -1542,20 +1542,20 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1542
1542
  if (I > S)
1543
1543
  return A.warning("格式错误: 请填写正确的排名范围");
1544
1544
  }
1545
- const $ = O === "1" ? "" : k[0] ?? "", h = O === "1" ? "" : k[1] ?? "";
1545
+ const $ = O === "1" ? "" : g[0] ?? "", h = O === "1" ? "" : g[1] ?? "";
1546
1546
  !["", null].includes(_[0]) && !["", null].includes(_[1]) ? t.value.tagText = `${l}${O === "1" ? "排名" : ""}: ${_[0]}${$} ~ ${_[1]}${h}` : ["", null].includes(_[0]) ? t.value.tagText = `${l}${O === "1" ? "排名" : ""}: ≤${_[1]}${h}` : t.value.tagText = `${l}${O === "1" ? "排名" : ""}: ≥${_[0]}${$}`;
1547
1547
  }
1548
1548
  }
1549
- const r = V.value.findIndex(({ key: l }) => l === t.value.key);
1550
- r === -1 ? V.value.push(t.value) : V.value.splice(r, 1, t.value), a.value = !1;
1551
- }, M = (r) => {
1552
- u.value = R.value.find(({ key: l }) => l === r.key), t.value = JSON.parse(JSON.stringify(r)), a.value = !0;
1553
- }, i = (r) => {
1554
- V.value.splice(r, 1);
1555
- }, n = (r) => {
1556
- t.value.range = [...r.range], t.value.unit = [...r.unit];
1557
- }, C = (r) => {
1558
- switch (r) {
1549
+ const o = V.value.findIndex(({ key: l }) => l === t.value.key);
1550
+ o === -1 ? V.value.push(t.value) : V.value.splice(o, 1, t.value), n.value = !1;
1551
+ }, M = (o) => {
1552
+ u.value = R.value.find(({ key: l }) => l === o.key), t.value = JSON.parse(JSON.stringify(o)), n.value = !0;
1553
+ }, i = (o) => {
1554
+ V.value.splice(o, 1);
1555
+ }, a = (o) => {
1556
+ t.value.range = [...o.range], t.value.unit = [...o.unit];
1557
+ }, C = (o) => {
1558
+ switch (o) {
1559
1559
  case "≤0":
1560
1560
  Object.assign(t.value, {
1561
1561
  rule: 2,
@@ -1602,22 +1602,22 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1602
1602
  return ee(
1603
1603
  () => R.value,
1604
1604
  () => {
1605
- V.value.length && (V.value = V.value.filter(({ key: r }) => R.value.find((l) => l.key === r)));
1605
+ V.value.length && (V.value = V.value.filter(({ key: o }) => R.value.find((l) => l.key === o)));
1606
1606
  }
1607
- ), (r, l) => {
1608
- const k = Me, O = Tl, _ = _e, $ = Ue, h = Re, I = ce, S = de, g = ke, P = Ee, c = ye;
1609
- return p.config.show && R.value.length ? (s(), f("div", Pl, [
1607
+ ), (o, l) => {
1608
+ const g = Me, O = Tl, _ = _e, $ = Ue, h = Re, I = ce, S = de, b = ke, P = Ee, c = ye;
1609
+ return p.config.show && R.value.length ? (r(), f("div", Pl, [
1610
1610
  m("div", Bl, [
1611
1611
  Gl,
1612
1612
  m("div", Yl, [
1613
- (s(!0), f(U, null, j(R.value, (e) => (s(), f("span", {
1613
+ (r(!0), f(U, null, j(R.value, (e) => (r(), f("span", {
1614
1614
  key: e.key,
1615
1615
  onClick: (G) => E(e)
1616
1616
  }, J(e.label), 9, Jl))), 128))
1617
1617
  ])
1618
1618
  ]),
1619
1619
  m("div", Al, [
1620
- (s(!0), f(U, null, j(V.value, (e, G) => (s(), q(k, {
1620
+ (r(!0), f(U, null, j(V.value, (e, G) => (r(), q(g, {
1621
1621
  closable: "",
1622
1622
  type: "info",
1623
1623
  onClose: (B) => i(G)
@@ -1632,9 +1632,9 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1632
1632
  _: 2
1633
1633
  }, 1032, ["onClose"]))), 256))
1634
1634
  ]),
1635
- o(c, {
1636
- modelValue: a.value,
1637
- "onUpdate:modelValue": l[19] || (l[19] = (e) => a.value = e),
1635
+ s(c, {
1636
+ modelValue: n.value,
1637
+ "onUpdate:modelValue": l[19] || (l[19] = (e) => n.value = e),
1638
1638
  title: u.value.label,
1639
1639
  width: "600",
1640
1640
  "align-center": "",
@@ -1642,7 +1642,7 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1642
1642
  }, se({
1643
1643
  footer: d(() => [
1644
1644
  m("div", dt, [
1645
- o(h, {
1645
+ s(h, {
1646
1646
  type: "primary",
1647
1647
  onClick: L
1648
1648
  }, {
@@ -1654,24 +1654,24 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1654
1654
  ])
1655
1655
  ]),
1656
1656
  default: d(() => [
1657
- u.value.type === void 0 && t.value.radioType === "1" ? (s(), f("div", Zl, [
1657
+ u.value.type === void 0 && t.value.radioType === "1" ? (r(), f("div", Zl, [
1658
1658
  Hl,
1659
- o($, {
1659
+ s($, {
1660
1660
  modelValue: t.value.rankRange[0],
1661
1661
  "onUpdate:modelValue": l[1] || (l[1] = (e) => t.value.rankRange[0] = e),
1662
1662
  style: { flex: "1" }
1663
1663
  }, null, 8, ["modelValue"]),
1664
1664
  D(" ~ "),
1665
- o($, {
1665
+ s($, {
1666
1666
  modelValue: t.value.rankRange[1],
1667
1667
  "onUpdate:modelValue": l[2] || (l[2] = (e) => t.value.rankRange[1] = e),
1668
1668
  style: { flex: "1" }
1669
1669
  }, null, 8, ["modelValue"])
1670
- ])) : u.value.type === void 0 ? (s(), f(U, { key: 1 }, [
1671
- u.value.convenientOptions.length ? (s(), f("div", Wl, [
1672
- (s(!0), f(U, null, j(u.value.convenientOptions, (e) => (s(), q(h, {
1670
+ ])) : u.value.type === void 0 ? (r(), f(U, { key: 1 }, [
1671
+ u.value.convenientOptions.length ? (r(), f("div", Wl, [
1672
+ (r(!0), f(U, null, j(u.value.convenientOptions, (e) => (r(), q(h, {
1673
1673
  key: e.text,
1674
- onClick: (G) => n(e)
1674
+ onClick: (G) => a(e)
1675
1675
  }, {
1676
1676
  default: d(() => [
1677
1677
  D(J(e.text), 1)
@@ -1681,7 +1681,7 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1681
1681
  ])) : z("", !0),
1682
1682
  m("div", Xl, [
1683
1683
  et,
1684
- o($, {
1684
+ s($, {
1685
1685
  modelValue: t.value.range[0],
1686
1686
  "onUpdate:modelValue": l[4] || (l[4] = (e) => t.value.range[0] = e),
1687
1687
  style: { flex: "1" }
@@ -1689,14 +1689,14 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1689
1689
  u.value.unitOptions.length ? {
1690
1690
  name: "append",
1691
1691
  fn: d(() => [
1692
- u.value.unitOptions.length === 1 ? (s(), f("span", lt, J(t.value.unit[0]), 1)) : (s(), q(S, {
1692
+ u.value.unitOptions.length === 1 ? (r(), f("span", lt, J(t.value.unit[0]), 1)) : (r(), q(S, {
1693
1693
  key: 1,
1694
1694
  modelValue: t.value.unit[0],
1695
1695
  "onUpdate:modelValue": l[3] || (l[3] = (e) => t.value.unit[0] = e),
1696
1696
  style: { width: "72px" }
1697
1697
  }, {
1698
1698
  default: d(() => [
1699
- (s(!0), f(U, null, j(u.value.unitOptions, (e) => (s(), q(I, {
1699
+ (r(!0), f(U, null, j(u.value.unitOptions, (e) => (r(), q(I, {
1700
1700
  label: e,
1701
1701
  value: e
1702
1702
  }, null, 8, ["label", "value"]))), 256))
@@ -1708,7 +1708,7 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1708
1708
  } : void 0
1709
1709
  ]), 1032, ["modelValue"]),
1710
1710
  D(" ~ "),
1711
- o($, {
1711
+ s($, {
1712
1712
  modelValue: t.value.range[1],
1713
1713
  "onUpdate:modelValue": l[6] || (l[6] = (e) => t.value.range[1] = e),
1714
1714
  style: { flex: "1" }
@@ -1716,14 +1716,14 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1716
1716
  u.value.unitOptions.length ? {
1717
1717
  name: "append",
1718
1718
  fn: d(() => [
1719
- u.value.unitOptions.length === 1 ? (s(), f("span", tt, J(t.value.unit[1]), 1)) : (s(), q(S, {
1719
+ u.value.unitOptions.length === 1 ? (r(), f("span", tt, J(t.value.unit[1]), 1)) : (r(), q(S, {
1720
1720
  key: 1,
1721
1721
  modelValue: t.value.unit[1],
1722
1722
  "onUpdate:modelValue": l[5] || (l[5] = (e) => t.value.unit[1] = e),
1723
1723
  style: { width: "72px" }
1724
1724
  }, {
1725
1725
  default: d(() => [
1726
- (s(!0), f(U, null, j(u.value.unitOptions, (e) => (s(), q(I, {
1726
+ (r(!0), f(U, null, j(u.value.unitOptions, (e) => (r(), q(I, {
1727
1727
  label: e,
1728
1728
  value: e
1729
1729
  }, null, 8, ["label", "value"]))), 256))
@@ -1735,18 +1735,18 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1735
1735
  } : void 0
1736
1736
  ]), 1032, ["modelValue"])
1737
1737
  ])
1738
- ], 64)) : (s(), f(U, { key: 2 }, [
1739
- u.value.key === "st" ? (s(), f("div", nt, [
1740
- o(_, {
1738
+ ], 64)) : (r(), f(U, { key: 2 }, [
1739
+ u.value.key === "st" ? (r(), f("div", nt, [
1740
+ s(_, {
1741
1741
  modelValue: t.value.st,
1742
1742
  "onUpdate:modelValue": l[7] || (l[7] = (e) => t.value.st = e)
1743
1743
  }, {
1744
1744
  default: d(() => [
1745
- o(g, {
1745
+ s(b, {
1746
1746
  label: "是",
1747
1747
  value: 1
1748
1748
  }),
1749
- o(g, {
1749
+ s(b, {
1750
1750
  label: "否",
1751
1751
  value: 0
1752
1752
  })
@@ -1754,9 +1754,9 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1754
1754
  _: 1
1755
1755
  }, 8, ["modelValue"])
1756
1756
  ])) : z("", !0),
1757
- u.value.key === "tFeaturelncomes" ? (s(), f("div", at, [
1757
+ u.value.key === "tFeaturelncomes" ? (r(), f("div", at, [
1758
1758
  m("div", ot, [
1759
- o(h, {
1759
+ s(h, {
1760
1760
  onClick: l[8] || (l[8] = (e) => C("≤0"))
1761
1761
  }, {
1762
1762
  default: d(() => [
@@ -1764,7 +1764,7 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1764
1764
  ]),
1765
1765
  _: 1
1766
1766
  }),
1767
- o(h, {
1767
+ s(h, {
1768
1768
  onClick: l[9] || (l[9] = (e) => C("≥0"))
1769
1769
  }, {
1770
1770
  default: d(() => [
@@ -1772,7 +1772,7 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1772
1772
  ]),
1773
1773
  _: 1
1774
1774
  }),
1775
- o(h, {
1775
+ s(h, {
1776
1776
  onClick: l[10] || (l[10] = (e) => C("五年内有四年以上盈利超过5千万"))
1777
1777
  }, {
1778
1778
  default: d(() => [
@@ -1780,7 +1780,7 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1780
1780
  ]),
1781
1781
  _: 1
1782
1782
  }),
1783
- o(h, {
1783
+ s(h, {
1784
1784
  onClick: l[11] || (l[11] = (e) => C("≥10亿"))
1785
1785
  }, {
1786
1786
  default: d(() => [
@@ -1788,7 +1788,7 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1788
1788
  ]),
1789
1789
  _: 1
1790
1790
  }),
1791
- o(h, {
1791
+ s(h, {
1792
1792
  onClick: l[12] || (l[12] = (e) => C("≥20亿"))
1793
1793
  }, {
1794
1794
  default: d(() => [
@@ -1800,19 +1800,19 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1800
1800
  m("div", st, [
1801
1801
  rt,
1802
1802
  m("div", null, [
1803
- o(P, {
1803
+ s(P, {
1804
1804
  modelValue: t.value.withFewYears,
1805
1805
  "onUpdate:modelValue": l[13] || (l[13] = (e) => t.value.withFewYears = e),
1806
1806
  "controls-position": "right"
1807
1807
  }, null, 8, ["modelValue"]),
1808
1808
  D(" 年内 "),
1809
- o(P, {
1809
+ s(P, {
1810
1810
  modelValue: t.value.yearsCount,
1811
1811
  "onUpdate:modelValue": l[14] || (l[14] = (e) => t.value.yearsCount = e),
1812
1812
  "controls-position": "right"
1813
1813
  }, null, 8, ["modelValue"]),
1814
1814
  D(" 年以上盈利" + J(t.value.rule === 1 ? "超" : "跌") + "过 ", 1),
1815
- o(P, {
1815
+ s(P, {
1816
1816
  modelValue: t.value.netProfit,
1817
1817
  "onUpdate:modelValue": l[15] || (l[15] = (e) => t.value.netProfit = e),
1818
1818
  "controls-position": "right"
@@ -1821,8 +1821,8 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1821
1821
  ])
1822
1822
  ])
1823
1823
  ])) : z("", !0),
1824
- u.value.key === "priceLevels" ? (s(), f("div", ut, [
1825
- o(S, {
1824
+ u.value.key === "priceLevels" ? (r(), f("div", ut, [
1825
+ s(S, {
1826
1826
  modelValue: t.value.priceLevels,
1827
1827
  "onUpdate:modelValue": l[16] || (l[16] = (e) => t.value.priceLevels = e),
1828
1828
  multiple: "",
@@ -1831,7 +1831,7 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1831
1831
  style: { width: "420px" }
1832
1832
  }, {
1833
1833
  default: d(() => [
1834
- (s(), f(U, null, j([1, 2, 3, 4, 5], (e) => o(I, {
1834
+ (r(), f(U, null, j([1, 2, 3, 4, 5], (e) => s(I, {
1835
1835
  key: e,
1836
1836
  label: `${e}分位`,
1837
1837
  value: e
@@ -1840,8 +1840,8 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1840
1840
  _: 1
1841
1841
  }, 8, ["modelValue"])
1842
1842
  ])) : z("", !0),
1843
- u.value.key === "peTtmLevels" ? (s(), f("div", it, [
1844
- o(S, {
1843
+ u.value.key === "peTtmLevels" ? (r(), f("div", it, [
1844
+ s(S, {
1845
1845
  modelValue: t.value.peTtmLevels,
1846
1846
  "onUpdate:modelValue": l[17] || (l[17] = (e) => t.value.peTtmLevels = e),
1847
1847
  multiple: "",
@@ -1850,7 +1850,7 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1850
1850
  style: { width: "420px" }
1851
1851
  }, {
1852
1852
  default: d(() => [
1853
- (s(), f(U, null, j([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (e) => o(I, {
1853
+ (r(), f(U, null, j([1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (e) => s(I, {
1854
1854
  key: e,
1855
1855
  label: `${e}分位`,
1856
1856
  value: e
@@ -1859,17 +1859,17 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1859
1859
  _: 1
1860
1860
  }, 8, ["modelValue"])
1861
1861
  ])) : z("", !0),
1862
- u.value.key === "optionsCpType" ? (s(), f("div", ct, [
1863
- o(_, {
1862
+ u.value.key === "optionsCpType" ? (r(), f("div", ct, [
1863
+ s(_, {
1864
1864
  modelValue: t.value.optionsCpType,
1865
1865
  "onUpdate:modelValue": l[18] || (l[18] = (e) => t.value.optionsCpType = e)
1866
1866
  }, {
1867
1867
  default: d(() => [
1868
- o(g, {
1868
+ s(b, {
1869
1869
  label: "看涨",
1870
1870
  value: 1
1871
1871
  }),
1872
- o(g, {
1872
+ s(b, {
1873
1873
  label: "看跌",
1874
1874
  value: 2
1875
1875
  })
@@ -1885,18 +1885,18 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1885
1885
  name: "header",
1886
1886
  fn: d(() => [
1887
1887
  m("span", Ql, J(u.value.label), 1),
1888
- o(_, {
1888
+ s(_, {
1889
1889
  modelValue: t.value.radioType,
1890
1890
  "onUpdate:modelValue": l[0] || (l[0] = (e) => t.value.radioType = e),
1891
1891
  style: { "vertical-align": "4px", "margin-left": "12px" }
1892
1892
  }, {
1893
1893
  default: d(() => [
1894
- o(O, {
1894
+ s(O, {
1895
1895
  label: "数值",
1896
1896
  value: "0"
1897
1897
  }),
1898
- o(O, {
1899
- disabled: b.value && b.value !== u.value.key,
1898
+ s(O, {
1899
+ disabled: k.value && k.value !== u.value.key,
1900
1900
  label: "排名",
1901
1901
  value: "1"
1902
1902
  }, null, 8, ["disabled"])
@@ -1911,7 +1911,7 @@ const ae = (p) => (fe("data-v-bdb03941"), p = p(), me(), p), Pl = {
1911
1911
  };
1912
1912
  }
1913
1913
  }, vt = /* @__PURE__ */ ge(pt, [["__scopeId", "data-v-bdb03941"]]);
1914
- const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "variety-search" }, mt = {
1914
+ const H = (p) => (fe("data-v-fe77e4e0"), p = p(), me(), p), ft = { class: "variety-search" }, mt = {
1915
1915
  key: 0,
1916
1916
  class: "variety-search-row"
1917
1917
  }, yt = { class: "title" }, gt = /* @__PURE__ */ H(() => /* @__PURE__ */ m("span", null, "品种市场: ", -1)), bt = {
@@ -1937,8 +1937,8 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
1937
1937
  }),
1938
1938
  emits: ["update:searchData"],
1939
1939
  setup(p, { expose: V }) {
1940
- const y = p, a = ne(p, "searchData");
1941
- a.value = Object.assign(a.value, {
1940
+ const y = p, n = ne(p, "searchData");
1941
+ n.value = Object.assign(n.value, {
1942
1942
  // 品种市场
1943
1943
  varietyMarket: null,
1944
1944
  // 常用选项
@@ -1961,45 +1961,44 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
1961
1961
  // 常用指标
1962
1962
  commonIndicator: []
1963
1963
  });
1964
- const b = N(() => {
1964
+ const k = N(() => {
1965
1965
  const i = {};
1966
- return Object.keys(Ie).forEach((n) => {
1967
- const C = Ie[n], r = y.config[n] ?? {}, l = { ...C, ...r };
1968
- i[n] = l;
1966
+ return Object.keys(Ie).forEach((a) => {
1967
+ const C = Ie[a], o = y.config[a] ?? {}, l = { ...C, ...o };
1968
+ i[a] = l;
1969
1969
  }), i;
1970
- }), R = N(() => b.value.varietyMarket.options), u = N(() => {
1971
- const { varietyMarket: i } = a.value;
1972
- if (i) {
1973
- const n = R.value.find(({ value: C }) => C === i).memo;
1974
- return b.value.commonOption.options.filter(({ value: C }) => n.includes(C));
1975
- } else
1976
- return b.value.commonOption.options;
1970
+ }), R = N(() => k.value.varietyMarket.options), u = N(() => {
1971
+ const { varietyMarket: i } = n.value;
1972
+ return i ? R.value.find(({ value: C }) => C === i).memo.reduce((C, o) => {
1973
+ const l = k.value.commonOption.options.find((g) => g.value === o);
1974
+ return l && C.push(l), C;
1975
+ }, []) : k.value.commonOption.options;
1977
1976
  }), t = N(() => {
1978
- const { varietyMarket: i } = a.value;
1979
- return i ? b.value.marketIds.options.filter((n) => n.varietyMarketIds.includes(i)) : b.value.marketIds.options;
1980
- }), E = N(() => b.value.customTag.options), L = N(() => b.value.jcTranslate.jcOptions), M = (i) => {
1977
+ const { varietyMarket: i } = n.value;
1978
+ return i ? k.value.marketIds.options.filter((a) => a.varietyMarketIds.includes(i)) : k.value.marketIds.options;
1979
+ }), E = N(() => k.value.customTag.options), L = N(() => k.value.jcTranslate.jcOptions), M = (i) => {
1981
1980
  switch (i) {
1982
1981
  case "commonOption": {
1983
- a.value[i] = [];
1982
+ n.value[i] = [];
1984
1983
  break;
1985
1984
  }
1986
1985
  case "marketIds": {
1987
- a.value[i] = [];
1986
+ n.value[i] = [];
1988
1987
  break;
1989
1988
  }
1990
1989
  case "customTag": {
1991
- a.value[i] = [];
1990
+ n.value[i] = [];
1992
1991
  break;
1993
1992
  }
1994
1993
  case "jcTranslate": {
1995
- a.value[i] = {
1994
+ n.value[i] = {
1996
1995
  type: null,
1997
1996
  jcList: []
1998
1997
  };
1999
1998
  break;
2000
1999
  }
2001
2000
  case "factorScreen": {
2002
- a.value[i] = {
2001
+ n.value[i] = {
2003
2002
  list: [],
2004
2003
  sqlEnable: 0,
2005
2004
  sqlValue: null
@@ -2007,11 +2006,11 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2007
2006
  break;
2008
2007
  }
2009
2008
  case "commonIndicator": {
2010
- a.value[i] = [];
2009
+ n.value[i] = [];
2011
2010
  break;
2012
2011
  }
2013
2012
  default: {
2014
- a.value[i] = null;
2013
+ n.value[i] = null;
2015
2014
  break;
2016
2015
  }
2017
2016
  }
@@ -2019,35 +2018,35 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2019
2018
  return ee(
2020
2019
  () => u.value,
2021
2020
  (i) => {
2022
- var n;
2023
- (n = a.value.commonOption) != null && n.length && (a.value.commonOption = a.value.commonOption.filter((C) => i.find(({ value: r }) => r === C)));
2021
+ var a;
2022
+ (a = n.value.commonOption) != null && a.length && (n.value.commonOption = n.value.commonOption.filter((C) => i.find(({ value: o }) => o === C)));
2024
2023
  }
2025
2024
  ), ee(
2026
2025
  () => t.value,
2027
2026
  (i) => {
2028
- var n;
2029
- (n = a.value.marketIds) != null && n.length && (a.value.marketIds = a.value.marketIds.filter((C) => i.find(({ value: r }) => r === C)));
2027
+ var a;
2028
+ (a = n.value.marketIds) != null && a.length && (n.value.marketIds = n.value.marketIds.filter((C) => i.find(({ value: o }) => o === C)));
2030
2029
  }
2031
2030
  ), V({
2032
2031
  // 生成接口传参结构的数据
2033
2032
  formatData: (i) => {
2034
- var C, r, l, k, O, _;
2033
+ var C, o, l, g, O, _;
2035
2034
  console.log("%c[品种池搜索聚合组件]: 正在生成接口传参...", "color: tomato");
2036
- const n = {};
2037
- if (i.varietyMarket && (n.exchangeId = String(i.varietyMarket)), (C = i.commonOption) != null && C.length && (n.optionId = i.commonOption.join(",")), (r = i.marketIds) != null && r.length && (n.marketIds = i.marketIds), (l = i.customTag) != null && l.length && (n.tagIds = i.customTag), (k = b.value.jcTranslate) != null && k.show) {
2035
+ const a = {};
2036
+ if (i.varietyMarket && (a.exchangeId = String(i.varietyMarket)), (C = i.commonOption) != null && C.length && (a.optionId = i.commonOption.join(",")), (o = i.marketIds) != null && o.length && (a.marketIds = i.marketIds), (l = i.customTag) != null && l.length && (a.tagIds = i.customTag), (g = k.value.jcTranslate) != null && g.show) {
2038
2037
  const { jcTranslate: $ } = i, { type: h, jcList: I } = $;
2039
2038
  switch (h) {
2040
2039
  case 1: {
2041
- n.translateType = 1, n.jcType = I.join(",");
2040
+ a.translateType = 1, a.jcType = I.join(",");
2042
2041
  break;
2043
2042
  }
2044
2043
  case 2:
2045
- n.translateType = 2;
2044
+ a.translateType = 2;
2046
2045
  }
2047
2046
  }
2048
- if ((O = b.value.factorScreen) != null && O.show) {
2047
+ if ((O = k.value.factorScreen) != null && O.show) {
2049
2048
  const { factorScreen: $ } = i;
2050
- if ((_ = $ == null ? void 0 : $.list) != null && _.length && (n.tbFeatureFactorScores = $.list.map((h) => {
2049
+ if ((_ = $ == null ? void 0 : $.list) != null && _.length && (a.tbFeatureFactorScores = $.list.map((h) => {
2051
2050
  switch (h.key) {
2052
2051
  case "compare":
2053
2052
  return {
@@ -2066,36 +2065,36 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2066
2065
  };
2067
2066
  }
2068
2067
  })), $.sqlEnable) {
2069
- const h = $.list.reduce((S, g, P) => {
2068
+ const h = $.list.reduce((S, b, P) => {
2070
2069
  var e, G;
2071
2070
  const c = `条件${P + 1}`;
2072
- switch (g.key) {
2071
+ switch (b.key) {
2073
2072
  case "compare": {
2074
2073
  let B = "";
2075
- (e = b.value.factorScreen) != null && e.cycleShow ? B = `freq_id = ${g.cycle} and factor_id = ${g.factor} ${g.compareType} freq_id = ${g.cycle2} and factor_id = ${g.factor2}` : B = `factor_id = ${g.factor} ${g.compareType} factor_id = ${g.factor2}`, S.set(c, `(${B})`);
2074
+ (e = k.value.factorScreen) != null && e.cycleShow ? B = `freq_id = ${b.cycle} and factor_id = ${b.factor} ${b.compareType} freq_id = ${b.cycle2} and factor_id = ${b.factor2}` : B = `factor_id = ${b.factor} ${b.compareType} factor_id = ${b.factor2}`, S.set(c, `(${B})`);
2076
2075
  break;
2077
2076
  }
2078
2077
  default: {
2079
- let B = `factor_id = ${g.factor} and `;
2080
- (G = b.value.factorScreen) != null && G.cycleShow && (B = `freq_id = ${g.cycle} and factor_id = ${g.factor} and `), (g.score[0] || g.score[0] === 0) && (g.score[1] || g.score[1] === 0) ? B += `score >= ${g.score[0]} and score <= ${g.score[1]}` : g.score[0] || g.score[0] === 0 ? B += `score >= ${g.score[0]}` : (g.score[1] || g.score[1] === 0) && (B += `score <= ${g.score[1]}`), S.set(c, `(${B})`);
2078
+ let B = `factor_id = ${b.factor} and `;
2079
+ (G = k.value.factorScreen) != null && G.cycleShow && (B = `freq_id = ${b.cycle} and factor_id = ${b.factor} and `), (b.score[0] || b.score[0] === 0) && (b.score[1] || b.score[1] === 0) ? B += `score >= ${b.score[0]} and score <= ${b.score[1]}` : b.score[0] || b.score[0] === 0 ? B += `score >= ${b.score[0]}` : (b.score[1] || b.score[1] === 0) && (B += `score <= ${b.score[1]}`), S.set(c, `(${B})`);
2081
2080
  }
2082
2081
  }
2083
2082
  return S;
2084
2083
  }, /* @__PURE__ */ new Map([]));
2085
2084
  let I = $.sqlValue;
2086
- for (const [S, g] of h) {
2085
+ for (const [S, b] of h) {
2087
2086
  const P = new RegExp(S, "g");
2088
- I = I.replace(P, g);
2087
+ I = I.replace(P, b);
2089
2088
  }
2090
- n.sql = I, n.sqlExpression = $.sqlValue;
2089
+ a.sql = I, a.sqlExpression = $.sqlValue;
2091
2090
  }
2092
- n.enableSql = $.sqlEnable === 1 ? 2 : 1;
2091
+ a.enableSql = $.sqlEnable === 1 ? 2 : 1;
2093
2092
  }
2094
2093
  {
2095
2094
  const $ = ["expireDays", "virtualRealDegree", "yearProfitRate", "impliedVolatility", "levelMultiplier", "turnover", "volume", "openInterest", "optionsCpType", "optionGear"], h = i.commonIndicator.reduce((e, G) => {
2096
2095
  const { key: B, type: oe, range: W, unit: w, radioType: Y, rankRange: x } = G;
2097
2096
  if (Y === "1")
2098
- n.sortBy = {
2097
+ a.sortBy = {
2099
2098
  column: G.key,
2100
2099
  start: x[0] || null,
2101
2100
  end: x[1] || null
@@ -2141,15 +2140,15 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2141
2140
  }
2142
2141
  return e;
2143
2142
  }, []);
2144
- h.length && (n.query = h);
2143
+ h.length && (a.query = h);
2145
2144
  const I = i.commonIndicator.find(({ key: e }) => e === "st");
2146
- I && (n.st = I.st);
2145
+ I && (a.st = I.st);
2147
2146
  const S = i.commonIndicator.find(({ key: e }) => e === "tFeaturelncomes");
2148
- S && (n.netProfitQueryDto = { ...S, netProfit: S.netProfit * 1e8 });
2149
- const g = i.commonIndicator.find(({ key: e }) => e === "priceLevels");
2150
- g && (n.priceLevels = g.priceLevels);
2147
+ S && (a.netProfitQueryDto = { ...S, netProfit: S.netProfit * 1e8 });
2148
+ const b = i.commonIndicator.find(({ key: e }) => e === "priceLevels");
2149
+ b && (a.priceLevels = b.priceLevels);
2151
2150
  const P = i.commonIndicator.find(({ key: e }) => e === "peTtmLevels");
2152
- P && (n.peTtmLevels = P.peTtmLevels);
2151
+ P && (a.peTtmLevels = P.peTtmLevels);
2153
2152
  const c = {};
2154
2153
  i.commonIndicator.forEach((e) => {
2155
2154
  const { key: G } = e;
@@ -2185,16 +2184,16 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2185
2184
  ["", null].includes(e.range[0]) || (c.minOptionGear = e.range[0]), ["", null].includes(e.range[1]) || (c.maxOptionGear = e.range[1]);
2186
2185
  break;
2187
2186
  }
2188
- }), Object.keys(c).length && (n.searchOptionDto = {
2189
- ...n.searchOptionDto,
2187
+ }), Object.keys(c).length && (a.searchOptionDto = {
2188
+ ...a.searchOptionDto,
2190
2189
  ...c
2191
2190
  });
2192
2191
  }
2193
- return console.log("%c[品种池搜索聚合组件]: 接口传参数据生成完毕", "color: green", n), n;
2192
+ return console.log("%c[品种池搜索聚合组件]: 接口传参数据生成完毕", "color: green", a), a;
2194
2193
  },
2195
2194
  // 重置函数
2196
2195
  reset: () => {
2197
- a.value = {
2196
+ n.value = {
2198
2197
  // 品种市场
2199
2198
  varietyMarket: null,
2200
2199
  // 常用选项
@@ -2218,24 +2217,24 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2218
2217
  commonIndicator: []
2219
2218
  };
2220
2219
  }
2221
- }), (i, n) => {
2222
- var $, h, I, S, g, P;
2223
- const C = ke, r = _e, l = Xe, k = el, O = ce, _ = de;
2224
- return s(), f("div", ft, [
2225
- ($ = b.value.varietyMarket) != null && $.show ? (s(), f("div", mt, [
2220
+ }), (i, a) => {
2221
+ var $, h, I, S, b, P;
2222
+ const C = ke, o = _e, l = Xe, g = el, O = ce, _ = de;
2223
+ return r(), f("div", ft, [
2224
+ ($ = k.value.varietyMarket) != null && $.show ? (r(), f("div", mt, [
2226
2225
  m("div", yt, [
2227
2226
  gt,
2228
2227
  m("span", {
2229
- onClick: n[0] || (n[0] = (c) => M("varietyMarket"))
2228
+ onClick: a[0] || (a[0] = (c) => M("varietyMarket"))
2230
2229
  }, "不限")
2231
2230
  ]),
2232
- o(r, {
2233
- modelValue: a.value.varietyMarket,
2234
- "onUpdate:modelValue": n[1] || (n[1] = (c) => a.value.varietyMarket = c),
2231
+ s(o, {
2232
+ modelValue: n.value.varietyMarket,
2233
+ "onUpdate:modelValue": a[1] || (a[1] = (c) => n.value.varietyMarket = c),
2235
2234
  size: "small"
2236
2235
  }, {
2237
2236
  default: d(() => [
2238
- (s(!0), f(U, null, j(R.value, ({ label: c, value: e }) => (s(), q(C, {
2237
+ (r(!0), f(U, null, j(R.value, ({ label: c, value: e }) => (r(), q(C, {
2239
2238
  label: c,
2240
2239
  value: e,
2241
2240
  key: e
@@ -2244,20 +2243,20 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2244
2243
  _: 1
2245
2244
  }, 8, ["modelValue"])
2246
2245
  ])) : z("", !0),
2247
- (h = b.value.commonOption) != null && h.show && u.value.length ? (s(), f("div", bt, [
2246
+ (h = k.value.commonOption) != null && h.show && u.value.length ? (r(), f("div", bt, [
2248
2247
  m("div", kt, [
2249
2248
  _t,
2250
2249
  m("span", {
2251
- onClick: n[2] || (n[2] = (c) => M("commonOption"))
2250
+ onClick: a[2] || (a[2] = (c) => M("commonOption"))
2252
2251
  }, "不限")
2253
2252
  ]),
2254
- o(k, {
2255
- modelValue: a.value.commonOption,
2256
- "onUpdate:modelValue": n[3] || (n[3] = (c) => a.value.commonOption = c),
2253
+ s(g, {
2254
+ modelValue: n.value.commonOption,
2255
+ "onUpdate:modelValue": a[3] || (a[3] = (c) => n.value.commonOption = c),
2257
2256
  size: "small"
2258
2257
  }, {
2259
2258
  default: d(() => [
2260
- (s(!0), f(U, null, j(u.value, ({ label: c, value: e }) => (s(), q(l, {
2259
+ (r(!0), f(U, null, j(u.value, ({ label: c, value: e }) => (r(), q(l, {
2261
2260
  label: c,
2262
2261
  value: e,
2263
2262
  key: e
@@ -2266,20 +2265,20 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2266
2265
  _: 1
2267
2266
  }, 8, ["modelValue"])
2268
2267
  ])) : z("", !0),
2269
- (I = b.value.marketIds) != null && I.show && t.value.length ? (s(), f("div", ht, [
2268
+ (I = k.value.marketIds) != null && I.show && t.value.length ? (r(), f("div", ht, [
2270
2269
  m("div", Vt, [
2271
2270
  xt,
2272
2271
  m("span", {
2273
- onClick: n[4] || (n[4] = (c) => M("marketIds"))
2272
+ onClick: a[4] || (a[4] = (c) => M("marketIds"))
2274
2273
  }, "不限")
2275
2274
  ]),
2276
- o(k, {
2277
- modelValue: a.value.marketIds,
2278
- "onUpdate:modelValue": n[5] || (n[5] = (c) => a.value.marketIds = c),
2275
+ s(g, {
2276
+ modelValue: n.value.marketIds,
2277
+ "onUpdate:modelValue": a[5] || (a[5] = (c) => n.value.marketIds = c),
2279
2278
  size: "small"
2280
2279
  }, {
2281
2280
  default: d(() => [
2282
- (s(!0), f(U, null, j(t.value, ({ label: c, value: e }) => (s(), q(l, {
2281
+ (r(!0), f(U, null, j(t.value, ({ label: c, value: e }) => (r(), q(l, {
2283
2282
  label: c,
2284
2283
  value: e,
2285
2284
  key: e
@@ -2288,20 +2287,20 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2288
2287
  _: 1
2289
2288
  }, 8, ["modelValue"])
2290
2289
  ])) : z("", !0),
2291
- (S = b.value.customTag) != null && S.show && E.value.length ? (s(), f("div", Ot, [
2290
+ (S = k.value.customTag) != null && S.show && E.value.length ? (r(), f("div", Ot, [
2292
2291
  m("div", It, [
2293
2292
  $t,
2294
2293
  m("span", {
2295
- onClick: n[6] || (n[6] = (c) => M("customTag"))
2294
+ onClick: a[6] || (a[6] = (c) => M("customTag"))
2296
2295
  }, "不限")
2297
2296
  ]),
2298
- o(k, {
2299
- modelValue: a.value.customTag,
2300
- "onUpdate:modelValue": n[7] || (n[7] = (c) => a.value.customTag = c),
2297
+ s(g, {
2298
+ modelValue: n.value.customTag,
2299
+ "onUpdate:modelValue": a[7] || (a[7] = (c) => n.value.customTag = c),
2301
2300
  size: "small"
2302
2301
  }, {
2303
2302
  default: d(() => [
2304
- (s(!0), f(U, null, j(E.value, ({ label: c, value: e }) => (s(), q(l, {
2303
+ (r(!0), f(U, null, j(E.value, ({ label: c, value: e }) => (r(), q(l, {
2305
2304
  label: c,
2306
2305
  value: e,
2307
2306
  key: e
@@ -2310,26 +2309,26 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2310
2309
  _: 1
2311
2310
  }, 8, ["modelValue"])
2312
2311
  ])) : z("", !0),
2313
- (g = b.value.jcTranslate) != null && g.show ? (s(), f("div", wt, [
2312
+ (b = k.value.jcTranslate) != null && b.show ? (r(), f("div", wt, [
2314
2313
  m("div", Tt, [
2315
2314
  Ct,
2316
2315
  m("span", {
2317
- onClick: n[8] || (n[8] = (c) => M("jcTranslate"))
2316
+ onClick: a[8] || (a[8] = (c) => M("jcTranslate"))
2318
2317
  }, "不限")
2319
2318
  ]),
2320
- o(r, {
2321
- modelValue: a.value.jcTranslate.type,
2322
- "onUpdate:modelValue": n[9] || (n[9] = (c) => a.value.jcTranslate.type = c),
2319
+ s(o, {
2320
+ modelValue: n.value.jcTranslate.type,
2321
+ "onUpdate:modelValue": a[9] || (a[9] = (c) => n.value.jcTranslate.type = c),
2323
2322
  size: "small"
2324
2323
  }, {
2325
2324
  default: d(() => [
2326
- o(C, { value: 2 }, {
2325
+ s(C, { value: 2 }, {
2327
2326
  default: d(() => [
2328
2327
  D("价差转品种")
2329
2328
  ]),
2330
2329
  _: 1
2331
2330
  }),
2332
- o(C, { value: 1 }, {
2331
+ s(C, { value: 1 }, {
2333
2332
  default: d(() => [
2334
2333
  D("品种转价差")
2335
2334
  ]),
@@ -2338,9 +2337,9 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2338
2337
  ]),
2339
2338
  _: 1
2340
2339
  }, 8, ["modelValue"]),
2341
- pe(o(_, {
2342
- modelValue: a.value.jcTranslate.jcList,
2343
- "onUpdate:modelValue": n[10] || (n[10] = (c) => a.value.jcTranslate.jcList = c),
2340
+ pe(s(_, {
2341
+ modelValue: n.value.jcTranslate.jcList,
2342
+ "onUpdate:modelValue": a[10] || (a[10] = (c) => n.value.jcTranslate.jcList = c),
2344
2343
  size: "small",
2345
2344
  multiple: "",
2346
2345
  "collapse-tags": "",
@@ -2349,7 +2348,7 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2349
2348
  style: { width: "140px" }
2350
2349
  }, {
2351
2350
  default: d(() => [
2352
- (s(!0), f(U, null, j(L.value, (c) => (s(), q(O, {
2351
+ (r(!0), f(U, null, j(L.value, (c) => (r(), q(O, {
2353
2352
  key: c.value,
2354
2353
  label: c.label,
2355
2354
  value: c.value
@@ -2357,33 +2356,33 @@ const H = (p) => (fe("data-v-c41b2140"), p = p(), me(), p), ft = { class: "varie
2357
2356
  ]),
2358
2357
  _: 1
2359
2358
  }, 8, ["modelValue"]), [
2360
- [rl, a.value.jcTranslate.type === 1]
2359
+ [rl, n.value.jcTranslate.type === 1]
2361
2360
  ])
2362
2361
  ])) : z("", !0),
2363
- (P = b.value.factorScreen) != null && P.show ? (s(), f("div", St, [
2362
+ (P = k.value.factorScreen) != null && P.show ? (r(), f("div", St, [
2364
2363
  m("div", Ut, [
2365
2364
  Et,
2366
2365
  m("span", {
2367
- onClick: n[11] || (n[11] = (c) => M("factorScreen"))
2366
+ onClick: a[11] || (a[11] = (c) => M("factorScreen"))
2368
2367
  }, "不限")
2369
2368
  ]),
2370
- o(Nl, {
2371
- data: a.value.factorScreen,
2372
- "onUpdate:data": n[12] || (n[12] = (c) => a.value.factorScreen = c),
2373
- config: b.value.factorScreen
2369
+ s(Nl, {
2370
+ data: n.value.factorScreen,
2371
+ "onUpdate:data": a[12] || (a[12] = (c) => n.value.factorScreen = c),
2372
+ config: k.value.factorScreen
2374
2373
  }, null, 8, ["data", "config"])
2375
2374
  ])) : z("", !0),
2376
- o(vt, {
2377
- data: a.value.commonIndicator,
2378
- "onUpdate:data": n[13] || (n[13] = (c) => a.value.commonIndicator = c),
2379
- varietyMarket: a.value.varietyMarket,
2380
- commonOption: a.value.commonOption,
2381
- config: b.value.commonIndicator
2375
+ s(vt, {
2376
+ data: n.value.commonIndicator,
2377
+ "onUpdate:data": a[13] || (a[13] = (c) => n.value.commonIndicator = c),
2378
+ varietyMarket: n.value.varietyMarket,
2379
+ commonOption: n.value.commonOption,
2380
+ config: k.value.commonIndicator
2382
2381
  }, null, 8, ["data", "varietyMarket", "commonOption", "config"])
2383
2382
  ]);
2384
2383
  };
2385
2384
  }
2386
- }, qt = /* @__PURE__ */ ge(Rt, [["__scopeId", "data-v-c41b2140"]]), dn = {
2385
+ }, qt = /* @__PURE__ */ ge(Rt, [["__scopeId", "data-v-fe77e4e0"]]), dn = {
2387
2386
  install(p) {
2388
2387
  p.component("st-varietySearch", qt);
2389
2388
  }