ss-component-new 1.1.394 → 1.1.396

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 (80) hide show
  1. package/dist/{array-ZnalKgf3.js → array-C16RsBGi.js} +2 -2
  2. package/dist/{array-CD8zejd1.cjs → array-CrflPQfH.cjs} +1 -1
  3. package/dist/{index-CUjuvh-J.cjs → index-0rS7KbmB.cjs} +1 -1
  4. package/dist/{index-aE1YtI0N.cjs → index-5QKtXqtt.cjs} +1 -1
  5. package/dist/{index-Cm87rcFB.js → index-B5SKuqtT.js} +1 -1
  6. package/dist/{index-C-pSM4xK.cjs → index-B87MOYL0.cjs} +1 -1
  7. package/dist/{index-DzOUi2OJ.cjs → index-BCBaGcSw.cjs} +1 -1
  8. package/dist/{index-CJTkxiTJ.js → index-BI8ECnch.js} +1 -1
  9. package/dist/{index--wbrFlsW.cjs → index-BLFmQUvu.cjs} +1 -1
  10. package/dist/{index-DwPJ1Vag.js → index-BPG0DRXa.js} +5 -5
  11. package/dist/{index-Dc-SkGvt.cjs → index-BPhF9zmt.cjs} +1 -1
  12. package/dist/{index-CU716RuE.js → index-BS9fOObP.js} +1 -1
  13. package/dist/{index-CTm4lltX.cjs → index-B_gX595b.cjs} +1 -1
  14. package/dist/{index-DeJ4Yg7X.cjs → index-Bft1aZ0a.cjs} +1 -1
  15. package/dist/{index-CjxnmQy6.js → index-BiLGjwKz.js} +9 -9
  16. package/dist/{index-gIKvX1D1.cjs → index-Bkw45mmW.cjs} +1 -1
  17. package/dist/{index-u6m6cgUN.js → index-BqgHyhdi.js} +1 -1
  18. package/dist/{index-C1EqcKer.js → index-BrwiY9L3.js} +4 -4
  19. package/dist/{index-DFyli2Xq.js → index-C822Fm25.js} +7 -7
  20. package/dist/{index-7TyqzNe8.js → index-C9Qome4l.js} +7 -7
  21. package/dist/{index-CQIhXQ3O.js → index-CA6wLV-m.js} +6 -6
  22. package/dist/{index--2CrBbq_.js → index-CASSs849.js} +3 -3
  23. package/dist/{index-CuWFvdV7.js → index-CAiiyLHX.js} +2 -2
  24. package/dist/{index-Zu3jbrQk.js → index-CF2GXE5j.js} +4 -4
  25. package/dist/{index-BfcUq7S0.cjs → index-CIQlsfDn.cjs} +1 -1
  26. package/dist/{index-DowqkTOa.js → index-CVkIx7Qb.js} +4 -4
  27. package/dist/{index-Bgvqjq_f.cjs → index-Ci_TlUaz.cjs} +1 -1
  28. package/dist/{index-B3UcWBkk.cjs → index-CmwiMKaN.cjs} +1 -1
  29. package/dist/{index-XRVVgjx5.cjs → index-D6aaas52.cjs} +1 -1
  30. package/dist/{index-CBbukvkD.cjs → index-DD1B6uNy.cjs} +1 -1
  31. package/dist/{index-D2myLgYV.js → index-DL2KazPi.js} +6 -6
  32. package/dist/{index-SnspfZh4.js → index-DOIRqr3P.js} +142 -141
  33. package/dist/{index-BRhBVzCk.js → index-DPMhC2WO.js} +3 -3
  34. package/dist/{index-jCsg0SZr.js → index-DPiUDaPy.js} +3 -3
  35. package/dist/{index-CuEJFLji.cjs → index-DdMKahpe.cjs} +1 -1
  36. package/dist/{index-B8H-UzO2.js → index-DeDlxE6V.js} +24 -25
  37. package/dist/{index-yCtYhLUV.cjs → index-DlBjdPGf.cjs} +1 -1
  38. package/dist/{index-DqYbmSGM.js → index-DvuQRvTq.js} +5 -5
  39. package/dist/{index-CJiV9x8j.js → index-Dyj2IJ-k.js} +4 -4
  40. package/dist/{index-CAGyA-30.js → index-F1ttuKSv.js} +4 -4
  41. package/dist/{index-BY82Yoqw.js → index-HXgo29eU.js} +4 -4
  42. package/dist/{index-DGN5RkyR.cjs → index-LAneWWe0.cjs} +1 -1
  43. package/dist/{index-BWK9oziR.js → index-NyFbsRls.js} +7 -7
  44. package/dist/{index-CEg-g0l8.cjs → index-P4OXUc2W.cjs} +1 -1
  45. package/dist/{index-fMznhU8d.cjs → index-P80WmN2w.cjs} +1 -1
  46. package/dist/{index-CNDIagvw.cjs → index-Vgnu3AJT.cjs} +1 -1
  47. package/dist/{index-DtsCXEQ_.cjs → index-Z_MwT_T3.cjs} +1 -1
  48. package/dist/{index-T1XIt7Q5.js → index-cld16RcD.js} +7 -7
  49. package/dist/{index-CXu5s3Iq.cjs → index-iWbccyfH.cjs} +1 -1
  50. package/dist/{index-CXwvy-Oq.cjs → index-kP4PZFnP.cjs} +1 -1
  51. package/dist/{index-CPDLwI7f.js → index-msEHZkYa.js} +5 -5
  52. package/dist/{index-F8EMBL9C.cjs → index-sX5lTda9.cjs} +1 -1
  53. package/dist/{index-B84fmd8R.cjs → index-sbQSWrBI.cjs} +1 -1
  54. package/dist/index-soDn3tCX.cjs +1 -0
  55. package/dist/{index.vue_vue_type_script_setup_true_lang-C7kSvdUI.js → index.vue_vue_type_script_setup_true_lang-BbuiPO6s.js} +3 -3
  56. package/dist/{index.vue_vue_type_script_setup_true_lang-DJ9rvQJ6.cjs → index.vue_vue_type_script_setup_true_lang-DSlW9AIf.cjs} +1 -1
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bu7INyYH.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CMVrqCWx.cjs} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B-rUyq8Y.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js} +2 -2
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_306ecd73_lang-CpPiLovA.js → index.vue_vue_type_style_index_0_scoped_306ecd73_lang-4Af2QVFc.js} +8 -8
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_306ecd73_lang-obeZpKVs.cjs → index.vue_vue_type_style_index_0_scoped_306ecd73_lang-DOjbMvFW.cjs} +1 -1
  61. package/dist/index.vue_vue_type_style_index_0_scoped_45defba9_lang-BoiEK80r.cjs +12 -0
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_45defba9_lang-CLGezB1c.js → index.vue_vue_type_style_index_0_scoped_45defba9_lang-DGl8Ds4Q.js} +1517 -1504
  63. package/dist/{login-GQGxI0h0.js → login-DXi57ZMh.js} +1 -1
  64. package/dist/{login-CgphGA9x.cjs → login-Dk-07p0w.cjs} +1 -1
  65. package/dist/{main-Bdv6Fcy8.js → main-BbFbvu6k.js} +6 -6
  66. package/dist/{main-DoHWbwDb.cjs → main-Bi8-ggGu.cjs} +1 -1
  67. package/dist/{menu-BW061cI0.cjs → menu-CIgIfqSs.cjs} +1 -1
  68. package/dist/{menu-BQPjhn42.js → menu-ozOGGi5Z.js} +1 -1
  69. package/dist/ss-component.cjs +1 -1
  70. package/dist/ss-component.css +1 -1
  71. package/dist/ss-component.js +17 -17
  72. package/dist/ss-component3.cjs +1 -1
  73. package/dist/ss-component3.js +1 -1
  74. package/dist/{threeModel-BS-mDLn5.cjs → threeModel-Dl-CREqP.cjs} +1 -1
  75. package/dist/{threeModel-BSv-VAwD.js → threeModel-Dt4tQ3jF.js} +1 -1
  76. package/dist/{threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Ba5fmjEb.js → threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Bea0CNjG.js} +2 -2
  77. package/dist/{threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-CFuuYGuz.cjs → threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-D7fZi66-.cjs} +1 -1
  78. package/package.json +1 -1
  79. package/dist/index-B76NL8nJ.cjs +0 -1
  80. package/dist/index.vue_vue_type_style_index_0_scoped_45defba9_lang-DNe_hImn.cjs +0 -12
