ss-component-new 1.2.28 → 1.2.29

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 (105) hide show
  1. package/dist/{MTLLoader-Cqv49Ps8.cjs → MTLLoader-Btl6jtTT.cjs} +1 -1
  2. package/dist/{MTLLoader-BreJsr54.js → MTLLoader-DaS4oK2-.js} +1 -1
  3. package/dist/{OrbitControls-C956u7BP.cjs → OrbitControls-CcAsTKCV.cjs} +1 -1
  4. package/dist/{OrbitControls-BCu-cP7k.js → OrbitControls-DgQjdt42.js} +1 -1
  5. package/dist/{animationData-C3-BiUgV.cjs → animationData-CLz_pFa4.cjs} +1 -1
  6. package/dist/{animationData-CMjNjOqc.js → animationData-DU7c8LKS.js} +3 -3
  7. package/dist/{array-BGIM4b6g.js → array-DflozZ1A.js} +1 -1
  8. package/dist/{array-0u9Sf3UC.cjs → array-XlxGBHUo.cjs} +1 -1
  9. package/dist/config.js +1 -0
  10. package/dist/{dataUtil-D9l7-XhR.js → dataUtil-DHVz_Gv0.js} +1 -1
  11. package/dist/{dataUtil-BFjWNDM1.cjs → dataUtil-DTrXZ9vY.cjs} +1 -1
  12. package/dist/{fileUtil-D7XVXEhb.js → fileUtil-CpaC-lNY.js} +1 -1
  13. package/dist/{fileUtil-BFtJHTM0.cjs → fileUtil-DxupWpPS.cjs} +1 -1
  14. package/dist/{iconfont-BDfcbq2v.cjs → iconfont-CE4P8Jsp.cjs} +1 -1
  15. package/dist/{iconfont-B9Cj3DQM.js → iconfont-Du0xZzV7.js} +2 -2
  16. package/dist/index-6n-ju54O.cjs +1 -0
  17. package/dist/{index-D5Dtcn-_.js → index-B-50SHak.js} +3 -3
  18. package/dist/{index-Boazv8yC.js → index-B-ldbKny.js} +1 -1
  19. package/dist/{index-gXbhagnF.js → index-B-tlh5kE.js} +2 -2
  20. package/dist/{index-Cd9j5j41.cjs → index-B3DrN_P-.cjs} +1 -1
  21. package/dist/{index-DMyPjpxO.cjs → index-B5FSXqHm.cjs} +1 -1
  22. package/dist/{index-Rr9ZBYig.js → index-BAxaq2y7.js} +1 -1
  23. package/dist/{index-DHOcRi3S.js → index-BDOGaTwD.js} +5 -5
  24. package/dist/{index-mpoVA-DC.cjs → index-BOP__94H.cjs} +1 -1
  25. package/dist/{index-C5UpEVah.js → index-BRRZuuEl.js} +2 -2
  26. package/dist/{index-3QB55tXZ.js → index-BY0odixw.js} +2 -2
  27. package/dist/{index-Cwh5m4lg.cjs → index-BcQ40Tes.cjs} +1 -1
  28. package/dist/{index-zZ9bfGNx.js → index-BekLYZRQ.js} +1 -1
  29. package/dist/{index-C_cWjavY.cjs → index-BfHU9Svo.cjs} +1 -1
  30. package/dist/{index-DE-uHAMH.cjs → index-Bqi3sJC7.cjs} +1 -1
  31. package/dist/{index-wQJN1jpI.js → index-BwdapKZb.js} +686 -686
  32. package/dist/{index-DqR3IwgZ.js → index-BzBkXwTh.js} +11 -11
  33. package/dist/{index-DsCD1neC.js → index-C1mFijwB.js} +1 -1
  34. package/dist/{index-B9TlIok8.cjs → index-C7HVXP10.cjs} +1 -1
  35. package/dist/{index-BWxbWhC9.cjs → index-C7HhZZ5E.cjs} +1 -1
  36. package/dist/{index-uIVtG4RY.cjs → index-CFCa1xzq.cjs} +1 -1
  37. package/dist/{index-B33wtiif.cjs → index-CJHddCMi.cjs} +1 -1
  38. package/dist/{index-BccOOMaP.cjs → index-CLxjU9d5.cjs} +1 -1
  39. package/dist/{index-CKY0sj_X.js → index-CQT5dUkY.js} +2 -2
  40. package/dist/{index-CC9RkSBT.cjs → index-CU1BmVAB.cjs} +1 -1
  41. package/dist/{index-DiTYB-a4.js → index-CY01t_AB.js} +3 -3
  42. package/dist/{index-CP7b7BrB.cjs → index-Cb4pfE6J.cjs} +1 -1
  43. package/dist/index-Cg506ve2.cjs +1 -0
  44. package/dist/{index-Sa2hQZ0h.js → index-Cjg3XFfr.js} +2 -2
  45. package/dist/{index-zLkhy4JK.cjs → index-CkGrtePb.cjs} +1 -1
  46. package/dist/{index-BqRVuEsE.js → index-CpbXQJ69.js} +5 -5
  47. package/dist/{index-Dx2X9pR1.js → index-CqOtFvZa.js} +2 -2
  48. package/dist/{index-C-8LROmP.js → index-Crxd7-b7.js} +2 -2
  49. package/dist/{index-CMwwUi6o.js → index-Cu8QKH00.js} +5 -5
  50. package/dist/{index-C1lZkQG-.js → index-D0_uI-0k.js} +8 -8
  51. package/dist/{index-DVqfroe6.cjs → index-D58EyLez.cjs} +1 -1
  52. package/dist/{index-D0XPyuy4.cjs → index-D6iyHpio.cjs} +1 -1
  53. package/dist/{index-DR7aNxVH.js → index-D9JzfDXH.js} +2 -2
  54. package/dist/{index-D3TgRd-7.cjs → index-DEGcvzNY.cjs} +1 -1
  55. package/dist/{index-TKouySTA.cjs → index-DG3THGbR.cjs} +1 -1
  56. package/dist/{index-OTxJnh9Z.js → index-DKeA3do3.js} +7 -7
  57. package/dist/{index-GGokR_Lx.cjs → index-DcqJF5CQ.cjs} +1 -1
  58. package/dist/{index-C5fTUrKx.js → index-DhP_8QY1.js} +37 -37
  59. package/dist/{index-znR89ub7.cjs → index-DmZZFY-Z.cjs} +1 -1
  60. package/dist/{index-CBFF2bsB.cjs → index-Dr8RTHlQ.cjs} +1 -1
  61. package/dist/{index-BaE0DPgC.js → index-Dw2Y4uH_.js} +1 -1
  62. package/dist/{index-gPnrvvE9.js → index-DztWBQml.js} +5 -5
  63. package/dist/{index-C9_Cxm8G.cjs → index-FTDiaeLm.cjs} +1 -1
  64. package/dist/{index-LcnC2GQ4.cjs → index-GnTS2V_K.cjs} +1 -1
  65. package/dist/{index-B8bpiPXB.js → index-LWBnZlM7.js} +1 -1
  66. package/dist/{index-CK5VdzmO.cjs → index-N4TPHpp3.cjs} +1 -1
  67. package/dist/{index-BZwQB2HO.js → index-j_GTy39J.js} +1 -1
  68. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-TDoJ17os.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CXCyffCH.cjs} +1 -1
  69. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CuWDdCiy.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CknYXUAG.js} +1 -1
  70. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BQiH2RRX.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-BjSHFmlk.js} +5 -5
  71. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Dqpyi0E8.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DP9-elEo.cjs} +1 -1
  72. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-PE_6dfIO.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BW70gvjA.js} +9 -9
  73. package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-D21h7jT_.cjs → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DsBgefdP.cjs} +1 -1
  74. package/dist/{index.vue_vue_type_style_index_1_lang-9ANlnWKt.js → index.vue_vue_type_style_index_1_lang-7YyaG-ux.js} +4 -4
  75. package/dist/{index.vue_vue_type_style_index_1_lang-DwvuVXW6.js → index.vue_vue_type_style_index_1_lang-7jdZW6T6.js} +1609 -1604
  76. package/dist/index.vue_vue_type_style_index_1_lang-CEg9OCRk.cjs +32 -0
  77. package/dist/{index.vue_vue_type_style_index_1_lang-D4RvHwPS.cjs → index.vue_vue_type_style_index_1_lang-DR2WbpbS.cjs} +1 -1
  78. package/dist/{main-Mx9r7ydp.cjs → main-BihXvzMI.cjs} +1 -1
  79. package/dist/{main-DpLQlLK2.js → main-DNSqqdPD.js} +4 -4
  80. package/dist/ss-component.cjs +1 -1
  81. package/dist/ss-component.css +1 -1
  82. package/dist/ss-component.js +10 -10
  83. package/dist/ss-component2.cjs +1 -1
  84. package/dist/ss-component2.js +11 -11
  85. package/dist/{threeModel-CZ-qFwwk.js → threeModel-BqOQ47Za.js} +4 -4
  86. package/dist/{threeModel-DTwQnnAO.cjs → threeModel-CtBBRBOK.cjs} +1 -1
  87. package/dist/{threePreview-CUGoEzKf.cjs → threePreview-BHE13BvL.cjs} +1 -1
  88. package/dist/{threePreview-DutKTPWH.js → threePreview-Bd_hs3b5.js} +3 -3
  89. package/dist/{threeSceneView-CzgWYHBw.js → threeSceneView-CcIM0Moj.js} +10 -10
  90. package/dist/{threeSceneView-f1V-z4jr.cjs → threeSceneView-CpUZIDu0.cjs} +1 -1
  91. package/dist/{threeSceneViewForCPMPIP-2sXIw3I1.js → threeSceneViewForCPMPIP-CSLxU6SD.js} +9 -9
  92. package/dist/{threeSceneViewForCPMPIP-CojHDVHC.cjs → threeSceneViewForCPMPIP-CdwlvwVM.cjs} +1 -1
  93. package/dist/{threeTrackPathView-DA4_8jas.js → threeTrackPathView-BWG_40eX.js} +4 -4
  94. package/dist/{threeTrackPathView-BGHiOyJo.cjs → threeTrackPathView-CFubNJOL.cjs} +1 -1
  95. package/dist/{threeViewerHost-D3WDKrIQ.cjs → threeViewerHost-BuBE7hoc.cjs} +1 -1
  96. package/dist/{threeViewerHost-BNObp9oA.js → threeViewerHost-vCZc8klC.js} +3 -3
  97. package/dist/{urdfTree-CWStzmk2.cjs → urdfTree-BiiSGsZg.cjs} +1 -1
  98. package/dist/{urdfTree-CnkPddyT.js → urdfTree-C57hYJRP.js} +1 -1
  99. package/dist/{workpieceTreePanel-DXyb_Wnw.cjs → workpieceTreePanel-CWhD21xq.cjs} +1 -1
  100. package/dist/{workpieceTreePanel-BvhFt3Xw.js → workpieceTreePanel-D8qBDVhq.js} +5 -5
  101. package/package.json +1 -1
  102. package/public/config.js +1 -0
  103. package/dist/index-BgHY8wmn.cjs +0 -1
  104. package/dist/index-DnFxL5wb.cjs +0 -1
  105. package/dist/index.vue_vue_type_style_index_1_lang-CrmWclPR.cjs +0 -32
