@sunny-base-web/effects 0.8.89 → 0.8.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { getCurrentInstance as Ne, inject as Ft, defineComponent as q, computed as H, openBlock as m, createElementBlock as N, normalizeStyle as EA, normalizeClass as CA, createElementVNode as d, ref as P, reactive as uA, onMounted as yA, onUnmounted as je, resolveComponent as x, createVNode as r, withCtx as u, unref as Q, Fragment as oA, renderList as BA, createBlock as W, createCommentVNode as iA, withModifiers as xA, createTextVNode as J, toDisplayString as X, toRefs as yt, watch as lA, isRef as le, nextTick as fA, mergeProps as gg, createSlots as YA, withDirectives as og, vModelText as ng, resolveDynamicComponent as ce, Transition as Xe, KeepAlive as sg, withKeys as zA, markRaw as zt, shallowRef as Bg, renderSlot as $e, Teleport as rg } from "vue";
1
+ import { getCurrentInstance as Ne, inject as Ft, defineComponent as q, computed as H, openBlock as m, createElementBlock as N, normalizeStyle as EA, normalizeClass as CA, createElementVNode as d, ref as p, reactive as uA, onMounted as yA, onUnmounted as je, resolveComponent as x, createVNode as r, withCtx as u, unref as Q, Fragment as oA, renderList as BA, createBlock as W, createCommentVNode as iA, withModifiers as xA, createTextVNode as J, toDisplayString as X, toRefs as yt, watch as lA, isRef as le, nextTick as fA, mergeProps as gg, createSlots as YA, withDirectives as og, vModelText as ng, resolveDynamicComponent as ce, Transition as Xe, KeepAlive as sg, withKeys as zA, markRaw as zt, shallowRef as Bg, renderSlot as $e, Teleport as rg } from "vue";
2
2
  import { Message as L, Modal as dA, Tabs as ae, Tree as Cg, Checkbox as lg } from "@arco-design/web-vue";
3
3
  import ag from "jsencrypt";
4
4
  import { isFunction as At, isUndefined as et, merge as Qg, bindMethods as cg, isString as ig, getCookie as Eg, setCookie as Ig, transformToString as dg, transformToObjectArray as ug } from "@sunny-base-web/utils";
@@ -1158,7 +1158,7 @@ if (Re()) {
1158
1158
  JA.src = "http://localhost:8000/CLodopfuncs.js?priority=1", oe.insertBefore(JA, oe.firstChild), JA = document.createElement("script"), JA.src = "http://localhost:18000/CLodopfuncs.js?priority=0", oe.insertBefore(JA, oe.firstChild);
1159
1159
  }
