PageSourceSearch

https://app.socialmore.ai/_nuxt/eiTrVr0q.js

js socialmore.ai collected 2026-10-05 14:01:16 UTC 4,072 bytes, 1 lines download raw bytes

1import{_ as w}from"./dnV9JzpP.js";import{_ as D}from"./CPQNRyix.js";import{_ as x}from"./DnrPhM61.js";import{_ as A}from"./Dy9eVqBY.js";import{d as T,x as $,b as k,g as E,B as m,o as d,j as c,h as i,w as o,i as l,p as s,t as r,C as M,K as N,y as u,F as P,u as I}from"#entry";import"./DmQ375zE.js";const L={class:"column"},S={class:"text-right"},Y={key:0,class:"text-red"},U=T({__name:"index",setup(V){const{codeTypeToI18nCode:p}=$(),{t:e}=k(),_=[{type:"status",options:[{label:e("admin.common.selector.partner-operation-status.title"),value:null},{label:e("admin.common.selector.partner-operation-status.active"),value:"ACTIVE"},{label:e("admin.common.selector.partner-operation-status.terminated"),value:"TERMINATED"}],defaultValue:null},{type:"searchKeyword",options:[{label:e("admin.common.selector.all"),value:"ALL"},{label:e("admin.common.selector.search-keyword.service-plan-code"),value:"PLAN_CODE"},{label:e("admin.common.selector.search-keyword.service-plan-name"),value:"PLAN_NAME"},{label:e("admin.common.selector.search-keyword.operation-start-date"),value:"CREATED_DATE",type:"date-range"},{label:e("admin.common.selector.search-keyword.operation-end-date"),value:"STATUS_CHANGED_DATE",type:"date-range"}],defaultValue:"ALL"}],b=[{name:"servicePlanCode",label:e("admin.table.column.service-plan.code"),field:"servicePlanCode",align:"center",customSlot:!0},{name:"servicePlanName",label:e("admin.table.column.service-plan.name"),field:"servicePlanName",align:"center"},{name:"limitMemberCount",label:e("admin.table.column.limit-member-count"),field:"limitMemberCount",align:"center",format:(t,n)=>`${t}${e("admin.common.unit.people")}`},{name:"trialDays",label:e("admin.table.column.trial-days"),field:"trialDays",align:"center",format:(t,n)=>t?`${t}${e("admin.common.unit.day")}`:"-"},{name:"contractMonths",label:e("admin.table.column.contract.months"),field:"contractMonths",align:"center",format:(t,n)=>`${t}${e("admin.common.unit.month")}`},{name:"contractCycles",label:e("admin.table.column.contract.cycles"),field:"contractCycles",align:"center",format:(t,n)=>t?`${t}${e("admin.common.unit.times")}`:"-"},{name:"basicAmount",label:e("admin.table.column.basic-amount"),field:"basicAmount",align:"center",format:(t,n)=>`${t.toLocaleString()}${e("admin.common.unit.currency")}`},{name:"basicContactUserCount",label:e("admin.table.column.basic-contact-user-count"),field:"basicContactUserCount",align:"center",format:(t,n)=>t?`${t.toLocaleString()}${e("admin.common.unit.people")}`:"-"},{name:"tenantCount",label:e("admin.table.column.joined-tenant-count"),field:"tenantCount",align:"center"},{name:"status",label:e("admin.table.column.operation-status"),field:"status",align:"center",format:(t,n)=>e(`admin.common.code.service-plan-status.${p(t)}`)},{name:"dateInfo",label:"",field:"dateInfo",align:"center",customHeader:!0,customSlot:!0}];function f(){I("/admin/service-plan/add")}return(t,n)=>{const v=w,C=D,g=E("q-btn"),y=x,h=A;return d(),m(P,null,[c(C,{title:l(e)("admin.content.service-plan.list.title")},{default:o(()=>[c(v,{"grid-id":"admin-service-plan-list","search-options":_,"search-keyword-field-name":"searchFilter"})]),_:1},8,["title"]),i("div",L,[i("div",S,[c(g,{color:"dighty",class:"q-mt-sm",onClick:f,unelevated:""},{default:o(()=>[s(r(l(e)("admin.common.button.register-service-plan")),1)]),_:1})]),c(h,{"grid-id":"admin-service-plan-list",columns:b,url:"/admin/api/service-plans","per-page":20,"exclude-ordering":""},{"dateInfo-header":o(()=>[s(r(l(e)("admin.table.column.operation-start-date")),1),n[0]||(n[0]=i("br",null,null,-1)),s(r(l(e)("admin.table.column.operation-end-date")),1)]),servicePlanCode:o(({data:a})=>[c(y,{to:`/admin/service-plan/${a.row.servicePlanId}`,class:"link"},{default:o(()=>[s(r(a.row.servicePlanCode),1)]),_:2},1032,["to"])]),dateInfo:o(({data:a})=>[i("div",{class:N({"text-strike":a.row.statusChangedDate})},r(l(u)(a.row.createdDate).format("YYYY-MM-DD")),3),a.row.statusChangedDate?(d(),m("div",Y,r(l(u)(a.row.statusChangedDate).format("YYYY-MM-DD")),1)):M("",!0)]),_:1})])],64)}}});export{U 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.