ss-component-new 1.2.101 → 1.2.103

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 (48) hide show
  1. package/dist/array-BnCuv81I.cjs +11 -0
  2. package/dist/{array-C_FEnaiV.js → array-Fmr_AELx.js} +59 -59
  3. package/dist/{index-Cgosc3NM.cjs → index-3MziZqSz.cjs} +1 -1
  4. package/dist/{index-D-xEQhDU.js → index-B9BexhxR.js} +8 -8
  5. package/dist/{index-CCaBHOqF.js → index-BI-VrN4n.js} +1 -1
  6. package/dist/{index-Dgj4MOtJ.cjs → index-BNpoE5Aa.cjs} +1 -1
  7. package/dist/{index-BgNU4W5A.cjs → index-BaZTCYB0.cjs} +1 -1
  8. package/dist/{index-D1fzVbgy.js → index-Bfr_gF06.js} +1 -1
  9. package/dist/{index-CAfc4XMJ.cjs → index-BpKT3cke.cjs} +1 -1
  10. package/dist/{index-D2z5JkK9.js → index-BqPACAZh.js} +4 -4
  11. package/dist/{index-BXl32R28.js → index-Bzz-Mj9r.js} +1 -1
  12. package/dist/{index-yWY0iPZG.js → index-C3iardYH.js} +1 -1
  13. package/dist/{index-KER3_EMm.cjs → index-CCq0OITt.cjs} +1 -1
  14. package/dist/{index-DGznkzdx.cjs → index-CPVBAKre.cjs} +1 -1
  15. package/dist/{index-BJN5uiVj.cjs → index-Ca_rHAek.cjs} +1 -1
  16. package/dist/{index-BwHEjRNc.cjs → index-Ci_u3Uz1.cjs} +1 -1
  17. package/dist/{index-DGwxV0QX.js → index-CkqegeWZ.js} +1 -1
  18. package/dist/{index-0N18Z5C5.js → index-CzfAuJbe.js} +2 -2
  19. package/dist/{index-BMkyzagn.js → index-D1eFbg1n.js} +1 -1
  20. package/dist/index-D7N_rhTp.js +2863 -0
  21. package/dist/{index-CEaI90sV.cjs → index-D8mwIni7.cjs} +1 -1
  22. package/dist/{index-CWajaafK.js → index-DaLYPgQI.js} +1 -1
  23. package/dist/{index-BKwmIG6F.js → index-DmGDRlg4.js} +2 -2
  24. package/dist/{index-B9pSsYrd.js → index-DmnMy6mP.js} +1 -1
  25. package/dist/{index-DqVLi4Ut.cjs → index-EbjUKlri.cjs} +1 -1
  26. package/dist/{index-CJg-UJ16.cjs → index-GdTdLBkK.cjs} +1 -1
  27. package/dist/{index-BxL72GrI.cjs → index-JNn2VhpD.cjs} +1 -1
  28. package/dist/{index-DlM3mp_g.js → index-OP4SOSrp.js} +1 -1
  29. package/dist/{index-D-mXs-iP.cjs → index-mGJuZOSK.cjs} +1 -1
  30. package/dist/index-mNDa0WP1.cjs +1 -0
  31. package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CEnThoUl.cjs +37 -0
  32. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B1NDV_vN.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-eVQvnx4X.js} +9350 -9337
  33. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-OGG8JaT-.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Dvyy7Hv6.js} +1 -1
  34. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Cc2tqioo.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-tlJvD79L.cjs} +1 -1
  35. package/dist/{main-qVwRiuvq.cjs → main-CENcfx7i.cjs} +1 -1
  36. package/dist/{main-Do63Qi7-.js → main-DAqgesgx.js} +3 -3
  37. package/dist/ss-component.cjs +1 -1
  38. package/dist/ss-component.css +1 -1
  39. package/dist/ss-component.js +4 -4
  40. package/dist/ss-component2.cjs +1 -1
  41. package/dist/ss-component2.js +9 -9
  42. package/dist/{threeModel-CXRiVM5d.js → threeModel-CnSsRNkZ.js} +1 -1
  43. package/dist/{threeModel-_2nnBp7o.cjs → threeModel-DXfU4IF_.cjs} +1 -1
  44. package/package.json +1 -1
  45. package/dist/array-DWxha5Ig.cjs +0 -11
  46. package/dist/index-BDXJaKkD.js +0 -2849
  47. package/dist/index-Ci7EmJmB.cjs +0 -1
  48. package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DqrLieMD.cjs +0 -37
