ss-component-new 1.3.683 → 1.3.684

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.
Files changed (74) hide show
  1. package/dist/{MTLLoader-DPHzTMwa.js → MTLLoader-DzMo1SNe.js} +102 -102
  2. package/dist/{URDFLoader-M-UG5-pR.js → URDFLoader-BAROJ9ka.js} +591 -586
  3. package/dist/{animationData-DRuHGkTO.js → animationData-CTWTDXsQ.js} +7 -7
  4. package/dist/{array-DjjQ0-_X.js → array-CRYq9Jxn.js} +13 -14
  5. package/dist/{clone-nUXh221j.js → clone-sAhQxdz5.js} +1 -1
  6. package/dist/{eleIcon-DlIcb4df.js → eleIcon-6RTuwqdk.js} +2 -2
  7. package/dist/fileUtil-UOt_otFo.js +20 -0
  8. package/dist/{iconfont-BhJBoU2I.js → iconfont-TorEaqH3.js} +125 -125
  9. package/dist/{index-CG1vGzHt.js → index--N4l6N1w.js} +1 -1
  10. package/dist/{index-B6x7nsvL.js → index-2gwwCj6d.js} +5 -5
  11. package/dist/{index-ChfKhYMO.js → index-9UYMNDVY.js} +24355 -24391
  12. package/dist/{index-Cl2tex39.js → index-B0BoH4wm.js} +163 -172
  13. package/dist/{index-R2i3Xnfq.js → index-B30aeKGM.js} +4 -4
  14. package/dist/index-B4nNFQS-.js +11779 -0
  15. package/dist/{index-CIoBc8yl.js → index-B8_ZqXDA.js} +60 -62
  16. package/dist/{index-zdWtzZvH.js → index-BCmMcLum.js} +7 -7
  17. package/dist/{index-rlStojTL.js → index-BFqUz4pN.js} +1 -1
  18. package/dist/{index-DlFmNKos.js → index-BKMAFsRN.js} +7 -8
  19. package/dist/{index-Dx-bFdbp.js → index-BRQACLz0.js} +8 -8
  20. package/dist/{index-DyOGhRxL.js → index-BZg5q_rs.js} +4 -4
  21. package/dist/{index-gFBsqsq6.js → index-Bkg9CQm3.js} +3 -3
  22. package/dist/{index-CM6CVZ_d.js → index-Bywqjsvo.js} +21513 -15029
  23. package/dist/{index-CzgY9rV-.js → index-BzT9veMM.js} +57 -61
  24. package/dist/{index-QdkaQuAk.js → index-C06Ba2iF.js} +2 -2
  25. package/dist/{index-CYspf59Y.js → index-C8LpAkhu.js} +8 -8
  26. package/dist/{index-BNDaeOZD.js → index-C9_Pcose.js} +40 -43
  27. package/dist/index-CGzlH16h.js +331 -0
  28. package/dist/{index-DewO44mx.js → index-COBZQS9O.js} +2 -2
  29. package/dist/{index-DkFpug1v.js → index-COV5ar9Q.js} +18 -20
  30. package/dist/{index-CJySKIdc.js → index-CvOCu8lX.js} +1 -1
  31. package/dist/{index-CnmXW-Bj.js → index-D-YGtSgX.js} +36 -40
  32. package/dist/{index-CJbdXJRV.js → index-D-_Ie1fO.js} +3 -3
  33. package/dist/{index-CccqT4-H.js → index-D2g9hX2c.js} +6 -6
  34. package/dist/{index-11kpzK0A.js → index-DJrzqi4-.js} +17 -17
  35. package/dist/{index-CKB74hmA.js → index-DUPQ7Cfd.js} +482 -483
  36. package/dist/{index-CsqopIxB.js → index-D_f48W32.js} +1078 -1079
  37. package/dist/{index-8KwwXnRD.js → index-DyoKmN7k.js} +3 -3
  38. package/dist/index-G2ZhOQG1.js +2623 -0
  39. package/dist/{index-BLFiId9N.js → index-TpycHQ-H.js} +5 -5
  40. package/dist/{index-BHtNKL1L.js → index-dD-mKgue.js} +2 -2
  41. package/dist/{index-CBL2Pg06.js → index-dcW2d4Zs.js} +5 -5
  42. package/dist/{index-Cpv5443J.js → index-hGjbrq0G.js} +4 -4
  43. package/dist/{index-DTjEPXdC.js → index-tLigeTzl.js} +76 -81
  44. package/dist/{index.vue_vue_type_script_setup_true_lang-DRzriV-s.js → index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js} +2 -2
  45. package/dist/{index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BsOR2Ig8.js → index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js} +50343 -56267
  46. package/dist/isString-DzMmG8uL.js +8 -0
  47. package/dist/{localIcon-D5UoFBU5.js → localIcon-CoJHw5ss.js} +1 -1
  48. package/dist/{main-C7zjHnDD.js → main-B27LAY78.js} +9 -9
  49. package/dist/{menuIndex-BE8WKQ_M.js → menuIndex-C_G8igKy.js} +1 -1
  50. package/dist/{request-DolpfyNJ.js → request-CllqY4TP.js} +3482 -3063
  51. package/dist/ss-component.css +3 -3
  52. package/dist/ss-component.js +14 -14
  53. package/dist/ss-component2.js +13 -13
  54. package/dist/ss-component3.js +1 -1
  55. package/dist/{threeModel-DiiHNAHL.js → threeModel-vX7holAy.js} +174 -174
  56. package/dist/{threePreview-Bu2Spume.js → threePreview-0iSlhKYj.js} +12 -12
  57. package/dist/{threeSceneView-DxeVIhrp.js → threeSceneView-D1dS9xmL.js} +49 -50
  58. package/dist/{threeSceneViewForCPMPIP-DPYmtlbM.js → threeSceneViewForCPMPIP-DWvkVqSw.js} +16 -17
  59. package/dist/{threeTrackPathView-fb0Ye-HT.js → threeTrackPathView-BzrYvQKg.js} +36 -36
  60. package/dist/{threeViewerHost-DHRT4ihY.js → threeViewerHost-BA3W7FKF.js} +36 -36
  61. package/dist/{urdfTree-CFaALNOQ.js → urdfTree-CZeEnUnE.js} +9 -9
  62. package/dist/{workpieceTreePanel-BxNqg9o9.js → workpieceTreePanel-BLWHbILu.js} +76 -80
  63. package/package.json +2 -4
  64. package/dist/JSEncrypt-B36c1iN5.js +0 -1983
  65. package/dist/icons/svg/method.svg +0 -1
  66. package/dist/index-BBzJ8BLa.js +0 -572
  67. package/dist/index-Ba8phnvt.js +0 -342
  68. package/dist/index-CBPXalBI.js +0 -15007
  69. package/dist/isString-h0UV2hrP.js +0 -8
  70. package/dist/obj/model.mtl +0 -42
  71. package/dist/obj/model.obj +0 -26110
  72. package/public/icons/svg/method.svg +0 -1
  73. package/public/obj/model.mtl +0 -42
  74. package/public/obj/model.obj +0 -26110
