1 |
- import{d as i,a2 as d,av as m,K as c,e as r,f as p,u as n,y as u,C as b,j as f}from"./vue-A59npLRR.js";import{d as _,b as I,T as h}from"./baTable-MdxYOkAk.js";import{a as k,a1 as y}from"./index-EwE51S_X.js";import"./echarts-cxb9vJr1.js";const C={class:"default-main ba-table-box"},A=i({name:"asset/assetinformation",__name:"index",setup(g){const{t:e}=d(),s=k(),a=_(["edit","delete"]);a[1].display=o=>o.id!=s.id;const t=new I(new y("/admin/asset.AssetInformation/"),{column:[{type:"selection",align:"center",operator:!1},{label:e("Id"),prop:"id",align:"center",operator:"=",operatorPlaceholder:e("Id"),width:70},{label:e("asset.assetinformation.username"),prop:"username",align:"center",operator:"LIKE",operatorPlaceholder:e("Fuzzy query")},{label:e("Create time"),prop:"create_time",align:"center",render:"datetime",sortable:"custom",operator:"RANGE",width:160},{label:e("Operate"),align:"center",width:"100",render:"buttons",buttons:a,operator:!1}],dblClickNotEditColumn:[void 0,"status"]},{defaultItems:{status:"1"}});return m("baTable",t),t.mount(),t.getIndex(),(o,w)=>{const l=c("el-alert");return r(),p("div",C,[n(t).table.remark?(r(),u(l,{key:0,class:"ba-table-alert",title:n(t).table.remark,type:"info","show-icon":""},null,8,["title"])):b("",!0),f(h)])}}});export{A as default};
|