@@ -1,13 +1,13 @@
1
1
  import { resolveComponent as L, createElementBlock as _, openBlock as r, Fragment as j, renderList as q, unref as W, createElementVNode as C, createVNode as D, toDisplayString as E, ref as I, watch as A, withCtx as z, createBlock as G, resolveDynamicComponent as H, createCommentVNode as y, normalizeStyle as X, withModifiers as w } from "vue";
2
- import { s as Y, g as J } from "./index-BWK9oziR.js";
3
- import { p as B, s as V, E as Z } from "./menu-BQPjhn42.js";
4
- import { u as S } from "./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Ba5fmjEb.js";
5
- import "./array-ZnalKgf3.js";
2
+ import { s as Y, g as J } from "./index-NyFbsRls.js";
3
+ import { p as B, s as V, E as Z } from "./menu-ozOGGi5Z.js";
4
+ import { u as S } from "./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Bea0CNjG.js";
5
+ import "./array-C16RsBGi.js";
6
6
  import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- import { c as v } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B-rUyq8Y.js";
7
+ import { c as v } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
8
8
  import ee from "./index-CZtXRS3l.js";
9
- import { a as te } from "./index-C1EqcKer.js";
10
- import { E as ne } from "./index-CJiV9x8j.js";
9
+ import { a as te } from "./index-BrwiY9L3.js";
10
+ import { E as ne } from "./index-Dyj2IJ-k.js";
11
11
  const oe = { class: "type-select" }, se = ["onClick"], ae = { class: "list-icon" }, le = {
12
12
  __name: "index",
13
13
  setup(O) {
@@ -1,9 +1,9 @@
1
1
  import { ref as L, watch as Ne, nextTick as rl, resolveComponent as na, createBlock as ra, openBlock as pe, withCtx as ie, createElementVNode as ce, renderSlot as Sa, onMounted as ia, createElementBlock as ke, normalizeClass as il, toDisplayString as Pe, createCommentVNode as Ga, Fragment as Wa, renderList as Qa, normalizeStyle as Xa, createVNode as ue, unref as sl, defineComponent as tl, createSlots as ol, createTextVNode as Je } from "vue";
2
- import { f as sa, g as ee, d as Be, h as ul, i as qe, c as aa, s as Me, u as Ya, p as Ve, e as fl } from "./menu-BQPjhn42.js";
3
- import { u as cl } from "./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Ba5fmjEb.js";
4
- import { a3 as yl, S as Ea, a4 as pl, m as Pa, a5 as Fa, a6 as dl } from "./index-CjxnmQy6.js";
5
- import { b as Ge, f as gl, s as Na } from "./index-C1EqcKer.js";
6
- import { U as Ba, o as Ra, p as ja, q as $a, S as ze, r as hl, b as We, c as d, t as xa, u as bl, v as ml, w as Al, x as vl } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B-rUyq8Y.js";
2
+ import { f as sa, g as ee, d as Be, h as ul, i as qe, c as aa, s as Me, u as Ya, p as Ve, e as fl } from "./menu-ozOGGi5Z.js";
3
+ import { u as cl } from "./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Bea0CNjG.js";
4
+ import { a3 as yl, S as Ea, a4 as pl, m as Pa, a5 as Fa, a6 as dl } from "./index-BiLGjwKz.js";
5
+ import { b as Ge, f as gl, s as Na } from "./index-BrwiY9L3.js";
6
+ import { U as Ba, o as Ra, p as ja, q as $a, S as ze, r as hl, b as We, c as d, t as xa, u as bl, v as ml, w as Al, x as vl } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
7
7
  import { _ as ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  var kl = "__lodash_hash_undefined__";
9
9
  function Tl(a) {
@@ -1359,7 +1359,7 @@ const zl = {
1359
1359
  var h;
1360
1360
  (h = d(r.itemData)) == null || h.map((A) => ((A == null ? void 0 : A.key) === "tableContents" && (A.contents = u), A));
1361
1361
  }, je = (u, h, A) => {
1362
- e("contentClick", u, h, A, { id: r == null ? void 0 : r.index });
1362
+ e("contentClick", u, h, A, { id: r == null ? void 0 : r.index, type: "table" });
1363
1363
  };
1364
1364
  Ne(
1365
1365
  () => r.changedContent,
@@ -1666,7 +1666,7 @@ const zl = {
1666
1666
  ]);
1667
1667
  };
1668
1668
  }
1669
- }, ur = /* @__PURE__ */ ta(Vn, [["__scopeId", "data-v-fb65905d"]]);
1669
+ }, ur = /* @__PURE__ */ ta(Vn, [["__scopeId", "data-v-bf5ec3af"]]);
1670
1670
  export {
1671
1671
  Qn as I,
1672
1672
  Bn as a,
@@ -1,11 +1,11 @@
1
1
  import { ref as b, computed as K, watch as D } from "vue";
2
- import { E as n, s as f, c as H, d as x, e as B, g as M, u as E } from "./menu-BQPjhn42.js";
3
- import { a as F } from "./index-DowqkTOa.js";
2
+ import { E as n, s as f, c as H, d as x, e as B, g as M, u as E } from "./menu-ozOGGi5Z.js";
3
+ import { a as F } from "./index-CVkIx7Qb.js";
4
4
  import { d as S, i as I, e as C } from "./crypto-BRyGpjGR.js";
5
- import { u as N } from "./login-GQGxI0h0.js";
6
- import { u as P } from "./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Ba5fmjEb.js";
7
- import { E as w } from "./index-CJiV9x8j.js";
8
- import { c as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B-rUyq8Y.js";
5
+ import { u as N } from "./login-DXi57ZMh.js";
6
+ import { u as P } from "./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Bea0CNjG.js";
7
+ import { E as w } from "./index-Dyj2IJ-k.js";
8
+ import { c as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
9
9
  const T = N(), { superAdminInfo: O, cryptoInfo: r } = f(T), U = E(), { activeMenuPath: i } = f(U), y = "123456", j = P(), { itemData: z } = f(j), g = b(0), L = b([
10
10
  {
11
11
  label: "用户名称",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as g, ref as C, onMounted as _, createElementBlock as v, openBlock as D, createVNode as h } from "vue";
2
- import { c, e as k, d as I, u as K, p as x, s as M, g as S } from "./menu-BQPjhn42.js";
3
- import { v as T } from "./index-7TyqzNe8.js";
4
- import { c as y } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B-rUyq8Y.js";
2
+ import { c, e as k, d as I, u as K, p as x, s as M, g as S } from "./menu-ozOGGi5Z.js";
3
+ import { v as T } from "./index-C9Qome4l.js";
4
+ import { c as y } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
5
5
  import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const q = (a) => {
7
7
  const s = {};
@@ -1,5 +1,5 @@
1
- import { g as S, u as P, E as v, p as K } from "./menu-BQPjhn42.js";
2
- import { u as k } from "./login-GQGxI0h0.js";
1
+ import { g as S, u as P, E as v, p as K } from "./menu-ozOGGi5Z.js";
2
+ import { u as k } from "./login-DXi57ZMh.js";
3
3
  import { ref as h } from "vue";
4
4
  const A = P(K), E = k(K), x = h(!1), D = h(!1), j = async () => {
5
5
  const I = S({
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as $, computed as F, ref as h, watch as P, createElementBlock as E, openBlock as p, createVNode as v, createElementVNode as j, withCtx as c, createTextVNode as T, toDisplayString as k, resolveComponent as B, createBlock as U, Fragment as V, renderList as z, normalizeStyle as R } from "vue";
2
- import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-C7kSvdUI.js";
3
- import { d as H, u as L } from "./index-CJTkxiTJ.js";
4
- import { E as N } from "./menu-BQPjhn42.js";
2
+ import { _ as q } from "./index.vue_vue_type_script_setup_true_lang-BbuiPO6s.js";
3
+ import { d as H, u as L } from "./index-BI8ECnch.js";
4
+ import { E as N } from "./menu-ozOGGi5Z.js";
5
5
  import { _ as O } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { S as M } from "./index-C1EqcKer.js";
6
+ import { S as M } from "./index-BrwiY9L3.js";
7
7
  import { S as x } from "./index-BHtNKL1L.js";
8
8
  const W = { class: "avatar-model-wrap" }, D = /* @__PURE__ */ $({
9
9
  __name: "index",
@@ -1 +1 @@
1
- "use strict";const l=require("vue"),c=require("./menu-BW061cI0.cjs"),u=require("./index-CuEJFLji.cjs"),g=require("./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-CFuuYGuz.cjs"),D=g.useModelComp(),{itemData:i}=c.storeToRefs(D),p=l.ref(0),f=l.ref([{label:"机构名称",value:"",name:"deptName"}]),_=e=>{console.log("handleQueryChange",e)},s=l.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),h=e=>{u.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},m=e=>{console.log("onDoubleClick",e)},C=(e,t)=>{console.log("onButtonClick",e,t)},k=async e=>{const t=await u.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),n=t==null?void 0:t.map(a=>{var o;return{id:a.id,tableData:(o=a==null?void 0:a.value)==null?void 0:o.tableData}});return n==null?void 0:n.map(a=>{var o;if(Array.isArray(a==null?void 0:a.tableData)){let r={id:a.id};return(o=a==null?void 0:a.tableData)==null||o.forEach((y,d)=>{r[`a${d}`]=y}),r}else return{...a.tableData,id:a.id}})},b={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:s.value,name:""}]}]};l.watch(()=>i.value,e=>{var t;e&&(e==null?void 0:e.length)>0&&(s.value=(t=e==null?void 0:e[0])==null?void 0:t.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:h,handleQueryChange:_,onButtonClick:C,onDoubleClick:m,pageData:s,queryFormData:f,structureId:p,tempDeptPageData:b},Symbol.toStringTag,{value:"Module"}));exports.State=S;exports.tempDeptPageData=b;
1
+ "use strict";const l=require("vue"),c=require("./menu-CIgIfqSs.cjs"),u=require("./index-DdMKahpe.cjs"),g=require("./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-D7fZi66-.cjs"),D=g.useModelComp(),{itemData:i}=c.storeToRefs(D),p=l.ref(0),f=l.ref([{label:"机构名称",value:"",name:"deptName"}]),_=e=>{console.log("handleQueryChange",e)},s=l.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"机构名称",prop:"deptName"},{label:"机构类型",prop:"deptType",formType:"Select",options:[{label:"集团",value:"集团"},{label:"公司",value:"公司"},{label:"部门",value:"部门"},{label:"区域",value:"区域"},{label:"组",value:"组"}]},{label:"机构状态",formType:"Radio",prop:"deptStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"操作"}]},{key:"tableContents",contents:[]}]),h=e=>{u.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},m=e=>{console.log("onDoubleClick",e)},C=(e,t)=>{console.log("onButtonClick",e,t)},k=async e=>{const t=await u.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),n=t==null?void 0:t.map(a=>{var o;return{id:a.id,tableData:(o=a==null?void 0:a.value)==null?void 0:o.tableData}});return n==null?void 0:n.map(a=>{var o;if(Array.isArray(a==null?void 0:a.tableData)){let r={id:a.id};return(o=a==null?void 0:a.tableData)==null||o.forEach((y,d)=>{r[`a${d}`]=y}),r}else return{...a.tableData,id:a.id}})},b={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:s.value,name:""}]}]};l.watch(()=>i.value,e=>{var t;e&&(e==null?void 0:e.length)>0&&(s.value=(t=e==null?void 0:e[0])==null?void 0:t.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:h,handleQueryChange:_,onButtonClick:C,onDoubleClick:m,pageData:s,queryFormData:f,structureId:p,tempDeptPageData:b},Symbol.toStringTag,{value:"Module"}));exports.State=S;exports.tempDeptPageData=b;
@@ -1,8 +1,8 @@
1
1
  import { ref as c, computed as M, reactive as N, nextTick as x, watch as D } from "vue";
2
- import { g as P, s as C, E as f, c as z, d as H, e as L, u as Q } from "./menu-BQPjhn42.js";
3
- import { u as U } from "./login-GQGxI0h0.js";
4
- import { u as V } from "./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Ba5fmjEb.js";
5
- import { c as A } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B-rUyq8Y.js";
2
+ import { g as P, s as C, E as f, c as z, d as H, e as L, u as Q } from "./menu-ozOGGi5Z.js";
3
+ import { u as U } from "./login-DXi57ZMh.js";
4
+ import { u as V } from "./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-Bea0CNjG.js";
5
+ import { c as A } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
6
6
  const $ = Q(), { activeMenuPath: b } = C($), E = U(), { structureData: q } = C(E), G = V(), { itemData: J } = C(G), W = c([
7
7
  {
8
8
  label: "角色名称",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.vue_vue_type_script_setup_true_lang-DJ9rvQJ6.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-DSlW9AIf.cjs");exports.default=e._sfc_main;
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("vue"),l=require("./index-DeJ4Yg7X.cjs"),Nt=require("./menu-BW061cI0.cjs"),_=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bu7INyYH.cjs"),it=require("./index.vue_vue_type_script_setup_true_lang-DJ9rvQJ6.cjs");function It(e){return e}function xt(e,n,o){switch(o.length){case 0:return e.call(n);case 1:return e.call(n,o[0]);case 2:return e.call(n,o[0],o[1]);case 3:return e.call(n,o[0],o[1],o[2])}return e.apply(n,o)}var Mt=800,At=16,Vt=Date.now;function Rt(e){var n=0,o=0;return function(){var r=Vt(),a=At-(r-o);if(o=r,a>0){if(++n>=Mt)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}function Lt(e){return function(){return e}}var zt=_.defineProperty?function(e,n){return _.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:Lt(n),writable:!0})}:It,Ot=Rt(zt),$e=Math.max;function Pt(e,n,o){return n=$e(n===void 0?e.length-1:n,0),function(){for(var r=arguments,a=-1,s=$e(r.length-n,0),i=Array(s);++a<s;)i[a]=r[n+a];a=-1;for(var u=Array(n+1);++a<n;)u[a]=r[a];return u[n]=o(i),xt(e,this,u)}}var Ue=l.Symbol?l.Symbol.isConcatSpreadable:void 0;function Ft(e){return l.isArray(e)||_.isArguments(e)||!!(Ue&&e&&e[Ue])}function _t(e,n,o,r,a){var s=-1,i=e.length;for(o||(o=Ft),a||(a=[]);++s<i;){var u=e[s];o(u)?_.arrayPush(a,u):a[a.length]=u}return a}function Ht(e){var n=e==null?0:e.length;return n?_t(e):[]}function Dt(e){return Ot(Pt(e,void 0,Ht),e+"")}function $t(e,n){return e!=null&&n in Object(e)}function Ut(e,n,o){n=l.castPath(n,e);for(var r=-1,a=n.length,s=!1;++r<a;){var i=l.toKey(n[r]);if(!(s=e!=null&&o(e,i)))break;e=e[i]}return s||++r!=a?s:(a=e==null?0:e.length,!!a&&_.isLength(a)&&_.isIndex(i,a)&&(l.isArray(e)||_.isArguments(e)))}function Kt(e,n){return e!=null&&Ut(e,n,$t)}function Wt(e,n,o,r){if(!l.isObject$1(e))return e;n=l.castPath(n,e);for(var a=-1,s=n.length,i=s-1,u=e;u!=null&&++a<s;){var p=l.toKey(n[a]),d=o;if(p==="__proto__"||p==="constructor"||p==="prototype")return e;if(a!=i){var g=u[p];d=void 0,d===void 0&&(d=l.isObject$1(g)?g:_.isIndex(n[a+1])?[]:{})}_.assignValue(u,p,d),u=u[p]}return e}function Yt(e,n,o){for(var r=-1,a=n.length,s={};++r<a;){var i=n[r],u=l.baseGet(e,i);o(u,i)&&Wt(s,l.castPath(i,e),u)}return s}function Gt(e,n){return Yt(e,n,function(o,r){return Kt(e,r)})}var jt=Dt(function(e,n){return e==null?{}:Gt(e,n)});const Ce="update:modelValue",Ke="change",We="input";let re;const qt=e=>{var n;if(!l.isClient)return 0;if(re!==void 0)return re;const o=document.createElement("div");o.className=`${e}-scrollbar__wrap`,o.style.visibility="hidden",o.style.width="100px",o.style.position="absolute",o.style.top="-9999px",document.body.appendChild(o);const r=o.offsetWidth;o.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",o.appendChild(a);const s=a.offsetWidth;return(n=o.parentNode)==null||n.removeChild(o),re=r-s,re},Xt=()=>l.isClient&&/firefox/i.test(window.navigator.userAgent);let M;const Jt={height:"0",visibility:"hidden",overflow:Xt()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Zt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Qt(e){const n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing"),r=Number.parseFloat(n.getPropertyValue("padding-bottom"))+Number.parseFloat(n.getPropertyValue("padding-top")),a=Number.parseFloat(n.getPropertyValue("border-bottom-width"))+Number.parseFloat(n.getPropertyValue("border-top-width"));return{contextStyle:Zt.map(i=>[i,n.getPropertyValue(i)]),paddingSize:r,borderSize:a,boxSizing:o}}function Ye(e,n=1,o){var r;M||(M=document.createElement("textarea"),document.body.appendChild(M));const{paddingSize:a,borderSize:s,boxSizing:i,contextStyle:u}=Qt(e);u.forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S)),Object.entries(Jt).forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S,"important")),M.value=e.value||e.placeholder||"";let p=M.scrollHeight;const d={};i==="border-box"?p=p+s:i==="content-box"&&(p=p-a),M.value="";const g=M.scrollHeight-a;if(l.isNumber(n)){let m=g*n;i==="border-box"&&(m=m+a+s),p=Math.max(m,p),d.minHeight=`${m}px`}if(l.isNumber(o)){let m=g*o;i==="border-box"&&(m=m+a+s),p=Math.min(m,p)}return d.height=`${p}px`,(r=M.parentNode)==null||r.removeChild(M),M=void 0,d}const en=l.buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),tn=e=>jt(en,e),nn=l.buildProps({id:{type:String,default:void 0},size:l.useSizeProp,disabled:Boolean,modelValue:{type:l.definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:l.definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:l.iconPropType},prefixIcon:{type:l.iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:l.definePropType([Object,Array,String]),default:()=>Nt.mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...tn(["ariaLabel"])}),on={[Ce]:e=>l.isString(e),input:e=>l.isString(e),change:e=>l.isString(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},rn=["class","style"],an=/^on[A-Z]/,sn=(e={})=>{const{excludeListeners:n=!1,excludeKeys:o}=e,r=t.computed(()=>((o==null?void 0:o.value)||[]).concat(rn)),a=t.getCurrentInstance();return a?t.computed(()=>{var s;return l.fromPairs(Object.entries((s=a.proxy)==null?void 0:s.$attrs).filter(([i])=>!r.value.includes(i)&&!(n&&an.test(i))))}):(l.debugWarn("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),t.computed(()=>({})))},we={prefix:Math.floor(Math.random()*1e4),current:0},ln=Symbol("elIdInjection"),un=()=>t.getCurrentInstance()?t.inject(ln,we):we,Se=e=>{const n=un();!l.isClient&&n===we&&l.debugWarn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
1
+ "use strict";const t=require("vue"),l=require("./index-Bft1aZ0a.cjs"),Nt=require("./menu-CIgIfqSs.cjs"),_=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CMVrqCWx.cjs"),it=require("./index.vue_vue_type_script_setup_true_lang-DSlW9AIf.cjs");function It(e){return e}function xt(e,n,o){switch(o.length){case 0:return e.call(n);case 1:return e.call(n,o[0]);case 2:return e.call(n,o[0],o[1]);case 3:return e.call(n,o[0],o[1],o[2])}return e.apply(n,o)}var Mt=800,At=16,Vt=Date.now;function Rt(e){var n=0,o=0;return function(){var r=Vt(),a=At-(r-o);if(o=r,a>0){if(++n>=Mt)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}function Lt(e){return function(){return e}}var zt=_.defineProperty?function(e,n){return _.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:Lt(n),writable:!0})}:It,Ot=Rt(zt),$e=Math.max;function Pt(e,n,o){return n=$e(n===void 0?e.length-1:n,0),function(){for(var r=arguments,a=-1,s=$e(r.length-n,0),i=Array(s);++a<s;)i[a]=r[n+a];a=-1;for(var u=Array(n+1);++a<n;)u[a]=r[a];return u[n]=o(i),xt(e,this,u)}}var Ue=l.Symbol?l.Symbol.isConcatSpreadable:void 0;function Ft(e){return l.isArray(e)||_.isArguments(e)||!!(Ue&&e&&e[Ue])}function _t(e,n,o,r,a){var s=-1,i=e.length;for(o||(o=Ft),a||(a=[]);++s<i;){var u=e[s];o(u)?_.arrayPush(a,u):a[a.length]=u}return a}function Ht(e){var n=e==null?0:e.length;return n?_t(e):[]}function Dt(e){return Ot(Pt(e,void 0,Ht),e+"")}function $t(e,n){return e!=null&&n in Object(e)}function Ut(e,n,o){n=l.castPath(n,e);for(var r=-1,a=n.length,s=!1;++r<a;){var i=l.toKey(n[r]);if(!(s=e!=null&&o(e,i)))break;e=e[i]}return s||++r!=a?s:(a=e==null?0:e.length,!!a&&_.isLength(a)&&_.isIndex(i,a)&&(l.isArray(e)||_.isArguments(e)))}function Kt(e,n){return e!=null&&Ut(e,n,$t)}function Wt(e,n,o,r){if(!l.isObject$1(e))return e;n=l.castPath(n,e);for(var a=-1,s=n.length,i=s-1,u=e;u!=null&&++a<s;){var p=l.toKey(n[a]),d=o;if(p==="__proto__"||p==="constructor"||p==="prototype")return e;if(a!=i){var g=u[p];d=void 0,d===void 0&&(d=l.isObject$1(g)?g:_.isIndex(n[a+1])?[]:{})}_.assignValue(u,p,d),u=u[p]}return e}function Yt(e,n,o){for(var r=-1,a=n.length,s={};++r<a;){var i=n[r],u=l.baseGet(e,i);o(u,i)&&Wt(s,l.castPath(i,e),u)}return s}function Gt(e,n){return Yt(e,n,function(o,r){return Kt(e,r)})}var jt=Dt(function(e,n){return e==null?{}:Gt(e,n)});const Ce="update:modelValue",Ke="change",We="input";let re;const qt=e=>{var n;if(!l.isClient)return 0;if(re!==void 0)return re;const o=document.createElement("div");o.className=`${e}-scrollbar__wrap`,o.style.visibility="hidden",o.style.width="100px",o.style.position="absolute",o.style.top="-9999px",document.body.appendChild(o);const r=o.offsetWidth;o.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",o.appendChild(a);const s=a.offsetWidth;return(n=o.parentNode)==null||n.removeChild(o),re=r-s,re},Xt=()=>l.isClient&&/firefox/i.test(window.navigator.userAgent);let M;const Jt={height:"0",visibility:"hidden",overflow:Xt()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Zt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Qt(e){const n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing"),r=Number.parseFloat(n.getPropertyValue("padding-bottom"))+Number.parseFloat(n.getPropertyValue("padding-top")),a=Number.parseFloat(n.getPropertyValue("border-bottom-width"))+Number.parseFloat(n.getPropertyValue("border-top-width"));return{contextStyle:Zt.map(i=>[i,n.getPropertyValue(i)]),paddingSize:r,borderSize:a,boxSizing:o}}function Ye(e,n=1,o){var r;M||(M=document.createElement("textarea"),document.body.appendChild(M));const{paddingSize:a,borderSize:s,boxSizing:i,contextStyle:u}=Qt(e);u.forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S)),Object.entries(Jt).forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S,"important")),M.value=e.value||e.placeholder||"";let p=M.scrollHeight;const d={};i==="border-box"?p=p+s:i==="content-box"&&(p=p-a),M.value="";const g=M.scrollHeight-a;if(l.isNumber(n)){let m=g*n;i==="border-box"&&(m=m+a+s),p=Math.max(m,p),d.minHeight=`${m}px`}if(l.isNumber(o)){let m=g*o;i==="border-box"&&(m=m+a+s),p=Math.min(m,p)}return d.height=`${p}px`,(r=M.parentNode)==null||r.removeChild(M),M=void 0,d}const en=l.buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),tn=e=>jt(en,e),nn=l.buildProps({id:{type:String,default:void 0},size:l.useSizeProp,disabled:Boolean,modelValue:{type:l.definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:l.definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:l.iconPropType},prefixIcon:{type:l.iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:l.definePropType([Object,Array,String]),default:()=>Nt.mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...tn(["ariaLabel"])}),on={[Ce]:e=>l.isString(e),input:e=>l.isString(e),change:e=>l.isString(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},rn=["class","style"],an=/^on[A-Z]/,sn=(e={})=>{const{excludeListeners:n=!1,excludeKeys:o}=e,r=t.computed(()=>((o==null?void 0:o.value)||[]).concat(rn)),a=t.getCurrentInstance();return a?t.computed(()=>{var s;return l.fromPairs(Object.entries((s=a.proxy)==null?void 0:s.$attrs).filter(([i])=>!r.value.includes(i)&&!(n&&an.test(i))))}):(l.debugWarn("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),t.computed(()=>({})))},we={prefix:Math.floor(Math.random()*1e4),current:0},ln=Symbol("elIdInjection"),un=()=>t.getCurrentInstance()?t.inject(ln,we):we,Se=e=>{const n=un();!l.isClient&&n===we&&l.debugWarn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
2
2
  usage: app.provide(ID_INJECTION_KEY, {
3
3
  prefix: number,
4
4
  current: number,
@@ -1 +1 @@
1
- "use strict";const n=require("vue"),c=require("./menu-BW061cI0.cjs"),u=require("./index-CuEJFLji.cjs"),g=require("./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-CFuuYGuz.cjs"),D=g.useModelComp(),{itemData:f}=c.storeToRefs(D),p=n.ref(0),m=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:[]}]),_=e=>{u.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},h=e=>{console.log("onDoubleClick",e)},k=(e,a)=>{console.log("onButtonClick",e,a)},C=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((b,d)=>{s[`a${d}`]=b}),s}else return{...t.tableData,id:t.id}})},y={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:r.value,name:""}]}]};n.watch(()=>f.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 A=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:C,handleItemDataChange:_,handleQueryChange:i,onButtonClick:k,onDoubleClick:h,pageData:r,queryFormData:m,structureId:p,tempPostPageData:y},Symbol.toStringTag,{value:"Module"}));exports.State=A;exports.tempPostPageData=y;
1
+ "use strict";const n=require("vue"),c=require("./menu-CIgIfqSs.cjs"),u=require("./index-DdMKahpe.cjs"),g=require("./threeModel.vue_vue_type_style_index_0_scoped_3d52b35a_lang-D7fZi66-.cjs"),D=g.useModelComp(),{itemData:f}=c.storeToRefs(D),p=n.ref(0),m=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:[]}]),_=e=>{u.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},h=e=>{console.log("onDoubleClick",e)},k=(e,a)=>{console.log("onButtonClick",e,a)},C=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((b,d)=>{s[`a${d}`]=b}),s}else return{...t.tableData,id:t.id}})},y={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:r.value,name:""}]}]};n.watch(()=>f.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 A=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:C,handleItemDataChange:_,handleQueryChange:i,onButtonClick:k,onDoubleClick:h,pageData:r,queryFormData:m,structureId:p,tempPostPageData:y},Symbol.toStringTag,{value:"Module"}));exports.State=A;exports.tempPostPageData=y;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),I=require("./index.vue_vue_type_script_setup_true_lang-DJ9rvQJ6.cjs"),k=require("./index-aE1YtI0N.cjs"),x=require("./menu-BW061cI0.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-B84fmd8R.cjs"),B=require("./index-BpPyaNFa.cjs"),N={class:"avatar-model-wrap"},V=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},userInfo:{type:Object,default:{}}},emits:["submitImage","deleteImage"],setup(i,{emit:y}){const u=i,c=y,h=e.computed(()=>"http://139.196.154.85:20013"),p=e.ref(""),d=e.ref(""),_=e.ref();e.watch(()=>{var o;return(o=u.userInfo)==null?void 0:o.avatarUrl},o=>{d.value=o},{immediate:!0});const w=async()=>{if(!(u!=null&&u.disabled))try{const o=await k.downloadAvatarApi({url:p.value});if(o.status!==200)throw new Error(`HTTP error! status: ${o.status}`);const f=new Blob([o.data],{type:o.headers["content-type"]});_.value=f}catch(o){throw new Error(o)}},S=async o=>{var f,g,t,n,l;try{const r=await k.uploadAvatarApi(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(d.value=h.value+"/"+((t=(g=r.data)==null?void 0:g.result)==null?void 0:t.url),p.value=(l=(n=r.data)==null?void 0:n.result)==null?void 0:l.url,c("submitImage",d.value))}catch(r){x.ElMessage.error(r)}},b=async()=>{try{if(!d.value)return}catch(o){x.ElMessage.error(o)}};return(o,f)=>{var g,t,n;return e.openBlock(),e.createElementBlock("div",N,[e.createVNode(I._sfc_main,{avatarUrl:d.value,avatarBlob:_.value,onClickAvatar:w,onSubmitImage:S,onDeleteImage:b},{avatarDefault:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString(((l=i.userInfo)==null?void 0:l.account)??"未知"),1)]}),_:1},8,["avatarUrl","avatarBlob"]),e.createElementVNode("span",null,e.toDisplayString((g=i.userInfo)!=null&&g.userName?(t=i.userInfo)==null?void 0:t.userName:(n=i.userInfo)==null?void 0:n.account),1)])}}}),E=C._export_sfc(V,[["__scopeId","data-v-bcb7a17f"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(i,{emit:y}){const u=i,c=e.ref({}),h=e.ref([]),p=y,d=t=>{c.value.dialogShow=(t==null?void 0:t.label)==="电子签名",p("clickSignButton",t)},_=()=>{c.value.dialogShow=!1,p("beforeDestroy")},w=e.computed(()=>"http://139.196.154.85:20013"),S=t=>{var a;const n=t.split(","),l=(a=n==null?void 0:n[0])==null?void 0:a.match(/:(.*?);/)[1],r=atob(n[1]);let s=r.length;const v=new Uint8Array(s);for(;s--;)v[s]=r.charCodeAt(s);return new Blob([v],{type:l})},b=async t=>{var n,l,r;try{const s=await k.uploadAvatarApi(t);((n=s==null?void 0:s.data)==null?void 0:n.code)===200&&p("clickSubmitSign",w.value+"/"+((r=(l=s.data)==null?void 0:l.result)==null?void 0:r.url))}catch(s){x.ElMessage.error(s)}},o=e.ref(""),f=t=>{o.value=t,c.value.dialogShow=!1;const n=new FormData,l=S(t);n.append("file",l,"image.png"),b(n)},g=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),b(n)};return e.watch(()=>u==null?void 0:u.itemData,t=>{var l,r,s,v;o.value="",(l=c.value)!=null&&l.dialogShow&&(c.value.dialogShow=!1);const n=(r=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:r.contents;n&&Object.keys(n).forEach(a=>{(n[a]===void 0||n[a]===null||n[a]==="")&&delete n[a]}),c.value=(s=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:s.contents,h.value=(v=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signTypeList"))==null?void 0:v.contents},{immediate:!0}),(t,n)=>{const l=e.resolveComponent("el-empty"),r=e.resolveComponent("el-image"),s=e.resolveComponent("el-button"),v=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(A.Signature,{signPadInfo:c.value,onBeforeDestroy:_,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,m;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=c.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:(m=i.userInfo)==null?void 0:m.signature,fit:"contain"},{error:e.withCtx(()=>[e.createVNode(l,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(B.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,a=>{var m;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(m=a.label)!=null&&m.includes("上传")?(e.openBlock(),e.createBlock(v,{key:0,ref_for:!0,ref:"uploadRef","http-request":g,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(s,{disabled:a.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(B.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(s,{key:1,id:"themeButton",disabled:a.disabled,onClick:q=>d(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(B.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),T=C._export_sfc(U,[["__scopeId","data-v-b9bd887d"]]);exports.ssAvatar=E;exports.ssSignature=T;
1
+ "use strict";const e=require("vue"),I=require("./index.vue_vue_type_script_setup_true_lang-DSlW9AIf.cjs"),k=require("./index-5QKtXqtt.cjs"),x=require("./menu-CIgIfqSs.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-sbQSWrBI.cjs"),B=require("./index-BpPyaNFa.cjs"),N={class:"avatar-model-wrap"},V=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},userInfo:{type:Object,default:{}}},emits:["submitImage","deleteImage"],setup(i,{emit:y}){const u=i,c=y,h=e.computed(()=>"http://139.196.154.85:20013"),p=e.ref(""),d=e.ref(""),_=e.ref();e.watch(()=>{var o;return(o=u.userInfo)==null?void 0:o.avatarUrl},o=>{d.value=o},{immediate:!0});const w=async()=>{if(!(u!=null&&u.disabled))try{const o=await k.downloadAvatarApi({url:p.value});if(o.status!==200)throw new Error(`HTTP error! status: ${o.status}`);const f=new Blob([o.data],{type:o.headers["content-type"]});_.value=f}catch(o){throw new Error(o)}},S=async o=>{var f,g,t,n,l;try{const r=await k.uploadAvatarApi(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(d.value=h.value+"/"+((t=(g=r.data)==null?void 0:g.result)==null?void 0:t.url),p.value=(l=(n=r.data)==null?void 0:n.result)==null?void 0:l.url,c("submitImage",d.value))}catch(r){x.ElMessage.error(r)}},b=async()=>{try{if(!d.value)return}catch(o){x.ElMessage.error(o)}};return(o,f)=>{var g,t,n;return e.openBlock(),e.createElementBlock("div",N,[e.createVNode(I._sfc_main,{avatarUrl:d.value,avatarBlob:_.value,onClickAvatar:w,onSubmitImage:S,onDeleteImage:b},{avatarDefault:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString(((l=i.userInfo)==null?void 0:l.account)??"未知"),1)]}),_:1},8,["avatarUrl","avatarBlob"]),e.createElementVNode("span",null,e.toDisplayString((g=i.userInfo)!=null&&g.userName?(t=i.userInfo)==null?void 0:t.userName:(n=i.userInfo)==null?void 0:n.account),1)])}}}),E=C._export_sfc(V,[["__scopeId","data-v-bcb7a17f"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(i,{emit:y}){const u=i,c=e.ref({}),h=e.ref([]),p=y,d=t=>{c.value.dialogShow=(t==null?void 0:t.label)==="电子签名",p("clickSignButton",t)},_=()=>{c.value.dialogShow=!1,p("beforeDestroy")},w=e.computed(()=>"http://139.196.154.85:20013"),S=t=>{var a;const n=t.split(","),l=(a=n==null?void 0:n[0])==null?void 0:a.match(/:(.*?);/)[1],r=atob(n[1]);let s=r.length;const v=new Uint8Array(s);for(;s--;)v[s]=r.charCodeAt(s);return new Blob([v],{type:l})},b=async t=>{var n,l,r;try{const s=await k.uploadAvatarApi(t);((n=s==null?void 0:s.data)==null?void 0:n.code)===200&&p("clickSubmitSign",w.value+"/"+((r=(l=s.data)==null?void 0:l.result)==null?void 0:r.url))}catch(s){x.ElMessage.error(s)}},o=e.ref(""),f=t=>{o.value=t,c.value.dialogShow=!1;const n=new FormData,l=S(t);n.append("file",l,"image.png"),b(n)},g=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),b(n)};return e.watch(()=>u==null?void 0:u.itemData,t=>{var l,r,s,v;o.value="",(l=c.value)!=null&&l.dialogShow&&(c.value.dialogShow=!1);const n=(r=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:r.contents;n&&Object.keys(n).forEach(a=>{(n[a]===void 0||n[a]===null||n[a]==="")&&delete n[a]}),c.value=(s=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:s.contents,h.value=(v=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signTypeList"))==null?void 0:v.contents},{immediate:!0}),(t,n)=>{const l=e.resolveComponent("el-empty"),r=e.resolveComponent("el-image"),s=e.resolveComponent("el-button"),v=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(A.Signature,{signPadInfo:c.value,onBeforeDestroy:_,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,m;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=c.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:(m=i.userInfo)==null?void 0:m.signature,fit:"contain"},{error:e.withCtx(()=>[e.createVNode(l,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(B.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,a=>{var m;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(m=a.label)!=null&&m.includes("上传")?(e.openBlock(),e.createBlock(v,{key:0,ref_for:!0,ref:"uploadRef","http-request":g,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(s,{disabled:a.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(B.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(s,{key:1,id:"themeButton",disabled:a.disabled,onClick:q=>d(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(B.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),T=C._export_sfc(U,[["__scopeId","data-v-b9bd887d"]]);exports.ssAvatar=E;exports.ssSignature=T;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as o, reactive as a, onMounted as r, createElementBlock as c, openBlock as s, createVNode as i } from "vue";
2
2
  import "./index-BHtNKL1L.js";
3
- import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B-rUyq8Y.js";
4
- import { u as m, s as u } from "./menu-BQPjhn42.js";
5
- import { v as l } from "./index-7TyqzNe8.js";
6
- import { S as p } from "./index-CQIhXQ3O.js";
7
- import { u as d } from "./login-GQGxI0h0.js";
8
- import { g } from "./index-DowqkTOa.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-UFSwAOJz.js";
4
+ import { u as m, s as u } from "./menu-ozOGGi5Z.js";
5
+ import { v as l } from "./index-C9Qome4l.js";
6
+ import { S as p } from "./index-CA6wLV-m.js";
7
+ import { u as d } from "./login-DXi57ZMh.js";
8
+ import { g } from "./index-CVkIx7Qb.js";
9
9
  const I = /* @__PURE__ */ o({
10
10
  __name: "index",
11
11
  setup(f) {