@@ -1,15 +1,14 @@
1
- import { createElementBlock as F, openBlock as L, createElementVNode as s, renderSlot as E, defineComponent as W, ref as _, resolveComponent as b, createVNode as t, withCtx as a, unref as P, reactive as le, computed as G, onMounted as me, createBlock as J, resolveDirective as ye, createCommentVNode as ae, withDirectives as he, normalizeClass as ie, toDisplayString as S, Transition as Ce, watch as ee, Fragment as we, createTextVNode as O, onBeforeUnmount as Te } from "vue";
1
+ import { openBlock as L, createElementBlock as D, createElementVNode as s, renderSlot as E, defineComponent as W, ref as _, resolveComponent as b, createVNode as t, withCtx as a, unref as P, reactive as le, computed as G, onMounted as me, createBlock as J, resolveDirective as ye, createCommentVNode as ae, normalizeClass as ie, toDisplayString as S, withDirectives as he, Transition as Ce, watch as ee, Fragment as we, createTextVNode as O, onBeforeUnmount as Te } from "vue";
2
2
  import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- import { b as ne, p as Q, s as se, u as ke, a as Ue, l as Ve, e as Le, v as $e } from "./index-CsqopIxB.js";
4
- import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
5
- import { c as qe, a as Ae, f as Ie, b as re, E as ce } from "./request-DolpfyNJ.js";
6
- import "./JSEncrypt-B36c1iN5.js";
7
- import { u as De } from "./index-DewO44mx.js";
8
- import { useRouter as Fe } from "vue-router";
9
- import { l as xe } from "./index-R2i3Xnfq.js";
3
+ import { b as ne, p as Q, s as se, u as ke, a as Ue, l as Ve, e as Le, v as $e } from "./index-D_f48W32.js";
4
+ import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
5
+ import { c as qe, a as Ae, f as Ie, b as re, E as ce } from "./request-CllqY4TP.js";
6
+ import { u as xe } from "./index-COBZQS9O.js";
7
+ import { useRouter as De } from "vue-router";
8
+ import { l as Fe } from "./index-B30aeKGM.js";
10
9
  const Re = {}, Ne = { class: "left-wrap" }, Se = { class: "left-bg" };
