<<<<<<<< HEAD:dist/assets/unit-list-item.ce50717f.js import{d as q,ag as v,c as t,q as a,ah as g,F as d,k as I}from"./index.ffe80dbe.js";import{i as D}from"./icon-edit.664c5ff1.js";import{i as w}from"./icon-muit-message.0a72e92d.js";import{C}from"./index.914765a1.js";import{C as u}from"./index.ea031708.js";import{I as _}from"./index.7e972106.js";const T="_unitTest_wtvqq_1",B="_searchBand_wtvqq_1",E="_cellGroup_wtvqq_7",f="_img_wtvqq_15",G="_unitTitle_wtvqq_20",N="_pass_wtvqq_28",y="_unitSection_wtvqq_31",h="_name_wtvqq_35",b="_endTime_wtvqq_41",A="_unitBtnGroup_wtvqq_45",F="_liveList_wtvqq_58",W="_unitDetail_wtvqq_61",M="_tabsWrap_wtvqq_64",x="_tabsWrapIcon_wtvqq_68",L="_DialogTitle_wtvqq_74",Y="_DialogConent_wtvqq_94";var Q={unitTest:T,searchBand:B,cellGroup:E,img:f,unitTitle:G,"no-start":"_no-start_wtvqq_25",pass:N,unitSection:y,name:h,endTime:b,unitBtnGroup:A,liveList:F,unitDetail:W,tabsWrap:M,tabsWrapIcon:x,DialogTitle:L,DialogConent:Y};const j="_unitItem_1atnt_1",k="_testName_1atnt_9",S="_editImg_1atnt_16",U="_msgImg_1atnt_21",V="_testContent_1atnt_25",$="_testItem_1atnt_31",O="_name_1atnt_42";var e={unitItem:j,testName:k,editImg:S,msgImg:U,testContent:V,testItem:$,name:O},X=q({name:"unit-list-item",props:{item:{type:Object,default:()=>{}}},setup(s){const c=v(),r=n=>{var i;n.stopPropagation(),I({api:"joinChatGroup",content:{type:"multi",id:(i=s.item)==null?void 0:i.imGroupId}})},p=()=>{c.push({path:"/unitDetail",query:{id:s.item.id}})};return()=>t(d,null,[t(C,{inset:!0,class:e.unitItem,onClick:p},{default:()=>[t(u,{center:!0},{icon:()=>t(_,{src:D,class:e.editImg},null),title:()=>{var n;return t("div",{class:["van-ellipsis",e.testName]},[((n=s.item)==null?void 0:n.name)||"--"])},extra:()=>t(_,{src:w,class:e.msgImg,onClick:r},null)}),t(u,null,{title:()=>{var n,i,o,m,l;return t("div",{class:e.testContent},[t("div",{class:e.testItem},[t("span",{class:e.name},[a("\u73ED\u7EA7\u540D\u79F0")]),t("p",null,[(n=s.item)==null?void 0:n.classGroupName])]),t("div",{class:e.testItem},[t("span",{class:e.name},[a("\u4E50\u56E2\u540D\u79F0")]),t("p",null,[(i=s.item)==null?void 0:i.orchestraName])]),t("div",{class:e.testItem},[t("span",{class:e.name},[a("\u622A\u6B62\u65F6\u95F4")]),t("p",null,[g((o=s.item)==null?void 0:o.expiryDate).format("YYYY-MM-DD")])]),t("div",{class:e.testItem},[t("span",{class:e.name},[a("\u63D0\u4EA4\u4EBA\u6570")]),t("p",null,[((m=s.item)==null?void 0:m.commitNum)||0,a("\u4EBA")])]),t("div",{class:e.testItem},[t("span",{class:e.name},[a("\u8FBE\u6807\u4EBA\u6570")]),t("p",{style:{color:"var(--van-primary)"}},[((l=s.item)==null?void 0:l.passNum)||0,a("\u4EBA")])])])}})]})])}});export{X as U,Q as s}; ======== import{i as q}from"./icon-edit.664c5ff1.js";import{i as v}from"./icon-muit-message.0a72e92d.js";import{d as g,ag as d,c as t,q as a,ai as I,F as D,e as w}from"./index.1c621181.js";import{C}from"./index.2db9d877.js";import{C as u}from"./index.fd5ae97b.js";import{I as _}from"./index.4c221cbe.js";const T="_unitTest_wtvqq_1",B="_searchBand_wtvqq_1",E="_cellGroup_wtvqq_7",f="_img_wtvqq_15",G="_unitTitle_wtvqq_20",N="_pass_wtvqq_28",y="_unitSection_wtvqq_31",b="_name_wtvqq_35",h="_endTime_wtvqq_41",A="_unitBtnGroup_wtvqq_45",F="_liveList_wtvqq_58",W="_unitDetail_wtvqq_61",M="_tabsWrap_wtvqq_64",x="_tabsWrapIcon_wtvqq_68",L="_DialogTitle_wtvqq_74",Y="_DialogConent_wtvqq_94";var Q={unitTest:T,searchBand:B,cellGroup:E,img:f,unitTitle:G,"no-start":"_no-start_wtvqq_25",pass:N,unitSection:y,name:b,endTime:h,unitBtnGroup:A,liveList:F,unitDetail:W,tabsWrap:M,tabsWrapIcon:x,DialogTitle:L,DialogConent:Y};const j="_unitItem_1atnt_1",S="_testName_1atnt_9",k="_editImg_1atnt_16",U="_msgImg_1atnt_21",V="_testContent_1atnt_25",$="_testItem_1atnt_31",O="_name_1atnt_42";var e={unitItem:j,testName:S,editImg:k,msgImg:U,testContent:V,testItem:$,name:O},X=g({name:"unit-list-item",props:{item:{type:Object,default:()=>{}}},setup(s){const c=d(),r=n=>{var i;n.stopPropagation(),w({api:"joinChatGroup",content:{type:"multi",id:(i=s.item)==null?void 0:i.imGroupId}})},p=()=>{c.push({path:"/unitDetail",query:{id:s.item.id}})};return()=>t(D,null,[t(C,{inset:!0,class:e.unitItem,onClick:p},{default:()=>[t(u,{center:!0},{icon:()=>t(_,{src:q,class:e.editImg},null),title:()=>{var n;return t("div",{class:["van-ellipsis",e.testName]},[((n=s.item)==null?void 0:n.name)||"--"])},extra:()=>t(_,{src:v,class:e.msgImg,onClick:r},null)}),t(u,null,{title:()=>{var n,i,o,m,l;return t("div",{class:e.testContent},[t("div",{class:e.testItem},[t("span",{class:e.name},[a("\u73ED\u7EA7\u540D\u79F0")]),t("p",null,[(n=s.item)==null?void 0:n.classGroupName])]),t("div",{class:e.testItem},[t("span",{class:e.name},[a("\u4E50\u56E2\u540D\u79F0")]),t("p",null,[(i=s.item)==null?void 0:i.orchestraName])]),t("div",{class:e.testItem},[t("span",{class:e.name},[a("\u622A\u6B62\u65F6\u95F4")]),t("p",null,[I((o=s.item)==null?void 0:o.expiryDate).format("YYYY-MM-DD")])]),t("div",{class:e.testItem},[t("span",{class:e.name},[a("\u63D0\u4EA4\u4EBA\u6570")]),t("p",null,[((m=s.item)==null?void 0:m.commitNum)||0,a("\u4EBA")])]),t("div",{class:e.testItem},[t("span",{class:e.name},[a("\u8FBE\u6807\u4EBA\u6570")]),t("p",{style:{color:"var(--van-primary)"}},[((l=s.item)==null?void 0:l.passNum)||0,a("\u4EBA")])])])}})]})])}});export{X as U,Q as s}; >>>>>>>> online:dist/assets/unit-list-item.856bf33f.js