Add cross-panel tenant shortcuts with live status colors and values.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6,6 +6,7 @@ import { ArrowRightOutlined, PlusOutlined, DeleteOutlined } from '@ant-design/ic
|
||||
import api from '@/api/http'
|
||||
import JalaliDatePicker from '@/components/JalaliDatePicker.vue'
|
||||
import MoneyInput from '@/components/MoneyInput.vue'
|
||||
import TenantPanelShortcuts from '@/components/TenantPanelShortcuts.vue'
|
||||
import { formatIranDate, todayIranDateInput, iranDateInputToIso } from '@/utils/datetime'
|
||||
import { formatMoney } from '@/utils/money'
|
||||
|
||||
@@ -276,6 +277,8 @@ onMounted(loadDetail)
|
||||
</a-button>
|
||||
</div>
|
||||
|
||||
<TenantPanelShortcuts :tenant-id="tenantId" current="plugin" />
|
||||
|
||||
<a-spin :spinning="loading">
|
||||
<div class="layout">
|
||||
<aside class="plugin-list">
|
||||
|
||||
@@ -6,6 +6,7 @@ import { ArrowRightOutlined, PlusOutlined, DeleteOutlined } from '@ant-design/ic
|
||||
import api from '@/api/http'
|
||||
import JalaliDatePicker from '@/components/JalaliDatePicker.vue'
|
||||
import MoneyInput from '@/components/MoneyInput.vue'
|
||||
import TenantPanelShortcuts from '@/components/TenantPanelShortcuts.vue'
|
||||
import { formatIranDate, todayIranDateInput, iranDateInputToIso } from '@/utils/datetime'
|
||||
import { formatMoney } from '@/utils/money'
|
||||
|
||||
@@ -285,6 +286,8 @@ onMounted(loadDetail)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<TenantPanelShortcuts :tenant-id="tenantId" current="server" />
|
||||
|
||||
<a-spin :spinning="loading">
|
||||
<section class="form-section server-picker">
|
||||
<div class="picker-head">
|
||||
|
||||
@@ -7,6 +7,7 @@ import type { TableColumnsType } from 'ant-design-vue'
|
||||
import api from '@/api/http'
|
||||
import JalaliDatePicker from '@/components/JalaliDatePicker.vue'
|
||||
import MoneyInput from '@/components/MoneyInput.vue'
|
||||
import TenantPanelShortcuts from '@/components/TenantPanelShortcuts.vue'
|
||||
import { formatIranDateTime, todayIranDateInput } from '@/utils/datetime'
|
||||
import { formatMoney, formatNumber } from '@/utils/money'
|
||||
|
||||
@@ -411,6 +412,8 @@ onMounted(async () => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<TenantPanelShortcuts :tenant-id="tenantId" current="sms" />
|
||||
|
||||
<a-spin :spinning="loading">
|
||||
<template v-if="tenant && summary">
|
||||
<section class="stat-grid">
|
||||
|
||||
@@ -6,6 +6,7 @@ import { ArrowRightOutlined, PlusOutlined, DeleteOutlined } from '@ant-design/ic
|
||||
import api from '@/api/http'
|
||||
import JalaliDatePicker from '@/components/JalaliDatePicker.vue'
|
||||
import MoneyInput from '@/components/MoneyInput.vue'
|
||||
import TenantPanelShortcuts from '@/components/TenantPanelShortcuts.vue'
|
||||
import { formatIranDate, todayIranDateInput, iranDateInputToIso } from '@/utils/datetime'
|
||||
import { formatMoney } from '@/utils/money'
|
||||
|
||||
@@ -310,6 +311,8 @@ onMounted(loadDetail)
|
||||
</a-button>
|
||||
</div>
|
||||
|
||||
<TenantPanelShortcuts :tenant-id="tenantId" current="support" />
|
||||
|
||||
<a-spin :spinning="loading">
|
||||
<div class="layout">
|
||||
<aside class="support-list">
|
||||
|
||||
Reference in New Issue
Block a user