ss-component-new 1.3.310 → 1.3.311

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 (109) hide show
  1. package/dist/{MTLLoader-OzB6aQ1J.cjs → MTLLoader-B_CVjRD3.cjs} +1 -1
  2. package/dist/{MTLLoader-CIEnVGmG.js → MTLLoader-EqTvrYY4.js} +1 -1
  3. package/dist/{OrbitControls-AFlrwr_K.js → OrbitControls-BWEzwfsj.js} +1 -1
  4. package/dist/{OrbitControls-DkGe2Ptd.cjs → OrbitControls-CVBaqbnl.cjs} +1 -1
  5. package/dist/{URDFLoader-SQ3u-Q_8.js → URDFLoader-CBgIAY7r.js} +2 -2
  6. package/dist/{URDFLoader-DSqxUYRw.cjs → URDFLoader-CjlI08WF.cjs} +1 -1
  7. package/dist/{animationData-DEAc-sVN.js → animationData-3_m7lLjY.js} +3 -3
  8. package/dist/{animationData-B6OfhxX7.cjs → animationData-BW0tyNwK.cjs} +1 -1
  9. package/dist/{array-CAaog6qg.cjs → array-6JGphca2.cjs} +1 -1
  10. package/dist/{array-Ydde3r7w.js → array-pCdPCkFk.js} +4 -4
  11. package/dist/{clone-7AmADFiU.js → clone-BRPsYo3q.js} +1 -1
  12. package/dist/clone-YEtL4Hc_.cjs +1 -0
  13. package/dist/{dayjs.min-DTIKCUrF.js → dayjs.min-BztxmKP_.js} +1 -1
  14. package/dist/{dayjs.min-CJNj6LcW.cjs → dayjs.min-CDrjrMM0.cjs} +1 -1
  15. package/dist/{iconfont--3ZMb9Aj.js → iconfont-CKIwR3b9.js} +2 -2
  16. package/dist/{iconfont-dsQaI5I4.cjs → iconfont-SFIwTxFE.cjs} +1 -1
  17. package/dist/{index-EMsSHq7U.cjs → index--x3Xyi1Z.cjs} +1 -1
  18. package/dist/{index-BhadNQIa.cjs → index-3pCLleMh.cjs} +1 -1
  19. package/dist/{index-DJnMQzMz.cjs → index-6ZtJKzRc.cjs} +1 -1
  20. package/dist/{index-DL9VQs02.js → index-7qukfzO5.js} +2 -2
  21. package/dist/{index-U9njmngc.cjs → index-9noobS53.cjs} +1 -1
  22. package/dist/{index-DSJJfH49.cjs → index-B-T8_bdu.cjs} +1 -1
  23. package/dist/{index-CT1fhrt6.js → index-B0SellVu.js} +9 -9
  24. package/dist/{index-2KYbe_7L.js → index-B52ZLLQv.js} +2 -2
  25. package/dist/{index-CyD2ZGI0.js → index-BF9aAYMR.js} +2 -2
  26. package/dist/{index-CGaMJ1tM.cjs → index-BK0gH8VF.cjs} +1 -1
  27. package/dist/{index-DBrsZqeh.cjs → index-BLjQR-pc.cjs} +1 -1
  28. package/dist/{index-wZ9pUfoa.js → index-BMYgC8uY.js} +2 -2
  29. package/dist/{index-D2crrlxW.js → index-BiDRxcDB.js} +6 -6
  30. package/dist/{index-CFZ-f-2F.cjs → index-BjBmRkcU.cjs} +1 -1
  31. package/dist/{index-CQGipCwR.js → index-Bjkw2zNs.js} +3 -3
  32. package/dist/{index-hLwB_v-A.cjs → index-BkL1aC6N.cjs} +1 -1
  33. package/dist/{index-ClBVw2TK.js → index-BmgVXwns.js} +3 -3
  34. package/dist/{index-B3t77A1L.cjs → index-BnAQib1R.cjs} +1 -1
  35. package/dist/{index-D6-Yrm0v.cjs → index-BpBeXMIB.cjs} +1 -1
  36. package/dist/{index-Ciy-wUsx.js → index-BqamFGum.js} +3379 -3347
  37. package/dist/{index-DeiDI-1m.cjs → index-BzWVTbrh.cjs} +1 -1
  38. package/dist/{index-DIR0HLgr.js → index-C0Yr99tK.js} +6 -6
  39. package/dist/{index-tH9fLWoV.js → index-C9rHbbYh.js} +2 -2
  40. package/dist/{index-krueaJgV.js → index-CE94hhEU.js} +9 -9
  41. package/dist/{index-Kt492P5R.cjs → index-CHAUkN76.cjs} +1 -1
  42. package/dist/{index-BesmmP6V.js → index-CKnb5PT-.js} +4 -4
  43. package/dist/{index-B2Bsxjo3.cjs → index-CLSz6naC.cjs} +1 -1
  44. package/dist/{index-6-ZsdeZD.js → index-CQvnxubl.js} +4 -4
  45. package/dist/{index-B0RsEw5m.cjs → index-CXyrdYv3.cjs} +1 -1
  46. package/dist/{index-FPHxJvUf.cjs → index-CaPpJ-X9.cjs} +1 -1
  47. package/dist/{index-BlLEla5k.cjs → index-Cm8Vk-AI.cjs} +1 -1
  48. package/dist/{index-DNV_O6Dc.js → index-Cn_-UXHQ.js} +1 -1
  49. package/dist/index-D7khcIZY.cjs +1 -0
  50. package/dist/{index-CRqblQs6.cjs → index-DD8E_nN2.cjs} +1 -1
  51. package/dist/{index-Di2VsnFa.js → index-DHw27kW-.js} +46 -40
  52. package/dist/{index-DqIM3shB.js → index-DIVvLDgI.js} +1 -1
  53. package/dist/{index-YmuGsjrw.cjs → index-DLUTpNTV.cjs} +1 -1
  54. package/dist/index-DQYpInRh.cjs +1 -0
  55. package/dist/{index-BU3Yohec.cjs → index-DWRBpEQC.cjs} +1 -1
  56. package/dist/{index-Cf2gp9fi.js → index-DYfVyol_.js} +3 -3
  57. package/dist/{index-Clae5SKB.cjs → index-DbjAoGwL.cjs} +1 -1
  58. package/dist/{index-DEHdaKzw.cjs → index-Dck5mho-.cjs} +1 -1
  59. package/dist/{index-CIuY1IfZ.js → index-DgqjkCDI.js} +1 -1
  60. package/dist/{index-CuPeKtNC.cjs → index-DiRLGrKr.cjs} +1 -1
  61. package/dist/{index-oAsacBj3.js → index-DpJ7w2uU.js} +2 -2
  62. package/dist/{index-D25spbOo.js → index-DtuwBR5e.js} +1 -1
  63. package/dist/{index-BuTyP2j6.js → index-Dzv_oSab.js} +1 -1
  64. package/dist/{index-4dur0sB4.js → index-E4jIAYIF.js} +4 -4
  65. package/dist/{index-D3oAYPfe.js → index-L1-Gc07u.js} +13 -13
  66. package/dist/{index-Dt6f0dss.cjs → index-R9ATh_A3.cjs} +1 -1
  67. package/dist/{index-BkS6ltPu.js → index-RMPdJ6EN.js} +1 -1
  68. package/dist/{index-17CQJTv4.cjs → index-aeATtKsA.cjs} +1 -1
  69. package/dist/{index-XSrc1sWV.js → index-jPuRLZP_.js} +4 -4
  70. package/dist/index-k5FIpfnl.js +666 -0
  71. package/dist/index-tPHtBO9e.cjs +2 -0
  72. package/dist/{index-r6mcGvmD.js → index-tq9Fe8Z6.js} +1 -1
  73. package/dist/{index-5EqtwNP3.cjs → index-x2yaioji.cjs} +1 -1
  74. package/dist/{index-DyBLFpRg.js → index-xYeo-ZaT.js} +1 -1
  75. package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DniaKXV9.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-GDPy2Gmg.js} +4 -4
  76. package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-D13dnI_4.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Y67ic07F.cjs} +1 -1
  77. package/dist/{main-CwH9qJVm.js → main-CUasxogy.js} +4 -4
  78. package/dist/{main-DdEjcQ4o.cjs → main-fRPJ6_5q.cjs} +1 -1
  79. package/dist/{menu-CN_Tf3mn.js → menu-BMnGyr1i.js} +1 -2
  80. package/dist/{menu-N76i05Ex.cjs → menu-D2crOMII.cjs} +4 -4
  81. package/dist/{menuIndex-CD5tqM1b.js → menuIndex-BDgRHAHX.js} +1 -1
  82. package/dist/{menuIndex-r6NllfjR.cjs → menuIndex-DHKljvlF.cjs} +1 -1
  83. package/dist/ss-component.cjs +1 -1
  84. package/dist/ss-component.css +1 -1
  85. package/dist/ss-component.js +12 -12
  86. package/dist/ss-component2.cjs +1 -1
  87. package/dist/ss-component2.js +12 -12
  88. package/dist/{threeModel-Uk6zD89R.cjs → threeModel-Bg53R3z6.cjs} +1 -1
  89. package/dist/{threeModel-BD7DSPW-.js → threeModel-CioVFv-c.js} +4 -4
  90. package/dist/{threePreview-BHGQBuXr.cjs → threePreview-BkjniUty.cjs} +1 -1
  91. package/dist/{threePreview-CZqaZ45g.js → threePreview-nKzZJCc7.js} +4 -4
  92. package/dist/{threeSceneView-wkRekazs.js → threeSceneView-BUfAKhsS.js} +14 -14
  93. package/dist/{threeSceneView-DN_qbrRS.cjs → threeSceneView-DfxrRHrX.cjs} +1 -1
  94. package/dist/{threeSceneViewForCPMPIP-mwU1RKVh.js → threeSceneViewForCPMPIP-BWEkrsQg.js} +8 -8
  95. package/dist/{threeSceneViewForCPMPIP-BztGaGm9.cjs → threeSceneViewForCPMPIP-CAHSSx5O.cjs} +1 -1
  96. package/dist/{threeTrackPathView-BQzCi_23.cjs → threeTrackPathView-VP-eZLrv.cjs} +1 -1
  97. package/dist/{threeTrackPathView-D6IuvNTn.js → threeTrackPathView-bL3sfLNY.js} +4 -4
  98. package/dist/{threeViewerHost-DsDxhyJb.js → threeViewerHost-Bcl4RBft.js} +3 -3
  99. package/dist/{threeViewerHost-BEzl0gjk.cjs → threeViewerHost-DaXhxauJ.cjs} +1 -1
  100. package/dist/{urdfTree-BoRXNADP.cjs → urdfTree-CIh17W2z.cjs} +1 -1
  101. package/dist/{urdfTree-6bW1rIxd.js → urdfTree-CV9Nz2mB.js} +1 -1
  102. package/dist/{workpieceTreePanel-BunFs5sL.cjs → workpieceTreePanel-BFXv5IT9.cjs} +1 -1
  103. package/dist/{workpieceTreePanel-BhCB5YyR.js → workpieceTreePanel-DlxoDyDg.js} +4 -4
  104. package/package.json +1 -1
  105. package/dist/clone-DR4pDnuw.cjs +0 -1
  106. package/dist/index-Bc-WLx7S.cjs +0 -1
  107. package/dist/index-BsmJfM3E.cjs +0 -2
  108. package/dist/index-DMv7whzL.cjs +0 -1
  109. package/dist/index-vcuXxLeo.js +0 -481
