ss-component-new 1.1.260 → 1.1.261

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 (85) hide show
  1. package/dist/{array-D7K5W8Zf.js → array-BKq3BIQz.js} +2 -2
  2. package/dist/{array-jQLpY9RR.cjs → array-CGcjUVKX.cjs} +1 -1
  3. package/dist/{cloneDeep-DeaVRf7c.cjs → cloneDeep-B7uQBoFQ.cjs} +1 -1
  4. package/dist/{cloneDeep-C8JkckZX.js → cloneDeep-C2Kxf4cz.js} +1 -1
  5. package/dist/{index-BolGTYa3.cjs → index-1FDUIkCX.cjs} +1 -1
  6. package/dist/{index-sAd-uJNH.js → index-B-UH_ubV.js} +8 -8
  7. package/dist/{index-Ch3MGWzF.js → index-B2U6bRXC.js} +1 -1
  8. package/dist/{index-HkIY6QFh.js → index-B5JYLkwE.js} +960 -918
  9. package/dist/{index-DXLSBZRm.cjs → index-BDeQhlHq.cjs} +1 -1
  10. package/dist/{index-BG3mdvAz.cjs → index-BEMqiaE4.cjs} +1 -1
  11. package/dist/{index-8K_N0LJN.js → index-BEUHy5vT.js} +5 -5
  12. package/dist/{index-Ca096wE0.cjs → index-BKkSFReI.cjs} +1 -1
  13. package/dist/{index-DXLU7g4L.cjs → index-BNRMWt2X.cjs} +1 -1
  14. package/dist/{index-B5hAJIVr.js → index-BPDeDTcT.js} +8 -8
  15. package/dist/{index-BHvTlKd3.cjs → index-BPc4Eac7.cjs} +1 -1
  16. package/dist/{index-5fIyzgQ7.cjs → index-BSHYuItV.cjs} +1 -1
  17. package/dist/{index-Yey65VaS.js → index-BSvAtDik.js} +1944 -1933
  18. package/dist/{index-B242naIg.cjs → index-BTE2McnW.cjs} +1 -1
  19. package/dist/{index-Ddpd7EpX.js → index-BXTWkSfY.js} +3 -3
  20. package/dist/{index-CAzENawT.cjs → index-BePWixJ7.cjs} +1 -1
  21. package/dist/{index-swKZ0MXF.js → index-BpRK84YO.js} +9 -9
  22. package/dist/{index-BsC4kJpk.cjs → index-BqjnsqxM.cjs} +1 -1
  23. package/dist/{index-Bnv__gK8.js → index-BuzU8y87.js} +3 -3
  24. package/dist/{index-C-mfzbqw.js → index-BxNkT68g.js} +9 -9
  25. package/dist/{index-anmMDMxp.cjs → index-C4WiBNX7.cjs} +1 -1
  26. package/dist/{index-BZ8wkZQh.cjs → index-C99sTbLR.cjs} +1 -1
  27. package/dist/{index-D5wJBzEa.cjs → index-CPLQkq0l.cjs} +1 -1
  28. package/dist/{index-BxujM00j.js → index-CRA36cu_.js} +4 -4
  29. package/dist/{index-BUuhAWcq.js → index-CUS5J9_e.js} +3 -3
  30. package/dist/{index-BE5JMEUQ.cjs → index-CU_Jx-5J.cjs} +1 -1
  31. package/dist/{index-Xk-IPNQQ.js → index-CV8NL82B.js} +1 -1
  32. package/dist/index-CW3K0wJl.cjs +1 -0
  33. package/dist/{index-DO-JIfiX.cjs → index-CaEGsvtY.cjs} +1 -1
  34. package/dist/{index-CQVGpn4s.cjs → index-CbAVZYKT.cjs} +1 -1
  35. package/dist/{index-BXnbrZ-r.js → index-CcWrPjiF.js} +1 -1
  36. package/dist/{index-D79UCoOE.cjs → index-CdbyfD9T.cjs} +1 -1
  37. package/dist/{index-Di_0a510.cjs → index-ChDUVY4O.cjs} +1 -1
  38. package/dist/{index-C9aXF9WW.cjs → index-ChrvsNKe.cjs} +1 -1
  39. package/dist/{index-uUtEdVD8.cjs → index-Clc0UQZs.cjs} +1 -1
  40. package/dist/index-CrY9cebv.cjs +1 -0
  41. package/dist/{index-NxcH7OVs.js → index-CtNApXqx.js} +1 -1
  42. package/dist/{index-DpaMsUnp.cjs → index-D5iqPx4_.cjs} +1 -1
  43. package/dist/{index-C4PVEc68.js → index-DBUg3cD4.js} +5 -5
  44. package/dist/{index-B-cH-QNS.cjs → index-DJXxlOVw.cjs} +1 -1
  45. package/dist/{index-Cjbhxo1B.js → index-DJt9epxc.js} +3 -3
  46. package/dist/{index-D2uRUT1R.js → index-DMxFp_J8.js} +7 -7
  47. package/dist/{index-BPq6t6hi.js → index-DSHdwrIv.js} +4 -4
  48. package/dist/{index-jTr2VZm5.js → index-DiqIaffC.js} +6 -6
  49. package/dist/{index--VbTYBcj.cjs → index-DqW6UiIO.cjs} +21 -21
  50. package/dist/{index-acH8HUWB.js → index-Dqq6ANsR.js} +1 -1
  51. package/dist/{index-DT3lwd9Q.js → index-DrgtDDgh.js} +1 -1
  52. package/dist/index-Dz-F31F9.js +3475 -0
  53. package/dist/{index-m2bL52w2.js → index-JlAZlJSa.js} +6 -6
  54. package/dist/index-LztiiC8W.js +683 -0
  55. package/dist/{index-DPvdIx0y.js → index-P8qnw1yi.js} +5 -5
  56. package/dist/{index-Bet-HAJy.cjs → index-SuPnthkA.cjs} +1 -1
  57. package/dist/{index-Cpt2pjCu.cjs → index-XGNOqMia.cjs} +1 -1
  58. package/dist/{index-BxFO-CIo.js → index-i7I_BwC_.js} +4 -4
  59. package/dist/{index-CI2eEV0I.js → index-k1B4X854.js} +4 -4
  60. package/dist/index-kzgPDfJF.cjs +9 -0
  61. package/dist/{index.vue_vue_type_script_setup_true_lang-DlbwqDGU.cjs → index.vue_vue_type_script_setup_true_lang-CsELnqsB.cjs} +1 -1
  62. package/dist/{index.vue_vue_type_script_setup_true_lang-9pU472SX.js → index.vue_vue_type_script_setup_true_lang-GU5YecI_.js} +1 -1
  63. package/dist/{index.vue_vue_type_style_index_0_scoped_11a5120d_lang-Dvs25f5S.cjs → index.vue_vue_type_style_index_0_scoped_11a5120d_lang-CiQLJOHK.cjs} +1 -1
  64. package/dist/{index.vue_vue_type_style_index_0_scoped_11a5120d_lang-CbOR0FUi.js → index.vue_vue_type_style_index_0_scoped_11a5120d_lang-HXVPBHSR.js} +6 -6
  65. package/dist/{index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-Dqgty3hN.js → index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-BP1ltJdK.js} +12 -12
  66. package/dist/{index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-CiaLVLvs.cjs → index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-Dhxd_sQH.cjs} +1 -1
  67. package/dist/{login-mSxajr8S.cjs → login-MRZ_aZ2l.cjs} +1 -1
  68. package/dist/{login-DUTVbSkU.js → login-f0ZOWhgZ.js} +2 -2
  69. package/dist/{main-BYNX5wOY.js → main-CD7tAcIb.js} +7 -7
  70. package/dist/{main-Cn6D1vA7.cjs → main-CpGTA5Qv.cjs} +1 -1
  71. package/dist/{menu-Gyigk1Fh.cjs → menu-PjSpUL7w.cjs} +1 -1
  72. package/dist/{menu-DTnhB7wQ.js → menu-uQv0bEzE.js} +1 -1
  73. package/dist/{modelComp-DL_NgjAv.js → modelComp-BavIqTd8.js} +1 -1
  74. package/dist/{modelComp-BHvGEjSE.cjs → modelComp-qapurFEA.cjs} +1 -1
  75. package/dist/ss-component.cjs +1 -1
  76. package/dist/ss-component.css +1 -1
  77. package/dist/ss-component.js +7 -7
  78. package/dist/ss-component3.cjs +1 -1
  79. package/dist/ss-component3.js +1 -1
  80. package/package.json +1 -1
  81. package/dist/index-BtiLpCjW.cjs +0 -1
  82. package/dist/index-C1nyUNql.cjs +0 -9
  83. package/dist/index-CuLrv0cg.js +0 -673
  84. package/dist/index-CxPa1ZjZ.js +0 -3460
  85. package/dist/index-vDrb4qIv.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.vue_vue_type_style_index_0_scoped_11a5120d_lang-Dvs25f5S.cjs"),e=require("vue"),c=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function r(n,l,p,a,_,d){const t=e.resolveComponent("DynamicIcon"),s=e.resolveComponent("ssMenu");return e.openBlock(),e.createBlock(s,{mode:n.mode,menuList:n.renderMenuList,onClickMenu:n.clickMenu,onOpenMenu:n.openMenu,onCloseMenu:n.closeMenu},{title:e.withCtx(({menu:o})=>[e.createVNode(t,{name:o.icon??""},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(o.title??""),1)]),_:1},8,["mode","menuList","onClickMenu","onOpenMenu","onCloseMenu"])}const i=c._export_sfc(u._sfc_main,[["render",r],["__scopeId","data-v-11a5120d"]]);exports.default=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.vue_vue_type_style_index_0_scoped_11a5120d_lang-CiQLJOHK.cjs"),e=require("vue"),c=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function r(n,l,p,a,_,d){const t=e.resolveComponent("DynamicIcon"),s=e.resolveComponent("ssMenu");return e.openBlock(),e.createBlock(s,{mode:n.mode,menuList:n.renderMenuList,onClickMenu:n.clickMenu,onOpenMenu:n.openMenu,onCloseMenu:n.closeMenu},{title:e.withCtx(({menu:o})=>[e.createVNode(t,{name:o.icon??""},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(o.title??""),1)]),_:1},8,["mode","menuList","onClickMenu","onOpenMenu","onCloseMenu"])}const i=c._export_sfc(u._sfc_main,[["render",r],["__scopeId","data-v-11a5120d"]]);exports.default=i;
