ss-component-new 1.2.201 → 1.2.203
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.
- package/dist/{MTLLoader-DeVVTn9U.cjs → MTLLoader-D3VZoLLS.cjs} +1 -1
- package/dist/{MTLLoader-EGw2WpGn.js → MTLLoader-TA3dmzZt.js} +1 -1
- package/dist/{OrbitControls-DsREqTNw.js → OrbitControls-C815PrCV.js} +1 -1
- package/dist/{OrbitControls-DUDihpSn.cjs → OrbitControls-Ci2b4u6R.cjs} +1 -1
- package/dist/{URDFLoader-DR_ZnSlg.js → URDFLoader-DocP_xFH.js} +2 -2
- package/dist/{URDFLoader-CNnR_d-M.cjs → URDFLoader-DwmU7yPi.cjs} +1 -1
- package/dist/{animationData-B0xfieMG.js → animationData-4XK3Jqi3.js} +2 -2
- package/dist/{animationData-BmO7uT95.cjs → animationData-C0bExM4v.cjs} +1 -1
- package/dist/{array-DtzBMDtX.js → array-Bay2i0Vw.js} +3 -3
- package/dist/{array-C-4Fn6kn.cjs → array-DcJnHcIw.cjs} +1 -1
- package/dist/{iconfont-hcY1c1Ph.js → iconfont-Dh6ZgvbG.js} +2 -2
- package/dist/{iconfont-BU-e8plC.cjs → iconfont-xItVQaLt.cjs} +1 -1
- package/dist/{index-VnVlZEmb.js → index-3oQGURYh.js} +1 -1
- package/dist/{index-MtfLKQp3.cjs → index-4QXJrOdG.cjs} +1 -1
- package/dist/{index-DufZVmKf.js → index-7MBVUN82.js} +9 -8
- package/dist/{index-D_07hjnO.cjs → index-8b1bMvyU.cjs} +1 -1
- package/dist/{index-BvOJGx4t.js → index-B023nZUc.js} +2 -2
- package/dist/{index-Cz4gIM1f.cjs → index-B1hS-6sw.cjs} +1 -1
- package/dist/{index-BFDTTNzf.cjs → index-B7zrUMM1.cjs} +1 -1
- package/dist/{index-i6xf9v_E.cjs → index-B8b3cy8_.cjs} +1 -1
- package/dist/{index-DywCAE3u.cjs → index-BMS51kH2.cjs} +1 -1
- package/dist/{index-C1JRzzYq.js → index-BT7JWOBF.js} +5 -5
- package/dist/{index-DKyiUFoj.js → index-BbkGyry0.js} +20 -20
- package/dist/{index-BuAS_9Ow.cjs → index-Bkb2GkmP.cjs} +1 -1
- package/dist/{index-m_LW0QsX.js → index-Bn4zkMqS.js} +2 -2
- package/dist/{index-ELxg57Gi.js → index-C-36_m2K.js} +6 -6
- package/dist/{index-Dr6wRpUQ.js → index-C9-Bv2Zb.js} +6 -6
- package/dist/{index-P6FeXt6g.js → index-CFnIAxFU.js} +1 -1
- package/dist/{index-DoL-xCP9.cjs → index-CJffhWqF.cjs} +1 -1
- package/dist/{index-DtFLuXja.cjs → index-CLqCXsqK.cjs} +1 -1
- package/dist/{index-BAaCpfqG.js → index-CO41nOz7.js} +2 -2
- package/dist/{index--na8gJFk.cjs → index-CRcKY_YM.cjs} +1 -1
- package/dist/{index-DQsD0m6q.js → index-CT-1q_Sb.js} +1 -1
- package/dist/{index-DDJnuYAl.cjs → index-CWEMkvT7.cjs} +1 -1
- package/dist/{index-By--71sB.cjs → index-CXC0u8pm.cjs} +1 -1
- package/dist/{index-BnrtLGSt.cjs → index-CcNuHoZS.cjs} +1 -1
- package/dist/{index-DW33UCCH.js → index-CrdoyRiw.js} +3 -3
- package/dist/{index-DW1RCzWC.cjs → index-D-uo7H2E.cjs} +1 -1
- package/dist/{index-CQOLlnCU.js → index-D6xI9Kd6.js} +3 -3
- package/dist/{index-CXsoc0ts.js → index-D742GPVS.js} +4 -4
- package/dist/{index-BCn8LcAH.cjs → index-DEsVL4KZ.cjs} +1 -1
- package/dist/{index-CB-3bIU7.cjs → index-DJXRfRzs.cjs} +1 -1
- package/dist/{index-DVuG6QBw.cjs → index-DMw45ES8.cjs} +1 -1
- package/dist/{index-CS7eiT5k.js → index-DMzOhZbZ.js} +12 -12
- package/dist/{index-BP07Gnjo.cjs → index-DOItJqcJ.cjs} +11 -11
- package/dist/{index-D3BeZsw9.cjs → index-DPp_aToA.cjs} +1 -1
- package/dist/{index-BFzjLkhB.cjs → index-DQf7cgx-.cjs} +10 -10
- package/dist/{index-DvgKkg8E.js → index-DU0JrdBR.js} +3 -3
- package/dist/{index-DbkmELIs.cjs → index-DZ1Wyte2.cjs} +1 -1
- package/dist/{index-mjz9Da8Y.cjs → index-DaRuwvRP.cjs} +1 -1
- package/dist/{index-C8JWH8zu.cjs → index-DbowKiAq.cjs} +1 -1
- package/dist/{index-BA2liwLn.js → index-DcYofWK7.js} +8 -7
- package/dist/{index-BdG8TrO6.js → index-DfFq9kkn.js} +2 -2
- package/dist/index-Dh1Z6bSQ.js +3363 -0
- package/dist/{index-DmKjHcw7.cjs → index-DhWtwiaT.cjs} +1 -1
- package/dist/{index-HFvfNokw.js → index-DiOjuAfy.js} +1 -1
- package/dist/{index-DN9fWZ39.js → index-Djp_1ESm.js} +3 -3
- package/dist/{index-DRjU_LhS.js → index-Dq9Tho6E.js} +3 -3
- package/dist/{index-BKNTCrry.js → index-Dr8-9e0m.js} +2 -2
- package/dist/{index-B7pEfxW6.cjs → index-DtfNydzd.cjs} +1 -1
- package/dist/{index-CGNh6A1u.js → index-DwUgAowW.js} +4 -4
- package/dist/index-EQPgkvyO.cjs +1 -0
- package/dist/{index-K6PeHL12.cjs → index-KaxOq1_-.cjs} +1 -1
- package/dist/{index-CwHRaxk9.js → index-NrH8XMyp.js} +2 -2
- package/dist/{index-BEDAWaV5.js → index-Q26ePpGH.js} +11 -11
- package/dist/{index-svyWq6yw.js → index-V6yWPooR.js} +2 -2
- package/dist/{index-C71lL2Zl.js → index-XfyUE2Ye.js} +4 -4
- package/dist/{index-DHtKscY6.js → index-gruT7omp.js} +1 -1
- package/dist/{index-B3Nii_wb.js → index-r48vNrKN.js} +2 -2
- package/dist/{index-D04LOBS0.cjs → index-rJGUHHaV.cjs} +1 -1
- package/dist/{index-CeTyBScG.cjs → index-t7aSHS0b.cjs} +1 -1
- package/dist/{index-G1p03SY5.cjs → index-z78zgQsK.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-3T-DoEef.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-6ezarDrj.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Db2wtXl-.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BLiySnpy.js} +9 -9
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DzxsDmSo.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BksZanFP.js} +1463 -1468
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bft_35IC.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CFvLAWOF.cjs} +53 -53
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-YDD6WZNQ.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BeUv9K8x.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Bg3P8eER.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CFKRRr_1.js} +7 -7
- package/dist/{index.vue_vue_type_style_index_1_lang-BwYhIkBS.js → index.vue_vue_type_style_index_1_lang-BQ-xcdZE.js} +442 -348
- package/dist/{index.vue_vue_type_style_index_1_lang-B6P8tuhB.cjs → index.vue_vue_type_style_index_1_lang-NcjcaVKL.cjs} +3 -3
- package/dist/{isString-5Nawl-Uc.js → isString-D70CzuJZ.js} +1 -1
- package/dist/{isString-DKZ1g7Pn.cjs → isString-Do5yyRUw.cjs} +1 -1
- package/dist/{main-CXonSl7o.js → main-COMs08L4.js} +5 -5
- package/dist/{main-CfdiYgA1.cjs → main-FdfIB2P3.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-CcZ_mIob.cjs → threeModel-C4BkWbN4.cjs} +1 -1
- package/dist/{threeModel-CTtZuUDg.js → threeModel-CDSx1QuT.js} +5 -5
- package/dist/{threePreview-DUyJ3mb_.cjs → threePreview-DRzGADyo.cjs} +1 -1
- package/dist/{threePreview-D-RkLYC8.js → threePreview-_2AlT5J2.js} +4 -4
- package/dist/{threeSceneView-Cr5UX8FG.js → threeSceneView--CpvjFpw.js} +11 -11
- package/dist/{threeSceneView-BFqSAGP1.cjs → threeSceneView-CnhYrdhr.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-N80YwIx-.cjs → threeSceneViewForCPMPIP-DyGCnSF-.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-CTvL-EyL.js → threeSceneViewForCPMPIP-ZyMF4jrD.js} +8 -8
- package/dist/{threeTrackPathView-Cp83uYdc.js → threeTrackPathView-CmTrznLl.js} +5 -5
- package/dist/{threeTrackPathView-C3tSwHTX.cjs → threeTrackPathView-kBS_0ueE.cjs} +1 -1
- package/dist/{threeViewerHost--jBITe3r.cjs → threeViewerHost-Ba1q0606.cjs} +1 -1
- package/dist/{threeViewerHost-DSYrQH3r.js → threeViewerHost-DK006r5Z.js} +4 -4
- package/dist/{urdfTree-B73vL4dE.cjs → urdfTree-YjjVDhU5.cjs} +1 -1
- package/dist/{urdfTree-CiLrHpgG.js → urdfTree-zl9i5h2k.js} +1 -1
- package/dist/{workpieceTreePanel-CUiwX5FV.js → workpieceTreePanel-BI64gjVU.js} +4 -4
- package/dist/{workpieceTreePanel-sYKZQx-o.cjs → workpieceTreePanel-DSdFl_0i.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-CleiTW2d.cjs +0 -1
- package/dist/index-DGcizPdx.js +0 -3112
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -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-
|
|
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-CFvLAWOF.cjs");const c=require("./index-DOItJqcJ.cjs"),r=require("./index-CXC0u8pm.cjs"),i=require("./index-EQPgkvyO.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 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index-DEsVL4KZ.cjs"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CFvLAWOF.cjs"),x=require("./index-DOItJqcJ.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=require("./index-DQf7cgx-.cjs"),k=require("./index-BpPyaNFa.cjs"),N={class:"avatar-model-wrap"},V={key:0},E=e.defineComponent({__name:"index",props:{disabled:{type:Boolean,default:!1},avatarUrl:{type:String,default:""},size:{type:[String,Number],default:"large"},userInfo:{type:Object,default:{}},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage"],setup(i,{emit:b}){const s=i,u=b,h=e.computed(()=>"http://222.92.178.198:62001"),d=e.ref(""),p=e.ref(""),_=e.ref();e.watch(()=>{var o;return(o=s.userInfo)==null?void 0:o.头像},o=>{p.value=h.value+"/"+o},{immediate:!0});const w=async()=>{if(!(s!=null&&s.disabled))try{const o=await B.downloadAvatarApi({url:d.value});if(o.status!==200)throw new Error(`HTTP error! status: ${o.status}`);const f=new Blob([o.data],{type:o.headers["content-type"]});_.value=f}catch(o){throw new Error(o)}},S=async o=>{var f,g,t,n,c;try{const r=await B.uploadFile(o);((f=r==null?void 0:r.data)==null?void 0:f.code)===200&&(p.value=h.value+"/"+((t=(g=r.data)==null?void 0:g.result)==null?void 0:t.url),d.value=(c=(n=r.data)==null?void 0:n.result)==null?void 0:c.url,u("submitImage",d.value))}catch(r){x.ElMessage.error(r)}},y=async()=>{try{if(!p.value)return}catch(o){x.ElMessage.error(o)}};return(o,f)=>{var g,t;return e.openBlock(),e.createElementBlock("div",N,[e.createVNode(I.ssAvatar,{avatarUrl:p.value,avatarBlob:_.value,size:i.size,onClickAvatar:w,onSubmitImage:S,onDeleteImage:y,clickStop:s==null?void 0:s.clickStop},{avatarDefault:e.withCtx(()=>{var n,c,r,l;return[e.createTextVNode(e.toDisplayString(((c=(n=i.userInfo)==null?void 0:n.account)==null?void 0:c.charAt(0))||((l=(r=i.userInfo)==null?void 0:r.姓名)==null?void 0:l.charAt(0))||""),1)]}),_:1},8,["avatarUrl","avatarBlob","size","clickStop"]),i.disabled?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",V,e.toDisplayString(((g=i.userInfo)==null?void 0:g.account)||((t=i.userInfo)==null?void 0:t.账号)||"未知"),1))])}}}),T=C._export_sfc(E,[["__scopeId","data-v-747bdfb7"]]),U=e.defineComponent({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},userInfo:{type:Object,default:{}}},emits:["clickSignButton","clickSubmitSign","beforeDestroy"],setup(i,{emit:b}){const s=i,u=e.ref({}),h=e.ref([]),d=b,p=t=>{u.value.dialogShow=(t==null?void 0:t.label)==="电子签名",d("clickSignButton",t)},_=()=>{u.value.dialogShow=!1,d("beforeDestroy")},w=e.computed(()=>"http://222.92.178.198:62001"),S=t=>{var a;const n=t.split(","),c=(a=n==null?void 0:n[0])==null?void 0:a.match(/:(.*?);/)[1],r=atob(n[1]);let l=r.length;const v=new Uint8Array(l);for(;l--;)v[l]=r.charCodeAt(l);return new Blob([v],{type:c})},y=async t=>{var n,c,r;try{const l=await B.uploadFile(t);((n=l==null?void 0:l.data)==null?void 0:n.code)===200&&d("clickSubmitSign",(r=(c=l.data)==null?void 0:c.result)==null?void 0:r.url)}catch(l){x.ElMessage.error(l)}},o=e.ref(""),f=t=>{o.value=t,u.value.dialogShow=!1;const n=new FormData,c=S(t);n.append("file",c,"image.png"),y(n)},g=t=>{const n=new FormData;n.append("file",t==null?void 0:t.file),y(n)};return e.watch(()=>s==null?void 0:s.itemData,t=>{var c,r,l,v;o.value="",(c=u.value)!=null&&c.dialogShow&&(u.value.dialogShow=!1);const n=(r=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:r.contents;n&&Object.keys(n).forEach(a=>{(n[a]===void 0||n[a]===null||n[a]==="")&&delete n[a]}),u.value=(l=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signConfig"))==null?void 0:l.contents,h.value=(v=t==null?void 0:t.find(a=>(a==null?void 0:a.key)==="signTypeList"))==null?void 0:v.contents},{immediate:!0}),(t,n)=>{const c=e.resolveComponent("el-empty"),r=e.resolveComponent("el-image"),l=e.resolveComponent("el-button"),v=e.resolveComponent("el-upload");return e.openBlock(),e.createBlock(A.Signature,{signPadInfo:u.value,onBeforeDestroy:_,onClickSubmitSign:f},{signatureRender:e.withCtx(()=>{var a,m;return[e.createElementVNode("div",{class:"signature-render",style:e.normalizeStyle({width:`${(a=u.value)==null?void 0:a.signPadWidth}%`})},[e.createVNode(r,{src:o.value?o.value:w.value+"/"+((m=i.userInfo)==null?void 0:m.签名),fit:"contain"},{error:e.withCtx(()=>[e.createVNode(c,{"image-size":60,description:" "},{image:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:"emptyImg"})]),_:1})]),_:1},8,["src"])],4)]}),signatureTypes:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,a=>{var m;return e.openBlock(),e.createElementBlock("div",{key:a.label,class:"signature-button"},[(m=a.label)!=null&&m.includes("上传")?(e.openBlock(),e.createBlock(v,{key:0,ref_for:!0,ref:"uploadRef","http-request":g,"show-file-list":!1},{trigger:e.withCtx(()=>[e.createVNode(l,{disabled:a.disabled,id:"themeButton"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled"])]),_:2},1536)):(e.openBlock(),e.createBlock(l,{key:1,id:"themeButton",disabled:a.disabled,onClick:$=>p(a)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.label),1)]),icon:e.withCtx(()=>[e.createVNode(k.SvgIcon,{name:a.icon??""},null,8,["name"])]),_:2},1032,["disabled","onClick"]))])}),128))]),_:1},8,["signPadInfo"])}}}),q=C._export_sfc(U,[["__scopeId","data-v-ce5a2314"]]);exports.ssAvatar=T;exports.ssSignature=q;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, createElementBlock as y, openBlock as u, createElementVNode as t, withDirectives as g, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
-
import { S as I, t as x } from "./index-
|
|
3
|
-
import { s as w, a as L } from "./index-
|
|
2
|
+
import { S as I, t as x } from "./index-DfFq9kkn.js";
|
|
3
|
+
import { s as w, a as L } from "./index-D742GPVS.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
6
|
-
import { h as E } from "./index-
|
|
7
|
-
import { u as N, s as U } from "./index-
|
|
5
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BksZanFP.js";
|
|
6
|
+
import { h as E } from "./index-DcYofWK7.js";
|
|
7
|
+
import { u as N, s as U } from "./index-7MBVUN82.js";
|
|
8
8
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
|
|
10
10
|
__name: "index",
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { resolveComponent as oA, createBlock as lA, openBlock as f, withCtx as C, createElementVNode as u, toDisplayString as CA, defineComponent as ln, ref as o, watch as xA, createElementBlock as Q, Fragment as hA, renderList as VA, createCommentVNode as W, normalizeStyle as Re, createVNode as a, unref as A, resolveDynamicComponent as Le, onMounted as On, computed as RA, provide as Fe, resolveDirective as $n, withDirectives as ne, vShow as je, createTextVNode as te, renderSlot as ke, normalizeClass as He, onUnmounted as ut, createSlots as st } from "vue";
|
|
2
|
-
import { m as yn, a as jn, b as Hn } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-
|
|
2
|
+
import { m as yn, a as jn, b as Hn } from "./index-C-36_m2K.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CFKRRr_1.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-
|
|
6
|
-
import { p as QA, s as BA, d as ot, c as fn, u as wn, b as Ee, g as ue, e as At, E as oe, f as Gn, h as Et } from "./index-
|
|
7
|
-
import { a as vn, u as an } from "./index-
|
|
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-BLiySnpy.js";
|
|
6
|
+
import { p as QA, s as BA, d as ot, c as fn, u as wn, b as Ee, g as ue, e as At, E as oe, f as Gn, h as Et } from "./index-7MBVUN82.js";
|
|
7
|
+
import { a as vn, u as an } from "./index-3oQGURYh.js";
|
|
8
8
|
import { S as bA } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as he, s as se, b as It, c as it, r as wA, o as Je, d as Se, e as et, f as En, h as nt, i as In, 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 Fn, E as Vn, F as FA, G as yt, H as jt, I as qn } from "./index-
|
|
10
|
-
import { a as Ht } from "./array-
|
|
11
|
-
import { u as dn, a as bn, d as nn, g as we, b as ft, c as tn, o as lt, e as wt, l as bt, f as kt, h as vt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
12
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
13
|
-
import "./index-
|
|
9
|
+
import { a as he, s as se, b as It, c as it, r as wA, o as Je, d as Se, e as et, f as En, h as nt, i as In, 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 Fn, E as Vn, F as FA, G as yt, H as jt, I as qn } from "./index-DMzOhZbZ.js";
|
|
10
|
+
import { a as Ht } from "./array-Bay2i0Vw.js";
|
|
11
|
+
import { u as dn, a as bn, d as nn, g as we, b as ft, c as tn, o as lt, e as wt, l as bt, f as kt, h as vt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BksZanFP.js";
|
|
12
|
+
import "./index.vue_vue_type_style_index_1_lang-BQ-xcdZE.js";
|
|
13
|
+
import "./index-DfFq9kkn.js";
|
|
14
14
|
import { useRouter as xt } from "vue-router";
|
|
15
|
-
import pt from "./index-
|
|
16
|
-
import { C as mt } from "./index-
|
|
17
|
-
import Jt from "./threeModel-
|
|
18
|
-
import { s as St, _ as Bn } from "./index-
|
|
15
|
+
import pt from "./index-NrH8XMyp.js";
|
|
16
|
+
import { C as mt } from "./index-Dr8-9e0m.js";
|
|
17
|
+
import Jt from "./threeModel-CDSx1QuT.js";
|
|
18
|
+
import { s as St, _ as Bn } from "./index-DcYofWK7.js";
|
|
19
19
|
import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
20
|
-
import { s as rn } from "./index-
|
|
21
|
-
import { T as zn, u as Lt, a as ht } from "./threeViewerHost-
|
|
22
|
-
import { s as Qn } from "./index-
|
|
23
|
-
import { u as at } from "./index-
|
|
20
|
+
import { s as rn } from "./index-DiOjuAfy.js";
|
|
21
|
+
import { T as zn, u as Lt, a as ht } from "./threeViewerHost-DK006r5Z.js";
|
|
22
|
+
import { s as Qn } from "./index-D742GPVS.js";
|
|
23
|
+
import { u as at } from "./index-Dh1Z6bSQ.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
|
-
import { v as Nt } from "./index-
|
|
27
|
-
import { f as Wt, a as Ut } from "./animationData-
|
|
26
|
+
import { v as Nt } from "./index-r48vNrKN.js";
|
|
27
|
+
import { f as Wt, a as Ut } from "./animationData-4XK3Jqi3.js";
|
|
28
28
|
const Mt = { class: "menu-title" };
|
|
29
29
|
function Zt(M, yA, g, vA, AA, cA) {
|
|
30
30
|
const z = oA("ssMenu");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("vue"),O=require("./index-By--71sB.cjs"),i=require("./index-BP07Gnjo.cjs"),pe=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bft_35IC.cjs"),A=O.useModelComp(i.pinia),m=pe.useUnit(i.pinia),I=O.useMenuState(i.pinia),{menus:ee,configMenu:x,activeMenuPath:q,cacheStructures:E}=i.storeToRefs(I),j=g.ref(!1),te=g.computed(()=>{var e,t;return[{key:"extraButton",contents:[]},{key:"rowButton",contents:[{label:"修改"}]},{key:"header",contents:[{label:"菜单名称",prop:"title",isFormColHidden:!1},{label:"菜单类型",prop:"menuType",formType:"select",options:[{label:"系统菜单",value:"集团"},{label:"公司",value:"公司"}],isTableColHidden:!1,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:(t=(e=i.cloneDeep(ee.value))==null?void 0:e.map(l=>({...l,menuType:"系统菜单"})))==null?void 0:t.filter(l=>l.title!=="系统管理"&&l.title!=="平台管理")}]}),$=g.ref([]),B=g.ref([{label:"新建"}]),fe=g.computed(()=>[{key:"extraButton",contents:B.value},{key:"rowButton",contents:[{label:"修改"},{label:"删除"}]},{key:"header",contents:[{label:"操作类型",prop:"operateType",formType:"select",options:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标",prop:"operateIcon",formType:"inputPopover",value:""},{label:"操作触发事件",prop:"trigger",formType:"select",options:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"配置一:",prop:"dialogConfig",formType:"button",value:"弹窗内容",isTableColHidden:!0},{label:"配置二:",prop:"contentConfig",formType:"button",value:"模块内容",isTableColHidden:!0},{label:"继承配置:",prop:"allowInherit",formType:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!1,isTableColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:$.value}]),J=g.ref([]),k=g.ref({}),de=g.ref({}),H=g.ref([{label:"菜单",prop:"path",isFormColHidden:!0,value:""},{label:"操作类型:",prop:"operateType",type:"select",contents:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标:",prop:"operateIcon",type:"inputPopover",value:""},{label:"操作触发事件:",prop:"trigger",type:"select",contents:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"生成的菜单图标:",prop:"menuIcon",type:"inputPopover",value:""},{label:"配置一:",prop:"dialogConfig",type:"button",value:"操作触发的弹窗结构"},{label:"配置二:",prop:"contentConfig",type:"button",value:"操作生成的模块结构",isFormColHidden:!1},{label:"",prop:"structureIds",type:"input",value:[],isFormColHidden:!0},{label:"继承配置:",prop:"allowInherit",type:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!0}]),R=e=>{var t;J.value=e?(t=H.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l:{...l,value:e?e[l==null?void 0:l.prop]:""}):H.value},ie=g.ref([{label:"查询"},{label:"重置"}]),ge=async()=>{},le=e=>e.map(t=>t.childMenus&&t.childMenus.length>0?{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title,children:le(t.childMenus)}:{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title}),v=g.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),U=g.ref([]),C=g.ref({}),h=g.ref(null),ae=g.ref([]),oe=g.computed(()=>{var e;return(e=le(ee.value))==null?void 0:e.filter(t=>t.title!=="系统管理"&&t.title!=="平台管理")}),ne=async e=>{var l,u,n,c;const t=await i.getInsofDataApi({key:{type:"subStructure",systemKey:sessionStorage.getItem("systemKey"),pageKey:e,version:1}});if(((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result){const r=(c=(n=t.data)==null?void 0:n.result)==null?void 0:c.map(p=>{var f;return{id:p==null?void 0:p.id,...(f=p==null?void 0:p.value)==null?void 0:f.pageData}});ae.value=r,I.setCacheStructures({key:"contentConfig",data:r})}},ve=async e=>{var t;j.value=!0,h.value={...e,rootNode:i.findRootNodeByPath(oe.value,e.path)},I.setCacheStructures(null),(e==null?void 0:e.level)===0?B.value.splice(0):(B.value=[{label:"新建"}],U.value=(t=e==null?void 0:e.path)==null?void 0:t.split("/")),await I.setConfigMenu(null),await ne(e==null?void 0:e.path),await _(e)},ye=e=>{switch(e){case"新建":return"create";case"修改":return"update";case"删除":return"delete"}},be=async(e,t)=>{var l,u;if(!h.value)return i.ElMessage.warning("请先选择菜单");if(v.type=ye(e),U.value=[],A.setSubmitCurStructure(!1),m.setSelectTitle([]),C.value=i.cloneDeep(t),v.type!=="delete"){switch(v.type){case"create":R(null),await I.setConfigMenu(null);break;case"update":R(C.value),await I.setConfigMenu(C.value),console.log("clickRowButton",C.value);break}await g.nextTick(),v.title=`【${v.type==="create"?(l=h.value)==null?void 0:l.path:(u=C.value)==null?void 0:u.path}】菜单配置${e}`,v.show=!0}else await re(C.value,v.type)},ue=g.ref(!0),he=async e=>{var t;k.value=e,await I.setConfigMenu({...k.value,path:(t=h.value)==null?void 0:t.path}),ue.value=(e==null?void 0:e.operateType)!=="新增"};g.watch(()=>ue.value,async e=>{var t;await g.nextTick(),J.value=(t=H.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l.prop==="contentConfig"?{...l,isFormColHidden:e}:l:{...l,value:k.value?k.value[l==null?void 0:l.prop]:""})},{immediate:!0,deep:!0});const Ce=g.ref(null),Ie=async(e,t)=>{var r,p,f,s,b;if(v.type==="create"){const a=(p=(r=E.value)==null?void 0:r.filter(d=>(d==null?void 0:d.key)===t))==null?void 0:p.flatMap(d=>d==null?void 0:d.data);A.setItemData(a),I.setCacheStructures({key:t,data:a})}if(console.log("getTriggerStructures1",e==null?void 0:e.structureIds,t),!(e!=null&&e.structureIds)||((f=e==null?void 0:e.structureIds)==null?void 0:f.length)===0)return;const l=(b=(s=e==null?void 0:e.structureIds)==null?void 0:s.filter(a=>(a==null?void 0:a.key)===t))==null?void 0:b.map(a=>a==null?void 0:a.id);let u=l==null?void 0:l.map(a=>{if(a)return i.getInsofDataApi({id:a})});const n=await Promise.all(u),c=n==null?void 0:n.every(a=>{var d;return((d=a==null?void 0:a.data)==null?void 0:d.code)===200});if(console.log("getTriggerStructures2",e==null?void 0:e.structureIds,t,n),c&&(n==null?void 0:n.length)>0){const a=n==null?void 0:n.map(d=>{var T,M,w,N,P,o,F;return{id:(w=(M=(T=d==null?void 0:d.data)==null?void 0:T.result)==null?void 0:M[0])==null?void 0:w.id,...(F=(o=(P=(N=d==null?void 0:d.data)==null?void 0:N.result)==null?void 0:P[0])==null?void 0:o.value)==null?void 0:F.pageData}});A.setItemData(a),I.setCacheStructures({key:t,data:a})}},ke=async e=>{var n,c,r,p,f;const t=e==="操作触发的弹窗结构"?"dialogConfig":"contentConfig";I.setButtonTriggerType(t),await Ie(C.value,t);let l;(n=k.value)!=null&&n.subMenus&&((c=k.value)==null?void 0:c.subMenus.length)>0&&(l=(r=U.value)==null?void 0:r.map(s=>({value:s})),l.unshift({value:(p=C.value)==null?void 0:p.title}));let u;v.type==="create"?u={...k.value,path:(f=h.value)==null?void 0:f.path}:v.type==="update"&&(u=x.value),await I.setConfigMenu(u),m.setSelectTitle(l),A.setIsEdit("edit")},_=async e=>{var l,u,n,c,r,p;const t=await i.getInsofDataApi({key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+(e==null?void 0:e.path),tableId:""}});((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result&&($.value=((c=(n=t.data)==null?void 0:n.result)==null?void 0:c.length)>0?(p=(r=t.data)==null?void 0:r.result)==null?void 0:p.map(f=>{var s;return{id:f==null?void 0:f.id,...(s=f==null?void 0:f.value)==null?void 0:s.tableData}}):[]),j.value=!1},K=async(e,t,l="contentConfig")=>{var u,n,c,r,p,f;try{let s,b;t==="create"?(s={key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+((u=h.value)==null?void 0:u.path),type:"structure",rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,structureBelong:l,parentTable:"",version:1},value:{pageData:e}},b=i.createInsofDataApi):t==="update"?(s={id:e==null?void 0:e.id,value:{pageData:e}},b=i.updateInsofDataApi):t==="delete"&&(s={id:e},b=i.deleteInsofDataApi);const a=await b(s);if(((r=a==null?void 0:a.data)==null?void 0:r.code)!==200)throw i.ElMessage.error("保存响应失败"),new Error("保存响应失败");const d=t==="create"?(p=a==null?void 0:a.data)==null?void 0:p.result:e==null?void 0:e.id;return{status:((f=a==null?void 0:a.data)==null?void 0:f.code)===200,data:{id:d,key:l}}}catch{i.ElMessage.error("保存响应失败")}},Y=(e,t)=>{var f,s,b;const l=(f=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:f.map(a=>a==null?void 0:a.id),u=t.filter(a=>!(l!=null&&l.includes(a))),n=l==null?void 0:l.filter(a=>!t.includes(a));let c=null,r=null,p=null;return c=[...u,...n].filter(a=>a),r=(s=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:s.filter(a=>!(a!=null&&a.id)),p=(b=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:b.filter(a=>a==null?void 0:a.id).filter(a=>Object.keys(a).length>1),{deleteIds:c,createComps:r,updateComps:p}},Z=(e,t)=>{var u,n,c,r,p,f;let l=[];return((u=t==null?void 0:t.deleteIds)==null?void 0:u.length)>0&&((n=t==null?void 0:t.deleteIds)==null||n.forEach(s=>{l.push(K(s,"delete",e))})),((c=t==null?void 0:t.createComps)==null?void 0:c.length)>0&&((r=t==null?void 0:t.createComps)==null||r.forEach(s=>{l.push(K(s,"create",e))})),((p=t==null?void 0:t.updateComps)==null?void 0:p.length)>0&&((f=t==null?void 0:t.updateComps)==null||f.forEach(s=>{s!=null&&s.id&&l.push(K(s,"update",e))})),l},Te=e=>{const t=new Map;return e.forEach(l=>{t.set(l.id,l)}),Array.from(t.values())},Me=async(e,t)=>{var l,u,n,c,r,p,f;try{const s=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="contentConfig"),b=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="dialogConfig");await g.nextTick();const a=(n=(u=(l=E.value)==null?void 0:l.filter(o=>(o==null?void 0:o.key)==="dialogConfig"))==null?void 0:u.flatMap(o=>o==null?void 0:o.data))==null?void 0:n.map(o=>o==null?void 0:o.id);let d=(p=(r=(c=E.value)==null?void 0:c.filter(o=>(o==null?void 0:o.key)==="contentConfig"))==null?void 0:r.flatMap(o=>o==null?void 0:o.data))==null?void 0:p.map(o=>o==null?void 0:o.id);d=[...d,...(f=ae.value)==null?void 0:f.map(o=>o==null?void 0:o.id)];const T=Y(b,a),M=Y(s,d),w=Z("dialogConfig",T),N=Z("contentConfig",M),P=[...w,...N];await Promise.all(P).then(o=>{var z,G,L,V,Q,W,X;if(!(o==null?void 0:o.every(y=>y.status)))return;let S=(z=o==null?void 0:o.flatMap(y=>y==null?void 0:y.data))==null?void 0:z.filter(y=>(y==null?void 0:y.id)!==null&&(y==null?void 0:y.id)!==void 0);if(((G=T==null?void 0:T.updateComps)==null?void 0:G.length)===0&&v.type==="update"){const y=(V=(L=C.value)==null?void 0:L.structureIds)==null?void 0:V.filter(D=>(D==null?void 0:D.key)==="dialogConfig");S=[...S,...y]}if(((Q=M==null?void 0:M.updateComps)==null?void 0:Q.length)===0&&v.type==="update"){const y=(X=(W=C.value)==null?void 0:W.structureIds)==null?void 0:X.filter(D=>(D==null?void 0:D.key)==="contentConfig");S=[...S,...y]}const ce=Te(S);re({...t,isNotInitial:!0,structureIds:ce},v.type)}).catch(o=>{i.ElMessage.error(o)})}catch(s){throw i.ElMessage.error(s),new Error(s)}},re=async(e,t)=>{var n,c;let l,u;t==="create"?(l={key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+((n=h.value)==null?void 0:n.path),tableId:"",rootNodePath:e==null?void 0:e.rootNodePath},value:{tableData:e}},u=i.createInsofDataApi):t==="update"?(l={id:e==null?void 0:e.id,value:{tableData:e}},u=i.updateInsofDataApi):t==="delete"&&(l={ids:[e.id,...(c=e==null?void 0:e.structureIds)==null?void 0:c.map(r=>r.id)]},u=i.batchDeleteInsofDataApi),O.handleSubmitAsync(u,l,t).then(r=>{t==="create"&&$.value.push({...e,id:r}),t&&r&&i.ElMessage.success("响应成功"),_(h.value)})},De=async()=>{var l,u,n,c,r;const e=JSON.parse(i.cloneDeep(JSON.stringify(E.value)));await g.nextTick();const t=v.type==="create"?{...x.value,rootNodePath:(u=(l=h.value)==null?void 0:l.rootNode)==null?void 0:u.path}:{...x.value,rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,id:(r=C.value)==null?void 0:r.id};await Me(e,t),k.value={},v.show=!1,await _(h.value)},Se=()=>{v.show=!1},se={comp:"Group",name:"/平台管理/菜单管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:te.value,name:""}]}]},we=Object.freeze(Object.defineProperty({__proto__:null,beforeDialogDestroy:Se,buttonValue:ie,changeTrigger:he,changedRow:de,clickNodeTrigger:ve,clickRowButton:be,clickSubmitForm:De,clickTrigger:ke,dialogInfo:v,formatFormData:R,getInitialSubStructure:ne,getTableDataAsync:_,handleItemDataChange:ge,inputForm:k,menuPageData:fe,operatingForm:Ce,pageData:te,renderFormData:J,tableLoading:j,tempMenuPageData:se,treeData:oe},Symbol.toStringTag,{value:"Module"}));exports.State=we;exports.tempMenuPageData=se;
|
|
1
|
+
"use strict";const g=require("vue"),O=require("./index-CXC0u8pm.cjs"),i=require("./index-DOItJqcJ.cjs"),pe=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CFvLAWOF.cjs"),A=O.useModelComp(i.pinia),m=pe.useUnit(i.pinia),I=O.useMenuState(i.pinia),{menus:ee,configMenu:x,activeMenuPath:q,cacheStructures:E}=i.storeToRefs(I),j=g.ref(!1),te=g.computed(()=>{var e,t;return[{key:"extraButton",contents:[]},{key:"rowButton",contents:[{label:"修改"}]},{key:"header",contents:[{label:"菜单名称",prop:"title",isFormColHidden:!1},{label:"菜单类型",prop:"menuType",formType:"select",options:[{label:"系统菜单",value:"集团"},{label:"公司",value:"公司"}],isTableColHidden:!1,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:(t=(e=i.cloneDeep(ee.value))==null?void 0:e.map(l=>({...l,menuType:"系统菜单"})))==null?void 0:t.filter(l=>l.title!=="系统管理"&&l.title!=="平台管理")}]}),$=g.ref([]),B=g.ref([{label:"新建"}]),fe=g.computed(()=>[{key:"extraButton",contents:B.value},{key:"rowButton",contents:[{label:"修改"},{label:"删除"}]},{key:"header",contents:[{label:"操作类型",prop:"operateType",formType:"select",options:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标",prop:"operateIcon",formType:"inputPopover",value:""},{label:"操作触发事件",prop:"trigger",formType:"select",options:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"配置一:",prop:"dialogConfig",formType:"button",value:"弹窗内容",isTableColHidden:!0},{label:"配置二:",prop:"contentConfig",formType:"button",value:"模块内容",isTableColHidden:!0},{label:"继承配置:",prop:"allowInherit",formType:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!1,isTableColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:$.value}]),J=g.ref([]),k=g.ref({}),de=g.ref({}),H=g.ref([{label:"菜单",prop:"path",isFormColHidden:!0,value:""},{label:"操作类型:",prop:"operateType",type:"select",contents:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标:",prop:"operateIcon",type:"inputPopover",value:""},{label:"操作触发事件:",prop:"trigger",type:"select",contents:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"生成的菜单图标:",prop:"menuIcon",type:"inputPopover",value:""},{label:"配置一:",prop:"dialogConfig",type:"button",value:"操作触发的弹窗结构"},{label:"配置二:",prop:"contentConfig",type:"button",value:"操作生成的模块结构",isFormColHidden:!1},{label:"",prop:"structureIds",type:"input",value:[],isFormColHidden:!0},{label:"继承配置:",prop:"allowInherit",type:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!0}]),R=e=>{var t;J.value=e?(t=H.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l:{...l,value:e?e[l==null?void 0:l.prop]:""}):H.value},ie=g.ref([{label:"查询"},{label:"重置"}]),ge=async()=>{},le=e=>e.map(t=>t.childMenus&&t.childMenus.length>0?{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title,children:le(t.childMenus)}:{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title}),v=g.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),U=g.ref([]),C=g.ref({}),h=g.ref(null),ae=g.ref([]),oe=g.computed(()=>{var e;return(e=le(ee.value))==null?void 0:e.filter(t=>t.title!=="系统管理"&&t.title!=="平台管理")}),ne=async e=>{var l,u,n,c;const t=await i.getInsofDataApi({key:{type:"subStructure",systemKey:sessionStorage.getItem("systemKey"),pageKey:e,version:1}});if(((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result){const r=(c=(n=t.data)==null?void 0:n.result)==null?void 0:c.map(p=>{var f;return{id:p==null?void 0:p.id,...(f=p==null?void 0:p.value)==null?void 0:f.pageData}});ae.value=r,I.setCacheStructures({key:"contentConfig",data:r})}},ve=async e=>{var t;j.value=!0,h.value={...e,rootNode:i.findRootNodeByPath(oe.value,e.path)},I.setCacheStructures(null),(e==null?void 0:e.level)===0?B.value.splice(0):(B.value=[{label:"新建"}],U.value=(t=e==null?void 0:e.path)==null?void 0:t.split("/")),await I.setConfigMenu(null),await ne(e==null?void 0:e.path),await _(e)},ye=e=>{switch(e){case"新建":return"create";case"修改":return"update";case"删除":return"delete"}},be=async(e,t)=>{var l,u;if(!h.value)return i.ElMessage.warning("请先选择菜单");if(v.type=ye(e),U.value=[],A.setSubmitCurStructure(!1),m.setSelectTitle([]),C.value=i.cloneDeep(t),v.type!=="delete"){switch(v.type){case"create":R(null),await I.setConfigMenu(null);break;case"update":R(C.value),await I.setConfigMenu(C.value),console.log("clickRowButton",C.value);break}await g.nextTick(),v.title=`【${v.type==="create"?(l=h.value)==null?void 0:l.path:(u=C.value)==null?void 0:u.path}】菜单配置${e}`,v.show=!0}else await re(C.value,v.type)},ue=g.ref(!0),he=async e=>{var t;k.value=e,await I.setConfigMenu({...k.value,path:(t=h.value)==null?void 0:t.path}),ue.value=(e==null?void 0:e.operateType)!=="新增"};g.watch(()=>ue.value,async e=>{var t;await g.nextTick(),J.value=(t=H.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l.prop==="contentConfig"?{...l,isFormColHidden:e}:l:{...l,value:k.value?k.value[l==null?void 0:l.prop]:""})},{immediate:!0,deep:!0});const Ce=g.ref(null),Ie=async(e,t)=>{var r,p,f,s,b;if(v.type==="create"){const a=(p=(r=E.value)==null?void 0:r.filter(d=>(d==null?void 0:d.key)===t))==null?void 0:p.flatMap(d=>d==null?void 0:d.data);A.setItemData(a),I.setCacheStructures({key:t,data:a})}if(console.log("getTriggerStructures1",e==null?void 0:e.structureIds,t),!(e!=null&&e.structureIds)||((f=e==null?void 0:e.structureIds)==null?void 0:f.length)===0)return;const l=(b=(s=e==null?void 0:e.structureIds)==null?void 0:s.filter(a=>(a==null?void 0:a.key)===t))==null?void 0:b.map(a=>a==null?void 0:a.id);let u=l==null?void 0:l.map(a=>{if(a)return i.getInsofDataApi({id:a})});const n=await Promise.all(u),c=n==null?void 0:n.every(a=>{var d;return((d=a==null?void 0:a.data)==null?void 0:d.code)===200});if(console.log("getTriggerStructures2",e==null?void 0:e.structureIds,t,n),c&&(n==null?void 0:n.length)>0){const a=n==null?void 0:n.map(d=>{var T,M,w,N,P,o,F;return{id:(w=(M=(T=d==null?void 0:d.data)==null?void 0:T.result)==null?void 0:M[0])==null?void 0:w.id,...(F=(o=(P=(N=d==null?void 0:d.data)==null?void 0:N.result)==null?void 0:P[0])==null?void 0:o.value)==null?void 0:F.pageData}});A.setItemData(a),I.setCacheStructures({key:t,data:a})}},ke=async e=>{var n,c,r,p,f;const t=e==="操作触发的弹窗结构"?"dialogConfig":"contentConfig";I.setButtonTriggerType(t),await Ie(C.value,t);let l;(n=k.value)!=null&&n.subMenus&&((c=k.value)==null?void 0:c.subMenus.length)>0&&(l=(r=U.value)==null?void 0:r.map(s=>({value:s})),l.unshift({value:(p=C.value)==null?void 0:p.title}));let u;v.type==="create"?u={...k.value,path:(f=h.value)==null?void 0:f.path}:v.type==="update"&&(u=x.value),await I.setConfigMenu(u),m.setSelectTitle(l),A.setIsEdit("edit")},_=async e=>{var l,u,n,c,r,p;const t=await i.getInsofDataApi({key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+(e==null?void 0:e.path),tableId:""}});((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result&&($.value=((c=(n=t.data)==null?void 0:n.result)==null?void 0:c.length)>0?(p=(r=t.data)==null?void 0:r.result)==null?void 0:p.map(f=>{var s;return{id:f==null?void 0:f.id,...(s=f==null?void 0:f.value)==null?void 0:s.tableData}}):[]),j.value=!1},K=async(e,t,l="contentConfig")=>{var u,n,c,r,p,f;try{let s,b;t==="create"?(s={key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+((u=h.value)==null?void 0:u.path),type:"structure",rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,structureBelong:l,parentTable:"",version:1},value:{pageData:e}},b=i.createInsofDataApi):t==="update"?(s={id:e==null?void 0:e.id,value:{pageData:e}},b=i.updateInsofDataApi):t==="delete"&&(s={id:e},b=i.deleteInsofDataApi);const a=await b(s);if(((r=a==null?void 0:a.data)==null?void 0:r.code)!==200)throw i.ElMessage.error("保存响应失败"),new Error("保存响应失败");const d=t==="create"?(p=a==null?void 0:a.data)==null?void 0:p.result:e==null?void 0:e.id;return{status:((f=a==null?void 0:a.data)==null?void 0:f.code)===200,data:{id:d,key:l}}}catch{i.ElMessage.error("保存响应失败")}},Y=(e,t)=>{var f,s,b;const l=(f=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:f.map(a=>a==null?void 0:a.id),u=t.filter(a=>!(l!=null&&l.includes(a))),n=l==null?void 0:l.filter(a=>!t.includes(a));let c=null,r=null,p=null;return c=[...u,...n].filter(a=>a),r=(s=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:s.filter(a=>!(a!=null&&a.id)),p=(b=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:b.filter(a=>a==null?void 0:a.id).filter(a=>Object.keys(a).length>1),{deleteIds:c,createComps:r,updateComps:p}},Z=(e,t)=>{var u,n,c,r,p,f;let l=[];return((u=t==null?void 0:t.deleteIds)==null?void 0:u.length)>0&&((n=t==null?void 0:t.deleteIds)==null||n.forEach(s=>{l.push(K(s,"delete",e))})),((c=t==null?void 0:t.createComps)==null?void 0:c.length)>0&&((r=t==null?void 0:t.createComps)==null||r.forEach(s=>{l.push(K(s,"create",e))})),((p=t==null?void 0:t.updateComps)==null?void 0:p.length)>0&&((f=t==null?void 0:t.updateComps)==null||f.forEach(s=>{s!=null&&s.id&&l.push(K(s,"update",e))})),l},Te=e=>{const t=new Map;return e.forEach(l=>{t.set(l.id,l)}),Array.from(t.values())},Me=async(e,t)=>{var l,u,n,c,r,p,f;try{const s=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="contentConfig"),b=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="dialogConfig");await g.nextTick();const a=(n=(u=(l=E.value)==null?void 0:l.filter(o=>(o==null?void 0:o.key)==="dialogConfig"))==null?void 0:u.flatMap(o=>o==null?void 0:o.data))==null?void 0:n.map(o=>o==null?void 0:o.id);let d=(p=(r=(c=E.value)==null?void 0:c.filter(o=>(o==null?void 0:o.key)==="contentConfig"))==null?void 0:r.flatMap(o=>o==null?void 0:o.data))==null?void 0:p.map(o=>o==null?void 0:o.id);d=[...d,...(f=ae.value)==null?void 0:f.map(o=>o==null?void 0:o.id)];const T=Y(b,a),M=Y(s,d),w=Z("dialogConfig",T),N=Z("contentConfig",M),P=[...w,...N];await Promise.all(P).then(o=>{var z,G,L,V,Q,W,X;if(!(o==null?void 0:o.every(y=>y.status)))return;let S=(z=o==null?void 0:o.flatMap(y=>y==null?void 0:y.data))==null?void 0:z.filter(y=>(y==null?void 0:y.id)!==null&&(y==null?void 0:y.id)!==void 0);if(((G=T==null?void 0:T.updateComps)==null?void 0:G.length)===0&&v.type==="update"){const y=(V=(L=C.value)==null?void 0:L.structureIds)==null?void 0:V.filter(D=>(D==null?void 0:D.key)==="dialogConfig");S=[...S,...y]}if(((Q=M==null?void 0:M.updateComps)==null?void 0:Q.length)===0&&v.type==="update"){const y=(X=(W=C.value)==null?void 0:W.structureIds)==null?void 0:X.filter(D=>(D==null?void 0:D.key)==="contentConfig");S=[...S,...y]}const ce=Te(S);re({...t,isNotInitial:!0,structureIds:ce},v.type)}).catch(o=>{i.ElMessage.error(o)})}catch(s){throw i.ElMessage.error(s),new Error(s)}},re=async(e,t)=>{var n,c;let l,u;t==="create"?(l={key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:q.value+"/"+((n=h.value)==null?void 0:n.path),tableId:"",rootNodePath:e==null?void 0:e.rootNodePath},value:{tableData:e}},u=i.createInsofDataApi):t==="update"?(l={id:e==null?void 0:e.id,value:{tableData:e}},u=i.updateInsofDataApi):t==="delete"&&(l={ids:[e.id,...(c=e==null?void 0:e.structureIds)==null?void 0:c.map(r=>r.id)]},u=i.batchDeleteInsofDataApi),O.handleSubmitAsync(u,l,t).then(r=>{t==="create"&&$.value.push({...e,id:r}),t&&r&&i.ElMessage.success("响应成功"),_(h.value)})},De=async()=>{var l,u,n,c,r;const e=JSON.parse(i.cloneDeep(JSON.stringify(E.value)));await g.nextTick();const t=v.type==="create"?{...x.value,rootNodePath:(u=(l=h.value)==null?void 0:l.rootNode)==null?void 0:u.path}:{...x.value,rootNodePath:(c=(n=h.value)==null?void 0:n.rootNode)==null?void 0:c.path,id:(r=C.value)==null?void 0:r.id};await Me(e,t),k.value={},v.show=!1,await _(h.value)},Se=()=>{v.show=!1},se={comp:"Group",name:"/平台管理/菜单管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:te.value,name:""}]}]},we=Object.freeze(Object.defineProperty({__proto__:null,beforeDialogDestroy:Se,buttonValue:ie,changeTrigger:he,changedRow:de,clickNodeTrigger:ve,clickRowButton:be,clickSubmitForm:De,clickTrigger:ke,dialogInfo:v,formatFormData:R,getInitialSubStructure:ne,getTableDataAsync:_,handleItemDataChange:ge,inputForm:k,menuPageData:fe,operatingForm:Ce,pageData:te,renderFormData:J,tableLoading:j,tempMenuPageData:se,treeData:oe},Symbol.toStringTag,{value:"Module"}));exports.State=we;exports.tempMenuPageData=se;
|
|
@@ -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
|
-
import { S as m } from "./index-
|
|
3
|
-
import { s as _ } from "./index-
|
|
2
|
+
import { S as m } from "./index-CO41nOz7.js";
|
|
3
|
+
import { s as _ } from "./index-Dh1Z6bSQ.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,12 +1,12 @@
|
|
|
1
1
|
import { ref as V, computed as Z, resolveComponent as K, createElementBlock as w, openBlock as r, Fragment as ee, renderList as ae, createElementVNode as g, toDisplayString as Q, createVNode as C, watch as ue, createBlock as A, resolveDynamicComponent as X, unref as h, withCtx as D, isRef as ze, createTextVNode as te, createCommentVNode as G, normalizeStyle as Xe, withModifiers as ne, normalizeClass as Ge, nextTick as Ke } from "vue";
|
|
2
|
-
import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index-
|
|
3
|
-
import { p as ie, s as le, c as R, E as ea } from "./index-
|
|
4
|
-
import { a as me, u as qe, E as aa } from "./index-
|
|
5
|
-
import { s as W, h as We, o as Je, b as ta, c as he, d as na, f as ce, g as la, i as oa, j as Pe, k as sa, l as fe, m as re, n as ca, t as ra, p as ua } from "./array-
|
|
2
|
+
import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index-DMzOhZbZ.js";
|
|
3
|
+
import { p as ie, s as le, c as R, E as ea } from "./index-7MBVUN82.js";
|
|
4
|
+
import { a as me, u as qe, E as aa } from "./index-3oQGURYh.js";
|
|
5
|
+
import { s as W, h as We, o as Je, b as ta, c as he, d as na, f as ce, g as la, i as oa, j as Pe, k as sa, l as fe, m as re, n as ca, t as ra, p as ua } from "./array-Bay2i0Vw.js";
|
|
6
6
|
import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import ia from "./index-rlStojTL.js";
|
|
8
|
-
import { a as da, b as pa } from "./index-
|
|
9
|
-
import { s as va } from "./index-
|
|
8
|
+
import { a as da, b as pa } from "./index-DcYofWK7.js";
|
|
9
|
+
import { s as va } from "./index-DiOjuAfy.js";
|
|
10
10
|
const ha = { class: "type-select" }, fa = { class: "group-label" }, ma = { class: "group-items" }, ga = ["onDragstart"], _a = {
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as g, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as f } from "vue";
|
|
2
|
-
import { S as x } from "./index-
|
|
3
|
-
import { s as B } from "./index-
|
|
4
|
-
import { s as F } from "./index-
|
|
5
|
-
import { d as y } from "./index-
|
|
6
|
-
import { u as S } from "./index-
|
|
7
|
-
import { p as I, s as N } from "./index-
|
|
2
|
+
import { S as x } from "./index-D6xI9Kd6.js";
|
|
3
|
+
import { s as B } from "./index-Dh1Z6bSQ.js";
|
|
4
|
+
import { s as F } from "./index-DiOjuAfy.js";
|
|
5
|
+
import { d as y } from "./index-DcYofWK7.js";
|
|
6
|
+
import { u as S } from "./index-3oQGURYh.js";
|
|
7
|
+
import { p as I, s as N } from "./index-7MBVUN82.js";
|
|
8
8
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const E = { class: "menu-module" }, M = {
|
|
10
10
|
class: "table-wrap",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as c, onMounted as p, watch as u, onUnmounted as f, createElementBlock as v, openBlock as m } from "vue";
|
|
2
|
-
import { af as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { af as _ } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BksZanFP.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const z = {
|
|
5
5
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CFvLAWOF.cjs"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const s=a;let t=null,n=null;const r=e.ref({}),o=e.ref(null),u=()=>{o.value&&(n=new ResizeObserver(()=>{i()}),n.observe(o.value))};e.onMounted(()=>{r.value=s.optionContents,c(),window.addEventListener("resize",i),u()}),e.watch(()=>s.optionContents,()=>{r.value=s.optionContents,c()}),e.onUnmounted(()=>{n&&n.disconnect(),window.removeEventListener("resize",i)});const i=()=>{t.resize()},c=()=>{t&&t.dispose(),t=d.init(o.value);const l=r.value;t.setOption(l),t.resize()};return(l,f)=>(e.openBlock(),e.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:o},null,512))}},v=p._export_sfc(_,[["__scopeId","data-v-69d6e63f"]]);exports.ssChart=v;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const k=require("vue"),r=require("./index-
|
|
1
|
+
"use strict";const k=require("vue"),r=require("./index-DOItJqcJ.cjs"),_=require("./index-CXC0u8pm.cjs"),A=k.ref([]),q=k.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:A.value}]),K=(l,s,o)=>{l==="清空"&&_.ElMessageBox.confirm("是否确认清空所有日志","",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(async()=>{var n,e;try{const a=await r.batchDeleteInsofDataApi({ids:s});((n=a==null?void 0:a.data)==null?void 0:n.code)===200?(r.ElMessage.success("清空日志成功"),o(!0)):(r.ElMessage.error(((e=a==null?void 0:a.data)==null?void 0:e.message)??"清空请求响应失败"),o(!1))}catch{r.ElMessage.error("清空操作处理失败"),o(!1)}}).catch(()=>{o(!1)})},T=async(l="login")=>{var s,o,n;try{const e=await r.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(n=(o=e==null?void 0:e.data)==null?void 0:o.result)==null?void 0:n.map(a=>{var t,u,c,d,p,y,f,g,v,b,S,h,B,D,w,x,E,M;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:(p=(d=a==null?void 0:a.value)==null?void 0:d.detail)==null?void 0:p.type}:{timeStamp:(y=a==null?void 0:a.value)==null?void 0:y.timeStamp,account:(f=a==null?void 0:a.value)==null?void 0:f.account,userName:(g=a==null?void 0:a.value)==null?void 0:g.userName,module:typeof((v=a==null?void 0:a.value)==null?void 0:v.module)=="string"?(S=(b=a==null?void 0:a.value)==null?void 0:b.module)!=null&&S.startsWith("/")?(B=(h=a==null?void 0:a.value)==null?void 0:h.module)==null?void 0:B.substring(1):(D=a==null?void 0:a.value)==null?void 0:D.module:(x=(w=a==null?void 0:a.value)==null?void 0:w.module)==null?void 0:x.pageKey,id:a==null?void 0:a.id,type:(M=(E=a==null?void 0:a.value)==null?void 0:E.detail)==null?void 0:M.type}});r.ElMessage.error("获取数据响应失败")}catch(e){throw new Error("获取数据失败"+e)}},I=Object.freeze(Object.defineProperty({__proto__:null,clickButton:K,getLogTableDataAsync:T,pageData:q,tableData:A},Symbol.toStringTag,{value:"Module"}));exports.State=I;exports.clickButton=K;exports.getLogTableDataAsync=T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as _, computed as A } from "vue";
|
|
2
|
-
import { f as I, E as s, g as M } from "./index-
|
|
3
|
-
import { E as N } from "./index-
|
|
2
|
+
import { f as I, E as s, g as M } from "./index-7MBVUN82.js";
|
|
3
|
+
import { E as N } from "./index-3oQGURYh.js";
|
|
4
4
|
const K = _([]), T = A(() => [
|
|
5
5
|
{
|
|
6
6
|
key: "extraButton",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-DOItJqcJ.cjs"),_=require("./index-CXC0u8pm.cjs"),C=require("./index-EQPgkvyO.cjs"),r=require("./index-D-uo7H2E.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=_.useMenuState(u.pinia),{menus:c}=u.storeToRefs(m),p=l.ref([]),f=async()=>{var i,t,n,a;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((i=e==null?void 0:e.data)==null?void 0:i.type)==="success"){let o=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return o=(a=u.cloneDeep(o))==null?void 0:a.map(s=>{var d;const b=Object.values((d=s==null?void 0:s.value)==null?void 0:d.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),o}else return[]};l.onMounted(async()=>{var n;const e=await f(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(c.value))==null?void 0:n.map(a=>({label:a==null?void 0:a.title,value:a==null?void 0:a.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];t.push({key:"tableContents",contents:e}),p.value=t});const y=e=>{(e==null?void 0:e.buttonName)==="新增"?r.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?r.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&r.fixMenuContent(e==null?void 0:e.singleContent)};return(e,i)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(C.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as f, ref as i, onMounted as E, resolveComponent as s, createElementBlock as v, openBlock as _, createElementVNode as b, createVNode as u, withCtx as c, Fragment as w, renderList as A, createBlock as B, createTextVNode as F } from "vue";
|
|
2
|
-
import { g as I, E as g } from "./index-
|
|
2
|
+
import { g as I, E as g } from "./index-7MBVUN82.js";
|
|
3
3
|
import { useRouter as M } from "vue-router";
|
|
4
4
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const T = { class: "tenant-wrap" }, $ = { class: "tenant-content" }, q = /* @__PURE__ */ C({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BeUv9K8x.cjs"),e=require("vue"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v=["title"],_={key:1,class:"menu-title",style:{display:"flex",width:"100px"}},B={key:2,class:"menu-operate-icon"},y={class:"menu-config-wrap"},M=["onClick"],m={class:"module-dialog-content"};function V(o,l,E,w,D,S){var a;const u=e.resolveComponent("ss-input"),s=e.resolveComponent("svg-icon"),C=e.resolveComponent("el-popover"),h=e.resolveComponent("ss-menu"),r=e.resolveComponent("el-button"),k=e.resolveComponent("ss-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(h,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var d,c,p,g;return[!o.fixElement||(t==null?void 0:t.path)!==((d=o.fixElement)==null?void 0:d.path)?(e.openBlock(),e.createElementBlock("span",{key:0,title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((c=t==null?void 0:t.config)==null?void 0:c.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,v)):e.createCommentVNode("",!0),o.fixElement&&(t==null?void 0:t.path)===((p=o.fixElement)==null?void 0:p.path)?(e.openBlock(),e.createElementBlock("span",_,[e.createVNode(u,{value:t.title,onBlur:n=>o.onBlur(n,t)},null,8,["value","onBlur"])])):e.createCommentVNode("",!0),t!=null&&t.config&&((g=t==null?void 0:t.config)==null?void 0:g.length)>0?(e.openBlock(),e.createElementBlock("span",B,[e.createVNode(C,{title:"",placement:"bottom-start",trigger:"hover","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(s,{name:"more",style:{cursor:"pointer",width:"15px",height:"15px"}})]),default:e.withCtx(()=>[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:b=>o.clickMenuIcon(t,n)},[e.createVNode(s,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,M))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((a=o.renderMenuList)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(s,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(k,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const N=f._export_sfc(i._sfc_main,[["render",V],["__scopeId","data-v-140f5e74"]]);exports.addSelectMenu=i.addSelectMenu;exports.deleteSelectMenu=i.deleteSelectMenu;exports.fixSelectMenu=i.fixSelectMenu;exports.setComponent=i.setComponent;exports.default=N;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("vue"),c=require("./index-
|
|
1
|
+
"use strict";const o=require("vue"),c=require("./index-DOItJqcJ.cjs");function qn(e){return e}function is(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var os=800,as=16,us=Date.now;function ls(e){var t=0,n=0;return function(){var r=us(),s=as-(r-n);if(n=r,s>0){if(++t>=os)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function cs(e){return function(){return e}}var fs=c.defineProperty?function(e,t){return c.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:cs(t),writable:!0})}:qn,jn=ls(fs),vn=Math.max;function Wn(e,t,n){return t=vn(t===void 0?e.length-1:t,0),function(){for(var r=arguments,s=-1,i=vn(r.length-t,0),u=Array(i);++s<i;)u[s]=r[t+s];s=-1;for(var a=Array(t+1);++s<t;)a[s]=r[s];return a[t]=n(u),is(e,this,a)}}var gn=c.Symbol?c.Symbol.isConcatSpreadable:void 0;function hs(e){return c.isArray(e)||c.isArguments(e)||!!(gn&&e&&e[gn])}function Ft(e,t,n,r,s){var i=-1,u=e.length;for(n||(n=hs),s||(s=[]);++i<u;){var a=e[i];t>0&&n(a)?t>1?Ft(a,t-1,n,r,s):c.arrayPush(s,a):r||(s[s.length]=a)}return s}function Gn(e){var t=e==null?0:e.length;return t?Ft(e,1):[]}function Yn(e){return jn(Wn(e,void 0,Gn),e+"")}function ds(e,t){return e!=null&&t in Object(e)}function ps(e,t,n){t=c.castPath(t,e);for(var r=-1,s=t.length,i=!1;++r<s;){var u=c.toKey(t[r]);if(!(i=e!=null&&n(e,u)))break;e=e[u]}return i||++r!=s?i:(s=e==null?0:e.length,!!s&&c.isLength(s)&&c.isIndex(u,s)&&(c.isArray(e)||c.isArguments(e)))}function Zn(e,t){return e!=null&&ps(e,t,ds)}function vs(e,t,n){for(var r=-1,s=t.length,i={};++r<s;){var u=t[r],a=c.baseGet(e,u);n(a,u)&&c.baseSet(i,c.castPath(u,e),a)}return i}function gs(e,t){return vs(e,t,function(n,r){return Zn(e,r)})}var Xn=Yn(function(e,t){return e==null?{}:gs(e,t)});const Je="update:modelValue",xt="change",At="input";function ys(e,t,n,r){const s=n-t;return e/=r/2,e<1?s/2*e*e*e+t:s/2*((e-=2)*e*e+2)+t}const Jn=e=>c.isClient?window.requestAnimationFrame(e):setTimeout(e,16),Qn=e=>c.isClient?window.cancelAnimationFrame(e):clearTimeout(e),ms=(e,t)=>{if(!c.isClient)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],r=c.getStyle(e,n);return["scroll","auto","overlay"].some(s=>r.includes(s))},bs=(e,t)=>{if(!c.isClient)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(ms(n,t))return n;n=n.parentNode}return n};let Le;const er=e=>{var t;if(!c.isClient)return 0;if(Le!==void 0)return Le;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",n.appendChild(s);const i=s.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),Le=r-i,Le};function Ss(e,t){if(!c.isClient)return;if(!t){e.scrollTop=0;return}const n=[];let r=t.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;const s=t.offsetTop+n.reduce((l,f)=>l+f.offsetTop,0),i=s+t.offsetHeight,u=e.scrollTop,a=u+e.clientHeight;s<u?e.scrollTop=s:i>a&&(e.scrollTop=i-e.clientHeight)}function Es(e,t,n,r,s){const i=Date.now();let u;const a=()=>{const f=Date.now()-i,d=ys(f>r?r:f,t,n,r);c.isWindow(e)?e.scrollTo(window.pageXOffset,d):e.scrollTop=d,f<r?u=Jn(a):c.isFunction(s)&&s()};return a(),()=>{u&&Qn(u)}}const ws=(e,t)=>c.isWindow(t)?e.ownerDocument.documentElement:t,Ts=e=>c.isWindow(e)?window.scrollY:e.scrollTop,tr=()=>c.isClient&&/firefox/i.test(window.navigator.userAgent);let $;const Cs={height:"0",visibility:"hidden",overflow:tr()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},xs=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function As(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),s=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:xs.map(u=>[u,t.getPropertyValue(u)]),paddingSize:r,borderSize:s,boxSizing:n}}function yn(e,t=1,n){var r;$||($=document.createElement("textarea"),document.body.appendChild($));const{paddingSize:s,borderSize:i,boxSizing:u,contextStyle:a}=As(e);a.forEach(([v,m])=>$==null?void 0:$.style.setProperty(v,m)),Object.entries(Cs).forEach(([v,m])=>$==null?void 0:$.style.setProperty(v,m,"important")),$.value=e.value||e.placeholder||"";let l=$.scrollHeight;const f={};u==="border-box"?l=l+i:u==="content-box"&&(l=l-s),$.value="";const d=$.scrollHeight-s;if(c.isNumber(t)){let v=d*t;u==="border-box"&&(v=v+s+i),l=Math.max(v,l),f.minHeight=`${v}px`}if(c.isNumber(n)){let v=d*n;u==="border-box"&&(v=v+s+i),l=Math.min(v,l)}return f.height=`${l}px`,(r=$.parentNode)==null||r.removeChild($),$=void 0,f}const Bs=c.buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),nr=e=>Xn(Bs,e),rr=c.buildProps({id:{type:String,default:void 0},size:c.useSizeProp,disabled:Boolean,modelValue:{type:c.definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:c.definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:c.iconPropType},prefixIcon:{type:c.iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:c.definePropType([Object,Array,String]),default:()=>c.mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...nr(["ariaLabel"])}),Ds={[Je]:e=>c.isString(e),input:e=>c.isString(e),change:e=>c.isString(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},ks=["class","style"],Is=/^on[A-Z]/,sr=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=o.computed(()=>((n==null?void 0:n.value)||[]).concat(ks)),s=o.getCurrentInstance();return s?o.computed(()=>{var i;return c.fromPairs(Object.entries((i=s.proxy)==null?void 0:i.$attrs).filter(([u])=>!r.value.includes(u)&&!(t&&Is.test(u))))}):(c.debugWarn("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),o.computed(()=>({})))},Bt={prefix:Math.floor(Math.random()*1e4),current:0},Rs=Symbol("elIdInjection"),ir=()=>o.getCurrentInstance()?o.inject(Rs,Bt):Bt,Qe=e=>{const t=ir();!c.isClient&&t===Bt&&c.debugWarn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
|
|
2
2
|
usage: app.provide(ID_INJECTION_KEY, {
|
|
3
3
|
prefix: number,
|
|
4
4
|
current: number,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("./index-DOItJqcJ.cjs"),f=require("vue-router"),b=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),g={class:"tenant-wrap"},C={class:"tenant-content"},k=e.defineComponent({__name:"index",setup(V){const n=e.reactive({tenantKey:""}),i=e.reactive({tenantKey:[{required:!0,message:"请选择模型",trigger:"blur"}]}),p=e.ref(null),_=e.ref([]),v=f.useRouter(),y=async()=>{var l,o;try{const r=await d.getInsofDataApi({key:{layer:"superAdmin"}});if(r.data.code===200){const s=(o=(l=r==null?void 0:r.data)==null?void 0:l.result)==null?void 0:o.flatMap(t=>t==null?void 0:t.key),u=s==null?void 0:s.map(t=>({value:t==null?void 0:t.systemKey,label:`【${t==null?void 0:t.systemKey}】`+((t==null?void 0:t.name)??"未知")}));_.value=[...u].sort((t,c)=>t.value.localeCompare(c.value))}else d.ElMessage.error("获取模型数据响应失败")}catch{d.ElMessage.error("获取模型数据失败")}};e.onMounted(()=>{y()});const m=l=>{l==null||l.validate(o=>{o&&(console.log("submitForm",n),sessionStorage.setItem("tenantKey",n==null?void 0:n.tenantKey),v.push("/login"))})};return(l,o)=>{const r=e.resolveComponent("el-option"),s=e.resolveComponent("el-select"),u=e.resolveComponent("el-form-item"),t=e.resolveComponent("el-form"),c=e.resolveComponent("el-button");return e.openBlock(),e.createElementBlock("div",g,[e.createElementVNode("div",C,[o[3]||(o[3]=e.createElementVNode("div",{class:"tenant-title"},"租户信息",-1)),e.createVNode(t,{model:n,rules:i,ref_key:"formRef",ref:p},{default:e.withCtx(()=>[e.createVNode(u,{label:"",prop:"tenantKey"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.tenantKey,"onUpdate:modelValue":o[0]||(o[0]=a=>n.tenantKey=a),placeholder:"请选择(可搜索查询)",filterable:"",clearable:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,a=>(e.openBlock(),e.createBlock(r,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model","rules"]),e.createVNode(c,{type:"primary",onClick:o[1]||(o[1]=a=>m(p.value))},{default:e.withCtx(()=>o[2]||(o[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]})])])}}}),x=b._export_sfc(k,[["__scopeId","data-v-5d82b8dd"]]);exports.default=x;
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
3
|
-
import { u as d, ai as p, ah as l } from "./index-
|
|
4
|
-
import { s as g, u as h } from "./index-
|
|
2
|
+
import { s as m } from "./index-Dh1Z6bSQ.js";
|
|
3
|
+
import { u as d, ai as p, ah as l } from "./index-3oQGURYh.js";
|
|
4
|
+
import { s as g, u as h } from "./index-7MBVUN82.js";
|
|
5
5
|
const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({
|
|
6
6
|
__name: "index",
|
|
7
7
|
setup(f) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("./index-
|
|
1
|
+
"use strict";const n=require("./index-DOItJqcJ.cjs"),o=require("vue"),i=e=>{const t={};for(let a in e)a!=="id"&&(t[a]=e[a]);const s=t==null?void 0:t.主菜单名称;n.createInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:s},value:{tableData:t}})},l=e=>{n.deleteInsofDataApi({id:e==null?void 0:e.id})},p=e=>{const t={};for(let a in e)a!=="id"&&(t[a]=e[a]);const s=t==null?void 0:t.主菜单名称;n.updateInsofDataApi({id:e==null?void 0:e.id,key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:s},value:{tableData:t}})};o.ref([]);const r={comp:"Group",name:"/平台管理/主菜单管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:[],prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}],name:""}]}]};exports.addMenuContent=i;exports.deleteMenuContent=l;exports.fixMenuContent=p;exports.tempMainMenuPageData=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as i, computed as j, reactive as ie, nextTick as B, watch as ye } from "vue";
|
|
2
|
-
import { u as be, a as he, af as Ce } from "./index-
|
|
3
|
-
import { c as J, s as Ie, g as U, bF as ke, E as S, p as $, h as ae, e as oe, bw as Te, f as Me } from "./index-
|
|
4
|
-
import { u as Se } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import { u as be, a as he, af as Ce } from "./index-3oQGURYh.js";
|
|
3
|
+
import { c as J, s as Ie, g as U, bF as ke, E as S, p as $, h as ae, e as oe, bw as Te, f as Me } from "./index-7MBVUN82.js";
|
|
4
|
+
import { u as Se } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BksZanFP.js";
|
|
5
5
|
const F = he($), ne = Se($), C = be($), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = Ie(C), z = i(!1), se = j(() => {
|
|
6
6
|
var e, t;
|
|
7
7
|
return [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as F, computed as N, ref as p, watch as $, createElementBlock as B, openBlock as b, createVNode as v, createCommentVNode as j, withCtx as u, createTextVNode as T, toDisplayString as I, resolveComponent as k, createBlock as x, Fragment as L, renderList as O, createElementVNode as R, normalizeStyle as q } from "vue";
|
|
2
|
-
import { s as H } from "./index-
|
|
3
|
-
import { d as M, e as P } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
4
|
-
import { E as z } from "./index-
|
|
2
|
+
import { s as H } from "./index-Dr8-9e0m.js";
|
|
3
|
+
import { d as M, e as P } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BksZanFP.js";
|
|
4
|
+
import { E as z } from "./index-7MBVUN82.js";
|
|
5
5
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { S as W } from "./index-
|
|
6
|
+
import { S as W } from "./index-DcYofWK7.js";
|
|
7
7
|
import { S as E } from "./index-BHtNKL1L.js";
|
|
8
8
|
const D = { class: "avatar-model-wrap" }, G = { key: 0 }, J = /* @__PURE__ */ F({
|
|
9
9
|
__name: "index",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const e=require("vue"),B=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CFvLAWOF.cjs"),a=require("./index-DOItJqcJ.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),T="ElUpload";class R extends Error{constructor(o,l,i,p){super(o),this.name="UploadAjaxError",this.status=l,this.method=i,this.url=p}}function h(r,o,l){let i;return l.response?i=`${l.response.error||l.response}`:l.responseText?i=`${l.responseText}`:i=`fail to ${o.method} ${r} ${l.status}`,new R(i,l.status,o.method,r)}function U(r){const o=r.responseText||r.response;if(!o)return o;try{return JSON.parse(o)}catch{return o}}const D=r=>{typeof XMLHttpRequest>"u"&&a.throwError(T,"XMLHttpRequest is undefined");const o=new XMLHttpRequest,l=r.action;o.upload&&o.upload.addEventListener("progress",t=>{const c=t;c.percent=t.total>0?t.loaded/t.total*100:0,r.onProgress(c)});const i=new FormData;if(r.data)for(const[t,c]of Object.entries(r.data))a.isArray$1(c)&&c.length?i.append(t,...c):i.append(t,c);i.append(r.filename,r.file,r.file.name),o.addEventListener("error",()=>{r.onError(h(l,r,o))}),o.addEventListener("load",()=>{if(o.status<200||o.status>=300)return r.onError(h(l,r,o));r.onSuccess(U(o))}),o.open(r.method,l,!0),r.withCredentials&&"withCredentials"in o&&(o.withCredentials=!0);const p=r.headers||{};if(p instanceof Headers)p.forEach((t,c)=>o.setRequestHeader(c,t));else for(const[t,c]of Object.entries(p))a.isNil(c)||o.setRequestHeader(t,String(c));return o.send(i),o},b=["text","picture","picture-card"];let L=1;const N=()=>Date.now()+L++,x=a.buildProps({action:{type:String,default:"#"},headers:{type:a.definePropType(Object)},method:{type:String,default:"post"},data:{type:a.definePropType([Object,Function,Promise]),default:()=>a.mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:a.definePropType(Array),default:()=>a.mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:b,default:"text"},httpRequest:{type:a.definePropType(Function),default:D},disabled:Boolean,limit:Number}),F=a.buildProps({...x,beforeUpload:{type:a.definePropType(Function),default:a.NOOP},beforeRemove:{type:a.definePropType(Function)},onRemove:{type:a.definePropType(Function),default:a.NOOP},onChange:{type:a.definePropType(Function),default:a.NOOP},onPreview:{type:a.definePropType(Function),default:a.NOOP},onSuccess:{type:a.definePropType(Function),default:a.NOOP},onProgress:{type:a.definePropType(Function),default:a.NOOP},onError:{type:a.definePropType(Function),default:a.NOOP},onExceed:{type:a.definePropType(Function),default:a.NOOP},crossorigin:{type:a.definePropType(String)}}),j={style:{"text-align":"left"}},A={class:"cropper-warp"},q={class:"cropper-warp-left"},$=["src"],H={class:"cropper-warp-right"},z={class:"cropper-warp-right-item"},M={class:"cropper-warp-right-value"},X=["src"],J={class:"cropper-warp-right-item"},G={class:"cropper-warp-right-value"},K=["src"],Q={class:"dialog-footer"},W=e.defineComponent({__name:"index",props:{title:{type:String,default:""}},emits:["submitImage","deleteImage"],setup(r,{expose:o,emit:l}){const i=l,p=e.ref(),t=e.reactive({isShowDialog:!1,cropperImg:"",cropperImgBase64:"",cropper:null}),c=async s=>{if(t.isShowDialog=!0,!s)return;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s),e.nextTick(()=>{w()})},f=()=>{var s;(s=t.cropper)==null||s.destroy(),t.isShowDialog=!1},m=()=>{f()},y=async()=>{const s=await v();i("submitImage",{file:s}),f()},d=async()=>{i("deleteImage")},w=()=>{const s=document.querySelector(".cropper-warp-left-img");s&&s.setAttribute("crossOrigin","anonymous"),t.cropper=new B.Cropper(s,{viewMode:1,dragMode:"none",initialAspectRatio:1,aspectRatio:1,preview:".before",background:!0,autoCropArea:1,checkCrossOrigin:!1,crop:()=>{t.cropperImgBase64=t.cropper.getCroppedCanvas().toDataURL("image/jpeg")}})},v=async()=>t!=null&&t.cropper?new Promise(s=>{var n,u;(u=(n=t==null?void 0:t.cropper)==null?void 0:n.getCroppedCanvas())==null||u.toBlob(_=>{s(_)})}):(await fetch(t.cropperImg)).blob(),V=async s=>{var u;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s.raw),(u=t.cropper)==null||u.replace(t.cropperImg)},S=s=>{p.value.clearFiles();const n=s[0];n.uid=N(),p.value.handleStart(n)};return o({openDialog:c}),(s,n)=>{const u=e.resolveComponent("ele-Edit"),_=e.resolveComponent("el-icon"),g=e.resolveComponent("el-button"),I=e.resolveComponent("el-upload"),k=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(k,{modelValue:t.isShowDialog,"onUpdate:modelValue":n[0]||(n[0]=O=>t.isShowDialog=O),width:"769px","before-close":m},{header:e.withCtx(()=>[e.createElementVNode("div",j,[e.createVNode(_,{size:"16",style:{"margin-right":"3px",display:"inline","vertical-align":"middle"}},{default:e.withCtx(()=>[e.createVNode(u)]),_:1}),e.createElementVNode("span",null,e.toDisplayString(r.title),1)])]),footer:e.withCtx(()=>[e.createElementVNode("span",Q,[e.createVNode(I,{class:"avatar-uploader",ref_key:"uploadSignRef",ref:p,accept:".jpg,.png",limit:1,"show-file-list":!1,"auto-upload":!1,"on-change":V,"on-exceed":S},{trigger:e.withCtx(()=>[e.createVNode(g,{type:"info",icon:"ele-Picture"},{default:e.withCtx(()=>n[4]||(n[4]=[e.createTextVNode("选择图片")])),_:1,__:[4]})]),default:e.withCtx(()=>[e.createVNode(g,{onClick:d,type:"danger",icon:"ele-Picture",style:{"margin-left":"8px"}},{default:e.withCtx(()=>n[5]||(n[5]=[e.createTextVNode("删除图片")])),_:1,__:[5]})]),_:1},512),e.createElementVNode("div",null,[e.createVNode(g,{onClick:m,id:"themeBorderButton"},{default:e.withCtx(()=>n[6]||(n[6]=[e.createTextVNode("取 消")])),_:1,__:[6]}),e.createVNode(g,{onClick:y,id:"themeButton"},{default:e.withCtx(()=>n[7]||(n[7]=[e.createTextVNode("确 定")])),_:1,__:[7]})])])]),default:e.withCtx(()=>[e.createElementVNode("div",A,[e.createElementVNode("div",q,[e.createElementVNode("img",{src:t.cropperImg,class:"cropper-warp-left-img"},null,8,$)]),e.createElementVNode("div",H,[n[3]||(n[3]=e.createElementVNode("div",{class:"cropper-warp-right-title"},"预览",-1)),e.createElementVNode("div",z,[e.createElementVNode("div",M,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img"},null,8,X)]),n[1]||(n[1]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"100 x 100",-1))]),e.createElementVNode("div",J,[e.createElementVNode("div",G,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img cropper-size"},null,8,K)]),n[2]||(n[2]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"50 x 50",-1))])])])]),_:1},8,["modelValue"])])}}}),E=C._export_sfc(W,[["__scopeId","data-v-4a19ffcf"]]),Y=e.defineComponent({__name:"index",props:{avatarUrl:{type:String,default:""},avatarBlob:{type:Blob,default:""},size:{type:[String,Number],default:"large"},showCropper:{type:Boolean,default:!0},banClick:{type:Boolean,default:!1},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage","clickAvatar"],setup(r,{emit:o}){const l=r,i=e.ref(),p=e.ref(null),t=o,c=()=>!0,f=async()=>{var d;l!=null&&l.banClick||(t("clickAvatar",l.avatarUrl),(d=i.value)==null||d.openDialog(l.avatarBlob))},m=async d=>{t("submitImage",d)},y=async()=>{t("deleteImage")};return(d,w)=>{const v=e.resolveComponent("el-avatar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(v,{src:r.avatarUrl,onClick:f,fit:"cover",size:r.size,ref_key:"avatarRef",ref:p,style:{background:"var(--user-avatar-bg)"},alt:"头像查找失败",onError:c},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"avatarDefault",{},void 0,!0)]),_:3},8,["src","size"]),e.withDirectives(e.createVNode(E,{ref_key:"cropperDialogRef",ref:i,title:"更改头像",avatarUrl:r.avatarUrl,onSubmitImage:m,onDeleteImage:y},null,8,["avatarUrl"]),[[e.vShow,r.showCropper&&(l==null?void 0:l.clickStop)]])],64)}}}),P=C._export_sfc(Y,[["__scopeId","data-v-82946fb9"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:P},Symbol.toStringTag,{value:"Module"}));exports.CropperDialog=E;exports.genFileId=N;exports.index=Z;exports.ssAvatar=P;exports.uploadBaseProps=x;exports.uploadListTypes=b;exports.uploadProps=F;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),_=require("./index-CJffhWqF.cjs"),r=require("./index-DOItJqcJ.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=(t,l,a)=>{var n,p,u,g;let e=l;e.title.text=(a==null?void 0:a.chartName)??"",e.xAxis.data=(n=r.cloneDeep(t))==null?void 0:n.map(i=>i.x),e.legend.data=(u=(p=r.cloneDeep(t))==null?void 0:p[0])!=null&&u.y?Object.keys(r.cloneDeep(t)[0].y):[];let o=[];return((g=e.legend.data)==null?void 0:g.length)>0&&r.cloneDeep(e.legend.data).forEach(i=>{var x;const y=(x=r.cloneDeep(t))==null?void 0:x.map(c=>{var h;return(h=c==null?void 0:c.y)==null?void 0:h[i]});o.push({name:i,type:"line",data:y})}),e.series=o,e},d=[{key:"折线图",value:{title:{text:"",left:"center",top:25,textStyle:{color:"#333",fontSize:18,fontWeight:"bold"}},tooltip:{trigger:"axis"},legend:{data:[]},grid:{left:"6%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",axisLabel:{interval:0},data:[]},yAxis:{type:"value"},series:[]}}],C={class:"eCharts"},D={__name:"index",props:{eChartContents:Array},setup(t){const l=t,a=s.ref({});return s.onMounted(()=>{var o;const e=l==null?void 0:l.eChartContents;a.value=m(r.cloneDeep(e==null?void 0:e.compData),(o=d==null?void 0:d.find(n=>(n==null?void 0:n.key)===(e==null?void 0:e.name)))==null?void 0:o.value,e==null?void 0:e.extraContent)}),(e,o)=>(s.openBlock(),s.createElementBlock("div",C,[s.createVNode(_.ssChart,{optionContents:a.value},null,8,["optionContents"])]))}},b=f._export_sfc(D,[["__scopeId","data-v-0440fac3"]]);exports.default=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue");require("./index-DhWtwiaT.cjs");const a=require("./index-DOItJqcJ.cjs");require("./array-DcJnHcIw.cjs");const S=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CFvLAWOF.cjs");require("./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BeUv9K8x.cjs");require("./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-6ezarDrj.cjs");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_1_lang-NcjcaVKL.cjs");require("./index-KaxOq1_-.cjs");require("./index-CXC0u8pm.cjs");require("vue-router");require("./index-BMS51kH2.cjs");;/* empty css */require("./index-DaRuwvRP.cjs");const q={__name:"index",props:{windowConfig:{type:Object,default:()=>{}},systemInfo:{type:Object,default:()=>{}},systemKey:{type:String,default:""},pathContent:{type:String,default:""},mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!1},nodeDev:{type:String,default:""},pageKey:{type:String,default:""}},emits:["buildContent","openThreeBuild","threeData"],setup(o,{emit:c}){const u=a.useLoginState(a.pinia),{loginUserInfo:m}=a.storeToRefs(u),e=o,s=c,y=n.computed(()=>{var t,i;return(e==null?void 0:e.showButton)||((i=(t=m.value)==null?void 0:t.layer)==null?void 0:i.toUpperCase())==="SUPERADMIN"});n.watch(()=>e==null?void 0:e.systemKey,t=>{u.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{u.setSystemInfo(t)},{immediate:!0});const f=()=>{s("buildContent")},w=()=>{s("setLoginInfo")},g=t=>{s("openThreeBuild",t)},h=t=>{s("threeData",t)},d=()=>{var l;const t=e!=null&&e.windowConfig?(l=e==null?void 0:e.windowConfig)==null?void 0:l.width:window.innerWidth,i=1920,r=16,C=t/i,v=r*C;document.documentElement.style.fontSize=`${v}px`};return n.onMounted(()=>{d(),window.addEventListener("resize",d)}),n.onUnmounted(()=>{window.removeEventListener("resize",d)}),(t,i)=>{const r=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(r,{mode:e==null?void 0:e.mode,content:e==null?void 0:e.content,jsonContents:e==null?void 0:e.jsonContents,pathContent:e==null?void 0:e.pathContent,showButton:y.value,nodeDev:e==null?void 0:e.nodeDev,windowConfig:o.windowConfig,systemInfo:o.systemInfo,"old-systemKey":o.systemKey,onBuildContent:f,onOpenThreeBuild:g,pageKey:o.pageKey,onThreeData:h,onSetLoginInfo:w},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey"])])}}},B=S._export_sfc(q,[["__scopeId","data-v-a9684a30"]]);exports.default=B;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { a as Pr, u as $r, f as Fr, g as Kr, s as jr } from "./index-
|
|
1
|
+
import { a as Pr, u as $r, f as Fr, g as Kr, s as jr } from "./index-Dh1Z6bSQ.js";
|
|
2
2
|
import { computed as Ut, ref as ce, watch as wt, onUnmounted as Nr, resolveComponent as Mt, createElementBlock as at, openBlock as Ee, createVNode as Te, createBlock as Tt, createCommentVNode as fa, withCtx as Me, createElementVNode as se, Fragment as Ht, renderList as Xt, toDisplayString as ht, nextTick as Ka, createTextVNode as zt, defineComponent as ga, resolveDynamicComponent as Na, onMounted as on, unref as Ot, reactive as Ba, renderSlot as zn, createSlots as Ur, mergeProps as vl, normalizeStyle as an, withModifiers as jn, defineAsyncComponent as Wr, defineProps as Hr, getCurrentInstance as Vr, inject as _o, shallowRef as qr, toRef as Gr, onBeforeMount as hl, watchEffect as Xr, onBeforeUnmount as gl, normalizeClass as Co, getCurrentScope as Yr, onScopeDispose as Jr, provide as So, toRefs as Do, withDirectives as Zr, vShow as Qr } from "vue";
|
|
3
|
-
import { bz as es, k as oi, bA as ts, bB as as, bC as ns, s as Zt, p as Yt, u as Ai, c as K, E as Gt, b as Wi, g as la, e as gn, bu as li, bv as Rn, f as qa, bt as Oi, h as oo, bD as is, bE as os, by as ls } from "./index-
|
|
4
|
-
import { d as ca, a as lo, e as yl, E as ml, f as bl, h as rs, b as kl, i as Zn } from "./index-
|
|
5
|
-
import { a as ro, W as ss, X as Hi, I as us, g as Ft, Y as cs, Z as so, _ as Vi, $ as ha, a0 as Un, a1 as Va, a2 as On, a3 as Pi, a4 as fs, o as ds, R as $i, a5 as ps, a6 as Eo, a7 as vs, a8 as gi, b as To, V as wl, a9 as ui, aa as hs, ab as gs, ac as ys, ad as Di, ae as ms, u as bs, r as ks } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
6
|
-
import { s as pa } from "./index-
|
|
7
|
-
import { a as ws, T as xs } from "./threeViewerHost-
|
|
8
|
-
import { a as Mn, u as Hn, E as ja, ae as _s } from "./index-
|
|
3
|
+
import { bz as es, k as oi, bA as ts, bB as as, bC as ns, s as Zt, p as Yt, u as Ai, c as K, E as Gt, b as Wi, g as la, e as gn, bu as li, bv as Rn, f as qa, bt as Oi, h as oo, bD as is, bE as os, by as ls } from "./index-7MBVUN82.js";
|
|
4
|
+
import { d as ca, a as lo, e as yl, E as ml, f as bl, h as rs, b as kl, i as Zn } from "./index-DcYofWK7.js";
|
|
5
|
+
import { a as ro, W as ss, X as Hi, I as us, g as Ft, Y as cs, Z as so, _ as Vi, $ as ha, a0 as Un, a1 as Va, a2 as On, a3 as Pi, a4 as fs, o as ds, R as $i, a5 as ps, a6 as Eo, a7 as vs, a8 as gi, b as To, V as wl, a9 as ui, aa as hs, ab as gs, ac as ys, ad as Di, ae as ms, u as bs, r as ks } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BksZanFP.js";
|
|
6
|
+
import { s as pa } from "./index-DiOjuAfy.js";
|
|
7
|
+
import { a as ws, T as xs } from "./threeViewerHost-DK006r5Z.js";
|
|
8
|
+
import { a as Mn, u as Hn, E as ja, ae as _s } from "./index-3oQGURYh.js";
|
|
9
9
|
import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { i as Io } from "./isString-
|
|
10
|
+
import { i as Io } from "./isString-D70CzuJZ.js";
|
|
11
11
|
import { _ as Ao } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
12
|
-
import { a as Cs, s as Ss } from "./index-
|
|
12
|
+
import { a as Cs, s as Ss } from "./index-D742GPVS.js";
|
|
13
13
|
import xl from "./index-rlStojTL.js";
|
|
14
|
-
import { s as Ds } from "./index-
|
|
14
|
+
import { s as Ds } from "./index-CFnIAxFU.js";
|
|
15
15
|
import { S as Es } from "./index-BHtNKL1L.js";
|
|
16
16
|
import { useRouter as Ts } from "vue-router";
|
|
17
17
|
import { a as Is, e as As, f as Os, g as zs, h as Bs } from "./index-CAPx0_D4.js";
|
|
18
|
-
import { v as ti } from "./index-
|
|
18
|
+
import { v as ti } from "./index-r48vNrKN.js";
|
|
19
19
|
var Ls = /\s/;
|
|
20
20
|
function Rs(a) {
|
|
21
21
|
for (var l = a.length; l-- && Ls.test(a.charAt(l)); )
|
|
@@ -6727,7 +6727,7 @@ function $d() {
|
|
|
6727
6727
|
}(xi)), xi.exports;
|
|
6728
6728
|
}
|
|
6729
6729
|
$d();
|
|
6730
|
-
const qi = Wr(() => import("./index-
|
|
6730
|
+
const qi = Wr(() => import("./index-DcYofWK7.js").then((a) => a.k));
|
|
6731
6731
|
qi.install = (a) => {
|
|
6732
6732
|
a.component("ssMenu", qi);
|
|
6733
6733
|
};
|