1160
1160
  function vt(A, e) {
1161
- var g = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='install_lodop32.exe' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>", t = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='install_lodop32.exe' target='_self'>执行升级</a>,升级后请重新进入。</font>", o = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='install_lodop64.exe' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>", s = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='install_lodop64.exe' target='_self'>执行升级</a>,升级后请重新进入。</font>", n = "<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>", B = "<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>", E = "<br><font color='#FF00FF'>CLodop云打印服务需升级!点击这里<a href='CLodop_Setup_for_Win32NT.exe' target='_self'>执行升级</a>,升级后请刷新页面。</font>", c = navigator.userAgent.indexOf("MSIE") >= 0 || navigator.userAgent.indexOf("Trident") >= 0, f = c && navigator.userAgent.indexOf("x64") >= 0, i;
1161
+ var g = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='install_lodop32.exe' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>", t = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='install_lodop32.exe' target='_self'>执行升级</a>,升级后请重新进入。</font>", o = "<br><font color='#FF00FF'>打印控件未安装!点击这里<a href='install_lodop64.exe' target='_self'>执行安装</a>,安装后请刷新页面或重新进入。</font>", s = "<br><font color='#FF00FF'>打印控件需要升级!点击这里<a href='install_lodop64.exe' target='_self'>执行升级</a>,升级后请重新进入。</font>", n = "<br><br><font color='#FF00FF'>(注意:如曾安装过Lodop旧版附件npActiveXPLugin,请在【工具】->【附加组件】->【扩展】中先卸它)</font>", B = "<br><br><font color='#FF00FF'>(如果此前正常,仅因浏览器升级或重安装而出问题,需重新执行以上安装)</font>", E = "<br><font color='#FF00FF'>CLodop云打印服务需升级!点击这里<a href='CLodop_Setup_for_Win32NT.exe' target='_self'>执行升级</a>,升级后请刷新页面。</font>", c = navigator.userAgent.indexOf("MSIE") >= 0 || navigator.userAgent.indexOf("Trident") >= 0, w = c && navigator.userAgent.indexOf("x64") >= 0, i;
1162
1162
  try {
1163
1163
  if (Re()) {
1164
1164
  try {
@@ -1171,8 +1171,8 @@ function vt(A, e) {
1171
1171
  } else
1172
1172
  CLODOP.CVERSION < "3.0.0.2" && (c ? document.write(E) : document.documentElement.innerHTML = E + document.documentElement.innerHTML), e?.parentNode, A?.parentNode;
1173
1173
  } else if (A != null || e != null || (Le == null ? (i = document.createElement("object"), i.setAttribute("width", 0), i.setAttribute("height", 0), i.setAttribute("style", "position:absolute;left:0px;top:-100px;width:0px;height:0px;"), c ? i.setAttribute("classid", "clsid:2105C259-1E0C-4534-8141-A753534CB4CA") : i.setAttribute("type", "application/x-print-lodop"), document.documentElement.appendChild(i), Le = i) : i = Le), i == null || typeof i.VERSION > "u")
1174
- return navigator.userAgent.indexOf("Chrome") >= 0 && (document.documentElement.innerHTML = B + document.documentElement.innerHTML), navigator.userAgent.indexOf("Firefox") >= 0 && (document.documentElement.innerHTML = n + document.documentElement.innerHTML), f ? document.write(o) : c ? document.write(g) : document.documentElement.innerHTML = g + document.documentElement.innerHTML, i;
1175
- return i.VERSION < "6.0" && (Re() || (f ? document.write(s) : c ? document.write(t) : document.documentElement.innerHTML = t + document.documentElement.innerHTML)), i;
1174
+ return navigator.userAgent.indexOf("Chrome") >= 0 && (document.documentElement.innerHTML = B + document.documentElement.innerHTML), navigator.userAgent.indexOf("Firefox") >= 0 && (document.documentElement.innerHTML = n + document.documentElement.innerHTML), w ? document.write(o) : c ? document.write(g) : document.documentElement.innerHTML = g + document.documentElement.innerHTML, i;
1175
+ return i.VERSION < "6.0" && (Re() || (w ? document.write(s) : c ? document.write(t) : document.documentElement.innerHTML = t + document.documentElement.innerHTML)), i;
1176
1176
  } catch (C) {
1177
1177
  console.log("getLodop出错:" + C);
1178
1178
  }
@@ -1349,23 +1349,23 @@ class Kn {
1349
1349
  if (n.handlers && n.handlers.length > 0) {
1350
1350
  for (const I of n.handlers)
1351
1351
  if (typeof I?.fulfilled == "function") {
1352
- const w = await I.fulfilled(s);
1353
- w && (s = w);
1352
+ const f = await I.fulfilled(s);
1353
+ f && (s = f);
1354
1354
  }
1355
1355
  }
1356
1356
  const B = new Headers();
1357
1357
  Object.entries(
1358
1358
  s.headers ?? {}
1359
- ).forEach(([I, w]) => B.set(I, String(w))), t?.headers && new Headers(t.headers).forEach((I, w) => B.set(w, I)), B.has("accept") || B.set("accept", "text/event-stream");
1359
+ ).forEach(([I, f]) => B.set(I, String(f))), t?.headers && new Headers(t.headers).forEach((I, f) => B.set(f, I)), B.has("accept") || B.set("accept", "text/event-stream");
1360
1360
  let E = t?.body ?? g;
1361
1361
  const c = (B.get("content-type") || "").toLowerCase();
1362
1362
  E && typeof E == "object" && !ArrayBuffer.isView(E) && !(E instanceof ArrayBuffer) && !(E instanceof Blob) && !(E instanceof FormData) && c.includes("application/json") && (E = JSON.stringify(E));
1363
- const f = {
1363
+ const w = {
1364
1364
  ...t,
1365
1365
  method: s.method,
1366
1366
  headers: B,
1367
1367
  body: E
1368
- }, i = await fetch(Rn(o, e), f);
1368
+ }, i = await fetch(Rn(o, e), w);
1369
1369
  if (!i.ok)
1370
1370
  throw new Error(`HTTP error! status: ${i.status}`);
1371
1371
  const C = i.body?.getReader(), l = new TextDecoder();
@@ -1373,12 +1373,12 @@ class Kn {
1373
1373
  throw new Error("No reader");
1374
1374
  let a = !1;
1375
1375
  for (; !a; ) {
1376
- const { done: I, value: w } = await C.read();
1376
+ const { done: I, value: f } = await C.read();
1377
1377
  if (I) {
1378
1378
  a = !0, l.decode(new Uint8Array(0), { stream: !1 }), t?.onEnd?.(), C.releaseLock?.();
1379
1379
  break;
1380
1380
  }
1381
- const D = l.decode(w, { stream: !0 });
1381
+ const D = l.decode(f, { stream: !0 });
1382
1382
  t?.onMessage?.(D);
1383
1383
  }
1384
1384
  }
@@ -1532,8 +1532,8 @@ function Vn(A, e) {
1532
1532
  async function o(B, E) {
1533
1533
  if (console.warn(`Business error code ${B}: ${E}`), B === 530) {
1534
1534
  L.warning(E || "登录已过期,请重新登录");
1535
- const c = SA(), f = gt(), i = Ze();
1536
- c.setAccessToken(null), await f.logout(), i.tabs = [], i.cachedTabs = /* @__PURE__ */ new Set();
1535
+ const c = SA(), w = gt(), i = Ze();
1536
+ c.setAccessToken(null), await w.logout(), i.tabs = [], i.cachedTabs = /* @__PURE__ */ new Set();
1537
1537
  const C = window.location.hash.slice(1) || "/", l = MA.app?.loginPath || "/auth/login", a = C !== l ? `${l}?redirect=${encodeURIComponent(C)}` : l;
1538
1538
  window.location.hash = a;
1539
1539
  return;
@@ -1575,8 +1575,8 @@ function Vn(A, e) {
1575
1575
  })
1576
1576
  ), g.addResponseInterceptor(
1577
1577
  Sn((B, E) => {
1578
- const c = E?.response?.data ?? {}, f = c?.error ?? c?.message ?? "";
1579
- L.error(f || B);
1578
+ const c = E?.response?.data ?? {}, w = c?.error ?? c?.message ?? "";
1579
+ L.error(w || B);
1580
1580
  })
1581
1581
  ), g;
1582
1582
  }
@@ -1605,14 +1605,14 @@ const Wn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAIcCAYAAAA5Xcd7AA
1605
1605
  },
1606
1606
  emits: ["login"],
1607
1607
  setup(A, { emit: e }) {
1608
- const g = e, { t, locale: o } = aA(), s = P(), n = P(), B = uA({
1608
+ const g = e, { t, locale: o } = aA(), s = p(), n = p(), B = uA({
1609
1609
  username: "",
1610
1610
  password: "",
1611
1611
  langList: "",
1612
1612
  macAddress: "",
1613
1613
  cVerificationCode: "",
1614
1614
  systemSign: ""
1615
- }), E = P(0), c = P([]), f = P([]), i = P(!1), C = P(-1), l = P(!1), a = P(), I = P(""), w = P(!0), D = P(o.value || "zh-CN"), p = H(() => !["slide", "single"].includes(I.value)), v = H(() => `${t("向右滑动")}(${B.cVerificationCode || ""})`), h = (Z) => {
1615
+ }), E = p(0), c = p([]), w = p([]), i = p(!1), C = p(-1), l = p(!1), a = p(), I = p(""), f = p(!0), D = p(o.value || "zh-CN"), P = H(() => !["slide", "single"].includes(I.value)), v = H(() => `${t("向右滑动")}(${B.cVerificationCode || ""})`), h = (Z) => {
1616
1616
  D.value = Z, o.value = Z, sessionStorage.removeItem("langObj"), window.location.reload();
1617
1617
  }, z = () => {
1618
1618
  const Z = document.querySelector(".d-01"), K = document.querySelector(".d-02");
@@ -1796,12 +1796,12 @@ const Wn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAIcCAYAAAA5Xcd7AA
1796
1796
  }
1797
1797
  }, U = () => new Promise((Z, K) => {
1798
1798
  Zn({ usernumb: B.username }).then(($) => {
1799
- $.code === 200 ? (B.cVerificationCode = $.result.verificationCode, Z()) : (w.value = !1, setTimeout(() => {
1800
- w.value = !0;
1799
+ $.code === 200 ? (B.cVerificationCode = $.result.verificationCode, Z()) : (f.value = !1, setTimeout(() => {
1800
+ f.value = !0;
1801
1801
  }, 5e3), K(new Error("error")));
1802
1802
  }).catch(($) => {
1803
- w.value = !1, setTimeout(() => {
1804
- w.value = !0;
1803
+ f.value = !1, setTimeout(() => {
1804
+ f.value = !0;
1805
1805
  }, 5e3), K($);
1806
1806
  });
1807
1807
  }), V = [es, ts, gs, os, ns, ss, Bs], T = () => {
@@ -1813,7 +1813,7 @@ const Wn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAIcCAYAAAA5Xcd7AA
1813
1813
  };
1814
1814
  return yA(() => {
1815
1815
  document.addEventListener("click", gA), z(), R(), M(), Kt({ cXuhao: "LANG_V3" }).then((Z) => {
1816
- f.value = Z.result;
1816
+ w.value = Z.result;
1817
1817
  });
1818
1818
  }), je(() => {
1819
1819
  document.removeEventListener("click", gA);
@@ -1936,7 +1936,7 @@ const Wn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAIcCAYAAAA5Xcd7AA
1936
1936
  ], 2)
1937
1937
  ]),
1938
1938
  default: u(() => [
1939
- (m(!0), N(oA, null, BA(f.value, (nA) => (m(), W(sA, {
1939
+ (m(!0), N(oA, null, BA(w.value, (nA) => (m(), W(sA, {
1940
1940
  key: nA.id,
1941
1941
  label: nA.cName,
1942
1942
  value: nA.cXuhao
@@ -1947,7 +1947,7 @@ const Wn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAIcCAYAAAA5Xcd7AA
1947
1947
  ]),
1948
1948
  _: 1
1949
1949
  }),
1950
- p.value ? (m(), W(tA, {
1950
+ P.value ? (m(), W(tA, {
1951
1951
  key: 0,
1952
1952
  "hide-label": ""
1953
1953
  }, {
@@ -1980,7 +1980,7 @@ const Wn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAIcCAYAAAA5Xcd7AA
1980
1980
  ref_key: "verifyPopoverRef",
1981
1981
  ref: a
1982
1982
  }, [
1983
- w.value ? (m(), W(Q(Dg), {
1983
+ f.value ? (m(), W(Q(Dg), {
1984
1984
  key: 0,
1985
1985
  l: 42,
1986
1986
  r: 10,
@@ -2012,7 +2012,7 @@ const Wn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAIcCAYAAAA5Xcd7AA
2012
2012
  _: 1
2013
2013
  }, 8, ["model"]),
2014
2014
  d("div", Is, [
2015
- p.value ? (m(), N("div", ds, [
2015
+ P.value ? (m(), N("div", ds, [
2016
2016
  J(X(Z.$t("如果您无法获取到MAC地址,请先下载并安装插件")) + ": ", 1),
2017
2017
  d("a", {
2018
2018
  href: `${Q(Ie)}/sunnyoptical_getmac.exe`
@@ -2427,7 +2427,7 @@ const VA = {
2427
2427
  { label: "footer", value: "footer" }
2428
2428
  ]
2429
2429
  }, xs = {}, rA = { ...VA, ...xs }, bt = VA.sfggOpts, Ys = VA.cbTypeOpts, Rc = VA.userSfqyOpts, Nc = VA.nCbtypeOpts, jc = VA.nLikematchOpts, Ks = (A) => {
2430
- const e = P(), g = P(), t = P(), o = uA({
2430
+ const e = p(), g = p(), t = p(), o = uA({
2431
2431
  visible: !1,
2432
2432
  data: {},
2433
2433
  type: 0,
@@ -2674,7 +2674,7 @@ const VA = {
2674
2674
  content: `error:${l.message}`
2675
2675
  });
2676
2676
  });
2677
- }, f = () => {
2677
+ }, w = () => {
2678
2678
  o.data = {}, o.type = 0, o.confirmLoading = !1;
2679
2679
  };
2680
2680
  return {
@@ -2685,7 +2685,7 @@ const VA = {
2685
2685
  handleNodefileOk: E,
2686
2686
  openEditor: B,
2687
2687
  handleOk: c,
2688
- close: f,
2688
+ close: w,
2689
2689
  Form: s,
2690
2690
  formApi: n
2691
2691
  };
@@ -2696,7 +2696,7 @@ const VA = {
2696
2696
  },
2697
2697
  emits: ["update:modelValue"],
2698
2698
  setup(A, { emit: e }) {
2699
- const g = A, t = e, o = P(g.modelValue ? JSON.parse(g.modelValue) : []);
2699
+ const g = A, t = e, o = p(g.modelValue ? JSON.parse(g.modelValue) : []);
2700
2700
  return lA(
2701
2701
  () => g.modelValue,
2702
2702
  (s) => {
@@ -2709,7 +2709,7 @@ const VA = {
2709
2709
  },
2710
2710
  { deep: !0 }
2711
2711
  ), (s, n) => {
2712
- const B = x("a-table-column"), E = x("a-input"), c = x("a-option"), f = x("a-select"), i = x("a-table");
2712
+ const B = x("a-table-column"), E = x("a-input"), c = x("a-option"), w = x("a-select"), i = x("a-table");
2713
2713
  return m(), N("div", Rs, [
2714
2714
  r(i, {
2715
2715
  data: o.value,
@@ -2807,7 +2807,7 @@ const VA = {
2807
2807
  width: 100
2808
2808
  }, {
2809
2809
  cell: u(({ record: l }) => [
2810
- r(f, {
2810
+ r(w, {
2811
2811
  modelValue: l.type,
2812
2812
  "onUpdate:modelValue": (a) => l.type = a,
2813
2813
  size: "mini",
@@ -2870,7 +2870,7 @@ const VA = {
2870
2870
  },
2871
2871
  emits: ["update:modelValue"],
2872
2872
  setup(A, { emit: e }) {
2873
- const g = A, t = e, o = P(g.modelValue ? JSON.parse(g.modelValue) : []);
2873
+ const g = A, t = e, o = p(g.modelValue ? JSON.parse(g.modelValue) : []);
2874
2874
  return lA(
2875
2875
  () => g.modelValue,
2876
2876
  (s) => {
@@ -2883,7 +2883,7 @@ const VA = {
2883
2883
  },
2884
2884
  { deep: !0 }
2885
2885
  ), (s, n) => {
2886
- const B = x("a-table-column"), E = x("a-input"), c = x("a-option"), f = x("a-select"), i = x("a-table");
2886
+ const B = x("a-table-column"), E = x("a-input"), c = x("a-option"), w = x("a-select"), i = x("a-table");
2887
2887
  return m(), N("div", js, [
2888
2888
  r(i, {
2889
2889
  data: o.value,
@@ -2940,7 +2940,7 @@ const VA = {
2940
2940
  }),
2941
2941
  r(B, { title: "选项卡区域类型" }, {
2942
2942
  cell: u(({ record: C }) => [
2943
- r(f, {
2943
+ r(w, {
2944
2944
  modelValue: C.type,
2945
2945
  "onUpdate:modelValue": (l) => C.type = l,
2946
2946
  size: "small",
@@ -2976,16 +2976,16 @@ const VA = {
2976
2976
  emits: ["save"],
2977
2977
  setup(A, { expose: e, emit: g }) {
2978
2978
  const t = g;
2979
- P();
2979
+ p();
2980
2980
  const o = async (a) => {
2981
- const I = await l.validate(), w = await l.getValues();
2981
+ const I = await l.validate(), f = await l.getValues();
2982
2982
  if (I.valid) {
2983
- if (w.cTemplatetype === "0" && zg(w.cViewpath, "Query"))
2983
+ if (f.cTemplatetype === "0" && zg(f.cViewpath, "Query"))
2984
2984
  return L.error({
2985
2985
  closable: !0,
2986
2986
  content: "error: Form + Table 查询页,组件路径必须以Query结尾"
2987
2987
  }), !1;
2988
- f();
2988
+ w();
2989
2989
  } else
2990
2990
  return L.error("校验失败: " + Object.keys(I.errors).join(", ")), !1;
2991
2991
  }, {
@@ -2994,7 +2994,7 @@ const VA = {
2994
2994
  visible: B,
2995
2995
  tabMetaEditor: E,
2996
2996
  formTabsMetaEditor: c,
2997
- handleOk: f,
2997
+ handleOk: w,
2998
2998
  close: i,
2999
2999
  Form: C,
3000
3000
  formApi: l
@@ -3002,8 +3002,8 @@ const VA = {
3002
3002
  return e({
3003
3003
  openEditor: s
3004
3004
  }), (a, I) => {
3005
- const w = x("a-auto-complete"), D = x("a-textarea"), p = x("a-modal");
3006
- return m(), W(p, {
3005
+ const f = x("a-auto-complete"), D = x("a-textarea"), P = x("a-modal");
3006
+ return m(), W(P, {
3007
3007
  visible: Q(B),
3008
3008
  "onUpdate:visible": I[0] || (I[0] = (v) => le(B) ? B.value = v : null),
3009
3009
  width: "800px",
@@ -3017,7 +3017,7 @@ const VA = {
3017
3017
  default: u(() => [
3018
3018
  r(Q(C), null, {
3019
3019
  cViewpath: u(({ model: v, field: h }) => [
3020
- r(w, {
3020
+ r(f, {
3021
3021
  modelValue: v[h.name],
3022
3022
  "onUpdate:modelValue": (z) => v[h.name] = z,
3023
3023
  data: ["Layout", "Second"],
@@ -3056,7 +3056,7 @@ const VA = {
3056
3056
  };
3057
3057
  }
3058
3058
  }, Vs = (A) => {
3059
- const e = P(), g = uA({
3059
+ const e = p(), g = uA({
3060
3060
  data: [],
3061
3061
  moduleId: null,
3062
3062
  visible: !1,
@@ -3084,7 +3084,7 @@ const VA = {
3084
3084
  closable: !0,
3085
3085
  content: "请填写所有必填项"
3086
3086
  }), !1;
3087
- const { fullData: f } = c.getTableData(), i = f.map((l) => ({
3087
+ const { fullData: w } = c.getTableData(), i = w.map((l) => ({
3088
3088
  cUrl: l.cUrl.trim(),
3089
3089
  cDesc: l.cDesc?.trim() || "",
3090
3090
  id: l.id,
@@ -3112,7 +3112,7 @@ const VA = {
3112
3112
  };
3113
3113
  g.data.unshift(c);
3114
3114
  }, E = (c) => {
3115
- g.data = g.data.filter((f) => f.id !== c.id);
3115
+ g.data = g.data.filter((w) => w.id !== c.id);
3116
3116
  };
3117
3117
  return {
3118
3118
  ...yt(g),
@@ -3135,7 +3135,7 @@ const VA = {
3135
3135
  contentLoading: B,
3136
3136
  handleOk: E,
3137
3137
  close: c,
3138
- insertEvent: f,
3138
+ insertEvent: w,
3139
3139
  remove: i,
3140
3140
  openEditor: C,
3141
3141
  validRules: l
@@ -3143,7 +3143,7 @@ const VA = {
3143
3143
  return e({
3144
3144
  openEditor: C
3145
3145
  }), (a, I) => {
3146
- const w = x("vxe-column"), D = x("a-button"), p = x("vxe-table"), v = x("a-modal");
3146
+ const f = x("vxe-column"), D = x("a-button"), P = x("vxe-table"), v = x("a-modal");
3147
3147
  return m(), W(v, {
3148
3148
  visible: Q(s),
3149
3149
  "onUpdate:visible": I[0] || (I[0] = (h) => le(s) ? s.value = h : null),
@@ -3157,7 +3157,7 @@ const VA = {
3157
3157
  onCancel: Q(c)
3158
3158
  }, {
3159
3159
  default: u(() => [
3160
- r(p, {
3160
+ r(P, {
3161
3161
  ref_key: "editTable",
3162
3162
  ref: t,
3163
3163
  "row-config": {
@@ -3180,7 +3180,7 @@ const VA = {
3180
3180
  "empty-text": "暂无URL信息"
3181
3181
  }, {
3182
3182
  default: u(() => [
3183
- r(w, {
3183
+ r(f, {
3184
3184
  width: "50%",
3185
3185
  field: "cUrl",
3186
3186
  title: "接口URL",
@@ -3196,7 +3196,7 @@ const VA = {
3196
3196
  ]),
3197
3197
  _: 1
3198
3198
  }),
3199
- r(w, {
3199
+ r(f, {
3200
3200
  field: "cDesc",
3201
3201
  title: "描述",
3202
3202
  "edit-render": { autofocus: ".vxe-input--inner" }
@@ -3211,7 +3211,7 @@ const VA = {
3211
3211
  ]),
3212
3212
  _: 1
3213
3213
  }),
3214
- r(w, {
3214
+ r(f, {
3215
3215
  field: "nClicknum",
3216
3216
  title: "记录点击数",
3217
3217
  "edit-render": { autofocus: ".vxe-input--inner" }
@@ -3238,7 +3238,7 @@ const VA = {
3238
3238
  ]),
3239
3239
  _: 1
3240
3240
  }),
3241
- r(w, {
3241
+ r(f, {
3242
3242
  width: "80",
3243
3243
  "show-overflow": "",
3244
3244
  align: "center"
@@ -3249,7 +3249,7 @@ const VA = {
3249
3249
  status: "success",
3250
3250
  shape: "circle",
3251
3251
  size: "small",
3252
- onClick: Q(f)
3252
+ onClick: Q(w)
3253
3253
  }, {
3254
3254
  default: u(() => [
3255
3255
  r(Q(Gt))
@@ -3363,7 +3363,7 @@ const _s = /* @__PURE__ */ wA(Ws, [["render", qs]]), $s = { class: "h-full overf
3363
3363
  },
3364
3364
  emits: ["currentChange"],
3365
3365
  setup(A, { emit: e }) {
3366
- const g = P([]), t = P([]), o = P(), s = P(), n = P(), B = e, E = A, c = P(E.appSystem), f = (b) => jA(E.appSystem, ["id", b.id]), i = [
3366
+ const g = p([]), t = p([]), o = p(), s = p(), n = p(), B = e, E = A, c = p(E.appSystem), w = (b) => jA(E.appSystem, ["id", b.id]), i = [
3367
3367
  {
3368
3368
  key: "create",
3369
3369
  label: "新增下级资源",
@@ -3372,27 +3372,27 @@ const _s = /* @__PURE__ */ wA(Ws, [["render", qs]]), $s = { class: "h-full overf
3372
3372
  {
3373
3373
  key: "edit",
3374
3374
  label: "编辑资源",
3375
- visible: (b) => !f(b),
3375
+ visible: (b) => !w(b),
3376
3376
  disabled: (b) => b.cModname === "EVERYONE",
3377
3377
  handler: (b) => I(b)
3378
3378
  },
3379
3379
  {
3380
3380
  key: "delete",
3381
3381
  label: "删除资源",
3382
- visible: (b) => !f(b),
3382
+ visible: (b) => !w(b),
3383
3383
  disabled: (b) => b.cModname === "EVERYONE",
3384
- handler: (b) => p(b)
3384
+ handler: (b) => P(b)
3385
3385
  },
3386
3386
  {
3387
3387
  key: "ModUrl",
3388
3388
  label: "模块URL绑定",
3389
- visible: (b) => !f(b),
3389
+ visible: (b) => !w(b),
3390
3390
  handler: (b) => s.value.openEditor(b.id)
3391
3391
  },
3392
3392
  {
3393
3393
  key: "PathChange",
3394
3394
  label: "菜单路径变更",
3395
- visible: (b) => !f(b),
3395
+ visible: (b) => !w(b),
3396
3396
  disabled: (b) => b.cModname === "EVERYONE",
3397
3397
  handler: (b) => n?.value.openEditor(b)
3398
3398
  },
@@ -3439,12 +3439,12 @@ const _s = /* @__PURE__ */ wA(Ws, [["render", qs]]), $s = { class: "h-full overf
3439
3439
  content: `error:${k.message}`
3440
3440
  });
3441
3441
  });
3442
- }, w = (b, F) => {
3442
+ }, f = (b, F) => {
3443
3443
  const k = b.findIndex((y) => y.id === F);
3444
3444
  if (k > -1)
3445
3445
  return b.splice(k, 1), !0;
3446
3446
  for (const y of b)
3447
- if (y.children?.length && w(y.children, F))
3447
+ if (y.children?.length && f(y.children, F))
3448
3448
  return !0;
3449
3449
  return !1;
3450
3450
  }, D = (b) => {
@@ -3453,7 +3453,7 @@ const _s = /* @__PURE__ */ wA(Ws, [["render", qs]]), $s = { class: "h-full overf
3453
3453
  return !(y === String(b) || y.startsWith(`${b}-`));
3454
3454
  };
3455
3455
  g.value = g.value.filter(F), t.value = t.value.filter(F);
3456
- }, p = (b) => {
3456
+ }, P = (b) => {
3457
3457
  const F = Number(b.id);
3458
3458
  dA.confirm({
3459
3459
  title: "确认删除",
@@ -3464,7 +3464,7 @@ const _s = /* @__PURE__ */ wA(Ws, [["render", qs]]), $s = { class: "h-full overf
3464
3464
  const k = { authResMenu: { id: b.id } };
3465
3465
  await Ms(k).then((y) => {
3466
3466
  if (y.success) {
3467
- if (!w(c.value, F)) {
3467
+ if (!f(c.value, F)) {
3468
3468
  L.error("删除失败,未找到目标节点");
3469
3469
  return;
3470
3470
  }
@@ -3607,10 +3607,10 @@ function eB() {
3607
3607
  metaEdit: E,
3608
3608
  setCallmethodsJson: c
3609
3609
  } = this;
3610
- let f = [];
3610
+ let w = [];
3611
3611
  switch (A === "Button" ? A : `${e}${A}`) {
3612
3612
  case "searchFormField":
3613
- f = [{
3613
+ w = [{
3614
3614
  field: "id",
3615
3615
  title: "ID",
3616
3616
  width: "60"
@@ -3657,7 +3657,7 @@ function eB() {
3657
3657
  const {
3658
3658
  row: a,
3659
3659
  column: I,
3660
- rowIndex: w
3660
+ rowIndex: f
3661
3661
  } = C;
3662
3662
  g({
3663
3663
  row: a,
@@ -3965,7 +3965,7 @@ function eB() {
3965
3965
  }];
3966
3966
  break;
3967
3967
  case "searchTableField":
3968
- f = [{
3968
+ w = [{
3969
3969
  field: "id",
3970
3970
  title: "ID",
3971
3971
  width: "60"
@@ -4012,7 +4012,7 @@ function eB() {
4012
4012
  const {
4013
4013
  row: a,
4014
4014
  column: I,
4015
- rowIndex: w
4015
+ rowIndex: f
4016
4016
  } = C;
4017
4017
  g({
4018
4018
  row: a,
@@ -4172,7 +4172,7 @@ function eB() {
4172
4172
  }];
4173
4173
  break;
4174
4174
  default:
4175
- A === "Field" ? f = [{
4175
+ A === "Field" ? w = [{
4176
4176
  field: "id",
4177
4177
  title: "ID",
4178
4178
  width: "60"
@@ -4225,7 +4225,7 @@ function eB() {
4225
4225
  const {
4226
4226
  row: a,
4227
4227
  column: I,
4228
- rowIndex: w
4228
+ rowIndex: f
4229
4229
  } = C;
4230
4230
  g({
4231
4231
  row: a,
@@ -4573,7 +4573,7 @@ function eB() {
4573
4573
  }, null)]
4574
4574
  })])]
4575
4575
  }
4576
- }] : A === "Button" && (f = tB({
4576
+ }] : A === "Button" && (w = tB({
4577
4577
  area: e,
4578
4578
  setDynamicI18n: o,
4579
4579
  deleteRow: n,
@@ -4581,7 +4581,7 @@ function eB() {
4581
4581
  }));
4582
4582
  break;
4583
4583
  }
4584
- return f;
4584
+ return w;
4585
4585
  }
4586
4586
  function tB({
4587
4587
  area: A,
@@ -4892,8 +4892,8 @@ const pt = {
4892
4892
  __name: "cMetaEditor",
4893
4893
  emits: ["metaEmit"],
4894
4894
  setup(A, { expose: e, emit: g }) {
4895
- const t = g, o = P(!1), s = P(""), n = P(null), B = ({ row: c, rowIndex: f }) => {
4896
- o.value = !0, n.value = f, s.value = JSON.stringify(JSON.parse(c.cMeta || "{}"), null, 2);
4895
+ const t = g, o = p(!1), s = p(""), n = p(null), B = ({ row: c, rowIndex: w }) => {
4896
+ o.value = !0, n.value = w, s.value = JSON.stringify(JSON.parse(c.cMeta || "{}"), null, 2);
4897
4897
  }, E = () => {
4898
4898
  t("metaEmit", {
4899
4899
  rowIndex: n.value,
@@ -4902,11 +4902,11 @@ const pt = {
4902
4902
  };
4903
4903
  return e({
4904
4904
  openInit: B
4905
- }), (c, f) => {
4905
+ }), (c, w) => {
4906
4906
  const i = x("a-textarea"), C = x("a-button"), l = x("a-space"), a = x("a-modal");
4907
4907
  return m(), W(a, {
4908
4908
  visible: o.value,
4909
- "onUpdate:visible": f[2] || (f[2] = (I) => o.value = I),
4909
+ "onUpdate:visible": w[2] || (w[2] = (I) => o.value = I),
4910
4910
  "mask-closable": !1,
4911
4911
  "unmount-on-close": !0,
4912
4912
  draggable: "",
@@ -4917,9 +4917,9 @@ const pt = {
4917
4917
  r(l, null, {
4918
4918
  default: u(() => [
4919
4919
  r(C, {
4920
- onClick: f[1] || (f[1] = (I) => o.value = !1)
4920
+ onClick: w[1] || (w[1] = (I) => o.value = !1)
4921
4921
  }, {
4922
- default: u(() => [...f[3] || (f[3] = [
4922
+ default: u(() => [...w[3] || (w[3] = [
4923
4923
  J("取 消", -1)
4924
4924
  ])]),
4925
4925
  _: 1
@@ -4928,7 +4928,7 @@ const pt = {
4928
4928
  type: "primary",
4929
4929
  onClick: E
4930
4930
  }, {
4931
- default: u(() => [...f[4] || (f[4] = [
4931
+ default: u(() => [...w[4] || (w[4] = [
4932
4932
  J("确 定", -1)
4933
4933
  ])]),
4934
4934
  _: 1
@@ -4940,7 +4940,7 @@ const pt = {
4940
4940
  default: u(() => [
4941
4941
  r(i, {
4942
4942
  modelValue: s.value,
4943
- "onUpdate:modelValue": f[0] || (f[0] = (I) => s.value = I),
4943
+ "onUpdate:modelValue": w[0] || (w[0] = (I) => s.value = I),
4944
4944
  "allow-clear": "",
4945
4945
  autoSize: {
4946
4946
  minRows: 5,
@@ -4956,7 +4956,7 @@ const pt = {
4956
4956
  __name: "chooseTable",
4957
4957
  emits: ["chooseTableEmit"],
4958
4958
  setup(A, { expose: e, emit: g }) {
4959
- const { t } = aA(), o = P(!1), s = P([]), n = P([]), B = P(!1), E = g, c = [
4959
+ const { t } = aA(), o = p(!1), s = p([]), n = p([]), B = p(!1), E = g, c = [
4960
4960
  {
4961
4961
  fieldName: "tableName",
4962
4962
  label: t("表名"),
@@ -4970,7 +4970,7 @@ const pt = {
4970
4970
  showExtraOptions: !1,
4971
4971
  onSearch: (a) => {
4972
4972
  a !== "" ? (B.value = !0, Ss({ tableName: { name: a } }).then((I) => {
4973
- n.value = I.result.map((w) => ({ label: w.name, value: w.name }));
4973
+ n.value = I.result.map((f) => ({ label: f.name, value: f.name }));
4974
4974
  }).finally(() => {
4975
4975
  B.value = !1;
4976
4976
  })) : n.value = [];
@@ -4980,7 +4980,7 @@ const pt = {
4980
4980
  }
4981
4981
  }
4982
4982
  }
4983
- ], f = [
4983
+ ], w = [
4984
4984
  { type: "checkbox", width: 50, fixed: "left" },
4985
4985
  { field: "columnName", title: "字段名", width: 120 },
4986
4986
  { field: "dataType", title: "数据类型", width: 120 },
@@ -4997,22 +4997,22 @@ const pt = {
4997
4997
  pageNo: a.pageNo,
4998
4998
  pageSize: a.pageSize
4999
4999
  };
5000
- const { result: w } = await Ls(I);
5000
+ const { result: f } = await Ls(I);
5001
5001
  return {
5002
- list: w.records,
5003
- total: w.total
5002
+ list: f.records,
5003
+ total: f.total
5004
5004
  };
5005
5005
  };
5006
5006
  return e({
5007
5007
  openInit: i
5008
5008
  }), (a, I) => (m(), W(Q(Ve), {
5009
5009
  visible: o.value,
5010
- "onUpdate:visible": I[0] || (I[0] = (w) => o.value = w),
5010
+ "onUpdate:visible": I[0] || (I[0] = (f) => o.value = f),
5011
5011
  modelValue: s.value,
5012
- "onUpdate:modelValue": I[1] || (I[1] = (w) => s.value = w),
5012
+ "onUpdate:modelValue": I[1] || (I[1] = (f) => s.value = f),
5013
5013
  title: a.$t("选择实体表"),
5014
5014
  "form-schema": c,
5015
- "table-columns": f,
5015
+ "table-columns": w,
5016
5016
  "search-api": l,
5017
5017
  "field-names": { label: "tableName", value: "columnName", desc: "comments" },
5018
5018
  onConfirm: C
@@ -5022,7 +5022,7 @@ const pt = {
5022
5022
  __name: "fieldCallmethod",
5023
5023
  emits: ["fieldCallmethodEdit"],
5024
5024
  setup(A, { expose: e, emit: g }) {
5025
- const t = P(!1), o = P(""), s = P(!1), n = uA({
5025
+ const t = p(!1), o = p(""), s = p(!1), n = uA({
5026
5026
  rowIndex: null,
5027
5027
  field: null,
5028
5028
  fieldDatas: []
@@ -5039,9 +5039,9 @@ const pt = {
5039
5039
  customTableHeadFunc: "",
5040
5040
  showSheetRowNum: !1,
5041
5041
  showMaxExportNumber: !1
5042
- }), E = P();
5043
- P();
5044
- const c = g, f = () => {
5042
+ }), E = p();
5043
+ p();
5044
+ const c = g, w = () => {
5045
5045
  const I = {
5046
5046
  callmethodType: [{ required: !0, message: "请选择", trigger: "change" }]
5047
5047
  };
@@ -5061,16 +5061,16 @@ const pt = {
5061
5061
  showSheetRowNum: !1,
5062
5062
  showMaxExportNumber: !1
5063
5063
  });
5064
- }, C = ({ row: I, rowIndex: w, column: D }) => {
5065
- if (n.rowIndex = w, n.field = D.field, i(), I[D.field]) {
5066
- const p = I[D.field];
5067
- if (p.indexOf("@") !== -1)
5068
- p.split("@")[0].indexOf(",") !== -1 ? nt(p, "{") ? Object.assign(B, JSON.parse(p)) : (B.callmethodType = "导出", B.customType = "是", B.fileName = p.split(",")[0], p.split(",").length === 3 ? (B.handleClassPrefix = p.split(",")[1], B.exportType = p.split(",")[2] === "ALL" ? "一次性批量导出" : "自定义格式导出") : (B.handleClassPrefix = p.split(",")[1], B.exportType = "流式导出")) : (B.callmethodType = "导入", B.import1 = p.split(",")[0].split("@")[0], B.import2 = p.split(",")[0].split("@")[1], B.import3 = p.split(",")[1]);
5069
- else if (nt(p, "{"))
5070
- Object.assign(B, JSON.parse(p));
5064
+ }, C = ({ row: I, rowIndex: f, column: D }) => {
5065
+ if (n.rowIndex = f, n.field = D.field, i(), I[D.field]) {
5066
+ const P = I[D.field];
5067
+ if (P.indexOf("@") !== -1)
5068
+ P.split("@")[0].indexOf(",") !== -1 ? nt(P, "{") ? Object.assign(B, JSON.parse(P)) : (B.callmethodType = "导出", B.customType = "是", B.fileName = P.split(",")[0], P.split(",").length === 3 ? (B.handleClassPrefix = P.split(",")[1], B.exportType = P.split(",")[2] === "ALL" ? "一次性批量导出" : "自定义格式导出") : (B.handleClassPrefix = P.split(",")[1], B.exportType = "流式导出")) : (B.callmethodType = "导入", B.import1 = P.split(",")[0].split("@")[0], B.import2 = P.split(",")[0].split("@")[1], B.import3 = P.split(",")[1]);
5069
+ else if (nt(P, "{"))
5070
+ Object.assign(B, JSON.parse(P));
5071
5071
  else {
5072
- B.callmethodType = "导出", B.customType = "否", B.fileName = p.split(",")[0], B.handleClassPrefix = p.split(",")[1];
5073
- const v = p.split(",");
5072
+ B.callmethodType = "导出", B.customType = "否", B.fileName = P.split(",")[0], B.handleClassPrefix = P.split(",")[1];
5073
+ const v = P.split(",");
5074
5074
  let h = "";
5075
5075
  v.length === 3 ? v[2] === "ALL" ? h = "一次性批量导出" : v[2] === "CUSTOM" ? h = "自定义格式导出" : h = "" : h = "流式导出", B.exportType = h;
5076
5076
  }
@@ -5086,9 +5086,9 @@ const pt = {
5086
5086
  try {
5087
5087
  if (await E.value.validate()) return !1;
5088
5088
  s.value = !0;
5089
- let w = "";
5089
+ let f = "";
5090
5090
  if (B.callmethodType === "导入")
5091
- w = `${B.import1}@${B.import2},${B.import3}`;
5091
+ f = `${B.import1}@${B.import2},${B.import3}`;
5092
5092
  else {
5093
5093
  const D = {
5094
5094
  callmethodType: B.callmethodType,
@@ -5100,11 +5100,11 @@ const pt = {
5100
5100
  showSheetRowNum: B.showSheetRowNum,
5101
5101
  showMaxExportNumber: B.showMaxExportNumber
5102
5102
  };
5103
- w = JSON.stringify(D);
5103
+ f = JSON.stringify(D);
5104
5104
  }
5105
5105
  c("fieldCallmethodEdit", {
5106
5106
  rowIndex: n.rowIndex,
5107
- json: w,
5107
+ json: f,
5108
5108
  field: n.field
5109
5109
  }), t.value = !1;
5110
5110
  } catch (I) {
@@ -5121,11 +5121,11 @@ const pt = {
5121
5121
  });
5122
5122
  }), e({
5123
5123
  openInit: C
5124
- }), (I, w) => {
5125
- const D = x("a-option"), p = x("a-select"), v = x("a-form-item"), h = x("a-input"), z = x("a-switch"), R = x("a-form"), M = x("a-button"), G = x("a-modal");
5124
+ }), (I, f) => {
5125
+ const D = x("a-option"), P = x("a-select"), v = x("a-form-item"), h = x("a-input"), z = x("a-switch"), R = x("a-form"), M = x("a-button"), G = x("a-modal");
5126
5126
  return m(), W(G, {
5127
5127
  visible: t.value,
5128
- "onUpdate:visible": w[11] || (w[11] = (S) => t.value = S),
5128
+ "onUpdate:visible": f[11] || (f[11] = (S) => t.value = S),
5129
5129
  title: o.value,
5130
5130
  width: 800,
5131
5131
  "mask-closable": !1
@@ -5133,7 +5133,7 @@ const pt = {
5133
5133
  footer: u(() => [
5134
5134
  d("div", nB, [
5135
5135
  r(M, { onClick: a }, {
5136
- default: u(() => [...w[16] || (w[16] = [
5136
+ default: u(() => [...f[16] || (f[16] = [
5137
5137
  J("取 消", -1)
5138
5138
  ])]),
5139
5139
  _: 1
@@ -5143,7 +5143,7 @@ const pt = {
5143
5143
  loading: s.value,
5144
5144
  onClick: l
5145
5145
  }, {
5146
- default: u(() => [...w[17] || (w[17] = [
5146
+ default: u(() => [...f[17] || (f[17] = [
5147
5147
  J("确 定", -1)
5148
5148
  ])]),
5149
5149
  _: 1
@@ -5155,7 +5155,7 @@ const pt = {
5155
5155
  ref_key: "formRef",
5156
5156
  ref: E,
5157
5157
  model: B,
5158
- rules: f(),
5158
+ rules: w(),
5159
5159
  layout: "vertical"
5160
5160
  }, {
5161
5161
  default: u(() => [
@@ -5164,9 +5164,9 @@ const pt = {
5164
5164
  field: "callmethodType"
5165
5165
  }, {
5166
5166
  default: u(() => [
5167
- r(p, {
5167
+ r(P, {
5168
5168
  modelValue: B.callmethodType,
5169
- "onUpdate:modelValue": w[0] || (w[0] = (S) => B.callmethodType = S),
5169
+ "onUpdate:modelValue": f[0] || (f[0] = (S) => B.callmethodType = S),
5170
5170
  placeholder: "请选择"
5171
5171
  }, {
5172
5172
  default: u(() => [
@@ -5189,7 +5189,7 @@ const pt = {
5189
5189
  default: u(() => [
5190
5190
  r(h, {
5191
5191
  modelValue: B.import1,
5192
- "onUpdate:modelValue": w[1] || (w[1] = (S) => B.import1 = S),
5192
+ "onUpdate:modelValue": f[1] || (f[1] = (S) => B.import1 = S),
5193
5193
  placeholder: "请输入"
5194
5194
  }, null, 8, ["modelValue"])
5195
5195
  ]),
@@ -5202,7 +5202,7 @@ const pt = {
5202
5202
  default: u(() => [
5203
5203
  r(h, {
5204
5204
  modelValue: B.import2,
5205
- "onUpdate:modelValue": w[2] || (w[2] = (S) => B.import2 = S),
5205
+ "onUpdate:modelValue": f[2] || (f[2] = (S) => B.import2 = S),
5206
5206
  placeholder: "请输入"
5207
5207
  }, null, 8, ["modelValue"])
5208
5208
  ]),
@@ -5215,7 +5215,7 @@ const pt = {
5215
5215
  default: u(() => [
5216
5216
  r(h, {
5217
5217
  modelValue: B.import3,
5218
- "onUpdate:modelValue": w[3] || (w[3] = (S) => B.import3 = S),
5218
+ "onUpdate:modelValue": f[3] || (f[3] = (S) => B.import3 = S),
5219
5219
  placeholder: "请输入"
5220
5220
  }, null, 8, ["modelValue"])
5221
5221
  ]),
@@ -5230,7 +5230,7 @@ const pt = {
5230
5230
  default: u(() => [
5231
5231
  r(h, {
5232
5232
  modelValue: B.fileName,
5233
- "onUpdate:modelValue": w[4] || (w[4] = (S) => B.fileName = S),
5233
+ "onUpdate:modelValue": f[4] || (f[4] = (S) => B.fileName = S),
5234
5234
  placeholder: "请输入"
5235
5235
  }, null, 8, ["modelValue"])
5236
5236
  ]),
@@ -5243,7 +5243,7 @@ const pt = {
5243
5243
  default: u(() => [
5244
5244
  r(h, {
5245
5245
  modelValue: B.handleClassPrefix,
5246
- "onUpdate:modelValue": w[5] || (w[5] = (S) => B.handleClassPrefix = S),
5246
+ "onUpdate:modelValue": f[5] || (f[5] = (S) => B.handleClassPrefix = S),
5247
5247
  placeholder: "请输入"
5248
5248
  }, null, 8, ["modelValue"])
5249
5249
  ]),
@@ -5254,9 +5254,9 @@ const pt = {
5254
5254
  field: "exportType"
5255
5255
  }, {
5256
5256
  default: u(() => [
5257
- r(p, {
5257
+ r(P, {
5258
5258
  modelValue: B.exportType,
5259
- "onUpdate:modelValue": w[6] || (w[6] = (S) => B.exportType = S),
5259
+ "onUpdate:modelValue": f[6] || (f[6] = (S) => B.exportType = S),
5260
5260
  placeholder: "请选择",
5261
5261
  "allow-clear": ""
5262
5262
  }, {
@@ -5277,19 +5277,19 @@ const pt = {
5277
5277
  field: "bCustomTableHead"
5278
5278
  }, {
5279
5279
  default: u(() => [
5280
- r(p, {
5280
+ r(P, {
5281
5281
  modelValue: B.bCustomTableHead,
5282
- "onUpdate:modelValue": w[7] || (w[7] = (S) => B.bCustomTableHead = S)
5282
+ "onUpdate:modelValue": f[7] || (f[7] = (S) => B.bCustomTableHead = S)
5283
5283
  }, {
5284
5284
  default: u(() => [
5285
5285
  r(D, { value: !0 }, {
5286
- default: u(() => [...w[12] || (w[12] = [
5286
+ default: u(() => [...f[12] || (f[12] = [
5287
5287
  J("是", -1)
5288
5288
  ])]),
5289
5289
  _: 1
5290
5290
  }),
5291
5291
  r(D, { value: !1 }, {
5292
- default: u(() => [...w[13] || (w[13] = [
5292
+ default: u(() => [...f[13] || (f[13] = [
5293
5293
  J("否", -1)
5294
5294
  ])]),
5295
5295
  _: 1
@@ -5306,19 +5306,19 @@ const pt = {
5306
5306
  field: "customTableHeadFunc"
5307
5307
  }, {
5308
5308
  default: u(() => [
5309
- r(p, {
5309
+ r(P, {
5310
5310
  modelValue: B.customTableHeadFunc,
5311
- "onUpdate:modelValue": w[8] || (w[8] = (S) => B.customTableHeadFunc = S)
5311
+ "onUpdate:modelValue": f[8] || (f[8] = (S) => B.customTableHeadFunc = S)
5312
5312
  }, {
5313
5313
  default: u(() => [
5314
5314
  r(D, { value: "CUSTOM" }, {
5315
- default: u(() => [...w[14] || (w[14] = [
5315
+ default: u(() => [...f[14] || (f[14] = [
5316
5316
  J("自定义完全列", -1)
5317
5317
  ])]),
5318
5318
  _: 1
5319
5319
  }),
5320
5320
  r(D, { value: "PART" }, {
5321
- default: u(() => [...w[15] || (w[15] = [
5321
+ default: u(() => [...f[15] || (f[15] = [
5322
5322
  J("修改部分", -1)
5323
5323
  ])]),
5324
5324
  _: 1
@@ -5336,7 +5336,7 @@ const pt = {
5336
5336
  default: u(() => [
5337
5337
  r(z, {
5338
5338
  modelValue: B.showSheetRowNum,
5339
- "onUpdate:modelValue": w[9] || (w[9] = (S) => B.showSheetRowNum = S),
5339
+ "onUpdate:modelValue": f[9] || (f[9] = (S) => B.showSheetRowNum = S),
5340
5340
  "checked-text": "是",
5341
5341
  "unchecked-text": "否"
5342
5342
  }, null, 8, ["modelValue"])
@@ -5350,7 +5350,7 @@ const pt = {
5350
5350
  default: u(() => [
5351
5351
  r(z, {
5352
5352
  modelValue: B.showMaxExportNumber,
5353
- "onUpdate:modelValue": w[10] || (w[10] = (S) => B.showMaxExportNumber = S),
5353
+ "onUpdate:modelValue": f[10] || (f[10] = (S) => B.showMaxExportNumber = S),
5354
5354
  "checked-text": "是",
5355
5355
  "unchecked-text": "否"
5356
5356
  }, null, 8, ["modelValue"])
@@ -5396,7 +5396,7 @@ const pt = {
5396
5396
  },
5397
5397
  emits: ["saveResourceCallback"],
5398
5398
  setup(A, { emit: e }) {
5399
- const g = A, t = e, o = P([]), s = P(!1), n = P(null), B = P(), E = P(), c = P(), f = P(), i = H(() => eB.call({
5399
+ const g = A, t = e, o = p([]), s = p(!1), n = p(null), B = p(), E = p(), c = p(), w = p(), i = H(() => eB.call({
5400
5400
  type: g.type,
5401
5401
  area: g.area,
5402
5402
  datePickSetMeta: G,
@@ -5404,10 +5404,10 @@ const pt = {
5404
5404
  setDynamicI18n: b,
5405
5405
  pickTable: S,
5406
5406
  deleteRow: h,
5407
- insertRow: p,
5407
+ insertRow: P,
5408
5408
  metaEdit: z,
5409
5409
  setCallmethodsJson: F
5410
- })), C = P({
5410
+ })), C = p({
5411
5411
  columns: i,
5412
5412
  height: g.height,
5413
5413
  data: o,
@@ -5514,12 +5514,12 @@ const pt = {
5514
5514
  s.value = !1;
5515
5515
  }));
5516
5516
  }
5517
- }, w = (y) => {
5517
+ }, f = (y) => {
5518
5518
  var U = "", V = g.moduleInfo.cViewpath.substring(0, g.moduleInfo.cViewpath.lastIndexOf("/")).split("/"), T = V[V.length - 1];
5519
5519
  y === "add" || y === "edit" || y === "del" ? U = T + "/" + y : (y === "daoru" || y === "daochu") && (U = y + "/show"), o.value.push(Be({}, pt[y], { cArea: g.area, cStoremethod: U }));
5520
5520
  }, D = () => {
5521
5521
  o.value.push({ cArea: g.area });
5522
- }, p = ({ rowIndex: y }) => {
5522
+ }, P = ({ rowIndex: y }) => {
5523
5523
  o.value.splice(y + 1, 0, { cArea: g.area });
5524
5524
  }, v = () => {
5525
5525
  o.value = a();
@@ -5558,7 +5558,7 @@ const pt = {
5558
5558
  c.value.openInit({ row: y, rowIndex: U, column: V, tableData: o.value });
5559
5559
  }, b = ({ row: y, rowIndex: U, column: V }) => {
5560
5560
  }, F = ({ row: y, rowIndex: U, column: V }) => {
5561
- f.value.openInit({ row: y, rowIndex: U, column: V, tableData: o.value });
5561
+ w.value.openInit({ row: y, rowIndex: U, column: V, tableData: o.value });
5562
5562
  }, k = ({ rowIndex: y, json: U, field: V }) => {
5563
5563
  o.value[y][V] = U;
5564
5564
  };
@@ -5574,7 +5574,7 @@ const pt = {
5574
5574
  r(T, {
5575
5575
  size: "mini",
5576
5576
  onClick: D,
5577
- onSelect: w
5577
+ onSelect: f
5578
5578
  }, {
5579
5579
  content: u(() => [
5580
5580
  (m(!0), N(oA, null, BA(l.value, (K) => (m(), W(V, {
@@ -5637,7 +5637,7 @@ const pt = {
5637
5637
  }, null, 512),
5638
5638
  r(sB, {
5639
5639
  ref_key: "fieldCallmethodRef",
5640
- ref: f,
5640
+ ref: w,
5641
5641
  onFieldCallmethodEdit: k
5642
5642
  }, null, 512)
5643
5643
  ]),
@@ -5654,7 +5654,7 @@ const pt = {
5654
5654
  }, cB = /* @__PURE__ */ q({
5655
5655
  __name: "ConstructionConfig",
5656
5656
  setup(A, { expose: e }) {
5657
- const g = P(!1), t = uA({
5657
+ const g = p(!1), t = uA({
5658
5658
  moduleInfo: null,
5659
5659
  // 为后期模块有模板类型做准备,放一个个moduleInfo在此容器,不然可以直接将muduleInfo传给子组件
5660
5660
  activeName: "",
@@ -5663,8 +5663,8 @@ const pt = {
5663
5663
  resourceData: {}
5664
5664
  }), o = H(() => {
5665
5665
  let c = [];
5666
- const { cTemplatetype: f, cMeta: i } = t.moduleInfo;
5667
- if (f === "-1")
5666
+ const { cTemplatetype: w, cMeta: i } = t.moduleInfo;
5667
+ if (w === "-1")
5668
5668
  c = [
5669
5669
  {
5670
5670
  label: "字段",
@@ -5677,26 +5677,26 @@ const pt = {
5677
5677
  key: "Button"
5678
5678
  }
5679
5679
  ];
5680
- else if (f === "1") {
5680
+ else if (w === "1") {
5681
5681
  const C = JSON.parse(i);
5682
5682
  c = WA(C, function(l, a, I) {
5683
- return a.cArea.forEach((w) => {
5683
+ return a.cArea.forEach((f) => {
5684
5684
  l.push({
5685
- label: `${w.label}字段`,
5685
+ label: `${f.label}字段`,
5686
5686
  type: "Field",
5687
- area: w.value,
5688
- key: `${w.value}Field`
5687
+ area: f.value,
5688
+ key: `${f.value}Field`
5689
5689
  }), l.push({
5690
- label: `${w.label}按钮`,
5690
+ label: `${f.label}按钮`,
5691
5691
  type: "Button",
5692
- area: w.value,
5693
- key: `${w.value}Button`
5692
+ area: f.value,
5693
+ key: `${f.value}Button`
5694
5694
  });
5695
5695
  }), l;
5696
5696
  }, []);
5697
- } else if (f === "4") {
5697
+ } else if (w === "4") {
5698
5698
  const C = JSON.parse(i);
5699
- c = WA(C, function(a, I, w) {
5699
+ c = WA(C, function(a, I, f) {
5700
5700
  return a.push({
5701
5701
  label: `${I.label}字段`,
5702
5702
  type: "Field",
@@ -5723,7 +5723,7 @@ const pt = {
5723
5723
  }
5724
5724
  ], ...c];
5725
5725
  } else {
5726
- const C = jA(rA.templateList, ["value", f])?.cArea;
5726
+ const C = jA(rA.templateList, ["value", w])?.cArea;
5727
5727
  c = WA(C, function(l, a, I) {
5728
5728
  return l.push({
5729
5729
  label: `${a}字段`,
@@ -5742,7 +5742,7 @@ const pt = {
5742
5742
  });
5743
5743
  lA(
5744
5744
  () => t.moduleInfo,
5745
- async (c, f) => {
5745
+ async (c, w) => {
5746
5746
  if (c) {
5747
5747
  const { id: i } = c;
5748
5748
  await B(i), t.activeName = o.value.length > 0 ? Ot(o.value).key : "";
@@ -5764,11 +5764,11 @@ const pt = {
5764
5764
  const { resButtonList: C, resFieldList: l } = i.result, a = de([
5765
5765
  ...de(Bt(l, "cArea")),
5766
5766
  ...de(Bt(C, "cArea"))
5767
- ]), I = WA(a, function(w, D, p) {
5768
- return w[D] = {
5767
+ ]), I = WA(a, function(f, D, P) {
5768
+ return f[D] = {
5769
5769
  Field: rt(l, ["cArea", D]),
5770
5770
  Button: rt(C, ["cArea", D])
5771
- }, w;
5771
+ }, f;
5772
5772
  }, {});
5773
5773
  t.resourceData = Be({}, I, {
5774
5774
  Field: l,
@@ -5778,20 +5778,20 @@ const pt = {
5778
5778
  }).finally(() => {
5779
5779
  g.value = !1;
5780
5780
  });
5781
- }, E = ({ area: c, type: f }) => {
5781
+ }, E = ({ area: c, type: w }) => {
5782
5782
  bs({
5783
5783
  authResMenu: {
5784
5784
  id: t?.moduleInfo?.id
5785
5785
  },
5786
5786
  area: c
5787
5787
  }).then((i) => {
5788
- const C = f === "Field" ? "resFieldList" : "resButtonList";
5789
- c && f ? t.resourceData[c][f] = i.result[C] : t.resourceData[f] = i.result[C];
5788
+ const C = w === "Field" ? "resFieldList" : "resButtonList";
5789
+ c && w ? t.resourceData[c][w] = i.result[C] : t.resourceData[w] = i.result[C];
5790
5790
  });
5791
5791
  };
5792
5792
  return e({
5793
5793
  editableBaseData: t
5794
- }), (c, f) => {
5794
+ }), (c, w) => {
5795
5795
  const i = x("a-tab-pane"), C = x("a-tabs"), l = x("a-empty");
5796
5796
  return m(), N("div", {
5797
5797
  loading: g.value,
@@ -5800,7 +5800,7 @@ const pt = {
5800
5800
  t.moduleInfo ? (m(), N("div", aB, [
5801
5801
  r(C, {
5802
5802
  modelValue: t.activeName,
5803
- "onUpdate:modelValue": f[0] || (f[0] = (a) => t.activeName = a),
5803
+ "onUpdate:modelValue": w[0] || (w[0] = (a) => t.activeName = a),
5804
5804
  class: "w-full h-full"
5805
5805
  }, {
5806
5806
  default: u(() => [
@@ -5838,7 +5838,7 @@ const pt = {
5838
5838
  }
5839
5839
  },
5840
5840
  setup(A) {
5841
- const e = A, g = P("300px"), t = P(), o = (s, { node: n }) => {
5841
+ const e = A, g = p("300px"), t = p(), o = (s, { node: n }) => {
5842
5842
  t.value.editableBaseData.moduleInfo = n;
5843
5843
  };
5844
5844
  return (s, n) => {
@@ -5917,7 +5917,7 @@ const wB = { class: "flex gap-4 min-h-[440px]" }, vB = { class: "w-52 shrink-0 f
5917
5917
  },
5918
5918
  emits: ["update:visible", "confirm"],
5919
5919
  setup(A, { emit: e }) {
5920
- const g = A, t = e, { t: o } = ie(), s = P(!1), n = P([]), B = P(""), E = P(/* @__PURE__ */ new Map());
5920
+ const g = A, t = e, { t: o } = ie(), s = p(!1), n = p([]), B = p(""), E = p(/* @__PURE__ */ new Map());
5921
5921
  lA(
5922
5922
  () => g.visible,
5923
5923
  async (D) => {
@@ -5930,8 +5930,8 @@ const wB = { class: "flex gap-4 min-h-[440px]" }, vB = { class: "w-52 shrink-0 f
5930
5930
  const D = await uB({
5931
5931
  cCreateuser: g.userId
5932
5932
  });
5933
- n.value = D.result || [], n.value.forEach((p) => {
5934
- p.modList?.forEach((v) => {
5933
+ n.value = D.result || [], n.value.forEach((P) => {
5934
+ P.modList?.forEach((v) => {
5935
5935
  v.check === "1" && E.value.set(v.cShowname, v);
5936
5936
  });
5937
5937
  }), n.value.length > 0 && (B.value = n.value[0].cShowname);
@@ -5941,31 +5941,31 @@ const wB = { class: "flex gap-4 min-h-[440px]" }, vB = { class: "w-52 shrink-0 f
5941
5941
  s.value = !1;
5942
5942
  }
5943
5943
  }
5944
- function f() {
5944
+ function w() {
5945
5945
  t("confirm", Array.from(E.value.values())), t("update:visible", !1);
5946
5946
  }
5947
5947
  function i(D) {
5948
- const p = new Map(E.value);
5949
- p.set(D.cShowname, D), E.value = p;
5948
+ const P = new Map(E.value);
5949
+ P.set(D.cShowname, D), E.value = P;
5950
5950
  }
5951
5951
  function C(D) {
5952
- const p = new Map(E.value);
5953
- p.delete(D), E.value = p;
5952
+ const P = new Map(E.value);
5953
+ P.delete(D), E.value = P;
5954
5954
  }
5955
5955
  function l() {
5956
5956
  t("update:visible", !1);
5957
5957
  }
5958
5958
  const a = H(() => n.value.find((D) => D.cShowname === B.value)), I = H(() => {
5959
- const D = new Set(w.value.map((p) => p.cShowname));
5960
- return a.value?.modList?.filter((p) => !D.has(p.cShowname)) || [];
5961
- }), w = H(() => Array.from(E.value.values()));
5962
- return (D, p) => (m(), W(Q(vA), {
5959
+ const D = new Set(f.value.map((P) => P.cShowname));
5960
+ return a.value?.modList?.filter((P) => !D.has(P.cShowname)) || [];
5961
+ }), f = H(() => Array.from(E.value.values()));
5962
+ return (D, P) => (m(), W(Q(vA), {
5963
5963
  "model-value": g.visible,
5964
5964
  title: D.$t("common.create"),
5965
5965
  width: 800,
5966
5966
  "help-message": D.$t("common.dashboard.quickEntry.addEntryTip"),
5967
- "onUpdate:modelValue": p[0] || (p[0] = (v) => t("update:visible", v)),
5968
- onOk: f,
5967
+ "onUpdate:modelValue": P[0] || (P[0] = (v) => t("update:visible", v)),
5968
+ onOk: w,
5969
5969
  onClose: l
5970
5970
  }, {
5971
5971
  default: u(() => [
@@ -5973,7 +5973,7 @@ const wB = { class: "flex gap-4 min-h-[440px]" }, vB = { class: "w-52 shrink-0 f
5973
5973
  d("div", vB, [
5974
5974
  d("div", DB, X(D.$t("common.dashboard.quickEntry.category")), 1),
5975
5975
  d("div", mB, [
5976
- s.value ? (m(), N("div", bB, [...p[1] || (p[1] = [
5976
+ s.value ? (m(), N("div", bB, [...P[1] || (P[1] = [
5977
5977
  d("div", { class: "w-5 h-5 border-2 border-[var(--color-border-2)] border-t-[rgb(var(--primary-6))] rounded-full animate-spin" }, null, -1)
5978
5978
  ])])) : (m(), N("div", pB, [
5979
5979
  (m(!0), N(oA, null, BA(n.value, (v) => (m(), N("button", {
@@ -6048,10 +6048,10 @@ const wB = { class: "flex gap-4 min-h-[440px]" }, vB = { class: "w-52 shrink-0 f
6048
6048
  }),
6049
6049
  d("span", WB, X(D.$t("common.dashboard.quickEntry.selected")), 1)
6050
6050
  ]),
6051
- d("span", TB, X(w.value.length), 1)
6051
+ d("span", TB, X(f.value.length), 1)
6052
6052
  ]),
6053
6053
  d("div", qB, [
6054
- w.value.length === 0 ? (m(), N("div", _B, [
6054
+ f.value.length === 0 ? (m(), N("div", _B, [
6055
6055
  d("div", $B, [
6056
6056
  r(Q(Lg), {
6057
6057
  size: 20,
@@ -6060,7 +6060,7 @@ const wB = { class: "flex gap-4 min-h-[440px]" }, vB = { class: "w-52 shrink-0 f
6060
6060
  ]),
6061
6061
  d("span", Ar, X(D.$t("common.dashboard.quickEntry.noSelection")), 1)
6062
6062
  ])) : (m(), N("div", er, [
6063
- (m(!0), N(oA, null, BA(w.value, (v) => (m(), N("div", {
6063
+ (m(!0), N(oA, null, BA(f.value, (v) => (m(), N("div", {
6064
6064
  key: v.cShowname,
6065
6065
  class: "flex items-center justify-between px-3 py-2.5 rounded-lg bg-[var(--color-bg-1)] border border-[rgba(var(--primary-6),0.12)] group"
6066
6066
  }, [
@@ -6093,7 +6093,7 @@ const wB = { class: "flex gap-4 min-h-[440px]" }, vB = { class: "w-52 shrink-0 f
6093
6093
  name: "Dashboard",
6094
6094
  __name: "Dashboard",
6095
6095
  setup(A) {
6096
- const { t: e } = ie(), g = XA(), t = P([]), o = P(!1), s = P(!1), n = H(() => {
6096
+ const { t: e } = ie(), g = XA(), t = p([]), o = p(!1), s = p(!1), n = H(() => {
6097
6097
  const a = (/* @__PURE__ */ new Date()).getHours();
6098
6098
  return a < 6 ? e("common.dashboard.greeting.night") : a < 12 ? e("common.dashboard.greeting.morning") : a < 18 ? e("common.dashboard.greeting.afternoon") : e("common.dashboard.greeting.evening");
6099
6099
  }), B = H(() => {
@@ -6121,7 +6121,7 @@ const wB = { class: "flex gap-4 min-h-[440px]" }, vB = { class: "w-52 shrink-0 f
6121
6121
  o.value = !1;
6122
6122
  }
6123
6123
  }
6124
- function f() {
6124
+ function w() {
6125
6125
  s.value = !0;
6126
6126
  }
6127
6127
  async function i(a) {
@@ -6151,7 +6151,7 @@ const wB = { class: "flex gap-4 min-h-[440px]" }, vB = { class: "w-52 shrink-0 f
6151
6151
  return yA(() => {
6152
6152
  c();
6153
6153
  }), (a, I) => {
6154
- const w = x("a-button"), D = x("a-spin"), p = x("a-empty"), v = x("a-card");
6154
+ const f = x("a-button"), D = x("a-spin"), P = x("a-empty"), v = x("a-card");
6155
6155
  return m(), N("div", nr, [
6156
6156
  d("header", sr, [
6157
6157
  d("div", Br, [
@@ -6173,10 +6173,10 @@ const wB = { class: "flex gap-4 min-h-[440px]" }, vB = { class: "w-52 shrink-0 f
6173
6173
  ]),
6174
6174
  d("h2", ir, X(a.$t("common.dashboard.quickEntry.title")), 1)
6175
6175
  ]),
6176
- r(w, {
6176
+ r(f, {
6177
6177
  type: "text",
6178
6178
  size: "small",
6179
- onClick: f
6179
+ onClick: w
6180
6180
  }, {
6181
6181
  icon: u(() => [
6182
6182
  r(Q(TA), { size: 16 })
@@ -6189,7 +6189,7 @@ const wB = { class: "flex gap-4 min-h-[440px]" }, vB = { class: "w-52 shrink-0 f
6189
6189
  ]),
6190
6190
  o.value ? (m(), N("div", Er, [
6191
6191
  r(D)
6192
- ])) : t.value.length === 0 ? (m(), W(p, {
6192
+ ])) : t.value.length === 0 ? (m(), W(P, {
6193
6193
  key: 1,
6194
6194
  description: a.$t("common.noData")
6195
6195
  }, null, 8, ["description"])) : (m(), N("div", Ir, [
@@ -6244,7 +6244,9 @@ const pr = {
6244
6244
  name: "MenuItem",
6245
6245
  __name: "menu-item",
6246
6246
  props: {
6247
- menus: {}
6247
+ menus: {},
6248
+ openKeys: {},
6249
+ collapsed: { type: Boolean }
6248
6250
  },
6249
6251
  setup(A) {
6250
6252
  return (e, g) => {
@@ -6264,9 +6266,12 @@ const pr = {
6264
6266
  J(" " + X(n.name), 1)
6265
6267
  ]),
6266
6268
  default: u(() => [
6267
- r(t, {
6268
- menus: n.children
6269
- }, null, 8, ["menus"])
6269
+ A.collapsed || A.openKeys.includes(n.path) ? (m(), W(t, {
6270
+ key: 0,
6271
+ menus: n.children,
6272
+ "open-keys": A.openKeys,
6273
+ collapsed: A.collapsed
6274
+ }, null, 8, ["menus", "open-keys", "collapsed"])) : iA("", !0)
6270
6275
  ]),
6271
6276
  _: 2
6272
6277
  }, 1024)) : (m(), W(s, {
@@ -6309,15 +6314,15 @@ const pr = {
6309
6314
  const E = x("a-breadcrumb-item"), c = x("a-breadcrumb");
6310
6315
  return m(), W(c, { class: "ml-4" }, {
6311
6316
  default: u(() => [
6312
- (m(!0), N(oA, null, BA(t.value, (f) => (m(), W(E, {
6313
- key: f.path
6317
+ (m(!0), N(oA, null, BA(t.value, (w) => (m(), W(E, {
6318
+ key: w.path
6314
6319
  }, {
6315
6320
  default: u(() => [
6316
- o(f) ? (m(), N("span", Mr, X(f.meta?.title), 1)) : (m(), N("a", {
6321
+ o(w) ? (m(), N("span", Mr, X(w.meta?.title), 1)) : (m(), N("a", {
6317
6322
  key: 1,
6318
- onClick: xA((i) => s(f), ["prevent"]),
6323
+ onClick: xA((i) => s(w), ["prevent"]),
6319
6324
  class: "cursor-pointer text-[var(--color-text-2)] hover:text-[var(--color-text-1)] transition-colors"
6320
- }, X(f.meta?.title), 9, Fr))
6325
+ }, X(w.meta?.title), 9, Fr))
6321
6326
  ]),
6322
6327
  _: 2
6323
6328
  }, 1024))), 128))
@@ -6339,7 +6344,7 @@ const pr = {
6339
6344
  name: "HeaderSearch",
6340
6345
  __name: "search",
6341
6346
  setup(A) {
6342
- const e = KA(), g = SA(), t = P(!1), o = P(""), s = P(), n = P(), B = P([]), E = P(0), c = P(!0), f = navigator.platform.toUpperCase().indexOf("MAC") >= 0, i = (M, G = []) => {
6347
+ const e = KA(), g = SA(), t = p(!1), o = p(""), s = p(), n = p(), B = p([]), E = p(0), c = p(!0), w = navigator.platform.toUpperCase().indexOf("MAC") >= 0, i = (M, G = []) => {
6343
6348
  let S = [];
6344
6349
  for (const O of M) {
6345
6350
  const Y = O.meta?.title || O.title || O.name, b = [...G];
@@ -6365,7 +6370,7 @@ const pr = {
6365
6370
  E.value = 0;
6366
6371
  });
6367
6372
  let a = -1, I = -1;
6368
- const w = (M) => {
6373
+ const f = (M) => {
6369
6374
  if (a === -1 && I === -1) {
6370
6375
  a = M.screenX, I = M.screenY;
6371
6376
  return;
@@ -6375,7 +6380,7 @@ const pr = {
6375
6380
  t.value = !0, o.value = "", fA(() => {
6376
6381
  s.value?.focus();
6377
6382
  });
6378
- }, p = () => {
6383
+ }, P = () => {
6379
6384
  o.value = "";
6380
6385
  }, v = (M) => {
6381
6386
  e.push(M.path), t.value = !1;
@@ -6413,7 +6418,7 @@ const pr = {
6413
6418
  class: "text-[var(--color-text-3)]"
6414
6419
  }),
6415
6420
  G[3] || (G[3] = d("span", { class: "text-[var(--color-text-3)] text-xs" }, "搜索...", -1)),
6416
- d("span", zr, X(f ? "⌘ K" : "Ctrl K"), 1)
6421
+ d("span", zr, X(w ? "⌘ K" : "Ctrl K"), 1)
6417
6422
  ]),
6418
6423
  r(S, {
6419
6424
  visible: t.value,
@@ -6424,7 +6429,7 @@ const pr = {
6424
6429
  top: "100px",
6425
6430
  width: "520px",
6426
6431
  class: "search-modal",
6427
- onClose: p
6432
+ onClose: P
6428
6433
  }, {
6429
6434
  default: u(() => [
6430
6435
  d("div", kr, [
@@ -6455,7 +6460,7 @@ const pr = {
6455
6460
  class: "overflow-y-auto custom-scrollbar p-1.5 flex-1",
6456
6461
  ref_key: "listRef",
6457
6462
  ref: n,
6458
- onMousemove: w
6463
+ onMousemove: f
6459
6464
  }, [
6460
6465
  l.value.length > 0 ? (m(), N(oA, { key: 0 }, [
6461
6466
  G[4] || (G[4] = d("div", { class: "text-[10px] text-[var(--color-text-4)] px-2 py-1.5 font-medium" }, "应用菜单", -1)),
@@ -6642,12 +6647,12 @@ const pr = {
6642
6647
  });
6643
6648
  function Zr() {
6644
6649
  const A = kt(), e = XA(), g = (n) => {
6645
- const B = e.resources || [], E = (c, f) => {
6650
+ const B = e.resources || [], E = (c, w) => {
6646
6651
  for (const i of c) {
6647
- if (i.cUrl === f)
6652
+ if (i.cUrl === w)
6648
6653
  return i.id;
6649
6654
  if (i.children?.length > 0) {
6650
- const C = E(i.children, f);
6655
+ const C = E(i.children, w);
6651
6656
  if (C) return C;
6652
6657
  }
6653
6658
  }
@@ -6730,17 +6735,17 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
6730
6735
  name: "Tabbar",
6731
6736
  __name: "index",
6732
6737
  setup(A) {
6733
- const e = Ze(), g = SA(), t = kt(), o = KA(), s = We(), { fetchFavorites: n, addCurrentPage: B, removeFavoriteItem: E } = Zr(), { favorites: c, loading: f, hasFavorites: i, adding: C } = io(t), l = P(!1), a = (Y) => {
6738
+ const e = Ze(), g = SA(), t = kt(), o = KA(), s = We(), { fetchFavorites: n, addCurrentPage: B, removeFavoriteItem: E } = Zr(), { favorites: c, loading: w, hasFavorites: i, adding: C } = io(t), l = p(!1), a = (Y) => {
6734
6739
  l.value = Y, Y && !i.value && n();
6735
6740
  }, I = (Y) => {
6736
6741
  Y.cUrl && o.push(Y.cUrl);
6737
- }, w = async () => {
6742
+ }, f = async () => {
6738
6743
  const Y = await B(s.path);
6739
6744
  Y.success ? L.success(Y.message) : L.warning(Y.message);
6740
6745
  }, D = async (Y) => {
6741
6746
  const b = await E(Y);
6742
6747
  b.success ? L.success(b.message) : L.warning(b.message);
6743
- }, p = () => {
6748
+ }, P = () => {
6744
6749
  e.toggleContentFullScreen();
6745
6750
  }, v = (Y) => Y.path === s.path, h = (Y) => {
6746
6751
  o.push(Y.path);
@@ -6799,7 +6804,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
6799
6804
  await e.toggleTabPin(b);
6800
6805
  break;
6801
6806
  case "maximize":
6802
- b.path !== s.path && await o.push(b.path), p();
6807
+ b.path !== s.path && await o.push(b.path), P();
6803
6808
  break;
6804
6809
  case "close-other":
6805
6810
  await e.closeOtherTabs(b);
@@ -6846,7 +6851,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
6846
6851
  d("div", {
6847
6852
  class: CA(["flex items-center justify-center w-5 h-5 rounded cursor-pointer text-[var(--color-text-4)] hover:text-[rgb(var(--primary-6))] hover:bg-[var(--color-fill-2)] transition-colors", { "opacity-50 pointer-events-none": Q(C) }]),
6848
6853
  title: "收藏当前页面",
6849
- onClick: xA(w, ["stop"])
6854
+ onClick: xA(f, ["stop"])
6850
6855
  }, [
6851
6856
  r(Q(OA), {
6852
6857
  icon: Q(C) ? Q(It) : Q(TA),
@@ -6855,7 +6860,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
6855
6860
  }, null, 8, ["icon", "class"])
6856
6861
  ], 2)
6857
6862
  ]),
6858
- Q(f) ? (m(), N("div", Tr, [
6863
+ Q(w) ? (m(), N("div", Tr, [
6859
6864
  r(Q(It), {
6860
6865
  size: 20,
6861
6866
  class: "animate-spin text-[var(--color-text-3)]"
@@ -7047,7 +7052,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7047
7052
  }),
7048
7053
  d("div", {
7049
7054
  class: "flex items-center justify-center w-8 h-8 rounded-sm cursor-pointer transition-colors text-[var(--color-text-2)] hover:bg-[rgba(var(--primary-6),0.1)] hover:text-[rgb(var(--primary-6))]",
7050
- onClick: p
7055
+ onClick: P
7051
7056
  }, [
7052
7057
  r(Q(OA), {
7053
7058
  icon: Q(e).contentFullScreen ? Q(ft) : Q(wt),
@@ -7062,7 +7067,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7062
7067
  name: "LanguageToggle",
7063
7068
  __name: "language-toggle",
7064
7069
  setup(A) {
7065
- const { locale: e } = ie(), g = xt(), t = P([]);
7070
+ const { locale: e } = ie(), g = xt(), t = p([]);
7066
7071
  yA(() => {
7067
7072
  Kt({ cXuhao: "LANG_V3" }).then((s) => {
7068
7073
  t.value = s.result || [];
@@ -7111,7 +7116,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7111
7116
  name: "PasswordModal",
7112
7117
  __name: "password-modal",
7113
7118
  setup(A, { expose: e }) {
7114
- const g = XA(), t = P(!1), o = P(!1), [s, n] = hA({
7119
+ const g = XA(), t = p(!1), o = p(!1), [s, n] = hA({
7115
7120
  schema: [
7116
7121
  {
7117
7122
  fieldName: "cOldPwd",
@@ -7181,7 +7186,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7181
7186
  } finally {
7182
7187
  o.value = !1;
7183
7188
  }
7184
- }, f = () => {
7189
+ }, w = () => {
7185
7190
  E();
7186
7191
  };
7187
7192
  return e({
@@ -7195,7 +7200,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7195
7200
  fullscreen: !1,
7196
7201
  "ok-loading": o.value,
7197
7202
  onOk: c,
7198
- onCancel: f
7203
+ onCancel: w
7199
7204
  }, {
7200
7205
  default: u(() => [
7201
7206
  r(Q(s))
@@ -7207,9 +7212,9 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7207
7212
  name: "SettingsModal",
7208
7213
  __name: "settings-modal",
7209
7214
  setup(A, { expose: e }) {
7210
- const g = wg(), t = P(!1), o = P(!1), s = P(g.primaryColor), n = P(!1), B = P(g.tableRowHeight), E = H(() => ot.find((a) => a.value === B.value)?.label || "默认"), c = () => {
7215
+ const g = wg(), t = p(!1), o = p(!1), s = p(g.primaryColor), n = p(!1), B = p(g.tableRowHeight), E = H(() => ot.find((a) => a.value === B.value)?.label || "默认"), c = () => {
7211
7216
  s.value = g.primaryColor, B.value = g.tableRowHeight, t.value = !0;
7212
- }, f = () => {
7217
+ }, w = () => {
7213
7218
  t.value = !1;
7214
7219
  }, i = async () => {
7215
7220
  o.value = !0;
@@ -7219,13 +7224,13 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7219
7224
  o.value = !1;
7220
7225
  }
7221
7226
  }, C = () => {
7222
- f();
7227
+ w();
7223
7228
  };
7224
7229
  return e({
7225
7230
  open: c,
7226
- close: f
7231
+ close: w
7227
7232
  }), (l, a) => {
7228
- const I = x("a-color-picker"), w = x("a-divider"), D = x("a-button"), p = x("a-link");
7233
+ const I = x("a-color-picker"), f = x("a-divider"), D = x("a-button"), P = x("a-link");
7229
7234
  return m(), W(Q(vA), {
7230
7235
  modelValue: t.value,
7231
7236
  "onUpdate:modelValue": a[4] || (a[4] = (v) => t.value = v),
@@ -7261,7 +7266,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7261
7266
  }, null, 8, ["modelValue", "popup-visible"])
7262
7267
  ])
7263
7268
  ]),
7264
- r(w, { class: "!my-4" }),
7269
+ r(f, { class: "!my-4" }),
7265
7270
  d("div", EC, [
7266
7271
  a[9] || (a[9] = d("span", { class: "text-sm font-medium text-[var(--color-text-1)]" }, "主题色预览", -1)),
7267
7272
  d("div", IC, [
@@ -7286,7 +7291,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7286
7291
  ])]),
7287
7292
  _: 1
7288
7293
  }, 8, ["style"]),
7289
- r(p, {
7294
+ r(P, {
7290
7295
  style: EA({ color: s.value })
7291
7296
  }, {
7292
7297
  default: u(() => [...a[8] || (a[8] = [
@@ -7297,7 +7302,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7297
7302
  ])
7298
7303
  ])
7299
7304
  ]),
7300
- r(w, { class: "!my-4" }),
7305
+ r(f, { class: "!my-4" }),
7301
7306
  d("div", uC, [
7302
7307
  d("div", fC, [
7303
7308
  a[10] || (a[10] = d("span", { class: "text-sm font-medium text-[var(--color-text-1)]" }, "表格行高", -1)),
@@ -7357,9 +7362,9 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7357
7362
  name: "UserAvatar",
7358
7363
  __name: "user-avatar",
7359
7364
  setup(A) {
7360
- const e = KA(), g = XA(), t = SA(), o = P(null), s = P(null), n = H(() => {
7361
- const f = g.name || "";
7362
- return f.length <= 2 ? f : f.slice(-2);
7365
+ const e = KA(), g = XA(), t = SA(), o = p(null), s = p(null), n = H(() => {
7366
+ const w = g.name || "";
7367
+ return w.length <= 2 ? w : w.slice(-2);
7363
7368
  }), B = () => {
7364
7369
  o.value?.open();
7365
7370
  }, E = () => {
@@ -7367,18 +7372,18 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7367
7372
  }, c = async () => {
7368
7373
  try {
7369
7374
  await Hn(), sessionStorage.clear(), g.$reset(), t.resetState();
7370
- const f = e.currentRoute.value.fullPath;
7375
+ const w = e.currentRoute.value.fullPath;
7371
7376
  e.push({
7372
7377
  path: "/auth/login",
7373
7378
  query: {
7374
- redirect: f
7379
+ redirect: w
7375
7380
  }
7376
7381
  });
7377
- } catch (f) {
7378
- console.error("退出登录失败:", f);
7382
+ } catch (w) {
7383
+ console.error("退出登录失败:", w);
7379
7384
  }
7380
7385
  };
7381
- return (f, i) => {
7386
+ return (w, i) => {
7382
7387
  const C = x("a-doption"), l = x("a-dropdown");
7383
7388
  return m(), N(oA, null, [
7384
7389
  r(l, {
@@ -7403,7 +7408,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7403
7408
  r(Q(ro), { size: 16 })
7404
7409
  ]),
7405
7410
  default: u(() => [
7406
- J(" " + X(f.$t("common.editPassword")), 1)
7411
+ J(" " + X(w.$t("common.editPassword")), 1)
7407
7412
  ]),
7408
7413
  _: 1
7409
7414
  }),
@@ -7412,7 +7417,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7412
7417
  r(Q(Co), { size: 16 })
7413
7418
  ]),
7414
7419
  default: u(() => [
7415
- J(" " + X(f.$t("common.settings")), 1)
7420
+ J(" " + X(w.$t("common.settings")), 1)
7416
7421
  ]),
7417
7422
  _: 1
7418
7423
  }),
@@ -7424,7 +7429,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7424
7429
  r(Q(lo), { size: 16 })
7425
7430
  ]),
7426
7431
  default: u(() => [
7427
- J(" " + X(f.$t("common.logout")), 1)
7432
+ J(" " + X(w.$t("common.logout")), 1)
7428
7433
  ]),
7429
7434
  _: 1
7430
7435
  })
@@ -7460,37 +7465,37 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7460
7465
  name: "BasicLayout",
7461
7466
  __name: "index",
7462
7467
  setup(A) {
7463
- const e = xt(), g = SA(), t = Ze(), o = KA(), s = We(), { getCachedTabs: n, getExcludeCachedTabs: B, renderRouteView: E } = vg(t), c = P(!1), f = P([]), i = P([]), C = (w, D) => {
7464
- for (const p of w) {
7465
- if (p.path === D) return p;
7466
- if (p.children) {
7467
- const v = C(p.children, D);
7468
- if (v) return v;
7468
+ const e = xt(), g = SA(), t = Ze(), o = KA(), s = We(), { getCachedTabs: n, getExcludeCachedTabs: B, renderRouteView: E } = vg(t), c = p(!1), w = p([]), i = p([]), C = (f, D) => {
7469
+ const P = [], v = (h) => {
7470
+ for (const z of h) {
7471
+ if (z.path === D) return !0;
7472
+ if (z.children?.length) {
7473
+ if (P.push(z.path), v(z.children)) return !0;
7474
+ P.pop();
7475
+ }
7469
7476
  }
7470
- }
7471
- return null;
7477
+ return !1;
7478
+ };
7479
+ return v(f), P;
7472
7480
  };
7473
7481
  lA(
7474
- () => s.path,
7475
- (w) => {
7476
- f.value = [w];
7477
- const D = C(g.accessMenus, w);
7478
- D && D.parents && D.parents.forEach((v) => {
7479
- i.value.includes(v) || i.value.push(v);
7480
- });
7482
+ [() => s.path, () => g.accessMenus],
7483
+ ([f]) => {
7484
+ f && (w.value = [f], C(g.accessMenus, f).forEach((D) => {
7485
+ i.value.includes(D) || i.value.push(D);
7486
+ }));
7481
7487
  },
7482
7488
  { immediate: !0 }
7483
- // 立即执行一次以初始化状态
7484
7489
  );
7485
- const l = (w, D) => {
7486
- c.value = w;
7490
+ const l = (f, D) => {
7491
+ c.value = f;
7487
7492
  }, a = () => {
7488
7493
  c.value = !c.value;
7489
- }, I = (w) => {
7490
- o.push(w);
7494
+ }, I = (f) => {
7495
+ o.push(f);
7491
7496
  };
7492
- return (w, D) => {
7493
- const p = x("a-menu"), v = x("a-layout-sider"), h = x("a-layout-header"), z = x("router-view"), R = x("a-layout-content"), M = x("a-layout");
7497
+ return (f, D) => {
7498
+ const P = x("a-menu"), v = x("a-layout-sider"), h = x("a-layout-header"), z = x("router-view"), R = x("a-layout-content"), M = x("a-layout");
7494
7499
  return m(), W(M, {
7495
7500
  class: "h-screen w-screen",
7496
7501
  ref: "rootLayoutRef"
@@ -7523,19 +7528,20 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7523
7528
  ], 4)) : iA("", !0),
7524
7529
  r(Q(ht), { class: "flex-1 overflow-hidden" }, {
7525
7530
  default: u(() => [
7526
- r(p, {
7527
- "selected-keys": f.value,
7528
- "onUpdate:selectedKeys": D[0] || (D[0] = (G) => f.value = G),
7531
+ r(P, {
7532
+ "selected-keys": w.value,
7533
+ "onUpdate:selectedKeys": D[0] || (D[0] = (G) => w.value = G),
7529
7534
  "open-keys": i.value,
7530
7535
  "onUpdate:openKeys": D[1] || (D[1] = (G) => i.value = G),
7531
7536
  onMenuItemClick: I,
7532
- style: { width: "100%" },
7533
- "auto-open": !0
7537
+ style: { width: "100%" }
7534
7538
  }, {
7535
7539
  default: u(() => [
7536
7540
  r(Pr, {
7537
- menus: Q(g).accessMenus
7538
- }, null, 8, ["menus"])
7541
+ menus: Q(g).accessMenus,
7542
+ "open-keys": i.value,
7543
+ collapsed: c.value
7544
+ }, null, 8, ["menus", "open-keys", "collapsed"])
7539
7545
  ]),
7540
7546
  _: 1
7541
7547
  }, 8, ["selected-keys", "open-keys"])
@@ -7610,7 +7616,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7610
7616
  }, 512);
7611
7617
  };
7612
7618
  }
7613
- }), Vc = /* @__PURE__ */ wA(XC, [["__scopeId", "data-v-9e97af21"]]), ZC = ({ t: A }) => {
7619
+ }), Vc = /* @__PURE__ */ wA(XC, [["__scopeId", "data-v-d124d3fa"]]), ZC = ({ t: A }) => {
7614
7620
  const e = [
7615
7621
  {
7616
7622
  fieldName: "cModname",
@@ -7666,10 +7672,26 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7666
7672
  }
7667
7673
  ], g = [
7668
7674
  { type: "seq", width: 60, title: A("operationLog.sequence") },
7669
- { field: "cModname", title: A("operationLog.moduleName"), minWidth: 120, filters: [{ data: "" }], filterRender: { name: "MyFilterComplex" } },
7670
- { field: "cSystem", title: A("operationLog.system"), minWidth: 120, filters: [{ data: "" }], filterRender: { name: "MyFilterComplex" } },
7675
+ // ⚠️ 'MyFilterComplex' 渲染器随 vxe-table 扩展插件停用(见 use-query-grid.vue 顶部注释),下列各列 filters/filterRender 暂时注释;恢复 import './renderer' 后取消注释
7676
+ {
7677
+ field: "cModname",
7678
+ title: A("operationLog.moduleName"),
7679
+ minWidth: 120
7680
+ // filters: [{ data: '' }], filterRender: { name: 'MyFilterComplex' }
7681
+ },
7682
+ {
7683
+ field: "cSystem",
7684
+ title: A("operationLog.system"),
7685
+ minWidth: 120
7686
+ // filters: [{ data: '' }], filterRender: { name: 'MyFilterComplex' }
7687
+ },
7671
7688
  { field: "cDanju", title: A("operationLog.billNo"), minWidth: 140 },
7672
- { field: "cUser", title: A("operationLog.userWork"), width: 100, filters: [{ data: "" }], filterRender: { name: "MyFilterComplex" } },
7689
+ {
7690
+ field: "cUser",
7691
+ title: A("operationLog.userWork"),
7692
+ width: 100
7693
+ // filters: [{ data: '' }], filterRender: { name: 'MyFilterComplex' }
7694
+ },
7673
7695
  { field: "cUsername", title: A("operationLog.userName"), minWidth: 120 },
7674
7696
  { field: "cDongzuo", title: A("operationLog.description"), minWidth: 200, align: "left" },
7675
7697
  { field: "cUrl", title: A("operationLog.interfaceUrl"), minWidth: 200, slots: { default: "cUrlSlot" } },
@@ -7708,7 +7730,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7708
7730
  tableColumns: t
7709
7731
  } = ZC({
7710
7732
  t: e
7711
- }), o = P(!1), s = P(""), n = P(!1), B = H(() => {
7733
+ }), o = p(!1), s = p(""), n = p(!1), B = H(() => {
7712
7734
  if (!s.value) return "";
7713
7735
  try {
7714
7736
  const R = JSON.parse(s.value);
@@ -7728,15 +7750,15 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7728
7750
  return j.post("/core/assUserOperationLog/selectForPage", G);
7729
7751
  }, {
7730
7752
  QueryForm: c,
7731
- formApi: f,
7753
+ formApi: w,
7732
7754
  Grid: i,
7733
7755
  gridApi: C,
7734
7756
  submitting: l,
7735
7757
  handleGlobalEnter: a,
7736
7758
  searchPlanList: I,
7737
- currentSearchPlan: w,
7759
+ currentSearchPlan: f,
7738
7760
  resourceId: D,
7739
- nResourceid: p,
7761
+ nResourceid: P,
7740
7762
  handleSearchPlanSearch: v,
7741
7763
  handleDefaultPlanLoaded: h
7742
7764
  } = kA({
@@ -7894,7 +7916,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7894
7916
  },
7895
7917
  emits: ["update:visible", "success"],
7896
7918
  setup(A, { expose: e, emit: g }) {
7897
- const { t } = aA(), o = A, s = g, n = P(null), B = uA({
7919
+ const { t } = aA(), o = A, s = g, n = p(null), B = uA({
7898
7920
  id: "",
7899
7921
  jobGroup: "",
7900
7922
  jobDesc: "",
@@ -7908,7 +7930,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7908
7930
  glueRemark: "",
7909
7931
  childJobId: "",
7910
7932
  jobStatus: "1"
7911
- }), E = P([]), c = P(!1), f = async () => {
7933
+ }), E = p([]), c = p(!1), w = async () => {
7912
7934
  try {
7913
7935
  const l = await j.post("/schedule/jobinfo/findJobGroup", {});
7914
7936
  l.success && l.data && (E.value = l.data.map((a) => ({
@@ -7922,7 +7944,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7922
7944
  lA(() => o.formData, (l) => {
7923
7945
  l && Object.assign(B, l);
7924
7946
  }, { deep: !0 }), yA(() => {
7925
- f();
7947
+ w();
7926
7948
  });
7927
7949
  const i = async () => {
7928
7950
  n.value && n.value.validate().then(async () => {
@@ -7972,7 +7994,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7972
7994
  }), s("update:visible", !0);
7973
7995
  }
7974
7996
  }), (l, a) => {
7975
- const I = x("a-divider"), w = x("a-option"), D = x("a-select"), p = x("a-form-item"), v = x("a-input"), h = x("a-radio"), z = x("a-radio-group"), R = x("a-textarea"), M = x("a-form"), G = x("a-button"), S = x("a-modal");
7997
+ const I = x("a-divider"), f = x("a-option"), D = x("a-select"), P = x("a-form-item"), v = x("a-input"), h = x("a-radio"), z = x("a-radio-group"), R = x("a-textarea"), M = x("a-form"), G = x("a-button"), S = x("a-modal");
7976
7998
  return m(), W(S, {
7977
7999
  title: B.id ? Q(t)("jobinfo.editTitle") : Q(t)("jobinfo.addTitle"),
7978
8000
  visible: A.visible,
@@ -7996,7 +8018,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
7996
8018
  ]),
7997
8019
  _: 1
7998
8020
  }, 8, ["content-position"]),
7999
- r(p, {
8021
+ r(P, {
8000
8022
  label: Q(t)("jobinfo.executor"),
8001
8023
  field: "jobGroup",
8002
8024
  rules: [{ required: !0, message: Q(t)("jobinfo.selectExecutor") }]
@@ -8008,7 +8030,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8008
8030
  placeholder: Q(t)("jobinfo.selectExecutor")
8009
8031
  }, {
8010
8032
  default: u(() => [
8011
- (m(!0), N(oA, null, BA(E.value, (O) => (m(), W(w, {
8033
+ (m(!0), N(oA, null, BA(E.value, (O) => (m(), W(f, {
8012
8034
  key: O.value,
8013
8035
  value: O.value
8014
8036
  }, {
@@ -8023,7 +8045,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8023
8045
  ]),
8024
8046
  _: 1
8025
8047
  }, 8, ["label", "rules"]),
8026
- r(p, {
8048
+ r(P, {
8027
8049
  label: Q(t)("jobinfo.jobDesc"),
8028
8050
  field: "jobDesc",
8029
8051
  rules: [{ required: !0, message: Q(t)("jobinfo.inputJobDesc") }]
@@ -8037,7 +8059,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8037
8059
  ]),
8038
8060
  _: 1
8039
8061
  }, 8, ["label", "rules"]),
8040
- r(p, {
8062
+ r(P, {
8041
8063
  label: Q(t)("jobinfo.author"),
8042
8064
  field: "author",
8043
8065
  rules: [{ required: !0, message: Q(t)("jobinfo.inputAuthor") }]
@@ -8051,7 +8073,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8051
8073
  ]),
8052
8074
  _: 1
8053
8075
  }, 8, ["label", "rules"]),
8054
- r(p, {
8076
+ r(P, {
8055
8077
  label: Q(t)("jobinfo.alarmEmail"),
8056
8078
  field: "alarmEmail"
8057
8079
  }, {
@@ -8070,7 +8092,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8070
8092
  ]),
8071
8093
  _: 1
8072
8094
  }, 8, ["content-position"]),
8073
- r(p, {
8095
+ r(P, {
8074
8096
  label: Q(t)("jobinfo.scheduleType"),
8075
8097
  field: "scheduleType",
8076
8098
  rules: [{ required: !0, message: Q(t)("jobinfo.selectScheduleType") }]
@@ -8099,7 +8121,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8099
8121
  ]),
8100
8122
  _: 1
8101
8123
  }, 8, ["label", "rules"]),
8102
- r(p, {
8124
+ r(P, {
8103
8125
  label: Q(t)("jobinfo.cronExpression"),
8104
8126
  field: "jobCron",
8105
8127
  rules: [{ required: B.scheduleType === "CRON", message: Q(t)("jobinfo.inputCronExpression") }]
@@ -8114,7 +8136,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8114
8136
  ]),
8115
8137
  _: 1
8116
8138
  }, 8, ["label", "rules"]),
8117
- r(p, {
8139
+ r(P, {
8118
8140
  label: Q(t)("jobinfo.scheduleConf"),
8119
8141
  field: "scheduleConf",
8120
8142
  rules: [{ required: B.scheduleType === "FIX_RATE", message: Q(t)("jobinfo.inputScheduleConf") }]
@@ -8135,7 +8157,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8135
8157
  ]),
8136
8158
  _: 1
8137
8159
  }, 8, ["content-position"]),
8138
- r(p, {
8160
+ r(P, {
8139
8161
  label: Q(t)("jobinfo.glueType"),
8140
8162
  field: "glueType",
8141
8163
  rules: [{ required: !0, message: Q(t)("jobinfo.selectGlueType") }]
@@ -8164,7 +8186,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8164
8186
  ]),
8165
8187
  _: 1
8166
8188
  }, 8, ["label", "rules"]),
8167
- r(p, {
8189
+ r(P, {
8168
8190
  label: Q(t)("jobinfo.jobHandler"),
8169
8191
  field: "glueSource",
8170
8192
  rules: [{ required: !0, message: Q(t)("jobinfo.inputJobHandler") }]
@@ -8178,7 +8200,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8178
8200
  ]),
8179
8201
  _: 1
8180
8202
  }, 8, ["label", "rules"]),
8181
- r(p, {
8203
+ r(P, {
8182
8204
  label: Q(t)("jobinfo.remark"),
8183
8205
  field: "glueRemark"
8184
8206
  }, {
@@ -8192,7 +8214,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8192
8214
  ]),
8193
8215
  _: 1
8194
8216
  }, 8, ["label"]),
8195
- r(p, {
8217
+ r(P, {
8196
8218
  label: Q(t)("jobinfo.childJobId"),
8197
8219
  field: "childJobId"
8198
8220
  }, {
@@ -8205,7 +8227,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8205
8227
  ]),
8206
8228
  _: 1
8207
8229
  }, 8, ["label"]),
8208
- r(p, {
8230
+ r(P, {
8209
8231
  label: Q(t)("jobinfo.jobStatus"),
8210
8232
  field: "jobStatus",
8211
8233
  rules: [{ required: !0, message: Q(t)("jobinfo.selectJobStatus") }]
@@ -8268,11 +8290,11 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8268
8290
  },
8269
8291
  emits: ["update:visible", "success"],
8270
8292
  setup(A, { expose: e, emit: g }) {
8271
- const { t } = aA(), o = A, s = g, n = P(null), B = uA({
8293
+ const { t } = aA(), o = A, s = g, n = p(null), B = uA({
8272
8294
  id: "",
8273
8295
  jobDesc: "",
8274
8296
  executorParam: ""
8275
- }), E = P(!1);
8297
+ }), E = p(!1);
8276
8298
  lA(() => o.formData, (i) => {
8277
8299
  i && Object.assign(B, {
8278
8300
  id: i.id,
@@ -8287,14 +8309,14 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8287
8309
  (await j.post("/schedule/jobinfo/trigger", {
8288
8310
  id: B.id,
8289
8311
  executorParam: B.executorParam
8290
- })).success && (L.success(t("jobinfo.executeSuccess")), s("success"), f());
8312
+ })).success && (L.success(t("jobinfo.executeSuccess")), s("success"), w());
8291
8313
  } catch (i) {
8292
8314
  console.error("执行失败:", i), L.error(t("jobinfo.executeFailed"));
8293
8315
  } finally {
8294
8316
  E.value = !1;
8295
8317
  }
8296
8318
  });
8297
- }, f = () => {
8319
+ }, w = () => {
8298
8320
  n.value && n.value.clearValidate(), Object.assign(B, {
8299
8321
  id: "",
8300
8322
  jobDesc: "",
@@ -8314,8 +8336,8 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8314
8336
  }), s("update:visible", !0);
8315
8337
  }
8316
8338
  }), (i, C) => {
8317
- const l = x("a-input"), a = x("a-form-item"), I = x("a-textarea"), w = x("a-form"), D = x("a-button"), p = x("a-modal");
8318
- return m(), W(p, {
8339
+ const l = x("a-input"), a = x("a-form-item"), I = x("a-textarea"), f = x("a-form"), D = x("a-button"), P = x("a-modal");
8340
+ return m(), W(P, {
8319
8341
  title: Q(t)("jobinfo.executeOnce"),
8320
8342
  visible: A.visible,
8321
8343
  "onUpdate:visible": C[2] || (C[2] = (v) => s("update:visible", v)),
@@ -8325,7 +8347,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8325
8347
  footer: !1
8326
8348
  }, {
8327
8349
  default: u(() => [
8328
- r(w, {
8350
+ r(f, {
8329
8351
  ref_key: "formRef",
8330
8352
  ref: n,
8331
8353
  model: B,
@@ -8371,7 +8393,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8371
8393
  ]),
8372
8394
  _: 1
8373
8395
  }, 8, ["loading"]),
8374
- r(D, { onClick: f }, {
8396
+ r(D, { onClick: w }, {
8375
8397
  default: u(() => [
8376
8398
  J(X(Q(t)("jobinfo.cancel")), 1)
8377
8399
  ]),
@@ -8397,7 +8419,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8397
8419
  glueSource: "",
8398
8420
  glueRemark: "",
8399
8421
  version: ""
8400
- }), B = P([]), E = P(!1), c = P(!1);
8422
+ }), B = p([]), E = p(!1), c = p(!1);
8401
8423
  lA(() => o.formData, (a) => {
8402
8424
  a && (Object.assign(n, {
8403
8425
  id: a.id,
@@ -8405,9 +8427,9 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8405
8427
  glueSource: a.glueSource || "",
8406
8428
  glueRemark: a.glueRemark || "",
8407
8429
  version: ""
8408
- }), f());
8430
+ }), w());
8409
8431
  }, { deep: !0 });
8410
- const f = async () => {
8432
+ const w = async () => {
8411
8433
  E.value = !0;
8412
8434
  try {
8413
8435
  const a = await j.post("/schedule/jobcode/get", { id: n.id });
@@ -8423,7 +8445,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8423
8445
  E.value = !1;
8424
8446
  }
8425
8447
  }, i = (a) => {
8426
- const I = B.value.find((w) => w.value === a);
8448
+ const I = B.value.find((f) => f.value === a);
8427
8449
  I && (n.glueSource = I.content, n.glueRemark = I.remark);
8428
8450
  }, C = async () => {
8429
8451
  c.value = !0;
@@ -8432,7 +8454,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8432
8454
  id: n.id,
8433
8455
  glueSource: n.glueSource,
8434
8456
  glueRemark: n.glueRemark
8435
- })).success && (L.success(t("jobinfo.saveSuccess")), s("success"), f());
8457
+ })).success && (L.success(t("jobinfo.saveSuccess")), s("success"), w());
8436
8458
  } catch (a) {
8437
8459
  console.error("保存失败:", a), L.error(t("jobinfo.saveFailed"));
8438
8460
  } finally {
@@ -8455,7 +8477,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8455
8477
  glueSource: a.glueSource || "",
8456
8478
  glueRemark: a.glueRemark || "",
8457
8479
  version: ""
8458
- }), f()) : (Object.assign(n, {
8480
+ }), w()) : (Object.assign(n, {
8459
8481
  id: "",
8460
8482
  jobDesc: "",
8461
8483
  glueSource: "",
@@ -8464,7 +8486,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8464
8486
  }), B.value = []), s("update:visible", !0);
8465
8487
  }
8466
8488
  }), (a, I) => {
8467
- const w = x("a-option"), D = x("a-select"), p = x("a-textarea"), v = x("a-button"), h = x("a-modal");
8489
+ const f = x("a-option"), D = x("a-select"), P = x("a-textarea"), v = x("a-button"), h = x("a-modal");
8468
8490
  return m(), W(h, {
8469
8491
  title: Q(t)("jobinfo.glueIde"),
8470
8492
  visible: A.visible,
@@ -8487,7 +8509,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8487
8509
  onChange: i
8488
8510
  }, {
8489
8511
  default: u(() => [
8490
- (m(!0), N(oA, null, BA(B.value, (z) => (m(), W(w, {
8512
+ (m(!0), N(oA, null, BA(B.value, (z) => (m(), W(f, {
8491
8513
  key: z.value,
8492
8514
  value: z.value
8493
8515
  }, {
@@ -8502,7 +8524,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8502
8524
  ]),
8503
8525
  d("div", null, [
8504
8526
  d("label", ll, X(Q(t)("jobinfo.codeContent")) + ":", 1),
8505
- r(p, {
8527
+ r(P, {
8506
8528
  modelValue: n.glueSource,
8507
8529
  "onUpdate:modelValue": I[1] || (I[1] = (z) => n.glueSource = z),
8508
8530
  rows: 20,
@@ -8511,7 +8533,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8511
8533
  ]),
8512
8534
  d("div", null, [
8513
8535
  d("label", al, X(Q(t)("jobinfo.remark")) + ":", 1),
8514
- r(p, {
8536
+ r(P, {
8515
8537
  modelValue: n.glueRemark,
8516
8538
  "onUpdate:modelValue": I[2] || (I[2] = (z) => n.glueRemark = z),
8517
8539
  rows: 4,
@@ -8558,7 +8580,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8558
8580
  tableColumns: t
8559
8581
  } = Al({
8560
8582
  t: e
8561
- }), o = P(!1), s = P(!1), n = P(!1), B = P(null), E = P(null), c = P(null), f = async ({
8583
+ }), o = p(!1), s = p(!1), n = p(!1), B = p(null), E = p(null), c = p(null), w = async ({
8562
8584
  page: b,
8563
8585
  formValues: F
8564
8586
  }) => {
@@ -8577,9 +8599,9 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8577
8599
  formApi: l,
8578
8600
  Grid: a,
8579
8601
  gridApi: I,
8580
- submitting: w,
8602
+ submitting: f,
8581
8603
  handleGlobalEnter: D,
8582
- searchPlanList: p,
8604
+ searchPlanList: P,
8583
8605
  currentSearchPlan: v,
8584
8606
  resourceId: h,
8585
8607
  nResourceid: z,
@@ -8590,7 +8612,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8590
8612
  searchFormSchema: g,
8591
8613
  tableColumns: t,
8592
8614
  resourceConfig: el,
8593
- queryFunction: f,
8615
+ queryFunction: w,
8594
8616
  gridEvents: i
8595
8617
  }), S = (b) => R.value.filter((F) => F.cSubArea === "columnTable"), O = async (b, F) => {
8596
8618
  const {
@@ -8843,7 +8865,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8843
8865
  },
8844
8866
  emits: ["update:visible"],
8845
8867
  setup(A, { expose: e, emit: g }) {
8846
- const { t } = aA(), o = g, s = P(!1), n = P([]), B = P(""), E = P(!1), c = P(null), f = async (a) => {
8868
+ const { t } = aA(), o = g, s = p(!1), n = p([]), B = p(""), E = p(!1), c = p(null), w = async (a) => {
8847
8869
  B.value = a, n.value = [];
8848
8870
  try {
8849
8871
  const I = await j.post("/schedule/joblog/logDetail", {
@@ -8880,12 +8902,12 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8880
8902
  o("update:visible", !1);
8881
8903
  };
8882
8904
  return e({
8883
- show: f
8905
+ show: w
8884
8906
  }), (a, I) => {
8885
- const w = x("a-button"), D = x("a-modal");
8907
+ const f = x("a-button"), D = x("a-modal");
8886
8908
  return m(), W(D, {
8887
8909
  visible: A.visible,
8888
- "onUpdate:visible": I[1] || (I[1] = (p) => o("update:visible", p)),
8910
+ "onUpdate:visible": I[1] || (I[1] = (P) => o("update:visible", P)),
8889
8911
  footer: !1,
8890
8912
  "mask-closable": !1,
8891
8913
  closable: !1,
@@ -8911,16 +8933,16 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8911
8933
  class: "overflow-y-auto scroll-smooth bg-[#222]",
8912
8934
  style: EA({ height: s.value ? "100vh" : "60vh" })
8913
8935
  }, [
8914
- (m(!0), N(oA, null, BA(n.value, (p, v) => (m(), N("div", {
8936
+ (m(!0), N(oA, null, BA(n.value, (P, v) => (m(), N("div", {
8915
8937
  key: v,
8916
8938
  class: "bg-[#222] leading-[28px] text-xs text-[#ccc] whitespace-nowrap hover:bg-[#2b2b2b]"
8917
8939
  }, [
8918
8940
  d("div", vl, X(v + 1), 1),
8919
- d("div", Dl, X(p), 1)
8941
+ d("div", Dl, X(P), 1)
8920
8942
  ]))), 128))
8921
8943
  ], 4),
8922
8944
  d("div", ml, [
8923
- r(w, {
8945
+ r(f, {
8924
8946
  type: "primary",
8925
8947
  status: "danger",
8926
8948
  shape: "circle",
@@ -8932,11 +8954,11 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8932
8954
  ]),
8933
8955
  _: 1
8934
8956
  }, 8, ["tooltip"]),
8935
- r(w, {
8957
+ r(f, {
8936
8958
  type: "primary",
8937
8959
  status: "danger",
8938
8960
  shape: "circle",
8939
- onClick: I[0] || (I[0] = (p) => s.value = !s.value),
8961
+ onClick: I[0] || (I[0] = (P) => s.value = !s.value),
8940
8962
  tooltip: Q(t)("joblog.fullscreen")
8941
8963
  }, {
8942
8964
  icon: u(() => [
@@ -8944,7 +8966,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8944
8966
  ]),
8945
8967
  _: 1
8946
8968
  }, 8, ["tooltip"]),
8947
- r(w, {
8969
+ r(f, {
8948
8970
  type: "primary",
8949
8971
  status: "danger",
8950
8972
  shape: "circle",
@@ -8956,7 +8978,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8956
8978
  ]),
8957
8979
  _: 1
8958
8980
  }, 8, ["tooltip"]),
8959
- r(w, {
8981
+ r(f, {
8960
8982
  type: "primary",
8961
8983
  status: "danger",
8962
8984
  shape: "circle",
@@ -8995,7 +9017,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
8995
9017
  tableColumns: t
8996
9018
  } = fl({
8997
9019
  t: e
8998
- }), o = P(!1), s = P(""), n = P(!1), B = P(null), E = async ({
9020
+ }), o = p(!1), s = p(""), n = p(!1), B = p(null), E = async ({
8999
9021
  page: G,
9000
9022
  formValues: S
9001
9023
  }) => {
@@ -9007,15 +9029,15 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9007
9029
  return j.post("/schedule/joblog/selectForPage", O);
9008
9030
  }, {
9009
9031
  QueryForm: c,
9010
- formApi: f,
9032
+ formApi: w,
9011
9033
  Grid: i,
9012
9034
  gridApi: C,
9013
9035
  submitting: l,
9014
9036
  handleGlobalEnter: a,
9015
9037
  searchPlanList: I,
9016
- currentSearchPlan: w,
9038
+ currentSearchPlan: f,
9017
9039
  resourceId: D,
9018
- nResourceid: p,
9040
+ nResourceid: P,
9019
9041
  handleSearchPlanSearch: v,
9020
9042
  handleDefaultPlanLoaded: h
9021
9043
  } = kA({
@@ -9175,7 +9197,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9175
9197
  },
9176
9198
  emits: ["update:visible", "success"],
9177
9199
  setup(A, { expose: e, emit: g }) {
9178
- const { t } = aA(), o = A, s = g, n = P(null), B = uA({
9200
+ const { t } = aA(), o = A, s = g, n = p(null), B = uA({
9179
9201
  appname: "",
9180
9202
  title: "",
9181
9203
  addressType: "0",
@@ -9186,11 +9208,11 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9186
9208
  { cKeyname: t("jobgroup.autoRegister"), cKeynumb: "0" },
9187
9209
  { cKeyname: t("jobgroup.manualEntry"), cKeynumb: "1" }
9188
9210
  ]
9189
- }, c = P(!1);
9211
+ }, c = p(!1);
9190
9212
  lA(() => o.formData, (C) => {
9191
9213
  C && Object.assign(B, C);
9192
9214
  }, { deep: !0 });
9193
- const f = async () => {
9215
+ const w = async () => {
9194
9216
  n.value && n.value.validate().then(async () => {
9195
9217
  c.value = !0;
9196
9218
  try {
@@ -9222,7 +9244,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9222
9244
  }), s("update:visible", !0);
9223
9245
  }
9224
9246
  }), (C, l) => {
9225
- const a = x("a-input"), I = x("a-form-item"), w = x("a-radio"), D = x("a-radio-group"), p = x("a-textarea"), v = x("a-form"), h = x("a-button"), z = x("a-modal");
9247
+ const a = x("a-input"), I = x("a-form-item"), f = x("a-radio"), D = x("a-radio-group"), P = x("a-textarea"), v = x("a-form"), h = x("a-button"), z = x("a-modal");
9226
9248
  return m(), W(z, {
9227
9249
  title: B.id ? Q(t)("jobgroup.editTitle") : Q(t)("jobgroup.addTitle"),
9228
9250
  visible: A.visible,
@@ -9279,7 +9301,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9279
9301
  "onUpdate:modelValue": l[2] || (l[2] = (R) => B.addressType = R)
9280
9302
  }, {
9281
9303
  default: u(() => [
9282
- (m(!0), N(oA, null, BA(E.zcfsOpts, (R) => (m(), W(w, {
9304
+ (m(!0), N(oA, null, BA(E.zcfsOpts, (R) => (m(), W(f, {
9283
9305
  key: R.cKeynumb,
9284
9306
  value: R.cKeynumb
9285
9307
  }, {
@@ -9300,7 +9322,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9300
9322
  rules: [{ required: B.addressType === "1", message: Q(t)("jobgroup.inputMachineAddress") }]
9301
9323
  }, {
9302
9324
  default: u(() => [
9303
- r(p, {
9325
+ r(P, {
9304
9326
  modelValue: B.addressList,
9305
9327
  "onUpdate:modelValue": l[3] || (l[3] = (R) => B.addressList = R),
9306
9328
  rows: 4,
@@ -9318,7 +9340,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9318
9340
  r(h, {
9319
9341
  type: "primary",
9320
9342
  loading: c.value,
9321
- onClick: f
9343
+ onClick: w
9322
9344
  }, {
9323
9345
  default: u(() => [
9324
9346
  J(X(Q(t)("jobgroup.save")), 1)
@@ -9353,7 +9375,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9353
9375
  tableColumns: t
9354
9376
  } = Sl({
9355
9377
  t: e
9356
- }), o = P(!1), s = P(null), n = async ({
9378
+ }), o = p(!1), s = p(null), n = async ({
9357
9379
  page: G,
9358
9380
  formValues: S
9359
9381
  }) => {
@@ -9370,15 +9392,15 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9370
9392
  }, {
9371
9393
  QueryForm: E,
9372
9394
  formApi: c,
9373
- Grid: f,
9395
+ Grid: w,
9374
9396
  gridApi: i,
9375
9397
  submitting: C,
9376
9398
  handleGlobalEnter: l,
9377
9399
  searchPlanList: a,
9378
9400
  currentSearchPlan: I,
9379
- resourceId: w,
9401
+ resourceId: f,
9380
9402
  nResourceid: D,
9381
- resourceButtons: p,
9403
+ resourceButtons: P,
9382
9404
  handleSearchPlanSearch: v,
9383
9405
  handleDefaultPlanLoaded: h
9384
9406
  } = kA({
@@ -9387,7 +9409,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9387
9409
  resourceConfig: Ul,
9388
9410
  queryFunction: n,
9389
9411
  gridEvents: B
9390
- }), z = (G) => p.value.filter((S) => S.cSubArea === "columnTable"), R = async (G, S) => {
9412
+ }), z = (G) => P.value.filter((S) => S.cSubArea === "columnTable"), R = async (G, S) => {
9391
9413
  const {
9392
9414
  handle: O
9393
9415
  } = G;
@@ -9434,7 +9456,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9434
9456
  ["enter"]
9435
9457
  )),
9436
9458
  tabindex: "-1"
9437
- }, [d("div", xl, [d("div", Yl, [r(Q(E))]), d("div", Kl, [r(Q(f), {
9459
+ }, [d("div", xl, [d("div", Yl, [r(Q(E))]), d("div", Kl, [r(Q(w), {
9438
9460
  class: "flex-1"
9439
9461
  }, {
9440
9462
  actionSlot: u(({
@@ -9692,21 +9714,21 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9692
9714
  __name: "ZdyxlkAdd",
9693
9715
  emits: ["success"],
9694
9716
  setup(A, { expose: e, emit: g }) {
9695
- const { t } = aA(), o = P(!1), s = P("add"), n = P(!1), B = g, [E, c] = hA({
9717
+ const { t } = aA(), o = p(!1), s = p("add"), n = p(!1), B = g, [E, c] = hA({
9696
9718
  layout: "vertical",
9697
9719
  size: "small",
9698
9720
  labelWidth: 120,
9699
9721
  showDefaultActions: !1,
9700
9722
  scrollToFirstError: !0,
9701
9723
  schema: []
9702
- }), { addEditFormSchema: f } = Nt({ t, formApi: c });
9724
+ }), { addEditFormSchema: w } = Nt({ t, formApi: c });
9703
9725
  c.setState({
9704
- handleValuesChange: (w) => {
9705
- "nCbtype" in w && (w.nCbtype, i(w.nCbtype));
9726
+ handleValuesChange: (f) => {
9727
+ "nCbtype" in f && (f.nCbtype, i(f.nCbtype));
9706
9728
  }
9707
9729
  });
9708
- const i = (w) => {
9709
- const D = w === "0";
9730
+ const i = (f) => {
9731
+ const D = f === "0";
9710
9732
  c.updateSchema([
9711
9733
  {
9712
9734
  fieldName: "cValcol",
@@ -9720,31 +9742,31 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9720
9742
  };
9721
9743
  e({
9722
9744
  addInit: async () => {
9723
- o.value = !0, s.value = "add", c.setState({ schema: f }), c.resetForm(), c.setValues({ nCbtype: "0" }), await fA(), i("0");
9745
+ o.value = !0, s.value = "add", c.setState({ schema: w }), c.resetForm(), c.setValues({ nCbtype: "0" }), await fA(), i("0");
9724
9746
  },
9725
- editInit: async (w) => {
9747
+ editInit: async (f) => {
9726
9748
  n.value = !0, s.value = "edit";
9727
9749
  let D = null;
9728
9750
  try {
9729
- const p = await j.post("/core/assSelect/update_init", { id: w.id });
9730
- p.code === 200 && p.result && (D = { ...p.result }, D.nCbtype !== void 0 && (D.nCbtype = String(D.nCbtype)), D.nLikematch !== void 0 && (D.nLikematch = String(D.nLikematch)), D.nSfcommon !== void 0 && (D.nSfcommon = String(D.nSfcommon)), D.nType !== void 0 && (D.nType = String(D.nType)));
9731
- } catch (p) {
9732
- console.error("查询失败:", p), L.error(t("zdyxlk.queryFailed"));
9751
+ const P = await j.post("/core/assSelect/update_init", { id: f.id });
9752
+ P.code === 200 && P.result && (D = { ...P.result }, D.nCbtype !== void 0 && (D.nCbtype = String(D.nCbtype)), D.nLikematch !== void 0 && (D.nLikematch = String(D.nLikematch)), D.nSfcommon !== void 0 && (D.nSfcommon = String(D.nSfcommon)), D.nType !== void 0 && (D.nType = String(D.nType)));
9753
+ } catch (P) {
9754
+ console.error("查询失败:", P), L.error(t("zdyxlk.queryFailed"));
9733
9755
  }
9734
- o.value = !0, await fA(), c.setState({ schema: f }), c.resetForm(), D && (c.setValues(D, !1), c.updateSchema([{
9756
+ o.value = !0, await fA(), c.setState({ schema: w }), c.resetForm(), D && (c.setValues(D, !1), c.updateSchema([{
9735
9757
  fieldName: "cNum",
9736
9758
  componentProps: { disabled: !0 }
9737
9759
  }]), i(D.nCbtype)), n.value = !1;
9738
9760
  }
9739
9761
  });
9740
9762
  const a = async () => {
9741
- const { valid: w } = await c.validate();
9742
- if (!w) return !1;
9743
- const p = { ...await c.getValues() };
9763
+ const { valid: f } = await c.validate();
9764
+ if (!f) return !1;
9765
+ const P = { ...await c.getValues() };
9744
9766
  try {
9745
9767
  const v = await j.post(
9746
9768
  s.value === "add" ? "/core/assSelect/insert" : "/core/assSelect/update",
9747
- p
9769
+ P
9748
9770
  );
9749
9771
  return v.code === 200 ? (L.success(s.value === "add" ? t("zdyxlk.addSuccess") : t("zdyxlk.editSuccess")), o.value = !1, B("success"), !0) : (L.error(v.message || t("zdyxlk.saveFailed")), !1);
9750
9772
  } catch (v) {
@@ -9753,7 +9775,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9753
9775
  }, I = () => {
9754
9776
  o.value = !1;
9755
9777
  };
9756
- return (w, D) => (m(), W(Q(vA), {
9778
+ return (f, D) => (m(), W(Q(vA), {
9757
9779
  "model-value": o.value,
9758
9780
  title: s.value === "add" ? Q(t)("zdyxlk.addTitle") : Q(t)("zdyxlk.editTitle"),
9759
9781
  "on-before-ok": a,
@@ -9775,7 +9797,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9775
9797
  }, Wl = ["onClick"], Tl = /* @__PURE__ */ q({
9776
9798
  __name: "ZdyxlkQuery",
9777
9799
  setup(A) {
9778
- const e = P(), {
9800
+ const e = p(), {
9779
9801
  t: g
9780
9802
  } = aA(), {
9781
9803
  searchFormSchema: t,
@@ -9836,15 +9858,15 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9836
9858
  QueryForm: B,
9837
9859
  formApi: E,
9838
9860
  Grid: c,
9839
- gridApi: f,
9861
+ gridApi: w,
9840
9862
  submitting: i,
9841
9863
  handleGlobalEnter: C,
9842
9864
  searchPlanList: l,
9843
9865
  currentSearchPlan: a,
9844
9866
  resourceId: I,
9845
- nResourceid: w,
9867
+ nResourceid: f,
9846
9868
  resourceButtons: D,
9847
- handleSearchPlanSearch: p,
9869
+ handleSearchPlanSearch: P,
9848
9870
  handleDefaultPlanLoaded: v
9849
9871
  } = kA({
9850
9872
  searchFormSchema: t,
@@ -9871,7 +9893,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9871
9893
  const S = await j.post("/core/assSelect/delete", {
9872
9894
  id: M.id
9873
9895
  });
9874
- S.code === 200 ? (L.success(S.message), f.value?.refresh()) : L.error(S.message);
9896
+ S.code === 200 ? (L.success(S.message), w.value?.refresh()) : L.error(S.message);
9875
9897
  } catch (S) {
9876
9898
  console.error("删除失败:", S), L.error(g("zdyxlk.deleteFailed"));
9877
9899
  }
@@ -9903,7 +9925,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
9903
9925
  })])]), r(Zl, {
9904
9926
  ref_key: "ZdyxlkAddRef",
9905
9927
  ref: e,
9906
- onSuccess: M[0] || (M[0] = () => Q(f).commitProxy("query"))
9928
+ onSuccess: M[0] || (M[0] = () => Q(w).commitProxy("query"))
9907
9929
  }, null, 512)], 32));
9908
9930
  }
9909
9931
  }), qc = /* @__PURE__ */ wA(Tl, [["__scopeId", "data-v-2065aa57"]]), jt = ({ t: A }) => {
@@ -10048,28 +10070,28 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
10048
10070
  __name: "AssSendoaAdd",
10049
10071
  emits: ["success"],
10050
10072
  setup(A, { expose: e, emit: g }) {
10051
- const { t } = aA(), o = P(!1), s = P("add"), n = P(!1), B = g, [E, c] = hA({
10073
+ const { t } = aA(), o = p(!1), s = p("add"), n = p(!1), B = g, [E, c] = hA({
10052
10074
  layout: "vertical",
10053
10075
  size: "small",
10054
10076
  labelWidth: 120,
10055
10077
  showDefaultActions: !1,
10056
10078
  scrollToFirstError: !0,
10057
10079
  schema: []
10058
- }), { addEditFormSchema: f } = jt({ t });
10080
+ }), { addEditFormSchema: w } = jt({ t });
10059
10081
  e({
10060
10082
  addInit: async () => {
10061
- o.value = !0, s.value = "add", c.setState({ schema: f }), c.resetForm(), await fA();
10083
+ o.value = !0, s.value = "add", c.setState({ schema: w }), c.resetForm(), await fA();
10062
10084
  },
10063
10085
  editInit: async (I) => {
10064
10086
  n.value = !0, s.value = "edit";
10065
- let w = null;
10087
+ let f = null;
10066
10088
  try {
10067
10089
  const D = await j.post("/core/assSendoa/update_init", { assSendoa: { id: I.id } });
10068
- D.code === 200 && D.result && (w = { ...D.result }, w.nSign !== void 0 && (w.nSign = String(w.nSign)));
10090
+ D.code === 200 && D.result && (f = { ...D.result }, f.nSign !== void 0 && (f.nSign = String(f.nSign)));
10069
10091
  } catch (D) {
10070
10092
  console.error("查询失败:", D), L.error(t("assSendoa.queryFailed"));
10071
10093
  }
10072
- o.value = !0, await fA(), c.setState({ schema: f }), c.resetForm(), w && c.setValues(w, !1), n.value = !1;
10094
+ o.value = !0, await fA(), c.setState({ schema: w }), c.resetForm(), f && c.setValues(f, !1), n.value = !1;
10073
10095
  }
10074
10096
  });
10075
10097
  const l = async () => {
@@ -10077,18 +10099,18 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
10077
10099
  if (!I) return !1;
10078
10100
  const D = { assSendoa: { ...await c.getValues() } };
10079
10101
  try {
10080
- const p = await j.post(
10102
+ const P = await j.post(
10081
10103
  s.value === "add" ? "/core/assSendoa/insert" : "/core/assSendoa/update",
10082
10104
  D
10083
10105
  );
10084
- return p.code === 200 ? (L.success(s.value === "add" ? t("assSendoa.addSuccess") : t("assSendoa.editSuccess")), o.value = !1, B("success"), !0) : (L.error(p.message || t("assSendoa.saveFailed")), !1);
10085
- } catch (p) {
10086
- return console.error("保存失败:", p), L.error(t("assSendoa.saveFailed")), !1;
10106
+ return P.code === 200 ? (L.success(s.value === "add" ? t("assSendoa.addSuccess") : t("assSendoa.editSuccess")), o.value = !1, B("success"), !0) : (L.error(P.message || t("assSendoa.saveFailed")), !1);
10107
+ } catch (P) {
10108
+ return console.error("保存失败:", P), L.error(t("assSendoa.saveFailed")), !1;
10087
10109
  }
10088
10110
  }, a = () => {
10089
10111
  o.value = !1;
10090
10112
  };
10091
- return (I, w) => (m(), W(Q(vA), {
10113
+ return (I, f) => (m(), W(Q(vA), {
10092
10114
  "model-value": o.value,
10093
10115
  title: s.value === "add" ? Q(t)("assSendoa.addTitle") : Q(t)("assSendoa.editTitle"),
10094
10116
  "on-before-ok": l,
@@ -10110,7 +10132,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
10110
10132
  }, ta = ["onClick"], ga = /* @__PURE__ */ q({
10111
10133
  __name: "AssSendoaQuery",
10112
10134
  setup(A) {
10113
- const e = P(), {
10135
+ const e = p(), {
10114
10136
  t: g
10115
10137
  } = aA(), {
10116
10138
  searchFormSchema: t,
@@ -10167,15 +10189,15 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
10167
10189
  QueryForm: B,
10168
10190
  formApi: E,
10169
10191
  Grid: c,
10170
- gridApi: f,
10192
+ gridApi: w,
10171
10193
  submitting: i,
10172
10194
  handleGlobalEnter: C,
10173
10195
  searchPlanList: l,
10174
10196
  currentSearchPlan: a,
10175
10197
  resourceId: I,
10176
- nResourceid: w,
10198
+ nResourceid: f,
10177
10199
  resourceButtons: D,
10178
- handleSearchPlanSearch: p,
10200
+ handleSearchPlanSearch: P,
10179
10201
  handleDefaultPlanLoaded: v
10180
10202
  } = kA({
10181
10203
  searchFormSchema: t,
@@ -10202,7 +10224,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
10202
10224
  const S = await j.post("/core/assSendoa/delete", {
10203
10225
  id: M.id
10204
10226
  });
10205
- S.code === 200 ? (L.success(S.message), f.value?.refresh()) : L.error(S.message);
10227
+ S.code === 200 ? (L.success(S.message), w.value?.refresh()) : L.error(S.message);
10206
10228
  } catch (S) {
10207
10229
  console.error("删除失败:", S), L.error(g("assSendoa.deleteFailed"));
10208
10230
  }
@@ -10234,7 +10256,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
10234
10256
  })])]), r(_l, {
10235
10257
  ref_key: "AssSendoaAddRef",
10236
10258
  ref: e,
10237
- onSuccess: M[0] || (M[0] = () => Q(f).commitProxy("query"))
10259
+ onSuccess: M[0] || (M[0] = () => Q(w).commitProxy("query"))
10238
10260
  }, null, 512)], 32));
10239
10261
  }
10240
10262
  }), _c = /* @__PURE__ */ wA(ga, [["__scopeId", "data-v-53c27ad8"]]), oa = ({ t: A }) => {
@@ -10348,7 +10370,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
10348
10370
  }, E = () => {
10349
10371
  t("close");
10350
10372
  };
10351
- return (c, f) => (m(), W(Q(vA), {
10373
+ return (c, w) => (m(), W(Q(vA), {
10352
10374
  "model-value": A.visible,
10353
10375
  title: "预览查询弹窗",
10354
10376
  "on-before-ok": B,
@@ -10377,7 +10399,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
10377
10399
  tableColumns: t
10378
10400
  } = oa({
10379
10401
  t: e
10380
- }), o = P(!1), s = P(""), n = async ({
10402
+ }), o = p(!1), s = p(""), n = async ({
10381
10403
  page: M,
10382
10404
  formValues: G
10383
10405
  }) => {
@@ -10433,15 +10455,15 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
10433
10455
  }, {
10434
10456
  QueryForm: E,
10435
10457
  formApi: c,
10436
- Grid: f,
10458
+ Grid: w,
10437
10459
  gridApi: i,
10438
10460
  submitting: C,
10439
10461
  handleGlobalEnter: l,
10440
10462
  searchPlanList: a,
10441
10463
  currentSearchPlan: I,
10442
- resourceId: w,
10464
+ resourceId: f,
10443
10465
  nResourceid: D,
10444
- resourceButtons: p,
10466
+ resourceButtons: P,
10445
10467
  handleSearchPlanSearch: v,
10446
10468
  handleDefaultPlanLoaded: h
10447
10469
  } = kA({
@@ -10450,7 +10472,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
10450
10472
  resourceConfig: na,
10451
10473
  queryFunction: n,
10452
10474
  gridEvents: B
10453
- }), z = (M) => p.value.filter((G) => G.cSubArea === "columnTable"), R = async (M, G) => {
10475
+ }), z = (M) => P.value.filter((G) => G.cSubArea === "columnTable"), R = async (M, G) => {
10454
10476
  const {
10455
10477
  handle: S
10456
10478
  } = M;
@@ -10492,7 +10514,7 @@ const Vr = { class: "flex items-center w-full h-[30px] bg-[var(--color-bg-2)] bo
10492
10514
  ["enter"]
10493
10515
  )),
10494
10516
  tabindex: "-1"
10495
- }, [d("div", Ba, [d("div", ra, [r(Q(E))]), d("div", Ca, [r(Q(f), {
10517
+ }, [d("div", Ba, [d("div", ra, [r(Q(E))]), d("div", Ca, [r(Q(w), {
10496
10518
  class: "flex-1"
10497
10519
  }, {
10498
10520
  actionSlot: u(({
@@ -10639,12 +10661,12 @@ class ca {
10639
10661
  B || (B = o.loadOptions(s, g), this.loadingPromises.set(n, B));
10640
10662
  try {
10641
10663
  const E = await B;
10642
- E && typeof E == "object" && Object.keys(E).forEach((f) => {
10643
- this.cache.set(f, E[f]);
10664
+ E && typeof E == "object" && Object.keys(E).forEach((w) => {
10665
+ this.cache.set(w, E[w]);
10644
10666
  });
10645
10667
  const c = {};
10646
- return e.forEach((f) => {
10647
- c[String(f)] = this.cache.get(String(f)) || [];
10668
+ return e.forEach((w) => {
10669
+ c[String(w)] = this.cache.get(String(w)) || [];
10648
10670
  }), c;
10649
10671
  } finally {
10650
10672
  this.loadingPromises.delete(n);
@@ -10692,7 +10714,7 @@ function qA(A) {
10692
10714
  fieldMapping: g,
10693
10715
  immediate: t = !0,
10694
10716
  forceReload: o = !1
10695
- } = A, s = P({}), n = P(!1), B = async () => {
10717
+ } = A, s = p({}), n = p(!1), B = async () => {
10696
10718
  if (!(!e || e.length === 0)) {
10697
10719
  n.value = !0;
10698
10720
  try {
@@ -10719,7 +10741,7 @@ function qA(A) {
10719
10741
  ...s.value,
10720
10742
  ...C
10721
10743
  };
10722
- }, f = (i) => {
10744
+ }, w = (i) => {
10723
10745
  if (ne.clearCache(i), i) {
10724
10746
  const C = { ...s.value };
10725
10747
  delete C[String(i)], s.value = C;
@@ -10734,16 +10756,16 @@ function qA(A) {
10734
10756
  load: B,
10735
10757
  getOptions: E,
10736
10758
  reload: c,
10737
- clearCache: f
10759
+ clearCache: w
10738
10760
  };
10739
10761
  }
10740
10762
  function _A(A, e = !0) {
10741
10763
  const g = H(() => {
10742
10764
  const E = typeof A == "object" && "value" in A ? A.value : A, c = [];
10743
- return E.forEach((f) => {
10744
- f.selectOptions?.dictCode && c.push({
10745
- fieldName: f.fieldName || "",
10746
- ...f.selectOptions
10765
+ return E.forEach((w) => {
10766
+ w.selectOptions?.dictCode && c.push({
10767
+ fieldName: w.fieldName || "",
10768
+ ...w.selectOptions
10747
10769
  });
10748
10770
  }), c;
10749
10771
  }), t = H(() => {
@@ -10758,11 +10780,11 @@ function _A(A, e = !0) {
10758
10780
  immediate: !1
10759
10781
  }), B = H(() => (typeof A == "object" && "value" in A ? A.value : A).map((c) => {
10760
10782
  if (c.selectOptions?.dictCode) {
10761
- const f = c.componentProps, i = String(c.selectOptions.dictCode);
10783
+ const w = c.componentProps, i = String(c.selectOptions.dictCode);
10762
10784
  return {
10763
10785
  ...c,
10764
10786
  componentProps: (C) => ({
10765
- ...typeof f == "function" ? f(C) : f,
10787
+ ...typeof w == "function" ? w(C) : w,
10766
10788
  options: o.value[i] || []
10767
10789
  })
10768
10790
  };
@@ -10835,12 +10857,12 @@ class ia {
10835
10857
  B || (B = o.loadOptions(s, g), this.loadingPromises.set(n, B));
10836
10858
  try {
10837
10859
  const E = await B;
10838
- E && typeof E == "object" && Object.keys(E).forEach((f) => {
10839
- this.cache.set(f, E[f]);
10860
+ E && typeof E == "object" && Object.keys(E).forEach((w) => {
10861
+ this.cache.set(w, E[w]);
10840
10862
  });
10841
10863
  const c = {};
10842
- return e.forEach((f) => {
10843
- c[String(f)] = this.cache.get(String(f)) || [];
10864
+ return e.forEach((w) => {
10865
+ c[String(w)] = this.cache.get(String(w)) || [];
10844
10866
  }), c;
10845
10867
  } finally {
10846
10868
  this.loadingPromises.delete(n);
@@ -10883,7 +10905,7 @@ class ia {
10883
10905
  }
10884
10906
  const se = new ia();
10885
10907
  function Ea(A) {
10886
- const { numbList: e, fieldMapping: g, immediate: t = !0, forceReload: o = !1 } = A, s = P({}), n = P(!1), B = async () => {
10908
+ const { numbList: e, fieldMapping: g, immediate: t = !0, forceReload: o = !1 } = A, s = p({}), n = p(!1), B = async () => {
10887
10909
  if (!(!e || e.length === 0)) {
10888
10910
  n.value = !0;
10889
10911
  try {
@@ -10910,7 +10932,7 @@ function Ea(A) {
10910
10932
  ...s.value,
10911
10933
  ...C
10912
10934
  };
10913
- }, f = (i) => {
10935
+ }, w = (i) => {
10914
10936
  if (se.clearCache(i), i) {
10915
10937
  const C = { ...s.value };
10916
10938
  delete C[String(i)], s.value = C;
@@ -10925,7 +10947,7 @@ function Ea(A) {
10925
10947
  load: B,
10926
10948
  getOptions: E,
10927
10949
  reload: c,
10928
- clearCache: f
10950
+ clearCache: w
10929
10951
  };
10930
10952
  }
10931
10953
  function $A(A, e = {}) {
@@ -10962,7 +10984,7 @@ function $A(A, e = {}) {
10962
10984
  }
10963
10985
  return C;
10964
10986
  });
10965
- }), f = H(() => {
10987
+ }), w = H(() => {
10966
10988
  const i = {};
10967
10989
  return o.value.forEach((C) => {
10968
10990
  if (C.autoSelectFirst) {
@@ -10973,14 +10995,14 @@ function $A(A, e = {}) {
10973
10995
  });
10974
10996
  return console.log("[useSchemaPermissionLoader] immediate:", g, "codes.value.length:", s.value.length), g && s.value.length > 0 && yA(async () => {
10975
10997
  console.log("[useSchemaPermissionLoader] onMounted triggered, calling load()"), await E();
10976
- const i = f.value;
10998
+ const i = w.value;
10977
10999
  Object.keys(i).length > 0 && t && await t(i);
10978
11000
  }), {
10979
11001
  enhancedSchema: c,
10980
11002
  optionsMap: n,
10981
11003
  loading: B,
10982
11004
  load: E,
10983
- autoSelectDefaults: f
11005
+ autoSelectDefaults: w
10984
11006
  };
10985
11007
  }
10986
11008
  function ti(A) {
@@ -11040,7 +11062,7 @@ const da = /* @__PURE__ */ q({
11040
11062
  emits: ["update:visible", "success"],
11041
11063
  setup(A, { emit: e }) {
11042
11064
  const { t: g } = aA(), { addFormSchema: t } = Te({ t: g }), o = A, s = e;
11043
- P(!1);
11065
+ p(!1);
11044
11066
  const [n, B] = ee({ schema: t });
11045
11067
  lA(() => o.visible, (i) => {
11046
11068
  i && (B.resetForm(), o.cExresnum && B.setValues({
@@ -11065,7 +11087,7 @@ const da = /* @__PURE__ */ q({
11065
11087
  return console.error("新增失败:", i), !1;
11066
11088
  }
11067
11089
  }
11068
- function f() {
11090
+ function w() {
11069
11091
  s("update:visible", !1);
11070
11092
  }
11071
11093
  return (i, C) => (m(), W(Q(vA), {
@@ -11074,7 +11096,7 @@ const da = /* @__PURE__ */ q({
11074
11096
  width: 700,
11075
11097
  "on-before-ok": c,
11076
11098
  "onUpdate:modelValue": C[0] || (C[0] = (l) => s("update:visible", l)),
11077
- onClose: f
11099
+ onClose: w
11078
11100
  }, {
11079
11101
  default: u(() => [
11080
11102
  r(Q(n))
@@ -11092,7 +11114,7 @@ const da = /* @__PURE__ */ q({
11092
11114
  emits: ["update:visible", "success"],
11093
11115
  setup(A, { emit: e }) {
11094
11116
  const { t: g } = aA(), { addFormSchema: t } = Te({ t: g }), o = A, s = e;
11095
- P(!1);
11117
+ p(!1);
11096
11118
  const [n, B] = ee({ schema: t });
11097
11119
  lA(() => o.visible, (i) => {
11098
11120
  i && o.row && (B.resetForm(), B.setValues({ ...o.row }), B.updateSchema([{
@@ -11117,7 +11139,7 @@ const da = /* @__PURE__ */ q({
11117
11139
  return console.error("修改失败:", i), !1;
11118
11140
  }
11119
11141
  }
11120
- function f() {
11142
+ function w() {
11121
11143
  s("update:visible", !1);
11122
11144
  }
11123
11145
  return (i, C) => (m(), W(Q(vA), {
@@ -11126,7 +11148,7 @@ const da = /* @__PURE__ */ q({
11126
11148
  width: 700,
11127
11149
  "on-before-ok": c,
11128
11150
  "onUpdate:modelValue": C[0] || (C[0] = (l) => s("update:visible", l)),
11129
- onClose: f
11151
+ onClose: w
11130
11152
  }, {
11131
11153
  default: u(() => [
11132
11154
  r(Q(n))
@@ -11201,15 +11223,15 @@ const da = /* @__PURE__ */ q({
11201
11223
  QueryForm: B,
11202
11224
  formApi: E,
11203
11225
  Grid: c,
11204
- gridApi: f,
11226
+ gridApi: w,
11205
11227
  submitting: i,
11206
11228
  handleGlobalEnter: C,
11207
11229
  searchPlanList: l,
11208
11230
  currentSearchPlan: a,
11209
11231
  resourceId: I,
11210
- nResourceid: w,
11232
+ nResourceid: f,
11211
11233
  handleSearchPlanSearch: D,
11212
- handleDefaultPlanLoaded: p,
11234
+ handleDefaultPlanLoaded: P,
11213
11235
  businessResumeState: v
11214
11236
  } = kA({
11215
11237
  searchFormSchema: g,
@@ -11227,7 +11249,7 @@ const da = /* @__PURE__ */ q({
11227
11249
  lazy: !0
11228
11250
  });
11229
11251
  function h() {
11230
- const U = f.getSelection();
11252
+ const U = w.getSelection();
11231
11253
  if (U.length > 1) {
11232
11254
  L.warning(e("common.selectOne"));
11233
11255
  return;
@@ -11235,7 +11257,7 @@ const da = /* @__PURE__ */ q({
11235
11257
  U.length === 1 ? (b.value = U[0].cExresnum, F.value = U[0].id, O.value = U[0].id, Y.value = U[0].cExresname) : (b.value = "", F.value = "", O.value = "0", Y.value = ""), S.value = !0;
11236
11258
  }
11237
11259
  function z() {
11238
- const U = f.getSelection();
11260
+ const U = w.getSelection();
11239
11261
  if (U.length !== 1) {
11240
11262
  L.warning("请选择一条数据进行修改");
11241
11263
  return;
@@ -11244,7 +11266,7 @@ const da = /* @__PURE__ */ q({
11244
11266
  y.value = V, k.value = !0;
11245
11267
  }
11246
11268
  async function R(U) {
11247
- const V = f.getSelection();
11269
+ const V = w.getSelection();
11248
11270
  if (V.length === 0) {
11249
11271
  L.warning("请选择要操作的数据");
11250
11272
  return;
@@ -11261,13 +11283,13 @@ const da = /* @__PURE__ */ q({
11261
11283
  cSign: U
11262
11284
  }
11263
11285
  });
11264
- L.success(AA.message || e("otherPermissions.signSuccess")), f.commitProxy("query");
11286
+ L.success(AA.message || e("otherPermissions.signSuccess")), w.commitProxy("query");
11265
11287
  } catch (AA) {
11266
11288
  console.error("操作失败:", AA);
11267
11289
  }
11268
11290
  }
11269
11291
  function M() {
11270
- const U = f.getSelection();
11292
+ const U = w.getSelection();
11271
11293
  if (U.length === 0) {
11272
11294
  L.warning(e("common.selectData"));
11273
11295
  return;
@@ -11289,7 +11311,7 @@ const da = /* @__PURE__ */ q({
11289
11311
  id: V.id
11290
11312
  }
11291
11313
  });
11292
- L.success(T.message || e("otherPermissions.delSuccess")), f.commitProxy("query");
11314
+ L.success(T.message || e("otherPermissions.delSuccess")), w.commitProxy("query");
11293
11315
  } catch (T) {
11294
11316
  console.error("删除失败:", T);
11295
11317
  }
@@ -11297,9 +11319,9 @@ const da = /* @__PURE__ */ q({
11297
11319
  });
11298
11320
  }
11299
11321
  function G() {
11300
- f.commitProxy("query");
11322
+ w.commitProxy("query");
11301
11323
  }
11302
- const S = P(!1), O = P("0"), Y = P(""), b = P(""), F = P(""), k = P(!1), y = P(null);
11324
+ const S = p(!1), O = p("0"), Y = p(""), b = p(""), F = p(""), k = p(!1), y = p(null);
11303
11325
  return (U, V) => (m(), N("div", {
11304
11326
  class: "other-permissions-query h-full flex flex-col bg-[var(--color-fill-2)]",
11305
11327
  onKeydown: V[2] || (V[2] = zA(
@@ -11345,14 +11367,14 @@ const pa = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, Pa
11345
11367
  }, Na = { class: "flex items-center gap-3" }, ja = { class: "shrink-0 w-20 text-sm text-[var(--color-text-2)]" }, Xa = { class: "flex items-center gap-3" }, Za = { class: "shrink-0 w-20 text-sm text-[var(--color-text-2)]" }, Va = { class: "flex items-center justify-between" }, Ja = { class: "text-sm text-[var(--color-text-1)]" }, Ha = { class: "text-xs text-[var(--color-text-4)] mt-0.5" }, Wa = { class: "shrink-0 p-2 bg-[var(--color-bg-2)] border-t border-[var(--color-border-1)]" }, Ta = { class: "flex justify-end" }, oi = /* @__PURE__ */ q({
11346
11368
  __name: "SystemSetting",
11347
11369
  setup(A) {
11348
- const { t: e } = ie(), g = P(!1), t = P(!1), o = uA({
11370
+ const { t: e } = ie(), g = p(!1), t = p(!1), o = uA({
11349
11371
  initialPassword: "",
11350
11372
  weakPasswords: [],
11351
11373
  showSubMenuIcon: !0,
11352
11374
  showAgent: !1,
11353
11375
  agentUrl: "",
11354
11376
  agentToken: ""
11355
- }), s = P([]), n = P(""), B = H(() => o.showAgent), E = () => {
11377
+ }), s = p([]), n = p(""), B = H(() => o.showAgent), E = () => {
11356
11378
  const C = n.value.trim();
11357
11379
  if (!C) {
11358
11380
  L.warning(e("common.systemSetting.enterWeakPassword"));
@@ -11365,7 +11387,7 @@ const pa = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, Pa
11365
11387
  s.value.push({ id: Date.now().toString(), password: C }), o.weakPasswords = s.value.map((l) => l.password), n.value = "";
11366
11388
  }, c = (C) => {
11367
11389
  s.value = s.value.filter((l) => l.id !== C), o.weakPasswords = s.value.map((l) => l.password);
11368
- }, f = async () => {
11390
+ }, w = async () => {
11369
11391
  g.value = !0;
11370
11392
  try {
11371
11393
  ((await ma()).result || []).forEach((a) => {
@@ -11376,9 +11398,9 @@ const pa = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, Pa
11376
11398
  case "PwdStrVal":
11377
11399
  try {
11378
11400
  const I = JSON.parse(a.cValue || "{}");
11379
- I.list && Array.isArray(I.list) && (s.value = I.list.map((w, D) => ({
11401
+ I.list && Array.isArray(I.list) && (s.value = I.list.map((f, D) => ({
11380
11402
  id: String(D),
11381
- password: w
11403
+ password: f
11382
11404
  })), o.weakPasswords = I.list);
11383
11405
  } catch (I) {
11384
11406
  console.error("Parse weak password config failed", I);
@@ -11463,8 +11485,8 @@ const pa = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, Pa
11463
11485
  t.value = !1;
11464
11486
  }
11465
11487
  };
11466
- return f(), (C, l) => {
11467
- const a = x("a-input-password"), I = x("a-input"), w = x("a-button"), D = x("a-tag"), p = x("a-card"), v = x("a-switch"), h = x("a-spin");
11488
+ return w(), (C, l) => {
11489
+ const a = x("a-input-password"), I = x("a-input"), f = x("a-button"), D = x("a-tag"), P = x("a-card"), v = x("a-switch"), h = x("a-spin");
11468
11490
  return m(), N("div", pa, [
11469
11491
  r(h, {
11470
11492
  loading: g.value,
@@ -11474,7 +11496,7 @@ const pa = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, Pa
11474
11496
  d("div", Pa, [
11475
11497
  d("div", Ma, [
11476
11498
  d("div", Fa, [
11477
- r(p, {
11499
+ r(P, {
11478
11500
  title: Q(e)("common.systemSetting.securitySetting"),
11479
11501
  bordered: !1
11480
11502
  }, {
@@ -11505,7 +11527,7 @@ const pa = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, Pa
11505
11527
  size: "small",
11506
11528
  onPressEnter: E
11507
11529
  }, null, 8, ["modelValue", "placeholder"]),
11508
- r(w, {
11530
+ r(f, {
11509
11531
  type: "primary",
11510
11532
  size: "small",
11511
11533
  onClick: E
@@ -11537,7 +11559,7 @@ const pa = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, Pa
11537
11559
  _: 1
11538
11560
  }, 8, ["title"]),
11539
11561
  d("div", La, [
11540
- r(p, {
11562
+ r(P, {
11541
11563
  title: Q(e)("common.systemSetting.agentSetting"),
11542
11564
  bordered: !1
11543
11565
  }, {
@@ -11585,7 +11607,7 @@ const pa = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, Pa
11585
11607
  ]),
11586
11608
  _: 1
11587
11609
  }, 8, ["title"]),
11588
- r(p, {
11610
+ r(P, {
11589
11611
  title: Q(e)("common.systemSetting.interfaceSetting"),
11590
11612
  bordered: !1
11591
11613
  }, {
@@ -11611,7 +11633,7 @@ const pa = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, Pa
11611
11633
  ]),
11612
11634
  d("div", Wa, [
11613
11635
  d("div", Ta, [
11614
- r(w, {
11636
+ r(f, {
11615
11637
  type: "primary",
11616
11638
  loading: t.value,
11617
11639
  onClick: i
@@ -11763,9 +11785,10 @@ const pa = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, Pa
11763
11785
  value: "cXuhao"
11764
11786
  }
11765
11787
  },
11766
- formatter: ({ cellValue: A, column: e }) => (e.params?.options || []).find((o) => o.value === A)?.label || A,
11767
- filters: [{ data: { checks: [], sVal: "", sMenu: "", fType1: "", fVal1: "", fMode: "and", fType2: "", fVal2: "" } }],
11768
- filterRender: { name: "FilterCombination" }
11788
+ formatter: ({ cellValue: A, column: e }) => (e.params?.options || []).find((o) => o.value === A)?.label || A
11789
+ // ⚠️ 'FilterCombination' 渲染器随 vxe-table 扩展插件停用(见 use-vxe-grid.vue 顶部注释),暂时注释;恢复 import './renderer/filters-combination' 后取消注释
11790
+ // filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
11791
+ // filterRender: { name: 'FilterCombination' }
11769
11792
  },
11770
11793
  {
11771
11794
  field: "value",
@@ -11775,9 +11798,10 @@ const pa = { class: "h-full w-full overflow-auto bg-[var(--color-fill-2)]" }, Pa
11775
11798
  params: {
11776
11799
  placeholder: "请输入属性值",
11777
11800
  allowClear: !0
11778
- },
11779
- filters: [{ data: { checks: [], sVal: "", sMenu: "", fType1: "", fVal1: "", fMode: "and", fType2: "", fVal2: "" } }],
11780
- filterRender: { name: "FilterCombination" }
11801
+ }
11802
+ // ⚠️ 'FilterCombination' 渲染器随 vxe-table 扩展插件停用(见 use-vxe-grid.vue 顶部注释),暂时注释;恢复 import './renderer/filters-combination' 后取消注释
11803
+ // filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
11804
+ // filterRender: { name: 'FilterCombination' }
11781
11805
  }
11782
11806
  ], AQ = [
11783
11807
  {
@@ -11877,7 +11901,7 @@ function Ht({
11877
11901
  ...o ? { objectToValueFields: o } : {}
11878
11902
  });
11879
11903
  E = I;
11880
- const w = (z) => z.map((R) => {
11904
+ const f = (z) => z.map((R) => {
11881
11905
  if (R.selectOptions?.dictCode) {
11882
11906
  const M = String(R.selectOptions.dictCode), G = C.value[M] || [];
11883
11907
  return {
@@ -11891,7 +11915,7 @@ function Ht({
11891
11915
  return R;
11892
11916
  }), D = uA({
11893
11917
  id: "meta-grid",
11894
- columns: w(e),
11918
+ columns: f(e),
11895
11919
  data: [],
11896
11920
  size: "mini",
11897
11921
  editRules: g,
@@ -11918,13 +11942,13 @@ function Ht({
11918
11942
  ...s && { aggregateConfig: s }
11919
11943
  });
11920
11944
  lA(() => C.value, () => {
11921
- D.columns = w(e);
11945
+ D.columns = f(e);
11922
11946
  }, { deep: !0 });
11923
- const [p, v] = ZA({
11947
+ const [P, v] = ZA({
11924
11948
  gridOptions: D,
11925
11949
  gridEvents: n
11926
11950
  }), h = v.reloadData.bind(v);
11927
- return v.reloadData = (z) => (D.data = z, h(z)), [a, I, p, v];
11951
+ return v.reloadData = (z) => (D.data = z, h(z)), [a, I, P, v];
11928
11952
  }
11929
11953
  const tQ = /* @__PURE__ */ q({
11930
11954
  name: "DataDictionaryAdd",
@@ -11937,7 +11961,7 @@ const tQ = /* @__PURE__ */ q({
11937
11961
  emits: ["update:visible", "success"],
11938
11962
  setup(A, { emit: e }) {
11939
11963
  const g = A, t = e;
11940
- P(!1);
11964
+ p(!1);
11941
11965
  const [o, s, n, B] = Ht({
11942
11966
  formSchema: Xt,
11943
11967
  tableColumns: Zt,
@@ -11957,26 +11981,26 @@ const tQ = /* @__PURE__ */ q({
11957
11981
  const l = await B.getFullData(), a = l.filter((h) => h.key).map((h) => h.key), I = new Set(a);
11958
11982
  if (a.length !== I.size)
11959
11983
  return L.warning("属性键不能重复"), !1;
11960
- const w = await s.getValues(), D = {};
11984
+ const f = await s.getValues(), D = {};
11961
11985
  l.forEach((h) => {
11962
11986
  h.key && (D[h.key] = h.value || "");
11963
11987
  });
11964
- const p = {
11988
+ const P = {
11965
11989
  authDict: {
11966
- cXuhao: w.cXuhao,
11967
- cName: w.cName,
11968
- cSign: w.cSign,
11990
+ cXuhao: f.cXuhao,
11991
+ cName: f.cName,
11992
+ cSign: f.cSign,
11969
11993
  nParent: g.parentId || "0",
11970
- nOrder: w.nOrder || 0,
11994
+ nOrder: f.nOrder || 0,
11971
11995
  cMeta: JSON.stringify(D)
11972
11996
  }
11973
- }, v = await j.post("/core/authDict/add", p);
11997
+ }, v = await j.post("/core/authDict/add", P);
11974
11998
  return L.success(v.message), t("success"), !0;
11975
11999
  } catch (i) {
11976
12000
  return console.error("新增失败:", i), !1;
11977
12001
  }
11978
12002
  }
11979
- function f() {
12003
+ function w() {
11980
12004
  t("update:visible", !1);
11981
12005
  }
11982
12006
  return (i, C) => (m(), W(Q(vA), {
@@ -11985,7 +12009,7 @@ const tQ = /* @__PURE__ */ q({
11985
12009
  width: 700,
11986
12010
  "on-before-ok": c,
11987
12011
  "onUpdate:modelValue": C[0] || (C[0] = (l) => t("update:visible", l)),
11988
- onClose: f
12012
+ onClose: w
11989
12013
  }, {
11990
12014
  default: u(() => [
11991
12015
  r(Q(o)),
@@ -12010,8 +12034,8 @@ function Wt({
12010
12034
  onAutoSelect: (a) => Ae(a, o)
12011
12035
  }), B = (() => {
12012
12036
  const a = /* @__PURE__ */ new Set();
12013
- return e.forEach((w) => {
12014
- w.type === "grid" && w.gridConfig && w.gridConfig.columns.forEach((D) => {
12037
+ return e.forEach((f) => {
12038
+ f.type === "grid" && f.gridConfig && f.gridConfig.columns.forEach((D) => {
12015
12039
  D.selectOptions?.dictCode && a.add(D.selectOptions.dictCode);
12016
12040
  });
12017
12041
  }), Array.from(a);
@@ -12020,7 +12044,7 @@ function Wt({
12020
12044
  immediate: !1
12021
12045
  });
12022
12046
  B.length > 0 && c();
12023
- const [f, i] = hA({
12047
+ const [w, i] = hA({
12024
12048
  layout: "horizontal",
12025
12049
  size: "small",
12026
12050
  labelWidth: 100,
@@ -12034,10 +12058,10 @@ function Wt({
12034
12058
  ...g ? { objectToValueFields: g } : {}
12035
12059
  });
12036
12060
  o = i;
12037
- const C = Bg([]), l = P([]);
12061
+ const C = Bg([]), l = p([]);
12038
12062
  return e.forEach((a, I) => {
12039
12063
  if (a.type === "grid" && a.gridConfig) {
12040
- const w = uA({
12064
+ const f = uA({
12041
12065
  id: `grid-${I}`,
12042
12066
  columns: a.gridConfig.columns,
12043
12067
  data: [],
@@ -12061,7 +12085,7 @@ function Wt({
12061
12085
  ...a.gridConfig.aggregateConfig && { aggregateConfig: a.gridConfig.aggregateConfig }
12062
12086
  });
12063
12087
  lA(() => E.value, (h) => {
12064
- w.columns = (w.columns || []).map((z) => {
12088
+ f.columns = (f.columns || []).map((z) => {
12065
12089
  if (z.selectOptions?.dictCode) {
12066
12090
  const R = String(z.selectOptions.dictCode), M = h[R] || [];
12067
12091
  return {
@@ -12075,17 +12099,17 @@ function Wt({
12075
12099
  return z;
12076
12100
  });
12077
12101
  }, { deep: !0 });
12078
- const [D, p] = ZA({
12079
- gridOptions: w
12102
+ const [D, P] = ZA({
12103
+ gridOptions: f
12080
12104
  }), v = {
12081
- ...p,
12082
- reloadData: (h) => (w.data = h, p.reloadData(h)),
12083
- validate: () => p.validate(),
12084
- getFullData: () => p.getFullData()
12105
+ ...P,
12106
+ reloadData: (h) => (f.data = h, P.reloadData(h)),
12107
+ validate: () => P.validate(),
12108
+ getFullData: () => P.getFullData()
12085
12109
  };
12086
12110
  C.value.push(zt(D)), l.value.push(v);
12087
12111
  }
12088
- }), [f, i, C, l];
12112
+ }), [w, i, C, l];
12089
12113
  }
12090
12114
  const gQ = /* @__PURE__ */ q({
12091
12115
  name: "DataDictionaryUpdate",
@@ -12097,8 +12121,8 @@ const gQ = /* @__PURE__ */ q({
12097
12121
  emits: ["update:visible", "success"],
12098
12122
  setup(A, { emit: e }) {
12099
12123
  const { TabPane: g } = ae, t = A, o = e;
12100
- P(!1);
12101
- const s = P(0), [n, B, E, c] = Wt({
12124
+ p(!1);
12125
+ const s = p(0), [n, B, E, c] = Wt({
12102
12126
  formSchema: Xt,
12103
12127
  tabsConfig: Pt
12104
12128
  });
@@ -12119,13 +12143,13 @@ const gQ = /* @__PURE__ */ q({
12119
12143
  nOrder: I.authDict.nOrder
12120
12144
  }), I.authDict.cMeta)
12121
12145
  try {
12122
- const w = JSON.parse(I.authDict.cMeta), D = Object.keys(w).map((p) => ({
12123
- key: p,
12124
- value: w[p]
12146
+ const f = JSON.parse(I.authDict.cMeta), D = Object.keys(f).map((P) => ({
12147
+ key: P,
12148
+ value: f[P]
12125
12149
  }));
12126
12150
  c.value[0].reloadData(D);
12127
- } catch (w) {
12128
- console.error("解析额外属性失败:", w);
12151
+ } catch (f) {
12152
+ console.error("解析额外属性失败:", f);
12129
12153
  }
12130
12154
  I.childList && I.childList.length > 0 ? c.value[1].reloadData(I.childList) : c.value[1].reloadData([]);
12131
12155
  }
@@ -12134,25 +12158,25 @@ const gQ = /* @__PURE__ */ q({
12134
12158
  }
12135
12159
  }
12136
12160
  });
12137
- const f = H(() => "修改字典");
12161
+ const w = H(() => "修改字典");
12138
12162
  async function i() {
12139
12163
  try {
12140
12164
  const { valid: l } = await B.validate();
12141
12165
  if (!l || await c.value[0].validate()) return !1;
12142
- const I = await c.value[0].getFullData(), w = I.filter((M) => M.key).map((M) => M.key), D = new Set(w);
12143
- if (w.length !== D.size)
12166
+ const I = await c.value[0].getFullData(), f = I.filter((M) => M.key).map((M) => M.key), D = new Set(f);
12167
+ if (f.length !== D.size)
12144
12168
  return L.warning("属性键不能重复"), !1;
12145
- const p = await B.getValues(), v = {};
12169
+ const P = await B.getValues(), v = {};
12146
12170
  I.forEach((M) => {
12147
12171
  M.key && (v[M.key] = M.value || "");
12148
12172
  });
12149
12173
  const h = await c.value[1].getFullData(), z = {
12150
12174
  authDict: {
12151
12175
  id: t.row?.id,
12152
- cXuhao: p.cXuhao,
12153
- cName: p.cName,
12154
- cSign: p.cSign,
12155
- nOrder: p.nOrder || 0,
12176
+ cXuhao: P.cXuhao,
12177
+ cName: P.cName,
12178
+ cSign: P.cSign,
12179
+ nOrder: P.nOrder || 0,
12156
12180
  cMeta: JSON.stringify(v),
12157
12181
  nParent: t.row?.nParent || 0,
12158
12182
  nType: t.row?.nType || 1
@@ -12169,7 +12193,7 @@ const gQ = /* @__PURE__ */ q({
12169
12193
  }
12170
12194
  return (l, a) => (m(), W(Q(vA), {
12171
12195
  "model-value": t.visible,
12172
- title: f.value,
12196
+ title: w.value,
12173
12197
  width: 700,
12174
12198
  "on-before-ok": i,
12175
12199
  "onUpdate:modelValue": a[1] || (a[1] = (I) => o("update:visible", I)),
@@ -12182,13 +12206,13 @@ const gQ = /* @__PURE__ */ q({
12182
12206
  "onUpdate:modelValue": a[0] || (a[0] = (I) => s.value = I)
12183
12207
  }, {
12184
12208
  default: u(() => [
12185
- (m(!0), N(oA, null, BA(Q(Pt), (I, w) => (m(), W(Q(g), {
12186
- key: w,
12209
+ (m(!0), N(oA, null, BA(Q(Pt), (I, f) => (m(), W(Q(g), {
12210
+ key: f,
12187
12211
  title: I.title
12188
12212
  }, {
12189
12213
  default: u(() => [
12190
- (m(), W(ce(Q(E)[w]), {
12191
- id: `grid-${w}`,
12214
+ (m(), W(ce(Q(E)[f]), {
12215
+ id: `grid-${f}`,
12192
12216
  border: "",
12193
12217
  "max-height": "300"
12194
12218
  }, null, 8, ["id"]))
@@ -12270,13 +12294,13 @@ const gQ = /* @__PURE__ */ q({
12270
12294
  gridApi: B,
12271
12295
  submitting: E,
12272
12296
  handleGlobalEnter: c,
12273
- searchPlanList: f,
12297
+ searchPlanList: w,
12274
12298
  currentSearchPlan: i,
12275
12299
  resourceId: C,
12276
12300
  nResourceid: l,
12277
12301
  handleSearchPlanSearch: a,
12278
12302
  handleDefaultPlanLoaded: I,
12279
- businessResumeState: w
12303
+ businessResumeState: f
12280
12304
  } = kA({
12281
12305
  searchFormSchema: _a,
12282
12306
  tableColumns: $a,
@@ -12291,14 +12315,14 @@ const gQ = /* @__PURE__ */ q({
12291
12315
  },
12292
12316
  treeConfig: t,
12293
12317
  lazy: !0
12294
- }), D = P(!1), p = P("0"), v = P(""), h = P(!1), z = P(void 0);
12318
+ }), D = p(!1), P = p("0"), v = p(""), h = p(!1), z = p(void 0);
12295
12319
  function R() {
12296
12320
  const Y = B.getSelection();
12297
12321
  if (Y.length > 1) {
12298
12322
  L.warning("最多只能选择一条数据作为父级");
12299
12323
  return;
12300
12324
  }
12301
- Y.length === 1 ? (p.value = Y[0].id, v.value = Y[0].cName) : (p.value = "0", v.value = ""), D.value = !0;
12325
+ Y.length === 1 ? (P.value = Y[0].id, v.value = Y[0].cName) : (P.value = "0", v.value = ""), D.value = !0;
12302
12326
  }
12303
12327
  function M() {
12304
12328
  const Y = B.getSelection();
@@ -12381,7 +12405,7 @@ const gQ = /* @__PURE__ */ q({
12381
12405
  })])]), r(tQ, {
12382
12406
  visible: D.value,
12383
12407
  "onUpdate:visible": b[0] || (b[0] = (F) => D.value = F),
12384
- "parent-id": p.value,
12408
+ "parent-id": P.value,
12385
12409
  "parent-name": v.value,
12386
12410
  onSuccess: O
12387
12411
  }, null, 8, ["visible", "parent-id", "parent-name"]), r(gQ, {
@@ -12390,7 +12414,7 @@ const gQ = /* @__PURE__ */ q({
12390
12414
  row: z.value,
12391
12415
  onSuccess: O
12392
12416
  }, null, 8, ["visible", "row"]), r(Q(te), {
12393
- state: Q(w)
12417
+ state: Q(f)
12394
12418
  }, null, 8, ["state"])], 32));
12395
12419
  }
12396
12420
  }), ni = /* @__PURE__ */ wA(BQ, [["__scopeId", "data-v-4940c6dd"]]), rQ = [
@@ -12605,7 +12629,7 @@ const gQ = /* @__PURE__ */ q({
12605
12629
  emits: ["update:visible", "success"],
12606
12630
  setup(A, { emit: e }) {
12607
12631
  const g = A, t = e;
12608
- P(!1);
12632
+ p(!1);
12609
12633
  const [o, s, n, B] = Ht({
12610
12634
  formSchema: Tt,
12611
12635
  tableColumns: qt,
@@ -12625,26 +12649,26 @@ const gQ = /* @__PURE__ */ q({
12625
12649
  const l = await B.getFullData(), a = l.filter((h) => h.key).map((h) => h.key), I = new Set(a);
12626
12650
  if (a.length !== I.size)
12627
12651
  return L.warning("属性键不能重复"), !1;
12628
- const w = await s.getValues(), D = {};
12652
+ const f = await s.getValues(), D = {};
12629
12653
  l.forEach((h) => {
12630
12654
  h.key && (D[h.key] = h.value || "");
12631
12655
  });
12632
- const p = {
12656
+ const P = {
12633
12657
  authDict: {
12634
- cXuhao: w.cXuhao,
12635
- cName: w.cName,
12636
- cSign: w.cSign,
12658
+ cXuhao: f.cXuhao,
12659
+ cName: f.cName,
12660
+ cSign: f.cSign,
12637
12661
  nParent: g.parentId || "0",
12638
- nOrder: w.nOrder || 0,
12662
+ nOrder: f.nOrder || 0,
12639
12663
  cMeta: JSON.stringify(D)
12640
12664
  }
12641
- }, v = await j.post("/core/authDict/addBS", p);
12665
+ }, v = await j.post("/core/authDict/addBS", P);
12642
12666
  return L.success(v.message), t("success"), !0;
12643
12667
  } catch (i) {
12644
12668
  return console.error("新增失败:", i), !1;
12645
12669
  }
12646
12670
  }
12647
- function f() {
12671
+ function w() {
12648
12672
  t("update:visible", !1);
12649
12673
  }
12650
12674
  return (i, C) => (m(), W(Q(vA), {
@@ -12653,7 +12677,7 @@ const gQ = /* @__PURE__ */ q({
12653
12677
  width: 700,
12654
12678
  "on-before-ok": c,
12655
12679
  "onUpdate:modelValue": C[0] || (C[0] = (l) => t("update:visible", l)),
12656
- onClose: f
12680
+ onClose: w
12657
12681
  }, {
12658
12682
  default: u(() => [
12659
12683
  r(Q(o)),
@@ -12676,8 +12700,8 @@ const gQ = /* @__PURE__ */ q({
12676
12700
  emits: ["update:visible", "success"],
12677
12701
  setup(A, { emit: e }) {
12678
12702
  const { TabPane: g } = ae, t = A, o = e;
12679
- P(!1);
12680
- const s = P(0), [n, B, E, c] = Wt({
12703
+ p(!1);
12704
+ const s = p(0), [n, B, E, c] = Wt({
12681
12705
  formSchema: Tt,
12682
12706
  tabsConfig: Mt
12683
12707
  });
@@ -12698,13 +12722,13 @@ const gQ = /* @__PURE__ */ q({
12698
12722
  nOrder: I.authDict.nOrder
12699
12723
  }), I.authDict.cMeta)
12700
12724
  try {
12701
- const w = JSON.parse(I.authDict.cMeta), D = Object.keys(w).map((p) => ({
12702
- key: p,
12703
- value: w[p]
12725
+ const f = JSON.parse(I.authDict.cMeta), D = Object.keys(f).map((P) => ({
12726
+ key: P,
12727
+ value: f[P]
12704
12728
  }));
12705
12729
  c.value[0].reloadData(D);
12706
- } catch (w) {
12707
- console.error("解析额外属性失败:", w);
12730
+ } catch (f) {
12731
+ console.error("解析额外属性失败:", f);
12708
12732
  }
12709
12733
  I.childList && I.childList.length > 0 ? c.value[1].reloadData(I.childList) : c.value[1].reloadData([]);
12710
12734
  }
@@ -12713,25 +12737,25 @@ const gQ = /* @__PURE__ */ q({
12713
12737
  }
12714
12738
  }
12715
12739
  });
12716
- const f = H(() => "修改字典");
12740
+ const w = H(() => "修改字典");
12717
12741
  async function i() {
12718
12742
  try {
12719
12743
  const { valid: l } = await B.validate();
12720
12744
  if (!l || await c.value[0].validate()) return !1;
12721
- const I = await c.value[0].getFullData(), w = I.filter((M) => M.key).map((M) => M.key), D = new Set(w);
12722
- if (w.length !== D.size)
12745
+ const I = await c.value[0].getFullData(), f = I.filter((M) => M.key).map((M) => M.key), D = new Set(f);
12746
+ if (f.length !== D.size)
12723
12747
  return L.warning("属性键不能重复"), !1;
12724
- const p = await B.getValues(), v = {};
12748
+ const P = await B.getValues(), v = {};
12725
12749
  I.forEach((M) => {
12726
12750
  M.key && (v[M.key] = M.value || "");
12727
12751
  });
12728
12752
  const h = await c.value[1].getFullData(), z = {
12729
12753
  authDict: {
12730
12754
  id: t.row?.id,
12731
- cXuhao: p.cXuhao,
12732
- cName: p.cName,
12733
- cSign: p.cSign,
12734
- nOrder: p.nOrder || 0,
12755
+ cXuhao: P.cXuhao,
12756
+ cName: P.cName,
12757
+ cSign: P.cSign,
12758
+ nOrder: P.nOrder || 0,
12735
12759
  cMeta: JSON.stringify(v),
12736
12760
  nParent: t.row?.nParent || 0,
12737
12761
  nType: t.row?.nType || 1
@@ -12748,7 +12772,7 @@ const gQ = /* @__PURE__ */ q({
12748
12772
  }
12749
12773
  return (l, a) => (m(), W(Q(vA), {
12750
12774
  "model-value": t.visible,
12751
- title: f.value,
12775
+ title: w.value,
12752
12776
  width: 700,
12753
12777
  "on-before-ok": i,
12754
12778
  "onUpdate:modelValue": a[1] || (a[1] = (I) => o("update:visible", I)),
@@ -12761,13 +12785,13 @@ const gQ = /* @__PURE__ */ q({
12761
12785
  "onUpdate:modelValue": a[0] || (a[0] = (I) => s.value = I)
12762
12786
  }, {
12763
12787
  default: u(() => [
12764
- (m(!0), N(oA, null, BA(Q(Mt), (I, w) => (m(), W(Q(g), {
12765
- key: w,
12788
+ (m(!0), N(oA, null, BA(Q(Mt), (I, f) => (m(), W(Q(g), {
12789
+ key: f,
12766
12790
  title: I.title
12767
12791
  }, {
12768
12792
  default: u(() => [
12769
- (m(), W(ce(Q(E)[w]), {
12770
- id: `grid-${w}`,
12793
+ (m(), W(ce(Q(E)[f]), {
12794
+ id: `grid-${f}`,
12771
12795
  border: "",
12772
12796
  "max-height": "300"
12773
12797
  }, null, 8, ["id"]))
@@ -12849,13 +12873,13 @@ const gQ = /* @__PURE__ */ q({
12849
12873
  gridApi: B,
12850
12874
  submitting: E,
12851
12875
  handleGlobalEnter: c,
12852
- searchPlanList: f,
12876
+ searchPlanList: w,
12853
12877
  currentSearchPlan: i,
12854
12878
  resourceId: C,
12855
12879
  nResourceid: l,
12856
12880
  handleSearchPlanSearch: a,
12857
12881
  handleDefaultPlanLoaded: I,
12858
- businessResumeState: w
12882
+ businessResumeState: f
12859
12883
  } = kA({
12860
12884
  searchFormSchema: CQ,
12861
12885
  tableColumns: lQ,
@@ -12870,14 +12894,14 @@ const gQ = /* @__PURE__ */ q({
12870
12894
  },
12871
12895
  treeConfig: t,
12872
12896
  lazy: !0
12873
- }), D = P(!1), p = P("0"), v = P(""), h = P(!1), z = P(null);
12897
+ }), D = p(!1), P = p("0"), v = p(""), h = p(!1), z = p(null);
12874
12898
  function R() {
12875
12899
  const Y = B.getSelection();
12876
12900
  if (Y.length > 1) {
12877
12901
  L.warning("最多只能选择一条数据作为父级");
12878
12902
  return;
12879
12903
  }
12880
- Y.length === 1 ? (p.value = Y[0].id, v.value = Y[0].cName) : (p.value = "0", v.value = ""), D.value = !0;
12904
+ Y.length === 1 ? (P.value = Y[0].id, v.value = Y[0].cName) : (P.value = "0", v.value = ""), D.value = !0;
12881
12905
  }
12882
12906
  function M() {
12883
12907
  const Y = B.getSelection();
@@ -12957,7 +12981,7 @@ const gQ = /* @__PURE__ */ q({
12957
12981
  })])]), r(cQ, {
12958
12982
  visible: D.value,
12959
12983
  "onUpdate:visible": b[0] || (b[0] = (F) => D.value = F),
12960
- "parent-id": p.value,
12984
+ "parent-id": P.value,
12961
12985
  "parent-name": v.value,
12962
12986
  onSuccess: O
12963
12987
  }, null, 8, ["visible", "parent-id", "parent-name"]), r(iQ, {
@@ -12966,7 +12990,7 @@ const gQ = /* @__PURE__ */ q({
12966
12990
  row: z.value,
12967
12991
  onSuccess: O
12968
12992
  }, null, 8, ["visible", "row"]), r(Q(te), {
12969
- state: Q(w)
12993
+ state: Q(f)
12970
12994
  }, null, 8, ["state"])], 32));
12971
12995
  }
12972
12996
  }), si = /* @__PURE__ */ wA(uQ, [["__scopeId", "data-v-24b85090"]]), Ee = ({ t: A, formApi: e }) => {
@@ -13193,7 +13217,7 @@ const gQ = /* @__PURE__ */ q({
13193
13217
  },
13194
13218
  colProps: { span: 12 }
13195
13219
  }
13196
- ], f = [
13220
+ ], w = [
13197
13221
  { type: "checkbox", width: 40, align: "center" },
13198
13222
  { field: "cRolenumb", title: A("user.cRolenumb"), minWidth: 100 },
13199
13223
  { field: "cRolename", title: A("user.cRolename"), minWidth: 200 },
@@ -13218,32 +13242,32 @@ const gQ = /* @__PURE__ */ q({
13218
13242
  resourceConfig: B,
13219
13243
  addEditFormSchema: E,
13220
13244
  authFormSchema: c,
13221
- authGridColumns: f,
13245
+ authGridColumns: w,
13222
13246
  bindMacGridColumns: i
13223
13247
  };
13224
13248
  }, fQ = /* @__PURE__ */ q({
13225
13249
  __name: "UserAdd",
13226
13250
  emits: ["success"],
13227
13251
  setup(A, { expose: e, emit: g }) {
13228
- const { t } = aA(), o = P(!1), s = P("add"), n = g, [B, E] = ee({
13252
+ const { t } = aA(), o = p(!1), s = p("add"), n = g, [B, E] = ee({
13229
13253
  schema: [],
13230
13254
  objectToValueFields: ["cWork"]
13231
- }), { addEditFormSchema: c } = Ee({ t, formApi: E }), f = () => {
13255
+ }), { addEditFormSchema: c } = Ee({ t, formApi: E }), w = () => {
13232
13256
  o.value = !0, s.value = "add", E.setState({ schema: c }), E.resetForm(), E.setValues({
13233
13257
  nMainAccount: "1",
13234
13258
  nOuterUser: "0"
13235
13259
  });
13236
13260
  }, i = async (I) => {
13237
13261
  s.value = "edit";
13238
- const w = await j.post("/core/authUser/queryById", { authUser: { id: I.id } });
13239
- o.value = !0, await fA(), E.setState({ schema: c }), E.resetForm(), w.code === 200 && E.setValues({
13240
- ...w.result,
13241
- nMainAccount: w.result.nMainAccount.toString(),
13242
- nOuterUser: w.result.nOuterUser.toString()
13262
+ const f = await j.post("/core/authUser/queryById", { authUser: { id: I.id } });
13263
+ o.value = !0, await fA(), E.setState({ schema: c }), E.resetForm(), f.code === 200 && E.setValues({
13264
+ ...f.result,
13265
+ nMainAccount: f.result.nMainAccount.toString(),
13266
+ nOuterUser: f.result.nOuterUser.toString()
13243
13267
  }, !1);
13244
13268
  };
13245
13269
  e({
13246
- addInit: f,
13270
+ addInit: w,
13247
13271
  editInit: i,
13248
13272
  detailInit: (I) => {
13249
13273
  i(I);
@@ -13254,13 +13278,13 @@ const gQ = /* @__PURE__ */ q({
13254
13278
  if (!I) return !1;
13255
13279
  const D = {
13256
13280
  authUser: await E.getValues()
13257
- }, p = await j.post(s.value === "add" ? "/core/authUser/add" : "/core/authUser/edit", D);
13258
- return p.code === 200 ? (L.success(p.message), o.value = !1, n("success"), !0) : (L.error(p.message), !1);
13281
+ }, P = await j.post(s.value === "add" ? "/core/authUser/add" : "/core/authUser/edit", D);
13282
+ return P.code === 200 ? (L.success(P.message), o.value = !1, n("success"), !0) : (L.error(P.message), !1);
13259
13283
  };
13260
13284
  function a() {
13261
13285
  o.value = !1;
13262
13286
  }
13263
- return (I, w) => (m(), W(Q(vA), {
13287
+ return (I, f) => (m(), W(Q(vA), {
13264
13288
  "model-value": o.value,
13265
13289
  title: s.value === "add" ? Q(t)("user.addTitle") : Q(t)("user.editTitle"),
13266
13290
  width: 600,
@@ -13277,8 +13301,8 @@ const gQ = /* @__PURE__ */ q({
13277
13301
  __name: "UserChooseRole",
13278
13302
  emits: ["chooseRoleEmit"],
13279
13303
  setup(A, { expose: e, emit: g }) {
13280
- const { t } = aA(), o = P(!1), s = P([]);
13281
- P([]), P(!1);
13304
+ const { t } = aA(), o = p(!1), s = p([]);
13305
+ p([]), p(!1);
13282
13306
  const n = g, B = [
13283
13307
  {
13284
13308
  fieldName: "cRolenumb",
@@ -13311,7 +13335,7 @@ const gQ = /* @__PURE__ */ q({
13311
13335
  { field: "cSystem", title: t("user.cSystem"), width: 120 }
13312
13336
  ], c = () => {
13313
13337
  o.value = !0;
13314
- }, f = (C) => {
13338
+ }, w = (C) => {
13315
13339
  n("chooseRoleEmit", C);
13316
13340
  }, i = async (C) => {
13317
13341
  var l = {
@@ -13340,17 +13364,17 @@ const gQ = /* @__PURE__ */ q({
13340
13364
  "table-columns": E,
13341
13365
  "search-api": i,
13342
13366
  "field-names": { label: "cRolename", value: "cRolenumb" },
13343
- onConfirm: f
13367
+ onConfirm: w
13344
13368
  }, null, 8, ["visible", "modelValue", "title"]));
13345
13369
  }
13346
13370
  }), vQ = /* @__PURE__ */ q({
13347
13371
  __name: "UserAuth",
13348
13372
  emits: ["success"],
13349
13373
  setup(A, { expose: e, emit: g }) {
13350
- const t = P(), { t: o } = aA(), s = P(!1), n = g, [B, E] = ee({ schema: [] }), { authFormSchema: c, authGridColumns: f } = Ee({ t: o, formApi: E }), [i, C] = ZA({
13374
+ const t = p(), { t: o } = aA(), s = p(!1), n = g, [B, E] = ee({ schema: [] }), { authFormSchema: c, authGridColumns: w } = Ee({ t: o, formApi: E }), [i, C] = ZA({
13351
13375
  gridOptions: {
13352
13376
  data: [],
13353
- columns: f,
13377
+ columns: w,
13354
13378
  border: !0,
13355
13379
  size: "mini",
13356
13380
  maxHeight: 400,
@@ -13380,7 +13404,7 @@ const gQ = /* @__PURE__ */ q({
13380
13404
  function I() {
13381
13405
  s.value = !1;
13382
13406
  }
13383
- const w = () => {
13407
+ const f = () => {
13384
13408
  t.value.openInit();
13385
13409
  }, D = async (v) => {
13386
13410
  const h = await C.getFullData();
@@ -13393,7 +13417,7 @@ const gQ = /* @__PURE__ */ q({
13393
13417
  nSensitive: z.nSensitive
13394
13418
  });
13395
13419
  });
13396
- }, p = () => {
13420
+ }, P = () => {
13397
13421
  C.deleteSelection();
13398
13422
  };
13399
13423
  return (v, h) => {
@@ -13413,7 +13437,7 @@ const gQ = /* @__PURE__ */ q({
13413
13437
  default: u(() => [
13414
13438
  r(z, {
13415
13439
  type: "primary",
13416
- onClick: w
13440
+ onClick: f
13417
13441
  }, {
13418
13442
  default: u(() => [
13419
13443
  J(X(Q(o)("common.create")), 1)
@@ -13422,7 +13446,7 @@ const gQ = /* @__PURE__ */ q({
13422
13446
  }),
13423
13447
  r(z, {
13424
13448
  type: "primary",
13425
- onClick: p
13449
+ onClick: P
13426
13450
  }, {
13427
13451
  default: u(() => [
13428
13452
  J(X(Q(o)("common.deleteSelected")), 1)
@@ -13449,7 +13473,7 @@ const gQ = /* @__PURE__ */ q({
13449
13473
  __name: "UserBindMac",
13450
13474
  emits: ["success"],
13451
13475
  setup(A, { expose: e, emit: g }) {
13452
- const { t } = aA(), o = P(!1), s = P({}), n = g, { bindMacGridColumns: B } = Ee({ t }), [E, c] = ZA({
13476
+ const { t } = aA(), o = p(!1), s = p({}), n = g, { bindMacGridColumns: B } = Ee({ t }), [E, c] = ZA({
13453
13477
  gridOptions: {
13454
13478
  data: [],
13455
13479
  columns: B,
@@ -13466,8 +13490,8 @@ const gQ = /* @__PURE__ */ q({
13466
13490
  });
13467
13491
  e({
13468
13492
  openInit: async (I) => {
13469
- const w = await j.post("/core/authUser/queryMac", { cUsernumb: I.cUsernumb }), D = w.code === 200 ? w.result : [];
13470
- w.code === 200 && (s.value = I), o.value = !0, await fA(), c.reloadData(D);
13493
+ const f = await j.post("/core/authUser/queryMac", { cUsernumb: I.cUsernumb }), D = f.code === 200 ? f.result : [];
13494
+ f.code === 200 && (s.value = I), o.value = !0, await fA(), c.reloadData(D);
13471
13495
  }
13472
13496
  });
13473
13497
  const i = async () => {
@@ -13478,8 +13502,8 @@ const gQ = /* @__PURE__ */ q({
13478
13502
  authUserMac: {
13479
13503
  cUsernumb: s.value.cUsernumb
13480
13504
  }
13481
- }, p = await j.post("/core/authUser/saveMac", D);
13482
- return p.code === 200 ? (L.success(p.message), o.value = !1, n("success"), !0) : (L.error(p.message), !1);
13505
+ }, P = await j.post("/core/authUser/saveMac", D);
13506
+ return P.code === 200 ? (L.success(P.message), o.value = !1, n("success"), !0) : (L.error(P.message), !1);
13483
13507
  };
13484
13508
  function C() {
13485
13509
  o.value = !1;
@@ -13489,8 +13513,8 @@ const gQ = /* @__PURE__ */ q({
13489
13513
  }, a = () => {
13490
13514
  c.deleteSelection();
13491
13515
  };
13492
- return (I, w) => {
13493
- const D = x("a-button"), p = x("a-space");
13516
+ return (I, f) => {
13517
+ const D = x("a-button"), P = x("a-space");
13494
13518
  return m(), W(Q(vA), {
13495
13519
  "model-value": o.value,
13496
13520
  title: Q(t)("user.bindMacTitle"),
@@ -13501,7 +13525,7 @@ const gQ = /* @__PURE__ */ q({
13501
13525
  default: u(() => [
13502
13526
  r(Q(E), null, {
13503
13527
  toolbar: u(() => [
13504
- r(p, { class: "mb-2" }, {
13528
+ r(P, { class: "mb-2" }, {
13505
13529
  default: u(() => [
13506
13530
  r(D, {
13507
13531
  type: "primary",
@@ -13539,7 +13563,7 @@ const gQ = /* @__PURE__ */ q({
13539
13563
  __name: "UserOtherAuth",
13540
13564
  emits: ["success"],
13541
13565
  setup(A, { expose: e, emit: g }) {
13542
- const { t } = aA(), o = P(!1), s = P([]), n = P({}), B = (i, C) => {
13566
+ const { t } = aA(), o = p(!1), s = p([]), n = p({}), B = (i, C) => {
13543
13567
  C.forEach((l) => {
13544
13568
  l.check = !!i;
13545
13569
  });
@@ -13561,7 +13585,7 @@ const gQ = /* @__PURE__ */ q({
13561
13585
  }, C = await j.post("/core/authUser/saveUserExres", i);
13562
13586
  return C.code === 200 ? (L.success(C.message), o.value = !1, !0) : (L.error(C.message), !1);
13563
13587
  };
13564
- function f() {
13588
+ function w() {
13565
13589
  o.value = !1;
13566
13590
  }
13567
13591
  return (i, C) => {
@@ -13572,7 +13596,7 @@ const gQ = /* @__PURE__ */ q({
13572
13596
  width: 900,
13573
13597
  class: "macAddressDialog",
13574
13598
  "on-before-ok": c,
13575
- onClose: f
13599
+ onClose: w
13576
13600
  }, {
13577
13601
  default: u(() => [
13578
13602
  d("div", null, [
@@ -13594,7 +13618,7 @@ const gQ = /* @__PURE__ */ q({
13594
13618
  d("td", yQ, [
13595
13619
  (m(!0), N(oA, null, BA(a.authExresList, (I) => (m(), W(l, {
13596
13620
  modelValue: I.check,
13597
- "onUpdate:modelValue": (w) => I.check = w
13621
+ "onUpdate:modelValue": (f) => I.check = f
13598
13622
  }, {
13599
13623
  default: u(() => [
13600
13624
  J(X(I.cExresnum + "-" + I.cExresname) + " ", 1),
@@ -13620,7 +13644,7 @@ const gQ = /* @__PURE__ */ q({
13620
13644
  }, GQ = /* @__PURE__ */ q({
13621
13645
  __name: "UserQuery",
13622
13646
  setup(A) {
13623
- const e = P(), g = P(), t = P(), o = P(), s = KA(), {
13647
+ const e = p(), g = p(), t = p(), o = p(), s = KA(), {
13624
13648
  t: n
13625
13649
  } = aA(), {
13626
13650
  searchFormSchema: B,
@@ -13628,7 +13652,7 @@ const gQ = /* @__PURE__ */ q({
13628
13652
  resourceConfig: c
13629
13653
  } = Ee({
13630
13654
  t: n
13631
- }), f = async ({
13655
+ }), w = async ({
13632
13656
  page: F,
13633
13657
  formValues: k
13634
13658
  }) => {
@@ -13772,9 +13796,9 @@ const gQ = /* @__PURE__ */ q({
13772
13796
  formApi: l,
13773
13797
  Grid: a,
13774
13798
  gridApi: I,
13775
- submitting: w,
13799
+ submitting: f,
13776
13800
  handleGlobalEnter: D,
13777
- searchPlanList: p,
13801
+ searchPlanList: P,
13778
13802
  currentSearchPlan: v,
13779
13803
  resourceId: h,
13780
13804
  nResourceid: z,
@@ -13785,7 +13809,7 @@ const gQ = /* @__PURE__ */ q({
13785
13809
  searchFormSchema: B,
13786
13810
  tableColumns: E,
13787
13811
  resourceConfig: c,
13788
- queryFunction: f,
13812
+ queryFunction: w,
13789
13813
  gridEvents: i,
13790
13814
  showCheckbox: !0
13791
13815
  }), {
@@ -13961,7 +13985,7 @@ const gQ = /* @__PURE__ */ q({
13961
13985
  },
13962
13986
  colProps: { span: 12 }
13963
13987
  }
13964
- ], f = [
13988
+ ], w = [
13965
13989
  { type: "checkbox", width: 40, align: "center" },
13966
13990
  { field: "cUsernumb", title: A("user.cUsernumb"), minWidth: 100 },
13967
13991
  { field: "cUsername", title: A("user.cUsername"), minWidth: 200 },
@@ -13981,7 +14005,7 @@ const gQ = /* @__PURE__ */ q({
13981
14005
  resourceConfig: B,
13982
14006
  addEditFormSchema: E,
13983
14007
  authFormSchema: c,
13984
- authGridColumns: f
14008
+ authGridColumns: w
13985
14009
  };
13986
14010
  }, LQ = { class: "h-full flex flex-col" }, xQ = { class: "mt-5 flex-1 overflow-hidden" }, YQ = { class: "mb-3 text-sm font-medium" }, KQ = { class: "h-[calc(100%-36px)] overflow-auto" }, RQ = {
13987
14011
  class: "extra-container ml-[250px] mr-auto",
@@ -13994,7 +14018,7 @@ const gQ = /* @__PURE__ */ q({
13994
14018
  __name: "RoleAdd",
13995
14019
  emits: ["success"],
13996
14020
  setup(A, { expose: e, emit: g }) {
13997
- const { t } = aA(), o = P(!1), s = P("add"), n = P(), B = P(), E = P(!1), c = g, f = uA({
14021
+ const { t } = aA(), o = p(!1), s = p("add"), n = p(), B = p(), E = p(!1), c = g, w = uA({
13998
14022
  treeData: [],
13999
14023
  defaultChecked: [],
14000
14024
  expandedKeys: []
@@ -14006,12 +14030,12 @@ const gQ = /* @__PURE__ */ q({
14006
14030
  });
14007
14031
  if (k.code === 200) {
14008
14032
  const y = k.result;
14009
- f.treeData = h(y), C(f.treeData);
14033
+ w.treeData = h(y), C(w.treeData);
14010
14034
  }
14011
14035
  }, C = (F) => {
14012
14036
  F.forEach((k) => {
14013
14037
  k.buttonList && k.buttonList.length && k.buttonList.forEach((y) => {
14014
- y.checked = f.defaultChecked.includes(String(y.id));
14038
+ y.checked = w.defaultChecked.includes(String(y.id));
14015
14039
  }), k.children && C(k.children);
14016
14040
  });
14017
14041
  }, l = (F) => {
@@ -14029,7 +14053,7 @@ const gQ = /* @__PURE__ */ q({
14029
14053
  }
14030
14054
  return !1;
14031
14055
  };
14032
- return y(f.treeData, F), k;
14056
+ return y(w.treeData, F), k;
14033
14057
  }, I = (F, k) => {
14034
14058
  const y = k.node, U = k.checked, V = [...F];
14035
14059
  if (U) {
@@ -14065,16 +14089,16 @@ const gQ = /* @__PURE__ */ q({
14065
14089
  };
14066
14090
  y.children && AA(y.children, !1);
14067
14091
  }
14068
- f.defaultChecked = V;
14069
- }, [w, D] = hA({
14092
+ w.defaultChecked = V;
14093
+ }, [f, D] = hA({
14070
14094
  layout: "horizontal",
14071
14095
  size: "small",
14072
14096
  labelWidth: 100,
14073
14097
  showDefaultActions: !1,
14074
14098
  scrollToFirstError: !0,
14075
14099
  schema: []
14076
- }), { addEditFormSchema: p } = qe({ t, formApi: D }), v = async (F) => {
14077
- F ? (await i(F), f.defaultChecked = []) : (f.treeData = [], f.defaultChecked = []);
14100
+ }), { addEditFormSchema: P } = qe({ t, formApi: D }), v = async (F) => {
14101
+ F ? (await i(F), w.defaultChecked = []) : (w.treeData = [], w.defaultChecked = []);
14078
14102
  };
14079
14103
  D.setState({
14080
14104
  handleValuesChange: (F, k) => {
@@ -14088,7 +14112,7 @@ const gQ = /* @__PURE__ */ q({
14088
14112
  U.children.forEach((AA) => {
14089
14113
  if (AA.cType === "2") {
14090
14114
  const gA = AA.label || AA.name || AA.text || AA.cName || AA.id;
14091
- V.push({ ...AA, label: gA, checked: f.defaultChecked.includes(String(AA.id)) });
14115
+ V.push({ ...AA, label: gA, checked: w.defaultChecked.includes(String(AA.id)) });
14092
14116
  } else
14093
14117
  T.push(h([AA])[0]);
14094
14118
  }), U.buttonList = V, U.children = T.length ? T : void 0;
@@ -14106,9 +14130,9 @@ const gQ = /* @__PURE__ */ q({
14106
14130
  return null;
14107
14131
  }, R = (F) => {
14108
14132
  if (F.checked) {
14109
- f.defaultChecked.includes(F.id) || f.defaultChecked.push(F.id);
14110
- const k = z(f.treeData, F.id);
14111
- k && (f.defaultChecked.includes(k.id) || f.defaultChecked.push(k.id), ((V, T) => {
14133
+ w.defaultChecked.includes(F.id) || w.defaultChecked.push(F.id);
14134
+ const k = z(w.treeData, F.id);
14135
+ k && (w.defaultChecked.includes(k.id) || w.defaultChecked.push(k.id), ((V, T) => {
14112
14136
  let AA = [];
14113
14137
  const gA = (K, $) => {
14114
14138
  for (const tA of K)
@@ -14130,27 +14154,27 @@ const gQ = /* @__PURE__ */ q({
14130
14154
  break;
14131
14155
  }
14132
14156
  return AA;
14133
- })(k, f.treeData).forEach((V) => {
14134
- f.defaultChecked.includes(V) || f.defaultChecked.push(V);
14157
+ })(k, w.treeData).forEach((V) => {
14158
+ w.defaultChecked.includes(V) || w.defaultChecked.push(V);
14135
14159
  }));
14136
14160
  } else {
14137
- const k = f.defaultChecked.indexOf(F.id);
14138
- k !== -1 && f.defaultChecked.splice(k, 1);
14161
+ const k = w.defaultChecked.indexOf(F.id);
14162
+ k !== -1 && w.defaultChecked.splice(k, 1);
14139
14163
  }
14140
14164
  }, M = (F, k, y) => {
14141
- f.expandedKeys = F;
14165
+ w.expandedKeys = F;
14142
14166
  }, G = async () => {
14143
- o.value = !0, s.value = "add", D.setState({ schema: p }), D.resetForm(), f.treeData = [], f.defaultChecked = [], f.treeData = [], await fA(), n.value && n.value.toggleMaximize();
14167
+ o.value = !0, s.value = "add", D.setState({ schema: P }), D.resetForm(), w.treeData = [], w.defaultChecked = [], w.treeData = [], await fA(), n.value && n.value.toggleMaximize();
14144
14168
  }, S = async (F) => {
14145
14169
  E.value = !0, s.value = "edit";
14146
14170
  const k = await j.post("/core/authRole/update_init", { authRole: { id: F.id } });
14147
- if (o.value = !0, await fA(), D.setState({ schema: p }), D.resetForm(), k.code === 200) {
14171
+ if (o.value = !0, await fA(), D.setState({ schema: P }), D.resetForm(), k.code === 200) {
14148
14172
  D.setValues(k.result.role, !1), D.updateSchema([{
14149
14173
  fieldName: "cRolenumb",
14150
14174
  componentProps: { disabled: !0 }
14151
- }]), f.defaultChecked = (k.result.resourceidList || []).map(String);
14175
+ }]), w.defaultChecked = (k.result.resourceidList || []).map(String);
14152
14176
  const y = k.result.treeList || [];
14153
- f.treeData = h(y), C(f.treeData), f.expandedKeys = [];
14177
+ w.treeData = h(y), C(w.treeData), w.expandedKeys = [];
14154
14178
  }
14155
14179
  await fA(), n.value && n.value.toggleMaximize(), E.value = !1;
14156
14180
  };
@@ -14166,7 +14190,7 @@ const gQ = /* @__PURE__ */ q({
14166
14190
  if (!F) return !1;
14167
14191
  const y = {
14168
14192
  authRole: await D.getValues(),
14169
- idList: f.defaultChecked
14193
+ idList: w.defaultChecked
14170
14194
  }, U = await j.post(s.value === "add" ? "/core/authRole/saveRole" : "/core/authRole/saveUpdateRole", y);
14171
14195
  return U.code === 200 ? (L.success(U.message), o.value = !1, c("success"), !0) : (L.error(U.message), !1);
14172
14196
  };
@@ -14183,19 +14207,19 @@ const gQ = /* @__PURE__ */ q({
14183
14207
  }, {
14184
14208
  default: u(() => [
14185
14209
  d("div", LQ, [
14186
- r(Q(w)),
14210
+ r(Q(f)),
14187
14211
  d("div", xQ, [
14188
14212
  d("h4", YQ, X(Q(t)("role.resourceConfig")), 1),
14189
14213
  d("div", KQ, [
14190
14214
  r(Q(Cg), {
14191
14215
  ref_key: "treeRef",
14192
14216
  ref: B,
14193
- data: f.treeData,
14217
+ data: w.treeData,
14194
14218
  "node-key": "id",
14195
14219
  checkable: !0,
14196
14220
  "check-strictly": !0,
14197
- "checked-keys": f.defaultChecked,
14198
- "expanded-keys": f.expandedKeys,
14221
+ "checked-keys": w.defaultChecked,
14222
+ "expanded-keys": w.expandedKeys,
14199
14223
  "field-names": { key: "id", title: "label", children: "children", disabled: "disabled" },
14200
14224
  "default-expand-all": !1,
14201
14225
  onExpand: M,
@@ -14233,7 +14257,7 @@ const gQ = /* @__PURE__ */ q({
14233
14257
  __name: "RoleChooseUser",
14234
14258
  emits: ["chooseUserEmit"],
14235
14259
  setup(A, { expose: e, emit: g }) {
14236
- const { t } = aA(), o = P(!1), s = P([]), n = g, B = [
14260
+ const { t } = aA(), o = p(!1), s = p([]), n = g, B = [
14237
14261
  {
14238
14262
  fieldName: "cUsernumb",
14239
14263
  label: t("user.cUsernumb"),
@@ -14262,7 +14286,7 @@ const gQ = /* @__PURE__ */ q({
14262
14286
  { field: "cJobname", title: t("role.jobname"), width: 120 }
14263
14287
  ], c = () => {
14264
14288
  s.value = [], o.value = !0;
14265
- }, f = (C) => {
14289
+ }, w = (C) => {
14266
14290
  n("chooseUserEmit", C);
14267
14291
  }, i = async (C) => {
14268
14292
  var l = {
@@ -14291,14 +14315,14 @@ const gQ = /* @__PURE__ */ q({
14291
14315
  "table-columns": E,
14292
14316
  "search-api": i,
14293
14317
  "field-names": { label: "cUsername", value: "id" },
14294
- onConfirm: f
14318
+ onConfirm: w
14295
14319
  }, null, 8, ["visible", "modelValue", "title"]));
14296
14320
  }
14297
14321
  }), ZQ = /* @__PURE__ */ q({
14298
14322
  __name: "RoleAuth",
14299
14323
  emits: ["success"],
14300
14324
  setup(A, { expose: e, emit: g }) {
14301
- const t = P(), { t: o } = aA(), s = P(!1), n = P(null), B = P([]), E = g, [c, f] = ee({ schema: [] }), { authFormSchema: i, authGridColumns: C } = qe({ t: o, formApi: f }), [l, a] = ZA({
14325
+ const t = p(), { t: o } = aA(), s = p(!1), n = p(null), B = p([]), E = g, [c, w] = ee({ schema: [] }), { authFormSchema: i, authGridColumns: C } = qe({ t: o, formApi: w }), [l, a] = ZA({
14302
14326
  gridOptions: {
14303
14327
  data: [],
14304
14328
  columns: C,
@@ -14316,13 +14340,13 @@ const gQ = /* @__PURE__ */ q({
14316
14340
  const R = await j.post("/core/authRole/findRoleUser", {
14317
14341
  authRole: { id: z.id }
14318
14342
  }), M = R.code === 200 ? R.result.authUserList || [] : [];
14319
- B.value = JSON.parse(JSON.stringify(M)), s.value = !0, await fA(), f.setState({ schema: i }), f.resetForm(), f.setValues({
14343
+ B.value = JSON.parse(JSON.stringify(M)), s.value = !0, await fA(), w.setState({ schema: i }), w.resetForm(), w.setValues({
14320
14344
  cRolenumb: z.cRolenumb,
14321
14345
  cRolename: z.cRolename
14322
14346
  }), a.reloadData(M);
14323
14347
  }
14324
14348
  });
14325
- const w = () => {
14349
+ const f = () => {
14326
14350
  t.value.openInit();
14327
14351
  }, D = async (z) => {
14328
14352
  const R = await a.getFullData();
@@ -14334,12 +14358,12 @@ const gQ = /* @__PURE__ */ q({
14334
14358
  cUsernumb: M.cUsernumb
14335
14359
  });
14336
14360
  });
14337
- }, p = () => {
14361
+ }, P = () => {
14338
14362
  a.deleteSelection();
14339
14363
  }, v = async () => {
14340
- const { valid: z } = await f.validate();
14364
+ const { valid: z } = await w.validate();
14341
14365
  if (!z) return !1;
14342
- await f.getValues();
14366
+ await w.getValues();
14343
14367
  const R = await a.getFullData(), M = await a.$grid.getRemoveRecords(), G = R.filter(
14344
14368
  (Y) => !B.value.some((b) => b.id === Y.id)
14345
14369
  ), S = {
@@ -14371,7 +14395,7 @@ const gQ = /* @__PURE__ */ q({
14371
14395
  default: u(() => [
14372
14396
  r(M, {
14373
14397
  type: "primary",
14374
- onClick: w
14398
+ onClick: f
14375
14399
  }, {
14376
14400
  default: u(() => [
14377
14401
  J(X(Q(o)("common.create")), 1)
@@ -14380,7 +14404,7 @@ const gQ = /* @__PURE__ */ q({
14380
14404
  }),
14381
14405
  r(M, {
14382
14406
  type: "primary",
14383
- onClick: p
14407
+ onClick: P
14384
14408
  }, {
14385
14409
  default: u(() => [
14386
14410
  J(X(Q(o)("common.deleteSelected")), 1)
@@ -14412,7 +14436,7 @@ const gQ = /* @__PURE__ */ q({
14412
14436
  }, WQ = /* @__PURE__ */ q({
14413
14437
  __name: "RoleQuery",
14414
14438
  setup(A) {
14415
- const e = P(), g = P(), {
14439
+ const e = p(), g = p(), {
14416
14440
  t
14417
14441
  } = aA(), {
14418
14442
  searchFormSchema: o,
@@ -14480,15 +14504,15 @@ const gQ = /* @__PURE__ */ q({
14480
14504
  }
14481
14505
  }, {
14482
14506
  QueryForm: c,
14483
- formApi: f,
14507
+ formApi: w,
14484
14508
  Grid: i,
14485
14509
  gridApi: C,
14486
14510
  submitting: l,
14487
14511
  handleGlobalEnter: a,
14488
14512
  searchPlanList: I,
14489
- currentSearchPlan: w,
14513
+ currentSearchPlan: f,
14490
14514
  resourceId: D,
14491
- nResourceid: p,
14515
+ nResourceid: P,
14492
14516
  handleSearchPlanSearch: v,
14493
14517
  handleDefaultPlanLoaded: h,
14494
14518
  businessResumeState: z
@@ -14572,10 +14596,10 @@ const qQ = {
14572
14596
  }), n = s?.result || s, B = {};
14573
14597
  return Object.keys(n).forEach((E) => {
14574
14598
  const c = n[E] || [];
14575
- B[E] = c.map((f) => ({
14576
- label: o(f),
14577
- value: f[t],
14578
- ...f
14599
+ B[E] = c.map((w) => ({
14600
+ label: o(w),
14601
+ value: w[t],
14602
+ ...w
14579
14603
  // 保留原始字段
14580
14604
  }));
14581
14605
  }), B;
@@ -14778,14 +14802,14 @@ function Bc(A) {
14778
14802
  };
14779
14803
  }
14780
14804
  function rc(A) {
14781
- const { cFieldtype: e, cLabel: g, cProp: t, cMeta: o, cSeltype: s, cSelval: n, cRequired: B, cPlaceholder: E, nOrder: c, cSign: f, cShow: i, nLg: C, cDefVal: l, nI18ndata: a, cDirectives: I, cDynamicShow: w, cDynamicRules: D, cDynamicDisabled: p, cWidth: v } = A, h = o ? JSON.parse(o) : {};
14805
+ const { cFieldtype: e, cLabel: g, cProp: t, cMeta: o, cSeltype: s, cSelval: n, cRequired: B, cPlaceholder: E, nOrder: c, cSign: w, cShow: i, nLg: C, cDefVal: l, nI18ndata: a, cDirectives: I, cDynamicShow: f, cDynamicRules: D, cDynamicDisabled: P, cWidth: v } = A, h = o ? JSON.parse(o) : {};
14782
14806
  var z = {
14783
14807
  components: e,
14784
14808
  label: g,
14785
14809
  fieldName: t,
14786
14810
  componentProps: {
14787
14811
  placeholder: E,
14788
- disabled: f === "0"
14812
+ disabled: w === "0"
14789
14813
  },
14790
14814
  hidden: i !== "1",
14791
14815
  // 是否隐藏字段(静态隐藏,不参与联动逻辑)。
@@ -14798,7 +14822,7 @@ function rc(A) {
14798
14822
  };
14799
14823
  return z = { ...z, ...h }, (e === "Input" || e === "Select") && (z.componentProps.allowClear = !0), s && n && h.components !== "DatePicker" && (z.componentProps.options = Ag(A), s === "3" && (z.components = "SunnyCustomizeSelect", z.componentProps.cNum = n)), z.dependencies = {
14800
14824
  show: (R) => {
14801
- const M = JSON.parse(w), G = Ce(M, R);
14825
+ const M = JSON.parse(f), G = Ce(M, R);
14802
14826
  return G ? new Function(`return ${G}`)() : !0;
14803
14827
  },
14804
14828
  required: (R) => {
@@ -14806,21 +14830,21 @@ function rc(A) {
14806
14830
  return G ? new Function(`return ${G}`)() : !0;
14807
14831
  },
14808
14832
  disabled: (R) => {
14809
- const M = JSON.parse(p), G = Ce(M, R);
14833
+ const M = JSON.parse(P), G = Ce(M, R);
14810
14834
  return G ? new Function(`return ${G}`)() : !1;
14811
14835
  }
14812
14836
  }, z;
14813
14837
  }
14814
14838
  function Cc(A) {
14815
- const { cLabel: e, cProp: g, cFieldtype: t, cMeta: o, cSeltype: s, cSelval: n, cWidth: B, nOrder: E, nBill: c, cSign: f, cRequired: i, cShow: C, cDirectives: l, cEntityTable: a, cDynamicRules: I, cDynamicDisabled: w } = A, D = o ? JSON.parse(o) : {};
14816
- var p = {
14839
+ const { cLabel: e, cProp: g, cFieldtype: t, cMeta: o, cSeltype: s, cSelval: n, cWidth: B, nOrder: E, nBill: c, cSign: w, cRequired: i, cShow: C, cDirectives: l, cEntityTable: a, cDynamicRules: I, cDynamicDisabled: f } = A, D = o ? JSON.parse(o) : {};
14840
+ var P = {
14817
14841
  title: e,
14818
14842
  field: g,
14819
14843
  width: B,
14820
14844
  ...FA[t] ?? {},
14821
14845
  params: {
14822
14846
  required: i === "0",
14823
- disabled: f === "0",
14847
+ disabled: w === "0",
14824
14848
  visible: C === "0",
14825
14849
  order: E,
14826
14850
  nBill: c,
@@ -14831,7 +14855,7 @@ function Cc(A) {
14831
14855
  // dynamicRules: cDynamicRules,
14832
14856
  // components: cFieldtype,
14833
14857
  };
14834
- return p = { ...D, ...p }, s && n && (p.params.options = Ag(A)), p;
14858
+ return P = { ...D, ...P }, s && n && (P.params.options = Ag(A)), P;
14835
14859
  }
14836
14860
  function _e(A) {
14837
14861
  const e = ue(fe(A.resFieldList.map((s) => ({
@@ -14906,7 +14930,7 @@ const lc = () => ({
14906
14930
  findDefSearchPlan: (A) => j.post("/core/assSearchplan/findDefSearchPlan", A)
14907
14931
  }), tg = lc();
14908
14932
  function kA(A) {
14909
- const { searchFormSchema: e, tableColumns: g, dataType: t, resourceConfig: o, queryFunction: s, gridEvents: n, treeConfig: B, loadMethod: E, objectToValueFields: c, fieldMappingTime: f, arrayToStringFields: i, lazy: C, autoLoad: l = !0, showCheckbox: a = !0, aggregateConfig: I, queryOnReset: w = !0 } = A, { toolbarButtonClick: D, ...p } = n || {}, { resourceId: v, nResourceid: h, cModnumb: z } = o, R = P([]), M = P(void 0), G = P(!1), { enhancedSchema: S } = _A(e);
14933
+ const { searchFormSchema: e, tableColumns: g, dataType: t, resourceConfig: o, queryFunction: s, gridEvents: n, treeConfig: B, loadMethod: E, objectToValueFields: c, fieldMappingTime: w, arrayToStringFields: i, lazy: C, autoLoad: l = !0, showCheckbox: a = !0, aggregateConfig: I, queryOnReset: f = !0 } = A, { toolbarButtonClick: D, ...P } = n || {}, { resourceId: v, nResourceid: h, cModnumb: z } = o, R = p([]), M = p(void 0), G = p(!1), { enhancedSchema: S } = _A(e);
14910
14934
  let O;
14911
14935
  const { enhancedSchema: Y } = $A(S, {
14912
14936
  onAutoSelect: (_) => Ae(_, O)
@@ -14933,7 +14957,7 @@ function kA(A) {
14933
14957
  actionColProps: { span: 24, sm: 12, md: 8, lg: 6, xl: 4 },
14934
14958
  schema: Y.value,
14935
14959
  objectToValueFields: c,
14936
- fieldMappingTime: f,
14960
+ fieldMappingTime: w,
14937
14961
  arrayToStringFields: i
14938
14962
  });
14939
14963
  O = F;
@@ -14990,11 +15014,12 @@ function kA(A) {
14990
15014
  showSortPutButton: !0
14991
15015
  },
14992
15016
  // 表格说明,鼠标悬停 ! 按钮时显示
15017
+ // ⚠️ 原 gridTip 第 3/4 条「鼠标区域选取 / Ctrl+A 全选 / Ctrl+C 复制选中区域」依赖已停用的
15018
+ // extend-cell-area 插件,暂时移除;恢复插件后取消下方注释、删掉精简版即可。
15019
+ // gridTip: '1. 表格支持本地(换电脑清空)列配置,退出登录不清空\n2. 支持服务端排序\n3. 支持鼠标区域选取,Ctrl+A 全选\n4. 支持 Ctrl+C 复制选中区域\n5. 支持 Tab/方向键/Shift+方向键导航\n',
14993
15020
  gridTip: `1. 表格支持本地(换电脑清空)列配置,退出登录不清空
14994
15021
  2. 支持服务端排序
14995
- 3. 支持鼠标区域选取,Ctrl+A 全选
14996
- 4. 支持 Ctrl+C 复制选中区域
14997
- 5. 支持 Tab/方向键/Shift+方向键导航
15022
+ 3. 支持 Tab/方向键/Shift+方向键导航
14998
15023
  `,
14999
15024
  // 树形配置
15000
15025
  ...B && {
@@ -15066,7 +15091,7 @@ function kA(A) {
15066
15091
  gridEvents: {
15067
15092
  sortChange: y,
15068
15093
  toolbarButtonClick: T,
15069
- ...p
15094
+ ...P
15070
15095
  }
15071
15096
  }), Z = async (_) => {
15072
15097
  await F.setValues(_), await gA.commitProxy("query");
@@ -15111,13 +15136,13 @@ function kA(A) {
15111
15136
  }
15112
15137
  },
15113
15138
  handleReset: async () => {
15114
- await F.resetForm(), w && gA.commitProxy("query");
15139
+ await F.resetForm(), f && gA.commitProxy("query");
15115
15140
  }
15116
15141
  });
15117
15142
  function $(_) {
15118
15143
  _.target instanceof HTMLTextAreaElement || (_.preventDefault(), F.submitForm());
15119
15144
  }
15120
- const tA = P([]), eA = P(
15145
+ const tA = p([]), eA = p(
15121
15146
  g.find((_) => [1, 2, 3].includes(_.params?.nBill)) || null
15122
15147
  ), sA = async () => {
15123
15148
  if (!z) {
@@ -15178,7 +15203,7 @@ function Qi(A) {
15178
15203
  formConfig: t,
15179
15204
  grid1: o,
15180
15205
  grid2: s
15181
- } = A, { resourceId: n, nResourceid: B, cModnumb: E } = e, c = P([]), f = P(void 0), i = P(!1);
15206
+ } = A, { resourceId: n, nResourceid: B, cModnumb: E } = e, c = p([]), w = p(void 0), i = p(!1);
15182
15207
  let C = null, l = null;
15183
15208
  if (t?.searchFormSchema?.length) {
15184
15209
  const { enhancedSchema: K } = _A(t.searchFormSchema);
@@ -15215,7 +15240,7 @@ function Qi(A) {
15215
15240
  }
15216
15241
  });
15217
15242
  }
15218
- const a = P(null), I = P([]), { toolbarButtonClick: w, ...D } = o.gridEvents || {}, p = uA({
15243
+ const a = p(null), I = p([]), { toolbarButtonClick: f, ...D } = o.gridEvents || {}, P = uA({
15219
15244
  id: "DualListGrid1",
15220
15245
  border: !0,
15221
15246
  size: "mini",
@@ -15267,7 +15292,7 @@ function Qi(A) {
15267
15292
  }
15268
15293
  }
15269
15294
  }
15270
- }), v = P(
15295
+ }), v = p(
15271
15296
  o.tableColumns.find((K) => [1, 2, 3].includes(K.params?.nBill)) || null
15272
15297
  ), h = uA({
15273
15298
  visible: !1,
@@ -15288,9 +15313,9 @@ function Qi(A) {
15288
15313
  z(K);
15289
15314
  return;
15290
15315
  }
15291
- await w?.(K);
15316
+ await f?.(K);
15292
15317
  }, [M, G] = xe({
15293
- gridOptions: p,
15318
+ gridOptions: P,
15294
15319
  gridEvents: {
15295
15320
  sortChange: () => G.commitProxy("query"),
15296
15321
  currentChange: ({ row: K }) => {
@@ -15302,7 +15327,7 @@ function Qi(A) {
15302
15327
  toolbarButtonClick: R,
15303
15328
  ...D
15304
15329
  }
15305
- }), S = P(null), O = P([]), { toolbarButtonClick: Y, ...b } = s.gridEvents || {}, F = uA({
15330
+ }), S = p(null), O = p([]), { toolbarButtonClick: Y, ...b } = s.gridEvents || {}, F = uA({
15306
15331
  id: "DualListGrid2",
15307
15332
  border: !0,
15308
15333
  size: "mini",
@@ -15378,7 +15403,7 @@ function Qi(A) {
15378
15403
  searchPlanConfig: {
15379
15404
  enable: !0,
15380
15405
  formConfig: l.getState().schema,
15381
- currentSearchPlan: f.value,
15406
+ currentSearchPlan: w.value,
15382
15407
  searchPlanList: c.value,
15383
15408
  resourceId: n,
15384
15409
  nResourceid: B,
@@ -15386,14 +15411,14 @@ function Qi(A) {
15386
15411
  onSearch: V,
15387
15412
  onDefaultPlanLoaded: T,
15388
15413
  onUpdateCurrentSearchPlan: (K) => {
15389
- f.value = K;
15414
+ w.value = K;
15390
15415
  },
15391
15416
  onUpdateSearchPlanList: (K) => {
15392
15417
  c.value = K;
15393
15418
  }
15394
15419
  }
15395
15420
  });
15396
- }, 0), lA([c, f], ([K, $]) => {
15421
+ }, 0), lA([c, w], ([K, $]) => {
15397
15422
  l.setState({
15398
15423
  searchPlanConfig: {
15399
15424
  ...l.getState().searchPlanConfig,
@@ -15402,7 +15427,7 @@ function Qi(A) {
15402
15427
  }
15403
15428
  });
15404
15429
  }, { deep: !0 }));
15405
- const AA = P([]), gA = async () => {
15430
+ const AA = p([]), gA = async () => {
15406
15431
  if (!E) {
15407
15432
  console.warn("[useDualList] 未配置 cModnumb,跳过资源获取");
15408
15433
  return;
@@ -15422,8 +15447,8 @@ function Qi(A) {
15422
15447
  name: PA("common.queryBusinessHistory"),
15423
15448
  code: "operationLog/FindBusiness",
15424
15449
  params: JSON.stringify({ billColumn: v.value })
15425
- }), tA.length > 0 && (p.toolbarConfig = {
15426
- ...p.toolbarConfig,
15450
+ }), tA.length > 0 && (P.toolbarConfig = {
15451
+ ...P.toolbarConfig,
15427
15452
  buttons: tA
15428
15453
  }), eA.length > 0 && (F.toolbarConfig = {
15429
15454
  ...F.toolbarConfig,
@@ -15454,7 +15479,7 @@ function Qi(A) {
15454
15479
  submitting: i,
15455
15480
  handleGlobalEnter: Z,
15456
15481
  searchPlanList: c,
15457
- currentSearchPlan: f,
15482
+ currentSearchPlan: w,
15458
15483
  resourceId: n,
15459
15484
  nResourceid: B,
15460
15485
  resourceButtons: AA,
@@ -15479,7 +15504,7 @@ function ci() {
15479
15504
  };
15480
15505
  }
15481
15506
  function ii(A) {
15482
- const e = P(!1), g = P({});
15507
+ const e = p(!1), g = p({});
15483
15508
  return {
15484
15509
  loading: e,
15485
15510
  resourceButtons: g,
@@ -15512,7 +15537,7 @@ function Ei({
15512
15537
  height: B = "auto",
15513
15538
  gridId: E = "table-grid",
15514
15539
  gridEvents: c,
15515
- showOverflow: f = "tooltip",
15540
+ showOverflow: w = "tooltip",
15516
15541
  aggregateConfig: i,
15517
15542
  scrollY: C
15518
15543
  } = {}) {
@@ -15521,11 +15546,11 @@ function Ei({
15521
15546
  return A.forEach((O) => {
15522
15547
  O.selectOptions?.dictCode && S.add(O.selectOptions.dictCode);
15523
15548
  }), Array.from(S);
15524
- })(), { optionsMap: I, load: w } = qA({
15549
+ })(), { optionsMap: I, load: f } = qA({
15525
15550
  numbList: a,
15526
15551
  immediate: !1
15527
15552
  });
15528
- a.length > 0 && w();
15553
+ a.length > 0 && f();
15529
15554
  const D = (S) => S.map((O) => {
15530
15555
  if (O.selectOptions?.dictCode) {
15531
15556
  const Y = String(O.selectOptions.dictCode), b = I.value[Y] || [];
@@ -15538,13 +15563,13 @@ function Ei({
15538
15563
  };
15539
15564
  }
15540
15565
  return O;
15541
- }), p = {
15566
+ }), P = {
15542
15567
  id: E,
15543
15568
  columns: D(A),
15544
15569
  data: t,
15545
15570
  height: B,
15546
15571
  size: "mini",
15547
- showOverflow: f,
15572
+ showOverflow: w,
15548
15573
  columnConfig: {
15549
15574
  resizable: !0
15550
15575
  },
@@ -15561,15 +15586,15 @@ function Ei({
15561
15586
  ...i && { aggregateConfig: i },
15562
15587
  ...C && { scrollY: C }
15563
15588
  };
15564
- o && (p.editRules = e, p.clipConfig = He()), g.length > 0 && (p.toolbarConfig = {
15565
- ...p.toolbarConfig,
15589
+ o && (P.editRules = e, P.clipConfig = He()), g.length > 0 && (P.toolbarConfig = {
15590
+ ...P.toolbarConfig,
15566
15591
  enabled: !0,
15567
15592
  buttons: g
15568
- }, p.zoomConfig = { enabled: !0 }, p.customConfig = {
15569
- ...p.customConfig,
15593
+ }, P.zoomConfig = { enabled: !0 }, P.customConfig = {
15594
+ ...P.customConfig,
15570
15595
  visibleMethod: (S) => !(S.column.type === "checkbox" || S.column.type === "seq")
15571
15596
  });
15572
- const v = uA(p);
15597
+ const v = uA(P);
15573
15598
  lA(() => I.value, () => {
15574
15599
  v.columns = D(A);
15575
15600
  }, { deep: !0 });
@@ -15602,40 +15627,40 @@ function Ei({
15602
15627
  return [h, G];
15603
15628
  }
15604
15629
  function Ii(A) {
15605
- const e = P(!1), g = P(!1), t = P({}), o = P([]), s = H({
15630
+ const e = p(!1), g = p(!1), t = p({}), o = p([]), s = H({
15606
15631
  get: () => o.value,
15607
- set: (w) => {
15608
- o.value = w;
15632
+ set: (f) => {
15633
+ o.value = f;
15609
15634
  }
15610
- }), n = (w) => {
15611
- o.value = w;
15612
- }, B = () => Je.businessSearchAdapter, E = (w) => async (D) => w?.search ? await w.search({
15635
+ }), n = (f) => {
15636
+ o.value = f;
15637
+ }, B = () => Je.businessSearchAdapter, E = (f) => async (D) => f?.search ? await f.search({
15613
15638
  ...D,
15614
15639
  cNum: A.cNum
15615
15640
  }) : (console.warn("[useBusinessSearchModal] No search adapter configured."), { records: [], total: 0 }), c = async () => {
15616
- const w = B();
15617
- if (!w?.loadConfig) {
15641
+ const f = B();
15642
+ if (!f?.loadConfig) {
15618
15643
  console.warn("[useBusinessSearchModal] No loadConfig adapter configured.");
15619
15644
  return;
15620
15645
  }
15621
15646
  g.value = !0;
15622
15647
  try {
15623
- const D = await w.loadConfig(A.cNum);
15624
- D.searchApi = E(w), t.value = D;
15648
+ const D = await f.loadConfig(A.cNum);
15649
+ D.searchApi = E(f), t.value = D;
15625
15650
  } catch (D) {
15626
15651
  console.error("[useBusinessSearchModal] Failed to load config:", D);
15627
15652
  } finally {
15628
15653
  g.value = !1;
15629
15654
  }
15630
- }, f = async () => {
15655
+ }, w = async () => {
15631
15656
  t.value.title || await c(), e.value = !0;
15632
- }, i = (w) => {
15633
- o.value = w, e.value = !1, A.onConfirm?.(w);
15657
+ }, i = (f) => {
15658
+ o.value = f, e.value = !1, A.onConfirm?.(f);
15634
15659
  }, C = H(() => {
15635
- const w = A.multiple ?? t.value.multiple ?? !0, D = A.fieldNames || t.value.fieldNames || { label: "label", value: "value" }, v = [...t.value.tableColumns || []];
15636
- return !v.some((z) => z.type === "checkbox" || z.type === "radio") && v.length > 0 && (w ? v.unshift({ type: "checkbox", width: 50, fixed: "left", align: "center" }) : v.unshift({ type: "radio", width: 50, fixed: "left", align: "center" })), {
15660
+ const f = A.multiple ?? t.value.multiple ?? !0, D = A.fieldNames || t.value.fieldNames || { label: "label", value: "value" }, v = [...t.value.tableColumns || []];
15661
+ return !v.some((z) => z.type === "checkbox" || z.type === "radio") && v.length > 0 && (f ? v.unshift({ type: "checkbox", width: 50, fixed: "left", align: "center" }) : v.unshift({ type: "radio", width: 50, fixed: "left", align: "center" })), {
15637
15662
  ...t.value,
15638
- multiple: w,
15663
+ multiple: f,
15639
15664
  fieldNames: D,
15640
15665
  defaultModel: A.defaultModel || t.value.defaultModel,
15641
15666
  tableColumns: v
@@ -15645,27 +15670,27 @@ function Ii(A) {
15645
15670
  visible: e,
15646
15671
  loading: g,
15647
15672
  modalProps: C,
15648
- open: f,
15673
+ open: w,
15649
15674
  handleConfirm: i,
15650
15675
  selectedValues: s,
15651
15676
  setSelectedValues: n,
15652
- transformToTableFormat: (w, D, p) => {
15653
- const v = w[D];
15677
+ transformToTableFormat: (f, D, P) => {
15678
+ const v = f[D];
15654
15679
  if (typeof v != "string" || v === "") return;
15655
- const h = l(), z = p && w[p] ? String(w[p]) : void 0;
15656
- w[D] = ug(v, {
15680
+ const h = l(), z = P && f[P] ? String(f[P]) : void 0;
15681
+ f[D] = ug(v, {
15657
15682
  valueKey: h.value || "value",
15658
15683
  labelKey: h.label || "label"
15659
15684
  }, z);
15660
15685
  },
15661
- transformToStorageFormat: (w, D, p) => {
15662
- const v = w[D];
15686
+ transformToStorageFormat: (f, D, P) => {
15687
+ const v = f[D];
15663
15688
  if (!Array.isArray(v)) return;
15664
15689
  const h = l(), z = dg(v, {
15665
15690
  valueKey: h.value || "value",
15666
15691
  labelKey: h.label || "label"
15667
15692
  });
15668
- w[D] = z.value, p && (w[p] = z.displayValue);
15693
+ f[D] = z.value, P && (f[P] = z.displayValue);
15669
15694
  }
15670
15695
  };
15671
15696
  }
@@ -15715,7 +15740,7 @@ const ic = /* @__PURE__ */ q({
15715
15740
  state: {}
15716
15741
  },
15717
15742
  setup(A) {
15718
- const e = A, g = P([]), t = P(!1), o = H(() => [
15743
+ const e = A, g = p([]), t = p(!1), o = H(() => [
15719
15744
  { field: "cDanju", title: PA("common.businessHistory.billNo"), minWidth: 100 },
15720
15745
  { field: "cDongzuo", title: PA("common.businessHistory.action"), minWidth: 80 },
15721
15746
  { field: "cModname", title: PA("common.businessHistory.moduleName"), minWidth: 100 },
@@ -15723,7 +15748,7 @@ const ic = /* @__PURE__ */ q({
15723
15748
  { field: "dCreate", title: PA("common.businessHistory.operationTime"), minWidth: 150 },
15724
15749
  { field: "cMethod", title: PA("common.businessHistory.interfaceMethod"), minWidth: 120 },
15725
15750
  { field: "cUrl", title: PA("common.businessHistory.interfaceUrl"), minWidth: 150 }
15726
- ]), s = P([]), n = P(""), B = P(!1), E = H(() => s.value.find((v) => v.cName === n.value)), c = H(() => {
15751
+ ]), s = p([]), n = p(""), B = p(!1), E = H(() => s.value.find((v) => v.cName === n.value)), c = H(() => {
15727
15752
  const v = E.value;
15728
15753
  if (!v) return [];
15729
15754
  try {
@@ -15737,7 +15762,7 @@ const ic = /* @__PURE__ */ q({
15737
15762
  } catch {
15738
15763
  return [];
15739
15764
  }
15740
- }), f = H(() => {
15765
+ }), w = H(() => {
15741
15766
  const v = E.value;
15742
15767
  if (!v) return [];
15743
15768
  try {
@@ -15784,7 +15809,7 @@ const ic = /* @__PURE__ */ q({
15784
15809
  }
15785
15810
  async function C({ row: v }) {
15786
15811
  if (!v.logUuid) {
15787
- p();
15812
+ P();
15788
15813
  return;
15789
15814
  }
15790
15815
  B.value = !0;
@@ -15808,13 +15833,13 @@ const ic = /* @__PURE__ */ q({
15808
15833
  const z = v[h];
15809
15834
  return z && typeof z == "object" && "value" in z ? z.value : z;
15810
15835
  }
15811
- function w() {
15836
+ function f() {
15812
15837
  D(), e.state.visible = !1;
15813
15838
  }
15814
15839
  function D() {
15815
- g.value = [], p();
15840
+ g.value = [], P();
15816
15841
  }
15817
- function p() {
15842
+ function P() {
15818
15843
  s.value = [], n.value = "";
15819
15844
  }
15820
15845
  return (v, h) => {
@@ -15827,7 +15852,7 @@ const ic = /* @__PURE__ */ q({
15827
15852
  footer: !1,
15828
15853
  "mask-closable": !0,
15829
15854
  "unmount-on-close": "",
15830
- onCancel: w
15855
+ onCancel: f
15831
15856
  }, {
15832
15857
  default: u(() => [
15833
15858
  r(R, {
@@ -15880,7 +15905,7 @@ const ic = /* @__PURE__ */ q({
15880
15905
  "show-overflow": "",
15881
15906
  "keep-source": "",
15882
15907
  size: "small",
15883
- data: f.value,
15908
+ data: w.value,
15884
15909
  loading: B.value,
15885
15910
  border: "inner",
15886
15911
  "max-height": "300px",
@@ -15911,7 +15936,7 @@ const ic = /* @__PURE__ */ q({
15911
15936
  }), te = /* @__PURE__ */ wA(ic, [["__scopeId", "data-v-73d7f187"]]);
15912
15937
  class NA {
15913
15938
  static instance;
15914
- _isLoading = P(!1);
15939
+ _isLoading = p(!1);
15915
15940
  /**
15916
15941
  * 当前是否处于加载状态(响应式)
15917
15942
  */