@@ -1,8 +1,8 @@
1
1
  import { computed as b, getCurrentInstance as qe, inject as ve, unref as u, ref as x, onMounted as ie, watch as Y, toRef as Ke, onUnmounted as Vn, shallowRef as Ve, nextTick as D, defineComponent as Z, useAttrs as Dn, useSlots as un, createElementBlock as O, openBlock as g, normalizeStyle as Ye, normalizeClass as E, createCommentVNode as T, Fragment as De, createElementVNode as F, renderSlot as K, createBlock as M, withCtx as N, resolveDynamicComponent as U, mergeProps as lt, withModifiers as ke, createVNode as oe, toDisplayString as J, onBeforeUnmount as xe, provide as cn, Text as _n, reactive as dn, h as Un, watchEffect as Kn, isRef as Yn, onScopeDispose as Wn, markRaw as ut, toRefs as Gn, resolveComponent as Ce, Transition as qn, withDirectives as et, withKeys as Re, createTextVNode as tt, vShow as nt, isVNode as fn, render as vn } from "vue";
2
- import { S as Ft, i as pn, d as gt, t as hn, f as Pt, g as Xn, h as re, j as Ht, k as Xe, m as de, n as ye, o as We, p as mn, q as fe, s as jn, v as Jn, w as Zn, x as Qn, y as Te, z as Ie, A as Me, _ as Be, B as pe, V as eo, C as to, D as no, F as oo, G as ae, N as _e, H as ao, I as Ge, J as gn, K as bt, L as so, M as ct, O as ro, P as $t, Q as io, R as zt, T as lo, U as uo, W as co, X as fo, Y as vo, Z as po, $ as Vt, a0 as Dt, a1 as ho } from "./index-sAd-uJNH.js";
2
+ import { S as Ft, i as pn, d as gt, t as hn, f as Pt, g as Xn, h as re, j as Ht, k as Xe, m as de, n as ye, o as We, p as mn, q as fe, s as jn, v as Jn, w as Zn, x as Qn, y as Te, z as Ie, A as Me, _ as Be, B as pe, V as eo, C as to, D as no, F as oo, G as ae, N as _e, H as ao, I as Ge, J as gn, K as bt, L as so, M as ct, O as ro, P as $t, Q as io, R as zt, T as lo, U as uo, W as co, X as fo, Y as vo, Z as po, $ as Vt, a0 as Dt, a1 as ho } from "./index-B-UH_ubV.js";
3
3
  import { m as mo } from "./typescript-BpuhIBuJ.js";
