import{_ as m,i as b,f as h,k as u,d as n,e as l,g as t,l as d,t as s,p,q as v,F as r,h as $}from"./app-ad835f92.js";import{a as f}from"./swal-23a4a8dd.js";const g={data(){return{subSystemId:this.$route.params.subSystemId??null,planId:this.$route.params.planId??null,data:[],isAdmin:b()}},mounted(){this.fetchData()},methods:{fetchData:async function(){const e=this;await h.post("/api/getSubSystemWithStatisticsDetail",{plan_id:e.planId,sub_system_id:e.subSystemId}).then(a=>{e.data=a.data.data}).catch(f)}}},y={class:"main-view px-4 pt-2"},k={class:"d-flex align-items-center mb-3"},S={style:{"--bs-breadcrumb-divider":"'>'"},"aria-label":"breadcrumb"},I={class:"breadcrumb m-0"},D={class:"breadcrumb-item"},w={href:"#"},x={class:"breadcrumb-item"},B={class:"breadcrumb-item active","aria-current":"page"},C={class:"p-4 mt-2 bg-color"},F={class:"info"},N={class:"ps-4"},V={class:"sub-title mt-3"},A={class:"table table-hover w-50 ms-5",id:"table"},q={class:"text-center"},E={class:"text-center"},L={class:"text-center"},T={class:"text-center"},W={class:"text-center"},j={class:"text-center"},z={class:"text-center"},G={class:"text-center"},H={class:"text-center"},J={class:"text-center"};function K(e,a,M,O,o,P){const _=u("router-link");return n(),l(r,null,[t("div",y,[t("div",k,[t("button",{class:"btn-goback me-2",onClick:a[0]||(a[0]=i=>e.$router.back())},[a[1]||(a[1]=t("i",{class:"bi bi-chevron-left me-1"},null,-1)),d(s(e.$t("global.go_back")),1)]),t("nav",S,[t("ol",I,[t("li",D,[t("a",w,s(e.$t("global.homepage")),1)]),t("li",x,[p(_,{to:"/statistics/index"},{default:v(()=>[d(s(e.$t("sidebar.activation_statistics")),1)]),_:1})]),t("li",B,s(e.$t("sidebar.activation_statistics"))+"-"+s(e.$t("global.detail")),1)])])]),t("h1",null,s(e.$t("sidebar.activation_statistics"))+"-"+s(e.$t("global.detail")),1)]),t("div",C,[t("div",F,[t("span",null,s(e.$t("global.system"))+"： "+s(o.data.sub_system_name),1),t("span",N,s(e.$t("global.plan"))+"： "+s(o.data.plan_name),1)]),a[2]||(a[2]=t("hr",{class:"my-4"},null,-1)),t("p",V,s(e.$t("backend.statistics.activated_company_list")),1),t("table",A,[t("thead",null,[t("tr",null,[t("th",q,s(e.$t("global.serial_number")),1),t("th",E,s(e.$t("backend.backfill.company_name")),1),t("th",L,s(e.$t("global.email")),1),t("th",T,s(e.$t("backend.activate.activation_date")),1),t("th",W,s(e.$t("backend.activate.expiration_date")),1)])]),t("tbody",null,[(n(!0),l(r,null,$(o.data.user_plans,(i,c)=>(n(),l("tr",{key:c},[t("td",j,s(c+1),1),t("td",z,s(i.creator.name),1),t("td",G,s(i.creator.email),1),t("td",H,s(i.open_date),1),t("td",J,s(i.expiry_date),1)]))),128))])])])],64)}const U=m(g,[["render",K],["__scopeId","data-v-64f5238e"]]);export{U as default};
