1import{_ as C}from"./DlAUqK2U.js";import{j as l,c as a,f as s,O as v,F as n,H as h,D as d,l as b,A as I,e as r}from"./fKzNRO_x.js";const p={class:"L_card_name"},A={class:"flex",style:{"align-items":"center"}},B={class:"L_card_title"},P=["title"],x={class:"brand-item"},j={key:0,class:"separator"},D={class:"brand-item"},S={key:0,class:"separator"},w={key:1},V={class:"brand-item"},E={key:1,class:"mt12 L_card_label_wrap"},F={key:0,class:"mt12 L_card_label_wrap"},O={class:"L_card_label"},$={class:"L_card_label"},z={key:1,class:"mt12 L_card_label_wrap"},H={class:"L_card_label"},J={class:"L_card_label"},M={__name:"concat-card",props:{data:{type:Object,default:()=>({})},rightSearchId:{type:String,default:""},territoryPartNameMap:{type:Array,default:()=>[]},action:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},refData:{type:Object,default:()=>({})}},emits:["select","delete","seeView"],setup(e,{emit:f}){const L=f,o=l(()=>i.data.brandName?i.data.brandName.split(","):[]),i=e,m=l(()=>i.data.cateId===3),y=l(()=>i.data.cateId===2||i.data.cateId===7),N=t=>{L("select",t)},k=["A","B","C","D","F","G","E","H"],_=l(()=>{const t=i.data;return m.value?k[(i.territoryPartNameMap||[]).findIndex(c=>c===t.territoryPartName)]||"S":y.value||t.territoryLevel===1||t.territoryLevel===5?"A":t.territoryLevel===2||t.territoryLevel===6?"B":t.territoryLevel===3||t.territoryLevel===7?"C":t.territoryLevel===4||t.territoryLevel===8?"D":""});return(t,c)=>(r(),a("div",{class:v(["concat_L_card",[_.value,e.data.id===e.rightSearchId?"active":""]]),onClick:c[0]||(c[0]=u=>N(e.data))},[s("div",p,[s("div",A,[s("div",{class:v(["L_card_name_dj",_.value]),style:{"margin-right":"12px"}},[m.value?(r(),a(n,{key:0},[h(d(e.data.territoryPartName||"é»è®¤-åè½æ ç¾"),1)],64)):y.value?(r(),a(n,{key:1},[h(d(e.data.territoryComponentName||"é»è®¤-åè½æ ç¾"),1)],64)):(r(),a(n,{key:2},[],64))],2)])]),s("div",B,d(e.data.bizName||"--"),1),m.value?(r(),a("div",{key:0,class:v(["mt12 brand-min-height brand-container",{"brand-container":!!e.data.brandName}])},[e.data.brandName?(r(),a("div",{key:0,class:"line-text-ellipsis",title:e.data.brandName},[s("span",x,d(t.$t("selection.brand")),1),t.index!==o.value.length-1?(r(),a("span",j," : ")):b("",!0),(r(!0),a(n,null,I(o.value,(u,g)=>(r(),a(n,{key:u},[s("span",D,d(u),1),g!==o.value.length-1?(r(),a("span",S,"ï½")):b("",!0)],64))),128))],8,P)):(r(),a("div",w,[s("span",V,d(t.$t("selection.noBrand")),1)]))],2)):y.value?(r(),a("div",E)):(r(),a(n,{key:2},[e.data.cateId==3||e.data.cateId==4?(r(),a("div",F,[s("div",O,"åè½ ï½ "+d(e.data.territoryPartName||"--"),1),s("div",$,"åç±» ï½ "+d(e.data.territoryPartCategoryName||"--"),1)])):(r(),a("div",z,[s("div",H,"è¡ä¸ ï½ "+d(e.data.territoryIndustryName||"--"),1),s("div",J,"åºç¨ ï½ "+d(e.data.territoryApplicationName||"--"),1)]))],64))],2))}},Z=C(M,[["__scopeId","data-v-b9619a02"]]);export{Z as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.