4
- import { d as _t, i as bn, a as go, b as bo, e as yn, f as yo } from "./cloneDeep-C8JkckZX.js";
5
- import { i as En } from "./index.vue_vue_type_script_setup_true_lang-9pU472SX.js";
4
+ import { d as _t, i as bn, a as go, b as bo, e as yn, f as yo } from "./cloneDeep-C2Kxf4cz.js";
5
+ import { i as En } from "./index.vue_vue_type_script_setup_true_lang-GU5YecI_.js";
6
6
  function Eo(e) {
7
7
  return e;
8
8
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.vue_vue_type_script_setup_true_lang-DlbwqDGU.cjs");exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.vue_vue_type_script_setup_true_lang-CsELnqsB.cjs");exports.default=e._sfc_main;
@@ -1,15 +1,15 @@
1
1
  import { resolveComponent as n, createElementBlock as r, openBlock as m, createVNode as i } from "vue";
2
- import "./index-CxPa1ZjZ.js";
3
- import "./index-DT3lwd9Q.js";
4
- import "./array-D7K5W8Zf.js";
2
+ import "./index-Dz-F31F9.js";
3
+ import "./index-DrgtDDgh.js";
4
+ import "./array-BKq3BIQz.js";
5
5
  import { _ as c } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import "./index.vue_vue_type_style_index_0_scoped_11a5120d_lang-CbOR0FUi.js";
