27 lines
771 B
Vue
27 lines
771 B
Vue
<template>
|
|
<!--
|
|
Ported from legacy henza_admin/src/views/newsletters/newsletters.vue.
|
|
The delete action is COMMENTED OUT in legacy and stays absent.
|
|
-->
|
|
<a-card title="لیست خبرنامه" class="page-card">
|
|
<XTable ref="newsletter" :model="model" mobile-cards>
|
|
<template #actions="{ record }">
|
|
<span class="muted">{{ record.email ?? '-' }}</span>
|
|
</template>
|
|
</XTable>
|
|
</a-card>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from 'vue';
|
|
import XTable from '../../components/x-table/XTable.vue';
|
|
import { buildNewsletterModel } from './newsletter';
|
|
|
|
const model = buildNewsletterModel();
|
|
const newsletter = ref<{ fetch: () => Promise<void> } | null>(null);
|
|
</script>
|
|
|
|
<style scoped>
|
|
.muted { color: #888; }
|
|
</style>
|