@@ -0,0 +1,11 @@
1
+ "use strict";const m=require("vue"),le=require("./index-DOCHgBta.cjs"),a=require("./index-C8qRkCgn.cjs"),j=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CTaiaM3L.cjs"),B=le.useModelComp(a.pinia),{pageMapState:ue}=a.storeToRefs(B),oe=le.useMenuState(),{activeMenuPath:V}=a.storeToRefs(oe),O=m.ref([]),x=m.ref([]),pe=m.computed(()=>[{label:"任务配置",name:"任务配置",component:{comp:"Table",name:"任务配置",isShow:!0,compData:[{key:"header",contents:[{prop:"任务名称",align:"center",isRun:!1,label:"任务名称",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"任务关键词",align:"center",isRun:!1,label:"任务关键词",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"执行任务",align:"center",isRun:!1,label:"执行任务",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"执行交互",align:"center",isRun:!1,label:"执行交互",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"任务状态",align:"center",isRun:!1,label:"任务状态",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"创建时间",align:"center",isRun:!1,label:"创建时间",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{label:"操作"}]},{key:"rowButton",contents:[{label:"访问"},{label:"删除"}]},{key:"extraButton",contents:[{label:"创建"},{label:"批量删除"}]},{key:"tableFilter",contents:[]},{key:"tableContents",contents:O.value}]}},{label:"任务关联",name:"任务关联",component:{comp:"Table",name:"任务关联",isShow:!0,compData:[{key:"header",contents:[{prop:"关联名称",align:"center",isRun:!1,label:"关联名称",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"关联形式",align:"center",isRun:!1,label:"关联形式",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{prop:"关联任务集合",align:"center",isRun:!1,label:"关联任务集合",isRoute:!1,isTableColHidden:!0,isFormColHidden:!1},{prop:"关联状态",align:"center",isRun:!1,label:"关联状态",isRoute:!1,isTableColHidden:!1,isFormColHidden:!1},{label:"操作"}]},{key:"rowButton",contents:[{label:"访问"},{label:"删除"}]},{key:"extraButton",contents:[{label:"创建"},{label:"批量删除"}]},{key:"tableFilter",contents:[]},{key:"tableContents",contents:x.value}]}}]),N=m.ref([]),ie=m.computed(()=>{var l;return(l=N.value)==null?void 0:l.map((s,n)=>({value:s==null?void 0:s.id,label:s==null?void 0:s.name}))}),se=m.ref("data"),F=m.ref("任务配置"),M=m.ref({}),_=m.ref(null),$=m.reactive({width:"30%",title:"任务配置",type:"创建",show:!1}),fe=()=>{$.show=!1},de=(l,s)=>{var e,r,t,u,o,D,f,A,c;if(M.value=a.cloneDeep(s),l==="删除")return F.value==="任务配置"?O.value=(e=O.value)==null?void 0:e.filter(b=>(b==null?void 0:b.id)!==(s==null?void 0:s.id)):F.value==="任务关联"&&(x.value=(r=x.value)==null?void 0:r.filter(b=>(b==null?void 0:b.id)!==(s==null?void 0:s.id))),B.setItemExtendData({任务配置:{pageKey:V.value,compId:(t=_.value)==null?void 0:t.id,results:O.value},任务关联:{pageKey:V.value,compId:(u=_.value)==null?void 0:u.id,results:x.value}});const n=s?(o=Object.keys(s))==null?void 0:o[1]:"";F.value==="任务配置"?$.title=`当前配置:${(D=_.value)==null?void 0:D.name}>任务配置>【${(s==null?void 0:s[n])||l}】`:F.value==="任务关联"&&($.title=`当前配置:${(f=_.value)==null?void 0:f.name}>任务关联>【${(s==null?void 0:s[n])||l}】`),$.type=typeof((A=M.value)==null?void 0:A.id)=="string"||!((c=M.value)!=null&&c.id)?"创建":"编辑",$.show=l==="创建"||l==="访问"},he=l=>{var s;typeof l=="number"&&(_.value=(s=N.value)==null?void 0:s[l],me()),se.value="data"},be=l=>{},De=l=>{var s,n;switch(F.value){case"任务配置":$.type==="创建"?O.value.push(l==null?void 0:l.data):O.value=(s=O.value)==null?void 0:s.map(e=>{var r;return(e==null?void 0:e.id)===((r=l==null?void 0:l.data)==null?void 0:r.id)?{...e,...l==null?void 0:l.data}:e});break;case"任务关联":$.type==="创建"?x.value.push(l==null?void 0:l.data):x.value=(n=x.value)==null?void 0:n.map(e=>{var r;return(e==null?void 0:e.id)===((r=l==null?void 0:l.data)==null?void 0:r.id)?{...e,...l==null?void 0:l.data}:e});break}console.log("handleTableData:",O.value,l,$.type),B.setItemExtendData({任务配置:{pageKey:V.value,compId:l==null?void 0:l.compId,results:O.value},任务关联:{pageKey:V.value,compId:l==null?void 0:l.compId,results:x.value}}),$.show=!1},ge=l=>{var s,n;if((l==null?void 0:l.buttonName)==="取消")$.show=!1;else if((l==null?void 0:l.buttonName)==="保存"){const e={compId:(s=_.value)==null?void 0:s.id,data:{...l==null?void 0:l.content,id:(n=M.value)==null?void 0:n.id}};De(e)}},ke=(l,s)=>{var t,u;const{target:n,styleConfigs:e}=l;if(!e)return;const r=e==null?void 0:e.reduce((o,D)=>(o[D.prop]=D.value,o),{});s?N.value=(u=N.value)==null?void 0:u.map(o=>(o==null?void 0:o.id)===(s==null?void 0:s.id)?{...o,...r}:o):N.value=(t=N.value)==null?void 0:t.map(o=>({...o,...r})),B.setItemData(N.value)},ye=l=>{},ee=(l,s)=>{var n;return(n=l==null?void 0:l.filter(e=>{var r,t,u,o,D;return((t=(r=e==null?void 0:e.key)==null?void 0:r.relatedInfo)==null?void 0:t.target)===s&&((o=(u=e==null?void 0:e.key)==null?void 0:u.relatedInfo)==null?void 0:o.compId)===((D=_.value)==null?void 0:D.id)}))==null?void 0:n.map(e=>{var r;return{...(r=e==null?void 0:e.value)==null?void 0:r.tableData,id:e==null?void 0:e.id}})},me=()=>{var s,n;const l=(n=(s=ue.value)==null?void 0:s[V.value])==null?void 0:n.filter(e=>{var r;return((r=e==null?void 0:e.key)==null?void 0:r.type)==="extend"});(l==null?void 0:l.length)!==0&&(O.value=ee(l,"任务配置"),x.value=ee(l,"任务关联"))};m.ref(0);const re=l=>{var s,n;if(Array.isArray(Object.keys(l))&&((s=Object.keys(l))==null?void 0:s.length)>0){let e=[];return(n=Object.entries(l))==null||n.forEach(([r,t])=>{var o,D;let u=[];if(u.push(r),((o=Object.keys(t))==null?void 0:o.length)>0){let f=[];(D=re(t))==null||D.forEach(A=>{f.push(A)}),f==null||f.forEach(A=>{u.push(A)})}e.push(u)}),e}},ve=(l,s)=>{var e;let n=s;return Array.isArray(Object.keys(l))&&((e=Object.entries(l))==null||e.forEach(([r,t])=>{let u=[r];if(typeof t=="object"&&t!==null){let o=re(t);o==null||o.forEach(D=>{u.push(D)})}n.push(u)})),n},Te=l=>{const s={};return l.forEach(e=>{const r=e.split("/");let t=s;r.forEach(u=>{t[u]||(t[u]={}),t=t[u]})}),ve(s,[])},Ce=l=>Te(l);m.ref(0);m.ref(1);const ne=l=>{let s;l.replaceAll(" ",`\r
2
+ `).replaceAll(`
3
+ `,`\r
4
+ `).includes(`\r
5
+ `)?s=l.replaceAll(`
6
+ `,`\r
7
+ `).replaceAll(" ",`\r
8
+ `).split(`\r
9
+ `).filter(r=>r.trim()!==""):s=l.replaceAll(" ",`\r
10
+ `).split(`
11
+ `).filter(r=>r.trim()!=="");const n=[];let e="";for(const r of s)r.includes("{")||e.includes("{")||r.includes("[")||e.includes("[")||r.includes("【")||e.includes("【")||r.includes("(")||e.includes("(")||r.includes("(")||e.includes("(")||r.includes("/*")||e.includes("/*")?(e+=r.trim(),a.cloneDeep(e).split("{").length-1===a.cloneDeep(e).split("}").length-1&&a.cloneDeep(e).split("【").length-1===a.cloneDeep(e).split("】").length-1&&a.cloneDeep(e).split("[").length-1===a.cloneDeep(e).split("]").length-1&&a.cloneDeep(e).split("(").length-1===a.cloneDeep(e).split(")").length-1&&a.cloneDeep(e).split("(").length-1===a.cloneDeep(e).split(")").length-1&&a.cloneDeep(e).split("/*").length-1===a.cloneDeep(e).split("*/").length-1&&e[e.length-1]!==","?(n.push(e.replace(/\/\*[\s\S]*?\*\//g,"")),e=""):e!=null&&e.includes("*/")&&(e=e.replace(/\/\*[\s\S]*?\*\//g,""))):n.push(r.trim().replace(/\/\*[\s\S]*?\*\//g,""));return n},Ae=l=>{const[s,n]=l.split(/=(.+)/),e=s.replace(/['"]/g,"").trim(),r=n.replace(/^['"]|['"]$/g,"");return{key:e,value:r}},ae=l=>{let s;l!=null&&l.includes(":")?s=l.split(":").filter(r=>r.trim()!==""):s=l==null?void 0:l.split(":").filter(r=>r.trim()!=="");const n=[];let e="";for(const r of s)r.includes("{")||e.includes("{")||r.includes("[")||e.includes("[")||r.includes("【")||e.includes("【")||r.includes("(")||e.includes("(")||r.includes("(")||e.includes("(")||r.includes("/*")||e.includes("/*")?(e=e!==""?e+":"+r.trim():r.trim(),a.cloneDeep(e).split("{").length-1===a.cloneDeep(e).split("}").length-1&&a.cloneDeep(e).split("【").length-1===a.cloneDeep(e).split("】").length-1&&a.cloneDeep(e).split("[").length-1===a.cloneDeep(e).split("]").length-1&&a.cloneDeep(e).split("(").length-1===a.cloneDeep(e).split(")").length-1&&a.cloneDeep(e).split("(").length-1===a.cloneDeep(e).split(")").length-1&&a.cloneDeep(e).split("/*").length-1===a.cloneDeep(e).split("*/").length-1&&(n.push(e.replace(/\/\*[\s\S]*?\*\//g,"")),e="")):n.push(r.trim().replace(/\/\*[\s\S]*?\*\//g,""));return n},Oe=l=>{var n,e,r,t,u,o,D,f,A,c;const s=(t=(r=l.split("("))==null?void 0:r[((n=l.split("("))==null?void 0:n.length)-1===0?1:((e=l.split("("))==null?void 0:e.length)-1])==null?void 0:t.trim();return((u=ae(s.slice(0,s.length-1)))==null?void 0:u.length)>0?s.slice(0,s.length-1):(c=(A=(f=(D=(o=l.split("("))==null?void 0:o[1])==null?void 0:D.trim())==null?void 0:f.split(")"))==null?void 0:A[0])==null?void 0:c.trim()},P=m.ref(0),G=m.ref(0),$e=l=>{const s=l.trim().replace(/^'|'$/g,""),n=/((?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=\s*(.*?)(?=\s*(?:(?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=|$)/g,e={};let r;for(;(r=n.exec(s))!==null;){const t=r[1];let u=r[2].trim();(u.match(/\[/g)||[]).length!==(u.match(/\]/g)||[]).length&&(u=u==null?void 0:u.replace(/]$/,"")),e[t]?(e[t+G.value]&&G.value++,e[t+G.value]=t+"="+u):e[t]=t+"="+u}return e},te=l=>{const[s,n]=l.split("=").map(t=>t.trim()),e=s.replace(/['"]/g,""),r=n.replace(/^['"]|['"]$/g,"");return{key:e,value:r}},je=l=>{var u;let s=[];const[n,e]=l.split(/=(.+)/),r=n.replace(/['"]/g,"").trim(),t=e.replace(/^['"]|['"]$/g,"");return(u=Object.values($e(t)))==null||u.forEach(o=>{s.push(te(o))}),{key:r,value:s}},Z=l=>{try{return JSON.parse(l),!0}catch{return!1}},ce=l=>{try{const s=l.replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",").replace(/:/g,":").replace(/:\s*(?=,|}|$)/g,': ""');if(a.cloneDeep(s).split("{").length-1>1){let n=a.cloneDeep(s).replace(/^\{(.*)\}$/,"[$1]");if(Z(n)&&!n.includes("$")||(n=n.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g,'"$1$$$2"')),Z(n)){const e=JSON.parse(n);let r=[];return e==null||e.forEach(t=>{var u;(u=Object.entries(a.cloneDeep(t)))==null||u.forEach(o=>{P.value++,r.push({id:P.value,key:(o==null?void 0:o[0])??"",value:(o==null?void 0:o[1])===""?"":o==null?void 0:o[1],width:Object.keys(a.cloneDeep(t)).length})})}),r}else return console.error("转换类型不正确:"),[]}else if(Z(s)){const n=JSON.parse(s);return Object.entries(n).map(([e,r])=>(P.value++,{id:P.value,key:e,value:r===""?"":r,width:1}))}else return s}catch(s){return console.error("转换失败:",s),[]}},xe=(l,s)=>{var n;try{if((n=j.viewMainDict)!=null&&n.find(e=>(e==null?void 0:e.key)===s))return JSON.parse(l.replace(/[’]|[‘]|[']/g,'"'));if(a.cloneDeep(l).split("[").length-1>1){const e=a.cloneDeep(l).replace(/[’]|[‘]|[']/g,'"').replaceAll(/,/g,",").replaceAll("(","[").replaceAll(")","]").replaceAll("],]","]]");return JSON.parse(e)}else{const e=a.cloneDeep(l).replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",");if(Z(e)){const r=JSON.parse(e);return Array.isArray(r)?r.map(t=>({label:t})):r}else return ce(a.cloneDeep(l))}}catch(e){return console.error("解析失败:",e),l}},Re=l=>({[l==null?void 0:l.key]:xe(l==null?void 0:l.value,l==null?void 0:l.key)}),Ee=l=>{try{if(a.cloneDeep(l).split("[").length-1>1){const s=a.cloneDeep(l).replace(/[’]|[‘]|[']/g,'"').replaceAll(/,/g,",").replaceAll("(","[").replaceAll(")","]").replaceAll("],]","]]");return JSON.parse(s)}else return JSON.parse(a.cloneDeep(l).replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",")).map(n=>({label:n}))}catch(s){return console.error("解析失败:",s),l}},He=l=>{var s,n,e,r,t,u;try{const o=ne((n=(s=a.cloneDeep(l))==null?void 0:s.replace("(","("))==null?void 0:n.replace(")",")")),D=(e=a.cloneDeep(o))==null?void 0:e.map(c=>{var p,i;let b=(i=(p=a.cloneDeep(c))==null?void 0:p.split("="))==null?void 0:i[0];return b!=null&&b.includes("GroupContents")?je(c):te(c)}),f=[];(r=a.cloneDeep(D))==null||r.forEach(c=>{var b,p,i,R,y,E,H,I,U;(b=j.viewMainDict)!=null&&b.find(h=>{var g,k;return((g=h==null?void 0:h.key)==null?void 0:g.toUpperCase())===((k=c==null?void 0:c.key)==null?void 0:k.toUpperCase())})?f.push({comp:((i=(p=j.viewMainDict)==null?void 0:p.find(h=>{var g,k;return((g=h==null?void 0:h.key)==null?void 0:g.toUpperCase())===((k=c==null?void 0:c.key)==null?void 0:k.toUpperCase())}))==null?void 0:i.value)??"",name:(R=c==null?void 0:c.value)==null?void 0:R.replace(/[’]|[‘]|[']/g,""),compData:[]}):(y=j.viewChildDict)!=null&&y.find(h=>{var g,k;return((g=h==null?void 0:h.key)==null?void 0:g.toUpperCase())===((k=c==null?void 0:c.key)==null?void 0:k.toUpperCase())})&&((f==null?void 0:f.length)===0&&(E=c.key)!=null&&E.includes("Menus")&&f.push({comp:"Menu",name:"",compData:[]}),(H=f==null?void 0:f[(f==null?void 0:f.length)-1])!=null&&H.compData&&f[(f==null?void 0:f.length)-1].compData.push({key:(U=(I=j.viewChildDict)==null?void 0:I.find(h=>{var g,k;return((g=h==null?void 0:h.key)==null?void 0:g.toUpperCase())===((k=c==null?void 0:c.key)==null?void 0:k.toUpperCase())}))==null?void 0:U.value,contents:c==null?void 0:c.value}))});let A=(t=a.cloneDeep(f))==null?void 0:t.map(c=>{var b;return c!=null&&c.compData&&(c.compData=(b=c==null?void 0:c.compData)==null?void 0:b.map(p=>{var i,R,y,E,H,I,U,h,g,k,w;if((p==null?void 0:p.key)==="formFlex")p.contents=((R=(i=p.contents)==null?void 0:i.replace(/[’]|[‘]|[']/g,""))==null?void 0:R.toUpperCase())!=="Vertical".toUpperCase();else if((p==null?void 0:p.key)==="groupContents")p.contents=(y=a.cloneDeep(p.contents))==null?void 0:y.map(z=>Re(a.cloneDeep(z)));else if(((H=(E=p.contents)==null?void 0:E.trim())!=null&&H.startsWith("[")||(U=(I=p.contents)==null?void 0:I.trim())!=null&&U.startsWith("【"))&&((g=(h=p.contents)==null?void 0:h.trim())!=null&&g.endsWith("]")||(w=(k=p.contents)==null?void 0:k.trim())!=null&&w.endsWith("】")))p.contents=Ee(a.cloneDeep(p.contents));else{if(!p.contents)return;p.contents=ce(a.cloneDeep(p.contents))}return p})),c});return A=(u=a.cloneDeep(A))==null?void 0:u.map(c=>{var b;return(c==null?void 0:c.comp)==="Group"&&(c.compData=(b=c.compData)==null?void 0:b.map(p=>{var R;let i=[];return(R=p.contents)==null||R.forEach(y=>{var E,H,I,U,h,g,k,w,z,K,S,q,L,W,Q,X,Y;if((E=j.viewMainDict)!=null&&E.find(d=>{var v,T,C;return((v=d==null?void 0:d.key)==null?void 0:v.toUpperCase())===((C=(T=Object.keys(y))==null?void 0:T[0])==null?void 0:C.toUpperCase())}))i.push({comp:(I=(H=j.viewMainDict)==null?void 0:H.find(d=>{var v,T,C;return((v=d==null?void 0:d.key)==null?void 0:v.toUpperCase())===((C=(T=Object.keys(y))==null?void 0:T[0])==null?void 0:C.toUpperCase())}))==null?void 0:I.value,name:(h=(U=Object.values(y))==null?void 0:U[0])==null?void 0:h.replace(/[’]|[‘]|[']/g,""),compData:[]});else if((g=j.viewChildDict)!=null&&g.find(d=>{var v,T,C;return((v=d==null?void 0:d.key)==null?void 0:v.toUpperCase())===((C=(T=Object.keys(y))==null?void 0:T[0])==null?void 0:C.toUpperCase())})){if((i==null?void 0:i.length)===0)return;(k=i==null?void 0:i[(i==null?void 0:i.length)-1])!=null&&k.compData&&i[(i==null?void 0:i.length)-1].compData.push({key:(z=(w=j.viewChildDict)==null?void 0:w.find(d=>{var v,T,C;return((v=d==null?void 0:d.key)==null?void 0:v.toUpperCase())===((C=(T=Object.keys(y))==null?void 0:T[0])==null?void 0:C.toUpperCase())}))==null?void 0:z.value,contents:(K=Object.values(y))==null?void 0:K[0]})}else if((q=(S=Object.keys(y))==null?void 0:S[0])!=null&&q.includes("$")){const d=(W=(L=Object.keys(a.cloneDeep(y)))==null?void 0:L[0])==null?void 0:W.split("$");i[(i==null?void 0:i.length)-1].compData.push({key:(X=(Q=j.viewChildDict)==null?void 0:Q.find(v=>{var T,C;return((T=v==null?void 0:v.key)==null?void 0:T.toUpperCase())===((C=d==null?void 0:d[0])==null?void 0:C.toUpperCase())}))==null?void 0:X.value,contents:(Y=Object.values(y))==null?void 0:Y[0],selectLabel:d==null?void 0:d[1]})}return y}),p.contents=i,p})),c}),A}catch{return!1}},Ie=l=>He(l),J=m.ref(0),Ue=l=>l.reduce((n,e)=>{var t,u;const r=Object.values(n);return(((t=Object.keys(n))==null?void 0:t.length)===0||r[r.length-1].length>=(e==null?void 0:e.width))&&(n[J.value]=[],J.value++),n[J.value-1].push(e),((u=Object.keys(n))==null?void 0:u.length)===(e==null?void 0:e.width)&&(n[J.value]=[],J.value++),n},{});exports.activeExtendTabName=F;exports.activeTabName=se;exports.arrayToNumberArray=Ue;exports.beforeDestroyExtendDialog=fe;exports.changeExtendTab=be;exports.clickExtendTable=de;exports.clickExtendTableRow=M;exports.clickTaskFormButton=ge;exports.contentTrans=ae;exports.contentTransArray=ne;exports.expandStringToJson=Ie;exports.extendDialogInfo=$;exports.extendTabs=pe;exports.findExtendComp=_;exports.getContentValue=Oe;exports.handleCollapseChange=he;exports.handleExtendChange=ye;exports.handleStyleChange=ke;exports.menuArray=Ce;exports.optionItems=ie;exports.parseGroupValue=Ae;exports.showItems=N;exports.taskConfigTable=O;
@@ -1,8 +1,8 @@
1
- import { ref as T, computed as se, reactive as ce } from "vue";
1
+ import { ref as C, computed as se, reactive as ce } from "vue";
2
2
  import { a as ue, u as pe } from "./index-AIq5wzuR.js";
3
3
  import { c as t, s as re, p as oe } from "./index-DIUrwul5.js";
4
4
  import { x as P, y as J } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DT7QToQt.js";
5
- const K = ue(oe), { pageMapState: ie } = re(K), fe = pe(), { activeMenuPath: _ } = re(fe), j = T([
5
+ const K = ue(oe), { pageMapState: ie } = re(K), fe = pe(), { activeMenuPath: _ } = re(fe), j = C([
6
6
  // [
7
7
  // {
8
8
  // "id": 732285669982280
@@ -14,7 +14,7 @@ const K = ue(oe), { pageMapState: ie } = re(K), fe = pe(), { activeMenuPath: _ }
14
14
  // "启动",
15
15
  // "2025-10-21"
16
16
  // ]
17
- ]), $ = T([
17
+ ]), $ = C([
18
18
  // [
19
19
  // {
20
20
  // "id": 732285669982280
@@ -212,13 +212,13 @@ const K = ue(oe), { pageMapState: ie } = re(K), fe = pe(), { activeMenuPath: _ }
212
212
  ]
213
213
  }
214
214
  }
215
- ]), x = T([]), Ie = se(() => {
215
+ ]), x = C([]), Ie = se(() => {
216
216
  var l;
217
217
  return (l = x.value) == null ? void 0 : l.map((s, a) => ({
218
218
  value: s == null ? void 0 : s.id,
219
219
  label: s == null ? void 0 : s.name
220
220
  }));
221
- }), he = T("data"), Z = T("任务配置"), B = T({}), F = T(null), D = ce({
221
+ }), he = C("data"), Z = C("任务配置"), B = C({}), F = C(null), D = ce({
222
222
  width: "30%",
223
223
  title: "任务配置",
224
224
  type: "创建",
@@ -226,7 +226,7 @@ const K = ue(oe), { pageMapState: ie } = re(K), fe = pe(), { activeMenuPath: _ }
226
226
  }), Ee = () => {
227
227
  D.show = !1;
228
228
  }, xe = (l, s) => {
229
- var e, r, n, c, p, g, f, C, u;
229
+ var e, r, n, u, p, g, f, T, c;
230
230
  if (B.value = t(s), l === "删除")
231
231
  return Z.value === "任务配置" ? j.value = (e = j.value) == null ? void 0 : e.filter((b) => (b == null ? void 0 : b.id) !== (s == null ? void 0 : s.id)) : Z.value === "任务关联" && ($.value = (r = $.value) == null ? void 0 : r.filter((b) => (b == null ? void 0 : b.id) !== (s == null ? void 0 : s.id))), K.setItemExtendData({
232
232
  任务配置: {
@@ -236,12 +236,12 @@ const K = ue(oe), { pageMapState: ie } = re(K), fe = pe(), { activeMenuPath: _ }
236
236
  },
237
237
  任务关联: {
238
238
  pageKey: _.value,
239
- compId: (c = F.value) == null ? void 0 : c.id,
239
+ compId: (u = F.value) == null ? void 0 : u.id,
240
240
  results: $.value
241
241
  }
242
242
  });
243
243
  const a = s ? (p = Object.keys(s)) == null ? void 0 : p[1] : "";
244
- Z.value === "任务配置" ? D.title = `当前配置:${(g = F.value) == null ? void 0 : g.name}>任务配置>【${(s == null ? void 0 : s[a]) || l}】` : Z.value === "任务关联" && (D.title = `当前配置:${(f = F.value) == null ? void 0 : f.name}>任务关联>【${(s == null ? void 0 : s[a]) || l}】`), D.type = typeof ((C = B.value) == null ? void 0 : C.id) == "string" || !((u = B.value) != null && u.id) ? "创建" : "编辑", D.show = l === "创建" || l === "访问";
244
+ Z.value === "任务配置" ? D.title = `当前配置:${(g = F.value) == null ? void 0 : g.name}>任务配置>【${(s == null ? void 0 : s[a]) || l}】` : Z.value === "任务关联" && (D.title = `当前配置:${(f = F.value) == null ? void 0 : f.name}>任务关联>【${(s == null ? void 0 : s[a]) || l}】`), D.type = typeof ((T = B.value) == null ? void 0 : T.id) == "string" || !((c = B.value) != null && c.id) ? "创建" : "编辑", D.show = l === "创建" || l === "访问";
245
245
  }, Fe = (l) => {
246
246
  var s;
247
247
  typeof l == "number" && (F.value = (s = x.value) == null ? void 0 : s[l], be()), he.value = "data";
@@ -295,11 +295,11 @@ const K = ue(oe), { pageMapState: ie } = re(K), fe = pe(), { activeMenuPath: _ }
295
295
  de(e);
296
296
  }
297
297
  }, ze = (l, s) => {
298
- var n, c;
298
+ var n, u;
299
299
  const { target: a, styleConfigs: e } = l;
300
300
  if (!e) return;
301
301
  const r = e == null ? void 0 : e.reduce((p, g) => (p[g.prop] = g.value, p), {});
302
- s ? x.value = (c = x.value) == null ? void 0 : c.map((p) => (p == null ? void 0 : p.id) === (s == null ? void 0 : s.id) ? {
302
+ s ? x.value = (u = x.value) == null ? void 0 : u.map((p) => (p == null ? void 0 : p.id) === (s == null ? void 0 : s.id) ? {
303
303
  ...p,
304
304
  ...r
305
305
  } : p) : x.value = (n = x.value) == null ? void 0 : n.map((p) => ({
@@ -310,8 +310,8 @@ const K = ue(oe), { pageMapState: ie } = re(K), fe = pe(), { activeMenuPath: _ }
310
310
  }, le = (l, s) => {
311
311
  var a;
312
312
  return (a = l == null ? void 0 : l.filter((e) => {
313
- var r, n, c, p, g;
314
- return ((n = (r = e == null ? void 0 : e.key) == null ? void 0 : r.relatedInfo) == null ? void 0 : n.target) === s && ((p = (c = e == null ? void 0 : e.key) == null ? void 0 : c.relatedInfo) == null ? void 0 : p.compId) === ((g = F.value) == null ? void 0 : g.id);
313
+ var r, n, u, p, g;
314
+ return ((n = (r = e == null ? void 0 : e.key) == null ? void 0 : r.relatedInfo) == null ? void 0 : n.target) === s && ((p = (u = e == null ? void 0 : e.key) == null ? void 0 : u.relatedInfo) == null ? void 0 : p.compId) === ((g = F.value) == null ? void 0 : g.id);
315
315
  })) == null ? void 0 : a.map((e) => {
316
316
  var r;
317
317
  return {
@@ -327,50 +327,50 @@ const K = ue(oe), { pageMapState: ie } = re(K), fe = pe(), { activeMenuPath: _ }
327
327
  });
328
328
  (l == null ? void 0 : l.length) !== 0 && (j.value = le(l, "任务配置"), $.value = le(l, "任务关联"));
329
329
  };
330
- T(0);
330
+ C(0);
331
331
  const ae = (l) => {
332
332
  var s, a;
333
333
  if (Array.isArray(Object.keys(l)) && ((s = Object.keys(l)) == null ? void 0 : s.length) > 0) {
334
334
  let e = [];
335
335
  return (a = Object.entries(l)) == null || a.forEach(([r, n]) => {
336
336
  var p, g;
337
- let c = [];
338
- if (c.push(r), ((p = Object.keys(n)) == null ? void 0 : p.length) > 0) {
337
+ let u = [];
338
+ if (u.push(r), ((p = Object.keys(n)) == null ? void 0 : p.length) > 0) {
339
339
  let f = [];
340
- (g = ae(n)) == null || g.forEach((C) => {
341
- f.push(C);
342
- }), f == null || f.forEach((C) => {
343
- c.push(C);
340
+ (g = ae(n)) == null || g.forEach((T) => {
341
+ f.push(T);
342
+ }), f == null || f.forEach((T) => {
343
+ u.push(T);
344
344
  });
345
345
  }
346
- e.push(c);
346
+ e.push(u);
347
347
  }), e;
348
348
  }
349
349
  }, ge = (l, s) => {
350
350
  var e;
351
351
  let a = s;
352
352
  return Array.isArray(Object.keys(l)) && ((e = Object.entries(l)) == null || e.forEach(([r, n]) => {
353
- let c = [r];
353
+ let u = [r];
354
354
  if (typeof n == "object" && n !== null) {
355
355
  let p = ae(n);
356
356
  p == null || p.forEach((g) => {
357
- c.push(g);
357
+ u.push(g);
358
358
  });
359
359
  }
360
- a.push(c);
360
+ a.push(u);
361
361
  })), a;
362
362
  }, ke = (l) => {
363
363
  const s = {};
364
364
  return l.forEach((e) => {
365
365
  const r = e.split("/");
366
366
  let n = s;
367
- r.forEach((c) => {
368
- n[c] || (n[c] = {}), n = n[c];
367
+ r.forEach((u) => {
368
+ n[u] || (n[u] = {}), n = n[u];
369
369
  });
370
370
  }), ge(s, []);
371
371
  }, Ze = (l) => ke(l);
372
- T(0);
373
- T(1);
372
+ C(0);
373
+ C(1);
374
374
  const me = (l) => {
375
375
  let s;
376
376
  l.replaceAll(" ", `\r