11
10
  function Ee(y, T) {
12
- return L(), F("div", Ne, [
11
+ return L(), D("div", Ne, [
13
12
  s("div", Se, [
14
13
  E(y.$slots, "img", {}, void 0, !0)
15
14
  ])
@@ -39,7 +38,7 @@ const Me = /* @__PURE__ */ H(Re, [["render", Ee], ["__scopeId", "data-v-9b7ee6c9
39
38
  };
40
39
  return (v, k) => {
41
40
  const f = b("el-button"), U = b("el-tab-pane"), V = b("el-tabs");
42
- return L(), F("div", Be, [
41
+ return L(), D("div", Be, [
43
42
  t(V, {
44
43
  modelValue: m.value,
45
44
  "onUpdate:modelValue": k[0] || (k[0] = (w) => m.value = w),
@@ -153,7 +152,7 @@ const Xe = () => ({ initUrlInfo: () => ({
153
152
  openDialog: n,
154
153
  handleClose: u
155
154
  }), (h, d) => {
156
- const x = b("el-input"), R = b("el-form-item"), M = b("el-col"), c = b("el-row"), $ = b("el-form"), N = b("el-dialog");
155
+ const F = b("el-input"), R = b("el-form-item"), M = b("el-col"), c = b("el-row"), $ = b("el-form"), N = b("el-dialog");
157
156
  return L(), J(N, {
158
157
  class: "api-form-dialog",
159
158
  modelValue: o.value,
@@ -162,7 +161,7 @@ const Xe = () => ({ initUrlInfo: () => ({
162
161
  "destroy-on-close": "",
163
162
  "show-close": !1
164
163
  }, {
165
- header: a(() => d[3] || (d[3] = [])),
164
+ header: a(() => [...d[3] || (d[3] = [])]),
166
165
  default: a(() => [
167
166
  s("div", Ge, [
168
167
  s("div", Je, [
@@ -184,7 +183,7 @@ const Xe = () => ({ initUrlInfo: () => ({
184
183
  "label-position": "top"
185
184
  }, {
186
185
  default: a(() => [
187
- t(x, {
186
+ t(F, {
188
187
  modelValue: f.value.host,
189
188
  "onUpdate:modelValue": d[0] || (d[0] = (I) => f.value.host = I),
190
189
  "aria-label": "主机名",
@@ -204,7 +203,7 @@ const Xe = () => ({ initUrlInfo: () => ({
204
203
  "label-position": "top"
205
204
  }, {
206
205
  default: a(() => [
207
- t(x, {
206
+ t(F, {
208
207
  modelValue: f.value.port,
209
208
  "onUpdate:modelValue": d[1] || (d[1] = (I) => f.value.port = I),
210
209
  "aria-label": "端口",
@@ -281,10 +280,10 @@ const Xe = () => ({ initUrlInfo: () => ({
281
280
  let r = null;
282
281
  const u = G(() => o.value === "success" ? "重启成功!" : o.value === "timeout" ? "连接超时" : "正在应用配置并等待服务重新启动中..."), A = G(() => o.value === "success" ? "服务已恢复,配置已生效" : o.value === "timeout" ? "超过最大等待时间,请手动检查服务状态" : "请稍后" + ".".repeat(n.value));
283
282
  let h = null, d = null;
284
- const x = () => {
283
+ const F = () => {
285
284
  r && (clearInterval(r), r = null);
286
285
  }, R = () => {
287
- h && (clearInterval(h), h = null), d && (clearInterval(d), d = null), x();
286
+ h && (clearInterval(h), h = null), d && (clearInterval(d), d = null), F();
288
287
  }, M = () => {
289
288
  i.value = 0;
290
289
  let g = 0;
@@ -298,7 +297,7 @@ const Xe = () => ({ initUrlInfo: () => ({
298
297
  n.value = n.value >= 3 ? 1 : n.value + 1;
299
298
  }, 500);
300
299
  }, $ = () => {
301
- x();
300
+ F();
302
301
  const g = setInterval(() => {
303
302
  i.value = Math.min(i.value + 3, 100), i.value >= 100 && (clearInterval(g), o.value = "success");
304
303
  }, 30);
@@ -338,17 +337,17 @@ const Xe = () => ({ initUrlInfo: () => ({
338
337
  await ((g = k.value) == null ? void 0 : g.validate());
339
338
  try {
340
339
  V.value = !0;
341
- const D = { databaseType: e.databaseType };
342
- e.databaseType === "sqlite" ? D.sqliteDir = e.sqliteDir.trim() : (D.user = e.user.trim(), D.host = e.host.trim(), D.database = e.database.trim(), D.password = e.password, D.port = Number(e.port)), await re.post(C.value + "/platform/config/db", D), w.value = !0, o.value = "running", M(), c(), setTimeout(N, 1e3);
343
- } catch (D) {
344
- const B = ((K = (l = D == null ? void 0 : D.response) == null ? void 0 : l.data) == null ? void 0 : K.message) || "保存失败,请重试";
340
+ const x = { databaseType: e.databaseType };
341
+ e.databaseType === "sqlite" ? x.sqliteDir = e.sqliteDir.trim() : (x.user = e.user.trim(), x.host = e.host.trim(), x.database = e.database.trim(), x.password = e.password, x.port = Number(e.port)), await re.post(C.value + "/platform/config/db", x), w.value = !0, o.value = "running", M(), c(), setTimeout(N, 1e3);
342
+ } catch (x) {
343
+ const B = ((K = (l = x == null ? void 0 : x.response) == null ? void 0 : l.data) == null ? void 0 : K.message) || "保存失败,请重试";
345
344
  ce.error(B);
346
345
  } finally {
347
346
  V.value = !1;
348
347
  }
349
348
  };
350
349
  return T({ openDialog: te, handleClose: j }), (g, l) => {
351
- const K = b("el-icon"), D = b("el-progress"), B = b("el-input"), z = b("el-form-item"), oe = b("el-col"), de = b("el-row"), ge = b("el-form"), _e = b("el-dialog"), be = ye("loading");
350
+ const K = b("el-icon"), x = b("el-progress"), B = b("el-input"), z = b("el-form-item"), oe = b("el-col"), de = b("el-row"), ge = b("el-form"), _e = b("el-dialog"), be = ye("loading");
352
351
  return L(), J(_e, {
353
352
  class: "db-config-dialog",
354
353
  modelValue: f.value,
@@ -367,8 +366,8 @@ const Xe = () => ({ initUrlInfo: () => ({
367
366
  ])
368
367
  ]),
369
368
  default: a(() => [
370
- w.value ? (L(), F("div", lt, [
371
- o.value !== "running" ? (L(), F("div", {
369
+ w.value ? (L(), D("div", lt, [
370
+ o.value !== "running" ? (L(), D("div", {
372
371
  key: 0,
373
372
  class: ie(["restart-icon-wrap", { success: o.value === "success", error: o.value === "timeout" }])
374
373
  }, [
@@ -392,7 +391,7 @@ const Xe = () => ({ initUrlInfo: () => ({
392
391
  ], 2)) : ae("", !0),
393
392
  s("div", st, S(u.value), 1),
394
393
  s("div", nt, S(A.value), 1),
395
- t(D, {
394
+ t(x, {
396
395
  class: "restart-progress",
397
396
  percentage: Math.round(i.value),
398
397
  status: o.value === "success" ? "success" : o.value === "timeout" ? "exception" : "",
@@ -406,22 +405,22 @@ const Xe = () => ({ initUrlInfo: () => ({
406
405
  modelValue: o.value === "success" ? "确定" : "关闭",
407
406
  buttonType: o.value === "success" ? "primary" : "info"
408
407
  }, null, 8, ["modelValue", "buttonType"])) : ae("", !0)
409
- ])) : he((L(), F("div", it, [
408
+ ])) : he((L(), D("div", it, [
410
409
  s("div", rt, [
411
410
  s("div", {
412
411
  class: ie(["db-type-card", { active: e.databaseType === "sqlite" }]),
413
412
  onClick: l[0] || (l[0] = (q) => e.databaseType = "sqlite")
414
- }, l[10] || (l[10] = [
413
+ }, [...l[10] || (l[10] = [
415
414
  s("span", { class: "db-label" }, "SQLite", -1),
416
415
  s("span", { class: "db-desc" }, "本地文件数据库", -1)
417
- ]), 2),
416
+ ])], 2),
418
417
  s("div", {
419
418
  class: ie(["db-type-card", { active: e.databaseType === "pgsql" }]),
420
419
  onClick: l[1] || (l[1] = (q) => e.databaseType = "pgsql")
421
- }, l[11] || (l[11] = [
420
+ }, [...l[11] || (l[11] = [
422
421
  s("span", { class: "db-label" }, "PostgreSQL", -1),
423
422
  s("span", { class: "db-desc" }, "远程关系型数据库", -1)
424
- ]), 2)
423
+ ])], 2)
425
424
  ]),
426
425
  t(ge, {
427
426
  ref_key: "formRef",
@@ -437,7 +436,7 @@ const Xe = () => ({ initUrlInfo: () => ({
437
436
  mode: "out-in"
438
437
  }, {
439
438
  default: a(() => [
440
- e.databaseType === "sqlite" ? (L(), F("div", ct, [
439
+ e.databaseType === "sqlite" ? (L(), D("div", ct, [
441
440
  t(z, {
442
441
  label: "数据库目录",
443
442
  prop: "sqliteDir"
@@ -461,10 +460,9 @@ const Xe = () => ({ initUrlInfo: () => ({
461
460
  }, 8, ["modelValue"]),
462
461
  l[12] || (l[12] = s("div", { class: "field-hint" }, "相对于后端 exe 所在目录的路径", -1))
463
462
  ]),
464
- _: 1,
465
- __: [12]
463
+ _: 1
466
464
  })
467
- ])) : (L(), F("div", ut, [
465
+ ])) : (L(), D("div", ut, [
468
466
  t(de, { gutter: 16 }, {
469
467
  default: a(() => [
470
468
  t(oe, { span: 16 }, {
@@ -578,7 +576,7 @@ const Xe = () => ({ initUrlInfo: () => ({
578
576
  ])
579
577
  ]),
580
578
  footer: a(() => [
581
- w.value ? ae("", !0) : (L(), F("div", dt, [
579
+ w.value ? ae("", !0) : (L(), D("div", dt, [
582
580
  t(Y, {
583
581
  emptyColor: !0,
584
582
  onClickTrigger: j,
@@ -648,7 +646,7 @@ const Xe = () => ({ initUrlInfo: () => ({
648
646
  };
649
647
  return (i, o) => {
650
648
  const n = b("svg-icon"), r = b("el-input"), u = b("el-form-item"), A = b("el-form"), h = b("el-link");
651
- return L(), F(we, null, [
649
+ return L(), D(we, null, [
652
650
  s("div", vt, [
653
651
  t(A, {
654
652
  model: p,
@@ -714,22 +712,20 @@ const Xe = () => ({ initUrlInfo: () => ({
714
712
  type: "primary",
715
713
  onClick: f
716
714
  }, {
717
- default: a(() => o[2] || (o[2] = [
718
- O("接口地址")
719
- ])),
720
- _: 1,
721
- __: [2]
715
+ default: a(() => [...o[2] || (o[2] = [
716
+ O("接口地址", -1)
717
+ ])]),
718
+ _: 1
722
719
  }),
723
720
  t(h, {
724
721
  class: "db-button",
725
722
  type: "primary",
726
723
  onClick: w
727
724
  }, {
728
- default: a(() => o[3] || (o[3] = [
729
- O("数据库配置")
730
- ])),
731
- _: 1,
732
- __: [3]
725
+ default: a(() => [...o[3] || (o[3] = [
726
+ O("数据库配置", -1)
727
+ ])]),
728
+ _: 1
733
729
  })
734
730
  ])
735
731
  ]),
@@ -756,7 +752,7 @@ const Xe = () => ({ initUrlInfo: () => ({
756
752
  setup(y, { emit: T }) {
757
753
  const m = y, p = T;
758
754
  ne(Q);
759
- const { initVerify: C } = De(), e = _(null), v = _(null);
755
+ const { initVerify: C } = xe(), e = _(null), v = _(null);
760
756
  let k = !1, f = null;
761
757
  const U = async (n) => {
762
758
  if (!n)
@@ -775,8 +771,8 @@ const Xe = () => ({ initUrlInfo: () => ({
775
771
  return;
776
772
  const n = v.value, r = n.getContext("2d"), u = e.value;
777
773
  n.width = 200, n.height = 200;
778
- const A = u.videoWidth || 640, h = u.videoHeight || 480, d = Math.min(200 / A, 200 / h), x = A * d, R = h * d, M = (200 - x) / 2, c = (200 - R) / 2;
779
- r == null || r.drawImage(u, 0, 0, A, h, M, c, x, R), n.toBlob(($) => {
774
+ const A = u.videoWidth || 640, h = u.videoHeight || 480, d = Math.min(200 / A, 200 / h), F = A * d, R = h * d, M = (200 - F) / 2, c = (200 - R) / 2;
775
+ r == null || r.drawImage(u, 0, 0, A, h, M, c, F, R), n.toBlob(($) => {
780
776
  if ($) {
781
777
  const N = new File([$], "face.png", { type: "image/png" });
782
778
  U(N);
@@ -819,7 +815,7 @@ const Xe = () => ({ initUrlInfo: () => ({
819
815
  }
820
816
  }), Te(() => {
821
817
  o();
822
- }), (n, r) => (L(), F("div", yt, [
818
+ }), (n, r) => (L(), D("div", yt, [
823
819
  s("div", ht, [
824
820
  s("video", {
825
821
  class: "face-video",
@@ -846,7 +842,7 @@ const Xe = () => ({ initUrlInfo: () => ({
846
842
  }), wt = /* @__PURE__ */ H(Ct, [["__scopeId", "data-v-b64bc91c"]]), Tt = { class: "login-wrap" }, kt = { class: "login-body" }, Ut = { class: "login-body-item left" }, Vt = { class: "title" }, Lt = { class: "first-level" }, $t = {
847
843
  key: 0,
848
844
  class: "logo"
849
- }, qt = ["src"], At = { class: "english-name" }, It = { class: "login-body-item right" }, Dt = /* @__PURE__ */ W({
845
+ }, qt = ["src"], At = { class: "english-name" }, It = { class: "login-body-item right" }, xt = /* @__PURE__ */ W({
850
846
  __name: "index",
851
847
  props: {
852
848
  oldSystemKey: {},
@@ -854,7 +850,7 @@ const Xe = () => ({ initUrlInfo: () => ({
854
850
  },
855
851
  emits: ["change", "projectLogin", "updateApiUrl", "systemContent"],
856
852
  setup(y, { emit: T }) {
857
- const m = y, p = Fe(), C = T, e = ke(Q), v = Ue(Q), { refreshLogin: k } = se(v), f = ne(Q), { systemInfo: U, loginUserInfo: V } = se(f), w = async (c) => {
853
+ const m = y, p = De(), C = T, e = ke(Q), v = Ue(Q), { refreshLogin: k } = se(v), f = ne(Q), { systemInfo: U, loginUserInfo: V } = se(f), w = async (c) => {
858
854
  const $ = await Le({
859
855
  url: c
860
856
  });
@@ -892,14 +888,14 @@ const Xe = () => ({ initUrlInfo: () => ({
892
888
  }), n = _("account"), r = _(!1), u = _(!1), A = () => {
893
889
  r.value = !0;
894
890
  }, h = (c, $) => {
895
- r.value = !1, c && x($);
891
+ r.value = !1, c && F($);
896
892
  }, d = async () => (sessionStorage.setItem("loginToken", "111"), !0);
897
893
  me(async () => {
898
894
  await d();
899
895
  });
900
- const x = async (c) => {
896
+ const F = async (c) => {
901
897
  var N, I, te, X;
902
- if (u.value = !0, await xe(c)) {
898
+ if (u.value = !0, await Fe(c)) {
903
899
  C("projectLogin", c);
904
900
  let j = await $e();
905
901
  C("systemContent", j == null ? void 0 : j.allMenuContents), p.push("/"), f.setLogRecordAsync({
@@ -917,7 +913,7 @@ const Xe = () => ({ initUrlInfo: () => ({
917
913
  () => m == null ? void 0 : m.loginContent,
918
914
  () => {
919
915
  let c = m == null ? void 0 : m.loginContent;
920
- c != null && c.account && (c != null && c.password) && !k.value && x(c);
916
+ c != null && c.account && (c != null && c.password) && !k.value && F(c);
921
917
  },
922
918
  { deep: !0, immediate: !0 }
923
919
  );
@@ -926,7 +922,7 @@ const Xe = () => ({ initUrlInfo: () => ({
926
922
  }, M = (c) => {
927
923
  C("updateApiUrl", c);
928
924
  };
929
- return (c, $) => (L(), F("div", Tt, [
925
+ return (c, $) => (L(), D("div", Tt, [
930
926
  s("div", kt, [
931
927
  s("div", Ut, [
932
928
  t(Me, { class: "login-left-bg" }, {
@@ -935,7 +931,7 @@ const Xe = () => ({ initUrlInfo: () => ({
935
931
  return [
936
932
  s("div", Vt, [
937
933
  s("div", Lt, [
938
- i.value ? (L(), F("div", $t, [
934
+ i.value ? (L(), D("div", $t, [
939
935
  s("img", {
940
936
  src: i.value,
941
937
  alt: ""
@@ -979,7 +975,7 @@ const Xe = () => ({ initUrlInfo: () => ({
979
975
  ]),
980
976
  tabContent2: a(() => [
981
977
  t(wt, {
982
- systemKey: c.oldSystemKey,
978
+ systemKey: y.oldSystemKey,
983
979
  activeTabName: n.value,
984
980
  isClickLogin: r.value,
985
981
  onHandleLoginFormChange: h
@@ -994,7 +990,7 @@ const Xe = () => ({ initUrlInfo: () => ({
994
990
  ])
995
991
  ]));
996
992
  }
997
- }), Pt = /* @__PURE__ */ H(Dt, [["__scopeId", "data-v-43bcd58d"]]);
993
+ }), Ot = /* @__PURE__ */ H(xt, [["__scopeId", "data-v-43bcd58d"]]);
998
994
  export {
999
- Pt as default
995
+ Ot as default
1000
996
  };
@@ -1,6 +1,6 @@
1
1
  import { watch as n } from "vue";
2
- import { s as o, b as p, p as u } from "./index-CsqopIxB.js";
3
- import { s as r } from "./request-DolpfyNJ.js";
2
+ import { s as o, b as p, p as u } from "./index-D_f48W32.js";
3
+ import { s as r } from "./request-CllqY4TP.js";
4
4
  const m = p(u), { systemUrl: a } = o(m);
5
5
  let e = a.value === "" || !a.value ? "http://222.92.178.198:63002" : a.value;
6
6
  n(
@@ -1,12 +1,12 @@
1
- import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as p, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
2
- import { S as I, t as x, s as w, a as L } from "./index-BBzJ8BLa.js";
3
- import "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BsOR2Ig8.js";
4
- import "./index-BHtNKL1L.js";
5
- import { f as E } from "./index-CM6CVZ_d.js";
6
- import "./index-CKB74hmA.js";
7
- import { b as N, s as U } from "./index-CsqopIxB.js";
8
- import "./request-DolpfyNJ.js";
1
+ import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, openBlock as u, createElementBlock as y, createElementVNode as t, withDirectives as p, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
2
+ import { S as I, t as x, s as w, a as L } from "./index-G2ZhOQG1.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js";
4
+ import "./index-dD-mKgue.js";
5
+ import { f as E } from "./index-Bywqjsvo.js";
6
+ import { b as N, s as U } from "./index-D_f48W32.js";
9
7
  /* empty css */
8
+ import "./index-DUPQ7Cfd.js";
9
+ import "./request-CllqY4TP.js";
10
10
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
12
12
  __name: "index",
@@ -1,9 +1,9 @@
1
- import { ref as v, computed as Ce, defineComponent as Ve, onMounted as Ae, reactive as ze, resolveComponent as u, createElementBlock as P, openBlock as _, createElementVNode as s, createVNode as o, unref as c, withCtx as i, createTextVNode as N, toDisplayString as le, Fragment as oe, renderList as se, withModifiers as xe, createBlock as re, createCommentVNode as qe } from "vue";
2
- import { g as Ue, d as Ge, u as Oe, c as Me, a as Re, b as Fe } from "./index-QdkaQuAk.js";
3
- import { B as Qe, E as $e, K as we, c as Ye, r as je, u as Ke, p as Ze } from "./index-CsqopIxB.js";
4
- import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
5
- import { s as He } from "./index-11kpzK0A.js";
6
- import { _ as Je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
1
+ import { ref as v, computed as Ce, defineComponent as Ve, onMounted as Ae, reactive as ze, resolveComponent as u, openBlock as _, createElementBlock as P, createElementVNode as s, createVNode as o, unref as c, withCtx as i, createTextVNode as N, toDisplayString as le, Fragment as oe, renderList as se, withModifiers as qe, createBlock as re, createCommentVNode as xe } from "vue";
2
+ import { g as Ue, d as Ge, u as Oe, c as Me, a as Re, b as Fe } from "./index-C06Ba2iF.js";
3
+ import { A as Qe, E as $e, J as we, c as Ye, q as je, u as Je, p as Ze } from "./index-D_f48W32.js";
4
+ import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
5
+ import { s as He } from "./index-DJrzqi4-.js";
6
+ import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const G = {
8
8
  COMPANY: {
9
9
  label: "公司",
@@ -94,7 +94,7 @@ const G = {
94
94
  var n;
95
95
  const t = await Re(e);
96
96
  return ((n = t == null ? void 0 : t.data) == null ? void 0 : n.result) || [];
97
- }, K = async () => {
97
+ }, J = async () => {
98
98
  const e = {
99
99
  platId: b.value
100
100
  }, t = await j(e);
@@ -126,16 +126,16 @@ const G = {
126
126
  platId: b.value,
127
127
  changeDepartmentData: t
128
128
  };
129
- }, x = async (e) => {
129
+ }, q = async (e) => {
130
130
  delete e.department_id;
131
131
  const t = z(e);
132
132
  await Me(t);
133
133
  }, H = async (e) => {
134
- await x(e);
134
+ await q(e);
135
135
  }, y = async (e) => {
136
136
  const t = z(e);
137
137
  await Oe(t);
138
- }, J = async (e) => {
138
+ }, K = async (e) => {
139
139
  await y(e);
140
140
  }, W = async (e) => {
141
141
  const { department_id: t } = e, n = {
@@ -166,12 +166,12 @@ const G = {
166
166
  convertPageInfoToRequestData: A,
167
167
  initGetByPage: Y,
168
168
  departmentTree: E,
169
- initDepartmentTree: K,
169
+ initDepartmentTree: J,
170
170
  hasDepartmentEditAuth: R,
171
171
  initDepartmentConfig: F,
172
172
  initDepartmentItem: Z,
173
173
  initCreate: H,
174
- initUpdate: J,
174
+ initUpdate: K,
175
175
  initDelete: X,
176
176
  initGetParentByType: async (e) => {
177
177
  const t = {
@@ -196,7 +196,7 @@ const G = {
196
196
  value: "department_id",
197
197
  label: "name",
198
198
  children: "children"
199
- }, d = Ke(Ze), {
199
+ }, d = Je(Ze), {
200
200
  queryInfo: k,
201
201
  resetQuery: M,
202
202
  departmentTree: T,
@@ -215,7 +215,7 @@ const G = {
215
215
  getTypeLabel: Y,
216
216
  isCompany: E,
217
217
  getStatusLabelByValue: j,
218
- getStatusTagByValue: K
218
+ getStatusTagByValue: J
219
219
  } = tt(), C = v(), Z = Ce(() => {
220
220
  var l;
221
221
  return (l = C.value) == null ? void 0 : l.department_id;
@@ -223,13 +223,13 @@ const G = {
223
223
  C.value = l, d.setImportLoading(!0), y().finally(() => {
224
224
  d.setImportLoading(!1);
225
225
  });
226
- }, x = v([]), H = async () => {
226
+ }, q = v([]), H = async () => {
227
227
  var p;
228
228
  const l = await L((p = C.value) == null ? void 0 : p.department_id), { departmentData: a = [] } = l;
229
229
  return a;
230
230
  }, y = async () => {
231
- x.value = await H();
232
- }, J = (l) => {
231
+ q.value = await H();
232
+ }, K = (l) => {
233
233
  F(l), d.setImportLoading(!0), y().finally(() => {
234
234
  d.setImportLoading(!1);
235
235
  });
@@ -315,7 +315,7 @@ const G = {
315
315
  };
316
316
  return (l, a) => {
317
317
  var ye, _e, be, De;
318
- const p = u("el-tree"), I = u("el-input"), te = u("el-button"), q = u("el-table-column"), Pe = u("el-tag"), Ne = u("el-table"), ke = u("el-pagination"), ae = u("el-form-item"), ne = u("el-col"), ge = u("el-option"), fe = u("el-select"), ve = u("el-row"), Se = u("el-form");
318
+ const p = u("el-tree"), I = u("el-input"), te = u("el-button"), x = u("el-table-column"), Pe = u("el-tag"), Ne = u("el-table"), ke = u("el-pagination"), ae = u("el-form-item"), ne = u("el-col"), ge = u("el-option"), fe = u("el-select"), ve = u("el-row"), Se = u("el-form");
319
319
  return _(), P("div", at, [
320
320
  a[11] || (a[11] = s("div", { class: "header" }, [
321
321
  s("div", { class: "header-left" }),
@@ -349,22 +349,20 @@ const G = {
349
349
  type: "primary",
350
350
  onClick: y
351
351
  }, {
352
- default: i(() => a[5] || (a[5] = [
353
- N("查询")
354
- ])),
355
- _: 1,
356
- __: [5]
352
+ default: i(() => [...a[5] || (a[5] = [
353
+ N("查询", -1)
354
+ ])]),
355
+ _: 1
357
356
  }),
358
357
  o(te, {
359
358
  type: "primary",
360
359
  plain: "",
361
360
  onClick: X
362
361
  }, {
363
- default: i(() => a[6] || (a[6] = [
364
- N("重置")
365
- ])),
366
- _: 1,
367
- __: [6]
362
+ default: i(() => [...a[6] || (a[6] = [
363
+ N("重置", -1)
364
+ ])]),
365
+ _: 1
368
366
  })
369
367
  ]),
370
368
  s("div", it, [
@@ -372,27 +370,26 @@ const G = {
372
370
  type: "primary",
373
371
  onClick: a[1] || (a[1] = (r) => ce())
374
372
  }, {
375
- default: i(() => a[7] || (a[7] = [
376
- N("新增部门")
377
- ])),
378
- _: 1,
379
- __: [7]
373
+ default: i(() => [...a[7] || (a[7] = [
374
+ N("新增部门", -1)
375
+ ])]),
376
+ _: 1
380
377
  })
381
378
  ])
382
379
  ]),
383
380
  s("div", dt, [
384
381
  o(Ne, {
385
382
  class: "department-table",
386
- data: x.value,
383
+ data: q.value,
387
384
  "empty-text": ""
388
385
  }, {
389
386
  default: i(() => [
390
- o(q, {
387
+ o(x, {
391
388
  prop: "name",
392
389
  label: "名称",
393
390
  align: "center"
394
391
  }),
395
- o(q, {
392
+ o(x, {
396
393
  prop: "type",
397
394
  label: "分类",
398
395
  align: "center"
@@ -402,7 +399,7 @@ const G = {
402
399
  ]),
403
400
  _: 1
404
401
  }),
405
- o(q, {
402
+ o(x, {
406
403
  prop: "status",
407
404
  label: "状态",
408
405
  align: "center"
@@ -410,7 +407,7 @@ const G = {
410
407
  default: i((r) => [
411
408
  o(Pe, {
412
409
  class: "status-tag",
413
- type: c(K)(r.row.status),
410
+ type: c(J)(r.row.status),
414
411
  title: "点击切换",
415
412
  onClick: (U) => Ee(r.row)
416
413
  }, {
@@ -422,7 +419,7 @@ const G = {
422
419
  ]),
423
420
  _: 1
424
421
  }),
425
- o(q, {
422
+ o(x, {
426
423
  label: "操作",
427
424
  align: "center"
428
425
  }, {
@@ -431,7 +428,7 @@ const G = {
431
428
  (_(!0), P(oe, null, se(c(Xe), (U) => (_(), P("div", {
432
429
  class: "operate-item",
433
430
  key: U.value,
434
- onClick: xe((bt) => de(U, r), ["stop"])
431
+ onClick: qe((bt) => de(U, r), ["stop"])
435
432
  }, le(U.label), 9, ut))), 128))
436
433
  ])
437
434
  ]),
@@ -444,7 +441,7 @@ const G = {
444
441
  a[8] || (a[8] = s("div", null, null, -1)),
445
442
  o(ke, {
446
443
  onSizeChange: W,
447
- onCurrentChange: J,
444
+ onCurrentChange: K,
448
445
  "current-page": (ye = c(h)) == null ? void 0 : ye.pageNum,
449
446
  "page-sizes": (_e = c(h)) == null ? void 0 : _e.pageSizes,
450
447
  "page-size": ((be = c(h)) == null ? void 0 : be.pageSize) ?? 10,
@@ -579,7 +576,7 @@ const G = {
579
576
  })
580
577
  ]),
581
578
  _: 1
582
- })) : qe("", !0)
579
+ })) : xe("", !0)
583
580
  ]),
584
581
  _: 1
585
582
  })
@@ -616,7 +613,7 @@ const G = {
616
613
  ]);
617
614
  };
618
615
  }
619
- }), Lt = /* @__PURE__ */ Je(_t, [["__scopeId", "data-v-80962709"]]);
616
+ }), Lt = /* @__PURE__ */ Ke(_t, [["__scopeId", "data-v-80962709"]]);
620
617
  export {
621
618
  Lt as default
622
619
  };