7
- import "./menu-DTnhB7wQ.js";
8
- import "./index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-Dqgty3hN.js";
9
- import "./index-Yey65VaS.js";
10
- import "./login-DUTVbSkU.js";
6
+ import "./index.vue_vue_type_style_index_0_scoped_11a5120d_lang-HXVPBHSR.js";
7
+ import "./menu-uQv0bEzE.js";
8
+ import "./index.vue_vue_type_style_index_0_scoped_4b7a2e5d_lang-BP1ltJdK.js";
9
+ import "./index-BSvAtDik.js";
10
+ import "./login-f0ZOWhgZ.js";
11
11
  import "./index-BHtNKL1L.js";
12
- import "./index-C-mfzbqw.js";
12
+ import "./index-BxNkT68g.js";
13
13
  const d = {
14
14
  __name: "index",
15
15
  props: {
@@ -1 +1 @@
1
- "use strict";const s=require("./menu-Gyigk1Fh.cjs"),x=require("./index-DpaMsUnp.cjs"),q=require("./login-mSxajr8S.cjs"),I=require("vue"),w=s.useMenuState(x.pinia),v=q.useLoginState(x.pinia),D=I.ref(!1),E=I.ref(!1),P=async()=>{const K=s.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),M=s.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});return await Promise.all([K,M]).then(a=>{var r,u,n,o,i,l,c,g,y,d,S,f,m,p;const t=a==null?void 0:a[0],e=a==null?void 0:a[1];if(t.data.code===200){const h=(c=(l=(i=(o=(n=(u=(r=t==null?void 0:t.data)==null?void 0:r.result)==null?void 0:u[0])==null?void 0:n.value)==null?void 0:o.pageData)==null?void 0:i.compData)==null?void 0:l[0])==null?void 0:c.contents;w.setRawMenus(h??[]),D.value=((g=t==null?void 0:t.data)==null?void 0:g.result)&&((d=(y=t==null?void 0:t.data)==null?void 0:y.result)==null?void 0:d.length)>0}else s.ElMessage.error("获取模型菜单响应失败");e.data.code===200?e.data.result&&((S=e.data.result)==null?void 0:S.length)>0&&(v.setStructureData(e.data.result),v.setIsStructureExist(!0),E.value=((f=e==null?void 0:e.data)==null?void 0:f.result)&&((p=(m=e==null?void 0:e.data)==null?void 0:m.result)==null?void 0:p.length)>0):s.ElMessage.error("获取模型结构响应失败")}),{menuExist:D.value,structureExist:E.value}};exports.verifyStructureDataToStore=P;
1
+ "use strict";const s=require("./menu-PjSpUL7w.cjs"),x=require("./index-D5iqPx4_.cjs"),q=require("./login-MRZ_aZ2l.cjs"),I=require("vue"),w=s.useMenuState(x.pinia),v=q.useLoginState(x.pinia),D=I.ref(!1),E=I.ref(!1),P=async()=>{const K=s.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),M=s.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});return await Promise.all([K,M]).then(a=>{var r,u,n,o,i,l,c,g,y,d,S,f,m,p;const t=a==null?void 0:a[0],e=a==null?void 0:a[1];if(t.data.code===200){const h=(c=(l=(i=(o=(n=(u=(r=t==null?void 0:t.data)==null?void 0:r.result)==null?void 0:u[0])==null?void 0:n.value)==null?void 0:o.pageData)==null?void 0:i.compData)==null?void 0:l[0])==null?void 0:c.contents;w.setRawMenus(h??[]),D.value=((g=t==null?void 0:t.data)==null?void 0:g.result)&&((d=(y=t==null?void 0:t.data)==null?void 0:y.result)==null?void 0:d.length)>0}else s.ElMessage.error("获取模型菜单响应失败");e.data.code===200?e.data.result&&((S=e.data.result)==null?void 0:S.length)>0&&(v.setStructureData(e.data.result),v.setIsStructureExist(!0),E.value=((f=e==null?void 0:e.data)==null?void 0:f.result)&&((p=(m=e==null?void 0:e.data)==null?void 0:m.result)==null?void 0:p.length)>0):s.ElMessage.error("获取模型结构响应失败")}),{menuExist:D.value,structureExist:E.value}};exports.verifyStructureDataToStore=P;
@@ -1,6 +1,6 @@
1
- import { g as S, u as P, E as v } from "./menu-DTnhB7wQ.js";
2
- import { p as K } from "./index-DT3lwd9Q.js";
3
- import { u as k } from "./login-DUTVbSkU.js";
1
+ import { g as S, u as P, E as v } from "./menu-uQv0bEzE.js";
2
+ import { p as K } from "./index-DrgtDDgh.js";
3
+ import { u as k } from "./login-f0ZOWhgZ.js";
4
4
  import { ref as h } from "vue";
