index.0c181ffb.js 1.6 KB

1
  1. import{aK as i,aL as g,_ as y,d as B,F,y as u,o as s,O as k,L as p,z as r,a as n,c as l,N as A,M as D,u as E,K as P,U as R}from"./index.40211ca7.js";import b from"./update-modal.44edd2fb.js";const{VITE_PROXY_DOMAIN_REAL:q,VITE_PROXY_USER_REAL:L}=g(),c=L+"/admin/",N=e=>i.request("post",`${c}systemlist`,{data:e}),U=e=>i.request("post",`${c}menudel`,{data:e}),w=[{type:"expand",slot:"expand"},{label:"\u7248\u672C\u53F7",prop:"version",minWidth:180},{label:"\u66F4\u65B0\u6A21\u5757",prop:"module",minWidth:180},{label:"\u66F4\u65B0\u65F6\u95F4",prop:"addtime",minWidth:180},{label:"\u64CD\u4F5C",fixed:"right",width:120,slot:"operation"}],M={title:"\u7248\u672C\u66F4\u65B0",columns:w,isTree:!0,apis:{httpList:N,httpDelete:U,httpAdd:!0,httpUpdate:!0}},O={class:"ml-[40px]"},V=n("h1",{class:"font-bold ml-[10px]"},"\u66F4\u65B0\u5185\u5BB9",-1),I={class:"pl-[20px]"},T=B({__name:"index",setup(e){const d="updates",t=F(null),_={content:{preview:()=>t.value.onDisplay(),create:()=>t.value.onDisplay(),update:()=>t.value.onDisplay()}};function m(a){return a.split("<br/>")}return(a,f)=>{const h=u("PageContainer"),x=u("PageAuth");return s(),k(x,{pageName:d},{default:p(()=>[r(h,{events:_,contentConfig:E(M)},{expand:p(C=>[n("div",O,[V,n("div",I,[(s(!0),l(D,null,A(m(C.system),(o,v)=>(s(),l("p",{class:P(`ml-[${o.indexOf("--")!==-1?"20px":"0px"}]`),key:v},R(o),3))),128))])])]),_:1},8,["contentConfig"]),r(b,{ref_key:"updateModalRef",ref:t},null,512)]),_:1})}}});var z=y(T,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/system/updates/index.vue"]]);export{z as default};