@@ -1 +1 @@
1
- "use strict";const M=require("vue"),n=require("./index-Dv1G67_Q.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-CrmWclPR.cjs"),k=M.ref([]),q=M.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:k.value}]),A=(l,s,o)=>{l==="清空"&&T.ElMessageBox.confirm("是否确认清空所有日志","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(async()=>{var r,e;try{const a=await n.batchDeleteInsofDataApi({ids:s});((r=a==null?void 0:a.data)==null?void 0:r.code)===200?(n.ElMessage.success("清空日志成功"),o(!0)):(n.ElMessage.error(((e=a==null?void 0:a.data)==null?void 0:e.message)??"清空请求响应失败"),o(!1))}catch{n.ElMessage.error("清空操作处理失败"),o(!1)}}).catch(()=>{o(!1)})},K=async(l="login")=>{var s,o,r;try{const e=await n.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"/log",type:"system",logType:l}});if(((s=e==null?void 0:e.data)==null?void 0:s.code)===200)return(r=(o=e==null?void 0:e.data)==null?void 0:o.result)==null?void 0:r.map(a=>{var t,u,c,d,y,p,g,f,v,b,_,S,h,x,B,D,w,E;return l==="login"?{...(u=(t=a==null?void 0:a.value)==null?void 0:t.detail)==null?void 0:u.data,timeStamp:(c=a==null?void 0:a.value)==null?void 0:c.timeStamp,id:a==null?void 0:a.id,type:(y=(d=a==null?void 0:a.value)==null?void 0:d.detail)==null?void 0:y.type}:{timeStamp:(p=a==null?void 0:a.value)==null?void 0:p.timeStamp,account:(g=a==null?void 0:a.value)==null?void 0:g.account,userName:(f=a==null?void 0:a.value)==null?void 0:f.userName,module:typeof((v=a==null?void 0:a.value)==null?void 0:v.module)=="string"?(_=(b=a==null?void 0:a.value)==null?void 0:b.module)!=null&&_.startsWith("/")?(h=(S=a==null?void 0:a.value)==null?void 0:S.module)==null?void 0:h.substring(1):(x=a==null?void 0:a.value)==null?void 0:x.module:(D=(B=a==null?void 0:a.value)==null?void 0:B.module)==null?void 0:D.pageKey,id:a==null?void 0:a.id,type:(E=(w=a==null?void 0:a.value)==null?void 0:w.detail)==null?void 0:E.type}});n.ElMessage.error("获取数据响应失败")}catch(e){throw new Error("获取数据失败"+e)}},I=Object.freeze(Object.defineProperty({__proto__:null,clickButton:A,getLogTableDataAsync:K,pageData:q,tableData:k},Symbol.toStringTag,{value:"Module"}));exports.State=I;exports.clickButton=A;exports.getLogTableDataAsync=K;
1
+ "use strict";const M=require("vue"),n=require("./index-Dv1G67_Q.cjs"),T=require("./index.vue_vue_type_style_index_1_lang-CEg9OCRk.cjs"),k=M.ref([]),q=M.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:k.value}]),A=(l,s,o)=>{l==="清空"&&T.ElMessageBox.confirm("是否确认清空所有日志","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(async()=>{var r,e;try{const a=await n.batchDeleteInsofDataApi({ids:s});((r=a==null?void 0:a.data)==null?void 0:r.code)===200?(n.ElMessage.success("清空日志成功"),o(!0)):(n.ElMessage.error(((e=a==null?void 0:a.data)==null?void 0:e.message)??"清空请求响应失败"),o(!1))}catch{n.ElMessage.error("清空操作处理失败"),o(!1)}}).catch(()=>{o(!1)})},K=async(l="login")=>{var s,o,r;try{const e=await n.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"/log",type:"system",logType:l}});if(((s=e==null?void 0:e.data)==null?void 0:s.code)===200)return(r=(o=e==null?void 0:e.data)==null?void 0:o.result)==null?void 0:r.map(a=>{var t,u,c,d,y,p,g,f,v,b,_,S,h,x,B,D,w,E;return l==="login"?{...(u=(t=a==null?void 0:a.value)==null?void 0:t.detail)==null?void 0:u.data,timeStamp:(c=a==null?void 0:a.value)==null?void 0:c.timeStamp,id:a==null?void 0:a.id,type:(y=(d=a==null?void 0:a.value)==null?void 0:d.detail)==null?void 0:y.type}:{timeStamp:(p=a==null?void 0:a.value)==null?void 0:p.timeStamp,account:(g=a==null?void 0:a.value)==null?void 0:g.account,userName:(f=a==null?void 0:a.value)==null?void 0:f.userName,module:typeof((v=a==null?void 0:a.value)==null?void 0:v.module)=="string"?(_=(b=a==null?void 0:a.value)==null?void 0:b.module)!=null&&_.startsWith("/")?(h=(S=a==null?void 0:a.value)==null?void 0:S.module)==null?void 0:h.substring(1):(x=a==null?void 0:a.value)==null?void 0:x.module:(D=(B=a==null?void 0:a.value)==null?void 0:B.module)==null?void 0:D.pageKey,id:a==null?void 0:a.id,type:(E=(w=a==null?void 0:a.value)==null?void 0:w.detail)==null?void 0:E.type}});n.ElMessage.error("获取数据响应失败")}catch(e){throw new Error("获取数据失败"+e)}},I=Object.freeze(Object.defineProperty({__proto__:null,clickButton:A,getLogTableDataAsync:K,pageData:q,tableData:k},Symbol.toStringTag,{value:"Module"}));exports.State=I;exports.clickButton=A;exports.getLogTableDataAsync=K;
@@ -1,14 +1,14 @@
1
1
  import { ref as X, watch as Ge, nextTick as ea, resolveComponent as Ne, createBlock as Fe, openBlock as ie, withCtx as re, createElementVNode as be, renderSlot as Ba, onMounted as ha, createElementBlock as Ue, normalizeStyle as Ol, normalizeClass as Xa, toDisplayString as je, createCommentVNode as Me, createVNode as te, unref as Ie, Fragment as vl, renderList as bl, createTextVNode as rl, defineComponent as Ha, reactive as Zl, inject as Hr, provide as Qr, onBeforeUnmount as Yr, computed as Ma, onUnmounted as Zr, createSlots as Ir } from "vue";
2
2
  import { by as Vr, ay as en, c as q, E as $e, cb as ya, g as _l, p as hl, s as Ul, u as ln, bI as pa, e as Ka, b as yl, bK as an, d as rn, ce as nn } from "./index-HduGypr9.js";
3
- import { d as Na, aO as sn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CuWDdCiy.js";
4
- import { c as la, _ as un, h as on, e as tn, E as cn } from "./index-gPnrvvE9.js";
5
- import { b as dn, T as pn, d as fa, c as fn } from "./threeViewerHost-BNObp9oA.js";
6
- import { aE as Kl, ay as gn, j as al, k as hn, i as yn, u as vn, aD as bn, a as Sn, aT as Fa, aU as wa, aV as kn, aW as Tn, l as Il, E as za, aB as Ja, aX as Wa, aM as mn, aY as An } from "./index.vue_vue_type_style_index_1_lang-DwvuVXW6.js";
3
+ import { d as Na, aO as sn } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CknYXUAG.js";
4
+ import { c as la, _ as un, h as on, e as tn, E as cn } from "./index-DztWBQml.js";
5
+ import { b as dn, T as pn, d as fa, c as fn } from "./threeViewerHost-vCZc8klC.js";
6
+ import { aE as Kl, ay as gn, j as al, k as hn, i as yn, u as vn, aD as bn, a as Sn, aT as Fa, aU as wa, aV as kn, aW as Tn, l as Il, E as za, aB as Ja, aX as Wa, aM as mn, aY as An } from "./index.vue_vue_type_style_index_1_lang-7jdZW6T6.js";
7
7
  import { r as Un, u as Nl, w as _n } from "./xlsx-ByPOQ6N_.js";
8
- import "./index.vue_vue_type_style_index_1_lang-9ANlnWKt.js";
8
+ import "./index.vue_vue_type_style_index_1_lang-7YyaG-ux.js";
9
9
  import { _ as aa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { s as Vl } from "./index-zZ9bfGNx.js";
11
- import "./index-BZwQB2HO.js";
10
+ import { s as Vl } from "./index-BekLYZRQ.js";
11
+ import "./index-j_GTy39J.js";
12
12
  import { i as Ga } from "./isString-BuBBWjRr.js";
13
13
  const Ra = (N) => N.match(/\((.*)\)/)[1], On = {
14
14
  __name: "index",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-TDoJ17os.cjs");const r=require("./index.vue_vue_type_style_index_1_lang-CrmWclPR.cjs"),c=require("./index-Dv1G67_Q.cjs"),i=require("./index-D0XPyuy4.cjs"),y=r.useModelComp(),{itemData:g}=c.storeToRefs(y),p=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),_=e=>{console.log("handleQueryChange",e)},u=o.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:[]}]),f=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},m=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},C=async e=>{const a=await r.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((d,b)=>{s[`a${b}`]=d}),s}else return{...t.tableData,id:t.id}})},v={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>g.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:C,handleItemDataChange:f,handleQueryChange:_,onButtonClick:h,onDoubleClick:m,pageData:u,queryFormData:D,structureId:p,tempDeptPageData:v},Symbol.toStringTag,{value:"Module"})),k={class:"role-wrapper"},T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),l=r.useMenuState(),{activeMenuPath:t}=c.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await r.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",k,[o.createVNode(i.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CXCyffCH.cjs");const r=require("./index.vue_vue_type_style_index_1_lang-CEg9OCRk.cjs"),c=require("./index-Dv1G67_Q.cjs"),i=require("./index-D6iyHpio.cjs"),y=r.useModelComp(),{itemData:g}=c.storeToRefs(y),p=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),_=e=>{console.log("handleQueryChange",e)},u=o.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:[]}]),f=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},m=e=>{console.log("onDoubleClick",e)},h=(e,a)=>{console.log("onButtonClick",e,a)},C=async e=>{const a=await r.handleSubmitAsync(c.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((d,b)=>{s[`a${b}`]=d}),s}else return{...t.tableData,id:t.id}})},v={comp:"Group",name:"/系统管理/部门管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>g.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:C,handleItemDataChange:f,handleQueryChange:_,onButtonClick:h,onDoubleClick:m,pageData:u,queryFormData:D,structureId:p,tempDeptPageData:v},Symbol.toStringTag,{value:"Module"})),k={class:"role-wrapper"},T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),l=r.useMenuState(),{activeMenuPath:t}=c.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await r.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",k,[o.createVNode(i.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
@@ -1,13 +1,13 @@
1
- import { createElementBlock as J, openBlock as W, createElementVNode as h, renderSlot as $, defineComponent as Y, ref as E, resolveComponent as B, createVNode as k, withCtx as y, reactive as se, watch as ae, onMounted as fe, toDisplayString as V, unref as X, createTextVNode as j } from "vue";
1
+ import { createElementBlock as J, openBlock as W, createElementVNode as b, renderSlot as $, defineComponent as Y, ref as E, resolveComponent as B, createVNode as k, withCtx as y, reactive as se, watch as ae, onMounted as fe, toDisplayString as V, unref as X, createTextVNode as j } from "vue";
2
2
  import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  import { a as ne, u as oe, p as ce, E as K, s as ye, b as pe, g as q } from "./index-HduGypr9.js";
4
- import { d as re, r as ge, g as me, c as ve, b as he, e as be, f as _e, h as we } from "./index.vue_vue_type_style_index_1_lang-DwvuVXW6.js";
4
+ import { d as re, r as ge, g as me, c as ve, b as be, e as he, f as _e, h as we } from "./index.vue_vue_type_style_index_1_lang-7jdZW6T6.js";
5
5
  import { useRouter as Ae } from "vue-router";
6
- import { v as Ce } from "./index-Rr9ZBYig.js";
6
+ import { v as Ce } from "./index-BAxaq2y7.js";
7
7
  const ke = {}, Se = { class: "left-wrap" }, Ie = { class: "left-bg" };
8
8
  function Te(T, M) {
9
9
  return W(), J("div", Se, [
10
- h("div", Ie, [
10
+ b("div", Ie, [
11
11
  $(T.$slots, "img", {}, void 0, !0)
12
12
  ])
13
13
  ]);
@@ -26,8 +26,8 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
26
26
  },
27
27
  emits: ["clickLogin", "handleTabChange"],
28
28
  setup(T, { emit: M }) {
29
- const b = E("account"), d = M, S = () => {
30
- d("clickLogin", b.value);
29
+ const h = E("account"), d = M, S = () => {
30
+ d("clickLogin", h.value);
31
31
  }, _ = (u) => {
32
32
  d("handleTabChange", u);
33
33
  };
@@ -35,8 +35,8 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
35
35
  const p = B("el-button"), w = B("el-tab-pane"), m = B("el-tabs");
36
36
  return W(), J("div", Ne, [
37
37
  k(m, {
38
- modelValue: b.value,
39
- "onUpdate:modelValue": g[0] || (g[0] = (r) => b.value = r),
38
+ modelValue: h.value,
39
+ "onUpdate:modelValue": g[0] || (g[0] = (r) => h.value = r),
40
40
  class: "right-tabs",
41
41
  onTabChange: _
42
42
  }, {
@@ -46,10 +46,10 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
46
46
  $(u.$slots, "tabLabel1", {}, void 0, !0)
47
47
  ]),
48
48
  default: y(() => [
49
- h("div", Le, [
49
+ b("div", Le, [
50
50
  $(u.$slots, "tabContent1", {}, void 0, !0)
51
51
  ]),
52
- h("div", {
52
+ b("div", {
53
53
  class: "tab-button special",
54
54
  onClick: S
55
55
  }, [
@@ -60,7 +60,7 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
60
60
  _: 3
61
61
  }, 8, ["loading"])
62
62
  ]),
63
- h("div", $e, [
63
+ b("div", $e, [
64
64
  $(u.$slots, "tabTips1", {}, void 0, !0)
65
65
  ])
66
66
  ]),
@@ -71,10 +71,10 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
71
71
  $(u.$slots, "tabLabel2", {}, void 0, !0)
72
72
  ]),
73
73
  default: y(() => [
74
- h("div", Ee, [
74
+ b("div", Ee, [
75
75
  $(u.$slots, "tabContent2", {}, void 0, !0)
76
76
  ]),
77
- h("div", Me, [
77
+ b("div", Me, [
78
78
  $(u.$slots, "tabTips2", {}, void 0, !0)
79
79
  ])
80
80
  ]),
@@ -100,7 +100,7 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
100
100
  },
101
101
  emits: ["handleLoginFormChange"],
102
102
  setup(T, { emit: M }) {
103
- const b = T, d = se({
103
+ const h = T, d = se({
104
104
  account: "",
105
105
  password: ""
106
106
  }), S = se({
@@ -111,9 +111,9 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
111
111
  { required: !0, message: "请输入密码", trigger: "blur" }
112
112
  ]
113
113
  }), _ = E(null), u = M;
114
- return ae(() => b.isClickLogin, (g) => {
114
+ return ae(() => h.isClickLogin, (g) => {
115
115
  var p;
116
- g && (b == null ? void 0 : b.activeTabName) === "account" && ((p = _.value) == null || p.validate((w) => {
116
+ g && (h == null ? void 0 : h.activeTabName) === "account" && ((p = _.value) == null || p.validate((w) => {
117
117
  var m;
118
118
  for (let r in d)
119
119
  d.hasOwnProperty(r) && (d[r] = (m = d[r]) == null ? void 0 : m.trim());
@@ -121,7 +121,7 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
121
121
  }));
122
122
  }, {
123
123
  immediate: !0
124
- }), ae(() => b.activeTabName, (g) => {
124
+ }), ae(() => h.activeTabName, (g) => {
125
125
  var p;
126
126
  g === "account" && ((p = _.value) == null || p.resetFields());
127
127
  }), (g, p) => {
@@ -191,7 +191,7 @@ const Ke = /* @__PURE__ */ z(ke, [["render", Te], ["__scopeId", "data-v-9b7ee6c9
191
191
  }), xe = /* @__PURE__ */ z(Be, [["__scopeId", "data-v-48037c0f"]]);
192
192
  function De(T) {
193
193
  return ne({
194
- url: "http://192.168.124.108:20013/api/face/face-verify",
194
+ url: "http://139.196.154.85:20015/api/face/face-verify",
195
195
  method: "post",
196
196
  data: T
197
197
  });
@@ -205,16 +205,16 @@ const Re = { class: "account-wrap" }, Oe = { class: "video-wrap" }, Fe = /* @__P
205
205
  },
206
206
  emits: ["handleLoginFormChange"],
207
207
  setup(T, { emit: M }) {
208
- const b = T, d = M, S = oe(ce), _ = E(null), u = E(null);
208
+ const h = T, d = M, S = oe(ce), _ = E(null), u = E(null);
209
209
  let g = !1;
210
210
  const p = async (r) => {
211
211
  if (!r)
212
212
  return;
213
213
  const v = new FormData();
214
- v.set("file", r), b.systemKey && v.set("systemKey", b.systemKey), console.log("Face Recognition", b.systemKey);
214
+ v.set("file", r), h.systemKey && v.set("systemKey", h.systemKey), console.log("Face Recognition", h.systemKey);
215
215
  const A = await De(v), { data: I } = A || {}, { account: L, password: U, layer: x } = (I == null ? void 0 : I.data) || {}, D = I == null ? void 0 : I.msg;
216
216
  if (!L) {
217
- K.error(D || "识别失败,请重新识别!");
217
+ K.warning(D || "识别失败,请重新识别!");
218
218
  return;
219
219
  }
220
220
  const { privateKey: O } = await S.getModelSecretAsync();
@@ -253,13 +253,13 @@ const Re = { class: "account-wrap" }, Oe = { class: "video-wrap" }, Fe = /* @__P
253
253
  K.warning("摄像头失败: " + v.message);
254
254
  }
255
255
  };
256
- return ae(() => b.activeTabName, (r) => {
256
+ return ae(() => h.activeTabName, (r) => {
257
257
  r === "face" && !g && m();
258
258
  }), fe(() => {
259
259
  m();
260
260
  }), (r, v) => (W(), J("div", Re, [
261
- h("div", Oe, [
262
- h("video", {
261
+ b("div", Oe, [
262
+ b("video", {
263
263
  class: "face-video",
264
264
  ref_key: "videoRef",
265
265
  ref: _,
@@ -268,18 +268,18 @@ const Re = { class: "account-wrap" }, Oe = { class: "video-wrap" }, Fe = /* @__P
268
268
  playsinline: ""
269
269
  }, null, 512)
270
270
  ]),
271
- h("button", {
271
+ b("button", {
272
272
  class: "face-screenshot",
273
273
  onClick: w
274
274
  }, "人脸识别"),
275
- h("canvas", {
275
+ b("canvas", {
276
276
  ref_key: "canvasRef",
277
277
  ref: u,
278
278
  id: "canvas"
279
279
  }, null, 512)
280
280
  ]));
281
281
  }
282
- }), He = /* @__PURE__ */ z(Fe, [["__scopeId", "data-v-c3d74988"]]);
282
+ }), He = /* @__PURE__ */ z(Fe, [["__scopeId", "data-v-b9ef92da"]]);
283
283
  function je() {
284
284
  return ne({
285
285
  url: "/api/sysAuth/login",
@@ -300,7 +300,7 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
300
300
  },
301
301
  emits: ["change"],
302
302
  setup(T, { emit: M }) {
303
- const b = Ae(), d = oe(ce), { systemKey: S, systemInfo: _, loginUserInfo: u } = ye(d), g = E({
303
+ const h = Ae(), d = oe(ce), { systemKey: S, systemInfo: _, loginUserInfo: u } = ye(d), g = E({
304
304
  // sysCTitle: 'INSOFWORKS',
305
305
  sysCTitle: "",
306
306
  sysETitle: "",
@@ -329,7 +329,7 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
329
329
  w.value = !1, a && Z(t);
330
330
  }, A = (a) => me(a), I = (a) => {
331
331
  let t;
332
- const s = ve(a), n = he(s), l = be(n), f = _e(l, "parentPath");
332
+ const s = ve(a), n = be(s), l = he(n), f = _e(l, "parentPath");
333
333
  return t = we(f), t;
334
334
  }, L = (a, t) => {
335
335
  var n, l, f;
@@ -498,7 +498,7 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
498
498
  m.value = !0;
499
499
  let t = [D(a), R(), G()];
500
500
  const s = await Promise.all(t);
501
- (s == null ? void 0 : s.every((c) => c)) && (await Ce(), b.push("/"), d.setLogRecordAsync({
501
+ (s == null ? void 0 : s.every((c) => c)) && (await Ce(), h.push("/"), d.setLogRecordAsync({
502
502
  type: "登录",
503
503
  data: {
504
504
  account: ((l = u.value) == null ? void 0 : l.account) ?? ((f = u.value) == null ? void 0 : f.账号),
@@ -509,23 +509,23 @@ const qe = { class: "login-wrap" }, Je = { class: "login-body" }, We = { class:
509
509
  p.value = a, w.value = !1, m.value = !1;
510
510
  }, ie = (a) => /^[\u4e00-\u9fa5\s,。!?《》“”【】]+$/.test(a);
511
511
  return (a, t) => (W(), J("div", qe, [
512
- h("div", Je, [
513
- h("div", We, [
512
+ b("div", Je, [
513
+ b("div", We, [
514
514
  k(Ke, { class: "login-left-bg" }, {
515
515
  img: y(() => {
516
516
  var s, n, l, f;
517
517
  return [
518
- h("div", ze, [
519
- h("div", null, V(((s = X(_)) == null ? void 0 : s.EnglishName) || "INSOFWORKS"), 1),
520
- h("div", null, V((n = X(_)) != null && n.chineseName && ie((l = X(_)) == null ? void 0 : l.chineseName) ? (f = X(_)) == null ? void 0 : f.chineseName : "工业软件集成开发平台"), 1)
518
+ b("div", ze, [
519
+ b("div", null, V(((s = X(_)) == null ? void 0 : s.EnglishName) || "INSOFWORKS"), 1),
520
+ b("div", null, V((n = X(_)) != null && n.chineseName && ie((l = X(_)) == null ? void 0 : l.chineseName) ? (f = X(_)) == null ? void 0 : f.chineseName : "工业软件集成开发平台"), 1)
521
521
  ]),
522
- t[0] || (t[0] = h("div", { class: "divide-line" }, null, -1))
522
+ t[0] || (t[0] = b("div", { class: "divide-line" }, null, -1))
523
523
  ];
524
524
  }),
525
525
  _: 1
526
526
  })
527
527
  ]),
528
- h("div", Ge, [
528
+ b("div", Ge, [
529
529
  k(Pe, {
530
530
  loading: m.value,
531
531
  onClickLogin: r,