1 |
- import{d,a2 as c,a as m,av as p,o as b,K as u,e as n,f as y,u as a,y as f,C as _,j as r}from"./vue-A59npLRR.js";import{_ as h}from"./popupForm.vue_vue_type_script_setup_true_lang-fW9ilzUk.js";import{a1 as k}from"./index-EwE51S_X.js";import{d as g,b as T,T as w}from"./baTable-MdxYOkAk.js";import{T as v}from"./index-K8IR974I.js";import"./index-r6iTpmP6.js";import"./validate-_EUdkMt3.js";import"./echarts-cxb9vJr1.js";import"./index-XALue448.js";const C={class:"default-main ba-table-box"},G=d({name:"laboratory/introduction",__name:"index",setup(N){const{t:e}=c(),l=m(),i=g(["edit","delete"]),t=new T(new k("/admin/laboratory.Introduction/"),{pk:"id",column:[{type:"selection",align:"center",operator:!1},{label:e("laboratory.introduction.id"),prop:"id",align:"center",width:70,operator:"RANGE",sortable:"custom"},{label:e("laboratory.introduction.laboratorydisplay_diagram"),prop:"laboratorydisplay_diagram",align:"center",render:"image",operator:!1},{label:e("laboratory.introduction.laboratory_introduction"),prop:"laboratory_introduction",align:"center",operator:!1},{label:e("laboratory.introduction.create_time"),prop:"create_time",align:"center",render:"datetime",operator:"RANGE",sortable:"custom",width:160,timeFormat:"yyyy-mm-dd hh:MM:ss"},{label:e("laboratory.introduction.update_time"),prop:"update_time",align:"center",render:"datetime",operator:"RANGE",sortable:"custom",width:160,timeFormat:"yyyy-mm-dd hh:MM:ss"},{label:e("Operate"),align:"center",width:100,render:"buttons",buttons:i,operator:!1}],dblClickNotEditColumn:[void 0]},{defaultItems:{}});return p("baTable",t),b(()=>{var o;t.table.ref=l.value,t.mount(),(o=t.getIndex())==null||o.then(()=>{t.initSort(),t.dragSort()})}),(o,x)=>{const s=u("el-alert");return n(),y("div",C,[a(t).table.remark?(n(),f(s,{key:0,class:"ba-table-alert",title:a(t).table.remark,type:"info","show-icon":""},null,8,["title"])):_("",!0),r(v,{buttons:["refresh","add","edit","delete","comSearch","quickSearch","columnDisplay"],"quick-search-placeholder":a(e)("Quick search placeholder",{fields:a(e)("laboratory.introduction.quick Search Fields")})},null,8,["quick-search-placeholder"]),r(w,{ref_key:"tableRef",ref:l},null,512),r(h)])}}});export{G as default};
|