/* 监控中心视图:默认到期倒计时,可按类别筛选 */ const MonitorView = { template: `
| 名称 | 类型 | 平台 | 到期日 | 倒计时 | 费用 | 操作 |
|---|---|---|---|---|---|---|
| {{ emptyText }} | ||||||
| {{ a.name }} | {{ Fmt.TYPE_LABELS[a.asset_type] }} | {{ a.provider_name || a.provider }} | {{ a.expiry_date }} | {{ countdownText(a.days_to_expiry) }} | {{ a.cost }} {{ a.currency }}/{{ Fmt.CYCLE_LABELS[a.renewal_cycle] || a.renewal_cycle }} | 续费 |
| 站点 | 所属资产 | 签发机构 | 到期日 | 倒计时 | 状态 | 操作 |
|---|---|---|---|---|---|---|
| 暂无证书监控(在「资产 → 域名」的子域名面板点「探测SSL」,或稍后支持直接添加) | ||||||
| {{ c.hostname }}:{{ c.port }} | {{ c.asset_name || '—' }} | {{ c.issuer || '—' }} | {{ c.valid_to || '—' }} | {{ countdownText(c.days_to_expiry) }} | 探测失败 {{ c.last_checked_at ? '已检查 ' + c.last_checked_at.slice(5,16).replace('T',' ') : '未检查' }} | |