1 |
- import{b as d,T as u,a as c}from"./index-434d719f.js";import{f as m,ai as b,a4 as y}from"./index-ba596ae9.js";import{_}from"./popupForm.vue_vue_type_script_setup_true_lang-69d159fe.js";import{h as n,y as f,B as h,p as s,l as g,k as r,M as k,a4 as I,q as l,t as q,as as w}from"./vue-a39e6937.js";import"./controllerUrls-941681c3.js";import"./index-7e56a0fa.js";import"./index-f0d8af94.js";import"./validate-4ecec794.js";const E={class:"default-main ba-table-box"},S=n({name:"supplierIndustry"}),A=n({...S,setup(T){const{t:e}=m(),o=f(),i=b(["edit","delete"]),t=new d(new y("/admin/SupplierIndustry/"),{pk:"id",column:[{type:"selection",align:"center",operator:!1},{label:e("supplierIndustry.id"),prop:"id",align:"center",width:70,operator:"RANGE",sortable:"custom"},{label:e("supplierIndustry.supplier__name"),prop:"supplier.name",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("supplierIndustry.industry__name"),prop:"industry.name",align:"center",operatorPlaceholder:e("Fuzzy query"),render:"tags",operator:"LIKE"},{label:e("supplierIndustry.image"),prop:"image",align:"center",render:"image",operator:!1},{label:e("supplierIndustry.create_time"),prop:"create_time",align:"center",render:"datetime",operator:"RANGE",sortable:"custom",width:160,timeFormat:"yyyy-mm-dd hh:MM:ss"},{label:e("supplierIndustry.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 w("baTable",t),h(()=>{var a;t.table.ref=o.value,t.mount(),(a=t.getIndex())==null||a.then(()=>{t.initSort(),t.dragSort()})}),(a,B)=>{const p=q("el-alert");return s(),g("div",E,[r(t).table.remark?(s(),k(p,{key:0,class:"ba-table-alert",title:r(t).table.remark,type:"info","show-icon":""},null,8,["title"])):I("",!0),l(u,{buttons:["refresh","add","edit","delete","comSearch","quickSearch","columnDisplay"],"quick-search-placeholder":r(e)("quick Search Placeholder",{fields:r(e)("supplierIndustry.quick Search Fields")})},null,8,["quick-search-placeholder"]),l(c,{ref_key:"tableRef",ref:o},null,512),l(_)])}}});export{A as default};
|