ss-component-new 1.3.49 → 1.3.50
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-D-urUdrf.cjs → MTLLoader-CEOtxyh2.cjs} +1 -1
- package/dist/{MTLLoader-EdMOXCr9.js → MTLLoader-GkOcupU3.js} +40 -40
- package/dist/{OrbitControls-Bqm95jie.js → OrbitControls-BFsEQ8wY.js} +1 -1
- package/dist/{OrbitControls-CsZhoVbh.cjs → OrbitControls-Cg-eGwSp.cjs} +1 -1
- package/dist/{URDFLoader-Dv2_yu9H.cjs → URDFLoader-VqEU-Bt0.cjs} +1 -1
- package/dist/{URDFLoader-Dj_qDDyi.js → URDFLoader-ehXmhBFT.js} +200 -200
- package/dist/{animationData-B3clqdCz.js → animationData-5o0D2SPA.js} +18 -18
- package/dist/{animationData-j8q9GL9s.cjs → animationData-h3_OEBhG.cjs} +1 -1
- package/dist/{array-DBmb_dbA.cjs → array-DN-yv0nl.cjs} +1 -1
- package/dist/{array-CuxW2kDp.js → array-_E6SKuKJ.js} +4 -4
- package/dist/{iconfont-CNymCHn6.cjs → iconfont-D0Cr9kuj.cjs} +1 -1
- package/dist/{iconfont-CvYchHEP.js → iconfont-DCFi7bPb.js} +46 -46
- package/dist/{index-CNydDYrN.cjs → index-B-1umMBk.cjs} +1 -1
- package/dist/{index-DQQGHkNg.cjs → index-B1U12Kov.cjs} +1 -1
- package/dist/{index-CISOplCk.js → index-B2iB_sIJ.js} +7 -8
- package/dist/{index-C2uQtrJb.js → index-B6jDYtpC.js} +8 -8
- package/dist/{index-BU_tmMwb.js → index-B7QR-Lou.js} +2 -2
- package/dist/index-BEQHIheQ.cjs +1 -0
- package/dist/{index-BeljvnZD.cjs → index-BFKHCjkd.cjs} +1 -1
- package/dist/{index-DAMlyIHp.js → index-BFMsMcD8.js} +4936 -5119
- package/dist/{index-C--Cb4yz.cjs → index-BJWrNIga.cjs} +1 -1
- package/dist/index-BJac5xKn.cjs +1 -0
- package/dist/{index-DOMPCPNk.js → index-BQSHrnLz.js} +3 -3
- package/dist/{index-Dqqp33r1.cjs → index-BZST7lPo.cjs} +11 -11
- package/dist/{index-COudEqtW.js → index-B_4AbtRg.js} +7 -7
- package/dist/{index-DVccu9rG.js → index-BdgLWDfL.js} +2111 -2353
- package/dist/{index-XroQ9gxP.js → index-BfEF_JC6.js} +7 -7
- package/dist/{index-CS4i2VJg.js → index-BgDSEEhr.js} +7 -7
- package/dist/{index-BRRItZG6.js → index-BnlicLlu.js} +2 -2
- package/dist/{index-N47WYmXL.cjs → index-C0KanvaS.cjs} +1 -1
- package/dist/{index-DvkpICHb.js → index-C1QaJ_Nu.js} +3 -3
- package/dist/{index-BvlEnbTN.js → index-CFn5-3eu.js} +2 -2
- package/dist/index-CGchY9n4.cjs +1 -0
- package/dist/{index-DQdNqcDC.js → index-CJIRsR3f.js} +2 -2
- package/dist/{index-CwhxnRyA.js → index-CX12hzsx.js} +1545 -1510
- package/dist/{index-D7dH9fVy.js → index-ClKAqw9M.js} +8 -8
- package/dist/{index-Dnry90NJ.js → index-CnKvPKWE.js} +3 -3
- package/dist/{index-CW3QZYd0.cjs → index-Cw_ZOIg_.cjs} +1 -1
- package/dist/{index-CaQxsLai.js → index-CwiUgaGI.js} +5 -5
- package/dist/index-D3MoBe24.cjs +15 -0
- package/dist/index-D6D9SCPa.cjs +1 -0
- package/dist/{index-DfcsvIY5.cjs → index-DB8oLdoK.cjs} +1 -1
- package/dist/{index-B94M9CMw.cjs → index-DLPQoVA6.cjs} +1 -1
- package/dist/{index-D3_jq7cX.cjs → index-DQJPWEqk.cjs} +1 -1
- package/dist/{index-9nY56-QR.cjs → index-DYQ5ZvYh.cjs} +1 -1
- package/dist/{index-CVLV7-M9.js → index-DYSziVz4.js} +9 -9
- package/dist/{index-BKrkAcBB.cjs → index-DcLb0XZD.cjs} +1 -1
- package/dist/{index-C9K9NG79.cjs → index-Dg5D5xCR.cjs} +1 -1
- package/dist/{index-DO_oafZe.js → index-Dg8irIqw.js} +5 -5
- package/dist/{index-DECdW2FW.js → index-DgVgB13t.js} +1 -1
- package/dist/{index-7G6RnWL-.js → index-DnkflWQf.js} +1 -1
- package/dist/{index-DLsU_7sc.js → index-DrFxQ8Ki.js} +2 -2
- package/dist/{index-D1TGlpbP.cjs → index-DwaW_eAE.cjs} +1 -1
- package/dist/{index-CGAzwavt.js → index-DzkWy2PD.js} +638 -639
- package/dist/{index-osT7gQ0k.cjs → index-F3XHv6p-.cjs} +1 -1
- package/dist/{index-DaObODQd.cjs → index-FrwJsit5.cjs} +1 -1
- package/dist/{index-CebyFRzl.cjs → index-KJ5I6heb.cjs} +1 -1
- package/dist/{index-CVhEAMxc.cjs → index-WSa1Enje.cjs} +1 -1
- package/dist/{index-C4Y_0Pqx.js → index-Wkp3bFzx.js} +1 -1
- package/dist/{index-MtuCSFch.js → index-XyzV8czh.js} +3 -3
- package/dist/{index-BBpfH3U5.cjs → index-aliiazw8.cjs} +1 -1
- package/dist/{index-B_ab3YNj.js → index-hkchRNAV.js} +10 -11
- package/dist/{index-CZ_1yrbo.cjs → index-tADecIkG.cjs} +1 -1
- package/dist/{index-DhdGSuCy.cjs → index-z2md-yku.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Dim6PXfX.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DCz-I5jm.js} +27358 -26694
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BimFR8f6.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DD10WrJ2.cjs} +392 -382
- package/dist/{index.vue_vue_type_style_index_1_lang-DlkNXxzZ.cjs → index.vue_vue_type_style_index_1_lang-CdWzb_V-.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-RJi0lv4v.js → index.vue_vue_type_style_index_1_lang-LDqCgKnI.js} +57 -57
- package/dist/{main-aZoig-Ic.cjs → main-Bv2Plrj7.cjs} +1 -1
- package/dist/{main-CKRcAjah.js → main-CsLazQpe.js} +4 -4
- package/dist/{menuIndex-BOUigvDC.cjs → menuIndex-CnGLkky9.cjs} +1 -1
- package/dist/{menuIndex-C1JdgI18.js → menuIndex-I5ECgNWt.js} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.js +15 -15
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +11 -11
- package/dist/{threeModel-BZ92nN2I.js → threeModel-Cnyc_Xfm.js} +45 -45
- package/dist/{threeModel-DocL2Wps.cjs → threeModel-Dy7yCJzh.cjs} +1 -1
- package/dist/{threePreview-Bg9IDV16.js → threePreview-CAXTHct3.js} +137 -137
- package/dist/{threePreview-rZ-Mn3yx.cjs → threePreview-rc0Y3L69.cjs} +1 -1
- package/dist/{threeSceneView-D9GroZ9j.cjs → threeSceneView-BUb8pd-o.cjs} +1 -1
- package/dist/{threeSceneView-FqQJ7ZrG.js → threeSceneView-DsioOlOb.js} +137 -137
- package/dist/{threeSceneViewForCPMPIP-WugeC6sT.cjs → threeSceneViewForCPMPIP-D6en-lGr.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BKeIA1xt.js → threeSceneViewForCPMPIP-vG44vNGe.js} +8 -8
- package/dist/{threeTrackPathView-Dx18ZIwF.js → threeTrackPathView-BaONHAhM.js} +56 -56
- package/dist/{threeTrackPathView-BE28zw_v.cjs → threeTrackPathView-CZTeW2Pq.cjs} +1 -1
- package/dist/{threeViewerHost-Dn4RvDFi.js → threeViewerHost-CLtCJAE_.js} +14 -14
- package/dist/{threeViewerHost-ZjhprZMr.cjs → threeViewerHost-DO4F_9O0.cjs} +1 -1
- package/dist/{urdfTree-C_IB0S4H.cjs → urdfTree-CnCpOTGQ.cjs} +1 -1
- package/dist/{urdfTree-D4JGxfMF.js → urdfTree-DrdQVTXa.js} +1 -1
- package/dist/{workpieceTreePanel-Di9vo3vC.cjs → workpieceTreePanel-BFPaqDJD.cjs} +1 -1
- package/dist/{workpieceTreePanel-jgqhd2py.js → workpieceTreePanel-BLpxZYf-.js} +72 -72
- package/package.json +1 -1
- package/dist/index-3m8kfH7_.js +0 -38
- package/dist/index-BM--4cI-.cjs +0 -1
- package/dist/index-DX9jk8Sp.cjs +0 -11
- package/dist/index-Dc1Bh93L.cjs +0 -1
- package/dist/index-LEeC_fJN.cjs +0 -1
- package/dist/index-syxWjmqB.cjs +0 -15
- package/dist/index-ytduJbtp.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("vue");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
"use strict";const t=require("vue");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DD10WrJ2.cjs");const $=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),T={class:"dialog-title"},D={__name:"index",props:{title:{type:String,default:""},dialogWidth:{type:[Number,String],default:600},visible:{type:Boolean,default:!1},fullScreen:{type:Boolean,default:!1},dialogHeight:{type:[Number,String],default:600},minWidth:{type:[Number,String],default:400},minHeight:{type:[Number,String],default:300},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},modalClass:{type:String,default:""},alignCenter:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!0},resizable:{type:Boolean,default:!1}},emits:["beforeDestroy"],setup(p,{emit:M}){const e=p,H=M,w=t.ref(!1),s=t.reactive({width:void 0,height:void 0,minWidth:void 0,minHeight:void 0});let k=!1,r="",x=0,z=0,c=0,f=0,g=0,y=0,b=null;const N=i=>{var n,o;const l=(o=(n=i==null?void 0:i.target)==null?void 0:n.closest)==null?void 0:o.call(n,".el-dialog");return l||null},S=i=>{if(!i||i==="none")return{tx:0,ty:0};let l=i.match(/matrix\(([^)]+)\)/);if(l){const n=l[1].split(",").map(o=>Number(o.trim()));return{tx:(n==null?void 0:n[4])||0,ty:(n==null?void 0:n[5])||0}}if(l=i.match(/matrix3d\(([^)]+)\)/),l){const n=l[1].split(",").map(o=>Number(o.trim()));return{tx:(n==null?void 0:n[12])||0,ty:(n==null?void 0:n[13])||0}}return l=i.match(/translate\(\s*([-\d.]+)px\s*,\s*([-\d.]+)px\s*\)/),l?{tx:Number(l[1])||0,ty:Number(l[2])||0}:{tx:0,ty:0}},W=(i,l,n)=>{i.style.transform=`translate(${l}px, ${n}px)`},d=(i,l)=>{if(!e.resizable)return;const n=N(i);if(!n)return;b=n,k=!0,r=l,x=i.clientX,z=i.clientY;const o=n.getBoundingClientRect();c=o.width,f=o.height;const a=window.getComputedStyle(n),{tx:u,ty:m}=S(a.transform);g=u,y=m,document.addEventListener("mousemove",C),document.addEventListener("mouseup",E)},C=i=>{if(!k||!b)return;const l=i.clientX-x,n=i.clientY-z,o=parseInt(s.minWidth||"0",10)||0,a=parseInt(s.minHeight||"0",10)||0;let u=c,m=f,B=g,v=y;if(r.includes("right")&&(u=Math.max(o,c+l)),r.includes("bottom")&&(m=Math.max(a,f+n)),r.includes("left")){const h=c-l;h<o?(u=o,B=g+(c-o)):(u=h,B=g+l)}if(r.includes("top")){const h=f-n;h<a?(m=a,v=y+(f-a)):(m=h,v=y+n)}s.width=`${u}px`,s.height=`${m}px`,W(b,B,v)},E=()=>{k=!1,r="",b=null,document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",E)},V=()=>{H("beforeDestroy")};return t.watch(()=>e==null?void 0:e.visible,i=>{w.value=i,i&&(e.resizable?(s.width=typeof e.dialogWidth=="number"?`${e.dialogWidth}px`:e.dialogWidth,s.height=typeof e.dialogHeight=="number"?`${e.dialogHeight}px`:e.dialogHeight,s.minWidth=typeof e.minWidth=="number"?`${e.minWidth}px`:e.minWidth,s.minHeight=typeof e.minHeight=="number"?`${e.minHeight}px`:e.minHeight):(s.width=void 0,s.height=void 0,s.minWidth=void 0,s.minHeight=void 0))},{deep:!0,immediate:!0}),(i,l)=>{const n=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(n,{modelValue:w.value,"onUpdate:modelValue":l[8]||(l[8]=o=>w.value=o),width:e==null?void 0:e.dialogWidth,"before-close":V,draggable:"",style:t.normalizeStyle(e!=null&&e.resizable?s:void 0),fullscreen:e==null?void 0:e.fullScreen,"destroy-on-close":!0,"show-close":e==null?void 0:e.showClose,"close-on-click-modal":e==null?void 0:e.closeOnClickModal,"modal-class":p.modalClass,"close-on-press-escape":e==null?void 0:e.closeOnPressEscape,"align-center":e==null?void 0:e.alignCenter,"append-to-body":p.appendToBody},{header:t.withCtx(()=>[t.createElementVNode("div",T,t.toDisplayString(e==null?void 0:e.title),1),t.renderSlot(i.$slots,"header",{},void 0,!0)]),footer:t.withCtx(()=>[t.renderSlot(i.$slots,"footer",{},void 0,!0)]),default:t.withCtx(()=>[t.renderSlot(i.$slots,"default",{},void 0,!0),e.resizable?(t.openBlock(),t.createElementBlock("div",{key:0,class:"resizable-handle top",onMousedown:l[0]||(l[0]=t.withModifiers(o=>d(o,"top"),["stop"]))},null,32)):t.createCommentVNode("",!0),e.resizable?(t.openBlock(),t.createElementBlock("div",{key:1,class:"resizable-handle right",onMousedown:l[1]||(l[1]=t.withModifiers(o=>d(o,"right"),["stop"]))},null,32)):t.createCommentVNode("",!0),e.resizable?(t.openBlock(),t.createElementBlock("div",{key:2,class:"resizable-handle bottom",onMousedown:l[2]||(l[2]=t.withModifiers(o=>d(o,"bottom"),["stop"]))},null,32)):t.createCommentVNode("",!0),e.resizable?(t.openBlock(),t.createElementBlock("div",{key:3,class:"resizable-handle left",onMousedown:l[3]||(l[3]=t.withModifiers(o=>d(o,"left"),["stop"]))},null,32)):t.createCommentVNode("",!0),e.resizable?(t.openBlock(),t.createElementBlock("div",{key:4,class:"resizable-handle top-left",onMousedown:l[4]||(l[4]=t.withModifiers(o=>d(o,"top-left"),["stop"]))},null,32)):t.createCommentVNode("",!0),e.resizable?(t.openBlock(),t.createElementBlock("div",{key:5,class:"resizable-handle top-right",onMousedown:l[5]||(l[5]=t.withModifiers(o=>d(o,"top-right"),["stop"]))},null,32)):t.createCommentVNode("",!0),e.resizable?(t.openBlock(),t.createElementBlock("div",{key:6,class:"resizable-handle bottom-left",onMousedown:l[6]||(l[6]=t.withModifiers(o=>d(o,"bottom-left"),["stop"]))},null,32)):t.createCommentVNode("",!0),e.resizable?(t.openBlock(),t.createElementBlock("div",{key:7,class:"resizable-handle bottom-right",onMousedown:l[7]||(l[7]=t.withModifiers(o=>d(o,"bottom-right"),["stop"]))},null,32)):t.createCommentVNode("",!0)]),_:3},8,["modelValue","width","style","fullscreen","show-close","close-on-click-modal","modal-class","close-on-press-escape","align-center","append-to-body"])}}},R=$._export_sfc(D,[["__scopeId","data-v-c3e3bec2"]]);exports.ssDialog=R;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),b=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),b=require("./index-BFKHCjkd.cjs"),y=require("./index-C5pQXH0_.cjs"),n=require("./index-BZST7lPo.cjs"),g=n.useModelComp(),{itemData:i}=n.storeToRefs(g),u=o.ref(0),m=o.ref([{label:"机构名称",value:"",name:"deptName"}]),D=e=>{console.log("handleQueryChange",e)},c=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{n.submitTableAsyncByVerify(e.singleContent,e.buttonName,u.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},k=async e=>{const a=await n.handleSubmitAsync(y.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),l=a==null?void 0:a.map(t=>{var r;return{id:t.id,tableData:(r=t==null?void 0:t.value)==null?void 0:r.tableData}});return l==null?void 0:l.map(t=>{var r;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(r=t==null?void 0:t.tableData)==null||r.forEach((d,p)=>{s[`a${p}`]=d}),s}else return{...t.tableData,id:t.id}})},_={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:c.value,name:""}]}]};o.watch(()=>i.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(c.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:f,handleQueryChange:D,onButtonClick:C,onDoubleClick:h,pageData:c,queryFormData:m,structureId:u,tempPostPageData:_},Symbol.toStringTag,{value:"Module"})),T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),l=n.useMenuState(),{activeMenuPath:t}=n.storeToRefs(l);return o.onMounted(async()=>{a.structureId=await n.getActivePageStructureId(t.value)}),(r,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(b.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const f=require("vue"),y=require("./index-C5pQXH0_.cjs"),g=require("./index-
|
|
1
|
+
"use strict";const f=require("vue"),y=require("./index-C5pQXH0_.cjs"),g=require("./index-BZST7lPo.cjs"),D=g.useLoginState(g.pinia),{loginUserInfo:u,cryptoInfo:w}=g.storeToRefs(D),V=g.useMenuState(g.pinia),{activeMenuPath:b}=g.storeToRefs(V),P=f.ref(0),R=f.computed(()=>{var s,a,t,r,n,l,e,o,p,d,v;return[{label:"",name:"账号",prop:"账号",value:((s=u.value)==null?void 0:s.account)||(((a=u.value)==null?void 0:a.账号)??"未知")},{label:"",name:"角色名称",prop:"角色名称",value:((t=u.value)==null?void 0:t.layer)==="superAdmin"?"超级管理员":(r=u.value)==null?void 0:r.角色名称},{label:"",name:"部门名称",prop:"部门名称",value:((n=u.value)==null?void 0:n.部门名称)??"未知"},{label:"",name:"状态",prop:"状态",value:((l=u.value)==null?void 0:l.layer)==="superAdmin"?"启用":((e=u.value)==null?void 0:e.状态)??"未知"},{label:"",prop:"头像",isFormColHidden:!0,value:((o=u.value)==null?void 0:o.layer)==="superAdmin"?"启用":((p=u.value)==null?void 0:p.状态)??"未知"},{label:"",prop:"签名",isFormColHidden:!0,value:((d=u.value)==null?void 0:d.layer)==="superAdmin"?"启用":((v=u.value)==null?void 0:v.状态)??"未知"}]}),W=()=>{},U=f.ref(!1),h=f.reactive({dialogTitle:"电子签名",dialogWidth:"30",dialogShow:!1,url:""}),S=f.ref([{label:"签字版",icon:y.edit_pen_default,type:"button",disabled:!1},{label:"电子签名",icon:y.edit_default,type:"button",disabled:!1},{label:"上传手写签名",icon:y.upload_filled_default,type:"buttonUpload",disabled:!1}]),I=f.ref(!1),T=f.ref(!1),M=f.ref(!1),_=f.computed(()=>{var r,n,l;const s=sessionStorage.getItem("authority"),a=JSON.parse(s||""),t=(r=b.value)!=null&&r.startsWith("/")?(n=b.value)==null?void 0:n.substring(1):b.value;return Array.isArray(a)?(M.value=!(a!=null&&a.includes(`${t}/上传头像`)),(l=S.value)==null?void 0:l.map(e=>({...e,disabled:!(a!=null&&a.includes(`${t}/签名`))}))):typeof a=="string"&&(a==null?void 0:a.toUpperCase())==="SUPERADMIN"?S.value:[]}),$=f.computed(()=>[{key:"signConfig",contents:h},{key:"signTypeList",contents:_.value}]),O=s=>{h.dialogShow=s.label==="电子签名"},L=()=>{h.dialogShow=!1},N=async s=>{var t,r,n,l,e,o,p,d,v;const a=await y.getInsofDataApi({id:s});if(((t=a==null?void 0:a.data)==null?void 0:t.code)===200&&a.data.result&&Array.isArray(a.data.result)&&a.data.result.length>0){const c={...(l=(n=(r=a.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.tableData,id:(o=(e=a.data.result)==null?void 0:e[0])==null?void 0:o.id,layer:(v=(d=(p=a.data.result)==null?void 0:p[0])==null?void 0:d.key)==null?void 0:v.layer};D.setLoginUserInfo(c)}},q=async(s,a)=>{var r,n,l;const t=g.cloneDeep(s);t==null||delete t.id;try{const e=await y.updateInsofDataApi({id:(r=u.value)==null?void 0:r.id,value:{tableData:t}});((n=e==null?void 0:e.data)==null?void 0:n.code)===200&&(L(),y.ElMessage.success("修改成功"),await N((l=u.value)==null?void 0:l.id),await D.setLogRecordAsync({type:a,data:s},b.value))}catch{y.ElMessage.error("修改响应失败")}finally{U.value=!1,I.value=!1,T.value=!1}},B=async(s,a)=>{var n;const t=s==="avatarUrl"?"头像":"签名",r={...u.value,status:((n=u.value)==null?void 0:n.status)??"启用",[t]:a};I.value=s==="avatarUrl",T.value=s==="signature",await q(r,"图片修改")},m=f.reactive({baseCols:[],otherCols:[]}),K=f.ref([]),k=f.ref(),H=(s,a,t)=>{var l,e,o,p,d,v;let r;const n=a;((e=(l=u.value)==null?void 0:l.layer)==null?void 0:e.toUpperCase())!=="SUPERADMIN"?r=(o=u.value)!=null&&o.password?g.decryptData((p=u.value)==null?void 0:p.password,(d=w==null?void 0:w.value)==null?void 0:d.privateKey):g.resetPassword:r=(v=u.value)==null?void 0:v.password,r===n?t():t(new Error("输入的密码与原密码不匹配,请重新输入"))},j=(s,a,t)=>{a?t():t(new Error("请输入密码"))},x=(s,a,t)=>{var r;a!==((r=k.value)==null?void 0:r.newtPass)?t(new Error("两次输入的密码不一致")):t()},J=async()=>{var a,t,r,n,l,e,o,p,d,v;const s=await y.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:"系统管理/用户管理"}});if(((a=s==null?void 0:s.data)==null?void 0:a.code)===200&&s.data.result&&((t=s.data.result)==null?void 0:t.length)>0){const c=(o=(e=(l=(n=(r=s.data.result)==null?void 0:r[0])==null?void 0:n.value)==null?void 0:l.pageData)==null?void 0:e.compData)==null?void 0:o.find(i=>(i==null?void 0:i.key)==="header"),C=(p=R.value)==null?void 0:p.map(i=>i==null?void 0:i.prop);m.baseCols=c&&((d=c.contents)==null?void 0:d.map(i=>({...i,isFormColHidden:(C==null?void 0:C.includes(i==null?void 0:i.prop))||(i==null?void 0:i.label)==="操作"})));const A=(v=c.contents)==null?void 0:v.find(i=>(i==null?void 0:i.prop)==="password"),F=[{...A,label:"当前密码",prop:"currentPass",validator:H},{...A,label:"新密码",prop:"newtPass",validator:j},{...A,label:"确认密码",prop:"confirmNewPass",validator:x}];m.otherCols=F,Q(u.value)}},z=s=>{k.value=s},G=async({content:s,buttonName:a})=>{var r,n,l,e,o;let t;a==="确定"&&(t={...u.value,status:((r=u.value)==null?void 0:r.status)??"启用",password:((l=(n=u.value)==null?void 0:n.layer)==null?void 0:l.toUpperCase())==="SUPERADMIN"?s==null?void 0:s.confirmNewPass:g.encryptData(s==null?void 0:s.confirmNewPass,(e=w.value)==null?void 0:e.publicKey)}),a==="保存基本信息"&&(t={...u.value,...s,status:((o=u.value)==null?void 0:o.status)??"启用"}),U.value=!0,await q(t,a)},E=()=>{var r,n;const s={base:[{label:"保存基本信息"}],other:[{label:"重置",background:"#b7b8b8"},{label:"确定"}]},a=sessionStorage.getItem("authority"),t=JSON.parse(a||"");if(Array.isArray(t)){const l=(r=b.value)!=null&&r.startsWith("/")?(n=b.value)==null?void 0:n.substring(1):b.value,e=t!=null&&t.includes(`${l}/基本信息`)?s==null?void 0:s.base:[],o=t!=null&&t.includes(`${l}/修改密码`)?s==null?void 0:s.other:[];return{base:e,other:o}}else return typeof t=="string"&&(t==null?void 0:t.toUpperCase())==="SUPERADMIN"?s:null},Q=s=>{var a,t,r,n,l;K.value=[{value:"基础信息",label:"基础信息",children:[{type:"form",content:{rowContents:(a=m.baseCols)==null?void 0:a.map(e=>({...e,width:2,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,prop:e==null?void 0:e.prop,contents:e==null?void 0:e.options,value:s[e==null?void 0:e.prop]})),formRules:{userName:[{required:!0,message:"输入不能为空",trigger:"blur"}],birthDay:[{required:!0,message:"输入不能为空",trigger:"blur"}],phone:[{required:!0,message:"输入不能为空",trigger:"blur"}]},buttonValue:(t=E())==null?void 0:t.base,isEnableWrap:!1,isButtonRow:!1},value:""}]},{value:"修改密码",label:"修改密码",children:[{type:"form",content:{rowContents:(r=m.otherCols)==null?void 0:r.map(e=>({...e,width:1,type:e==null?void 0:e.formType,name:e==null?void 0:e.prop,contents:e==null?void 0:e.options})),formRules:(n=m.otherCols)==null?void 0:n.reduce((e,o)=>(e[o.prop]=[{required:!0,message:"输入有误",trigger:"change"},{validator:(p,d,v)=>o.validator(p,d,v),trigger:"blur"}],e),{}),buttonValue:(l=E())==null?void 0:l.other,isEnableWrap:!1},value:""}]}]},X=Object.freeze(Object.defineProperty({__proto__:null,avatarLoading:I,beforeSignDestroy:L,changeFormTrigger:z,clickFormButton:W,clickSignButton:O,clickTabButton:G,getUserTableHeadersAsync:J,itemData:$,loading:U,refreshLoginUserInfoAsync:N,rowContents:R,signPadInfo:h,signTypes:_,signatureLoading:T,submitImageAsync:B,tabKey:P,tabsContents:K,tempSignTypes:S,uploadDisabled:M},Symbol.toStringTag,{value:"Module"}));exports.State=X;exports.tabKey=P;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./index-BFKHCjkd.cjs"),d=require("./index-BZST7lPo.cjs"),V=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),B={class:"routerPage-wrapper"},w={class:"role-dialog-header"},N=["title"],b={title:"更多"},D={class:"dialog-footer"},y=e.defineComponent({__name:"index",setup(M){const g=d.useMenuState(),{menus:_,activeMenuPath:C}=d.storeToRefs(g),o=e.reactive({...d.State$1}),{treeRef:k}=d.State$1;e.onMounted(async()=>{await o.getActivePageStructureId(C.value)});const u=i=>i==null?void 0:i.map(t=>{var c,s,h;return t!=null&&t.childMenus&&((c=t==null?void 0:t.childMenus)==null?void 0:c.length)>0?{...t,childMenus:[],children:u(t==null?void 0:t.childMenus)}:{...t,childMenus:[],path:(s=t==null?void 0:t.path)!=null&&s.startsWith("/")?(h=t==null?void 0:t.path)==null?void 0:h.substring(1):t.path}});return e.watch(()=>_.value,i=>{e.nextTick(()=>{const t=d.cloneDeep(i),c=u(t);o.tempSysMenus=o.handleAddSysMenusButtons(c,"系统维护",["查看"]),o.menuData=o.addButtonsToTree(c,o.structureButtons)})},{immediate:!0,deep:!0}),(i,t)=>{const c=e.resolveComponent("el-checkbox"),s=e.resolveComponent("el-checkbox-group"),h=e.resolveComponent("svg-icon"),x=e.resolveComponent("el-popover"),f=e.resolveComponent("el-tree"),p=e.resolveComponent("el-button"),m=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",B,[e.createVNode(v.ssTable,{index:o.structureId,compName:o.compName,itemData:o.pageDataFiltered,changedContent:o.changedRow,onChange:o.handleItemDataChange,onOnButtonClick:o.clickRowButton},null,8,["index","compName","itemData","changedContent","onChange","onOnButtonClick"]),e.createVNode(m,{modelValue:o.authorizeDialog.show,"onUpdate:modelValue":t[0]||(t[0]=a=>o.authorizeDialog.show=a),width:o.authorizeDialog.width,draggable:o.authorizeDialog.draggable,"before-close":o.closeAuthorizeDialog,class:"role-dialog"},{header:e.withCtx(()=>[e.createElementVNode("div",w,e.toDisplayString(o.authorizeDialog.title),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",D,[e.createVNode(p,{id:"themeBorderButton",onClick:o.closeAuthorizeDialog},{default:e.withCtx(()=>t[1]||(t[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(p,{id:"themeButton",onClick:o.clickSubmitAuthority},{default:e.withCtx(()=>t[2]||(t[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),default:e.withCtx(()=>[e.createVNode(f,{class:"role-tree",ref_key:"treeRef",ref:k,data:o.menuData,"expand-on-click-node":!1,"node-key":"path",props:{children:"children",label:"title",path:"path"},"highlight-current":"","default-expand-all":"","check-on-click-leaf":!1,"show-checkbox":"",onCheckChange:o.handleNodeCheckChange,style:{height:"500px","overflow-y":"auto"}},{default:e.withCtx(({node:a,data:n})=>[e.createElementVNode("span",{class:"node-text",title:a==null?void 0:a.label},e.toDisplayString(a==null?void 0:a.label),9,N),e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(0,2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),e.createVNode(x,{title:a==null?void 0:a.label,placement:"right-start"},{reference:e.withCtx(()=>{var l;return[e.createElementVNode("span",b,[e.withDirectives(e.createVNode(h,{name:"treeMore",class:"node-trigger"},null,512),[[e.vShow,((l=n.renderButtons)==null?void 0:l.length)>0]])])]}),default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.checkedButtons,"onUpdate:modelValue":l=>n.checkedButtons=l,onChange:l=>o.handleNodeBtnChange(l,n),class:"node-buttons"},{default:e.withCtx(()=>{var l;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((l=n.renderButtons)==null?void 0:l.slice(2),r=>(e.openBlock(),e.createBlock(c,{key:r.title,label:r.title,value:r.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1032,["label","value"]))),128))]}),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["title"])]),_:1},8,["data","onCheckChange"])]),_:1},8,["modelValue","width","draggable","before-close"])])}}}),S=V._export_sfc(y,[["__scopeId","data-v-78a46dd8"]]);exports.default=S;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as f, computed as S, reactive as P } from "vue";
|
|
2
|
-
import { ax as $, ay as B, au as H, g as
|
|
3
|
-
import { s as
|
|
4
|
-
const A = x(
|
|
2
|
+
import { ax as $, ay as B, au as H, g as R, u as j, E as T } from "./index-B8HqIYd5.js";
|
|
3
|
+
import { s as _, b as x, Q as J, u as z, p as L, c as Q, d as G, R as X } from "./index-CX12hzsx.js";
|
|
4
|
+
const A = x(L), { loginUserInfo: o, cryptoInfo: c } = _(A), Y = z(L), { activeMenuPath: g } = _(Y), Z = f(0), M = S(() => {
|
|
5
5
|
var s, a, t, r, l, n, e, u, p, d, v;
|
|
6
6
|
return [
|
|
7
7
|
{
|
|
@@ -93,7 +93,7 @@ const A = x(R), { loginUserInfo: o, cryptoInfo: c } = M(A), Y = z(R), { activeMe
|
|
|
93
93
|
m.dialogShow = !1;
|
|
94
94
|
}, F = async (s) => {
|
|
95
95
|
var t, r, l, n, e, u, p, d, v;
|
|
96
|
-
const a = await
|
|
96
|
+
const a = await R({
|
|
97
97
|
id: s
|
|
98
98
|
// key: {
|
|
99
99
|
// systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -112,7 +112,7 @@ const A = x(R), { loginUserInfo: o, cryptoInfo: c } = M(A), Y = z(R), { activeMe
|
|
|
112
112
|
}
|
|
113
113
|
}, V = async (s, a) => {
|
|
114
114
|
var r, l, n;
|
|
115
|
-
const t =
|
|
115
|
+
const t = Q(s);
|
|
116
116
|
t == null || delete t.id;
|
|
117
117
|
try {
|
|
118
118
|
const e = await j({
|
|
@@ -147,7 +147,7 @@ const A = x(R), { loginUserInfo: o, cryptoInfo: c } = M(A), Y = z(R), { activeMe
|
|
|
147
147
|
var n, e, u, p, d, v;
|
|
148
148
|
let r;
|
|
149
149
|
const l = a;
|
|
150
|
-
((e = (n = o.value) == null ? void 0 : n.layer) == null ? void 0 : e.toUpperCase()) !== "SUPERADMIN" ? r = (u = o.value) != null && u.password ?
|
|
150
|
+
((e = (n = o.value) == null ? void 0 : n.layer) == null ? void 0 : e.toUpperCase()) !== "SUPERADMIN" ? r = (u = o.value) != null && u.password ? G((p = o.value) == null ? void 0 : p.password, (d = c == null ? void 0 : c.value) == null ? void 0 : d.privateKey) : X : r = (v = o.value) == null ? void 0 : v.password, r === l ? t() : t(new Error("输入的密码与原密码不匹配,请重新输入"));
|
|
151
151
|
}, le = (s, a, t) => {
|
|
152
152
|
a ? t() : t(new Error("请输入密码"));
|
|
153
153
|
}, ne = (s, a, t) => {
|
|
@@ -155,7 +155,7 @@ const A = x(R), { loginUserInfo: o, cryptoInfo: c } = M(A), Y = z(R), { activeMe
|
|
|
155
155
|
a !== ((r = q.value) == null ? void 0 : r.newtPass) ? t(new Error("两次输入的密码不一致")) : t();
|
|
156
156
|
}, oe = async () => {
|
|
157
157
|
var a, t, r, l, n, e, u, p, d, v;
|
|
158
|
-
const s = await
|
|
158
|
+
const s = await R({
|
|
159
159
|
key: {
|
|
160
160
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
161
161
|
type: "structure",
|
|
@@ -164,7 +164,7 @@ const A = x(R), { loginUserInfo: o, cryptoInfo: c } = M(A), Y = z(R), { activeMe
|
|
|
164
164
|
}
|
|
165
165
|
});
|
|
166
166
|
if (((a = s == null ? void 0 : s.data) == null ? void 0 : a.code) === 200 && s.data.result && ((t = s.data.result) == null ? void 0 : t.length) > 0) {
|
|
167
|
-
const y = (u = (e = (n = (l = (r = s.data.result) == null ? void 0 : r[0]) == null ? void 0 : l.value) == null ? void 0 : n.pageData) == null ? void 0 : e.compData) == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "header"), w = (p =
|
|
167
|
+
const y = (u = (e = (n = (l = (r = s.data.result) == null ? void 0 : r[0]) == null ? void 0 : l.value) == null ? void 0 : n.pageData) == null ? void 0 : e.compData) == null ? void 0 : u.find((i) => (i == null ? void 0 : i.key) === "header"), w = (p = M.value) == null ? void 0 : p.map((i) => i == null ? void 0 : i.prop);
|
|
168
168
|
b.baseCols = y && ((d = y.contents) == null ? void 0 : d.map((i) => ({
|
|
169
169
|
...i,
|
|
170
170
|
isFormColHidden: (w == null ? void 0 : w.includes(i == null ? void 0 : i.prop)) || (i == null ? void 0 : i.label) === "操作"
|
|
@@ -310,7 +310,7 @@ const A = x(R), { loginUserInfo: o, cryptoInfo: c } = M(A), Y = z(R), { activeMe
|
|
|
310
310
|
itemData: ae,
|
|
311
311
|
loading: D,
|
|
312
312
|
refreshLoginUserInfoAsync: F,
|
|
313
|
-
rowContents:
|
|
313
|
+
rowContents: M,
|
|
314
314
|
signPadInfo: m,
|
|
315
315
|
signTypes: k,
|
|
316
316
|
signatureLoading: I,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),c=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),c=require("./index-BZST7lPo.cjs"),S=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),I=n.defineComponent({__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","setLoginInfo"],setup(o,{emit:f}){const d=c.useLoginState(c.pinia),{loginUserInfo:m}=c.storeToRefs(d),e=o,s=f,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=>{d.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.systemInfo,t=>{d.setSystemInfo(t)},{immediate:!0});const r=()=>{s("buildContent")},w=()=>{s("setLoginInfo")},g=t=>{s("openThreeBuild",t)},h=t=>{s("threeData",t)},a=()=>{var l;const t=e!=null&&e.windowConfig?(l=e==null?void 0:e.windowConfig)==null?void 0:l.width:window.innerWidth,i=1920,u=16,C=t/i,v=u*C;document.documentElement.style.fontSize=`${v}px`};return n.onMounted(()=>{a(),window.addEventListener("resize",a)}),n.onUnmounted(()=>{window.removeEventListener("resize",a)}),(t,i)=>{const u=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(u,{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:r,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(I,[["__scopeId","data-v-c30cedf1"]]);exports.default=B;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-BFKHCjkd.cjs"),n=require("./index-Cw_ZOIg_.cjs"),u=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),r=e.ref([]),i=e.computed(()=>[{key:"extraButton",contents:[{label:"清空",background:"#f56c6c",color:"#ffffff"}]},{key:"rowButton",contents:[]},{key:"header",contents:[{label:"模块名称",prop:"module",filterable:!0},{label:"操作类型",prop:"type",filterable:!0},{label:"账号",prop:"account",filterable:!0},{label:"姓名",prop:"userName",filterable:!0},{label:"时间",prop:"timeStamp",sortable:!0}]},{key:"tableContents",contents:r.value}]),p=Object.freeze(Object.defineProperty({__proto__:null,pageData:i,tableData:r},Symbol.toStringTag,{value:"Module"})),b={class:"log-wrap"},d=e.defineComponent({__name:"index",setup(_){const t=e.reactive({...p});e.onMounted(async()=>{t.tableData=await n.getLogTableDataAsync("operate")});const c=l=>{var a;n.clickButton(l,(a=t.tableData)==null?void 0:a.map(o=>o.id),o=>{o&&(t.tableData=[])})};return(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createVNode(s.ssTable,{itemData:t.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:c},null,8,["itemData"])]))}}),f=u._export_sfc(d,[["__scopeId","data-v-3d3b471d"]]);exports.default=f;
|
|
@@ -1,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-DYSziVz4.js";
|
|
3
|
+
import { s as w, a as L } from "./index-CnKvPKWE.js";
|
|
4
4
|
import "./index-BHtNKL1L.js";
|
|
5
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
6
|
-
import { f as E } from "./index-
|
|
7
|
-
import { b as N, s as U } from "./index-
|
|
5
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DCz-I5jm.js";
|
|
6
|
+
import { f as E } from "./index-BFMsMcD8.js";
|
|
7
|
+
import { b as N, s as U } from "./index-CX12hzsx.js";
|
|
8
8
|
import "./index-B8HqIYd5.js";
|
|
9
9
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
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({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, computed as S, watch as c, onMounted as I, onUnmounted as B, resolveComponent as D, createElementBlock as K, openBlock as L, createVNode as j } from "vue";
|
|
2
|
-
import { b as x, p as z, s as _ } from "./index-
|
|
2
|
+
import { b as x, p as z, s as _ } from "./index-CX12hzsx.js";
|
|
3
3
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const E = /* @__PURE__ */ v({
|
|
5
5
|
__name: "index",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as O, reactive as I, watch as X, resolveComponent as Y, createBlock as P, openBlock as s, normalizeStyle as U, withCtx as S, renderSlot as B, createElementBlock as a, createCommentVNode as r, withModifiers as u, createElementVNode as j, toDisplayString as q } from "vue";
|
|
2
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
2
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DCz-I5jm.js";
|
|
3
3
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const F = { class: "dialog-title" }, G = {
|
|
5
5
|
__name: "index",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
|
|
2
|
-
import { s as m } from "./index-
|
|
3
|
-
import { g as d, c as _ } from "./index-
|
|
2
|
+
import { s as m } from "./index-B_4AbtRg.js";
|
|
3
|
+
import { g as d, c as _ } from "./index-Wkp3bFzx.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = n([]), g = c(() => [
|
|
6
6
|
{
|
|
@@ -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-BZST7lPo.cjs"),_=require("./index-BFKHCjkd.cjs"),r=require("./index-DHdrBDP4.cjs"),C=require("./index-C5pQXH0_.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=u.useMenuState(u.pinia),{menus:c}=u.storeToRefs(m),p=l.ref([]),f=async()=>{var i,t,n,a;const e=await C.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(_.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
|