1 |
- import{u as r}from"./countryInfo.d861f9d7.js";import{U as e,ai as a}from"./vue.86c1cb21.js";const s=r(),m=[{type:"seq",width:50,align:"center",fixed:"left"},{field:"platform",title:"平台",minWidth:"auto",align:"center",slots:{default({row:t}){return e("span",{class:"font-medium"},[t.platform?t.platform:"--"])}}},{field:"platformNumber",title:"店铺编号",minWidth:"auto",align:"center",slots:{default({row:t}){return e("span",{class:"font-medium"},[t.platformNumber?t.platformNumber:"--"])}}},{field:"platformName",title:"店铺名称",minWidth:"auto",align:"center",slots:{default({row:t}){return e("span",{class:"font-medium"},[t.platformName?t.platformName:"--"])}}},{field:"status",title:"状态",width:80,align:"center",slots:{default({row:t}){return e(a("el-tag"),{class:"font-medium",type:t.status===1?"success":"danger"},{default:()=>[t.status===1?"启用":"暂停"]})}}},{field:"country",title:"国家",minWidth:"auto",align:"center",slots:{default({row:t}){const n=s.countries.find(o=>o.name===t.country),l=n?n.color:"#3875F6";return e(a("el-tag"),{effect:"plain",round:!0,style:{color:l,borderColor:l}},{default:()=>[t.country?t.country:"--"]})}}},{field:"brandName",title:"品牌",minWidth:"auto",align:"center",slots:{default({row:t}){return e("span",{class:"font-medium"},[t.brandName?t.brandName:"--"])}}},{field:"line",title:"线路",minWidth:"auto",align:"center",slots:{default({row:t}){return e("span",{class:"font-medium"},[t.line?t.line:"--"])}}}];export{m as companyColumns};
|