index.509be002.js 1.4 KB

1
  1. import{P as p}from"./page-content.1fdb6363.js";import{aJ as c,aK as d,aN as m,b as f,o as n,c as e,j as h,A as _,a as F,F as g,r as x,t as y,f as s}from"./index.4d3e3847.js";import"./index.a5d44002.js";import"./useNav.afbe69e0.js";import"./responseHandle.db1518c7.js";import"./hooks.428ba1c3.js";import"./useAsync.24db85a6.js";import"./xlsx.ed122d16.js";const{VITE_PROXY_DOMAIN_REAL:C}=d();async function E(){return c.request("post",`${C}admin/versionlist`,{data:{}})}const b=[{type:"selection",minWidth:55,align:"left",hide:({checkList:t})=>!t.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",minWidth:60,align:"left",hide:({checkList:t})=>!t.includes("\u5E8F\u53F7\u5217")},{type:"expand",slot:"expand"},{label:"\u7248\u672C\u53F7",prop:"version",minWidth:180,align:"left"},{label:"\u66F4\u65B0\u6A21\u5757",prop:"title",minWidth:180,align:"left"},{label:"\u66F4\u65B0\u65F6\u95F4",minWidth:180,prop:"addtime",formatter:({addtime:t})=>m(t).format("YYYY-MM-DD HH:mm:ss")}],B={title:"\u7248\u672C\u66F4\u65B0",columns:b,apis:{httpList:E}},k=B,v={class:"px-[20px]"},P=f({__name:"index",setup(t){function r(o){const a="<br/>";return o.split(a)}return(o,a)=>(n(),e("div",null,[h(s(p),{"content-config":s(k)},{expand:_(({system:i})=>[F("div",v,[(n(!0),e(g,null,x(r(i),(u,l)=>(n(),e("p",{key:l},y(u),1))),128))])]),_:1},8,["content-config"])]))}});export{P as default};