ss-component-new 1.3.484 → 1.3.486
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-BV8-OAj_.cjs → MTLLoader-DqJ6tn_v.cjs} +1 -1
- package/dist/{MTLLoader-DkJ_Vbuo.js → MTLLoader-iypfJQQX.js} +1 -1
- package/dist/{OrbitControls-F2w-rZQ0.cjs → OrbitControls-C_zQw6pc.cjs} +1 -1
- package/dist/{OrbitControls-C4OY_w4-.js → OrbitControls-DZsAZaiP.js} +1 -1
- package/dist/{URDFLoader-DSfk-yVN.cjs → URDFLoader-CnIz461N.cjs} +1 -1
- package/dist/{URDFLoader-DRJCbLnj.js → URDFLoader-cvYYeAzt.js} +2 -2
- package/dist/{animationData-BcPlDaUu.cjs → animationData-DrgkOf1t.cjs} +1 -1
- package/dist/{animationData-ByJHwdT4.js → animationData-FLROBONw.js} +2 -2
- package/dist/{array-Dbcqmgrb.cjs → array-D7vKkUiS.cjs} +1 -1
- package/dist/{array-h4qEnIyu.js → array-YfT8HtYp.js} +2 -2
- package/dist/{iconfont-Cle12c12.cjs → iconfont-CohEwWgL.cjs} +1 -1
- package/dist/{iconfont-BrZ_AJm3.js → iconfont-DkP2jhn_.js} +2 -2
- package/dist/{index-C0aGskok.cjs → index-0iU2PrIE.cjs} +1 -1
- package/dist/{index-Ym7rO4te.cjs → index-3QtdfPcw.cjs} +1 -1
- package/dist/{index-DtH2bOJg.cjs → index-8A7wwb4_.cjs} +1 -1
- package/dist/{index-Dp1GOwvG.cjs → index-B0Bo4XRV.cjs} +1 -1
- package/dist/{index-CIOYdKNU.cjs → index-B3RcQMW0.cjs} +1 -1
- package/dist/{index-CoOPTdE7.js → index-B9GxOg93.js} +1 -1
- package/dist/{index-BE1KRyCh.js → index-BAdW2Gki.js} +1 -1
- package/dist/{index-Ced9SuW_.js → index-BDE-eWpD.js} +1 -1
- package/dist/{index-BSONXvUz.js → index-BDGxsSv8.js} +1 -1
- package/dist/{index-GcTTwJD3.js → index-BJuY7Xp6.js} +3 -3
- package/dist/{index-D7nG8ijh.cjs → index-BRUKWzJq.cjs} +1 -1
- package/dist/{index-BAIOcqEi.js → index-BTjxmo0C.js} +3 -3
- package/dist/{index-CtQZ4BEh.js → index-Bh_7e25m.js} +4 -4
- package/dist/{index-BnHYFC_z.js → index-BpLmA87g.js} +4 -4
- package/dist/{index-B7964G2F.cjs → index-BuZHI6xx.cjs} +1 -1
- package/dist/{index-BcJp0Wwg.js → index-BzQ__2O5.js} +4041 -4020
- package/dist/{index-C70jrphE.js → index-C8ORIDjr.js} +1 -1
- package/dist/{index-CrbJ9-F1.js → index-CI4RP047.js} +1 -1
- package/dist/{index-BLCDNmVk.cjs → index-CNQWedk2.cjs} +1 -1
- package/dist/{index-C4miPF2C.cjs → index-CPTra5LJ.cjs} +1 -1
- package/dist/{index-TPx90M8-.cjs → index-CRG0HVGR.cjs} +1 -1
- package/dist/{index-Bn_H21fe.cjs → index-CWEUTGiD.cjs} +1 -1
- package/dist/{index-DxBijAAq.js → index-CXbGxJwr.js} +6 -6
- package/dist/{index-DW5H5VeZ.cjs → index-C_rFrDsg.cjs} +1 -1
- package/dist/{index-DLX-YmwS.js → index-Cc_YhxHI.js} +2 -2
- package/dist/{index-BAtbAGKa.js → index-D0txY_EP.js} +1 -1
- package/dist/{index-CyoSH1-L.cjs → index-DDbnKkeQ.cjs} +1 -1
- package/dist/{index-Bug949WP.cjs → index-DSssBg27.cjs} +1 -1
- package/dist/{index-DXiuTpL6.cjs → index-DkTHtURJ.cjs} +1 -1
- package/dist/{index-qnPvvEq6.js → index-DkzogwXS.js} +1 -1
- package/dist/{index-BXZZXCDb.js → index-DuL936Vd.js} +1 -1
- package/dist/{index-Bop5qNmR.cjs → index-Eiby8667.cjs} +1 -1
- package/dist/{index-BgobD9nx.cjs → index-HwtzuEZw.cjs} +8 -8
- package/dist/{index-xMrC7ZGI.cjs → index-MdfnXqH_.cjs} +1 -1
- package/dist/{index-T0lYm3bF.cjs → index-RUo1KNEz.cjs} +1 -1
- package/dist/{index-CZbXO8-G.js → index-jdKxVuKN.js} +13 -13
- package/dist/{index-DiMUxmRm.js → index-pmOKLvjq.js} +5 -5
- package/dist/{index-qqD26-uB.js → index-tXoZCYZ5.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CxgD2Ymu.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-DFyt9sBY.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-Byr5bNn8.cjs → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-J7Knzs4U.cjs} +1 -1
- package/dist/{main-DEVIf_5W.js → main-C-9_2SK9.js} +3 -3
- package/dist/{main-CRj1Myj7.cjs → main-TDiwHB4H.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-9lLjmD8r.cjs → threeModel-B3IBUdu5.cjs} +1 -1
- package/dist/{threeModel-DhRNnc-t.js → threeModel-C1SnRYoH.js} +3 -3
- package/dist/{threePreview-tq95fMu4.cjs → threePreview-C8lrHQgH.cjs} +1 -1
- package/dist/{threePreview-BX4TE3wq.js → threePreview-Chr1Hput.js} +3 -3
- package/dist/{threeSceneView-D1YC0bMF.js → threeSceneView-DX2QQrhk.js} +10 -10
- package/dist/{threeSceneView-DsVe70zj.cjs → threeSceneView-DwSaBTsB.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-BSr4L-zS.js → threeSceneViewForCPMPIP-BDcp9xWA.js} +7 -7
- package/dist/{threeSceneViewForCPMPIP-DNGsVlMQ.cjs → threeSceneViewForCPMPIP-BGucGMHT.cjs} +1 -1
- package/dist/{threeTrackPathView-BCPPOYou.cjs → threeTrackPathView-CWhbRVRP.cjs} +1 -1
- package/dist/{threeTrackPathView-CvMBrwin.js → threeTrackPathView-Mww4RxaP.js} +3 -3
- package/dist/{threeViewerHost-Y8XwsHTf.cjs → threeViewerHost-DSr8-IQ3.cjs} +1 -1
- package/dist/{threeViewerHost-yY4eIQy3.js → threeViewerHost-H65dmTmF.js} +2 -2
- package/dist/{urdfTree-BI4GYRDL.js → urdfTree-97xm95wg.js} +1 -1
- package/dist/{urdfTree-Bys_2Khv.cjs → urdfTree-DyyHQ8gM.cjs} +1 -1
- package/dist/{workpieceTreePanel-C7Ktiu4o.js → workpieceTreePanel-CmJrmQGj.js} +4 -4
- package/dist/{workpieceTreePanel-o9WH_Qrq.cjs → workpieceTreePanel-mOBEzvC-.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-CMUsYepp.cjs"),_=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-CMUsYepp.cjs"),_=require("./index-HwtzuEZw.cjs"),r=require("./index-B1FeUhQ3.cjs"),C=require("./index-DmwxzDGW.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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./request-Dl8yi2iS.cjs"),$=require("./index-B7964G2F.cjs"),u=require("./index-CMUsYepp.cjs"),F=require("./index-DXiuTpL6.cjs"),le=require("./index.vue_vue_type_script_setup_true_lang-BKTJR2th.cjs"),Ee=require("./index-B-pflqKE.cjs"),Ie=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Pe=u.useLoginState(u.pinia),{systemUrl:V}=u.storeToRefs(Pe);let P=V.value===""||!V.value?"http://222.92.178.198:63002":V.value;e.watch(()=>V.value,()=>{P=V.value===""||!V.value?"http://222.92.178.198:63002":V.value},{deep:!0,immediate:!0});function Se(l){return C.service({url:`${P}/platform/getdata_post`,method:"post",data:l})}function De(l){return C.service({url:`${P}/platform/createdata_post`,method:"post",data:l})}function Te(l){return C.service({url:`${P}/platform/updatedata_post`,method:"post",data:l})}function Le(l){return C.service({url:`${P}/platform/deletedata_post`,method:"post",data:l})}const Be=[{label:"编辑",value:"edit"},{label:"删除",value:"delete"}],me="post",m={ENABLE:{value:"enable",label:"启用",tag:"primary"},DISABLED:{value:"disabled",label:"禁用",tag:"info"}},ke=()=>{const{platId:l,userId:r,isSuperAdmin:S}=u.useUserInfo(),R=t=>{const o=t.toUpperCase(),n=m==null?void 0:m[o];return(n==null?void 0:n.label)||t},D=t=>{const o=t.toUpperCase(),n=m==null?void 0:m[o];return(n==null?void 0:n.tag)||"info"},h=e.ref({}),N=e.computed(()=>{var o;return S.value?!0:((o=h.value)==null?void 0:o.status)===F.featureStatusConstants.EDITABLE.value}),M=async()=>{var y,U;const o={pageName:"系统管理/职位管理",platId:l.value,userId:r.value},n=await u.getPageDataApi(o);return(U=(y=n==null?void 0:n.data)==null?void 0:y.result)==null?void 0:U[0]},G=async()=>{if(!S.value)return h.value=await M(),h},T=()=>({name:""}),f=e.ref(T()),O=()=>{f.value=T()},x=()=>({prop:"sort",order:"ascending"}),w=e.ref(x()),L=t=>{w.value=t},Q=()=>({pageNum:1,pageSize:10,total:0,pageSizes:[5,10,20,50,100]}),g=e.ref(Q()),j=t=>{g.value.pageNum=t},H=t=>{g.value.pageSize=t},J=()=>({platId:l.value,pageNum:g.value.pageNum,pageSize:g.value.pageSize,filter:{...f.value},orderBy:{prop:w.value.prop,order:w.value.order}}),K=async t=>{var n;const o=await Se(t);return(n=o==null?void 0:o.data)==null?void 0:n.result},B=async t=>{const o=J(),n=await K(o),{total:y}=n||{};return g.value.total=y,n||{}},W=t=>{const o=u.formatterTimeStr(Date.now()),n=u.cloneDeep(t);return n.update_time=o,n},_=t=>{const o=u.formatterTimeStr(Date.now());let n={name:"",code:"",sort:1,status:m.ENABLE.value,create_time:o,update_time:o};if(t){const y=W(t);n={...n,...y}}return n},k=t=>{const o=[t];return{platId:l.value,changePostData:o}},X=async t=>{delete t.post_id;const o=k(t);await De(o)},Y=async t=>{await X(t)},Z=async t=>{const o=k(t);await Te(o)},v=async t=>{await Z(t)},ee=async t=>{const{post_id:o}=t,n={platId:l.value,post_id:[o]};await Le(n)},q=async t=>{await u.ElMessageBox.confirm("是否确认要删除","",{showClose:!1,confirmButtonText:"确认",cancelButtonText:"取消",type:"warning",modalClass:"delete-position-message-modal",confirmButtonClass:"delete-position-confirm"}),await ee(t)},te=async t=>{var n;const o=await F.importData(t);return(n=o==null?void 0:o.data)==null?void 0:n.result},i=async t=>{const o=new FormData;return o.set("platId",l.value),o.set("file",t),o.set("tableType",me),await te(o)},b=async t=>await F.exportData(t),oe=async()=>{const t={platId:l.value,tableType:me,filter:f.value,orderBy:w.value},o=await b(t);return F.initDownloadFileByResponse(o),o},z=[["名称","编码","状态","排序"]];return{sortInfo:w,setSortInfo:L,queryInfo:f,resetQuery:O,pageInfo:g,setPageNum:j,setPageSize:H,hasPositionEditAuth:N,initPositionItem:_,initPositionConfig:G,initGetByPage:B,initCreate:Y,initUpdate:v,initDelete:q,getStatusLabelByValue:R,getStatusTagByValue:D,initImport:i,initExport:oe,exportTemplate:async()=>{const t=$.utils.aoa_to_sheet(z),o=$.utils.book_new();$.utils.book_append_sheet(o,t,"职位"),$.writeFileSync(o,"职位模板.xlsx")}}},qe={class:"position-management"},ze={class:"header"},Ue={class:"header-left"},Ae={class:"query-wrapper"},$e={class:"header-right"},Fe={class:"body"},Re={class:"position-table-wrapper"},Me={class:"table-wrapper"},Ge={class:"operate-list"},Oe=["onClick"],Qe={class:"pagination-wrapper"},je={class:"position-management-wrapper"},He={class:"position-management-body"},Je={class:"position-form-wrapper"},Ke={class:"edit-footer"},We={class:"footer-right"},Xe=e.defineComponent({__name:"index",setup(l){const r=u.useMenuState(u.pinia),{sortInfo:S,setSortInfo:R,queryInfo:D,resetQuery:h,pageInfo:N,setPageNum:M,setPageSize:G,initGetByPage:T,hasPositionEditAuth:f,initPositionConfig:O,initPositionItem:x,initCreate:w,initUpdate:L,initDelete:Q,getStatusLabelByValue:g,getStatusTagByValue:j,initImport:H,initExport:J,exportTemplate:K}=ke(),B=e.ref([]),W=async()=>{const s=await T(),{postData:a=[]}=s;return a},_=async()=>{B.value=await W()},k=s=>{M(s),r.setImportLoading(!0),_().finally(()=>{r.setImportLoading(!1)})},X=s=>{G(s),r.setImportLoading(!0),_().finally(()=>{r.setImportLoading(!1)})},Y=s=>{const{prop:a,order:d}=s;R({prop:a,order:d}),_()},Z=async()=>{h(),r.setImportLoading(!0),await _().finally(()=>{r.setImportLoading(!1)})},v=async()=>{await O(),await _()};e.onMounted(async()=>{r.setImportLoading(!0),await v().finally(()=>{r.setImportLoading(!1)})});const ee=async(s,a)=>{if(!f.value)return;const{value:d}=s,p=a.row;if(d==="edit"){ae(p);return}if(d==="delete"){r.setImportLoading(!0),await y(p).finally(()=>{r.setImportLoading(!1)});return}},q=e.ref(),te=e.reactive({name:[{required:!0,message:"请输入职位名称",trigger:"blur"}],code:[{required:!0,message:"请选择职位编码",trigger:"blur"}],sort:[{required:!0,message:"请输入排序",trigger:"blur"}]}),i=e.ref(x());e.ref([]);const b=e.ref(!1),oe=()=>{b.value=!0},z=()=>{b.value=!1},ae=async s=>{f.value&&(i.value=x(s),oe())},t=()=>{i.value=x(),z()},o=async()=>{await w(i.value),await v()},n=async()=>{await L(i.value),await v()},y=async s=>{await Q(s),await v()},U=async()=>{var a,d;await((d=(a=q.value)==null?void 0:a.validate)==null?void 0:d.call(a));const{post_id:s}=i.value;r.setImportLoading(!0),s?await n().finally(()=>{r.setImportLoading(!1)}):await o().finally(()=>{r.setImportLoading(!1)}),t()},fe=async s=>{if(!f.value)return;const{status:a}=s;m.ENABLE.value===a?s.status=m.DISABLED.value:s.status=m.ENABLE.value,await L(s),await v()},ge=async()=>{await _e()},_e=async()=>{const s=document.createElement("input");s.type="file",s.accept=".xlsx",s.onchange=async a=>{var E;const p=(E=a.target.files)==null?void 0:E[0];if(p)try{r.setImportLoading(!0),await H(p),await v(),r.setImportLoading(!1)}catch{r.setImportLoading(!1)}},s.click()},ve=async()=>{r.setImportLoading(!0),await J().finally(()=>{r.setImportLoading(!1)})},ye=async()=>{K()};return(s,a)=>{var ce,de,ue,pe;const d=e.resolveComponent("el-input"),p=e.resolveComponent("el-button"),E=e.resolveComponent("el-icon"),ne=e.resolveComponent("el-dropdown-item"),we=e.resolveComponent("el-dropdown-menu"),Ve=e.resolveComponent("el-dropdown"),I=e.resolveComponent("el-table-column"),Ne=e.resolveComponent("el-tag"),Ce=e.resolveComponent("el-table"),he=e.resolveComponent("el-pagination"),se=e.resolveComponent("el-form-item"),re=e.resolveComponent("el-col"),ie=e.resolveComponent("el-row"),xe=e.resolveComponent("el-input-number"),be=e.resolveComponent("el-form");return e.openBlock(),e.createElementBlock("div",qe,[e.createElementVNode("div",ze,[e.createElementVNode("div",Ue,[e.createElementVNode("div",Ae,[e.createVNode(d,{modelValue:e.unref(D).name,"onUpdate:modelValue":a[0]||(a[0]=c=>e.unref(D).name=c),style:{width:"240px"},placeholder:"请输入名称"},null,8,["modelValue"]),e.createVNode(p,{type:"primary",onClick:_},{default:e.withCtx(()=>a[5]||(a[5]=[e.createTextVNode("查询")])),_:1,__:[5]}),e.createVNode(p,{type:"primary",plain:"",onClick:Z},{default:e.withCtx(()=>a[6]||(a[6]=[e.createTextVNode("重置")])),_:1,__:[6]})])]),e.createElementVNode("div",$e,[e.createVNode(p,{type:"primary",onClick:ge},{default:e.withCtx(()=>[a[7]||(a[7]=e.createTextVNode(" 导入 ")),e.createVNode(E,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(e.unref(C.upload_default))]),_:1})]),_:1,__:[7]}),e.createVNode(Ve,null,{dropdown:e.withCtx(()=>[e.createVNode(we,null,{default:e.withCtx(()=>[e.createVNode(ne,{onClick:ye},{default:e.withCtx(()=>a[9]||(a[9]=[e.createTextVNode("导出模板")])),_:1,__:[9]}),e.createVNode(ne,{onClick:ve},{default:e.withCtx(()=>a[10]||(a[10]=[e.createTextVNode("导出数据")])),_:1,__:[10]})]),_:1})]),default:e.withCtx(()=>[e.createVNode(p,{type:"primary"},{default:e.withCtx(()=>[a[8]||(a[8]=e.createTextVNode(" 导出 ")),e.createVNode(E,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(e.unref(C.arrow_down_default))]),_:1})]),_:1,__:[8]})]),_:1}),e.createVNode(le._sfc_main,{emptyColor:!0,onClickTrigger:a[1]||(a[1]=c=>ae()),modelValue:"创建职位",buttonType:"primary"})])]),e.createElementVNode("div",Fe,[e.createElementVNode("div",Re,[e.createElementVNode("div",Me,[e.createVNode(Ce,{class:"department-table",data:B.value,"empty-text":"","default-sort":e.unref(S),onSortChange:Y},{default:e.withCtx(()=>[e.createVNode(I,{prop:"name",label:"名称",align:"center"}),e.createVNode(I,{prop:"code",label:"编码",align:"center"}),e.createVNode(I,{prop:"status",label:"状态",align:"center"},{default:e.withCtx(c=>[e.createVNode(Ne,{class:"status-tag",type:e.unref(j)(c.row.status),title:"点击切换",onClick:A=>fe(c.row)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(g)(c.row.status)),1)]),_:2},1032,["type","onClick"])]),_:1}),e.createVNode(I,{prop:"sort",label:"排序",align:"center",sortable:"custom"}),e.createVNode(I,{label:"操作",align:"center"},{default:e.withCtx(c=>[e.createElementVNode("div",Ge,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(Be),A=>(e.openBlock(),e.createElementBlock("div",{class:"operate-item",key:A.value,onClick:e.withModifiers(Ze=>ee(A,c),["stop"])},e.toDisplayString(A.label),9,Oe))),128))])]),_:1})]),_:1},8,["data","default-sort"])]),e.createElementVNode("div",Qe,[a[11]||(a[11]=e.createElementVNode("div",null,null,-1)),e.createVNode(he,{onSizeChange:X,onCurrentChange:k,"current-page":(ce=e.unref(N))==null?void 0:ce.pageNum,"page-sizes":(de=e.unref(N))==null?void 0:de.pageSizes,"page-size":((ue=e.unref(N))==null?void 0:ue.pageSize)??10,layout:"total, sizes, prev, pager, next, jumper",total:((pe=e.unref(N))==null?void 0:pe.total)??0},null,8,["current-page","page-sizes","page-size","total"])])])]),a[14]||(a[14]=e.createElementVNode("div",{class:"footer"},[e.createElementVNode("div",{class:"footer-left"}),e.createElementVNode("div",{class:"footer-right"})],-1)),e.createVNode(Ee.ssDialog,{class:"position-edit-dialog",visible:b.value,title:"职位信息",onBeforeDestroy:z,showClose:!0,closeOnClickModal:!1,closeOnPressEscape:!1,modalClass:"position-edit-modal",alignCenter:!0,appendToBody:!1},{default:e.withCtx(()=>[e.createElementVNode("div",je,[a[12]||(a[12]=e.createElementVNode("div",{class:"position-management-header"},[e.createElementVNode("div",{class:"header-left"}),e.createElementVNode("div",{class:"header-right"})],-1)),e.createElementVNode("div",He,[e.createElementVNode("div",Je,[e.createVNode(be,{class:"position-edit-form",ref_key:"positionFormRef",ref:q,model:i.value,rules:te},{default:e.withCtx(()=>[e.createVNode(ie,{gutter:20},{default:e.withCtx(()=>[e.createVNode(re,{span:12},{default:e.withCtx(()=>[e.createVNode(se,{prop:"name",label:"职位名称","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:i.value.name,"onUpdate:modelValue":a[2]||(a[2]=c=>i.value.name=c),"aria-label":"职位名称",placeholder:"职位名称"},null,8,["modelValue"])]),_:1})]),_:1}),e.createVNode(re,{span:12},{default:e.withCtx(()=>[e.createVNode(se,{prop:"code",label:"职位编码","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:i.value.code,"onUpdate:modelValue":a[3]||(a[3]=c=>i.value.code=c),"aria-label":"职位编码",placeholder:"职位编码"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e.createVNode(ie,{gutter:20},{default:e.withCtx(()=>[e.createVNode(re,{span:12},{default:e.withCtx(()=>[e.createVNode(se,{prop:"sort",label:"排序","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(xe,{modelValue:i.value.sort,"onUpdate:modelValue":a[4]||(a[4]=c=>i.value.sort=c),"aria-label":"排序",placeholder:"排序",min:"1"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])])])])]),footer:e.withCtx(()=>[e.createElementVNode("div",Ke,[a[13]||(a[13]=e.createElementVNode("div",{class:"footer-left"},null,-1)),e.createElementVNode("div",We,[e.createVNode(le._sfc_main,{class:"cancel",emptyColor:!0,onClickTrigger:t,modelValue:"取消",buttonType:"info"}),e.createVNode(le._sfc_main,{class:"confirm",emptyColor:!0,onClickTrigger:U,modelValue:"确定",buttonType:"primary"})])])]),_:1},8,["visible"])])}}}),Ye=Ie._export_sfc(Xe,[["__scopeId","data-v-c988d077"]]);exports.default=Ye;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./request-Dl8yi2iS.cjs"),$=require("./index-BuZHI6xx.cjs"),u=require("./index-CMUsYepp.cjs"),F=require("./index-DkTHtURJ.cjs"),le=require("./index.vue_vue_type_script_setup_true_lang-BKTJR2th.cjs"),Ee=require("./index-B-pflqKE.cjs"),Ie=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Pe=u.useLoginState(u.pinia),{systemUrl:V}=u.storeToRefs(Pe);let P=V.value===""||!V.value?"http://222.92.178.198:63002":V.value;e.watch(()=>V.value,()=>{P=V.value===""||!V.value?"http://222.92.178.198:63002":V.value},{deep:!0,immediate:!0});function Se(l){return C.service({url:`${P}/platform/getdata_post`,method:"post",data:l})}function De(l){return C.service({url:`${P}/platform/createdata_post`,method:"post",data:l})}function Te(l){return C.service({url:`${P}/platform/updatedata_post`,method:"post",data:l})}function Le(l){return C.service({url:`${P}/platform/deletedata_post`,method:"post",data:l})}const Be=[{label:"编辑",value:"edit"},{label:"删除",value:"delete"}],me="post",m={ENABLE:{value:"enable",label:"启用",tag:"primary"},DISABLED:{value:"disabled",label:"禁用",tag:"info"}},ke=()=>{const{platId:l,userId:r,isSuperAdmin:S}=u.useUserInfo(),R=t=>{const o=t.toUpperCase(),n=m==null?void 0:m[o];return(n==null?void 0:n.label)||t},D=t=>{const o=t.toUpperCase(),n=m==null?void 0:m[o];return(n==null?void 0:n.tag)||"info"},h=e.ref({}),N=e.computed(()=>{var o;return S.value?!0:((o=h.value)==null?void 0:o.status)===F.featureStatusConstants.EDITABLE.value}),M=async()=>{var y,U;const o={pageName:"系统管理/职位管理",platId:l.value,userId:r.value},n=await u.getPageDataApi(o);return(U=(y=n==null?void 0:n.data)==null?void 0:y.result)==null?void 0:U[0]},G=async()=>{if(!S.value)return h.value=await M(),h},T=()=>({name:""}),f=e.ref(T()),O=()=>{f.value=T()},x=()=>({prop:"sort",order:"ascending"}),w=e.ref(x()),L=t=>{w.value=t},Q=()=>({pageNum:1,pageSize:10,total:0,pageSizes:[5,10,20,50,100]}),g=e.ref(Q()),j=t=>{g.value.pageNum=t},H=t=>{g.value.pageSize=t},J=()=>({platId:l.value,pageNum:g.value.pageNum,pageSize:g.value.pageSize,filter:{...f.value},orderBy:{prop:w.value.prop,order:w.value.order}}),K=async t=>{var n;const o=await Se(t);return(n=o==null?void 0:o.data)==null?void 0:n.result},B=async t=>{const o=J(),n=await K(o),{total:y}=n||{};return g.value.total=y,n||{}},W=t=>{const o=u.formatterTimeStr(Date.now()),n=u.cloneDeep(t);return n.update_time=o,n},_=t=>{const o=u.formatterTimeStr(Date.now());let n={name:"",code:"",sort:1,status:m.ENABLE.value,create_time:o,update_time:o};if(t){const y=W(t);n={...n,...y}}return n},k=t=>{const o=[t];return{platId:l.value,changePostData:o}},X=async t=>{delete t.post_id;const o=k(t);await De(o)},Y=async t=>{await X(t)},Z=async t=>{const o=k(t);await Te(o)},v=async t=>{await Z(t)},ee=async t=>{const{post_id:o}=t,n={platId:l.value,post_id:[o]};await Le(n)},q=async t=>{await u.ElMessageBox.confirm("是否确认要删除","",{showClose:!1,confirmButtonText:"确认",cancelButtonText:"取消",type:"warning",modalClass:"delete-position-message-modal",confirmButtonClass:"delete-position-confirm"}),await ee(t)},te=async t=>{var n;const o=await F.importData(t);return(n=o==null?void 0:o.data)==null?void 0:n.result},i=async t=>{const o=new FormData;return o.set("platId",l.value),o.set("file",t),o.set("tableType",me),await te(o)},b=async t=>await F.exportData(t),oe=async()=>{const t={platId:l.value,tableType:me,filter:f.value,orderBy:w.value},o=await b(t);return F.initDownloadFileByResponse(o),o},z=[["名称","编码","状态","排序"]];return{sortInfo:w,setSortInfo:L,queryInfo:f,resetQuery:O,pageInfo:g,setPageNum:j,setPageSize:H,hasPositionEditAuth:N,initPositionItem:_,initPositionConfig:G,initGetByPage:B,initCreate:Y,initUpdate:v,initDelete:q,getStatusLabelByValue:R,getStatusTagByValue:D,initImport:i,initExport:oe,exportTemplate:async()=>{const t=$.utils.aoa_to_sheet(z),o=$.utils.book_new();$.utils.book_append_sheet(o,t,"职位"),$.writeFileSync(o,"职位模板.xlsx")}}},qe={class:"position-management"},ze={class:"header"},Ue={class:"header-left"},Ae={class:"query-wrapper"},$e={class:"header-right"},Fe={class:"body"},Re={class:"position-table-wrapper"},Me={class:"table-wrapper"},Ge={class:"operate-list"},Oe=["onClick"],Qe={class:"pagination-wrapper"},je={class:"position-management-wrapper"},He={class:"position-management-body"},Je={class:"position-form-wrapper"},Ke={class:"edit-footer"},We={class:"footer-right"},Xe=e.defineComponent({__name:"index",setup(l){const r=u.useMenuState(u.pinia),{sortInfo:S,setSortInfo:R,queryInfo:D,resetQuery:h,pageInfo:N,setPageNum:M,setPageSize:G,initGetByPage:T,hasPositionEditAuth:f,initPositionConfig:O,initPositionItem:x,initCreate:w,initUpdate:L,initDelete:Q,getStatusLabelByValue:g,getStatusTagByValue:j,initImport:H,initExport:J,exportTemplate:K}=ke(),B=e.ref([]),W=async()=>{const s=await T(),{postData:a=[]}=s;return a},_=async()=>{B.value=await W()},k=s=>{M(s),r.setImportLoading(!0),_().finally(()=>{r.setImportLoading(!1)})},X=s=>{G(s),r.setImportLoading(!0),_().finally(()=>{r.setImportLoading(!1)})},Y=s=>{const{prop:a,order:d}=s;R({prop:a,order:d}),_()},Z=async()=>{h(),r.setImportLoading(!0),await _().finally(()=>{r.setImportLoading(!1)})},v=async()=>{await O(),await _()};e.onMounted(async()=>{r.setImportLoading(!0),await v().finally(()=>{r.setImportLoading(!1)})});const ee=async(s,a)=>{if(!f.value)return;const{value:d}=s,p=a.row;if(d==="edit"){ae(p);return}if(d==="delete"){r.setImportLoading(!0),await y(p).finally(()=>{r.setImportLoading(!1)});return}},q=e.ref(),te=e.reactive({name:[{required:!0,message:"请输入职位名称",trigger:"blur"}],code:[{required:!0,message:"请选择职位编码",trigger:"blur"}],sort:[{required:!0,message:"请输入排序",trigger:"blur"}]}),i=e.ref(x());e.ref([]);const b=e.ref(!1),oe=()=>{b.value=!0},z=()=>{b.value=!1},ae=async s=>{f.value&&(i.value=x(s),oe())},t=()=>{i.value=x(),z()},o=async()=>{await w(i.value),await v()},n=async()=>{await L(i.value),await v()},y=async s=>{await Q(s),await v()},U=async()=>{var a,d;await((d=(a=q.value)==null?void 0:a.validate)==null?void 0:d.call(a));const{post_id:s}=i.value;r.setImportLoading(!0),s?await n().finally(()=>{r.setImportLoading(!1)}):await o().finally(()=>{r.setImportLoading(!1)}),t()},fe=async s=>{if(!f.value)return;const{status:a}=s;m.ENABLE.value===a?s.status=m.DISABLED.value:s.status=m.ENABLE.value,await L(s),await v()},ge=async()=>{await _e()},_e=async()=>{const s=document.createElement("input");s.type="file",s.accept=".xlsx",s.onchange=async a=>{var E;const p=(E=a.target.files)==null?void 0:E[0];if(p)try{r.setImportLoading(!0),await H(p),await v(),r.setImportLoading(!1)}catch{r.setImportLoading(!1)}},s.click()},ve=async()=>{r.setImportLoading(!0),await J().finally(()=>{r.setImportLoading(!1)})},ye=async()=>{K()};return(s,a)=>{var ce,de,ue,pe;const d=e.resolveComponent("el-input"),p=e.resolveComponent("el-button"),E=e.resolveComponent("el-icon"),ne=e.resolveComponent("el-dropdown-item"),we=e.resolveComponent("el-dropdown-menu"),Ve=e.resolveComponent("el-dropdown"),I=e.resolveComponent("el-table-column"),Ne=e.resolveComponent("el-tag"),Ce=e.resolveComponent("el-table"),he=e.resolveComponent("el-pagination"),se=e.resolveComponent("el-form-item"),re=e.resolveComponent("el-col"),ie=e.resolveComponent("el-row"),xe=e.resolveComponent("el-input-number"),be=e.resolveComponent("el-form");return e.openBlock(),e.createElementBlock("div",qe,[e.createElementVNode("div",ze,[e.createElementVNode("div",Ue,[e.createElementVNode("div",Ae,[e.createVNode(d,{modelValue:e.unref(D).name,"onUpdate:modelValue":a[0]||(a[0]=c=>e.unref(D).name=c),style:{width:"240px"},placeholder:"请输入名称"},null,8,["modelValue"]),e.createVNode(p,{type:"primary",onClick:_},{default:e.withCtx(()=>a[5]||(a[5]=[e.createTextVNode("查询")])),_:1,__:[5]}),e.createVNode(p,{type:"primary",plain:"",onClick:Z},{default:e.withCtx(()=>a[6]||(a[6]=[e.createTextVNode("重置")])),_:1,__:[6]})])]),e.createElementVNode("div",$e,[e.createVNode(p,{type:"primary",onClick:ge},{default:e.withCtx(()=>[a[7]||(a[7]=e.createTextVNode(" 导入 ")),e.createVNode(E,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(e.unref(C.upload_default))]),_:1})]),_:1,__:[7]}),e.createVNode(Ve,null,{dropdown:e.withCtx(()=>[e.createVNode(we,null,{default:e.withCtx(()=>[e.createVNode(ne,{onClick:ye},{default:e.withCtx(()=>a[9]||(a[9]=[e.createTextVNode("导出模板")])),_:1,__:[9]}),e.createVNode(ne,{onClick:ve},{default:e.withCtx(()=>a[10]||(a[10]=[e.createTextVNode("导出数据")])),_:1,__:[10]})]),_:1})]),default:e.withCtx(()=>[e.createVNode(p,{type:"primary"},{default:e.withCtx(()=>[a[8]||(a[8]=e.createTextVNode(" 导出 ")),e.createVNode(E,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(e.unref(C.arrow_down_default))]),_:1})]),_:1,__:[8]})]),_:1}),e.createVNode(le._sfc_main,{emptyColor:!0,onClickTrigger:a[1]||(a[1]=c=>ae()),modelValue:"创建职位",buttonType:"primary"})])]),e.createElementVNode("div",Fe,[e.createElementVNode("div",Re,[e.createElementVNode("div",Me,[e.createVNode(Ce,{class:"department-table",data:B.value,"empty-text":"","default-sort":e.unref(S),onSortChange:Y},{default:e.withCtx(()=>[e.createVNode(I,{prop:"name",label:"名称",align:"center"}),e.createVNode(I,{prop:"code",label:"编码",align:"center"}),e.createVNode(I,{prop:"status",label:"状态",align:"center"},{default:e.withCtx(c=>[e.createVNode(Ne,{class:"status-tag",type:e.unref(j)(c.row.status),title:"点击切换",onClick:A=>fe(c.row)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(g)(c.row.status)),1)]),_:2},1032,["type","onClick"])]),_:1}),e.createVNode(I,{prop:"sort",label:"排序",align:"center",sortable:"custom"}),e.createVNode(I,{label:"操作",align:"center"},{default:e.withCtx(c=>[e.createElementVNode("div",Ge,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(Be),A=>(e.openBlock(),e.createElementBlock("div",{class:"operate-item",key:A.value,onClick:e.withModifiers(Ze=>ee(A,c),["stop"])},e.toDisplayString(A.label),9,Oe))),128))])]),_:1})]),_:1},8,["data","default-sort"])]),e.createElementVNode("div",Qe,[a[11]||(a[11]=e.createElementVNode("div",null,null,-1)),e.createVNode(he,{onSizeChange:X,onCurrentChange:k,"current-page":(ce=e.unref(N))==null?void 0:ce.pageNum,"page-sizes":(de=e.unref(N))==null?void 0:de.pageSizes,"page-size":((ue=e.unref(N))==null?void 0:ue.pageSize)??10,layout:"total, sizes, prev, pager, next, jumper",total:((pe=e.unref(N))==null?void 0:pe.total)??0},null,8,["current-page","page-sizes","page-size","total"])])])]),a[14]||(a[14]=e.createElementVNode("div",{class:"footer"},[e.createElementVNode("div",{class:"footer-left"}),e.createElementVNode("div",{class:"footer-right"})],-1)),e.createVNode(Ee.ssDialog,{class:"position-edit-dialog",visible:b.value,title:"职位信息",onBeforeDestroy:z,showClose:!0,closeOnClickModal:!1,closeOnPressEscape:!1,modalClass:"position-edit-modal",alignCenter:!0,appendToBody:!1},{default:e.withCtx(()=>[e.createElementVNode("div",je,[a[12]||(a[12]=e.createElementVNode("div",{class:"position-management-header"},[e.createElementVNode("div",{class:"header-left"}),e.createElementVNode("div",{class:"header-right"})],-1)),e.createElementVNode("div",He,[e.createElementVNode("div",Je,[e.createVNode(be,{class:"position-edit-form",ref_key:"positionFormRef",ref:q,model:i.value,rules:te},{default:e.withCtx(()=>[e.createVNode(ie,{gutter:20},{default:e.withCtx(()=>[e.createVNode(re,{span:12},{default:e.withCtx(()=>[e.createVNode(se,{prop:"name",label:"职位名称","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:i.value.name,"onUpdate:modelValue":a[2]||(a[2]=c=>i.value.name=c),"aria-label":"职位名称",placeholder:"职位名称"},null,8,["modelValue"])]),_:1})]),_:1}),e.createVNode(re,{span:12},{default:e.withCtx(()=>[e.createVNode(se,{prop:"code",label:"职位编码","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:i.value.code,"onUpdate:modelValue":a[3]||(a[3]=c=>i.value.code=c),"aria-label":"职位编码",placeholder:"职位编码"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e.createVNode(ie,{gutter:20},{default:e.withCtx(()=>[e.createVNode(re,{span:12},{default:e.withCtx(()=>[e.createVNode(se,{prop:"sort",label:"排序","label-position":"top"},{default:e.withCtx(()=>[e.createVNode(xe,{modelValue:i.value.sort,"onUpdate:modelValue":a[4]||(a[4]=c=>i.value.sort=c),"aria-label":"排序",placeholder:"排序",min:"1"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])])])])]),footer:e.withCtx(()=>[e.createElementVNode("div",Ke,[a[13]||(a[13]=e.createElementVNode("div",{class:"footer-left"},null,-1)),e.createElementVNode("div",We,[e.createVNode(le._sfc_main,{class:"cancel",emptyColor:!0,onClickTrigger:t,modelValue:"取消",buttonType:"info"}),e.createVNode(le._sfc_main,{class:"confirm",emptyColor:!0,onClickTrigger:U,modelValue:"确定",buttonType:"primary"})])])]),_:1},8,["visible"])])}}}),Ye=Ie._export_sfc(Xe,[["__scopeId","data-v-c988d077"]]);exports.default=Ye;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { computed as wl, defineComponent as _l, defineProps as jt, ref as D, watch as vl, onMounted as Kl, onUnmounted as tt, resolveComponent as te, createBlock as ve, openBlock as p, withCtx as o, createElementVNode as L, toDisplayString as ol, createElementBlock as ae, Fragment as al, renderList as ul, createCommentVNode as xe, normalizeStyle as El, createVNode as s, unref as n, resolveDynamicComponent as oa, provide as Ga, shallowRef as cs, resolveDirective as nt, withDirectives as ql, vShow as pa, createTextVNode as rl, renderSlot as Nl, normalizeClass as Ol, createSlots as gt, mergeProps as Bn, withModifiers as xl, defineAsyncComponent as pn, reactive as Rl, nextTick as Wl, withKeys as us } from "vue";
|
|
2
|
-
import { m as Ot, a as Lt, b as Qt, c as ds } from "./array-
|
|
2
|
+
import { m as Ot, a as Lt, b as Qt, c as ds } from "./array-YfT8HtYp.js";
|
|
3
3
|
import { u as Vl, p as bl, s as gl, c as kl, a as ea, b as Fl, i as Ea, d as yt, l as ps, j as ga, e as Sa, E as ya, k as St, m as Za, v as $a, n as En, o as fs, q as Dn, h as vs, r as bt, t as ra, w as fn, x as hs, y as Pn, z as gs, A as ys, B as Rn, C as vn, D as bs, F as Cs } from "./index-CwJwXVns.js";
|
|
4
|
-
import { _ as st, s as Nt, a as ms } from "./index-
|
|
4
|
+
import { _ as st, s as Nt, a as ms } from "./index-CXbGxJwr.js";
|
|
5
5
|
import { useRouter as Da } from "vue-router";
|
|
6
6
|
import { a as ot, d as Kt, e as it, f as rt, g as ct, h as ut, t as ws, c as ks, b as As } from "./index-ChNfRlIP.js";
|
|
7
|
-
import { g as Ba, s as Is, a as hn, _ as Tt, b as Ms, u as _s, c as xn, X as Ss, Q as Ts } from "./index-
|
|
7
|
+
import { g as Ba, s as Is, a as hn, _ as Tt, b as Ms, u as _s, c as xn, X as Ss, Q as Ts } from "./index-BpLmA87g.js";
|
|
8
8
|
import { u as Vn, g as gn, b as yn, c as Bs, a as Es } from "./index-DUq4XELr.js";
|
|
9
9
|
import { E as Ml, d as Un, b as ia, I as Ds, s as la, e as jn, a as On, c as Ln, g as Ps, h as Rs, p as Qn, m as xs, i as Vs, j as Us, f as js } from "./request-XJsZ4h2T.js";
|
|
10
|
-
import { b as Os, g as Nn, c as Ls, u as qt, d as na, e as at, o as Kn, l as Qs, n as Ns, f as Ks, h as fa, s as ht, t as qs, i as Ws } from "./index-
|
|
11
|
-
import { d as Hs, g as et, a as Ys } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
10
|
+
import { b as Os, g as Nn, c as Ls, u as qt, d as na, e as at, o as Kn, l as Qs, n as Ns, f as Ks, h as fa, s as ht, t as qs, i as Ws } from "./index-CI4RP047.js";
|
|
11
|
+
import { d as Hs, g as et, a as Ys } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-DFyt9sBY.js";
|
|
12
12
|
import "./JSEncrypt-B36c1iN5.js";
|
|
13
|
-
import "./index-
|
|
13
|
+
import "./index-DkzogwXS.js";
|
|
14
14
|
import "./index-BmZwVwZC.js";
|
|
15
15
|
import { c as Wt, f as jl, b as qn, a as Fs, g as Js, d as bn } from "./menuIndex-6R2YfOgI.js";
|
|
16
16
|
import { _ as Ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
import { C as zs } from "./index-
|
|
17
|
+
import { C as zs } from "./index-BDGxsSv8.js";
|
|
18
18
|
import { S as Bl } from "./index-BHtNKL1L.js";
|
|
19
|
-
import Xs from "./threeModel-
|
|
20
|
-
import { a as Wn, b as da, u as Hn, s as ta, c as Gs, d as Zs, r as Tl, n as $s, o as ca, e as ua, f as Yn, h as Bt, i as Fn, j as Ht, k as eo, t as lo, l as Ca, m as Ct, p as pt, q as ma, v as Ja, w as wa, x as ao, y as ka, z as Aa, A as to, B as Ia, C as Ma, D as za, E as Cn, F as no, G as mn, H as ft, I as mt, J as so, K as zl, L as oo, M as io, N as wt, O as ro, P as co, Q as uo, g as Jn, R as po, S as wn, T as fo, U as vo } from "./index-
|
|
19
|
+
import Xs from "./threeModel-C1SnRYoH.js";
|
|
20
|
+
import { a as Wn, b as da, u as Hn, s as ta, c as Gs, d as Zs, r as Tl, n as $s, o as ca, e as ua, f as Yn, h as Bt, i as Fn, j as Ht, k as eo, t as lo, l as Ca, m as Ct, p as pt, q as ma, v as Ja, w as wa, x as ao, y as ka, z as Aa, A as to, B as Ia, C as Ma, D as za, E as Cn, F as no, G as mn, H as ft, I as mt, J as so, K as zl, L as oo, M as io, N as wt, O as ro, P as co, Q as uo, g as Jn, R as po, S as wn, T as fo, U as vo } from "./index-BzQ__2O5.js";
|
|
21
21
|
import { _ as sa } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
22
22
|
import { s as aa } from "./index-11kpzK0A.js";
|
|
23
|
-
import { T as Et, u as ho, a as go } from "./threeViewerHost-
|
|
24
|
-
import { s as Dt } from "./index-
|
|
23
|
+
import { T as Et, u as ho, a as go } from "./threeViewerHost-H65dmTmF.js";
|
|
24
|
+
import { s as Dt } from "./index-BJuY7Xp6.js";
|
|
25
25
|
import { u as yo } from "./index-BUWFOyFs.js";
|
|
26
26
|
import { u as bo } from "./index-THTSy08x.js";
|
|
27
|
-
import { u as zn } from "./index-
|
|
27
|
+
import { u as zn } from "./index-DuL936Vd.js";
|
|
28
28
|
import { T as kn } from "./svgIcon-4u4PW7Is.js";
|
|
29
|
-
import { f as Co, a as mo } from "./animationData-
|
|
29
|
+
import { f as Co, a as mo } from "./animationData-FLROBONw.js";
|
|
30
30
|
Vl();
|
|
31
31
|
const wo = Vl(), Xn = async (l, y) => {
|
|
32
32
|
var c, v, I, j;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as J, ref as u, computed as Ve, resolveComponent as n, createElementBlock as D, openBlock as k, createElementVNode as o, createVNode as t, withCtx as s, toDisplayString as A, createBlock as ue, reactive as De, Fragment as pe, renderList as xe, unref as c, createTextVNode as h, onMounted as it, watch as dt, withModifiers as ct, createCommentVNode as H } from "vue";
|
|
2
2
|
import { u as ut, h as pt, i as mt } from "./request-XJsZ4h2T.js";
|
|
3
|
-
import { u as Se, o as _t, s as de, f as ce } from "./index-
|
|
3
|
+
import { u as Se, o as _t, s as de, f as ce } from "./index-DuL936Vd.js";
|
|
4
4
|
import { G as Le, H as ft, u as vt, p as gt } from "./index-CwJwXVns.js";
|
|
5
5
|
import { s as _e } from "./index-11kpzK0A.js";
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
7
|
-
import "./index-
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-DFyt9sBY.js";
|
|
7
|
+
import "./index-BzQ__2O5.js";
|
|
8
8
|
import "./index-BHtNKL1L.js";
|
|
9
9
|
import { _ as B } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
10
|
+
import "./index-CI4RP047.js";
|
|
11
|
+
import "./index-BJuY7Xp6.js";
|
|
12
12
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
import { c as me } from "./clone-EMplXNdV.js";
|
|
14
14
|
const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-content-wrapper" }, Ct = { class: "node-label-wrapper" }, bt = { class: "node-label" }, wt = /* @__PURE__ */ J({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
2
|
import { u as h, p as k, s as x, c as m } from "./index-CwJwXVns.js";
|
|
3
|
-
import { W as M } from "./index-
|
|
3
|
+
import { W as M } from "./index-BzQ__2O5.js";
|
|
4
4
|
import { a as D, d as T, f as S } from "./index-BmZwVwZC.js";
|
|
5
5
|
import { g as w } from "./index-DUq4XELr.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -2,7 +2,7 @@ var Wdt = Object.defineProperty;
|
|
|
2
2
|
var Gdt = (r, t, e) => t in r ? Wdt(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var zr = (r, t, e) => Gdt(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
import { J as $dt, K as qdt, L as Xdt, M as oQ, N as Ydt, O as Zdt, U as nU, P as iU, Q as aU, R as HL, S as f5, T as lQ, V as Kdt, W as Jdt, X as uQ, Y as Qdt, Z as tpt, _ as ept, $ as sU, a0 as rpt, s as p2, b as jL, p as v2, q as npt, i as ipt, j as apt, u as cQ, e as spt, a1 as Bm, a2 as opt, a3 as Ml, c as Xb, a4 as lpt } from "./index-CwJwXVns.js";
|
|
5
|
-
import { m as oU, h as upt, r as cpt, k as hpt, p as hQ, q as fpt, x as dpt } from "./index-
|
|
5
|
+
import { m as oU, h as upt, r as cpt, k as hpt, p as hQ, q as fpt, x as dpt } from "./index-CI4RP047.js";
|
|
6
6
|
import { e as ppt } from "./index-DDUJHG5-.js";
|
|
7
7
|
import { k as vpt, l as m2, n as $7, o as cC, q as mpt, M as gpt, S as lU, r as hC, t as ypt, v as bpt } from "./request-XJsZ4h2T.js";
|
|
8
8
|
var wpt = /\s/;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ydt=Object.defineProperty;var Zdt=(r,t,e)=>t in r?Ydt(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var Ur=(r,t,e)=>Zdt(r,typeof t!="symbol"?t+"":t,e);const Ar=require("./index-CMUsYepp.cjs"),fp=require("./index-B7964G2F.cjs"),Kdt=require("./index-CnihUuSz.cjs"),Ya=require("./request-Dl8yi2iS.cjs");var Jdt=/\s/;function Qdt(r){for(var t=r.length;t--&&Jdt.test(r.charAt(t)););return t}var tpt=/^\s+/;function ept(r){return r&&r.slice(0,Qdt(r)+1).replace(tpt,"")}var eU=NaN,rpt=/^[-+]0x[0-9a-f]+$/i,npt=/^0b[01]+$/i,ipt=/^0o[0-7]+$/i,apt=parseInt;function rU(r){if(typeof r=="number")return r;if(Ya.isSymbol(r))return eU;if(Ya.isObject(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=Ya.isObject(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=ept(r);var e=npt.test(r);return e||ipt.test(r)?apt(r.slice(2),e?2:8):rpt.test(r)?eU:+r}function spt(r,t){return Ar.setToString(Ar.overRest(r,t,Ar.identity),r+"")}function opt(r,t,e){if(!Ya.isObject(e))return!1;var n=typeof t;return(n=="number"?Ar.isArrayLike(e)&&Ar.isIndex(t,e.length):n=="string"&&t in e)?Ya.eq(e[t],r):!1}function lpt(r){return spt(function(t,e){var n=-1,i=e.length,a=i>1?e[i-1]:void 0,s=i>2?e[2]:void 0;for(a=r.length>3&&typeof a=="function"?(i--,a):void 0,s&&opt(e[0],e[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++n<i;){var o=e[n];o&&r(t,o,n,a)}return t})}var upt="[object Object]",cpt=Function.prototype,hpt=Object.prototype,JJ=cpt.toString,fpt=hpt.hasOwnProperty,dpt=JJ.call(Object);function ppt(r){if(!Ya.isObjectLike(r)||Ya.baseGetTag(r)!=upt)return!1;var t=Ar.getPrototype(r);if(t===null)return!0;var e=fpt.call(t,"constructor")&&t.constructor;return typeof e=="function"&&e instanceof e&&JJ.call(e)==dpt}var vpt="__lodash_hash_undefined__";function mpt(r){return this.__data__.set(r,vpt),this}function gpt(r){return this.__data__.has(r)}function mM(r){var t=-1,e=r==null?0:r.length;for(this.__data__=new Ya.MapCache;++t<e;)this.add(r[t])}mM.prototype.add=mM.prototype.push=mpt;mM.prototype.has=gpt;function ypt(r,t){for(var e=-1,n=r==null?0:r.length;++e<n;)if(t(r[e],e,r))return!0;return!1}function bpt(r,t){return r.has(t)}var wpt=1,_pt=2;function QJ(r,t,e,n,i,a){var s=e&wpt,o=r.length,l=t.length;if(o!=l&&!(s&&l>o))return!1;var u=a.get(r),c=a.get(t);if(u&&c)return u==t&&c==r;var h=-1,f=!0,d=e&_pt?new mM:void 0;for(a.set(r,t),a.set(t,r);++h<o;){var p=r[h],m=t[h];if(n)var g=s?n(m,p,h,t,r,a):n(p,m,h,r,t,a);if(g!==void 0){if(g)continue;f=!1;break}if(d){if(!ypt(t,function(y,v){if(!bpt(d,v)&&(p===y||i(p,y,e,n,a)))return d.push(v)})){f=!1;break}}else if(!(p===m||i(p,m,e,n,a))){f=!1;break}}return a.delete(r),a.delete(t),f}function xpt(r){var t=-1,e=Array(r.size);return r.forEach(function(n,i){e[++t]=[i,n]}),e}function Spt(r){var t=-1,e=Array(r.size);return r.forEach(function(n){e[++t]=n}),e}var Tpt=1,Ept=2,Apt="[object Boolean]",Mpt="[object Date]",Cpt="[object Error]",kpt="[object Map]",Rpt="[object Number]",Dpt="[object RegExp]",Ipt="[object Set]",Lpt="[object String]",Ppt="[object Symbol]",Npt="[object ArrayBuffer]",Opt="[object DataView]",nU=Ya.Symbol?Ya.Symbol.prototype:void 0,m8=nU?nU.valueOf:void 0;function Fpt(r,t,e,n,i,a,s){switch(e){case Opt:if(r.byteLength!=t.byteLength||r.byteOffset!=t.byteOffset)return!1;r=r.buffer,t=t.buffer;case Npt:return!(r.byteLength!=t.byteLength||!a(new Ar.Uint8Array(r),new Ar.Uint8Array(t)));case Apt:case Mpt:case Rpt:return Ya.eq(+r,+t);case Cpt:return r.name==t.name&&r.message==t.message;case Dpt:case Lpt:return r==t+"";case kpt:var o=xpt;case Ipt:var l=n&Tpt;if(o||(o=Spt),r.size!=t.size&&!l)return!1;var u=s.get(r);if(u)return u==t;n|=Ept,s.set(r,t);var c=QJ(o(r),o(t),n,i,a,s);return s.delete(r),c;case Ppt:if(m8)return m8.call(r)==m8.call(t)}return!1}var Bpt=1,zpt=Object.prototype,Upt=zpt.hasOwnProperty;function Vpt(r,t,e,n,i,a){var s=e&Bpt,o=Ar.getAllKeys(r),l=o.length,u=Ar.getAllKeys(t),c=u.length;if(l!=c&&!s)return!1;for(var h=l;h--;){var f=o[h];if(!(s?f in t:Upt.call(t,f)))return!1}var d=a.get(r),p=a.get(t);if(d&&p)return d==t&&p==r;var m=!0;a.set(r,t),a.set(t,r);for(var g=s;++h<l;){f=o[h];var y=r[f],v=t[f];if(n)var b=s?n(v,y,f,t,r,a):n(y,v,f,r,t,a);if(!(b===void 0?y===v||i(y,v,e,n,a):b)){m=!1;break}g||(g=f=="constructor")}if(m&&!g){var w=r.constructor,_=t.constructor;w!=_&&"constructor"in r&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof _=="function"&&_ instanceof _)&&(m=!1)}return a.delete(r),a.delete(t),m}var Hpt=1,iU="[object Arguments]",aU="[object Array]",VE="[object Object]",jpt=Object.prototype,sU=jpt.hasOwnProperty;function Wpt(r,t,e,n,i,a){var s=Ya.isArray(r),o=Ya.isArray(t),l=s?aU:Ar.getTag(r),u=o?aU:Ar.getTag(t);l=l==iU?VE:l,u=u==iU?VE:u;var c=l==VE,h=u==VE,f=l==u;if(f&&Ar.isBuffer(r)){if(!Ar.isBuffer(t))return!1;s=!0,c=!1}if(f&&!c)return a||(a=new Ar.Stack),s||Ar.isTypedArray(r)?QJ(r,t,e,n,i,a):Fpt(r,t,l,e,n,i,a);if(!(e&Hpt)){var d=c&&sU.call(r,"__wrapped__"),p=h&&sU.call(t,"__wrapped__");if(d||p){var m=d?r.value():r,g=p?t.value():t;return a||(a=new Ar.Stack),i(m,g,e,n,a)}}return f?(a||(a=new Ar.Stack),Vpt(r,t,e,n,i,a)):!1}function tQ(r,t,e,n,i){return r===t?!0:r==null||t==null||!Ya.isObjectLike(r)&&!Ya.isObjectLike(t)?r!==r&&t!==t:Wpt(r,t,e,n,tQ,i)}function Gpt(r){return function(t,e,n){for(var i=-1,a=Object(t),s=n(t),o=s.length;o--;){var l=s[++i];if(e(a[l],l,a)===!1)break}return t}}var $pt=Gpt(),g8=function(){return Ya.root.Date.now()},qpt="Expected a function",Xpt=Math.max,Ypt=Math.min;function eQ(r,t,e){var n,i,a,s,o,l,u=0,c=!1,h=!1,f=!0;if(typeof r!="function")throw new TypeError(qpt);t=rU(t)||0,Ya.isObject(e)&&(c=!!e.leading,h="maxWait"in e,a=h?Xpt(rU(e.maxWait)||0,t):a,f="trailing"in e?!!e.trailing:f);function d(x){var S=n,T=i;return n=i=void 0,u=x,s=r.apply(T,S),s}function p(x){return u=x,o=setTimeout(y,t),c?d(x):s}function m(x){var S=x-l,T=x-u,E=t-S;return h?Ypt(E,a-T):E}function g(x){var S=x-l,T=x-u;return l===void 0||S>=t||S<0||h&&T>=a}function y(){var x=g8();if(g(x))return v(x);o=setTimeout(y,m(x))}function v(x){return o=void 0,f&&n?d(x):(n=i=void 0,s)}function b(){o!==void 0&&clearTimeout(o),u=0,n=l=i=o=void 0}function w(){return o===void 0?s:v(g8())}function _(){var x=g8(),S=g(x);if(n=arguments,i=this,l=x,S){if(o===void 0)return p(l);if(h)return clearTimeout(o),o=setTimeout(y,t),d(l)}return o===void 0&&(o=setTimeout(y,t)),s}return _.cancel=b,_.flush=w,_}function jL(r,t,e){(e!==void 0&&!Ya.eq(r[t],e)||e===void 0&&!(t in r))&&Ar.baseAssignValue(r,t,e)}function Zpt(r){return Ya.isObjectLike(r)&&Ar.isArrayLike(r)}function WL(r,t){if(!(t==="constructor"&&typeof r[t]=="function")&&t!="__proto__")return r[t]}function Kpt(r){return Ar.copyObject(r,Ar.keysIn(r))}function Jpt(r,t,e,n,i,a,s){var o=WL(r,e),l=WL(t,e),u=s.get(l);if(u){jL(r,e,u);return}var c=a?a(o,l,e+"",r,t,s):void 0,h=c===void 0;if(h){var f=Ya.isArray(l),d=!f&&Ar.isBuffer(l),p=!f&&!d&&Ar.isTypedArray(l);c=l,f||d||p?Ya.isArray(o)?c=o:Zpt(o)?c=Ar.copyArray(o):d?(h=!1,c=Ar.cloneBuffer(l,!0)):p?(h=!1,c=Ar.cloneTypedArray(l,!0)):c=[]:ppt(l)||Ar.isArguments(l)?(c=o,Ar.isArguments(o)?c=Kpt(o):(!Ya.isObject(o)||Ya.isFunction(o))&&(c=Ar.initCloneObject(l))):h=!1}h&&(s.set(l,c),i(c,l,n,a,s),s.delete(l)),jL(r,e,c)}function rQ(r,t,e,n,i){r!==t&&$pt(t,function(a,s){if(i||(i=new Ar.Stack),Ya.isObject(a))Jpt(r,t,s,e,rQ,n,i);else{var o=n?n(WL(r,s),a,s+"",r,t,i):void 0;o===void 0&&(o=a),jL(r,s,o)}},Ar.keysIn)}function ZC(r,t){return tQ(r,t)}var ym=lpt(function(r,t,e){rQ(r,t,e)});const Qpt=Ar.useUnit(Ar.pinia),{selectTitle:y8}=Ar.storeToRefs(Qpt),tvt=Ar.useMenuState(Ar.pinia),{currentMenuPath:Ey}=Ar.storeToRefs(tvt);let xv="$R";const c_=new Map,evt=r=>r==null?void 0:r.map(e=>{var o,l,u,c,h,f,d,p,m,g,y,v,b,w,_,x,S,T,E,D,L,B,M,R,A,C,I,k,N,z,O;let n=(c=(u=(l=(o=e==null?void 0:e.contents)==null?void 0:o.find(H=>{var V;return(V=H==null?void 0:H.key)==null?void 0:V.includes("struct")}))==null?void 0:l.value)==null?void 0:u[0])==null?void 0:c.类型,i=Object.values(e==null?void 0:e.name);i=i==null?void 0:i.reverse();let a=(h=e==null?void 0:e.contents)==null?void 0:h.map(H=>H==null?void 0:H.key),s={comp:n,isShow:e==null?void 0:e.is_show,name:i==null?void 0:i[0],id:e==null?void 0:e.object_id,relatedTables:a};for(let H in i)parseInt(H)>=1&&(s[`name${parseInt(H)-1}`]=i[H]);if(n==="Table"){let H=(f=e==null?void 0:e.contents)==null?void 0:f.find(Y=>{var tt;return(tt=Y==null?void 0:Y.key)==null?void 0:tt.includes("content")}),V=[];H.value=(d=H==null?void 0:H.value)==null?void 0:d.sort((Y,tt)=>parseInt(Y==null?void 0:Y.id)-parseInt(tt==null?void 0:tt.id)),V.push({key:"tableContents",contents:H==null?void 0:H.value});let G=(v=(y=(g=(m=(p=e==null?void 0:e.contents)==null?void 0:p.find(Y=>{var tt;return(tt=Y==null?void 0:Y.key)==null?void 0:tt.includes("struct")}))==null?void 0:m.value)==null?void 0:g[0])==null?void 0:y.结构)==null?void 0:v.contents;V.push({key:"header",contents:G}),V.push({key:"filter",contents:(S=(x=(_=(w=(b=e==null?void 0:e.contents)==null?void 0:b.find(Y=>{var tt;return(tt=Y==null?void 0:Y.key)==null?void 0:tt.includes("struct")}))==null?void 0:w.value)==null?void 0:_[0])==null?void 0:x.引用)==null?void 0:S.contents}),s.compData=V}else if(n==="Form"){let H=[],V=(D=(E=(T=e==null?void 0:e.contents)==null?void 0:T.find(Y=>{var tt;return(tt=Y==null?void 0:Y.key)==null?void 0:tt.includes("content")}))==null?void 0:E.value)==null?void 0:D[0],G=(C=(A=(R=(M=(B=(L=e==null?void 0:e.contents)==null?void 0:L.find(Y=>{var tt;return(tt=Y==null?void 0:Y.key)==null?void 0:tt.includes("struct")}))==null?void 0:B.value)==null?void 0:M[0])==null?void 0:R.结构)==null?void 0:A.contents)==null?void 0:C.map(Y=>(Y.value=V==null?void 0:V[Y==null?void 0:Y.prop],Y));H.push({key:"filter",contents:(O=(z=(N=(k=(I=e==null?void 0:e.contents)==null?void 0:I.find(Y=>{var tt;return(tt=Y==null?void 0:Y.key)==null?void 0:tt.includes("struct")}))==null?void 0:k.value)==null?void 0:N[0])==null?void 0:z.引用)==null?void 0:O.contents}),H.push({key:"formContent",contents:G}),s.compData=H}return s}),g5=async r=>new Promise((t,e)=>{var s,o;const n=Ar.useLoginState(Ar.pinia),{loginUserInfo:i}=Ar.storeToRefs(n);if(c_.has(r)){const l=c_.get(r);l.resolve=t,l.reject=e,l.debouncedFn(r,(s=i==null?void 0:i.value)==null?void 0:s.plat_id);return}const a=eQ(async(l,u)=>{var h,f,d;const c=c_.get(l);try{const p=await Ar.getPageDataApi({platId:parseInt(u),pageName:l}),m=(h=p==null?void 0:p.data)==null?void 0:h.result,g=evt(m);(f=c==null?void 0:c.resolve)==null||f.call(c,g)}catch(p){(d=c==null?void 0:c.reject)==null||d.call(c,p)}finally{c_.delete(l)}},10);c_.set(r,{debouncedFn:a,resolve:t,reject:e,timer:null}),a(r,(o=i==null?void 0:i.value)==null?void 0:o.plat_id)}),rvt=async(r,t={})=>{var u,c,h,f,d,p,m,g,y,v,b,w,_,x,S,T,E,D,L,B,M,R,A,C,I,k,N,z,O,H,V,G,Y,tt,_t,ot,wt,it,K,nt,ht,X,at,st,pt,W,et,lt,Et,Lt;let e=(u=r==null?void 0:r.menus)==null?void 0:u.join("/"),n=r==null?void 0:r.relatedWords;if((e==null?void 0:e[(e==null?void 0:e.length)-1])==="/")if(r!=null&&r.isMainPath){let q=e==null?void 0:e.slice(0,(e==null?void 0:e.length)-1),rt=await g5(q);rt=rt==null?void 0:rt.filter(J=>(J==null?void 0:J.comp)==="Table");let gt=r==null?void 0:r.words;gt=gt==null?void 0:gt.join(".");let ut=(y=(g=(m=rt==null?void 0:rt[0])==null?void 0:m.compData)==null?void 0:g.find(J=>(J==null?void 0:J.key)==="tableContents"))==null?void 0:y.contents;if(r!=null&&r.filter&&((v=r==null?void 0:r.filter)!=null&&v.includes("@If"))){let J=((_=(w=(b=r==null?void 0:r.filter)==null?void 0:b.split(","))==null?void 0:w.filter(ft=>ft==null?void 0:ft.includes("@If")))==null?void 0:_[0])??"";if(J&&J!==""){(J==null?void 0:J[(J==null?void 0:J.length)-1])===","&&(J=J==null?void 0:J.slice(0,(J==null?void 0:J.length)-1)),J=(S=(x=J==null?void 0:J.replace("(",xv))==null?void 0:x.split(xv))==null?void 0:S[1],J=J==null?void 0:J.slice(0,(J==null?void 0:J.length)-1),(J==null?void 0:J[0])==="*"&&(J="{"+((E=(T=J==null?void 0:J.replace("{",xv))==null?void 0:T.split(xv))==null?void 0:E[1])),J=(D=J==null?void 0:J.replaceAll("{",""))==null?void 0:D.replaceAll("}","");let ft=fp.calculatorAndToOr(J);ft=ft==null?void 0:ft[0];for(let bt in ft)ut=(L=ut==null?void 0:ut.map(yt=>{if((yt==null?void 0:yt[bt])===(ft==null?void 0:ft[bt]))return yt;for(let At in yt)if(At!=null&&At.includes(bt)&&(yt==null?void 0:yt[At])===(ft==null?void 0:ft[bt]))return yt;return""}))==null?void 0:L.filter(yt=>yt!=="")}}(gt==null?void 0:gt[(gt==null?void 0:gt.length)-1])==="."&&(gt=gt==null?void 0:gt.slice(0,(gt==null?void 0:gt.length)-1));let ct;return n&&Array.isArray(n)&&(n==null?void 0:n.length)>0?ct=ut==null?void 0:ut.map(J=>{let ft="",bt=Object.keys(J);return n==null||n.forEach(yt=>{var At,Ct,Nt,Mt;if(bt!=null&&bt.find(Dt=>{var Ot,Xt;return Dt==null?void 0:Dt.includes("."+((Xt=yt==null?void 0:yt.split("."))==null?void 0:Xt[((Ot=yt==null?void 0:yt.split("."))==null?void 0:Ot.length)-1]))})){let Dt=bt==null?void 0:bt.find(Ot=>{var Xt,Ft;return Ot==null?void 0:Ot.includes("."+((Ft=yt==null?void 0:yt.split("."))==null?void 0:Ft[((Xt=yt==null?void 0:yt.split("."))==null?void 0:Xt.length)-1]))});ft=ft===""?ft+((J==null?void 0:J[Dt])??""):ft+" "+((J==null?void 0:J[Dt])??"")}else ft=ft===""?ft+((J==null?void 0:J[yt])??(J==null?void 0:J[(Ct=yt==null?void 0:yt.split("."))==null?void 0:Ct[((At=yt==null?void 0:yt.split("."))==null?void 0:At.length)-1]])):ft+" "+((J==null?void 0:J[yt])??(J==null?void 0:J[(Mt=yt==null?void 0:yt.split("."))==null?void 0:Mt[((Nt=yt==null?void 0:yt.split("."))==null?void 0:Nt.length)-1]])??"")}),{label:ft,value:ft}}):ct=ut==null?void 0:ut.map(J=>({label:J==null?void 0:J[gt],value:J==null?void 0:J[gt]})),ct=ct==null?void 0:ct.filter(J=>J.label),ct}else if(r!=null&&r.endChildMenu&&(r==null?void 0:r.endChildMenu)!=="")e=e+((h=(c=r==null?void 0:r.endChildMenu)==null?void 0:c.split(" "))==null?void 0:h[0]);else{let q=(f=y8.value)==null?void 0:f.filter(rt=>(rt==null?void 0:rt.condition)==="child");((d=q==null?void 0:q[0])==null?void 0:d.parentContent)+"/"===e?e=e==null?void 0:e.slice(0,(e==null?void 0:e.length)-1):(q=(p=q==null?void 0:q[0])==null?void 0:p.value,e=e+q)}let i=await g5(e),a=r==null?void 0:r.groups,s=r==null?void 0:r.words;i=i==null?void 0:i.filter(q=>(q==null?void 0:q.name)===(a==null?void 0:a[(a==null?void 0:a.length)-1]));let o;if((R=(M=(B=i==null?void 0:i[0])==null?void 0:B.compData)==null?void 0:M.find(q=>(q==null?void 0:q.key)==="tableContents"))!=null&&R.contents)o=(I=(C=(A=i==null?void 0:i[0])==null?void 0:A.compData)==null?void 0:C.find(q=>(q==null?void 0:q.key)==="tableContents"))==null?void 0:I.contents;else{let q={};(O=(z=(N=(k=i==null?void 0:i[0])==null?void 0:k.compData)==null?void 0:N.find(rt=>(rt==null?void 0:rt.key)==="formContent"))==null?void 0:z.contents)==null||O.forEach(rt=>{q[rt.prop]=rt.value}),o=[q]}if(r!=null&&r.filter&&(r==null?void 0:r.filter)!==""){let q=fp.analyzeSplitToContent(r==null?void 0:r.filter,",");if(q=((H=q==null?void 0:q.filter(rt=>rt==null?void 0:rt.includes("@If")))==null?void 0:H[0])??"",q&&q!==""){(q==null?void 0:q[(q==null?void 0:q.length)-1])===","&&(q=q==null?void 0:q.slice(0,(q==null?void 0:q.length)-1)),q=(G=(V=q==null?void 0:q.replace("(",xv))==null?void 0:V.split(xv))==null?void 0:G[1],q=q==null?void 0:q.slice(0,(q==null?void 0:q.length)-1),((q==null?void 0:q[0])==="*"||(q==null?void 0:q[0])==="$")&&(q="{"+((tt=(Y=q==null?void 0:q.replace("{",xv))==null?void 0:Y.split(xv))==null?void 0:tt[1])),q=(_t=q==null?void 0:q.replaceAll("{",""))==null?void 0:_t.replaceAll("}","");let rt=fp.calculatorAndToOr(q);if(rt=rt==null?void 0:rt[0],(ot=Object.values(rt))!=null&&ot.some(gt=>(gt==null?void 0:gt[0])==="*")){let gt=(it=(wt=y8.value)==null?void 0:wt.find(ut=>(ut==null?void 0:ut.condition)==="child"))!=null&&it.value?(Ey==null?void 0:Ey.value)+"/"+((nt=(K=y8.value)==null?void 0:K.find(ut=>(ut==null?void 0:ut.condition)==="child"))==null?void 0:nt.value):Ey==null?void 0:Ey.value;await g5(gt)}for(let gt in rt)if(((ht=rt==null?void 0:rt[gt])==null?void 0:ht[0])==="*"){let ut=(at=(X=rt[gt])==null?void 0:X.split(":"))==null?void 0:at[1];rt[gt]=(t==null?void 0:t[ut])??""}for(let gt in rt)o=(st=o==null?void 0:o.map(ut=>{var ct,J;if((ut==null?void 0:ut[gt])===(rt==null?void 0:rt[gt])||r!=null&&r.endChildMenu)return ut;for(let ft in ut)if(((J=ft==null?void 0:ft.split("."))==null?void 0:J[((ct=ft==null?void 0:ft.split("."))==null?void 0:ct.length)-1])===gt&&ut[ft]===(rt==null?void 0:rt[gt]))return ut}))==null?void 0:st.filter(ut=>ut)}}if(e==="系统管理/角色管理"){const q=Ar.useLoginState(Ar.pinia),{loginUserInfo:rt}=Ar.storeToRefs(q);i=await Ar.getAllTables({platId:parseInt((pt=rt==null?void 0:rt.value)==null?void 0:pt.plat_id),tableNames:["role"]}),i=((et=(W=i==null?void 0:i.data)==null?void 0:W.result)==null?void 0:et[0])??[],o=i}if(e==="系统管理/部门管理"){const q=Ar.useLoginState(Ar.pinia),{loginUserInfo:rt}=Ar.storeToRefs(q),gt=(lt=rt==null?void 0:rt.value)==null?void 0:lt.plat_id;i=await Kdt.getDepartmentOptions(gt),i=((Et=i==null?void 0:i.data)==null?void 0:Et.result)||[],o=i}s=(Lt=s==null?void 0:s.join("."))==null?void 0:Lt.replaceAll("'",""),(s==null?void 0:s[(s==null?void 0:s.length)-1])==="."&&(s=s==null?void 0:s.slice(0,(s==null?void 0:s.length)-1));let l;return n&&Array.isArray(n)&&(n==null?void 0:n.length)>0?l=o==null?void 0:o.map(q=>{let rt="",gt=Object.keys(q);return n==null||n.forEach(ut=>{if(gt!=null&>.find(ct=>{var J,ft;return ct==null?void 0:ct.includes("."+((ft=ut==null?void 0:ut.split("."))==null?void 0:ft[((J=ut==null?void 0:ut.split("."))==null?void 0:J.length)-1]))})){let ct=gt==null?void 0:gt.find(J=>{var ft,bt;return J==null?void 0:J.includes("."+((bt=ut==null?void 0:ut.split("."))==null?void 0:bt[((ft=ut==null?void 0:ut.split("."))==null?void 0:ft.length)-1]))});rt=rt===""?rt+((q==null?void 0:q[ct])??""):rt+" "+((q==null?void 0:q[ct])??"")}else rt=rt===""?rt+(q==null?void 0:q[ut]):rt+" "+(q==null?void 0:q[ut])}),{label:rt,value:rt}}):l=o==null?void 0:o.map(q=>({label:q==null?void 0:q[s],value:q==null?void 0:q[s]})),l=l==null?void 0:l.filter(q=>q.label),l};/**!
|
|
1
|
+
"use strict";var Ydt=Object.defineProperty;var Zdt=(r,t,e)=>t in r?Ydt(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var Ur=(r,t,e)=>Zdt(r,typeof t!="symbol"?t+"":t,e);const Ar=require("./index-CMUsYepp.cjs"),fp=require("./index-BuZHI6xx.cjs"),Kdt=require("./index-CnihUuSz.cjs"),Ya=require("./request-Dl8yi2iS.cjs");var Jdt=/\s/;function Qdt(r){for(var t=r.length;t--&&Jdt.test(r.charAt(t)););return t}var tpt=/^\s+/;function ept(r){return r&&r.slice(0,Qdt(r)+1).replace(tpt,"")}var eU=NaN,rpt=/^[-+]0x[0-9a-f]+$/i,npt=/^0b[01]+$/i,ipt=/^0o[0-7]+$/i,apt=parseInt;function rU(r){if(typeof r=="number")return r;if(Ya.isSymbol(r))return eU;if(Ya.isObject(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=Ya.isObject(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=ept(r);var e=npt.test(r);return e||ipt.test(r)?apt(r.slice(2),e?2:8):rpt.test(r)?eU:+r}function spt(r,t){return Ar.setToString(Ar.overRest(r,t,Ar.identity),r+"")}function opt(r,t,e){if(!Ya.isObject(e))return!1;var n=typeof t;return(n=="number"?Ar.isArrayLike(e)&&Ar.isIndex(t,e.length):n=="string"&&t in e)?Ya.eq(e[t],r):!1}function lpt(r){return spt(function(t,e){var n=-1,i=e.length,a=i>1?e[i-1]:void 0,s=i>2?e[2]:void 0;for(a=r.length>3&&typeof a=="function"?(i--,a):void 0,s&&opt(e[0],e[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++n<i;){var o=e[n];o&&r(t,o,n,a)}return t})}var upt="[object Object]",cpt=Function.prototype,hpt=Object.prototype,JJ=cpt.toString,fpt=hpt.hasOwnProperty,dpt=JJ.call(Object);function ppt(r){if(!Ya.isObjectLike(r)||Ya.baseGetTag(r)!=upt)return!1;var t=Ar.getPrototype(r);if(t===null)return!0;var e=fpt.call(t,"constructor")&&t.constructor;return typeof e=="function"&&e instanceof e&&JJ.call(e)==dpt}var vpt="__lodash_hash_undefined__";function mpt(r){return this.__data__.set(r,vpt),this}function gpt(r){return this.__data__.has(r)}function mM(r){var t=-1,e=r==null?0:r.length;for(this.__data__=new Ya.MapCache;++t<e;)this.add(r[t])}mM.prototype.add=mM.prototype.push=mpt;mM.prototype.has=gpt;function ypt(r,t){for(var e=-1,n=r==null?0:r.length;++e<n;)if(t(r[e],e,r))return!0;return!1}function bpt(r,t){return r.has(t)}var wpt=1,_pt=2;function QJ(r,t,e,n,i,a){var s=e&wpt,o=r.length,l=t.length;if(o!=l&&!(s&&l>o))return!1;var u=a.get(r),c=a.get(t);if(u&&c)return u==t&&c==r;var h=-1,f=!0,d=e&_pt?new mM:void 0;for(a.set(r,t),a.set(t,r);++h<o;){var p=r[h],m=t[h];if(n)var g=s?n(m,p,h,t,r,a):n(p,m,h,r,t,a);if(g!==void 0){if(g)continue;f=!1;break}if(d){if(!ypt(t,function(y,v){if(!bpt(d,v)&&(p===y||i(p,y,e,n,a)))return d.push(v)})){f=!1;break}}else if(!(p===m||i(p,m,e,n,a))){f=!1;break}}return a.delete(r),a.delete(t),f}function xpt(r){var t=-1,e=Array(r.size);return r.forEach(function(n,i){e[++t]=[i,n]}),e}function Spt(r){var t=-1,e=Array(r.size);return r.forEach(function(n){e[++t]=n}),e}var Tpt=1,Ept=2,Apt="[object Boolean]",Mpt="[object Date]",Cpt="[object Error]",kpt="[object Map]",Rpt="[object Number]",Dpt="[object RegExp]",Ipt="[object Set]",Lpt="[object String]",Ppt="[object Symbol]",Npt="[object ArrayBuffer]",Opt="[object DataView]",nU=Ya.Symbol?Ya.Symbol.prototype:void 0,m8=nU?nU.valueOf:void 0;function Fpt(r,t,e,n,i,a,s){switch(e){case Opt:if(r.byteLength!=t.byteLength||r.byteOffset!=t.byteOffset)return!1;r=r.buffer,t=t.buffer;case Npt:return!(r.byteLength!=t.byteLength||!a(new Ar.Uint8Array(r),new Ar.Uint8Array(t)));case Apt:case Mpt:case Rpt:return Ya.eq(+r,+t);case Cpt:return r.name==t.name&&r.message==t.message;case Dpt:case Lpt:return r==t+"";case kpt:var o=xpt;case Ipt:var l=n&Tpt;if(o||(o=Spt),r.size!=t.size&&!l)return!1;var u=s.get(r);if(u)return u==t;n|=Ept,s.set(r,t);var c=QJ(o(r),o(t),n,i,a,s);return s.delete(r),c;case Ppt:if(m8)return m8.call(r)==m8.call(t)}return!1}var Bpt=1,zpt=Object.prototype,Upt=zpt.hasOwnProperty;function Vpt(r,t,e,n,i,a){var s=e&Bpt,o=Ar.getAllKeys(r),l=o.length,u=Ar.getAllKeys(t),c=u.length;if(l!=c&&!s)return!1;for(var h=l;h--;){var f=o[h];if(!(s?f in t:Upt.call(t,f)))return!1}var d=a.get(r),p=a.get(t);if(d&&p)return d==t&&p==r;var m=!0;a.set(r,t),a.set(t,r);for(var g=s;++h<l;){f=o[h];var y=r[f],v=t[f];if(n)var b=s?n(v,y,f,t,r,a):n(y,v,f,r,t,a);if(!(b===void 0?y===v||i(y,v,e,n,a):b)){m=!1;break}g||(g=f=="constructor")}if(m&&!g){var w=r.constructor,_=t.constructor;w!=_&&"constructor"in r&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof _=="function"&&_ instanceof _)&&(m=!1)}return a.delete(r),a.delete(t),m}var Hpt=1,iU="[object Arguments]",aU="[object Array]",VE="[object Object]",jpt=Object.prototype,sU=jpt.hasOwnProperty;function Wpt(r,t,e,n,i,a){var s=Ya.isArray(r),o=Ya.isArray(t),l=s?aU:Ar.getTag(r),u=o?aU:Ar.getTag(t);l=l==iU?VE:l,u=u==iU?VE:u;var c=l==VE,h=u==VE,f=l==u;if(f&&Ar.isBuffer(r)){if(!Ar.isBuffer(t))return!1;s=!0,c=!1}if(f&&!c)return a||(a=new Ar.Stack),s||Ar.isTypedArray(r)?QJ(r,t,e,n,i,a):Fpt(r,t,l,e,n,i,a);if(!(e&Hpt)){var d=c&&sU.call(r,"__wrapped__"),p=h&&sU.call(t,"__wrapped__");if(d||p){var m=d?r.value():r,g=p?t.value():t;return a||(a=new Ar.Stack),i(m,g,e,n,a)}}return f?(a||(a=new Ar.Stack),Vpt(r,t,e,n,i,a)):!1}function tQ(r,t,e,n,i){return r===t?!0:r==null||t==null||!Ya.isObjectLike(r)&&!Ya.isObjectLike(t)?r!==r&&t!==t:Wpt(r,t,e,n,tQ,i)}function Gpt(r){return function(t,e,n){for(var i=-1,a=Object(t),s=n(t),o=s.length;o--;){var l=s[++i];if(e(a[l],l,a)===!1)break}return t}}var $pt=Gpt(),g8=function(){return Ya.root.Date.now()},qpt="Expected a function",Xpt=Math.max,Ypt=Math.min;function eQ(r,t,e){var n,i,a,s,o,l,u=0,c=!1,h=!1,f=!0;if(typeof r!="function")throw new TypeError(qpt);t=rU(t)||0,Ya.isObject(e)&&(c=!!e.leading,h="maxWait"in e,a=h?Xpt(rU(e.maxWait)||0,t):a,f="trailing"in e?!!e.trailing:f);function d(x){var S=n,T=i;return n=i=void 0,u=x,s=r.apply(T,S),s}function p(x){return u=x,o=setTimeout(y,t),c?d(x):s}function m(x){var S=x-l,T=x-u,E=t-S;return h?Ypt(E,a-T):E}function g(x){var S=x-l,T=x-u;return l===void 0||S>=t||S<0||h&&T>=a}function y(){var x=g8();if(g(x))return v(x);o=setTimeout(y,m(x))}function v(x){return o=void 0,f&&n?d(x):(n=i=void 0,s)}function b(){o!==void 0&&clearTimeout(o),u=0,n=l=i=o=void 0}function w(){return o===void 0?s:v(g8())}function _(){var x=g8(),S=g(x);if(n=arguments,i=this,l=x,S){if(o===void 0)return p(l);if(h)return clearTimeout(o),o=setTimeout(y,t),d(l)}return o===void 0&&(o=setTimeout(y,t)),s}return _.cancel=b,_.flush=w,_}function jL(r,t,e){(e!==void 0&&!Ya.eq(r[t],e)||e===void 0&&!(t in r))&&Ar.baseAssignValue(r,t,e)}function Zpt(r){return Ya.isObjectLike(r)&&Ar.isArrayLike(r)}function WL(r,t){if(!(t==="constructor"&&typeof r[t]=="function")&&t!="__proto__")return r[t]}function Kpt(r){return Ar.copyObject(r,Ar.keysIn(r))}function Jpt(r,t,e,n,i,a,s){var o=WL(r,e),l=WL(t,e),u=s.get(l);if(u){jL(r,e,u);return}var c=a?a(o,l,e+"",r,t,s):void 0,h=c===void 0;if(h){var f=Ya.isArray(l),d=!f&&Ar.isBuffer(l),p=!f&&!d&&Ar.isTypedArray(l);c=l,f||d||p?Ya.isArray(o)?c=o:Zpt(o)?c=Ar.copyArray(o):d?(h=!1,c=Ar.cloneBuffer(l,!0)):p?(h=!1,c=Ar.cloneTypedArray(l,!0)):c=[]:ppt(l)||Ar.isArguments(l)?(c=o,Ar.isArguments(o)?c=Kpt(o):(!Ya.isObject(o)||Ya.isFunction(o))&&(c=Ar.initCloneObject(l))):h=!1}h&&(s.set(l,c),i(c,l,n,a,s),s.delete(l)),jL(r,e,c)}function rQ(r,t,e,n,i){r!==t&&$pt(t,function(a,s){if(i||(i=new Ar.Stack),Ya.isObject(a))Jpt(r,t,s,e,rQ,n,i);else{var o=n?n(WL(r,s),a,s+"",r,t,i):void 0;o===void 0&&(o=a),jL(r,s,o)}},Ar.keysIn)}function ZC(r,t){return tQ(r,t)}var ym=lpt(function(r,t,e){rQ(r,t,e)});const Qpt=Ar.useUnit(Ar.pinia),{selectTitle:y8}=Ar.storeToRefs(Qpt),tvt=Ar.useMenuState(Ar.pinia),{currentMenuPath:Ey}=Ar.storeToRefs(tvt);let xv="$R";const c_=new Map,evt=r=>r==null?void 0:r.map(e=>{var o,l,u,c,h,f,d,p,m,g,y,v,b,w,_,x,S,T,E,D,L,B,M,R,A,C,I,k,N,z,O;let n=(c=(u=(l=(o=e==null?void 0:e.contents)==null?void 0:o.find(H=>{var V;return(V=H==null?void 0:H.key)==null?void 0:V.includes("struct")}))==null?void 0:l.value)==null?void 0:u[0])==null?void 0:c.类型,i=Object.values(e==null?void 0:e.name);i=i==null?void 0:i.reverse();let a=(h=e==null?void 0:e.contents)==null?void 0:h.map(H=>H==null?void 0:H.key),s={comp:n,isShow:e==null?void 0:e.is_show,name:i==null?void 0:i[0],id:e==null?void 0:e.object_id,relatedTables:a};for(let H in i)parseInt(H)>=1&&(s[`name${parseInt(H)-1}`]=i[H]);if(n==="Table"){let H=(f=e==null?void 0:e.contents)==null?void 0:f.find(Y=>{var tt;return(tt=Y==null?void 0:Y.key)==null?void 0:tt.includes("content")}),V=[];H.value=(d=H==null?void 0:H.value)==null?void 0:d.sort((Y,tt)=>parseInt(Y==null?void 0:Y.id)-parseInt(tt==null?void 0:tt.id)),V.push({key:"tableContents",contents:H==null?void 0:H.value});let G=(v=(y=(g=(m=(p=e==null?void 0:e.contents)==null?void 0:p.find(Y=>{var tt;return(tt=Y==null?void 0:Y.key)==null?void 0:tt.includes("struct")}))==null?void 0:m.value)==null?void 0:g[0])==null?void 0:y.结构)==null?void 0:v.contents;V.push({key:"header",contents:G}),V.push({key:"filter",contents:(S=(x=(_=(w=(b=e==null?void 0:e.contents)==null?void 0:b.find(Y=>{var tt;return(tt=Y==null?void 0:Y.key)==null?void 0:tt.includes("struct")}))==null?void 0:w.value)==null?void 0:_[0])==null?void 0:x.引用)==null?void 0:S.contents}),s.compData=V}else if(n==="Form"){let H=[],V=(D=(E=(T=e==null?void 0:e.contents)==null?void 0:T.find(Y=>{var tt;return(tt=Y==null?void 0:Y.key)==null?void 0:tt.includes("content")}))==null?void 0:E.value)==null?void 0:D[0],G=(C=(A=(R=(M=(B=(L=e==null?void 0:e.contents)==null?void 0:L.find(Y=>{var tt;return(tt=Y==null?void 0:Y.key)==null?void 0:tt.includes("struct")}))==null?void 0:B.value)==null?void 0:M[0])==null?void 0:R.结构)==null?void 0:A.contents)==null?void 0:C.map(Y=>(Y.value=V==null?void 0:V[Y==null?void 0:Y.prop],Y));H.push({key:"filter",contents:(O=(z=(N=(k=(I=e==null?void 0:e.contents)==null?void 0:I.find(Y=>{var tt;return(tt=Y==null?void 0:Y.key)==null?void 0:tt.includes("struct")}))==null?void 0:k.value)==null?void 0:N[0])==null?void 0:z.引用)==null?void 0:O.contents}),H.push({key:"formContent",contents:G}),s.compData=H}return s}),g5=async r=>new Promise((t,e)=>{var s,o;const n=Ar.useLoginState(Ar.pinia),{loginUserInfo:i}=Ar.storeToRefs(n);if(c_.has(r)){const l=c_.get(r);l.resolve=t,l.reject=e,l.debouncedFn(r,(s=i==null?void 0:i.value)==null?void 0:s.plat_id);return}const a=eQ(async(l,u)=>{var h,f,d;const c=c_.get(l);try{const p=await Ar.getPageDataApi({platId:parseInt(u),pageName:l}),m=(h=p==null?void 0:p.data)==null?void 0:h.result,g=evt(m);(f=c==null?void 0:c.resolve)==null||f.call(c,g)}catch(p){(d=c==null?void 0:c.reject)==null||d.call(c,p)}finally{c_.delete(l)}},10);c_.set(r,{debouncedFn:a,resolve:t,reject:e,timer:null}),a(r,(o=i==null?void 0:i.value)==null?void 0:o.plat_id)}),rvt=async(r,t={})=>{var u,c,h,f,d,p,m,g,y,v,b,w,_,x,S,T,E,D,L,B,M,R,A,C,I,k,N,z,O,H,V,G,Y,tt,_t,ot,wt,it,K,nt,ht,X,at,st,pt,W,et,lt,Et,Lt;let e=(u=r==null?void 0:r.menus)==null?void 0:u.join("/"),n=r==null?void 0:r.relatedWords;if((e==null?void 0:e[(e==null?void 0:e.length)-1])==="/")if(r!=null&&r.isMainPath){let q=e==null?void 0:e.slice(0,(e==null?void 0:e.length)-1),rt=await g5(q);rt=rt==null?void 0:rt.filter(J=>(J==null?void 0:J.comp)==="Table");let gt=r==null?void 0:r.words;gt=gt==null?void 0:gt.join(".");let ut=(y=(g=(m=rt==null?void 0:rt[0])==null?void 0:m.compData)==null?void 0:g.find(J=>(J==null?void 0:J.key)==="tableContents"))==null?void 0:y.contents;if(r!=null&&r.filter&&((v=r==null?void 0:r.filter)!=null&&v.includes("@If"))){let J=((_=(w=(b=r==null?void 0:r.filter)==null?void 0:b.split(","))==null?void 0:w.filter(ft=>ft==null?void 0:ft.includes("@If")))==null?void 0:_[0])??"";if(J&&J!==""){(J==null?void 0:J[(J==null?void 0:J.length)-1])===","&&(J=J==null?void 0:J.slice(0,(J==null?void 0:J.length)-1)),J=(S=(x=J==null?void 0:J.replace("(",xv))==null?void 0:x.split(xv))==null?void 0:S[1],J=J==null?void 0:J.slice(0,(J==null?void 0:J.length)-1),(J==null?void 0:J[0])==="*"&&(J="{"+((E=(T=J==null?void 0:J.replace("{",xv))==null?void 0:T.split(xv))==null?void 0:E[1])),J=(D=J==null?void 0:J.replaceAll("{",""))==null?void 0:D.replaceAll("}","");let ft=fp.calculatorAndToOr(J);ft=ft==null?void 0:ft[0];for(let bt in ft)ut=(L=ut==null?void 0:ut.map(yt=>{if((yt==null?void 0:yt[bt])===(ft==null?void 0:ft[bt]))return yt;for(let At in yt)if(At!=null&&At.includes(bt)&&(yt==null?void 0:yt[At])===(ft==null?void 0:ft[bt]))return yt;return""}))==null?void 0:L.filter(yt=>yt!=="")}}(gt==null?void 0:gt[(gt==null?void 0:gt.length)-1])==="."&&(gt=gt==null?void 0:gt.slice(0,(gt==null?void 0:gt.length)-1));let ct;return n&&Array.isArray(n)&&(n==null?void 0:n.length)>0?ct=ut==null?void 0:ut.map(J=>{let ft="",bt=Object.keys(J);return n==null||n.forEach(yt=>{var At,Ct,Nt,Mt;if(bt!=null&&bt.find(Dt=>{var Ot,Xt;return Dt==null?void 0:Dt.includes("."+((Xt=yt==null?void 0:yt.split("."))==null?void 0:Xt[((Ot=yt==null?void 0:yt.split("."))==null?void 0:Ot.length)-1]))})){let Dt=bt==null?void 0:bt.find(Ot=>{var Xt,Ft;return Ot==null?void 0:Ot.includes("."+((Ft=yt==null?void 0:yt.split("."))==null?void 0:Ft[((Xt=yt==null?void 0:yt.split("."))==null?void 0:Xt.length)-1]))});ft=ft===""?ft+((J==null?void 0:J[Dt])??""):ft+" "+((J==null?void 0:J[Dt])??"")}else ft=ft===""?ft+((J==null?void 0:J[yt])??(J==null?void 0:J[(Ct=yt==null?void 0:yt.split("."))==null?void 0:Ct[((At=yt==null?void 0:yt.split("."))==null?void 0:At.length)-1]])):ft+" "+((J==null?void 0:J[yt])??(J==null?void 0:J[(Mt=yt==null?void 0:yt.split("."))==null?void 0:Mt[((Nt=yt==null?void 0:yt.split("."))==null?void 0:Nt.length)-1]])??"")}),{label:ft,value:ft}}):ct=ut==null?void 0:ut.map(J=>({label:J==null?void 0:J[gt],value:J==null?void 0:J[gt]})),ct=ct==null?void 0:ct.filter(J=>J.label),ct}else if(r!=null&&r.endChildMenu&&(r==null?void 0:r.endChildMenu)!=="")e=e+((h=(c=r==null?void 0:r.endChildMenu)==null?void 0:c.split(" "))==null?void 0:h[0]);else{let q=(f=y8.value)==null?void 0:f.filter(rt=>(rt==null?void 0:rt.condition)==="child");((d=q==null?void 0:q[0])==null?void 0:d.parentContent)+"/"===e?e=e==null?void 0:e.slice(0,(e==null?void 0:e.length)-1):(q=(p=q==null?void 0:q[0])==null?void 0:p.value,e=e+q)}let i=await g5(e),a=r==null?void 0:r.groups,s=r==null?void 0:r.words;i=i==null?void 0:i.filter(q=>(q==null?void 0:q.name)===(a==null?void 0:a[(a==null?void 0:a.length)-1]));let o;if((R=(M=(B=i==null?void 0:i[0])==null?void 0:B.compData)==null?void 0:M.find(q=>(q==null?void 0:q.key)==="tableContents"))!=null&&R.contents)o=(I=(C=(A=i==null?void 0:i[0])==null?void 0:A.compData)==null?void 0:C.find(q=>(q==null?void 0:q.key)==="tableContents"))==null?void 0:I.contents;else{let q={};(O=(z=(N=(k=i==null?void 0:i[0])==null?void 0:k.compData)==null?void 0:N.find(rt=>(rt==null?void 0:rt.key)==="formContent"))==null?void 0:z.contents)==null||O.forEach(rt=>{q[rt.prop]=rt.value}),o=[q]}if(r!=null&&r.filter&&(r==null?void 0:r.filter)!==""){let q=fp.analyzeSplitToContent(r==null?void 0:r.filter,",");if(q=((H=q==null?void 0:q.filter(rt=>rt==null?void 0:rt.includes("@If")))==null?void 0:H[0])??"",q&&q!==""){(q==null?void 0:q[(q==null?void 0:q.length)-1])===","&&(q=q==null?void 0:q.slice(0,(q==null?void 0:q.length)-1)),q=(G=(V=q==null?void 0:q.replace("(",xv))==null?void 0:V.split(xv))==null?void 0:G[1],q=q==null?void 0:q.slice(0,(q==null?void 0:q.length)-1),((q==null?void 0:q[0])==="*"||(q==null?void 0:q[0])==="$")&&(q="{"+((tt=(Y=q==null?void 0:q.replace("{",xv))==null?void 0:Y.split(xv))==null?void 0:tt[1])),q=(_t=q==null?void 0:q.replaceAll("{",""))==null?void 0:_t.replaceAll("}","");let rt=fp.calculatorAndToOr(q);if(rt=rt==null?void 0:rt[0],(ot=Object.values(rt))!=null&&ot.some(gt=>(gt==null?void 0:gt[0])==="*")){let gt=(it=(wt=y8.value)==null?void 0:wt.find(ut=>(ut==null?void 0:ut.condition)==="child"))!=null&&it.value?(Ey==null?void 0:Ey.value)+"/"+((nt=(K=y8.value)==null?void 0:K.find(ut=>(ut==null?void 0:ut.condition)==="child"))==null?void 0:nt.value):Ey==null?void 0:Ey.value;await g5(gt)}for(let gt in rt)if(((ht=rt==null?void 0:rt[gt])==null?void 0:ht[0])==="*"){let ut=(at=(X=rt[gt])==null?void 0:X.split(":"))==null?void 0:at[1];rt[gt]=(t==null?void 0:t[ut])??""}for(let gt in rt)o=(st=o==null?void 0:o.map(ut=>{var ct,J;if((ut==null?void 0:ut[gt])===(rt==null?void 0:rt[gt])||r!=null&&r.endChildMenu)return ut;for(let ft in ut)if(((J=ft==null?void 0:ft.split("."))==null?void 0:J[((ct=ft==null?void 0:ft.split("."))==null?void 0:ct.length)-1])===gt&&ut[ft]===(rt==null?void 0:rt[gt]))return ut}))==null?void 0:st.filter(ut=>ut)}}if(e==="系统管理/角色管理"){const q=Ar.useLoginState(Ar.pinia),{loginUserInfo:rt}=Ar.storeToRefs(q);i=await Ar.getAllTables({platId:parseInt((pt=rt==null?void 0:rt.value)==null?void 0:pt.plat_id),tableNames:["role"]}),i=((et=(W=i==null?void 0:i.data)==null?void 0:W.result)==null?void 0:et[0])??[],o=i}if(e==="系统管理/部门管理"){const q=Ar.useLoginState(Ar.pinia),{loginUserInfo:rt}=Ar.storeToRefs(q),gt=(lt=rt==null?void 0:rt.value)==null?void 0:lt.plat_id;i=await Kdt.getDepartmentOptions(gt),i=((Et=i==null?void 0:i.data)==null?void 0:Et.result)||[],o=i}s=(Lt=s==null?void 0:s.join("."))==null?void 0:Lt.replaceAll("'",""),(s==null?void 0:s[(s==null?void 0:s.length)-1])==="."&&(s=s==null?void 0:s.slice(0,(s==null?void 0:s.length)-1));let l;return n&&Array.isArray(n)&&(n==null?void 0:n.length)>0?l=o==null?void 0:o.map(q=>{let rt="",gt=Object.keys(q);return n==null||n.forEach(ut=>{if(gt!=null&>.find(ct=>{var J,ft;return ct==null?void 0:ct.includes("."+((ft=ut==null?void 0:ut.split("."))==null?void 0:ft[((J=ut==null?void 0:ut.split("."))==null?void 0:J.length)-1]))})){let ct=gt==null?void 0:gt.find(J=>{var ft,bt;return J==null?void 0:J.includes("."+((bt=ut==null?void 0:ut.split("."))==null?void 0:bt[((ft=ut==null?void 0:ut.split("."))==null?void 0:ft.length)-1]))});rt=rt===""?rt+((q==null?void 0:q[ct])??""):rt+" "+((q==null?void 0:q[ct])??"")}else rt=rt===""?rt+(q==null?void 0:q[ut]):rt+" "+(q==null?void 0:q[ut])}),{label:rt,value:rt}}):l=o==null?void 0:o.map(q=>({label:q==null?void 0:q[s],value:q==null?void 0:q[s]})),l=l==null?void 0:l.filter(q=>q.label),l};/**!
|
|
2
2
|
* Sortable 1.15.6
|
|
3
3
|
* @author RubaXa <trash@rubaxa.org>
|
|
4
4
|
* @author owenm <owen23355@gmail.com>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as U, watch as v, createElementBlock as E, createCommentVNode as q, openBlock as I, Fragment as de, renderList as fe, createElementVNode as S, createBlock as se, toDisplayString as oe, resolveDynamicComponent as ye, onMounted as he, onUnmounted as ke, createVNode as te } from "vue";
|
|
2
|
-
import { m as ge, a as _e, b as Ce, c as be } from "./array-
|
|
2
|
+
import { m as ge, a as _e, b as Ce, c as be } from "./array-YfT8HtYp.js";
|
|
3
3
|
import { c, a as ce, p as re, s as ue, u as Oe } from "./index-CwJwXVns.js";
|
|
4
|
-
import { g as Ae } from "./index-
|
|
5
|
-
import { v as H, a as K } from "./index-
|
|
4
|
+
import { g as Ae } from "./index-BzQ__2O5.js";
|
|
5
|
+
import { v as H, a as K } from "./index-CI4RP047.js";
|
|
6
6
|
import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const B = [
|
|
8
8
|
{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),G=require("./array-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),G=require("./array-D7vKkUiS.cjs"),r=require("./index-CMUsYepp.cjs"),ne=require("./index-HwtzuEZw.cjs"),T=require("./index-BuZHI6xx.cjs"),v=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),F=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"}],A=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"LineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"}];n.ref(0);n.ref(0);n.ref(1);const le=s=>{let d;s.replaceAll(" ",`\r
|
|
2
2
|
`).replaceAll(`
|
|
3
3
|
`,`\r
|
|
4
4
|
`).includes(`\r
|
package/dist/ss-component.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue");require("./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue");require("./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-J7Knzs4U.cjs");const C=require("./index-BpPyaNFa.cjs"),v=require("./index-CMUsYepp.cjs");require("./index-BuZHI6xx.cjs");require("./request-Dl8yi2iS.cjs");;/* empty css */const s=require("./ss-component2.cjs"),t=require("./index-DKh4EyHV.cjs"),r=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-TDiwHB4H.cjs")));r.install=e=>{e.component("ssComponent",r)};const i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-0iU2PrIE.cjs")).then(e=>e.index$1));i.install=e=>{e.component("ssTab",i)};const c=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CRG0HVGR.cjs")).then(e=>e.index));c.install=e=>{e.component("ssMenu",c)};const l=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BXZ5rAo2.cjs")));l.install=e=>{e.component("ssMenuComponent",l)};const m=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CNQWedk2.cjs")));m.install=e=>{e.component("ssCanvas",m)};const u=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BVaHwt5f.cjs")));u.install=e=>{e.component("ssFold",u)};const a=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CWEUTGiD.cjs")).then(e=>e.index));a.install=e=>{e.component("ssAvatar",a)};const h=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeModel-B3IBUdu5.cjs")));h.install=e=>{e.component("ssThree",h)};const f=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeViewerHost-DSr8-IQ3.cjs")).then(e=>e.threeViewerHost));f.install=e=>{e.component("threeViewerHost",f)};const p=v.useMenuState(),q=[r,i,c,l,m,u,a,h,f],P=e=>{q.forEach(o=>{e.use(o)}),e.use(s),e.config.globalProperties.$router=s},g=e=>{switch(e){case"browser":return t.browserThemeConfig;case"client":return t.clientThemeConfig;case"three":return t.threeThemeConfig}},y=e=>{const o=document.documentElement;e==null||e.forEach(d=>{o.style.setProperty(d.name,d.value)})},A=e=>{p.setPlatform(e);const o=g(e);y(o)},T={getPlatform:p.getPlatform,setPlatform:p.setPlatform,initPlatform:A};exports.SvgIcon=C.SvgIcon;exports.router=s;exports.default=P;exports.platformApi=T;
|
package/dist/ss-component.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { defineAsyncComponent as o } from "vue";
|
|
2
|
-
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
2
|
+
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-DFyt9sBY.js";
|
|
3
3
|
import { S as j } from "./index-BHtNKL1L.js";
|
|
4
4
|
import { u as C } from "./index-CwJwXVns.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-CI4RP047.js";
|
|
6
6
|
import "./request-XJsZ4h2T.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import u from "./ss-component2.js";
|
|
9
9
|
import { t as g, c as T, b as P } from "./index-ChNfRlIP.js";
|
|
10
|
-
const n = o(() => import("./main-
|
|
10
|
+
const n = o(() => import("./main-C-9_2SK9.js"));
|
|
11
11
|
n.install = (t) => {
|
|
12
12
|
t.component("ssComponent", n);
|
|
13
13
|
};
|
|
14
|
-
const s = o(() => import("./index-
|
|
14
|
+
const s = o(() => import("./index-BpLmA87g.js").then((t) => t.q));
|
|
15
15
|
s.install = (t) => {
|
|
16
16
|
t.component("ssTab", s);
|
|
17
17
|
};
|
|
18
|
-
const r = o(() => import("./index-
|
|
18
|
+
const r = o(() => import("./index-CXbGxJwr.js").then((t) => t.i));
|
|
19
19
|
r.install = (t) => {
|
|
20
20
|
t.component("ssMenu", r);
|
|
21
21
|
};
|
|
@@ -23,7 +23,7 @@ const m = o(() => import("./index-ClG8FDQH.js"));
|
|
|
23
23
|
m.install = (t) => {
|
|
24
24
|
t.component("ssMenuComponent", m);
|
|
25
25
|
};
|
|
26
|
-
const i = o(() => import("./index-
|
|
26
|
+
const i = o(() => import("./index-C8ORIDjr.js"));
|
|
27
27
|
i.install = (t) => {
|
|
28
28
|
t.component("ssCanvas", i);
|
|
29
29
|
};
|
|
@@ -31,15 +31,15 @@ const c = o(() => import("./index-rlStojTL.js"));
|
|
|
31
31
|
c.install = (t) => {
|
|
32
32
|
t.component("ssFold", c);
|
|
33
33
|
};
|
|
34
|
-
const a = o(() => import("./index-
|
|
34
|
+
const a = o(() => import("./index-BDGxsSv8.js").then((t) => t.i));
|
|
35
35
|
a.install = (t) => {
|
|
36
36
|
t.component("ssAvatar", a);
|
|
37
37
|
};
|
|
38
|
-
const l = o(() => import("./threeModel-
|
|
38
|
+
const l = o(() => import("./threeModel-C1SnRYoH.js"));
|
|
39
39
|
l.install = (t) => {
|
|
40
40
|
t.component("ssThree", l);
|
|
41
41
|
};
|
|
42
|
-
const p = o(() => import("./threeViewerHost-
|
|
42
|
+
const p = o(() => import("./threeViewerHost-H65dmTmF.js").then((t) => t.t));
|
|
43
43
|
p.install = (t) => {
|
|
44
44
|
t.component("threeViewerHost", p);
|
|
45
45
|
};
|
package/dist/ss-component2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("vue-router"),t=[{path:"/tenant",name:"Tenant",component:async()=>Promise.resolve().then(()=>require("./index-aYsnw0xY.cjs"))},{path:"/login",name:"Login",component:async()=>Promise.resolve().then(()=>require("./index-DwVrxTC1.cjs"))},{path:"/",name:"Model",component:async()=>Promise.resolve().then(()=>require("./index-
|
|
1
|
+
"use strict";const n=require("vue-router"),t=[{path:"/tenant",name:"Tenant",component:async()=>Promise.resolve().then(()=>require("./index-aYsnw0xY.cjs"))},{path:"/login",name:"Login",component:async()=>Promise.resolve().then(()=>require("./index-DwVrxTC1.cjs"))},{path:"/",name:"Model",component:async()=>Promise.resolve().then(()=>require("./index-C_rFrDsg.cjs")),children:[{path:"系统配置/站内信",name:"Message",component:async()=>Promise.resolve().then(()=>require("./index-DPIg2S6M.cjs"))},{path:"系统配置/自动生成",name:"Automatic",component:async()=>Promise.resolve().then(()=>require("./index-B2BAJXIH.cjs"))},{path:"平台管理/菜单管理",name:"Menu",component:async()=>Promise.resolve().then(()=>require("./index-3QtdfPcw.cjs"))},{path:"平台管理/主菜单管理",name:"MainMenu",component:async()=>Promise.resolve().then(()=>require("./index-MdfnXqH_.cjs"))},{path:"系统管理/个人中心",name:"PersonalCenter",component:async()=>Promise.resolve().then(()=>require("./index-DDbnKkeQ.cjs"))},{path:"系统维护/登录日志",name:"LoginLog",component:async()=>Promise.resolve().then(()=>require("./index-8A7wwb4_.cjs"))},{path:"系统维护/操作日志",name:"OperateLog",component:async()=>Promise.resolve().then(()=>require("./index-DSssBg27.cjs"))},{path:"角色管理",name:"Role",component:async()=>Promise.resolve().then(()=>require("./index-Eiby8667.cjs"))},{path:"部门管理",name:"Department",component:async()=>Promise.resolve().then(()=>require("./index-ClhL7VZf.cjs"))},{path:"职位管理",name:"Position",component:async()=>Promise.resolve().then(()=>require("./index-RUo1KNEz.cjs"))},{path:"个人中心",name:"PersonalCenter",component:async()=>Promise.resolve().then(()=>require("./index-CAcprKxu.cjs"))},{path:"log",name:"log",component:async()=>Promise.resolve().then(()=>require("./index-B3RcQMW0.cjs"))}]}],o=n.createRouter({history:n.createWebHashHistory(),routes:t});o.beforeEach((r,s,e)=>{!sessionStorage.getItem("loginToken")&&r.path!=="/login"?e("/login"):e()});module.exports=o;
|
package/dist/ss-component2.js
CHANGED
|
@@ -13,7 +13,7 @@ const a = [
|
|
|
13
13
|
{
|
|
14
14
|
path: "/",
|
|
15
15
|
name: "Model",
|
|
16
|
-
component: async () => import("./index-
|
|
16
|
+
component: async () => import("./index-jdKxVuKN.js"),
|
|
17
17
|
// component: async ()=>import('@/components/views/model/component/main.vue'),
|
|
18
18
|
// component: async ()=>import('@/components/views/canvas/index.vue'),
|
|
19
19
|
// component: async ()=>import('@/components/views/test/index.vue'),
|
|
@@ -31,17 +31,17 @@ const a = [
|
|
|
31
31
|
{
|
|
32
32
|
path: "平台管理/菜单管理",
|
|
33
33
|
name: "Menu",
|
|
34
|
-
component: async () => import("./index-
|
|
34
|
+
component: async () => import("./index-BTjxmo0C.js")
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
path: "平台管理/主菜单管理",
|
|
38
38
|
name: "MainMenu",
|
|
39
|
-
component: async () => import("./index-
|
|
39
|
+
component: async () => import("./index-tXoZCYZ5.js")
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
path: "系统管理/个人中心",
|
|
43
43
|
name: "PersonalCenter",
|
|
44
|
-
component: async () => import("./index-
|
|
44
|
+
component: async () => import("./index-Bh_7e25m.js")
|
|
45
45
|
},
|
|
46
46
|
// {
|
|
47
47
|
// path: '系统管理/职位管理',
|
|
@@ -66,17 +66,17 @@ const a = [
|
|
|
66
66
|
{
|
|
67
67
|
path: "系统维护/登录日志",
|
|
68
68
|
name: "LoginLog",
|
|
69
|
-
component: async () => import("./index-
|
|
69
|
+
component: async () => import("./index-D0txY_EP.js")
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
path: "系统维护/操作日志",
|
|
73
73
|
name: "OperateLog",
|
|
74
|
-
component: async () => import("./index-
|
|
74
|
+
component: async () => import("./index-BAdW2Gki.js")
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
path: "角色管理",
|
|
78
78
|
name: "Role",
|
|
79
|
-
component: async () => import("./index-
|
|
79
|
+
component: async () => import("./index-pmOKLvjq.js")
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
path: "部门管理",
|
|
@@ -86,7 +86,7 @@ const a = [
|
|
|
86
86
|
{
|
|
87
87
|
path: "职位管理",
|
|
88
88
|
name: "Position",
|
|
89
|
-
component: async () => import("./index-
|
|
89
|
+
component: async () => import("./index-Cc_YhxHI.js")
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
path: "个人中心",
|
|
@@ -96,7 +96,7 @@ const a = [
|
|
|
96
96
|
{
|
|
97
97
|
path: "log",
|
|
98
98
|
name: "log",
|
|
99
|
-
component: async () => import("./index-
|
|
99
|
+
component: async () => import("./index-BDE-eWpD.js")
|
|
100
100
|
}
|
|
101
101
|
// {
|
|
102
102
|
// path: 'priority',
|