@@ -1,5 +1,5 @@
1
1
  import { ref as l, defineComponent as m, createElementBlock as f, openBlock as p, createElementVNode as e, createVNode as u, unref as t } from "vue";
2
- import { Z as C } from "./index-D3oAYPfe.js";
2
+ import { Z as C } from "./index-L1-Gc07u.js";
3
3
  import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const b = () => {
5
5
  const i = l("日志管理"), o = l(), a = l([
@@ -1 +1 @@
1
- "use strict";const p=require("vue"),n=require("./menu-N76i05Ex.cjs"),a=require("./request-BC2w2vGr.cjs"),u=n.useLoginState(n.pinia),{systemUrl:r}=n.storeToRefs(u);let t=r.value===""||!r.value?"http://222.92.178.198:63002":r.value;p.watch(()=>r.value,()=>{t=r.value===""||!r.value?"http://222.92.178.198:63002":r.value},{deep:!0,immediate:!0});function o(e){return a.service({url:`${t}/platform/getdata_department_tree`,method:"post",data:e})}function m(e){return a.service({url:`${t}/platform/getdata_department`,method:"post",data:e})}function i(e){return a.service({url:`${t}/platform/createdata_department`,method:"post",data:e})}function s(e){return a.service({url:`${t}/platform/updatedata_department`,method:"post",data:e})}function l(e){return a.service({url:`${t}/platform/deletedata_department`,method:"post",data:e})}function d(e){return a.service({url:`${t}/platform/getdata_department`,method:"post",data:e})}function c(e){return a.service({url:`${t}/platform/getdata_department_type`,method:"post",data:e})}async function g(e){return await c({platId:e})}async function f(e){return await g(e)}exports.createDepartment=i;exports.deleteDepartment=l;exports.getByPage=m;exports.getDepartmentOptions=f;exports.getDepartmentTree=o;exports.getParentByType=d;exports.updateDepartment=s;
1
+ "use strict";const p=require("vue"),n=require("./menu-D2crOMII.cjs"),a=require("./request-BC2w2vGr.cjs"),u=n.useLoginState(n.pinia),{systemUrl:r}=n.storeToRefs(u);let t=r.value===""||!r.value?"http://222.92.178.198:63002":r.value;p.watch(()=>r.value,()=>{t=r.value===""||!r.value?"http://222.92.178.198:63002":r.value},{deep:!0,immediate:!0});function o(e){return a.service({url:`${t}/platform/getdata_department_tree`,method:"post",data:e})}function m(e){return a.service({url:`${t}/platform/getdata_department`,method:"post",data:e})}function i(e){return a.service({url:`${t}/platform/createdata_department`,method:"post",data:e})}function s(e){return a.service({url:`${t}/platform/updatedata_department`,method:"post",data:e})}function l(e){return a.service({url:`${t}/platform/deletedata_department`,method:"post",data:e})}function d(e){return a.service({url:`${t}/platform/getdata_department`,method:"post",data:e})}function c(e){return a.service({url:`${t}/platform/getdata_department_type`,method:"post",data:e})}async function g(e){return await c({platId:e})}async function f(e){return await g(e)}exports.createDepartment=i;exports.deleteDepartment=l;exports.getByPage=m;exports.getDepartmentOptions=f;exports.getDepartmentTree=o;exports.getParentByType=d;exports.updateDepartment=s;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
2
- import { u as h, p as k, s as x, c as m } from "./menu-CN_Tf3mn.js";
3
- import { Z as M } from "./index-D3oAYPfe.js";
2
+ import { u as h, p as k, s as x, c as m } from "./menu-BMnGyr1i.js";
3
+ import { Z as M } from "./index-L1-Gc07u.js";
4
4
  import { a as D, d as T, f as S } from "./index-DxhNwr8X.js";
5
5
  import { g as w } from "./index-BsDMamej.js";
6
6
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -1,6 +1,6 @@
1
1
  import { ref as A, computed as c, onMounted as _ } from "vue";
2
2
  import { useRouter as g } from "vue-router";
3
- import { u as C, p as h, n as R, c as b, g as S, j as E } from "./menu-CN_Tf3mn.js";
3
+ import { u as C, p as h, n as R, c as b, g as S, j as E } from "./menu-BMnGyr1i.js";
4
4
  const l = {
5
5
  ALLOW: {
6
6
  value: "允许"
@@ -1,5 +1,5 @@
1
1
  import { ref as c, onMounted as p, watch as u, onUnmounted as f, createElementBlock as v, openBlock as m } from "vue";
2
- import { a9 as _ } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DniaKXV9.js";
2
+ import { a9 as _ } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-GDPy2Gmg.js";
3
3
  import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const z = {
5
5
  __name: "index",
@@ -1,9 +1,9 @@
1
1
  import { watch as ze, ref as v, computed as qe, defineComponent as Ue, onMounted as Ae, reactive as $e, resolveComponent as p, createElementBlock as ue, openBlock as pe, createElementVNode as i, createVNode as a, unref as f, withCtx as l, createTextVNode as C, toDisplayString as we, Fragment as Fe, renderList as Re, withModifiers as Me } from "vue";
2
2
  import { s as G, u as Ge, g as Qe } from "./request-CoGtW0Ux.js";
3
- import { f as de, w as Oe } from "./index-CyD2ZGI0.js";
4
- import { s as je, b as He, p as he, n as Je, g as Ke, c as We, u as Xe } from "./menu-CN_Tf3mn.js";
5
- import { E as Ye, f as be } from "./index-2KYbe_7L.js";
6
- import { f as Ze, i as et, e as tt, a as ot } from "./index-Cf2gp9fi.js";
3
+ import { f as de, w as Oe } from "./index-BF9aAYMR.js";
4
+ import { s as je, b as He, p as he, n as Je, g as Ke, c as We, u as Xe } from "./menu-BMnGyr1i.js";
5
+ import { E as Ye, f as be } from "./index-B52ZLLQv.js";
6
+ import { f as Ze, i as et, e as tt, a as ot } from "./index-DYfVyol_.js";
7
7
  import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
8
8
  import { s as at } from "./index-CnjGqJZS.js";
9
9
  import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -3,28 +3,28 @@ var sp = (a, r, l) => r in a ? np(a, r, { enumerable: !0, configurable: !0, writ
3
3
  var hi = (a, r, l) => sp(a, typeof r != "symbol" ? r + "" : r, l);
4
4
  import { ref as le, watch as yl, nextTick as Br, resolveComponent as _l, createBlock as hl, openBlock as ne, withCtx as Ne, createElementVNode as de, renderSlot as Yi, computed as ql, createElementBlock as qe, createCommentVNode as zl, normalizeClass as gi, toDisplayString as nl, defineComponent as Kr, onMounted as Ui, onUnmounted as qt, withModifiers as Er, createVNode as Ie, createTextVNode as kl, Fragment as Ml, renderList as Yl, onBeforeUnmount as Rs, normalizeStyle as qr, unref as Nl, createSlots as Wt, mergeProps as Kt, resolveDynamicComponent as Oi, shallowRef as Ac, reactive as si, getCurrentInstance as Tc, inject as Tt, provide as Cs, toRef as op, onBeforeMount as Ec, watchEffect as tp, getCurrentScope as up, onScopeDispose as cp, toRefs as Au, withDirectives as dp, vShow as pp } from "vue";
5
5
  import { m as fp, n as hp, E as Sl, k as Gt, h as Tu, c as Eu, b as bi, B as Dc, C as vp, D as yp, F as pt, A as Du } from "./request-CoGtW0Ux.js";
6
- import { c as so, d as oo, g as gp } from "./dayjs.min-DTIKCUrF.js";
7
- import { h as Gi, c as Ee, f as On, p as Zl, s as sr, g as Dn, b as Yn, k as Cc, u as mn, a as In, N as wo, L as Yt, m as Lo, O as on, e as vi, j as So, i as bo, P as mp, Q as bp } from "./menu-CN_Tf3mn.js";
8
- import { S as kp, b as Fr, _ as Cu, f as _p, h as zc, i as fs, j as No, a as pr, k as xp, d as Jt, e as wp, c as Sp, l as to, m as Ap } from "./index-D2crrlxW.js";
6
+ import { c as so, d as oo, g as gp } from "./dayjs.min-BztxmKP_.js";
7
+ import { h as Gi, c as Ee, f as On, p as Zl, s as sr, g as Dn, b as Yn, k as Cc, u as mn, a as In, N as wo, L as Yt, m as Lo, O as on, e as vi, j as So, i as bo, P as mp, Q as bp } from "./menu-BMnGyr1i.js";
8
+ import { S as kp, b as Fr, _ as Cu, f as _p, h as zc, i as fs, j as No, a as pr, k as xp, d as Jt, e as wp, c as Sp, l as to, m as Ap } from "./index-BiDRxcDB.js";
9
9
  import { _ as dr } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { u as Tp, b as Hl, N as Ep, O as Dp, Q as Cp, R as zp, U as zu, Y as Op, Z as Ip, C as Mp, f as ft, x as Oc, _ as Ts, $ as Bp, a0 as Ic, a1 as Mc, v as ht, a2 as $p, w as Lp, j as jn, B as Np, V as vt, a3 as Ou, m as ss, n as As, a4 as Rp, z as Pp, a5 as jp, a6 as Fp, a7 as Hp, s as Tn, a8 as Bc, d as $c } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DniaKXV9.js";
10
+ import { u as Tp, b as Hl, N as Ep, O as Dp, Q as Cp, R as zp, U as zu, Y as Op, Z as Ip, C as Mp, f as ft, x as Oc, _ as Ts, $ as Bp, a0 as Ic, a1 as Mc, v as ht, a2 as $p, w as Lp, j as jn, B as Np, V as vt, a3 as Ou, m as ss, n as As, a4 as Rp, z as Pp, a5 as jp, a6 as Fp, a7 as Hp, s as Tn, a8 as Bc, d as $c } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-GDPy2Gmg.js";
11
11
  import { s as jr } from "./index-CnjGqJZS.js";
12
- import { a as Lc, T as Nc } from "./threeViewerHost-DsDxhyJb.js";
13
- import { g as $r, h as Ro, s as Et, t as Ao, d as vs, x as Ps, r as Up, f as zs, y as qp, c as Xr, b as ys, u as Xt, z as wi, A as Po, B as Wp, C as Kp, D as Gp, E as Yp, l as Jp, F as Xp, w as Zp, G as Qp, H as Vp, I as ef, J as Rc, K as yi, L as cs, M as tn, N as Un, O as yt, P as af, o as lf, Q as gt, R as rf, S as nf } from "./index-CyD2ZGI0.js";
12
+ import { a as Lc, T as Nc } from "./threeViewerHost-Bcl4RBft.js";
13
+ import { g as $r, h as Ro, s as Et, t as Ao, d as vs, x as Ps, r as Up, f as zs, y as qp, c as Xr, b as ys, u as Xt, z as wi, A as Po, B as Wp, C as Kp, D as Gp, E as Yp, l as Jp, F as Xp, w as Zp, G as Qp, H as Vp, I as ef, J as Rc, K as yi, L as cs, M as tn, N as Un, O as yt, P as af, o as lf, Q as gt, R as rf, S as nf } from "./index-BF9aAYMR.js";
14
14
  import { a as sf } from "./index-BIV-s4QY.js";
15
15
  import { g as En, u as To, c as Pc, d as js, b as Zt, a as Eo } from "./index-BsDMamej.js";
16
- import { a as of, s as tf } from "./index-XSrc1sWV.js";
17
- import "./index-r6mcGvmD.js";
18
- import { u as jc } from "./index-Cf2gp9fi.js";
16
+ import { a as of, s as tf } from "./index-jPuRLZP_.js";
17
+ import "./index-tq9Fe8Z6.js";
18
+ import { u as jc } from "./index-DYfVyol_.js";
19
19
  import { E as Os } from "./index-C81Qb0f2.js";
20
- import { E as Ri } from "./index-2KYbe_7L.js";
20
+ import { E as Ri } from "./index-B52ZLLQv.js";
21
21
  /* empty css */
22
22
  import { i as Do } from "./isString-BA9CJNsy.js";
23
23
  import { _ as Iu } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
24
24
  import Fc from "./index-rlStojTL.js";
25
- import { s as uf } from "./index-BuTyP2j6.js";
26
- import { S as mt, O as bt, M as kt } from "./MTLLoader-CIEnVGmG.js";
27
- import { U as cf } from "./URDFLoader-SQ3u-Q_8.js";
25
+ import { s as uf } from "./index-Dzv_oSab.js";
26
+ import { S as mt, O as bt, M as kt } from "./MTLLoader-EqTvrYY4.js";
27
+ import { U as cf } from "./URDFLoader-CBgIAY7r.js";
28
28
  var df = "[object Boolean]";
29
29
  function Hc(a) {
30
30
  return a === !0 || a === !1 || fp(a) && hp(a) == df;
@@ -1 +1 @@
1
- "use strict";const v=require("vue"),g=require("./index-CFZ-f-2F.cjs"),s=require("./menu-N76i05Ex.cjs"),A=require("./index-DSJJfH49.cjs"),N=require("./request-BC2w2vGr.cjs"),we=s.useLoginState(s.pinia),{systemUrl:y}=s.storeToRefs(we);let S=y.value===""||!y.value?"http://222.92.178.198:63002":y.value;v.watch(()=>y.value,()=>{S=y.value===""||!y.value?"http://222.92.178.198:63002":y.value},{deep:!0,immediate:!0});function C(r){return N.service({url:`${S}/platform/import_data`,method:"post",data:r})}function V(r){return N.service({url:`${S}/platform/export_data`,method:"post",data:r,responseType:"blob"})}function Te(r=""){const l=r.match(/filename\*=UTF-8''([^;]+)/i);if(l)return decodeURIComponent(l[1]);const u=r.match(/filename=["']?([^"';]+)["']?/);return u?u[1]:"download.xlsx"}const z=r=>{var w,h;const l=((w=r==null?void 0:r.headers)==null?void 0:w["content-type"])||"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",u=new Blob([r.data],{type:l}),D=(h=r==null?void 0:r.headers)==null?void 0:h["content-disposition"],I=Te(D)||"数据.xlsx",i=window.URL.createObjectURL(u),d=document.createElement("a");d.href=i,d.setAttribute("download",I),document.body.appendChild(d),d.click(),document.body.removeChild(d),window.URL.revokeObjectURL(i)},De=[{label:"编辑",value:"edit"},{label:"删除",value:"delete"}],F="role",f={ENABLE:{value:"enable",label:"启用",tag:"primary"},DISABLED:{value:"disabled",label:"禁用",tag:"info"}},p={EDITABLE:{value:"editable",label:"可编辑",tag:"primary"},DISABLED:{value:"disabled",label:"不可编辑",tag:"info"}},Re={TABLE:{value:"Table"}},Ee=["查看","查看三维模型","导出paraform","导出","导出全部","导出选中"],Be=()=>{const r=s.useLoginState(),l=s.useMenuState(s.pinia),{isSuperAdmin:u,userId:D,userName:I,platId:i}=s.useUserInfo(),d=v.ref([]),w=t=>{const{propertyType:e}=t||{};return e===Re.TABLE.value},h=v.ref({}),O=v.computed(()=>{var e;return u.value?!0:((e=h.value)==null?void 0:e.status)===p.EDITABLE.value}),$=t=>{var o,c;const e=A.formatterTimeStr(Date.now()),{id:a=0}=r.loginUserInfo||{},n=s.cloneDeep(t);return n.update_user_id=a,n.update_user_name=I.value,n.update_time=e,n.checked_ids=((c=(o=n==null?void 0:n.main_ids)==null?void 0:o.map)==null?void 0:c.call(o,m=>{const{id:b}=m;return b}))||[],n},P=t=>{let e=[];return t.forEach(a=>{var n;if(a.isPropertyLeaf){const o=s.cloneDeep(a);e.push(o)}a.children&&((n=a.children)==null?void 0:n.length)>0&&(e=e.concat(P(a.children)))}),e},q=(t=[])=>{let e=[];for(let a=0;a<t.length;a++){const n=t[a],o=n.children||[];delete n.children,e.push(n),o&&o.length>0&&(e=e.concat(q(o)))}return e},G=t=>{let e=[];return t.forEach(a=>{if(a.isPropertyLeaf){const n=q(a.params);e=e.concat(n)}}),e},x=(t,e)=>{const a=r.loginUserInfo,{id:n=0}=a||{},o=A.formatterTimeStr(Date.now());let c={name:"",code:"",order_no:1,data_scope:1,remark:"",tenant_id:"",create_time:o,update_time:o,create_user_id:n,create_user_name:I.value,update_user_id:n,update_user_name:I.value,status:f.ENABLE.value,main_ids:[],checked_ids:[],params:[]};const{checkAll:m,tree:b}=e||{};if(m&&b){const L=P(b),Le=L.map(B=>({...B,department_scope:"unlimited"}));c.main_ids=Le,c.checked_ids=L.map(B=>B.id),c.params=G(L)}if(t){const L=$(t);c={...c,...L}}return c},R=t=>{const e=[t];return{platId:i.value,changeRoleData:e}},M=async t=>await s.getRoleList({platId:t}),j=async()=>{var e;l.setImportLoading(!0);const t=await M(i.value).finally(()=>{l.setImportLoading(!1)});return(e=t==null?void 0:t.data)==null?void 0:e.result},U=()=>({name:""}),T=v.ref(U()),H=()=>{T.value=U()},Q=()=>({pageNum:1,pageSize:10,total:0,pageSizes:[5,10,20,50,100]}),_=v.ref(Q()),K=t=>{_.value.pageNum=t},W=t=>{_.value.pageSize=t},J=()=>({platId:i.value,pageNum:_.value.pageNum,pageSize:_.value.pageSize,filter:{...T.value}}),X=async t=>{var a;const e=await s.getByPage(t);return(a=e==null?void 0:e.data)==null?void 0:a.result},Y=async()=>{const t=J(),e=await X(t),{total:a}=e||{};return _.value.total=a,e||{}},Z=async t=>{delete t.role_id;const e=R(t);await s.createRole(e)},ee=async t=>{l.setImportLoading(!0),await Z(t).finally(()=>{l.setImportLoading(!1)})},te=async t=>{const e=R(t);await s.updateRole(e)},ae=async t=>{l.setImportLoading(!0),await te(t).finally(()=>{l.setImportLoading(!1)})},ne=async t=>{const{role_id:e}=t,a={platId:i.value,role_id:[e]};await s.deleteRole(a)},oe=async t=>{await A.ElMessageBox.confirm("是否确认要删除","",{showClose:!1,confirmButtonText:"确认",cancelButtonText:"取消",type:"warning",modalClass:"delete-role-message-modal",confirmButtonClass:"delete-role-confirm"}),l.setImportLoading(!0),await ne(t).finally(()=>{l.setImportLoading(!1)})},re=t=>{const e=t.toUpperCase(),a=f==null?void 0:f[e];return(a==null?void 0:a.label)||t},se=t=>{const e=t.toUpperCase(),a=f==null?void 0:f[e];return(a==null?void 0:a.tag)||"info"},le=async t=>{var a;const e=await s.getPropertyAuthTree(t);return((a=e==null?void 0:e.data)==null?void 0:a.result)||[]},ce=async t=>{const e={platId:i.value,includeHidden:!0,roleIds:t};l.setImportLoading(!0);const a=await le(e).finally(()=>{l.setImportLoading(!1)});d.value=a},ie=(t="")=>{const e=t.toUpperCase(),a=p==null?void 0:p[e];return(a==null?void 0:a.label)||t},ue=(t="")=>{const e=t.toUpperCase(),a=p==null?void 0:p[e];return(a==null?void 0:a.tag)||"info"},E=t=>t===p.EDITABLE.value,pe=(t,e)=>{const{status:a}=t||{},{tableOperate:n}=e||{};return!!(E(a)||n&&Ee.includes(n))},de=(t,e)=>{const{status:a}=t||{};return E(a)},me=(t,e)=>{if(u.value)return!0;const{type:a}=e||{};if(g.compType.TABLE===a)return pe(t,e);if(g.compType.FORM===a)return de(t);const{status:n}=t||{};return E(n)},fe=async()=>{var n,o;const e={pageName:"系统管理/角色管理",platId:i.value,userId:D.value},a=await s.getPageDataApi(e);return(o=(n=a==null?void 0:a.data)==null?void 0:n.result)==null?void 0:o[0]},ge=async()=>{if(!u.value)return h.value=await fe(),h},k=t=>{const e=s.cloneDeep(t);for(let a=0;a<e.length;a++){const n=e==null?void 0:e[a],{id:o,prop:c,children:m}=n||{};n.uniqueKey=`${o}_${c}`,m&&(n.children=k(m))}return e},ye=async t=>{var a;const e=await C(t);return(a=e==null?void 0:e.data)==null?void 0:a.result},he=async t=>{const e=new FormData,a=x(),{create_user_id:n,update_user_id:o,create_user_name:c,update_user_name:m}=a;return e.set("platId",i.value),e.set("file",t),e.set("tableType",F),e.set("create_user_id",n),e.set("update_user_id",o),e.set("create_user_name",c),e.set("update_user_name",m),await ye(e)},_e=async t=>await V(t),ve=async()=>{const t={platId:i.value,tableType:F,filter:T.value},e=await _e(t);return z(e),e},Ie=[["名称","编码","备注","状态"]],be=async()=>{const t=g.utils.aoa_to_sheet(Ie),e=g.utils.book_new();g.utils.book_append_sheet(e,t,"角色"),g.writeFileSync(e,"角色模板.xlsx")};return{compType:g.compType,isTableFeature:w,queryInfo:T,resetQuery:H,pageInfo:_,setPageNum:K,setPageSize:W,initGetByPage:Y,initRoleList:j,initCreate:ee,initUpdate:ae,initDelete:oe,initRoleRequestData:R,initPropertyAuthTree:ce,propertyAuthTree:d,initRoleItem:x,isSuperAdmin:u,getStatusLabelByValue:re,getStatusTagByValue:se,getFeatureStatusLabelByValue:ie,getFeatureStatusTagByValue:ue,hasEditable:me,initRoleConfig:ge,hasRoleEditAuth:O,buildParamAuthTree:k,initImport:he,initExport:ve,exportTemplate:be}};exports.exportData=V;exports.featureStatusConstants=p;exports.importData=C;exports.initDownloadFileByResponse=z;exports.operateList=De;exports.statusConstants=f;exports.useRole=Be;
1
+ "use strict";const v=require("vue"),g=require("./index-BjBmRkcU.cjs"),s=require("./menu-D2crOMII.cjs"),A=require("./index-B-T8_bdu.cjs"),N=require("./request-BC2w2vGr.cjs"),we=s.useLoginState(s.pinia),{systemUrl:y}=s.storeToRefs(we);let S=y.value===""||!y.value?"http://222.92.178.198:63002":y.value;v.watch(()=>y.value,()=>{S=y.value===""||!y.value?"http://222.92.178.198:63002":y.value},{deep:!0,immediate:!0});function C(r){return N.service({url:`${S}/platform/import_data`,method:"post",data:r})}function V(r){return N.service({url:`${S}/platform/export_data`,method:"post",data:r,responseType:"blob"})}function Te(r=""){const l=r.match(/filename\*=UTF-8''([^;]+)/i);if(l)return decodeURIComponent(l[1]);const u=r.match(/filename=["']?([^"';]+)["']?/);return u?u[1]:"download.xlsx"}const z=r=>{var w,h;const l=((w=r==null?void 0:r.headers)==null?void 0:w["content-type"])||"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",u=new Blob([r.data],{type:l}),D=(h=r==null?void 0:r.headers)==null?void 0:h["content-disposition"],I=Te(D)||"数据.xlsx",i=window.URL.createObjectURL(u),d=document.createElement("a");d.href=i,d.setAttribute("download",I),document.body.appendChild(d),d.click(),document.body.removeChild(d),window.URL.revokeObjectURL(i)},De=[{label:"编辑",value:"edit"},{label:"删除",value:"delete"}],F="role",f={ENABLE:{value:"enable",label:"启用",tag:"primary"},DISABLED:{value:"disabled",label:"禁用",tag:"info"}},p={EDITABLE:{value:"editable",label:"可编辑",tag:"primary"},DISABLED:{value:"disabled",label:"不可编辑",tag:"info"}},Re={TABLE:{value:"Table"}},Ee=["查看","查看三维模型","导出paraform","导出","导出全部","导出选中"],Be=()=>{const r=s.useLoginState(),l=s.useMenuState(s.pinia),{isSuperAdmin:u,userId:D,userName:I,platId:i}=s.useUserInfo(),d=v.ref([]),w=t=>{const{propertyType:e}=t||{};return e===Re.TABLE.value},h=v.ref({}),O=v.computed(()=>{var e;return u.value?!0:((e=h.value)==null?void 0:e.status)===p.EDITABLE.value}),$=t=>{var o,c;const e=A.formatterTimeStr(Date.now()),{id:a=0}=r.loginUserInfo||{},n=s.cloneDeep(t);return n.update_user_id=a,n.update_user_name=I.value,n.update_time=e,n.checked_ids=((c=(o=n==null?void 0:n.main_ids)==null?void 0:o.map)==null?void 0:c.call(o,m=>{const{id:b}=m;return b}))||[],n},P=t=>{let e=[];return t.forEach(a=>{var n;if(a.isPropertyLeaf){const o=s.cloneDeep(a);e.push(o)}a.children&&((n=a.children)==null?void 0:n.length)>0&&(e=e.concat(P(a.children)))}),e},q=(t=[])=>{let e=[];for(let a=0;a<t.length;a++){const n=t[a],o=n.children||[];delete n.children,e.push(n),o&&o.length>0&&(e=e.concat(q(o)))}return e},G=t=>{let e=[];return t.forEach(a=>{if(a.isPropertyLeaf){const n=q(a.params);e=e.concat(n)}}),e},x=(t,e)=>{const a=r.loginUserInfo,{id:n=0}=a||{},o=A.formatterTimeStr(Date.now());let c={name:"",code:"",order_no:1,data_scope:1,remark:"",tenant_id:"",create_time:o,update_time:o,create_user_id:n,create_user_name:I.value,update_user_id:n,update_user_name:I.value,status:f.ENABLE.value,main_ids:[],checked_ids:[],params:[]};const{checkAll:m,tree:b}=e||{};if(m&&b){const L=P(b),Le=L.map(B=>({...B,department_scope:"unlimited"}));c.main_ids=Le,c.checked_ids=L.map(B=>B.id),c.params=G(L)}if(t){const L=$(t);c={...c,...L}}return c},R=t=>{const e=[t];return{platId:i.value,changeRoleData:e}},M=async t=>await s.getRoleList({platId:t}),j=async()=>{var e;l.setImportLoading(!0);const t=await M(i.value).finally(()=>{l.setImportLoading(!1)});return(e=t==null?void 0:t.data)==null?void 0:e.result},U=()=>({name:""}),T=v.ref(U()),H=()=>{T.value=U()},Q=()=>({pageNum:1,pageSize:10,total:0,pageSizes:[5,10,20,50,100]}),_=v.ref(Q()),K=t=>{_.value.pageNum=t},W=t=>{_.value.pageSize=t},J=()=>({platId:i.value,pageNum:_.value.pageNum,pageSize:_.value.pageSize,filter:{...T.value}}),X=async t=>{var a;const e=await s.getByPage(t);return(a=e==null?void 0:e.data)==null?void 0:a.result},Y=async()=>{const t=J(),e=await X(t),{total:a}=e||{};return _.value.total=a,e||{}},Z=async t=>{delete t.role_id;const e=R(t);await s.createRole(e)},ee=async t=>{l.setImportLoading(!0),await Z(t).finally(()=>{l.setImportLoading(!1)})},te=async t=>{const e=R(t);await s.updateRole(e)},ae=async t=>{l.setImportLoading(!0),await te(t).finally(()=>{l.setImportLoading(!1)})},ne=async t=>{const{role_id:e}=t,a={platId:i.value,role_id:[e]};await s.deleteRole(a)},oe=async t=>{await A.ElMessageBox.confirm("是否确认要删除","",{showClose:!1,confirmButtonText:"确认",cancelButtonText:"取消",type:"warning",modalClass:"delete-role-message-modal",confirmButtonClass:"delete-role-confirm"}),l.setImportLoading(!0),await ne(t).finally(()=>{l.setImportLoading(!1)})},re=t=>{const e=t.toUpperCase(),a=f==null?void 0:f[e];return(a==null?void 0:a.label)||t},se=t=>{const e=t.toUpperCase(),a=f==null?void 0:f[e];return(a==null?void 0:a.tag)||"info"},le=async t=>{var a;const e=await s.getPropertyAuthTree(t);return((a=e==null?void 0:e.data)==null?void 0:a.result)||[]},ce=async t=>{const e={platId:i.value,includeHidden:!0,roleIds:t};l.setImportLoading(!0);const a=await le(e).finally(()=>{l.setImportLoading(!1)});d.value=a},ie=(t="")=>{const e=t.toUpperCase(),a=p==null?void 0:p[e];return(a==null?void 0:a.label)||t},ue=(t="")=>{const e=t.toUpperCase(),a=p==null?void 0:p[e];return(a==null?void 0:a.tag)||"info"},E=t=>t===p.EDITABLE.value,pe=(t,e)=>{const{status:a}=t||{},{tableOperate:n}=e||{};return!!(E(a)||n&&Ee.includes(n))},de=(t,e)=>{const{status:a}=t||{};return E(a)},me=(t,e)=>{if(u.value)return!0;const{type:a}=e||{};if(g.compType.TABLE===a)return pe(t,e);if(g.compType.FORM===a)return de(t);const{status:n}=t||{};return E(n)},fe=async()=>{var n,o;const e={pageName:"系统管理/角色管理",platId:i.value,userId:D.value},a=await s.getPageDataApi(e);return(o=(n=a==null?void 0:a.data)==null?void 0:n.result)==null?void 0:o[0]},ge=async()=>{if(!u.value)return h.value=await fe(),h},k=t=>{const e=s.cloneDeep(t);for(let a=0;a<e.length;a++){const n=e==null?void 0:e[a],{id:o,prop:c,children:m}=n||{};n.uniqueKey=`${o}_${c}`,m&&(n.children=k(m))}return e},ye=async t=>{var a;const e=await C(t);return(a=e==null?void 0:e.data)==null?void 0:a.result},he=async t=>{const e=new FormData,a=x(),{create_user_id:n,update_user_id:o,create_user_name:c,update_user_name:m}=a;return e.set("platId",i.value),e.set("file",t),e.set("tableType",F),e.set("create_user_id",n),e.set("update_user_id",o),e.set("create_user_name",c),e.set("update_user_name",m),await ye(e)},_e=async t=>await V(t),ve=async()=>{const t={platId:i.value,tableType:F,filter:T.value},e=await _e(t);return z(e),e},Ie=[["名称","编码","备注","状态"]],be=async()=>{const t=g.utils.aoa_to_sheet(Ie),e=g.utils.book_new();g.utils.book_append_sheet(e,t,"角色"),g.writeFileSync(e,"角色模板.xlsx")};return{compType:g.compType,isTableFeature:w,queryInfo:T,resetQuery:H,pageInfo:_,setPageNum:K,setPageSize:W,initGetByPage:Y,initRoleList:j,initCreate:ee,initUpdate:ae,initDelete:oe,initRoleRequestData:R,initPropertyAuthTree:ce,propertyAuthTree:d,initRoleItem:x,isSuperAdmin:u,getStatusLabelByValue:re,getStatusTagByValue:se,getFeatureStatusLabelByValue:ie,getFeatureStatusTagByValue:ue,hasEditable:me,initRoleConfig:ge,hasRoleEditAuth:O,buildParamAuthTree:k,initImport:he,initExport:ve,exportTemplate:be}};exports.exportData=V;exports.featureStatusConstants=p;exports.importData=C;exports.initDownloadFileByResponse=z;exports.operateList=De;exports.statusConstants=f;exports.useRole=Be;
@@ -1,5 +1,5 @@
1
1
  import { watch as n } from "vue";
2
- import { s as o, b as p, p as u } from "./menu-CN_Tf3mn.js";
2
+ import { s as o, b as p, p as u } from "./menu-BMnGyr1i.js";
3
3
  import { s as r } from "./request-CoGtW0Ux.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;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-B3t77A1L.cjs");require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-D13dnI_4.cjs");require("./index-BpPyaNFa.cjs");const b=require("./index-DEHdaKzw.cjs");require("./index-CFZ-f-2F.cjs");const _=require("./menu-N76i05Ex.cjs");require("./request-BC2w2vGr.cjs");require("./dayjs.min-CJNj6LcW.cjs");;/* empty css */const h=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),y={class:"personal-wrapper"},V={class:"personal-box left"},N={class:"base-avatar"},x={class:"center-avatar"},S={class:"base-info"},D={class:"base-signature"},E={class:"personal-box right"},k=e.defineComponent({__name:"index",setup(C){const t=e.reactive({...r.State}),f=_.useLoginState(),{loginUserInfo:n}=_.storeToRefs(f);return e.onMounted(()=>{var i;t.getUserTableHeadersAsync(),t.refreshLoginUserInfoAsync((i=n==null?void 0:n.value)==null?void 0:i.id),r.tabKey.value++}),(i,o)=>{var c,d,u,g,p,m,v;const s=e.resolveComponent("svg-icon"),a=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("div",V,[e.createElementVNode("div",N,[e.createElementVNode("div",x,[e.withDirectives(e.createVNode(r.ssAvatar,{size:100,disabled:t.uploadDisabled,userInfo:e.unref(n),onSubmitImage:o[0]||(o[0]=l=>t.submitImageAsync("avatarUrl",l))},null,8,["disabled","userInfo"]),[[a,t.avatarLoading]])])]),e.createElementVNode("div",S,[e.createElementVNode("div",null,[e.createVNode(s,{name:"userAccount",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((c=e.unref(n))==null?void 0:c.account)||(((d=e.unref(n))==null?void 0:d.姓名)??"未知")),1)]),e.createElementVNode("div",null,[e.createVNode(s,{name:"role",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((u=e.unref(n))==null?void 0:u.layer)==="superAdmin"?"超级管理员":((g=e.unref(n))==null?void 0:g.角色名称)??"未知"),1)]),e.createElementVNode("div",null,[e.createVNode(s,{name:"dept",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((p=e.unref(n))==null?void 0:p.部门名称)??"未知"),1)]),e.createElementVNode("div",null,[e.createVNode(s,{name:"status",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((m=e.unref(n))==null?void 0:m.layer)==="superAdmin"?"启用":((v=e.unref(n))==null?void 0:v.状态)??"未知"),1)])]),e.createElementVNode("div",D,[e.withDirectives(e.createVNode(r.ssSignature,{userInfo:e.unref(n),itemData:t.itemData,onClickSignButton:t.clickSignButton,onBeforeDestroy:t.beforeSignDestroy,onClickSubmitSign:o[1]||(o[1]=l=>t.submitImageAsync("signature",l))},null,8,["userInfo","itemData","onClickSignButton","onBeforeDestroy"]),[[a,t.signatureLoading]])])]),e.withDirectives((e.openBlock(),e.createElementBlock("div",E,[(e.openBlock(),e.createBlock(b.ssTab,{key:e.unref(r.tabKey),tabsContents:t.tabsContents,onChangeTrigger:t.changeFormTrigger,onClickTrigger:t.clickTabButton},null,8,["tabsContents","onChangeTrigger","onClickTrigger"]))])),[[a,t.loading]])])}}}),B=h._export_sfc(k,[["__scopeId","data-v-3bdf3f4b"]]);exports.default=B;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-BnAQib1R.cjs");require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Y67ic07F.cjs");require("./index-BpPyaNFa.cjs");const b=require("./index-Dck5mho-.cjs");require("./index-BjBmRkcU.cjs");const _=require("./menu-D2crOMII.cjs");require("./request-BC2w2vGr.cjs");require("./dayjs.min-CDrjrMM0.cjs");;/* empty css */const h=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),y={class:"personal-wrapper"},V={class:"personal-box left"},N={class:"base-avatar"},x={class:"center-avatar"},S={class:"base-info"},D={class:"base-signature"},E={class:"personal-box right"},k=e.defineComponent({__name:"index",setup(C){const t=e.reactive({...r.State}),f=_.useLoginState(),{loginUserInfo:n}=_.storeToRefs(f);return e.onMounted(()=>{var i;t.getUserTableHeadersAsync(),t.refreshLoginUserInfoAsync((i=n==null?void 0:n.value)==null?void 0:i.id),r.tabKey.value++}),(i,o)=>{var c,d,u,g,p,m,v;const s=e.resolveComponent("svg-icon"),a=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("div",V,[e.createElementVNode("div",N,[e.createElementVNode("div",x,[e.withDirectives(e.createVNode(r.ssAvatar,{size:100,disabled:t.uploadDisabled,userInfo:e.unref(n),onSubmitImage:o[0]||(o[0]=l=>t.submitImageAsync("avatarUrl",l))},null,8,["disabled","userInfo"]),[[a,t.avatarLoading]])])]),e.createElementVNode("div",S,[e.createElementVNode("div",null,[e.createVNode(s,{name:"userAccount",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((c=e.unref(n))==null?void 0:c.account)||(((d=e.unref(n))==null?void 0:d.姓名)??"未知")),1)]),e.createElementVNode("div",null,[e.createVNode(s,{name:"role",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((u=e.unref(n))==null?void 0:u.layer)==="superAdmin"?"超级管理员":((g=e.unref(n))==null?void 0:g.角色名称)??"未知"),1)]),e.createElementVNode("div",null,[e.createVNode(s,{name:"dept",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((p=e.unref(n))==null?void 0:p.部门名称)??"未知"),1)]),e.createElementVNode("div",null,[e.createVNode(s,{name:"status",style:{width:"15px",height:"15px"}}),e.createElementVNode("span",null,e.toDisplayString(((m=e.unref(n))==null?void 0:m.layer)==="superAdmin"?"启用":((v=e.unref(n))==null?void 0:v.状态)??"未知"),1)])]),e.createElementVNode("div",D,[e.withDirectives(e.createVNode(r.ssSignature,{userInfo:e.unref(n),itemData:t.itemData,onClickSignButton:t.clickSignButton,onBeforeDestroy:t.beforeSignDestroy,onClickSubmitSign:o[1]||(o[1]=l=>t.submitImageAsync("signature",l))},null,8,["userInfo","itemData","onClickSignButton","onBeforeDestroy"]),[[a,t.signatureLoading]])])]),e.withDirectives((e.openBlock(),e.createElementBlock("div",E,[(e.openBlock(),e.createBlock(b.ssTab,{key:e.unref(r.tabKey),tabsContents:t.tabsContents,onChangeTrigger:t.changeFormTrigger,onClickTrigger:t.clickTabButton},null,8,["tabsContents","onChangeTrigger","onClickTrigger"]))])),[[a,t.loading]])])}}}),B=h._export_sfc(k,[["__scopeId","data-v-3bdf3f4b"]]);exports.default=B;
@@ -1,12 +1,12 @@
1
1
  import { ref as h, computed as E, reactive as j, defineComponent as q, watch as H, createElementBlock as N, openBlock as k, createVNode as A, createCommentVNode as ue, withCtx as _, createTextVNode as x, toDisplayString as F, resolveComponent as D, createBlock as R, Fragment as ie, renderList as ce, createElementVNode as de, normalizeStyle as pe } from "vue";
2
2
  import { G as fe, H as ve, J as ge, E as T } from "./request-CoGtW0Ux.js";
3
- import { s as J, b as ye, u as be, p as G, c as me, h as he } from "./menu-CN_Tf3mn.js";
3
+ import { s as J, b as ye, u as be, p as G, c as me, h as he } from "./menu-BMnGyr1i.js";
4
4
  import { g as Q, u as we } from "./index-BsDMamej.js";
5
- import { J as X, r as Se } from "./index-r6mcGvmD.js";
6
- import { A as _e } from "./index-DqIM3shB.js";
5
+ import { J as X, r as Se } from "./index-tq9Fe8Z6.js";
6
+ import { A as _e } from "./index-DIVvLDgI.js";
7
7
  import { u as Y } from "./index-BIV-s4QY.js";
8
8
  import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { n as Ce } from "./index-D2crrlxW.js";
9
+ import { n as Ce } from "./index-BiDRxcDB.js";
10
10
  import { S as V } from "./index-BHtNKL1L.js";
11
11
  function Ae(t, s) {
12
12
  const e = new X();