@@ -401,26 +401,26 @@ const me = (l) => {
401
401
  r.includes("{") || e.includes("{") || r.includes("[") || e.includes("[") || r.includes("【") || e.includes("【") || r.includes("(") || e.includes("(") || r.includes("(") || e.includes("(") || r.includes("/*") || e.includes("/*") ? (e = e !== "" ? e + ":" + r.trim() : r.trim(), t(e).split("{").length - 1 === t(e).split("}").length - 1 && t(e).split("【").length - 1 === t(e).split("】").length - 1 && t(e).split("[").length - 1 === t(e).split("]").length - 1 && t(e).split("(").length - 1 === t(e).split(")").length - 1 && t(e).split("(").length - 1 === t(e).split(")").length - 1 && t(e).split("/*").length - 1 === t(e).split("*/").length - 1 && (a.push(e.replace(/\/\*[\s\S]*?\*\//g, "")), e = "")) : a.push(r.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
402
402
  return a;
403
403
  }, Me = (l) => {
404
- var a, e, r, n, c, p, g, f;
405
- const s = (e = (a = l.split("(")) == null ? void 0 : a[1]) == null ? void 0 : e.trim();
406
- return ((r = ye(s.slice(0, s.length - 1))) == null ? void 0 : r.length) > 0 ? s.slice(0, s.length - 1) : (f = (g = (p = (c = (n = l.split("(")) == null ? void 0 : n[1]) == null ? void 0 : c.trim()) == null ? void 0 : p.split(")")) == null ? void 0 : g[0]) == null ? void 0 : f.trim();
407
- }, V = T(0), w = T(0), Ae = (l) => {
404
+ var a, e, r, n, u, p, g, f, T, c;
405
+ const s = (n = (r = l.split("(")) == null ? void 0 : r[((a = l.split("(")) == null ? void 0 : a.length) - 1 === 0 ? 1 : ((e = l.split("(")) == null ? void 0 : e.length) - 1]) == null ? void 0 : n.trim();
406
+ return ((u = ye(s.slice(0, s.length - 1))) == null ? void 0 : u.length) > 0 ? s.slice(0, s.length - 1) : (c = (T = (f = (g = (p = l.split("(")) == null ? void 0 : p[1]) == null ? void 0 : g.trim()) == null ? void 0 : f.split(")")) == null ? void 0 : T[0]) == null ? void 0 : c.trim();
407
+ }, V = C(0), w = C(0), Ae = (l) => {
408
408
  const s = l.trim().replace(/^'|'$/g, ""), a = /((?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=\s*(.*?)(?=\s*(?:(?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=|$)/g, e = {};
409
409
  let r;
410
410
  for (; (r = a.exec(s)) !== null; ) {
411
411
  const n = r[1];
412
- let c = r[2].trim();
413
- (c.match(/\[/g) || []).length !== (c.match(/\]/g) || []).length && (c = c == null ? void 0 : c.replace(/]$/, "")), e[n] ? (e[n + w.value] && w.value++, e[n + w.value] = n + "=" + c) : e[n] = n + "=" + c;
412
+ let u = r[2].trim();
413
+ (u.match(/\[/g) || []).length !== (u.match(/\]/g) || []).length && (u = u == null ? void 0 : u.replace(/]$/, "")), e[n] ? (e[n + w.value] && w.value++, e[n + w.value] = n + "=" + u) : e[n] = n + "=" + u;
414
414
  }
415
415
  return e;
416
416
  }, te = (l) => {
417
417
  const [s, a] = l.split("=").map((n) => n.trim()), e = s.replace(/['"]/g, ""), r = a.replace(/^['"]|['"]$/g, "");
418
418
  return { key: e, value: r };
419
419
  }, ve = (l) => {
420
- var c;
420
+ var u;
421
421
  let s = [];
422
422
  const [a, e] = l.split(/=(.+)/), r = a.replace(/['"]/g, "").trim(), n = e.replace(/^['"]|['"]$/g, "");
423
- return (c = Object.values(Ae(n))) == null || c.forEach((p) => {
423
+ return (u = Object.values(Ae(n))) == null || u.forEach((p) => {
424
424
  s.push(te(p));
425
425
  }), { key: r, value: s };
426
426
  }, G = (l) => {
@@ -438,8 +438,8 @@ const me = (l) => {
438
438
  const e = JSON.parse(a);
439
439
  let r = [];
440
440
  return e == null || e.forEach((n) => {
441
- var c;
442
- (c = Object.entries(t(n))) == null || c.forEach((p) => {
441
+ var u;
442
+ (u = Object.entries(t(n))) == null || u.forEach((p) => {
443
443
  V.value++, r.push({
444
444
  id: V.value,
445
445
  key: (p == null ? void 0 : p[0]) ?? "",
@@ -495,43 +495,43 @@ const me = (l) => {
495
495
  return console.error("解析失败:", s), l;
496
496
  }
497
497
  }, je = (l) => {
498
- var s, a, e, r, n, c;
498
+ var s, a, e, r, n, u;
499
499
  try {
500
- const p = me((a = (s = t(l)) == null ? void 0 : s.replace("(", "(")) == null ? void 0 : a.replace(")", ")")), g = (e = t(p)) == null ? void 0 : e.map((u) => {
500
+ const p = me((a = (s = t(l)) == null ? void 0 : s.replace("(", "(")) == null ? void 0 : a.replace(")", ")")), g = (e = t(p)) == null ? void 0 : e.map((c) => {
501
501
  var o, i;
502
- let b = (i = (o = t(u)) == null ? void 0 : o.split("=")) == null ? void 0 : i[0];
503
- return b != null && b.includes("GroupContents") ? ve(u) : te(u);
502
+ let b = (i = (o = t(c)) == null ? void 0 : o.split("=")) == null ? void 0 : i[0];
503
+ return b != null && b.includes("GroupContents") ? ve(c) : te(c);
504
504
  }), f = [];
505
- (r = t(g)) == null || r.forEach((u) => {
505
+ (r = t(g)) == null || r.forEach((c) => {
506
506
  var b, o, i, R, y, H, U, I, E;
507
507
  (b = P) != null && b.find((d) => {
508
508
  var k, m;
509
- return ((k = d == null ? void 0 : d.key) == null ? void 0 : k.toUpperCase()) === ((m = u == null ? void 0 : u.key) == null ? void 0 : m.toUpperCase());
509
+ return ((k = d == null ? void 0 : d.key) == null ? void 0 : k.toUpperCase()) === ((m = c == null ? void 0 : c.key) == null ? void 0 : m.toUpperCase());
510
510
  }) ? f.push({
511
511
  comp: ((i = (o = P) == null ? void 0 : o.find((d) => {
512
512
  var k, m;
513
- return ((k = d == null ? void 0 : d.key) == null ? void 0 : k.toUpperCase()) === ((m = u == null ? void 0 : u.key) == null ? void 0 : m.toUpperCase());
513
+ return ((k = d == null ? void 0 : d.key) == null ? void 0 : k.toUpperCase()) === ((m = c == null ? void 0 : c.key) == null ? void 0 : m.toUpperCase());
514
514
  })) == null ? void 0 : i.value) ?? "",
515
- name: (R = u == null ? void 0 : u.value) == null ? void 0 : R.replace(/[’]|[‘]|[']/g, ""),
515
+ name: (R = c == null ? void 0 : c.value) == null ? void 0 : R.replace(/[’]|[‘]|[']/g, ""),
516
516
  compData: []
517
517
  }) : (y = J) != null && y.find((d) => {
518
518
  var k, m;
519
- return ((k = d == null ? void 0 : d.key) == null ? void 0 : k.toUpperCase()) === ((m = u == null ? void 0 : u.key) == null ? void 0 : m.toUpperCase());
520
- }) && ((f == null ? void 0 : f.length) === 0 && (H = u.key) != null && H.includes("Menus") && f.push({
519
+ return ((k = d == null ? void 0 : d.key) == null ? void 0 : k.toUpperCase()) === ((m = c == null ? void 0 : c.key) == null ? void 0 : m.toUpperCase());
520
+ }) && ((f == null ? void 0 : f.length) === 0 && (H = c.key) != null && H.includes("Menus") && f.push({
521
521
  comp: "Menu",
522
522
  name: "",
523
523
  compData: []
524
524
  }), (U = f == null ? void 0 : f[(f == null ? void 0 : f.length) - 1]) != null && U.compData && f[(f == null ? void 0 : f.length) - 1].compData.push({
525
525
  key: (E = (I = J) == null ? void 0 : I.find((d) => {
526
526
  var k, m;
527
- return ((k = d == null ? void 0 : d.key) == null ? void 0 : k.toUpperCase()) === ((m = u == null ? void 0 : u.key) == null ? void 0 : m.toUpperCase());
527
+ return ((k = d == null ? void 0 : d.key) == null ? void 0 : k.toUpperCase()) === ((m = c == null ? void 0 : c.key) == null ? void 0 : m.toUpperCase());
528
528
  })) == null ? void 0 : E.value,
529
- contents: u == null ? void 0 : u.value
529
+ contents: c == null ? void 0 : c.value
530
530
  }));
531
531
  });
532
- let C = (n = t(f)) == null ? void 0 : n.map((u) => {
532
+ let T = (n = t(f)) == null ? void 0 : n.map((c) => {
533
533
  var b;
534
- return u != null && u.compData && (u.compData = (b = u == null ? void 0 : u.compData) == null ? void 0 : b.map((o) => {
534
+ return c != null && c.compData && (c.compData = (b = c == null ? void 0 : c.compData) == null ? void 0 : b.map((o) => {
535
535
  var i, R, y, H, U, I, E, d, k, m, N;
536
536
  if ((o == null ? void 0 : o.key) === "formFlex")
537
537
  o.contents = ((R = (i = o.contents) == null ? void 0 : i.replace(/[’]|[‘]|[']/g, "")) == null ? void 0 : R.toUpperCase()) !== "Vertical".toUpperCase();
@@ -544,11 +544,11 @@ const me = (l) => {
544
544
  o.contents = ne(t(o.contents));
545
545
  }
546
546
  return o;
547
- })), u;
547
+ })), c;
548
548
  });
549
- return C = (c = t(C)) == null ? void 0 : c.map((u) => {
549
+ return T = (u = t(T)) == null ? void 0 : u.map((c) => {
550
550
  var b;
551
- return (u == null ? void 0 : u.comp) === "Group" && (u.compData = (b = u.compData) == null ? void 0 : b.map((o) => {
551
+ return (c == null ? void 0 : c.comp) === "Group" && (c.compData = (b = c.compData) == null ? void 0 : b.map((o) => {
552
552
  var R;
553
553
  let i = [];
554
554
  return (R = o.contents) == null || R.forEach((y) => {
@@ -590,15 +590,15 @@ const me = (l) => {
590
590
  }
591
591
  return y;
592
592
  }), o.contents = i, o;
593
- })), u;
594
- }), C;
593
+ })), c;
594
+ }), T;
595
595
  } catch {
596
596
  return !1;
597
597
  }
598
- }, Ve = (l) => je(l), z = T(0), Be = (l) => l.reduce((a, e) => {
599
- var n, c;
598
+ }, Ve = (l) => je(l), z = C(0), Be = (l) => l.reduce((a, e) => {
599
+ var n, u;
600
600
  const r = Object.values(a);
601
- return (((n = Object.keys(a)) == null ? void 0 : n.length) === 0 || r[r.length - 1].length >= (e == null ? void 0 : e.width)) && (a[z.value] = [], z.value++), a[z.value - 1].push(e), ((c = Object.keys(a)) == null ? void 0 : c.length) === (e == null ? void 0 : e.width) && (a[z.value] = [], z.value++), a;
601
+ return (((n = Object.keys(a)) == null ? void 0 : n.length) === 0 || r[r.length - 1].length >= (e == null ? void 0 : e.width)) && (a[z.value] = [], z.value++), a[z.value - 1].push(e), ((u = Object.keys(a)) == null ? void 0 : u.length) === (e == null ? void 0 : e.width) && (a[z.value] = [], z.value++), a;
602
602
  }, {});
603
603
  export {
604
604
  Be as a,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-CmLvxC7c.cjs"),_=require("./index-Ci7EmJmB.cjs"),m=require("./index-BEdZOeDf.cjs"),h=require("./index-CfU80jZm.cjs"),C=require("./index-DOCHgBta.cjs"),d=require("./index-C8qRkCgn.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k={class:"menu-module"},v={class:"table-wrap","element-loading-text":"加载中..."},x={class:"module-dialog-default"},w=e.defineComponent({__name:"index",setup(D){const t=e.reactive({...p.State}),l=e.ref(null),a=C.useMenuState(d.pinia),{configMenu:n}=d.storeToRefs(a);return e.onMounted(()=>{var i;t.formatFormData(n.value),e.nextTick(()=>{var o,r;(r=l.value)==null||r.setCurrentKey((o=n.value)==null?void 0:o.path),a.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((i=n.value)==null?void 0:i.path)}),(i,o)=>{const r=e.resolveComponent("el-tree"),c=e.resolveComponent("el-splitter-panel"),u=e.resolveComponent("el-splitter"),s=e.resolveComponent("el-button"),g=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",k,[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(c,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(r,{ref_key:"treeRef",ref:l,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(c,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",v,[e.createVNode(_.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[g,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(m.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",x,[e.createVNode(h.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),b=f._export_sfc(w,[["__scopeId","data-v-74868a06"]]);exports.default=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./index-CmLvxC7c.cjs"),_=require("./index-mNDa0WP1.cjs"),m=require("./index-BEdZOeDf.cjs"),h=require("./index-CfU80jZm.cjs"),C=require("./index-DOCHgBta.cjs"),d=require("./index-C8qRkCgn.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),k={class:"menu-module"},v={class:"table-wrap","element-loading-text":"加载中..."},x={class:"module-dialog-default"},w=e.defineComponent({__name:"index",setup(D){const t=e.reactive({...p.State}),l=e.ref(null),a=C.useMenuState(d.pinia),{configMenu:n}=d.storeToRefs(a);return e.onMounted(()=>{var i;t.formatFormData(n.value),e.nextTick(()=>{var o,r;(r=l.value)==null||r.setCurrentKey((o=n.value)==null?void 0:o.path),a.setActiveMenuPath("/平台管理/菜单管理")}),n.value&&t.getInitialSubStructure((i=n.value)==null?void 0:i.path)}),(i,o)=>{const r=e.resolveComponent("el-tree"),c=e.resolveComponent("el-splitter-panel"),u=e.resolveComponent("el-splitter"),s=e.resolveComponent("el-button"),g=e.resolveDirective("loading");return e.openBlock(),e.createElementBlock("div",k,[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(c,{size:208,class:"tree-wrap",min:200},{default:e.withCtx(()=>[e.createVNode(r,{ref_key:"treeRef",ref:l,data:t.treeData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"label",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"check-strictly":"",onNodeClick:t.clickNodeTrigger},null,8,["data","onNodeClick"])]),_:1}),e.createVNode(c,{min:500},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",v,[e.createVNode(_.ssTable,{itemData:t.menuPageData,changedContent:t.changedRow,operatingForm:t.operatingForm,onOnFormChange:t.changeTrigger,onChange:t.handleItemDataChange,onClickTrigger:t.clickTrigger,onOnButtonClick:t.clickRowButton},null,8,["itemData","changedContent","operatingForm","onOnFormChange","onChange","onClickTrigger","onOnButtonClick"])])),[[g,t.tableLoading]])]),_:1})]),_:1}),e.createVNode(m.ssDialog,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",x,[e.createVNode(h.ssForm,{rowContents:t.renderFormData,isEnableWrap:!1,isEdit:!0,onChange:t.changeTrigger,onClickTrigger:t.clickTrigger},null,8,["rowContents","onChange","onClickTrigger"])])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(s,{onClick:t.beforeDialogDestroy,id:"themeBorderButton"},{default:e.withCtx(()=>o[0]||(o[0]=[e.createTextVNode("取消")])),_:1,__:[0]},8,["onClick"]),e.createVNode(s,{id:"themeButton",onClick:t.clickSubmitForm},{default:e.withCtx(()=>o[1]||(o[1]=[e.createTextVNode(" 确认 ")])),_:1,__:[1]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])])}}}),b=f._export_sfc(w,[["__scopeId","data-v-74868a06"]]);exports.default=b;
@@ -1,26 +1,26 @@
1
1
  import { resolveComponent as CA, createBlock as fA, openBlock as l, withCtx as C, createElementVNode as u, toDisplayString as EA, defineComponent as ln, ref as o, watch as kA, createElementBlock as Q, Fragment as hA, renderList as VA, createCommentVNode as N, normalizeStyle as Re, createVNode as a, unref as A, resolveDynamicComponent as Le, onMounted as jn, computed as RA, provide as Fe, resolveDirective as $n, withDirectives as ne, vShow as ye, createTextVNode as te, renderSlot as ke, normalizeClass as He, onUnmounted as ut, createSlots as st } from "vue";
2
- import { m as yn, a as Hn, b as wn } from "./index-0N18Z5C5.js";
3
- import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-OGG8JaT-.js";
2
+ import { m as yn, a as Hn, b as wn } from "./index-CzfAuJbe.js";
3
+ import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Dvyy7Hv6.js";
4
4
  import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import { _ as gt, a as rt, b as dt, e as Pt, s as Ct } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B1NDV_vN.js";
5
+ import { _ as gt, a as rt, b as dt, e as Pt, s as Ct } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-eVQvnx4X.js";
6
6
  import { p as zA, s as BA, d as ot, c as fn, u as bn, b as Ee, g as ue, e as At, E as oe, f as Fn, h as Et } from "./index-DIUrwul5.js";
7
7
  import { a as vn, u as an } from "./index-AIq5wzuR.js";
8
8
  import { S as wA } from "./index-BHtNKL1L.js";
9
- import { a as he, s as se, b as It, c as it, r as HA, o as Je, d as Se, e as et, f as In, h as nt, i as Bn, j as tt, k as Bt, t as zt, l as Ge, m as Pn, n as Cn, p as Ve, q as sn, u as qe, v as _e, w as $e, x as An, y as en, z as gn, D as Qt, A as Xt, B as Ot, C as Vn, E as qn, F as FA, G as jt, H as yt, I as on, J as ft } from "./index-DlM3mp_g.js";
10
- import { a as Ht } from "./array-C_FEnaiV.js";
9
+ import { a as he, s as se, b as It, c as it, r as HA, o as Je, d as Se, e as et, f as In, h as nt, i as Bn, j as tt, k as Bt, t as zt, l as Ge, m as Pn, n as Cn, p as Ve, q as sn, u as qe, v as _e, w as $e, x as An, y as en, z as gn, D as Qt, A as Xt, B as Ot, C as Vn, E as qn, F as FA, G as jt, H as yt, I as on, J as ft } from "./index-OP4SOSrp.js";
10
+ import { a as Ht } from "./array-Fmr_AELx.js";
11
11
  import { u as kn, d as nn, g as we, a as lt, b as tn, c as wt, l as bt, e as kt, f as vt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DT7QToQt.js";
12
12
  import { u as dn, _ as xt, a as zn } from "./index-DdJnTqJC.js";
13
13
  import "./index.vue_vue_type_style_index_1_lang-DcrVu9ug.js";
14
14
  import "./index-_lg-jrRI.js";
15
15
  import { useRouter as pt } from "vue-router";
16
- import mt from "./index-BKwmIG6F.js";
16
+ import mt from "./index-DmGDRlg4.js";
17
17
  import { C as Jt } from "./index-Dr9mV7nz.js";
18
- import St from "./threeModel-CXRiVM5d.js";
18
+ import St from "./threeModel-CnSsRNkZ.js";
19
19
  import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
20
20
  import { s as rn } from "./index-ktc30u1t.js";
21
21
  import { T as Qn, u as Lt, a as ht } from "./threeViewerHost-Bdte7fSM.js";
22
22
  import { s as Xn } from "./index-CIsRA9IT.js";
23
- import { u as at } from "./index-BDXJaKkD.js";
23
+ import { u as at } from "./index-D7N_rhTp.js";
24
24
  import { T as _n } from "./svgIcon-D-_fXUBL.js";
25
25
  import { t as Rt, c as Kt, b as Dt } from "./index-CAPx0_D4.js";
26
26
  import { v as Nt } from "./index-gvHJ-SKY.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as u, createVNode as i } from "vue";
2
- import { s as m } from "./index-BDXJaKkD.js";
2
+ import { s as m } from "./index-D7N_rhTp.js";
3
3
  import { u as d, ag as p, af as l } from "./index-AIq5wzuR.js";
4
4
  import { s as g, u as h } from "./index-DIUrwul5.js";
5
5
  const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),y=require("./index-Ci7EmJmB.cjs"),c=require("./index-C8qRkCgn.cjs"),l=require("./index-DOCHgBta.cjs"),g=l.useModelComp(),{itemData:i}=c.storeToRefs(g),d=o.ref(0),m=o.ref([{label:"机构名称",value:"",name:"deptName"}]),D=e=>{console.log("handleQueryChange",e)},u=o.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:[]}]),f=e=>{l.submitTableAsyncByVerify(e.singleContent,e.buttonName,d.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},k=async e=>{const a=await l.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),r=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 r==null?void 0:r.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((p,b)=>{s[`a${b}`]=p}),s}else return{...t.tableData,id:t.id}})},_={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>i.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:k,handleItemDataChange:f,handleQueryChange:D,onButtonClick:C,onDoubleClick:h,pageData:u,queryFormData:m,structureId:d,tempPostPageData:_},Symbol.toStringTag,{value:"Module"})),T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),r=l.useMenuState(),{activeMenuPath:t}=c.storeToRefs(r);return o.onMounted(async()=>{a.structureId=await l.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(y.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"),y=require("./index-mNDa0WP1.cjs"),c=require("./index-C8qRkCgn.cjs"),l=require("./index-DOCHgBta.cjs"),g=l.useModelComp(),{itemData:i}=c.storeToRefs(g),d=o.ref(0),m=o.ref([{label:"机构名称",value:"",name:"deptName"}]),D=e=>{console.log("handleQueryChange",e)},u=o.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:[]}]),f=e=>{l.submitTableAsyncByVerify(e.singleContent,e.buttonName,d.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},k=async e=>{const a=await l.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),r=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 r==null?void 0:r.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((p,b)=>{s[`a${b}`]=p}),s}else return{...t.tableData,id:t.id}})},_={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>i.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:k,handleItemDataChange:f,handleQueryChange:D,onButtonClick:C,onDoubleClick:h,pageData:u,queryFormData:m,structureId:d,tempPostPageData:_},Symbol.toStringTag,{value:"Module"})),T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),r=l.useMenuState(),{activeMenuPath:t}=c.storeToRefs(r);return o.onMounted(async()=>{a.structureId=await l.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(y.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
@@ -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-CTaiaM3L.cjs");const c=require("./index-C8qRkCgn.cjs"),r=require("./index-DOCHgBta.cjs"),i=require("./index-Ci7EmJmB.cjs"),y=r.useModelComp(),{itemData:g}=c.storeToRefs(y),p=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),f=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:[]}]),m=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},_=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}})},S={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 k=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:_,handleItemDataChange:m,handleQueryChange:f,onButtonClick:C,onDoubleClick:h,pageData:u,queryFormData:D,structureId:p,tempDeptPageData:S},Symbol.toStringTag,{value:"Module"})),v={class:"role-wrapper"},T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...k}),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",v,[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-CTaiaM3L.cjs");const c=require("./index-C8qRkCgn.cjs"),r=require("./index-DOCHgBta.cjs"),i=require("./index-mNDa0WP1.cjs"),y=r.useModelComp(),{itemData:g}=c.storeToRefs(y),p=o.ref(0),D=o.ref([{label:"机构名称",value:"",name:"deptName"}]),f=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:[]}]),m=e=>{r.submitTableAsyncByVerify(e.singleContent,e.buttonName,p.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},_=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}})},S={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 k=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:_,handleItemDataChange:m,handleQueryChange:f,onButtonClick:C,onDoubleClick:h,pageData:u,queryFormData:D,structureId:p,tempDeptPageData:S},Symbol.toStringTag,{value:"Module"})),v={class:"role-wrapper"},T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...k}),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",v,[o.createVNode(i.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
@@ -1,5 +1,5 @@
1
1
  import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
2
- import { s as m } from "./index-BDXJaKkD.js";
2
+ import { s as m } from "./index-D7N_rhTp.js";
3
3
  import { g as d, c as _ } from "./index-62PHNV7A.js";
4
4
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const l = n([]), g = c(() => [
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-Ci7EmJmB.cjs"),n=require("./index-BoXjy_oE.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-mNDa0WP1.cjs"),n=require("./index-BoXjy_oE.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;
@@ -1,11 +1,11 @@
1
1
  import { computed as v, watch as u, onMounted as S, onUnmounted as B, resolveComponent as I, createElementBlock as D, openBlock as K, createVNode as p } from "vue";
2
- import "./index-DlM3mp_g.js";
2
+ import "./index-OP4SOSrp.js";
3
3
  import { u as T, p as j, s as x } from "./index-DIUrwul5.js";
4
- import "./array-C_FEnaiV.js";
4
+ import "./array-Fmr_AELx.js";
5
5
  import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DT7QToQt.js";
7
- import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-OGG8JaT-.js";
8
- import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-B1NDV_vN.js";
7
+ import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Dvyy7Hv6.js";
8
+ import "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-eVQvnx4X.js";
9
9
  import "./index-BHtNKL1L.js";
10
10
  import "./index.vue_vue_type_style_index_1_lang-DcrVu9ug.js";
11
11
  import "./index-_lg-jrRI.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as l, reactive as c, onMounted as s, createElementBlock as r, openBlock as i, createVNode as p } from "vue";
2
2
  import { S as m } from "./index-62PHNV7A.js";
3
- import { s as _ } from "./index-BDXJaKkD.js";
3
+ import { s as _ } from "./index-D7N_rhTp.js";
4
4
  import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const f = { class: "log-wrap" }, u = /* @__PURE__ */ l({
6
6
  __name: "index",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as z, reactive as R, onMounted as T, watch as A, nextTick as U, resolveComponent as i, createElementBlock as k, openBlock as u, createVNode as c, withCtx as l, createElementVNode as _, toDisplayString as g, Fragment as v, renderList as B, createBlock as b, createTextVNode as f, withDirectives as I, vShow as P } from "vue";
2
- import { s as E } from "./index-BDXJaKkD.js";
2
+ import { s as E } from "./index-D7N_rhTp.js";
3
3
  import { u as F, ah as x } from "./index-AIq5wzuR.js";
4
4
  import { s as O, c as H } from "./index-DIUrwul5.js";
5
5
  import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";