5
5
  const A = P(K), E = k(K), x = h(!1), D = h(!1), q = async () => {
6
6
  const I = S({
@@ -1,14 +1,14 @@
1
- import { u as R } from "./modelComp-DL_NgjAv.js";
2
- import { p as b } from "./index-DT3lwd9Q.js";
3
- import { s as P, u as L, E as T, c as q, b as z, d as G, g as H } from "./menu-DTnhB7wQ.js";
4
- import { g as Q } from "./index-CxPa1ZjZ.js";
5
- import { g as E, a as V, f as W, h as X, i as Y, j as Z } from "./index-Yey65VaS.js";
1
+ import { u as R } from "./modelComp-BavIqTd8.js";
2
+ import { p as b } from "./index-DrgtDDgh.js";
3
+ import { s as P, u as L, E as T, c as q, b as z, d as G, g as H } from "./menu-uQv0bEzE.js";
4
+ import { g as Q } from "./index-Dz-F31F9.js";
5
+ import { g as E, a as V, f as W, h as X, i as Y, j as Z } from "./index-BSvAtDik.js";
6
6
  import { ref as _, watch as $ } from "vue";
7
- import { v as c } from "./index-Bnv__gK8.js";
8
- import { g as O } from "./index-jTr2VZm5.js";
7
+ import { v as c } from "./index-BuzU8y87.js";
8
+ import { g as O } from "./index-DiqIaffC.js";
9
9
  import { d as p } from "./crypto-BRyGpjGR.js";
10
- import { u as m } from "./login-DUTVbSkU.js";
11
- import { c as N } from "./cloneDeep-C8JkckZX.js";
10
+ import { u as m } from "./login-f0ZOWhgZ.js";
11
+ import { c as N } from "./cloneDeep-C2Kxf4cz.js";
12
12
  const aa = m(), { loginUserInfo: U, cryptoInfo: w } = P(aa), S = R(b), { itemData: ea, curStructureCompIds: B, isSubmitCurStructure: sa, isRefreshCurStructure: ra } = P(S), J = L(b), { activeMenuPath: I } = P(J), C = V(b), { selectTitle: k } = P(C), Da = () => {
13
13
  S.setIsEdit("edit"), S.setSubmitCurStructure(I.value !== "/平台管理/菜单管理");
14
14
  }, Ca = () => {
@@ -1 +1 @@
1
- "use strict";const n=require("vue"),c=require("./menu-Gyigk1Fh.cjs"),u=require("./index-B-cH-QNS.cjs"),g=require("./modelComp-BHvGEjSE.cjs"),D=g.useModelComp(),{itemData:m}=c.storeToRefs(D),p=n.ref(0),f=n.ref([{label:"机构名称",value:"",name:"deptName"}]),i=e=>{console.log("handleQueryChange",e)},r=n.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),C=e=>{u.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},h=e=>{console.log("onDoubleClick",e)},k=(e,a)=>{console.log("onButtonClick",e,a)},A=async e=>{const a=await u.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var o;return{id:t.id,tableData:(o=t==null?void 0:t.value)==null?void 0:o.tableData}});return l==null?void 0:l.map(t=>{var o;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(o=t==null?void 0:t.tableData)==null||o.forEach((y,d)=>{s[`a${d}`]=y}),s}else return{...t.tableData,id:t.id}})},b={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:r.value,name:""}]}]};n.watch(()=>m.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(r.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:A,handleItemDataChange:C,handleQueryChange:i,onButtonClick:k,onDoubleClick:h,pageData:r,queryFormData:f,structureId:p,tempPostPageData:b},Symbol.toStringTag,{value:"Module"}));exports.State=S;exports.tempPostPageData=b;
1
+ "use strict";const n=require("vue"),c=require("./menu-PjSpUL7w.cjs"),u=require("./index-DJXxlOVw.cjs"),g=require("./modelComp-qapurFEA.cjs"),D=g.useModelComp(),{itemData:m}=c.storeToRefs(D),p=n.ref(0),f=n.ref([{label:"机构名称",value:"",name:"deptName"}]),i=e=>{console.log("handleQueryChange",e)},r=n.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),C=e=>{u.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},h=e=>{console.log("onDoubleClick",e)},k=(e,a)=>{console.log("onButtonClick",e,a)},A=async e=>{const a=await u.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var o;return{id:t.id,tableData:(o=t==null?void 0:t.value)==null?void 0:o.tableData}});return l==null?void 0:l.map(t=>{var o;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(o=t==null?void 0:t.tableData)==null||o.forEach((y,d)=>{s[`a${d}`]=y}),s}else return{...t.tableData,id:t.id}})},b={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:r.value,name:""}]}]};n.watch(()=>m.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(r.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:A,handleItemDataChange:C,handleQueryChange:i,onButtonClick:k,onDoubleClick:h,pageData:r,queryFormData:f,structureId:p,tempPostPageData:b},Symbol.toStringTag,{value:"Module"}));exports.State=S;exports.tempPostPageData=b;